[2026-09-10 00:00:14] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0876d89d0012d2cad0006bccd980015013d2a..."} 
[2026-09-10 00:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0876d89d0012d2cad0006bccd980015013d2a..."} 
[2026-09-10 00:00:14] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0876d89d0012d2cad0006bccd980015013d2a..."} 
[2026-09-10 00:00:14] local.INFO: Packet analysis {"connection_id":176156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0876d"} 
[2026-09-10 00:00:14] local.INFO: Extracted packet for processing {"connection_id":176156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0876d"} 
[2026-09-10 00:00:14] local.INFO: GPS Element Parsed {"raw_longitude":757902592,"raw_latitude":113036696,"longitude_deg":75.7902592,"latitude_deg":11.3036696,"altitude":21,"angle":317,"satellites":42,"speed":48,"hex_longitude":"2d2cad00","hex_latitude":"06bccd98","is_valid_coordinates":true} 
[2026-09-10 00:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978493440001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403213432418992128,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3226266211993151488,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788978498000,"timestamp_ms":1788978498000,"timestamp_seconds":1788978498,"priority":1,"record_length":96,"hex_timestamp":"000001a0876d89d0"} 
[2026-09-10 00:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:00:14] 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-09-10 00:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978493440001,"66":27310,"124":206,"81":20992,"24":48,"16":403213432418992128,"45":3226266211993151488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-10 00:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978493440001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:00:14] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-10 00:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403213432418992128,"km_value":403213432418992.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3226266211993151488,"description":"Unknown IO ID 45"} 
[2026-09-10 00:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978493440001,"power":27310,"unknown_124":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":3226266211993151488}} 
[2026-09-10 00:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":176156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:00:14] local.INFO: GPS data processed {"connection_id":176156,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:00:14] local.INFO: Acknowledgment sent {"connection_id":176156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:00:37] local.INFO: TCP Data received {"connection_id":178714,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:37] local.INFO: Processing buffer {"connection_id":178714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:37] local.INFO: IMEI packet received {"connection_id":178714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":178714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:00:42] local.INFO: TCP Data received {"connection_id":178714,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:42] local.INFO: Processing buffer {"connection_id":178714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:42] local.INFO: IMEI packet received {"connection_id":178714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":178714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:00:53] local.INFO: TCP Data received {"connection_id":178714,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:53] local.INFO: Processing buffer {"connection_id":178714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:00:53] local.INFO: IMEI packet received {"connection_id":178714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":178714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:00:54] local.INFO: TCP Data received {"connection_id":178714,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0876eb698012d2ba28006bdde50000f01392b..."} 
[2026-09-10 00:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0876eb698012d2ba28006bdde50000f01392b..."} 
[2026-09-10 00:00:54] local.INFO: Processing buffer {"connection_id":178714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0876eb698012d2ba28006bdde50000f01392b..."} 
[2026-09-10 00:00:54] local.INFO: Packet analysis {"connection_id":178714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0876e"} 
[2026-09-10 00:00:54] local.INFO: Extracted packet for processing {"connection_id":178714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0876e"} 
[2026-09-10 00:00:54] local.INFO: GPS Element Parsed {"raw_longitude":757834368,"raw_latitude":113106512,"longitude_deg":75.7834368,"latitude_deg":11.3106512,"altitude":15,"angle":313,"satellites":43,"speed":55,"hex_longitude":"2d2ba280","hex_latitude":"06bdde50","is_valid_coordinates":true} 
[2026-09-10 00:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978513408001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403218139703148544,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3151816080671250432,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788978575000,"timestamp_ms":1788978575000,"timestamp_seconds":1788978575,"priority":1,"record_length":96,"hex_timestamp":"000001a0876eb698"} 
[2026-09-10 00:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:00: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-09-10 00: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 00:00:54] 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-09-10 00:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978513408001,"66":27213,"125":206,"81":20992,"24":55,"16":403218139703148544,"45":3151816080671250432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-09-10 00:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978513408001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:00:54] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-10 00:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403218139703148544,"km_value":403218139703148.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3151816080671250432,"description":"Unknown IO ID 45"} 
[2026-09-10 00:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978513408001,"power":27213,"unknown_125":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3151816080671250432}} 
[2026-09-10 00:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":178714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:00:54] local.INFO: GPS data processed {"connection_id":178714,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:00:54] local.INFO: Acknowledgment sent {"connection_id":178714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:00:55] local.INFO: TCP Data received {"connection_id":178714,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0876ece08012d2b8a8006bdf7c8000c01402b..."} 
[2026-09-10 00:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0876ece08012d2b8a8006bdf7c8000c01402b..."} 
[2026-09-10 00:00:55] local.INFO: Processing buffer {"connection_id":178714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0876ece08012d2b8a8006bdf7c8000c01402b..."} 
[2026-09-10 00:00:55] local.INFO: Packet analysis {"connection_id":178714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0876e"} 
[2026-09-10 00:00:55] local.INFO: Extracted packet for processing {"connection_id":178714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0876e"} 
[2026-09-10 00:00:55] local.INFO: GPS Element Parsed {"raw_longitude":757828224,"raw_latitude":113113032,"longitude_deg":75.7828224,"latitude_deg":11.3113032,"altitude":12,"angle":320,"satellites":43,"speed":62,"hex_longitude":"2d2b8a80","hex_latitude":"06bdf7c8","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978515200001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403218569199878144,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3144216256301649920,"note":"Value kept but may cause issues"} 
[2026-09-10 00:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788978581000,"timestamp_ms":1788978581000,"timestamp_seconds":1788978581,"priority":1,"record_length":96,"hex_timestamp":"000001a0876ece08"} 
[2026-09-10 00:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:00: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-09-10 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:00:55] 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-09-10 00: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-09-10 00:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978515200001,"66":27213,"74":206,"81":20992,"24":62,"16":403218569199878144,"45":3144216256301649920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,81,24,16,45]} 
[2026-09-10 00:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978515200001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:00:55] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 00:00:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403218569199878144,"km_value":403218569199878.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3144216256301649920,"description":"Unknown IO ID 45"} 
[2026-09-10 00:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978515200001,"power":27213,"unknown_74":206,"unknown_81":20992,"ignition":62,"odometer":null,"unknown_45":3144216256301649920}} 
[2026-09-10 00:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":178714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:00:55] local.INFO: GPS data processed {"connection_id":178714,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:00:55] local.INFO: Acknowledgment sent {"connection_id":178714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:01:42] local.INFO: TCP Data received {"connection_id":177327,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:01:42] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:01:42] local.INFO: IMEI packet received {"connection_id":177327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":177327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:01:47] local.INFO: TCP Data received {"connection_id":177327,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:01:47] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:01:47] local.INFO: IMEI packet received {"connection_id":177327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":177327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:01:48] local.INFO: TCP Data received {"connection_id":177327,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0876ee578012d2b73c006be13a8000c01402b..."} 
[2026-09-10 00:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0876ee578012d2b73c006be13a8000c01402b..."} 
[2026-09-10 00:01:48] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0876ee578012d2b73c006be13a8000c01402b..."} 
[2026-09-10 00:01:48] local.INFO: Packet analysis {"connection_id":177327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0876e"} 
[2026-09-10 00:01:48] local.INFO: Extracted packet for processing {"connection_id":177327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0876e"} 
[2026-09-10 00:01:48] local.INFO: GPS Element Parsed {"raw_longitude":757822400,"raw_latitude":113120168,"longitude_deg":75.78224,"latitude_deg":11.3120168,"altitude":12,"angle":320,"satellites":43,"speed":59,"hex_longitude":"2d2b73c0","hex_latitude":"06be13a8","is_valid_coordinates":true} 
[2026-09-10 00:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978516736001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403219011581509632,"note":"Value kept but may cause issues"} 
[2026-09-10 00:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3137460856862263296,"note":"Value kept but may cause issues"} 
[2026-09-10 00:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788978587000,"timestamp_ms":1788978587000,"timestamp_seconds":1788978587,"priority":1,"record_length":96,"hex_timestamp":"000001a0876ee578"} 
[2026-09-10 00:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978516736001,"66":27137,"74":206,"81":20992,"24":59,"16":403219011581509632,"45":3137460856862263296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,81,24,16,45]} 
[2026-09-10 00:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978516736001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:01:48] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 00:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403219011581509632,"km_value":403219011581509.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3137460856862263296,"description":"Unknown IO ID 45"} 
[2026-09-10 00:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978516736001,"power":27137,"unknown_74":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3137460856862263296}} 
[2026-09-10 00:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":177327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:01:48] local.INFO: GPS data processed {"connection_id":177327,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:01:48] local.INFO: Acknowledgment sent {"connection_id":177327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:02:19] local.INFO: TCP Data received {"connection_id":177327,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087705c78012d2a38c006bf9e50001001432b..."} 
[2026-09-10 00:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087705c78012d2a38c006bf9e50001001432b..."} 
[2026-09-10 00:02:19] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087705c78012d2a38c006bf9e50001001432b..."} 
[2026-09-10 00:02:19] local.INFO: Packet analysis {"connection_id":177327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:02:19] local.INFO: Extracted packet for processing {"connection_id":177327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:02:19] local.INFO: GPS Element Parsed {"raw_longitude":757741760,"raw_latitude":113221200,"longitude_deg":75.774176,"latitude_deg":11.32212,"altitude":16,"angle":323,"satellites":43,"speed":51,"hex_longitude":"2d2a38c0","hex_latitude":"06bf9e50","is_valid_coordinates":true} 
[2026-09-10 00:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978541056001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403225234989121536,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3048514764247511040,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788978683000,"timestamp_ms":1788978683000,"timestamp_seconds":1788978683,"priority":1,"record_length":96,"hex_timestamp":"000001a087705c78"} 
[2026-09-10 00:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:02: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-09-10 00:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978541056001,"66":27234,"32":206,"81":20992,"24":51,"16":403225234989121536,"45":3048514764247511040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-10 00:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978541056001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:02:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-10 00:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403225234989121536,"km_value":403225234989121.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3048514764247511040,"description":"Unknown IO ID 45"} 
[2026-09-10 00:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978541056001,"power":27234,"unknown_32":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3048514764247511040}} 
[2026-09-10 00:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":177327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:02:19] local.INFO: GPS data processed {"connection_id":177327,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:02:19] local.INFO: Acknowledgment sent {"connection_id":177327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:02:42] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:02:42] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:02:42] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:02:43] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:02:43] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:02:43] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:02:44] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877077d0012d2a230006bfbad0001001422a..."} 
[2026-09-10 00:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877077d0012d2a230006bfbad0001001422a..."} 
[2026-09-10 00:02:44] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877077d0012d2a230006bfbad0001001422a..."} 
[2026-09-10 00:02:44] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:02:44] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:02:44] local.INFO: GPS Element Parsed {"raw_longitude":757736192,"raw_latitude":113228496,"longitude_deg":75.7736192,"latitude_deg":11.3228496,"altitude":16,"angle":322,"satellites":42,"speed":51,"hex_longitude":"2d2a2300","hex_latitude":"06bfbad0","is_valid_coordinates":true} 
[2026-09-10 00:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978542848001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403225677370753024,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3042392683505930240,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788978690000,"timestamp_ms":1788978690000,"timestamp_seconds":1788978690,"priority":1,"record_length":96,"hex_timestamp":"000001a0877077d0"} 
[2026-09-10 00:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:02:44] 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-09-10 00:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978542848001,"66":27169,"32":206,"81":20992,"24":51,"16":403225677370753024,"45":3042392683505930240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-10 00:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978542848001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:02:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-10 00:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403225677370753024,"km_value":403225677370753.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3042392683505930240,"description":"Unknown IO ID 45"} 
[2026-09-10 00:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978542848001,"power":27169,"unknown_32":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3042392683505930240}} 
[2026-09-10 00:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:02:44] local.INFO: GPS data processed {"connection_id":175923,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:02:44] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:02:52] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087709328012d2a0bc006bfd7b8000f014227..."} 
[2026-09-10 00:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087709328012d2a0bc006bfd7b8000f014227..."} 
[2026-09-10 00:02:52] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087709328012d2a0bc006bfd7b8000f014227..."} 
[2026-09-10 00:02:52] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:02:52] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:02:52] local.INFO: GPS Element Parsed {"raw_longitude":757730240,"raw_latitude":113235896,"longitude_deg":75.773024,"latitude_deg":11.3235896,"altitude":15,"angle":322,"satellites":39,"speed":53,"hex_longitude":"2d2a0bc0","hex_latitude":"06bfd7b8","is_valid_coordinates":true} 
[2026-09-10 00:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978544640001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403226132637286400,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3036270602764341248,"note":"Value kept but may cause issues"} 
[2026-09-10 00:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788978697000,"timestamp_ms":1788978697000,"timestamp_seconds":1788978697,"priority":1,"record_length":96,"hex_timestamp":"000001a087709328"} 
[2026-09-10 00:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 00:02:52] 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-09-10 00:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978544640001,"66":27321,"33":206,"81":20992,"24":53,"16":403226132637286400,"45":3036270602764341248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-10 00:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978544640001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:02:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-10 00:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403226132637286400,"km_value":403226132637286.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3036270602764341248,"description":"Unknown IO ID 45"} 
[2026-09-10 00:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978544640001,"power":27321,"unknown_33":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3036270602764341248}} 
[2026-09-10 00:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:02:52] local.INFO: GPS data processed {"connection_id":175923,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:02:52] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:03:35] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:35] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:35] local.INFO: IMEI packet received {"connection_id":177328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":177328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:03:37] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:37] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:37] local.INFO: IMEI packet received {"connection_id":177328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":177328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:03:42] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:42] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:03:42] local.INFO: IMEI packet received {"connection_id":177328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":177328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:03:43] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08770ae80012d29f48006bff4f0000d014228..."} 
[2026-09-10 00:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08770ae80012d29f48006bff4f0000d014228..."} 
[2026-09-10 00:03:43] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08770ae80012d29f48006bff4f0000d014228..."} 
[2026-09-10 00:03:43] local.INFO: Packet analysis {"connection_id":177328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:03:43] local.INFO: Extracted packet for processing {"connection_id":177328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08770"} 
[2026-09-10 00:03:43] local.INFO: GPS Element Parsed {"raw_longitude":757724288,"raw_latitude":113243376,"longitude_deg":75.7724288,"latitude_deg":11.3243376,"altitude":13,"angle":322,"satellites":40,"speed":54,"hex_longitude":"2d29f480","hex_latitude":"06bff4f0","is_valid_coordinates":true} 
[2026-09-10 00:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978546432001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403226592198787072,"note":"Value kept but may cause issues"} 
[2026-09-10 00:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3029726309557712896,"note":"Value kept but may cause issues"} 
[2026-09-10 00:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788978704000,"timestamp_ms":1788978704000,"timestamp_seconds":1788978704,"priority":1,"record_length":96,"hex_timestamp":"000001a08770ae80"} 
[2026-09-10 00:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:03: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-09-10 00:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978546432001,"66":27180,"33":206,"81":20992,"24":54,"16":403226592198787072,"45":3029726309557712896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-10 00:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978546432001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:03:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-10 00:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403226592198787072,"km_value":403226592198787.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3029726309557712896,"description":"Unknown IO ID 45"} 
[2026-09-10 00:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978546432001,"power":27180,"unknown_33":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3029726309557712896}} 
[2026-09-10 00:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":177328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:03:43] local.INFO: GPS data processed {"connection_id":177328,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:03:43] local.INFO: Acknowledgment sent {"connection_id":177328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:04:15] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087720a28012d28d24006c13770000f013c29..."} 
[2026-09-10 00:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087720a28012d28d24006c13770000f013c29..."} 
[2026-09-10 00:04:15] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087720a28012d28d24006c13770000f013c29..."} 
[2026-09-10 00:04:15] local.INFO: Packet analysis {"connection_id":177328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:04:15] local.INFO: Extracted packet for processing {"connection_id":177328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:04:15] local.INFO: GPS Element Parsed {"raw_longitude":757649984,"raw_latitude":113325936,"longitude_deg":75.7649984,"latitude_deg":11.3325936,"altitude":15,"angle":316,"satellites":41,"speed":47,"hex_longitude":"2d28d240","hex_latitude":"06c13770","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978568960001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403231960907907072,"note":"Value kept but may cause issues"} 
[2026-09-10 00:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2948872622518890496,"note":"Value kept but may cause issues"} 
[2026-09-10 00:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788978793000,"timestamp_ms":1788978793000,"timestamp_seconds":1788978793,"priority":1,"record_length":96,"hex_timestamp":"000001a087720a28"} 
[2026-09-10 00:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:04:15] 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-09-10 00: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-09-10 00:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978568960001,"66":26636,"179":206,"81":20992,"24":47,"16":403231960907907072,"45":2948872622518890496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 00:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978568960001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:04:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 00:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403231960907907072,"km_value":403231960907907.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2948872622518890496,"description":"Unknown IO ID 45"} 
[2026-09-10 00:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978568960001,"power":26636,"unknown_179":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2948872622518890496}} 
[2026-09-10 00:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":177328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:04:15] local.INFO: GPS data processed {"connection_id":177328,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:04:15] local.INFO: Acknowledgment sent {"connection_id":177328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:04:37] local.INFO: TCP Data received {"connection_id":178715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:04:37] local.INFO: Processing buffer {"connection_id":178715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:04:37] local.INFO: IMEI packet received {"connection_id":178715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":178715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:04:41] local.INFO: TCP Data received {"connection_id":178715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:04:41] local.INFO: Processing buffer {"connection_id":178715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:04:41] local.INFO: IMEI packet received {"connection_id":178715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":178715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:04:42] local.INFO: TCP Data received {"connection_id":178715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087722968012d28b80006c152480010013b2b..."} 
[2026-09-10 00:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087722968012d28b80006c152480010013b2b..."} 
[2026-09-10 00:04:42] local.INFO: Processing buffer {"connection_id":178715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087722968012d28b80006c152480010013b2b..."} 
[2026-09-10 00:04:42] local.INFO: Packet analysis {"connection_id":178715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:04:42] local.INFO: Extracted packet for processing {"connection_id":178715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:04:42] local.INFO: GPS Element Parsed {"raw_longitude":757643264,"raw_latitude":113332808,"longitude_deg":75.7643264,"latitude_deg":11.3332808,"altitude":16,"angle":315,"satellites":43,"speed":46,"hex_longitude":"2d28b800","hex_latitude":"06c15248","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978571008001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403232420469407744,"note":"Value kept but may cause issues"} 
[2026-09-10 00:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2941483904381972480,"note":"Value kept but may cause issues"} 
[2026-09-10 00:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788978801000,"timestamp_ms":1788978801000,"timestamp_seconds":1788978801,"priority":1,"record_length":96,"hex_timestamp":"000001a087722968"} 
[2026-09-10 00:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:04: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-09-10 00: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 00:04:42] 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-09-10 00: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-09-10 00:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978571008001,"66":27213,"179":206,"81":20992,"24":46,"16":403232420469407744,"45":2941483904381972480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 00:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978571008001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:04:42] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 00:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403232420469407744,"km_value":403232420469407.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2941483904381972480,"description":"Unknown IO ID 45"} 
[2026-09-10 00:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978571008001,"power":27213,"unknown_179":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":2941483904381972480}} 
[2026-09-10 00:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":178715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:04:42] local.INFO: GPS data processed {"connection_id":178715,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:04:42] local.INFO: Acknowledgment sent {"connection_id":178715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:05:14] local.INFO: TCP Data received {"connection_id":178715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877248a8012d289f8006c16b680013013b2d..."} 
[2026-09-10 00:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877248a8012d289f8006c16b680013013b2d..."} 
[2026-09-10 00:05:14] local.INFO: Processing buffer {"connection_id":178715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877248a8012d289f8006c16b680013013b2d..."} 
[2026-09-10 00:05:14] local.INFO: Packet analysis {"connection_id":178715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:05:14] local.INFO: Extracted packet for processing {"connection_id":178715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:05:14] local.INFO: GPS Element Parsed {"raw_longitude":757636992,"raw_latitude":113339240,"longitude_deg":75.7636992,"latitude_deg":11.333924,"altitude":19,"angle":315,"satellites":45,"speed":42,"hex_longitude":"2d289f80","hex_latitude":"06c16b68","is_valid_coordinates":true} 
[2026-09-10 00:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978573056001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403232849966137344,"note":"Value kept but may cause issues"} 
[2026-09-10 00:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2934095186245076992,"note":"Value kept but may cause issues"} 
[2026-09-10 00:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788978809000,"timestamp_ms":1788978809000,"timestamp_seconds":1788978809,"priority":1,"record_length":96,"hex_timestamp":"000001a0877248a8"} 
[2026-09-10 00:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978573056001,"66":27332,"181":206,"81":20992,"24":42,"16":403232849966137344,"45":2934095186245076992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-10 00:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978573056001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:05:14] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-10 00:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403232849966137344,"km_value":403232849966137.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2934095186245076992,"description":"Unknown IO ID 45"} 
[2026-09-10 00:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978573056001,"power":27332,"unknown_181":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":2934095186245076992}} 
[2026-09-10 00:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":178715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:05:14] local.INFO: GPS data processed {"connection_id":178715,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:05:14] local.INFO: Acknowledgment sent {"connection_id":178715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:05:37] local.INFO: TCP Data received {"connection_id":177329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:37] local.INFO: Processing buffer {"connection_id":177329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:37] local.INFO: IMEI packet received {"connection_id":177329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":177329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:05:38] local.INFO: TCP Data received {"connection_id":177329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:38] local.INFO: Processing buffer {"connection_id":177329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:38] local.INFO: IMEI packet received {"connection_id":177329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":177329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:05:42] local.INFO: TCP Data received {"connection_id":177329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:42] local.INFO: Processing buffer {"connection_id":177329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:05:42] local.INFO: IMEI packet received {"connection_id":177329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":177329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:05:43] local.INFO: TCP Data received {"connection_id":177329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087726bd0012d2885c006c186400014013c2d..."} 
[2026-09-10 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087726bd0012d2885c006c186400014013c2d..."} 
[2026-09-10 00:05:43] local.INFO: Processing buffer {"connection_id":177329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087726bd0012d2885c006c186400014013c2d..."} 
[2026-09-10 00:05:43] local.INFO: Packet analysis {"connection_id":177329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:05:43] local.INFO: Extracted packet for processing {"connection_id":177329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08772"} 
[2026-09-10 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":757630400,"raw_latitude":113346112,"longitude_deg":75.76304,"latitude_deg":11.3346112,"altitude":20,"angle":316,"satellites":45,"speed":41,"hex_longitude":"2d2885c0","hex_latitude":"06c18640","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978575104001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403233309527638016,"note":"Value kept but may cause issues"} 
[2026-09-10 00:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2927199049317312512,"note":"Value kept but may cause issues"} 
[2026-09-10 00:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788978818000,"timestamp_ms":1788978818000,"timestamp_seconds":1788978818,"priority":1,"record_length":96,"hex_timestamp":"000001a087726bd0"} 
[2026-09-10 00:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 00:05:43] 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-09-10 00: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-09-10 00:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978575104001,"66":27213,"181":206,"81":20992,"24":41,"16":403233309527638016,"45":2927199049317312512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-10 00:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978575104001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:05:43] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-10 00:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403233309527638016,"km_value":403233309527638.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2927199049317312512,"description":"Unknown IO ID 45"} 
[2026-09-10 00:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978575104001,"power":27213,"unknown_181":206,"unknown_81":20992,"ignition":41,"odometer":null,"unknown_45":2927199049317312512}} 
[2026-09-10 00:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":177329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:05:43] local.INFO: GPS data processed {"connection_id":177329,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:05:43] local.INFO: Acknowledgment sent {"connection_id":177329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:06:14] local.INFO: TCP Data received {"connection_id":177329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08773e6b8012d27908006c2fe68000e014e2a..."} 
[2026-09-10 00:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08773e6b8012d27908006c2fe68000e014e2a..."} 
[2026-09-10 00:06:14] local.INFO: Processing buffer {"connection_id":177329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08773e6b8012d27908006c2fe68000e014e2a..."} 
[2026-09-10 00:06:14] local.INFO: Packet analysis {"connection_id":177329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08773"} 
[2026-09-10 00:06:14] local.INFO: Extracted packet for processing {"connection_id":177329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08773"} 
[2026-09-10 00:06:14] local.INFO: GPS Element Parsed {"raw_longitude":757567616,"raw_latitude":113442408,"longitude_deg":75.7567616,"latitude_deg":11.3442408,"altitude":14,"angle":334,"satellites":42,"speed":47,"hex_longitude":"2d279080","hex_latitude":"06c2fe68","is_valid_coordinates":true} 
[2026-09-10 00:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978600192001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403238914459959296,"note":"Value kept but may cause issues"} 
[2026-09-10 00:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2855422930280286208,"note":"Value kept but may cause issues"} 
[2026-09-10 00:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788978915000,"timestamp_ms":1788978915000,"timestamp_seconds":1788978915,"priority":1,"record_length":96,"hex_timestamp":"000001a08773e6b8"} 
[2026-09-10 00:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978600192001,"66":27343,"229":206,"81":20992,"24":47,"16":403238914459959296,"45":2855422930280286208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-09-10 00:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978600192001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:06:14] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-10 00:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403238914459959296,"km_value":403238914459959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2855422930280286208,"description":"Unknown IO ID 45"} 
[2026-09-10 00:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978600192001,"power":27343,"unknown_229":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2855422930280286208}} 
[2026-09-10 00:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":177329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:06:14] local.INFO: GPS data processed {"connection_id":177329,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:06:14] local.INFO: Acknowledgment sent {"connection_id":177329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:06:36] local.INFO: TCP Data received {"connection_id":176157,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:36] local.INFO: Processing buffer {"connection_id":176157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:36] local.INFO: IMEI packet received {"connection_id":176157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":176157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:06:37] local.INFO: TCP Data received {"connection_id":176157,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:37] local.INFO: Processing buffer {"connection_id":176157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:37] local.INFO: IMEI packet received {"connection_id":176157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":176157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:06:42] local.INFO: TCP Data received {"connection_id":176157,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:42] local.INFO: Processing buffer {"connection_id":176157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:06:42] local.INFO: IMEI packet received {"connection_id":176157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":176157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:06:43] local.INFO: TCP Data received {"connection_id":176157,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877405f8012d2780c006c32028000e014f2d..."} 
[2026-09-10 00:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877405f8012d2780c006c32028000e014f2d..."} 
[2026-09-10 00:06:43] local.INFO: Processing buffer {"connection_id":176157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877405f8012d2780c006c32028000e014f2d..."} 
[2026-09-10 00:06:43] local.INFO: Packet analysis {"connection_id":176157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08774"} 
[2026-09-10 00:06:43] local.INFO: Extracted packet for processing {"connection_id":176157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08774"} 
[2026-09-10 00:06:43] local.INFO: GPS Element Parsed {"raw_longitude":757563584,"raw_latitude":113451048,"longitude_deg":75.7563584,"latitude_deg":11.3451048,"altitude":14,"angle":335,"satellites":45,"speed":46,"hex_longitude":"2d2780c0","hex_latitude":"06c32028","is_valid_coordinates":true} 
[2026-09-10 00:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978602240001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403239374021459968,"note":"Value kept but may cause issues"} 
[2026-09-10 00:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2850919330655135744,"note":"Value kept but may cause issues"} 
[2026-09-10 00:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788978923000,"timestamp_ms":1788978923000,"timestamp_seconds":1788978923,"priority":1,"record_length":96,"hex_timestamp":"000001a0877405f8"} 
[2026-09-10 00:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 00:06:43] 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-09-10 00:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978602240001,"66":27321,"230":206,"81":20992,"24":46,"16":403239374021459968,"45":2850919330655135744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-10 00:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978602240001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:06:43] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 00:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403239374021459968,"km_value":403239374021459.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2850919330655135744,"description":"Unknown IO ID 45"} 
[2026-09-10 00:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978602240001,"power":27321,"unknown_230":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":2850919330655135744}} 
[2026-09-10 00:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":176157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:06:43] local.INFO: GPS data processed {"connection_id":176157,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:06:43] local.INFO: Acknowledgment sent {"connection_id":176157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:07:17] local.INFO: TCP Data received {"connection_id":176157,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087742538012d27714006c340f80011014e2b..."} 
[2026-09-10 00:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087742538012d27714006c340f80011014e2b..."} 
[2026-09-10 00:07:17] local.INFO: Processing buffer {"connection_id":176157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087742538012d27714006c340f80011014e2b..."} 
[2026-09-10 00:07:17] local.INFO: Packet analysis {"connection_id":176157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08774"} 
[2026-09-10 00:07:17] local.INFO: Extracted packet for processing {"connection_id":176157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08774"} 
[2026-09-10 00:07:17] local.INFO: GPS Element Parsed {"raw_longitude":757559616,"raw_latitude":113459448,"longitude_deg":75.7559616,"latitude_deg":11.3459448,"altitude":17,"angle":334,"satellites":43,"speed":44,"hex_longitude":"2d277140","hex_latitude":"06c340f8","is_valid_coordinates":true} 
[2026-09-10 00:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978604288001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403239824993026048,"note":"Value kept but may cause issues"} 
[2026-09-10 00:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2846486099774154752,"note":"Value kept but may cause issues"} 
[2026-09-10 00:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788978931000,"timestamp_ms":1788978931000,"timestamp_seconds":1788978931,"priority":1,"record_length":96,"hex_timestamp":"000001a087742538"} 
[2026-09-10 00:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:07:17] 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-09-10 00:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978604288001,"66":27300,"230":206,"81":20992,"24":44,"16":403239824993026048,"45":2846486099774154752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-10 00:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978604288001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:07:17] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 00:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403239824993026048,"km_value":403239824993026.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2846486099774154752,"description":"Unknown IO ID 45"} 
[2026-09-10 00:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978604288001,"power":27300,"unknown_230":206,"unknown_81":20992,"ignition":44,"odometer":null,"unknown_45":2846486099774154752}} 
[2026-09-10 00:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":176157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:07:17] local.INFO: GPS data processed {"connection_id":176157,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:07:17] local.INFO: Acknowledgment sent {"connection_id":176157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:07:42] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:42] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:42] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:07:44] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:44] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:44] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:07:47] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:47] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:07:47] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:07:59] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087744860012d27614006c36388001401502b..."} 
[2026-09-10 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087744860012d27614006c36388001401502b..."} 
[2026-09-10 00:07:59] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087744860012d27614006c36388001401502b..."} 
[2026-09-10 00:07:59] local.INFO: Packet analysis {"connection_id":175924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08774"} 
[2026-09-10 00:07:59] local.INFO: Extracted packet for processing {"connection_id":175924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08774"} 
[2026-09-10 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":757555520,"raw_latitude":113468296,"longitude_deg":75.755552,"latitude_deg":11.3468296,"altitude":20,"angle":336,"satellites":43,"speed":41,"hex_longitude":"2d276140","hex_latitude":"06c36388","is_valid_coordinates":true} 
[2026-09-10 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978606336001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403240293144461312,"note":"Value kept but may cause issues"} 
[2026-09-10 00:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2842123237637289984,"note":"Value kept but may cause issues"} 
[2026-09-10 00:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788978940000,"timestamp_ms":1788978940000,"timestamp_seconds":1788978940,"priority":1,"record_length":96,"hex_timestamp":"000001a087744860"} 
[2026-09-10 00:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:07: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-09-10 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 00:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978606336001,"66":27267,"231":206,"81":20992,"24":41,"16":403240293144461312,"45":2842123237637289984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-10 00:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978606336001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:07:59] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 00:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403240293144461312,"km_value":403240293144461.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2842123237637289984,"description":"Unknown IO ID 45"} 
[2026-09-10 00:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978606336001,"power":27267,"unknown_231":206,"unknown_81":20992,"ignition":41,"odometer":null,"unknown_45":2842123237637289984}} 
[2026-09-10 00:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":175924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:07:59] local.INFO: GPS data processed {"connection_id":175924,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:07:59] local.INFO: Acknowledgment sent {"connection_id":175924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:08:41] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:41] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:41] local.INFO: IMEI packet received {"connection_id":175925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":175925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:08:42] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:42] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:42] local.INFO: IMEI packet received {"connection_id":175925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":175925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:08:47] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:47] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:08:47] local.INFO: IMEI packet received {"connection_id":175925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":175925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:08:48] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08775d6d0012d26730006c50700000d013e2b..."} 
[2026-09-10 00:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08775d6d0012d26730006c50700000d013e2b..."} 
[2026-09-10 00:08:48] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08775d6d0012d26730006c50700000d013e2b..."} 
[2026-09-10 00:08:48] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08775"} 
[2026-09-10 00:08:48] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08775"} 
[2026-09-10 00:08:48] local.INFO: GPS Element Parsed {"raw_longitude":757494528,"raw_latitude":113575680,"longitude_deg":75.7494528,"latitude_deg":11.357568,"altitude":13,"angle":318,"satellites":43,"speed":48,"hex_longitude":"2d267300","hex_latitude":"06c50700","is_valid_coordinates":true} 
[2026-09-10 00:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978632704001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403246297508741120,"note":"Value kept but may cause issues"} 
[2026-09-10 00:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2777806205486772224,"note":"Value kept but may cause issues"} 
[2026-09-10 00:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788979042000,"timestamp_ms":1788979042000,"timestamp_seconds":1788979042,"priority":1,"record_length":96,"hex_timestamp":"000001a08775d6d0"} 
[2026-09-10 00:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978632704001,"66":27213,"85":206,"81":20992,"24":48,"16":403246297508741120,"45":2777806205486772224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 00:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978632704001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 00:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403246297508741120,"km_value":403246297508741.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2777806205486772224,"description":"Unknown IO ID 45"} 
[2026-09-10 00:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978632704001,"power":27213,"unknown_85":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":2777806205486772224}} 
[2026-09-10 00:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:08:48] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:08:48] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:08:49] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08775f610012d265a0006c523a0000e013f2a..."} 
[2026-09-10 00:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08775f610012d265a0006c523a0000e013f2a..."} 
[2026-09-10 00:08:49] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08775f610012d265a0006c523a0000e013f2a..."} 
[2026-09-10 00:08:49] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08775"} 
[2026-09-10 00:08:49] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08775"} 
[2026-09-10 00:08:49] local.INFO: GPS Element Parsed {"raw_longitude":757488128,"raw_latitude":113583008,"longitude_deg":75.7488128,"latitude_deg":11.3583008,"altitude":14,"angle":319,"satellites":42,"speed":47,"hex_longitude":"2d265a00","hex_latitude":"06c523a0","is_valid_coordinates":true} 
[2026-09-10 00:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978634752001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403246765660176384,"note":"Value kept but may cause issues"} 
[2026-09-10 00:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2770558224838361088,"note":"Value kept but may cause issues"} 
[2026-09-10 00:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788979050000,"timestamp_ms":1788979050000,"timestamp_seconds":1788979050,"priority":1,"record_length":96,"hex_timestamp":"000001a08775f610"} 
[2026-09-10 00:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:08:49] 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-09-10 00:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978634752001,"66":26604,"85":206,"81":20992,"24":47,"16":403246765660176384,"45":2770558224838361088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 00:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978634752001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 00:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403246765660176384,"km_value":403246765660176.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2770558224838361088,"description":"Unknown IO ID 45"} 
[2026-09-10 00:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978634752001,"power":26604,"unknown_85":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2770558224838361088}} 
[2026-09-10 00:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:08:49] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:08:49] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:09:28] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087761550012d26420006c53f50001001402c..."} 
[2026-09-10 00:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087761550012d26420006c53f50001001402c..."} 
[2026-09-10 00:09:28] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087761550012d26420006c53f50001001402c..."} 
[2026-09-10 00:09:28] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08776"} 
[2026-09-10 00:09:28] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08776"} 
[2026-09-10 00:09:28] local.INFO: GPS Element Parsed {"raw_longitude":757481984,"raw_latitude":113590096,"longitude_deg":75.7481984,"latitude_deg":11.3590096,"altitude":16,"angle":320,"satellites":44,"speed":45,"hex_longitude":"2d264200","hex_latitude":"06c53f50","is_valid_coordinates":true} 
[2026-09-10 00:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978636800001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403247216631742464,"note":"Value kept but may cause issues"} 
[2026-09-10 00:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2763521350422470656,"note":"Value kept but may cause issues"} 
[2026-09-10 00:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788979058000,"timestamp_ms":1788979058000,"timestamp_seconds":1788979058,"priority":1,"record_length":96,"hex_timestamp":"000001a087761550"} 
[2026-09-10 00:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-10 00:09:28] 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-09-10 00:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978636800001,"66":27267,"85":206,"81":20992,"24":45,"16":403247216631742464,"45":2763521350422470656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 00:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978636800001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 00:09:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403247216631742464,"km_value":403247216631742.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2763521350422470656,"description":"Unknown IO ID 45"} 
[2026-09-10 00:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978636800001,"power":27267,"unknown_85":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":2763521350422470656}} 
[2026-09-10 00:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:09:28] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:09:28] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:09:37] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:09:37] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:09:37] local.INFO: IMEI packet received {"connection_id":177330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":177330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:09:42] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:09:42] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:09:42] local.INFO: IMEI packet received {"connection_id":177330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":177330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:09:43] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087763490012d262b0006c55a180011013f2d..."} 
[2026-09-10 00:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087763490012d262b0006c55a180011013f2d..."} 
[2026-09-10 00:09:43] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087763490012d262b0006c55a180011013f2d..."} 
[2026-09-10 00:09:43] local.INFO: Packet analysis {"connection_id":177330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08776"} 
[2026-09-10 00:09:43] local.INFO: Extracted packet for processing {"connection_id":177330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08776"} 
[2026-09-10 00:09:43] local.INFO: GPS Element Parsed {"raw_longitude":757476096,"raw_latitude":113596952,"longitude_deg":75.7476096,"latitude_deg":11.3596952,"altitude":17,"angle":319,"satellites":45,"speed":45,"hex_longitude":"2d262b00","hex_latitude":"06c55a18","is_valid_coordinates":true} 
[2026-09-10 00:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978638848001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403247650423439360,"note":"Value kept but may cause issues"} 
[2026-09-10 00:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2756765950983229440,"note":"Value kept but may cause issues"} 
[2026-09-10 00:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788979066000,"timestamp_ms":1788979066000,"timestamp_seconds":1788979066,"priority":1,"record_length":96,"hex_timestamp":"000001a087763490"} 
[2026-09-10 00:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:09: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-09-10 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978638848001,"66":27213,"85":206,"81":20992,"24":45,"16":403247650423439360,"45":2756765950983229440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 00:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978638848001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 00:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403247650423439360,"km_value":403247650423439.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2756765950983229440,"description":"Unknown IO ID 45"} 
[2026-09-10 00:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978638848001,"power":27213,"unknown_85":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":2756765950983229440}} 
[2026-09-10 00:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":177330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:09:43] local.INFO: GPS data processed {"connection_id":177330,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:09:43] local.INFO: Acknowledgment sent {"connection_id":177330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:11:00] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087778098012d25464006c6af88000b014c2d..."} 
[2026-09-10 00:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087778098012d25464006c6af88000b014c2d..."} 
[2026-09-10 00:11:00] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087778098012d25464006c6af88000b014c2d..."} 
[2026-09-10 00:11:00] local.INFO: Packet analysis {"connection_id":177330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08777"} 
[2026-09-10 00:11:00] local.INFO: Extracted packet for processing {"connection_id":177330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08777"} 
[2026-09-10 00:11:00] local.INFO: GPS Element Parsed {"raw_longitude":757417536,"raw_latitude":113684360,"longitude_deg":75.7417536,"latitude_deg":11.368436,"altitude":11,"angle":332,"satellites":45,"speed":47,"hex_longitude":"2d254640","hex_latitude":"06c6af88","is_valid_coordinates":true} 
[2026-09-10 00:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978660608001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403252739959685120,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2691041543943227392,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788979151000,"timestamp_ms":1788979151000,"timestamp_seconds":1788979151,"priority":1,"record_length":96,"hex_timestamp":"000001a087778098"} 
[2026-09-10 00:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:11: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-09-10 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:11: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-09-10 00:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978660608001,"66":27267,"160":206,"81":20992,"24":47,"16":403252739959685120,"45":2691041543943227392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 00:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978660608001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:11:00] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 00:11:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403252739959685120,"km_value":403252739959685.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2691041543943227392,"description":"Unknown IO ID 45"} 
[2026-09-10 00:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978660608001,"power":27267,"unknown_160":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2691041543943227392}} 
[2026-09-10 00:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":177330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:11:00] local.INFO: GPS data processed {"connection_id":177330,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:11:00] local.INFO: Acknowledgment sent {"connection_id":177330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:11:12] local.INFO: TCP Data received {"connection_id":178716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:12] local.INFO: Processing buffer {"connection_id":178716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:12] local.INFO: IMEI packet received {"connection_id":178716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":178716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:11:15] local.INFO: TCP Data received {"connection_id":178716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:15] local.INFO: Processing buffer {"connection_id":178716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:15] local.INFO: IMEI packet received {"connection_id":178716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":178716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:11:16] local.INFO: TCP Data received {"connection_id":178716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087779fd8012d25344006c6cf68000d014b2d..."} 
[2026-09-10 00:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087779fd8012d25344006c6cf68000d014b2d..."} 
[2026-09-10 00:11:16] local.INFO: Processing buffer {"connection_id":178716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087779fd8012d25344006c6cf68000d014b2d..."} 
[2026-09-10 00:11:16] local.INFO: Packet analysis {"connection_id":178716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08777"} 
[2026-09-10 00:11:16] local.INFO: Extracted packet for processing {"connection_id":178716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08777"} 
[2026-09-10 00:11:16] local.INFO: GPS Element Parsed {"raw_longitude":757412928,"raw_latitude":113692520,"longitude_deg":75.7412928,"latitude_deg":11.369252,"altitude":13,"angle":331,"satellites":45,"speed":44,"hex_longitude":"2d253440","hex_latitude":"06c6cf68","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978662656001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403253190931251200,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2685904625620453376,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788979159000,"timestamp_ms":1788979159000,"timestamp_seconds":1788979159,"priority":1,"record_length":96,"hex_timestamp":"000001a087779fd8"} 
[2026-09-10 00:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978662656001,"66":27310,"160":206,"81":20992,"24":44,"16":403253190931251200,"45":2685904625620453376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 00:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978662656001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:11:16] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 00:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 00:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403253190931251200,"km_value":403253190931251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2685904625620453376,"description":"Unknown IO ID 45"} 
[2026-09-10 00:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978662656001,"power":27310,"unknown_160":206,"unknown_81":20992,"ignition":44,"odometer":null,"unknown_45":2685904625620453376}} 
[2026-09-10 00:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":178716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:11:16] local.INFO: GPS data processed {"connection_id":178716,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:11:16] local.INFO: Acknowledgment sent {"connection_id":178716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:11:42] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:42] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:42] local.INFO: IMEI packet received {"connection_id":176158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:11:46] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:46] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:11:46] local.INFO: IMEI packet received {"connection_id":176158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":176158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:11:48] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087790b20012d24bc0006c84eb0000a01552c..."} 
[2026-09-10 00:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087790b20012d24bc0006c84eb0000a01552c..."} 
[2026-09-10 00:11:48] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087790b20012d24bc0006c84eb0000a01552c..."} 
[2026-09-10 00:11:48] local.INFO: Packet analysis {"connection_id":176158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:11:48] local.INFO: Extracted packet for processing {"connection_id":176158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:11:48] local.INFO: GPS Element Parsed {"raw_longitude":757382144,"raw_latitude":113790640,"longitude_deg":75.7382144,"latitude_deg":11.379064,"altitude":10,"angle":341,"satellites":44,"speed":48,"hex_longitude":"2d24bc00","hex_latitude":"06c84eb0","is_valid_coordinates":true} 
[2026-09-10 00:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978686464001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403258216042987520,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2650509147323873280,"note":"Value kept but may cause issues"} 
[2026-09-10 00:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788979252000,"timestamp_ms":1788979252000,"timestamp_seconds":1788979252,"priority":1,"record_length":96,"hex_timestamp":"000001a087790b20"} 
[2026-09-10 00:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 00:11:48] 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-09-10 00:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978686464001,"66":27213,"79":206,"81":22528,"24":48,"16":403258216042987520,"45":2650509147323873280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-10 00:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978686464001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:11:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 00:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403258216042987520,"km_value":403258216042987.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2650509147323873280,"description":"Unknown IO ID 45"} 
[2026-09-10 00:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978686464001,"power":27213,"unknown_79":206,"unknown_81":22528,"ignition":48,"odometer":null,"unknown_45":2650509147323873280}} 
[2026-09-10 00:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":176158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:11:48] local.INFO: GPS data processed {"connection_id":176158,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:11:48] local.INFO: Acknowledgment sent {"connection_id":176158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:12:25] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087792a60012d24af8006c871e0000c01522b..."} 
[2026-09-10 00:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087792a60012d24af8006c871e0000c01522b..."} 
[2026-09-10 00:12:25] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087792a60012d24af8006c871e0000c01522b..."} 
[2026-09-10 00:12:25] local.INFO: Packet analysis {"connection_id":176158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:12:25] local.INFO: Extracted packet for processing {"connection_id":176158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:12:25] local.INFO: GPS Element Parsed {"raw_longitude":757378944,"raw_latitude":113799648,"longitude_deg":75.7378944,"latitude_deg":11.3799648,"altitude":12,"angle":338,"satellites":43,"speed":47,"hex_longitude":"2d24af80","hex_latitude":"06c871e0","is_valid_coordinates":true} 
[2026-09-10 00:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978688512001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403258679899455488,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2646990710117412864,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788979260000,"timestamp_ms":1788979260000,"timestamp_seconds":1788979260,"priority":1,"record_length":96,"hex_timestamp":"000001a087792a60"} 
[2026-09-10 00:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:12:25] 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-09-10 00:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978688512001,"66":27267,"79":206,"81":22528,"24":47,"16":403258679899455488,"45":2646990710117412864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-10 00:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978688512001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:12:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 00:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403258679899455488,"km_value":403258679899455.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2646990710117412864,"description":"Unknown IO ID 45"} 
[2026-09-10 00:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978688512001,"power":27267,"unknown_79":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2646990710117412864}} 
[2026-09-10 00:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":176158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:12:25] local.INFO: GPS data processed {"connection_id":176158,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:12:25] local.INFO: Acknowledgment sent {"connection_id":176158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:12:37] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:37] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:37] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:12:40] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:40] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:40] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:12:42] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:42] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:12:42] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:12:44] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877949a0012d24a34006c892d0000e01532b..."} 
[2026-09-10 00:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877949a0012d24a34006c892d0000e01532b..."} 
[2026-09-10 00:12:44] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877949a0012d24a34006c892d0000e01532b..."} 
[2026-09-10 00:12:44] local.INFO: Packet analysis {"connection_id":176159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:12:44] local.INFO: Extracted packet for processing {"connection_id":176159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:12:44] local.INFO: GPS Element Parsed {"raw_longitude":757375808,"raw_latitude":113808080,"longitude_deg":75.7375808,"latitude_deg":11.380808,"altitude":14,"angle":339,"satellites":43,"speed":43,"hex_longitude":"2d24a340","hex_latitude":"06c892d0","is_valid_coordinates":true} 
[2026-09-10 00:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978690560001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403259113691152384,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2643472272910835712,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788979268000,"timestamp_ms":1788979268000,"timestamp_seconds":1788979268,"priority":1,"record_length":96,"hex_timestamp":"000001a0877949a0"} 
[2026-09-10 00:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978690560001,"66":27332,"79":206,"81":22528,"24":43,"16":403259113691152384,"45":2643472272910835712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-10 00:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978690560001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:12:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 00:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403259113691152384,"km_value":403259113691152.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2643472272910835712,"description":"Unknown IO ID 45"} 
[2026-09-10 00:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978690560001,"power":27332,"unknown_79":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2643472272910835712}} 
[2026-09-10 00:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":176159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:12:44] local.INFO: GPS data processed {"connection_id":176159,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:12:44] local.INFO: Acknowledgment sent {"connection_id":176159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:12:47] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087796cc8012d24940006c8b4b80010014b2e..."} 
[2026-09-10 00:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087796cc8012d24940006c8b4b80010014b2e..."} 
[2026-09-10 00:12:47] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087796cc8012d24940006c8b4b80010014b2e..."} 
[2026-09-10 00:12:47] local.INFO: Packet analysis {"connection_id":176159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:12:47] local.INFO: Extracted packet for processing {"connection_id":176159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:12:47] local.INFO: GPS Element Parsed {"raw_longitude":757371904,"raw_latitude":113816760,"longitude_deg":75.7371904,"latitude_deg":11.381676,"altitude":16,"angle":331,"satellites":46,"speed":40,"hex_longitude":"2d249400","hex_latitude":"06c8b4b8","is_valid_coordinates":true} 
[2026-09-10 00:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978692608001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403259577547620352,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2640024204448288768,"note":"Value kept but may cause issues"} 
[2026-09-10 00:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788979277000,"timestamp_ms":1788979277000,"timestamp_seconds":1788979277,"priority":1,"record_length":96,"hex_timestamp":"000001a087796cc8"} 
[2026-09-10 00:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:12: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-09-10 00:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 00:12:47] 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-09-10 00:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978692608001,"66":27234,"46":206,"81":22528,"24":40,"16":403259577547620352,"45":2640024204448288768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978692608001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:12:47] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403259577547620352,"km_value":403259577547620.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2640024204448288768,"description":"Unknown IO ID 45"} 
[2026-09-10 00:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978692608001,"power":27234,"unknown_46":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2640024204448288768}} 
[2026-09-10 00:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":176159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:12:47] local.INFO: GPS data processed {"connection_id":176159,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:12:47] local.INFO: Acknowledgment sent {"connection_id":176159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:13:19] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087798c08012d24820006c8cda00012013f2d..."} 
[2026-09-10 00:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087798c08012d24820006c8cda00012013f2d..."} 
[2026-09-10 00:13:19] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087798c08012d24820006c8cda00012013f2d..."} 
[2026-09-10 00:13:19] local.INFO: Packet analysis {"connection_id":176159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:13:19] local.INFO: Extracted packet for processing {"connection_id":176159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08779"} 
[2026-09-10 00:13:19] local.INFO: GPS Element Parsed {"raw_longitude":757367296,"raw_latitude":113823136,"longitude_deg":75.7367296,"latitude_deg":11.3823136,"altitude":18,"angle":319,"satellites":45,"speed":37,"hex_longitude":"2d248200","hex_latitude":"06c8cda0","is_valid_coordinates":true} 
[2026-09-10 00:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978694912001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403259955504742400,"note":"Value kept but may cause issues"} 
[2026-09-10 00:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2635731711055673344,"note":"Value kept but may cause issues"} 
[2026-09-10 00:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788979285000,"timestamp_ms":1788979285000,"timestamp_seconds":1788979285,"priority":1,"record_length":96,"hex_timestamp":"000001a087798c08"} 
[2026-09-10 00:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:13: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-09-10 00:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978694912001,"66":27463,"46":206,"81":22528,"24":37,"16":403259955504742400,"45":2635731711055673344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978694912001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:13:19] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403259955504742400,"km_value":403259955504742.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2635731711055673344,"description":"Unknown IO ID 45"} 
[2026-09-10 00:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978694912001,"power":27463,"unknown_46":206,"unknown_81":22528,"ignition":37,"odometer":null,"unknown_45":2635731711055673344}} 
[2026-09-10 00:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":176159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:13:19] local.INFO: GPS data processed {"connection_id":176159,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:13:19] local.INFO: Acknowledgment sent {"connection_id":176159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:13:37] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:13:37] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:13:37] local.INFO: IMEI packet received {"connection_id":175926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":175926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:13:42] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:13:42] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:13:42] local.INFO: IMEI packet received {"connection_id":175926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":175926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:13:45] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877ab100012d24004006c9f2e0000d01482b..."} 
[2026-09-10 00:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877ab100012d24004006c9f2e0000d01482b..."} 
[2026-09-10 00:13:45] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877ab100012d24004006c9f2e0000d01482b..."} 
[2026-09-10 00:13:45] local.INFO: Packet analysis {"connection_id":175926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877a"} 
[2026-09-10 00:13:45] local.INFO: Extracted packet for processing {"connection_id":175926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877a"} 
[2026-09-10 00:13:45] local.INFO: GPS Element Parsed {"raw_longitude":757334080,"raw_latitude":113898208,"longitude_deg":75.733408,"latitude_deg":11.3898208,"altitude":13,"angle":328,"satellites":43,"speed":40,"hex_longitude":"2d240040","hex_latitude":"06c9f2e0","is_valid_coordinates":true} 
[2026-09-10 00:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978716160001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403263988479033344,"note":"Value kept but may cause issues"} 
[2026-09-10 00:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2594143783267524608,"note":"Value kept but may cause issues"} 
[2026-09-10 00:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788979360000,"timestamp_ms":1788979360000,"timestamp_seconds":1788979360,"priority":1,"record_length":96,"hex_timestamp":"000001a0877ab100"} 
[2026-09-10 00:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:13:45] 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-09-10 00:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978716160001,"66":27321,"47":206,"81":22528,"24":40,"16":403263988479033344,"45":2594143783267524608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-10 00:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978716160001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:13:45] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 00:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403263988479033344,"km_value":403263988479033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2594143783267524608,"description":"Unknown IO ID 45"} 
[2026-09-10 00:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978716160001,"power":27321,"unknown_47":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2594143783267524608}} 
[2026-09-10 00:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":175926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:13:45] local.INFO: GPS data processed {"connection_id":175926,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:13:45] local.INFO: Acknowledgment sent {"connection_id":175926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:14:16] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877ac870012d23f10006ca0630000e013c2c..."} 
[2026-09-10 00:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877ac870012d23f10006ca0630000e013c2c..."} 
[2026-09-10 00:14:16] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877ac870012d23f10006ca0630000e013c2c..."} 
[2026-09-10 00:14:16] local.INFO: Packet analysis {"connection_id":175926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877a"} 
[2026-09-10 00:14:16] local.INFO: Extracted packet for processing {"connection_id":175926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877a"} 
[2026-09-10 00:14:16] local.INFO: GPS Element Parsed {"raw_longitude":757330176,"raw_latitude":113903152,"longitude_deg":75.7330176,"latitude_deg":11.3903152,"altitude":14,"angle":316,"satellites":44,"speed":42,"hex_longitude":"2d23f100","hex_latitude":"06ca0630","is_valid_coordinates":true} 
[2026-09-10 00:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978716160001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403264293421711360,"note":"Value kept but may cause issues"} 
[2026-09-10 00:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2594143783267524608,"note":"Value kept but may cause issues"} 
[2026-09-10 00:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788979366000,"timestamp_ms":1788979366000,"timestamp_seconds":1788979366,"priority":1,"record_length":96,"hex_timestamp":"000001a0877ac870"} 
[2026-09-10 00:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:14:16] 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-09-10 00:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978716160001,"66":26202,"47":206,"81":22528,"24":42,"16":403264293421711360,"45":2594143783267524608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-10 00:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978716160001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:14:16] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 00:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403264293421711360,"km_value":403264293421711.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2594143783267524608,"description":"Unknown IO ID 45"} 
[2026-09-10 00:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978716160001,"power":26202,"unknown_47":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2594143783267524608}} 
[2026-09-10 00:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":175926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:14:16] local.INFO: GPS data processed {"connection_id":175926,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:14:16] local.INFO: Acknowledgment sent {"connection_id":175926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:14:57] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:14:57] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:14:57] local.INFO: IMEI packet received {"connection_id":177331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":177331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:15:01] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:01] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:01] local.INFO: IMEI packet received {"connection_id":177331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":177331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:15:02] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877bfd08012d22e9c006cabec8001301522e..."} 
[2026-09-10 00:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877bfd08012d22e9c006cabec8001301522e..."} 
[2026-09-10 00:15:02] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877bfd08012d22e9c006cabec8001301522e..."} 
[2026-09-10 00:15:02] local.INFO: Packet analysis {"connection_id":177331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877b"} 
[2026-09-10 00:15:02] local.INFO: Extracted packet for processing {"connection_id":177331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877b"} 
[2026-09-10 00:15:02] local.INFO: GPS Element Parsed {"raw_longitude":757262784,"raw_latitude":113950408,"longitude_deg":75.7262784,"latitude_deg":11.3950408,"altitude":19,"angle":338,"satellites":46,"speed":37,"hex_longitude":"2d22e9c0","hex_latitude":"06cabec8","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978735872001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403268442360119296,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2519552914450874368,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788979445000,"timestamp_ms":1788979445000,"timestamp_seconds":1788979445,"priority":1,"record_length":96,"hex_timestamp":"000001a0877bfd08"} 
[2026-09-10 00:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:15: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-09-10 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 00:15: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-09-10 00: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-09-10 00:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978735872001,"66":27245,"254":206,"81":20480,"24":37,"16":403268442360119296,"45":2519552914450874368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-09-10 00:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978735872001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:15:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-10 00:15:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403268442360119296,"km_value":403268442360119.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2519552914450874368,"description":"Unknown IO ID 45"} 
[2026-09-10 00:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978735872001,"power":27245,"unknown_254":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":2519552914450874368}} 
[2026-09-10 00:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":177331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:15:02] local.INFO: GPS data processed {"connection_id":177331,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:15:02] local.INFO: Acknowledgment sent {"connection_id":177331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:15:04] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877c2030012d22de8006cae120001101592e..."} 
[2026-09-10 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877c2030012d22de8006cae120001101592e..."} 
[2026-09-10 00:15:04] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877c2030012d22de8006cae120001101592e..."} 
[2026-09-10 00:15:04] local.INFO: Packet analysis {"connection_id":177331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:15:04] local.INFO: Extracted packet for processing {"connection_id":177331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":757259904,"raw_latitude":113959200,"longitude_deg":75.7259904,"latitude_deg":11.39592,"altitude":17,"angle":345,"satellites":46,"speed":44,"hex_longitude":"2d22de80","hex_latitude":"06cae120","is_valid_coordinates":true} 
[2026-09-10 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-09-10 00:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978737920001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403268889036718080,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2515753002266970112,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788979454000,"timestamp_ms":1788979454000,"timestamp_seconds":1788979454,"priority":1,"record_length":96,"hex_timestamp":"000001a0877c2030"} 
[2026-09-10 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-09-10 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:15: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-09-10 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-09-10 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-09-10 00:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978737920001,"66":27234,"254":206,"81":20480,"24":44,"16":403268889036718080,"45":2515753002266970112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-09-10 00:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978737920001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:15:04] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-10 00:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403268889036718080,"km_value":403268889036718.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2515753002266970112,"description":"Unknown IO ID 45"} 
[2026-09-10 00:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978737920001,"power":27234,"unknown_254":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":2515753002266970112}} 
[2026-09-10 00:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":177331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:15:04] local.INFO: GPS data processed {"connection_id":177331,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:15:04] local.INFO: Acknowledgment sent {"connection_id":177331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:15:36] local.INFO: TCP Data received {"connection_id":177332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:36] local.INFO: Processing buffer {"connection_id":177332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:36] local.INFO: IMEI packet received {"connection_id":177332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":177332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:15:37] local.INFO: TCP Data received {"connection_id":177332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:37] local.INFO: Processing buffer {"connection_id":177332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:37] local.INFO: IMEI packet received {"connection_id":177332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":177332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:15:42] local.INFO: TCP Data received {"connection_id":177332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:42] local.INFO: Processing buffer {"connection_id":177332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:15:42] local.INFO: IMEI packet received {"connection_id":177332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":177332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:15:43] local.INFO: TCP Data received {"connection_id":177332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877c3f70012d22d4c006cb0570000e01592e..."} 
[2026-09-10 00:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877c3f70012d22d4c006cb0570000e01592e..."} 
[2026-09-10 00:15:43] local.INFO: Processing buffer {"connection_id":177332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877c3f70012d22d4c006cb0570000e01592e..."} 
[2026-09-10 00:15:43] local.INFO: Packet analysis {"connection_id":177332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:15:43] local.INFO: Extracted packet for processing {"connection_id":177332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:15:43] local.INFO: GPS Element Parsed {"raw_longitude":757257408,"raw_latitude":113968496,"longitude_deg":75.7257408,"latitude_deg":11.3968496,"altitude":14,"angle":345,"satellites":46,"speed":49,"hex_longitude":"2d22d4c0","hex_latitude":"06cb0570","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403269357188153344,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2512586408781225984,"note":"Value kept but may cause issues"} 
[2026-09-10 00:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788979462000,"timestamp_ms":1788979462000,"timestamp_seconds":1788979462,"priority":1,"record_length":96,"hex_timestamp":"000001a0877c3f70"} 
[2026-09-10 00:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:15: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-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:15:43] 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-09-10 00: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-09-10 00:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978740224001,"66":27115,"179":206,"81":22528,"24":49,"16":403269357188153344,"45":2512586408781225984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 00:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:15:43] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 00:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403269357188153344,"km_value":403269357188153.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2512586408781225984,"description":"Unknown IO ID 45"} 
[2026-09-10 00:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978740224001,"power":27115,"unknown_179":206,"unknown_81":22528,"ignition":49,"odometer":null,"unknown_45":2512586408781225984}} 
[2026-09-10 00:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":177332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:15:43] local.INFO: GPS data processed {"connection_id":177332,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:15:43] local.INFO: Acknowledgment sent {"connection_id":177332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:16:15] local.INFO: TCP Data received {"connection_id":177332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877c5ac8012d22cac006cb26d8000c01532c..."} 
[2026-09-10 00:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877c5ac8012d22cac006cb26d8000c01532c..."} 
[2026-09-10 00:16:15] local.INFO: Processing buffer {"connection_id":177332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877c5ac8012d22cac006cb26d8000c01532c..."} 
[2026-09-10 00:16:15] local.INFO: Packet analysis {"connection_id":177332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:16:15] local.INFO: Extracted packet for processing {"connection_id":177332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:16:15] local.INFO: GPS Element Parsed {"raw_longitude":757254848,"raw_latitude":113977048,"longitude_deg":75.7254848,"latitude_deg":11.3977048,"altitude":12,"angle":339,"satellites":44,"speed":50,"hex_longitude":"2d22cac0","hex_latitude":"06cb26d8","is_valid_coordinates":true} 
[2026-09-10 00:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978742272001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403269790979850240,"note":"Value kept but may cause issues"} 
[2026-09-10 00:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2509842027760676864,"note":"Value kept but may cause issues"} 
[2026-09-10 00:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788979469000,"timestamp_ms":1788979469000,"timestamp_seconds":1788979469,"priority":1,"record_length":96,"hex_timestamp":"000001a0877c5ac8"} 
[2026-09-10 00:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 00:16:15] 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-09-10 00:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978742272001,"66":27180,"179":206,"81":22528,"24":50,"16":403269790979850240,"45":2509842027760676864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 00:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978742272001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:16:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 00:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403269790979850240,"km_value":403269790979850.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2509842027760676864,"description":"Unknown IO ID 45"} 
[2026-09-10 00:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978742272001,"power":27180,"unknown_179":206,"unknown_81":22528,"ignition":50,"odometer":null,"unknown_45":2509842027760676864}} 
[2026-09-10 00:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":177332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:16:15] local.INFO: GPS data processed {"connection_id":177332,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:16:15] local.INFO: Acknowledgment sent {"connection_id":177332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:16:36] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:36] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:36] local.INFO: IMEI packet received {"connection_id":175927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":175927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:16:38] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:38] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:38] local.INFO: IMEI packet received {"connection_id":175927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":175927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:16:42] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:42] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:16:42] local.INFO: IMEI packet received {"connection_id":175927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":175927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:16:43] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877c7a08012d22b94006cb4a38000b014a2e..."} 
[2026-09-10 00:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877c7a08012d22b94006cb4a38000b014a2e..."} 
[2026-09-10 00:16:43] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877c7a08012d22b94006cb4a38000b014a2e..."} 
[2026-09-10 00:16:43] local.INFO: Packet analysis {"connection_id":175927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:16:43] local.INFO: Extracted packet for processing {"connection_id":175927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877c"} 
[2026-09-10 00:16:43] local.INFO: GPS Element Parsed {"raw_longitude":757250368,"raw_latitude":113986104,"longitude_deg":75.7250368,"latitude_deg":11.3986104,"altitude":11,"angle":330,"satellites":46,"speed":50,"hex_longitude":"2d22b940","hex_latitude":"06cb4a38","is_valid_coordinates":true} 
[2026-09-10 00:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978744064001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403270276311154688,"note":"Value kept but may cause issues"} 
[2026-09-10 00:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2507027277995759616,"note":"Value kept but may cause issues"} 
[2026-09-10 00:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788979477000,"timestamp_ms":1788979477000,"timestamp_seconds":1788979477,"priority":1,"record_length":96,"hex_timestamp":"000001a0877c7a08"} 
[2026-09-10 00:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:16: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-09-10 00:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 00:16:43] 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-09-10 00:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978744064001,"66":27234,"179":206,"81":22528,"24":50,"16":403270276311154688,"45":2507027277995759616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 00:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978744064001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:16:43] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 00:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403270276311154688,"km_value":403270276311154.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2507027277995759616,"description":"Unknown IO ID 45"} 
[2026-09-10 00:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978744064001,"power":27234,"unknown_179":206,"unknown_81":22528,"ignition":50,"odometer":null,"unknown_45":2507027277995759616}} 
[2026-09-10 00:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":175927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:16:43] local.INFO: GPS data processed {"connection_id":175927,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:16:43] local.INFO: Acknowledgment sent {"connection_id":175927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:17:16] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877df8d8012d21bf0006ccce88000901612f..."} 
[2026-09-10 00:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877df8d8012d21bf0006ccce88000901612f..."} 
[2026-09-10 00:17:16] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877df8d8012d21bf0006ccce88000901612f..."} 
[2026-09-10 00:17:16] local.INFO: Packet analysis {"connection_id":175927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877d"} 
[2026-09-10 00:17:16] local.INFO: Extracted packet for processing {"connection_id":175927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877d"} 
[2026-09-10 00:17:16] local.INFO: GPS Element Parsed {"raw_longitude":757186304,"raw_latitude":114085512,"longitude_deg":75.7186304,"latitude_deg":11.4085512,"altitude":9,"angle":353,"satellites":47,"speed":43,"hex_longitude":"2d21bf00","hex_latitude":"06ccce88","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978768896001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403276100286808064,"note":"Value kept but may cause issues"} 
[2026-09-10 00:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2433280834122889216,"note":"Value kept but may cause issues"} 
[2026-09-10 00:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788979575000,"timestamp_ms":1788979575000,"timestamp_seconds":1788979575,"priority":1,"record_length":96,"hex_timestamp":"000001a0877df8d8"} 
[2026-09-10 00:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00: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-09-10 00: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 00:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978768896001,"66":27213,"233":206,"81":22528,"24":43,"16":403276100286808064,"45":2433280834122889216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-09-10 00:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978768896001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:17:16] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-10 00:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403276100286808064,"km_value":403276100286808.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2433280834122889216,"description":"Unknown IO ID 45"} 
[2026-09-10 00:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978768896001,"power":27213,"unknown_233":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2433280834122889216}} 
[2026-09-10 00:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":175927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:17:16] local.INFO: GPS data processed {"connection_id":175927,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:17:16] local.INFO: Acknowledgment sent {"connection_id":175927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:17:37] local.INFO: TCP Data received {"connection_id":177333,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:37] local.INFO: Processing buffer {"connection_id":177333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:37] local.INFO: IMEI packet received {"connection_id":177333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":177333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:17:39] local.INFO: TCP Data received {"connection_id":177333,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:39] local.INFO: Processing buffer {"connection_id":177333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:39] local.INFO: IMEI packet received {"connection_id":177333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":177333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:17:42] local.INFO: TCP Data received {"connection_id":177333,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:42] local.INFO: Processing buffer {"connection_id":177333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:17:42] local.INFO: IMEI packet received {"connection_id":177333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":177333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:17:43] local.INFO: TCP Data received {"connection_id":177333,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877e1c00012d21b6c006ccf398000b015730..."} 
[2026-09-10 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877e1c00012d21b6c006ccf398000b015730..."} 
[2026-09-10 00:17:43] local.INFO: Processing buffer {"connection_id":177333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877e1c00012d21b6c006ccf398000b015730..."} 
[2026-09-10 00:17:43] local.INFO: Packet analysis {"connection_id":177333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877e"} 
[2026-09-10 00:17:43] local.INFO: Extracted packet for processing {"connection_id":177333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877e"} 
[2026-09-10 00:17:43] local.INFO: GPS Element Parsed {"raw_longitude":757184192,"raw_latitude":114095000,"longitude_deg":75.7184192,"latitude_deg":11.4095,"altitude":11,"angle":343,"satellites":48,"speed":41,"hex_longitude":"2d21b6c0","hex_latitude":"06ccf398","is_valid_coordinates":true} 
[2026-09-10 00:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978771200001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403276572733210624,"note":"Value kept but may cause issues"} 
[2026-09-10 00:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2431662353009248256,"note":"Value kept but may cause issues"} 
[2026-09-10 00:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788979584000,"timestamp_ms":1788979584000,"timestamp_seconds":1788979584,"priority":1,"record_length":96,"hex_timestamp":"000001a0877e1c00"} 
[2026-09-10 00:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:17: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-09-10 00:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978771200001,"66":26669,"233":206,"81":22528,"24":41,"16":403276572733210624,"45":2431662353009248256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-09-10 00:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978771200001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:17:43] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-10 00:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403276572733210624,"km_value":403276572733210.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2431662353009248256,"description":"Unknown IO ID 45"} 
[2026-09-10 00:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978771200001,"power":26669,"unknown_233":206,"unknown_81":22528,"ignition":41,"odometer":null,"unknown_45":2431662353009248256}} 
[2026-09-10 00:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":177333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:17:43] local.INFO: GPS data processed {"connection_id":177333,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:17:43] local.INFO: Acknowledgment sent {"connection_id":177333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:18:15] local.INFO: TCP Data received {"connection_id":177333,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877e3f28012d21a94006cd1370000d014d31..."} 
[2026-09-10 00:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877e3f28012d21a94006cd1370000d014d31..."} 
[2026-09-10 00:18:15] local.INFO: Processing buffer {"connection_id":177333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877e3f28012d21a94006cd1370000d014d31..."} 
[2026-09-10 00:18:15] local.INFO: Packet analysis {"connection_id":177333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877e"} 
[2026-09-10 00:18:15] local.INFO: Extracted packet for processing {"connection_id":177333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877e"} 
[2026-09-10 00:18:15] local.INFO: GPS Element Parsed {"raw_longitude":757180736,"raw_latitude":114103152,"longitude_deg":75.7180736,"latitude_deg":11.4103152,"altitude":13,"angle":333,"satellites":49,"speed":36,"hex_longitude":"2d21a940","hex_latitude":"06cd1370","is_valid_coordinates":true} 
[2026-09-10 00:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978773504001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403277002229940224,"note":"Value kept but may cause issues"} 
[2026-09-10 00:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2429340184453814272,"note":"Value kept but may cause issues"} 
[2026-09-10 00:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788979593000,"timestamp_ms":1788979593000,"timestamp_seconds":1788979593,"priority":1,"record_length":96,"hex_timestamp":"000001a0877e3f28"} 
[2026-09-10 00:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-10 00:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978773504001,"66":27180,"170":206,"81":22528,"24":36,"16":403277002229940224,"45":2429340184453814272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-10 00:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978773504001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:18:15] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-10 00:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403277002229940224,"km_value":403277002229940.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2429340184453814272,"description":"Unknown IO ID 45"} 
[2026-09-10 00:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978773504001,"power":27180,"unknown_170":206,"unknown_81":22528,"ignition":36,"odometer":null,"unknown_45":2429340184453814272}} 
[2026-09-10 00:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":177333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:18:15] local.INFO: GPS data processed {"connection_id":177333,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:18:15] local.INFO: Acknowledgment sent {"connection_id":177333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:18:37] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:18:37] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:18:37] local.INFO: IMEI packet received {"connection_id":175928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":175928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:18:42] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:18:42] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:18:42] local.INFO: IMEI packet received {"connection_id":175928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":175928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:18:44] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877e6638012d21988006cd3358000d014b30..."} 
[2026-09-10 00:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877e6638012d21988006cd3358000d014b30..."} 
[2026-09-10 00:18:44] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877e6638012d21988006cd3358000d014b30..."} 
[2026-09-10 00:18:44] local.INFO: Packet analysis {"connection_id":175928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877e"} 
[2026-09-10 00:18:44] local.INFO: Extracted packet for processing {"connection_id":175928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877e"} 
[2026-09-10 00:18:44] local.INFO: GPS Element Parsed {"raw_longitude":757176448,"raw_latitude":114111320,"longitude_deg":75.7176448,"latitude_deg":11.411132,"altitude":13,"angle":331,"satellites":48,"speed":39,"hex_longitude":"2d219880","hex_latitude":"06cd3358","is_valid_coordinates":true} 
[2026-09-10 00:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978775808001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403277448906539008,"note":"Value kept but may cause issues"} 
[2026-09-10 00:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2425540272270307328,"note":"Value kept but may cause issues"} 
[2026-09-10 00:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788979603000,"timestamp_ms":1788979603000,"timestamp_seconds":1788979603,"priority":1,"record_length":96,"hex_timestamp":"000001a0877e6638"} 
[2026-09-10 00:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 00:18:44] 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-09-10 00:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978775808001,"66":27332,"170":206,"81":22528,"24":39,"16":403277448906539008,"45":2425540272270307328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-10 00:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978775808001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:18:44] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-10 00:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403277448906539008,"km_value":403277448906539.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2425540272270307328,"description":"Unknown IO ID 45"} 
[2026-09-10 00:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978775808001,"power":27332,"unknown_170":206,"unknown_81":22528,"ignition":39,"odometer":null,"unknown_45":2425540272270307328}} 
[2026-09-10 00:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":175928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:18:44] local.INFO: GPS data processed {"connection_id":175928,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:18:44] local.INFO: Acknowledgment sent {"connection_id":175928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:19:16] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877fd568012d20e08006ce1e70000e014931..."} 
[2026-09-10 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877fd568012d20e08006ce1e70000e014931..."} 
[2026-09-10 00:19:16] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877fd568012d20e08006ce1e70000e014931..."} 
[2026-09-10 00:19:16] local.INFO: Packet analysis {"connection_id":175928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877f"} 
[2026-09-10 00:19:16] local.INFO: Extracted packet for processing {"connection_id":175928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877f"} 
[2026-09-10 00:19:16] local.INFO: GPS Element Parsed {"raw_longitude":757129344,"raw_latitude":114171504,"longitude_deg":75.7129344,"latitude_deg":11.4171504,"altitude":14,"angle":329,"satellites":49,"speed":38,"hex_longitude":"2d20e080","hex_latitude":"06ce1e70","is_valid_coordinates":true} 
[2026-09-10 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978799872001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403281159758282752,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2374171089036001280,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788979697000,"timestamp_ms":1788979697000,"timestamp_seconds":1788979697,"priority":1,"record_length":96,"hex_timestamp":"000001a0877fd568"} 
[2026-09-10 00:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-10 00:19:16] 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-09-10 00:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978799872001,"66":27234,"60":206,"81":22528,"24":38,"16":403281159758282752,"45":2374171089036001280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-09-10 00:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978799872001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:19:16] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-10 00:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403281159758282752,"km_value":403281159758282.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2374171089036001280,"description":"Unknown IO ID 45"} 
[2026-09-10 00:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978799872001,"power":27234,"unknown_60":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2374171089036001280}} 
[2026-09-10 00:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":175928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:19:16] local.INFO: GPS data processed {"connection_id":175928,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:19:16] local.INFO: Acknowledgment sent {"connection_id":175928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:19:42] local.INFO: TCP Data received {"connection_id":178717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:19:42] local.INFO: Processing buffer {"connection_id":178717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:19:42] local.INFO: IMEI packet received {"connection_id":178717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":178717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:19:44] local.INFO: TCP Data received {"connection_id":178717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:19:44] local.INFO: Processing buffer {"connection_id":178717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:19:44] local.INFO: IMEI packet received {"connection_id":178717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":178717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:19:45] local.INFO: TCP Data received {"connection_id":178717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0877ffc78012d20d08006ce3f28000f01522e..."} 
[2026-09-10 00:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0877ffc78012d20d08006ce3f28000f01522e..."} 
[2026-09-10 00:19:45] local.INFO: Processing buffer {"connection_id":178717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0877ffc78012d20d08006ce3f28000f01522e..."} 
[2026-09-10 00:19:45] local.INFO: Packet analysis {"connection_id":178717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0877f"} 
[2026-09-10 00:19:45] local.INFO: Extracted packet for processing {"connection_id":178717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0877f"} 
[2026-09-10 00:19:45] local.INFO: GPS Element Parsed {"raw_longitude":757125248,"raw_latitude":114179880,"longitude_deg":75.7125248,"latitude_deg":11.417988,"altitude":15,"angle":338,"satellites":46,"speed":34,"hex_longitude":"2d20d080","hex_latitude":"06ce3f28","is_valid_coordinates":true} 
[2026-09-10 00:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978802432001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403281610729848832,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2369034170713141248,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788979707000,"timestamp_ms":1788979707000,"timestamp_seconds":1788979707,"priority":1,"record_length":96,"hex_timestamp":"000001a0877ffc78"} 
[2026-09-10 00:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:19:45] 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-09-10 00:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978802432001,"66":27300,"60":206,"81":22528,"24":34,"16":403281610729848832,"45":2369034170713141248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-09-10 00:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978802432001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:19:45] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-10 00:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403281610729848832,"km_value":403281610729848.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2369034170713141248,"description":"Unknown IO ID 45"} 
[2026-09-10 00:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978802432001,"power":27300,"unknown_60":206,"unknown_81":22528,"ignition":34,"odometer":null,"unknown_45":2369034170713141248}} 
[2026-09-10 00:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":178717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:19:45] local.INFO: GPS data processed {"connection_id":178717,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:19:45] local.INFO: Acknowledgment sent {"connection_id":178717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:19:47] local.INFO: TCP Data received {"connection_id":178717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087802388012d20c70006ce6178000e015c2e..."} 
[2026-09-10 00:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087802388012d20c70006ce6178000e015c2e..."} 
[2026-09-10 00:19:47] local.INFO: Processing buffer {"connection_id":178717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087802388012d20c70006ce6178000e015c2e..."} 
[2026-09-10 00:19:47] local.INFO: Packet analysis {"connection_id":178717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:19:47] local.INFO: Extracted packet for processing {"connection_id":178717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:19:47] local.INFO: GPS Element Parsed {"raw_longitude":757122816,"raw_latitude":114188664,"longitude_deg":75.7122816,"latitude_deg":11.4188664,"altitude":14,"angle":348,"satellites":46,"speed":38,"hex_longitude":"2d20c700","hex_latitude":"06ce6178","is_valid_coordinates":true} 
[2026-09-10 00:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978804992001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403282053111480320,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2364530571087915008,"note":"Value kept but may cause issues"} 
[2026-09-10 00:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788979717000,"timestamp_ms":1788979717000,"timestamp_seconds":1788979717,"priority":1,"record_length":96,"hex_timestamp":"000001a087802388"} 
[2026-09-10 00:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 00:19:47] 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-09-10 00:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978804992001,"66":27267,"61":206,"81":22528,"24":38,"16":403282053111480320,"45":2364530571087915008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-10 00:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978804992001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:19:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 00:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403282053111480320,"km_value":403282053111480.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2364530571087915008,"description":"Unknown IO ID 45"} 
[2026-09-10 00:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978804992001,"power":27267,"unknown_61":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2364530571087915008}} 
[2026-09-10 00:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":178717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:19:47] local.INFO: GPS data processed {"connection_id":178717,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:19:47] local.INFO: Acknowledgment sent {"connection_id":178717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:20:19] local.INFO: TCP Data received {"connection_id":178717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087804a98012d20bf0006ce86a0000e015c2f..."} 
[2026-09-10 00:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087804a98012d20bf0006ce86a0000e015c2f..."} 
[2026-09-10 00:20:19] local.INFO: Processing buffer {"connection_id":178717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087804a98012d20bf0006ce86a0000e015c2f..."} 
[2026-09-10 00:20:19] local.INFO: Packet analysis {"connection_id":178717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:20:19] local.INFO: Extracted packet for processing {"connection_id":178717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:20:19] local.INFO: GPS Element Parsed {"raw_longitude":757120768,"raw_latitude":114198176,"longitude_deg":75.7120768,"latitude_deg":11.4198176,"altitude":14,"angle":348,"satellites":47,"speed":38,"hex_longitude":"2d20bf00","hex_latitude":"06ce86a0","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978807552001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403282525557882880,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361856558811412480,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788979727000,"timestamp_ms":1788979727000,"timestamp_seconds":1788979727,"priority":1,"record_length":96,"hex_timestamp":"000001a087804a98"} 
[2026-09-10 00:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:20: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-09-10 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978807552001,"66":27234,"61":206,"81":22528,"24":38,"16":403282525557882880,"45":2361856558811412480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-10 00:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978807552001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:20:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 00:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403282525557882880,"km_value":403282525557882.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361856558811412480,"description":"Unknown IO ID 45"} 
[2026-09-10 00:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978807552001,"power":27234,"unknown_61":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2361856558811412480}} 
[2026-09-10 00:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":178717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:20:19] local.INFO: GPS data processed {"connection_id":178717,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:20:19] local.INFO: Acknowledgment sent {"connection_id":178717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:20:37] local.INFO: TCP Data received {"connection_id":178718,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:20:37] local.INFO: Processing buffer {"connection_id":178718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:20:37] local.INFO: IMEI packet received {"connection_id":178718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":178718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:20:42] local.INFO: TCP Data received {"connection_id":178718,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:20:42] local.INFO: Processing buffer {"connection_id":178718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:20:42] local.INFO: IMEI packet received {"connection_id":178718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":178718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:20:44] local.INFO: TCP Data received {"connection_id":178718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878071a8012d20b78006ceabc0000e015d2c..."} 
[2026-09-10 00:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878071a8012d20b78006ceabc0000e015d2c..."} 
[2026-09-10 00:20:44] local.INFO: Processing buffer {"connection_id":178718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878071a8012d20b78006ceabc0000e015d2c..."} 
[2026-09-10 00:20:44] local.INFO: Packet analysis {"connection_id":178718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:20:44] local.INFO: Extracted packet for processing {"connection_id":178718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:20:44] local.INFO: GPS Element Parsed {"raw_longitude":757118848,"raw_latitude":114207680,"longitude_deg":75.7118848,"latitude_deg":11.420768,"altitude":14,"angle":349,"satellites":44,"speed":38,"hex_longitude":"2d20b780","hex_latitude":"06ceabc0","is_valid_coordinates":true} 
[2026-09-10 00:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978810112001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403282993709318144,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2359604759000162304,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788979737000,"timestamp_ms":1788979737000,"timestamp_seconds":1788979737,"priority":1,"record_length":96,"hex_timestamp":"000001a0878071a8"} 
[2026-09-10 00:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:20:44] 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-09-10 00:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978810112001,"66":27267,"61":206,"81":22528,"24":38,"16":403282993709318144,"45":2359604759000162304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-10 00:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978810112001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:20:44] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 00:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403282993709318144,"km_value":403282993709318.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2359604759000162304,"description":"Unknown IO ID 45"} 
[2026-09-10 00:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978810112001,"power":27267,"unknown_61":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2359604759000162304}} 
[2026-09-10 00:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":178718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:20:44] local.INFO: GPS data processed {"connection_id":178718,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:20:44] local.INFO: Acknowledgment sent {"connection_id":178718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:20:46] local.INFO: TCP Data received {"connection_id":178718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878094d0012d20b04006cece30000e015a26..."} 
[2026-09-10 00:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878094d0012d20b04006cece30000e015a26..."} 
[2026-09-10 00:20:46] local.INFO: Processing buffer {"connection_id":178718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878094d0012d20b04006cece30000e015a26..."} 
[2026-09-10 00:20:46] local.INFO: Packet analysis {"connection_id":178718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:20:46] local.INFO: Extracted packet for processing {"connection_id":178718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:20:46] local.INFO: GPS Element Parsed {"raw_longitude":757116992,"raw_latitude":114216496,"longitude_deg":75.7116992,"latitude_deg":11.4216496,"altitude":14,"angle":346,"satellites":38,"speed":40,"hex_longitude":"2d20b040","hex_latitude":"06cece30","is_valid_coordinates":true} 
[2026-09-10 00:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978812672001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403283431795982336,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357493696677265408,"note":"Value kept but may cause issues"} 
[2026-09-10 00:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788979746000,"timestamp_ms":1788979746000,"timestamp_seconds":1788979746,"priority":1,"record_length":96,"hex_timestamp":"000001a0878094d0"} 
[2026-09-10 00:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978812672001,"66":27180,"61":206,"81":22528,"24":40,"16":403283431795982336,"45":2357493696677265408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-10 00:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978812672001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:20:46] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 00:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403283431795982336,"km_value":403283431795982.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2357493696677265408,"description":"Unknown IO ID 45"} 
[2026-09-10 00:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978812672001,"power":27180,"unknown_61":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2357493696677265408}} 
[2026-09-10 00:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":178718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:20:46] local.INFO: GPS data processed {"connection_id":178718,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:20:46] local.INFO: Acknowledgment sent {"connection_id":178718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:21:17] local.INFO: TCP Data received {"connection_id":178718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08780bfc8012d20a5c006ceed48000d014e1f..."} 
[2026-09-10 00:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08780bfc8012d20a5c006ceed48000d014e1f..."} 
[2026-09-10 00:21:17] local.INFO: Processing buffer {"connection_id":178718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08780bfc8012d20a5c006ceed48000d014e1f..."} 
[2026-09-10 00:21:17] local.INFO: Packet analysis {"connection_id":178718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:21:17] local.INFO: Extracted packet for processing {"connection_id":178718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:21:17] local.INFO: GPS Element Parsed {"raw_longitude":757114304,"raw_latitude":114224456,"longitude_deg":75.7114304,"latitude_deg":11.4224456,"altitude":13,"angle":334,"satellites":31,"speed":20,"hex_longitude":"2d20a5c0","hex_latitude":"06ceed48","is_valid_coordinates":true} 
[2026-09-10 00:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978814976001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403283839817875456,"note":"Value kept but may cause issues"} 
[2026-09-10 00:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2355453003098370048,"note":"Value kept but may cause issues"} 
[2026-09-10 00:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788979757000,"timestamp_ms":1788979757000,"timestamp_seconds":1788979757,"priority":1,"record_length":96,"hex_timestamp":"000001a08780bfc8"} 
[2026-09-10 00:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00: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-09-10 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 00:21:17] 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-09-10 00:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978814976001,"66":27267,"61":206,"81":22528,"24":20,"16":403283839817875456,"45":2355453003098370048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-10 00:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978814976001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:21:17] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 00:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403283839817875456,"km_value":403283839817875.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2355453003098370048,"description":"Unknown IO ID 45"} 
[2026-09-10 00:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978814976001,"power":27267,"unknown_61":206,"unknown_81":22528,"ignition":20,"odometer":null,"unknown_45":2355453003098370048}} 
[2026-09-10 00:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":178718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:21:17] local.INFO: GPS data processed {"connection_id":178718,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:21:17] local.INFO: Acknowledgment sent {"connection_id":178718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:21:37] local.INFO: TCP Data received {"connection_id":177334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:21:37] local.INFO: Processing buffer {"connection_id":177334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:21:37] local.INFO: IMEI packet received {"connection_id":177334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":177334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:21:42] local.INFO: TCP Data received {"connection_id":177334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:21:42] local.INFO: Processing buffer {"connection_id":177334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:21:42] local.INFO: IMEI packet received {"connection_id":177334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":177334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:21:43] local.INFO: TCP Data received {"connection_id":177334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08780cf68012d20a20006cef360000e014221..."} 
[2026-09-10 00:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08780cf68012d20a20006cef360000e014221..."} 
[2026-09-10 00:21:43] local.INFO: Processing buffer {"connection_id":177334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08780cf68012d20a20006cef360000e014221..."} 
[2026-09-10 00:21:43] local.INFO: Packet analysis {"connection_id":177334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:21:43] local.INFO: Extracted packet for processing {"connection_id":177334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:21:43] local.INFO: GPS Element Parsed {"raw_longitude":757113344,"raw_latitude":114226016,"longitude_deg":75.7113344,"latitude_deg":11.4226016,"altitude":14,"angle":322,"satellites":33,"speed":18,"hex_longitude":"2d20a200","hex_latitude":"06cef360","is_valid_coordinates":true} 
[2026-09-10 00:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978817792001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403283925717221376,"note":"Value kept but may cause issues"} 
[2026-09-10 00:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2352497515844945920,"note":"Value kept but may cause issues"} 
[2026-09-10 00:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788979761000,"timestamp_ms":1788979761000,"timestamp_seconds":1788979761,"priority":1,"record_length":96,"hex_timestamp":"000001a08780cf68"} 
[2026-09-10 00:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978817792001,"66":27213,"61":206,"81":22528,"24":18,"16":403283925717221376,"45":2352497515844945920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-10 00:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978817792001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:21:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 00:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403283925717221376,"km_value":403283925717221.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2352497515844945920,"description":"Unknown IO ID 45"} 
[2026-09-10 00:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978817792001,"power":27213,"unknown_61":206,"unknown_81":22528,"ignition":18,"odometer":null,"unknown_45":2352497515844945920}} 
[2026-09-10 00:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":177334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:21:43] local.INFO: GPS data processed {"connection_id":177334,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:21:43] local.INFO: Acknowledgment sent {"connection_id":177334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:22:15] local.INFO: TCP Data received {"connection_id":177334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08780df08012d209d0006cef7e0000f013626..."} 
[2026-09-10 00:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08780df08012d209d0006cef7e0000f013626..."} 
[2026-09-10 00:22:15] local.INFO: Processing buffer {"connection_id":177334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08780df08012d209d0006cef7e0000f013626..."} 
[2026-09-10 00:22:15] local.INFO: Packet analysis {"connection_id":177334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:22:15] local.INFO: Extracted packet for processing {"connection_id":177334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08780"} 
[2026-09-10 00:22:15] local.INFO: GPS Element Parsed {"raw_longitude":757112064,"raw_latitude":114227168,"longitude_deg":75.7112064,"latitude_deg":11.4227168,"altitude":15,"angle":310,"satellites":38,"speed":17,"hex_longitude":"2d209d00","hex_latitude":"06cef7e0","is_valid_coordinates":true} 
[2026-09-10 00:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978818816001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403284011616567296,"note":"Value kept but may cause issues"} 
[2026-09-10 00:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2351441984682680320,"note":"Value kept but may cause issues"} 
[2026-09-10 00:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788979765000,"timestamp_ms":1788979765000,"timestamp_seconds":1788979765,"priority":1,"record_length":96,"hex_timestamp":"000001a08780df08"} 
[2026-09-10 00:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978818816001,"66":27300,"61":206,"81":22528,"24":17,"16":403284011616567296,"45":2351441984682680320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-10 00:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978818816001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:22:15] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 00:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403284011616567296,"km_value":403284011616567.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2351441984682680320,"description":"Unknown IO ID 45"} 
[2026-09-10 00:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978818816001,"power":27300,"unknown_61":206,"unknown_81":22528,"ignition":17,"odometer":null,"unknown_45":2351441984682680320}} 
[2026-09-10 00:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":177334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:22:15] local.INFO: GPS data processed {"connection_id":177334,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:22:15] local.INFO: Acknowledgment sent {"connection_id":177334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:22:37] local.INFO: TCP Data received {"connection_id":177335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:22:37] local.INFO: Processing buffer {"connection_id":177335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:22:37] local.INFO: IMEI packet received {"connection_id":177335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":177335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:22:42] local.INFO: TCP Data received {"connection_id":177335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:22:42] local.INFO: Processing buffer {"connection_id":177335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:22:42] local.INFO: IMEI packet received {"connection_id":177335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":177335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:22:43] local.INFO: TCP Data received {"connection_id":177335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08782d308012d1f5d8006cfb390001001412e..."} 
[2026-09-10 00:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08782d308012d1f5d8006cfb390001001412e..."} 
[2026-09-10 00:22:43] local.INFO: Processing buffer {"connection_id":177335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08782d308012d1f5d8006cfb390001001412e..."} 
[2026-09-10 00:22:43] local.INFO: Packet analysis {"connection_id":177335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08782"} 
[2026-09-10 00:22:43] local.INFO: Extracted packet for processing {"connection_id":177335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08782"} 
[2026-09-10 00:22:43] local.INFO: GPS Element Parsed {"raw_longitude":757030272,"raw_latitude":114275216,"longitude_deg":75.7030272,"latitude_deg":11.4275216,"altitude":16,"angle":321,"satellites":46,"speed":43,"hex_longitude":"2d1f5d80","hex_latitude":"06cfb390","is_valid_coordinates":true} 
[2026-09-10 00:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978851072001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403288572871835648,"note":"Value kept but may cause issues"} 
[2026-09-10 00:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2265099535588159488,"note":"Value kept but may cause issues"} 
[2026-09-10 00:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788979893000,"timestamp_ms":1788979893000,"timestamp_seconds":1788979893,"priority":1,"record_length":96,"hex_timestamp":"000001a08782d308"} 
[2026-09-10 00:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:22:43] 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-09-10 00:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978851072001,"66":27234,"152":206,"81":22528,"24":43,"16":403288572871835648,"45":2265099535588159488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 00:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978851072001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:22:43] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 00:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403288572871835648,"km_value":403288572871835.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2265099535588159488,"description":"Unknown IO ID 45"} 
[2026-09-10 00:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978851072001,"power":27234,"unknown_152":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2265099535588159488}} 
[2026-09-10 00:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":177335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:22:43] local.INFO: GPS data processed {"connection_id":177335,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:22:43] local.INFO: Acknowledgment sent {"connection_id":177335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:23:14] local.INFO: TCP Data received {"connection_id":177335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08782f248012d1f478006cfd0a0000f014329..."} 
[2026-09-10 00:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08782f248012d1f478006cfd0a0000f014329..."} 
[2026-09-10 00:23:14] local.INFO: Processing buffer {"connection_id":177335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08782f248012d1f478006cfd0a0000f014329..."} 
[2026-09-10 00:23:14] local.INFO: Packet analysis {"connection_id":177335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08782"} 
[2026-09-10 00:23:14] local.INFO: Extracted packet for processing {"connection_id":177335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08782"} 
[2026-09-10 00:23:14] local.INFO: GPS Element Parsed {"raw_longitude":757024640,"raw_latitude":114282656,"longitude_deg":75.702464,"latitude_deg":11.4282656,"altitude":15,"angle":323,"satellites":41,"speed":46,"hex_longitude":"2d1f4780","hex_latitude":"06cfd0a0","is_valid_coordinates":true} 
[2026-09-10 00:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978852608001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403289023843401728,"note":"Value kept but may cause issues"} 
[2026-09-10 00:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260103354752667648,"note":"Value kept but may cause issues"} 
[2026-09-10 00:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788979901000,"timestamp_ms":1788979901000,"timestamp_seconds":1788979901,"priority":1,"record_length":96,"hex_timestamp":"000001a08782f248"} 
[2026-09-10 00:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:23:14] 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-09-10 00:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978852608001,"66":27213,"152":206,"81":22528,"24":46,"16":403289023843401728,"45":2260103354752667648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 00:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978852608001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:23:14] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 00:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403289023843401728,"km_value":403289023843401.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260103354752667648,"description":"Unknown IO ID 45"} 
[2026-09-10 00:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978852608001,"power":27213,"unknown_152":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2260103354752667648}} 
[2026-09-10 00:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":177335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:23:14] local.INFO: GPS data processed {"connection_id":177335,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:23:14] local.INFO: Acknowledgment sent {"connection_id":177335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:23:37] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:23:37] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:23:37] local.INFO: IMEI packet received {"connection_id":176160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":176160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:23:53] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:23:53] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:23:53] local.INFO: IMEI packet received {"connection_id":176160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":176160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:23:55] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087831188012d1f328006cfeef0001001462b..."} 
[2026-09-10 00:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087831188012d1f328006cfeef0001001462b..."} 
[2026-09-10 00:23:55] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087831188012d1f328006cfeef0001001462b..."} 
[2026-09-10 00:23:55] local.INFO: Packet analysis {"connection_id":176160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08783"} 
[2026-09-10 00:23:55] local.INFO: Extracted packet for processing {"connection_id":176160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08783"} 
[2026-09-10 00:23:55] local.INFO: GPS Element Parsed {"raw_longitude":757019264,"raw_latitude":114290416,"longitude_deg":75.7019264,"latitude_deg":11.4290416,"altitude":16,"angle":326,"satellites":43,"speed":47,"hex_longitude":"2d1f3280","hex_latitude":"06cfeef0","is_valid_coordinates":true} 
[2026-09-10 00:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978854656001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403289479109935104,"note":"Value kept but may cause issues"} 
[2026-09-10 00:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2253910905266937856,"note":"Value kept but may cause issues"} 
[2026-09-10 00:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788979909000,"timestamp_ms":1788979909000,"timestamp_seconds":1788979909,"priority":1,"record_length":96,"hex_timestamp":"000001a087831188"} 
[2026-09-10 00:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:23: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-09-10 00:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:23:55] 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-09-10 00:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978854656001,"66":27300,"152":206,"81":22528,"24":47,"16":403289479109935104,"45":2253910905266937856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 00:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978854656001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:23:55] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 00:23:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 00:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403289479109935104,"km_value":403289479109935.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2253910905266937856,"description":"Unknown IO ID 45"} 
[2026-09-10 00:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978854656001,"power":27300,"unknown_152":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2253910905266937856}} 
[2026-09-10 00:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":176160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:23:55] local.INFO: GPS data processed {"connection_id":176160,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:23:55] local.INFO: Acknowledgment sent {"connection_id":176160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:24:41] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:41] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:41] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:24:42] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:42] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:42] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:24:47] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:47] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:24:47] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:24:48] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087849828012d1e51c006d13f68001301432c..."} 
[2026-09-10 00:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087849828012d1e51c006d13f68001301432c..."} 
[2026-09-10 00:24:48] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087849828012d1e51c006d13f68001301432c..."} 
[2026-09-10 00:24:48] local.INFO: Packet analysis {"connection_id":176161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:24:48] local.INFO: Extracted packet for processing {"connection_id":176161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756961728,"raw_latitude":114376552,"longitude_deg":75.6961728,"latitude_deg":11.4376552,"altitude":19,"angle":323,"satellites":44,"speed":40,"hex_longitude":"2d1e51c0","hex_latitude":"06d13f68","is_valid_coordinates":true} 
[2026-09-10 00:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978880000001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403294474156900352,"note":"Value kept but may cause issues"} 
[2026-09-10 00:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190579035529205760,"note":"Value kept but may cause issues"} 
[2026-09-10 00:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788980009000,"timestamp_ms":1788980009000,"timestamp_seconds":1788980009,"priority":1,"record_length":96,"hex_timestamp":"000001a087849828"} 
[2026-09-10 00:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 00:24:48] 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-09-10 00:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978880000001,"66":27397,"140":206,"81":20480,"24":40,"16":403294474156900352,"45":2190579035529205760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-09-10 00:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978880000001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:24:48] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-10 00:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403294474156900352,"km_value":403294474156900.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2190579035529205760,"description":"Unknown IO ID 45"} 
[2026-09-10 00:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978880000001,"power":27397,"unknown_140":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2190579035529205760}} 
[2026-09-10 00:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":176161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:24:48] local.INFO: GPS data processed {"connection_id":176161,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:24:48] local.INFO: Acknowledgment sent {"connection_id":176161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:24:53] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08784bb50012d1e3dc006d15dc8001301492b..."} 
[2026-09-10 00:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08784bb50012d1e3dc006d15dc8001301492b..."} 
[2026-09-10 00:24:53] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08784bb50012d1e3dc006d15dc8001301492b..."} 
[2026-09-10 00:24:53] local.INFO: Packet analysis {"connection_id":176161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:24:53] local.INFO: Extracted packet for processing {"connection_id":176161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:24:53] local.INFO: GPS Element Parsed {"raw_longitude":756956608,"raw_latitude":114384328,"longitude_deg":75.6956608,"latitude_deg":11.4384328,"altitude":19,"angle":329,"satellites":43,"speed":41,"hex_longitude":"2d1e3dc0","hex_latitude":"06d15dc8","is_valid_coordinates":true} 
[2026-09-10 00:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978882304001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403294920833499136,"note":"Value kept but may cause issues"} 
[2026-09-10 00:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2184738429764331520,"note":"Value kept but may cause issues"} 
[2026-09-10 00:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788980018000,"timestamp_ms":1788980018000,"timestamp_seconds":1788980018,"priority":1,"record_length":96,"hex_timestamp":"000001a08784bb50"} 
[2026-09-10 00:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:24: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-09-10 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 00:24:53] 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-09-10 00:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978882304001,"66":27332,"140":206,"81":20480,"24":41,"16":403294920833499136,"45":2184738429764331520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-09-10 00:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978882304001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:24:53] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-10 00:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403294920833499136,"km_value":403294920833499.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2184738429764331520,"description":"Unknown IO ID 45"} 
[2026-09-10 00:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978882304001,"power":27332,"unknown_140":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":2184738429764331520}} 
[2026-09-10 00:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":176161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:24:53] local.INFO: GPS data processed {"connection_id":176161,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:24:53] local.INFO: Acknowledgment sent {"connection_id":176161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:25:37] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:25:37] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:25:37] local.INFO: IMEI packet received {"connection_id":177336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":177336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:25:38] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:25:38] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:25:38] local.INFO: IMEI packet received {"connection_id":177336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":177336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:25:39] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08784de78012d1e2c0006d180480012015229..."} 
[2026-09-10 00:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08784de78012d1e2c0006d180480012015229..."} 
[2026-09-10 00:25:39] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08784de78012d1e2c0006d180480012015229..."} 
[2026-09-10 00:25:39] local.INFO: Packet analysis {"connection_id":177336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:25:39] local.INFO: Extracted packet for processing {"connection_id":177336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756952064,"raw_latitude":114393160,"longitude_deg":75.6952064,"latitude_deg":11.439316,"altitude":18,"angle":338,"satellites":41,"speed":44,"hex_longitude":"2d1e2c00","hex_latitude":"06d18048","is_valid_coordinates":true} 
[2026-09-10 00:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978884608001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403295401869836288,"note":"Value kept but may cause issues"} 
[2026-09-10 00:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179108930232109056,"note":"Value kept but may cause issues"} 
[2026-09-10 00:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788980027000,"timestamp_ms":1788980027000,"timestamp_seconds":1788980027,"priority":1,"record_length":96,"hex_timestamp":"000001a08784de78"} 
[2026-09-10 00:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 00:25: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-09-10 00:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978884608001,"66":27234,"140":206,"81":20480,"24":44,"16":403295401869836288,"45":2179108930232109056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-09-10 00:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978884608001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:25:39] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-10 00:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403295401869836288,"km_value":403295401869836.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2179108930232109056,"description":"Unknown IO ID 45"} 
[2026-09-10 00:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978884608001,"power":27234,"unknown_140":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":2179108930232109056}} 
[2026-09-10 00:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":177336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:25:39] local.INFO: GPS data processed {"connection_id":177336,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:25:39] local.INFO: Acknowledgment sent {"connection_id":177336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:26:11] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08784fdb8012d1e1f4006d1a1400014014c2c..."} 
[2026-09-10 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08784fdb8012d1e1f4006d1a1400014014c2c..."} 
[2026-09-10 00:26:11] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08784fdb8012d1e1f4006d1a1400014014c2c..."} 
[2026-09-10 00:26:11] local.INFO: Packet analysis {"connection_id":177336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:26:11] local.INFO: Extracted packet for processing {"connection_id":177336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08784"} 
[2026-09-10 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756948800,"raw_latitude":114401600,"longitude_deg":75.69488,"latitude_deg":11.44016,"altitude":20,"angle":332,"satellites":44,"speed":44,"hex_longitude":"2d1e1f40","hex_latitude":"06d1a140","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978886912001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403295839956500480,"note":"Value kept but may cause issues"} 
[2026-09-10 00:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174112749397755904,"note":"Value kept but may cause issues"} 
[2026-09-10 00:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788980035000,"timestamp_ms":1788980035000,"timestamp_seconds":1788980035,"priority":1,"record_length":96,"hex_timestamp":"000001a08784fdb8"} 
[2026-09-10 00:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:26: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-09-10 00: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":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978886912001,"66":27213,"140":206,"81":20480,"24":44,"16":403295839956500480,"45":2174112749397755904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-09-10 00:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978886912001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:26:11] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-10 00:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403295839956500480,"km_value":403295839956500.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2174112749397755904,"description":"Unknown IO ID 45"} 
[2026-09-10 00:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978886912001,"power":27213,"unknown_140":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":2174112749397755904}} 
[2026-09-10 00:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":177336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:26:11] local.INFO: GPS data processed {"connection_id":177336,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:26:11] local.INFO: Acknowledgment sent {"connection_id":177336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:26:37] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:26:37] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:26:37] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:26:39] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:26:39] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:26:39] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:26:40] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087851910012d1e0f4006d1b8c8001601412f..."} 
[2026-09-10 00:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087851910012d1e0f4006d1b8c8001601412f..."} 
[2026-09-10 00:26:40] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087851910012d1e0f4006d1b8c8001601412f..."} 
[2026-09-10 00:26:40] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08785"} 
[2026-09-10 00:26:40] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08785"} 
[2026-09-10 00:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756944704,"raw_latitude":114407624,"longitude_deg":75.6944704,"latitude_deg":11.4407624,"altitude":22,"angle":321,"satellites":47,"speed":36,"hex_longitude":"2d1e0f40","hex_latitude":"06d1b8c8","is_valid_coordinates":true} 
[2026-09-10 00:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978888960001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403296192143818752,"note":"Value kept but may cause issues"} 
[2026-09-10 00:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2170523943446855680,"note":"Value kept but may cause issues"} 
[2026-09-10 00:26:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 00:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788980042000,"timestamp_ms":1788980042000,"timestamp_seconds":1788980042,"priority":1,"record_length":96,"hex_timestamp":"000001a087851910"} 
[2026-09-10 00:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:26:40] 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-09-10 00:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978888960001,"66":27115,"16":403296192143818752,"81":20480,"24":36,"45":2170523943446855680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-10 00:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978888960001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403296192143818752,"km_value":403296192143818.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2170523943446855680,"description":"Unknown IO ID 45"} 
[2026-09-10 00:26:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457978888960001,"power":27115,"odometer":null,"unknown_81":20480,"ignition":36,"unknown_45":2170523943446855680}} 
[2026-09-10 00:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:26:40] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:26:40] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:27:11] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087872868012d1d2bc006d2efa0001701502c..."} 
[2026-09-10 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087872868012d1d2bc006d2efa0001701502c..."} 
[2026-09-10 00:27:11] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087872868012d1d2bc006d2efa0001701502c..."} 
[2026-09-10 00:27:11] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08787"} 
[2026-09-10 00:27:11] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08787"} 
[2026-09-10 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756886464,"raw_latitude":114487200,"longitude_deg":75.6886464,"latitude_deg":11.44872,"altitude":23,"angle":336,"satellites":44,"speed":50,"hex_longitude":"2d1d2bc0","hex_latitude":"06d2efa0","is_valid_coordinates":true} 
[2026-09-10 00:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978923264001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403301006802157568,"note":"Value kept but may cause issues"} 
[2026-09-10 00:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2105995805055473664,"note":"Value kept but may cause issues"} 
[2026-09-10 00:27:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 00:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788980177000,"timestamp_ms":1788980177000,"timestamp_seconds":1788980177,"priority":1,"record_length":96,"hex_timestamp":"000001a087872868"} 
[2026-09-10 00:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:27: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-09-10 00:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:27: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-09-10 00:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978923264001,"66":27169,"81":20480,"24":50,"16":403301006802157568,"45":2105995805055473664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 00:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978923264001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403301006802157568,"km_value":403301006802157.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2105995805055473664,"description":"Unknown IO ID 45"} 
[2026-09-10 00:27:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457978923264001,"power":27169,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":2105995805055473664}} 
[2026-09-10 00:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:27:11] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:27:11] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:27:37] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:37] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:37] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:27:38] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:38] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:38] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:27:42] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:42] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:27:42] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:27:44] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087873808012d1d224006d300b8001601452d..."} 
[2026-09-10 00:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087873808012d1d224006d300b8001601452d..."} 
[2026-09-10 00:27:44] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087873808012d1d224006d300b8001601452d..."} 
[2026-09-10 00:27:44] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08787"} 
[2026-09-10 00:27:44] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08787"} 
[2026-09-10 00:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756884032,"raw_latitude":114491576,"longitude_deg":75.6884032,"latitude_deg":11.4491576,"altitude":22,"angle":325,"satellites":45,"speed":46,"hex_longitude":"2d1d2240","hex_latitude":"06d300b8","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978925312001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403301251615293440,"note":"Value kept but may cause issues"} 
[2026-09-10 00:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2101984786639724544,"note":"Value kept but may cause issues"} 
[2026-09-10 00:27:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 00:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788980181000,"timestamp_ms":1788980181000,"timestamp_seconds":1788980181,"priority":1,"record_length":96,"hex_timestamp":"000001a087873808"} 
[2026-09-10 00:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 00:27:44] 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-09-10 00: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-09-10 00:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978925312001,"66":27213,"81":20480,"24":46,"16":403301251615293440,"45":2101984786639724544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 00:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978925312001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403301251615293440,"km_value":403301251615293.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2101984786639724544,"description":"Unknown IO ID 45"} 
[2026-09-10 00:27:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457978925312001,"power":27213,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":2101984786639724544}} 
[2026-09-10 00:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:27:44] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:27:44] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:28:15] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087875748012d1d0c8006d31da80015014729..."} 
[2026-09-10 00:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087875748012d1d0c8006d31da80015014729..."} 
[2026-09-10 00:28:15] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087875748012d1d0c8006d31da80015014729..."} 
[2026-09-10 00:28:15] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08787"} 
[2026-09-10 00:28:15] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08787"} 
[2026-09-10 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756878464,"raw_latitude":114498984,"longitude_deg":75.6878464,"latitude_deg":11.4498984,"altitude":21,"angle":327,"satellites":41,"speed":44,"hex_longitude":"2d1d0c80","hex_latitude":"06d31da8","is_valid_coordinates":true} 
[2026-09-10 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978926336001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403301698291892224,"note":"Value kept but may cause issues"} 
[2026-09-10 00:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099310774362093568,"note":"Value kept but may cause issues"} 
[2026-09-10 00:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788980189000,"timestamp_ms":1788980189000,"timestamp_seconds":1788980189,"priority":1,"record_length":96,"hex_timestamp":"000001a087875748"} 
[2026-09-10 00:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978926336001,"66":27213,"82":206,"81":20480,"24":44,"16":403301698291892224,"45":2099310774362093568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 00:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978926336001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:28:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 00:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403301698291892224,"km_value":403301698291892.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099310774362093568,"description":"Unknown IO ID 45"} 
[2026-09-10 00:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978926336001,"power":27213,"unknown_82":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":2099310774362093568}} 
[2026-09-10 00:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:28:15] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:28:15] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:28:37] local.INFO: TCP Data received {"connection_id":178719,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:28:37] local.INFO: Processing buffer {"connection_id":178719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:28:37] local.INFO: IMEI packet received {"connection_id":178719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":178719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:28:41] local.INFO: TCP Data received {"connection_id":178719,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:28:41] local.INFO: Processing buffer {"connection_id":178719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:28:41] local.INFO: IMEI packet received {"connection_id":178719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":178719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:28:42] local.INFO: TCP Data received {"connection_id":178719,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878868b8012d1c4f4006d415a0000d012b2d..."} 
[2026-09-10 00:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878868b8012d1c4f4006d415a0000d012b2d..."} 
[2026-09-10 00:28:42] local.INFO: Processing buffer {"connection_id":178719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878868b8012d1c4f4006d415a0000d012b2d..."} 
[2026-09-10 00:28:42] local.INFO: Packet analysis {"connection_id":178719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:28:42] local.INFO: Extracted packet for processing {"connection_id":178719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756830016,"raw_latitude":114562464,"longitude_deg":75.6830016,"latitude_deg":11.4562464,"altitude":13,"angle":299,"satellites":45,"speed":44,"hex_longitude":"2d1c4f40","hex_latitude":"06d415a0","is_valid_coordinates":true} 
[2026-09-10 00:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978944256001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403305649661804544,"note":"Value kept but may cause issues"} 
[2026-09-10 00:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2049560072245604352,"note":"Value kept but may cause issues"} 
[2026-09-10 00:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788980259000,"timestamp_ms":1788980259000,"timestamp_seconds":1788980259,"priority":1,"record_length":96,"hex_timestamp":"000001a0878868b8"} 
[2026-09-10 00:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:28: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-09-10 00:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 00:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978944256001,"66":27300,"243":206,"81":20480,"24":44,"16":403305649661804544,"45":2049560072245604352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-09-10 00:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978944256001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:28:42] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-10 00:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403305649661804544,"km_value":403305649661804.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2049560072245604352,"description":"Unknown IO ID 45"} 
[2026-09-10 00:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978944256001,"power":27300,"unknown_243":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":2049560072245604352}} 
[2026-09-10 00:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":178719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:28:42] local.INFO: GPS data processed {"connection_id":178719,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:28:42] local.INFO: Acknowledgment sent {"connection_id":178719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:29:13] local.INFO: TCP Data received {"connection_id":178719,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087888410012d1c354006d42778000e01372b..."} 
[2026-09-10 00:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087888410012d1c354006d42778000e01372b..."} 
[2026-09-10 00:29:13] local.INFO: Processing buffer {"connection_id":178719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087888410012d1c354006d42778000e01372b..."} 
[2026-09-10 00:29:13] local.INFO: Packet analysis {"connection_id":178719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:29:13] local.INFO: Extracted packet for processing {"connection_id":178719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756823360,"raw_latitude":114567032,"longitude_deg":75.682336,"latitude_deg":11.4567032,"altitude":14,"angle":311,"satellites":43,"speed":45,"hex_longitude":"2d1c3540","hex_latitude":"06d42778","is_valid_coordinates":true} 
[2026-09-10 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978946304001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403306036208861184,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2039919554294292480,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788980266000,"timestamp_ms":1788980266000,"timestamp_seconds":1788980266,"priority":1,"record_length":96,"hex_timestamp":"000001a087888410"} 
[2026-09-10 00:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:29: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-09-10 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 00:29: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-09-10 00:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978946304001,"66":27245,"243":206,"81":20480,"24":45,"16":403306036208861184,"45":2039919554294292480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-09-10 00:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978946304001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:29:13] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-10 00:29:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403306036208861184,"km_value":403306036208861.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2039919554294292480,"description":"Unknown IO ID 45"} 
[2026-09-10 00:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978946304001,"power":27245,"unknown_243":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":2039919554294292480}} 
[2026-09-10 00:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":178719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:29:13] local.INFO: GPS data processed {"connection_id":178719,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:29:13] local.INFO: Acknowledgment sent {"connection_id":178719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:29:37] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:37] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:37] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:29:42] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:42] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:42] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:29:43] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:43] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:29:43] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:29:44] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08788a350012d1c190006d43d70000e01302b..."} 
[2026-09-10 00:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08788a350012d1c190006d43d70000e01302b..."} 
[2026-09-10 00:29:44] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08788a350012d1c190006d43d70000e01302b..."} 
[2026-09-10 00:29:44] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:29:44] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756816128,"raw_latitude":114572656,"longitude_deg":75.6816128,"latitude_deg":11.4572656,"altitude":14,"angle":304,"satellites":43,"speed":47,"hex_longitude":"2d1c1900","hex_latitude":"06d43d70","is_valid_coordinates":true} 
[2026-09-10 00:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978948096001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403306474295525376,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2032601204900984832,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788980274000,"timestamp_ms":1788980274000,"timestamp_seconds":1788980274,"priority":1,"record_length":96,"hex_timestamp":"000001a08788a350"} 
[2026-09-10 00:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:29:44] 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-09-10 00:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978948096001,"66":27245,"243":206,"81":20480,"24":47,"16":403306474295525376,"45":2032601204900984832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-09-10 00:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978948096001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:29:44] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-10 00:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403306474295525376,"km_value":403306474295525.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2032601204900984832,"description":"Unknown IO ID 45"} 
[2026-09-10 00:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978948096001,"power":27245,"unknown_243":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":2032601204900984832}} 
[2026-09-10 00:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:29:44] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:29:44] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:29:48] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08788c290012d1bfdc006d45120000d013b2c..."} 
[2026-09-10 00:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08788c290012d1bfdc006d45120000d013b2c..."} 
[2026-09-10 00:29:48] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08788c290012d1bfdc006d45120000d013b2c..."} 
[2026-09-10 00:29:48] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:29:48] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08788"} 
[2026-09-10 00:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756809152,"raw_latitude":114577696,"longitude_deg":75.6809152,"latitude_deg":11.4577696,"altitude":13,"angle":315,"satellites":44,"speed":38,"hex_longitude":"2d1bfdc0","hex_latitude":"06d45120","is_valid_coordinates":true} 
[2026-09-10 00:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978950144001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403306886612385792,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2024649536810348544,"note":"Value kept but may cause issues"} 
[2026-09-10 00:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788980282000,"timestamp_ms":1788980282000,"timestamp_seconds":1788980282,"priority":1,"record_length":96,"hex_timestamp":"000001a08788c290"} 
[2026-09-10 00:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:29: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-09-10 00:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:29:48] 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-09-10 00:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978950144001,"66":27213,"243":206,"81":20480,"24":38,"16":403306886612385792,"45":2024649536810348544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-09-10 00:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978950144001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:29:48] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-10 00:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403306886612385792,"km_value":403306886612385.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2024649536810348544,"description":"Unknown IO ID 45"} 
[2026-09-10 00:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978950144001,"power":27213,"unknown_243":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":2024649536810348544}} 
[2026-09-10 00:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:29:48] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:29:48] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:30:20] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08789fb10012d1af44006d4ffb0000c012b27..."} 
[2026-09-10 00:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08789fb10012d1af44006d4ffb0000c012b27..."} 
[2026-09-10 00:30:20] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08789fb10012d1af44006d4ffb0000c012b27..."} 
[2026-09-10 00:30:20] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08789"} 
[2026-09-10 00:30:20] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08789"} 
[2026-09-10 00:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756741184,"raw_latitude":114622384,"longitude_deg":75.6741184,"latitude_deg":11.4622384,"altitude":12,"angle":299,"satellites":39,"speed":47,"hex_longitude":"2d1af440","hex_latitude":"06d4ffb0","is_valid_coordinates":true} 
[2026-09-10 00:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978970368001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403310910996742144,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951817886597840896,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788980362000,"timestamp_ms":1788980362000,"timestamp_seconds":1788980362,"priority":1,"record_length":96,"hex_timestamp":"000001a08789fb10"} 
[2026-09-10 00:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-10 00:30:20] 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-09-10 00:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978970368001,"66":27234,"100":206,"81":20480,"24":47,"16":403310910996742144,"45":1951817886597840896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-10 00:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978970368001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:30:20] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 00:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403310910996742144,"km_value":403310910996742.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951817886597840896,"description":"Unknown IO ID 45"} 
[2026-09-10 00:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978970368001,"power":27234,"unknown_100":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1951817886597840896}} 
[2026-09-10 00:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:30:20] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:30:20] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:30:42] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:42] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:42] local.INFO: IMEI packet received {"connection_id":176163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":176163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:30:43] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:43] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:43] local.INFO: IMEI packet received {"connection_id":176163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":176163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:30:47] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:47] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:30:47] local.INFO: IMEI packet received {"connection_id":176163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":176163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:30:48] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878a1a50012d1ad24006d51378000c012c23..."} 
[2026-09-10 00:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878a1a50012d1ad24006d51378000c012c23..."} 
[2026-09-10 00:30:48] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878a1a50012d1ad24006d51378000c012c23..."} 
[2026-09-10 00:30:48] local.INFO: Packet analysis {"connection_id":176163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878a"} 
[2026-09-10 00:30:48] local.INFO: Extracted packet for processing {"connection_id":176163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878a"} 
[2026-09-10 00:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756732480,"raw_latitude":114627448,"longitude_deg":75.673248,"latitude_deg":11.4627448,"altitude":12,"angle":300,"satellites":35,"speed":50,"hex_longitude":"2d1ad240","hex_latitude":"06d51378","is_valid_coordinates":true} 
[2026-09-10 00:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978972672001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403311392033079296,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942247737391034368,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788980370000,"timestamp_ms":1788980370000,"timestamp_seconds":1788980370,"priority":1,"record_length":96,"hex_timestamp":"000001a0878a1a50"} 
[2026-09-10 00:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:30:48] 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-09-10 00:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978972672001,"66":27234,"100":206,"81":20480,"24":50,"16":403311392033079296,"45":1942247737391034368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-10 00:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978972672001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:30:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 00:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403311392033079296,"km_value":403311392033079.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942247737391034368,"description":"Unknown IO ID 45"} 
[2026-09-10 00:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978972672001,"power":27234,"unknown_100":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1942247737391034368}} 
[2026-09-10 00:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":176163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:30:48] local.INFO: GPS data processed {"connection_id":176163,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:30:48] local.INFO: Acknowledgment sent {"connection_id":176163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:30:52] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878a3990012d1ab00006d525e0000d01292b..."} 
[2026-09-10 00:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878a3990012d1ab00006d525e0000d01292b..."} 
[2026-09-10 00:30:52] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878a3990012d1ab00006d525e0000d01292b..."} 
[2026-09-10 00:30:52] local.INFO: Packet analysis {"connection_id":176163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878a"} 
[2026-09-10 00:30:52] local.INFO: Extracted packet for processing {"connection_id":176163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878a"} 
[2026-09-10 00:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756723712,"raw_latitude":114632160,"longitude_deg":75.6723712,"latitude_deg":11.463216,"altitude":13,"angle":297,"satellites":43,"speed":44,"hex_longitude":"2d1ab000","hex_latitude":"06d525e0","is_valid_coordinates":true} 
[2026-09-10 00:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978974720001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403311868774449152,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932677588184168448,"note":"Value kept but may cause issues"} 
[2026-09-10 00:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788980378000,"timestamp_ms":1788980378000,"timestamp_seconds":1788980378,"priority":1,"record_length":96,"hex_timestamp":"000001a0878a3990"} 
[2026-09-10 00:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:30:52] 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-09-10 00:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978974720001,"66":27213,"100":206,"81":20480,"24":44,"16":403311868774449152,"45":1932677588184168448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-10 00:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978974720001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:30:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 00:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403311868774449152,"km_value":403311868774449.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932677588184168448,"description":"Unknown IO ID 45"} 
[2026-09-10 00:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978974720001,"power":27213,"unknown_100":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1932677588184168448}} 
[2026-09-10 00:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":176163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:30:52] local.INFO: GPS data processed {"connection_id":176163,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:30:52] local.INFO: Acknowledgment sent {"connection_id":176163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:31:35] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:35] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:35] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:31:38] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:38] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:38] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:31:42] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:42] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:31:42] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:31:50] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878a58d0012d1a8f8006d53600000d01282c..."} 
[2026-09-10 00:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878a58d0012d1a8f8006d53600000d01282c..."} 
[2026-09-10 00:31:50] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878a58d0012d1a8f8006d53600000d01282c..."} 
[2026-09-10 00:31:50] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878a"} 
[2026-09-10 00:31:50] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878a"} 
[2026-09-10 00:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756715392,"raw_latitude":114636288,"longitude_deg":75.6715392,"latitude_deg":11.4636288,"altitude":13,"angle":296,"satellites":44,"speed":46,"hex_longitude":"2d1a8f80","hex_latitude":"06d53600","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978976768001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403312311156080640,"note":"Value kept but may cause issues"} 
[2026-09-10 00:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923037070233034752,"note":"Value kept but may cause issues"} 
[2026-09-10 00:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788980386000,"timestamp_ms":1788980386000,"timestamp_seconds":1788980386,"priority":1,"record_length":96,"hex_timestamp":"000001a0878a58d0"} 
[2026-09-10 00:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:31:50] 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-09-10 00: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-09-10 00:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978976768001,"66":27126,"100":206,"81":20480,"24":46,"16":403312311156080640,"45":1923037070233034752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-09-10 00:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978976768001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:31:50] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 00:31:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403312311156080640,"km_value":403312311156080.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923037070233034752,"description":"Unknown IO ID 45"} 
[2026-09-10 00:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978976768001,"power":27126,"unknown_100":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1923037070233034752}} 
[2026-09-10 00:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:31:50] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:31:50] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:32:21] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878bcfd0012d192e4006d5e3a00007011c20..."} 
[2026-09-10 00:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878bcfd0012d192e4006d5e3a00007011c20..."} 
[2026-09-10 00:32:21] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878bcfd0012d192e4006d5e3a00007011c20..."} 
[2026-09-10 00:32:21] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878b"} 
[2026-09-10 00:32:21] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878b"} 
[2026-09-10 00:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756624960,"raw_latitude":114680736,"longitude_deg":75.662496,"latitude_deg":11.4680736,"altitude":7,"angle":284,"satellites":32,"speed":43,"hex_longitude":"2d192e40","hex_latitude":"06d5e3a0","is_valid_coordinates":true} 
[2026-09-10 00:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979001344001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403317168764092416,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450459652139008,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788980482000,"timestamp_ms":1788980482000,"timestamp_seconds":1788980482,"priority":1,"record_length":96,"hex_timestamp":"000001a0878bcfd0"} 
[2026-09-10 00:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:32:21] 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-09-10 00:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979001344001,"66":27213,"159":206,"81":20480,"24":43,"16":403317168764092416,"45":1824450459652139008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-10 00:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979001344001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:32:21] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 00:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403317168764092416,"km_value":403317168764092.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450459652139008,"description":"Unknown IO ID 45"} 
[2026-09-10 00:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979001344001,"power":27213,"unknown_159":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1824450459652139008}} 
[2026-09-10 00:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:32:21] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:32:21] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:32:37] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:37] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:37] local.INFO: IMEI packet received {"connection_id":177337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":177337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:32:40] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:40] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:40] local.INFO: IMEI packet received {"connection_id":177337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":177337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:32:42] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:42] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:32:42] local.INFO: IMEI packet received {"connection_id":177337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":177337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:32:43] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878bef10012d190a4006d5ede00008011f27..."} 
[2026-09-10 00:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878bef10012d190a4006d5ede00008011f27..."} 
[2026-09-10 00:32:43] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878bef10012d190a4006d5ede00008011f27..."} 
[2026-09-10 00:32:43] local.INFO: Packet analysis {"connection_id":177337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878b"} 
[2026-09-10 00:32:43] local.INFO: Extracted packet for processing {"connection_id":177337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878b"} 
[2026-09-10 00:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756615744,"raw_latitude":114683360,"longitude_deg":75.6615744,"latitude_deg":11.468336,"altitude":8,"angle":287,"satellites":39,"speed":45,"hex_longitude":"2d190a40","hex_latitude":"06d5ede0","is_valid_coordinates":true} 
[2026-09-10 00:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979003392001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403317624030625792,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814458097979334656,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788980490000,"timestamp_ms":1788980490000,"timestamp_seconds":1788980490,"priority":1,"record_length":96,"hex_timestamp":"000001a0878bef10"} 
[2026-09-10 00:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979003392001,"66":27300,"159":206,"81":20480,"24":45,"16":403317624030625792,"45":1814458097979334656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-10 00:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979003392001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:32:43] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 00:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403317624030625792,"km_value":403317624030625.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814458097979334656,"description":"Unknown IO ID 45"} 
[2026-09-10 00:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979003392001,"power":27300,"unknown_159":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1814458097979334656}} 
[2026-09-10 00:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":177337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:32:43] local.INFO: GPS data processed {"connection_id":177337,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:32:43] local.INFO: Acknowledgment sent {"connection_id":177337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:32:45] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878c0e50012d18e54006d5f8780009011e27..."} 
[2026-09-10 00:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878c0e50012d18e54006d5f8780009011e27..."} 
[2026-09-10 00:32:45] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878c0e50012d18e54006d5f8780009011e27..."} 
[2026-09-10 00:32:45] local.INFO: Packet analysis {"connection_id":177337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878c"} 
[2026-09-10 00:32:45] local.INFO: Extracted packet for processing {"connection_id":177337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878c"} 
[2026-09-10 00:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756606272,"raw_latitude":114686072,"longitude_deg":75.6606272,"latitude_deg":11.4686072,"altitude":9,"angle":286,"satellites":39,"speed":47,"hex_longitude":"2d18e540","hex_latitude":"06d5f878","is_valid_coordinates":true} 
[2026-09-10 00:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979005440001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403318092182061056,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804324998818422784,"note":"Value kept but may cause issues"} 
[2026-09-10 00:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788980498000,"timestamp_ms":1788980498000,"timestamp_seconds":1788980498,"priority":1,"record_length":96,"hex_timestamp":"000001a0878c0e50"} 
[2026-09-10 00:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 00:32:45] 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-09-10 00:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979005440001,"66":27321,"159":206,"81":20480,"24":47,"16":403318092182061056,"45":1804324998818422784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-10 00:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979005440001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:32:46] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 00:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403318092182061056,"km_value":403318092182061.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804324998818422784,"description":"Unknown IO ID 45"} 
[2026-09-10 00:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979005440001,"power":27321,"unknown_159":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1804324998818422784}} 
[2026-09-10 00:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":177337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:32:46] local.INFO: GPS data processed {"connection_id":177337,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:32:46] local.INFO: Acknowledgment sent {"connection_id":177337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:33:17] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878c2d90012d18c1c006d60558000a012c28..."} 
[2026-09-10 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878c2d90012d18c1c006d60558000a012c28..."} 
[2026-09-10 00:33:17] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878c2d90012d18c1c006d60558000a012c28..."} 
[2026-09-10 00:33:17] local.INFO: Packet analysis {"connection_id":177337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878c"} 
[2026-09-10 00:33:17] local.INFO: Extracted packet for processing {"connection_id":177337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878c"} 
[2026-09-10 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":114689368,"longitude_deg":75.6597184,"latitude_deg":11.4689368,"altitude":10,"angle":300,"satellites":40,"speed":47,"hex_longitude":"2d18c1c0","hex_latitude":"06d60558","is_valid_coordinates":true} 
[2026-09-10 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979007488001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403318556038529024,"note":"Value kept but may cause issues"} 
[2026-09-10 00:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793910424680822784,"note":"Value kept but may cause issues"} 
[2026-09-10 00:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788980506000,"timestamp_ms":1788980506000,"timestamp_seconds":1788980506,"priority":1,"record_length":96,"hex_timestamp":"000001a0878c2d90"} 
[2026-09-10 00:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:33:17] 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-09-10 00:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979007488001,"66":27234,"159":206,"81":20480,"24":47,"16":403318556038529024,"45":1793910424680822784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-10 00:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979007488001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:33:17] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 00:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403318556038529024,"km_value":403318556038529.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793910424680822784,"description":"Unknown IO ID 45"} 
[2026-09-10 00:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979007488001,"power":27234,"unknown_159":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1793910424680822784}} 
[2026-09-10 00:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":177337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:33:17] local.INFO: GPS data processed {"connection_id":177337,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:33:17] local.INFO: Acknowledgment sent {"connection_id":177337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:33:37] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:37] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:37] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:33:40] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:40] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:40] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:33:42] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:42] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:33:42] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:33:43] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878d0468012d183e4006d60fb8000d010c28..."} 
[2026-09-10 00:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878d0468012d183e4006d60fb8000d010c28..."} 
[2026-09-10 00:33:43] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878d0468012d183e4006d60fb8000d010c28..."} 
[2026-09-10 00:33:43] local.INFO: Packet analysis {"connection_id":175931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:33:43] local.INFO: Extracted packet for processing {"connection_id":175931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:33:43] local.INFO: GPS Element Parsed {"raw_longitude":756563520,"raw_latitude":114692024,"longitude_deg":75.656352,"latitude_deg":11.4692024,"altitude":13,"angle":268,"satellites":40,"speed":37,"hex_longitude":"2d183e40","hex_latitude":"06d60fb8","is_valid_coordinates":true} 
[2026-09-10 00:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979021568001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403320269730480128,"note":"Value kept but may cause issues"} 
[2026-09-10 00:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433559199014912,"note":"Value kept but may cause issues"} 
[2026-09-10 00:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788980561000,"timestamp_ms":1788980561000,"timestamp_seconds":1788980561,"priority":1,"record_length":96,"hex_timestamp":"000001a0878d0468"} 
[2026-09-10 00:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:33: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-09-10 00:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979021568001,"66":27300,"160":206,"81":20480,"24":37,"16":403320269730480128,"45":1754433559199014912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 00:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979021568001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:33:43] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 00:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403320269730480128,"km_value":403320269730480.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433559199014912,"description":"Unknown IO ID 45"} 
[2026-09-10 00:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979021568001,"power":27300,"unknown_160":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1754433559199014912}} 
[2026-09-10 00:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":175931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:33:43] local.INFO: GPS data processed {"connection_id":175931,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:33:43] local.INFO: Acknowledgment sent {"connection_id":175931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:34:16] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878d1020012d1832c006d610b0000d011828..."} 
[2026-09-10 00:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878d1020012d1832c006d610b0000d011828..."} 
[2026-09-10 00:34:16] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878d1020012d1832c006d610b0000d011828..."} 
[2026-09-10 00:34:16] local.INFO: Packet analysis {"connection_id":175931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:34:16] local.INFO: Extracted packet for processing {"connection_id":175931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756560576,"raw_latitude":114692272,"longitude_deg":75.6560576,"latitude_deg":11.4692272,"altitude":13,"angle":280,"satellites":40,"speed":38,"hex_longitude":"2d1832c0","hex_latitude":"06d610b0","is_valid_coordinates":true} 
[2026-09-10 00:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979023616001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403320407169433600,"note":"Value kept but may cause issues"} 
[2026-09-10 00:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746904103571666944,"note":"Value kept but may cause issues"} 
[2026-09-10 00:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788980564000,"timestamp_ms":1788980564000,"timestamp_seconds":1788980564,"priority":1,"record_length":96,"hex_timestamp":"000001a0878d1020"} 
[2026-09-10 00:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 00:34:16] 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-09-10 00:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979023616001,"66":27213,"160":206,"81":20480,"24":38,"16":403320407169433600,"45":1746904103571666944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 00:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979023616001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:34:16] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 00:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403320407169433600,"km_value":403320407169433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746904103571666944,"description":"Unknown IO ID 45"} 
[2026-09-10 00:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979023616001,"power":27213,"unknown_160":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1746904103571666944}} 
[2026-09-10 00:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":175931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:34:16] local.INFO: GPS data processed {"connection_id":175931,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:34:16] local.INFO: Acknowledgment sent {"connection_id":175931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:34:37] local.INFO: TCP Data received {"connection_id":177338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:37] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:37] local.INFO: IMEI packet received {"connection_id":177338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":177338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:34:41] local.INFO: TCP Data received {"connection_id":177338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:41] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:41] local.INFO: IMEI packet received {"connection_id":177338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":177338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:34:42] local.INFO: TCP Data received {"connection_id":177338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:42] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:34:42] local.INFO: IMEI packet received {"connection_id":177338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":177338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:34:43] local.INFO: TCP Data received {"connection_id":177338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878d3348012d180f4006d618e0000c011e2c..."} 
[2026-09-10 00:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878d3348012d180f4006d618e0000c011e2c..."} 
[2026-09-10 00:34:43] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878d3348012d180f4006d618e0000c011e2c..."} 
[2026-09-10 00:34:43] local.INFO: Packet analysis {"connection_id":177338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:34:43] local.INFO: Extracted packet for processing {"connection_id":177338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":114694368,"longitude_deg":75.6551488,"latitude_deg":11.4694368,"altitude":12,"angle":286,"satellites":44,"speed":42,"hex_longitude":"2d180f40","hex_latitude":"06d618e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 00:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979024384001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403320849551065088,"note":"Value kept but may cause issues"} 
[2026-09-10 00:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743667141339557888,"note":"Value kept but may cause issues"} 
[2026-09-10 00:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788980573000,"timestamp_ms":1788980573000,"timestamp_seconds":1788980573,"priority":1,"record_length":96,"hex_timestamp":"000001a0878d3348"} 
[2026-09-10 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-09-10 00:34: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-09-10 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 00:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979024384001,"66":27332,"160":206,"81":20480,"24":42,"16":403320849551065088,"45":1743667141339557888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 00:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979024384001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:34:43] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 00:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403320849551065088,"km_value":403320849551065.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743667141339557888,"description":"Unknown IO ID 45"} 
[2026-09-10 00:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979024384001,"power":27332,"unknown_160":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1743667141339557888}} 
[2026-09-10 00:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":177338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:34:43] local.INFO: GPS data processed {"connection_id":177338,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:34:43] local.INFO: Acknowledgment sent {"connection_id":177338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:35:14] local.INFO: TCP Data received {"connection_id":177338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878d5670012d17eb8006d62290000a011d2c..."} 
[2026-09-10 00:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878d5670012d17eb8006d62290000a011d2c..."} 
[2026-09-10 00:35:14] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878d5670012d17eb8006d62290000a011d2c..."} 
[2026-09-10 00:35:14] local.INFO: Packet analysis {"connection_id":177338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:35:14] local.INFO: Extracted packet for processing {"connection_id":177338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878d"} 
[2026-09-10 00:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756542336,"raw_latitude":114696848,"longitude_deg":75.6542336,"latitude_deg":11.4696848,"altitude":10,"angle":285,"satellites":44,"speed":42,"hex_longitude":"2d17eb80","hex_latitude":"06d62290","is_valid_coordinates":true} 
[2026-09-10 00:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979026688001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403321300522631168,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733674779666866176,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788980582000,"timestamp_ms":1788980582000,"timestamp_seconds":1788980582,"priority":1,"record_length":96,"hex_timestamp":"000001a0878d5670"} 
[2026-09-10 00:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 00:35:14] 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-09-10 00:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979026688001,"66":27300,"160":206,"81":20480,"24":42,"16":403321300522631168,"45":1733674779666866176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 00:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979026688001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:35:14] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 00:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403321300522631168,"km_value":403321300522631.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733674779666866176,"description":"Unknown IO ID 45"} 
[2026-09-10 00:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979026688001,"power":27300,"unknown_160":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1733674779666866176}} 
[2026-09-10 00:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":177338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:35:14] local.INFO: GPS data processed {"connection_id":177338,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:35:14] local.INFO: Acknowledgment sent {"connection_id":177338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:35:42] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:35:42] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:35:42] local.INFO: IMEI packet received {"connection_id":176165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":176165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:35:45] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:35:45] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:35:45] local.INFO: IMEI packet received {"connection_id":176165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":176165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:35:46] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878eecb0012d16818006d66e30000c01122b..."} 
[2026-09-10 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878eecb0012d16818006d66e30000c01122b..."} 
[2026-09-10 00:35:46] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878eecb0012d16818006d66e30000c01122b..."} 
[2026-09-10 00:35:46] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878e"} 
[2026-09-10 00:35:46] local.INFO: Extracted packet for processing {"connection_id":176165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878e"} 
[2026-09-10 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756449664,"raw_latitude":114716208,"longitude_deg":75.6449664,"latitude_deg":11.4716208,"altitude":12,"angle":274,"satellites":43,"speed":29,"hex_longitude":"2d168180","hex_latitude":"06d66e30","is_valid_coordinates":true} 
[2026-09-10 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979052544001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403325818828226560,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631921575591354368,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788980686000,"timestamp_ms":1788980686000,"timestamp_seconds":1788980686,"priority":1,"record_length":96,"hex_timestamp":"000001a0878eecb0"} 
[2026-09-10 00:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979052544001,"66":27300,"44":206,"81":20480,"24":29,"16":403325818828226560,"45":1631921575591354368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-10 00:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979052544001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-10 00:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403325818828226560,"km_value":403325818828226.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631921575591354368,"description":"Unknown IO ID 45"} 
[2026-09-10 00:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979052544001,"power":27300,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1631921575591354368}} 
[2026-09-10 00:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":176165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:35:46] local.INFO: GPS data processed {"connection_id":176165,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:35:46] local.INFO: Acknowledgment sent {"connection_id":176165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:35:47] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878f1f78012d165b4006d67150001001122d..."} 
[2026-09-10 00:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878f1f78012d165b4006d67150001001122d..."} 
[2026-09-10 00:35:47] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878f1f78012d165b4006d67150001001122d..."} 
[2026-09-10 00:35:47] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878f"} 
[2026-09-10 00:35:47] local.INFO: Extracted packet for processing {"connection_id":176165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878f"} 
[2026-09-10 00:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756439872,"raw_latitude":114717008,"longitude_deg":75.6439872,"latitude_deg":11.4717008,"altitude":16,"angle":274,"satellites":45,"speed":29,"hex_longitude":"2d165b40","hex_latitude":"06d67150","is_valid_coordinates":true} 
[2026-09-10 00:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979055616001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403326282684694528,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1621718107685793792,"note":"Value kept but may cause issues"} 
[2026-09-10 00:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788980699000,"timestamp_ms":1788980699000,"timestamp_seconds":1788980699,"priority":1,"record_length":96,"hex_timestamp":"000001a0878f1f78"} 
[2026-09-10 00:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:35: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-09-10 00:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 00:35:47] 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-09-10 00:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979055616001,"66":27332,"44":206,"81":20480,"24":29,"16":403326282684694528,"45":1621718107685793792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-10 00:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979055616001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:35:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-10 00:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403326282684694528,"km_value":403326282684694.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1621718107685793792,"description":"Unknown IO ID 45"} 
[2026-09-10 00:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979055616001,"power":27332,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1621718107685793792}} 
[2026-09-10 00:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":176165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:35:47] local.INFO: GPS data processed {"connection_id":176165,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:35:47] local.INFO: Acknowledgment sent {"connection_id":176165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:36:19] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878f3eb8012d16448006d674a0001201202c..."} 
[2026-09-10 00:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878f3eb8012d16448006d674a0001201202c..."} 
[2026-09-10 00:36:19] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878f3eb8012d16448006d674a0001201202c..."} 
[2026-09-10 00:36:19] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878f"} 
[2026-09-10 00:36:19] local.INFO: Extracted packet for processing {"connection_id":176165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878f"} 
[2026-09-10 00:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756434048,"raw_latitude":114717856,"longitude_deg":75.6434048,"latitude_deg":11.4717856,"altitude":18,"angle":288,"satellites":44,"speed":29,"hex_longitude":"2d164480","hex_latitude":"06d674a0","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979058944001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403326566152536064,"note":"Value kept but may cause issues"} 
[2026-09-10 00:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1610951689826816000,"note":"Value kept but may cause issues"} 
[2026-09-10 00:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788980707000,"timestamp_ms":1788980707000,"timestamp_seconds":1788980707,"priority":1,"record_length":96,"hex_timestamp":"000001a0878f3eb8"} 
[2026-09-10 00:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:36: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-09-10 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 00:36:19] 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-09-10 00: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-09-10 00:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979058944001,"66":27310,"44":206,"81":20480,"24":29,"16":403326566152536064,"45":1610951689826816000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-10 00:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979058944001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-10 00:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403326566152536064,"km_value":403326566152536.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1610951689826816000,"description":"Unknown IO ID 45"} 
[2026-09-10 00:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979058944001,"power":27310,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1610951689826816000}} 
[2026-09-10 00:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":176165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:36:19] local.INFO: GPS data processed {"connection_id":176165,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:36:19] local.INFO: Acknowledgment sent {"connection_id":176165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:36:34] local.INFO: TCP Data received {"connection_id":178720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:34] local.INFO: Processing buffer {"connection_id":178720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:34] local.INFO: IMEI packet received {"connection_id":178720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":178720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:36:36] local.INFO: TCP Data received {"connection_id":178720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:36] local.INFO: Processing buffer {"connection_id":178720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:36] local.INFO: IMEI packet received {"connection_id":178720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":178720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:36:37] local.INFO: TCP Data received {"connection_id":178720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:37] local.INFO: Processing buffer {"connection_id":178720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:37] local.INFO: IMEI packet received {"connection_id":178720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":178720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:36:38] local.INFO: TCP Data received {"connection_id":178720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:38] local.INFO: Processing buffer {"connection_id":178720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:36:38] local.INFO: IMEI packet received {"connection_id":178720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":178720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:36:39] local.INFO: TCP Data received {"connection_id":178720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0878f5240012d16370006d67a500014012b2b..."} 
[2026-09-10 00:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0878f5240012d16370006d67a500014012b2b..."} 
[2026-09-10 00:36:39] local.INFO: Processing buffer {"connection_id":178720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0878f5240012d16370006d67a500014012b2b..."} 
[2026-09-10 00:36:39] local.INFO: Packet analysis {"connection_id":178720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0878f"} 
[2026-09-10 00:36:39] local.INFO: Extracted packet for processing {"connection_id":178720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0878f"} 
[2026-09-10 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756430592,"raw_latitude":114719312,"longitude_deg":75.6430592,"latitude_deg":11.4719312,"altitude":20,"angle":299,"satellites":43,"speed":28,"hex_longitude":"2d163700","hex_latitude":"06d67a50","is_valid_coordinates":true} 
[2026-09-10 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979060992001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403326742246195200,"note":"Value kept but may cause issues"} 
[2026-09-10 00:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604548134106865664,"note":"Value kept but may cause issues"} 
[2026-09-10 00:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788980712000,"timestamp_ms":1788980712000,"timestamp_seconds":1788980712,"priority":1,"record_length":96,"hex_timestamp":"000001a0878f5240"} 
[2026-09-10 00:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:36: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-09-10 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 00:36: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-09-10 00:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979060992001,"66":27213,"44":206,"81":20480,"24":28,"16":403326742246195200,"45":1604548134106865664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-10 00:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979060992001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:36:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-10 00:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403326742246195200,"km_value":403326742246195.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604548134106865664,"description":"Unknown IO ID 45"} 
[2026-09-10 00:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979060992001,"power":27213,"unknown_44":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1604548134106865664}} 
[2026-09-10 00:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":178720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:36:39] local.INFO: GPS data processed {"connection_id":178720,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:36:39] local.INFO: Acknowledgment sent {"connection_id":178720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:37:10] local.INFO: TCP Data received {"connection_id":178720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087904470012d15ac0006d6e848000f01322c..."} 
[2026-09-10 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087904470012d15ac0006d6e848000f01322c..."} 
[2026-09-10 00:37:10] local.INFO: Processing buffer {"connection_id":178720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087904470012d15ac0006d6e848000f01322c..."} 
[2026-09-10 00:37:10] local.INFO: Packet analysis {"connection_id":178720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:37:10] local.INFO: Extracted packet for processing {"connection_id":178720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756395008,"raw_latitude":114747464,"longitude_deg":75.6395008,"latitude_deg":11.4747464,"altitude":15,"angle":306,"satellites":44,"speed":8,"hex_longitude":"2d15ac00","hex_latitude":"06d6e848","is_valid_coordinates":true} 
[2026-09-10 00:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979077376001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403328984219123712,"note":"Value kept but may cause issues"} 
[2026-09-10 00:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562186150119356416,"note":"Value kept but may cause issues"} 
[2026-09-10 00:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788980774000,"timestamp_ms":1788980774000,"timestamp_seconds":1788980774,"priority":1,"record_length":96,"hex_timestamp":"000001a087904470"} 
[2026-09-10 00:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:37: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-09-10 00:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 00:37:10] 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-09-10 00:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":178720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":178720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":178720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979077376001,"66":27234,"46":206,"81":20480,"24":8,"16":403328984219123712,"45":1562186150119356416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979077376001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:37:10] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403328984219123712,"km_value":403328984219123.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562186150119356416,"description":"Unknown IO ID 45"} 
[2026-09-10 00:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979077376001,"power":27234,"unknown_46":206,"unknown_81":20480,"ignition":8,"odometer":null,"unknown_45":1562186150119356416}} 
[2026-09-10 00:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":178720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:37:10] local.INFO: GPS data processed {"connection_id":178720,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:37:10] local.INFO: Acknowledgment sent {"connection_id":178720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:37:37] local.INFO: TCP Data received {"connection_id":178721,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:37:37] local.INFO: Processing buffer {"connection_id":178721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:37:37] local.INFO: IMEI packet received {"connection_id":178721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":178721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:37:42] local.INFO: TCP Data received {"connection_id":178721,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:37:42] local.INFO: Processing buffer {"connection_id":178721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:37:42] local.INFO: IMEI packet received {"connection_id":178721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":178721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:37:43] local.INFO: TCP Data received {"connection_id":178721,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087904c40012d15aa8006d6e9c8000f01402c..."} 
[2026-09-10 00:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087904c40012d15aa8006d6e9c8000f01402c..."} 
[2026-09-10 00:37:43] local.INFO: Processing buffer {"connection_id":178721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087904c40012d15aa8006d6e9c8000f01402c..."} 
[2026-09-10 00:37:43] local.INFO: Packet analysis {"connection_id":178721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:37:43] local.INFO: Extracted packet for processing {"connection_id":178721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756394624,"raw_latitude":114747848,"longitude_deg":75.6394624,"latitude_deg":11.4747848,"altitude":15,"angle":320,"satellites":44,"speed":11,"hex_longitude":"2d15aa80","hex_latitude":"06d6e9c8","is_valid_coordinates":true} 
[2026-09-10 00:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979078144001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403329009988927488,"note":"Value kept but may cause issues"} 
[2026-09-10 00:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561623200166070272,"note":"Value kept but may cause issues"} 
[2026-09-10 00:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788980776000,"timestamp_ms":1788980776000,"timestamp_seconds":1788980776,"priority":1,"record_length":96,"hex_timestamp":"000001a087904c40"} 
[2026-09-10 00:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:37:43] 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-09-10 00:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979078144001,"66":26930,"46":206,"81":20480,"24":11,"16":403329009988927488,"45":1561623200166070272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979078144001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:37:43] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403329009988927488,"km_value":403329009988927.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561623200166070272,"description":"Unknown IO ID 45"} 
[2026-09-10 00:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979078144001,"power":26930,"unknown_46":206,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":1561623200166070272}} 
[2026-09-10 00:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":178721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:37:43] local.INFO: GPS data processed {"connection_id":178721,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:37:43] local.INFO: Acknowledgment sent {"connection_id":178721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:38:15] local.INFO: TCP Data received {"connection_id":178721,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087906b80012d15a38006d6f0b8001001322c..."} 
[2026-09-10 00:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087906b80012d15a38006d6f0b8001001322c..."} 
[2026-09-10 00:38:15] local.INFO: Processing buffer {"connection_id":178721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087906b80012d15a38006d6f0b8001001322c..."} 
[2026-09-10 00:38:15] local.INFO: Packet analysis {"connection_id":178721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:38:15] local.INFO: Extracted packet for processing {"connection_id":178721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756392832,"raw_latitude":114749624,"longitude_deg":75.6392832,"latitude_deg":11.4749624,"altitude":16,"angle":306,"satellites":44,"speed":10,"hex_longitude":"2d15a380","hex_latitude":"06d6f0b8","is_valid_coordinates":true} 
[2026-09-10 00:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979078656001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403329134542979072,"note":"Value kept but may cause issues"} 
[2026-09-10 00:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561200987701102592,"note":"Value kept but may cause issues"} 
[2026-09-10 00:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788980784000,"timestamp_ms":1788980784000,"timestamp_seconds":1788980784,"priority":1,"record_length":96,"hex_timestamp":"000001a087906b80"} 
[2026-09-10 00:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-10 00:38:15] 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-09-10 00:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979078656001,"66":27245,"46":206,"81":20480,"24":10,"16":403329134542979072,"45":1561200987701102592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979078656001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:38:15] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403329134542979072,"km_value":403329134542979.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561200987701102592,"description":"Unknown IO ID 45"} 
[2026-09-10 00:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979078656001,"power":27245,"unknown_46":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":1561200987701102592}} 
[2026-09-10 00:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":178721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:38:15] local.INFO: GPS data processed {"connection_id":178721,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:38:15] local.INFO: Acknowledgment sent {"connection_id":178721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:38:37] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:38:37] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:38:37] local.INFO: IMEI packet received {"connection_id":177339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":177339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:38:42] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:38:42] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:38:42] local.INFO: IMEI packet received {"connection_id":177339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":177339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:38:43] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08790bd88012d1586c006d706400011013929..."} 
[2026-09-10 00:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08790bd88012d1586c006d706400011013929..."} 
[2026-09-10 00:38:43] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08790bd88012d1586c006d706400011013929..."} 
[2026-09-10 00:38:43] local.INFO: Packet analysis {"connection_id":177339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:38:43] local.INFO: Extracted packet for processing {"connection_id":177339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756385472,"raw_latitude":114755136,"longitude_deg":75.6385472,"latitude_deg":11.4755136,"altitude":17,"angle":313,"satellites":41,"speed":13,"hex_longitude":"2d1586c0","hex_latitude":"06d70640","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979080704001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403329572629643264,"note":"Value kept but may cause issues"} 
[2026-09-10 00:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1559230662864582656,"note":"Value kept but may cause issues"} 
[2026-09-10 00:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788980805000,"timestamp_ms":1788980805000,"timestamp_seconds":1788980805,"priority":1,"record_length":96,"hex_timestamp":"000001a08790bd88"} 
[2026-09-10 00:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:38:43] 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-09-10 00: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-09-10 00:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979080704001,"66":27234,"46":206,"81":20480,"24":13,"16":403329572629643264,"45":1559230662864582656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979080704001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:38:43] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403329572629643264,"km_value":403329572629643.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1559230662864582656,"description":"Unknown IO ID 45"} 
[2026-09-10 00:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979080704001,"power":27234,"unknown_46":206,"unknown_81":20480,"ignition":13,"odometer":null,"unknown_45":1559230662864582656}} 
[2026-09-10 00:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":177339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:38:43] local.INFO: GPS data processed {"connection_id":177339,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:38:43] local.INFO: Acknowledgment sent {"connection_id":177339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:39:14] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08790bd88012d1586c006d706400011013929..."} 
[2026-09-10 00:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08790bd88012d1586c006d706400011013929..."} 
[2026-09-10 00:39:14] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08790bd88012d1586c006d706400011013929..."} 
[2026-09-10 00:39:14] local.INFO: Packet analysis {"connection_id":177339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:39:14] local.INFO: Extracted packet for processing {"connection_id":177339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08790"} 
[2026-09-10 00:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756385472,"raw_latitude":114755136,"longitude_deg":75.6385472,"latitude_deg":11.4755136,"altitude":17,"angle":313,"satellites":41,"speed":13,"hex_longitude":"2d1586c0","hex_latitude":"06d70640","is_valid_coordinates":true} 
[2026-09-10 00:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979086080001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403329572629643264,"note":"Value kept but may cause issues"} 
[2026-09-10 00:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1551138257285562368,"note":"Value kept but may cause issues"} 
[2026-09-10 00:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788980805000,"timestamp_ms":1788980805000,"timestamp_seconds":1788980805,"priority":1,"record_length":96,"hex_timestamp":"000001a08790bd88"} 
[2026-09-10 00:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:39:14] 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-09-10 00:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979086080001,"66":27234,"46":206,"81":20480,"24":13,"16":403329572629643264,"45":1551138257285562368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979086080001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:39:14] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403329572629643264,"km_value":403329572629643.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1551138257285562368,"description":"Unknown IO ID 45"} 
[2026-09-10 00:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979086080001,"power":27234,"unknown_46":206,"unknown_81":20480,"ignition":13,"odometer":null,"unknown_45":1551138257285562368}} 
[2026-09-10 00:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":177339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:39:14] local.INFO: GPS data processed {"connection_id":177339,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:39:14] local.INFO: Acknowledgment sent {"connection_id":177339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:39:37] local.INFO: TCP Data received {"connection_id":178722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:39:37] local.INFO: Processing buffer {"connection_id":178722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:39:37] local.INFO: IMEI packet received {"connection_id":178722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":178722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:39:42] local.INFO: TCP Data received {"connection_id":178722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:39:42] local.INFO: Processing buffer {"connection_id":178722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:39:42] local.INFO: IMEI packet received {"connection_id":178722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":178722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:40:04] local.INFO: TCP Data received {"connection_id":178722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087910f90012d156b8006d71dd00018013a26..."} 
[2026-09-10 00:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087910f90012d156b8006d71dd00018013a26..."} 
[2026-09-10 00:40:04] local.INFO: Processing buffer {"connection_id":178722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087910f90012d156b8006d71dd00018013a26..."} 
[2026-09-10 00:40:04] local.INFO: Packet analysis {"connection_id":178722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08791"} 
[2026-09-10 00:40:04] local.INFO: Extracted packet for processing {"connection_id":178722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08791"} 
[2026-09-10 00:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756378496,"raw_latitude":114761168,"longitude_deg":75.6378496,"latitude_deg":11.4761168,"altitude":24,"angle":314,"satellites":38,"speed":18,"hex_longitude":"2d156b80","hex_latitude":"06d71dd0","is_valid_coordinates":true} 
[2026-09-10 00:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979086080001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403330019306242048,"note":"Value kept but may cause issues"} 
[2026-09-10 00:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1551138257285562368,"note":"Value kept but may cause issues"} 
[2026-09-10 00:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788980826000,"timestamp_ms":1788980826000,"timestamp_seconds":1788980826,"priority":1,"record_length":96,"hex_timestamp":"000001a087910f90"} 
[2026-09-10 00:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00: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-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:40: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-09-10 00:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979086080001,"66":27169,"46":206,"81":20480,"24":18,"16":403330019306242048,"45":1551138257285562368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 00:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979086080001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:40:04] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 00:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403330019306242048,"km_value":403330019306242.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1551138257285562368,"description":"Unknown IO ID 45"} 
[2026-09-10 00:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979086080001,"power":27169,"unknown_46":206,"unknown_81":20480,"ignition":18,"odometer":null,"unknown_45":1551138257285562368}} 
[2026-09-10 00:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":178722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:40:04] local.INFO: GPS data processed {"connection_id":178722,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:40:04] local.INFO: Acknowledgment sent {"connection_id":178722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:40:37] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:40:37] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:40:37] local.INFO: IMEI packet received {"connection_id":175932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":175932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:40:42] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:40:42] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:40:42] local.INFO: IMEI packet received {"connection_id":175932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":175932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:40:43] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087932e88012d14800006d81ad80010013b2e..."} 
[2026-09-10 00:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087932e88012d14800006d81ad80010013b2e..."} 
[2026-09-10 00:40:43] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087932e88012d14800006d81ad80010013b2e..."} 
[2026-09-10 00:40:43] local.INFO: Packet analysis {"connection_id":175932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08793"} 
[2026-09-10 00:40:43] local.INFO: Extracted packet for processing {"connection_id":175932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08793"} 
[2026-09-10 00:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756318208,"raw_latitude":114825944,"longitude_deg":75.6318208,"latitude_deg":11.4825944,"altitude":16,"angle":315,"satellites":46,"speed":44,"hex_longitude":"2d148000","hex_latitude":"06d81ad8","is_valid_coordinates":true} 
[2026-09-10 00:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979124736001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403334279913799680,"note":"Value kept but may cause issues"} 
[2026-09-10 00:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1484921269030688768,"note":"Value kept but may cause issues"} 
[2026-09-10 00:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788980965000,"timestamp_ms":1788980965000,"timestamp_seconds":1788980965,"priority":1,"record_length":96,"hex_timestamp":"000001a087932e88"} 
[2026-09-10 00:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:40:43] 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-09-10 00:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979124736001,"66":27267,"183":206,"81":20480,"24":44,"16":403334279913799680,"45":1484921269030688768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-10 00:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979124736001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:40:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 00:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403334279913799680,"km_value":403334279913799.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1484921269030688768,"description":"Unknown IO ID 45"} 
[2026-09-10 00:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979124736001,"power":27267,"unknown_183":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1484921269030688768}} 
[2026-09-10 00:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":175932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:40:43] local.INFO: GPS data processed {"connection_id":175932,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:40:43] local.INFO: Acknowledgment sent {"connection_id":175932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:41:15] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087934dc8012d14674006d834080011013d2d..."} 
[2026-09-10 00:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087934dc8012d14674006d834080011013d2d..."} 
[2026-09-10 00:41:15] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087934dc8012d14674006d834080011013d2d..."} 
[2026-09-10 00:41:15] local.INFO: Packet analysis {"connection_id":175932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08793"} 
[2026-09-10 00:41:15] local.INFO: Extracted packet for processing {"connection_id":175932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08793"} 
[2026-09-10 00:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756311872,"raw_latitude":114832392,"longitude_deg":75.6311872,"latitude_deg":11.4832392,"altitude":17,"angle":317,"satellites":45,"speed":44,"hex_longitude":"2d146740","hex_latitude":"06d83408","is_valid_coordinates":true} 
[2026-09-10 00:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979127040001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403334713705496576,"note":"Value kept but may cause issues"} 
[2026-09-10 00:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1477180707172964352,"note":"Value kept but may cause issues"} 
[2026-09-10 00:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788980973000,"timestamp_ms":1788980973000,"timestamp_seconds":1788980973,"priority":1,"record_length":96,"hex_timestamp":"000001a087934dc8"} 
[2026-09-10 00:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979127040001,"66":27169,"183":206,"81":20480,"24":44,"16":403334713705496576,"45":1477180707172964352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-10 00:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979127040001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:41:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 00:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403334713705496576,"km_value":403334713705496.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1477180707172964352,"description":"Unknown IO ID 45"} 
[2026-09-10 00:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979127040001,"power":27169,"unknown_183":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1477180707172964352}} 
[2026-09-10 00:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":175932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:41:15] local.INFO: GPS data processed {"connection_id":175932,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:41:15] local.INFO: Acknowledgment sent {"connection_id":175932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:41:37] local.INFO: TCP Data received {"connection_id":178723,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:37] local.INFO: Processing buffer {"connection_id":178723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:37] local.INFO: IMEI packet received {"connection_id":178723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":178723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:41:39] local.INFO: TCP Data received {"connection_id":178723,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:39] local.INFO: Processing buffer {"connection_id":178723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:39] local.INFO: IMEI packet received {"connection_id":178723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":178723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:41:42] local.INFO: TCP Data received {"connection_id":178723,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:42] local.INFO: Processing buffer {"connection_id":178723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:41:42] local.INFO: IMEI packet received {"connection_id":178723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":178723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:41:43] local.INFO: TCP Data received {"connection_id":178723,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087936d08012d14528006d85078001001472b..."} 
[2026-09-10 00:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087936d08012d14528006d85078001001472b..."} 
[2026-09-10 00:41:43] local.INFO: Processing buffer {"connection_id":178723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087936d08012d14528006d85078001001472b..."} 
[2026-09-10 00:41:43] local.INFO: Packet analysis {"connection_id":178723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08793"} 
[2026-09-10 00:41:43] local.INFO: Extracted packet for processing {"connection_id":178723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08793"} 
[2026-09-10 00:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756306560,"raw_latitude":114839672,"longitude_deg":75.630656,"latitude_deg":11.4839672,"altitude":16,"angle":327,"satellites":43,"speed":45,"hex_longitude":"2d145280","hex_latitude":"06d85078","is_valid_coordinates":true} 
[2026-09-10 00:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979129088001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403335147497193472,"note":"Value kept but may cause issues"} 
[2026-09-10 00:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1470214201501026304,"note":"Value kept but may cause issues"} 
[2026-09-10 00:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788980981000,"timestamp_ms":1788980981000,"timestamp_seconds":1788980981,"priority":1,"record_length":96,"hex_timestamp":"000001a087936d08"} 
[2026-09-10 00:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 00:41:43] 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-09-10 00:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979129088001,"66":27267,"184":206,"81":20480,"24":45,"16":403335147497193472,"45":1470214201501026304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-10 00:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979129088001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:41:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 00:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403335147497193472,"km_value":403335147497193.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1470214201501026304,"description":"Unknown IO ID 45"} 
[2026-09-10 00:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979129088001,"power":27267,"unknown_184":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1470214201501026304}} 
[2026-09-10 00:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":178723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:41:43] local.INFO: GPS data processed {"connection_id":178723,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:41:43] local.INFO: Acknowledgment sent {"connection_id":178723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:42:14] local.INFO: TCP Data received {"connection_id":178723,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08794e408012d13cdc006d9e548000e01632d..."} 
[2026-09-10 00:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08794e408012d13cdc006d9e548000e01632d..."} 
[2026-09-10 00:42:14] local.INFO: Processing buffer {"connection_id":178723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08794e408012d13cdc006d9e548000e01632d..."} 
[2026-09-10 00:42:14] local.INFO: Packet analysis {"connection_id":178723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08794"} 
[2026-09-10 00:42:14] local.INFO: Extracted packet for processing {"connection_id":178723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08794"} 
[2026-09-10 00:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756272576,"raw_latitude":114943304,"longitude_deg":75.6272576,"latitude_deg":11.4943304,"altitude":14,"angle":355,"satellites":45,"speed":47,"hex_longitude":"2d13cdc0","hex_latitude":"06d9e548","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979153664001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403340559155986432,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427500373811048448,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788981077000,"timestamp_ms":1788981077000,"timestamp_seconds":1788981077,"priority":1,"record_length":96,"hex_timestamp":"000001a08794e408"} 
[2026-09-10 00:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979153664001,"66":27213,"151":206,"81":20480,"24":47,"16":403340559155986432,"45":1427500373811048448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-09-10 00:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979153664001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:42:14] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 00:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403340559155986432,"km_value":403340559155986.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427500373811048448,"description":"Unknown IO ID 45"} 
[2026-09-10 00:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979153664001,"power":27213,"unknown_151":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1427500373811048448}} 
[2026-09-10 00:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":178723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:42:14] local.INFO: GPS data processed {"connection_id":178723,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:42:14] local.INFO: Acknowledgment sent {"connection_id":178723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:42:38] local.INFO: TCP Data received {"connection_id":178724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:38] local.INFO: Processing buffer {"connection_id":178724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:38] local.INFO: IMEI packet received {"connection_id":178724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":178724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:42:42] local.INFO: TCP Data received {"connection_id":178724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:42] local.INFO: Processing buffer {"connection_id":178724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:42] local.INFO: IMEI packet received {"connection_id":178724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":178724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:42:46] local.INFO: TCP Data received {"connection_id":178724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:46] local.INFO: Processing buffer {"connection_id":178724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:42:46] local.INFO: IMEI packet received {"connection_id":178724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":178724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:42:47] local.INFO: TCP Data received {"connection_id":178724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087950348012d13cb8006da07f0001001652c..."} 
[2026-09-10 00:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087950348012d13cb8006da07f0001001652c..."} 
[2026-09-10 00:42:47] local.INFO: Processing buffer {"connection_id":178724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087950348012d13cb8006da07f0001001652c..."} 
[2026-09-10 00:42:47] local.INFO: Packet analysis {"connection_id":178724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:42:47] local.INFO: Extracted packet for processing {"connection_id":178724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756272000,"raw_latitude":114952176,"longitude_deg":75.6272,"latitude_deg":11.4952176,"altitude":16,"angle":357,"satellites":44,"speed":41,"hex_longitude":"2d13cb80","hex_latitude":"06da07f0","is_valid_coordinates":true} 
[2026-09-10 00:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979155712001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403340988652716032,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427007792604334080,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788981085000,"timestamp_ms":1788981085000,"timestamp_seconds":1788981085,"priority":1,"record_length":96,"hex_timestamp":"000001a087950348"} 
[2026-09-10 00:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:42: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-09-10 00:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:42:47] 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-09-10 00:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979155712001,"66":27213,"151":206,"81":20480,"24":41,"16":403340988652716032,"45":1427007792604334080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-09-10 00:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979155712001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:42:47] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 00:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403340988652716032,"km_value":403340988652716.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427007792604334080,"description":"Unknown IO ID 45"} 
[2026-09-10 00:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979155712001,"power":27213,"unknown_151":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1427007792604334080}} 
[2026-09-10 00:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":178724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:42:47] local.INFO: GPS data processed {"connection_id":178724,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:42:47] local.INFO: Acknowledgment sent {"connection_id":178724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:42:48] local.INFO: TCP Data received {"connection_id":178724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087952670012d13cac006da2bf0000f01672d..."} 
[2026-09-10 00:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087952670012d13cac006da2bf0000f01672d..."} 
[2026-09-10 00:42:48] local.INFO: Processing buffer {"connection_id":178724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087952670012d13cac006da2bf0000f01672d..."} 
[2026-09-10 00:42:48] local.INFO: Packet analysis {"connection_id":178724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:42:48] local.INFO: Extracted packet for processing {"connection_id":178724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756271808,"raw_latitude":114961392,"longitude_deg":75.6271808,"latitude_deg":11.4961392,"altitude":15,"angle":359,"satellites":45,"speed":42,"hex_longitude":"2d13cac0","hex_latitude":"06da2bf0","is_valid_coordinates":true} 
[2026-09-10 00:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979157760001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403341435329314816,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426374473909006336,"note":"Value kept but may cause issues"} 
[2026-09-10 00:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788981094000,"timestamp_ms":1788981094000,"timestamp_seconds":1788981094,"priority":1,"record_length":96,"hex_timestamp":"000001a087952670"} 
[2026-09-10 00:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979157760001,"66":27180,"151":206,"81":20480,"24":42,"16":403341435329314816,"45":1426374473909006336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-09-10 00:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979157760001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:42:48] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 00:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403341435329314816,"km_value":403341435329314.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426374473909006336,"description":"Unknown IO ID 45"} 
[2026-09-10 00:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979157760001,"power":27180,"unknown_151":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1426374473909006336}} 
[2026-09-10 00:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":178724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:42:48] local.INFO: GPS data processed {"connection_id":178724,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:42:48] local.INFO: Acknowledgment sent {"connection_id":178724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:43:19] local.INFO: TCP Data received {"connection_id":178724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087954998012d13c88006da52c8000c015d2d..."} 
[2026-09-10 00:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087954998012d13c88006da52c8000c015d2d..."} 
[2026-09-10 00:43:19] local.INFO: Processing buffer {"connection_id":178724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087954998012d13c88006da52c8000c015d2d..."} 
[2026-09-10 00:43:19] local.INFO: Packet analysis {"connection_id":178724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:43:19] local.INFO: Extracted packet for processing {"connection_id":178724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756271232,"raw_latitude":114971336,"longitude_deg":75.6271232,"latitude_deg":11.4971336,"altitude":12,"angle":349,"satellites":45,"speed":46,"hex_longitude":"2d13c880","hex_latitude":"06da52c8","is_valid_coordinates":true} 
[2026-09-10 00:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979160064001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403341920660619264,"note":"Value kept but may cause issues"} 
[2026-09-10 00:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426163367678832640,"note":"Value kept but may cause issues"} 
[2026-09-10 00:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788981103000,"timestamp_ms":1788981103000,"timestamp_seconds":1788981103,"priority":1,"record_length":96,"hex_timestamp":"000001a087954998"} 
[2026-09-10 00:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:43: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-09-10 00:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 00:43:19] 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-09-10 00:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979160064001,"66":27234,"151":206,"81":20480,"24":46,"16":403341920660619264,"45":1426163367678832640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-09-10 00:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979160064001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:43:19] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 00:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403341920660619264,"km_value":403341920660619.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426163367678832640,"description":"Unknown IO ID 45"} 
[2026-09-10 00:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979160064001,"power":27234,"unknown_151":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1426163367678832640}} 
[2026-09-10 00:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":178724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:43:19] local.INFO: GPS data processed {"connection_id":178724,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:43:19] local.INFO: Acknowledgment sent {"connection_id":178724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:43:34] local.INFO: TCP Data received {"connection_id":178725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:34] local.INFO: Processing buffer {"connection_id":178725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:34] local.INFO: IMEI packet received {"connection_id":178725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":178725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:43:38] local.INFO: TCP Data received {"connection_id":178725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:38] local.INFO: Processing buffer {"connection_id":178725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:38] local.INFO: IMEI packet received {"connection_id":178725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":178725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:43:42] local.INFO: TCP Data received {"connection_id":178725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:42] local.INFO: Processing buffer {"connection_id":178725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:43:42] local.INFO: IMEI packet received {"connection_id":178725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":178725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:43:43] local.INFO: TCP Data received {"connection_id":178725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879568d8012d13bf0006da74c8000d01552e..."} 
[2026-09-10 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879568d8012d13bf0006da74c8000d01552e..."} 
[2026-09-10 00:43:43] local.INFO: Processing buffer {"connection_id":178725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879568d8012d13bf0006da74c8000d01552e..."} 
[2026-09-10 00:43:43] local.INFO: Packet analysis {"connection_id":178725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:43:43] local.INFO: Extracted packet for processing {"connection_id":178725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08795"} 
[2026-09-10 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756268800,"raw_latitude":114980040,"longitude_deg":75.62688,"latitude_deg":11.498004,"altitude":13,"angle":341,"satellites":46,"speed":43,"hex_longitude":"2d13bf00","hex_latitude":"06da74c8","is_valid_coordinates":true} 
[2026-09-10 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979162368001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403342358747283456,"note":"Value kept but may cause issues"} 
[2026-09-10 00:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425530048983779328,"note":"Value kept but may cause issues"} 
[2026-09-10 00:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788981111000,"timestamp_ms":1788981111000,"timestamp_seconds":1788981111,"priority":1,"record_length":96,"hex_timestamp":"000001a0879568d8"} 
[2026-09-10 00:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:43: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-09-10 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:43:43] 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-09-10 00:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979162368001,"66":27213,"152":206,"81":20480,"24":43,"16":403342358747283456,"45":1425530048983779328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 00:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979162368001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:43:43] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 00:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403342358747283456,"km_value":403342358747283.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425530048983779328,"description":"Unknown IO ID 45"} 
[2026-09-10 00:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979162368001,"power":27213,"unknown_152":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1425530048983779328}} 
[2026-09-10 00:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":178725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:43:43] local.INFO: GPS data processed {"connection_id":178725,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:43:43] local.INFO: Acknowledgment sent {"connection_id":178725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:44:14] local.INFO: TCP Data received {"connection_id":178725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08796b0f8012d13640006dbd138000f01582c..."} 
[2026-09-10 00:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08796b0f8012d13640006dbd138000f01582c..."} 
[2026-09-10 00:44:14] local.INFO: Processing buffer {"connection_id":178725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08796b0f8012d13640006dbd138000f01582c..."} 
[2026-09-10 00:44:14] local.INFO: Packet analysis {"connection_id":178725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08796"} 
[2026-09-10 00:44:14] local.INFO: Extracted packet for processing {"connection_id":178725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08796"} 
[2026-09-10 00:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756245504,"raw_latitude":115069240,"longitude_deg":75.6245504,"latitude_deg":11.506924,"altitude":15,"angle":344,"satellites":44,"speed":38,"hex_longitude":"2d136400","hex_latitude":"06dbd138","is_valid_coordinates":true} 
[2026-09-10 00:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979183360001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403346868462944256,"note":"Value kept but may cause issues"} 
[2026-09-10 00:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1400197301102610432,"note":"Value kept but may cause issues"} 
[2026-09-10 00:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788981195000,"timestamp_ms":1788981195000,"timestamp_seconds":1788981195,"priority":1,"record_length":96,"hex_timestamp":"000001a08796b0f8"} 
[2026-09-10 00:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:44:14] 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-09-10 00:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979183360001,"66":27234,"65":206,"81":20480,"24":38,"16":403346868462944256,"45":1400197301102610432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-10 00:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979183360001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:44:14] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 00:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403346868462944256,"km_value":403346868462944.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1400197301102610432,"description":"Unknown IO ID 45"} 
[2026-09-10 00:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979183360001,"power":27234,"unknown_65":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1400197301102610432}} 
[2026-09-10 00:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":178725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:44:14] local.INFO: GPS data processed {"connection_id":178725,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:44:14] local.INFO: Acknowledgment sent {"connection_id":178725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:44:34] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:34] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:34] local.INFO: IMEI packet received {"connection_id":175933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":175933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:44:38] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:38] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:38] local.INFO: IMEI packet received {"connection_id":175933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":175933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:44:42] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:42] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:44:42] local.INFO: IMEI packet received {"connection_id":175933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":175933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:44:43] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08796d420012d1356c006dbf598000c01512d..."} 
[2026-09-10 00:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08796d420012d1356c006dbf598000c01512d..."} 
[2026-09-10 00:44:43] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08796d420012d1356c006dbf598000c01512d..."} 
[2026-09-10 00:44:43] local.INFO: Packet analysis {"connection_id":175933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08796"} 
[2026-09-10 00:44:43] local.INFO: Extracted packet for processing {"connection_id":175933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08796"} 
[2026-09-10 00:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756242112,"raw_latitude":115078552,"longitude_deg":75.6242112,"latitude_deg":11.5078552,"altitude":12,"angle":337,"satellites":45,"speed":48,"hex_longitude":"2d1356c0","hex_latitude":"06dbf598","is_valid_coordinates":true} 
[2026-09-10 00:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979185920001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403347345204314112,"note":"Value kept but may cause issues"} 
[2026-09-10 00:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1397241813849421824,"note":"Value kept but may cause issues"} 
[2026-09-10 00:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788981204000,"timestamp_ms":1788981204000,"timestamp_seconds":1788981204,"priority":1,"record_length":96,"hex_timestamp":"000001a08796d420"} 
[2026-09-10 00:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:44:43] 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-09-10 00:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979185920001,"66":27180,"65":206,"81":20480,"24":48,"16":403347345204314112,"45":1397241813849421824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-10 00:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979185920001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:44:43] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 00:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403347345204314112,"km_value":403347345204314.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1397241813849421824,"description":"Unknown IO ID 45"} 
[2026-09-10 00:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979185920001,"power":27180,"unknown_65":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1397241813849421824}} 
[2026-09-10 00:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":175933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:44:43] local.INFO: GPS data processed {"connection_id":175933,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:44:43] local.INFO: Acknowledgment sent {"connection_id":175933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:45:14] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08796f360012d1347c006dc18d8000a01512d..."} 
[2026-09-10 00:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08796f360012d1347c006dc18d8000a01512d..."} 
[2026-09-10 00:45:14] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08796f360012d1347c006dc18d8000a01512d..."} 
[2026-09-10 00:45:14] local.INFO: Packet analysis {"connection_id":175933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08796"} 
[2026-09-10 00:45:14] local.INFO: Extracted packet for processing {"connection_id":175933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08796"} 
[2026-09-10 00:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756238272,"raw_latitude":115087576,"longitude_deg":75.6238272,"latitude_deg":11.5087576,"altitude":10,"angle":337,"satellites":45,"speed":48,"hex_longitude":"2d1347c0","hex_latitude":"06dc18d8","is_valid_coordinates":true} 
[2026-09-10 00:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979188224001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403347821945683968,"note":"Value kept but may cause issues"} 
[2026-09-10 00:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1393512270410389504,"note":"Value kept but may cause issues"} 
[2026-09-10 00:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788981212000,"timestamp_ms":1788981212000,"timestamp_seconds":1788981212,"priority":1,"record_length":96,"hex_timestamp":"000001a08796f360"} 
[2026-09-10 00:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 00:45:14] 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-09-10 00:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979188224001,"66":27213,"65":206,"81":20480,"24":48,"16":403347821945683968,"45":1393512270410389504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-10 00:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979188224001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:45:14] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 00:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403347821945683968,"km_value":403347821945683.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1393512270410389504,"description":"Unknown IO ID 45"} 
[2026-09-10 00:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979188224001,"power":27213,"unknown_65":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1393512270410389504}} 
[2026-09-10 00:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":175933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:45:14] local.INFO: GPS data processed {"connection_id":175933,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:45:14] local.INFO: Acknowledgment sent {"connection_id":175933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:45:37] local.INFO: TCP Data received {"connection_id":177340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:45:37] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:45:37] local.INFO: IMEI packet received {"connection_id":177340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":177340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:45:42] local.INFO: TCP Data received {"connection_id":177340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:45:42] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:45:42] local.INFO: IMEI packet received {"connection_id":177340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":177340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:45:43] local.INFO: TCP Data received {"connection_id":177340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879712a0012d13388006dc3a68000b014f2c..."} 
[2026-09-10 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879712a0012d13388006dc3a68000b014f2c..."} 
[2026-09-10 00:45:43] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879712a0012d13388006dc3a68000b014f2c..."} 
[2026-09-10 00:45:43] local.INFO: Packet analysis {"connection_id":177340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08797"} 
[2026-09-10 00:45:43] local.INFO: Extracted packet for processing {"connection_id":177340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08797"} 
[2026-09-10 00:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756234368,"raw_latitude":115096168,"longitude_deg":75.6234368,"latitude_deg":11.5096168,"altitude":11,"angle":335,"satellites":44,"speed":45,"hex_longitude":"2d133880","hex_latitude":"06dc3a68","is_valid_coordinates":true} 
[2026-09-10 00:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979190272001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403348277212217344,"note":"Value kept but may cause issues"} 
[2026-09-10 00:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1389290145762039808,"note":"Value kept but may cause issues"} 
[2026-09-10 00:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788981220000,"timestamp_ms":1788981220000,"timestamp_seconds":1788981220,"priority":1,"record_length":96,"hex_timestamp":"000001a0879712a0"} 
[2026-09-10 00:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979190272001,"66":27180,"65":206,"81":20480,"24":45,"16":403348277212217344,"45":1389290145762039808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-10 00:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979190272001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:45:43] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 00:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403348277212217344,"km_value":403348277212217.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1389290145762039808,"description":"Unknown IO ID 45"} 
[2026-09-10 00:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979190272001,"power":27180,"unknown_65":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1389290145762039808}} 
[2026-09-10 00:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":177340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:45:43] local.INFO: GPS data processed {"connection_id":177340,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:45:43] local.INFO: Acknowledgment sent {"connection_id":177340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:46:41] local.INFO: TCP Data received {"connection_id":177340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087985ea8012d12ae8006dd45a80011014b2c..."} 
[2026-09-10 00:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087985ea8012d12ae8006dd45a80011014b2c..."} 
[2026-09-10 00:46:41] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087985ea8012d12ae8006dd45a80011014b2c..."} 
[2026-09-10 00:46:41] local.INFO: Packet analysis {"connection_id":177340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:46:41] local.INFO: Extracted packet for processing {"connection_id":177340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756199040,"raw_latitude":115164584,"longitude_deg":75.619904,"latitude_deg":11.5164584,"altitude":17,"angle":331,"satellites":44,"speed":31,"hex_longitude":"2d12ae80","hex_latitude":"06dd45a8","is_valid_coordinates":true} 
[2026-09-10 00:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979210752001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403352018128732160,"note":"Value kept but may cause issues"} 
[2026-09-10 00:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1350657705226031104,"note":"Value kept but may cause issues"} 
[2026-09-10 00:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788981305000,"timestamp_ms":1788981305000,"timestamp_seconds":1788981305,"priority":1,"record_length":96,"hex_timestamp":"000001a087985ea8"} 
[2026-09-10 00:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979210752001,"66":27213,"67":206,"81":20480,"24":31,"16":403352018128732160,"45":1350657705226031104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 00:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979210752001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:46:41] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 00:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403352018128732160,"km_value":403352018128732.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1350657705226031104,"description":"Unknown IO ID 45"} 
[2026-09-10 00:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979210752001,"power":27213,"unknown_67":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1350657705226031104}} 
[2026-09-10 00:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":177340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:46:41] local.INFO: GPS data processed {"connection_id":177340,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:46:41] local.INFO: Acknowledgment sent {"connection_id":177340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:46:47] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:46:47] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:46:47] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:46:50] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:46:50] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:46:50] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:46:51] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087988d88012d129c0006dd66f00010014c2b..."} 
[2026-09-10 00:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087988d88012d129c0006dd66f00010014c2b..."} 
[2026-09-10 00:46:51] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087988d88012d129c0006dd66f00010014c2b..."} 
[2026-09-10 00:46:51] local.INFO: Packet analysis {"connection_id":176166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:46:51] local.INFO: Extracted packet for processing {"connection_id":176166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756194304,"raw_latitude":115173104,"longitude_deg":75.6194304,"latitude_deg":11.5173104,"altitude":16,"angle":332,"satellites":43,"speed":35,"hex_longitude":"2d129c00","hex_latitude":"06dd66f0","is_valid_coordinates":true} 
[2026-09-10 00:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979214080001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403352490575134720,"note":"Value kept but may cause issues"} 
[2026-09-10 00:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1346154105600845824,"note":"Value kept but may cause issues"} 
[2026-09-10 00:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788981317000,"timestamp_ms":1788981317000,"timestamp_seconds":1788981317,"priority":1,"record_length":96,"hex_timestamp":"000001a087988d88"} 
[2026-09-10 00:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:46: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-09-10 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:46:51] 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-09-10 00:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979214080001,"66":27234,"67":206,"81":20480,"24":35,"16":403352490575134720,"45":1346154105600845824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 00:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979214080001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:46:51] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 00:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403352490575134720,"km_value":403352490575134.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1346154105600845824,"description":"Unknown IO ID 45"} 
[2026-09-10 00:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979214080001,"power":27234,"unknown_67":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1346154105600845824}} 
[2026-09-10 00:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":176166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:46:51] local.INFO: GPS data processed {"connection_id":176166,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:46:51] local.INFO: Acknowledgment sent {"connection_id":176166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:47:22] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08798b498012d128a0006dd8710000e014a2b..."} 
[2026-09-10 00:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08798b498012d128a0006dd8710000e014a2b..."} 
[2026-09-10 00:47:22] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08798b498012d128a0006dd8710000e014a2b..."} 
[2026-09-10 00:47:22] local.INFO: Packet analysis {"connection_id":176166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:47:22] local.INFO: Extracted packet for processing {"connection_id":176166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756189696,"raw_latitude":115181328,"longitude_deg":75.6189696,"latitude_deg":11.5181328,"altitude":14,"angle":330,"satellites":43,"speed":37,"hex_longitude":"2d128a00","hex_latitude":"06dd8710","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979217152001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403352945841668096,"note":"Value kept but may cause issues"} 
[2026-09-10 00:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1340946818533879808,"note":"Value kept but may cause issues"} 
[2026-09-10 00:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788981327000,"timestamp_ms":1788981327000,"timestamp_seconds":1788981327,"priority":1,"record_length":96,"hex_timestamp":"000001a08798b498"} 
[2026-09-10 00:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:47: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-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:47: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-09-10 00: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-09-10 00:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979217152001,"66":27267,"67":206,"81":20480,"24":37,"16":403352945841668096,"45":1340946818533879808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 00:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979217152001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:47:22] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 00:47:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403352945841668096,"km_value":403352945841668.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1340946818533879808,"description":"Unknown IO ID 45"} 
[2026-09-10 00:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979217152001,"power":27267,"unknown_67":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1340946818533879808}} 
[2026-09-10 00:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":176166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:47:22] local.INFO: GPS data processed {"connection_id":176166,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:47:22] local.INFO: Acknowledgment sent {"connection_id":176166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:47:42] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:42] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:42] local.INFO: IMEI packet received {"connection_id":175934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":175934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:47:44] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:44] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:44] local.INFO: IMEI packet received {"connection_id":175934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":175934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:47:47] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:47] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:47:47] local.INFO: IMEI packet received {"connection_id":175934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:47:48] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08798dba8012d1278c006dda700000c01502d..."} 
[2026-09-10 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08798dba8012d1278c006dda700000c01502d..."} 
[2026-09-10 00:47:48] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08798dba8012d1278c006dda700000c01502d..."} 
[2026-09-10 00:47:48] local.INFO: Packet analysis {"connection_id":175934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:47:48] local.INFO: Extracted packet for processing {"connection_id":175934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08798"} 
[2026-09-10 00:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756185280,"raw_latitude":115189504,"longitude_deg":75.618528,"latitude_deg":11.5189504,"altitude":12,"angle":336,"satellites":45,"speed":39,"hex_longitude":"2d1278c0","hex_latitude":"06dda700","is_valid_coordinates":true} 
[2026-09-10 00:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979219712001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403353392518266880,"note":"Value kept but may cause issues"} 
[2026-09-10 00:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1335880268955193344,"note":"Value kept but may cause issues"} 
[2026-09-10 00:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788981337000,"timestamp_ms":1788981337000,"timestamp_seconds":1788981337,"priority":1,"record_length":96,"hex_timestamp":"000001a08798dba8"} 
[2026-09-10 00:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979219712001,"66":27267,"201":206,"81":20480,"24":39,"16":403353392518266880,"45":1335880268955193344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-10 00:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979219712001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:47:48] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 00:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403353392518266880,"km_value":403353392518266.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1335880268955193344,"description":"Unknown IO ID 45"} 
[2026-09-10 00:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979219712001,"power":27267,"unknown_201":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1335880268955193344}} 
[2026-09-10 00:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":175934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:47:48] local.INFO: GPS data processed {"connection_id":175934,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:47:48] local.INFO: Acknowledgment sent {"connection_id":175934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:48:19] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879a7da0012d1228c006df0630000d015d2b..."} 
[2026-09-10 00:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879a7da0012d1228c006df0630000d015d2b..."} 
[2026-09-10 00:48:19] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879a7da0012d1228c006df0630000d015d2b..."} 
[2026-09-10 00:48:19] local.INFO: Packet analysis {"connection_id":175934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:48:19] local.INFO: Extracted packet for processing {"connection_id":175934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756164800,"raw_latitude":115279408,"longitude_deg":75.61648,"latitude_deg":11.5279408,"altitude":13,"angle":349,"satellites":43,"speed":46,"hex_longitude":"2d1228c0","hex_latitude":"06df0630","is_valid_coordinates":true} 
[2026-09-10 00:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979247360001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403357885054058496,"note":"Value kept but may cause issues"} 
[2026-09-10 00:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1310828996050567168,"note":"Value kept but may cause issues"} 
[2026-09-10 00:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788981444000,"timestamp_ms":1788981444000,"timestamp_seconds":1788981444,"priority":1,"record_length":96,"hex_timestamp":"000001a0879a7da0"} 
[2026-09-10 00:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:48: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-09-10 00:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:48:19] 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-09-10 00:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979247360001,"66":27321,"97":206,"81":20480,"24":46,"16":403357885054058496,"45":1310828996050567168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 00:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979247360001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 00:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403357885054058496,"km_value":403357885054058.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1310828996050567168,"description":"Unknown IO ID 45"} 
[2026-09-10 00:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979247360001,"power":27321,"unknown_97":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1310828996050567168}} 
[2026-09-10 00:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":175934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:48:19] local.INFO: GPS data processed {"connection_id":175934,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:48:19] local.INFO: Acknowledgment sent {"connection_id":175934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:48:37] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:48:37] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:48:37] local.INFO: IMEI packet received {"connection_id":175935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":175935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:48:42] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:48:42] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:48:42] local.INFO: IMEI packet received {"connection_id":175935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":175935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:48:43] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879a9ce0012d12214006df2ae0000d015b2c..."} 
[2026-09-10 00:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879a9ce0012d12214006df2ae0000d015b2c..."} 
[2026-09-10 00:48:43] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879a9ce0012d12214006df2ae0000d015b2c..."} 
[2026-09-10 00:48:43] local.INFO: Packet analysis {"connection_id":175935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:48:43] local.INFO: Extracted packet for processing {"connection_id":175935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756162880,"raw_latitude":115288800,"longitude_deg":75.616288,"latitude_deg":11.52888,"altitude":13,"angle":347,"satellites":44,"speed":47,"hex_longitude":"2d122140","hex_latitude":"06df2ae0","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979249664001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403358348910526464,"note":"Value kept but may cause issues"} 
[2026-09-10 00:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1308506827495190528,"note":"Value kept but may cause issues"} 
[2026-09-10 00:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788981452000,"timestamp_ms":1788981452000,"timestamp_seconds":1788981452,"priority":1,"record_length":96,"hex_timestamp":"000001a0879a9ce0"} 
[2026-09-10 00:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979249664001,"66":27234,"97":206,"81":20480,"24":47,"16":403358348910526464,"45":1308506827495190528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 00:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979249664001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 00:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403358348910526464,"km_value":403358348910526.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1308506827495190528,"description":"Unknown IO ID 45"} 
[2026-09-10 00:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979249664001,"power":27234,"unknown_97":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1308506827495190528}} 
[2026-09-10 00:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":175935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:48:43] local.INFO: GPS data processed {"connection_id":175935,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:48:43] local.INFO: Acknowledgment sent {"connection_id":175935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:49:14] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879abc20012d12194006df4ef8000e015c2b..."} 
[2026-09-10 00:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879abc20012d12194006df4ef8000e015c2b..."} 
[2026-09-10 00:49:14] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879abc20012d12194006df4ef8000e015c2b..."} 
[2026-09-10 00:49:14] local.INFO: Packet analysis {"connection_id":175935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:49:14] local.INFO: Extracted packet for processing {"connection_id":175935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756160832,"raw_latitude":115298040,"longitude_deg":75.6160832,"latitude_deg":11.529804,"altitude":14,"angle":348,"satellites":43,"speed":47,"hex_longitude":"2d121940","hex_latitude":"06df4ef8","is_valid_coordinates":true} 
[2026-09-10 00:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979251712001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403358808472027136,"note":"Value kept but may cause issues"} 
[2026-09-10 00:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1306395765172264960,"note":"Value kept but may cause issues"} 
[2026-09-10 00:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788981460000,"timestamp_ms":1788981460000,"timestamp_seconds":1788981460,"priority":1,"record_length":96,"hex_timestamp":"000001a0879abc20"} 
[2026-09-10 00:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:49:14] 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-09-10 00:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979251712001,"66":27234,"97":206,"81":20480,"24":47,"16":403358808472027136,"45":1306395765172264960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 00:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979251712001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:49:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 00:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403358808472027136,"km_value":403358808472027.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1306395765172264960,"description":"Unknown IO ID 45"} 
[2026-09-10 00:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979251712001,"power":27234,"unknown_97":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1306395765172264960}} 
[2026-09-10 00:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":175935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:49:14] local.INFO: GPS data processed {"connection_id":175935,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:49:14] local.INFO: Acknowledgment sent {"connection_id":175935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:49:37] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:37] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:37] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:49:39] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:39] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:39] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:49:42] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:42] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:49:42] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:49:43] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879adb60012d12118006df73e8000f015b2b..."} 
[2026-09-10 00:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879adb60012d12118006df73e8000f015b2b..."} 
[2026-09-10 00:49:43] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879adb60012d12118006df73e8000f015b2b..."} 
[2026-09-10 00:49:43] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:49:43] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879a"} 
[2026-09-10 00:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756158848,"raw_latitude":115307496,"longitude_deg":75.6158848,"latitude_deg":11.5307496,"altitude":15,"angle":347,"satellites":43,"speed":48,"hex_longitude":"2d121180","hex_latitude":"06df73e8","is_valid_coordinates":true} 
[2026-09-10 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979253760001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403359276623462400,"note":"Value kept but may cause issues"} 
[2026-09-10 00:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1304143965360945152,"note":"Value kept but may cause issues"} 
[2026-09-10 00:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788981468000,"timestamp_ms":1788981468000,"timestamp_seconds":1788981468,"priority":1,"record_length":96,"hex_timestamp":"000001a0879adb60"} 
[2026-09-10 00:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:49:43] 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-09-10 00:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979253760001,"66":27213,"97":206,"81":20480,"24":48,"16":403359276623462400,"45":1304143965360945152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 00:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979253760001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 00:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403359276623462400,"km_value":403359276623462.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1304143965360945152,"description":"Unknown IO ID 45"} 
[2026-09-10 00:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979253760001,"power":27213,"unknown_97":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1304143965360945152}} 
[2026-09-10 00:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:49:43] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:49:43] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:50:14] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879c2f38012d11b24006e12870000a01532a..."} 
[2026-09-10 00:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879c2f38012d11b24006e12870000a01532a..."} 
[2026-09-10 00:50:14] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879c2f38012d11b24006e12870000a01532a..."} 
[2026-09-10 00:50:14] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:50:14] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756134464,"raw_latitude":115419248,"longitude_deg":75.6134464,"latitude_deg":11.5419248,"altitude":10,"angle":339,"satellites":42,"speed":51,"hex_longitude":"2d11b240","hex_latitude":"06e12870","is_valid_coordinates":true} 
[2026-09-10 00:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979276288001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403364830016176128,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1278318636276473856,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788981555000,"timestamp_ms":1788981555000,"timestamp_seconds":1788981555,"priority":1,"record_length":96,"hex_timestamp":"000001a0879c2f38"} 
[2026-09-10 00:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:50:14] 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-09-10 00:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979276288001,"66":27321,"109":206,"81":20480,"24":51,"16":403364830016176128,"45":1278318636276473856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-09-10 00:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979276288001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:50:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 00:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403364830016176128,"km_value":403364830016176.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1278318636276473856,"description":"Unknown IO ID 45"} 
[2026-09-10 00:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979276288001,"power":27321,"unknown_109":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1278318636276473856}} 
[2026-09-10 00:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:50:14] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:50:14] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:50:42] local.INFO: TCP Data received {"connection_id":178726,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:42] local.INFO: Processing buffer {"connection_id":178726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:42] local.INFO: IMEI packet received {"connection_id":178726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":178726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:50:43] local.INFO: TCP Data received {"connection_id":178726,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:43] local.INFO: Processing buffer {"connection_id":178726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:43] local.INFO: IMEI packet received {"connection_id":178726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":178726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:50:47] local.INFO: TCP Data received {"connection_id":178726,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:47] local.INFO: Processing buffer {"connection_id":178726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:50:47] local.INFO: IMEI packet received {"connection_id":178726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":178726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:50:48] local.INFO: TCP Data received {"connection_id":178726,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879c4a90012d11a58006e148c0000a01522b..."} 
[2026-09-10 00:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879c4a90012d11a58006e148c0000a01522b..."} 
[2026-09-10 00:50:48] local.INFO: Processing buffer {"connection_id":178726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879c4a90012d11a58006e148c0000a01522b..."} 
[2026-09-10 00:50:48] local.INFO: Packet analysis {"connection_id":178726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:50:48] local.INFO: Extracted packet for processing {"connection_id":178726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756131200,"raw_latitude":115427520,"longitude_deg":75.61312,"latitude_deg":11.542752,"altitude":10,"angle":338,"satellites":43,"speed":50,"hex_longitude":"2d11a580","hex_latitude":"06e148c0","is_valid_coordinates":true} 
[2026-09-10 00:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979278080001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403365259512905728,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1275152042790776832,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788981562000,"timestamp_ms":1788981562000,"timestamp_seconds":1788981562,"priority":1,"record_length":96,"hex_timestamp":"000001a0879c4a90"} 
[2026-09-10 00:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:50:48] 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-09-10 00:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979278080001,"66":27234,"109":206,"81":20480,"24":50,"16":403365259512905728,"45":1275152042790776832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-09-10 00:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979278080001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:50:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 00:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403365259512905728,"km_value":403365259512905.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1275152042790776832,"description":"Unknown IO ID 45"} 
[2026-09-10 00:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979278080001,"power":27234,"unknown_109":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1275152042790776832}} 
[2026-09-10 00:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":178726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:50:48] local.INFO: GPS data processed {"connection_id":178726,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:50:48] local.INFO: Acknowledgment sent {"connection_id":178726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:50:49] local.INFO: TCP Data received {"connection_id":178726,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879c69d0012d11978006e16cf8000b01552c..."} 
[2026-09-10 00:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879c69d0012d11978006e16cf8000b01552c..."} 
[2026-09-10 00:50:49] local.INFO: Processing buffer {"connection_id":178726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879c69d0012d11978006e16cf8000b01552c..."} 
[2026-09-10 00:50:49] local.INFO: Packet analysis {"connection_id":178726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:50:49] local.INFO: Extracted packet for processing {"connection_id":178726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756127616,"raw_latitude":115436792,"longitude_deg":75.6127616,"latitude_deg":11.5436792,"altitude":11,"angle":341,"satellites":44,"speed":48,"hex_longitude":"2d119780","hex_latitude":"06e16cf8","is_valid_coordinates":true} 
[2026-09-10 00:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979279872001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403365740549242880,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1271563236839833600,"note":"Value kept but may cause issues"} 
[2026-09-10 00:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788981570000,"timestamp_ms":1788981570000,"timestamp_seconds":1788981570,"priority":1,"record_length":96,"hex_timestamp":"000001a0879c69d0"} 
[2026-09-10 00:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:50:49] 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-09-10 00:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979279872001,"66":27234,"109":206,"81":20480,"24":48,"16":403365740549242880,"45":1271563236839833600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-09-10 00:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979279872001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:50:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 00:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403365740549242880,"km_value":403365740549242.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1271563236839833600,"description":"Unknown IO ID 45"} 
[2026-09-10 00:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979279872001,"power":27234,"unknown_109":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1271563236839833600}} 
[2026-09-10 00:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":178726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:50:50] local.INFO: GPS data processed {"connection_id":178726,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:50:50] local.INFO: Acknowledgment sent {"connection_id":178726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:51:21] local.INFO: TCP Data received {"connection_id":178726,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879c8910012d118d8006e191b0000d015d2b..."} 
[2026-09-10 00:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879c8910012d118d8006e191b0000d015d2b..."} 
[2026-09-10 00:51:21] local.INFO: Processing buffer {"connection_id":178726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879c8910012d118d8006e191b0000d015d2b..."} 
[2026-09-10 00:51:21] local.INFO: Packet analysis {"connection_id":178726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:51:21] local.INFO: Extracted packet for processing {"connection_id":178726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756125056,"raw_latitude":115446192,"longitude_deg":75.6125056,"latitude_deg":11.5446192,"altitude":13,"angle":349,"satellites":43,"speed":48,"hex_longitude":"2d118d80","hex_latitude":"06e191b0","is_valid_coordinates":true} 
[2026-09-10 00:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979281920001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403366212995645440,"note":"Value kept but may cause issues"} 
[2026-09-10 00:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1267622587168258048,"note":"Value kept but may cause issues"} 
[2026-09-10 00:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788981578000,"timestamp_ms":1788981578000,"timestamp_seconds":1788981578,"priority":1,"record_length":96,"hex_timestamp":"000001a0879c8910"} 
[2026-09-10 00:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:51:21] 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-09-10 00:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979281920001,"66":27245,"109":206,"81":20480,"24":48,"16":403366212995645440,"45":1267622587168258048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-09-10 00:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979281920001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:51:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 00:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403366212995645440,"km_value":403366212995645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1267622587168258048,"description":"Unknown IO ID 45"} 
[2026-09-10 00:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979281920001,"power":27245,"unknown_109":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1267622587168258048}} 
[2026-09-10 00:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":178726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:51:21] local.INFO: GPS data processed {"connection_id":178726,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:51:21] local.INFO: Acknowledgment sent {"connection_id":178726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:51:37] local.INFO: TCP Data received {"connection_id":177341,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:51:37] local.INFO: Processing buffer {"connection_id":177341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:51:37] local.INFO: IMEI packet received {"connection_id":177341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":177341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:51:39] local.INFO: TCP Data received {"connection_id":177341,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:51:39] local.INFO: Processing buffer {"connection_id":177341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:51:39] local.INFO: IMEI packet received {"connection_id":177341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":177341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:51:40] local.INFO: TCP Data received {"connection_id":177341,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879ca850012d11874006e1b750000e015f2b..."} 
[2026-09-10 00:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879ca850012d11874006e1b750000e015f2b..."} 
[2026-09-10 00:51:40] local.INFO: Processing buffer {"connection_id":177341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879ca850012d11874006e1b750000e015f2b..."} 
[2026-09-10 00:51:40] local.INFO: Packet analysis {"connection_id":177341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:51:40] local.INFO: Extracted packet for processing {"connection_id":177341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756123456,"raw_latitude":115455824,"longitude_deg":75.6123456,"latitude_deg":11.5455824,"altitude":14,"angle":351,"satellites":43,"speed":48,"hex_longitude":"2d118740","hex_latitude":"06e1b750","is_valid_coordinates":true} 
[2026-09-10 00:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979283968001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403366685442048000,"note":"Value kept but may cause issues"} 
[2026-09-10 00:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264807837403557888,"note":"Value kept but may cause issues"} 
[2026-09-10 00:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788981586000,"timestamp_ms":1788981586000,"timestamp_seconds":1788981586,"priority":1,"record_length":96,"hex_timestamp":"000001a0879ca850"} 
[2026-09-10 00:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:51:40] 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-09-10 00:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979283968001,"66":27213,"108":206,"81":20480,"24":48,"16":403366685442048000,"45":1264807837403557888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-10 00:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979283968001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:51:40] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-10 00:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403366685442048000,"km_value":403366685442048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264807837403557888,"description":"Unknown IO ID 45"} 
[2026-09-10 00:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979283968001,"power":27213,"unknown_108":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1264807837403557888}} 
[2026-09-10 00:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":177341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:51:40] local.INFO: GPS data processed {"connection_id":177341,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:51:40] local.INFO: Acknowledgment sent {"connection_id":177341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:52:11] local.INFO: TCP Data received {"connection_id":177341,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879cc790012d1181c006e1dbf8000e015f2c..."} 
[2026-09-10 00:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879cc790012d1181c006e1dbf8000e015f2c..."} 
[2026-09-10 00:52:11] local.INFO: Processing buffer {"connection_id":177341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879cc790012d1181c006e1dbf8000e015f2c..."} 
[2026-09-10 00:52:11] local.INFO: Packet analysis {"connection_id":177341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:52:11] local.INFO: Extracted packet for processing {"connection_id":177341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879c"} 
[2026-09-10 00:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756122048,"raw_latitude":115465208,"longitude_deg":75.6122048,"latitude_deg":11.5465208,"altitude":14,"angle":351,"satellites":44,"speed":45,"hex_longitude":"2d1181c0","hex_latitude":"06e1dbf8","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979286016001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403367145003548672,"note":"Value kept but may cause issues"} 
[2026-09-10 00:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263048618801582080,"note":"Value kept but may cause issues"} 
[2026-09-10 00:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788981594000,"timestamp_ms":1788981594000,"timestamp_seconds":1788981594,"priority":1,"record_length":96,"hex_timestamp":"000001a0879cc790"} 
[2026-09-10 00:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:52: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-09-10 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979286016001,"66":27321,"108":206,"81":20480,"24":45,"16":403367145003548672,"45":1263048618801582080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-10 00:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979286016001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:52:11] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-10 00:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403367145003548672,"km_value":403367145003548.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263048618801582080,"description":"Unknown IO ID 45"} 
[2026-09-10 00:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979286016001,"power":27321,"unknown_108":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1263048618801582080}} 
[2026-09-10 00:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":177341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:52:11] local.INFO: GPS data processed {"connection_id":177341,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:52:11] local.INFO: Acknowledgment sent {"connection_id":177341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:52:37] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:37] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:37] local.INFO: IMEI packet received {"connection_id":175937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":175937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:52:39] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:39] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:39] local.INFO: IMEI packet received {"connection_id":175937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":175937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:52:42] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:42] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:52:42] local.INFO: IMEI packet received {"connection_id":175937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":175937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:52:46] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879e4e30012d115e4006e36148001601622a..."} 
[2026-09-10 00:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879e4e30012d115e4006e36148001601622a..."} 
[2026-09-10 00:52:46] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879e4e30012d115e4006e36148001601622a..."} 
[2026-09-10 00:52:46] local.INFO: Packet analysis {"connection_id":175937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879e"} 
[2026-09-10 00:52:46] local.INFO: Extracted packet for processing {"connection_id":175937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879e"} 
[2026-09-10 00:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756112960,"raw_latitude":115564872,"longitude_deg":75.611296,"latitude_deg":11.5564872,"altitude":22,"angle":354,"satellites":42,"speed":35,"hex_longitude":"2d115e40","hex_latitude":"06e36148","is_valid_coordinates":true} 
[2026-09-10 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-09-10 00:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979310848001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403372058446135296,"note":"Value kept but may cause issues"} 
[2026-09-10 00:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1253196994642239488,"note":"Value kept but may cause issues"} 
[2026-09-10 00:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788981694000,"timestamp_ms":1788981694000,"timestamp_seconds":1788981694,"priority":1,"record_length":96,"hex_timestamp":"000001a0879e4e30"} 
[2026-09-10 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-09-10 00:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 00:52:46] 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-09-10 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-09-10 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-09-10 00:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979310848001,"66":27213,"111":206,"81":20480,"24":35,"16":403372058446135296,"45":1253196994642239488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-10 00:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979310848001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:52:46] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 00:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403372058446135296,"km_value":403372058446135.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1253196994642239488,"description":"Unknown IO ID 45"} 
[2026-09-10 00:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979310848001,"power":27213,"unknown_111":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1253196994642239488}} 
[2026-09-10 00:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":175937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:52:46] local.INFO: GPS data processed {"connection_id":175937,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:52:46] local.INFO: Acknowledgment sent {"connection_id":175937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:53:17] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0879e7540012d115a8006e386d00012016129..."} 
[2026-09-10 00:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879e7540012d115a8006e386d00012016129..."} 
[2026-09-10 00:53:17] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879e7540012d115a8006e386d00012016129..."} 
[2026-09-10 00:53:17] local.INFO: Packet analysis {"connection_id":175937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879e"} 
[2026-09-10 00:53:17] local.INFO: Extracted packet for processing {"connection_id":175937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879e"} 
[2026-09-10 00:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756112000,"raw_latitude":115574480,"longitude_deg":75.6112,"latitude_deg":11.557448,"altitude":18,"angle":353,"satellites":41,"speed":40,"hex_longitude":"2d115a80","hex_latitude":"06e386d0","is_valid_coordinates":true} 
[2026-09-10 00:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979313664001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403372530892537856,"note":"Value kept but may cause issues"} 
[2026-09-10 00:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1251508144784361472,"note":"Value kept but may cause issues"} 
[2026-09-10 00:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788981704000,"timestamp_ms":1788981704000,"timestamp_seconds":1788981704,"priority":1,"record_length":96,"hex_timestamp":"000001a0879e7540"} 
[2026-09-10 00:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:53:17] 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-09-10 00:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979313664001,"66":27267,"111":206,"81":20480,"24":40,"16":403372530892537856,"45":1251508144784361472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-10 00:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979313664001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:53:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 00:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403372530892537856,"km_value":403372530892537.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1251508144784361472,"description":"Unknown IO ID 45"} 
[2026-09-10 00:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979313664001,"power":27267,"unknown_111":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1251508144784361472}} 
[2026-09-10 00:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":175937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:53:18] local.INFO: GPS data processed {"connection_id":175937,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:53:18] local.INFO: Acknowledgment sent {"connection_id":175937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:54:07] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:07] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:07] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:54:12] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:12] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:12] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:54:13] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0879e9480012d11574006e3aaf0000f016328..."} 
[2026-09-10 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879e9480012d11574006e3aaf0000f016328..."} 
[2026-09-10 00:54:13] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879e9480012d11574006e3aaf0000f016328..."} 
[2026-09-10 00:54:13] local.INFO: Packet analysis {"connection_id":175938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879e"} 
[2026-09-10 00:54:13] local.INFO: Extracted packet for processing {"connection_id":175938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879e"} 
[2026-09-10 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756111168,"raw_latitude":115583728,"longitude_deg":75.6111168,"latitude_deg":11.5583728,"altitude":15,"angle":355,"satellites":40,"speed":49,"hex_longitude":"2d115740","hex_latitude":"06e3aaf0","is_valid_coordinates":true} 
[2026-09-10 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979316224001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403372977569136640,"note":"Value kept but may cause issues"} 
[2026-09-10 00:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1250452613624156160,"note":"Value kept but may cause issues"} 
[2026-09-10 00:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788981712000,"timestamp_ms":1788981712000,"timestamp_seconds":1788981712,"priority":1,"record_length":96,"hex_timestamp":"000001a0879e9480"} 
[2026-09-10 00:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:54: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-09-10 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 00:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979316224001,"66":27321,"111":206,"81":20480,"24":49,"16":403372977569136640,"45":1250452613624156160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-10 00:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979316224001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:54:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 00:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 00:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403372977569136640,"km_value":403372977569136.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1250452613624156160,"description":"Unknown IO ID 45"} 
[2026-09-10 00:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979316224001,"power":27321,"unknown_111":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1250452613624156160}} 
[2026-09-10 00:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":175938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:54:13] local.INFO: GPS data processed {"connection_id":175938,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:54:13] local.INFO: Acknowledgment sent {"connection_id":175938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:54:52] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:52] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:52] local.INFO: IMEI packet received {"connection_id":177342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":177342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:54:54] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:54] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:54] local.INFO: IMEI packet received {"connection_id":177342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":177342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:54:57] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:57] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:54:57] local.INFO: IMEI packet received {"connection_id":177342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":177342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:54:58] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0879fffc8012d10efc006e4dd70000d01472b..."} 
[2026-09-10 00:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0879fffc8012d10efc006e4dd70000d01472b..."} 
[2026-09-10 00:54:58] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0879fffc8012d10efc006e4dd70000d01472b..."} 
[2026-09-10 00:54:58] local.INFO: Packet analysis {"connection_id":177342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0879f"} 
[2026-09-10 00:54:58] local.INFO: Extracted packet for processing {"connection_id":177342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0879f"} 
[2026-09-10 00:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756084672,"raw_latitude":115662192,"longitude_deg":75.6084672,"latitude_deg":11.5662192,"altitude":13,"angle":327,"satellites":43,"speed":31,"hex_longitude":"2d10efc0","hex_latitude":"06e4dd70","is_valid_coordinates":true} 
[2026-09-10 00:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979339008001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403377044903165952,"note":"Value kept but may cause issues"} 
[2026-09-10 00:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225471709461456896,"note":"Value kept but may cause issues"} 
[2026-09-10 00:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788981805000,"timestamp_ms":1788981805000,"timestamp_seconds":1788981805,"priority":1,"record_length":96,"hex_timestamp":"000001a0879fffc8"} 
[2026-09-10 00:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 00:54:58] 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-09-10 00:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979339008001,"66":27234,"245":206,"80":6400,"24":31,"16":403377044903165952,"45":1225471709461456896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 00:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979339008001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:54:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403377044903165952,"km_value":403377044903165.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225471709461456896,"description":"Unknown IO ID 45"} 
[2026-09-10 00:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979339008001,"power":27234,"geofence_id":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":1225471709461456896}} 
[2026-09-10 00:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":177342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:54:58] local.INFO: GPS data processed {"connection_id":177342,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:54:58] local.INFO: Acknowledgment sent {"connection_id":177342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:55:00] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a02ea8012d10dc4006e4fc68000f014a2b..."} 
[2026-09-10 00:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a02ea8012d10dc4006e4fc68000f014a2b..."} 
[2026-09-10 00:55:00] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a02ea8012d10dc4006e4fc68000f014a2b..."} 
[2026-09-10 00:55:00] local.INFO: Packet analysis {"connection_id":177342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a0"} 
[2026-09-10 00:55:00] local.INFO: Extracted packet for processing {"connection_id":177342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a0"} 
[2026-09-10 00:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756079680,"raw_latitude":115670120,"longitude_deg":75.607968,"latitude_deg":11.567012,"altitude":15,"angle":330,"satellites":43,"speed":29,"hex_longitude":"2d10dc40","hex_latitude":"06e4fc68","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979342080001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403377495874732032,"note":"Value kept but may cause issues"} 
[2026-09-10 00:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220405159882747904,"note":"Value kept but may cause issues"} 
[2026-09-10 00:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788981817000,"timestamp_ms":1788981817000,"timestamp_seconds":1788981817,"priority":1,"record_length":96,"hex_timestamp":"000001a087a02ea8"} 
[2026-09-10 00:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00: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-09-10 00:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979342080001,"66":27245,"245":206,"80":6400,"24":29,"16":403377495874732032,"45":1220405159882747904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 00:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979342080001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:55:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403377495874732032,"km_value":403377495874732.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220405159882747904,"description":"Unknown IO ID 45"} 
[2026-09-10 00:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979342080001,"power":27245,"geofence_id":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":1220405159882747904}} 
[2026-09-10 00:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":177342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:55:01] local.INFO: GPS data processed {"connection_id":177342,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:55:01] local.INFO: Acknowledgment sent {"connection_id":177342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:55:37] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:55:37] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:55:37] local.INFO: IMEI packet received {"connection_id":176167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":176167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:55:40] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:55:40] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:55:40] local.INFO: IMEI packet received {"connection_id":176167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":176167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:55:41] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a051d0012d10d28006e515b0001001562c..."} 
[2026-09-10 00:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a051d0012d10d28006e515b0001001562c..."} 
[2026-09-10 00:55:41] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a051d0012d10d28006e515b0001001562c..."} 
[2026-09-10 00:55:41] local.INFO: Packet analysis {"connection_id":176167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a0"} 
[2026-09-10 00:55:41] local.INFO: Extracted packet for processing {"connection_id":176167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a0"} 
[2026-09-10 00:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756077184,"raw_latitude":115676592,"longitude_deg":75.6077184,"latitude_deg":11.5676592,"altitude":16,"angle":342,"satellites":44,"speed":32,"hex_longitude":"2d10d280","hex_latitude":"06e515b0","is_valid_coordinates":true} 
[2026-09-10 00:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979345152001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403377830882181120,"note":"Value kept but may cause issues"} 
[2026-09-10 00:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1214916397838919680,"note":"Value kept but may cause issues"} 
[2026-09-10 00:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788981826000,"timestamp_ms":1788981826000,"timestamp_seconds":1788981826,"priority":1,"record_length":96,"hex_timestamp":"000001a087a051d0"} 
[2026-09-10 00:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:55: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-09-10 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:55:41] 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-09-10 00:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979345152001,"66":27213,"245":206,"80":6400,"24":32,"16":403377830882181120,"45":1214916397838919680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 00:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979345152001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:55:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403377830882181120,"km_value":403377830882181.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1214916397838919680,"description":"Unknown IO ID 45"} 
[2026-09-10 00:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979345152001,"power":27213,"geofence_id":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":1214916397838919680}} 
[2026-09-10 00:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":176167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:55:41] local.INFO: GPS data processed {"connection_id":176167,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:55:41] local.INFO: Acknowledgment sent {"connection_id":176167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:56:12] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a074f8012d10cc4006e531f0001001622d..."} 
[2026-09-10 00:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a074f8012d10cc4006e531f0001001622d..."} 
[2026-09-10 00:56:12] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a074f8012d10cc4006e531f0001001622d..."} 
[2026-09-10 00:56:12] local.INFO: Packet analysis {"connection_id":176167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a0"} 
[2026-09-10 00:56:12] local.INFO: Extracted packet for processing {"connection_id":176167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a0"} 
[2026-09-10 00:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756075584,"raw_latitude":115683824,"longitude_deg":75.6075584,"latitude_deg":11.5683824,"altitude":16,"angle":354,"satellites":45,"speed":32,"hex_longitude":"2d10cc40","hex_latitude":"06e531f0","is_valid_coordinates":true} 
[2026-09-10 00:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979347456001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403378191659433984,"note":"Value kept but may cause issues"} 
[2026-09-10 00:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1212172016817647616,"note":"Value kept but may cause issues"} 
[2026-09-10 00:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788981835000,"timestamp_ms":1788981835000,"timestamp_seconds":1788981835,"priority":1,"record_length":96,"hex_timestamp":"000001a087a074f8"} 
[2026-09-10 00:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:56: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-09-10 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979347456001,"66":27267,"245":206,"80":6400,"24":32,"16":403378191659433984,"45":1212172016817647616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 00:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979347456001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:56:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403378191659433984,"km_value":403378191659434.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1212172016817647616,"description":"Unknown IO ID 45"} 
[2026-09-10 00:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979347456001,"power":27267,"geofence_id":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":1212172016817647616}} 
[2026-09-10 00:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":176167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:56:12] local.INFO: GPS data processed {"connection_id":176167,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:56:12] local.INFO: Acknowledgment sent {"connection_id":176167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:56:37] local.INFO: TCP Data received {"connection_id":177343,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:37] local.INFO: Processing buffer {"connection_id":177343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:37] local.INFO: IMEI packet received {"connection_id":177343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":177343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:56:40] local.INFO: TCP Data received {"connection_id":177343,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:40] local.INFO: Processing buffer {"connection_id":177343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:40] local.INFO: IMEI packet received {"connection_id":177343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":177343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:56:42] local.INFO: TCP Data received {"connection_id":177343,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:42] local.INFO: Processing buffer {"connection_id":177343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:56:42] local.INFO: IMEI packet received {"connection_id":177343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":177343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:56:43] local.INFO: TCP Data received {"connection_id":177343,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a1d870012d10248006e66e58000701322a..."} 
[2026-09-10 00:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a1d870012d10248006e66e58000701322a..."} 
[2026-09-10 00:56:43] local.INFO: Processing buffer {"connection_id":177343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a1d870012d10248006e66e58000701322a..."} 
[2026-09-10 00:56:43] local.INFO: Packet analysis {"connection_id":177343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a1"} 
[2026-09-10 00:56:43] local.INFO: Extracted packet for processing {"connection_id":177343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a1"} 
[2026-09-10 00:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756032640,"raw_latitude":115764824,"longitude_deg":75.603264,"latitude_deg":11.5764824,"altitude":7,"angle":306,"satellites":42,"speed":44,"hex_longitude":"2d102480","hex_latitude":"06e66e58","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979371008001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403382838814048256,"note":"Value kept but may cause issues"} 
[2026-09-10 00:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1171147038983276544,"note":"Value kept but may cause issues"} 
[2026-09-10 00:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788981926000,"timestamp_ms":1788981926000,"timestamp_seconds":1788981926,"priority":1,"record_length":96,"hex_timestamp":"000001a087a1d870"} 
[2026-09-10 00:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 00:56:43] 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-09-10 00: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-09-10 00:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979371008001,"66":27310,"73":206,"80":6400,"24":44,"16":403382838814048256,"45":1171147038983276544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-10 00:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979371008001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:56:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 00:56:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403382838814048256,"km_value":403382838814048.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1171147038983276544,"description":"Unknown IO ID 45"} 
[2026-09-10 00:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979371008001,"power":27310,"unknown_73":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":1171147038983276544}} 
[2026-09-10 00:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":177343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:56:43] local.INFO: GPS data processed {"connection_id":177343,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:56:43] local.INFO: Acknowledgment sent {"connection_id":177343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:57:14] local.INFO: TCP Data received {"connection_id":177343,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a1fb98012d10058006e68490000801312c..."} 
[2026-09-10 00:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a1fb98012d10058006e68490000801312c..."} 
[2026-09-10 00:57:14] local.INFO: Processing buffer {"connection_id":177343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a1fb98012d10058006e68490000801312c..."} 
[2026-09-10 00:57:14] local.INFO: Packet analysis {"connection_id":177343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a1"} 
[2026-09-10 00:57:14] local.INFO: Extracted packet for processing {"connection_id":177343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a1"} 
[2026-09-10 00:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756024704,"raw_latitude":115770512,"longitude_deg":75.6024704,"latitude_deg":11.5770512,"altitude":8,"angle":305,"satellites":44,"speed":41,"hex_longitude":"2d100580","hex_latitude":"06e68490","is_valid_coordinates":true} 
[2026-09-10 00:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979373056001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403383306965483520,"note":"Value kept but may cause issues"} 
[2026-09-10 00:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1163195370892580864,"note":"Value kept but may cause issues"} 
[2026-09-10 00:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788981935000,"timestamp_ms":1788981935000,"timestamp_seconds":1788981935,"priority":1,"record_length":96,"hex_timestamp":"000001a087a1fb98"} 
[2026-09-10 00:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 00:57:14] 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-09-10 00:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979373056001,"66":27180,"74":206,"80":6400,"24":41,"16":403383306965483520,"45":1163195370892580864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-09-10 00:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979373056001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:57:14] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 00:57:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403383306965483520,"km_value":403383306965483.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1163195370892580864,"description":"Unknown IO ID 45"} 
[2026-09-10 00:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979373056001,"power":27180,"unknown_74":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":1163195370892580864}} 
[2026-09-10 00:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":177343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:57:14] local.INFO: GPS data processed {"connection_id":177343,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:57:14] local.INFO: Acknowledgment sent {"connection_id":177343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:57:37] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:37] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:37] local.INFO: IMEI packet received {"connection_id":175939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":175939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:57:38] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:38] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:38] local.INFO: IMEI packet received {"connection_id":175939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":175939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:57:42] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:42] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:57:42] local.INFO: IMEI packet received {"connection_id":175939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":175939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:57:43] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a21ec0012d0fe70006e697f00008012a2c..."} 
[2026-09-10 00:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a21ec0012d0fe70006e697f00008012a2c..."} 
[2026-09-10 00:57:43] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a21ec0012d0fe70006e697f00008012a2c..."} 
[2026-09-10 00:57:43] local.INFO: Packet analysis {"connection_id":175939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a2"} 
[2026-09-10 00:57:43] local.INFO: Extracted packet for processing {"connection_id":175939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a2"} 
[2026-09-10 00:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756016896,"raw_latitude":115775472,"longitude_deg":75.6016896,"latitude_deg":11.5775472,"altitude":8,"angle":298,"satellites":44,"speed":39,"hex_longitude":"2d0fe700","hex_latitude":"06e697f0","is_valid_coordinates":true} 
[2026-09-10 00:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979375360001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403383749347115008,"note":"Value kept but may cause issues"} 
[2026-09-10 00:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1154469646616006656,"note":"Value kept but may cause issues"} 
[2026-09-10 00:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788981944000,"timestamp_ms":1788981944000,"timestamp_seconds":1788981944,"priority":1,"record_length":96,"hex_timestamp":"000001a087a21ec0"} 
[2026-09-10 00:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 00:57:43] 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-09-10 00:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979375360001,"66":27213,"74":206,"80":6400,"24":39,"16":403383749347115008,"45":1154469646616006656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-09-10 00:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979375360001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:57:43] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 00:57:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403383749347115008,"km_value":403383749347115.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1154469646616006656,"description":"Unknown IO ID 45"} 
[2026-09-10 00:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979375360001,"power":27213,"unknown_74":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":1154469646616006656}} 
[2026-09-10 00:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":175939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:57:43] local.INFO: GPS data processed {"connection_id":175939,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:57:43] local.INFO: Acknowledgment sent {"connection_id":175939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:58:14] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a241e8012d0fc68006e6a6b0000701242b..."} 
[2026-09-10 00:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a241e8012d0fc68006e6a6b0000701242b..."} 
[2026-09-10 00:58:14] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a241e8012d0fc68006e6a6b0000701242b..."} 
[2026-09-10 00:58:14] local.INFO: Packet analysis {"connection_id":175939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a2"} 
[2026-09-10 00:58:14] local.INFO: Extracted packet for processing {"connection_id":175939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a2"} 
[2026-09-10 00:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756008576,"raw_latitude":115779248,"longitude_deg":75.6008576,"latitude_deg":11.5779248,"altitude":7,"angle":292,"satellites":43,"speed":40,"hex_longitude":"2d0fc680","hex_latitude":"06e6a6b0","is_valid_coordinates":true} 
[2026-09-10 00:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979377664001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403384183138811904,"note":"Value kept but may cause issues"} 
[2026-09-10 00:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1145884659827601408,"note":"Value kept but may cause issues"} 
[2026-09-10 00:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788981953000,"timestamp_ms":1788981953000,"timestamp_seconds":1788981953,"priority":1,"record_length":96,"hex_timestamp":"000001a087a241e8"} 
[2026-09-10 00:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 00:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 00:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979377664001,"66":27365,"74":206,"80":6400,"24":40,"16":403384183138811904,"45":1145884659827601408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-09-10 00:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979377664001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:58:14] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 00:58:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403384183138811904,"km_value":403384183138811.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1145884659827601408,"description":"Unknown IO ID 45"} 
[2026-09-10 00:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979377664001,"power":27365,"unknown_74":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":1145884659827601408}} 
[2026-09-10 00:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":175939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:58:14] local.INFO: GPS data processed {"connection_id":175939,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:58:14] local.INFO: Acknowledgment sent {"connection_id":175939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:58:39] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:58:39] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:58:39] local.INFO: IMEI packet received {"connection_id":175940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":175940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:58:42] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:58:42] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:58:42] local.INFO: IMEI packet received {"connection_id":175940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":175940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:58:43] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a3f768012d0ead8006e78910000701342d..."} 
[2026-09-10 00:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a3f768012d0ead8006e78910000701342d..."} 
[2026-09-10 00:58:43] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a3f768012d0ead8006e78910000701342d..."} 
[2026-09-10 00:58:43] local.INFO: Packet analysis {"connection_id":175940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a3"} 
[2026-09-10 00:58:43] local.INFO: Extracted packet for processing {"connection_id":175940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a3"} 
[2026-09-10 00:58:43] local.INFO: GPS Element Parsed {"raw_longitude":755936640,"raw_latitude":115837200,"longitude_deg":75.593664,"latitude_deg":11.58372,"altitude":7,"angle":308,"satellites":45,"speed":22,"hex_longitude":"2d0ead80","hex_latitude":"06e78910","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979406080001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403388675674603520,"note":"Value kept but may cause issues"} 
[2026-09-10 00:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1062779172968337408,"note":"Value kept but may cause issues"} 
[2026-09-10 00:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982065000,"timestamp_ms":1788982065000,"timestamp_seconds":1788982065,"priority":1,"record_length":96,"hex_timestamp":"000001a087a3f768"} 
[2026-09-10 00:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:58: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-09-10 00: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 00:58:43] 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-09-10 00: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-09-10 00:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979406080001,"66":27234,"177":206,"80":6400,"24":22,"16":403388675674603520,"45":1062779172968337408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 00:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979406080001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:58:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 00:58:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403388675674603520,"km_value":403388675674603.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1062779172968337408,"description":"Unknown IO ID 45"} 
[2026-09-10 00:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979406080001,"power":27234,"unknown_177":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":1062779172968337408}} 
[2026-09-10 00:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":175940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:58:43] local.INFO: GPS data processed {"connection_id":175940,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:58:43] local.INFO: Acknowledgment sent {"connection_id":175940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:59:14] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a42648012d0e928006e79ff80006013e2b..."} 
[2026-09-10 00:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a42648012d0e928006e79ff80006013e2b..."} 
[2026-09-10 00:59:14] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a42648012d0e928006e79ff80006013e2b..."} 
[2026-09-10 00:59:14] local.INFO: Packet analysis {"connection_id":175940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 00:59:14] local.INFO: Extracted packet for processing {"connection_id":175940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 00:59:14] local.INFO: GPS Element Parsed {"raw_longitude":755929728,"raw_latitude":115843064,"longitude_deg":75.5929728,"latitude_deg":11.5843064,"altitude":6,"angle":318,"satellites":43,"speed":35,"hex_longitude":"2d0e9280","hex_latitude":"06e79ff8","is_valid_coordinates":true} 
[2026-09-10 00:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 00:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979408640001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403389109466300416,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057642254644613120,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788982077000,"timestamp_ms":1788982077000,"timestamp_seconds":1788982077,"priority":1,"record_length":96,"hex_timestamp":"000001a087a42648"} 
[2026-09-10 00:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:59:14] 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-09-10 00:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 00:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979408640001,"66":27234,"177":206,"80":6400,"24":35,"16":403389109466300416,"45":1057642254644613120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 00:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979408640001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:59:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 00:59:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403389109466300416,"km_value":403389109466300.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057642254644613120,"description":"Unknown IO ID 45"} 
[2026-09-10 00:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979408640001,"power":27234,"unknown_177":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":1057642254644613120}} 
[2026-09-10 00:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":175940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:59:14] local.INFO: GPS data processed {"connection_id":175940,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:59:14] local.INFO: Acknowledgment sent {"connection_id":175940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:59:38] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:38] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:38] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 00:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 00:59:38] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:38] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:38] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:59:42] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:42] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 00:59:42] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 00:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 00:59:43] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a435e8012d0e8a0006e7ab580006014b2d..."} 
[2026-09-10 00:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a435e8012d0e8a0006e7ab580006014b2d..."} 
[2026-09-10 00:59:43] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a435e8012d0e8a0006e7ab580006014b2d..."} 
[2026-09-10 00:59:43] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 00:59:43] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 00:59:43] local.INFO: GPS Element Parsed {"raw_longitude":755927552,"raw_latitude":115845976,"longitude_deg":75.5927552,"latitude_deg":11.5845976,"altitude":6,"angle":331,"satellites":45,"speed":35,"hex_longitude":"2d0e8a00","hex_latitude":"06e7ab58","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979411712001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403389285559959552,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050042430274926592,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982081000,"timestamp_ms":1788982081000,"timestamp_seconds":1788982081,"priority":1,"record_length":96,"hex_timestamp":"000001a087a435e8"} 
[2026-09-10 00:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 00:59:43] 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-09-10 00: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-09-10 00:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979411712001,"66":27245,"177":206,"80":6400,"24":35,"16":403389285559959552,"45":1050042430274926592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 00:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979411712001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:59:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 00:59:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403389285559959552,"km_value":403389285559959.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050042430274926592,"description":"Unknown IO ID 45"} 
[2026-09-10 00:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979411712001,"power":27245,"unknown_177":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":1050042430274926592}} 
[2026-09-10 00:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:59:43] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:59:43] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 00:59:47] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a44588012d0e850006e7b7b0000501592d..."} 
[2026-09-10 00:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a44588012d0e850006e7b7b0000501592d..."} 
[2026-09-10 00:59:47] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a44588012d0e850006e7b7b0000501592d..."} 
[2026-09-10 00:59:47] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 00:59:47] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 00:59:47] local.INFO: GPS Element Parsed {"raw_longitude":755926272,"raw_latitude":115849136,"longitude_deg":75.5926272,"latitude_deg":11.5849136,"altitude":5,"angle":345,"satellites":45,"speed":33,"hex_longitude":"2d0e8500","hex_latitude":"06e7b7b0","is_valid_coordinates":true} 
[2026-09-10 00: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-09-10 00:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979412736001,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403389448768716800,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047649892973631488,"note":"Value kept but may cause issues"} 
[2026-09-10 00:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 00:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788982085000,"timestamp_ms":1788982085000,"timestamp_seconds":1788982085,"priority":1,"record_length":96,"hex_timestamp":"000001a087a44588"} 
[2026-09-10 00:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 00:59: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-09-10 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 00:59:47] 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-09-10 00: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-09-10 00:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 00:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 00:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 00:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 00:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 00:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 00:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 00:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979412736001,"66":27213,"177":206,"80":6400,"24":33,"16":403389448768716800,"45":1047649892973631488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 00:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 00:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 00:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979412736001,"description":"Unknown IO ID 0"} 
[2026-09-10 00:59:47] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 00:59:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 00:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403389448768716800,"km_value":403389448768716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 00:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047649892973631488,"description":"Unknown IO ID 45"} 
[2026-09-10 00:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979412736001,"power":27213,"unknown_177":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":1047649892973631488}} 
[2026-09-10 00:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 00:59:47] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-10 00:59:47] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:00:19] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a47468012d0e7e0006e7d988000401592c..."} 
[2026-09-10 01:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a47468012d0e7e0006e7d988000401592c..."} 
[2026-09-10 01:00:19] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a47468012d0e7e0006e7d988000401592c..."} 
[2026-09-10 01:00:19] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 01:00:19] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 01:00:19] local.INFO: GPS Element Parsed {"raw_longitude":755924480,"raw_latitude":115857800,"longitude_deg":75.592448,"latitude_deg":11.58578,"altitude":4,"angle":345,"satellites":44,"speed":20,"hex_longitude":"2d0e7e00","hex_latitude":"06e7d988","is_valid_coordinates":true} 
[2026-09-10 01:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979413760001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403389882560413696,"note":"Value kept but may cause issues"} 
[2026-09-10 01:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046242518090887168,"note":"Value kept but may cause issues"} 
[2026-09-10 01:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788982097000,"timestamp_ms":1788982097000,"timestamp_seconds":1788982097,"priority":1,"record_length":96,"hex_timestamp":"000001a087a47468"} 
[2026-09-10 01:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:00: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-09-10 01:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979413760001,"66":27310,"177":206,"80":6400,"24":20,"16":403389882560413696,"45":1046242518090887168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 01:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979413760001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:00:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 01:00:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403389882560413696,"km_value":403389882560413.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046242518090887168,"description":"Unknown IO ID 45"} 
[2026-09-10 01:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979413760001,"power":27310,"unknown_177":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":1046242518090887168}} 
[2026-09-10 01:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:00:19] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:00:19] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:00:37] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:00:37] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:00:37] local.INFO: IMEI packet received {"connection_id":176169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":176169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:00:42] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:00:42] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:00:42] local.INFO: IMEI packet received {"connection_id":176169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":176169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:00:43] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a4c670012d0e76c006e7f9880006015a2c..."} 
[2026-09-10 01:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a4c670012d0e76c006e7f9880006015a2c..."} 
[2026-09-10 01:00:43] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a4c670012d0e76c006e7f9880006015a2c..."} 
[2026-09-10 01:00:43] local.INFO: Packet analysis {"connection_id":176169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 01:00:43] local.INFO: Extracted packet for processing {"connection_id":176169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a4"} 
[2026-09-10 01:00:43] local.INFO: GPS Element Parsed {"raw_longitude":755922624,"raw_latitude":115865992,"longitude_deg":75.5922624,"latitude_deg":11.5865992,"altitude":6,"angle":346,"satellites":44,"speed":18,"hex_longitude":"2d0e76c0","hex_latitude":"06e7f988","is_valid_coordinates":true} 
[2026-09-10 01:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979416832001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403390290582306816,"note":"Value kept but may cause issues"} 
[2026-09-10 01:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044272193256130560,"note":"Value kept but may cause issues"} 
[2026-09-10 01:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982118000,"timestamp_ms":1788982118000,"timestamp_seconds":1788982118,"priority":1,"record_length":96,"hex_timestamp":"000001a087a4c670"} 
[2026-09-10 01:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 01:00:43] 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-09-10 01:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979416832001,"66":27213,"177":206,"80":6400,"24":18,"16":403390290582306816,"45":1044272193256130560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 01:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979416832001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:00:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 01:00:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403390290582306816,"km_value":403390290582306.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044272193256130560,"description":"Unknown IO ID 45"} 
[2026-09-10 01:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979416832001,"power":27213,"unknown_177":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1044272193256130560}} 
[2026-09-10 01:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":176169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:00:43] local.INFO: GPS data processed {"connection_id":176169,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:00:43] local.INFO: Acknowledgment sent {"connection_id":176169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:01:14] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a51878012d0e700006e81ac8000a015d2a..."} 
[2026-09-10 01:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a51878012d0e700006e81ac8000a015d2a..."} 
[2026-09-10 01:01:14] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a51878012d0e700006e81ac8000a015d2a..."} 
[2026-09-10 01:01:14] local.INFO: Packet analysis {"connection_id":176169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a5"} 
[2026-09-10 01:01:14] local.INFO: Extracted packet for processing {"connection_id":176169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a5"} 
[2026-09-10 01:01:14] local.INFO: GPS Element Parsed {"raw_longitude":755920896,"raw_latitude":115874504,"longitude_deg":75.5920896,"latitude_deg":11.5874504,"altitude":10,"angle":349,"satellites":42,"speed":0,"hex_longitude":"2d0e7000","hex_latitude":"06e81ac8","is_valid_coordinates":true} 
[2026-09-10 01:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979422208001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403390711489101824,"note":"Value kept but may cause issues"} 
[2026-09-10 01:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1042231499677075456,"note":"Value kept but may cause issues"} 
[2026-09-10 01:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788982139000,"timestamp_ms":1788982139000,"timestamp_seconds":1788982139,"priority":1,"record_length":96,"hex_timestamp":"000001a087a51878"} 
[2026-09-10 01:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979422208001,"66":27300,"176":206,"80":6400,"24":0,"16":403390711489101824,"45":1042231499677075456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 01:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979422208001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:01:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 01:01:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403390711489101824,"km_value":403390711489101.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1042231499677075456,"description":"Unknown IO ID 45"} 
[2026-09-10 01:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979422208001,"power":27300,"unknown_176":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1042231499677075456}} 
[2026-09-10 01:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":176169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:01:14] local.INFO: GPS data processed {"connection_id":176169,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:01:14] local.INFO: Acknowledgment sent {"connection_id":176169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:01:37] local.INFO: TCP Data received {"connection_id":177344,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:01:37] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:01:37] local.INFO: IMEI packet received {"connection_id":177344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":177344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:01:42] local.INFO: TCP Data received {"connection_id":177344,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:01:42] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:01:42] local.INFO: IMEI packet received {"connection_id":177344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":177344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:01:44] local.INFO: TCP Data received {"connection_id":177344,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a56a80012d0e700006e82010000b015d2b..."} 
[2026-09-10 01:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a56a80012d0e700006e82010000b015d2b..."} 
[2026-09-10 01:01:44] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a56a80012d0e700006e82010000b015d2b..."} 
[2026-09-10 01:01:44] local.INFO: Packet analysis {"connection_id":177344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a5"} 
[2026-09-10 01:01:44] local.INFO: Extracted packet for processing {"connection_id":177344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a5"} 
[2026-09-10 01:01:44] local.INFO: GPS Element Parsed {"raw_longitude":755920896,"raw_latitude":115875856,"longitude_deg":75.5920896,"latitude_deg":11.5875856,"altitude":11,"angle":349,"satellites":43,"speed":0,"hex_longitude":"2d0e7000","hex_latitude":"06e82010","is_valid_coordinates":true} 
[2026-09-10 01:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979427584001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403390784503545856,"note":"Value kept but may cause issues"} 
[2026-09-10 01:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040331543586457600,"note":"Value kept but may cause issues"} 
[2026-09-10 01:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788982160000,"timestamp_ms":1788982160000,"timestamp_seconds":1788982160,"priority":1,"record_length":96,"hex_timestamp":"000001a087a56a80"} 
[2026-09-10 01:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 01:01:44] 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-09-10 01:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979427584001,"66":27321,"176":206,"80":6400,"24":0,"16":403390784503545856,"45":1040331543586457600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 01:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979427584001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:01:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 01:01:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403390784503545856,"km_value":403390784503545.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040331543586457600,"description":"Unknown IO ID 45"} 
[2026-09-10 01:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979427584001,"power":27321,"unknown_176":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1040331543586457600}} 
[2026-09-10 01:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":177344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:01:44] local.INFO: GPS data processed {"connection_id":177344,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:01:44] local.INFO: Acknowledgment sent {"connection_id":177344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:02:15] local.INFO: TCP Data received {"connection_id":177344,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a5bc88012d0e6f8006e821b00009015d2c..."} 
[2026-09-10 01:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a5bc88012d0e6f8006e821b00009015d2c..."} 
[2026-09-10 01:02:15] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a5bc88012d0e6f8006e821b00009015d2c..."} 
[2026-09-10 01:02:15] local.INFO: Packet analysis {"connection_id":177344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a5"} 
[2026-09-10 01:02:15] local.INFO: Extracted packet for processing {"connection_id":177344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a5"} 
[2026-09-10 01:02:15] local.INFO: GPS Element Parsed {"raw_longitude":755920768,"raw_latitude":115876272,"longitude_deg":75.5920768,"latitude_deg":11.5876272,"altitude":9,"angle":349,"satellites":44,"speed":2,"hex_longitude":"2d0e6f80","hex_latitude":"06e821b0","is_valid_coordinates":true} 
[2026-09-10 01:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979432960001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403390801683415040,"note":"Value kept but may cause issues"} 
[2026-09-10 01:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040331543586803712,"note":"Value kept but may cause issues"} 
[2026-09-10 01:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788982181000,"timestamp_ms":1788982181000,"timestamp_seconds":1788982181,"priority":1,"record_length":96,"hex_timestamp":"000001a087a5bc88"} 
[2026-09-10 01:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:02:15] 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-09-10 01:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979432960001,"66":27343,"176":206,"80":6400,"24":2,"16":403390801683415040,"45":1040331543586803712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 01:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979432960001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:02:15] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 01:02:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403390801683415040,"km_value":403390801683415.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040331543586803712,"description":"Unknown IO ID 45"} 
[2026-09-10 01:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979432960001,"power":27343,"unknown_176":206,"unknown_80":6400,"ignition":2,"odometer":null,"unknown_45":1040331543586803712}} 
[2026-09-10 01:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":177344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:02:15] local.INFO: GPS data processed {"connection_id":177344,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:02:15] local.INFO: Acknowledgment sent {"connection_id":177344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:02:42] local.INFO: TCP Data received {"connection_id":178727,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:02:42] local.INFO: Processing buffer {"connection_id":178727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:02:42] local.INFO: IMEI packet received {"connection_id":178727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":178727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:02:55] local.INFO: TCP Data received {"connection_id":178727,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:02:55] local.INFO: Processing buffer {"connection_id":178727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:02:55] local.INFO: IMEI packet received {"connection_id":178727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":178727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:02:59] local.INFO: TCP Data received {"connection_id":178727,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a7b088012d0e2b0006e952f00019014e22..."} 
[2026-09-10 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a7b088012d0e2b0006e952f00019014e22..."} 
[2026-09-10 01:02:59] local.INFO: Processing buffer {"connection_id":178727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a7b088012d0e2b0006e952f00019014e22..."} 
[2026-09-10 01:02:59] local.INFO: Packet analysis {"connection_id":178727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a7"} 
[2026-09-10 01:02:59] local.INFO: Extracted packet for processing {"connection_id":178727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a7"} 
[2026-09-10 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":755903232,"raw_latitude":115954416,"longitude_deg":75.5903232,"latitude_deg":11.5954416,"altitude":25,"angle":334,"satellites":34,"speed":31,"hex_longitude":"2d0e2b00","hex_latitude":"06e952f0","is_valid_coordinates":true} 
[2026-09-10 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979469312001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403394705808687104,"note":"Value kept but may cause issues"} 
[2026-09-10 01:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022739357561085952,"note":"Value kept but may cause issues"} 
[2026-09-10 01:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788982309000,"timestamp_ms":1788982309000,"timestamp_seconds":1788982309,"priority":1,"record_length":96,"hex_timestamp":"000001a087a7b088"} 
[2026-09-10 01:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:02: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-09-10 01:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979469312001,"66":27365,"242":206,"80":6400,"24":31,"16":403394705808687104,"45":1022739357561085952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-09-10 01:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979469312001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:02:59] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-10 01:02:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403394705808687104,"km_value":403394705808687.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022739357561085952,"description":"Unknown IO ID 45"} 
[2026-09-10 01:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979469312001,"power":27365,"unknown_242":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":1022739357561085952}} 
[2026-09-10 01:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":178727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:02:59] local.INFO: GPS data processed {"connection_id":178727,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:02:59] local.INFO: Acknowledgment sent {"connection_id":178727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:03:00] local.INFO: TCP Data received {"connection_id":178727,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a7b858012d0e278006e958100018013b23..."} 
[2026-09-10 01:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a7b858012d0e278006e958100018013b23..."} 
[2026-09-10 01:03:00] local.INFO: Processing buffer {"connection_id":178727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a7b858012d0e278006e958100018013b23..."} 
[2026-09-10 01:03:00] local.INFO: Packet analysis {"connection_id":178727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a7"} 
[2026-09-10 01:03:00] local.INFO: Extracted packet for processing {"connection_id":178727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a7"} 
[2026-09-10 01:03:00] local.INFO: GPS Element Parsed {"raw_longitude":755902336,"raw_latitude":115955728,"longitude_deg":75.5902336,"latitude_deg":11.5955728,"altitude":24,"angle":315,"satellites":35,"speed":30,"hex_longitude":"2d0e2780","hex_latitude":"06e95810","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979471104001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403394783118098432,"note":"Value kept but may cause issues"} 
[2026-09-10 01:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020909770213879808,"note":"Value kept but may cause issues"} 
[2026-09-10 01:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788982311000,"timestamp_ms":1788982311000,"timestamp_seconds":1788982311,"priority":1,"record_length":96,"hex_timestamp":"000001a087a7b858"} 
[2026-09-10 01:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:03: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-09-10 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 01:03: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-09-10 01: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-09-10 01:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979471104001,"66":27376,"242":206,"80":6400,"24":30,"16":403394783118098432,"45":1020909770213879808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-09-10 01:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979471104001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:03:00] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-10 01:03:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403394783118098432,"km_value":403394783118098.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020909770213879808,"description":"Unknown IO ID 45"} 
[2026-09-10 01:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979471104001,"power":27376,"unknown_242":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":1020909770213879808}} 
[2026-09-10 01:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":178727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:03:00] local.INFO: GPS data processed {"connection_id":178727,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:03:00] local.INFO: Acknowledgment sent {"connection_id":178727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:03:38] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:03:38] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:03:38] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:03:42] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:03:42] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:03:42] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:03:43] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a7fac0012d0e0c4006e96ff8001a013a28..."} 
[2026-09-10 01:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a7fac0012d0e0c4006e96ff8001a013a28..."} 
[2026-09-10 01:03:43] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a7fac0012d0e0c4006e96ff8001a013a28..."} 
[2026-09-10 01:03:43] local.INFO: Packet analysis {"connection_id":176170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a7"} 
[2026-09-10 01:03:43] local.INFO: Extracted packet for processing {"connection_id":176170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a7"} 
[2026-09-10 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":755895360,"raw_latitude":115961848,"longitude_deg":75.589536,"latitude_deg":11.5961848,"altitude":26,"angle":314,"satellites":40,"speed":18,"hex_longitude":"2d0e0c40","hex_latitude":"06e96ff8","is_valid_coordinates":true} 
[2026-09-10 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979471616001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403395229794697216,"note":"Value kept but may cause issues"} 
[2026-09-10 01:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1019924607795728384,"note":"Value kept but may cause issues"} 
[2026-09-10 01:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982328000,"timestamp_ms":1788982328000,"timestamp_seconds":1788982328,"priority":1,"record_length":96,"hex_timestamp":"000001a087a7fac0"} 
[2026-09-10 01:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 01:03:43] 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-09-10 01:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979471616001,"66":27213,"2":206,"80":6400,"24":18,"16":403395229794697216,"45":1019924607795728384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-10 01:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979471616001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:03:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403395229794697216,"km_value":403395229794697.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1019924607795728384,"description":"Unknown IO ID 45"} 
[2026-09-10 01:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979471616001,"power":27213,"power_alt":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1019924607795728384}} 
[2026-09-10 01:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":176170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:03:43] local.INFO: GPS data processed {"connection_id":176170,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:03:43] local.INFO: Acknowledgment sent {"connection_id":176170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:04:15] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a83170012d0df30006e98810001d01382b..."} 
[2026-09-10 01:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a83170012d0df30006e98810001d01382b..."} 
[2026-09-10 01:04:15] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a83170012d0df30006e98810001d01382b..."} 
[2026-09-10 01:04:15] local.INFO: Packet analysis {"connection_id":176170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a8"} 
[2026-09-10 01:04:15] local.INFO: Extracted packet for processing {"connection_id":176170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a8"} 
[2026-09-10 01:04:15] local.INFO: GPS Element Parsed {"raw_longitude":755888896,"raw_latitude":115968016,"longitude_deg":75.5888896,"latitude_deg":11.5968016,"altitude":29,"angle":312,"satellites":43,"speed":26,"hex_longitude":"2d0df300","hex_latitude":"06e98810","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979475968001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403395659291426816,"note":"Value kept but may cause issues"} 
[2026-09-10 01:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012254414681929728,"note":"Value kept but may cause issues"} 
[2026-09-10 01:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788982342000,"timestamp_ms":1788982342000,"timestamp_seconds":1788982342,"priority":1,"record_length":96,"hex_timestamp":"000001a087a83170"} 
[2026-09-10 01:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01: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-09-10 01:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979475968001,"66":27158,"2":206,"80":6400,"24":26,"16":403395659291426816,"45":1012254414681929728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-10 01:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979475968001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:04:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403395659291426816,"km_value":403395659291426.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012254414681929728,"description":"Unknown IO ID 45"} 
[2026-09-10 01:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979475968001,"power":27158,"power_alt":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":1012254414681929728}} 
[2026-09-10 01:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":176170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:04:15] local.INFO: GPS data processed {"connection_id":176170,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:04:15] local.INFO: Acknowledgment sent {"connection_id":176170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:04:37] local.INFO: TCP Data received {"connection_id":177345,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:04:37] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:04:37] local.INFO: IMEI packet received {"connection_id":177345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":177345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:04:41] local.INFO: TCP Data received {"connection_id":177345,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:04:41] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:04:41] local.INFO: IMEI packet received {"connection_id":177345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":177345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:04:43] local.INFO: TCP Data received {"connection_id":177345,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a96dd8012d0d614006e9fea8001a013e28..."} 
[2026-09-10 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a96dd8012d0d614006e9fea8001a013e28..."} 
[2026-09-10 01:04:43] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a96dd8012d0d614006e9fea8001a013e28..."} 
[2026-09-10 01:04:43] local.INFO: Packet analysis {"connection_id":177345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:04:43] local.INFO: Extracted packet for processing {"connection_id":177345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:04:43] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":115998376,"longitude_deg":75.5851584,"latitude_deg":11.5998376,"altitude":26,"angle":318,"satellites":40,"speed":20,"hex_longitude":"2d0d6140","hex_latitude":"06e9fea8","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979500032001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403397995753635840,"note":"Value kept but may cause issues"} 
[2026-09-10 01:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964614774882912256,"note":"Value kept but may cause issues"} 
[2026-09-10 01:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982423000,"timestamp_ms":1788982423000,"timestamp_seconds":1788982423,"priority":1,"record_length":96,"hex_timestamp":"000001a087a96dd8"} 
[2026-09-10 01:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:04: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-09-10 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:04:43] 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-09-10 01: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-09-10 01:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979500032001,"66":27343,"250":206,"80":6400,"24":20,"16":403397995753635840,"45":964614774882912256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-09-10 01:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979500032001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:04:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-10 01:04:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403397995753635840,"km_value":403397995753635.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":964614774882912256,"description":"Unknown IO ID 45"} 
[2026-09-10 01:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979500032001,"power":27343,"unknown_250":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":964614774882912256}} 
[2026-09-10 01:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":177345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:04:43] local.INFO: GPS data processed {"connection_id":177345,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:04:43] local.INFO: Acknowledgment sent {"connection_id":177345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:05:24] local.INFO: TCP Data received {"connection_id":177345,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a971c0012d0d608006ea00200019014e27..."} 
[2026-09-10 01:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a971c0012d0d608006ea00200019014e27..."} 
[2026-09-10 01:05:24] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a971c0012d0d608006ea00200019014e27..."} 
[2026-09-10 01:05:24] local.INFO: Packet analysis {"connection_id":177345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:05:24] local.INFO: Extracted packet for processing {"connection_id":177345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:05:24] local.INFO: GPS Element Parsed {"raw_longitude":755851392,"raw_latitude":115998752,"longitude_deg":75.5851392,"latitude_deg":11.5998752,"altitude":25,"angle":334,"satellites":39,"speed":17,"hex_longitude":"2d0d6080","hex_latitude":"06ea0020","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979500288001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403398017228472320,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193673758720,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788982424000,"timestamp_ms":1788982424000,"timestamp_seconds":1788982424,"priority":1,"record_length":96,"hex_timestamp":"000001a087a971c0"} 
[2026-09-10 01:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:05:24] 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-09-10 01: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-09-10 01:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979500288001,"66":27213,"250":206,"80":6400,"24":17,"16":403398017228472320,"45":964122193673758720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-09-10 01:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979500288001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:05:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-10 01:05:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403398017228472320,"km_value":403398017228472.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193673758720,"description":"Unknown IO ID 45"} 
[2026-09-10 01:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979500288001,"power":27213,"unknown_250":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":964122193673758720}} 
[2026-09-10 01:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":177345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:05:24] local.INFO: GPS data processed {"connection_id":177345,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:05:24] local.INFO: Acknowledgment sent {"connection_id":177345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:05:42] local.INFO: TCP Data received {"connection_id":177346,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:42] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:42] local.INFO: IMEI packet received {"connection_id":177346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":177346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:05:43] local.INFO: TCP Data received {"connection_id":177346,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:43] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:43] local.INFO: IMEI packet received {"connection_id":177346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":177346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:05:47] local.INFO: TCP Data received {"connection_id":177346,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:47] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:05:47] local.INFO: IMEI packet received {"connection_id":177346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":177346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:05:48] local.INFO: TCP Data received {"connection_id":177346,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a975a8012d0d600006ea01c00019016628..."} 
[2026-09-10 01:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a975a8012d0d600006ea01c00019016628..."} 
[2026-09-10 01:05:48] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a975a8012d0d600006ea01c00019016628..."} 
[2026-09-10 01:05:48] local.INFO: Packet analysis {"connection_id":177346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:05:48] local.INFO: Extracted packet for processing {"connection_id":177346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:05:48] local.INFO: GPS Element Parsed {"raw_longitude":755851264,"raw_latitude":115999168,"longitude_deg":75.5851264,"latitude_deg":11.5999168,"altitude":25,"angle":358,"satellites":40,"speed":17,"hex_longitude":"2d0d6000","hex_latitude":"06ea01c0","is_valid_coordinates":true} 
[2026-09-10 01:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979500544001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403398038703308800,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963911087441321984,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788982425000,"timestamp_ms":1788982425000,"timestamp_seconds":1788982425,"priority":1,"record_length":96,"hex_timestamp":"000001a087a975a8"} 
[2026-09-10 01:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:05: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-09-10 01:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979500544001,"66":27213,"250":206,"80":6400,"24":17,"16":403398038703308800,"45":963911087441321984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-09-10 01:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979500544001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:05:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-10 01:05:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403398038703308800,"km_value":403398038703308.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":963911087441321984,"description":"Unknown IO ID 45"} 
[2026-09-10 01:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979500544001,"power":27213,"unknown_250":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":963911087441321984}} 
[2026-09-10 01:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":177346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:05:48] local.INFO: GPS data processed {"connection_id":177346,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:05:48] local.INFO: Acknowledgment sent {"connection_id":177346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:05:51] local.INFO: TCP Data received {"connection_id":177346,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087a97d78012d0d60c006ea05880017000c24..."} 
[2026-09-10 01:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087a97d78012d0d60c006ea05880017000c24..."} 
[2026-09-10 01:05:51] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087a97d78012d0d60c006ea05880017000c24..."} 
[2026-09-10 01:05:51] local.INFO: Packet analysis {"connection_id":177346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:05:51] local.INFO: Extracted packet for processing {"connection_id":177346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087a9"} 
[2026-09-10 01:05:51] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116000136,"longitude_deg":75.5851456,"latitude_deg":11.6000136,"altitude":23,"angle":12,"satellites":36,"speed":22,"hex_longitude":"2d0d60c0","hex_latitude":"06ea0588","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979500800001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403398085947949056,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963770349953073152,"note":"Value kept but may cause issues"} 
[2026-09-10 01:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788982427000,"timestamp_ms":1788982427000,"timestamp_seconds":1788982427,"priority":1,"record_length":96,"hex_timestamp":"000001a087a97d78"} 
[2026-09-10 01:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:05: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-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:05:51] 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-09-10 01: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-09-10 01:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979500800001,"66":27343,"250":206,"80":6400,"24":22,"16":403398085947949056,"45":963770349953073152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-09-10 01:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979500800001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:05:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-10 01:05:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403398085947949056,"km_value":403398085947949.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":963770349953073152,"description":"Unknown IO ID 45"} 
[2026-09-10 01:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979500800001,"power":27343,"unknown_250":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":963770349953073152}} 
[2026-09-10 01:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":177346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:05:51] local.INFO: GPS data processed {"connection_id":177346,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:05:51] local.INFO: Acknowledgment sent {"connection_id":177346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:06:34] local.INFO: TCP Data received {"connection_id":178728,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:34] local.INFO: Processing buffer {"connection_id":178728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:34] local.INFO: IMEI packet received {"connection_id":178728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":178728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:06:37] local.INFO: TCP Data received {"connection_id":178728,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:37] local.INFO: Processing buffer {"connection_id":178728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:37] local.INFO: IMEI packet received {"connection_id":178728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":178728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:06:39] local.INFO: TCP Data received {"connection_id":178728,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:39] local.INFO: Processing buffer {"connection_id":178728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:06:39] local.INFO: IMEI packet received {"connection_id":178728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":178728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:06:41] local.INFO: TCP Data received {"connection_id":178728,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ab2740012d0cb50006eb3c40000e014823..."} 
[2026-09-10 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ab2740012d0cb50006eb3c40000e014823..."} 
[2026-09-10 01:06:41] local.INFO: Processing buffer {"connection_id":178728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ab2740012d0cb50006eb3c40000e014823..."} 
[2026-09-10 01:06:41] local.INFO: Packet analysis {"connection_id":178728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:06:41] local.INFO: Extracted packet for processing {"connection_id":178728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:06:41] local.INFO: GPS Element Parsed {"raw_longitude":755807488,"raw_latitude":116079680,"longitude_deg":75.5807488,"latitude_deg":11.607968,"altitude":14,"angle":328,"satellites":35,"speed":54,"hex_longitude":"2d0cb500","hex_latitude":"06eb3c40","is_valid_coordinates":true} 
[2026-09-10 01:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979527424001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403402758872367104,"note":"Value kept but may cause issues"} 
[2026-09-10 01:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":922182422162694144,"note":"Value kept but may cause issues"} 
[2026-09-10 01:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788982536000,"timestamp_ms":1788982536000,"timestamp_seconds":1788982536,"priority":1,"record_length":96,"hex_timestamp":"000001a087ab2740"} 
[2026-09-10 01:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:06: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-09-10 01:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979527424001,"66":27343,"238":206,"80":6400,"24":54,"16":403402758872367104,"45":922182422162694144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-10 01:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979527424001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:06:41] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-10 01:06:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403402758872367104,"km_value":403402758872367.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":922182422162694144,"description":"Unknown IO ID 45"} 
[2026-09-10 01:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979527424001,"power":27343,"unknown_238":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":922182422162694144}} 
[2026-09-10 01:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":178728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:06:41] local.INFO: GPS data processed {"connection_id":178728,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:06:41] local.INFO: Acknowledgment sent {"connection_id":178728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:06:42] local.INFO: TCP Data received {"connection_id":178728,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ab4298012d0c9f4006eb59480012014225..."} 
[2026-09-10 01:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ab4298012d0c9f4006eb59480012014225..."} 
[2026-09-10 01:06:42] local.INFO: Processing buffer {"connection_id":178728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ab4298012d0c9f4006eb59480012014225..."} 
[2026-09-10 01:06:42] local.INFO: Packet analysis {"connection_id":178728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:06:42] local.INFO: Extracted packet for processing {"connection_id":178728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:06:42] local.INFO: GPS Element Parsed {"raw_longitude":755801920,"raw_latitude":116087112,"longitude_deg":75.580192,"latitude_deg":11.6087112,"altitude":18,"angle":322,"satellites":37,"speed":49,"hex_longitude":"2d0c9f40","hex_latitude":"06eb5948","is_valid_coordinates":true} 
[2026-09-10 01:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979529216001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403403205548965888,"note":"Value kept but may cause issues"} 
[2026-09-10 01:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915638128956162048,"note":"Value kept but may cause issues"} 
[2026-09-10 01:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788982543000,"timestamp_ms":1788982543000,"timestamp_seconds":1788982543,"priority":1,"record_length":96,"hex_timestamp":"000001a087ab4298"} 
[2026-09-10 01:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:06: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-09-10 01:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979529216001,"66":27321,"238":206,"80":6400,"24":49,"16":403403205548965888,"45":915638128956162048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-10 01:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979529216001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:06:42] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-10 01:06:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403403205548965888,"km_value":403403205548965.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":915638128956162048,"description":"Unknown IO ID 45"} 
[2026-09-10 01:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979529216001,"power":27321,"unknown_238":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":915638128956162048}} 
[2026-09-10 01:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":178728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:06:42] local.INFO: GPS data processed {"connection_id":178728,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:06:42] local.INFO: Acknowledgment sent {"connection_id":178728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:07:14] local.INFO: TCP Data received {"connection_id":178728,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ab4e50012d0c97c006eb65080014014e25..."} 
[2026-09-10 01:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ab4e50012d0c97c006eb65080014014e25..."} 
[2026-09-10 01:07:14] local.INFO: Processing buffer {"connection_id":178728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ab4e50012d0c97c006eb65080014014e25..."} 
[2026-09-10 01:07:14] local.INFO: Packet analysis {"connection_id":178728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:07:14] local.INFO: Extracted packet for processing {"connection_id":178728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:07:14] local.INFO: GPS Element Parsed {"raw_longitude":755800000,"raw_latitude":116090120,"longitude_deg":75.58,"latitude_deg":11.609012,"altitude":20,"angle":334,"satellites":37,"speed":44,"hex_longitude":"2d0c97c0","hex_latitude":"06eb6508","is_valid_coordinates":true} 
[2026-09-10 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-09-10 01:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979531008001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403403377347657728,"note":"Value kept but may cause issues"} 
[2026-09-10 01:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909516048214607872,"note":"Value kept but may cause issues"} 
[2026-09-10 01:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788982546000,"timestamp_ms":1788982546000,"timestamp_seconds":1788982546,"priority":1,"record_length":96,"hex_timestamp":"000001a087ab4e50"} 
[2026-09-10 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-09-10 01:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:07:14] 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-09-10 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-09-10 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-09-10 01:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979531008001,"66":27234,"238":206,"80":6400,"24":44,"16":403403377347657728,"45":909516048214607872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-10 01:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979531008001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:07:14] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-10 01:07:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403403377347657728,"km_value":403403377347657.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":909516048214607872,"description":"Unknown IO ID 45"} 
[2026-09-10 01:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979531008001,"power":27234,"unknown_238":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":909516048214607872}} 
[2026-09-10 01:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":178728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:07:14] local.INFO: GPS data processed {"connection_id":178728,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:07:14] local.INFO: Acknowledgment sent {"connection_id":178728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:07:37] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:37] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:37] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:07:38] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:38] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:38] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:07:43] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:43] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:07:43] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:07:44] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ab7560012d0c89c006eb8288001a013e27..."} 
[2026-09-10 01:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ab7560012d0c89c006eb8288001a013e27..."} 
[2026-09-10 01:07:44] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ab7560012d0c89c006eb8288001a013e27..."} 
[2026-09-10 01:07:44] local.INFO: Packet analysis {"connection_id":176171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:07:44] local.INFO: Extracted packet for processing {"connection_id":176171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:07:44] local.INFO: GPS Element Parsed {"raw_longitude":755796416,"raw_latitude":116097672,"longitude_deg":75.5796416,"latitude_deg":11.6097672,"altitude":26,"angle":318,"satellites":39,"speed":26,"hex_longitude":"2d0c89c0","hex_latitude":"06eb8288","is_valid_coordinates":true} 
[2026-09-10 01:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979531776001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403403781074583552,"note":"Value kept but may cause issues"} 
[2026-09-10 01:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907404985890048000,"note":"Value kept but may cause issues"} 
[2026-09-10 01:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788982556000,"timestamp_ms":1788982556000,"timestamp_seconds":1788982556,"priority":1,"record_length":96,"hex_timestamp":"000001a087ab7560"} 
[2026-09-10 01:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:07:44] 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-09-10 01:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979531776001,"66":27267,"238":206,"80":6400,"24":26,"16":403403781074583552,"45":907404985890048000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-10 01:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979531776001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:07:44] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-10 01:07:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403403781074583552,"km_value":403403781074583.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":907404985890048000,"description":"Unknown IO ID 45"} 
[2026-09-10 01:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979531776001,"power":27267,"unknown_238":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":907404985890048000}} 
[2026-09-10 01:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":176171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:07:44] local.INFO: GPS data processed {"connection_id":176171,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:07:44] local.INFO: Acknowledgment sent {"connection_id":176171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:08:16] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ab88e8012d0c81c006eb8d080018014a26..."} 
[2026-09-10 01:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ab88e8012d0c81c006eb8d080018014a26..."} 
[2026-09-10 01:08:16] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ab88e8012d0c81c006eb8d080018014a26..."} 
[2026-09-10 01:08:16] local.INFO: Packet analysis {"connection_id":176171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:08:16] local.INFO: Extracted packet for processing {"connection_id":176171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:08:16] local.INFO: GPS Element Parsed {"raw_longitude":755794368,"raw_latitude":116100360,"longitude_deg":75.5794368,"latitude_deg":11.610036,"altitude":24,"angle":330,"satellites":38,"speed":26,"hex_longitude":"2d0c81c0","hex_latitude":"06eb8d08","is_valid_coordinates":true} 
[2026-09-10 01:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979534336001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403403948578308096,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903464336218032128,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788982561000,"timestamp_ms":1788982561000,"timestamp_seconds":1788982561,"priority":1,"record_length":96,"hex_timestamp":"000001a087ab88e8"} 
[2026-09-10 01:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979534336001,"66":27267,"238":206,"80":6400,"24":26,"16":403403948578308096,"45":903464336218032128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-10 01:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979534336001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:08:16] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-10 01:08:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403403948578308096,"km_value":403403948578308.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":903464336218032128,"description":"Unknown IO ID 45"} 
[2026-09-10 01:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979534336001,"power":27267,"unknown_238":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":903464336218032128}} 
[2026-09-10 01:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":176171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:08:16] local.INFO: GPS data processed {"connection_id":176171,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:08:16] local.INFO: Acknowledgment sent {"connection_id":176171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:08:44] local.INFO: TCP Data received {"connection_id":178729,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:44] local.INFO: Processing buffer {"connection_id":178729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:44] local.INFO: IMEI packet received {"connection_id":178729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":178729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:08:47] local.INFO: TCP Data received {"connection_id":178729,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:47] local.INFO: Processing buffer {"connection_id":178729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:47] local.INFO: IMEI packet received {"connection_id":178729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":178729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:08:52] local.INFO: TCP Data received {"connection_id":178729,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:52] local.INFO: Processing buffer {"connection_id":178729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:08:52] local.INFO: IMEI packet received {"connection_id":178729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":178729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:08:53] local.INFO: TCP Data received {"connection_id":178729,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087abbf98012d0c724006ebaf280014015429..."} 
[2026-09-10 01:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087abbf98012d0c724006ebaf280014015429..."} 
[2026-09-10 01:08:53] local.INFO: Processing buffer {"connection_id":178729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087abbf98012d0c724006ebaf280014015429..."} 
[2026-09-10 01:08:53] local.INFO: Packet analysis {"connection_id":178729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:08:53] local.INFO: Extracted packet for processing {"connection_id":178729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:08:53] local.INFO: GPS Element Parsed {"raw_longitude":755790400,"raw_latitude":116109096,"longitude_deg":75.57904,"latitude_deg":11.6109096,"altitude":20,"angle":340,"satellites":41,"speed":30,"hex_longitude":"2d0c7240","hex_latitude":"06ebaf28","is_valid_coordinates":true} 
[2026-09-10 01:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979535616001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403404412434776064,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901212536405035008,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:53] 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-09-10 01:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788982575000,"timestamp_ms":1788982575000,"timestamp_seconds":1788982575,"priority":1,"record_length":96,"hex_timestamp":"000001a087abbf98"} 
[2026-09-10 01:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:08: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-09-10 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979535616001,"66":27213,"241":206,"80":6400,"24":30,"16":403404412434776064,"45":901212536405035008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 01:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979535616001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:08:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 01:08:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403404412434776064,"km_value":403404412434776.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":901212536405035008,"description":"Unknown IO ID 45"} 
[2026-09-10 01:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979535616001,"power":27213,"unknown_241":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":901212536405035008}} 
[2026-09-10 01:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":178729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:08:53] local.INFO: GPS data processed {"connection_id":178729,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:08:53] local.INFO: Acknowledgment sent {"connection_id":178729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:08:57] local.INFO: TCP Data received {"connection_id":178729,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087abe2c0012d0c6b8006ebcab0001201612a..."} 
[2026-09-10 01:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087abe2c0012d0c6b8006ebcab0001201612a..."} 
[2026-09-10 01:08:57] local.INFO: Processing buffer {"connection_id":178729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087abe2c0012d0c6b8006ebcab0001201612a..."} 
[2026-09-10 01:08:57] local.INFO: Packet analysis {"connection_id":178729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:08:57] local.INFO: Extracted packet for processing {"connection_id":178729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ab"} 
[2026-09-10 01:08:57] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":116116144,"longitude_deg":75.5788672,"latitude_deg":11.6116144,"altitude":18,"angle":353,"satellites":42,"speed":31,"hex_longitude":"2d0c6b80","hex_latitude":"06ebcab0","is_valid_coordinates":true} 
[2026-09-10 01:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979539200001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403404764622094336,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896849674268256256,"note":"Value kept but may cause issues"} 
[2026-09-10 01:08:57] 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-09-10 01:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788982584000,"timestamp_ms":1788982584000,"timestamp_seconds":1788982584,"priority":1,"record_length":96,"hex_timestamp":"000001a087abe2c0"} 
[2026-09-10 01:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:08:57] 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-09-10 01:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979539200001,"66":27463,"241":206,"80":6400,"24":31,"16":403404764622094336,"45":896849674268256256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 01:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979539200001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:08:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 01:08:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403404764622094336,"km_value":403404764622094.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":896849674268256256,"description":"Unknown IO ID 45"} 
[2026-09-10 01:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979539200001,"power":27463,"unknown_241":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":896849674268256256}} 
[2026-09-10 01:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":178729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:08:57] local.INFO: GPS data processed {"connection_id":178729,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:08:57] local.INFO: Acknowledgment sent {"connection_id":178729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:09:37] local.INFO: TCP Data received {"connection_id":177347,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:09:37] local.INFO: Processing buffer {"connection_id":177347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:09:37] local.INFO: IMEI packet received {"connection_id":177347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":177347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:09:42] local.INFO: TCP Data received {"connection_id":177347,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:09:42] local.INFO: Processing buffer {"connection_id":177347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:09:42] local.INFO: IMEI packet received {"connection_id":177347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":177347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:09:43] local.INFO: TCP Data received {"connection_id":177347,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087adbb68012d0c4b0006ece4d8000d01622e..."} 
[2026-09-10 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087adbb68012d0c4b0006ece4d8000d01622e..."} 
[2026-09-10 01:09:43] local.INFO: Processing buffer {"connection_id":177347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087adbb68012d0c4b0006ece4d8000d01622e..."} 
[2026-09-10 01:09:43] local.INFO: Packet analysis {"connection_id":177347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ad"} 
[2026-09-10 01:09:43] local.INFO: Extracted packet for processing {"connection_id":177347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ad"} 
[2026-09-10 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":116188376,"longitude_deg":75.5780352,"latitude_deg":11.6188376,"altitude":13,"angle":354,"satellites":46,"speed":19,"hex_longitude":"2d0c4b00","hex_latitude":"06ece4d8","is_valid_coordinates":true} 
[2026-09-10 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979570688001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403408350919786496,"note":"Value kept but may cause issues"} 
[2026-09-10 01:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885309200242397184,"note":"Value kept but may cause issues"} 
[2026-09-10 01:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982705000,"timestamp_ms":1788982705000,"timestamp_seconds":1788982705,"priority":1,"record_length":96,"hex_timestamp":"000001a087adbb68"} 
[2026-09-10 01:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979570688001,"66":27300,"240":206,"80":6400,"24":19,"16":403408350919786496,"45":885309200242397184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-10 01:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979570688001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:09:43] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-10 01:09:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403408350919786496,"km_value":403408350919786.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":885309200242397184,"description":"Unknown IO ID 45"} 
[2026-09-10 01:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979570688001,"power":27300,"unknown_240":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":885309200242397184}} 
[2026-09-10 01:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":177347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:09:43] local.INFO: GPS data processed {"connection_id":177347,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:09:43] local.INFO: Acknowledgment sent {"connection_id":177347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:10:14] local.INFO: TCP Data received {"connection_id":177347,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087adcef0012d0c4a0006ecedb0000c000a2d..."} 
[2026-09-10 01:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087adcef0012d0c4a0006ecedb0000c000a2d..."} 
[2026-09-10 01:10:14] local.INFO: Processing buffer {"connection_id":177347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087adcef0012d0c4a0006ecedb0000c000a2d..."} 
[2026-09-10 01:10:14] local.INFO: Packet analysis {"connection_id":177347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ad"} 
[2026-09-10 01:10:14] local.INFO: Extracted packet for processing {"connection_id":177347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ad"} 
[2026-09-10 01:10:14] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":116190640,"longitude_deg":75.5780096,"latitude_deg":11.619064,"altitude":12,"angle":10,"satellites":45,"speed":20,"hex_longitude":"2d0c4a00","hex_latitude":"06ecedb0","is_valid_coordinates":true} 
[2026-09-10 01:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979572480001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403408462588936192,"note":"Value kept but may cause issues"} 
[2026-09-10 01:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885801781452658688,"note":"Value kept but may cause issues"} 
[2026-09-10 01:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788982710000,"timestamp_ms":1788982710000,"timestamp_seconds":1788982710,"priority":1,"record_length":96,"hex_timestamp":"000001a087adcef0"} 
[2026-09-10 01:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 01:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979572480001,"66":27343,"240":206,"80":6400,"24":20,"16":403408462588936192,"45":885801781452658688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-10 01:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979572480001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:10:14] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-10 01:10:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403408462588936192,"km_value":403408462588936.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":885801781452658688,"description":"Unknown IO ID 45"} 
[2026-09-10 01:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979572480001,"power":27343,"unknown_240":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":885801781452658688}} 
[2026-09-10 01:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":177347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:10:14] local.INFO: GPS data processed {"connection_id":177347,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:10:14] local.INFO: Acknowledgment sent {"connection_id":177347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:10:43] local.INFO: TCP Data received {"connection_id":176172,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:10:43] local.INFO: Processing buffer {"connection_id":176172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:10:43] local.INFO: IMEI packet received {"connection_id":176172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":176172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:10:48] local.INFO: TCP Data received {"connection_id":176172,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:10:48] local.INFO: Processing buffer {"connection_id":176172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:10:48] local.INFO: IMEI packet received {"connection_id":176172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":176172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:10:53] local.INFO: TCP Data received {"connection_id":176172,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ae01b8012d0c4f0006ed1078000b00092c..."} 
[2026-09-10 01:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ae01b8012d0c4f0006ed1078000b00092c..."} 
[2026-09-10 01:10:53] local.INFO: Processing buffer {"connection_id":176172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ae01b8012d0c4f0006ed1078000b00092c..."} 
[2026-09-10 01:10:53] local.INFO: Packet analysis {"connection_id":176172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ae"} 
[2026-09-10 01:10:53] local.INFO: Extracted packet for processing {"connection_id":176172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ae"} 
[2026-09-10 01:10:53] local.INFO: GPS Element Parsed {"raw_longitude":755781376,"raw_latitude":116199544,"longitude_deg":75.5781376,"latitude_deg":11.6199544,"altitude":11,"angle":9,"satellites":44,"speed":29,"hex_longitude":"2d0c4f00","hex_latitude":"06ed1078","is_valid_coordinates":true} 
[2026-09-10 01:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979573760001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403408900675600384,"note":"Value kept but may cause issues"} 
[2026-09-10 01:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306476527616,"note":"Value kept but may cause issues"} 
[2026-09-10 01:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788982723000,"timestamp_ms":1788982723000,"timestamp_seconds":1788982723,"priority":1,"record_length":96,"hex_timestamp":"000001a087ae01b8"} 
[2026-09-10 01:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:10: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-09-10 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:10:53] 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-09-10 01:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979573760001,"66":27321,"240":206,"80":6400,"24":29,"16":403408900675600384,"45":885520306476527616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-10 01:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979573760001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:10:53] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-10 01:10:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403408900675600384,"km_value":403408900675600.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306476527616,"description":"Unknown IO ID 45"} 
[2026-09-10 01:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979573760001,"power":27321,"unknown_240":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":885520306476527616}} 
[2026-09-10 01:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":176172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:10:53] local.INFO: GPS data processed {"connection_id":176172,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:10:53] local.INFO: Acknowledgment sent {"connection_id":176172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:11:14] local.INFO: TCP Data received {"connection_id":176172,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ae3098012d0c550006ed35f0000c00092c..."} 
[2026-09-10 01:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ae3098012d0c550006ed35f0000c00092c..."} 
[2026-09-10 01:11:14] local.INFO: Processing buffer {"connection_id":176172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ae3098012d0c550006ed35f0000c00092c..."} 
[2026-09-10 01:11:14] local.INFO: Packet analysis {"connection_id":176172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ae"} 
[2026-09-10 01:11:14] local.INFO: Extracted packet for processing {"connection_id":176172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ae"} 
[2026-09-10 01:11:14] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":116209136,"longitude_deg":75.5782912,"latitude_deg":11.6209136,"altitude":12,"angle":9,"satellites":44,"speed":34,"hex_longitude":"2d0c5500","hex_latitude":"06ed35f0","is_valid_coordinates":true} 
[2026-09-10 01:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979577088001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403409373122002944,"note":"Value kept but may cause issues"} 
[2026-09-10 01:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886927681362360320,"note":"Value kept but may cause issues"} 
[2026-09-10 01:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788982735000,"timestamp_ms":1788982735000,"timestamp_seconds":1788982735,"priority":1,"record_length":96,"hex_timestamp":"000001a087ae3098"} 
[2026-09-10 01:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:11:14] 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-09-10 01:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979577088001,"66":27104,"240":206,"80":6400,"24":34,"16":403409373122002944,"45":886927681362360320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-10 01:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979577088001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:11:14] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-10 01:11:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403409373122002944,"km_value":403409373122002.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":886927681362360320,"description":"Unknown IO ID 45"} 
[2026-09-10 01:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979577088001,"power":27104,"unknown_240":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":886927681362360320}} 
[2026-09-10 01:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":176172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:11:14] local.INFO: GPS data processed {"connection_id":176172,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:11:14] local.INFO: Acknowledgment sent {"connection_id":176172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:11:37] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:11:37] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:11:37] local.INFO: IMEI packet received {"connection_id":176173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":176173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:11:42] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:11:42] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:11:42] local.INFO: IMEI packet received {"connection_id":176173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:11:43] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ae5b90012d0c5a4006ed58e0000b00082e..."} 
[2026-09-10 01:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ae5b90012d0c5a4006ed58e0000b00082e..."} 
[2026-09-10 01:11:43] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ae5b90012d0c5a4006ed58e0000b00082e..."} 
[2026-09-10 01:11:43] local.INFO: Packet analysis {"connection_id":176173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ae"} 
[2026-09-10 01:11:43] local.INFO: Extracted packet for processing {"connection_id":176173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ae"} 
[2026-09-10 01:11:43] local.INFO: GPS Element Parsed {"raw_longitude":755784256,"raw_latitude":116218080,"longitude_deg":75.5784256,"latitude_deg":11.621808,"altitude":11,"angle":8,"satellites":46,"speed":31,"hex_longitude":"2d0c5a40","hex_latitude":"06ed58e0","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979580160001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403409811208667136,"note":"Value kept but may cause issues"} 
[2026-09-10 01:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531225079808,"note":"Value kept but may cause issues"} 
[2026-09-10 01:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982746000,"timestamp_ms":1788982746000,"timestamp_seconds":1788982746,"priority":1,"record_length":96,"hex_timestamp":"000001a087ae5b90"} 
[2026-09-10 01:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 01:11:43] 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-09-10 01: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-09-10 01:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979580160001,"66":27300,"240":206,"80":6400,"24":31,"16":403409811208667136,"45":888616531225079808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-10 01:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979580160001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:11:43] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-10 01:11:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403409811208667136,"km_value":403409811208667.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531225079808,"description":"Unknown IO ID 45"} 
[2026-09-10 01:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979580160001,"power":27300,"unknown_240":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":888616531225079808}} 
[2026-09-10 01:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":176173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:11:43] local.INFO: GPS data processed {"connection_id":176173,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:11:43] local.INFO: Acknowledgment sent {"connection_id":176173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:12:15] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b05f30012d0bef8006ee7e380010015329..."} 
[2026-09-10 01:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b05f30012d0bef8006ee7e380010015329..."} 
[2026-09-10 01:12:15] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b05f30012d0bef8006ee7e380010015329..."} 
[2026-09-10 01:12:15] local.INFO: Packet analysis {"connection_id":176173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:12:15] local.INFO: Extracted packet for processing {"connection_id":176173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:12:15] local.INFO: GPS Element Parsed {"raw_longitude":755756928,"raw_latitude":116293176,"longitude_deg":75.5756928,"latitude_deg":11.6293176,"altitude":16,"angle":339,"satellites":41,"speed":11,"hex_longitude":"2d0bef80","hex_latitude":"06ee7e38","is_valid_coordinates":true} 
[2026-09-10 01:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979615488001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403413792643350528,"note":"Value kept but may cause issues"} 
[2026-09-10 01:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860398664830986240,"note":"Value kept but may cause issues"} 
[2026-09-10 01:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788982878000,"timestamp_ms":1788982878000,"timestamp_seconds":1788982878,"priority":1,"record_length":96,"hex_timestamp":"000001a087b05f30"} 
[2026-09-10 01:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979615488001,"66":27180,"3":206,"80":6400,"24":11,"16":403413792643350528,"45":860398664830986240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-10 01:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979615488001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:12:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 01:12:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403413792643350528,"km_value":403413792643350.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":860398664830986240,"description":"Unknown IO ID 45"} 
[2026-09-10 01:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979615488001,"power":27180,"unknown_3":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":860398664830986240}} 
[2026-09-10 01:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":176173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:12:15] local.INFO: GPS data processed {"connection_id":176173,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:12:15] local.INFO: Acknowledgment sent {"connection_id":176173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:12:34] local.INFO: TCP Data received {"connection_id":178730,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:34] local.INFO: Processing buffer {"connection_id":178730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:34] local.INFO: IMEI packet received {"connection_id":178730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":178730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:12:37] local.INFO: TCP Data received {"connection_id":178730,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:37] local.INFO: Processing buffer {"connection_id":178730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:37] local.INFO: IMEI packet received {"connection_id":178730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":178730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:12:42] local.INFO: TCP Data received {"connection_id":178730,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:42] local.INFO: Processing buffer {"connection_id":178730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:12:42] local.INFO: IMEI packet received {"connection_id":178730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":178730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:12:43] local.INFO: TCP Data received {"connection_id":178730,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b08640012d0be9c006ee8d28000f01602b..."} 
[2026-09-10 01:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b08640012d0be9c006ee8d28000f01602b..."} 
[2026-09-10 01:12:43] local.INFO: Processing buffer {"connection_id":178730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b08640012d0be9c006ee8d28000f01602b..."} 
[2026-09-10 01:12:43] local.INFO: Packet analysis {"connection_id":178730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:12:43] local.INFO: Extracted packet for processing {"connection_id":178730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:12:43] local.INFO: GPS Element Parsed {"raw_longitude":755755456,"raw_latitude":116297000,"longitude_deg":75.5755456,"latitude_deg":11.6297,"altitude":15,"angle":352,"satellites":43,"speed":18,"hex_longitude":"2d0be9c0","hex_latitude":"06ee8d28","is_valid_coordinates":true} 
[2026-09-10 01:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979616768001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403413990211846144,"note":"Value kept but may cause issues"} 
[2026-09-10 01:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860046821110462464,"note":"Value kept but may cause issues"} 
[2026-09-10 01:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982888000,"timestamp_ms":1788982888000,"timestamp_seconds":1788982888,"priority":1,"record_length":96,"hex_timestamp":"000001a087b08640"} 
[2026-09-10 01:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 01:12:43] 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-09-10 01:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979616768001,"66":27267,"3":206,"80":6400,"24":18,"16":403413990211846144,"45":860046821110462464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-10 01:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979616768001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:12:43] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 01:12:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403413990211846144,"km_value":403413990211846.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":860046821110462464,"description":"Unknown IO ID 45"} 
[2026-09-10 01:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979616768001,"power":27267,"unknown_3":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":860046821110462464}} 
[2026-09-10 01:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":178730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:12:43] local.INFO: GPS data processed {"connection_id":178730,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:12:43] local.INFO: Acknowledgment sent {"connection_id":178730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:13:14] local.INFO: TCP Data received {"connection_id":178730,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b099c8012d0be80006ee9628000e01532a..."} 
[2026-09-10 01:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b099c8012d0be80006ee9628000e01532a..."} 
[2026-09-10 01:13:14] local.INFO: Processing buffer {"connection_id":178730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b099c8012d0be80006ee9628000e01532a..."} 
[2026-09-10 01:13:14] local.INFO: Packet analysis {"connection_id":178730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:13:14] local.INFO: Extracted packet for processing {"connection_id":178730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:13:14] local.INFO: GPS Element Parsed {"raw_longitude":755755008,"raw_latitude":116299304,"longitude_deg":75.5755008,"latitude_deg":11.6299304,"altitude":14,"angle":339,"satellites":42,"speed":18,"hex_longitude":"2d0be800","hex_latitude":"06ee9628","is_valid_coordinates":true} 
[2026-09-10 01:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979619328001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403414106175963136,"note":"Value kept but may cause issues"} 
[2026-09-10 01:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858428339995355136,"note":"Value kept but may cause issues"} 
[2026-09-10 01:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788982893000,"timestamp_ms":1788982893000,"timestamp_seconds":1788982893,"priority":1,"record_length":96,"hex_timestamp":"000001a087b099c8"} 
[2026-09-10 01:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979619328001,"66":27213,"3":206,"80":6400,"24":18,"16":403414106175963136,"45":858428339995355136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-10 01:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979619328001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:13:14] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 01:13:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403414106175963136,"km_value":403414106175963.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":858428339995355136,"description":"Unknown IO ID 45"} 
[2026-09-10 01:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979619328001,"power":27213,"unknown_3":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":858428339995355136}} 
[2026-09-10 01:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":178730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:13:14] local.INFO: GPS data processed {"connection_id":178730,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:13:14] local.INFO: Acknowledgment sent {"connection_id":178730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:13:35] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:35] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:35] local.INFO: IMEI packet received {"connection_id":175941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":175941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:13:37] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:37] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:37] local.INFO: IMEI packet received {"connection_id":175941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":175941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:13:42] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:42] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:13:42] local.INFO: IMEI packet received {"connection_id":175941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":175941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:13:43] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b0cc90012d0bd88006eeb570000e01502c..."} 
[2026-09-10 01:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b0cc90012d0bd88006eeb570000e01502c..."} 
[2026-09-10 01:13:43] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b0cc90012d0bd88006eeb570000e01502c..."} 
[2026-09-10 01:13:43] local.INFO: Packet analysis {"connection_id":175941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:13:43] local.INFO: Extracted packet for processing {"connection_id":175941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:13:43] local.INFO: GPS Element Parsed {"raw_longitude":755751040,"raw_latitude":116307312,"longitude_deg":75.575104,"latitude_deg":11.6307312,"altitude":14,"angle":336,"satellites":44,"speed":35,"hex_longitude":"2d0bd880","hex_latitude":"06eeb570","is_valid_coordinates":true} 
[2026-09-10 01:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979620608001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403414535672692736,"note":"Value kept but may cause issues"} 
[2026-09-10 01:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857935758786701312,"note":"Value kept but may cause issues"} 
[2026-09-10 01:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788982906000,"timestamp_ms":1788982906000,"timestamp_seconds":1788982906,"priority":1,"record_length":96,"hex_timestamp":"000001a087b0cc90"} 
[2026-09-10 01:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:13: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-09-10 01:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979620608001,"66":27267,"3":206,"80":6400,"24":35,"16":403414535672692736,"45":857935758786701312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-10 01:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979620608001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:13:43] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 01:13:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403414535672692736,"km_value":403414535672692.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":857935758786701312,"description":"Unknown IO ID 45"} 
[2026-09-10 01:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979620608001,"power":27267,"unknown_3":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":857935758786701312}} 
[2026-09-10 01:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":175941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:13:43] local.INFO: GPS data processed {"connection_id":175941,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:13:43] local.INFO: Acknowledgment sent {"connection_id":175941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:14:14] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b0f3a0012d0bc94006eed848000c01522c..."} 
[2026-09-10 01:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b0f3a0012d0bc94006eed848000c01522c..."} 
[2026-09-10 01:14:14] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b0f3a0012d0bc94006eed848000c01522c..."} 
[2026-09-10 01:14:14] local.INFO: Packet analysis {"connection_id":175941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:14:14] local.INFO: Extracted packet for processing {"connection_id":175941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b0"} 
[2026-09-10 01:14:14] local.INFO: GPS Element Parsed {"raw_longitude":755747136,"raw_latitude":116316232,"longitude_deg":75.5747136,"latitude_deg":11.6316232,"altitude":12,"angle":338,"satellites":44,"speed":40,"hex_longitude":"2d0bc940","hex_latitude":"06eed848","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979623936001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403415008119095296,"note":"Value kept but may cause issues"} 
[2026-09-10 01:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853572896649736192,"note":"Value kept but may cause issues"} 
[2026-09-10 01:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788982916000,"timestamp_ms":1788982916000,"timestamp_seconds":1788982916,"priority":1,"record_length":96,"hex_timestamp":"000001a087b0f3a0"} 
[2026-09-10 01:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01: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-09-10 01:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979623936001,"66":27234,"3":206,"80":6400,"24":40,"16":403415008119095296,"45":853572896649736192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-10 01:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979623936001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:14:14] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 01:14:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403415008119095296,"km_value":403415008119095.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":853572896649736192,"description":"Unknown IO ID 45"} 
[2026-09-10 01:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979623936001,"power":27234,"unknown_3":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":853572896649736192}} 
[2026-09-10 01:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":175941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:14:14] local.INFO: GPS data processed {"connection_id":175941,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:14:14] local.INFO: Acknowledgment sent {"connection_id":175941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:14:37] local.INFO: TCP Data received {"connection_id":175942,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:14:37] local.INFO: Processing buffer {"connection_id":175942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:14:37] local.INFO: IMEI packet received {"connection_id":175942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":175942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:14:42] local.INFO: TCP Data received {"connection_id":175942,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:14:42] local.INFO: Processing buffer {"connection_id":175942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:14:42] local.INFO: IMEI packet received {"connection_id":175942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":175942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:14:43] local.INFO: TCP Data received {"connection_id":175942,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b262d0012d0b5ac006f05da0000a01592e..."} 
[2026-09-10 01:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b262d0012d0b5ac006f05da0000a01592e..."} 
[2026-09-10 01:14:43] local.INFO: Processing buffer {"connection_id":175942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b262d0012d0b5ac006f05da0000a01592e..."} 
[2026-09-10 01:14:43] local.INFO: Packet analysis {"connection_id":175942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:14:43] local.INFO: Extracted packet for processing {"connection_id":175942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:14:43] local.INFO: GPS Element Parsed {"raw_longitude":755718848,"raw_latitude":116415904,"longitude_deg":75.5718848,"latitude_deg":11.6415904,"altitude":10,"angle":345,"satellites":46,"speed":50,"hex_longitude":"2d0b5ac0","hex_latitude":"06f05da0","is_valid_coordinates":true} 
[2026-09-10 01:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979648768001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403420033230831616,"note":"Value kept but may cause issues"} 
[2026-09-10 01:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820429218167607296,"note":"Value kept but may cause issues"} 
[2026-09-10 01:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788983010000,"timestamp_ms":1788983010000,"timestamp_seconds":1788983010,"priority":1,"record_length":96,"hex_timestamp":"000001a087b262d0"} 
[2026-09-10 01:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979648768001,"66":27104,"5":206,"80":6400,"24":50,"16":403420033230831616,"45":820429218167607296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-10 01:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979648768001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:14:43] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 01:14:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403420033230831616,"km_value":403420033230831.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":820429218167607296,"description":"Unknown IO ID 45"} 
[2026-09-10 01:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979648768001,"power":27104,"unknown_5":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":820429218167607296}} 
[2026-09-10 01:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":175942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:14:43] local.INFO: GPS data processed {"connection_id":175942,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:14:43] local.INFO: Acknowledgment sent {"connection_id":175942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:15:14] local.INFO: TCP Data received {"connection_id":175942,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b27e28012d0b504006f07ef8000b01542c..."} 
[2026-09-10 01:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b27e28012d0b504006f07ef8000b01542c..."} 
[2026-09-10 01:15:14] local.INFO: Processing buffer {"connection_id":175942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b27e28012d0b504006f07ef8000b01542c..."} 
[2026-09-10 01:15:14] local.INFO: Packet analysis {"connection_id":175942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:15:14] local.INFO: Extracted packet for processing {"connection_id":175942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:15:14] local.INFO: GPS Element Parsed {"raw_longitude":755716160,"raw_latitude":116424440,"longitude_deg":75.571616,"latitude_deg":11.642444,"altitude":11,"angle":340,"satellites":44,"speed":48,"hex_longitude":"2d0b5040","hex_latitude":"06f07ef8","is_valid_coordinates":true} 
[2026-09-10 01:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979650560001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403420467022528512,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818177418356170752,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788983017000,"timestamp_ms":1788983017000,"timestamp_seconds":1788983017,"priority":1,"record_length":96,"hex_timestamp":"000001a087b27e28"} 
[2026-09-10 01:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 01:15:14] 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-09-10 01:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979650560001,"66":27234,"5":206,"80":6400,"24":48,"16":403420467022528512,"45":818177418356170752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-10 01:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979650560001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:15:14] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 01:15:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403420467022528512,"km_value":403420467022528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":818177418356170752,"description":"Unknown IO ID 45"} 
[2026-09-10 01:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979650560001,"power":27234,"unknown_5":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":818177418356170752}} 
[2026-09-10 01:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":175942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:15:14] local.INFO: GPS data processed {"connection_id":175942,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:15:14] local.INFO: Acknowledgment sent {"connection_id":175942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:15:38] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:38] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:38] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:15:40] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:40] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:40] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:15:42] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:42] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:15:42] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:15:42] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b29d68012d0b420006f0a188000c014f2b..."} 
[2026-09-10 01:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b29d68012d0b420006f0a188000c014f2b..."} 
[2026-09-10 01:15:42] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b29d68012d0b420006f0a188000c014f2b..."} 
[2026-09-10 01:15:42] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:15:42] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755712512,"raw_latitude":116433288,"longitude_deg":75.5712512,"latitude_deg":11.6433288,"altitude":12,"angle":335,"satellites":43,"speed":44,"hex_longitude":"2d0b4200","hex_latitude":"06f0a188","is_valid_coordinates":true} 
[2026-09-10 01:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979652352001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403420930878996480,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815221931102894080,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788983025000,"timestamp_ms":1788983025000,"timestamp_seconds":1788983025,"priority":1,"record_length":96,"hex_timestamp":"000001a087b29d68"} 
[2026-09-10 01:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:15: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-09-10 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:15:42] 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-09-10 01:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979652352001,"66":27289,"5":206,"80":6400,"24":44,"16":403420930878996480,"45":815221931102894080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-10 01:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979652352001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:15:42] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 01:15:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403420930878996480,"km_value":403420930878996.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":815221931102894080,"description":"Unknown IO ID 45"} 
[2026-09-10 01:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979652352001,"power":27289,"unknown_5":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":815221931102894080}} 
[2026-09-10 01:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:15:42] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:15:42] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:15:45] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b2c090012d0b2f4006f0c390000d01482e..."} 
[2026-09-10 01:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b2c090012d0b2f4006f0c390000d01482e..."} 
[2026-09-10 01:15:45] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b2c090012d0b2f4006f0c390000d01482e..."} 
[2026-09-10 01:15:45] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:15:45] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":755707712,"raw_latitude":116442000,"longitude_deg":75.5707712,"latitude_deg":11.6442,"altitude":13,"angle":328,"satellites":46,"speed":42,"hex_longitude":"2d0b2f40","hex_latitude":"06f0c390","is_valid_coordinates":true} 
[2026-09-10 01:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979654400001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403421411915333632,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811210912687032320,"note":"Value kept but may cause issues"} 
[2026-09-10 01:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788983034000,"timestamp_ms":1788983034000,"timestamp_seconds":1788983034,"priority":1,"record_length":96,"hex_timestamp":"000001a087b2c090"} 
[2026-09-10 01:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 01:15:45] 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-09-10 01:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979654400001,"66":27376,"111":206,"80":6400,"24":42,"16":403421411915333632,"45":811210912687032320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 01:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979654400001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:15:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 01:15:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403421411915333632,"km_value":403421411915333.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":811210912687032320,"description":"Unknown IO ID 45"} 
[2026-09-10 01:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979654400001,"power":27376,"unknown_111":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":811210912687032320}} 
[2026-09-10 01:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:15:45] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:15:45] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:16:17] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b2ef70012d0b1ac006f0e038000b01452f..."} 
[2026-09-10 01:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b2ef70012d0b1ac006f0e038000b01452f..."} 
[2026-09-10 01:16:17] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b2ef70012d0b1ac006f0e038000b01452f..."} 
[2026-09-10 01:16:17] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:16:17] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b2"} 
[2026-09-10 01:16:17] local.INFO: GPS Element Parsed {"raw_longitude":755702464,"raw_latitude":116449336,"longitude_deg":75.5702464,"latitude_deg":11.6449336,"altitude":11,"angle":325,"satellites":47,"speed":13,"hex_longitude":"2d0b1ac0","hex_latitude":"06f0e038","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979656704001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403421845707030528,"note":"Value kept but may cause issues"} 
[2026-09-10 01:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805933256875937792,"note":"Value kept but may cause issues"} 
[2026-09-10 01:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788983046000,"timestamp_ms":1788983046000,"timestamp_seconds":1788983046,"priority":1,"record_length":96,"hex_timestamp":"000001a087b2ef70"} 
[2026-09-10 01:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 01:16:17] 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-09-10 01: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-09-10 01:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979656704001,"66":27158,"111":206,"80":6400,"24":13,"16":403421845707030528,"45":805933256875937792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 01:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979656704001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:16:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 01:16:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403421845707030528,"km_value":403421845707030.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":805933256875937792,"description":"Unknown IO ID 45"} 
[2026-09-10 01:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979656704001,"power":27158,"unknown_111":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":805933256875937792}} 
[2026-09-10 01:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:16:17] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:16:17] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:16:37] local.INFO: TCP Data received {"connection_id":177348,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:16:37] local.INFO: Processing buffer {"connection_id":177348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:16:37] local.INFO: IMEI packet received {"connection_id":177348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":177348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:16:42] local.INFO: TCP Data received {"connection_id":177348,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:16:42] local.INFO: Processing buffer {"connection_id":177348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:16:42] local.INFO: IMEI packet received {"connection_id":177348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":177348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:16:43] local.INFO: TCP Data received {"connection_id":177348,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b302f8012d0b168006f0e550000a01392e..."} 
[2026-09-10 01:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b302f8012d0b168006f0e550000a01392e..."} 
[2026-09-10 01:16:43] local.INFO: Processing buffer {"connection_id":177348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b302f8012d0b168006f0e550000a01392e..."} 
[2026-09-10 01:16:43] local.INFO: Packet analysis {"connection_id":177348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b3"} 
[2026-09-10 01:16:43] local.INFO: Extracted packet for processing {"connection_id":177348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b3"} 
[2026-09-10 01:16:43] local.INFO: GPS Element Parsed {"raw_longitude":755701376,"raw_latitude":116450640,"longitude_deg":75.5701376,"latitude_deg":11.645064,"altitude":10,"angle":313,"satellites":46,"speed":14,"hex_longitude":"2d0b1680","hex_latitude":"06f0e550","is_valid_coordinates":true} 
[2026-09-10 01:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979659776001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403421927311409152,"note":"Value kept but may cause issues"} 
[2026-09-10 01:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800163019855247360,"note":"Value kept but may cause issues"} 
[2026-09-10 01:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788983051000,"timestamp_ms":1788983051000,"timestamp_seconds":1788983051,"priority":1,"record_length":96,"hex_timestamp":"000001a087b302f8"} 
[2026-09-10 01:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:16: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-09-10 01:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 01:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979659776001,"66":27332,"111":206,"80":6400,"24":14,"16":403421927311409152,"45":800163019855247360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 01:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979659776001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:16:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 01:16:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403421927311409152,"km_value":403421927311409.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":800163019855247360,"description":"Unknown IO ID 45"} 
[2026-09-10 01:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979659776001,"power":27332,"unknown_111":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":800163019855247360}} 
[2026-09-10 01:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":177348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:16:43] local.INFO: GPS data processed {"connection_id":177348,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:16:43] local.INFO: Acknowledgment sent {"connection_id":177348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:17:14] local.INFO: TCP Data received {"connection_id":177348,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b35500012d0b038006f0f400000901342e..."} 
[2026-09-10 01:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b35500012d0b038006f0f400000901342e..."} 
[2026-09-10 01:17:14] local.INFO: Processing buffer {"connection_id":177348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b35500012d0b038006f0f400000901342e..."} 
[2026-09-10 01:17:14] local.INFO: Packet analysis {"connection_id":177348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b3"} 
[2026-09-10 01:17:14] local.INFO: Extracted packet for processing {"connection_id":177348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b3"} 
[2026-09-10 01:17:14] local.INFO: GPS Element Parsed {"raw_longitude":755696512,"raw_latitude":116454400,"longitude_deg":75.5696512,"latitude_deg":11.64544,"altitude":9,"angle":308,"satellites":46,"speed":5,"hex_longitude":"2d0b0380","hex_latitude":"06f0f400","is_valid_coordinates":true} 
[2026-09-10 01:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979661056001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403422223664152576,"note":"Value kept but may cause issues"} 
[2026-09-10 01:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798966751204560896,"note":"Value kept but may cause issues"} 
[2026-09-10 01:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788983072000,"timestamp_ms":1788983072000,"timestamp_seconds":1788983072,"priority":1,"record_length":96,"hex_timestamp":"000001a087b35500"} 
[2026-09-10 01:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 01:17:14] 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-09-10 01:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979661056001,"66":27213,"111":206,"80":6400,"24":5,"16":403422223664152576,"45":798966751204560896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 01:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979661056001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:17:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 01:17:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403422223664152576,"km_value":403422223664152.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":798966751204560896,"description":"Unknown IO ID 45"} 
[2026-09-10 01:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979661056001,"power":27213,"unknown_111":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":798966751204560896}} 
[2026-09-10 01:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":177348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:17:14] local.INFO: GPS data processed {"connection_id":177348,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:17:14] local.INFO: Acknowledgment sent {"connection_id":177348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:17:37] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:17:37] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:17:37] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:17:42] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:17:42] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:17:42] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:17:43] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b54ce8012d0a000006f1a958000a01362e..."} 
[2026-09-10 01:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b54ce8012d0a000006f1a958000a01362e..."} 
[2026-09-10 01:17:43] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b54ce8012d0a000006f1a958000a01362e..."} 
[2026-09-10 01:17:43] local.INFO: Packet analysis {"connection_id":175944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:17:43] local.INFO: Extracted packet for processing {"connection_id":175944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:17:43] local.INFO: GPS Element Parsed {"raw_longitude":755630080,"raw_latitude":116500824,"longitude_deg":75.563008,"latitude_deg":11.6500824,"altitude":10,"angle":310,"satellites":46,"speed":19,"hex_longitude":"2d0a0000","hex_latitude":"06f1a958","is_valid_coordinates":true} 
[2026-09-10 01:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979695872001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403426114904522752,"note":"Value kept but may cause issues"} 
[2026-09-10 01:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":729160956991854592,"note":"Value kept but may cause issues"} 
[2026-09-10 01:17: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-09-10 01:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788983201000,"timestamp_ms":1788983201000,"timestamp_seconds":1788983201,"priority":1,"record_length":96,"hex_timestamp":"000001a087b54ce8"} 
[2026-09-10 01:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:17: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-09-10 01:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979695872001,"66":27213,"113":206,"80":6400,"24":19,"16":403426114904522752,"45":729160956991854592},"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-09-10 01:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979695872001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:17:43] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 01:17:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403426114904522752,"km_value":403426114904522.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":729160956991854592,"description":"Unknown IO ID 45"} 
[2026-09-10 01:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979695872001,"power":27213,"unknown_113":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":729160956991854592}} 
[2026-09-10 01:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":175944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:17:43] local.INFO: GPS data processed {"connection_id":175944,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:17:43] local.INFO: Acknowledgment sent {"connection_id":175944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:18:14] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b56070012d09f7c006f1b178000a01432d..."} 
[2026-09-10 01:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b56070012d09f7c006f1b178000a01432d..."} 
[2026-09-10 01:18:14] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b56070012d09f7c006f1b178000a01432d..."} 
[2026-09-10 01:18:14] local.INFO: Packet analysis {"connection_id":175944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:18:14] local.INFO: Extracted packet for processing {"connection_id":175944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:18:14] local.INFO: GPS Element Parsed {"raw_longitude":755627968,"raw_latitude":116502904,"longitude_deg":75.5627968,"latitude_deg":11.6502904,"altitude":10,"angle":323,"satellites":45,"speed":28,"hex_longitude":"2d09f7c0","hex_latitude":"06f1b178","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979699456001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403426256638443520,"note":"Value kept but may cause issues"} 
[2026-09-10 01:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720575970203490304,"note":"Value kept but may cause issues"} 
[2026-09-10 01:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788983206000,"timestamp_ms":1788983206000,"timestamp_seconds":1788983206,"priority":1,"record_length":96,"hex_timestamp":"000001a087b56070"} 
[2026-09-10 01:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01: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-09-10 01:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979699456001,"66":27169,"113":206,"80":6400,"24":28,"16":403426256638443520,"45":720575970203490304},"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-09-10 01:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979699456001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:18:14] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 01:18:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403426256638443520,"km_value":403426256638443.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":720575970203490304,"description":"Unknown IO ID 45"} 
[2026-09-10 01:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979699456001,"power":27169,"unknown_113":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":720575970203490304}} 
[2026-09-10 01:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":175944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:18:14] local.INFO: GPS data processed {"connection_id":175944,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:18:14] local.INFO: Acknowledgment sent {"connection_id":175944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:18:41] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:41] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:41] local.INFO: IMEI packet received {"connection_id":177349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:18:42] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:42] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:42] local.INFO: IMEI packet received {"connection_id":177349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":177349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:18:47] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:47] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:18:47] local.INFO: IMEI packet received {"connection_id":177349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":177349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:18:47] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b57bc8012d09ecc006f1c338000a014e2d..."} 
[2026-09-10 01:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b57bc8012d09ecc006f1c338000a014e2d..."} 
[2026-09-10 01:18:47] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b57bc8012d09ecc006f1c338000a014e2d..."} 
[2026-09-10 01:18:47] local.INFO: Packet analysis {"connection_id":177349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:18:47] local.INFO: Extracted packet for processing {"connection_id":177349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:18:47] local.INFO: GPS Element Parsed {"raw_longitude":755625152,"raw_latitude":116507448,"longitude_deg":75.5625152,"latitude_deg":11.6507448,"altitude":10,"angle":334,"satellites":45,"speed":29,"hex_longitude":"2d09ecc0","hex_latitude":"06f1c338","is_valid_coordinates":true} 
[2026-09-10 01:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979700736001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403426514336481280,"note":"Value kept but may cause issues"} 
[2026-09-10 01:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":718253801646159872,"note":"Value kept but may cause issues"} 
[2026-09-10 01:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788983213000,"timestamp_ms":1788983213000,"timestamp_seconds":1788983213,"priority":1,"record_length":96,"hex_timestamp":"000001a087b57bc8"} 
[2026-09-10 01:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 01:18:47] 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-09-10 01:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979700736001,"66":27180,"113":206,"80":6400,"24":29,"16":403426514336481280,"45":718253801646159872},"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-09-10 01:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979700736001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:18:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 01:18:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403426514336481280,"km_value":403426514336481.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":718253801646159872,"description":"Unknown IO ID 45"} 
[2026-09-10 01:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979700736001,"power":27180,"unknown_113":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":718253801646159872}} 
[2026-09-10 01:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":177349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:18:47] local.INFO: GPS data processed {"connection_id":177349,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:18:47] local.INFO: Acknowledgment sent {"connection_id":177349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:19:19] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b5b278012d09dd4006f1e2e0000701572a..."} 
[2026-09-10 01:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b5b278012d09dd4006f1e2e0000701572a..."} 
[2026-09-10 01:19:19] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b5b278012d09dd4006f1e2e0000701572a..."} 
[2026-09-10 01:19:19] local.INFO: Packet analysis {"connection_id":177349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:19:19] local.INFO: Extracted packet for processing {"connection_id":177349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:19:19] local.INFO: GPS Element Parsed {"raw_longitude":755621184,"raw_latitude":116515552,"longitude_deg":75.5621184,"latitude_deg":11.6515552,"altitude":7,"angle":343,"satellites":42,"speed":33,"hex_longitude":"2d09dd40","hex_latitude":"06f1e2e0","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979702528001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403426956718112768,"note":"Value kept but may cause issues"} 
[2026-09-10 01:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715157576903505920,"note":"Value kept but may cause issues"} 
[2026-09-10 01:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788983227000,"timestamp_ms":1788983227000,"timestamp_seconds":1788983227,"priority":1,"record_length":96,"hex_timestamp":"000001a087b5b278"} 
[2026-09-10 01:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:19: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-09-10 01: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 01:19:19] 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-09-10 01: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-09-10 01:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979702528001,"66":26267,"113":206,"80":6400,"24":33,"16":403426956718112768,"45":715157576903505920},"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-09-10 01:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979702528001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:19:19] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 01:19:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403426956718112768,"km_value":403426956718112.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":715157576903505920,"description":"Unknown IO ID 45"} 
[2026-09-10 01:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979702528001,"power":26267,"unknown_113":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":715157576903505920}} 
[2026-09-10 01:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":177349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:19:19] local.INFO: GPS data processed {"connection_id":177349,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:19:19] local.INFO: Acknowledgment sent {"connection_id":177349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:19:35] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:35] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:35] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:19:37] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:37] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:37] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:19:40] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:40] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:19:40] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:19:41] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b5e158012d09d38006f205f80004015829..."} 
[2026-09-10 01:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b5e158012d09d38006f205f80004015829..."} 
[2026-09-10 01:19:41] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b5e158012d09d38006f205f80004015829..."} 
[2026-09-10 01:19:41] local.INFO: Packet analysis {"connection_id":175945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:19:41] local.INFO: Extracted packet for processing {"connection_id":175945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b5"} 
[2026-09-10 01:19:41] local.INFO: GPS Element Parsed {"raw_longitude":755618688,"raw_latitude":116524536,"longitude_deg":75.5618688,"latitude_deg":11.6524536,"altitude":4,"angle":344,"satellites":41,"speed":31,"hex_longitude":"2d09d380","hex_latitude":"06f205f8","is_valid_coordinates":true} 
[2026-09-10 01:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979706112001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403427407689678848,"note":"Value kept but may cause issues"} 
[2026-09-10 01:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":710794714766565376,"note":"Value kept but may cause issues"} 
[2026-09-10 01:19: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-09-10 01:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788983239000,"timestamp_ms":1788983239000,"timestamp_seconds":1788983239,"priority":1,"record_length":96,"hex_timestamp":"000001a087b5e158"} 
[2026-09-10 01:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 01:19:41] 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-09-10 01:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979706112001,"66":27213,"113":206,"80":6400,"24":31,"16":403427407689678848,"45":710794714766565376},"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-09-10 01:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979706112001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:19:41] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 01:19:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403427407689678848,"km_value":403427407689678.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":710794714766565376,"description":"Unknown IO ID 45"} 
[2026-09-10 01:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979706112001,"power":27213,"unknown_113":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":710794714766565376}} 
[2026-09-10 01:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":175945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:19:41] local.INFO: GPS data processed {"connection_id":175945,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:19:41] local.INFO: Acknowledgment sent {"connection_id":175945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:20:13] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b61808012d09ca4006f22958000401582e..."} 
[2026-09-10 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b61808012d09ca4006f22958000401582e..."} 
[2026-09-10 01:20:13] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b61808012d09ca4006f22958000401582e..."} 
[2026-09-10 01:20:13] local.INFO: Packet analysis {"connection_id":175945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b6"} 
[2026-09-10 01:20:13] local.INFO: Extracted packet for processing {"connection_id":175945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b6"} 
[2026-09-10 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":755616320,"raw_latitude":116533592,"longitude_deg":75.561632,"latitude_deg":11.6533592,"altitude":4,"angle":344,"satellites":46,"speed":26,"hex_longitude":"2d09ca40","hex_latitude":"06f22958","is_valid_coordinates":true} 
[2026-09-10 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-09-10 01:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979709184001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403427858661244928,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708050333745936384,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788983253000,"timestamp_ms":1788983253000,"timestamp_seconds":1788983253,"priority":1,"record_length":96,"hex_timestamp":"000001a087b61808"} 
[2026-09-10 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-09-10 01:20: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-09-10 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:20: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-09-10 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-09-10 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-09-10 01:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979709184001,"66":27169,"82":206,"80":6400,"24":26,"16":403427858661244928,"45":708050333745936384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-10 01:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979709184001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:20:13] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 01:20:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403427858661244928,"km_value":403427858661244.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":708050333745936384,"description":"Unknown IO ID 45"} 
[2026-09-10 01:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979709184001,"power":27169,"unknown_82":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":708050333745936384}} 
[2026-09-10 01:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":175945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:20:13] local.INFO: GPS data processed {"connection_id":175945,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:20:13] local.INFO: Acknowledgment sent {"connection_id":175945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:20:37] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:20:37] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:20:37] local.INFO: IMEI packet received {"connection_id":175946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":175946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:20:45] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 01:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 01:20:45] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 01:20:45] local.INFO: IMEI packet received {"connection_id":175946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:20:46] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b7ecc8012d09a40006f331380016015328..."} 
[2026-09-10 01:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b7ecc8012d09a40006f331380016015328..."} 
[2026-09-10 01:20:46] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a087..."} 
[2026-09-10 01:20:46] local.INFO: IMEI packet received {"connection_id":175946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":175946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:20:47] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b80438012d099f0006f342800015015f27..."} 
[2026-09-10 01:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b80438012d099f0006f342800015015f27..."} 
[2026-09-10 01:20:47] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a087b7ecc8012d09a40006f331380016015328..."} 
[2026-09-10 01:20:47] local.INFO: Packet analysis {"connection_id":175946,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a087b7"} 
[2026-09-10 01:20:47] local.INFO: Extracted packet for processing {"connection_id":175946,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b7"} 
[2026-09-10 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":755606528,"raw_latitude":116601144,"longitude_deg":75.5606528,"latitude_deg":11.6601144,"altitude":22,"angle":339,"satellites":40,"speed":30,"hex_longitude":"2d09a400","hex_latitude":"06f33138","is_valid_coordinates":true} 
[2026-09-10 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979742464001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403431204440768512,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":695595066045315072,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788983373000,"timestamp_ms":1788983373000,"timestamp_seconds":1788983373,"priority":1,"record_length":96,"hex_timestamp":"000001a087b7ecc8"} 
[2026-09-10 01:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:20: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-09-10 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:20:47] 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-09-10 01:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979742464001,"66":27321,"212":206,"80":6400,"24":30,"16":403431204440768512,"45":695595066045315072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979742464001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403431204440768512,"km_value":403431204440768.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":695595066045315072,"description":"Unknown IO ID 45"} 
[2026-09-10 01:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979742464001,"power":27321,"unknown_212":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":695595066045315072}} 
[2026-09-10 01:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":175946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:20:47] local.INFO: GPS data processed {"connection_id":175946,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:20:47] local.INFO: Acknowledgment sent {"connection_id":175946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:20:47] local.INFO: Packet analysis {"connection_id":175946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:20:47] local.INFO: Extracted packet for processing {"connection_id":175946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":755605248,"raw_latitude":116605568,"longitude_deg":75.5605248,"latitude_deg":11.6605568,"altitude":21,"angle":351,"satellites":39,"speed":32,"hex_longitude":"2d099f00","hex_latitude":"06f34280","is_valid_coordinates":true} 
[2026-09-10 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979743488001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403431427779067904,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694680272371791872,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788983379000,"timestamp_ms":1788983379000,"timestamp_seconds":1788983379,"priority":1,"record_length":96,"hex_timestamp":"000001a087b80438"} 
[2026-09-10 01:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:20:47] 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-09-10 01:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979743488001,"66":27321,"212":206,"80":6400,"24":32,"16":403431427779067904,"45":694680272371791872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-10 01:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979743488001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403431427779067904,"km_value":403431427779067.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":694680272371791872,"description":"Unknown IO ID 45"} 
[2026-09-10 01:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979743488001,"power":27321,"unknown_212":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":694680272371791872}} 
[2026-09-10 01:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":175946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:20:47] local.INFO: GPS data processed {"connection_id":175946,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:20:47] local.INFO: Acknowledgment sent {"connection_id":175946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:20:52] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b82b48012d099ac006f366380014016026..."} 
[2026-09-10 01:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b82b48012d099ac006f366380014016026..."} 
[2026-09-10 01:20:52] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b82b48012d099ac006f366380014016026..."} 
[2026-09-10 01:20:52] local.INFO: Packet analysis {"connection_id":175946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:20:52] local.INFO: Extracted packet for processing {"connection_id":175946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:20:52] local.INFO: GPS Element Parsed {"raw_longitude":755604160,"raw_latitude":116614712,"longitude_deg":75.560416,"latitude_deg":11.6614712,"altitude":20,"angle":352,"satellites":38,"speed":36,"hex_longitude":"2d099ac0","hex_latitude":"06f36638","is_valid_coordinates":true} 
[2026-09-10 01:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979745024001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403431874455666688,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":693272897489371136,"note":"Value kept but may cause issues"} 
[2026-09-10 01:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788983389000,"timestamp_ms":1788983389000,"timestamp_seconds":1788983389,"priority":1,"record_length":96,"hex_timestamp":"000001a087b82b48"} 
[2026-09-10 01:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:20:52] 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-09-10 01:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979745024001,"66":26582,"212":206,"80":6400,"24":36,"16":403431874455666688,"45":693272897489371136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-10 01:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979745024001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:20:52] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 01:20:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403431874455666688,"km_value":403431874455666.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":693272897489371136,"description":"Unknown IO ID 45"} 
[2026-09-10 01:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979745024001,"power":26582,"unknown_212":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":693272897489371136}} 
[2026-09-10 01:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":175946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:20:52] local.INFO: GPS data processed {"connection_id":175946,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:20:52] local.INFO: Acknowledgment sent {"connection_id":175946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:21:37] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:37] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:37] local.INFO: IMEI packet received {"connection_id":176174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":176174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:21:42] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:42] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:42] local.INFO: IMEI packet received {"connection_id":176174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":176174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:21:51] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:51] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:21:51] local.INFO: IMEI packet received {"connection_id":176174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":176174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:21:52] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b85258012d09964006f389a00013016128..."} 
[2026-09-10 01:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b85258012d09964006f389a00013016128..."} 
[2026-09-10 01:21:52] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b85258012d09964006f389a00013016128..."} 
[2026-09-10 01:21:52] local.INFO: Packet analysis {"connection_id":176174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:21:52] local.INFO: Extracted packet for processing {"connection_id":176174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:21:52] local.INFO: GPS Element Parsed {"raw_longitude":755603008,"raw_latitude":116623776,"longitude_deg":75.5603008,"latitude_deg":11.6623776,"altitude":19,"angle":353,"satellites":40,"speed":33,"hex_longitude":"2d099640","hex_latitude":"06f389a0","is_valid_coordinates":true} 
[2026-09-10 01:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979747584001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403432316837298176,"note":"Value kept but may cause issues"} 
[2026-09-10 01:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":692076628840691712,"note":"Value kept but may cause issues"} 
[2026-09-10 01:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788983399000,"timestamp_ms":1788983399000,"timestamp_seconds":1788983399,"priority":1,"record_length":96,"hex_timestamp":"000001a087b85258"} 
[2026-09-10 01:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 01:21:52] 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-09-10 01:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979747584001,"66":26941,"212":206,"80":6400,"24":33,"16":403432316837298176,"45":692076628840691712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-10 01:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979747584001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:21:52] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 01:21:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403432316837298176,"km_value":403432316837298.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":692076628840691712,"description":"Unknown IO ID 45"} 
[2026-09-10 01:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979747584001,"power":26941,"unknown_212":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":692076628840691712}} 
[2026-09-10 01:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":176174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:21:52] local.INFO: GPS data processed {"connection_id":176174,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:21:52] local.INFO: Acknowledgment sent {"connection_id":176174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:21:53] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b890d8012d098f8006f3ac780012015f26..."} 
[2026-09-10 01:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b890d8012d098f8006f3ac780012015f26..."} 
[2026-09-10 01:21:53] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b890d8012d098f8006f3ac780012015f26..."} 
[2026-09-10 01:21:53] local.INFO: Packet analysis {"connection_id":176174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:21:53] local.INFO: Extracted packet for processing {"connection_id":176174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":755601280,"raw_latitude":116632696,"longitude_deg":75.560128,"latitude_deg":11.6632696,"altitude":18,"angle":351,"satellites":38,"speed":20,"hex_longitude":"2d098f80","hex_latitude":"06f3ac78","is_valid_coordinates":true} 
[2026-09-10 01:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979750144001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403432759218929664,"note":"Value kept but may cause issues"} 
[2026-09-10 01:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":690809991447814144,"note":"Value kept but may cause issues"} 
[2026-09-10 01:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788983415000,"timestamp_ms":1788983415000,"timestamp_seconds":1788983415,"priority":1,"record_length":96,"hex_timestamp":"000001a087b890d8"} 
[2026-09-10 01:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:21: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-09-10 01:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-10 01:21:53] 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-09-10 01:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979750144001,"66":27180,"212":206,"80":6400,"24":20,"16":403432759218929664,"45":690809991447814144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-10 01:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979750144001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:21:53] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 01:21:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403432759218929664,"km_value":403432759218929.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":690809991447814144,"description":"Unknown IO ID 45"} 
[2026-09-10 01:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979750144001,"power":27180,"unknown_212":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":690809991447814144}} 
[2026-09-10 01:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":176174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:21:53] local.INFO: GPS data processed {"connection_id":176174,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:21:53] local.INFO: Acknowledgment sent {"connection_id":176174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:22:42] local.INFO: TCP Data received {"connection_id":177350,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:22:42] local.INFO: Processing buffer {"connection_id":177350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:22:42] local.INFO: IMEI packet received {"connection_id":177350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":177350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:22:47] local.INFO: TCP Data received {"connection_id":177350,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:22:47] local.INFO: Processing buffer {"connection_id":177350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:22:47] local.INFO: IMEI packet received {"connection_id":177350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":177350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:22:49] local.INFO: TCP Data received {"connection_id":177350,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b8d340012d09884006f3cec8000d01552a..."} 
[2026-09-10 01:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b8d340012d09884006f3cec8000d01552a..."} 
[2026-09-10 01:22:49] local.INFO: Processing buffer {"connection_id":177350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b8d340012d09884006f3cec8000d01552a..."} 
[2026-09-10 01:22:49] local.INFO: Packet analysis {"connection_id":177350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:22:49] local.INFO: Extracted packet for processing {"connection_id":177350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b8"} 
[2026-09-10 01:22:49] local.INFO: GPS Element Parsed {"raw_longitude":755599424,"raw_latitude":116641480,"longitude_deg":75.5599424,"latitude_deg":11.664148,"altitude":13,"angle":341,"satellites":42,"speed":26,"hex_longitude":"2d098840","hex_latitude":"06f3cec8","is_valid_coordinates":true} 
[2026-09-10 01:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979754240001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403433197305593856,"note":"Value kept but may cause issues"} 
[2026-09-10 01:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688910035357300736,"note":"Value kept but may cause issues"} 
[2026-09-10 01:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788983432000,"timestamp_ms":1788983432000,"timestamp_seconds":1788983432,"priority":1,"record_length":96,"hex_timestamp":"000001a087b8d340"} 
[2026-09-10 01:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 01:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979754240001,"66":27321,"212":206,"80":6400,"24":26,"16":403433197305593856,"45":688910035357300736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-10 01:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979754240001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:22:49] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 01:22:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403433197305593856,"km_value":403433197305593.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":688910035357300736,"description":"Unknown IO ID 45"} 
[2026-09-10 01:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979754240001,"power":27321,"unknown_212":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":688910035357300736}} 
[2026-09-10 01:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":177350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:22:49] local.INFO: GPS data processed {"connection_id":177350,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:22:49] local.INFO: Acknowledgment sent {"connection_id":177350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:22:50] local.INFO: TCP Data received {"connection_id":177350,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087b90220012d09800006f3e910000b01412a..."} 
[2026-09-10 01:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087b90220012d09800006f3e910000b01412a..."} 
[2026-09-10 01:22:50] local.INFO: Processing buffer {"connection_id":177350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087b90220012d09800006f3e910000b01412a..."} 
[2026-09-10 01:22:50] local.INFO: Packet analysis {"connection_id":177350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087b9"} 
[2026-09-10 01:22:50] local.INFO: Extracted packet for processing {"connection_id":177350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087b9"} 
[2026-09-10 01:22:50] local.INFO: GPS Element Parsed {"raw_longitude":755597312,"raw_latitude":116648208,"longitude_deg":75.5597312,"latitude_deg":11.6648208,"altitude":11,"angle":321,"satellites":42,"speed":15,"hex_longitude":"2d098000","hex_latitude":"06f3e910","is_valid_coordinates":true} 
[2026-09-10 01:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979758592001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403433540902977536,"note":"Value kept but may cause issues"} 
[2026-09-10 01:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":686869341778397184,"note":"Value kept but may cause issues"} 
[2026-09-10 01:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788983444000,"timestamp_ms":1788983444000,"timestamp_seconds":1788983444,"priority":1,"record_length":96,"hex_timestamp":"000001a087b90220"} 
[2026-09-10 01:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:22: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-09-10 01:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:22:50] 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-09-10 01:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979758592001,"66":27234,"212":206,"80":6400,"24":15,"16":403433540902977536,"45":686869341778397184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-10 01:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979758592001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:22:50] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 01:22:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403433540902977536,"km_value":403433540902977.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":686869341778397184,"description":"Unknown IO ID 45"} 
[2026-09-10 01:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979758592001,"power":27234,"unknown_212":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":686869341778397184}} 
[2026-09-10 01:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":177350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:22:50] local.INFO: GPS data processed {"connection_id":177350,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:22:50] local.INFO: Acknowledgment sent {"connection_id":177350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:23:22] local.INFO: TCP Data received {"connection_id":177350,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ba80f0012d08e50006f504b0000701372b..."} 
[2026-09-10 01:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ba80f0012d08e50006f504b0000701372b..."} 
[2026-09-10 01:23:22] local.INFO: Processing buffer {"connection_id":177350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ba80f0012d08e50006f504b0000701372b..."} 
[2026-09-10 01:23:22] local.INFO: Packet analysis {"connection_id":177350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:23:22] local.INFO: Extracted packet for processing {"connection_id":177350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":755557632,"raw_latitude":116720816,"longitude_deg":75.5557632,"latitude_deg":11.6720816,"altitude":7,"angle":311,"satellites":43,"speed":36,"hex_longitude":"2d08e500","hex_latitude":"06f504b0","is_valid_coordinates":true} 
[2026-09-10 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979783936001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403437608237006848,"note":"Value kept but may cause issues"} 
[2026-09-10 01:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647814688778225664,"note":"Value kept but may cause issues"} 
[2026-09-10 01:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788983542000,"timestamp_ms":1788983542000,"timestamp_seconds":1788983542,"priority":1,"record_length":96,"hex_timestamp":"000001a087ba80f0"} 
[2026-09-10 01:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:23: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-09-10 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 01:23:22] 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-09-10 01:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979783936001,"66":27332,"12":206,"80":6400,"24":36,"16":403437608237006848,"45":647814688778225664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 01:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979783936001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:23:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:23:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403437608237006848,"km_value":403437608237006.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":647814688778225664,"description":"Unknown IO ID 45"} 
[2026-09-10 01:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979783936001,"power":27332,"unknown_12":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":647814688778225664}} 
[2026-09-10 01:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":177350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:23:22] local.INFO: GPS data processed {"connection_id":177350,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:23:22] local.INFO: Acknowledgment sent {"connection_id":177350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:23:42] local.INFO: TCP Data received {"connection_id":177351,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:23:42] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:23:42] local.INFO: IMEI packet received {"connection_id":177351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":177351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:23:45] local.INFO: TCP Data received {"connection_id":177351,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:23:45] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:23:45] local.INFO: IMEI packet received {"connection_id":177351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":177351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:23:45] local.INFO: TCP Data received {"connection_id":177351,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ba9478012d08d88006f512300008014329..."} 
[2026-09-10 01:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ba9478012d08d88006f512300008014329..."} 
[2026-09-10 01:23:45] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ba9478012d08d88006f512300008014329..."} 
[2026-09-10 01:23:45] local.INFO: Packet analysis {"connection_id":177351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:23:45] local.INFO: Extracted packet for processing {"connection_id":177351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:23:45] local.INFO: GPS Element Parsed {"raw_longitude":755554432,"raw_latitude":116724272,"longitude_deg":75.5554432,"latitude_deg":11.6724272,"altitude":8,"angle":323,"satellites":41,"speed":36,"hex_longitude":"2d08d880","hex_latitude":"06f51230","is_valid_coordinates":true} 
[2026-09-10 01:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979786752001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403437831575306240,"note":"Value kept but may cause issues"} 
[2026-09-10 01:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":640918551850692608,"note":"Value kept but may cause issues"} 
[2026-09-10 01:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788983547000,"timestamp_ms":1788983547000,"timestamp_seconds":1788983547,"priority":1,"record_length":96,"hex_timestamp":"000001a087ba9478"} 
[2026-09-10 01:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 01:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979786752001,"66":27300,"12":206,"80":6400,"24":36,"16":403437831575306240,"45":640918551850692608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 01:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979786752001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:23:45] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:23:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403437831575306240,"km_value":403437831575306.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":640918551850692608,"description":"Unknown IO ID 45"} 
[2026-09-10 01:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979786752001,"power":27300,"unknown_12":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":640918551850692608}} 
[2026-09-10 01:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":177351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:23:45] local.INFO: GPS data processed {"connection_id":177351,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:23:45] local.INFO: Acknowledgment sent {"connection_id":177351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:24:16] local.INFO: TCP Data received {"connection_id":177351,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087babb88012d08c18006f52eb8000901422c..."} 
[2026-09-10 01:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087babb88012d08c18006f52eb8000901422c..."} 
[2026-09-10 01:24:16] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087babb88012d08c18006f52eb8000901422c..."} 
[2026-09-10 01:24:16] local.INFO: Packet analysis {"connection_id":177351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:24:16] local.INFO: Extracted packet for processing {"connection_id":177351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:24:16] local.INFO: GPS Element Parsed {"raw_longitude":755548544,"raw_latitude":116731576,"longitude_deg":75.5548544,"latitude_deg":11.6731576,"altitude":9,"angle":322,"satellites":44,"speed":38,"hex_longitude":"2d08c180","hex_latitude":"06f52eb8","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979788032001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403438282546872320,"note":"Value kept but may cause issues"} 
[2026-09-10 01:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":637400114642694144,"note":"Value kept but may cause issues"} 
[2026-09-10 01:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788983557000,"timestamp_ms":1788983557000,"timestamp_seconds":1788983557,"priority":1,"record_length":96,"hex_timestamp":"000001a087babb88"} 
[2026-09-10 01:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 01:24:16] 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-09-10 01: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-09-10 01:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979788032001,"66":27300,"12":206,"80":6400,"24":38,"16":403438282546872320,"45":637400114642694144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 01:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979788032001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:24:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:24:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403438282546872320,"km_value":403438282546872.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":637400114642694144,"description":"Unknown IO ID 45"} 
[2026-09-10 01:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979788032001,"power":27300,"unknown_12":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":637400114642694144}} 
[2026-09-10 01:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":177351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:24:16] local.INFO: GPS data processed {"connection_id":177351,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:24:16] local.INFO: Acknowledgment sent {"connection_id":177351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:24:37] local.INFO: TCP Data received {"connection_id":177352,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:24:37] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:24:37] local.INFO: IMEI packet received {"connection_id":177352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":177352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:24:42] local.INFO: TCP Data received {"connection_id":177352,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:24:42] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:24:42] local.INFO: IMEI packet received {"connection_id":177352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":177352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:24:43] local.INFO: TCP Data received {"connection_id":177352,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087bae298012d08abc006f54d30000b01472d..."} 
[2026-09-10 01:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087bae298012d08abc006f54d30000b01472d..."} 
[2026-09-10 01:24:43] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087bae298012d08abc006f54d30000b01472d..."} 
[2026-09-10 01:24:43] local.INFO: Packet analysis {"connection_id":177352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:24:43] local.INFO: Extracted packet for processing {"connection_id":177352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ba"} 
[2026-09-10 01:24:43] local.INFO: GPS Element Parsed {"raw_longitude":755542976,"raw_latitude":116739376,"longitude_deg":75.5542976,"latitude_deg":11.6739376,"altitude":11,"angle":327,"satellites":45,"speed":38,"hex_longitude":"2d08abc0","hex_latitude":"06f54d30","is_valid_coordinates":true} 
[2026-09-10 01:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979790592001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403438746403340288,"note":"Value kept but may cause issues"} 
[2026-09-10 01:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":630926190180218880,"note":"Value kept but may cause issues"} 
[2026-09-10 01:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788983567000,"timestamp_ms":1788983567000,"timestamp_seconds":1788983567,"priority":1,"record_length":96,"hex_timestamp":"000001a087bae298"} 
[2026-09-10 01:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:24: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-09-10 01:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 01:24:43] 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-09-10 01:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979790592001,"66":27213,"12":206,"80":6400,"24":38,"16":403438746403340288,"45":630926190180218880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 01:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979790592001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:24:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:24:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403438746403340288,"km_value":403438746403340.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":630926190180218880,"description":"Unknown IO ID 45"} 
[2026-09-10 01:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979790592001,"power":27213,"unknown_12":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":630926190180218880}} 
[2026-09-10 01:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":177352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:24:43] local.INFO: GPS data processed {"connection_id":177352,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:24:43] local.INFO: Acknowledgment sent {"connection_id":177352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:25:14] local.INFO: TCP Data received {"connection_id":177352,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087bb09a8012d08960006f56d30000c01432f..."} 
[2026-09-10 01:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087bb09a8012d08960006f56d30000c01432f..."} 
[2026-09-10 01:25:14] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087bb09a8012d08960006f56d30000c01432f..."} 
[2026-09-10 01:25:14] local.INFO: Packet analysis {"connection_id":177352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087bb"} 
[2026-09-10 01:25:14] local.INFO: Extracted packet for processing {"connection_id":177352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087bb"} 
[2026-09-10 01:25:14] local.INFO: GPS Element Parsed {"raw_longitude":755537408,"raw_latitude":116747568,"longitude_deg":75.5537408,"latitude_deg":11.6747568,"altitude":12,"angle":323,"satellites":47,"speed":40,"hex_longitude":"2d089600","hex_latitude":"06f56d30","is_valid_coordinates":true} 
[2026-09-10 01:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979793152001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403439223144710144,"note":"Value kept but may cause issues"} 
[2026-09-10 01:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":624804109438758912,"note":"Value kept but may cause issues"} 
[2026-09-10 01:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788983577000,"timestamp_ms":1788983577000,"timestamp_seconds":1788983577,"priority":1,"record_length":96,"hex_timestamp":"000001a087bb09a8"} 
[2026-09-10 01:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979793152001,"66":27300,"12":206,"80":6400,"24":40,"16":403439223144710144,"45":624804109438758912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 01:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979793152001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:25:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:25:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403439223144710144,"km_value":403439223144710.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":624804109438758912,"description":"Unknown IO ID 45"} 
[2026-09-10 01:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979793152001,"power":27300,"unknown_12":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":624804109438758912}} 
[2026-09-10 01:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":177352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:25:14] local.INFO: GPS data processed {"connection_id":177352,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:25:14] local.INFO: Acknowledgment sent {"connection_id":177352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:25:37] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:25:37] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:25:37] local.INFO: IMEI packet received {"connection_id":175947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":175947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:25:42] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:25:42] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:25:42] local.INFO: IMEI packet received {"connection_id":175947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":175947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:25:43] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087bc80a8012d07abc006f68678000b01412d..."} 
[2026-09-10 01:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087bc80a8012d07abc006f68678000b01412d..."} 
[2026-09-10 01:25:43] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087bc80a8012d07abc006f68678000b01412d..."} 
[2026-09-10 01:25:43] local.INFO: Packet analysis {"connection_id":175947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:25:43] local.INFO: Extracted packet for processing {"connection_id":175947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:25:43] local.INFO: GPS Element Parsed {"raw_longitude":755477440,"raw_latitude":116819576,"longitude_deg":75.547744,"latitude_deg":11.6819576,"altitude":11,"angle":321,"satellites":45,"speed":42,"hex_longitude":"2d07abc0","hex_latitude":"06f68678","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979817984001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403443741450305536,"note":"Value kept but may cause issues"} 
[2026-09-10 01:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559431546116349952,"note":"Value kept but may cause issues"} 
[2026-09-10 01:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788983673000,"timestamp_ms":1788983673000,"timestamp_seconds":1788983673,"priority":1,"record_length":96,"hex_timestamp":"000001a087bc80a8"} 
[2026-09-10 01:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:25: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-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01: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-09-10 01:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979817984001,"66":27463,"42":206,"80":6400,"24":42,"16":403443741450305536,"45":559431546116349952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 01:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979817984001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:25:43] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 01:25:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403443741450305536,"km_value":403443741450305.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":559431546116349952,"description":"Unknown IO ID 45"} 
[2026-09-10 01:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979817984001,"power":27463,"unknown_42":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":559431546116349952}} 
[2026-09-10 01:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":175947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:25:43] local.INFO: GPS data processed {"connection_id":175947,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:25:43] local.INFO: Acknowledgment sent {"connection_id":175947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:26:14] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087bca3d0012d07934006f6a400000b014028..."} 
[2026-09-10 01:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087bca3d0012d07934006f6a400000b014028..."} 
[2026-09-10 01:26:14] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087bca3d0012d07934006f6a400000b014028..."} 
[2026-09-10 01:26:14] local.INFO: Packet analysis {"connection_id":175947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:26:14] local.INFO: Extracted packet for processing {"connection_id":175947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:26:14] local.INFO: GPS Element Parsed {"raw_longitude":755471168,"raw_latitude":116827136,"longitude_deg":75.5471168,"latitude_deg":11.6827136,"altitude":11,"angle":320,"satellites":40,"speed":42,"hex_longitude":"2d079340","hex_latitude":"06f6a400","is_valid_coordinates":true} 
[2026-09-10 01:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979820288001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403444213896708096,"note":"Value kept but may cause issues"} 
[2026-09-10 01:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":552746515421362176,"note":"Value kept but may cause issues"} 
[2026-09-10 01:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788983682000,"timestamp_ms":1788983682000,"timestamp_seconds":1788983682,"priority":1,"record_length":96,"hex_timestamp":"000001a087bca3d0"} 
[2026-09-10 01:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 01:26:14] 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-09-10 01:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979820288001,"66":27310,"42":206,"80":6400,"24":42,"16":403444213896708096,"45":552746515421362176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 01:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979820288001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:26:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 01:26:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403444213896708096,"km_value":403444213896708.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":552746515421362176,"description":"Unknown IO ID 45"} 
[2026-09-10 01:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979820288001,"power":27310,"unknown_42":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":552746515421362176}} 
[2026-09-10 01:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":175947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:26:14] local.INFO: GPS data processed {"connection_id":175947,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:26:14] local.INFO: Acknowledgment sent {"connection_id":175947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:26:37] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:26:37] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:26:37] local.INFO: IMEI packet received {"connection_id":176175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":176175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:26:42] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:26:42] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:26:42] local.INFO: IMEI packet received {"connection_id":176175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":176175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:26:44] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087bcc6f8012d077a4006f6c0c8000c014020..."} 
[2026-09-10 01:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087bcc6f8012d077a4006f6c0c8000c014020..."} 
[2026-09-10 01:26:44] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087bcc6f8012d077a4006f6c0c8000c014020..."} 
[2026-09-10 01:26:44] local.INFO: Packet analysis {"connection_id":176175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:26:44] local.INFO: Extracted packet for processing {"connection_id":176175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":755464768,"raw_latitude":116834504,"longitude_deg":75.5464768,"latitude_deg":11.6834504,"altitude":12,"angle":320,"satellites":32,"speed":41,"hex_longitude":"2d077a40","hex_latitude":"06f6c0c8","is_valid_coordinates":true} 
[2026-09-10 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979822592001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403444686343110656,"note":"Value kept but may cause issues"} 
[2026-09-10 01:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":545850378493886464,"note":"Value kept but may cause issues"} 
[2026-09-10 01:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788983691000,"timestamp_ms":1788983691000,"timestamp_seconds":1788983691,"priority":1,"record_length":96,"hex_timestamp":"000001a087bcc6f8"} 
[2026-09-10 01:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 01:26:44] 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-09-10 01:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979822592001,"66":27343,"42":206,"80":6400,"24":41,"16":403444686343110656,"45":545850378493886464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 01:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979822592001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:26:44] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 01:26:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403444686343110656,"km_value":403444686343110.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":545850378493886464,"description":"Unknown IO ID 45"} 
[2026-09-10 01:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979822592001,"power":27343,"unknown_42":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":545850378493886464}} 
[2026-09-10 01:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":176175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:26:44] local.INFO: GPS data processed {"connection_id":176175,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:26:44] local.INFO: Acknowledgment sent {"connection_id":176175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:27:17] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087bcf9c0012d07634006f6dc48000f01471e..."} 
[2026-09-10 01:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087bcf9c0012d07634006f6dc48000f01471e..."} 
[2026-09-10 01:27:17] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087bcf9c0012d07634006f6dc48000f01471e..."} 
[2026-09-10 01:27:17] local.INFO: Packet analysis {"connection_id":176175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:27:17] local.INFO: Extracted packet for processing {"connection_id":176175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087bc"} 
[2026-09-10 01:27:17] local.INFO: GPS Element Parsed {"raw_longitude":755458880,"raw_latitude":116841544,"longitude_deg":75.545888,"latitude_deg":11.6841544,"altitude":15,"angle":327,"satellites":30,"speed":11,"hex_longitude":"2d076340","hex_latitude":"06f6dc48","is_valid_coordinates":true} 
[2026-09-10 01:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979824896001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403445124429774848,"note":"Value kept but may cause issues"} 
[2026-09-10 01:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":538813504078006272,"note":"Value kept but may cause issues"} 
[2026-09-10 01:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788983704000,"timestamp_ms":1788983704000,"timestamp_seconds":1788983704,"priority":1,"record_length":96,"hex_timestamp":"000001a087bcf9c0"} 
[2026-09-10 01:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:27:17] 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-09-10 01:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979824896001,"66":27300,"42":206,"80":6400,"24":11,"16":403445124429774848,"45":538813504078006272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 01:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979824896001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:27:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 01:27:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 01:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403445124429774848,"km_value":403445124429774.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":538813504078006272,"description":"Unknown IO ID 45"} 
[2026-09-10 01:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979824896001,"power":27300,"unknown_42":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":538813504078006272}} 
[2026-09-10 01:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":176175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:27:17] local.INFO: GPS data processed {"connection_id":176175,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:27:17] local.INFO: Acknowledgment sent {"connection_id":176175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:27:40] local.INFO: TCP Data received {"connection_id":178731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:27:40] local.INFO: Processing buffer {"connection_id":178731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:27:40] local.INFO: IMEI packet received {"connection_id":178731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":178731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:27:55] local.INFO: TCP Data received {"connection_id":178731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:27:55] local.INFO: Processing buffer {"connection_id":178731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:27:55] local.INFO: IMEI packet received {"connection_id":178731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":178731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:28:14] local.INFO: TCP Data received {"connection_id":178731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:28:14] local.INFO: Processing buffer {"connection_id":178731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:28:14] local.INFO: IMEI packet received {"connection_id":178731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":178731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:28:18] local.INFO: TCP Data received {"connection_id":178731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:28:18] local.INFO: Processing buffer {"connection_id":178731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:28:18] local.INFO: IMEI packet received {"connection_id":178731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":178731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:33:37] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:33:37] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:33:37] local.INFO: IMEI packet received {"connection_id":175949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":175949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:33:54] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:33:54] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:33:54] local.INFO: IMEI packet received {"connection_id":175949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":175949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:33:55] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c37db8012d04b70006faa5580015014f26..."} 
[2026-09-10 01:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c37db8012d04b70006faa5580015014f26..."} 
[2026-09-10 01:33:55] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c37db8012d04b70006faa5580015014f26..."} 
[2026-09-10 01:33:55] local.INFO: Packet analysis {"connection_id":175949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c3"} 
[2026-09-10 01:33:55] local.INFO: Extracted packet for processing {"connection_id":175949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c3"} 
[2026-09-10 01:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755283712,"raw_latitude":117089624,"longitude_deg":75.5283712,"latitude_deg":11.7089624,"altitude":21,"angle":335,"satellites":38,"speed":38,"hex_longitude":"2d04b700","hex_latitude":"06faa558","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979937024001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403461642873995264,"note":"Value kept but may cause issues"} 
[2026-09-10 01:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":340866226771152896,"note":"Value kept but may cause issues"} 
[2026-09-10 01:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788984131000,"timestamp_ms":1788984131000,"timestamp_seconds":1788984131,"priority":1,"record_length":96,"hex_timestamp":"000001a087c37db8"} 
[2026-09-10 01:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:33: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-09-10 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:33:55] 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-09-10 01:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979937024001,"66":27234,"139":206,"94":11008,"24":38,"16":403461642873995264,"45":340866226771152896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-10 01:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979937024001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:33:55] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-10 01:33:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403461642873995264,"km_value":403461642873995.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":340866226771152896,"description":"Unknown IO ID 45"} 
[2026-09-10 01:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979937024001,"power":27234,"unknown_139":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":340866226771152896}} 
[2026-09-10 01:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":175949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:33:55] local.INFO: GPS data processed {"connection_id":175949,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:33:55] local.INFO: Acknowledgment sent {"connection_id":175949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:34:37] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:37] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:37] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:34:38] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:38] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:38] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:34:40] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:40] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:40] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:34:42] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:42] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:34:42] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:34:42] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c4b250012d03e3c006fb94800018012328..."} 
[2026-09-10 01:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c4b250012d03e3c006fb94800018012328..."} 
[2026-09-10 01:34:42] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c4b250012d03e3c006fb94800018012328..."} 
[2026-09-10 01:34:42] local.INFO: Packet analysis {"connection_id":176177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c4"} 
[2026-09-10 01:34:42] local.INFO: Extracted packet for processing {"connection_id":176177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c4"} 
[2026-09-10 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":755229632,"raw_latitude":117150848,"longitude_deg":75.5229632,"latitude_deg":11.7150848,"altitude":24,"angle":291,"satellites":40,"speed":48,"hex_longitude":"2d03e3c0","hex_latitude":"06fb9480","is_valid_coordinates":true} 
[2026-09-10 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979956992001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403465813287239680,"note":"Value kept but may cause issues"} 
[2026-09-10 01:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":283797175258699776,"note":"Value kept but may cause issues"} 
[2026-09-10 01:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788984210000,"timestamp_ms":1788984210000,"timestamp_seconds":1788984210,"priority":1,"record_length":96,"hex_timestamp":"000001a087c4b250"} 
[2026-09-10 01:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:34: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-09-10 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 01:34: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-09-10 01:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979956992001,"66":27169,"130":206,"94":11008,"24":48,"16":403465813287239680,"45":283797175258699776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-09-10 01:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979956992001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:34:42] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 01:34:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403465813287239680,"km_value":403465813287239.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":283797175258699776,"description":"Unknown IO ID 45"} 
[2026-09-10 01:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979956992001,"power":27169,"unknown_130":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":283797175258699776}} 
[2026-09-10 01:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":176177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:34:42] local.INFO: GPS data processed {"connection_id":176177,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:34:42] local.INFO: Acknowledgment sent {"connection_id":176177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:35:13] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c4d190012d03c14006fba048001301252a..."} 
[2026-09-10 01:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c4d190012d03c14006fba048001301252a..."} 
[2026-09-10 01:35:13] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c4d190012d03c14006fba048001301252a..."} 
[2026-09-10 01:35:13] local.INFO: Packet analysis {"connection_id":176177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c4"} 
[2026-09-10 01:35:13] local.INFO: Extracted packet for processing {"connection_id":176177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c4"} 
[2026-09-10 01:35:13] local.INFO: GPS Element Parsed {"raw_longitude":755220800,"raw_latitude":117153864,"longitude_deg":75.52208,"latitude_deg":11.7153864,"altitude":19,"angle":293,"satellites":42,"speed":44,"hex_longitude":"2d03c140","hex_latitude":"06fba048","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979957760001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403466255668871168,"note":"Value kept but may cause issues"} 
[2026-09-10 01:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":280278738050252800,"note":"Value kept but may cause issues"} 
[2026-09-10 01:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788984218000,"timestamp_ms":1788984218000,"timestamp_seconds":1788984218,"priority":1,"record_length":96,"hex_timestamp":"000001a087c4d190"} 
[2026-09-10 01:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01: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-09-10 01: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":33,"data_length":795,"current_offset":136} 
[2026-09-10 01:35:13] 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-09-10 01: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-09-10 01:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979957760001,"66":27332,"130":206,"94":11008,"24":44,"16":403466255668871168,"45":280278738050252800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-09-10 01:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979957760001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:35:13] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 01:35:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403466255668871168,"km_value":403466255668871.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":280278738050252800,"description":"Unknown IO ID 45"} 
[2026-09-10 01:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979957760001,"power":27332,"unknown_130":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":280278738050252800}} 
[2026-09-10 01:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":176177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:35:13] local.INFO: GPS data processed {"connection_id":176177,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:35:13] local.INFO: Acknowledgment sent {"connection_id":176177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:35:37] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:35:37] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:35:37] local.INFO: IMEI packet received {"connection_id":175950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":175950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:35:41] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:35:41] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:35:41] local.INFO: IMEI packet received {"connection_id":175950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":175950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:35:41] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c5a098012d03438006fc5b100007013c27..."} 
[2026-09-10 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c5a098012d03438006fc5b100007013c27..."} 
[2026-09-10 01:35:41] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c5a098012d03438006fc5b100007013c27..."} 
[2026-09-10 01:35:41] local.INFO: Packet analysis {"connection_id":175950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c5"} 
[2026-09-10 01:35:41] local.INFO: Extracted packet for processing {"connection_id":175950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c5"} 
[2026-09-10 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":755188608,"raw_latitude":117201680,"longitude_deg":75.5188608,"latitude_deg":11.720168,"altitude":7,"angle":316,"satellites":39,"speed":42,"hex_longitude":"2d034380","hex_latitude":"06fc5b10","is_valid_coordinates":true} 
[2026-09-10 01:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979971072001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403469180541599744,"note":"Value kept but may cause issues"} 
[2026-09-10 01:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":241787034996078592,"note":"Value kept but may cause issues"} 
[2026-09-10 01:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788984271000,"timestamp_ms":1788984271000,"timestamp_seconds":1788984271,"priority":1,"record_length":96,"hex_timestamp":"000001a087c5a098"} 
[2026-09-10 01:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:35:41] 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-09-10 01:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979971072001,"66":27332,"130":206,"94":11008,"24":42,"16":403469180541599744,"45":241787034996078592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-09-10 01:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979971072001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:35:41] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 01:35:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403469180541599744,"km_value":403469180541599.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":241787034996078592,"description":"Unknown IO ID 45"} 
[2026-09-10 01:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979971072001,"power":27332,"unknown_130":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":241787034996078592}} 
[2026-09-10 01:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":175950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:35:41] local.INFO: GPS data processed {"connection_id":175950,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:35:41] local.INFO: Acknowledgment sent {"connection_id":175950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:36:12] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c5b420012d03344006fc69200009012c23..."} 
[2026-09-10 01:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c5b420012d03344006fc69200009012c23..."} 
[2026-09-10 01:36:12] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c5b420012d03344006fc69200009012c23..."} 
[2026-09-10 01:36:12] local.INFO: Packet analysis {"connection_id":175950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c5"} 
[2026-09-10 01:36:12] local.INFO: Extracted packet for processing {"connection_id":175950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c5"} 
[2026-09-10 01:36:12] local.INFO: GPS Element Parsed {"raw_longitude":755184704,"raw_latitude":117205280,"longitude_deg":75.5184704,"latitude_deg":11.720528,"altitude":9,"angle":300,"satellites":35,"speed":42,"hex_longitude":"2d033440","hex_latitude":"06fc6920","is_valid_coordinates":true} 
[2026-09-10 01:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979973376001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403469433944670208,"note":"Value kept but may cause issues"} 
[2026-09-10 01:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":235172373045383168,"note":"Value kept but may cause issues"} 
[2026-09-10 01:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788984276000,"timestamp_ms":1788984276000,"timestamp_seconds":1788984276,"priority":1,"record_length":96,"hex_timestamp":"000001a087c5b420"} 
[2026-09-10 01:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:36: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-09-10 01:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 01:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:36: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-09-10 01:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979973376001,"66":27169,"130":206,"94":11008,"24":42,"16":403469433944670208,"45":235172373045383168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-09-10 01:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979973376001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:36:12] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 01:36:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403469433944670208,"km_value":403469433944670.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":235172373045383168,"description":"Unknown IO ID 45"} 
[2026-09-10 01:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979973376001,"power":27169,"unknown_130":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":235172373045383168}} 
[2026-09-10 01:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":175950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:36:12] local.INFO: GPS data processed {"connection_id":175950,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:36:12] local.INFO: Acknowledgment sent {"connection_id":175950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:36:36] local.INFO: TCP Data received {"connection_id":177353,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:36] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:36] local.INFO: IMEI packet received {"connection_id":177353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":177353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:36:37] local.INFO: TCP Data received {"connection_id":177353,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:37] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:37] local.INFO: IMEI packet received {"connection_id":177353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":177353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:36:42] local.INFO: TCP Data received {"connection_id":177353,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:42] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:36:42] local.INFO: IMEI packet received {"connection_id":177353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":177353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:36:43] local.INFO: TCP Data received {"connection_id":177353,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c5bbf0012d032c8006fc6c500009012025..."} 
[2026-09-10 01:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c5bbf0012d032c8006fc6c500009012025..."} 
[2026-09-10 01:36:43] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c5bbf0012d032c8006fc6c500009012025..."} 
[2026-09-10 01:36:43] local.INFO: Packet analysis {"connection_id":177353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c5"} 
[2026-09-10 01:36:43] local.INFO: Extracted packet for processing {"connection_id":177353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c5"} 
[2026-09-10 01:36:43] local.INFO: GPS Element Parsed {"raw_longitude":755182720,"raw_latitude":117206096,"longitude_deg":75.518272,"latitude_deg":11.7206096,"altitude":9,"angle":288,"satellites":37,"speed":43,"hex_longitude":"2d032c80","hex_latitude":"06fc6c50","is_valid_coordinates":true} 
[2026-09-10 01:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979974656001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403469537023885312,"note":"Value kept but may cause issues"} 
[2026-09-10 01:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":230879879651467264,"note":"Value kept but may cause issues"} 
[2026-09-10 01:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788984278000,"timestamp_ms":1788984278000,"timestamp_seconds":1788984278,"priority":1,"record_length":96,"hex_timestamp":"000001a087c5bbf0"} 
[2026-09-10 01:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 01:36:43] 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-09-10 01:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979974656001,"66":27213,"130":206,"94":11008,"24":43,"16":403469537023885312,"45":230879879651467264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-09-10 01:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979974656001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:36:43] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 01:36:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403469537023885312,"km_value":403469537023885.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":230879879651467264,"description":"Unknown IO ID 45"} 
[2026-09-10 01:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979974656001,"power":27213,"unknown_130":206,"unknown_94":11008,"ignition":43,"odometer":null,"unknown_45":230879879651467264}} 
[2026-09-10 01:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":177353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:36:43] local.INFO: GPS data processed {"connection_id":177353,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:36:43] local.INFO: Acknowledgment sent {"connection_id":177353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:37:15] local.INFO: TCP Data received {"connection_id":177353,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c73ea8012d021cc006fd9f380006015529..."} 
[2026-09-10 01:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c73ea8012d021cc006fd9f380006015529..."} 
[2026-09-10 01:37:15] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c73ea8012d021cc006fd9f380006015529..."} 
[2026-09-10 01:37:15] local.INFO: Packet analysis {"connection_id":177353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:37:15] local.INFO: Extracted packet for processing {"connection_id":177353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:37:15] local.INFO: GPS Element Parsed {"raw_longitude":755113152,"raw_latitude":117284664,"longitude_deg":75.5113152,"latitude_deg":11.7284664,"altitude":6,"angle":341,"satellites":41,"speed":38,"hex_longitude":"2d021cc0","hex_latitude":"06fd9f38","is_valid_coordinates":true} 
[2026-09-10 01:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457979997952001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403474819833659392,"note":"Value kept but may cause issues"} 
[2026-09-10 01:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":156077904608587776,"note":"Value kept but may cause issues"} 
[2026-09-10 01:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788984377000,"timestamp_ms":1788984377000,"timestamp_seconds":1788984377,"priority":1,"record_length":96,"hex_timestamp":"000001a087c73ea8"} 
[2026-09-10 01:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457979997952001,"66":27169,"131":206,"94":11008,"24":38,"16":403474819833659392,"45":156077904608587776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-10 01:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457979997952001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:37:15] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 01:37:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403474819833659392,"km_value":403474819833659.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":156077904608587776,"description":"Unknown IO ID 45"} 
[2026-09-10 01:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457979997952001,"power":27169,"unknown_131":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":156077904608587776}} 
[2026-09-10 01:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":177353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:37:15] local.INFO: GPS data processed {"connection_id":177353,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:37:15] local.INFO: Acknowledgment sent {"connection_id":177353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:37:37] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:37:37] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:37:37] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:37:56] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:37:56] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:37:56] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:37:58] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c769a0012d02118006fdc2280006015327..."} 
[2026-09-10 01:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c769a0012d02118006fdc2280006015327..."} 
[2026-09-10 01:37:58] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c769a0012d02118006fdc2280006015327..."} 
[2026-09-10 01:37:58] local.INFO: Packet analysis {"connection_id":176178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:37:58] local.INFO: Extracted packet for processing {"connection_id":176178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:37:58] local.INFO: GPS Element Parsed {"raw_longitude":755110272,"raw_latitude":117293608,"longitude_deg":75.5110272,"latitude_deg":11.7293608,"altitude":6,"angle":339,"satellites":39,"speed":28,"hex_longitude":"2d021180","hex_latitude":"06fdc228","is_valid_coordinates":true} 
[2026-09-10 01:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980000512001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403475275100192768,"note":"Value kept but may cause issues"} 
[2026-09-10 01:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":152207623681161216,"note":"Value kept but may cause issues"} 
[2026-09-10 01:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788984388000,"timestamp_ms":1788984388000,"timestamp_seconds":1788984388,"priority":1,"record_length":96,"hex_timestamp":"000001a087c769a0"} 
[2026-09-10 01:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:37: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-09-10 01:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 01:37:58] 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-09-10 01:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980000512001,"66":27267,"131":206,"94":11008,"24":28,"16":403475275100192768,"45":152207623681161216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-10 01:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980000512001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:37:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 01:37:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403475275100192768,"km_value":403475275100192.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":152207623681161216,"description":"Unknown IO ID 45"} 
[2026-09-10 01:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980000512001,"power":27267,"unknown_131":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":152207623681161216}} 
[2026-09-10 01:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":176178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:37:58] local.INFO: GPS data processed {"connection_id":176178,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:37:58] local.INFO: Acknowledgment sent {"connection_id":176178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:38:38] local.INFO: TCP Data received {"connection_id":178735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:38] local.INFO: Processing buffer {"connection_id":178735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:38] local.INFO: IMEI packet received {"connection_id":178735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":178735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:38:39] local.INFO: TCP Data received {"connection_id":178735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:39] local.INFO: Processing buffer {"connection_id":178735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:39] local.INFO: IMEI packet received {"connection_id":178735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":178735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:38:42] local.INFO: TCP Data received {"connection_id":178735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:42] local.INFO: Processing buffer {"connection_id":178735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:38:42] local.INFO: IMEI packet received {"connection_id":178735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":178735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:38:43] local.INFO: TCP Data received {"connection_id":178735,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c77940012d020c4006fdcb800006014427..."} 
[2026-09-10 01:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c77940012d020c4006fdcb800006014427..."} 
[2026-09-10 01:38:43] local.INFO: Processing buffer {"connection_id":178735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c77940012d020c4006fdcb800006014427..."} 
[2026-09-10 01:38:43] local.INFO: Packet analysis {"connection_id":178735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:38:43] local.INFO: Extracted packet for processing {"connection_id":178735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:38:43] local.INFO: GPS Element Parsed {"raw_longitude":755108928,"raw_latitude":117296000,"longitude_deg":75.5108928,"latitude_deg":11.7296,"altitude":6,"angle":324,"satellites":39,"speed":25,"hex_longitude":"2d020c40","hex_latitude":"06fdcb80","is_valid_coordinates":true} 
[2026-09-10 01:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980003328001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403475403949211648,"note":"Value kept but may cause issues"} 
[2026-09-10 01:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":149041030195456000,"note":"Value kept but may cause issues"} 
[2026-09-10 01:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788984392000,"timestamp_ms":1788984392000,"timestamp_seconds":1788984392,"priority":1,"record_length":96,"hex_timestamp":"000001a087c77940"} 
[2026-09-10 01:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980003328001,"66":27267,"131":206,"94":11008,"24":25,"16":403475403949211648,"45":149041030195456000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-10 01:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980003328001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:38:43] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 01:38:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403475403949211648,"km_value":403475403949211.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":149041030195456000,"description":"Unknown IO ID 45"} 
[2026-09-10 01:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980003328001,"power":27267,"unknown_131":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":149041030195456000}} 
[2026-09-10 01:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":178735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:38:43] local.INFO: GPS data processed {"connection_id":178735,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:38:43] local.INFO: Acknowledgment sent {"connection_id":178735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:38:48] local.INFO: TCP Data received {"connection_id":178735,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c7ac08012d01f30006fde5780008013b29..."} 
[2026-09-10 01:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c7ac08012d01f30006fde5780008013b29..."} 
[2026-09-10 01:38:48] local.INFO: Processing buffer {"connection_id":178735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c7ac08012d01f30006fde5780008013b29..."} 
[2026-09-10 01:38:48] local.INFO: Packet analysis {"connection_id":178735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:38:48] local.INFO: Extracted packet for processing {"connection_id":178735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c7"} 
[2026-09-10 01:38:48] local.INFO: GPS Element Parsed {"raw_longitude":755102464,"raw_latitude":117302648,"longitude_deg":75.5102464,"latitude_deg":11.7302648,"altitude":8,"angle":315,"satellites":41,"speed":33,"hex_longitude":"2d01f300","hex_latitude":"06fde578","is_valid_coordinates":true} 
[2026-09-10 01:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980004352001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403475850625810432,"note":"Value kept but may cause issues"} 
[2026-09-10 01:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":147563286568337408,"note":"Value kept but may cause issues"} 
[2026-09-10 01:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788984405000,"timestamp_ms":1788984405000,"timestamp_seconds":1788984405,"priority":1,"record_length":96,"hex_timestamp":"000001a087c7ac08"} 
[2026-09-10 01:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980004352001,"66":27245,"47":206,"94":11008,"24":33,"16":403475850625810432,"45":147563286568337408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,94,24,16,45]} 
[2026-09-10 01:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980004352001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:38:48] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 01:38:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 01:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403475850625810432,"km_value":403475850625810.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":147563286568337408,"description":"Unknown IO ID 45"} 
[2026-09-10 01:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980004352001,"power":27245,"unknown_47":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":147563286568337408}} 
[2026-09-10 01:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":178735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:38:48] local.INFO: GPS data processed {"connection_id":178735,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:38:48] local.INFO: Acknowledgment sent {"connection_id":178735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:39:19] local.INFO: TCP Data received {"connection_id":178735,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c94a18012d00b64006fea6700004012029..."} 
[2026-09-10 01:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c94a18012d00b64006fea6700004012029..."} 
[2026-09-10 01:39:19] local.INFO: Processing buffer {"connection_id":178735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c94a18012d00b64006fea6700004012029..."} 
[2026-09-10 01:39:19] local.INFO: Packet analysis {"connection_id":178735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c9"} 
[2026-09-10 01:39:19] local.INFO: Extracted packet for processing {"connection_id":178735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c9"} 
[2026-09-10 01:39:19] local.INFO: GPS Element Parsed {"raw_longitude":755021376,"raw_latitude":117352048,"longitude_deg":75.5021376,"latitude_deg":11.7352048,"altitude":4,"angle":288,"satellites":41,"speed":12,"hex_longitude":"2d00b640","hex_latitude":"06fea670","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980032768001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403480514960293888,"note":"Value kept but may cause issues"} 
[2026-09-10 01:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57632031523495936,"note":"Value kept but may cause issues"} 
[2026-09-10 01:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788984511000,"timestamp_ms":1788984511000,"timestamp_seconds":1788984511,"priority":1,"record_length":96,"hex_timestamp":"000001a087c94a18"} 
[2026-09-10 01:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:39: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-09-10 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 01:39:19] 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-09-10 01: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-09-10 01:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980032768001,"66":27234,"27":206,"94":10240,"24":12,"16":403480514960293888,"45":57632031523495936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-09-10 01:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980032768001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:39:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 01:39:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403480514960293888,"km_value":403480514960293.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":57632031523495936,"description":"Unknown IO ID 45"} 
[2026-09-10 01:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980032768001,"power":27234,"unknown_27":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":57632031523495936}} 
[2026-09-10 01:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":178735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:39:19] local.INFO: GPS data processed {"connection_id":178735,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:39:19] local.INFO: Acknowledgment sent {"connection_id":178735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:39:35] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:35] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:35] local.INFO: IMEI packet received {"connection_id":177354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":177354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:39:37] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:37] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:37] local.INFO: IMEI packet received {"connection_id":177354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":177354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:39:37] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:37] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:37] local.INFO: IMEI packet received {"connection_id":177354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":177354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:39:42] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:42] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:39:42] local.INFO: IMEI packet received {"connection_id":177354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":177354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:39:43] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c959b8012d00b1c006fea790000401142b..."} 
[2026-09-10 01:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c959b8012d00b1c006fea790000401142b..."} 
[2026-09-10 01:39:43] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c959b8012d00b1c006fea790000401142b..."} 
[2026-09-10 01:39:43] local.INFO: Packet analysis {"connection_id":177354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c9"} 
[2026-09-10 01:39:43] local.INFO: Extracted packet for processing {"connection_id":177354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c9"} 
[2026-09-10 01:39:43] local.INFO: GPS Element Parsed {"raw_longitude":755020224,"raw_latitude":117352336,"longitude_deg":75.5020224,"latitude_deg":11.7352336,"altitude":4,"angle":276,"satellites":43,"speed":15,"hex_longitude":"2d00b1c0","hex_latitude":"06fea790","is_valid_coordinates":true} 
[2026-09-10 01:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980034816001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403480570794868736,"note":"Value kept but may cause issues"} 
[2026-09-10 01:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":51298844547641344,"note":"Value kept but may cause issues"} 
[2026-09-10 01:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788984515000,"timestamp_ms":1788984515000,"timestamp_seconds":1788984515,"priority":1,"record_length":96,"hex_timestamp":"000001a087c959b8"} 
[2026-09-10 01:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:39:43] 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-09-10 01:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980034816001,"66":27245,"27":206,"94":10240,"24":15,"16":403480570794868736,"45":51298844547641344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-09-10 01:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980034816001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:39:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 01:39:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403480570794868736,"km_value":403480570794868.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":51298844547641344,"description":"Unknown IO ID 45"} 
[2026-09-10 01:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980034816001,"power":27245,"unknown_27":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":51298844547641344}} 
[2026-09-10 01:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":177354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:39:44] local.INFO: GPS data processed {"connection_id":177354,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:39:44] local.INFO: Acknowledgment sent {"connection_id":177354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:40:15] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087c96958012d00aa4006fea960000401222a..."} 
[2026-09-10 01:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087c96958012d00aa4006fea960000401222a..."} 
[2026-09-10 01:40:15] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087c96958012d00aa4006fea960000401222a..."} 
[2026-09-10 01:40:15] local.INFO: Packet analysis {"connection_id":177354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087c9"} 
[2026-09-10 01:40:15] local.INFO: Extracted packet for processing {"connection_id":177354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087c9"} 
[2026-09-10 01:40:15] local.INFO: GPS Element Parsed {"raw_longitude":755018304,"raw_latitude":117352800,"longitude_deg":75.5018304,"latitude_deg":11.73528,"altitude":4,"angle":290,"satellites":42,"speed":22,"hex_longitude":"2d00aa40","hex_latitude":"06fea960","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980035840001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403480665284149248,"note":"Value kept but may cause issues"} 
[2026-09-10 01:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":50032207152517120,"note":"Value kept but may cause issues"} 
[2026-09-10 01:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788984519000,"timestamp_ms":1788984519000,"timestamp_seconds":1788984519,"priority":1,"record_length":96,"hex_timestamp":"000001a087c96958"} 
[2026-09-10 01:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 01:40: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-09-10 01: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-09-10 01:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980035840001,"66":27300,"27":206,"94":10240,"24":22,"16":403480665284149248,"45":50032207152517120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-09-10 01:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980035840001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:40:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 01:40:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403480665284149248,"km_value":403480665284149.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":50032207152517120,"description":"Unknown IO ID 45"} 
[2026-09-10 01:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980035840001,"power":27300,"unknown_27":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":50032207152517120}} 
[2026-09-10 01:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":177354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:40:15] local.INFO: GPS data processed {"connection_id":177354,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:40:15] local.INFO: Acknowledgment sent {"connection_id":177354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:40:52] local.INFO: TCP Data received {"connection_id":175951,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:52] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:52] local.INFO: IMEI packet received {"connection_id":175951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":175951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:40:53] local.INFO: TCP Data received {"connection_id":175951,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:53] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:53] local.INFO: IMEI packet received {"connection_id":175951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":175951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:40:57] local.INFO: TCP Data received {"connection_id":175951,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:57] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:40:57] local.INFO: IMEI packet received {"connection_id":175951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":175951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:40:58] local.INFO: TCP Data received {"connection_id":175951,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ca9620012d004d0006ff74b0000e013628..."} 
[2026-09-10 01:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ca9620012d004d0006ff74b0000e013628..."} 
[2026-09-10 01:40:58] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ca9620012d004d0006ff74b0000e013628..."} 
[2026-09-10 01:40:58] local.INFO: Packet analysis {"connection_id":175951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ca"} 
[2026-09-10 01:40:58] local.INFO: Extracted packet for processing {"connection_id":175951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ca"} 
[2026-09-10 01:40:58] local.INFO: GPS Element Parsed {"raw_longitude":754994432,"raw_latitude":117404848,"longitude_deg":75.4994432,"latitude_deg":11.7404848,"altitude":14,"angle":310,"satellites":40,"speed":36,"hex_longitude":"2d004d00","hex_latitude":"06ff74b0","is_valid_coordinates":true} 
[2026-09-10 01:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980054528001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403483615926681600,"note":"Value kept but may cause issues"} 
[2026-09-10 01:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":27232734051155968,"note":"Value kept but may cause issues"} 
[2026-09-10 01:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788984596000,"timestamp_ms":1788984596000,"timestamp_seconds":1788984596,"priority":1,"record_length":96,"hex_timestamp":"000001a087ca9620"} 
[2026-09-10 01:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:40: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-09-10 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:40:58] 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-09-10 01:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980054528001,"66":27321,"101":206,"94":10240,"24":36,"16":403483615926681600,"45":27232734051155968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-09-10 01:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980054528001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:40:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 01:40:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403483615926681600,"km_value":403483615926681.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":27232734051155968,"description":"Unknown IO ID 45"} 
[2026-09-10 01:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980054528001,"power":27321,"unknown_101":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":27232734051155968}} 
[2026-09-10 01:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":175951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:40:58] local.INFO: GPS data processed {"connection_id":175951,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:40:58] local.INFO: Acknowledgment sent {"connection_id":175951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:41:40] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:40] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:40] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:41:42] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:42] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:42] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:41:47] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:47] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:41:47] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:41:48] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087cabd30012d002f0006ff8c30000d013326..."} 
[2026-09-10 01:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087cabd30012d002f0006ff8c30000d013326..."} 
[2026-09-10 01:41:48] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087cabd30012d002f0006ff8c30000d013326..."} 
[2026-09-10 01:41:48] local.INFO: Packet analysis {"connection_id":176179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ca"} 
[2026-09-10 01:41:48] local.INFO: Extracted packet for processing {"connection_id":176179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ca"} 
[2026-09-10 01:41:48] local.INFO: GPS Element Parsed {"raw_longitude":754986752,"raw_latitude":117410864,"longitude_deg":75.4986752,"latitude_deg":11.7410864,"altitude":13,"angle":307,"satellites":38,"speed":38,"hex_longitude":"2d002f00","hex_latitude":"06ff8c30","is_valid_coordinates":true} 
[2026-09-10 01:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980056576001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403484084078116864,"note":"Value kept but may cause issues"} 
[2026-09-10 01:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":21673603262361600,"note":"Value kept but may cause issues"} 
[2026-09-10 01:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788984606000,"timestamp_ms":1788984606000,"timestamp_seconds":1788984606,"priority":1,"record_length":96,"hex_timestamp":"000001a087cabd30"} 
[2026-09-10 01:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:41:48] 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-09-10 01:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980056576001,"66":27343,"101":206,"94":10240,"24":38,"16":403484084078116864,"45":21673603262361600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-09-10 01:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980056576001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:41:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 01:41:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403484084078116864,"km_value":403484084078116.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":21673603262361600,"description":"Unknown IO ID 45"} 
[2026-09-10 01:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980056576001,"power":27343,"unknown_101":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":21673603262361600}} 
[2026-09-10 01:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":176179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:41:48] local.INFO: GPS data processed {"connection_id":176179,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:41:48] local.INFO: Acknowledgment sent {"connection_id":176179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:42:20] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087cac8e8012d0024c006ff91f8000d012425..."} 
[2026-09-10 01:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087cac8e8012d0024c006ff91f8000d012425..."} 
[2026-09-10 01:42:20] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087cac8e8012d0024c006ff91f8000d012425..."} 
[2026-09-10 01:42:20] local.INFO: Packet analysis {"connection_id":176179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ca"} 
[2026-09-10 01:42:20] local.INFO: Extracted packet for processing {"connection_id":176179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ca"} 
[2026-09-10 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":754984128,"raw_latitude":117412344,"longitude_deg":75.4984128,"latitude_deg":11.7412344,"altitude":13,"angle":292,"satellites":37,"speed":40,"hex_longitude":"2d0024c0","hex_latitude":"06ff91f8","is_valid_coordinates":true} 
[2026-09-10 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980059136001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403484225812037632,"note":"Value kept but may cause issues"} 
[2026-09-10 01:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":13229353962582016,"note":"Value kept but may cause issues"} 
[2026-09-10 01:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788984609000,"timestamp_ms":1788984609000,"timestamp_seconds":1788984609,"priority":1,"record_length":96,"hex_timestamp":"000001a087cac8e8"} 
[2026-09-10 01:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980059136001,"66":27343,"101":206,"94":10240,"24":40,"16":403484225812037632,"45":13229353962582016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-09-10 01:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980059136001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:42:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 01:42:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403484225812037632,"km_value":403484225812037.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":13229353962582016,"description":"Unknown IO ID 45"} 
[2026-09-10 01:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980059136001,"power":27343,"unknown_101":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":13229353962582016}} 
[2026-09-10 01:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":176179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:42:20] local.INFO: GPS data processed {"connection_id":176179,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:42:20] local.INFO: Acknowledgment sent {"connection_id":176179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:42:37] local.INFO: TCP Data received {"connection_id":178736,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:42:37] local.INFO: Processing buffer {"connection_id":178736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:42:37] local.INFO: IMEI packet received {"connection_id":178736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":178736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:42:41] local.INFO: TCP Data received {"connection_id":178736,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:42:41] local.INFO: Processing buffer {"connection_id":178736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:42:41] local.INFO: IMEI packet received {"connection_id":178736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":178736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:42:42] local.INFO: TCP Data received {"connection_id":178736,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087cc2490012cff0000070056b00011013f28..."} 
[2026-09-10 01:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087cc2490012cff0000070056b00011013f28..."} 
[2026-09-10 01:42:42] local.INFO: Processing buffer {"connection_id":178736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087cc2490012cff0000070056b00011013f28..."} 
[2026-09-10 01:42:42] local.INFO: Packet analysis {"connection_id":178736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087cc"} 
[2026-09-10 01:42:42] local.INFO: Extracted packet for processing {"connection_id":178736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087cc"} 
[2026-09-10 01:42:42] local.INFO: GPS Element Parsed {"raw_longitude":754909184,"raw_latitude":117462704,"longitude_deg":75.4909184,"latitude_deg":11.7462704,"altitude":17,"angle":319,"satellites":40,"speed":43,"hex_longitude":"2cff0000","hex_latitude":"070056b0","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980080384001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403488645333385216,"note":"Value kept but may cause issues"} 
[2026-09-10 01:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-64879952063285248,"note":"Value kept but may cause issues"} 
[2026-09-10 01:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788984698000,"timestamp_ms":1788984698000,"timestamp_seconds":1788984698,"priority":1,"record_length":96,"hex_timestamp":"000001a087cc2490"} 
[2026-09-10 01:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:42: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-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01: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-09-10 01:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980080384001,"66":27180,"142":206,"94":10240,"24":43,"16":403488645333385216,"44":-64879952063285248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-09-10 01:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980080384001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:42:42] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-10 01:42:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403488645333385216,"km_value":403488645333385.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-64879952063285248,"description":"Unknown IO ID 44"} 
[2026-09-10 01:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980080384001,"power":27180,"unknown_142":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-64879952063285248}} 
[2026-09-10 01:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":178736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:42:42] local.INFO: GPS data processed {"connection_id":178736,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:42:42] local.INFO: Acknowledgment sent {"connection_id":178736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:43:14] local.INFO: TCP Data received {"connection_id":178736,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087cc3818012cfef140070065a00010013026..."} 
[2026-09-10 01:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087cc3818012cfef140070065a00010013026..."} 
[2026-09-10 01:43:14] local.INFO: Processing buffer {"connection_id":178736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087cc3818012cfef140070065a00010013026..."} 
[2026-09-10 01:43:14] local.INFO: Packet analysis {"connection_id":178736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087cc"} 
[2026-09-10 01:43:14] local.INFO: Extracted packet for processing {"connection_id":178736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087cc"} 
[2026-09-10 01:43:14] local.INFO: GPS Element Parsed {"raw_longitude":754905408,"raw_latitude":117466528,"longitude_deg":75.4905408,"latitude_deg":11.7466528,"altitude":16,"angle":304,"satellites":38,"speed":43,"hex_longitude":"2cfef140","hex_latitude":"070065a0","is_valid_coordinates":true} 
[2026-09-10 01:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980082688001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403488907326390272,"note":"Value kept but may cause issues"} 
[2026-09-10 01:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72057563967475712,"note":"Value kept but may cause issues"} 
[2026-09-10 01:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788984703000,"timestamp_ms":1788984703000,"timestamp_seconds":1788984703,"priority":1,"record_length":96,"hex_timestamp":"000001a087cc3818"} 
[2026-09-10 01:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 01:43:14] 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-09-10 01:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980082688001,"66":27245,"142":206,"94":10240,"24":43,"16":403488907326390272,"44":-72057563967475712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-09-10 01:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980082688001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:43:14] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-10 01:43:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403488907326390272,"km_value":403488907326390.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72057563967475712,"description":"Unknown IO ID 44"} 
[2026-09-10 01:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980082688001,"power":27245,"unknown_142":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-72057563967475712}} 
[2026-09-10 01:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":178736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:43:14] local.INFO: GPS data processed {"connection_id":178736,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:43:14] local.INFO: Acknowledgment sent {"connection_id":178736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:43:34] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:34] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:34] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:43:35] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:35] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:35] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:43:37] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:37] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:37] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:43:37] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:37] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:43:37] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:49:07] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:07] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:07] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:49:12] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:12] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:12] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:49:13] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d19718012cfc18000703e2a8000701242b..."} 
[2026-09-10 01:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d19718012cfc18000703e2a8000701242b..."} 
[2026-09-10 01:49:13] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d19718012cfc18000703e2a8000701242b..."} 
[2026-09-10 01:49:13] local.INFO: Packet analysis {"connection_id":176181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d1"} 
[2026-09-10 01:49:13] local.INFO: Extracted packet for processing {"connection_id":176181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d1"} 
[2026-09-10 01:49:13] local.INFO: GPS Element Parsed {"raw_longitude":754718720,"raw_latitude":117695144,"longitude_deg":75.471872,"latitude_deg":11.7695144,"altitude":7,"angle":292,"satellites":43,"speed":29,"hex_longitude":"2cfc1800","hex_latitude":"0703e2a8","is_valid_coordinates":true} 
[2026-09-10 01:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980171264001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403505168072572928,"note":"Value kept but may cause issues"} 
[2026-09-10 01:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-272678853559640064,"note":"Value kept but may cause issues"} 
[2026-09-10 01:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788985055000,"timestamp_ms":1788985055000,"timestamp_seconds":1788985055,"priority":1,"record_length":96,"hex_timestamp":"000001a087d19718"} 
[2026-09-10 01:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:49: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-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:49: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-09-10 01:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980171264001,"66":27223,"80":206,"94":10240,"24":29,"16":403505168072572928,"44":-272678853559640064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-09-10 01:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980171264001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:49:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-10 01:49:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403505168072572928,"km_value":403505168072572.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-272678853559640064,"description":"Unknown IO ID 44"} 
[2026-09-10 01:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980171264001,"power":27223,"unknown_80":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_44":-272678853559640064}} 
[2026-09-10 01:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":176181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:49:13] local.INFO: GPS data processed {"connection_id":176181,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:49:13] local.INFO: Acknowledgment sent {"connection_id":176181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:49:37] local.INFO: TCP Data received {"connection_id":178737,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:37] local.INFO: Processing buffer {"connection_id":178737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:37] local.INFO: IMEI packet received {"connection_id":178737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":178737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:49:38] local.INFO: TCP Data received {"connection_id":178737,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:38] local.INFO: Processing buffer {"connection_id":178737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:38] local.INFO: IMEI packet received {"connection_id":178737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":178737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:49:42] local.INFO: TCP Data received {"connection_id":178737,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:42] local.INFO: Processing buffer {"connection_id":178737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:49:42] local.INFO: IMEI packet received {"connection_id":178737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":178737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:49:43] local.INFO: TCP Data received {"connection_id":178737,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d2d768012cfb47800704a0a8000d013a24..."} 
[2026-09-10 01:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d2d768012cfb47800704a0a8000d013a24..."} 
[2026-09-10 01:49:43] local.INFO: Processing buffer {"connection_id":178737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d2d768012cfb47800704a0a8000d013a24..."} 
[2026-09-10 01:49:43] local.INFO: Packet analysis {"connection_id":178737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:49:43] local.INFO: Extracted packet for processing {"connection_id":178737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:49:43] local.INFO: GPS Element Parsed {"raw_longitude":754665344,"raw_latitude":117743784,"longitude_deg":75.4665344,"latitude_deg":11.7743784,"altitude":13,"angle":314,"satellites":36,"speed":35,"hex_longitude":"2cfb4780","hex_latitude":"0704a0a8","is_valid_coordinates":true} 
[2026-09-10 01:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980193280001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403508874629349376,"note":"Value kept but may cause issues"} 
[2026-09-10 01:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-336432935772661760,"note":"Value kept but may cause issues"} 
[2026-09-10 01:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985137000,"timestamp_ms":1788985137000,"timestamp_seconds":1788985137,"priority":1,"record_length":96,"hex_timestamp":"000001a087d2d768"} 
[2026-09-10 01:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:49:43] 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-09-10 01:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980193280001,"66":27234,"79":206,"94":10240,"24":35,"16":403508874629349376,"44":-336432935772661760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,44]} 
[2026-09-10 01:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980193280001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:49:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 01:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403508874629349376,"km_value":403508874629349.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-336432935772661760,"description":"Unknown IO ID 44"} 
[2026-09-10 01:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980193280001,"power":27234,"unknown_79":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_44":-336432935772661760}} 
[2026-09-10 01:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":178737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:49:43] local.INFO: GPS data processed {"connection_id":178737,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:49:43] local.INFO: Acknowledgment sent {"connection_id":178737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:50:15] local.INFO: TCP Data received {"connection_id":178737,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d2db50012cfb44c00704a2d8000c012d26..."} 
[2026-09-10 01:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d2db50012cfb44c00704a2d8000c012d26..."} 
[2026-09-10 01:50:15] local.INFO: Processing buffer {"connection_id":178737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d2db50012cfb44c00704a2d8000c012d26..."} 
[2026-09-10 01:50:15] local.INFO: Packet analysis {"connection_id":178737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:50:15] local.INFO: Extracted packet for processing {"connection_id":178737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:50:15] local.INFO: GPS Element Parsed {"raw_longitude":754664640,"raw_latitude":117744344,"longitude_deg":75.466464,"latitude_deg":11.7744344,"altitude":12,"angle":301,"satellites":38,"speed":36,"hex_longitude":"2cfb44c0","hex_latitude":"0704a2d8","is_valid_coordinates":true} 
[2026-09-10 01:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980195072001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403508921873989632,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340162479212419072,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788985138000,"timestamp_ms":1788985138000,"timestamp_seconds":1788985138,"priority":1,"record_length":96,"hex_timestamp":"000001a087d2db50"} 
[2026-09-10 01:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980195072001,"66":27071,"79":206,"94":10240,"24":36,"16":403508921873989632,"44":-340162479212419072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,44]} 
[2026-09-10 01:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980195072001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:50:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 01:50:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403508921873989632,"km_value":403508921873989.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340162479212419072,"description":"Unknown IO ID 44"} 
[2026-09-10 01:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980195072001,"power":27071,"unknown_79":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_44":-340162479212419072}} 
[2026-09-10 01:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":178737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:50:16] local.INFO: GPS data processed {"connection_id":178737,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:50:16] local.INFO: Acknowledgment sent {"connection_id":178737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:50:42] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:50:42] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:50:42] local.INFO: IMEI packet received {"connection_id":175954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":175954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:50:45] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:50:45] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:50:45] local.INFO: IMEI packet received {"connection_id":175954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":175954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:50:46] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d2e320012cfb3e000704a590000c011c27..."} 
[2026-09-10 01:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d2e320012cfb3e000704a590000c011c27..."} 
[2026-09-10 01:50:46] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d2e320012cfb3e000704a590000c011c27..."} 
[2026-09-10 01:50:46] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:50:46] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:50:46] local.INFO: GPS Element Parsed {"raw_longitude":754662912,"raw_latitude":117745040,"longitude_deg":75.4662912,"latitude_deg":11.774504,"altitude":12,"angle":284,"satellites":39,"speed":37,"hex_longitude":"2cfb3e00","hex_latitude":"0704a590","is_valid_coordinates":true} 
[2026-09-10 01:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980195328001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403509007773335552,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340936535398230016,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788985140000,"timestamp_ms":1788985140000,"timestamp_seconds":1788985140,"priority":1,"record_length":96,"hex_timestamp":"000001a087d2e320"} 
[2026-09-10 01:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:50: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 01:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980195328001,"66":27213,"79":206,"94":10240,"24":37,"16":403509007773335552,"44":-340936535398230016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,44]} 
[2026-09-10 01:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980195328001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:50:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 01:50:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403509007773335552,"km_value":403509007773335.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:50:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340936535398230016,"description":"Unknown IO ID 44"} 
[2026-09-10 01:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980195328001,"power":27213,"unknown_79":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_44":-340936535398230016}} 
[2026-09-10 01:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:50:46] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:50:46] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:50:47] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d2fa90012cfb26800704acf8000a012926..."} 
[2026-09-10 01:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d2fa90012cfb26800704acf8000a012926..."} 
[2026-09-10 01:50:47] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d2fa90012cfb26800704acf8000a012926..."} 
[2026-09-10 01:50:47] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:50:47] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d2"} 
[2026-09-10 01:50:47] local.INFO: GPS Element Parsed {"raw_longitude":754656896,"raw_latitude":117746936,"longitude_deg":75.4656896,"latitude_deg":11.7746936,"altitude":10,"angle":297,"satellites":38,"speed":43,"hex_longitude":"2cfb2680","hex_latitude":"0704acf8","is_valid_coordinates":true} 
[2026-09-10 01:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980195840001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403509308421046272,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-342836491490848768,"note":"Value kept but may cause issues"} 
[2026-09-10 01:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788985146000,"timestamp_ms":1788985146000,"timestamp_seconds":1788985146,"priority":1,"record_length":96,"hex_timestamp":"000001a087d2fa90"} 
[2026-09-10 01:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:50: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-09-10 01:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:50:47] 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-09-10 01:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980195840001,"66":27169,"79":206,"94":10240,"24":43,"16":403509308421046272,"44":-342836491490848768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,44]} 
[2026-09-10 01:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980195840001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:50:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 01:50:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 01:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403509308421046272,"km_value":403509308421046.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-342836491490848768,"description":"Unknown IO ID 44"} 
[2026-09-10 01:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980195840001,"power":27169,"unknown_79":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-342836491490848768}} 
[2026-09-10 01:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:50:47] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:50:47] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:51:18] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d42b40012cfa1200070588180008013e2d..."} 
[2026-09-10 01:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d42b40012cfa1200070588180008013e2d..."} 
[2026-09-10 01:51:18] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d42b40012cfa1200070588180008013e2d..."} 
[2026-09-10 01:51:18] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:51:18] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:51:18] local.INFO: GPS Element Parsed {"raw_longitude":754586112,"raw_latitude":117803032,"longitude_deg":75.4586112,"latitude_deg":11.7803032,"altitude":8,"angle":318,"satellites":45,"speed":48,"hex_longitude":"2cfa1200","hex_latitude":"07058818","is_valid_coordinates":true} 
[2026-09-10 01:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980215808001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403513758007164928,"note":"Value kept but may cause issues"} 
[2026-09-10 01:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-421508747467900928,"note":"Value kept but may cause issues"} 
[2026-09-10 01:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788985224000,"timestamp_ms":1788985224000,"timestamp_seconds":1788985224,"priority":1,"record_length":96,"hex_timestamp":"000001a087d42b40"} 
[2026-09-10 01:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 01:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980215808001,"66":27223,"84":206,"83":41728,"24":48,"16":403513758007164928,"44":-421508747467900928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-09-10 01:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980215808001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:51:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 01:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403513758007164928,"km_value":403513758007164.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-421508747467900928,"description":"Unknown IO ID 44"} 
[2026-09-10 01:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980215808001,"power":27223,"unknown_84":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-421508747467900928}} 
[2026-09-10 01:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:51:18] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:51:18] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:51:37] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:51:37] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:51:37] local.INFO: IMEI packet received {"connection_id":177357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":177357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:51:42] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:51:42] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:51:42] local.INFO: IMEI packet received {"connection_id":177357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":177357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:51:43] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d44a80012cf9fa800705a690000501442d..."} 
[2026-09-10 01:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d44a80012cf9fa800705a690000501442d..."} 
[2026-09-10 01:51:43] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d44a80012cf9fa800705a690000501442d..."} 
[2026-09-10 01:51:43] local.INFO: Packet analysis {"connection_id":177357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:51:43] local.INFO: Extracted packet for processing {"connection_id":177357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:51:43] local.INFO: GPS Element Parsed {"raw_longitude":754580096,"raw_latitude":117810832,"longitude_deg":75.4580096,"latitude_deg":11.7810832,"altitude":5,"angle":324,"satellites":45,"speed":50,"hex_longitude":"2cf9fa80","hex_latitude":"0705a690","is_valid_coordinates":true} 
[2026-09-10 01:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980217344001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403514230453567488,"note":"Value kept but may cause issues"} 
[2026-09-10 01:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-427278984489199616,"note":"Value kept but may cause issues"} 
[2026-09-10 01:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985232000,"timestamp_ms":1788985232000,"timestamp_seconds":1788985232,"priority":1,"record_length":96,"hex_timestamp":"000001a087d44a80"} 
[2026-09-10 01:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:51: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-09-10 01:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-10 01:51:43] 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-09-10 01:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980217344001,"66":27289,"84":206,"83":41728,"24":50,"16":403514230453567488,"44":-427278984489199616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-09-10 01:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980217344001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:51:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 01:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403514230453567488,"km_value":403514230453567.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-427278984489199616,"description":"Unknown IO ID 44"} 
[2026-09-10 01:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980217344001,"power":27289,"unknown_84":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-427278984489199616}} 
[2026-09-10 01:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":177357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:51:43] local.INFO: GPS data processed {"connection_id":177357,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:51:43] local.INFO: Acknowledgment sent {"connection_id":177357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:52:14] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d465d8012cf9e7400705c3b00004014a2d..."} 
[2026-09-10 01:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d465d8012cf9e7400705c3b00004014a2d..."} 
[2026-09-10 01:52:14] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d465d8012cf9e7400705c3b00004014a2d..."} 
[2026-09-10 01:52:14] local.INFO: Packet analysis {"connection_id":177357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:52:14] local.INFO: Extracted packet for processing {"connection_id":177357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:52:14] local.INFO: GPS Element Parsed {"raw_longitude":754575168,"raw_latitude":117818288,"longitude_deg":75.4575168,"latitude_deg":11.7818288,"altitude":4,"angle":330,"satellites":45,"speed":48,"hex_longitude":"2cf9e740","hex_latitude":"0705c3b0","is_valid_coordinates":true} 
[2026-09-10 01:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980219392001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403514659950297088,"note":"Value kept but may cause issues"} 
[2026-09-10 01:52:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-433893646439903232,"note":"Value kept but may cause issues"} 
[2026-09-10 01:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788985239000,"timestamp_ms":1788985239000,"timestamp_seconds":1788985239,"priority":1,"record_length":96,"hex_timestamp":"000001a087d465d8"} 
[2026-09-10 01:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 01:52:14] 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-09-10 01:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980219392001,"66":27321,"84":206,"83":41728,"24":48,"16":403514659950297088,"44":-433893646439903232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-09-10 01:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980219392001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:52:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 01:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403514659950297088,"km_value":403514659950297.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:52:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-433893646439903232,"description":"Unknown IO ID 44"} 
[2026-09-10 01:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980219392001,"power":27321,"unknown_84":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-433893646439903232}} 
[2026-09-10 01:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":177357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:52:14] local.INFO: GPS data processed {"connection_id":177357,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:52:14] local.INFO: Acknowledgment sent {"connection_id":177357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:52:36] local.INFO: TCP Data received {"connection_id":177358,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:36] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:36] local.INFO: IMEI packet received {"connection_id":177358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":177358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:52:37] local.INFO: TCP Data received {"connection_id":177358,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:37] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:37] local.INFO: IMEI packet received {"connection_id":177358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":177358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:52:42] local.INFO: TCP Data received {"connection_id":177358,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:42] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:52:42] local.INFO: IMEI packet received {"connection_id":177358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":177358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:52:43] local.INFO: TCP Data received {"connection_id":177358,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d48518012cf9d6400705e4e00002014c28..."} 
[2026-09-10 01:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d48518012cf9d6400705e4e00002014c28..."} 
[2026-09-10 01:52:43] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d48518012cf9d6400705e4e00002014c28..."} 
[2026-09-10 01:52:43] local.INFO: Packet analysis {"connection_id":177358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:52:43] local.INFO: Extracted packet for processing {"connection_id":177358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d4"} 
[2026-09-10 01:52:43] local.INFO: GPS Element Parsed {"raw_longitude":754570816,"raw_latitude":117826784,"longitude_deg":75.4570816,"latitude_deg":11.7826784,"altitude":2,"angle":332,"satellites":40,"speed":45,"hex_longitude":"2cf9d640","hex_latitude":"0705e4e0","is_valid_coordinates":true} 
[2026-09-10 01:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980221184001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403515123806765056,"note":"Value kept but may cause issues"} 
[2026-09-10 01:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-439312039739674624,"note":"Value kept but may cause issues"} 
[2026-09-10 01:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985247000,"timestamp_ms":1788985247000,"timestamp_seconds":1788985247,"priority":1,"record_length":96,"hex_timestamp":"000001a087d48518"} 
[2026-09-10 01:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 01:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980221184001,"66":27169,"84":206,"83":41728,"24":45,"16":403515123806765056,"44":-439312039739674624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-09-10 01:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980221184001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:52:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 01:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403515123806765056,"km_value":403515123806765.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-439312039739674624,"description":"Unknown IO ID 44"} 
[2026-09-10 01:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980221184001,"power":27169,"unknown_84":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-439312039739674624}} 
[2026-09-10 01:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":177358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:52:43] local.INFO: GPS data processed {"connection_id":177358,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:52:43] local.INFO: Acknowledgment sent {"connection_id":177358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:53:15] local.INFO: TCP Data received {"connection_id":177358,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d5e0c0012cf95c00070758780004015527..."} 
[2026-09-10 01:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d5e0c0012cf95c00070758780004015527..."} 
[2026-09-10 01:53:15] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d5e0c0012cf95c00070758780004015527..."} 
[2026-09-10 01:53:15] local.INFO: Packet analysis {"connection_id":177358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d5"} 
[2026-09-10 01:53:15] local.INFO: Extracted packet for processing {"connection_id":177358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d5"} 
[2026-09-10 01:53:15] local.INFO: GPS Element Parsed {"raw_longitude":754539520,"raw_latitude":117921912,"longitude_deg":75.453952,"latitude_deg":11.7921912,"altitude":4,"angle":341,"satellites":39,"speed":38,"hex_longitude":"2cf95c00","hex_latitude":"07075878","is_valid_coordinates":true} 
[2026-09-10 01:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980243712001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403520011479547904,"note":"Value kept but may cause issues"} 
[2026-09-10 01:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-475551942966829056,"note":"Value kept but may cause issues"} 
[2026-09-10 01:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788985336000,"timestamp_ms":1788985336000,"timestamp_seconds":1788985336,"priority":1,"record_length":96,"hex_timestamp":"000001a087d5e0c0"} 
[2026-09-10 01:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 01:53:15] 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-09-10 01:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980243712001,"66":27104,"197":206,"83":41728,"24":38,"16":403520011479547904,"44":-475551942966829056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-10 01:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980243712001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:53:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 01:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403520011479547904,"km_value":403520011479547.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-475551942966829056,"description":"Unknown IO ID 44"} 
[2026-09-10 01:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980243712001,"power":27104,"unknown_197":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-475551942966829056}} 
[2026-09-10 01:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":177358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:53:15] local.INFO: GPS data processed {"connection_id":177358,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:53:15] local.INFO: Acknowledgment sent {"connection_id":177358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:53:35] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:35] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:35] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:53:37] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:37] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:37] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:53:42] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:42] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:53:42] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:53:43] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d607d0012cf95000070779400006015129..."} 
[2026-09-10 01:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d607d0012cf95000070779400006015129..."} 
[2026-09-10 01:53:43] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d607d0012cf95000070779400006015129..."} 
[2026-09-10 01:53:43] local.INFO: Packet analysis {"connection_id":175955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:53:43] local.INFO: Extracted packet for processing {"connection_id":175955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:53:43] local.INFO: GPS Element Parsed {"raw_longitude":754536448,"raw_latitude":117930304,"longitude_deg":75.4536448,"latitude_deg":11.7930304,"altitude":6,"angle":337,"satellites":41,"speed":34,"hex_longitude":"2cf95000","hex_latitude":"07077940","is_valid_coordinates":true} 
[2026-09-10 01:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980246016001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403520445271244800,"note":"Value kept but may cause issues"} 
[2026-09-10 01:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-478507430220105728,"note":"Value kept but may cause issues"} 
[2026-09-10 01:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985346000,"timestamp_ms":1788985346000,"timestamp_seconds":1788985346,"priority":1,"record_length":96,"hex_timestamp":"000001a087d607d0"} 
[2026-09-10 01:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:53: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 01:53:43] 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-09-10 01:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980246016001,"66":27213,"197":206,"83":41728,"24":34,"16":403520445271244800,"44":-478507430220105728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-10 01:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980246016001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:53:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 01:53:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403520445271244800,"km_value":403520445271244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-478507430220105728,"description":"Unknown IO ID 44"} 
[2026-09-10 01:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980246016001,"power":27213,"unknown_197":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_44":-478507430220105728}} 
[2026-09-10 01:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":175955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:53:43] local.INFO: GPS data processed {"connection_id":175955,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:53:43] local.INFO: Acknowledgment sent {"connection_id":175955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:54:14] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d61388012cf94b0007078220000701462a..."} 
[2026-09-10 01:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d61388012cf94b0007078220000701462a..."} 
[2026-09-10 01:54:14] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d61388012cf94b0007078220000701462a..."} 
[2026-09-10 01:54:14] local.INFO: Packet analysis {"connection_id":175955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:54:14] local.INFO: Extracted packet for processing {"connection_id":175955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:54:14] local.INFO: GPS Element Parsed {"raw_longitude":754535168,"raw_latitude":117932576,"longitude_deg":75.4535168,"latitude_deg":11.7932576,"altitude":7,"angle":326,"satellites":42,"speed":34,"hex_longitude":"2cf94b00","hex_latitude":"07078220","is_valid_coordinates":true} 
[2026-09-10 01:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980248576001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403520569825296384,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-481885129938485248,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788985349000,"timestamp_ms":1788985349000,"timestamp_seconds":1788985349,"priority":1,"record_length":96,"hex_timestamp":"000001a087d61388"} 
[2026-09-10 01:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980248576001,"66":27213,"197":206,"83":41728,"24":34,"16":403520569825296384,"44":-481885129938485248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-10 01:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980248576001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:54:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 01:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403520569825296384,"km_value":403520569825296.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-481885129938485248,"description":"Unknown IO ID 44"} 
[2026-09-10 01:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980248576001,"power":27213,"unknown_197":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_44":-481885129938485248}} 
[2026-09-10 01:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":175955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:54:14] local.INFO: GPS data processed {"connection_id":175955,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:54:14] local.INFO: Acknowledgment sent {"connection_id":175955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:54:37] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:37] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:37] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:54:41] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:41] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:41] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:54:42] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:42] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:54:42] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:54:42] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d63a98012cf935c007079fc8000801452c..."} 
[2026-09-10 01:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d63a98012cf935c007079fc8000801452c..."} 
[2026-09-10 01:54:42] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d63a98012cf935c007079fc8000801452c..."} 
[2026-09-10 01:54:42] local.INFO: Packet analysis {"connection_id":175956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:54:42] local.INFO: Extracted packet for processing {"connection_id":175956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:54:42] local.INFO: GPS Element Parsed {"raw_longitude":754529728,"raw_latitude":117940168,"longitude_deg":75.4529728,"latitude_deg":11.7940168,"altitude":8,"angle":325,"satellites":44,"speed":38,"hex_longitude":"2cf935c0","hex_latitude":"07079fc8","is_valid_coordinates":true} 
[2026-09-10 01:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980249344001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403521020796862464,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-483292504821456896,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788985359000,"timestamp_ms":1788985359000,"timestamp_seconds":1788985359,"priority":1,"record_length":96,"hex_timestamp":"000001a087d63a98"} 
[2026-09-10 01:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:54: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-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980249344001,"66":26658,"117":206,"83":41728,"24":38,"16":403521020796862464,"44":-483292504821456896},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,44]} 
[2026-09-10 01:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980249344001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:54:42] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-10 01:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403521020796862464,"km_value":403521020796862.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-483292504821456896,"description":"Unknown IO ID 44"} 
[2026-09-10 01:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980249344001,"power":26658,"unknown_117":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-483292504821456896}} 
[2026-09-10 01:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":175956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:54:43] local.INFO: GPS data processed {"connection_id":175956,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:54:43] local.INFO: Acknowledgment sent {"connection_id":175956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:54:47] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d65dc0012cf920800707bd00000a01442c..."} 
[2026-09-10 01:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d65dc0012cf920800707bd00000a01442c..."} 
[2026-09-10 01:54:47] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d65dc0012cf920800707bd00000a01442c..."} 
[2026-09-10 01:54:47] local.INFO: Packet analysis {"connection_id":175956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:54:47] local.INFO: Extracted packet for processing {"connection_id":175956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d6"} 
[2026-09-10 01:54:47] local.INFO: GPS Element Parsed {"raw_longitude":754524288,"raw_latitude":117947648,"longitude_deg":75.4524288,"latitude_deg":11.7947648,"altitude":10,"angle":324,"satellites":44,"speed":41,"hex_longitude":"2cf92080","hex_latitude":"0707bd00","is_valid_coordinates":true} 
[2026-09-10 01:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980251904001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403521463178493952,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-489273848074614784,"note":"Value kept but may cause issues"} 
[2026-09-10 01:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788985368000,"timestamp_ms":1788985368000,"timestamp_seconds":1788985368,"priority":1,"record_length":96,"hex_timestamp":"000001a087d65dc0"} 
[2026-09-10 01:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:54: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-09-10 01:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 01:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980251904001,"66":27137,"117":206,"83":41728,"24":41,"16":403521463178493952,"44":-489273848074614784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,44]} 
[2026-09-10 01:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980251904001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:54:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-10 01:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403521463178493952,"km_value":403521463178493.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-489273848074614784,"description":"Unknown IO ID 44"} 
[2026-09-10 01:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980251904001,"power":27137,"unknown_117":206,"unknown_83":41728,"ignition":41,"odometer":null,"unknown_44":-489273848074614784}} 
[2026-09-10 01:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":175956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:54:47] local.INFO: GPS data processed {"connection_id":175956,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:54:47] local.INFO: Acknowledgment sent {"connection_id":175956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:55:18] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d7d4c0012cf82b4007093a680008013f2c..."} 
[2026-09-10 01:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d7d4c0012cf82b4007093a680008013f2c..."} 
[2026-09-10 01:55:18] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d7d4c0012cf82b4007093a680008013f2c..."} 
[2026-09-10 01:55:18] local.INFO: Packet analysis {"connection_id":175956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d7"} 
[2026-09-10 01:55:18] local.INFO: Extracted packet for processing {"connection_id":175956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d7"} 
[2026-09-10 01:55:18] local.INFO: GPS Element Parsed {"raw_longitude":754461504,"raw_latitude":118045288,"longitude_deg":75.4461504,"latitude_deg":11.8045288,"altitude":8,"angle":319,"satellites":44,"speed":58,"hex_longitude":"2cf82b40","hex_latitude":"07093a68","is_valid_coordinates":true} 
[2026-09-10 01:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980277504001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403527089585651712,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-559501854738577408,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788985464000,"timestamp_ms":1788985464000,"timestamp_seconds":1788985464,"priority":1,"record_length":96,"hex_timestamp":"000001a087d7d4c0"} 
[2026-09-10 01:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 01:55:18] 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-09-10 01:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980277504001,"66":27234,"31":206,"83":41728,"24":58,"16":403527089585651712,"44":-559501854738577408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 01:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980277504001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:55:18] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 01:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403527089585651712,"km_value":403527089585651.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:55:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-559501854738577408,"description":"Unknown IO ID 44"} 
[2026-09-10 01:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980277504001,"power":27234,"unknown_31":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-559501854738577408}} 
[2026-09-10 01:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":175956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:55:18] local.INFO: GPS data processed {"connection_id":175956,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:55:18] local.INFO: Acknowledgment sent {"connection_id":175956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:55:37] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:37] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:37] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:55:41] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:41] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:41] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:55:42] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:42] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:55:42] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:55:42] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d7f018012cf8114007095978000a01402b..."} 
[2026-09-10 01:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d7f018012cf8114007095978000a01402b..."} 
[2026-09-10 01:55:42] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d7f018012cf8114007095978000a01402b..."} 
[2026-09-10 01:55:42] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d7"} 
[2026-09-10 01:55:42] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d7"} 
[2026-09-10 01:55:42] local.INFO: GPS Element Parsed {"raw_longitude":754454848,"raw_latitude":118053240,"longitude_deg":75.4454848,"latitude_deg":11.805324,"altitude":10,"angle":320,"satellites":43,"speed":57,"hex_longitude":"2cf81140","hex_latitude":"07095978","is_valid_coordinates":true} 
[2026-09-10 01:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980278784001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403527587801858048,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-564286929341093888,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788985471000,"timestamp_ms":1788985471000,"timestamp_seconds":1788985471,"priority":1,"record_length":96,"hex_timestamp":"000001a087d7f018"} 
[2026-09-10 01:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:55: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-09-10 01:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:55:42] 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-09-10 01:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980278784001,"66":27343,"31":206,"83":41728,"24":57,"16":403527587801858048,"44":-564286929341093888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 01:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980278784001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:55:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 01:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403527587801858048,"km_value":403527587801858.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-564286929341093888,"description":"Unknown IO ID 44"} 
[2026-09-10 01:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980278784001,"power":27343,"unknown_31":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-564286929341093888}} 
[2026-09-10 01:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:55:42] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:55:42] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:55:47] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d80b70012cf7f84007097810000c01422d..."} 
[2026-09-10 01:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d80b70012cf7f84007097810000c01422d..."} 
[2026-09-10 01:55:47] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d80b70012cf7f84007097810000c01422d..."} 
[2026-09-10 01:55:47] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d8"} 
[2026-09-10 01:55:47] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d8"} 
[2026-09-10 01:55:47] local.INFO: GPS Element Parsed {"raw_longitude":754448448,"raw_latitude":118061072,"longitude_deg":75.4448448,"latitude_deg":11.8061072,"altitude":12,"angle":322,"satellites":45,"speed":57,"hex_longitude":"2cf7f840","hex_latitude":"07097810","is_valid_coordinates":true} 
[2026-09-10 01:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980280576001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403528073133162496,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-571605278733535232,"note":"Value kept but may cause issues"} 
[2026-09-10 01:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788985478000,"timestamp_ms":1788985478000,"timestamp_seconds":1788985478,"priority":1,"record_length":96,"hex_timestamp":"000001a087d80b70"} 
[2026-09-10 01:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:55: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-09-10 01:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 01:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980280576001,"66":27234,"12":206,"83":41728,"24":57,"16":403528073133162496,"44":-571605278733535232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-10 01:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980280576001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:55:47] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403528073133162496,"km_value":403528073133162.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:55:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-571605278733535232,"description":"Unknown IO ID 44"} 
[2026-09-10 01:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980280576001,"power":27234,"unknown_12":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-571605278733535232}} 
[2026-09-10 01:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:55:47] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:55:47] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:56:22] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d826c8012cf7de80070996f8000c013f2c..."} 
[2026-09-10 01:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d826c8012cf7de80070996f8000c013f2c..."} 
[2026-09-10 01:56:22] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d826c8012cf7de80070996f8000c013f2c..."} 
[2026-09-10 01:56:22] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d8"} 
[2026-09-10 01:56:22] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d8"} 
[2026-09-10 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":754441856,"raw_latitude":118068984,"longitude_deg":75.4441856,"latitude_deg":11.8068984,"altitude":12,"angle":319,"satellites":44,"speed":59,"hex_longitude":"2cf7de80","hex_latitude":"070996f8","is_valid_coordinates":true} 
[2026-09-10 01:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980282368001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403528571349368832,"note":"Value kept but may cause issues"} 
[2026-09-10 01:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-578642153149296640,"note":"Value kept but may cause issues"} 
[2026-09-10 01:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788985485000,"timestamp_ms":1788985485000,"timestamp_seconds":1788985485,"priority":1,"record_length":96,"hex_timestamp":"000001a087d826c8"} 
[2026-09-10 01:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:56: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-09-10 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 01:56: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-09-10 01:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980282368001,"66":27137,"12":206,"83":41728,"24":59,"16":403528571349368832,"44":-578642153149296640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-10 01:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980282368001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:56:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403528571349368832,"km_value":403528571349368.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-578642153149296640,"description":"Unknown IO ID 44"} 
[2026-09-10 01:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980282368001,"power":27137,"unknown_12":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-578642153149296640}} 
[2026-09-10 01:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:56:22] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:56:22] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:56:40] local.INFO: TCP Data received {"connection_id":178738,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:40] local.INFO: Processing buffer {"connection_id":178738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:40] local.INFO: IMEI packet received {"connection_id":178738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":178738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:56:42] local.INFO: TCP Data received {"connection_id":178738,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:42] local.INFO: Processing buffer {"connection_id":178738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:42] local.INFO: IMEI packet received {"connection_id":178738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":178738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:56:47] local.INFO: TCP Data received {"connection_id":178738,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:47] local.INFO: Processing buffer {"connection_id":178738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:56:47] local.INFO: IMEI packet received {"connection_id":178738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":178738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:56:48] local.INFO: TCP Data received {"connection_id":178738,"ip":"42.106.6.32","data_length":93,"data_hex":"00000000000000518e01000001a087d83e38012cf7c6800709b2880009013f2b..."} 
[2026-09-10 01:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178738,"packet_length":93,"packet_hex":"00000000000000518e01000001a087d83e38012cf7c6800709b2880009013f2b..."} 
[2026-09-10 01:56:48] local.INFO: Processing buffer {"connection_id":178738,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a087d83e38012cf7c6800709b2880009013f2b..."} 
[2026-09-10 01:56:48] local.INFO: Packet analysis {"connection_id":178738,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a087d8"} 
[2026-09-10 01:56:48] local.INFO: Extracted packet for processing {"connection_id":178738,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a087d8"} 
[2026-09-10 01:56:48] local.INFO: GPS Element Parsed {"raw_longitude":754435712,"raw_latitude":118076040,"longitude_deg":75.4435712,"latitude_deg":11.807604,"altitude":9,"angle":319,"satellites":43,"speed":61,"hex_longitude":"2cf7c680","hex_latitude":"0709b288","is_valid_coordinates":true} 
[2026-09-10 01:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-10 01:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:56:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:56:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 01:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178738,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-10 01:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178738,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-10 01:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178738,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-10 01:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 01:56:48] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 01:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":178738,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 01:56:48] local.ERROR: GPS data processing failed {"connection_id":178738,"error":"No valid data to process"} 
[2026-09-10 01:56:48] local.INFO: Acknowledgment sent {"connection_id":178738,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 01:56:50] local.INFO: TCP Data received {"connection_id":178738,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d855a8012cf7ae800709ce500007013e2b..."} 
[2026-09-10 01:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d855a8012cf7ae800709ce500007013e2b..."} 
[2026-09-10 01:56:50] local.INFO: Processing buffer {"connection_id":178738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d855a8012cf7ae800709ce500007013e2b..."} 
[2026-09-10 01:56:50] local.INFO: Packet analysis {"connection_id":178738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d8"} 
[2026-09-10 01:56:50] local.INFO: Extracted packet for processing {"connection_id":178738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d8"} 
[2026-09-10 01:56:50] local.INFO: GPS Element Parsed {"raw_longitude":754429568,"raw_latitude":118083152,"longitude_deg":75.4429568,"latitude_deg":11.8083152,"altitude":7,"angle":318,"satellites":43,"speed":62,"hex_longitude":"2cf7ae80","hex_latitude":"0709ce50","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980285696001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403529473292500992,"note":"Value kept but may cause issues"} 
[2026-09-10 01:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-592645533236819968,"note":"Value kept but may cause issues"} 
[2026-09-10 01:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788985497000,"timestamp_ms":1788985497000,"timestamp_seconds":1788985497,"priority":1,"record_length":96,"hex_timestamp":"000001a087d855a8"} 
[2026-09-10 01:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01: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-09-10 01:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980285696001,"66":27267,"12":206,"83":41728,"24":62,"16":403529473292500992,"44":-592645533236819968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-10 01:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980285696001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:56:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 01:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403529473292500992,"km_value":403529473292501.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-592645533236819968,"description":"Unknown IO ID 44"} 
[2026-09-10 01:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980285696001,"power":27267,"unknown_12":206,"unknown_83":41728,"ignition":62,"odometer":null,"unknown_44":-592645533236819968}} 
[2026-09-10 01:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":178738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:56:50] local.INFO: GPS data processed {"connection_id":178738,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:56:50] local.INFO: Acknowledgment sent {"connection_id":178738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:57:22] local.INFO: TCP Data received {"connection_id":178738,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d9a1b0012cf6af80070b08980005013e2f..."} 
[2026-09-10 01:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d9a1b0012cf6af80070b08980005013e2f..."} 
[2026-09-10 01:57:22] local.INFO: Processing buffer {"connection_id":178738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d9a1b0012cf6af80070b08980005013e2f..."} 
[2026-09-10 01:57:22] local.INFO: Packet analysis {"connection_id":178738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d9"} 
[2026-09-10 01:57:22] local.INFO: Extracted packet for processing {"connection_id":178738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d9"} 
[2026-09-10 01:57:22] local.INFO: GPS Element Parsed {"raw_longitude":754364288,"raw_latitude":118163608,"longitude_deg":75.4364288,"latitude_deg":11.8163608,"altitude":5,"angle":318,"satellites":47,"speed":24,"hex_longitude":"2cf6af80","hex_latitude":"070b0898","is_valid_coordinates":true} 
[2026-09-10 01:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980306432001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403534455454564352,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-664843864742457344,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788985582000,"timestamp_ms":1788985582000,"timestamp_seconds":1788985582,"priority":1,"record_length":96,"hex_timestamp":"000001a087d9a1b0"} 
[2026-09-10 01:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:57: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-09-10 01: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 01:57:22] 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-09-10 01:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980306432001,"66":27104,"178":206,"83":41728,"24":24,"16":403534455454564352,"44":-664843864742457344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 01:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980306432001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:57:22] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 01:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403534455454564352,"km_value":403534455454564.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:57:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-664843864742457344,"description":"Unknown IO ID 44"} 
[2026-09-10 01:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980306432001,"power":27104,"unknown_178":206,"unknown_83":41728,"ignition":24,"odometer":null,"unknown_44":-664843864742457344}} 
[2026-09-10 01:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":178738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:57:22] local.INFO: GPS data processed {"connection_id":178738,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:57:22] local.INFO: Acknowledgment sent {"connection_id":178738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:57:37] local.INFO: TCP Data received {"connection_id":176183,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:37] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:37] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:57:38] local.INFO: TCP Data received {"connection_id":176183,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:38] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:38] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:57:42] local.INFO: TCP Data received {"connection_id":176183,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:42] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:57:42] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:57:43] local.INFO: TCP Data received {"connection_id":176183,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d9e418012cf69500070b22c8000301332c..."} 
[2026-09-10 01:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d9e418012cf69500070b22c8000301332c..."} 
[2026-09-10 01:57:43] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d9e418012cf69500070b22c8000301332c..."} 
[2026-09-10 01:57:43] local.INFO: Packet analysis {"connection_id":176183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d9"} 
[2026-09-10 01:57:43] local.INFO: Extracted packet for processing {"connection_id":176183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d9"} 
[2026-09-10 01:57:43] local.INFO: GPS Element Parsed {"raw_longitude":754357504,"raw_latitude":118170312,"longitude_deg":75.4357504,"latitude_deg":11.8170312,"altitude":3,"angle":307,"satellites":44,"speed":27,"hex_longitude":"2cf69500","hex_latitude":"070b22c8","is_valid_coordinates":true} 
[2026-09-10 01:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980308992001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-671177051716675584,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403534915016065024,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 01:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985599000,"timestamp_ms":1788985599000,"timestamp_seconds":1788985599,"priority":1,"record_length":96,"hex_timestamp":"000001a087d9e418"} 
[2026-09-10 01:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:57: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-09-10 01:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 01:57:43] 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-09-10 01:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980308992001,"66":27213,"44":-671177051716675584,"83":41728,"24":27,"16":403534915016065024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 01:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980308992001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-671177051716675584,"description":"Unknown IO ID 44"} 
[2026-09-10 01:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403534915016065024,"km_value":403534915016065.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:57:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457980308992001,"power":27213,"unknown_44":-671177051716675584,"unknown_83":41728,"ignition":27,"odometer":null}} 
[2026-09-10 01:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":176183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:57:43] local.INFO: GPS data processed {"connection_id":176183,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:57:43] local.INFO: Acknowledgment sent {"connection_id":176183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:57:47] local.INFO: TCP Data received {"connection_id":176183,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087d9e418012cf69500070b22c8000301332c..."} 
[2026-09-10 01:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087d9e418012cf69500070b22c8000301332c..."} 
[2026-09-10 01:57:47] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087d9e418012cf69500070b22c8000301332c..."} 
[2026-09-10 01:57:47] local.INFO: Packet analysis {"connection_id":176183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087d9"} 
[2026-09-10 01:57:47] local.INFO: Extracted packet for processing {"connection_id":176183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087d9"} 
[2026-09-10 01:57:47] local.INFO: GPS Element Parsed {"raw_longitude":754357504,"raw_latitude":118170312,"longitude_deg":75.4357504,"latitude_deg":11.8170312,"altitude":3,"angle":307,"satellites":44,"speed":27,"hex_longitude":"2cf69500","hex_latitude":"070b22c8","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980313344001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-678636138597791744,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403534915016065024,"note":"Value kept but may cause issues"} 
[2026-09-10 01:57:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 01:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788985599000,"timestamp_ms":1788985599000,"timestamp_seconds":1788985599,"priority":1,"record_length":96,"hex_timestamp":"000001a087d9e418"} 
[2026-09-10 01:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:57: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-09-10 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:57:47] 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-09-10 01: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-09-10 01:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980313344001,"66":27213,"44":-678636138597791744,"83":41728,"24":27,"16":403534915016065024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 01:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980313344001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-678636138597791744,"description":"Unknown IO ID 44"} 
[2026-09-10 01:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403534915016065024,"km_value":403534915016065.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:57:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457980313344001,"power":27213,"unknown_44":-678636138597791744,"unknown_83":41728,"ignition":27,"odometer":null}} 
[2026-09-10 01:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":176183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:57:47] local.INFO: GPS data processed {"connection_id":176183,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:57:47] local.INFO: Acknowledgment sent {"connection_id":176183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:58:18] local.INFO: TCP Data received {"connection_id":176183,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087da0f10012cf67b80070b3ca00002013c2b..."} 
[2026-09-10 01:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087da0f10012cf67b80070b3ca00002013c2b..."} 
[2026-09-10 01:58:18] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087da0f10012cf67b80070b3ca00002013c2b..."} 
[2026-09-10 01:58:18] local.INFO: Packet analysis {"connection_id":176183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087da"} 
[2026-09-10 01:58:18] local.INFO: Extracted packet for processing {"connection_id":176183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087da"} 
[2026-09-10 01:58:18] local.INFO: GPS Element Parsed {"raw_longitude":754350976,"raw_latitude":118176928,"longitude_deg":75.4350976,"latitude_deg":11.8176928,"altitude":2,"angle":316,"satellites":43,"speed":40,"hex_longitude":"2cf67b80","hex_latitude":"070b3ca0","is_valid_coordinates":true} 
[2026-09-10 01:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980313344001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:58:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-678636138597791744,"note":"Value kept but may cause issues"} 
[2026-09-10 01:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403535361692663808,"note":"Value kept but may cause issues"} 
[2026-09-10 01:58:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 01:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788985610000,"timestamp_ms":1788985610000,"timestamp_seconds":1788985610,"priority":1,"record_length":96,"hex_timestamp":"000001a087da0f10"} 
[2026-09-10 01:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:58: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-09-10 01:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 01:58:18] 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-09-10 01:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980313344001,"66":27463,"44":-678636138597791744,"83":41728,"24":40,"16":403535361692663808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 01:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980313344001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:58:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-678636138597791744,"description":"Unknown IO ID 44"} 
[2026-09-10 01:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403535361692663808,"km_value":403535361692663.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:58:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457980313344001,"power":27463,"unknown_44":-678636138597791744,"unknown_83":41728,"ignition":40,"odometer":null}} 
[2026-09-10 01:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":176183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:58:18] local.INFO: GPS data processed {"connection_id":176183,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:58:18] local.INFO: Acknowledgment sent {"connection_id":176183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:58:36] local.INFO: TCP Data received {"connection_id":177359,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:36] local.INFO: Processing buffer {"connection_id":177359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:36] local.INFO: IMEI packet received {"connection_id":177359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":177359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:58:37] local.INFO: TCP Data received {"connection_id":177359,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:37] local.INFO: Processing buffer {"connection_id":177359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:37] local.INFO: IMEI packet received {"connection_id":177359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":177359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:58:42] local.INFO: TCP Data received {"connection_id":177359,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:42] local.INFO: Processing buffer {"connection_id":177359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:58:42] local.INFO: IMEI packet received {"connection_id":177359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":177359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:58:43] local.INFO: TCP Data received {"connection_id":177359,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087da3238012cf661c0070b55200003013b2c..."} 
[2026-09-10 01:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087da3238012cf661c0070b55200003013b2c..."} 
[2026-09-10 01:58:43] local.INFO: Processing buffer {"connection_id":177359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087da3238012cf661c0070b55200003013b2c..."} 
[2026-09-10 01:58:43] local.INFO: Packet analysis {"connection_id":177359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087da"} 
[2026-09-10 01:58:43] local.INFO: Extracted packet for processing {"connection_id":177359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087da"} 
[2026-09-10 01:58:43] local.INFO: GPS Element Parsed {"raw_longitude":754344384,"raw_latitude":118183200,"longitude_deg":75.4344384,"latitude_deg":11.81832,"altitude":3,"angle":315,"satellites":44,"speed":41,"hex_longitude":"2cf661c0","hex_latitude":"070b5520","is_valid_coordinates":true} 
[2026-09-10 01: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-09-10 01:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980316160001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-685813750502219776,"note":"Value kept but may cause issues"} 
[2026-09-10 01:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403535799779328000,"note":"Value kept but may cause issues"} 
[2026-09-10 01:58:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 01:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985619000,"timestamp_ms":1788985619000,"timestamp_seconds":1788985619,"priority":1,"record_length":96,"hex_timestamp":"000001a087da3238"} 
[2026-09-10 01:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:58: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-09-10 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 01:58:43] 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-09-10 01: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-09-10 01:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980316160001,"66":27365,"44":-685813750502219776,"83":41728,"24":41,"16":403535799779328000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 01:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980316160001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-685813750502219776,"description":"Unknown IO ID 44"} 
[2026-09-10 01:58:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403535799779328000,"km_value":403535799779328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:58:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457980316160001,"power":27365,"unknown_44":-685813750502219776,"unknown_83":41728,"ignition":41,"odometer":null}} 
[2026-09-10 01:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":177359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:58:43] local.INFO: GPS data processed {"connection_id":177359,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:58:43] local.INFO: Acknowledgment sent {"connection_id":177359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:59:14] local.INFO: TCP Data received {"connection_id":177359,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087db62e8012cf60a80070bbe80000601572b..."} 
[2026-09-10 01:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087db62e8012cf60a80070bbe80000601572b..."} 
[2026-09-10 01:59:14] local.INFO: Processing buffer {"connection_id":177359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087db62e8012cf60a80070bbe80000601572b..."} 
[2026-09-10 01:59:14] local.INFO: Packet analysis {"connection_id":177359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 01:59:14] local.INFO: Extracted packet for processing {"connection_id":177359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 01:59:14] local.INFO: GPS Element Parsed {"raw_longitude":754322048,"raw_latitude":118210176,"longitude_deg":75.4322048,"latitude_deg":11.8210176,"altitude":6,"angle":343,"satellites":43,"speed":29,"hex_longitude":"2cf60a80","hex_latitude":"070bbe80","is_valid_coordinates":true} 
[2026-09-10 01:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980333568001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403537607960559616,"note":"Value kept but may cause issues"} 
[2026-09-10 01:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715509360539006976,"note":"Value kept but may cause issues"} 
[2026-09-10 01:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788985697000,"timestamp_ms":1788985697000,"timestamp_seconds":1788985697,"priority":1,"record_length":96,"hex_timestamp":"000001a087db62e8"} 
[2026-09-10 01:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 01:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 01:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980333568001,"66":27332,"177":206,"83":41728,"24":29,"16":403537607960559616,"44":-715509360539006976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 01:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980333568001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:59:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 01:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403537607960559616,"km_value":403537607960559.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715509360539006976,"description":"Unknown IO ID 44"} 
[2026-09-10 01:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980333568001,"power":27332,"unknown_177":206,"unknown_83":41728,"ignition":29,"odometer":null,"unknown_44":-715509360539006976}} 
[2026-09-10 01:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":177359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:59:14] local.INFO: GPS data processed {"connection_id":177359,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:59:14] local.INFO: Acknowledgment sent {"connection_id":177359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 01:59:42] local.INFO: TCP Data received {"connection_id":178739,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:59:42] local.INFO: Processing buffer {"connection_id":178739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:59:42] local.INFO: IMEI packet received {"connection_id":178739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 01:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":178739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 01:59:45] local.INFO: TCP Data received {"connection_id":178739,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:59:45] local.INFO: Processing buffer {"connection_id":178739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 01:59:45] local.INFO: IMEI packet received {"connection_id":178739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 01:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":178739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 01:59:46] local.INFO: TCP Data received {"connection_id":178739,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087db8de0012cf5fc40070bded00005014b26..."} 
[2026-09-10 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087db8de0012cf5fc40070bded00005014b26..."} 
[2026-09-10 01:59:46] local.INFO: Processing buffer {"connection_id":178739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087db8de0012cf5fc40070bded00005014b26..."} 
[2026-09-10 01:59:46] local.INFO: Packet analysis {"connection_id":178739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 01:59:46] local.INFO: Extracted packet for processing {"connection_id":178739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 01:59:46] local.INFO: GPS Element Parsed {"raw_longitude":754318400,"raw_latitude":118218448,"longitude_deg":75.43184,"latitude_deg":11.8218448,"altitude":5,"angle":331,"satellites":38,"speed":35,"hex_longitude":"2cf5fc40","hex_latitude":"070bded0","is_valid_coordinates":true} 
[2026-09-10 01:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 01:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980338432001,"note":"Value kept but may cause issues"} 
[2026-09-10 01:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403538046047223808,"note":"Value kept but may cause issues"} 
[2026-09-10 01:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717620422862012416,"note":"Value kept but may cause issues"} 
[2026-09-10 01:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 01:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788985708000,"timestamp_ms":1788985708000,"timestamp_seconds":1788985708,"priority":1,"record_length":96,"hex_timestamp":"000001a087db8de0"} 
[2026-09-10 01:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 01:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 01:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 01:59:46] 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-09-10 01:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 01:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 01:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 01:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 01:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 01:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 01:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 01:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 01:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980338432001,"66":27245,"177":206,"83":41728,"24":35,"16":403538046047223808,"44":-717620422862012416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 01:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 01:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 01:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980338432001,"description":"Unknown IO ID 0"} 
[2026-09-10 01:59:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 01:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 01:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403538046047223808,"km_value":403538046047223.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 01:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717620422862012416,"description":"Unknown IO ID 44"} 
[2026-09-10 01:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980338432001,"power":27245,"unknown_177":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-717620422862012416}} 
[2026-09-10 01:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":178739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 01:59:46] local.INFO: GPS data processed {"connection_id":178739,"processed":1,"errors":0,"total":1} 
[2026-09-10 01:59:46] local.INFO: Acknowledgment sent {"connection_id":178739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:00:17] local.INFO: TCP Data received {"connection_id":178739,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087db8de0012cf5fc40070bded00005014b26..."} 
[2026-09-10 02:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087db8de0012cf5fc40070bded00005014b26..."} 
[2026-09-10 02:00:17] local.INFO: Processing buffer {"connection_id":178739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087db8de0012cf5fc40070bded00005014b26..."} 
[2026-09-10 02:00:17] local.INFO: Packet analysis {"connection_id":178739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 02:00:17] local.INFO: Extracted packet for processing {"connection_id":178739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 02:00:17] local.INFO: GPS Element Parsed {"raw_longitude":754318400,"raw_latitude":118218448,"longitude_deg":75.43184,"latitude_deg":11.8218448,"altitude":5,"angle":331,"satellites":38,"speed":35,"hex_longitude":"2cf5fc40","hex_latitude":"070bded0","is_valid_coordinates":true} 
[2026-09-10 02:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980341248001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403538046047223808,"note":"Value kept but may cause issues"} 
[2026-09-10 02:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-721631441278021632,"note":"Value kept but may cause issues"} 
[2026-09-10 02:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788985708000,"timestamp_ms":1788985708000,"timestamp_seconds":1788985708,"priority":1,"record_length":96,"hex_timestamp":"000001a087db8de0"} 
[2026-09-10 02:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:00:17] 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-09-10 02:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980341248001,"66":27245,"177":206,"83":41728,"24":35,"16":403538046047223808,"44":-721631441278021632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 02:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980341248001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:00:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 02:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 02:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403538046047223808,"km_value":403538046047223.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-721631441278021632,"description":"Unknown IO ID 44"} 
[2026-09-10 02:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980341248001,"power":27245,"unknown_177":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-721631441278021632}} 
[2026-09-10 02:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":178739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:00:17] local.INFO: GPS data processed {"connection_id":178739,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:00:17] local.INFO: Acknowledgment sent {"connection_id":178739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:00:36] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:36] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:36] local.INFO: IMEI packet received {"connection_id":176184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":176184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:00:37] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:37] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:37] local.INFO: IMEI packet received {"connection_id":176184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":176184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:00:42] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:42] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:00:42] local.INFO: IMEI packet received {"connection_id":176184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":176184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:00:43] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087dbb4f0012cf5ea40070c00580006014b29..."} 
[2026-09-10 02:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087dbb4f0012cf5ea40070c00580006014b29..."} 
[2026-09-10 02:00:43] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087dbb4f0012cf5ea40070c00580006014b29..."} 
[2026-09-10 02:00:43] local.INFO: Packet analysis {"connection_id":176184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 02:00:43] local.INFO: Extracted packet for processing {"connection_id":176184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087db"} 
[2026-09-10 02:00:43] local.INFO: GPS Element Parsed {"raw_longitude":754313792,"raw_latitude":118227032,"longitude_deg":75.4313792,"latitude_deg":11.8227032,"altitude":6,"angle":331,"satellites":41,"speed":38,"hex_longitude":"2cf5ea40","hex_latitude":"070c0058","is_valid_coordinates":true} 
[2026-09-10 02:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980341248001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403538518493626368,"note":"Value kept but may cause issues"} 
[2026-09-10 02:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-721631441278021632,"note":"Value kept but may cause issues"} 
[2026-09-10 02:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985718000,"timestamp_ms":1788985718000,"timestamp_seconds":1788985718,"priority":1,"record_length":96,"hex_timestamp":"000001a087dbb4f0"} 
[2026-09-10 02:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:00:43] 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-09-10 02:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980341248001,"66":27267,"177":206,"83":41728,"24":38,"16":403538518493626368,"44":-721631441278021632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 02:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980341248001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:00:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 02:00:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 02:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403538518493626368,"km_value":403538518493626.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-721631441278021632,"description":"Unknown IO ID 44"} 
[2026-09-10 02:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980341248001,"power":27267,"unknown_177":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-721631441278021632}} 
[2026-09-10 02:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":176184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:00:43] local.INFO: GPS data processed {"connection_id":176184,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:00:43] local.INFO: Acknowledgment sent {"connection_id":176184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:01:14] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087dd37a8012cf53780070d7b080007016023..."} 
[2026-09-10 02:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087dd37a8012cf53780070d7b080007016023..."} 
[2026-09-10 02:01:14] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087dd37a8012cf53780070d7b080007016023..."} 
[2026-09-10 02:01:14] local.INFO: Packet analysis {"connection_id":176184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087dd"} 
[2026-09-10 02:01:14] local.INFO: Extracted packet for processing {"connection_id":176184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087dd"} 
[2026-09-10 02:01:14] local.INFO: GPS Element Parsed {"raw_longitude":754268032,"raw_latitude":118323976,"longitude_deg":75.4268032,"latitude_deg":11.8323976,"altitude":7,"angle":352,"satellites":35,"speed":47,"hex_longitude":"2cf53780","hex_latitude":"070d7b08","is_valid_coordinates":true} 
[2026-09-10 02:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980368384001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403543741173858304,"note":"Value kept but may cause issues"} 
[2026-09-10 02:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-776026480501204992,"note":"Value kept but may cause issues"} 
[2026-09-10 02:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788985817000,"timestamp_ms":1788985817000,"timestamp_seconds":1788985817,"priority":1,"record_length":96,"hex_timestamp":"000001a087dd37a8"} 
[2026-09-10 02:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:01:14] 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-09-10 02:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980368384001,"66":27169,"226":206,"83":41472,"24":47,"16":403543741173858304,"44":-776026480501204992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,44]} 
[2026-09-10 02:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980368384001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:01:14] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-10 02:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403543741173858304,"km_value":403543741173858.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-776026480501204992,"description":"Unknown IO ID 44"} 
[2026-09-10 02:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980368384001,"power":27169,"unknown_226":206,"unknown_83":41472,"ignition":47,"odometer":null,"unknown_44":-776026480501204992}} 
[2026-09-10 02:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":176184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:01:14] local.INFO: GPS data processed {"connection_id":176184,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:01:14] local.INFO: Acknowledgment sent {"connection_id":176184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:01:43] local.INFO: TCP Data received {"connection_id":177360,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:01:43] local.INFO: Processing buffer {"connection_id":177360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:01:43] local.INFO: IMEI packet received {"connection_id":177360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":177360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:02:22] local.INFO: TCP Data received {"connection_id":177360,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:22] local.INFO: Processing buffer {"connection_id":177360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:22] local.INFO: IMEI packet received {"connection_id":177360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":177360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:02:42] local.INFO: TCP Data received {"connection_id":178740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:42] local.INFO: Processing buffer {"connection_id":178740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:42] local.INFO: IMEI packet received {"connection_id":178740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":178740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:02:45] local.INFO: TCP Data received {"connection_id":178740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:45] local.INFO: Processing buffer {"connection_id":178740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:02:45] local.INFO: IMEI packet received {"connection_id":178740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":178740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:02:46] local.INFO: TCP Data received {"connection_id":178740,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087de4530012cf4b880070e30c8001a014226..."} 
[2026-09-10 02:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087de4530012cf4b880070e30c8001a014226..."} 
[2026-09-10 02:02:46] local.INFO: Processing buffer {"connection_id":178740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087de4530012cf4b880070e30c8001a014226..."} 
[2026-09-10 02:02:46] local.INFO: Packet analysis {"connection_id":178740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087de"} 
[2026-09-10 02:02:46] local.INFO: Extracted packet for processing {"connection_id":178740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087de"} 
[2026-09-10 02:02:46] local.INFO: GPS Element Parsed {"raw_longitude":754235520,"raw_latitude":118370504,"longitude_deg":75.423552,"latitude_deg":11.8370504,"altitude":26,"angle":322,"satellites":38,"speed":27,"hex_longitude":"2cf4b880","hex_latitude":"070e30c8","is_valid_coordinates":true} 
[2026-09-10 02:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980386304001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403546790600638464,"note":"Value kept but may cause issues"} 
[2026-09-10 02:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-811562696298407936,"note":"Value kept but may cause issues"} 
[2026-09-10 02:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788985886000,"timestamp_ms":1788985886000,"timestamp_seconds":1788985886,"priority":1,"record_length":96,"hex_timestamp":"000001a087de4530"} 
[2026-09-10 02:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:02:46] 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-09-10 02:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980386304001,"66":27245,"29":206,"83":41728,"24":27,"16":403546790600638464,"44":-811562696298407936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-10 02:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980386304001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:02:46] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-10 02:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 02:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403546790600638464,"km_value":403546790600638.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-811562696298407936,"description":"Unknown IO ID 44"} 
[2026-09-10 02:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980386304001,"power":27245,"unknown_29":206,"unknown_83":41728,"ignition":27,"odometer":null,"unknown_44":-811562696298407936}} 
[2026-09-10 02:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":178740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:02:46] local.INFO: GPS data processed {"connection_id":178740,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:02:46] local.INFO: Acknowledgment sent {"connection_id":178740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:03:19] local.INFO: TCP Data received {"connection_id":178740,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087de4918012cf4b740070e3338001a015126..."} 
[2026-09-10 02:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087de4918012cf4b740070e3338001a015126..."} 
[2026-09-10 02:03:19] local.INFO: Processing buffer {"connection_id":178740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087de4918012cf4b740070e3338001a015126..."} 
[2026-09-10 02:03:19] local.INFO: Packet analysis {"connection_id":178740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087de"} 
[2026-09-10 02:03:19] local.INFO: Extracted packet for processing {"connection_id":178740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087de"} 
[2026-09-10 02:03:19] local.INFO: GPS Element Parsed {"raw_longitude":754235200,"raw_latitude":118371128,"longitude_deg":75.42352,"latitude_deg":11.8371128,"altitude":26,"angle":337,"satellites":38,"speed":28,"hex_longitude":"2cf4b740","hex_latitude":"070e3338","is_valid_coordinates":true} 
[2026-09-10 02:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980386816001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403546824960376832,"note":"Value kept but may cause issues"} 
[2026-09-10 02:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-812758964949170176,"note":"Value kept but may cause issues"} 
[2026-09-10 02:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788985887000,"timestamp_ms":1788985887000,"timestamp_seconds":1788985887,"priority":1,"record_length":96,"hex_timestamp":"000001a087de4918"} 
[2026-09-10 02:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:03: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-09-10 02:03: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":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:03:19] 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-09-10 02:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980386816001,"66":27245,"29":206,"83":41728,"24":28,"16":403546824960376832,"44":-812758964949170176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-10 02:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980386816001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:03:19] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-10 02:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 02:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403546824960376832,"km_value":403546824960376.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-812758964949170176,"description":"Unknown IO ID 44"} 
[2026-09-10 02:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980386816001,"power":27245,"unknown_29":206,"unknown_83":41728,"ignition":28,"odometer":null,"unknown_44":-812758964949170176}} 
[2026-09-10 02:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":178740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:03:19] local.INFO: GPS data processed {"connection_id":178740,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:03:19] local.INFO: Acknowledgment sent {"connection_id":178740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:03:36] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:36] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:36] local.INFO: IMEI packet received {"connection_id":177361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":177361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:03:37] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:37] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:37] local.INFO: IMEI packet received {"connection_id":177361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":177361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:03:42] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:42] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:03:42] local.INFO: IMEI packet received {"connection_id":177361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":177361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:03:42] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087df6640012cf43180070ee670002b015e2b..."} 
[2026-09-10 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087df6640012cf43180070ee670002b015e2b..."} 
[2026-09-10 02:03:42] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087df6640012cf43180070ee670002b015e2b..."} 
[2026-09-10 02:03:42] local.INFO: Packet analysis {"connection_id":177361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:03:42] local.INFO: Extracted packet for processing {"connection_id":177361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":754200960,"raw_latitude":118417008,"longitude_deg":75.420096,"latitude_deg":11.8417008,"altitude":43,"angle":350,"satellites":43,"speed":34,"hex_longitude":"2cf43180","hex_latitude":"070ee670","is_valid_coordinates":true} 
[2026-09-10 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980405248001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403549638163955712,"note":"Value kept but may cause issues"} 
[2026-09-10 02:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850124768096028672,"note":"Value kept but may cause issues"} 
[2026-09-10 02:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788985960000,"timestamp_ms":1788985960000,"timestamp_seconds":1788985960,"priority":1,"record_length":96,"hex_timestamp":"000001a087df6640"} 
[2026-09-10 02:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:03: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-09-10 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 02:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02: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-09-10 02:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980405248001,"66":27267,"227":206,"83":41472,"24":34,"16":403549638163955712,"44":-850124768096028672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-10 02:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980405248001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:03:42] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 02:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403549638163955712,"km_value":403549638163955.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850124768096028672,"description":"Unknown IO ID 44"} 
[2026-09-10 02:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980405248001,"power":27267,"unknown_227":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-850124768096028672}} 
[2026-09-10 02:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":177361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:03:42] local.INFO: GPS data processed {"connection_id":177361,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:03:42] local.INFO: Acknowledgment sent {"connection_id":177361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:04:13] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087df8d50012cf42d00070f08a8002b01592c..."} 
[2026-09-10 02:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087df8d50012cf42d00070f08a8002b01592c..."} 
[2026-09-10 02:04:13] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087df8d50012cf42d00070f08a8002b01592c..."} 
[2026-09-10 02:04:13] local.INFO: Packet analysis {"connection_id":177361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:04:13] local.INFO: Extracted packet for processing {"connection_id":177361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:04:13] local.INFO: GPS Element Parsed {"raw_longitude":754199808,"raw_latitude":118425768,"longitude_deg":75.4199808,"latitude_deg":11.8425768,"altitude":43,"angle":345,"satellites":44,"speed":40,"hex_longitude":"2cf42d00","hex_latitude":"070f08a8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 02:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980405760001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403550067660685312,"note":"Value kept but may cause issues"} 
[2026-09-10 02:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850758086793203712,"note":"Value kept but may cause issues"} 
[2026-09-10 02:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788985970000,"timestamp_ms":1788985970000,"timestamp_seconds":1788985970,"priority":1,"record_length":96,"hex_timestamp":"000001a087df8d50"} 
[2026-09-10 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-09-10 02:04: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-09-10 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 02:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980405760001,"66":27267,"216":206,"83":41472,"24":40,"16":403550067660685312,"44":-850758086793203712},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-10 02:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980405760001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:04:13] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-10 02:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403550067660685312,"km_value":403550067660685.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850758086793203712,"description":"Unknown IO ID 44"} 
[2026-09-10 02:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980405760001,"power":27267,"unknown_216":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-850758086793203712}} 
[2026-09-10 02:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":177361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:04:13] local.INFO: GPS data processed {"connection_id":177361,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:04:13] local.INFO: Acknowledgment sent {"connection_id":177361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:04:37] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:04:37] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:04:37] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:04:42] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:04:42] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:04:42] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:04:42] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087dfac90012cf42040070f2ba80027015226..."} 
[2026-09-10 02:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087dfac90012cf42040070f2ba80027015226..."} 
[2026-09-10 02:04:42] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087dfac90012cf42040070f2ba80027015226..."} 
[2026-09-10 02:04:42] local.INFO: Packet analysis {"connection_id":175957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:04:42] local.INFO: Extracted packet for processing {"connection_id":175957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:04:42] local.INFO: GPS Element Parsed {"raw_longitude":754196544,"raw_latitude":118434728,"longitude_deg":75.4196544,"latitude_deg":11.8434728,"altitude":39,"angle":338,"satellites":38,"speed":52,"hex_longitude":"2cf42040","hex_latitude":"070f2ba8","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980408320001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403550527222185984,"note":"Value kept but may cause issues"} 
[2026-09-10 02:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-852024724186159104,"note":"Value kept but may cause issues"} 
[2026-09-10 02:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788985978000,"timestamp_ms":1788985978000,"timestamp_seconds":1788985978,"priority":1,"record_length":96,"hex_timestamp":"000001a087dfac90"} 
[2026-09-10 02:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:04: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-09-10 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02: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-09-10 02:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980408320001,"66":27234,"216":206,"83":41472,"24":52,"16":403550527222185984,"44":-852024724186159104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-10 02:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980408320001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403550527222185984,"km_value":403550527222186.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-852024724186159104,"description":"Unknown IO ID 44"} 
[2026-09-10 02:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980408320001,"power":27234,"unknown_216":206,"unknown_83":41472,"ignition":52,"odometer":null,"unknown_44":-852024724186159104}} 
[2026-09-10 02:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":175957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:04:42] local.INFO: GPS data processed {"connection_id":175957,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:04:42] local.INFO: Acknowledgment sent {"connection_id":175957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:05:14] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087dfc7e8012cf411c0070f4d780024015028..."} 
[2026-09-10 02:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087dfc7e8012cf411c0070f4d780024015028..."} 
[2026-09-10 02:05:14] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087dfc7e8012cf411c0070f4d780024015028..."} 
[2026-09-10 02:05:14] local.INFO: Packet analysis {"connection_id":175957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:05:14] local.INFO: Extracted packet for processing {"connection_id":175957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:05:14] local.INFO: GPS Element Parsed {"raw_longitude":754192832,"raw_latitude":118443384,"longitude_deg":75.4192832,"latitude_deg":11.8443384,"altitude":36,"angle":336,"satellites":40,"speed":54,"hex_longitude":"2cf411c0","hex_latitude":"070f4d78","is_valid_coordinates":true} 
[2026-09-10 02:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980410368001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403550982488719360,"note":"Value kept but may cause issues"} 
[2026-09-10 02:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-855613530136926208,"note":"Value kept but may cause issues"} 
[2026-09-10 02:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788985985000,"timestamp_ms":1788985985000,"timestamp_seconds":1788985985,"priority":1,"record_length":96,"hex_timestamp":"000001a087dfc7e8"} 
[2026-09-10 02:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:05:14] 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-09-10 02:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980410368001,"66":27180,"216":206,"83":41472,"24":54,"16":403550982488719360,"44":-855613530136926208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-10 02:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980410368001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:05:14] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-10 02:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403550982488719360,"km_value":403550982488719.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-855613530136926208,"description":"Unknown IO ID 44"} 
[2026-09-10 02:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980410368001,"power":27180,"unknown_216":206,"unknown_83":41472,"ignition":54,"odometer":null,"unknown_44":-855613530136926208}} 
[2026-09-10 02:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":175957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:05:14] local.INFO: GPS data processed {"connection_id":175957,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:05:14] local.INFO: Acknowledgment sent {"connection_id":175957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:05:37] local.INFO: TCP Data received {"connection_id":177362,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:05:37] local.INFO: Processing buffer {"connection_id":177362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:05:37] local.INFO: IMEI packet received {"connection_id":177362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":177362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:05:42] local.INFO: TCP Data received {"connection_id":177362,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:05:42] local.INFO: Processing buffer {"connection_id":177362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:05:42] local.INFO: IMEI packet received {"connection_id":177362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":177362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:05:43] local.INFO: TCP Data received {"connection_id":177362,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087dfe340012cf40240070f6ee00025014f2a..."} 
[2026-09-10 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087dfe340012cf40240070f6ee00025014f2a..."} 
[2026-09-10 02:05:43] local.INFO: Processing buffer {"connection_id":177362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087dfe340012cf40240070f6ee00025014f2a..."} 
[2026-09-10 02:05:43] local.INFO: Packet analysis {"connection_id":177362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:05:43] local.INFO: Extracted packet for processing {"connection_id":177362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087df"} 
[2026-09-10 02:05:43] local.INFO: GPS Element Parsed {"raw_longitude":754188864,"raw_latitude":118451936,"longitude_deg":75.4188864,"latitude_deg":11.8451936,"altitude":37,"angle":335,"satellites":42,"speed":50,"hex_longitude":"2cf40240","hex_latitude":"070f6ee0","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980412160001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403551437755252736,"note":"Value kept but may cause issues"} 
[2026-09-10 02:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859694917297014784,"note":"Value kept but may cause issues"} 
[2026-09-10 02:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788985992000,"timestamp_ms":1788985992000,"timestamp_seconds":1788985992,"priority":1,"record_length":96,"hex_timestamp":"000001a087dfe340"} 
[2026-09-10 02:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 02:05:43] 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-09-10 02: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-09-10 02:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980412160001,"66":27234,"216":206,"83":41472,"24":50,"16":403551437755252736,"44":-859694917297014784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-10 02:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980412160001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:05:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-10 02:05:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403551437755252736,"km_value":403551437755252.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859694917297014784,"description":"Unknown IO ID 44"} 
[2026-09-10 02:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980412160001,"power":27234,"unknown_216":206,"unknown_83":41472,"ignition":50,"odometer":null,"unknown_44":-859694917297014784}} 
[2026-09-10 02:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":177362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:05:43] local.INFO: GPS data processed {"connection_id":177362,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:05:43] local.INFO: Acknowledgment sent {"connection_id":177362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:06:14] local.INFO: TCP Data received {"connection_id":177362,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e1e6e0012cf3230007110ff00021013b28..."} 
[2026-09-10 02:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e1e6e0012cf3230007110ff00021013b28..."} 
[2026-09-10 02:06:14] local.INFO: Processing buffer {"connection_id":177362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e1e6e0012cf3230007110ff00021013b28..."} 
[2026-09-10 02:06:14] local.INFO: Packet analysis {"connection_id":177362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e1"} 
[2026-09-10 02:06:14] local.INFO: Extracted packet for processing {"connection_id":177362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e1"} 
[2026-09-10 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":754131712,"raw_latitude":118558704,"longitude_deg":75.4131712,"latitude_deg":11.8558704,"altitude":33,"angle":315,"satellites":40,"speed":37,"hex_longitude":"2cf32300","hex_latitude":"07110ff0","is_valid_coordinates":true} 
[2026-09-10 02:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980446976001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403557446414499840,"note":"Value kept but may cause issues"} 
[2026-09-10 02:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-924786005632425984,"note":"Value kept but may cause issues"} 
[2026-09-10 02:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986124000,"timestamp_ms":1788986124000,"timestamp_seconds":1788986124,"priority":1,"record_length":96,"hex_timestamp":"000001a087e1e6e0"} 
[2026-09-10 02:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 02:06: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-09-10 02:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980446976001,"66":27137,"22":206,"83":41472,"24":37,"16":403557446414499840,"44":-924786005632425984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-09-10 02:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980446976001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:06:14] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-10 02:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403557446414499840,"km_value":403557446414499.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-924786005632425984,"description":"Unknown IO ID 44"} 
[2026-09-10 02:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980446976001,"power":27137,"unknown_22":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-924786005632425984}} 
[2026-09-10 02:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":177362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:06:14] local.INFO: GPS data processed {"connection_id":177362,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:06:14] local.INFO: Acknowledgment sent {"connection_id":177362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:06:37] local.INFO: TCP Data received {"connection_id":178741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:06:37] local.INFO: Processing buffer {"connection_id":178741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:06:37] local.INFO: IMEI packet received {"connection_id":178741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":178741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:06:41] local.INFO: TCP Data received {"connection_id":178741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:06:41] local.INFO: Processing buffer {"connection_id":178741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:06:41] local.INFO: IMEI packet received {"connection_id":178741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":178741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:06:42] local.INFO: TCP Data received {"connection_id":178741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e20df0012cf3084007112b300020014829..."} 
[2026-09-10 02:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e20df0012cf3084007112b300020014829..."} 
[2026-09-10 02:06:42] local.INFO: Processing buffer {"connection_id":178741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e20df0012cf3084007112b300020014829..."} 
[2026-09-10 02:06:42] local.INFO: Packet analysis {"connection_id":178741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:06:42] local.INFO: Extracted packet for processing {"connection_id":178741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:06:42] local.INFO: GPS Element Parsed {"raw_longitude":754124864,"raw_latitude":118565680,"longitude_deg":75.4124864,"latitude_deg":11.856568,"altitude":32,"angle":328,"satellites":41,"speed":39,"hex_longitude":"2cf30840","hex_latitude":"07112b30","is_valid_coordinates":true} 
[2026-09-10 02:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980447744001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403557918860902400,"note":"Value kept but may cause issues"} 
[2026-09-10 02:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-926897067957161984,"note":"Value kept but may cause issues"} 
[2026-09-10 02:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788986134000,"timestamp_ms":1788986134000,"timestamp_seconds":1788986134,"priority":1,"record_length":96,"hex_timestamp":"000001a087e20df0"} 
[2026-09-10 02:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:06: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-09-10 02:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 02:06:42] 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-09-10 02:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980447744001,"66":27115,"22":206,"83":41472,"24":39,"16":403557918860902400,"44":-926897067957161984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-09-10 02:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980447744001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:06:42] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-10 02:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403557918860902400,"km_value":403557918860902.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-926897067957161984,"description":"Unknown IO ID 44"} 
[2026-09-10 02:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980447744001,"power":27115,"unknown_22":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-926897067957161984}} 
[2026-09-10 02:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":178741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:06:42] local.INFO: GPS data processed {"connection_id":178741,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:06:42] local.INFO: Acknowledgment sent {"connection_id":178741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:07:14] local.INFO: TCP Data received {"connection_id":178741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e2bdb8012cf2fc000711d0c00007014428..."} 
[2026-09-10 02:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e2bdb8012cf2fc000711d0c00007014428..."} 
[2026-09-10 02:07:14] local.INFO: Processing buffer {"connection_id":178741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e2bdb8012cf2fc000711d0c00007014428..."} 
[2026-09-10 02:07:14] local.INFO: Packet analysis {"connection_id":178741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:07:14] local.INFO: Extracted packet for processing {"connection_id":178741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:07:14] local.INFO: GPS Element Parsed {"raw_longitude":754121728,"raw_latitude":118608064,"longitude_deg":75.4121728,"latitude_deg":11.8608064,"altitude":7,"angle":324,"satellites":40,"speed":50,"hex_longitude":"2cf2fc00","hex_latitude":"0711d0c0","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980459776001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403560165128798208,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-932456198736633856,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986179000,"timestamp_ms":1788986179000,"timestamp_seconds":1788986179,"priority":1,"record_length":96,"hex_timestamp":"000001a087e2bdb8"} 
[2026-09-10 02:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 02:07:14] 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-09-10 02:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980459776001,"66":27332,"21":206,"83":41472,"24":50,"16":403560165128798208,"44":-932456198736633856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-09-10 02:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980459776001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:07:14] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 02:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403560165128798208,"km_value":403560165128798.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-932456198736633856,"description":"Unknown IO ID 44"} 
[2026-09-10 02:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980459776001,"power":27332,"unknown_21":206,"unknown_83":41472,"ignition":50,"odometer":null,"unknown_44":-932456198736633856}} 
[2026-09-10 02:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":178741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:07:14] local.INFO: GPS data processed {"connection_id":178741,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:07:14] local.INFO: Acknowledgment sent {"connection_id":178741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:07:37] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:37] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:37] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:07:40] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:40] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:40] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:07:42] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:42] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:07:42] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:07:42] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e2dcf8012cf2e2c00711eea80005013d29..."} 
[2026-09-10 02:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e2dcf8012cf2e2c00711eea80005013d29..."} 
[2026-09-10 02:07:42] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e2dcf8012cf2e2c00711eea80005013d29..."} 
[2026-09-10 02:07:42] local.INFO: Packet analysis {"connection_id":176185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:07:42] local.INFO: Extracted packet for processing {"connection_id":176185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:07:42] local.INFO: GPS Element Parsed {"raw_longitude":754115264,"raw_latitude":118615720,"longitude_deg":75.4115264,"latitude_deg":11.861572,"altitude":5,"angle":317,"satellites":41,"speed":48,"hex_longitude":"2cf2e2c0","hex_latitude":"0711eea8","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980461824001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403560646165135360,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-937874592036241408,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788986187000,"timestamp_ms":1788986187000,"timestamp_seconds":1788986187,"priority":1,"record_length":96,"hex_timestamp":"000001a087e2dcf8"} 
[2026-09-10 02:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:07: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-09-10 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 02:07: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-09-10 02: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-09-10 02:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980461824001,"66":27332,"21":206,"83":41472,"24":48,"16":403560646165135360,"44":-937874592036241408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-09-10 02:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980461824001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:07:42] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 02:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403560646165135360,"km_value":403560646165135.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-937874592036241408,"description":"Unknown IO ID 44"} 
[2026-09-10 02:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980461824001,"power":27332,"unknown_21":206,"unknown_83":41472,"ignition":48,"odometer":null,"unknown_44":-937874592036241408}} 
[2026-09-10 02:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":176185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:07:42] local.INFO: GPS data processed {"connection_id":176185,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:07:42] local.INFO: Acknowledgment sent {"connection_id":176185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:07:47] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e2fc38012cf2c800071207980007013228..."} 
[2026-09-10 02:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e2fc38012cf2c800071207980007013228..."} 
[2026-09-10 02:07:47] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e2fc38012cf2c800071207980007013228..."} 
[2026-09-10 02:07:47] local.INFO: Packet analysis {"connection_id":176185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:07:47] local.INFO: Extracted packet for processing {"connection_id":176185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e2"} 
[2026-09-10 02:07:47] local.INFO: GPS Element Parsed {"raw_longitude":754108416,"raw_latitude":118622104,"longitude_deg":75.4108416,"latitude_deg":11.8622104,"altitude":7,"angle":306,"satellites":40,"speed":44,"hex_longitude":"2cf2c800","hex_latitude":"07120798","is_valid_coordinates":true} 
[2026-09-10 02:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980463872001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403561092841734144,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-944981835196225536,"note":"Value kept but may cause issues"} 
[2026-09-10 02:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788986195000,"timestamp_ms":1788986195000,"timestamp_seconds":1788986195,"priority":1,"record_length":96,"hex_timestamp":"000001a087e2fc38"} 
[2026-09-10 02:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:07: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-09-10 02:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 02:07:47] 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-09-10 02:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980463872001,"66":27365,"21":206,"83":41472,"24":44,"16":403561092841734144,"44":-944981835196225536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-09-10 02:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980463872001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:07:47] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 02:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403561092841734144,"km_value":403561092841734.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:07:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-944981835196225536,"description":"Unknown IO ID 44"} 
[2026-09-10 02:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980463872001,"power":27365,"unknown_21":206,"unknown_83":41472,"ignition":44,"odometer":null,"unknown_44":-944981835196225536}} 
[2026-09-10 02:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":176185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:07:47] local.INFO: GPS data processed {"connection_id":176185,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:07:47] local.INFO: Acknowledgment sent {"connection_id":176185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:08:18] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e31f60012cf2a70007121ce80006012f24..."} 
[2026-09-10 02:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e31f60012cf2a70007121ce80006012f24..."} 
[2026-09-10 02:08:18] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e31f60012cf2a70007121ce80006012f24..."} 
[2026-09-10 02:08:18] local.INFO: Packet analysis {"connection_id":176185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:08:18] local.INFO: Extracted packet for processing {"connection_id":176185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:08:18] local.INFO: GPS Element Parsed {"raw_longitude":754099968,"raw_latitude":118627560,"longitude_deg":75.4099968,"latitude_deg":11.862756,"altitude":6,"angle":303,"satellites":36,"speed":43,"hex_longitude":"2cf2a700","hex_latitude":"07121ce8","is_valid_coordinates":true} 
[2026-09-10 02:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980465920001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403561573878071296,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-952511290821601280,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788986204000,"timestamp_ms":1788986204000,"timestamp_seconds":1788986204,"priority":1,"record_length":96,"hex_timestamp":"000001a087e31f60"} 
[2026-09-10 02:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 02:08:18] 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-09-10 02:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980465920001,"66":27213,"196":206,"83":41472,"24":43,"16":403561573878071296,"44":-952511290821601280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 02:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980465920001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:08:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 02:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403561573878071296,"km_value":403561573878071.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:08:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-952511290821601280,"description":"Unknown IO ID 44"} 
[2026-09-10 02:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980465920001,"power":27213,"unknown_196":206,"unknown_83":41472,"ignition":43,"odometer":null,"unknown_44":-952511290821601280}} 
[2026-09-10 02:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":176185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:08:18] local.INFO: GPS data processed {"connection_id":176185,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:08:18] local.INFO: Acknowledgment sent {"connection_id":176185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:08:37] local.INFO: TCP Data received {"connection_id":178742,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:37] local.INFO: Processing buffer {"connection_id":178742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:37] local.INFO: IMEI packet received {"connection_id":178742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":178742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:08:40] local.INFO: TCP Data received {"connection_id":178742,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:40] local.INFO: Processing buffer {"connection_id":178742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:40] local.INFO: IMEI packet received {"connection_id":178742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":178742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:08:42] local.INFO: TCP Data received {"connection_id":178742,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:42] local.INFO: Processing buffer {"connection_id":178742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:08:42] local.INFO: IMEI packet received {"connection_id":178742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":178742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:08:42] local.INFO: TCP Data received {"connection_id":178742,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e34288012cf28840071232a80008013727..."} 
[2026-09-10 02:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e34288012cf28840071232a80008013727..."} 
[2026-09-10 02:08:42] local.INFO: Processing buffer {"connection_id":178742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e34288012cf28840071232a80008013727..."} 
[2026-09-10 02:08:42] local.INFO: Packet analysis {"connection_id":178742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:08:42] local.INFO: Extracted packet for processing {"connection_id":178742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":754092096,"raw_latitude":118633128,"longitude_deg":75.4092096,"latitude_deg":11.8633128,"altitude":8,"angle":311,"satellites":39,"speed":40,"hex_longitude":"2cf28840","hex_latitude":"071232a8","is_valid_coordinates":true} 
[2026-09-10 02:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980468224001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403562037734539264,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-961799965051656192,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788986213000,"timestamp_ms":1788986213000,"timestamp_seconds":1788986213,"priority":1,"record_length":96,"hex_timestamp":"000001a087e34288"} 
[2026-09-10 02:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:08: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-09-10 02:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980468224001,"66":27321,"196":206,"83":41472,"24":40,"16":403562037734539264,"44":-961799965051656192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 02:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980468224001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403562037734539264,"km_value":403562037734539.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-961799965051656192,"description":"Unknown IO ID 44"} 
[2026-09-10 02:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980468224001,"power":27321,"unknown_196":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-961799965051656192}} 
[2026-09-10 02:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":178742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:08:43] local.INFO: GPS data processed {"connection_id":178742,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:08:43] local.INFO: Acknowledgment sent {"connection_id":178742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:08:47] local.INFO: TCP Data received {"connection_id":178742,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e365b0012cf26d80071249800008012d29..."} 
[2026-09-10 02:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e365b0012cf26d80071249800008012d29..."} 
[2026-09-10 02:08:47] local.INFO: Processing buffer {"connection_id":178742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e365b0012cf26d80071249800008012d29..."} 
[2026-09-10 02:08:47] local.INFO: Packet analysis {"connection_id":178742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:08:47] local.INFO: Extracted packet for processing {"connection_id":178742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:08:47] local.INFO: GPS Element Parsed {"raw_longitude":754085248,"raw_latitude":118638976,"longitude_deg":75.4085248,"latitude_deg":11.8638976,"altitude":8,"angle":301,"satellites":41,"speed":34,"hex_longitude":"2cf26d80","hex_latitude":"07124980","is_valid_coordinates":true} 
[2026-09-10 02:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980470528001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403562467231268864,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-970455320584083456,"note":"Value kept but may cause issues"} 
[2026-09-10 02:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788986222000,"timestamp_ms":1788986222000,"timestamp_seconds":1788986222,"priority":1,"record_length":96,"hex_timestamp":"000001a087e365b0"} 
[2026-09-10 02:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:08: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-09-10 02:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 02:08:47] 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-09-10 02:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980470528001,"66":27213,"196":206,"83":41472,"24":34,"16":403562467231268864,"44":-970455320584083456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 02:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980470528001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:08:47] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 02:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403562467231268864,"km_value":403562467231268.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:08:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-970455320584083456,"description":"Unknown IO ID 44"} 
[2026-09-10 02:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980470528001,"power":27213,"unknown_196":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-970455320584083456}} 
[2026-09-10 02:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":178742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:08:47] local.INFO: GPS data processed {"connection_id":178742,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:08:47] local.INFO: Acknowledgment sent {"connection_id":178742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:09:19] local.INFO: TCP Data received {"connection_id":178742,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e39878012cf25c4007125248000901382b..."} 
[2026-09-10 02:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e39878012cf25c4007125248000901382b..."} 
[2026-09-10 02:09:19] local.INFO: Processing buffer {"connection_id":178742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e39878012cf25c4007125248000901382b..."} 
[2026-09-10 02:09:19] local.INFO: Packet analysis {"connection_id":178742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:09:19] local.INFO: Extracted packet for processing {"connection_id":178742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e3"} 
[2026-09-10 02:09:19] local.INFO: GPS Element Parsed {"raw_longitude":754080832,"raw_latitude":118641224,"longitude_deg":75.4080832,"latitude_deg":11.8641224,"altitude":9,"angle":312,"satellites":43,"speed":6,"hex_longitude":"2cf25c40","hex_latitude":"07125248","is_valid_coordinates":true} 
[2026-09-10 02:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980472832001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403562707749437440,"note":"Value kept but may cause issues"} 
[2026-09-10 02:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-977984776209596416,"note":"Value kept but may cause issues"} 
[2026-09-10 02:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788986235000,"timestamp_ms":1788986235000,"timestamp_seconds":1788986235,"priority":1,"record_length":96,"hex_timestamp":"000001a087e39878"} 
[2026-09-10 02:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980472832001,"66":27321,"196":206,"83":41472,"24":6,"16":403562707749437440,"44":-977984776209596416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 02:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980472832001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:09:19] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 02:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403562707749437440,"km_value":403562707749437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-977984776209596416,"description":"Unknown IO ID 44"} 
[2026-09-10 02:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980472832001,"power":27321,"unknown_196":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-977984776209596416}} 
[2026-09-10 02:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":178742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:09:19] local.INFO: GPS data processed {"connection_id":178742,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:09:19] local.INFO: Acknowledgment sent {"connection_id":178742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:09:36] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:36] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:36] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:09:37] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:37] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:37] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:09:42] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:42] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:09:42] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:09:43] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e4f038012cf1aa0007130050000901382d..."} 
[2026-09-10 02:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e4f038012cf1aa0007130050000901382d..."} 
[2026-09-10 02:09:43] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e4f038012cf1aa0007130050000901382d..."} 
[2026-09-10 02:09:43] local.INFO: Packet analysis {"connection_id":175958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e4"} 
[2026-09-10 02:09:43] local.INFO: Extracted packet for processing {"connection_id":175958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e4"} 
[2026-09-10 02:09:43] local.INFO: GPS Element Parsed {"raw_longitude":754035200,"raw_latitude":118685776,"longitude_deg":75.40352,"latitude_deg":11.8685776,"altitude":9,"angle":312,"satellites":45,"speed":51,"hex_longitude":"2cf1aa00","hex_latitude":"07130050","is_valid_coordinates":true} 
[2026-09-10 02:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980496896001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403565864550400000,"note":"Value kept but may cause issues"} 
[2026-09-10 02:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1025624416007438336,"note":"Value kept but may cause issues"} 
[2026-09-10 02:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986323000,"timestamp_ms":1788986323000,"timestamp_seconds":1788986323,"priority":1,"record_length":96,"hex_timestamp":"000001a087e4f038"} 
[2026-09-10 02:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980496896001,"66":27267,"219":206,"83":41472,"24":51,"16":403565864550400000,"44":-1025624416007438336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 02:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980496896001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:09:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 02:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403565864550400000,"km_value":403565864550400,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1025624416007438336,"description":"Unknown IO ID 44"} 
[2026-09-10 02:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980496896001,"power":27267,"unknown_219":206,"unknown_83":41472,"ignition":51,"odometer":null,"unknown_44":-1025624416007438336}} 
[2026-09-10 02:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":175958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:09:43] local.INFO: GPS data processed {"connection_id":175958,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:09:43] local.INFO: Acknowledgment sent {"connection_id":175958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:10:14] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e50b90012cf19040071318c0000b01392d..."} 
[2026-09-10 02:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e50b90012cf19040071318c0000b01392d..."} 
[2026-09-10 02:10:14] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e50b90012cf19040071318c0000b01392d..."} 
[2026-09-10 02:10:14] local.INFO: Packet analysis {"connection_id":175958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e5"} 
[2026-09-10 02:10:14] local.INFO: Extracted packet for processing {"connection_id":175958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e5"} 
[2026-09-10 02:10:14] local.INFO: GPS Element Parsed {"raw_longitude":754028608,"raw_latitude":118692032,"longitude_deg":75.4028608,"latitude_deg":11.8692032,"altitude":11,"angle":313,"satellites":45,"speed":49,"hex_longitude":"2cf19040","hex_latitude":"071318c0","is_valid_coordinates":true} 
[2026-09-10 02:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980498688001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403566298342096896,"note":"Value kept but may cause issues"} 
[2026-09-10 02:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1033013134144548864,"note":"Value kept but may cause issues"} 
[2026-09-10 02:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986330000,"timestamp_ms":1788986330000,"timestamp_seconds":1788986330,"priority":1,"record_length":96,"hex_timestamp":"000001a087e50b90"} 
[2026-09-10 02:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980498688001,"66":27158,"219":206,"83":41472,"24":49,"16":403566298342096896,"44":-1033013134144548864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 02:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980498688001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:10:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 02:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403566298342096896,"km_value":403566298342096.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1033013134144548864,"description":"Unknown IO ID 44"} 
[2026-09-10 02:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980498688001,"power":27158,"unknown_219":206,"unknown_83":41472,"ignition":49,"odometer":null,"unknown_44":-1033013134144548864}} 
[2026-09-10 02:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":175958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:10:14] local.INFO: GPS data processed {"connection_id":175958,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:10:14] local.INFO: Acknowledgment sent {"connection_id":175958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:10:37] local.INFO: TCP Data received {"connection_id":177363,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:37] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:37] local.INFO: IMEI packet received {"connection_id":177363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":177363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:10:37] local.INFO: TCP Data received {"connection_id":177363,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:37] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:37] local.INFO: IMEI packet received {"connection_id":177363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":177363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:10:42] local.INFO: TCP Data received {"connection_id":177363,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:42] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:10:42] local.INFO: IMEI packet received {"connection_id":177363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":177363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:10:43] local.INFO: TCP Data received {"connection_id":177363,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e52ad0012cf1744007133170001001362a..."} 
[2026-09-10 02:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e52ad0012cf1744007133170001001362a..."} 
[2026-09-10 02:10:43] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e52ad0012cf1744007133170001001362a..."} 
[2026-09-10 02:10:43] local.INFO: Packet analysis {"connection_id":177363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e5"} 
[2026-09-10 02:10:43] local.INFO: Extracted packet for processing {"connection_id":177363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e5"} 
[2026-09-10 02:10:43] local.INFO: GPS Element Parsed {"raw_longitude":754021440,"raw_latitude":118698352,"longitude_deg":75.402144,"latitude_deg":11.8698352,"altitude":16,"angle":310,"satellites":42,"speed":46,"hex_longitude":"2cf17440","hex_latitude":"07133170","is_valid_coordinates":true} 
[2026-09-10 02:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980500480001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403566757903597568,"note":"Value kept but may cause issues"} 
[2026-09-10 02:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1040261114793246720,"note":"Value kept but may cause issues"} 
[2026-09-10 02:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986338000,"timestamp_ms":1788986338000,"timestamp_seconds":1788986338,"priority":1,"record_length":96,"hex_timestamp":"000001a087e52ad0"} 
[2026-09-10 02:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 02:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980500480001,"66":27180,"219":206,"83":41472,"24":46,"16":403566757903597568,"44":-1040261114793246720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 02:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980500480001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:10:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 02:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403566757903597568,"km_value":403566757903597.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1040261114793246720,"description":"Unknown IO ID 44"} 
[2026-09-10 02:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980500480001,"power":27180,"unknown_219":206,"unknown_83":41472,"ignition":46,"odometer":null,"unknown_44":-1040261114793246720}} 
[2026-09-10 02:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":177363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:10:43] local.INFO: GPS data processed {"connection_id":177363,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:10:43] local.INFO: Acknowledgment sent {"connection_id":177363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:11:14] local.INFO: TCP Data received {"connection_id":177363,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e66f08012cf062c0071368c80023011329..."} 
[2026-09-10 02:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e66f08012cf062c0071368c80023011329..."} 
[2026-09-10 02:11:14] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e66f08012cf062c0071368c80023011329..."} 
[2026-09-10 02:11:14] local.INFO: Packet analysis {"connection_id":177363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e6"} 
[2026-09-10 02:11:14] local.INFO: Extracted packet for processing {"connection_id":177363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e6"} 
[2026-09-10 02:11:14] local.INFO: GPS Element Parsed {"raw_longitude":753951424,"raw_latitude":118712520,"longitude_deg":75.3951424,"latitude_deg":11.871252,"altitude":35,"angle":275,"satellites":41,"speed":47,"hex_longitude":"2cf062c0","hex_latitude":"071368c8","is_valid_coordinates":true} 
[2026-09-10 02:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980523008001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403570391445929984,"note":"Value kept but may cause issues"} 
[2026-09-10 02:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1121255539336456192,"note":"Value kept but may cause issues"} 
[2026-09-10 02:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986421000,"timestamp_ms":1788986421000,"timestamp_seconds":1788986421,"priority":1,"record_length":96,"hex_timestamp":"000001a087e66f08"} 
[2026-09-10 02:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980523008001,"66":27267,"15":206,"83":41472,"24":47,"16":403570391445929984,"44":-1121255539336456192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-10 02:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980523008001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:11:14] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-10 02:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403570391445929984,"km_value":403570391445930.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1121255539336456192,"description":"Unknown IO ID 44"} 
[2026-09-10 02:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980523008001,"power":27267,"unknown_15":206,"unknown_83":41472,"ignition":47,"odometer":null,"unknown_44":-1121255539336456192}} 
[2026-09-10 02:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":177363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:11:14] local.INFO: GPS data processed {"connection_id":177363,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:11:14] local.INFO: Acknowledgment sent {"connection_id":177363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:11:37] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:11:37] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:11:37] local.INFO: IMEI packet received {"connection_id":176186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":176186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:11:42] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:11:42] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:11:42] local.INFO: IMEI packet received {"connection_id":176186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:11:43] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e68678012cf0458007136e200022011e28..."} 
[2026-09-10 02:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e68678012cf0458007136e200022011e28..."} 
[2026-09-10 02:11:43] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e68678012cf0458007136e200022011e28..."} 
[2026-09-10 02:11:43] local.INFO: Packet analysis {"connection_id":176186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e6"} 
[2026-09-10 02:11:43] local.INFO: Extracted packet for processing {"connection_id":176186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e6"} 
[2026-09-10 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":753943936,"raw_latitude":118713888,"longitude_deg":75.3943936,"latitude_deg":11.8713888,"altitude":34,"angle":286,"satellites":40,"speed":47,"hex_longitude":"2cf04580","hex_latitude":"07136e20","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980523776001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403570752223182848,"note":"Value kept but may cause issues"} 
[2026-09-10 02:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1125125820266264576,"note":"Value kept but may cause issues"} 
[2026-09-10 02:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986427000,"timestamp_ms":1788986427000,"timestamp_seconds":1788986427,"priority":1,"record_length":96,"hex_timestamp":"000001a087e68678"} 
[2026-09-10 02:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02: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-09-10 02:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980523776001,"66":27213,"15":206,"83":41472,"24":47,"16":403570752223182848,"44":-1125125820266264576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-10 02:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980523776001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:11:43] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-10 02:11:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403570752223182848,"km_value":403570752223182.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1125125820266264576,"description":"Unknown IO ID 44"} 
[2026-09-10 02:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980523776001,"power":27213,"unknown_15":206,"unknown_83":41472,"ignition":47,"odometer":null,"unknown_44":-1125125820266264576}} 
[2026-09-10 02:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":176186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:11:43] local.INFO: GPS data processed {"connection_id":176186,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:11:43] local.INFO: Acknowledgment sent {"connection_id":176186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:12:15] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e6a5b8012cf02980071378e8001f012a29..."} 
[2026-09-10 02:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e6a5b8012cf02980071378e8001f012a29..."} 
[2026-09-10 02:12:15] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e6a5b8012cf02980071378e8001f012a29..."} 
[2026-09-10 02:12:15] local.INFO: Packet analysis {"connection_id":176186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e6"} 
[2026-09-10 02:12:15] local.INFO: Extracted packet for processing {"connection_id":176186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e6"} 
[2026-09-10 02:12:15] local.INFO: GPS Element Parsed {"raw_longitude":753936768,"raw_latitude":118716648,"longitude_deg":75.3936768,"latitude_deg":11.8716648,"altitude":31,"angle":298,"satellites":41,"speed":40,"hex_longitude":"2cf02980","hex_latitude":"071378e8","is_valid_coordinates":true} 
[2026-09-10 02:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980525312001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403571117295403008,"note":"Value kept but may cause issues"} 
[2026-09-10 02:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1133358963334701056,"note":"Value kept but may cause issues"} 
[2026-09-10 02:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788986435000,"timestamp_ms":1788986435000,"timestamp_seconds":1788986435,"priority":1,"record_length":96,"hex_timestamp":"000001a087e6a5b8"} 
[2026-09-10 02:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980525312001,"66":27332,"15":206,"83":41472,"24":40,"16":403571117295403008,"44":-1133358963334701056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-10 02:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980525312001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:12:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-10 02:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 02:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403571117295403008,"km_value":403571117295403.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1133358963334701056,"description":"Unknown IO ID 44"} 
[2026-09-10 02:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980525312001,"power":27332,"unknown_15":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-1133358963334701056}} 
[2026-09-10 02:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":176186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:12:15] local.INFO: GPS data processed {"connection_id":176186,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:12:15] local.INFO: Acknowledgment sent {"connection_id":176186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:12:37] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:37] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:37] local.INFO: IMEI packet received {"connection_id":176187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":176187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:12:37] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:37] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:37] local.INFO: IMEI packet received {"connection_id":176187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":176187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:12:42] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:42] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:12:42] local.INFO: IMEI packet received {"connection_id":176187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":176187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:12:43] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e79bd0012ceefc800713dca0002101152a..."} 
[2026-09-10 02:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e79bd0012ceefc800713dca0002101152a..."} 
[2026-09-10 02:12:43] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e79bd0012ceefc800713dca0002101152a..."} 
[2026-09-10 02:12:43] local.INFO: Packet analysis {"connection_id":176187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:12:43] local.INFO: Extracted packet for processing {"connection_id":176187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:12:43] local.INFO: GPS Element Parsed {"raw_longitude":753859712,"raw_latitude":118742176,"longitude_deg":75.3859712,"latitude_deg":11.8742176,"altitude":33,"angle":277,"satellites":42,"speed":52,"hex_longitude":"2ceefc80","hex_latitude":"0713dca0","is_valid_coordinates":true} 
[2026-09-10 02:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980541696001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403575090140151808,"note":"Value kept but may cause issues"} 
[2026-09-10 02:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1214916337829679104,"note":"Value kept but may cause issues"} 
[2026-09-10 02:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986498000,"timestamp_ms":1788986498000,"timestamp_seconds":1788986498,"priority":1,"record_length":96,"hex_timestamp":"000001a087e79bd0"} 
[2026-09-10 02:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:12:43] 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-09-10 02:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980541696001,"66":27213,"38":206,"83":41216,"24":52,"16":403575090140151808,"44":-1214916337829679104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-10 02:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980541696001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:12:43] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-10 02:12:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403575090140151808,"km_value":403575090140151.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1214916337829679104,"description":"Unknown IO ID 44"} 
[2026-09-10 02:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980541696001,"power":27213,"unknown_38":206,"unknown_83":41216,"ignition":52,"odometer":null,"unknown_44":-1214916337829679104}} 
[2026-09-10 02:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":176187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:12:43] local.INFO: GPS data processed {"connection_id":176187,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:12:43] local.INFO: Acknowledgment sent {"connection_id":176187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:13:14] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e7b728012ceed8400713e1200022011229..."} 
[2026-09-10 02:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e7b728012ceed8400713e1200022011229..."} 
[2026-09-10 02:13:14] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e7b728012ceed8400713e1200022011229..."} 
[2026-09-10 02:13:14] local.INFO: Packet analysis {"connection_id":176187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:13:14] local.INFO: Extracted packet for processing {"connection_id":176187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:13:14] local.INFO: GPS Element Parsed {"raw_longitude":753850432,"raw_latitude":118743328,"longitude_deg":75.3850432,"latitude_deg":11.8743328,"altitude":34,"angle":274,"satellites":41,"speed":52,"hex_longitude":"2ceed840","hex_latitude":"0713e120","is_valid_coordinates":true} 
[2026-09-10 02:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980543488001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403575536816750592,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1225964230665265152,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986505000,"timestamp_ms":1788986505000,"timestamp_seconds":1788986505,"priority":1,"record_length":96,"hex_timestamp":"000001a087e7b728"} 
[2026-09-10 02:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980543488001,"66":27267,"38":206,"83":41216,"24":52,"16":403575536816750592,"44":-1225964230665265152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-10 02:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980543488001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:13:14] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-10 02:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403575536816750592,"km_value":403575536816750.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:13:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1225964230665265152,"description":"Unknown IO ID 44"} 
[2026-09-10 02:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980543488001,"power":27267,"unknown_38":206,"unknown_83":41216,"ignition":52,"odometer":null,"unknown_44":-1225964230665265152}} 
[2026-09-10 02:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":176187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:13:14] local.INFO: GPS data processed {"connection_id":176187,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:13:14] local.INFO: Acknowledgment sent {"connection_id":176187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:13:42] local.INFO: TCP Data received {"connection_id":177364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:13:42] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:13:42] local.INFO: IMEI packet received {"connection_id":177364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":177364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:13:47] local.INFO: TCP Data received {"connection_id":177364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:13:47] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:13:47] local.INFO: IMEI packet received {"connection_id":177364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":177364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:13:48] local.INFO: TCP Data received {"connection_id":177364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e7d280012ceeb2800713e0f00020010827..."} 
[2026-09-10 02:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e7d280012ceeb2800713e0f00020010827..."} 
[2026-09-10 02:13:48] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e7d280012ceeb2800713e0f00020010827..."} 
[2026-09-10 02:13:48] local.INFO: Packet analysis {"connection_id":177364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:13:48] local.INFO: Extracted packet for processing {"connection_id":177364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:13:48] local.INFO: GPS Element Parsed {"raw_longitude":753840768,"raw_latitude":118743280,"longitude_deg":75.3840768,"latitude_deg":11.874328,"altitude":32,"angle":264,"satellites":39,"speed":53,"hex_longitude":"2ceeb280","hex_latitude":"0713e0f0","is_valid_coordinates":true} 
[2026-09-10 02:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980545280001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403575992083283968,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1236167698570731520,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788986512000,"timestamp_ms":1788986512000,"timestamp_seconds":1788986512,"priority":1,"record_length":96,"hex_timestamp":"000001a087e7d280"} 
[2026-09-10 02:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980545280001,"66":27223,"194":206,"83":41216,"24":53,"16":403575992083283968,"44":-1236167698570731520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-09-10 02:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980545280001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:13:48] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-10 02:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403575992083283968,"km_value":403575992083283.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1236167698570731520,"description":"Unknown IO ID 44"} 
[2026-09-10 02:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980545280001,"power":27223,"unknown_194":206,"unknown_83":41216,"ignition":53,"odometer":null,"unknown_44":-1236167698570731520}} 
[2026-09-10 02:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":177364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:13:48] local.INFO: GPS data processed {"connection_id":177364,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:13:48] local.INFO: Acknowledgment sent {"connection_id":177364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:13:49] local.INFO: TCP Data received {"connection_id":177364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e7edd8012cee8e400713daf0001f010429..."} 
[2026-09-10 02:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e7edd8012cee8e400713daf0001f010429..."} 
[2026-09-10 02:13:49] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e7edd8012cee8e400713daf0001f010429..."} 
[2026-09-10 02:13:49] local.INFO: Packet analysis {"connection_id":177364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:13:49] local.INFO: Extracted packet for processing {"connection_id":177364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e7"} 
[2026-09-10 02:13:49] local.INFO: GPS Element Parsed {"raw_longitude":753831488,"raw_latitude":118741744,"longitude_deg":75.3831488,"latitude_deg":11.8741744,"altitude":31,"angle":260,"satellites":41,"speed":52,"hex_longitude":"2cee8e40","hex_latitude":"0713daf0","is_valid_coordinates":true} 
[2026-09-10 02:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980547072001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403576443054850048,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1246793378941571072,"note":"Value kept but may cause issues"} 
[2026-09-10 02:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788986519000,"timestamp_ms":1788986519000,"timestamp_seconds":1788986519,"priority":1,"record_length":96,"hex_timestamp":"000001a087e7edd8"} 
[2026-09-10 02:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-10 02:13:49] 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-09-10 02:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980547072001,"66":27234,"194":206,"83":41216,"24":52,"16":403576443054850048,"44":-1246793378941571072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-09-10 02:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980547072001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:13:49] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-10 02:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403576443054850048,"km_value":403576443054850.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1246793378941571072,"description":"Unknown IO ID 44"} 
[2026-09-10 02:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980547072001,"power":27234,"unknown_194":206,"unknown_83":41216,"ignition":52,"odometer":null,"unknown_44":-1246793378941571072}} 
[2026-09-10 02:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":177364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:13:49] local.INFO: GPS data processed {"connection_id":177364,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:13:49] local.INFO: Acknowledgment sent {"connection_id":177364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:14:20] local.INFO: TCP Data received {"connection_id":177364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e97478012ced134007142650001601602b..."} 
[2026-09-10 02:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e97478012ced134007142650001601602b..."} 
[2026-09-10 02:14:20] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e97478012ced134007142650001601602b..."} 
[2026-09-10 02:14:20] local.INFO: Packet analysis {"connection_id":177364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:14:20] local.INFO: Extracted packet for processing {"connection_id":177364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:14:20] local.INFO: GPS Element Parsed {"raw_longitude":753734464,"raw_latitude":118761040,"longitude_deg":75.3734464,"latitude_deg":11.876104,"altitude":22,"angle":352,"satellites":43,"speed":16,"hex_longitude":"2ced1340","hex_latitude":"07142650","is_valid_coordinates":true} 
[2026-09-10 02:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980574208001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403581395152142336,"note":"Value kept but may cause issues"} 
[2026-09-10 02:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363535125527873536,"note":"Value kept but may cause issues"} 
[2026-09-10 02:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788986619000,"timestamp_ms":1788986619000,"timestamp_seconds":1788986619,"priority":1,"record_length":96,"hex_timestamp":"000001a087e97478"} 
[2026-09-10 02:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:14:20] 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-09-10 02:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980574208001,"66":27234,"27":206,"83":41216,"24":16,"16":403581395152142336,"44":-1363535125527873536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-10 02:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980574208001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:14:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 02:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403581395152142336,"km_value":403581395152142.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363535125527873536,"description":"Unknown IO ID 44"} 
[2026-09-10 02:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980574208001,"power":27234,"unknown_27":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1363535125527873536}} 
[2026-09-10 02:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":177364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:14:20] local.INFO: GPS data processed {"connection_id":177364,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:14:20] local.INFO: Acknowledgment sent {"connection_id":177364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:14:37] local.INFO: TCP Data received {"connection_id":178743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:14:37] local.INFO: Processing buffer {"connection_id":178743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:14:37] local.INFO: IMEI packet received {"connection_id":178743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":178743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:14:41] local.INFO: TCP Data received {"connection_id":178743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:14:41] local.INFO: Processing buffer {"connection_id":178743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:14:41] local.INFO: IMEI packet received {"connection_id":178743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":178743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:14:41] local.INFO: TCP Data received {"connection_id":178743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e97860012ced1340071427f8001600072c..."} 
[2026-09-10 02:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e97860012ced1340071427f8001600072c..."} 
[2026-09-10 02:14:41] local.INFO: Processing buffer {"connection_id":178743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e97860012ced1340071427f8001600072c..."} 
[2026-09-10 02:14:41] local.INFO: Packet analysis {"connection_id":178743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:14:41] local.INFO: Extracted packet for processing {"connection_id":178743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:14:41] local.INFO: GPS Element Parsed {"raw_longitude":753734464,"raw_latitude":118761464,"longitude_deg":75.3734464,"latitude_deg":11.8761464,"altitude":22,"angle":7,"satellites":44,"speed":16,"hex_longitude":"2ced1340","hex_latitude":"071427f8","is_valid_coordinates":true} 
[2026-09-10 02:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980574464001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403581416626978816,"note":"Value kept but may cause issues"} 
[2026-09-10 02:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363675863016124416,"note":"Value kept but may cause issues"} 
[2026-09-10 02:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788986620000,"timestamp_ms":1788986620000,"timestamp_seconds":1788986620,"priority":1,"record_length":96,"hex_timestamp":"000001a087e97860"} 
[2026-09-10 02:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:14: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-09-10 02:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980574464001,"66":27310,"27":206,"83":41216,"24":16,"16":403581416626978816,"44":-1363675863016124416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-10 02:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980574464001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:14:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 02:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403581416626978816,"km_value":403581416626978.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363675863016124416,"description":"Unknown IO ID 44"} 
[2026-09-10 02:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980574464001,"power":27310,"unknown_27":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1363675863016124416}} 
[2026-09-10 02:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":178743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:14:41] local.INFO: GPS data processed {"connection_id":178743,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:14:41] local.INFO: Acknowledgment sent {"connection_id":178743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:15:13] local.INFO: TCP Data received {"connection_id":178743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e97c48012ced13c007142978001600192c..."} 
[2026-09-10 02:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e97c48012ced13c007142978001600192c..."} 
[2026-09-10 02:15:13] local.INFO: Processing buffer {"connection_id":178743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e97c48012ced13c007142978001600192c..."} 
[2026-09-10 02:15:13] local.INFO: Packet analysis {"connection_id":178743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:15:13] local.INFO: Extracted packet for processing {"connection_id":178743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753734592,"raw_latitude":118761848,"longitude_deg":75.3734592,"latitude_deg":11.8761848,"altitude":22,"angle":25,"satellites":44,"speed":15,"hex_longitude":"2ced13c0","hex_latitude":"07142978","is_valid_coordinates":true} 
[2026-09-10 02:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980574720001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403581433806848000,"note":"Value kept but may cause issues"} 
[2026-09-10 02:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363675863016015872,"note":"Value kept but may cause issues"} 
[2026-09-10 02:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788986621000,"timestamp_ms":1788986621000,"timestamp_seconds":1788986621,"priority":1,"record_length":96,"hex_timestamp":"000001a087e97c48"} 
[2026-09-10 02:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:15: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-09-10 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 02:15:13] 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-09-10 02:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980574720001,"66":27310,"27":206,"83":41216,"24":15,"16":403581433806848000,"44":-1363675863016015872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-10 02:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980574720001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:15:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 02:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403581433806848000,"km_value":403581433806848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363675863016015872,"description":"Unknown IO ID 44"} 
[2026-09-10 02:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980574720001,"power":27310,"unknown_27":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1363675863016015872}} 
[2026-09-10 02:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":178743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:15:13] local.INFO: GPS data processed {"connection_id":178743,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:15:13] local.INFO: Acknowledgment sent {"connection_id":178743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:15:36] local.INFO: TCP Data received {"connection_id":177365,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:36] local.INFO: Processing buffer {"connection_id":177365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:36] local.INFO: IMEI packet received {"connection_id":177365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":177365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:15:37] local.INFO: TCP Data received {"connection_id":177365,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:37] local.INFO: Processing buffer {"connection_id":177365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:37] local.INFO: IMEI packet received {"connection_id":177365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":177365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:15:42] local.INFO: TCP Data received {"connection_id":177365,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:42] local.INFO: Processing buffer {"connection_id":177365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:15:42] local.INFO: IMEI packet received {"connection_id":177365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":177365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:15:43] local.INFO: TCP Data received {"connection_id":177365,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087e98030012ced14c007142ad8001600262c..."} 
[2026-09-10 02:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087e98030012ced14c007142ad8001600262c..."} 
[2026-09-10 02:15:43] local.INFO: Processing buffer {"connection_id":177365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087e98030012ced14c007142ad8001600262c..."} 
[2026-09-10 02:15:43] local.INFO: Packet analysis {"connection_id":177365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:15:43] local.INFO: Extracted packet for processing {"connection_id":177365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087e9"} 
[2026-09-10 02:15:43] local.INFO: GPS Element Parsed {"raw_longitude":753734848,"raw_latitude":118762200,"longitude_deg":75.3734848,"latitude_deg":11.87622,"altitude":22,"angle":38,"satellites":44,"speed":17,"hex_longitude":"2ced14c0","hex_latitude":"07142ad8","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980574976001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403581455281684480,"note":"Value kept but may cause issues"} 
[2026-09-10 02:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363535125527562240,"note":"Value kept but may cause issues"} 
[2026-09-10 02:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986622000,"timestamp_ms":1788986622000,"timestamp_seconds":1788986622,"priority":1,"record_length":96,"hex_timestamp":"000001a087e98030"} 
[2026-09-10 02:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:15: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-09-10 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 02:15:43] 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-09-10 02: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-09-10 02:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980574976001,"66":27332,"27":206,"83":41216,"24":17,"16":403581455281684480,"44":-1363535125527562240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-10 02:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980574976001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:15:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 02:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403581455281684480,"km_value":403581455281684.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363535125527562240,"description":"Unknown IO ID 44"} 
[2026-09-10 02:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980574976001,"power":27332,"unknown_27":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1363535125527562240}} 
[2026-09-10 02:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":177365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:15:43] local.INFO: GPS data processed {"connection_id":177365,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:15:43] local.INFO: Acknowledgment sent {"connection_id":177365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:16:14] local.INFO: TCP Data received {"connection_id":177365,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eac850012ced094007155bf0001301502a..."} 
[2026-09-10 02:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eac850012ced094007155bf0001301502a..."} 
[2026-09-10 02:16:14] local.INFO: Processing buffer {"connection_id":177365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eac850012ced094007155bf0001301502a..."} 
[2026-09-10 02:16:14] local.INFO: Packet analysis {"connection_id":177365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ea"} 
[2026-09-10 02:16:14] local.INFO: Extracted packet for processing {"connection_id":177365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ea"} 
[2026-09-10 02:16:14] local.INFO: GPS Element Parsed {"raw_longitude":753731904,"raw_latitude":118840304,"longitude_deg":75.3731904,"latitude_deg":11.8840304,"altitude":19,"angle":336,"satellites":42,"speed":40,"hex_longitude":"2ced0940","hex_latitude":"07155bf0","is_valid_coordinates":true} 
[2026-09-10 02:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980594688001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403585458191204352,"note":"Value kept but may cause issues"} 
[2026-09-10 02:16:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1362901806812024832,"note":"Value kept but may cause issues"} 
[2026-09-10 02:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986706000,"timestamp_ms":1788986706000,"timestamp_seconds":1788986706,"priority":1,"record_length":96,"hex_timestamp":"000001a087eac850"} 
[2026-09-10 02:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:16:14] 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-09-10 02:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980594688001,"66":27365,"253":206,"83":41216,"24":40,"16":403585458191204352,"44":-1362901806812024832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,83,24,16,44]} 
[2026-09-10 02:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980594688001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:16:14] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-10 02:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403585458191204352,"km_value":403585458191204.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:16:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1362901806812024832,"description":"Unknown IO ID 44"} 
[2026-09-10 02:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980594688001,"power":27365,"unknown_253":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1362901806812024832}} 
[2026-09-10 02:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":177365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:16:14] local.INFO: GPS data processed {"connection_id":177365,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:16:14] local.INFO: Acknowledgment sent {"connection_id":177365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:16:38] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:16:38] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:16:38] local.INFO: IMEI packet received {"connection_id":175959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":175959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:16:42] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:16:42] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:16:42] local.INFO: IMEI packet received {"connection_id":175959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":175959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:16:43] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eaff00012cecf90007157d20001201482d..."} 
[2026-09-10 02:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eaff00012cecf90007157d20001201482d..."} 
[2026-09-10 02:16:43] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eaff00012cecf90007157d20001201482d..."} 
[2026-09-10 02:16:43] local.INFO: Packet analysis {"connection_id":175959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ea"} 
[2026-09-10 02:16:43] local.INFO: Extracted packet for processing {"connection_id":175959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ea"} 
[2026-09-10 02:16:43] local.INFO: GPS Element Parsed {"raw_longitude":753727744,"raw_latitude":118848800,"longitude_deg":75.3727744,"latitude_deg":11.88488,"altitude":18,"angle":328,"satellites":45,"speed":28,"hex_longitude":"2cecf900","hex_latitude":"07157d20","is_valid_coordinates":true} 
[2026-09-10 02:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980596736001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403585917752705024,"note":"Value kept but may cause issues"} 
[2026-09-10 02:16:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1366490612762939392,"note":"Value kept but may cause issues"} 
[2026-09-10 02:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986720000,"timestamp_ms":1788986720000,"timestamp_seconds":1788986720,"priority":1,"record_length":96,"hex_timestamp":"000001a087eaff00"} 
[2026-09-10 02:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 02:16:43] 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-09-10 02:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980596736001,"66":27321,"192":206,"83":41216,"24":28,"16":403585917752705024,"44":-1366490612762939392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 02:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980596736001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:16:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 02:16:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403585917752705024,"km_value":403585917752705.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:16:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1366490612762939392,"description":"Unknown IO ID 44"} 
[2026-09-10 02:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980596736001,"power":27321,"unknown_192":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1366490612762939392}} 
[2026-09-10 02:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":175959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:16:43] local.INFO: GPS data processed {"connection_id":175959,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:16:43] local.INFO: Acknowledgment sent {"connection_id":175959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:17:13] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eb2de0012cece5c007159d100012014f28..."} 
[2026-09-10 02:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eb2de0012cece5c007159d100012014f28..."} 
[2026-09-10 02:17:13] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eb2de0012cece5c007159d100012014f28..."} 
[2026-09-10 02:17:13] local.INFO: Packet analysis {"connection_id":175959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087eb"} 
[2026-09-10 02:17:13] local.INFO: Extracted packet for processing {"connection_id":175959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087eb"} 
[2026-09-10 02:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753722816,"raw_latitude":118856976,"longitude_deg":75.3722816,"latitude_deg":11.8856976,"altitude":18,"angle":335,"satellites":40,"speed":27,"hex_longitude":"2cece5c0","hex_latitude":"07159d10","is_valid_coordinates":true} 
[2026-09-10 02:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980600320001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403586377314205696,"note":"Value kept but may cause issues"} 
[2026-09-10 02:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1371064581132312576,"note":"Value kept but may cause issues"} 
[2026-09-10 02:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788986732000,"timestamp_ms":1788986732000,"timestamp_seconds":1788986732,"priority":1,"record_length":96,"hex_timestamp":"000001a087eb2de0"} 
[2026-09-10 02:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:17: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-09-10 02:17:13] local.INFO: IO Element 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-09-10 02:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980600320001,"66":27267,"192":206,"83":41216,"24":27,"16":403586377314205696,"44":-1371064581132312576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 02:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980600320001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:17:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 02:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403586377314205696,"km_value":403586377314205.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1371064581132312576,"description":"Unknown IO ID 44"} 
[2026-09-10 02:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980600320001,"power":27267,"unknown_192":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1371064581132312576}} 
[2026-09-10 02:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":175959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:17:13] local.INFO: GPS data processed {"connection_id":175959,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:17:13] local.INFO: Acknowledgment sent {"connection_id":175959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:17:37] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:17:37] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:17:37] local.INFO: IMEI packet received {"connection_id":175960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":175960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:17:42] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:17:42] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:17:42] local.INFO: IMEI packet received {"connection_id":175960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":175960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:17:43] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eb7048012cecd7800715bd100012015429..."} 
[2026-09-10 02:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eb7048012cecd7800715bd100012015429..."} 
[2026-09-10 02:17:43] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eb7048012cecd7800715bd100012015429..."} 
[2026-09-10 02:17:43] local.INFO: Packet analysis {"connection_id":175960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087eb"} 
[2026-09-10 02:17:43] local.INFO: Extracted packet for processing {"connection_id":175960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087eb"} 
[2026-09-10 02:17:43] local.INFO: GPS Element Parsed {"raw_longitude":753719168,"raw_latitude":118865168,"longitude_deg":75.3719168,"latitude_deg":11.8865168,"altitude":18,"angle":340,"satellites":41,"speed":11,"hex_longitude":"2cecd780","hex_latitude":"0715bd10","is_valid_coordinates":true} 
[2026-09-10 02:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980603392001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403586811105902592,"note":"Value kept but may cause issues"} 
[2026-09-10 02:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1376482974431899648,"note":"Value kept but may cause issues"} 
[2026-09-10 02:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986749000,"timestamp_ms":1788986749000,"timestamp_seconds":1788986749,"priority":1,"record_length":96,"hex_timestamp":"000001a087eb7048"} 
[2026-09-10 02:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980603392001,"66":27343,"192":206,"83":41216,"24":11,"16":403586811105902592,"44":-1376482974431899648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 02:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980603392001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:17:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 02:17:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403586811105902592,"km_value":403586811105902.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1376482974431899648,"description":"Unknown IO ID 44"} 
[2026-09-10 02:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980603392001,"power":27343,"unknown_192":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1376482974431899648}} 
[2026-09-10 02:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":175960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:17:43] local.INFO: GPS data processed {"connection_id":175960,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:17:43] local.INFO: Acknowledgment sent {"connection_id":175960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:18:14] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ebb698012cecc8000715df300013014c2d..."} 
[2026-09-10 02:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ebb698012cecc8000715df300013014c2d..."} 
[2026-09-10 02:18:14] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ebb698012cecc8000715df300013014c2d..."} 
[2026-09-10 02:18:14] local.INFO: Packet analysis {"connection_id":175960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087eb"} 
[2026-09-10 02:18:14] local.INFO: Extracted packet for processing {"connection_id":175960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087eb"} 
[2026-09-10 02:18:14] local.INFO: GPS Element Parsed {"raw_longitude":753715200,"raw_latitude":118873904,"longitude_deg":75.37152,"latitude_deg":11.8873904,"altitude":19,"angle":332,"satellites":45,"speed":32,"hex_longitude":"2cecc800","hex_latitude":"0715df30","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980607744001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403587274962370560,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1380493992847929344,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986767000,"timestamp_ms":1788986767000,"timestamp_seconds":1788986767,"priority":1,"record_length":96,"hex_timestamp":"000001a087ebb698"} 
[2026-09-10 02:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 02:18:14] 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-09-10 02: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-09-10 02:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980607744001,"66":27267,"192":206,"83":41216,"24":32,"16":403587274962370560,"44":-1380493992847929344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 02:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980607744001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:18:14] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 02:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403587274962370560,"km_value":403587274962370.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1380493992847929344,"description":"Unknown IO ID 44"} 
[2026-09-10 02:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980607744001,"power":27267,"unknown_192":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1380493992847929344}} 
[2026-09-10 02:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":175960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:18:14] local.INFO: GPS data processed {"connection_id":175960,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:18:14] local.INFO: Acknowledgment sent {"connection_id":175960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:18:37] local.INFO: TCP Data received {"connection_id":178744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:37] local.INFO: Processing buffer {"connection_id":178744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:37] local.INFO: IMEI packet received {"connection_id":178744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":178744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:18:41] local.INFO: TCP Data received {"connection_id":178744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:41] local.INFO: Processing buffer {"connection_id":178744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:41] local.INFO: IMEI packet received {"connection_id":178744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":178744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:18:50] local.INFO: TCP Data received {"connection_id":178744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:50] local.INFO: Processing buffer {"connection_id":178744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:18:50] local.INFO: IMEI packet received {"connection_id":178744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":178744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:18:52] local.INFO: TCP Data received {"connection_id":178744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ecf300012cec43c007171210002500032c..."} 
[2026-09-10 02:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ecf300012cec43c007171210002500032c..."} 
[2026-09-10 02:18:52] local.INFO: Processing buffer {"connection_id":178744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ecf300012cec43c007171210002500032c..."} 
[2026-09-10 02:18:52] local.INFO: Packet analysis {"connection_id":178744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ec"} 
[2026-09-10 02:18:52] local.INFO: Extracted packet for processing {"connection_id":178744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ec"} 
[2026-09-10 02:18:52] local.INFO: GPS Element Parsed {"raw_longitude":753681344,"raw_latitude":118952464,"longitude_deg":75.3681344,"latitude_deg":11.8952464,"altitude":37,"angle":3,"satellites":44,"speed":34,"hex_longitude":"2cec43c0","hex_latitude":"07171210","is_valid_coordinates":true} 
[2026-09-10 02:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980631040001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403591466850451456,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421730076915359744,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788986848000,"timestamp_ms":1788986848000,"timestamp_seconds":1788986848,"priority":1,"record_length":96,"hex_timestamp":"000001a087ecf300"} 
[2026-09-10 02:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:18:52] 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-09-10 02:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980631040001,"66":27267,"65":206,"83":41216,"24":34,"16":403591466850451456,"44":-1421730076915359744},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-10 02:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980631040001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:18:52] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 02:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403591466850451456,"km_value":403591466850451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421730076915359744,"description":"Unknown IO ID 44"} 
[2026-09-10 02:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980631040001,"power":27267,"unknown_65":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1421730076915359744}} 
[2026-09-10 02:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":178744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:18:52] local.INFO: GPS data processed {"connection_id":178744,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:18:52] local.INFO: Acknowledgment sent {"connection_id":178744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:18:53] local.INFO: TCP Data received {"connection_id":178744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ed1a10012cec4680071735900025000429..."} 
[2026-09-10 02:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ed1a10012cec4680071735900025000429..."} 
[2026-09-10 02:18:53] local.INFO: Processing buffer {"connection_id":178744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ed1a10012cec4680071735900025000429..."} 
[2026-09-10 02:18:53] local.INFO: Packet analysis {"connection_id":178744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ed"} 
[2026-09-10 02:18:53] local.INFO: Extracted packet for processing {"connection_id":178744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ed"} 
[2026-09-10 02:18:53] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":118961552,"longitude_deg":75.3682048,"latitude_deg":11.8961552,"altitude":37,"angle":4,"satellites":41,"speed":38,"hex_longitude":"2cec4680","hex_latitude":"07173590","is_valid_coordinates":true} 
[2026-09-10 02:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980633088001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403591909232082944,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1422081920634580992,"note":"Value kept but may cause issues"} 
[2026-09-10 02:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788986858000,"timestamp_ms":1788986858000,"timestamp_seconds":1788986858,"priority":1,"record_length":96,"hex_timestamp":"000001a087ed1a10"} 
[2026-09-10 02:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:18: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-09-10 02:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980633088001,"66":27234,"65":206,"83":41216,"24":38,"16":403591909232082944,"44":-1422081920634580992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-10 02:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980633088001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:18:53] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 02:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403591909232082944,"km_value":403591909232082.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:18:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1422081920634580992,"description":"Unknown IO ID 44"} 
[2026-09-10 02:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980633088001,"power":27234,"unknown_65":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1422081920634580992}} 
[2026-09-10 02:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":178744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:18:53] local.INFO: GPS data processed {"connection_id":178744,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:18:53] local.INFO: Acknowledgment sent {"connection_id":178744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:19:37] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:37] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:37] local.INFO: IMEI packet received {"connection_id":176188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":176188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:19:37] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:37] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:37] local.INFO: IMEI packet received {"connection_id":176188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":176188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:19:42] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:42] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:19:42] local.INFO: IMEI packet received {"connection_id":176188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":176188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:19:43] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087ed3d38012cec49c007175b200023000526..."} 
[2026-09-10 02:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087ed3d38012cec49c007175b200023000526..."} 
[2026-09-10 02:19:43] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087ed3d38012cec49c007175b200023000526..."} 
[2026-09-10 02:19:43] local.INFO: Packet analysis {"connection_id":176188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ed"} 
[2026-09-10 02:19:43] local.INFO: Extracted packet for processing {"connection_id":176188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ed"} 
[2026-09-10 02:19:43] local.INFO: GPS Element Parsed {"raw_longitude":753682880,"raw_latitude":118971168,"longitude_deg":75.368288,"latitude_deg":11.8971168,"altitude":35,"angle":5,"satellites":38,"speed":46,"hex_longitude":"2cec49c0","hex_latitude":"07175b20","is_valid_coordinates":true} 
[2026-09-10 02:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980635648001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403592377383518208,"note":"Value kept but may cause issues"} 
[2026-09-10 02:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421307864446300160,"note":"Value kept but may cause issues"} 
[2026-09-10 02:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788986867000,"timestamp_ms":1788986867000,"timestamp_seconds":1788986867,"priority":1,"record_length":96,"hex_timestamp":"000001a087ed3d38"} 
[2026-09-10 02:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:19:43] 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-09-10 02:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980635648001,"66":27213,"116":206,"83":41216,"24":46,"16":403592377383518208,"44":-1421307864446300160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-10 02:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980635648001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403592377383518208,"km_value":403592377383518.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421307864446300160,"description":"Unknown IO ID 44"} 
[2026-09-10 02:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980635648001,"power":27213,"unknown_116":206,"unknown_83":41216,"ignition":46,"odometer":null,"unknown_44":-1421307864446300160}} 
[2026-09-10 02:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":176188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:19:43] local.INFO: GPS data processed {"connection_id":176188,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:19:43] local.INFO: Acknowledgment sent {"connection_id":176188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:20:14] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eedb48012cec040007192928001c013128..."} 
[2026-09-10 02:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eedb48012cec040007192928001c013128..."} 
[2026-09-10 02:20:14] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eedb48012cec040007192928001c013128..."} 
[2026-09-10 02:20:14] local.INFO: Packet analysis {"connection_id":176188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:20:14] local.INFO: Extracted packet for processing {"connection_id":176188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:20:14] local.INFO: GPS Element Parsed {"raw_longitude":753665024,"raw_latitude":119089448,"longitude_deg":75.3665024,"latitude_deg":11.9089448,"altitude":28,"angle":305,"satellites":40,"speed":39,"hex_longitude":"2cec0400","hex_latitude":"07192928","is_valid_coordinates":true} 
[2026-09-10 02:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980663040001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403598549251522560,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1433059444692858880,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788986973000,"timestamp_ms":1788986973000,"timestamp_seconds":1788986973,"priority":1,"record_length":96,"hex_timestamp":"000001a087eedb48"} 
[2026-09-10 02:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 02:20:14] 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-09-10 02:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980663040001,"66":27213,"137":206,"83":41216,"24":39,"16":403598549251522560,"44":-1433059444692858880},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 02:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980663040001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:20:14] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 02:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403598549251522560,"km_value":403598549251522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1433059444692858880,"description":"Unknown IO ID 44"} 
[2026-09-10 02:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980663040001,"power":27213,"unknown_137":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1433059444692858880}} 
[2026-09-10 02:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":176188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:20:14] local.INFO: GPS data processed {"connection_id":176188,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:20:14] local.INFO: Acknowledgment sent {"connection_id":176188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:20:42] local.INFO: TCP Data received {"connection_id":177366,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:42] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:42] local.INFO: IMEI packet received {"connection_id":177366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":177366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:20:43] local.INFO: TCP Data received {"connection_id":177366,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:43] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:43] local.INFO: IMEI packet received {"connection_id":177366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":177366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:20:47] local.INFO: TCP Data received {"connection_id":177366,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:47] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:20:47] local.INFO: IMEI packet received {"connection_id":177366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":177366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:20:48] local.INFO: TCP Data received {"connection_id":177366,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eedb48012cec040007192928001c013128..."} 
[2026-09-10 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eedb48012cec040007192928001c013128..."} 
[2026-09-10 02:20:48] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eedb48012cec040007192928001c013128..."} 
[2026-09-10 02:20:48] local.INFO: Packet analysis {"connection_id":177366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:20:48] local.INFO: Extracted packet for processing {"connection_id":177366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:20:48] local.INFO: GPS Element Parsed {"raw_longitude":753665024,"raw_latitude":119089448,"longitude_deg":75.3665024,"latitude_deg":11.9089448,"altitude":28,"angle":305,"satellites":40,"speed":39,"hex_longitude":"2cec0400","hex_latitude":"07192928","is_valid_coordinates":true} 
[2026-09-10 02:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980665088001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403598549251522560,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1440025950364817408,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788986973000,"timestamp_ms":1788986973000,"timestamp_seconds":1788986973,"priority":1,"record_length":96,"hex_timestamp":"000001a087eedb48"} 
[2026-09-10 02:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980665088001,"66":27213,"137":206,"83":41216,"24":39,"16":403598549251522560,"44":-1440025950364817408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 02:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980665088001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:20:48] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 02:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403598549251522560,"km_value":403598549251522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:20:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1440025950364817408,"description":"Unknown IO ID 44"} 
[2026-09-10 02:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980665088001,"power":27213,"unknown_137":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1440025950364817408}} 
[2026-09-10 02:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":177366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:20:48] local.INFO: GPS data processed {"connection_id":177366,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:20:48] local.INFO: Acknowledgment sent {"connection_id":177366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:20:52] local.INFO: TCP Data received {"connection_id":177366,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eee318012cebfcc007192c78001b012226..."} 
[2026-09-10 02:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eee318012cebfcc007192c78001b012226..."} 
[2026-09-10 02:20:52] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eee318012cebfcc007192c78001b012226..."} 
[2026-09-10 02:20:52] local.INFO: Packet analysis {"connection_id":177366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:20:52] local.INFO: Extracted packet for processing {"connection_id":177366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:20:52] local.INFO: GPS Element Parsed {"raw_longitude":753663168,"raw_latitude":119090296,"longitude_deg":75.3663168,"latitude_deg":11.9090296,"altitude":27,"angle":290,"satellites":38,"speed":40,"hex_longitude":"2cebfcc0","hex_latitude":"07192c78","is_valid_coordinates":true} 
[2026-09-10 02:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980665088001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403598643740803072,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1440025950364817408,"note":"Value kept but may cause issues"} 
[2026-09-10 02:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788986975000,"timestamp_ms":1788986975000,"timestamp_seconds":1788986975,"priority":1,"record_length":96,"hex_timestamp":"000001a087eee318"} 
[2026-09-10 02:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:20:52] 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-09-10 02:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980665088001,"66":27115,"137":206,"83":41216,"24":40,"16":403598643740803072,"44":-1440025950364817408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 02:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980665088001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:20:52] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 02:20:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403598643740803072,"km_value":403598643740803.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1440025950364817408,"description":"Unknown IO ID 44"} 
[2026-09-10 02:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980665088001,"power":27115,"unknown_137":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1440025950364817408}} 
[2026-09-10 02:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":177366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:20:52] local.INFO: GPS data processed {"connection_id":177366,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:20:52] local.INFO: Acknowledgment sent {"connection_id":177366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:21:37] local.INFO: TCP Data received {"connection_id":178745,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:21:37] local.INFO: Processing buffer {"connection_id":178745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:21:37] local.INFO: IMEI packet received {"connection_id":178745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":178745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:21:42] local.INFO: TCP Data received {"connection_id":178745,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:21:42] local.INFO: Processing buffer {"connection_id":178745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:21:42] local.INFO: IMEI packet received {"connection_id":178745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":178745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:21:45] local.INFO: TCP Data received {"connection_id":178745,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087eef6a0012cebe9c0071934c8001a012f27..."} 
[2026-09-10 02:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087eef6a0012cebe9c0071934c8001a012f27..."} 
[2026-09-10 02:21:45] local.INFO: Processing buffer {"connection_id":178745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087eef6a0012cebe9c0071934c8001a012f27..."} 
[2026-09-10 02:21:45] local.INFO: Packet analysis {"connection_id":178745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:21:45] local.INFO: Extracted packet for processing {"connection_id":178745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087ee"} 
[2026-09-10 02:21:45] local.INFO: GPS Element Parsed {"raw_longitude":753658304,"raw_latitude":119092424,"longitude_deg":75.3658304,"latitude_deg":11.9092424,"altitude":26,"angle":303,"satellites":39,"speed":40,"hex_longitude":"2cebe9c0","hex_latitude":"071934c8","is_valid_coordinates":true} 
[2026-09-10 02:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980665600001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403598897143873536,"note":"Value kept but may cause issues"} 
[2026-09-10 02:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1442066643945752576,"note":"Value kept but may cause issues"} 
[2026-09-10 02:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788986980000,"timestamp_ms":1788986980000,"timestamp_seconds":1788986980,"priority":1,"record_length":96,"hex_timestamp":"000001a087eef6a0"} 
[2026-09-10 02:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 02:21:45] 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-09-10 02:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980665600001,"66":27213,"137":206,"83":41216,"24":40,"16":403598897143873536,"44":-1442066643945752576},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 02:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980665600001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:21:45] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 02:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403598897143873536,"km_value":403598897143873.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:21:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1442066643945752576,"description":"Unknown IO ID 44"} 
[2026-09-10 02:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980665600001,"power":27213,"unknown_137":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1442066643945752576}} 
[2026-09-10 02:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":178745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:21:45] local.INFO: GPS data processed {"connection_id":178745,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:21:45] local.INFO: Acknowledgment sent {"connection_id":178745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:22:17] local.INFO: TCP Data received {"connection_id":178745,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f042a8012ceb1e80071a33800017012328..."} 
[2026-09-10 02:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f042a8012ceb1e80071a33800017012328..."} 
[2026-09-10 02:22:17] local.INFO: Processing buffer {"connection_id":178745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f042a8012ceb1e80071a33800017012328..."} 
[2026-09-10 02:22:17] local.INFO: Packet analysis {"connection_id":178745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f0"} 
[2026-09-10 02:22:17] local.INFO: Extracted packet for processing {"connection_id":178745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f0"} 
[2026-09-10 02:22:17] local.INFO: GPS Element Parsed {"raw_longitude":753606272,"raw_latitude":119157632,"longitude_deg":75.3606272,"latitude_deg":11.9157632,"altitude":23,"angle":291,"satellites":40,"speed":35,"hex_longitude":"2ceb1e80","hex_latitude":"071a3380","is_valid_coordinates":true} 
[2026-09-10 02:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980685824001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403603054672216064,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1494983939551125504,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788987065000,"timestamp_ms":1788987065000,"timestamp_seconds":1788987065,"priority":1,"record_length":96,"hex_timestamp":"000001a087f042a8"} 
[2026-09-10 02:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 02:22:17] 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-09-10 02:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980685824001,"66":27321,"246":206,"83":41216,"24":35,"16":403603054672216064,"44":-1494983939551125504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-09-10 02:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980685824001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403603054672216064,"km_value":403603054672216.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1494983939551125504,"description":"Unknown IO ID 44"} 
[2026-09-10 02:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980685824001,"power":27321,"main_input_voltage":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1494983939551125504}} 
[2026-09-10 02:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":178745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:22:18] local.INFO: GPS data processed {"connection_id":178745,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:22:18] local.INFO: Acknowledgment sent {"connection_id":178745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:22:47] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:22:47] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:22:47] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:22:49] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:22:49] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:22:49] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:22:50] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f069b8012ceafd80071a42180018012528..."} 
[2026-09-10 02:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f069b8012ceafd80071a42180018012528..."} 
[2026-09-10 02:22:50] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f069b8012ceafd80071a42180018012528..."} 
[2026-09-10 02:22:50] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f0"} 
[2026-09-10 02:22:50] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f0"} 
[2026-09-10 02:22:50] local.INFO: GPS Element Parsed {"raw_longitude":753597824,"raw_latitude":119161368,"longitude_deg":75.3597824,"latitude_deg":11.9161368,"altitude":24,"angle":293,"satellites":40,"speed":35,"hex_longitude":"2ceafd80","hex_latitude":"071a4218","is_valid_coordinates":true} 
[2026-09-10 02:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980688640001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403603497053847552,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1504624457502457856,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788987075000,"timestamp_ms":1788987075000,"timestamp_seconds":1788987075,"priority":1,"record_length":96,"hex_timestamp":"000001a087f069b8"} 
[2026-09-10 02:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 02:22:50] 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-09-10 02:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980688640001,"66":27321,"104":206,"83":41216,"24":35,"16":403603497053847552,"44":-1504624457502457856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 02:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980688640001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:22:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 02:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403603497053847552,"km_value":403603497053847.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1504624457502457856,"description":"Unknown IO ID 44"} 
[2026-09-10 02:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980688640001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1504624457502457856}} 
[2026-09-10 02:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:22:50] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:22:50] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:22:53] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f09898012ceadb00071a5190001801242a..."} 
[2026-09-10 02:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f09898012ceadb00071a5190001801242a..."} 
[2026-09-10 02:22:53] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f09898012ceadb00071a5190001801242a..."} 
[2026-09-10 02:22:53] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f0"} 
[2026-09-10 02:22:53] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f0"} 
[2026-09-10 02:22:53] local.INFO: GPS Element Parsed {"raw_longitude":753588992,"raw_latitude":119165328,"longitude_deg":75.3588992,"latitude_deg":11.9165328,"altitude":24,"angle":292,"satellites":42,"speed":31,"hex_longitude":"2ceadb00","hex_latitude":"071a5190","is_valid_coordinates":true} 
[2026-09-10 02:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980691200001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403603952320380928,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1513913131732953088,"note":"Value kept but may cause issues"} 
[2026-09-10 02:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788987087000,"timestamp_ms":1788987087000,"timestamp_seconds":1788987087,"priority":1,"record_length":96,"hex_timestamp":"000001a087f09898"} 
[2026-09-10 02:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:22: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-09-10 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 02:22:53] 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-09-10 02:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980691200001,"66":27267,"104":206,"83":41216,"24":31,"16":403603952320380928,"44":-1513913131732953088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 02:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980691200001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:22:53] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 02:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 02:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403603952320380928,"km_value":403603952320380.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:22:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1513913131732953088,"description":"Unknown IO ID 44"} 
[2026-09-10 02:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980691200001,"power":27267,"unknown_104":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1513913131732953088}} 
[2026-09-10 02:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:22:53] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:22:53] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:30:17] local.INFO: TCP Data received {"connection_id":175964,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:17] local.INFO: Processing buffer {"connection_id":175964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:17] local.INFO: IMEI packet received {"connection_id":175964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":175964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:30:18] local.INFO: TCP Data received {"connection_id":175964,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f6e5e0012cea4c00071f3ce0000600062e..."} 
[2026-09-10 02:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f6e5e0012cea4c00071f3ce0000600062e..."} 
[2026-09-10 02:30:18] local.INFO: Processing buffer {"connection_id":175964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f6e5e0012cea4c00071f3ce0000600062e..."} 
[2026-09-10 02:30:18] local.INFO: Packet analysis {"connection_id":175964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f6"} 
[2026-09-10 02:30:18] local.INFO: Extracted packet for processing {"connection_id":175964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f6"} 
[2026-09-10 02:30:18] local.INFO: GPS Element Parsed {"raw_longitude":753552384,"raw_latitude":119487712,"longitude_deg":75.3552384,"latitude_deg":11.9487712,"altitude":6,"angle":6,"satellites":46,"speed":49,"hex_longitude":"2cea4c00","hex_latitude":"071f3ce0","is_valid_coordinates":true} 
[2026-09-10 02:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980798208001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403622218816290816,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1565282314901383168,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788987500000,"timestamp_ms":1788987500000,"timestamp_seconds":1788987500,"priority":1,"record_length":96,"hex_timestamp":"000001a087f6e5e0"} 
[2026-09-10 02:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:30:18] 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-09-10 02:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980798208001,"66":27245,"184":206,"83":43008,"24":49,"16":403622218816290816,"44":-1565282314901383168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-10 02:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980798208001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:30:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 02:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403622218816290816,"km_value":403622218816290.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:30:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1565282314901383168,"description":"Unknown IO ID 44"} 
[2026-09-10 02:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980798208001,"power":27245,"unknown_184":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1565282314901383168}} 
[2026-09-10 02:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":175964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:30:18] local.INFO: GPS data processed {"connection_id":175964,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:30:18] local.INFO: Acknowledgment sent {"connection_id":175964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:30:39] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:39] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:39] local.INFO: IMEI packet received {"connection_id":175965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":175965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:30:42] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:42] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:42] local.INFO: IMEI packet received {"connection_id":175965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":175965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:30:47] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:47] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:30:47] local.INFO: IMEI packet received {"connection_id":175965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":175965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:30:47] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f70908012cea4fc0071f6120000600002e..."} 
[2026-09-10 02:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f70908012cea4fc0071f6120000600002e..."} 
[2026-09-10 02:30:47] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f70908012cea4fc0071f6120000600002e..."} 
[2026-09-10 02:30:47] local.INFO: Packet analysis {"connection_id":175965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f7"} 
[2026-09-10 02:30:47] local.INFO: Extracted packet for processing {"connection_id":175965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f7"} 
[2026-09-10 02:30:47] local.INFO: GPS Element Parsed {"raw_longitude":753553344,"raw_latitude":119496992,"longitude_deg":75.3553344,"latitude_deg":11.9496992,"altitude":6,"angle":0,"satellites":46,"speed":33,"hex_longitude":"2cea4fc0","hex_latitude":"071f6120","is_valid_coordinates":true} 
[2026-09-10 02:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980800000001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403622669787856896,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563874940015550464,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788987509000,"timestamp_ms":1788987509000,"timestamp_seconds":1788987509,"priority":1,"record_length":96,"hex_timestamp":"000001a087f70908"} 
[2026-09-10 02:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:30: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-09-10 02:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:30:47] 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-09-10 02:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980800000001,"66":27310,"184":206,"83":43008,"24":33,"16":403622669787856896,"44":-1563874940015550464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-10 02:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980800000001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:30:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 02:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403622669787856896,"km_value":403622669787856.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:30:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563874940015550464,"description":"Unknown IO ID 44"} 
[2026-09-10 02:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980800000001,"power":27310,"unknown_184":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1563874940015550464}} 
[2026-09-10 02:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":175965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:30:47] local.INFO: GPS data processed {"connection_id":175965,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:30:47] local.INFO: Acknowledgment sent {"connection_id":175965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:30:51] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f72078012cea4f00071f74780006015e2d..."} 
[2026-09-10 02:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f72078012cea4f00071f74780006015e2d..."} 
[2026-09-10 02:30:51] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f72078012cea4f00071f74780006015e2d..."} 
[2026-09-10 02:30:51] local.INFO: Packet analysis {"connection_id":175965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f7"} 
[2026-09-10 02:30:51] local.INFO: Extracted packet for processing {"connection_id":175965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f7"} 
[2026-09-10 02:30:51] local.INFO: GPS Element Parsed {"raw_longitude":753553152,"raw_latitude":119501944,"longitude_deg":75.3553152,"latitude_deg":11.9501944,"altitude":6,"angle":350,"satellites":45,"speed":32,"hex_longitude":"2cea4f00","hex_latitude":"071f7478","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980802304001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403622910306025472,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562819408850509824,"note":"Value kept but may cause issues"} 
[2026-09-10 02:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788987515000,"timestamp_ms":1788987515000,"timestamp_seconds":1788987515,"priority":1,"record_length":96,"hex_timestamp":"000001a087f72078"} 
[2026-09-10 02:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:30: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-09-10 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 02:30:51] 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-09-10 02: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-09-10 02:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980802304001,"66":27180,"184":206,"83":43008,"24":32,"16":403622910306025472,"44":-1562819408850509824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-10 02:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980802304001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:30:51] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 02:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403622910306025472,"km_value":403622910306025.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562819408850509824,"description":"Unknown IO ID 44"} 
[2026-09-10 02:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980802304001,"power":27180,"unknown_184":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1562819408850509824}} 
[2026-09-10 02:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":175965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:30:51] local.INFO: GPS data processed {"connection_id":175965,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:30:51] local.INFO: Acknowledgment sent {"connection_id":175965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:31:37] local.INFO: TCP Data received {"connection_id":177368,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:31:37] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:31:37] local.INFO: IMEI packet received {"connection_id":177368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":177368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:31:40] local.INFO: TCP Data received {"connection_id":177368,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:31:40] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:31:40] local.INFO: IMEI packet received {"connection_id":177368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":177368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:31:41] local.INFO: TCP Data received {"connection_id":177368,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f8f920012cea7440072102d0000b000f20..."} 
[2026-09-10 02:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f8f920012cea7440072102d0000b000f20..."} 
[2026-09-10 02:31:41] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f8f920012cea7440072102d0000b000f20..."} 
[2026-09-10 02:31:41] local.INFO: Packet analysis {"connection_id":177368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f8"} 
[2026-09-10 02:31:41] local.INFO: Extracted packet for processing {"connection_id":177368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f8"} 
[2026-09-10 02:31:41] local.INFO: GPS Element Parsed {"raw_longitude":753562688,"raw_latitude":119603920,"longitude_deg":75.3562688,"latitude_deg":11.960392,"altitude":11,"angle":15,"satellites":32,"speed":25,"hex_longitude":"2cea7440","hex_latitude":"072102d0","is_valid_coordinates":true} 
[2026-09-10 02:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980831744001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403627892468088832,"note":"Value kept but may cause issues"} 
[2026-09-10 02:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554656634500825088,"note":"Value kept but may cause issues"} 
[2026-09-10 02:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788987636000,"timestamp_ms":1788987636000,"timestamp_seconds":1788987636,"priority":1,"record_length":96,"hex_timestamp":"000001a087f8f920"} 
[2026-09-10 02:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 02:31:41] 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-09-10 02:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980831744001,"66":27213,"183":206,"83":43008,"24":25,"16":403627892468088832,"44":-1554656634500825088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980831744001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:31:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403627892468088832,"km_value":403627892468088.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554656634500825088,"description":"Unknown IO ID 44"} 
[2026-09-10 02:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980831744001,"power":27213,"unknown_183":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1554656634500825088}} 
[2026-09-10 02:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":177368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:31:41] local.INFO: GPS data processed {"connection_id":177368,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:31:41] local.INFO: Acknowledgment sent {"connection_id":177368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:31:42] local.INFO: TCP Data received {"connection_id":177368,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f92be8012cea7d4007212708000c000f27..."} 
[2026-09-10 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f92be8012cea7d4007212708000c000f27..."} 
[2026-09-10 02:31:42] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f92be8012cea7d4007212708000c000f27..."} 
[2026-09-10 02:31:42] local.INFO: Packet analysis {"connection_id":177368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:31:42] local.INFO: Extracted packet for processing {"connection_id":177368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753564992,"raw_latitude":119613192,"longitude_deg":75.3564992,"latitude_deg":11.9613192,"altitude":12,"angle":15,"satellites":39,"speed":30,"hex_longitude":"2cea7d40","hex_latitude":"07212708","is_valid_coordinates":true} 
[2026-09-10 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980834816001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403628356324556800,"note":"Value kept but may cause issues"} 
[2026-09-10 02:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1552545572173197312,"note":"Value kept but may cause issues"} 
[2026-09-10 02:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788987649000,"timestamp_ms":1788987649000,"timestamp_seconds":1788987649,"priority":1,"record_length":96,"hex_timestamp":"000001a087f92be8"} 
[2026-09-10 02:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:31: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-09-10 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980834816001,"66":27267,"183":206,"83":43008,"24":30,"16":403628356324556800,"44":-1552545572173197312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980834816001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:31:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403628356324556800,"km_value":403628356324556.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1552545572173197312,"description":"Unknown IO ID 44"} 
[2026-09-10 02:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980834816001,"power":27267,"unknown_183":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1552545572173197312}} 
[2026-09-10 02:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":177368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:31:42] local.INFO: GPS data processed {"connection_id":177368,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:31:42] local.INFO: Acknowledgment sent {"connection_id":177368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:32:13] local.INFO: TCP Data received {"connection_id":177368,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f95eb0012cea85c0072148a0000b000e24..."} 
[2026-09-10 02:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f95eb0012cea85c0072148a0000b000e24..."} 
[2026-09-10 02:32:13] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f95eb0012cea85c0072148a0000b000e24..."} 
[2026-09-10 02:32:13] local.INFO: Packet analysis {"connection_id":177368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:32:13] local.INFO: Extracted packet for processing {"connection_id":177368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753567168,"raw_latitude":119621792,"longitude_deg":75.3567168,"latitude_deg":11.9621792,"altitude":11,"angle":14,"satellites":36,"speed":32,"hex_longitude":"2cea85c0","hex_latitude":"072148a0","is_valid_coordinates":true} 
[2026-09-10 02:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980838144001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403628785821286400,"note":"Value kept but may cause issues"} 
[2026-09-10 02:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1550012297380427776,"note":"Value kept but may cause issues"} 
[2026-09-10 02:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788987662000,"timestamp_ms":1788987662000,"timestamp_seconds":1788987662,"priority":1,"record_length":96,"hex_timestamp":"000001a087f95eb0"} 
[2026-09-10 02:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:32: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-09-10 02:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980838144001,"66":27234,"183":206,"83":43008,"24":32,"16":403628785821286400,"44":-1550012297380427776},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980838144001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:32:13] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403628785821286400,"km_value":403628785821286.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1550012297380427776,"description":"Unknown IO ID 44"} 
[2026-09-10 02:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980838144001,"power":27234,"unknown_183":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1550012297380427776}} 
[2026-09-10 02:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":177368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:32:13] local.INFO: GPS data processed {"connection_id":177368,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:32:13] local.INFO: Acknowledgment sent {"connection_id":177368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:32:37] local.INFO: TCP Data received {"connection_id":178747,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:37] local.INFO: Processing buffer {"connection_id":178747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:37] local.INFO: IMEI packet received {"connection_id":178747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":178747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:32:37] local.INFO: TCP Data received {"connection_id":178747,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:37] local.INFO: Processing buffer {"connection_id":178747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:37] local.INFO: IMEI packet received {"connection_id":178747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":178747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:32:42] local.INFO: TCP Data received {"connection_id":178747,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:42] local.INFO: Processing buffer {"connection_id":178747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:32:42] local.INFO: IMEI packet received {"connection_id":178747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":178747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:32:43] local.INFO: TCP Data received {"connection_id":178747,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f989a8012cea8f0007216b48000a000f24..."} 
[2026-09-10 02:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f989a8012cea8f0007216b48000a000f24..."} 
[2026-09-10 02:32:43] local.INFO: Processing buffer {"connection_id":178747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f989a8012cea8f0007216b48000a000f24..."} 
[2026-09-10 02:32:43] local.INFO: Packet analysis {"connection_id":178747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:32:43] local.INFO: Extracted packet for processing {"connection_id":178747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:32:43] local.INFO: GPS Element Parsed {"raw_longitude":753569536,"raw_latitude":119630664,"longitude_deg":75.3569536,"latitude_deg":11.9630664,"altitude":10,"angle":15,"satellites":36,"speed":27,"hex_longitude":"2cea8f00","hex_latitude":"07216b48","is_valid_coordinates":true} 
[2026-09-10 02:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980841472001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403629232497885184,"note":"Value kept but may cause issues"} 
[2026-09-10 02:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547619760076185600,"note":"Value kept but may cause issues"} 
[2026-09-10 02:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788987673000,"timestamp_ms":1788987673000,"timestamp_seconds":1788987673,"priority":1,"record_length":96,"hex_timestamp":"000001a087f989a8"} 
[2026-09-10 02:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:32:43] 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-09-10 02:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980841472001,"66":27267,"183":206,"83":43008,"24":27,"16":403629232497885184,"44":-1547619760076185600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980841472001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:32:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403629232497885184,"km_value":403629232497885.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547619760076185600,"description":"Unknown IO ID 44"} 
[2026-09-10 02:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980841472001,"power":27267,"unknown_183":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-1547619760076185600}} 
[2026-09-10 02:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":178747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:32:43] local.INFO: GPS data processed {"connection_id":178747,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:32:43] local.INFO: Acknowledgment sent {"connection_id":178747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:33:14] local.INFO: TCP Data received {"connection_id":178747,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f9c058012cea9b0007218c90000900162b..."} 
[2026-09-10 02:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f9c058012cea9b0007218c90000900162b..."} 
[2026-09-10 02:33:14] local.INFO: Processing buffer {"connection_id":178747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f9c058012cea9b0007218c90000900162b..."} 
[2026-09-10 02:33:14] local.INFO: Packet analysis {"connection_id":178747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:33:14] local.INFO: Extracted packet for processing {"connection_id":178747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:33:14] local.INFO: GPS Element Parsed {"raw_longitude":753572608,"raw_latitude":119639184,"longitude_deg":75.3572608,"latitude_deg":11.9639184,"altitude":9,"angle":22,"satellites":43,"speed":28,"hex_longitude":"2cea9b00","hex_latitude":"07218c90","is_valid_coordinates":true} 
[2026-09-10 02:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980844288001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403629670584549376,"note":"Value kept but may cause issues"} 
[2026-09-10 02:33:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1545016116539340800,"note":"Value kept but may cause issues"} 
[2026-09-10 02:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788987687000,"timestamp_ms":1788987687000,"timestamp_seconds":1788987687,"priority":1,"record_length":96,"hex_timestamp":"000001a087f9c058"} 
[2026-09-10 02:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980844288001,"66":27267,"183":206,"83":43008,"24":28,"16":403629670584549376,"44":-1545016116539340800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980844288001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:33:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403629670584549376,"km_value":403629670584549.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:33:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1545016116539340800,"description":"Unknown IO ID 44"} 
[2026-09-10 02:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980844288001,"power":27267,"unknown_183":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1545016116539340800}} 
[2026-09-10 02:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":178747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:33:14] local.INFO: GPS data processed {"connection_id":178747,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:33:14] local.INFO: Acknowledgment sent {"connection_id":178747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:33:37] local.INFO: TCP Data received {"connection_id":178748,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:33:37] local.INFO: Processing buffer {"connection_id":178748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:33:37] local.INFO: IMEI packet received {"connection_id":178748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":178748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:33:44] local.INFO: TCP Data received {"connection_id":178748,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:33:44] local.INFO: Processing buffer {"connection_id":178748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:33:44] local.INFO: IMEI packet received {"connection_id":178748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":178748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:33:45] local.INFO: TCP Data received {"connection_id":178748,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087f9ef38012ceaad400721ad700008001f30..."} 
[2026-09-10 02:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087f9ef38012ceaad400721ad700008001f30..."} 
[2026-09-10 02:33:45] local.INFO: Processing buffer {"connection_id":178748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087f9ef38012ceaad400721ad700008001f30..."} 
[2026-09-10 02:33:45] local.INFO: Packet analysis {"connection_id":178748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:33:45] local.INFO: Extracted packet for processing {"connection_id":178748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087f9"} 
[2026-09-10 02:33:45] local.INFO: GPS Element Parsed {"raw_longitude":753577280,"raw_latitude":119647600,"longitude_deg":75.357728,"latitude_deg":11.96476,"altitude":8,"angle":31,"satellites":48,"speed":35,"hex_longitude":"2ceaad40","hex_latitude":"0721ad70","is_valid_coordinates":true} 
[2026-09-10 02:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980847872001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403630134441017344,"note":"Value kept but may cause issues"} 
[2026-09-10 02:33:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1541638416816631808,"note":"Value kept but may cause issues"} 
[2026-09-10 02:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788987699000,"timestamp_ms":1788987699000,"timestamp_seconds":1788987699,"priority":1,"record_length":96,"hex_timestamp":"000001a087f9ef38"} 
[2026-09-10 02:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980847872001,"66":27267,"183":206,"83":43008,"24":35,"16":403630134441017344,"44":-1541638416816631808},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980847872001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:33:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403630134441017344,"km_value":403630134441017.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:33:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1541638416816631808,"description":"Unknown IO ID 44"} 
[2026-09-10 02:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980847872001,"power":27267,"unknown_183":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1541638416816631808}} 
[2026-09-10 02:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":178748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:33:45] local.INFO: GPS data processed {"connection_id":178748,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:33:45] local.INFO: Acknowledgment sent {"connection_id":178748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:34:15] local.INFO: TCP Data received {"connection_id":178748,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fa1648012ceac0000721cb880007001f2e..."} 
[2026-09-10 02:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fa1648012ceac0000721cb880007001f2e..."} 
[2026-09-10 02:34:15] local.INFO: Processing buffer {"connection_id":178748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fa1648012ceac0000721cb880007001f2e..."} 
[2026-09-10 02:34:15] local.INFO: Packet analysis {"connection_id":178748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fa"} 
[2026-09-10 02:34:15] local.INFO: Extracted packet for processing {"connection_id":178748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fa"} 
[2026-09-10 02:34:15] local.INFO: GPS Element Parsed {"raw_longitude":753582080,"raw_latitude":119655304,"longitude_deg":75.358208,"latitude_deg":11.9655304,"altitude":7,"angle":31,"satellites":46,"speed":36,"hex_longitude":"2ceac000","hex_latitude":"0721cb88","is_valid_coordinates":true} 
[2026-09-10 02:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980850944001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403630572527681536,"note":"Value kept but may cause issues"} 
[2026-09-10 02:34:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1536501498489507840,"note":"Value kept but may cause issues"} 
[2026-09-10 02:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788987709000,"timestamp_ms":1788987709000,"timestamp_seconds":1788987709,"priority":1,"record_length":96,"hex_timestamp":"000001a087fa1648"} 
[2026-09-10 02:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980850944001,"66":27245,"183":206,"83":43008,"24":36,"16":403630572527681536,"44":-1536501498489507840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980850944001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:34:15] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403630572527681536,"km_value":403630572527681.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:34:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1536501498489507840,"description":"Unknown IO ID 44"} 
[2026-09-10 02:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980850944001,"power":27245,"unknown_183":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1536501498489507840}} 
[2026-09-10 02:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":178748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:34:16] local.INFO: GPS data processed {"connection_id":178748,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:34:16] local.INFO: Acknowledgment sent {"connection_id":178748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:34:37] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:34:37] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:34:37] local.INFO: IMEI packet received {"connection_id":176190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":176190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:34:41] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:34:41] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:34:41] local.INFO: IMEI packet received {"connection_id":176190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:34:42] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fa3d58012cead4000721eaf0000800202f..."} 
[2026-09-10 02:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fa3d58012cead4000721eaf0000800202f..."} 
[2026-09-10 02:34:42] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fa3d58012cead4000721eaf0000800202f..."} 
[2026-09-10 02:34:42] local.INFO: Packet analysis {"connection_id":176190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fa"} 
[2026-09-10 02:34:42] local.INFO: Extracted packet for processing {"connection_id":176190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fa"} 
[2026-09-10 02:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753587200,"raw_latitude":119663344,"longitude_deg":75.35872,"latitude_deg":11.9663344,"altitude":8,"angle":32,"satellites":47,"speed":37,"hex_longitude":"2cead400","hex_latitude":"0721eaf0","is_valid_coordinates":true} 
[2026-09-10 02:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980853504001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403631032089182208,"note":"Value kept but may cause issues"} 
[2026-09-10 02:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1531223842674210816,"note":"Value kept but may cause issues"} 
[2026-09-10 02:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788987719000,"timestamp_ms":1788987719000,"timestamp_seconds":1788987719,"priority":1,"record_length":96,"hex_timestamp":"000001a087fa3d58"} 
[2026-09-10 02:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:34: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-09-10 02:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:34:42] 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-09-10 02:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980853504001,"66":27169,"183":206,"83":43008,"24":37,"16":403631032089182208,"44":-1531223842674210816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-10 02:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980853504001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403631032089182208,"km_value":403631032089182.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1531223842674210816,"description":"Unknown IO ID 44"} 
[2026-09-10 02:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980853504001,"power":27169,"unknown_183":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1531223842674210816}} 
[2026-09-10 02:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":176190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:34:42] local.INFO: GPS data processed {"connection_id":176190,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:34:42] local.INFO: Acknowledgment sent {"connection_id":176190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:35:14] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fc21b8012cebc6400722efc80016003432..."} 
[2026-09-10 02:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fc21b8012cebc6400722efc80016003432..."} 
[2026-09-10 02:35:14] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fc21b8012cebc6400722efc80016003432..."} 
[2026-09-10 02:35:14] local.INFO: Packet analysis {"connection_id":176190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fc"} 
[2026-09-10 02:35:14] local.INFO: Extracted packet for processing {"connection_id":176190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fc"} 
[2026-09-10 02:35:14] local.INFO: GPS Element Parsed {"raw_longitude":753649216,"raw_latitude":119730120,"longitude_deg":75.3649216,"latitude_deg":11.973012,"altitude":22,"angle":52,"satellites":50,"speed":28,"hex_longitude":"2cebc640","hex_latitude":"0722efc8","is_valid_coordinates":true} 
[2026-09-10 02:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980884224001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403635503150137344,"note":"Value kept but may cause issues"} 
[2026-09-10 02:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1465006854385459200,"note":"Value kept but may cause issues"} 
[2026-09-10 02:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788987843000,"timestamp_ms":1788987843000,"timestamp_seconds":1788987843,"priority":1,"record_length":96,"hex_timestamp":"000001a087fc21b8"} 
[2026-09-10 02:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:35:14] 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-09-10 02:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980884224001,"66":27234,"81":206,"83":43008,"24":28,"16":403635503150137344,"44":-1465006854385459200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-09-10 02:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980884224001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 02:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403635503150137344,"km_value":403635503150137.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1465006854385459200,"description":"Unknown IO ID 44"} 
[2026-09-10 02:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980884224001,"power":27234,"unknown_81":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1465006854385459200}} 
[2026-09-10 02:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":176190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:35:14] local.INFO: GPS data processed {"connection_id":176190,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:35:14] local.INFO: Acknowledgment sent {"connection_id":176190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:35:37] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:37] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:37] local.INFO: IMEI packet received {"connection_id":175966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":175966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:35:40] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:40] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:40] local.INFO: IMEI packet received {"connection_id":175966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":175966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:35:42] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:42] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:35:42] local.INFO: IMEI packet received {"connection_id":175966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":175966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:35:42] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fc5098012cebe400072304280015003632..."} 
[2026-09-10 02:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fc5098012cebe400072304280015003632..."} 
[2026-09-10 02:35:42] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fc5098012cebe400072304280015003632..."} 
[2026-09-10 02:35:42] local.INFO: Packet analysis {"connection_id":175966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fc"} 
[2026-09-10 02:35:42] local.INFO: Extracted packet for processing {"connection_id":175966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fc"} 
[2026-09-10 02:35:42] local.INFO: GPS Element Parsed {"raw_longitude":753656832,"raw_latitude":119735336,"longitude_deg":75.3656832,"latitude_deg":11.9735336,"altitude":21,"angle":54,"satellites":50,"speed":31,"hex_longitude":"2cebe400","hex_latitude":"07230428","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980887808001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403635945531768832,"note":"Value kept but may cause issues"} 
[2026-09-10 02:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1457407030012688384,"note":"Value kept but may cause issues"} 
[2026-09-10 02:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788987855000,"timestamp_ms":1788987855000,"timestamp_seconds":1788987855,"priority":1,"record_length":96,"hex_timestamp":"000001a087fc5098"} 
[2026-09-10 02:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:35: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-09-10 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:35:42] 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-09-10 02: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-09-10 02:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980887808001,"66":27332,"81":206,"83":43008,"24":31,"16":403635945531768832,"44":-1457407030012688384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-09-10 02:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980887808001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 02:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403635945531768832,"km_value":403635945531768.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1457407030012688384,"description":"Unknown IO ID 44"} 
[2026-09-10 02:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980887808001,"power":27332,"unknown_81":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1457407030012688384}} 
[2026-09-10 02:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":175966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:35:42] local.INFO: GPS data processed {"connection_id":175966,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:35:42] local.INFO: Acknowledgment sent {"connection_id":175966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:36:14] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fc7f78012cec01c0072317900015003f2f..."} 
[2026-09-10 02:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fc7f78012cec01c0072317900015003f2f..."} 
[2026-09-10 02:36:14] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fc7f78012cec01c0072317900015003f2f..."} 
[2026-09-10 02:36:14] local.INFO: Packet analysis {"connection_id":175966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fc"} 
[2026-09-10 02:36:14] local.INFO: Extracted packet for processing {"connection_id":175966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fc"} 
[2026-09-10 02:36:14] local.INFO: GPS Element Parsed {"raw_longitude":753664448,"raw_latitude":119740304,"longitude_deg":75.3664448,"latitude_deg":11.9740304,"altitude":21,"angle":63,"satellites":47,"speed":26,"hex_longitude":"2cec01c0","hex_latitude":"07231790","is_valid_coordinates":true} 
[2026-09-10 02:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403636379323465728,"note":"Value kept but may cause issues"} 
[2026-09-10 02:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449033149454211072,"note":"Value kept but may cause issues"} 
[2026-09-10 02:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788987867000,"timestamp_ms":1788987867000,"timestamp_seconds":1788987867,"priority":1,"record_length":96,"hex_timestamp":"000001a087fc7f78"} 
[2026-09-10 02:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 02:36:14] 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-09-10 02: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-09-10 02:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980890880001,"66":27267,"81":206,"83":43008,"24":26,"16":403636379323465728,"44":-1449033149454211072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-09-10 02:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 02:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403636379323465728,"km_value":403636379323465.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449033149454211072,"description":"Unknown IO ID 44"} 
[2026-09-10 02:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980890880001,"power":27267,"unknown_81":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1449033149454211072}} 
[2026-09-10 02:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":175966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:36:14] local.INFO: GPS data processed {"connection_id":175966,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:36:14] local.INFO: Acknowledgment sent {"connection_id":175966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:36:37] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:37] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:37] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:36:39] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:39] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:39] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:36:42] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:42] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:36:42] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:36:43] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fdc3b0012ced14400723ad780019001032..."} 
[2026-09-10 02:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fdc3b0012ced14400723ad780019001032..."} 
[2026-09-10 02:36:43] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fdc3b0012ced14400723ad780019001032..."} 
[2026-09-10 02:36:43] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fd"} 
[2026-09-10 02:36:43] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fd"} 
[2026-09-10 02:36:43] local.INFO: GPS Element Parsed {"raw_longitude":753734720,"raw_latitude":119778680,"longitude_deg":75.373472,"latitude_deg":11.977868,"altitude":25,"angle":16,"satellites":50,"speed":60,"hex_longitude":"2ced1440","hex_latitude":"0723ad78","is_valid_coordinates":true} 
[2026-09-10 02:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980914432001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403640352168214528,"note":"Value kept but may cause issues"} 
[2026-09-10 02:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1365435081361129472,"note":"Value kept but may cause issues"} 
[2026-09-10 02:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788987950000,"timestamp_ms":1788987950000,"timestamp_seconds":1788987950,"priority":1,"record_length":96,"hex_timestamp":"000001a087fdc3b0"} 
[2026-09-10 02:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:36:43] 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-09-10 02:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980914432001,"66":27213,"58":206,"83":43008,"24":60,"16":403640352168214528,"44":-1365435081361129472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-10 02:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980914432001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:36:43] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-10 02:36:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403640352168214528,"km_value":403640352168214.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1365435081361129472,"description":"Unknown IO ID 44"} 
[2026-09-10 02:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980914432001,"power":27213,"unknown_58":206,"unknown_83":43008,"ignition":60,"odometer":null,"unknown_44":-1365435081361129472}} 
[2026-09-10 02:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:36:43] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:36:43] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:37:14] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fddb20012ced1c000723cf880019000e31..."} 
[2026-09-10 02:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fddb20012ced1c000723cf880019000e31..."} 
[2026-09-10 02:37:14] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fddb20012ced1c000723cf880019000e31..."} 
[2026-09-10 02:37:14] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fd"} 
[2026-09-10 02:37:14] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fd"} 
[2026-09-10 02:37:14] local.INFO: GPS Element Parsed {"raw_longitude":753736704,"raw_latitude":119787400,"longitude_deg":75.3736704,"latitude_deg":11.97874,"altitude":25,"angle":14,"satellites":49,"speed":58,"hex_longitude":"2ced1c00","hex_latitude":"0723cf88","is_valid_coordinates":true} 
[2026-09-10 02:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980915200001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403640785959911424,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363394387778897920,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788987956000,"timestamp_ms":1788987956000,"timestamp_seconds":1788987956,"priority":1,"record_length":96,"hex_timestamp":"000001a087fddb20"} 
[2026-09-10 02:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980915200001,"66":27213,"58":206,"83":43008,"24":58,"16":403640785959911424,"44":-1363394387778897920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-10 02:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980915200001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:37:14] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-10 02:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403640785959911424,"km_value":403640785959911.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:37:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363394387778897920,"description":"Unknown IO ID 44"} 
[2026-09-10 02:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980915200001,"power":27213,"unknown_58":206,"unknown_83":43008,"ignition":58,"odometer":null,"unknown_44":-1363394387778897920}} 
[2026-09-10 02:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:37:14] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:37:14] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:37:42] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:37:42] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:37:42] local.INFO: IMEI packet received {"connection_id":177369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":177369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:37:42] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 02:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 02:37:42] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 02:37:42] local.INFO: IMEI packet received {"connection_id":177369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":177369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:37:47] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:37:47] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 02:37:47] local.INFO: IMEI packet received {"connection_id":177369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":177369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:37:48] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fdeea8012ced25400723ea380019001931..."} 
[2026-09-10 02:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fdeea8012ced25400723ea380019001931..."} 
[2026-09-10 02:37:48] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a087..."} 
[2026-09-10 02:37:48] local.INFO: IMEI packet received {"connection_id":177369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":177369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:37:52] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fe0a00012ced38c007240a28001c002232..."} 
[2026-09-10 02:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fe0a00012ced38c007240a28001c002232..."} 
[2026-09-10 02:37:52] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a087fdeea8012ced25400723ea380019001931..."} 
[2026-09-10 02:37:52] local.INFO: Packet analysis {"connection_id":177369,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a087fd"} 
[2026-09-10 02:37:52] local.INFO: Extracted packet for processing {"connection_id":177369,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fd"} 
[2026-09-10 02:37:52] local.INFO: GPS Element Parsed {"raw_longitude":753739072,"raw_latitude":119794232,"longitude_deg":75.3739072,"latitude_deg":11.9794232,"altitude":25,"angle":25,"satellites":49,"speed":56,"hex_longitude":"2ced2540","hex_latitude":"0723ea38","is_valid_coordinates":true} 
[2026-09-10 02:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980916736001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403641133852262400,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361212956707158016,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788987961000,"timestamp_ms":1788987961000,"timestamp_seconds":1788987961,"priority":1,"record_length":96,"hex_timestamp":"000001a087fdeea8"} 
[2026-09-10 02:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:37:52] 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-09-10 02:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980916736001,"66":27267,"58":206,"83":43008,"24":56,"16":403641133852262400,"44":-1361212956707158016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980916736001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403641133852262400,"km_value":403641133852262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361212956707158016,"description":"Unknown IO ID 44"} 
[2026-09-10 02:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980916736001,"power":27267,"unknown_58":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-1361212956707158016}} 
[2026-09-10 02:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":177369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:37:52] local.INFO: GPS data processed {"connection_id":177369,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:37:52] local.INFO: Acknowledgment sent {"connection_id":177369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:37:52] local.INFO: Packet analysis {"connection_id":177369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fe"} 
[2026-09-10 02:37:52] local.INFO: Extracted packet for processing {"connection_id":177369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fe"} 
[2026-09-10 02:37:52] local.INFO: GPS Element Parsed {"raw_longitude":753744064,"raw_latitude":119802408,"longitude_deg":75.3744064,"latitude_deg":11.9802408,"altitude":28,"angle":34,"satellites":50,"speed":52,"hex_longitude":"2ced38c0","hex_latitude":"07240a28","is_valid_coordinates":true} 
[2026-09-10 02:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980918016001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403641597708730368,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358609313170835456,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788987968000,"timestamp_ms":1788987968000,"timestamp_seconds":1788987968,"priority":1,"record_length":96,"hex_timestamp":"000001a087fe0a00"} 
[2026-09-10 02:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980918016001,"66":27180,"58":206,"83":43008,"24":52,"16":403641597708730368,"44":-1358609313170835456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-10 02:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980918016001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403641597708730368,"km_value":403641597708730.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358609313170835456,"description":"Unknown IO ID 44"} 
[2026-09-10 02:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980918016001,"power":27180,"unknown_58":206,"unknown_83":43008,"ignition":52,"odometer":null,"unknown_44":-1358609313170835456}} 
[2026-09-10 02:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":177369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:37:52] local.INFO: GPS data processed {"connection_id":177369,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:37:52] local.INFO: Acknowledgment sent {"connection_id":177369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:37:55] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fe2940012ced4f4007242a68001f002133..."} 
[2026-09-10 02:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fe2940012ced4f4007242a68001f002133..."} 
[2026-09-10 02:37:55] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fe2940012ced4f4007242a68001f002133..."} 
[2026-09-10 02:37:55] local.INFO: Packet analysis {"connection_id":177369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fe"} 
[2026-09-10 02:37:55] local.INFO: Extracted packet for processing {"connection_id":177369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fe"} 
[2026-09-10 02:37:55] local.INFO: GPS Element Parsed {"raw_longitude":753749824,"raw_latitude":119810664,"longitude_deg":75.3749824,"latitude_deg":11.9810664,"altitude":31,"angle":33,"satellites":51,"speed":48,"hex_longitude":"2ced4f40","hex_latitude":"07242a68","is_valid_coordinates":true} 
[2026-09-10 02:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980919808001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403642083040034816,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353120551122884608,"note":"Value kept but may cause issues"} 
[2026-09-10 02:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788987976000,"timestamp_ms":1788987976000,"timestamp_seconds":1788987976,"priority":1,"record_length":96,"hex_timestamp":"000001a087fe2940"} 
[2026-09-10 02:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:37: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-09-10 02:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 02:37:55] 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-09-10 02:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980919808001,"66":27267,"58":206,"83":43008,"24":48,"16":403642083040034816,"44":-1353120551122884608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-10 02:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980919808001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:37:55] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-10 02:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403642083040034816,"km_value":403642083040034.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353120551122884608,"description":"Unknown IO ID 44"} 
[2026-09-10 02:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980919808001,"power":27267,"unknown_58":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1353120551122884608}} 
[2026-09-10 02:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":177369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:37:55] local.INFO: GPS data processed {"connection_id":177369,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:37:55] local.INFO: Acknowledgment sent {"connection_id":177369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:38:37] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:38:37] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:38:37] local.INFO: IMEI packet received {"connection_id":175967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":175967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:38:39] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:38:39] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:38:39] local.INFO: IMEI packet received {"connection_id":175967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":175967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:38:41] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a087fe4880012ced62c0072449980022001a32..."} 
[2026-09-10 02:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087fe4880012ced62c0072449980022001a32..."} 
[2026-09-10 02:38:41] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087fe4880012ced62c0072449980022001a32..."} 
[2026-09-10 02:38:41] local.INFO: Packet analysis {"connection_id":175967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a087fe"} 
[2026-09-10 02:38:41] local.INFO: Extracted packet for processing {"connection_id":175967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a087fe"} 
[2026-09-10 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":753754816,"raw_latitude":119818648,"longitude_deg":75.3754816,"latitude_deg":11.9818648,"altitude":34,"angle":26,"satellites":50,"speed":45,"hex_longitude":"2ced62c0","hex_latitude":"07244998","is_valid_coordinates":true} 
[2026-09-10 02:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980921856001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403642534011600896,"note":"Value kept but may cause issues"} 
[2026-09-10 02:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1346787364144781312,"note":"Value kept but may cause issues"} 
[2026-09-10 02:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788987984000,"timestamp_ms":1788987984000,"timestamp_seconds":1788987984,"priority":1,"record_length":96,"hex_timestamp":"000001a087fe4880"} 
[2026-09-10 02:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980921856001,"66":27300,"58":206,"83":43008,"24":45,"16":403642534011600896,"44":-1346787364144781312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-10 02:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980921856001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:38:41] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-10 02:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 02:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403642534011600896,"km_value":403642534011600.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1346787364144781312,"description":"Unknown IO ID 44"} 
[2026-09-10 02:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980921856001,"power":27300,"unknown_58":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1346787364144781312}} 
[2026-09-10 02:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":175967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:38:41] local.INFO: GPS data processed {"connection_id":175967,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:38:41] local.INFO: Acknowledgment sent {"connection_id":175967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:39:24] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0880005d0012ced2d0007258d380024013e30..."} 
[2026-09-10 02:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880005d0012ced2d0007258d380024013e30..."} 
[2026-09-10 02:39:24] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880005d0012ced2d0007258d380024013e30..."} 
[2026-09-10 02:39:24] local.INFO: Packet analysis {"connection_id":175967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:39:24] local.INFO: Extracted packet for processing {"connection_id":175967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:39:24] local.INFO: GPS Element Parsed {"raw_longitude":753741056,"raw_latitude":119901496,"longitude_deg":75.3741056,"latitude_deg":11.9901496,"altitude":36,"angle":318,"satellites":48,"speed":47,"hex_longitude":"2ced2d00","hex_latitude":"07258d38","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980951040001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403646859043667968,"note":"Value kept but may cause issues"} 
[2026-09-10 02:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1349813220123009024,"note":"Value kept but may cause issues"} 
[2026-09-10 02:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788988098000,"timestamp_ms":1788988098000,"timestamp_seconds":1788988098,"priority":1,"record_length":96,"hex_timestamp":"000001a0880005d0"} 
[2026-09-10 02:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 02:39:24] 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-09-10 02: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-09-10 02:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980951040001,"66":27267,"62":206,"83":44032,"24":47,"16":403646859043667968,"44":-1349813220123009024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-10 02:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980951040001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:39:24] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-10 02:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403646859043667968,"km_value":403646859043667.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1349813220123009024,"description":"Unknown IO ID 44"} 
[2026-09-10 02:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980951040001,"power":27267,"unknown_62":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-1349813220123009024}} 
[2026-09-10 02:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":175967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:39:24] local.INFO: GPS data processed {"connection_id":175967,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:39:24] local.INFO: Acknowledgment sent {"connection_id":175967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:39:37] local.INFO: TCP Data received {"connection_id":178749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:39:37] local.INFO: Processing buffer {"connection_id":178749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:39:37] local.INFO: IMEI packet received {"connection_id":178749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":178749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:39:40] local.INFO: TCP Data received {"connection_id":178749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:39:40] local.INFO: Processing buffer {"connection_id":178749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:39:40] local.INFO: IMEI packet received {"connection_id":178749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":178749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:39:41] local.INFO: TCP Data received {"connection_id":178749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088002510012ced14000725a9800022013e30..."} 
[2026-09-10 02:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088002510012ced14000725a9800022013e30..."} 
[2026-09-10 02:39:41] local.INFO: Processing buffer {"connection_id":178749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088002510012ced14000725a9800022013e30..."} 
[2026-09-10 02:39:41] local.INFO: Packet analysis {"connection_id":178749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:39:41] local.INFO: Extracted packet for processing {"connection_id":178749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753734656,"raw_latitude":119908736,"longitude_deg":75.3734656,"latitude_deg":11.9908736,"altitude":34,"angle":318,"satellites":48,"speed":47,"hex_longitude":"2ced1400","hex_latitude":"0725a980","is_valid_coordinates":true} 
[2026-09-10 02:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980953088001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403647322900135936,"note":"Value kept but may cause issues"} 
[2026-09-10 02:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356427882073868288,"note":"Value kept but may cause issues"} 
[2026-09-10 02:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788988106000,"timestamp_ms":1788988106000,"timestamp_seconds":1788988106,"priority":1,"record_length":96,"hex_timestamp":"000001a088002510"} 
[2026-09-10 02:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980953088001,"66":26854,"62":206,"83":44032,"24":47,"16":403647322900135936,"44":-1356427882073868288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-10 02:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980953088001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:39:41] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-10 02:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403647322900135936,"km_value":403647322900135.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356427882073868288,"description":"Unknown IO ID 44"} 
[2026-09-10 02:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980953088001,"power":26854,"unknown_62":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-1356427882073868288}} 
[2026-09-10 02:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":178749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:39:41] local.INFO: GPS data processed {"connection_id":178749,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:39:41] local.INFO: Acknowledgment sent {"connection_id":178749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:40:12] local.INFO: TCP Data received {"connection_id":178749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088004450012cecfb000725c6180021013e30..."} 
[2026-09-10 02:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088004450012cecfb000725c6180021013e30..."} 
[2026-09-10 02:40:12] local.INFO: Processing buffer {"connection_id":178749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088004450012cecfb000725c6180021013e30..."} 
[2026-09-10 02:40:12] local.INFO: Packet analysis {"connection_id":178749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:40:12] local.INFO: Extracted packet for processing {"connection_id":178749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753728256,"raw_latitude":119916056,"longitude_deg":75.3728256,"latitude_deg":11.9916056,"altitude":33,"angle":318,"satellites":48,"speed":48,"hex_longitude":"2cecfb00","hex_latitude":"0725c618","is_valid_coordinates":true} 
[2026-09-10 02:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980955136001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403647791051571200,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363464756489781248,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788988114000,"timestamp_ms":1788988114000,"timestamp_seconds":1788988114,"priority":1,"record_length":96,"hex_timestamp":"000001a088004450"} 
[2026-09-10 02:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:40: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-09-10 02:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 02:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:40: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-09-10 02:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980955136001,"66":27245,"62":206,"83":44032,"24":48,"16":403647791051571200,"44":-1363464756489781248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-10 02:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980955136001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:40:12] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-10 02:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403647791051571200,"km_value":403647791051571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363464756489781248,"description":"Unknown IO ID 44"} 
[2026-09-10 02:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980955136001,"power":27245,"unknown_62":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1363464756489781248}} 
[2026-09-10 02:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":178749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:40:12] local.INFO: GPS data processed {"connection_id":178749,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:40:12] local.INFO: Acknowledgment sent {"connection_id":178749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:40:37] local.INFO: TCP Data received {"connection_id":177370,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:37] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:37] local.INFO: IMEI packet received {"connection_id":177370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":177370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:40:39] local.INFO: TCP Data received {"connection_id":177370,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:39] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:39] local.INFO: IMEI packet received {"connection_id":177370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":177370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:40:50] local.INFO: TCP Data received {"connection_id":177370,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:50] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:40:50] local.INFO: IMEI packet received {"connection_id":177370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":177370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:40:53] local.INFO: TCP Data received {"connection_id":177370,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088006390012cece2400725e1b80021013e31..."} 
[2026-09-10 02:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088006390012cece2400725e1b80021013e31..."} 
[2026-09-10 02:40:53] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088006390012cece2400725e1b80021013e31..."} 
[2026-09-10 02:40:53] local.INFO: Packet analysis {"connection_id":177370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:40:53] local.INFO: Extracted packet for processing {"connection_id":177370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:40:53] local.INFO: GPS Element Parsed {"raw_longitude":753721920,"raw_latitude":119923128,"longitude_deg":75.372192,"latitude_deg":11.9923128,"altitude":33,"angle":318,"satellites":49,"speed":45,"hex_longitude":"2cece240","hex_latitude":"0725e1b8","is_valid_coordinates":true} 
[2026-09-10 02:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980957184001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403648246318104576,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1370501630905673728,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788988122000,"timestamp_ms":1788988122000,"timestamp_seconds":1788988122,"priority":1,"record_length":96,"hex_timestamp":"000001a088006390"} 
[2026-09-10 02:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:40: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-09-10 02:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:40:53] 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-09-10 02:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980957184001,"66":27245,"62":206,"83":44032,"24":45,"16":403648246318104576,"44":-1370501630905673728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-10 02:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980957184001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:40:53] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-10 02:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403648246318104576,"km_value":403648246318104.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:40:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1370501630905673728,"description":"Unknown IO ID 44"} 
[2026-09-10 02:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980957184001,"power":27245,"unknown_62":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-1370501630905673728}} 
[2026-09-10 02:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":177370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:40:53] local.INFO: GPS data processed {"connection_id":177370,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:40:53] local.INFO: Acknowledgment sent {"connection_id":177370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:40:57] local.INFO: TCP Data received {"connection_id":177370,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0880086b8012cecc9800725fe280021013f33..."} 
[2026-09-10 02:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880086b8012cecc9800725fe280021013f33..."} 
[2026-09-10 02:40:57] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880086b8012cecc9800725fe280021013f33..."} 
[2026-09-10 02:40:57] local.INFO: Packet analysis {"connection_id":177370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:40:57] local.INFO: Extracted packet for processing {"connection_id":177370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08800"} 
[2026-09-10 02:40:57] local.INFO: GPS Element Parsed {"raw_longitude":753715584,"raw_latitude":119930408,"longitude_deg":75.3715584,"latitude_deg":11.9930408,"altitude":33,"angle":319,"satellites":51,"speed":38,"hex_longitude":"2cecc980","hex_latitude":"0725fe28","is_valid_coordinates":true} 
[2026-09-10 02:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980959232001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403648710174572544,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1377468136577452032,"note":"Value kept but may cause issues"} 
[2026-09-10 02:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788988131000,"timestamp_ms":1788988131000,"timestamp_seconds":1788988131,"priority":1,"record_length":96,"hex_timestamp":"000001a0880086b8"} 
[2026-09-10 02:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:40:57] 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-09-10 02:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980959232001,"66":27343,"62":206,"83":44032,"24":38,"16":403648710174572544,"44":-1377468136577452032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-10 02:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980959232001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:40:57] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-10 02:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403648710174572544,"km_value":403648710174572.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:40:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1377468136577452032,"description":"Unknown IO ID 44"} 
[2026-09-10 02:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980959232001,"power":27343,"unknown_62":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1377468136577452032}} 
[2026-09-10 02:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":177370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:40:57] local.INFO: GPS data processed {"connection_id":177370,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:40:57] local.INFO: Acknowledgment sent {"connection_id":177370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:41:37] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:41:37] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:41:37] local.INFO: IMEI packet received {"connection_id":175968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":175968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:41:41] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:41:41] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:41:41] local.INFO: IMEI packet received {"connection_id":175968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":175968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:41:42] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0880201a0012cec76c007276f900017016531..."} 
[2026-09-10 02:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880201a0012cec76c007276f900017016531..."} 
[2026-09-10 02:41:42] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880201a0012cec76c007276f900017016531..."} 
[2026-09-10 02:41:42] local.INFO: Packet analysis {"connection_id":175968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:41:42] local.INFO: Extracted packet for processing {"connection_id":175968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753694400,"raw_latitude":120024976,"longitude_deg":75.36944,"latitude_deg":12.0024976,"altitude":23,"angle":357,"satellites":49,"speed":48,"hex_longitude":"2cec76c0","hex_latitude":"07276f90","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980984832001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403653593552388096,"note":"Value kept but may cause issues"} 
[2026-09-10 02:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406389690410469376,"note":"Value kept but may cause issues"} 
[2026-09-10 02:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788988228000,"timestamp_ms":1788988228000,"timestamp_seconds":1788988228,"priority":1,"record_length":96,"hex_timestamp":"000001a0880201a0"} 
[2026-09-10 02:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:41: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-09-10 02: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 02:41:42] 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-09-10 02: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-09-10 02:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980984832001,"66":27300,"188":206,"83":44032,"24":48,"16":403653593552388096,"44":-1406389690410469376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-10 02:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980984832001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:41:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 02:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403653593552388096,"km_value":403653593552388.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406389690410469376,"description":"Unknown IO ID 44"} 
[2026-09-10 02:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980984832001,"power":27300,"unknown_188":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1406389690410469376}} 
[2026-09-10 02:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":175968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:41:42] local.INFO: GPS data processed {"connection_id":175968,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:41:42] local.INFO: Acknowledgment sent {"connection_id":175968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:42:13] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0880220e0012cec788007279558001200032f..."} 
[2026-09-10 02:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880220e0012cec788007279558001200032f..."} 
[2026-09-10 02:42:13] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880220e0012cec788007279558001200032f..."} 
[2026-09-10 02:42:13] local.INFO: Packet analysis {"connection_id":175968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:42:13] local.INFO: Extracted packet for processing {"connection_id":175968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:42:13] local.INFO: GPS Element Parsed {"raw_longitude":753694848,"raw_latitude":120034648,"longitude_deg":75.3694848,"latitude_deg":12.0034648,"altitude":18,"angle":3,"satellites":47,"speed":50,"hex_longitude":"2cec7880","hex_latitude":"07279558","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980986368001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403654065998790656,"note":"Value kept but may cause issues"} 
[2026-09-10 02:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407726696547774464,"note":"Value kept but may cause issues"} 
[2026-09-10 02:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788988236000,"timestamp_ms":1788988236000,"timestamp_seconds":1788988236,"priority":1,"record_length":96,"hex_timestamp":"000001a0880220e0"} 
[2026-09-10 02:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 02:42: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-09-10 02: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-09-10 02:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980986368001,"66":27245,"188":206,"83":44032,"24":50,"16":403654065998790656,"44":-1407726696547774464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-10 02:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980986368001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:42:13] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 02:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403654065998790656,"km_value":403654065998790.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407726696547774464,"description":"Unknown IO ID 44"} 
[2026-09-10 02:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980986368001,"power":27245,"unknown_188":206,"unknown_83":44032,"ignition":50,"odometer":null,"unknown_44":-1407726696547774464}} 
[2026-09-10 02:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":175968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:42:13] local.INFO: GPS data processed {"connection_id":175968,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:42:13] local.INFO: Acknowledgment sent {"connection_id":175968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:42:37] local.INFO: TCP Data received {"connection_id":178750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:42:37] local.INFO: Processing buffer {"connection_id":178750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:42:37] local.INFO: IMEI packet received {"connection_id":178750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":178750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:42:42] local.INFO: TCP Data received {"connection_id":178750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:42:42] local.INFO: Processing buffer {"connection_id":178750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:42:42] local.INFO: IMEI packet received {"connection_id":178750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":178750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:42:43] local.INFO: TCP Data received {"connection_id":178750,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088023c38012cec79000727b920000e016431..."} 
[2026-09-10 02:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088023c38012cec79000727b920000e016431..."} 
[2026-09-10 02:42:43] local.INFO: Processing buffer {"connection_id":178750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088023c38012cec79000727b920000e016431..."} 
[2026-09-10 02:42:43] local.INFO: Packet analysis {"connection_id":178750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:42:43] local.INFO: Extracted packet for processing {"connection_id":178750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:42:43] local.INFO: GPS Element Parsed {"raw_longitude":753694976,"raw_latitude":120043808,"longitude_deg":75.3694976,"latitude_deg":12.0043808,"altitude":14,"angle":356,"satellites":49,"speed":52,"hex_longitude":"2cec7900","hex_latitude":"0727b920","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403654508380422144,"note":"Value kept but may cause issues"} 
[2026-09-10 02:42:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407234115336054784,"note":"Value kept but may cause issues"} 
[2026-09-10 02:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788988243000,"timestamp_ms":1788988243000,"timestamp_seconds":1788988243,"priority":1,"record_length":96,"hex_timestamp":"000001a088023c38"} 
[2026-09-10 02:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:42: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-09-10 02: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:42:43] 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-09-10 02: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-09-10 02:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980988416001,"66":27137,"188":206,"83":44032,"24":52,"16":403654508380422144,"44":-1407234115336054784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-10 02:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403654508380422144,"km_value":403654508380422.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:42:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407234115336054784,"description":"Unknown IO ID 44"} 
[2026-09-10 02:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980988416001,"power":27137,"unknown_188":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1407234115336054784}} 
[2026-09-10 02:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":178750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:42:43] local.INFO: GPS data processed {"connection_id":178750,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:42:43] local.INFO: Acknowledgment sent {"connection_id":178750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:43:14] local.INFO: TCP Data received {"connection_id":178750,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088025b78012cec76000727de20000b016331..."} 
[2026-09-10 02:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088025b78012cec76000727de20000b016331..."} 
[2026-09-10 02:43:14] local.INFO: Processing buffer {"connection_id":178750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088025b78012cec76000727de20000b016331..."} 
[2026-09-10 02:43:14] local.INFO: Packet analysis {"connection_id":178750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:43:14] local.INFO: Extracted packet for processing {"connection_id":178750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:43:14] local.INFO: GPS Element Parsed {"raw_longitude":753694208,"raw_latitude":120053280,"longitude_deg":75.3694208,"latitude_deg":12.005328,"altitude":11,"angle":355,"satellites":49,"speed":42,"hex_longitude":"2cec7600","hex_latitude":"0727de20","is_valid_coordinates":true} 
[2026-09-10 02:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980990208001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403654967941922816,"note":"Value kept but may cause issues"} 
[2026-09-10 02:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407093377845354496,"note":"Value kept but may cause issues"} 
[2026-09-10 02:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788988251000,"timestamp_ms":1788988251000,"timestamp_seconds":1788988251,"priority":1,"record_length":96,"hex_timestamp":"000001a088025b78"} 
[2026-09-10 02:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 02:43:14] 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-09-10 02:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980990208001,"66":27767,"188":206,"83":44032,"24":42,"16":403654967941922816,"44":-1407093377845354496},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-10 02:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980990208001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:43:14] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 02:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403654967941922816,"km_value":403654967941922.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407093377845354496,"description":"Unknown IO ID 44"} 
[2026-09-10 02:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980990208001,"power":27767,"unknown_188":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1407093377845354496}} 
[2026-09-10 02:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":178750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:43:14] local.INFO: GPS data processed {"connection_id":178750,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:43:14] local.INFO: Acknowledgment sent {"connection_id":178750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:43:46] local.INFO: TCP Data received {"connection_id":178751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:46] local.INFO: Processing buffer {"connection_id":178751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:46] local.INFO: IMEI packet received {"connection_id":178751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":178751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:43:47] local.INFO: TCP Data received {"connection_id":178751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:47] local.INFO: Processing buffer {"connection_id":178751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:47] local.INFO: IMEI packet received {"connection_id":178751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":178751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:43:49] local.INFO: TCP Data received {"connection_id":178751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:49] local.INFO: Processing buffer {"connection_id":178751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:43:49] local.INFO: IMEI packet received {"connection_id":178751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":178751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:43:50] local.INFO: TCP Data received {"connection_id":178751,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088028a58012cec7380072801700009016032..."} 
[2026-09-10 02:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088028a58012cec7380072801700009016032..."} 
[2026-09-10 02:43:50] local.INFO: Processing buffer {"connection_id":178751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088028a58012cec7380072801700009016032..."} 
[2026-09-10 02:43:50] local.INFO: Packet analysis {"connection_id":178751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:43:50] local.INFO: Extracted packet for processing {"connection_id":178751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:43:50] local.INFO: GPS Element Parsed {"raw_longitude":753693568,"raw_latitude":120062320,"longitude_deg":75.3693568,"latitude_deg":12.006232,"altitude":9,"angle":352,"satellites":50,"speed":21,"hex_longitude":"2cec7380","hex_latitude":"07280170","is_valid_coordinates":true} 
[2026-09-10 02:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980992256001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403655410323554304,"note":"Value kept but may cause issues"} 
[2026-09-10 02:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407937802773061632,"note":"Value kept but may cause issues"} 
[2026-09-10 02:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788988263000,"timestamp_ms":1788988263000,"timestamp_seconds":1788988263,"priority":1,"record_length":96,"hex_timestamp":"000001a088028a58"} 
[2026-09-10 02:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 02:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980992256001,"66":27908,"188":206,"83":44032,"24":21,"16":403655410323554304,"44":-1407937802773061632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-10 02:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980992256001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:43:50] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 02:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403655410323554304,"km_value":403655410323554.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407937802773061632,"description":"Unknown IO ID 44"} 
[2026-09-10 02:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980992256001,"power":27908,"unknown_188":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1407937802773061632}} 
[2026-09-10 02:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":178751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:43:50] local.INFO: GPS data processed {"connection_id":178751,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:43:50] local.INFO: Acknowledgment sent {"connection_id":178751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:44:21] local.INFO: TCP Data received {"connection_id":178751,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08802c108012cec6ec0072824700009015f33..."} 
[2026-09-10 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08802c108012cec6ec0072824700009015f33..."} 
[2026-09-10 02:44:21] local.INFO: Processing buffer {"connection_id":178751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08802c108012cec6ec0072824700009015f33..."} 
[2026-09-10 02:44:21] local.INFO: Packet analysis {"connection_id":178751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:44:21] local.INFO: Extracted packet for processing {"connection_id":178751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":753692352,"raw_latitude":120071280,"longitude_deg":75.3692352,"latitude_deg":12.007128,"altitude":9,"angle":351,"satellites":51,"speed":25,"hex_longitude":"2cec6ec0","hex_latitude":"07282470","is_valid_coordinates":true} 
[2026-09-10 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980995328001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403655848410218496,"note":"Value kept but may cause issues"} 
[2026-09-10 02:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408641490212524032,"note":"Value kept but may cause issues"} 
[2026-09-10 02:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788988277000,"timestamp_ms":1788988277000,"timestamp_seconds":1788988277,"priority":1,"record_length":96,"hex_timestamp":"000001a08802c108"} 
[2026-09-10 02:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 02:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980995328001,"66":27821,"188":206,"83":44032,"24":25,"16":403655848410218496,"44":-1408641490212524032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-10 02:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980995328001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:44:21] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 02:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403655848410218496,"km_value":403655848410218.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408641490212524032,"description":"Unknown IO ID 44"} 
[2026-09-10 02:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980995328001,"power":27821,"unknown_188":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1408641490212524032}} 
[2026-09-10 02:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":178751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:44:21] local.INFO: GPS data processed {"connection_id":178751,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:44:21] local.INFO: Acknowledgment sent {"connection_id":178751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:44:37] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:44:37] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:44:37] local.INFO: IMEI packet received {"connection_id":177371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":177371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:44:41] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:44:41] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:44:41] local.INFO: IMEI packet received {"connection_id":177371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":177371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:44:42] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08802d878012cec6bc0072830f80008014f33..."} 
[2026-09-10 02:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08802d878012cec6bc0072830f80008014f33..."} 
[2026-09-10 02:44:42] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08802d878012cec6bc0072830f80008014f33..."} 
[2026-09-10 02:44:42] local.INFO: Packet analysis {"connection_id":177371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:44:42] local.INFO: Extracted packet for processing {"connection_id":177371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08802"} 
[2026-09-10 02:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753691584,"raw_latitude":120074488,"longitude_deg":75.3691584,"latitude_deg":12.0074488,"altitude":8,"angle":335,"satellites":51,"speed":16,"hex_longitude":"2cec6bc0","hex_latitude":"072830f8","is_valid_coordinates":true} 
[2026-09-10 02:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457980998912001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403656007324008448,"note":"Value kept but may cause issues"} 
[2026-09-10 02:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409978496349605888,"note":"Value kept but may cause issues"} 
[2026-09-10 02:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788988283000,"timestamp_ms":1788988283000,"timestamp_seconds":1788988283,"priority":1,"record_length":96,"hex_timestamp":"000001a08802d878"} 
[2026-09-10 02:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:44: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-09-10 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 02:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02: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-09-10 02:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457980998912001,"66":27887,"188":206,"83":44032,"24":16,"16":403656007324008448,"44":-1409978496349605888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-10 02:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457980998912001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:44:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 02:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403656007324008448,"km_value":403656007324008.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409978496349605888,"description":"Unknown IO ID 44"} 
[2026-09-10 02:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457980998912001,"power":27887,"unknown_188":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1409978496349605888}} 
[2026-09-10 02:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":177371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:44:42] local.INFO: GPS data processed {"connection_id":177371,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:44:42] local.INFO: Acknowledgment sent {"connection_id":177371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:45:13] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088056ca0012cec57800728e7000010016231..."} 
[2026-09-10 02:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088056ca0012cec57800728e7000010016231..."} 
[2026-09-10 02:45:13] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088056ca0012cec57800728e7000010016231..."} 
[2026-09-10 02:45:13] local.INFO: Packet analysis {"connection_id":177371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:45:13] local.INFO: Extracted packet for processing {"connection_id":177371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753686400,"raw_latitude":120121088,"longitude_deg":75.36864,"latitude_deg":12.0121088,"altitude":16,"angle":354,"satellites":49,"speed":39,"hex_longitude":"2cec5780","hex_latitude":"0728e700","is_valid_coordinates":true} 
[2026-09-10 02:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981041408001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403658292246609920,"note":"Value kept but may cause issues"} 
[2026-09-10 02:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415467258385004544,"note":"Value kept but may cause issues"} 
[2026-09-10 02:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788988452000,"timestamp_ms":1788988452000,"timestamp_seconds":1788988452,"priority":1,"record_length":96,"hex_timestamp":"000001a088056ca0"} 
[2026-09-10 02:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:45: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-09-10 02:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:45: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-09-10 02:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981041408001,"66":27180,"61":206,"83":44032,"24":39,"16":403658292246609920,"44":-1415467258385004544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-10 02:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981041408001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:45:13] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 02:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403658292246609920,"km_value":403658292246609.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415467258385004544,"description":"Unknown IO ID 44"} 
[2026-09-10 02:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981041408001,"power":27180,"unknown_61":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1415467258385004544}} 
[2026-09-10 02:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":177371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:45:13] local.INFO: GPS data processed {"connection_id":177371,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:45:13] local.INFO: Acknowledgment sent {"connection_id":177371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:45:37] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:45:37] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:45:37] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:45:42] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:45:42] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:45:42] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:45:43] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0880593b0012cec558007290c980013016732..."} 
[2026-09-10 02:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880593b0012cec558007290c980013016732..."} 
[2026-09-10 02:45:43] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880593b0012cec558007290c980013016732..."} 
[2026-09-10 02:45:43] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:45:43] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:45:43] local.INFO: GPS Element Parsed {"raw_longitude":753685888,"raw_latitude":120130712,"longitude_deg":75.3685888,"latitude_deg":12.0130712,"altitude":19,"angle":359,"satellites":50,"speed":37,"hex_longitude":"2cec5580","hex_latitude":"07290c98","is_valid_coordinates":true} 
[2026-09-10 02:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981043712001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403658760398045184,"note":"Value kept but may cause issues"} 
[2026-09-10 02:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416522789545377792,"note":"Value kept but may cause issues"} 
[2026-09-10 02:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788988462000,"timestamp_ms":1788988462000,"timestamp_seconds":1788988462,"priority":1,"record_length":96,"hex_timestamp":"000001a0880593b0"} 
[2026-09-10 02:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:45: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-09-10 02:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 02:45:43] 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-09-10 02:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981043712001,"66":27234,"61":206,"83":44032,"24":37,"16":403658760398045184,"44":-1416522789545377792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-10 02:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981043712001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:45:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 02:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403658760398045184,"km_value":403658760398045.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416522789545377792,"description":"Unknown IO ID 44"} 
[2026-09-10 02:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981043712001,"power":27234,"unknown_61":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1416522789545377792}} 
[2026-09-10 02:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:45:43] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:45:43] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:46:14] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08805bac0012cec580007292f180017000730..."} 
[2026-09-10 02:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08805bac0012cec580007292f180017000730..."} 
[2026-09-10 02:46:14] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08805bac0012cec580007292f180017000730..."} 
[2026-09-10 02:46:14] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:46:14] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:46:14] local.INFO: GPS Element Parsed {"raw_longitude":753686528,"raw_latitude":120139544,"longitude_deg":75.3686528,"latitude_deg":12.0139544,"altitude":23,"angle":7,"satellites":48,"speed":33,"hex_longitude":"2cec5800","hex_latitude":"07292f18","is_valid_coordinates":true} 
[2026-09-10 02:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981046272001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403659189894774784,"note":"Value kept but may cause issues"} 
[2026-09-10 02:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417085739496335360,"note":"Value kept but may cause issues"} 
[2026-09-10 02:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788988472000,"timestamp_ms":1788988472000,"timestamp_seconds":1788988472,"priority":1,"record_length":96,"hex_timestamp":"000001a08805bac0"} 
[2026-09-10 02:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 02:46:14] 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-09-10 02:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981046272001,"66":27245,"61":206,"83":44032,"24":33,"16":403659189894774784,"44":-1417085739496335360},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-10 02:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981046272001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:46:14] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 02:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403659189894774784,"km_value":403659189894774.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417085739496335360,"description":"Unknown IO ID 44"} 
[2026-09-10 02:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981046272001,"power":27245,"unknown_61":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1417085739496335360}} 
[2026-09-10 02:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:46:14] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:46:14] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:46:36] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:36] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:36] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:46:37] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:37] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:37] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:46:42] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:42] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:46:42] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:46:43] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08805e5b8012cec5dc007295170001b000a2f..."} 
[2026-09-10 02:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08805e5b8012cec5dc007295170001b000a2f..."} 
[2026-09-10 02:46:43] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08805e5b8012cec5dc007295170001b000a2f..."} 
[2026-09-10 02:46:43] local.INFO: Packet analysis {"connection_id":175969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:46:43] local.INFO: Extracted packet for processing {"connection_id":175969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08805"} 
[2026-09-10 02:46:43] local.INFO: GPS Element Parsed {"raw_longitude":753688000,"raw_latitude":120148336,"longitude_deg":75.3688,"latitude_deg":12.0148336,"altitude":27,"angle":10,"satellites":47,"speed":30,"hex_longitude":"2cec5dc0","hex_latitude":"07295170","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981048832001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403659623686471680,"note":"Value kept but may cause issues"} 
[2026-09-10 02:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416382052052297728,"note":"Value kept but may cause issues"} 
[2026-09-10 02:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788988483000,"timestamp_ms":1788988483000,"timestamp_seconds":1788988483,"priority":1,"record_length":96,"hex_timestamp":"000001a08805e5b8"} 
[2026-09-10 02:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:46: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-09-10 02:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 02:46:43] 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-09-10 02: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-09-10 02:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981048832001,"66":27321,"61":206,"83":44032,"24":30,"16":403659623686471680,"44":-1416382052052297728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-10 02:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981048832001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:46:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 02:46:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403659623686471680,"km_value":403659623686471.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416382052052297728,"description":"Unknown IO ID 44"} 
[2026-09-10 02:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981048832001,"power":27321,"unknown_61":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1416382052052297728}} 
[2026-09-10 02:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":175969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:46:43] local.INFO: GPS data processed {"connection_id":175969,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:46:43] local.INFO: Acknowledgment sent {"connection_id":175969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:47:16] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088074d18012cec2340072aa5900027015b2d..."} 
[2026-09-10 02:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088074d18012cec2340072aa5900027015b2d..."} 
[2026-09-10 02:47:16] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088074d18012cec2340072aa5900027015b2d..."} 
[2026-09-10 02:47:16] local.INFO: Packet analysis {"connection_id":175969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08807"} 
[2026-09-10 02:47:16] local.INFO: Extracted packet for processing {"connection_id":175969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08807"} 
[2026-09-10 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":753673024,"raw_latitude":120235408,"longitude_deg":75.3673024,"latitude_deg":12.0235408,"altitude":39,"angle":347,"satellites":45,"speed":47,"hex_longitude":"2cec2340","hex_latitude":"072aa590","is_valid_coordinates":true} 
[2026-09-10 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981073152001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403664099042394112,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429118794726252544,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788988575000,"timestamp_ms":1788988575000,"timestamp_seconds":1788988575,"priority":1,"record_length":96,"hex_timestamp":"000001a088074d18"} 
[2026-09-10 02:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 02:47: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-09-10 02:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981073152001,"66":27343,"158":206,"83":44032,"24":47,"16":403664099042394112,"44":-1429118794726252544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,44]} 
[2026-09-10 02:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981073152001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:47:16] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 02:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403664099042394112,"km_value":403664099042394.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:47:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429118794726252544,"description":"Unknown IO ID 44"} 
[2026-09-10 02:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981073152001,"power":27343,"unknown_158":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-1429118794726252544}} 
[2026-09-10 02:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":175969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:47:16] local.INFO: GPS data processed {"connection_id":175969,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:47:16] local.INFO: Acknowledgment sent {"connection_id":175969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:47:37] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:37] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:37] local.INFO: IMEI packet received {"connection_id":176193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":176193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:47:39] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:39] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:39] local.INFO: IMEI packet received {"connection_id":176193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":176193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:47:42] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:42] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:47:42] local.INFO: IMEI packet received {"connection_id":176193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":176193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:47:42] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088076c58012cec1c80072ac9f0002801612d..."} 
[2026-09-10 02:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088076c58012cec1c80072ac9f0002801612d..."} 
[2026-09-10 02:47:42] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088076c58012cec1c80072ac9f0002801612d..."} 
[2026-09-10 02:47:42] local.INFO: Packet analysis {"connection_id":176193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08807"} 
[2026-09-10 02:47:42] local.INFO: Extracted packet for processing {"connection_id":176193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08807"} 
[2026-09-10 02:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753671296,"raw_latitude":120244720,"longitude_deg":75.3671296,"latitude_deg":12.024472,"altitude":40,"angle":353,"satellites":45,"speed":46,"hex_longitude":"2cec1c80","hex_latitude":"072ac9f0","is_valid_coordinates":true} 
[2026-09-10 02:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981075200001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403664558603894784,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1431229857049243648,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788988583000,"timestamp_ms":1788988583000,"timestamp_seconds":1788988583,"priority":1,"record_length":96,"hex_timestamp":"000001a088076c58"} 
[2026-09-10 02:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:47: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-09-10 02:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 02:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981075200001,"66":27267,"158":206,"83":44032,"24":46,"16":403664558603894784,"44":-1431229857049243648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,44]} 
[2026-09-10 02:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981075200001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:47:42] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 02:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403664558603894784,"km_value":403664558603894.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1431229857049243648,"description":"Unknown IO ID 44"} 
[2026-09-10 02:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981075200001,"power":27267,"unknown_158":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-1431229857049243648}} 
[2026-09-10 02:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":176193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:47:42] local.INFO: GPS data processed {"connection_id":176193,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:47:42] local.INFO: Acknowledgment sent {"connection_id":176193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:47:51] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088078f80012cec1980072af008002701642f..."} 
[2026-09-10 02:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088078f80012cec1980072af008002701642f..."} 
[2026-09-10 02:47:51] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088078f80012cec1980072af008002701642f..."} 
[2026-09-10 02:47:51] local.INFO: Packet analysis {"connection_id":176193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08807"} 
[2026-09-10 02:47:51] local.INFO: Extracted packet for processing {"connection_id":176193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08807"} 
[2026-09-10 02:47:51] local.INFO: GPS Element Parsed {"raw_longitude":753670528,"raw_latitude":120254472,"longitude_deg":75.3670528,"latitude_deg":12.0254472,"altitude":39,"angle":356,"satellites":47,"speed":42,"hex_longitude":"2cec1980","hex_latitude":"072af008","is_valid_coordinates":true} 
[2026-09-10 02:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981077248001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403665035345264640,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1433129813139656704,"note":"Value kept but may cause issues"} 
[2026-09-10 02:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788988592000,"timestamp_ms":1788988592000,"timestamp_seconds":1788988592,"priority":1,"record_length":96,"hex_timestamp":"000001a088078f80"} 
[2026-09-10 02:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:47: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-09-10 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981077248001,"66":27321,"159":206,"83":44032,"24":42,"16":403665035345264640,"44":-1433129813139656704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-09-10 02:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981077248001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:47:51] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 02:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403665035345264640,"km_value":403665035345264.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1433129813139656704,"description":"Unknown IO ID 44"} 
[2026-09-10 02:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981077248001,"power":27321,"unknown_159":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1433129813139656704}} 
[2026-09-10 02:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":176193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:47:51] local.INFO: GPS data processed {"connection_id":176193,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:47:51] local.INFO: Acknowledgment sent {"connection_id":176193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:48:37] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:48:37] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:48:37] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:48:43] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:48:43] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:48:43] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:48:44] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088089150012ceb5d00072bf2a00026015630..."} 
[2026-09-10 02:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088089150012ceb5d00072bf2a00026015630..."} 
[2026-09-10 02:48:44] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088089150012ceb5d00072bf2a00026015630..."} 
[2026-09-10 02:48:44] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:48:44] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:48:44] local.INFO: GPS Element Parsed {"raw_longitude":753622272,"raw_latitude":120320672,"longitude_deg":75.3622272,"latitude_deg":12.0320672,"altitude":38,"angle":342,"satellites":48,"speed":49,"hex_longitude":"2ceb5d00","hex_latitude":"072bf2a0","is_valid_coordinates":true} 
[2026-09-10 02:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981095424001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403669051139686400,"note":"Value kept but may cause issues"} 
[2026-09-10 02:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484639733859432448,"note":"Value kept but may cause issues"} 
[2026-09-10 02:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788988658000,"timestamp_ms":1788988658000,"timestamp_seconds":1788988658,"priority":1,"record_length":96,"hex_timestamp":"000001a088089150"} 
[2026-09-10 02:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 02:48:44] 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-09-10 02:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981095424001,"66":27267,"101":206,"83":44032,"24":49,"16":403669051139686400,"44":-1484639733859432448},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981095424001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:48:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403669051139686400,"km_value":403669051139686.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484639733859432448,"description":"Unknown IO ID 44"} 
[2026-09-10 02:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981095424001,"power":27267,"unknown_101":206,"unknown_83":44032,"ignition":49,"odometer":null,"unknown_44":-1484639733859432448}} 
[2026-09-10 02:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:48:44] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:48:44] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:49:15] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08808b090012ceb4fc0072c16880027015930..."} 
[2026-09-10 02:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08808b090012ceb4fc0072c16880027015930..."} 
[2026-09-10 02:49:15] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08808b090012ceb4fc0072c16880027015930..."} 
[2026-09-10 02:49:15] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:49:15] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:49:15] local.INFO: GPS Element Parsed {"raw_longitude":753618880,"raw_latitude":120329864,"longitude_deg":75.361888,"latitude_deg":12.0329864,"altitude":39,"angle":345,"satellites":48,"speed":45,"hex_longitude":"2ceb4fc0","hex_latitude":"072c1688","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981096448001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403669523586088960,"note":"Value kept but may cause issues"} 
[2026-09-10 02:49:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487032271160303616,"note":"Value kept but may cause issues"} 
[2026-09-10 02:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788988666000,"timestamp_ms":1788988666000,"timestamp_seconds":1788988666,"priority":1,"record_length":96,"hex_timestamp":"000001a08808b090"} 
[2026-09-10 02:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02: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-09-10 02:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981096448001,"66":27213,"101":206,"83":44032,"24":45,"16":403669523586088960,"44":-1487032271160303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981096448001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:49:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403669523586088960,"km_value":403669523586088.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:49:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487032271160303616,"description":"Unknown IO ID 44"} 
[2026-09-10 02:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981096448001,"power":27213,"unknown_101":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-1487032271160303616}} 
[2026-09-10 02:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:49:15] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:49:15] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:49:37] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:49:37] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:49:37] local.INFO: IMEI packet received {"connection_id":175970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":175970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:49:42] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:49:42] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:49:42] local.INFO: IMEI packet received {"connection_id":175970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":175970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:49:43] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08808b860012ceb4e40072c1f280027016433..."} 
[2026-09-10 02:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08808b860012ceb4e40072c1f280027016433..."} 
[2026-09-10 02:49:43] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08808b860012ceb4e40072c1f280027016433..."} 
[2026-09-10 02:49:43] local.INFO: Packet analysis {"connection_id":175970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:49:43] local.INFO: Extracted packet for processing {"connection_id":175970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:49:43] local.INFO: GPS Element Parsed {"raw_longitude":753618496,"raw_latitude":120332072,"longitude_deg":75.3618496,"latitude_deg":12.0332072,"altitude":39,"angle":356,"satellites":51,"speed":44,"hex_longitude":"2ceb4e40","hex_latitude":"072c1f28","is_valid_coordinates":true} 
[2026-09-10 02:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981098496001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403669635255238656,"note":"Value kept but may cause issues"} 
[2026-09-10 02:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1490761814599366656,"note":"Value kept but may cause issues"} 
[2026-09-10 02:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788988668000,"timestamp_ms":1788988668000,"timestamp_seconds":1788988668,"priority":1,"record_length":96,"hex_timestamp":"000001a08808b860"} 
[2026-09-10 02:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981098496001,"66":27169,"101":206,"83":44032,"24":44,"16":403669635255238656,"44":-1490761814599366656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981098496001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:49:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403669635255238656,"km_value":403669635255238.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1490761814599366656,"description":"Unknown IO ID 44"} 
[2026-09-10 02:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981098496001,"power":27169,"unknown_101":206,"unknown_83":44032,"ignition":44,"odometer":null,"unknown_44":-1490761814599366656}} 
[2026-09-10 02:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":175970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:49:43] local.INFO: GPS data processed {"connection_id":175970,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:49:43] local.INFO: Acknowledgment sent {"connection_id":175970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:50:14] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08808d3b8012ceb4c00072c3d88002901542e..."} 
[2026-09-10 02:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08808d3b8012ceb4c00072c3d88002901542e..."} 
[2026-09-10 02:50:14] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08808d3b8012ceb4c00072c3d88002901542e..."} 
[2026-09-10 02:50:14] local.INFO: Packet analysis {"connection_id":175970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:50:14] local.INFO: Extracted packet for processing {"connection_id":175970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:50:14] local.INFO: GPS Element Parsed {"raw_longitude":753617920,"raw_latitude":120339848,"longitude_deg":75.361792,"latitude_deg":12.0339848,"altitude":41,"angle":340,"satellites":46,"speed":42,"hex_longitude":"2ceb4c00","hex_latitude":"072c3d88","is_valid_coordinates":true} 
[2026-09-10 02:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981099008001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403670013212360704,"note":"Value kept but may cause issues"} 
[2026-09-10 02:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1491184027063867392,"note":"Value kept but may cause issues"} 
[2026-09-10 02:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788988675000,"timestamp_ms":1788988675000,"timestamp_seconds":1788988675,"priority":1,"record_length":96,"hex_timestamp":"000001a08808d3b8"} 
[2026-09-10 02:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":33,"data_length":795,"current_offset":136} 
[2026-09-10 02:50:14] 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-09-10 02:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981099008001,"66":27169,"101":206,"83":44032,"24":42,"16":403670013212360704,"44":-1491184027063867392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981099008001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:50:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403670013212360704,"km_value":403670013212360.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1491184027063867392,"description":"Unknown IO ID 44"} 
[2026-09-10 02:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981099008001,"power":27169,"unknown_101":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1491184027063867392}} 
[2026-09-10 02:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":175970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:50:14] local.INFO: GPS data processed {"connection_id":175970,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:50:14] local.INFO: Acknowledgment sent {"connection_id":175970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:50:37] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:50:37] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:50:37] local.INFO: IMEI packet received {"connection_id":176195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":176195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:50:42] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:50:42] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:50:42] local.INFO: IMEI packet received {"connection_id":176195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":176195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:50:43] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08808d7a0012ceb4a40072c40e8002901482d..."} 
[2026-09-10 02:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08808d7a0012ceb4a40072c40e8002901482d..."} 
[2026-09-10 02:50:43] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08808d7a0012ceb4a40072c40e8002901482d..."} 
[2026-09-10 02:50:43] local.INFO: Packet analysis {"connection_id":176195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:50:43] local.INFO: Extracted packet for processing {"connection_id":176195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08808"} 
[2026-09-10 02:50:43] local.INFO: GPS Element Parsed {"raw_longitude":753617472,"raw_latitude":120340712,"longitude_deg":75.3617472,"latitude_deg":12.0340712,"altitude":41,"angle":328,"satellites":45,"speed":38,"hex_longitude":"2ceb4a40","hex_latitude":"072c40e8","is_valid_coordinates":true} 
[2026-09-10 02:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981100800001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403670060457000960,"note":"Value kept but may cause issues"} 
[2026-09-10 02:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1491817345759475712,"note":"Value kept but may cause issues"} 
[2026-09-10 02:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788988676000,"timestamp_ms":1788988676000,"timestamp_seconds":1788988676,"priority":1,"record_length":96,"hex_timestamp":"000001a08808d7a0"} 
[2026-09-10 02:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:50: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-09-10 02:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 02:50:43] 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-09-10 02:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981100800001,"66":27137,"101":206,"83":44032,"24":38,"16":403670060457000960,"44":-1491817345759475712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981100800001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:50:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403670060457000960,"km_value":403670060457000.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1491817345759475712,"description":"Unknown IO ID 44"} 
[2026-09-10 02:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981100800001,"power":27137,"unknown_101":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1491817345759475712}} 
[2026-09-10 02:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":176195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:50:43] local.INFO: GPS data processed {"connection_id":176195,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:50:43] local.INFO: Acknowledgment sent {"connection_id":176195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:51:14] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088090680012ceb3600072c5d400030014627..."} 
[2026-09-10 02:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088090680012ceb3600072c5d400030014627..."} 
[2026-09-10 02:51:14] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088090680012ceb3600072c5d400030014627..."} 
[2026-09-10 02:51:14] local.INFO: Packet analysis {"connection_id":176195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08809"} 
[2026-09-10 02:51:14] local.INFO: Extracted packet for processing {"connection_id":176195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08809"} 
[2026-09-10 02:51:14] local.INFO: GPS Element Parsed {"raw_longitude":753612288,"raw_latitude":120347968,"longitude_deg":75.3612288,"latitude_deg":12.0347968,"altitude":48,"angle":326,"satellites":39,"speed":23,"hex_longitude":"2ceb3600","hex_latitude":"072c5d40","is_valid_coordinates":true} 
[2026-09-10 02:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981101056001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403670489953730560,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492309926968498176,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788988688000,"timestamp_ms":1788988688000,"timestamp_seconds":1788988688,"priority":1,"record_length":96,"hex_timestamp":"000001a088090680"} 
[2026-09-10 02:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:51: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":1,"data_length":795,"current_offset":136} 
[2026-09-10 02:51:14] 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-09-10 02:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981101056001,"66":27332,"101":206,"83":44032,"24":23,"16":403670489953730560,"44":-1492309926968498176},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981101056001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:51:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403670489953730560,"km_value":403670489953730.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492309926968498176,"description":"Unknown IO ID 44"} 
[2026-09-10 02:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981101056001,"power":27332,"unknown_101":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1492309926968498176}} 
[2026-09-10 02:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":176195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:51:14] local.INFO: GPS data processed {"connection_id":176195,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:51:14] local.INFO: Acknowledgment sent {"connection_id":176195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:51:42] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:51:42] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:51:42] local.INFO: IMEI packet received {"connection_id":175971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":175971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:51:47] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:51:47] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:51:47] local.INFO: IMEI packet received {"connection_id":175971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":175971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:51:48] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088092d90012ceb27c0072c6fb80034013a2b..."} 
[2026-09-10 02:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088092d90012ceb27c0072c6fb80034013a2b..."} 
[2026-09-10 02:51:48] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088092d90012ceb27c0072c6fb80034013a2b..."} 
[2026-09-10 02:51:48] local.INFO: Packet analysis {"connection_id":175971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08809"} 
[2026-09-10 02:51:48] local.INFO: Extracted packet for processing {"connection_id":175971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08809"} 
[2026-09-10 02:51:48] local.INFO: GPS Element Parsed {"raw_longitude":753608640,"raw_latitude":120352696,"longitude_deg":75.360864,"latitude_deg":12.0352696,"altitude":52,"angle":314,"satellites":43,"speed":28,"hex_longitude":"2ceb27c0","hex_latitude":"072c6fb8","is_valid_coordinates":true} 
[2026-09-10 02:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981104128001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403670777716539392,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1498009795245031424,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788988698000,"timestamp_ms":1788988698000,"timestamp_seconds":1788988698,"priority":1,"record_length":96,"hex_timestamp":"000001a088092d90"} 
[2026-09-10 02:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 02:51:48] 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-09-10 02:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981104128001,"66":27745,"101":206,"83":44032,"24":28,"16":403670777716539392,"44":-1498009795245031424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981104128001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:51:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403670777716539392,"km_value":403670777716539.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1498009795245031424,"description":"Unknown IO ID 44"} 
[2026-09-10 02:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981104128001,"power":27745,"unknown_101":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1498009795245031424}} 
[2026-09-10 02:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":175971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:51:48] local.INFO: GPS data processed {"connection_id":175971,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:51:48] local.INFO: Acknowledgment sent {"connection_id":175971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:51:49] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088094cd0012ceb1700072c81980031013d2e..."} 
[2026-09-10 02:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088094cd0012ceb1700072c81980031013d2e..."} 
[2026-09-10 02:51:49] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088094cd0012ceb1700072c81980031013d2e..."} 
[2026-09-10 02:51:49] local.INFO: Packet analysis {"connection_id":175971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08809"} 
[2026-09-10 02:51:49] local.INFO: Extracted packet for processing {"connection_id":175971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08809"} 
[2026-09-10 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":753604352,"raw_latitude":120357272,"longitude_deg":75.3604352,"latitude_deg":12.0357272,"altitude":49,"angle":317,"satellites":46,"speed":30,"hex_longitude":"2ceb1700","hex_latitude":"072c8198","is_valid_coordinates":true} 
[2026-09-10 02:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981106688001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403671078364250112,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1502020813661947904,"note":"Value kept but may cause issues"} 
[2026-09-10 02:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788988706000,"timestamp_ms":1788988706000,"timestamp_seconds":1788988706,"priority":1,"record_length":96,"hex_timestamp":"000001a088094cd0"} 
[2026-09-10 02:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 02:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981106688001,"66":27800,"101":206,"83":44032,"24":30,"16":403671078364250112,"44":-1502020813661947904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-10 02:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981106688001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:51:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 02:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403671078364250112,"km_value":403671078364250.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1502020813661947904,"description":"Unknown IO ID 44"} 
[2026-09-10 02:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981106688001,"power":27800,"unknown_101":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1502020813661947904}} 
[2026-09-10 02:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":175971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:51:49] local.INFO: GPS data processed {"connection_id":175971,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:51:49] local.INFO: Acknowledgment sent {"connection_id":175971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:52:20] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0880b6bc8012ceb0980072c90b0003f013a31..."} 
[2026-09-10 02:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880b6bc8012ceb0980072c90b0003f013a31..."} 
[2026-09-10 02:52:20] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880b6bc8012ceb0980072c90b0003f013a31..."} 
[2026-09-10 02:52:20] local.INFO: Packet analysis {"connection_id":175971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0880b"} 
[2026-09-10 02:52:20] local.INFO: Extracted packet for processing {"connection_id":175971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0880b"} 
[2026-09-10 02:52:20] local.INFO: GPS Element Parsed {"raw_longitude":753600896,"raw_latitude":120361136,"longitude_deg":75.3600896,"latitude_deg":12.0361136,"altitude":63,"angle":314,"satellites":49,"speed":0,"hex_longitude":"2ceb0980","hex_latitude":"072c90b0","is_valid_coordinates":true} 
[2026-09-10 02:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981108736001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403671078364250112,"note":"Value kept but may cause issues"} 
[2026-09-10 02:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1506735519520679936,"note":"Value kept but may cause issues"} 
[2026-09-10 02:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788988845000,"timestamp_ms":1788988845000,"timestamp_seconds":1788988845,"priority":1,"record_length":96,"hex_timestamp":"000001a0880b6bc8"} 
[2026-09-10 02:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:52: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-09-10 02:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 02:52: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-09-10 02:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981108736001,"66":26223,"202":206,"83":44032,"24":0,"16":403671078364250112,"44":-1506735519520679936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-10 02:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981108736001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403671078364250112,"km_value":403671078364250.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1506735519520679936,"description":"Unknown IO ID 44"} 
[2026-09-10 02:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981108736001,"power":26223,"mcc":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1506735519520679936}} 
[2026-09-10 02:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":175971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:52:20] local.INFO: GPS data processed {"connection_id":175971,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:52:20] local.INFO: Acknowledgment sent {"connection_id":175971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:52:36] local.INFO: TCP Data received {"connection_id":177372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:36] local.INFO: Processing buffer {"connection_id":177372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:36] local.INFO: IMEI packet received {"connection_id":177372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":177372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:52:37] local.INFO: TCP Data received {"connection_id":177372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:37] local.INFO: Processing buffer {"connection_id":177372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:37] local.INFO: IMEI packet received {"connection_id":177372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":177372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:52:42] local.INFO: TCP Data received {"connection_id":177372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:42] local.INFO: Processing buffer {"connection_id":177372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:52:42] local.INFO: IMEI packet received {"connection_id":177372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":177372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:52:44] local.INFO: TCP Data received {"connection_id":177372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0880bcd70012ceb0a80072c9468003f013a33..."} 
[2026-09-10 02:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880bcd70012ceb0a80072c9468003f013a33..."} 
[2026-09-10 02:52:44] local.INFO: Processing buffer {"connection_id":177372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880bcd70012ceb0a80072c9468003f013a33..."} 
[2026-09-10 02:52:44] local.INFO: Packet analysis {"connection_id":177372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0880b"} 
[2026-09-10 02:52:44] local.INFO: Extracted packet for processing {"connection_id":177372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0880b"} 
[2026-09-10 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":753601152,"raw_latitude":120362088,"longitude_deg":75.3601152,"latitude_deg":12.0362088,"altitude":63,"angle":314,"satellites":51,"speed":0,"hex_longitude":"2ceb0a80","hex_latitude":"072c9468","is_valid_coordinates":true} 
[2026-09-10 02:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981144320001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403671078364250112,"note":"Value kept but may cause issues"} 
[2026-09-10 02:52:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510535431705284608,"note":"Value kept but may cause issues"} 
[2026-09-10 02:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788988870000,"timestamp_ms":1788988870000,"timestamp_seconds":1788988870,"priority":1,"record_length":96,"hex_timestamp":"000001a0880bcd70"} 
[2026-09-10 02:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 02:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981144320001,"66":27267,"202":206,"83":44032,"24":0,"16":403671078364250112,"44":-1510535431705284608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-10 02:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981144320001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403671078364250112,"km_value":403671078364250.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:52:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510535431705284608,"description":"Unknown IO ID 44"} 
[2026-09-10 02:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981144320001,"power":27267,"mcc":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1510535431705284608}} 
[2026-09-10 02:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":177372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:52:44] local.INFO: GPS data processed {"connection_id":177372,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:52:44] local.INFO: Acknowledgment sent {"connection_id":177372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:53:15] local.INFO: TCP Data received {"connection_id":177372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0880c1f78012ceb0a00072c94f80043015a32..."} 
[2026-09-10 02:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0880c1f78012ceb0a00072c94f80043015a32..."} 
[2026-09-10 02:53:16] local.INFO: Processing buffer {"connection_id":177372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0880c1f78012ceb0a00072c94f80043015a32..."} 
[2026-09-10 02:53:16] local.INFO: Packet analysis {"connection_id":177372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0880c"} 
[2026-09-10 02:53:16] local.INFO: Extracted packet for processing {"connection_id":177372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0880c"} 
[2026-09-10 02:53:16] local.INFO: GPS Element Parsed {"raw_longitude":753601024,"raw_latitude":120362232,"longitude_deg":75.3601024,"latitude_deg":12.0362232,"altitude":67,"angle":346,"satellites":50,"speed":6,"hex_longitude":"2ceb0a00","hex_latitude":"072c94f8","is_valid_coordinates":true} 
[2026-09-10 02:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981150720001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403671086954184704,"note":"Value kept but may cause issues"} 
[2026-09-10 02:53:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510253956728330240,"note":"Value kept but may cause issues"} 
[2026-09-10 02:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788988891000,"timestamp_ms":1788988891000,"timestamp_seconds":1788988891,"priority":1,"record_length":96,"hex_timestamp":"000001a0880c1f78"} 
[2026-09-10 02:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 02:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981150720001,"66":27321,"202":206,"83":44032,"24":6,"16":403671086954184704,"44":-1510253956728330240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-10 02:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981150720001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403671086954184704,"km_value":403671086954184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:53:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510253956728330240,"description":"Unknown IO ID 44"} 
[2026-09-10 02:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981150720001,"power":27321,"mcc":206,"unknown_83":44032,"ignition":6,"odometer":null,"unknown_44":-1510253956728330240}} 
[2026-09-10 02:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":177372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:53:16] local.INFO: GPS data processed {"connection_id":177372,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:53:16] local.INFO: Acknowledgment sent {"connection_id":177372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:53:34] local.INFO: TCP Data received {"connection_id":176196,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:34] local.INFO: Processing buffer {"connection_id":176196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:34] local.INFO: IMEI packet received {"connection_id":176196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":176196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:53:35] local.INFO: TCP Data received {"connection_id":176196,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:35] local.INFO: Processing buffer {"connection_id":176196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:35] local.INFO: IMEI packet received {"connection_id":176196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":176196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:53:36] local.INFO: TCP Data received {"connection_id":176196,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:36] local.INFO: Processing buffer {"connection_id":176196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:36] local.INFO: IMEI packet received {"connection_id":176196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":176196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:53:37] local.INFO: TCP Data received {"connection_id":176196,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:37] local.INFO: Processing buffer {"connection_id":176196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:53:37] local.INFO: IMEI packet received {"connection_id":176196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":176196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:58:42] local.INFO: TCP Data received {"connection_id":175972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:58:42] local.INFO: Processing buffer {"connection_id":175972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:58:42] local.INFO: IMEI packet received {"connection_id":175972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":175972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:58:43] local.INFO: TCP Data received {"connection_id":175972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08810d680012ced4200072db7500048003a32..."} 
[2026-09-10 02:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08810d680012ced4200072db7500048003a32..."} 
[2026-09-10 02:58:43] local.INFO: Processing buffer {"connection_id":175972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08810d680012ced4200072db7500048003a32..."} 
[2026-09-10 02:58:43] local.INFO: Packet analysis {"connection_id":175972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08810"} 
[2026-09-10 02:58:43] local.INFO: Extracted packet for processing {"connection_id":175972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08810"} 
[2026-09-10 02:58:43] local.INFO: GPS Element Parsed {"raw_longitude":753746432,"raw_latitude":120436560,"longitude_deg":75.3746432,"latitude_deg":12.043656,"altitude":72,"angle":58,"satellites":50,"speed":31,"hex_longitude":"2ced4200","hex_latitude":"072db750","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981231616001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403684461482344448,"note":"Value kept but may cause issues"} 
[2026-09-10 02:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359875950402748416,"note":"Value kept but may cause issues"} 
[2026-09-10 02:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989200000,"timestamp_ms":1788989200000,"timestamp_seconds":1788989200,"priority":1,"record_length":96,"hex_timestamp":"000001a08810d680"} 
[2026-09-10 02:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 02:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02: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-09-10 02:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981231616001,"66":27267,"110":206,"83":44032,"24":31,"16":403684461482344448,"44":-1359875950402748416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 02:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981231616001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:58:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 02:58:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403684461482344448,"km_value":403684461482344.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359875950402748416,"description":"Unknown IO ID 44"} 
[2026-09-10 02:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981231616001,"power":27267,"unknown_110":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1359875950402748416}} 
[2026-09-10 02:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":175972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:58:43] local.INFO: GPS data processed {"connection_id":175972,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:58:43] local.INFO: Acknowledgment sent {"connection_id":175972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:59:14] local.INFO: TCP Data received {"connection_id":175972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088127490012cee6f40072e2d600031009430..."} 
[2026-09-10 02:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088127490012cee6f40072e2d600031009430..."} 
[2026-09-10 02:59:14] local.INFO: Processing buffer {"connection_id":175972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088127490012cee6f40072e2d600031009430..."} 
[2026-09-10 02:59:14] local.INFO: Packet analysis {"connection_id":175972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 02:59:14] local.INFO: Extracted packet for processing {"connection_id":175972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 02:59:14] local.INFO: GPS Element Parsed {"raw_longitude":753823552,"raw_latitude":120466784,"longitude_deg":75.3823552,"latitude_deg":12.0466784,"altitude":49,"angle":148,"satellites":48,"speed":10,"hex_longitude":"2cee6f40","hex_latitude":"072e2d60","is_valid_coordinates":true} 
[2026-09-10 02:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 02:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981261824001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688511636504576,"note":"Value kept but may cause issues"} 
[2026-09-10 02:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266074414404917248,"note":"Value kept but may cause issues"} 
[2026-09-10 02:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788989306000,"timestamp_ms":1788989306000,"timestamp_seconds":1788989306,"priority":1,"record_length":96,"hex_timestamp":"000001a088127490"} 
[2026-09-10 02:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-09-10 02:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 02:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981261824001,"66":27713,"219":206,"83":44032,"24":10,"16":403688511636504576,"44":-1266074414404917248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 02:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981261824001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:59:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 02:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688511636504576,"km_value":403688511636504.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266074414404917248,"description":"Unknown IO ID 44"} 
[2026-09-10 02:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981261824001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":10,"odometer":null,"unknown_44":-1266074414404917248}} 
[2026-09-10 02:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":175972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:59:14] local.INFO: GPS data processed {"connection_id":175972,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:59:14] local.INFO: Acknowledgment sent {"connection_id":175972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 02:59:37] local.INFO: TCP Data received {"connection_id":178755,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:59:37] local.INFO: Processing buffer {"connection_id":178755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:59:37] local.INFO: IMEI packet received {"connection_id":178755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 02:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":178755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 02:59:42] local.INFO: TCP Data received {"connection_id":178755,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:59:42] local.INFO: Processing buffer {"connection_id":178755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 02:59:42] local.INFO: IMEI packet received {"connection_id":178755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 02:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":178755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 02:59:43] local.INFO: TCP Data received {"connection_id":178755,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088127c60012cee7080072e2c000032007b2e..."} 
[2026-09-10 02:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088127c60012cee7080072e2c000032007b2e..."} 
[2026-09-10 02:59:43] local.INFO: Processing buffer {"connection_id":178755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088127c60012cee7080072e2c000032007b2e..."} 
[2026-09-10 02:59:43] local.INFO: Packet analysis {"connection_id":178755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 02:59:43] local.INFO: Extracted packet for processing {"connection_id":178755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 02:59:43] local.INFO: GPS Element Parsed {"raw_longitude":753823872,"raw_latitude":120466432,"longitude_deg":75.3823872,"latitude_deg":12.0466432,"altitude":50,"angle":123,"satellites":46,"speed":7,"hex_longitude":"2cee7080","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-09-10 02: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-09-10 02:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981262336001,"note":"Value kept but may cause issues"} 
[2026-09-10 02:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688537406308352,"note":"Value kept but may cause issues"} 
[2026-09-10 02:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265722570684145664,"note":"Value kept but may cause issues"} 
[2026-09-10 02:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 02:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989308000,"timestamp_ms":1788989308000,"timestamp_seconds":1788989308,"priority":1,"record_length":96,"hex_timestamp":"000001a088127c60"} 
[2026-09-10 02:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 02:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 02: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 02:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 02: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-09-10 02:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 02:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 02:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 02:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 02:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 02:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 02:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 02:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981262336001,"66":27517,"219":206,"83":44032,"24":7,"16":403688537406308352,"44":-1265722570684145664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 02:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 02:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 02:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981262336001,"description":"Unknown IO ID 0"} 
[2026-09-10 02:59:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 02:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 02:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688537406308352,"km_value":403688537406308.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 02:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265722570684145664,"description":"Unknown IO ID 44"} 
[2026-09-10 02:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981262336001,"power":27517,"unknown_219":206,"unknown_83":44032,"ignition":7,"odometer":null,"unknown_44":-1265722570684145664}} 
[2026-09-10 02:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":178755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 02:59:43] local.INFO: GPS data processed {"connection_id":178755,"processed":1,"errors":0,"total":1} 
[2026-09-10 02:59:43] local.INFO: Acknowledgment sent {"connection_id":178755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:00:13] local.INFO: TCP Data received {"connection_id":178755,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088128048012cee7140072e2ba00032006b2e..."} 
[2026-09-10 03:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088128048012cee7140072e2ba00032006b2e..."} 
[2026-09-10 03:00:13] local.INFO: Processing buffer {"connection_id":178755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088128048012cee7140072e2ba00032006b2e..."} 
[2026-09-10 03:00:13] local.INFO: Packet analysis {"connection_id":178755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 03:00:13] local.INFO: Extracted packet for processing {"connection_id":178755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 03:00:13] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466336,"longitude_deg":75.3824064,"latitude_deg":12.0466336,"altitude":50,"angle":107,"satellites":46,"speed":7,"hex_longitude":"2cee7140","hex_latitude":"072e2ba0","is_valid_coordinates":true} 
[2026-09-10 03:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981262848001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688545996242944,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265370726963347456,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788989309000,"timestamp_ms":1788989309000,"timestamp_seconds":1788989309,"priority":1,"record_length":96,"hex_timestamp":"000001a088128048"} 
[2026-09-10 03:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:00: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-09-10 03: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 03:00:13] 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-09-10 03:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981262848001,"66":27517,"219":206,"83":44032,"24":7,"16":403688545996242944,"44":-1265370726963347456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981262848001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:00:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688545996242944,"km_value":403688545996242.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265370726963347456,"description":"Unknown IO ID 44"} 
[2026-09-10 03:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981262848001,"power":27517,"unknown_219":206,"unknown_83":44032,"ignition":7,"odometer":null,"unknown_44":-1265370726963347456}} 
[2026-09-10 03:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":178755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:00:13] local.INFO: GPS data processed {"connection_id":178755,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:00:13] local.INFO: Acknowledgment sent {"connection_id":178755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:00:42] local.INFO: TCP Data received {"connection_id":178756,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:00:42] local.INFO: Processing buffer {"connection_id":178756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:00:42] local.INFO: IMEI packet received {"connection_id":178756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":178756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:00:47] local.INFO: TCP Data received {"connection_id":178756,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:00:47] local.INFO: Processing buffer {"connection_id":178756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:00:47] local.INFO: IMEI packet received {"connection_id":178756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":178756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:00:48] local.INFO: TCP Data received {"connection_id":178756,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08812d250012cee7200072e2c080034006b30..."} 
[2026-09-10 03:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08812d250012cee7200072e2c080034006b30..."} 
[2026-09-10 03:00:48] local.INFO: Processing buffer {"connection_id":178756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08812d250012cee7200072e2c080034006b30..."} 
[2026-09-10 03:00:48] local.INFO: Packet analysis {"connection_id":178756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 03:00:48] local.INFO: Extracted packet for processing {"connection_id":178756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08812"} 
[2026-09-10 03:00:48] local.INFO: GPS Element Parsed {"raw_longitude":753824256,"raw_latitude":120466440,"longitude_deg":75.3824256,"latitude_deg":12.046644,"altitude":52,"angle":107,"satellites":48,"speed":2,"hex_longitude":"2cee7200","hex_latitude":"072e2c08","is_valid_coordinates":true} 
[2026-09-10 03:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981263104001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688619010686976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730839040,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788989330000,"timestamp_ms":1788989330000,"timestamp_seconds":1788989330,"priority":1,"record_length":96,"hex_timestamp":"000001a08812d250"} 
[2026-09-10 03:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 03:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 03:00:48] 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-09-10 03:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981263104001,"66":27865,"219":206,"83":44032,"24":2,"16":403688619010686976,"44":-1265159620730839040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981263104001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688619010686976,"km_value":403688619010687.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730839040,"description":"Unknown IO ID 44"} 
[2026-09-10 03:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981263104001,"power":27865,"unknown_219":206,"unknown_83":44032,"ignition":2,"odometer":null,"unknown_44":-1265159620730839040}} 
[2026-09-10 03:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":178756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:00:48] local.INFO: GPS data processed {"connection_id":178756,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:00:48] local.INFO: Acknowledgment sent {"connection_id":178756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:00:48] local.INFO: TCP Data received {"connection_id":178756,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088132458012cee7140072e2bd80034006b33..."} 
[2026-09-10 03:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088132458012cee7140072e2bd80034006b33..."} 
[2026-09-10 03:00:48] local.INFO: Processing buffer {"connection_id":178756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088132458012cee7140072e2bd80034006b33..."} 
[2026-09-10 03:00:48] local.INFO: Packet analysis {"connection_id":178756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08813"} 
[2026-09-10 03:00:48] local.INFO: Extracted packet for processing {"connection_id":178756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08813"} 
[2026-09-10 03:00:48] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":51,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981268480001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498279424,"note":"Value kept but may cause issues"} 
[2026-09-10 03:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788989351000,"timestamp_ms":1788989351000,"timestamp_seconds":1788989351,"priority":1,"record_length":96,"hex_timestamp":"000001a088132458"} 
[2026-09-10 03:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:00: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-09-10 03:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 03:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981268480001,"66":27832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1264948514498279424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981268480001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:00:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498279424,"description":"Unknown IO ID 44"} 
[2026-09-10 03:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981268480001,"power":27832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498279424}} 
[2026-09-10 03:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":178756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:00:48] local.INFO: GPS data processed {"connection_id":178756,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:00:48] local.INFO: Acknowledgment sent {"connection_id":178756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:01:19] local.INFO: TCP Data received {"connection_id":178756,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088137660012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088137660012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:01:19] local.INFO: Processing buffer {"connection_id":178756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088137660012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:01:19] local.INFO: Packet analysis {"connection_id":178756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08813"} 
[2026-09-10 03:01:19] local.INFO: Extracted packet for processing {"connection_id":178756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08813"} 
[2026-09-10 03:01:19] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981273856001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788989372000,"timestamp_ms":1788989372000,"timestamp_seconds":1788989372,"priority":1,"record_length":96,"hex_timestamp":"000001a088137660"} 
[2026-09-10 03:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:01: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-09-10 03: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:01:19] 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-09-10 03:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981273856001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981273856001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:01:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981273856001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":178756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:01:19] local.INFO: GPS data processed {"connection_id":178756,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:01:19] local.INFO: Acknowledgment sent {"connection_id":178756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:01:37] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:01:37] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:01:37] local.INFO: IMEI packet received {"connection_id":176198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":176198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:01:42] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:01:42] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:01:42] local.INFO: IMEI packet received {"connection_id":176198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":176198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:01:43] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08813c868012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08813c868012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:01:43] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08813c868012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:01:43] local.INFO: Packet analysis {"connection_id":176198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08813"} 
[2026-09-10 03:01:43] local.INFO: Extracted packet for processing {"connection_id":176198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08813"} 
[2026-09-10 03:01:43] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981279232001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989393000,"timestamp_ms":1788989393000,"timestamp_seconds":1788989393,"priority":1,"record_length":96,"hex_timestamp":"000001a08813c868"} 
[2026-09-10 03:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 03:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981279232001,"66":27658,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981279232001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:01:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:01:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981279232001,"power":27658,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":176198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:01:43] local.INFO: GPS data processed {"connection_id":176198,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:01:43] local.INFO: Acknowledgment sent {"connection_id":176198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:02:14] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a088140ad0012cee7140072e2bd80034006b30..."} 
[2026-09-10 03:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088140ad0012cee7140072e2bd80034006b30..."} 
[2026-09-10 03:02:14] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088140ad0012cee7140072e2bd80034006b30..."} 
[2026-09-10 03:02:14] local.INFO: Packet analysis {"connection_id":176198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:02:14] local.INFO: Extracted packet for processing {"connection_id":176198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:02:14] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981284608001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788989410000,"timestamp_ms":1788989410000,"timestamp_seconds":1788989410,"priority":1,"record_length":96,"hex_timestamp":"000001a088140ad0"} 
[2026-09-10 03:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 03:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 03:02:14] 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-09-10 03:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981284608001,"66":27832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981284608001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:02:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981284608001,"power":27832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":176198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:02:14] local.INFO: GPS data processed {"connection_id":176198,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:02:14] local.INFO: Acknowledgment sent {"connection_id":176198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:02:37] local.INFO: TCP Data received {"connection_id":178757,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:02:37] local.INFO: Processing buffer {"connection_id":178757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:02:37] local.INFO: IMEI packet received {"connection_id":178757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":178757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:02:42] local.INFO: TCP Data received {"connection_id":178757,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:02:42] local.INFO: Processing buffer {"connection_id":178757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:02:42] local.INFO: IMEI packet received {"connection_id":178757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":178757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:02:43] local.INFO: TCP Data received {"connection_id":178757,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:02:43] local.INFO: Processing buffer {"connection_id":178757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:02:43] local.INFO: Packet analysis {"connection_id":178757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:02:43] local.INFO: Extracted packet for processing {"connection_id":178757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:02:43] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981288960001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989414000,"timestamp_ms":1788989414000,"timestamp_seconds":1788989414,"priority":1,"record_length":96,"hex_timestamp":"000001a088141a70"} 
[2026-09-10 03:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:02:43] 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-09-10 03:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981288960001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981288960001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:02:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:02:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981288960001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":178757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:02:43] local.INFO: GPS data processed {"connection_id":178757,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:02:43] local.INFO: Acknowledgment sent {"connection_id":178757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:03:14] local.INFO: TCP Data received {"connection_id":178757,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:03:14] local.INFO: Processing buffer {"connection_id":178757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:03:14] local.INFO: Packet analysis {"connection_id":178757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:03:14] local.INFO: Extracted packet for processing {"connection_id":178757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:03:14] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981288960001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:03:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788989414000,"timestamp_ms":1788989414000,"timestamp_seconds":1788989414,"priority":1,"record_length":96,"hex_timestamp":"000001a088141a70"} 
[2026-09-10 03:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981288960001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981288960001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:03:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:03:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981288960001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":178757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:03:14] local.INFO: GPS data processed {"connection_id":178757,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:03:14] local.INFO: Acknowledgment sent {"connection_id":178757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:03:37] local.INFO: TCP Data received {"connection_id":178758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:03:37] local.INFO: Processing buffer {"connection_id":178758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:03:37] local.INFO: IMEI packet received {"connection_id":178758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":178758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:03:42] local.INFO: TCP Data received {"connection_id":178758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:03:42] local.INFO: Processing buffer {"connection_id":178758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:03:42] local.INFO: IMEI packet received {"connection_id":178758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":178758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:03:43] local.INFO: TCP Data received {"connection_id":178758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:03:43] local.INFO: Processing buffer {"connection_id":178758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:03:43] local.INFO: Packet analysis {"connection_id":178758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:03:43] local.INFO: Extracted packet for processing {"connection_id":178758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:03:43] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981288960001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989414000,"timestamp_ms":1788989414000,"timestamp_seconds":1788989414,"priority":1,"record_length":96,"hex_timestamp":"000001a088141a70"} 
[2026-09-10 03:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:03:43] 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-09-10 03:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981288960001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981288960001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:03:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981288960001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":178758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:03:43] local.INFO: GPS data processed {"connection_id":178758,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:03:43] local.INFO: Acknowledgment sent {"connection_id":178758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:04:19] local.INFO: TCP Data received {"connection_id":178758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:04:19] local.INFO: Processing buffer {"connection_id":178758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:04:19] local.INFO: Packet analysis {"connection_id":178758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:04:19] local.INFO: Extracted packet for processing {"connection_id":178758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:04:19] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981288960001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788989414000,"timestamp_ms":1788989414000,"timestamp_seconds":1788989414,"priority":1,"record_length":96,"hex_timestamp":"000001a088141a70"} 
[2026-09-10 03:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:04:19] 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-09-10 03:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981288960001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981288960001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:04:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981288960001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":178758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:04:19] local.INFO: GPS data processed {"connection_id":178758,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:04:19] local.INFO: Acknowledgment sent {"connection_id":178758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:04:37] local.INFO: TCP Data received {"connection_id":176199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:04:37] local.INFO: Processing buffer {"connection_id":176199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:04:37] local.INFO: IMEI packet received {"connection_id":176199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":176199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:04:42] local.INFO: TCP Data received {"connection_id":176199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:04:42] local.INFO: Processing buffer {"connection_id":176199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:04:42] local.INFO: IMEI packet received {"connection_id":176199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":176199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:04:43] local.INFO: TCP Data received {"connection_id":176199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:04:43] local.INFO: Processing buffer {"connection_id":176199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:04:43] local.INFO: Packet analysis {"connection_id":176199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:04:43] local.INFO: Extracted packet for processing {"connection_id":176199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:04:43] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981288960001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989414000,"timestamp_ms":1788989414000,"timestamp_seconds":1788989414,"priority":1,"record_length":96,"hex_timestamp":"000001a088141a70"} 
[2026-09-10 03:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:04:43] 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-09-10 03: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-09-10 03:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981288960001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981288960001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:04:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981288960001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":176199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:04:43] local.INFO: GPS data processed {"connection_id":176199,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:04:43] local.INFO: Acknowledgment sent {"connection_id":176199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:05:15] local.INFO: TCP Data received {"connection_id":176199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:05:15] local.INFO: Processing buffer {"connection_id":176199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:05:15] local.INFO: Packet analysis {"connection_id":176199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:05:15] local.INFO: Extracted packet for processing {"connection_id":176199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:05:15] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981288960001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788989414000,"timestamp_ms":1788989414000,"timestamp_seconds":1788989414,"priority":1,"record_length":96,"hex_timestamp":"000001a088141a70"} 
[2026-09-10 03:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981288960001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981288960001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:05:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981288960001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":176199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:05:15] local.INFO: GPS data processed {"connection_id":176199,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:05:15] local.INFO: Acknowledgment sent {"connection_id":176199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:05:37] local.INFO: TCP Data received {"connection_id":178759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:05:37] local.INFO: Processing buffer {"connection_id":178759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:05:37] local.INFO: IMEI packet received {"connection_id":178759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":178759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:05:42] local.INFO: TCP Data received {"connection_id":178759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:05:42] local.INFO: Processing buffer {"connection_id":178759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:05:42] local.INFO: IMEI packet received {"connection_id":178759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":178759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:05:43] local.INFO: TCP Data received {"connection_id":178759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:05:43] local.INFO: Processing buffer {"connection_id":178759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088141a70012cee7140072e2bd80034006b31..."} 
[2026-09-10 03:05:43] local.INFO: Packet analysis {"connection_id":178759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:05:43] local.INFO: Extracted packet for processing {"connection_id":178759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08814"} 
[2026-09-10 03:05:43] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466392,"longitude_deg":75.3824064,"latitude_deg":12.0466392,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2bd8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981288960001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989414000,"timestamp_ms":1788989414000,"timestamp_seconds":1788989414,"priority":1,"record_length":96,"hex_timestamp":"000001a088141a70"} 
[2026-09-10 03:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":184,"data_length":795,"current_offset":136} 
[2026-09-10 03:05:43] 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-09-10 03: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-09-10 03:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981288960001,"66":27213,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981288960001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:05:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:05:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981288960001,"power":27213,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":178759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:05:43] local.INFO: GPS data processed {"connection_id":178759,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:05:43] local.INFO: Acknowledgment sent {"connection_id":178759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:06:14] local.INFO: TCP Data received {"connection_id":178759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:06:14] local.INFO: Processing buffer {"connection_id":178759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:06:14] local.INFO: Packet analysis {"connection_id":178759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:06:14] local.INFO: Extracted packet for processing {"connection_id":178759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:06:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:06:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":178759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:06:14] local.INFO: GPS data processed {"connection_id":178759,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:06:14] local.INFO: Acknowledgment sent {"connection_id":178759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:06:37] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:06:37] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:06:37] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:06:42] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:06:42] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:06:42] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:06:43] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:06:43] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:06:43] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:06:43] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:06:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:06:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:06:43] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:06:43] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:07:15] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:07:15] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:07:15] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:07:15] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:07:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:07:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:07:15] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:07:15] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:07:37] local.INFO: TCP Data received {"connection_id":178760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:07:37] local.INFO: Processing buffer {"connection_id":178760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:07:37] local.INFO: IMEI packet received {"connection_id":178760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":178760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:07:42] local.INFO: TCP Data received {"connection_id":178760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:07:42] local.INFO: Processing buffer {"connection_id":178760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:07:42] local.INFO: IMEI packet received {"connection_id":178760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":178760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:07:43] local.INFO: TCP Data received {"connection_id":178760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:07:43] local.INFO: Processing buffer {"connection_id":178760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:07:43] local.INFO: Packet analysis {"connection_id":178760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:07:43] local.INFO: Extracted packet for processing {"connection_id":178760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:07:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:07:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:07:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":178760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:07:43] local.INFO: GPS data processed {"connection_id":178760,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:07:43] local.INFO: Acknowledgment sent {"connection_id":178760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:08:15] local.INFO: TCP Data received {"connection_id":178760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:08:15] local.INFO: Processing buffer {"connection_id":178760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:08:15] local.INFO: Packet analysis {"connection_id":178760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:08:15] local.INFO: Extracted packet for processing {"connection_id":178760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:08:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:08:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":178760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:08:15] local.INFO: GPS data processed {"connection_id":178760,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:08:15] local.INFO: Acknowledgment sent {"connection_id":178760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:08:37] local.INFO: TCP Data received {"connection_id":177373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:08:37] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:08:37] local.INFO: IMEI packet received {"connection_id":177373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":177373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:08:42] local.INFO: TCP Data received {"connection_id":177373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:08:42] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:08:42] local.INFO: IMEI packet received {"connection_id":177373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":177373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:08:43] local.INFO: TCP Data received {"connection_id":177373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:08:43] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:08:43] local.INFO: Packet analysis {"connection_id":177373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:08:43] local.INFO: Extracted packet for processing {"connection_id":177373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:08:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:08:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:08:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":177373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:08:43] local.INFO: GPS data processed {"connection_id":177373,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:08:43] local.INFO: Acknowledgment sent {"connection_id":177373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:09:15] local.INFO: TCP Data received {"connection_id":177373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:09:15] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:09:15] local.INFO: Packet analysis {"connection_id":177373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:09:15] local.INFO: Extracted packet for processing {"connection_id":177373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:09:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:09:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":177373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:09:15] local.INFO: GPS data processed {"connection_id":177373,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:09:15] local.INFO: Acknowledgment sent {"connection_id":177373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:09:37] local.INFO: TCP Data received {"connection_id":178761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:09:37] local.INFO: Processing buffer {"connection_id":178761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:09:37] local.INFO: IMEI packet received {"connection_id":178761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":178761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:09:42] local.INFO: TCP Data received {"connection_id":178761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:09:42] local.INFO: Processing buffer {"connection_id":178761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:09:42] local.INFO: IMEI packet received {"connection_id":178761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":178761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:09:42] local.INFO: TCP Data received {"connection_id":178761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:09:42] local.INFO: Processing buffer {"connection_id":178761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:09:42] local.INFO: Packet analysis {"connection_id":178761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:09:42] local.INFO: Extracted packet for processing {"connection_id":178761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:09:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:09:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":178761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:09:42] local.INFO: GPS data processed {"connection_id":178761,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:09:42] local.INFO: Acknowledgment sent {"connection_id":178761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:10:13] local.INFO: TCP Data received {"connection_id":178761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:10:13] local.INFO: Processing buffer {"connection_id":178761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:10:13] local.INFO: Packet analysis {"connection_id":178761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:10:13] local.INFO: Extracted packet for processing {"connection_id":178761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:10:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:10: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-09-10 03:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:10: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-09-10 03:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:10:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":178761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:10:13] local.INFO: GPS data processed {"connection_id":178761,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:10:13] local.INFO: Acknowledgment sent {"connection_id":178761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:10:37] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:10:37] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:10:37] local.INFO: IMEI packet received {"connection_id":177374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":177374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:10:42] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:10:42] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:10:42] local.INFO: IMEI packet received {"connection_id":177374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":177374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:10:42] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:10:42] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08818b238012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:10:42] local.INFO: Packet analysis {"connection_id":177374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:10:42] local.INFO: Extracted packet for processing {"connection_id":177374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08818"} 
[2026-09-10 03:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981289984001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730824704,"note":"Value kept but may cause issues"} 
[2026-09-10 03:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788989715000,"timestamp_ms":1788989715000,"timestamp_seconds":1788989715,"priority":1,"record_length":96,"hex_timestamp":"000001a08818b238"} 
[2026-09-10 03:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 03:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981289984001,"66":26452,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730824704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981289984001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:10:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730824704,"description":"Unknown IO ID 44"} 
[2026-09-10 03:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981289984001,"power":26452,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730824704}} 
[2026-09-10 03:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":177374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:10:42] local.INFO: GPS data processed {"connection_id":177374,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:10:42] local.INFO: Acknowledgment sent {"connection_id":177374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:11:13] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:11:13] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:11:13] local.INFO: Packet analysis {"connection_id":177374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:11:13] local.INFO: Extracted packet for processing {"connection_id":177374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:11:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:11:13] 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-09-10 03:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:11: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-09-10 03:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:11:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":177374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:11:13] local.INFO: GPS data processed {"connection_id":177374,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:11:13] local.INFO: Acknowledgment sent {"connection_id":177374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:11:37] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:11:37] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:11:37] local.INFO: IMEI packet received {"connection_id":176200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":176200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:11:42] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:11:42] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:11:42] local.INFO: IMEI packet received {"connection_id":176200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:11:43] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:11:43] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:11:43] local.INFO: Packet analysis {"connection_id":176200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:11:43] local.INFO: Extracted packet for processing {"connection_id":176200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:11:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:11:43] 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-09-10 03: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-09-10 03:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:11:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:11:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":176200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:11:43] local.INFO: GPS data processed {"connection_id":176200,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:11:43] local.INFO: Acknowledgment sent {"connection_id":176200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:12:14] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:12:14] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:12:14] local.INFO: Packet analysis {"connection_id":176200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:12:14] local.INFO: Extracted packet for processing {"connection_id":176200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:12:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:12:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":176200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:12:14] local.INFO: GPS data processed {"connection_id":176200,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:12:14] local.INFO: Acknowledgment sent {"connection_id":176200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:12:36] local.INFO: TCP Data received {"connection_id":178762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:12:36] local.INFO: Processing buffer {"connection_id":178762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:12:36] local.INFO: IMEI packet received {"connection_id":178762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":178762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:12:43] local.INFO: TCP Data received {"connection_id":178762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:12:43] local.INFO: Processing buffer {"connection_id":178762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:12:43] local.INFO: IMEI packet received {"connection_id":178762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":178762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:12:44] local.INFO: TCP Data received {"connection_id":178762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:12:44] local.INFO: Processing buffer {"connection_id":178762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:12:44] local.INFO: Packet analysis {"connection_id":178762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:12:44] local.INFO: Extracted packet for processing {"connection_id":178762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:12:44] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:12:44] 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-09-10 03:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:12:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":178762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:12:44] local.INFO: GPS data processed {"connection_id":178762,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:12:44] local.INFO: Acknowledgment sent {"connection_id":178762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:13:16] local.INFO: TCP Data received {"connection_id":178762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:16] local.INFO: Processing buffer {"connection_id":178762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:16] local.INFO: Packet analysis {"connection_id":178762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:13:16] local.INFO: Extracted packet for processing {"connection_id":178762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:13:16] 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-09-10 03:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":178762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:13:16] local.INFO: GPS data processed {"connection_id":178762,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:13:16] local.INFO: Acknowledgment sent {"connection_id":178762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:13:43] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:13:43] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:13:43] local.INFO: IMEI packet received {"connection_id":176201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":176201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:13:47] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:13:47] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:13:47] local.INFO: IMEI packet received {"connection_id":176201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":176201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:13:48] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:48] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:48] local.INFO: Packet analysis {"connection_id":176201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:13:48] local.INFO: Extracted packet for processing {"connection_id":176201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:13:48] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:13:48] 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-09-10 03:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:13:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":176201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:13:48] local.INFO: GPS data processed {"connection_id":176201,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:13:48] local.INFO: Acknowledgment sent {"connection_id":176201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:13:52] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:52] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:13:52] local.INFO: Packet analysis {"connection_id":176201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:13:52] local.INFO: Extracted packet for processing {"connection_id":176201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:13:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:13:52] 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-09-10 03:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:13:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":176201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:13:52] local.INFO: GPS data processed {"connection_id":176201,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:13:52] local.INFO: Acknowledgment sent {"connection_id":176201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:14:36] local.INFO: TCP Data received {"connection_id":175974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:14:36] local.INFO: Processing buffer {"connection_id":175974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:14:36] local.INFO: IMEI packet received {"connection_id":175974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":175974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:14:43] local.INFO: TCP Data received {"connection_id":175974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:14:43] local.INFO: Processing buffer {"connection_id":175974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:14:43] local.INFO: IMEI packet received {"connection_id":175974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":175974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:14:44] local.INFO: TCP Data received {"connection_id":175974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:14:44] local.INFO: Processing buffer {"connection_id":175974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:14:44] local.INFO: Packet analysis {"connection_id":175974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:14:44] local.INFO: Extracted packet for processing {"connection_id":175974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:14:44] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:14:44] 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-09-10 03:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:14:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":175974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:14:44] local.INFO: GPS data processed {"connection_id":175974,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:14:44] local.INFO: Acknowledgment sent {"connection_id":175974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:15:16] local.INFO: TCP Data received {"connection_id":175974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:15:16] local.INFO: Processing buffer {"connection_id":175974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:15:16] local.INFO: Packet analysis {"connection_id":175974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:15:16] local.INFO: Extracted packet for processing {"connection_id":175974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:15:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:15:16] 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-09-10 03: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-09-10 03:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:15:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":175974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:15:16] local.INFO: GPS data processed {"connection_id":175974,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:15:16] local.INFO: Acknowledgment sent {"connection_id":175974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:15:36] local.INFO: TCP Data received {"connection_id":176202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:15:37] local.INFO: Processing buffer {"connection_id":176202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:15:37] local.INFO: IMEI packet received {"connection_id":176202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":176202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:15:41] local.INFO: TCP Data received {"connection_id":176202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:15:41] local.INFO: Processing buffer {"connection_id":176202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:15:41] local.INFO: IMEI packet received {"connection_id":176202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":176202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:15:42] local.INFO: TCP Data received {"connection_id":176202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:15:42] local.INFO: Processing buffer {"connection_id":176202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0881d4a00012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:15:42] local.INFO: Packet analysis {"connection_id":176202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:15:42] local.INFO: Extracted packet for processing {"connection_id":176202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0881d"} 
[2026-09-10 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981367040001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990016000,"timestamp_ms":1788990016000,"timestamp_seconds":1788990016,"priority":1,"record_length":96,"hex_timestamp":"000001a0881d4a00"} 
[2026-09-10 03:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 03:15:42] 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-09-10 03:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981367040001,"66":24777,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981367040001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:15:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981367040001,"power":24777,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":176202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:15:42] local.INFO: GPS data processed {"connection_id":176202,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:15:42] local.INFO: Acknowledgment sent {"connection_id":176202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:16:13] local.INFO: TCP Data received {"connection_id":176202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:16:13] local.INFO: Processing buffer {"connection_id":176202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:16:13] local.INFO: Packet analysis {"connection_id":176202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:16:13] local.INFO: Extracted packet for processing {"connection_id":176202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:16: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-09-10 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:16:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":176202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:16:13] local.INFO: GPS data processed {"connection_id":176202,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:16:13] local.INFO: Acknowledgment sent {"connection_id":176202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:16:36] local.INFO: TCP Data received {"connection_id":177375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:16:37] local.INFO: Processing buffer {"connection_id":177375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:16:37] local.INFO: IMEI packet received {"connection_id":177375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":177375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:16:41] local.INFO: TCP Data received {"connection_id":177375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:16:42] local.INFO: Processing buffer {"connection_id":177375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:16:42] local.INFO: IMEI packet received {"connection_id":177375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":177375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:16:42] local.INFO: TCP Data received {"connection_id":177375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:16:42] local.INFO: Processing buffer {"connection_id":177375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:16:42] local.INFO: Packet analysis {"connection_id":177375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:16:42] local.INFO: Extracted packet for processing {"connection_id":177375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":177375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:16:42] local.INFO: GPS data processed {"connection_id":177375,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:16:42] local.INFO: Acknowledgment sent {"connection_id":177375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:17:13] local.INFO: TCP Data received {"connection_id":177375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:17:13] local.INFO: Processing buffer {"connection_id":177375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:17:13] local.INFO: Packet analysis {"connection_id":177375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:17:13] local.INFO: Extracted packet for processing {"connection_id":177375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:17: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-09-10 03:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:17: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-09-10 03:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:17:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":177375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:17:13] local.INFO: GPS data processed {"connection_id":177375,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:17:13] local.INFO: Acknowledgment sent {"connection_id":177375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:17:36] local.INFO: TCP Data received {"connection_id":175975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:17:36] local.INFO: Processing buffer {"connection_id":175975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:17:36] local.INFO: IMEI packet received {"connection_id":175975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":175975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:17:41] local.INFO: TCP Data received {"connection_id":175975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:17:42] local.INFO: Processing buffer {"connection_id":175975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:17:42] local.INFO: IMEI packet received {"connection_id":175975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":175975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:17:42] local.INFO: TCP Data received {"connection_id":175975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:17:42] local.INFO: Processing buffer {"connection_id":175975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:17:42] local.INFO: Packet analysis {"connection_id":175975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:17:42] local.INFO: Extracted packet for processing {"connection_id":175975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":175975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:17:42] local.INFO: GPS data processed {"connection_id":175975,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:17:42] local.INFO: Acknowledgment sent {"connection_id":175975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:18:15] local.INFO: TCP Data received {"connection_id":175975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:18:15] local.INFO: Processing buffer {"connection_id":175975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:18:15] local.INFO: Packet analysis {"connection_id":175975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:18:15] local.INFO: Extracted packet for processing {"connection_id":175975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:18:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:18:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":175975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:18:15] local.INFO: GPS data processed {"connection_id":175975,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:18:15] local.INFO: Acknowledgment sent {"connection_id":175975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:18:36] local.INFO: TCP Data received {"connection_id":177376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:18:37] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:18:37] local.INFO: IMEI packet received {"connection_id":177376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":177376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:18:41] local.INFO: TCP Data received {"connection_id":177376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:18:42] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:18:42] local.INFO: IMEI packet received {"connection_id":177376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":177376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:18:42] local.INFO: TCP Data received {"connection_id":177376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:18:42] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:18:42] local.INFO: Packet analysis {"connection_id":177376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:18:42] local.INFO: Extracted packet for processing {"connection_id":177376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:18:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":177376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:18:42] local.INFO: GPS data processed {"connection_id":177376,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:18:42] local.INFO: Acknowledgment sent {"connection_id":177376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:19:13] local.INFO: TCP Data received {"connection_id":177376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:19:13] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:19:13] local.INFO: Packet analysis {"connection_id":177376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:19:13] local.INFO: Extracted packet for processing {"connection_id":177376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:19: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-09-10 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:19: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-09-10 03:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:19:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":177376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:19:13] local.INFO: GPS data processed {"connection_id":177376,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:19:13] local.INFO: Acknowledgment sent {"connection_id":177376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:19:36] local.INFO: TCP Data received {"connection_id":178763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:19:36] local.INFO: Processing buffer {"connection_id":178763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:19:36] local.INFO: IMEI packet received {"connection_id":178763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":178763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:19:41] local.INFO: TCP Data received {"connection_id":178763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:19:42] local.INFO: Processing buffer {"connection_id":178763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:19:42] local.INFO: IMEI packet received {"connection_id":178763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":178763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:19:42] local.INFO: TCP Data received {"connection_id":178763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:19:42] local.INFO: Processing buffer {"connection_id":178763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:19:42] local.INFO: Packet analysis {"connection_id":178763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:19:42] local.INFO: Extracted packet for processing {"connection_id":178763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:19:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":178763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:19:42] local.INFO: GPS data processed {"connection_id":178763,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:19:42] local.INFO: Acknowledgment sent {"connection_id":178763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:20:15] local.INFO: TCP Data received {"connection_id":178763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:20:15] local.INFO: Processing buffer {"connection_id":178763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:20:15] local.INFO: Packet analysis {"connection_id":178763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:20:15] local.INFO: Extracted packet for processing {"connection_id":178763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:20:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:20:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":178763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:20:15] local.INFO: GPS data processed {"connection_id":178763,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:20:15] local.INFO: Acknowledgment sent {"connection_id":178763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:20:41] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:20:42] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:20:42] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:20:47] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:20:47] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:20:47] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:20:48] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:20:48] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08821e1c8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 03:20:48] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:20:48] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08821"} 
[2026-09-10 03:20:48] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981444096001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:20:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788990317000,"timestamp_ms":1788990317000,"timestamp_seconds":1788990317,"priority":1,"record_length":96,"hex_timestamp":"000001a08821e1c8"} 
[2026-09-10 03:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 03:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981444096001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981444096001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:20:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:20:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981444096001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:20:48] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:20:48] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:21:19] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:19] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:19] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:21:19] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:21:19] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:21: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-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:21:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:21:19] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:21:19] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:21:44] local.INFO: TCP Data received {"connection_id":178764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:21:44] local.INFO: Processing buffer {"connection_id":178764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:21:44] local.INFO: IMEI packet received {"connection_id":178764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":178764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:21:47] local.INFO: TCP Data received {"connection_id":178764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:21:47] local.INFO: Processing buffer {"connection_id":178764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:21:47] local.INFO: IMEI packet received {"connection_id":178764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":178764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:21:47] local.INFO: TCP Data received {"connection_id":178764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:47] local.INFO: Processing buffer {"connection_id":178764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:47] local.INFO: Packet analysis {"connection_id":178764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:21:47] local.INFO: Extracted packet for processing {"connection_id":178764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:21:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:21:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:21:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":178764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:21:47] local.INFO: GPS data processed {"connection_id":178764,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:21:47] local.INFO: Acknowledgment sent {"connection_id":178764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:21:52] local.INFO: TCP Data received {"connection_id":178764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:52] local.INFO: Processing buffer {"connection_id":178764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:21:52] local.INFO: Packet analysis {"connection_id":178764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:21:52] local.INFO: Extracted packet for processing {"connection_id":178764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:21:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:21:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":178764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:21:52] local.INFO: GPS data processed {"connection_id":178764,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:21:52] local.INFO: Acknowledgment sent {"connection_id":178764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:22:36] local.INFO: TCP Data received {"connection_id":177377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:22:36] local.INFO: Processing buffer {"connection_id":177377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:22:36] local.INFO: IMEI packet received {"connection_id":177377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":177377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:22:42] local.INFO: TCP Data received {"connection_id":177377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:22:42] local.INFO: Processing buffer {"connection_id":177377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:22:42] local.INFO: IMEI packet received {"connection_id":177377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":177377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:22:43] local.INFO: TCP Data received {"connection_id":177377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:22:43] local.INFO: Processing buffer {"connection_id":177377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:22:43] local.INFO: Packet analysis {"connection_id":177377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:22:43] local.INFO: Extracted packet for processing {"connection_id":177377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:22:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:22:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":177377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:22:43] local.INFO: GPS data processed {"connection_id":177377,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:22:43] local.INFO: Acknowledgment sent {"connection_id":177377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:23:13] local.INFO: TCP Data received {"connection_id":177377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:23:13] local.INFO: Processing buffer {"connection_id":177377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:23:13] local.INFO: Packet analysis {"connection_id":177377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:23:13] local.INFO: Extracted packet for processing {"connection_id":177377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:23:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:23: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-09-10 03:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:23:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":177377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:23:13] local.INFO: GPS data processed {"connection_id":177377,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:23:13] local.INFO: Acknowledgment sent {"connection_id":177377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:23:36] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:23:36] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:23:36] local.INFO: IMEI packet received {"connection_id":175977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":175977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:23:43] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:23:43] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:23:43] local.INFO: IMEI packet received {"connection_id":175977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":175977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:23:44] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:23:44] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:23:44] local.INFO: Packet analysis {"connection_id":175977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:23:44] local.INFO: Extracted packet for processing {"connection_id":175977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:23:44] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:23:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:23:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:23:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":175977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:23:44] local.INFO: GPS data processed {"connection_id":175977,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:23:44] local.INFO: Acknowledgment sent {"connection_id":175977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:24:17] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:24:17] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:24:17] local.INFO: Packet analysis {"connection_id":175977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:24:17] local.INFO: Extracted packet for processing {"connection_id":175977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:24:17] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:24:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:24: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-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:24:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:24:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":175977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:24:17] local.INFO: GPS data processed {"connection_id":175977,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:24:17] local.INFO: Acknowledgment sent {"connection_id":175977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:24:36] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:24:36] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:24:36] local.INFO: IMEI packet received {"connection_id":176203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":176203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:24:41] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:24:41] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:24:41] local.INFO: IMEI packet received {"connection_id":176203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":176203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:24:42] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:24:42] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:24:42] local.INFO: Packet analysis {"connection_id":176203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:24:42] local.INFO: Extracted packet for processing {"connection_id":176203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":176203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:24:42] local.INFO: GPS data processed {"connection_id":176203,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:24:42] local.INFO: Acknowledgment sent {"connection_id":176203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:25:13] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:25:13] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:25:13] local.INFO: Packet analysis {"connection_id":176203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:25:13] local.INFO: Extracted packet for processing {"connection_id":176203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:25: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-09-10 03:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:25:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":176203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:25:13] local.INFO: GPS data processed {"connection_id":176203,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:25:13] local.INFO: Acknowledgment sent {"connection_id":176203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:25:36] local.INFO: TCP Data received {"connection_id":177378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:25:36] local.INFO: Processing buffer {"connection_id":177378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:25:36] local.INFO: IMEI packet received {"connection_id":177378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":177378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:25:41] local.INFO: TCP Data received {"connection_id":177378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:25:41] local.INFO: Processing buffer {"connection_id":177378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:25:41] local.INFO: IMEI packet received {"connection_id":177378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":177378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:25:42] local.INFO: TCP Data received {"connection_id":177378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:25:42] local.INFO: Processing buffer {"connection_id":177378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088267990012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:25:42] local.INFO: Packet analysis {"connection_id":177378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:25:42] local.INFO: Extracted packet for processing {"connection_id":177378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08826"} 
[2026-09-10 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990618000,"timestamp_ms":1788990618000,"timestamp_seconds":1788990618,"priority":1,"record_length":96,"hex_timestamp":"000001a088267990"} 
[2026-09-10 03:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981521152001,"66":26006,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981521152001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":177378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:25:42] local.INFO: GPS data processed {"connection_id":177378,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:25:42] local.INFO: Acknowledgment sent {"connection_id":177378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:26:13] local.INFO: TCP Data received {"connection_id":177378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:26:13] local.INFO: Processing buffer {"connection_id":177378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:26:13] local.INFO: Packet analysis {"connection_id":177378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:26:13] local.INFO: Extracted packet for processing {"connection_id":177378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:26:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:26:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:26: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-09-10 03:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:26:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":177378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:26:13] local.INFO: GPS data processed {"connection_id":177378,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:26:13] local.INFO: Acknowledgment sent {"connection_id":177378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:26:36] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:26:36] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:26:36] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:26:41] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:26:41] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:26:41] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:26:42] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:26:42] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:26:42] local.INFO: Packet analysis {"connection_id":175978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:26:42] local.INFO: Extracted packet for processing {"connection_id":175978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:26:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":175978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:26:42] local.INFO: GPS data processed {"connection_id":175978,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:26:42] local.INFO: Acknowledgment sent {"connection_id":175978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:27:13] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:27:13] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:27:13] local.INFO: Packet analysis {"connection_id":175978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:27:13] local.INFO: Extracted packet for processing {"connection_id":175978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:27: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-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:27:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":175978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:27:13] local.INFO: GPS data processed {"connection_id":175978,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:27:13] local.INFO: Acknowledgment sent {"connection_id":175978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:27:36] local.INFO: TCP Data received {"connection_id":178765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:27:36] local.INFO: Processing buffer {"connection_id":178765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:27:36] local.INFO: IMEI packet received {"connection_id":178765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":178765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:27:41] local.INFO: TCP Data received {"connection_id":178765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:27:41] local.INFO: Processing buffer {"connection_id":178765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:27:41] local.INFO: IMEI packet received {"connection_id":178765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":178765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:27:42] local.INFO: TCP Data received {"connection_id":178765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:27:42] local.INFO: Processing buffer {"connection_id":178765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:27:42] local.INFO: Packet analysis {"connection_id":178765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:27:42] local.INFO: Extracted packet for processing {"connection_id":178765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":178765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:27:42] local.INFO: GPS data processed {"connection_id":178765,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:27:42] local.INFO: Acknowledgment sent {"connection_id":178765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:28:13] local.INFO: TCP Data received {"connection_id":178765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:28:13] local.INFO: Processing buffer {"connection_id":178765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:28:13] local.INFO: Packet analysis {"connection_id":178765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:28:13] local.INFO: Extracted packet for processing {"connection_id":178765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:28: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-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03: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-09-10 03:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:28:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":178765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:28:13] local.INFO: GPS data processed {"connection_id":178765,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:28:13] local.INFO: Acknowledgment sent {"connection_id":178765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:28:36] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:28:36] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:28:36] local.INFO: IMEI packet received {"connection_id":175979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":175979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:28:41] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:28:41] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:28:41] local.INFO: IMEI packet received {"connection_id":175979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":175979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:28:42] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:28:42] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:28:42] local.INFO: Packet analysis {"connection_id":175979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:28:42] local.INFO: Extracted packet for processing {"connection_id":175979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:28:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:28:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":175979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:28:42] local.INFO: GPS data processed {"connection_id":175979,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:28:42] local.INFO: Acknowledgment sent {"connection_id":175979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:29:13] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:13] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:13] local.INFO: Packet analysis {"connection_id":175979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:29:13] local.INFO: Extracted packet for processing {"connection_id":175979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:29:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:29: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-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:29: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-09-10 03:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:29:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":175979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:29:13] local.INFO: GPS data processed {"connection_id":175979,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:29:13] local.INFO: Acknowledgment sent {"connection_id":175979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:29:23] local.INFO: TCP Data received {"connection_id":176204,"ip":"47.254.34.135","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-10 03:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176204,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-10 03:29:23] local.INFO: Processing buffer {"connection_id":176204,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-10 03:29:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176204,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-09-10 03:29:36] local.INFO: TCP Data received {"connection_id":176205,"ip":"47.254.34.135","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-10 03:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-10 03:29:36] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-10 03:29:36] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176205,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-10 03:29:41] local.INFO: TCP Data received {"connection_id":178766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:29:41] local.INFO: Processing buffer {"connection_id":178766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:29:41] local.INFO: IMEI packet received {"connection_id":178766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":178766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:29:46] local.INFO: TCP Data received {"connection_id":178766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:29:46] local.INFO: Processing buffer {"connection_id":178766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:29:46] local.INFO: IMEI packet received {"connection_id":178766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":178766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:29:47] local.INFO: TCP Data received {"connection_id":178766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:47] local.INFO: Processing buffer {"connection_id":178766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:47] local.INFO: Packet analysis {"connection_id":178766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:29:47] local.INFO: Extracted packet for processing {"connection_id":178766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:29:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:29:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:29:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":178766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:29:47] local.INFO: GPS data processed {"connection_id":178766,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:29:47] local.INFO: Acknowledgment sent {"connection_id":178766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:29:49] local.INFO: TCP Data received {"connection_id":177379,"ip":"47.254.34.135","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-10 03:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177379,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-10 03:29:49] local.INFO: Processing buffer {"connection_id":177379,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-10 03:29:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":177379,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-09-10 03:29:52] local.INFO: TCP Data received {"connection_id":178766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:52] local.INFO: Processing buffer {"connection_id":178766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:29:52] local.INFO: Packet analysis {"connection_id":178766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:29:52] local.INFO: Extracted packet for processing {"connection_id":178766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:29:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:29:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:29:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:29:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":178766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:29:52] local.INFO: GPS data processed {"connection_id":178766,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:29:52] local.INFO: Acknowledgment sent {"connection_id":178766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:30:36] local.INFO: TCP Data received {"connection_id":178767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:30:36] local.INFO: Processing buffer {"connection_id":178767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:30:36] local.INFO: IMEI packet received {"connection_id":178767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":178767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:30:41] local.INFO: TCP Data received {"connection_id":178767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:30:41] local.INFO: Processing buffer {"connection_id":178767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:30:41] local.INFO: IMEI packet received {"connection_id":178767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":178767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:30:42] local.INFO: TCP Data received {"connection_id":178767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:30:42] local.INFO: Processing buffer {"connection_id":178767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882b1158012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 03:30:42] local.INFO: Packet analysis {"connection_id":178767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:30:42] local.INFO: Extracted packet for processing {"connection_id":178767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882b"} 
[2026-09-10 03:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788990919000,"timestamp_ms":1788990919000,"timestamp_seconds":1788990919,"priority":1,"record_length":96,"hex_timestamp":"000001a0882b1158"} 
[2026-09-10 03:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 03:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981598208001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:30:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981598208001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":178767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:30:42] local.INFO: GPS data processed {"connection_id":178767,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:30:42] local.INFO: Acknowledgment sent {"connection_id":178767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:31:13] local.INFO: TCP Data received {"connection_id":178767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:31:13] local.INFO: Processing buffer {"connection_id":178767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:31:13] local.INFO: Packet analysis {"connection_id":178767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:31:13] local.INFO: Extracted packet for processing {"connection_id":178767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:31:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:31: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-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:31: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-09-10 03:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:31:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":178767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:31:13] local.INFO: GPS data processed {"connection_id":178767,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:31:13] local.INFO: Acknowledgment sent {"connection_id":178767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:31:36] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:31:36] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:31:36] local.INFO: IMEI packet received {"connection_id":176206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":176206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:31:41] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:31:41] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:31:41] local.INFO: IMEI packet received {"connection_id":176206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":176206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:31:42] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:31:42] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:31:42] local.INFO: Packet analysis {"connection_id":176206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:31:42] local.INFO: Extracted packet for processing {"connection_id":176206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":176206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:31:42] local.INFO: GPS data processed {"connection_id":176206,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:31:42] local.INFO: Acknowledgment sent {"connection_id":176206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:32:13] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:32:13] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:32:13] local.INFO: Packet analysis {"connection_id":176206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:32:13] local.INFO: Extracted packet for processing {"connection_id":176206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:32: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-09-10 03:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:32: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-09-10 03:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:32:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":176206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:32:13] local.INFO: GPS data processed {"connection_id":176206,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:32:13] local.INFO: Acknowledgment sent {"connection_id":176206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:32:36] local.INFO: TCP Data received {"connection_id":178768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:32:36] local.INFO: Processing buffer {"connection_id":178768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:32:36] local.INFO: IMEI packet received {"connection_id":178768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":178768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:32:41] local.INFO: TCP Data received {"connection_id":178768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:32:41] local.INFO: Processing buffer {"connection_id":178768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:32:41] local.INFO: IMEI packet received {"connection_id":178768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":178768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:32:42] local.INFO: TCP Data received {"connection_id":178768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:32:42] local.INFO: Processing buffer {"connection_id":178768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:32:42] local.INFO: Packet analysis {"connection_id":178768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:32:42] local.INFO: Extracted packet for processing {"connection_id":178768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:32:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":178768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:32:42] local.INFO: GPS data processed {"connection_id":178768,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:32:42] local.INFO: Acknowledgment sent {"connection_id":178768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:33:13] local.INFO: TCP Data received {"connection_id":178768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:33:13] local.INFO: Processing buffer {"connection_id":178768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:33:13] local.INFO: Packet analysis {"connection_id":178768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:33:13] local.INFO: Extracted packet for processing {"connection_id":178768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:33: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-09-10 03:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:33: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-09-10 03:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:33:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":178768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:33:13] local.INFO: GPS data processed {"connection_id":178768,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:33:13] local.INFO: Acknowledgment sent {"connection_id":178768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:33:36] local.INFO: TCP Data received {"connection_id":177380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:33:36] local.INFO: Processing buffer {"connection_id":177380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:33:36] local.INFO: IMEI packet received {"connection_id":177380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":177380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:33:41] local.INFO: TCP Data received {"connection_id":177380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:33:41] local.INFO: Processing buffer {"connection_id":177380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:33:41] local.INFO: IMEI packet received {"connection_id":177380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":177380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:33:42] local.INFO: TCP Data received {"connection_id":177380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:33:42] local.INFO: Processing buffer {"connection_id":177380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:33:42] local.INFO: Packet analysis {"connection_id":177380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:33:42] local.INFO: Extracted packet for processing {"connection_id":177380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:33:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":177380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:33:42] local.INFO: GPS data processed {"connection_id":177380,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:33:42] local.INFO: Acknowledgment sent {"connection_id":177380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:34:13] local.INFO: TCP Data received {"connection_id":177380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:34:13] local.INFO: Processing buffer {"connection_id":177380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:34:13] local.INFO: Packet analysis {"connection_id":177380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:34:13] local.INFO: Extracted packet for processing {"connection_id":177380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:34:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:34: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-09-10 03:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:34: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-09-10 03:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:34:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":177380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:34:13] local.INFO: GPS data processed {"connection_id":177380,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:34:13] local.INFO: Acknowledgment sent {"connection_id":177380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:34:36] local.INFO: TCP Data received {"connection_id":178769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:34:36] local.INFO: Processing buffer {"connection_id":178769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:34:36] local.INFO: IMEI packet received {"connection_id":178769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":178769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:34:41] local.INFO: TCP Data received {"connection_id":178769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:34:41] local.INFO: Processing buffer {"connection_id":178769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:34:41] local.INFO: IMEI packet received {"connection_id":178769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":178769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:34:42] local.INFO: TCP Data received {"connection_id":178769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:34:42] local.INFO: Processing buffer {"connection_id":178769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:34:42] local.INFO: Packet analysis {"connection_id":178769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:34:42] local.INFO: Extracted packet for processing {"connection_id":178769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":178769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:34:42] local.INFO: GPS data processed {"connection_id":178769,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:34:42] local.INFO: Acknowledgment sent {"connection_id":178769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:35:13] local.INFO: TCP Data received {"connection_id":178769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:35:13] local.INFO: Processing buffer {"connection_id":178769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:35:13] local.INFO: Packet analysis {"connection_id":178769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:35:13] local.INFO: Extracted packet for processing {"connection_id":178769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:35:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:35: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-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:35:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":178769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:35:13] local.INFO: GPS data processed {"connection_id":178769,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:35:13] local.INFO: Acknowledgment sent {"connection_id":178769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:35:36] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:35:36] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:35:36] local.INFO: IMEI packet received {"connection_id":176207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":176207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:35:41] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:35:41] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:35:41] local.INFO: IMEI packet received {"connection_id":176207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":176207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:35:42] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:35:42] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0882fa920012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 03:35:42] local.INFO: Packet analysis {"connection_id":176207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:35:42] local.INFO: Extracted packet for processing {"connection_id":176207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0882f"} 
[2026-09-10 03:35:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981675264001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991220000,"timestamp_ms":1788991220000,"timestamp_seconds":1788991220,"priority":1,"record_length":96,"hex_timestamp":"000001a0882fa920"} 
[2026-09-10 03:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981675264001,"66":25962,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981675264001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:35:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981675264001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":176207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:35:42] local.INFO: GPS data processed {"connection_id":176207,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:35:42] local.INFO: Acknowledgment sent {"connection_id":176207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:36:13] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:36:13] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:36:13] local.INFO: Packet analysis {"connection_id":176207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:36:13] local.INFO: Extracted packet for processing {"connection_id":176207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:36: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-09-10 03:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:36: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-09-10 03:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:36:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":176207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:36:13] local.INFO: GPS data processed {"connection_id":176207,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:36:13] local.INFO: Acknowledgment sent {"connection_id":176207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:36:36] local.INFO: TCP Data received {"connection_id":178770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:36:36] local.INFO: Processing buffer {"connection_id":178770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:36:36] local.INFO: IMEI packet received {"connection_id":178770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":178770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:36:41] local.INFO: TCP Data received {"connection_id":178770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:36:41] local.INFO: Processing buffer {"connection_id":178770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:36:41] local.INFO: IMEI packet received {"connection_id":178770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":178770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:36:42] local.INFO: TCP Data received {"connection_id":178770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:36:42] local.INFO: Processing buffer {"connection_id":178770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:36:42] local.INFO: Packet analysis {"connection_id":178770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:36:42] local.INFO: Extracted packet for processing {"connection_id":178770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:36:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:36:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":178770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:36:42] local.INFO: GPS data processed {"connection_id":178770,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:36:42] local.INFO: Acknowledgment sent {"connection_id":178770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:37:13] local.INFO: TCP Data received {"connection_id":178770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:13] local.INFO: Processing buffer {"connection_id":178770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:13] local.INFO: Packet analysis {"connection_id":178770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:37:13] local.INFO: Extracted packet for processing {"connection_id":178770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:37:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:37: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-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:37: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-09-10 03:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:37:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":178770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:37:13] local.INFO: GPS data processed {"connection_id":178770,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:37:13] local.INFO: Acknowledgment sent {"connection_id":178770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:37:41] local.INFO: TCP Data received {"connection_id":178771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:37:41] local.INFO: Processing buffer {"connection_id":178771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:37:41] local.INFO: IMEI packet received {"connection_id":178771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":178771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:37:46] local.INFO: TCP Data received {"connection_id":178771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:37:46] local.INFO: Processing buffer {"connection_id":178771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:37:46] local.INFO: IMEI packet received {"connection_id":178771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":178771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:37:47] local.INFO: TCP Data received {"connection_id":178771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:47] local.INFO: Processing buffer {"connection_id":178771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:47] local.INFO: Packet analysis {"connection_id":178771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:37:47] local.INFO: Extracted packet for processing {"connection_id":178771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:37:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:37:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":178771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:37:47] local.INFO: GPS data processed {"connection_id":178771,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:37:47] local.INFO: Acknowledgment sent {"connection_id":178771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:37:52] local.INFO: TCP Data received {"connection_id":178771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:52] local.INFO: Processing buffer {"connection_id":178771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:37:52] local.INFO: Packet analysis {"connection_id":178771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:37:52] local.INFO: Extracted packet for processing {"connection_id":178771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:37:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:37:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":178771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:37:52] local.INFO: GPS data processed {"connection_id":178771,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:37:52] local.INFO: Acknowledgment sent {"connection_id":178771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:38:36] local.INFO: TCP Data received {"connection_id":177381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:38:36] local.INFO: Processing buffer {"connection_id":177381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:38:36] local.INFO: IMEI packet received {"connection_id":177381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":177381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:38:41] local.INFO: TCP Data received {"connection_id":177381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:38:41] local.INFO: Processing buffer {"connection_id":177381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:38:41] local.INFO: IMEI packet received {"connection_id":177381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":177381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:38:42] local.INFO: TCP Data received {"connection_id":177381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:38:42] local.INFO: Processing buffer {"connection_id":177381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:38:42] local.INFO: Packet analysis {"connection_id":177381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:38:42] local.INFO: Extracted packet for processing {"connection_id":177381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:38:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":177381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:38:42] local.INFO: GPS data processed {"connection_id":177381,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:38:42] local.INFO: Acknowledgment sent {"connection_id":177381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:39:13] local.INFO: TCP Data received {"connection_id":177381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:39:13] local.INFO: Processing buffer {"connection_id":177381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:39:13] local.INFO: Packet analysis {"connection_id":177381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:39:13] local.INFO: Extracted packet for processing {"connection_id":177381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:39: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-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:39:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":177381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:39:13] local.INFO: GPS data processed {"connection_id":177381,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:39:13] local.INFO: Acknowledgment sent {"connection_id":177381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:39:36] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:39:36] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:39:36] local.INFO: IMEI packet received {"connection_id":176208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":176208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:39:41] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:39:41] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:39:41] local.INFO: IMEI packet received {"connection_id":176208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":176208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:39:42] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:39:42] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:39:42] local.INFO: Packet analysis {"connection_id":176208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:39:42] local.INFO: Extracted packet for processing {"connection_id":176208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":176208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:39:42] local.INFO: GPS data processed {"connection_id":176208,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:39:42] local.INFO: Acknowledgment sent {"connection_id":176208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:40:13] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:40:13] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:40:13] local.INFO: Packet analysis {"connection_id":176208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:40:13] local.INFO: Extracted packet for processing {"connection_id":176208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:40:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:40: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-09-10 03:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:40: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-09-10 03:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:40:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":176208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:40:13] local.INFO: GPS data processed {"connection_id":176208,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:40:13] local.INFO: Acknowledgment sent {"connection_id":176208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:40:36] local.INFO: TCP Data received {"connection_id":178772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:40:36] local.INFO: Processing buffer {"connection_id":178772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:40:36] local.INFO: IMEI packet received {"connection_id":178772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":178772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:40:41] local.INFO: TCP Data received {"connection_id":178772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:40:41] local.INFO: Processing buffer {"connection_id":178772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:40:41] local.INFO: IMEI packet received {"connection_id":178772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":178772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:40:42] local.INFO: TCP Data received {"connection_id":178772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:40:42] local.INFO: Processing buffer {"connection_id":178772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883440e8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 03:40:42] local.INFO: Packet analysis {"connection_id":178772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:40:42] local.INFO: Extracted packet for processing {"connection_id":178772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08834"} 
[2026-09-10 03:40:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981752320001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991521000,"timestamp_ms":1788991521000,"timestamp_seconds":1788991521,"priority":1,"record_length":96,"hex_timestamp":"000001a0883440e8"} 
[2026-09-10 03:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 03:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981752320001,"66":25941,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981752320001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981752320001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":178772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:40:42] local.INFO: GPS data processed {"connection_id":178772,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:40:42] local.INFO: Acknowledgment sent {"connection_id":178772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:41:13] local.INFO: TCP Data received {"connection_id":178772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:41:13] local.INFO: Processing buffer {"connection_id":178772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:41:13] local.INFO: Packet analysis {"connection_id":178772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:41:13] local.INFO: Extracted packet for processing {"connection_id":178772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:41: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-09-10 03: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:41: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-09-10 03:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:41:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":178772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:41:13] local.INFO: GPS data processed {"connection_id":178772,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:41:13] local.INFO: Acknowledgment sent {"connection_id":178772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:41:36] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:41:36] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:41:36] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:41:41] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:41:41] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:41:41] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:41:42] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:41:42] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:41:42] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:41:42] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:41:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:41:42] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:41:42] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:42:13] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:42:13] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:42:13] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:42:13] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:42:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:42: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-09-10 03: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:42: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-09-10 03:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:42:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:42:13] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:42:13] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:42:36] local.INFO: TCP Data received {"connection_id":178773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:42:36] local.INFO: Processing buffer {"connection_id":178773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:42:36] local.INFO: IMEI packet received {"connection_id":178773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":178773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:42:41] local.INFO: TCP Data received {"connection_id":178773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:42:41] local.INFO: Processing buffer {"connection_id":178773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:42:41] local.INFO: IMEI packet received {"connection_id":178773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":178773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:42:42] local.INFO: TCP Data received {"connection_id":178773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:42:42] local.INFO: Processing buffer {"connection_id":178773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:42:42] local.INFO: Packet analysis {"connection_id":178773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:42:42] local.INFO: Extracted packet for processing {"connection_id":178773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:42:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":178773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:42:42] local.INFO: GPS data processed {"connection_id":178773,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:42:42] local.INFO: Acknowledgment sent {"connection_id":178773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:43:13] local.INFO: TCP Data received {"connection_id":178773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:43:13] local.INFO: Processing buffer {"connection_id":178773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:43:13] local.INFO: Packet analysis {"connection_id":178773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:43:13] local.INFO: Extracted packet for processing {"connection_id":178773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:43:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:43: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-09-10 03:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:43:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":178773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:43:13] local.INFO: GPS data processed {"connection_id":178773,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:43:13] local.INFO: Acknowledgment sent {"connection_id":178773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:43:36] local.INFO: TCP Data received {"connection_id":177382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:43:36] local.INFO: Processing buffer {"connection_id":177382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:43:36] local.INFO: IMEI packet received {"connection_id":177382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":177382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:43:41] local.INFO: TCP Data received {"connection_id":177382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:43:41] local.INFO: Processing buffer {"connection_id":177382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:43:41] local.INFO: IMEI packet received {"connection_id":177382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":177382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:43:42] local.INFO: TCP Data received {"connection_id":177382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:43:42] local.INFO: Processing buffer {"connection_id":177382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:43:42] local.INFO: Packet analysis {"connection_id":177382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:43:42] local.INFO: Extracted packet for processing {"connection_id":177382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:43:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":177382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:43:42] local.INFO: GPS data processed {"connection_id":177382,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:43:42] local.INFO: Acknowledgment sent {"connection_id":177382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:44:13] local.INFO: TCP Data received {"connection_id":177382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:44:13] local.INFO: Processing buffer {"connection_id":177382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:44:13] local.INFO: Packet analysis {"connection_id":177382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:44:13] local.INFO: Extracted packet for processing {"connection_id":177382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:44:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:44: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-09-10 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:44:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:44:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:44:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":177382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:44:13] local.INFO: GPS data processed {"connection_id":177382,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:44:13] local.INFO: Acknowledgment sent {"connection_id":177382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:44:36] local.INFO: TCP Data received {"connection_id":178774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:44:36] local.INFO: Processing buffer {"connection_id":178774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:44:36] local.INFO: IMEI packet received {"connection_id":178774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":178774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:44:41] local.INFO: TCP Data received {"connection_id":178774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:44:41] local.INFO: Processing buffer {"connection_id":178774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:44:41] local.INFO: IMEI packet received {"connection_id":178774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":178774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:44:42] local.INFO: TCP Data received {"connection_id":178774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:44:42] local.INFO: Processing buffer {"connection_id":178774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:44:42] local.INFO: Packet analysis {"connection_id":178774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:44:42] local.INFO: Extracted packet for processing {"connection_id":178774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:44:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":178774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:44:42] local.INFO: GPS data processed {"connection_id":178774,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:44:42] local.INFO: Acknowledgment sent {"connection_id":178774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:45:13] local.INFO: TCP Data received {"connection_id":178774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:45:13] local.INFO: Processing buffer {"connection_id":178774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:45:13] local.INFO: Packet analysis {"connection_id":178774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:45:13] local.INFO: Extracted packet for processing {"connection_id":178774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:45: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-09-10 03:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:45:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":178774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:45:13] local.INFO: GPS data processed {"connection_id":178774,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:45:13] local.INFO: Acknowledgment sent {"connection_id":178774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:45:37] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:45:37] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:45:37] local.INFO: IMEI packet received {"connection_id":177383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":177383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:45:41] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:45:41] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:45:41] local.INFO: IMEI packet received {"connection_id":177383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":177383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:45:42] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:45:42] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08838d8b0012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 03:45:42] local.INFO: Packet analysis {"connection_id":177383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:45:42] local.INFO: Extracted packet for processing {"connection_id":177383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08838"} 
[2026-09-10 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981829376001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788991822000,"timestamp_ms":1788991822000,"timestamp_seconds":1788991822,"priority":1,"record_length":96,"hex_timestamp":"000001a08838d8b0"} 
[2026-09-10 03:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 03:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981829376001,"66":24995,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981829376001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:45:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981829376001,"power":24995,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":177383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:45:42] local.INFO: GPS data processed {"connection_id":177383,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:45:42] local.INFO: Acknowledgment sent {"connection_id":177383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:46:13] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:46:13] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:46:13] local.INFO: Packet analysis {"connection_id":177383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:46:13] local.INFO: Extracted packet for processing {"connection_id":177383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:46:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:46: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-09-10 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:46: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-09-10 03:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:46:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":177383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:46:13] local.INFO: GPS data processed {"connection_id":177383,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:46:13] local.INFO: Acknowledgment sent {"connection_id":177383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:46:36] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:46:36] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:46:36] local.INFO: IMEI packet received {"connection_id":176210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":176210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:46:41] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:46:41] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:46:41] local.INFO: IMEI packet received {"connection_id":176210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":176210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:46:42] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:46:42] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:46:42] local.INFO: Packet analysis {"connection_id":176210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:46:42] local.INFO: Extracted packet for processing {"connection_id":176210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:46:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":176210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:46:42] local.INFO: GPS data processed {"connection_id":176210,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:46:42] local.INFO: Acknowledgment sent {"connection_id":176210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:47:13] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:47:13] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:47:13] local.INFO: Packet analysis {"connection_id":176210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:47:13] local.INFO: Extracted packet for processing {"connection_id":176210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:47:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:47: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-09-10 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:47:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":176210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:47:13] local.INFO: GPS data processed {"connection_id":176210,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:47:13] local.INFO: Acknowledgment sent {"connection_id":176210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:47:36] local.INFO: TCP Data received {"connection_id":177384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:47:36] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:47:36] local.INFO: IMEI packet received {"connection_id":177384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":177384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:47:41] local.INFO: TCP Data received {"connection_id":177384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:47:41] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:47:41] local.INFO: IMEI packet received {"connection_id":177384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":177384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:47:42] local.INFO: TCP Data received {"connection_id":177384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:47:42] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:47:42] local.INFO: Packet analysis {"connection_id":177384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:47:42] local.INFO: Extracted packet for processing {"connection_id":177384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:47:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":177384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:47:42] local.INFO: GPS data processed {"connection_id":177384,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:47:42] local.INFO: Acknowledgment sent {"connection_id":177384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:48:13] local.INFO: TCP Data received {"connection_id":177384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:48:13] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:48:13] local.INFO: Packet analysis {"connection_id":177384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:48:13] local.INFO: Extracted packet for processing {"connection_id":177384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:48:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:48:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:48: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-09-10 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:48:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:48:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":177384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:48:13] local.INFO: GPS data processed {"connection_id":177384,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:48:13] local.INFO: Acknowledgment sent {"connection_id":177384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:48:36] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:48:36] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:48:36] local.INFO: IMEI packet received {"connection_id":175980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":175980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:48:41] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:48:41] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:48:41] local.INFO: IMEI packet received {"connection_id":175980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":175980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:48:42] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:48:42] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:48:42] local.INFO: Packet analysis {"connection_id":175980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:48:42] local.INFO: Extracted packet for processing {"connection_id":175980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":175980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:48:42] local.INFO: GPS data processed {"connection_id":175980,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:48:42] local.INFO: Acknowledgment sent {"connection_id":175980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:49:13] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:49:13] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:49:13] local.INFO: Packet analysis {"connection_id":175980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:49:13] local.INFO: Extracted packet for processing {"connection_id":175980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:49: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-09-10 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:49:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":175980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:49:13] local.INFO: GPS data processed {"connection_id":175980,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:49:13] local.INFO: Acknowledgment sent {"connection_id":175980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:49:36] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:49:36] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:49:36] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:49:41] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:49:41] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:49:41] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:49:42] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:49:42] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:49:42] local.INFO: Packet analysis {"connection_id":176211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:49:42] local.INFO: Extracted packet for processing {"connection_id":176211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03: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-09-10 03:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:49:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":176211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:49:42] local.INFO: GPS data processed {"connection_id":176211,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:49:42] local.INFO: Acknowledgment sent {"connection_id":176211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:50:13] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:50:13] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:50:13] local.INFO: Packet analysis {"connection_id":176211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:50:13] local.INFO: Extracted packet for processing {"connection_id":176211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:50:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:50: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-09-10 03:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:50:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":176211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:50:13] local.INFO: GPS data processed {"connection_id":176211,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:50:13] local.INFO: Acknowledgment sent {"connection_id":176211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:50:36] local.INFO: TCP Data received {"connection_id":177385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:50:36] local.INFO: Processing buffer {"connection_id":177385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:50:36] local.INFO: IMEI packet received {"connection_id":177385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":177385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:50:42] local.INFO: TCP Data received {"connection_id":177385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:50:42] local.INFO: Processing buffer {"connection_id":177385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:50:42] local.INFO: IMEI packet received {"connection_id":177385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":177385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:50:43] local.INFO: TCP Data received {"connection_id":177385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:50:43] local.INFO: Processing buffer {"connection_id":177385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0883d7078012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:50:43] local.INFO: Packet analysis {"connection_id":177385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:50:43] local.INFO: Extracted packet for processing {"connection_id":177385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0883d"} 
[2026-09-10 03:50:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788992123000,"timestamp_ms":1788992123000,"timestamp_seconds":1788992123,"priority":1,"record_length":96,"hex_timestamp":"000001a0883d7078"} 
[2026-09-10 03:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 03:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 03:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981906432001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:50:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981906432001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":177385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:50:43] local.INFO: GPS data processed {"connection_id":177385,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:50:43] local.INFO: Acknowledgment sent {"connection_id":177385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:51:13] local.INFO: TCP Data received {"connection_id":177385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:51:13] local.INFO: Processing buffer {"connection_id":177385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:51:13] local.INFO: Packet analysis {"connection_id":177385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:51:13] local.INFO: Extracted packet for processing {"connection_id":177385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:51:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:51: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-09-10 03:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:51:13] 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-09-10 03:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:51:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":177385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:51:13] local.INFO: GPS data processed {"connection_id":177385,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:51:13] local.INFO: Acknowledgment sent {"connection_id":177385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:51:36] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:51:36] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:51:36] local.INFO: IMEI packet received {"connection_id":175981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":175981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:51:41] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:51:41] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:51:41] local.INFO: IMEI packet received {"connection_id":175981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":175981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:51:42] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:51:42] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:51:42] local.INFO: Packet analysis {"connection_id":175981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:51:42] local.INFO: Extracted packet for processing {"connection_id":175981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:51:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:51:42] 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-09-10 03: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-09-10 03:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:51:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":175981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:51:42] local.INFO: GPS data processed {"connection_id":175981,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:51:42] local.INFO: Acknowledgment sent {"connection_id":175981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:52:13] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:52:13] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:52:13] local.INFO: Packet analysis {"connection_id":175981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:52:13] local.INFO: Extracted packet for processing {"connection_id":175981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:52:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:52:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:52: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-09-10 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:52:13] 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-09-10 03:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:52: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-09-10 03:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:52:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:52:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":175981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:52:13] local.INFO: GPS data processed {"connection_id":175981,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:52:13] local.INFO: Acknowledgment sent {"connection_id":175981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:52:36] local.INFO: TCP Data received {"connection_id":176212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:52:36] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:52:36] local.INFO: IMEI packet received {"connection_id":176212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":176212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:52:41] local.INFO: TCP Data received {"connection_id":176212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:52:41] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:52:41] local.INFO: IMEI packet received {"connection_id":176212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:52:42] local.INFO: TCP Data received {"connection_id":176212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:52:42] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:52:42] local.INFO: Packet analysis {"connection_id":176212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:52:42] local.INFO: Extracted packet for processing {"connection_id":176212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:52:42] 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-09-10 03:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":176212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:52:42] local.INFO: GPS data processed {"connection_id":176212,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:52:42] local.INFO: Acknowledgment sent {"connection_id":176212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:53:13] local.INFO: TCP Data received {"connection_id":176212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:13] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:13] local.INFO: Packet analysis {"connection_id":176212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:53:13] local.INFO: Extracted packet for processing {"connection_id":176212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:53: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-09-10 03:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:53:13] 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-09-10 03:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":176212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:53:13] local.INFO: GPS data processed {"connection_id":176212,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:53:13] local.INFO: Acknowledgment sent {"connection_id":176212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:53:41] local.INFO: TCP Data received {"connection_id":178775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:53:41] local.INFO: Processing buffer {"connection_id":178775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:53:41] local.INFO: IMEI packet received {"connection_id":178775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":178775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:53:46] local.INFO: TCP Data received {"connection_id":178775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:53:46] local.INFO: Processing buffer {"connection_id":178775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:53:46] local.INFO: IMEI packet received {"connection_id":178775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":178775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:53:47] local.INFO: TCP Data received {"connection_id":178775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:47] local.INFO: Processing buffer {"connection_id":178775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:47] local.INFO: Packet analysis {"connection_id":178775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:53:47] local.INFO: Extracted packet for processing {"connection_id":178775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:53:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:53:47] 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-09-10 03:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:53:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:53:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":178775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:53:47] local.INFO: GPS data processed {"connection_id":178775,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:53:47] local.INFO: Acknowledgment sent {"connection_id":178775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:53:52] local.INFO: TCP Data received {"connection_id":178775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:52] local.INFO: Processing buffer {"connection_id":178775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:53:52] local.INFO: Packet analysis {"connection_id":178775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:53:52] local.INFO: Extracted packet for processing {"connection_id":178775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:53:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:53:52] 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-09-10 03:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:53:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":178775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:53:52] local.INFO: GPS data processed {"connection_id":178775,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:53:52] local.INFO: Acknowledgment sent {"connection_id":178775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:54:36] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:54:36] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:54:36] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:54:41] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:54:41] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:54:41] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:54:42] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:54:42] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:54:42] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:54:42] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:54:42] 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-09-10 03:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:54:42] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:54:42] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:55:13] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:55:13] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:55:13] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:55:13] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:55:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:55: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-09-10 03:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:55:13] 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-09-10 03:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:55:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:55:13] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:55:13] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:55:36] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:55:36] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:55:36] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:55:41] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:55:41] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:55:41] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:55:42] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:55:42] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088420840012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 03:55:42] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:55:42] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08842"} 
[2026-09-10 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457981983488001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992424000,"timestamp_ms":1788992424000,"timestamp_seconds":1788992424,"priority":1,"record_length":96,"hex_timestamp":"000001a088420840"} 
[2026-09-10 03:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 03:55:42] 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-09-10 03:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457981983488001,"66":25897,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457981983488001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:55:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457981983488001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:55:42] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:55:42] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:56:13] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:56:13] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:56:13] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:56:13] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03: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-09-10 03:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 03:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:56:13] 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-09-10 03: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-09-10 03:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:56: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-09-10 03:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:56:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:56:13] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:56:13] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:56:36] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:56:36] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:56:36] local.INFO: IMEI packet received {"connection_id":175983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":175983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:56:41] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:56:41] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:56:41] local.INFO: IMEI packet received {"connection_id":175983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":175983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:56:42] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:56:42] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:56:42] local.INFO: Packet analysis {"connection_id":175983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:56:42] local.INFO: Extracted packet for processing {"connection_id":175983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 03:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:56:42] 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-09-10 03:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:56:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":175983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:56:42] local.INFO: GPS data processed {"connection_id":175983,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:56:42] local.INFO: Acknowledgment sent {"connection_id":175983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:57:13] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:57:13] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:57:13] local.INFO: Packet analysis {"connection_id":175983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:57:13] local.INFO: Extracted packet for processing {"connection_id":175983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:57:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 03:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:57:13] 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-09-10 03:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:57: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-09-10 03:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:57:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":175983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:57:13] local.INFO: GPS data processed {"connection_id":175983,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:57:13] local.INFO: Acknowledgment sent {"connection_id":175983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:57:36] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:57:36] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:57:36] local.INFO: IMEI packet received {"connection_id":176214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":176214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:57:41] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:57:41] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:57:41] local.INFO: IMEI packet received {"connection_id":176214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":176214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:57:42] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:57:42] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:57:42] local.INFO: Packet analysis {"connection_id":176214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:57:42] local.INFO: Extracted packet for processing {"connection_id":176214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 03:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:57:42] 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-09-10 03:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":176214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:57:42] local.INFO: GPS data processed {"connection_id":176214,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:57:42] local.INFO: Acknowledgment sent {"connection_id":176214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:58:13] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:58:13] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:58:13] local.INFO: Packet analysis {"connection_id":176214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:58:13] local.INFO: Extracted packet for processing {"connection_id":176214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:58:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 03:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:58:13] 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-09-10 03:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:58: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-09-10 03:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:58:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":176214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:58:13] local.INFO: GPS data processed {"connection_id":176214,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:58:13] local.INFO: Acknowledgment sent {"connection_id":176214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:58:36] local.INFO: TCP Data received {"connection_id":178776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:58:36] local.INFO: Processing buffer {"connection_id":178776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:58:36] local.INFO: IMEI packet received {"connection_id":178776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":178776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:58:41] local.INFO: TCP Data received {"connection_id":178776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:58:41] local.INFO: Processing buffer {"connection_id":178776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:58:41] local.INFO: IMEI packet received {"connection_id":178776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":178776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:58:42] local.INFO: TCP Data received {"connection_id":178776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:58:42] local.INFO: Processing buffer {"connection_id":178776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:58:42] local.INFO: Packet analysis {"connection_id":178776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:58:42] local.INFO: Extracted packet for processing {"connection_id":178776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 03:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 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-09-10 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:58:42] 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-09-10 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-09-10 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-09-10 03:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":178776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:58:42] local.INFO: GPS data processed {"connection_id":178776,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:58:42] local.INFO: Acknowledgment sent {"connection_id":178776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:59:13] local.INFO: TCP Data received {"connection_id":178776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:59:13] local.INFO: Processing buffer {"connection_id":178776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:59:13] local.INFO: Packet analysis {"connection_id":178776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:59:13] local.INFO: Extracted packet for processing {"connection_id":178776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:59:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 03:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:59:13] 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-09-10 03:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:59: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-09-10 03:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:59:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":178776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:59:13] local.INFO: GPS data processed {"connection_id":178776,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:59:13] local.INFO: Acknowledgment sent {"connection_id":178776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 03:59:36] local.INFO: TCP Data received {"connection_id":178777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:59:36] local.INFO: Processing buffer {"connection_id":178777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:59:36] local.INFO: IMEI packet received {"connection_id":178777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 03:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":178777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 03:59:41] local.INFO: TCP Data received {"connection_id":178777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:59:41] local.INFO: Processing buffer {"connection_id":178777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 03:59:41] local.INFO: IMEI packet received {"connection_id":178777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 03:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":178777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 03:59:42] local.INFO: TCP Data received {"connection_id":178777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:59:42] local.INFO: Processing buffer {"connection_id":178777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 03:59:42] local.INFO: Packet analysis {"connection_id":178777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:59:42] local.INFO: Extracted packet for processing {"connection_id":178777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 03:59:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 03:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 03:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 03:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 03:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 03:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 03:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 03:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 03:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 03:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 03:59:42] 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-09-10 03:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 03:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 03:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 03:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 03:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 03:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 03:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 03:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 03:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 03:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 03:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 03:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 03:59:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 03:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 03:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 03:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 03:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 03:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":178777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 03:59:42] local.INFO: GPS data processed {"connection_id":178777,"processed":1,"errors":0,"total":1} 
[2026-09-10 03:59:42] local.INFO: Acknowledgment sent {"connection_id":178777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:00:13] local.INFO: TCP Data received {"connection_id":178777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:00:13] local.INFO: Processing buffer {"connection_id":178777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:00:13] local.INFO: Packet analysis {"connection_id":178777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 04:00:13] local.INFO: Extracted packet for processing {"connection_id":178777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 04:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 04:00:13] 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-09-10 04:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:00: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-09-10 04:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:00:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":178777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:00:13] local.INFO: GPS data processed {"connection_id":178777,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:00:13] local.INFO: Acknowledgment sent {"connection_id":178777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:00:36] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:00:36] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:00:36] local.INFO: IMEI packet received {"connection_id":175984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":175984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:00:41] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:00:41] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:00:41] local.INFO: IMEI packet received {"connection_id":175984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":175984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:00:42] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:00:42] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08846a008012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:00:42] local.INFO: Packet analysis {"connection_id":175984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 04:00:42] local.INFO: Extracted packet for processing {"connection_id":175984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08846"} 
[2026-09-10 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982060544001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788992725000,"timestamp_ms":1788992725000,"timestamp_seconds":1788992725,"priority":1,"record_length":96,"hex_timestamp":"000001a08846a008"} 
[2026-09-10 04:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 04:00:42] 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-09-10 04: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-09-10 04:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982060544001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982060544001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:00:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982060544001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":175984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:00:42] local.INFO: GPS data processed {"connection_id":175984,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:00:42] local.INFO: Acknowledgment sent {"connection_id":175984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:01:13] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:13] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:13] local.INFO: Packet analysis {"connection_id":175984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:01:13] local.INFO: Extracted packet for processing {"connection_id":175984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:01:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:01: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-09-10 04:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:01: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-09-10 04:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:01:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:01:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":175984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:01:13] local.INFO: GPS data processed {"connection_id":175984,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:01:13] local.INFO: Acknowledgment sent {"connection_id":175984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:01:36] local.INFO: TCP Data received {"connection_id":177386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:01:36] local.INFO: Processing buffer {"connection_id":177386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:01:36] local.INFO: IMEI packet received {"connection_id":177386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":177386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:01:41] local.INFO: TCP Data received {"connection_id":177386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:01:41] local.INFO: Processing buffer {"connection_id":177386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:01:41] local.INFO: IMEI packet received {"connection_id":177386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":177386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:01:42] local.INFO: TCP Data received {"connection_id":177386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:42] local.INFO: Processing buffer {"connection_id":177386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:42] local.INFO: Packet analysis {"connection_id":177386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:01:42] local.INFO: Extracted packet for processing {"connection_id":177386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:01:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":177386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:01:42] local.INFO: GPS data processed {"connection_id":177386,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:01:42] local.INFO: Acknowledgment sent {"connection_id":177386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:01:47] local.INFO: TCP Data received {"connection_id":177386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:47] local.INFO: Processing buffer {"connection_id":177386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:01:47] local.INFO: Packet analysis {"connection_id":177386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:01:47] local.INFO: Extracted packet for processing {"connection_id":177386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:01:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:01:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:01:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":177386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:01:47] local.INFO: GPS data processed {"connection_id":177386,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:01:47] local.INFO: Acknowledgment sent {"connection_id":177386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:02:17] local.INFO: TCP Data received {"connection_id":177386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:02:17] local.INFO: Processing buffer {"connection_id":177386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:02:17] local.INFO: Packet analysis {"connection_id":177386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:02:17] local.INFO: Extracted packet for processing {"connection_id":177386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:02:17] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:02: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-09-10 04:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:02:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":177386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:02:17] local.INFO: GPS data processed {"connection_id":177386,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:02:17] local.INFO: Acknowledgment sent {"connection_id":177386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:02:36] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:02:36] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:02:36] local.INFO: IMEI packet received {"connection_id":175985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":175985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:02:41] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:02:41] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:02:41] local.INFO: IMEI packet received {"connection_id":175985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":175985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:02:42] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:02:42] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:02:42] local.INFO: Packet analysis {"connection_id":175985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:02:42] local.INFO: Extracted packet for processing {"connection_id":175985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:02:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":175985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:02:42] local.INFO: GPS data processed {"connection_id":175985,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:02:42] local.INFO: Acknowledgment sent {"connection_id":175985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:03:13] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:03:13] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:03:13] local.INFO: Packet analysis {"connection_id":175985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:03:13] local.INFO: Extracted packet for processing {"connection_id":175985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:03:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:03: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-09-10 04:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:03: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-09-10 04:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:03:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":175985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:03:13] local.INFO: GPS data processed {"connection_id":175985,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:03:13] local.INFO: Acknowledgment sent {"connection_id":175985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:03:36] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:03:36] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:03:36] local.INFO: IMEI packet received {"connection_id":176215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":176215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:03:41] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:03:41] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:03:41] local.INFO: IMEI packet received {"connection_id":176215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":176215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:03:42] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:03:42] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:03:42] local.INFO: Packet analysis {"connection_id":176215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:03:42] local.INFO: Extracted packet for processing {"connection_id":176215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:03:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":176215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:03:42] local.INFO: GPS data processed {"connection_id":176215,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:03:42] local.INFO: Acknowledgment sent {"connection_id":176215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:04:13] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:04:13] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:04:13] local.INFO: Packet analysis {"connection_id":176215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:04:13] local.INFO: Extracted packet for processing {"connection_id":176215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:04:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:04: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-09-10 04:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:04: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-09-10 04:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:04:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":176215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:04:13] local.INFO: GPS data processed {"connection_id":176215,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:04:13] local.INFO: Acknowledgment sent {"connection_id":176215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:04:36] local.INFO: TCP Data received {"connection_id":177387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:04:36] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:04:36] local.INFO: IMEI packet received {"connection_id":177387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":177387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:04:41] local.INFO: TCP Data received {"connection_id":177387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:04:41] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:04:41] local.INFO: IMEI packet received {"connection_id":177387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":177387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:04:42] local.INFO: TCP Data received {"connection_id":177387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:04:42] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:04:42] local.INFO: Packet analysis {"connection_id":177387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:04:42] local.INFO: Extracted packet for processing {"connection_id":177387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:04:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":177387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:04:42] local.INFO: GPS data processed {"connection_id":177387,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:04:42] local.INFO: Acknowledgment sent {"connection_id":177387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:05:13] local.INFO: TCP Data received {"connection_id":177387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:05:13] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:05:13] local.INFO: Packet analysis {"connection_id":177387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:05:13] local.INFO: Extracted packet for processing {"connection_id":177387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:05:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:05: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-09-10 04:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:05: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-09-10 04:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:05:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:05:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":177387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:05:13] local.INFO: GPS data processed {"connection_id":177387,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:05:13] local.INFO: Acknowledgment sent {"connection_id":177387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:05:36] local.INFO: TCP Data received {"connection_id":178778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:05:36] local.INFO: Processing buffer {"connection_id":178778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:05:36] local.INFO: IMEI packet received {"connection_id":178778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":178778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:05:41] local.INFO: TCP Data received {"connection_id":178778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:05:41] local.INFO: Processing buffer {"connection_id":178778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:05:41] local.INFO: IMEI packet received {"connection_id":178778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":178778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:05:42] local.INFO: TCP Data received {"connection_id":178778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:05:42] local.INFO: Processing buffer {"connection_id":178778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884b37d0012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:05:42] local.INFO: Packet analysis {"connection_id":178778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:05:42] local.INFO: Extracted packet for processing {"connection_id":178778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884b"} 
[2026-09-10 04:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982137600001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993026000,"timestamp_ms":1788993026000,"timestamp_seconds":1788993026,"priority":1,"record_length":96,"hex_timestamp":"000001a0884b37d0"} 
[2026-09-10 04:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982137600001,"66":25875,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982137600001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:05:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982137600001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":178778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:05:42] local.INFO: GPS data processed {"connection_id":178778,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:05:42] local.INFO: Acknowledgment sent {"connection_id":178778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:06:13] local.INFO: TCP Data received {"connection_id":178778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:06:13] local.INFO: Processing buffer {"connection_id":178778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:06:13] local.INFO: Packet analysis {"connection_id":178778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:06:13] local.INFO: Extracted packet for processing {"connection_id":178778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:06:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:06: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-09-10 04:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:06: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-09-10 04:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:06:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":178778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:06:13] local.INFO: GPS data processed {"connection_id":178778,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:06:13] local.INFO: Acknowledgment sent {"connection_id":178778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:06:36] local.INFO: TCP Data received {"connection_id":177388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:06:36] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:06:36] local.INFO: IMEI packet received {"connection_id":177388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":177388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:06:41] local.INFO: TCP Data received {"connection_id":177388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:06:41] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:06:41] local.INFO: IMEI packet received {"connection_id":177388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":177388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:06:42] local.INFO: TCP Data received {"connection_id":177388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:06:42] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:06:42] local.INFO: Packet analysis {"connection_id":177388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:06:42] local.INFO: Extracted packet for processing {"connection_id":177388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:06:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":177388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:06:42] local.INFO: GPS data processed {"connection_id":177388,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:06:42] local.INFO: Acknowledgment sent {"connection_id":177388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:07:13] local.INFO: TCP Data received {"connection_id":177388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:07:13] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:07:13] local.INFO: Packet analysis {"connection_id":177388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:07:13] local.INFO: Extracted packet for processing {"connection_id":177388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:07:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:07: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-09-10 04:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:07: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-09-10 04:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:07:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":177388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:07:13] local.INFO: GPS data processed {"connection_id":177388,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:07:13] local.INFO: Acknowledgment sent {"connection_id":177388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:07:36] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:07:36] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:07:36] local.INFO: IMEI packet received {"connection_id":175986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":175986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:07:41] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:07:41] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:07:41] local.INFO: IMEI packet received {"connection_id":175986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":175986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:07:42] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:07:42] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:07:42] local.INFO: Packet analysis {"connection_id":175986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:07:42] local.INFO: Extracted packet for processing {"connection_id":175986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:07:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":175986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:07:42] local.INFO: GPS data processed {"connection_id":175986,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:07:42] local.INFO: Acknowledgment sent {"connection_id":175986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:08:13] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:08:13] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:08:13] local.INFO: Packet analysis {"connection_id":175986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:08:13] local.INFO: Extracted packet for processing {"connection_id":175986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:08:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:08: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-09-10 04: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:08: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-09-10 04:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:08:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":175986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:08:13] local.INFO: GPS data processed {"connection_id":175986,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:08:13] local.INFO: Acknowledgment sent {"connection_id":175986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:08:36] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:08:36] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:08:36] local.INFO: IMEI packet received {"connection_id":176216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":176216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:08:41] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:08:41] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:08:41] local.INFO: IMEI packet received {"connection_id":176216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":176216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:08:42] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:08:42] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:08:42] local.INFO: Packet analysis {"connection_id":176216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:08:42] local.INFO: Extracted packet for processing {"connection_id":176216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:08:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":176216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:08:42] local.INFO: GPS data processed {"connection_id":176216,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:08:42] local.INFO: Acknowledgment sent {"connection_id":176216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:09:13] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:09:13] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:09:13] local.INFO: Packet analysis {"connection_id":176216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:09:13] local.INFO: Extracted packet for processing {"connection_id":176216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:09: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-09-10 04: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:09: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-09-10 04:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:09:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":176216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:09:13] local.INFO: GPS data processed {"connection_id":176216,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:09:13] local.INFO: Acknowledgment sent {"connection_id":176216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:09:36] local.INFO: TCP Data received {"connection_id":177389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:09:36] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:09:36] local.INFO: IMEI packet received {"connection_id":177389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":177389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:09:41] local.INFO: TCP Data received {"connection_id":177389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:09:41] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:09:41] local.INFO: IMEI packet received {"connection_id":177389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":177389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:09:42] local.INFO: TCP Data received {"connection_id":177389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:09:42] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:09:42] local.INFO: Packet analysis {"connection_id":177389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:09:42] local.INFO: Extracted packet for processing {"connection_id":177389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:09:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:09:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":177389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:09:42] local.INFO: GPS data processed {"connection_id":177389,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:09:42] local.INFO: Acknowledgment sent {"connection_id":177389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:10:13] local.INFO: TCP Data received {"connection_id":177389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:13] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:13] local.INFO: Packet analysis {"connection_id":177389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:10:13] local.INFO: Extracted packet for processing {"connection_id":177389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:10:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:10: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-09-10 04:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:10: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-09-10 04:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:10:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":177389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:10:13] local.INFO: GPS data processed {"connection_id":177389,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:10:13] local.INFO: Acknowledgment sent {"connection_id":177389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:10:41] local.INFO: TCP Data received {"connection_id":178779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:10:41] local.INFO: Processing buffer {"connection_id":178779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:10:41] local.INFO: IMEI packet received {"connection_id":178779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":178779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:10:47] local.INFO: TCP Data received {"connection_id":178779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:10:47] local.INFO: Processing buffer {"connection_id":178779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:10:47] local.INFO: IMEI packet received {"connection_id":178779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":178779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:10:47] local.INFO: TCP Data received {"connection_id":178779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:47] local.INFO: Processing buffer {"connection_id":178779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:47] local.INFO: Packet analysis {"connection_id":178779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:10:47] local.INFO: Extracted packet for processing {"connection_id":178779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:10:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":178779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:10:47] local.INFO: GPS data processed {"connection_id":178779,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:10:47] local.INFO: Acknowledgment sent {"connection_id":178779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:10:52] local.INFO: TCP Data received {"connection_id":178779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:52] local.INFO: Processing buffer {"connection_id":178779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0884fcf98012cee6fc0072e2ba80034006b30..."} 
[2026-09-10 04:10:52] local.INFO: Packet analysis {"connection_id":178779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:10:52] local.INFO: Extracted packet for processing {"connection_id":178779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0884f"} 
[2026-09-10 04:10:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":48,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982214656001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788993327000,"timestamp_ms":1788993327000,"timestamp_seconds":1788993327,"priority":1,"record_length":96,"hex_timestamp":"000001a0884fcf98"} 
[2026-09-10 04:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 04:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982214656001,"66":25538,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982214656001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:10:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982214656001,"power":25538,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":178779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:10:52] local.INFO: GPS data processed {"connection_id":178779,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:10:52] local.INFO: Acknowledgment sent {"connection_id":178779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:11:36] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:11:36] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:11:36] local.INFO: IMEI packet received {"connection_id":176217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":176217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:11:41] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:11:41] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:11:41] local.INFO: IMEI packet received {"connection_id":176217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":176217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:11:42] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:11:42] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:11:42] local.INFO: Packet analysis {"connection_id":176217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:11:42] local.INFO: Extracted packet for processing {"connection_id":176217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:11:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:11:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":176217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:11:42] local.INFO: GPS data processed {"connection_id":176217,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:11:42] local.INFO: Acknowledgment sent {"connection_id":176217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:12:13] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:12:13] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:12:13] local.INFO: Packet analysis {"connection_id":176217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:12:13] local.INFO: Extracted packet for processing {"connection_id":176217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:12:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:12:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":176217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:12:13] local.INFO: GPS data processed {"connection_id":176217,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:12:13] local.INFO: Acknowledgment sent {"connection_id":176217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:12:36] local.INFO: TCP Data received {"connection_id":178780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:12:36] local.INFO: Processing buffer {"connection_id":178780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:12:36] local.INFO: IMEI packet received {"connection_id":178780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":178780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:12:41] local.INFO: TCP Data received {"connection_id":178780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:12:41] local.INFO: Processing buffer {"connection_id":178780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:12:41] local.INFO: IMEI packet received {"connection_id":178780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":178780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:12:42] local.INFO: TCP Data received {"connection_id":178780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:12:42] local.INFO: Processing buffer {"connection_id":178780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:12:42] local.INFO: Packet analysis {"connection_id":178780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:12:42] local.INFO: Extracted packet for processing {"connection_id":178780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:12:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:12:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":178780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:12:42] local.INFO: GPS data processed {"connection_id":178780,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:12:42] local.INFO: Acknowledgment sent {"connection_id":178780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:13:13] local.INFO: TCP Data received {"connection_id":178780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:13:13] local.INFO: Processing buffer {"connection_id":178780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:13:13] local.INFO: Packet analysis {"connection_id":178780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:13:13] local.INFO: Extracted packet for processing {"connection_id":178780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:13:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":178780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:13:13] local.INFO: GPS data processed {"connection_id":178780,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:13:13] local.INFO: Acknowledgment sent {"connection_id":178780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:13:36] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:13:36] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:13:36] local.INFO: IMEI packet received {"connection_id":175987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":175987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:13:41] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:13:41] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:13:41] local.INFO: IMEI packet received {"connection_id":175987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":175987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:13:42] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:13:42] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:13:42] local.INFO: Packet analysis {"connection_id":175987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:13:42] local.INFO: Extracted packet for processing {"connection_id":175987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:13:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:13:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":175987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:13:42] local.INFO: GPS data processed {"connection_id":175987,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:13:42] local.INFO: Acknowledgment sent {"connection_id":175987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:14:13] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:14:13] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:14:13] local.INFO: Packet analysis {"connection_id":175987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:14:13] local.INFO: Extracted packet for processing {"connection_id":175987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:14:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:14: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-09-10 04:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:14:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":175987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:14:13] local.INFO: GPS data processed {"connection_id":175987,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:14:13] local.INFO: Acknowledgment sent {"connection_id":175987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:14:36] local.INFO: TCP Data received {"connection_id":177390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:14:36] local.INFO: Processing buffer {"connection_id":177390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:14:36] local.INFO: IMEI packet received {"connection_id":177390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":177390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:14:41] local.INFO: TCP Data received {"connection_id":177390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:14:41] local.INFO: Processing buffer {"connection_id":177390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:14:41] local.INFO: IMEI packet received {"connection_id":177390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":177390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:14:42] local.INFO: TCP Data received {"connection_id":177390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:14:42] local.INFO: Processing buffer {"connection_id":177390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:14:42] local.INFO: Packet analysis {"connection_id":177390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:14:42] local.INFO: Extracted packet for processing {"connection_id":177390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":177390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:14:42] local.INFO: GPS data processed {"connection_id":177390,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:14:42] local.INFO: Acknowledgment sent {"connection_id":177390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:15:13] local.INFO: TCP Data received {"connection_id":177390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:15:13] local.INFO: Processing buffer {"connection_id":177390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:15:13] local.INFO: Packet analysis {"connection_id":177390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:15:13] local.INFO: Extracted packet for processing {"connection_id":177390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:15:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":177390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:15:13] local.INFO: GPS data processed {"connection_id":177390,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:15:13] local.INFO: Acknowledgment sent {"connection_id":177390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:15:36] local.INFO: TCP Data received {"connection_id":177391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:15:36] local.INFO: Processing buffer {"connection_id":177391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:15:36] local.INFO: IMEI packet received {"connection_id":177391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":177391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:15:41] local.INFO: TCP Data received {"connection_id":177391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:15:41] local.INFO: Processing buffer {"connection_id":177391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:15:41] local.INFO: IMEI packet received {"connection_id":177391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":177391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:15:42] local.INFO: TCP Data received {"connection_id":177391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:15:42] local.INFO: Processing buffer {"connection_id":177391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088546760012cee6fc0072e2ba80034006b31..."} 
[2026-09-10 04:15:42] local.INFO: Packet analysis {"connection_id":177391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:15:42] local.INFO: Extracted packet for processing {"connection_id":177391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08854"} 
[2026-09-10 04:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":49,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993628000,"timestamp_ms":1788993628000,"timestamp_seconds":1788993628,"priority":1,"record_length":96,"hex_timestamp":"000001a088546760"} 
[2026-09-10 04:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 04:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982291712001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:15:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982291712001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":177391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:15:42] local.INFO: GPS data processed {"connection_id":177391,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:15:42] local.INFO: Acknowledgment sent {"connection_id":177391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:16:13] local.INFO: TCP Data received {"connection_id":177391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:16:13] local.INFO: Processing buffer {"connection_id":177391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:16:13] local.INFO: Packet analysis {"connection_id":177391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:16:13] local.INFO: Extracted packet for processing {"connection_id":177391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:16:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:16:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":177391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:16:13] local.INFO: GPS data processed {"connection_id":177391,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:16:13] local.INFO: Acknowledgment sent {"connection_id":177391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:16:36] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:16:36] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:16:36] local.INFO: IMEI packet received {"connection_id":175988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":175988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:16:41] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:16:41] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:16:41] local.INFO: IMEI packet received {"connection_id":175988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":175988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:16:42] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:16:42] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:16:42] local.INFO: Packet analysis {"connection_id":175988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:16:42] local.INFO: Extracted packet for processing {"connection_id":175988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":175988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:16:42] local.INFO: GPS data processed {"connection_id":175988,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:16:42] local.INFO: Acknowledgment sent {"connection_id":175988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:17:13] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:17:13] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:17:13] local.INFO: Packet analysis {"connection_id":175988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:17:13] local.INFO: Extracted packet for processing {"connection_id":175988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:17: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-09-10 04:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:17:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":175988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:17:13] local.INFO: GPS data processed {"connection_id":175988,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:17:13] local.INFO: Acknowledgment sent {"connection_id":175988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:17:36] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:17:36] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:17:36] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:17:41] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:17:41] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:17:41] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:17:42] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:17:42] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:17:42] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:17:42] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:17:42] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:17:42] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:18:13] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:13] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:13] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:18:13] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:18:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:18: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-09-10 04:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:18:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:18:13] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:18:13] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:18:41] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:18:41] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:18:41] local.INFO: IMEI packet received {"connection_id":175989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":175989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:18:47] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:18:47] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:18:47] local.INFO: IMEI packet received {"connection_id":175989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":175989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:18:47] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:47] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:47] local.INFO: Packet analysis {"connection_id":175989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:18:47] local.INFO: Extracted packet for processing {"connection_id":175989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:18:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:18:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:18:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":175989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:18:47] local.INFO: GPS data processed {"connection_id":175989,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:18:47] local.INFO: Acknowledgment sent {"connection_id":175989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:18:52] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:52] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:18:52] local.INFO: Packet analysis {"connection_id":175989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:18:52] local.INFO: Extracted packet for processing {"connection_id":175989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:18:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:18:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":175989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:18:52] local.INFO: GPS data processed {"connection_id":175989,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:18:52] local.INFO: Acknowledgment sent {"connection_id":175989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:19:36] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:19:36] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:19:36] local.INFO: IMEI packet received {"connection_id":177392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":177392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:19:41] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:19:41] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:19:41] local.INFO: IMEI packet received {"connection_id":177392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":177392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:19:42] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:19:42] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:19:42] local.INFO: Packet analysis {"connection_id":177392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:19:42] local.INFO: Extracted packet for processing {"connection_id":177392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:19:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":177392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:19:42] local.INFO: GPS data processed {"connection_id":177392,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:19:42] local.INFO: Acknowledgment sent {"connection_id":177392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:20:13] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:20:13] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:20:13] local.INFO: Packet analysis {"connection_id":177392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:20:13] local.INFO: Extracted packet for processing {"connection_id":177392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:20:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:20:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":177392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:20:13] local.INFO: GPS data processed {"connection_id":177392,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:20:13] local.INFO: Acknowledgment sent {"connection_id":177392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:20:36] local.INFO: TCP Data received {"connection_id":178781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:20:36] local.INFO: Processing buffer {"connection_id":178781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:20:36] local.INFO: IMEI packet received {"connection_id":178781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":178781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:20:41] local.INFO: TCP Data received {"connection_id":178781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:20:41] local.INFO: Processing buffer {"connection_id":178781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:20:41] local.INFO: IMEI packet received {"connection_id":178781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":178781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:20:42] local.INFO: TCP Data received {"connection_id":178781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:20:42] local.INFO: Processing buffer {"connection_id":178781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08858ff28012cee6fc0072e2ba80034006b2f..."} 
[2026-09-10 04:20:42] local.INFO: Packet analysis {"connection_id":178781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:20:42] local.INFO: Extracted packet for processing {"connection_id":178781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08858"} 
[2026-09-10 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982368768001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788993929000,"timestamp_ms":1788993929000,"timestamp_seconds":1788993929,"priority":1,"record_length":96,"hex_timestamp":"000001a08858ff28"} 
[2026-09-10 04:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982368768001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982368768001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:20:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982368768001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":178781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:20:42] local.INFO: GPS data processed {"connection_id":178781,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:20:42] local.INFO: Acknowledgment sent {"connection_id":178781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:21:13] local.INFO: TCP Data received {"connection_id":178781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:21:13] local.INFO: Processing buffer {"connection_id":178781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:21:13] local.INFO: Packet analysis {"connection_id":178781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:21:13] local.INFO: Extracted packet for processing {"connection_id":178781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:21:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:21: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-09-10 04:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:21:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":178781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:21:13] local.INFO: GPS data processed {"connection_id":178781,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:21:13] local.INFO: Acknowledgment sent {"connection_id":178781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:21:36] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:21:36] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:21:36] local.INFO: IMEI packet received {"connection_id":177393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":177393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:21:41] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:21:41] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:21:41] local.INFO: IMEI packet received {"connection_id":177393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":177393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:21:42] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:21:42] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:21:42] local.INFO: Packet analysis {"connection_id":177393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:21:42] local.INFO: Extracted packet for processing {"connection_id":177393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:21:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:21:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":177393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:21:42] local.INFO: GPS data processed {"connection_id":177393,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:21:42] local.INFO: Acknowledgment sent {"connection_id":177393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:22:13] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:22:13] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:22:13] local.INFO: Packet analysis {"connection_id":177393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:22:13] local.INFO: Extracted packet for processing {"connection_id":177393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:22:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:22: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-09-10 04:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:22:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":177393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:22:13] local.INFO: GPS data processed {"connection_id":177393,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:22:13] local.INFO: Acknowledgment sent {"connection_id":177393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:22:36] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:22:36] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:22:36] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:22:41] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:22:41] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:22:41] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:22:42] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:22:42] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:22:42] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:22:42] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:22:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:22:42] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:22:42] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:23:13] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:23:13] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:23:13] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:23:13] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:23:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:23: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-09-10 04:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:23:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:23:13] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:23:13] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:23:36] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:23:36] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:23:36] local.INFO: IMEI packet received {"connection_id":175990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":175990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:23:41] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:23:41] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:23:41] local.INFO: IMEI packet received {"connection_id":175990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":175990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:23:42] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:23:42] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:23:42] local.INFO: Packet analysis {"connection_id":175990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:23:42] local.INFO: Extracted packet for processing {"connection_id":175990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":175990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:23:42] local.INFO: GPS data processed {"connection_id":175990,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:23:42] local.INFO: Acknowledgment sent {"connection_id":175990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:24:13] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:24:13] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:24:13] local.INFO: Packet analysis {"connection_id":175990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:24:13] local.INFO: Extracted packet for processing {"connection_id":175990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:24: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-09-10 04:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:24:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":175990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:24:13] local.INFO: GPS data processed {"connection_id":175990,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:24:13] local.INFO: Acknowledgment sent {"connection_id":175990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:24:36] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:24:36] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:24:36] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:24:41] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:24:41] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:24:41] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:24:42] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:24:42] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:24:42] local.INFO: Packet analysis {"connection_id":175991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:24:42] local.INFO: Extracted packet for processing {"connection_id":175991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":175991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:24:42] local.INFO: GPS data processed {"connection_id":175991,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:24:42] local.INFO: Acknowledgment sent {"connection_id":175991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:25:13] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:25:13] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:25:13] local.INFO: Packet analysis {"connection_id":175991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:25:13] local.INFO: Extracted packet for processing {"connection_id":175991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:25: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-09-10 04:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:25:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":175991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:25:13] local.INFO: GPS data processed {"connection_id":175991,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:25:13] local.INFO: Acknowledgment sent {"connection_id":175991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:25:36] local.INFO: TCP Data received {"connection_id":177394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:25:36] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:25:36] local.INFO: IMEI packet received {"connection_id":177394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":177394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:25:41] local.INFO: TCP Data received {"connection_id":177394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:25:41] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:25:41] local.INFO: IMEI packet received {"connection_id":177394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":177394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:25:42] local.INFO: TCP Data received {"connection_id":177394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:25:42] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0885d96f0012cee6fc0072e2ba80034006b32..."} 
[2026-09-10 04:25:42] local.INFO: Packet analysis {"connection_id":177394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:25:42] local.INFO: Extracted packet for processing {"connection_id":177394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0885d"} 
[2026-09-10 04:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":50,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982445824001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994230000,"timestamp_ms":1788994230000,"timestamp_seconds":1788994230,"priority":1,"record_length":96,"hex_timestamp":"000001a0885d96f0"} 
[2026-09-10 04:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 04:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982445824001,"66":25854,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982445824001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982445824001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":177394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:25:42] local.INFO: GPS data processed {"connection_id":177394,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:25:42] local.INFO: Acknowledgment sent {"connection_id":177394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:26:13] local.INFO: TCP Data received {"connection_id":177394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:13] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:13] local.INFO: Packet analysis {"connection_id":177394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:26:13] local.INFO: Extracted packet for processing {"connection_id":177394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:26:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:26: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-09-10 04:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:26:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":177394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:26:13] local.INFO: GPS data processed {"connection_id":177394,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:26:13] local.INFO: Acknowledgment sent {"connection_id":177394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:26:41] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:26:41] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:26:41] local.INFO: IMEI packet received {"connection_id":177395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":177395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:26:47] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:26:47] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:26:47] local.INFO: IMEI packet received {"connection_id":177395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":177395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:26:47] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:47] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:47] local.INFO: Packet analysis {"connection_id":177395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:26:47] local.INFO: Extracted packet for processing {"connection_id":177395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:26:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:26:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":177395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:26:47] local.INFO: GPS data processed {"connection_id":177395,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:26:47] local.INFO: Acknowledgment sent {"connection_id":177395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:26:52] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:52] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:26:52] local.INFO: Packet analysis {"connection_id":177395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:26:52] local.INFO: Extracted packet for processing {"connection_id":177395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:26:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":177395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:26:52] local.INFO: GPS data processed {"connection_id":177395,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:26:52] local.INFO: Acknowledgment sent {"connection_id":177395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:27:36] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:27:36] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:27:36] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:27:41] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:27:41] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:27:41] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:27:42] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:27:42] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:27:42] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:27:42] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:27:42] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:27:42] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:28:13] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:28:13] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:28:13] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:28:13] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:28:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04: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-09-10 04:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:28:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:28:13] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:28:13] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:28:36] local.INFO: TCP Data received {"connection_id":178782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:28:36] local.INFO: Processing buffer {"connection_id":178782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:28:36] local.INFO: IMEI packet received {"connection_id":178782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":178782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:28:41] local.INFO: TCP Data received {"connection_id":178782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:28:41] local.INFO: Processing buffer {"connection_id":178782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:28:41] local.INFO: IMEI packet received {"connection_id":178782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":178782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:28:42] local.INFO: TCP Data received {"connection_id":178782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:28:42] local.INFO: Processing buffer {"connection_id":178782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:28:42] local.INFO: Packet analysis {"connection_id":178782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:28:42] local.INFO: Extracted packet for processing {"connection_id":178782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:28:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:28:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":178782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:28:42] local.INFO: GPS data processed {"connection_id":178782,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:28:42] local.INFO: Acknowledgment sent {"connection_id":178782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:29:13] local.INFO: TCP Data received {"connection_id":178782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:29:13] local.INFO: Processing buffer {"connection_id":178782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:29:13] local.INFO: Packet analysis {"connection_id":178782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:29:13] local.INFO: Extracted packet for processing {"connection_id":178782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:29:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:29:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:29: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-09-10 04:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:29:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":178782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:29:13] local.INFO: GPS data processed {"connection_id":178782,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:29:13] local.INFO: Acknowledgment sent {"connection_id":178782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:29:36] local.INFO: TCP Data received {"connection_id":177396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:29:36] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:29:36] local.INFO: IMEI packet received {"connection_id":177396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":177396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:29:41] local.INFO: TCP Data received {"connection_id":177396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:29:41] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:29:41] local.INFO: IMEI packet received {"connection_id":177396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":177396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:29:42] local.INFO: TCP Data received {"connection_id":177396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:29:42] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:29:42] local.INFO: Packet analysis {"connection_id":177396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:29:42] local.INFO: Extracted packet for processing {"connection_id":177396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:29:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":177396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:29:42] local.INFO: GPS data processed {"connection_id":177396,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:29:42] local.INFO: Acknowledgment sent {"connection_id":177396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:30:13] local.INFO: TCP Data received {"connection_id":177396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:30:13] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:30:13] local.INFO: Packet analysis {"connection_id":177396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:30:13] local.INFO: Extracted packet for processing {"connection_id":177396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:30:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:30:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":177396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:30:13] local.INFO: GPS data processed {"connection_id":177396,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:30:13] local.INFO: Acknowledgment sent {"connection_id":177396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:30:36] local.INFO: TCP Data received {"connection_id":175993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:30:36] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:30:36] local.INFO: IMEI packet received {"connection_id":175993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":175993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:30:41] local.INFO: TCP Data received {"connection_id":175993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:30:41] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:30:41] local.INFO: IMEI packet received {"connection_id":175993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":175993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:30:42] local.INFO: TCP Data received {"connection_id":175993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:30:42] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088622eb8012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:30:42] local.INFO: Packet analysis {"connection_id":175993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:30:42] local.INFO: Extracted packet for processing {"connection_id":175993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08862"} 
[2026-09-10 04:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982522880001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994531000,"timestamp_ms":1788994531000,"timestamp_seconds":1788994531,"priority":1,"record_length":96,"hex_timestamp":"000001a088622eb8"} 
[2026-09-10 04:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 04:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982522880001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982522880001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:30:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982522880001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":175993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:30:42] local.INFO: GPS data processed {"connection_id":175993,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:30:42] local.INFO: Acknowledgment sent {"connection_id":175993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:31:13] local.INFO: TCP Data received {"connection_id":175993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:31:13] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:31:13] local.INFO: Packet analysis {"connection_id":175993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:31:13] local.INFO: Extracted packet for processing {"connection_id":175993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:31:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:31: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-09-10 04:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:31:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":175993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:31:13] local.INFO: GPS data processed {"connection_id":175993,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:31:13] local.INFO: Acknowledgment sent {"connection_id":175993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:31:36] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:31:36] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:31:36] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:31:41] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:31:41] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:31:41] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:31:42] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:31:42] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:31:42] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:31:42] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:31:42] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:31:42] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:32:13] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:32:13] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:32:13] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:32:13] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:32: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-09-10 04:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:32:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:32:13] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:32:13] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:32:36] local.INFO: TCP Data received {"connection_id":178783,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:32:36] local.INFO: Processing buffer {"connection_id":178783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:32:36] local.INFO: IMEI packet received {"connection_id":178783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":178783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:32:41] local.INFO: TCP Data received {"connection_id":178783,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:32:41] local.INFO: Processing buffer {"connection_id":178783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:32:41] local.INFO: IMEI packet received {"connection_id":178783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":178783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:32:42] local.INFO: TCP Data received {"connection_id":178783,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:32:42] local.INFO: Processing buffer {"connection_id":178783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:32:42] local.INFO: Packet analysis {"connection_id":178783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:32:42] local.INFO: Extracted packet for processing {"connection_id":178783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:32:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":178783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:32:42] local.INFO: GPS data processed {"connection_id":178783,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:32:42] local.INFO: Acknowledgment sent {"connection_id":178783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:33:13] local.INFO: TCP Data received {"connection_id":178783,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:33:13] local.INFO: Processing buffer {"connection_id":178783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:33:13] local.INFO: Packet analysis {"connection_id":178783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:33:13] local.INFO: Extracted packet for processing {"connection_id":178783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:33: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-09-10 04:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:33:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":178783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:33:13] local.INFO: GPS data processed {"connection_id":178783,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:33:13] local.INFO: Acknowledgment sent {"connection_id":178783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:33:36] local.INFO: TCP Data received {"connection_id":175994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:33:36] local.INFO: Processing buffer {"connection_id":175994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:33:36] local.INFO: IMEI packet received {"connection_id":175994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":175994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:33:41] local.INFO: TCP Data received {"connection_id":175994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:33:41] local.INFO: Processing buffer {"connection_id":175994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:33:41] local.INFO: IMEI packet received {"connection_id":175994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":175994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:33:42] local.INFO: TCP Data received {"connection_id":175994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:33:42] local.INFO: Processing buffer {"connection_id":175994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:33:42] local.INFO: Packet analysis {"connection_id":175994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:33:42] local.INFO: Extracted packet for processing {"connection_id":175994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:33:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:33:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":175994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:33:42] local.INFO: GPS data processed {"connection_id":175994,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:33:42] local.INFO: Acknowledgment sent {"connection_id":175994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:34:13] local.INFO: TCP Data received {"connection_id":175994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:34:13] local.INFO: Processing buffer {"connection_id":175994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:34:13] local.INFO: Packet analysis {"connection_id":175994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:34:13] local.INFO: Extracted packet for processing {"connection_id":175994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:34:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:34: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-09-10 04:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:34:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":175994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:34:13] local.INFO: GPS data processed {"connection_id":175994,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:34:13] local.INFO: Acknowledgment sent {"connection_id":175994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:34:36] local.INFO: TCP Data received {"connection_id":178784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:34:36] local.INFO: Processing buffer {"connection_id":178784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:34:36] local.INFO: IMEI packet received {"connection_id":178784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":178784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:34:41] local.INFO: TCP Data received {"connection_id":178784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:34:41] local.INFO: Processing buffer {"connection_id":178784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:34:41] local.INFO: IMEI packet received {"connection_id":178784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":178784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:34:42] local.INFO: TCP Data received {"connection_id":178784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:34:42] local.INFO: Processing buffer {"connection_id":178784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:34:42] local.INFO: Packet analysis {"connection_id":178784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:34:42] local.INFO: Extracted packet for processing {"connection_id":178784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":178784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:34:42] local.INFO: GPS data processed {"connection_id":178784,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:34:42] local.INFO: Acknowledgment sent {"connection_id":178784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:35:13] local.INFO: TCP Data received {"connection_id":178784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:13] local.INFO: Processing buffer {"connection_id":178784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:13] local.INFO: Packet analysis {"connection_id":178784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:35:13] local.INFO: Extracted packet for processing {"connection_id":178784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:35:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:35:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":178784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:35:13] local.INFO: GPS data processed {"connection_id":178784,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:35:13] local.INFO: Acknowledgment sent {"connection_id":178784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:35:41] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:35:41] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:35:41] local.INFO: IMEI packet received {"connection_id":175995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":175995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:35:46] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:35:46] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:35:46] local.INFO: IMEI packet received {"connection_id":175995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:35:47] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:47] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:47] local.INFO: Packet analysis {"connection_id":175995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:35:47] local.INFO: Extracted packet for processing {"connection_id":175995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:35:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:35:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:35:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":175995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:35:47] local.INFO: GPS data processed {"connection_id":175995,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:35:47] local.INFO: Acknowledgment sent {"connection_id":175995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:35:52] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:52] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08866c680012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 04:35:52] local.INFO: Packet analysis {"connection_id":175995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:35:52] local.INFO: Extracted packet for processing {"connection_id":175995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08866"} 
[2026-09-10 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982599936001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788994832000,"timestamp_ms":1788994832000,"timestamp_seconds":1788994832,"priority":1,"record_length":96,"hex_timestamp":"000001a08866c680"} 
[2026-09-10 04:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982599936001,"66":25843,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982599936001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:35:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982599936001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":175995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:35:52] local.INFO: GPS data processed {"connection_id":175995,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:35:52] local.INFO: Acknowledgment sent {"connection_id":175995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:36:36] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:36:36] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:36:36] local.INFO: IMEI packet received {"connection_id":176221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":176221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:36:41] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:36:41] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:36:41] local.INFO: IMEI packet received {"connection_id":176221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":176221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:36:42] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:36:42] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:36:42] local.INFO: Packet analysis {"connection_id":176221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:36:42] local.INFO: Extracted packet for processing {"connection_id":176221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:36:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:36:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":176221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:36:42] local.INFO: GPS data processed {"connection_id":176221,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:36:42] local.INFO: Acknowledgment sent {"connection_id":176221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:37:13] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:37:13] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:37:13] local.INFO: Packet analysis {"connection_id":176221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:37:13] local.INFO: Extracted packet for processing {"connection_id":176221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:37:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:37: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-09-10 04:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:37:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":176221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:37:13] local.INFO: GPS data processed {"connection_id":176221,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:37:13] local.INFO: Acknowledgment sent {"connection_id":176221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:37:36] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:37:36] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:37:36] local.INFO: IMEI packet received {"connection_id":177397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":177397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:37:41] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:37:41] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:37:41] local.INFO: IMEI packet received {"connection_id":177397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":177397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:37:42] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:37:42] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:37:42] local.INFO: Packet analysis {"connection_id":177397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:37:42] local.INFO: Extracted packet for processing {"connection_id":177397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":177397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:37:42] local.INFO: GPS data processed {"connection_id":177397,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:37:42] local.INFO: Acknowledgment sent {"connection_id":177397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:38:13] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:38:13] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:38:13] local.INFO: Packet analysis {"connection_id":177397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:38:13] local.INFO: Extracted packet for processing {"connection_id":177397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:38:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:38:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:38: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-09-10 04:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:38:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:38:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":177397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:38:13] local.INFO: GPS data processed {"connection_id":177397,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:38:13] local.INFO: Acknowledgment sent {"connection_id":177397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:38:36] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:38:36] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:38:36] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:38:41] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:38:41] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:38:41] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:38:42] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:38:42] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:38:42] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:38:42] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:38:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:38:42] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:38:42] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:39:13] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:39:13] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:39:13] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:39:13] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:39:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:39:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:39:13] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:39:13] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:39:36] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:39:36] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:39:36] local.INFO: IMEI packet received {"connection_id":177398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":177398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:39:41] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:39:41] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:39:41] local.INFO: IMEI packet received {"connection_id":177398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":177398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:39:42] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:39:42] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:39:42] local.INFO: Packet analysis {"connection_id":177398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:39:42] local.INFO: Extracted packet for processing {"connection_id":177398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":177398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:39:42] local.INFO: GPS data processed {"connection_id":177398,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:39:42] local.INFO: Acknowledgment sent {"connection_id":177398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:40:13] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:40:13] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:40:13] local.INFO: Packet analysis {"connection_id":177398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:40:13] local.INFO: Extracted packet for processing {"connection_id":177398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:40:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:40: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-09-10 04:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:40:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":177398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:40:13] local.INFO: GPS data processed {"connection_id":177398,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:40:13] local.INFO: Acknowledgment sent {"connection_id":177398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:40:36] local.INFO: TCP Data received {"connection_id":178785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:40:36] local.INFO: Processing buffer {"connection_id":178785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:40:36] local.INFO: IMEI packet received {"connection_id":178785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":178785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:40:41] local.INFO: TCP Data received {"connection_id":178785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:40:41] local.INFO: Processing buffer {"connection_id":178785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:40:41] local.INFO: IMEI packet received {"connection_id":178785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":178785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:40:42] local.INFO: TCP Data received {"connection_id":178785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:40:42] local.INFO: Processing buffer {"connection_id":178785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886b5e48012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:40:42] local.INFO: Packet analysis {"connection_id":178785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:40:42] local.INFO: Extracted packet for processing {"connection_id":178785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886b"} 
[2026-09-10 04:40:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982676992001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995133000,"timestamp_ms":1788995133000,"timestamp_seconds":1788995133,"priority":1,"record_length":96,"hex_timestamp":"000001a0886b5e48"} 
[2026-09-10 04:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 04:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982676992001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982676992001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982676992001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":178785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:40:42] local.INFO: GPS data processed {"connection_id":178785,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:40:42] local.INFO: Acknowledgment sent {"connection_id":178785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:41:13] local.INFO: TCP Data received {"connection_id":178785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:41:13] local.INFO: Processing buffer {"connection_id":178785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:41:13] local.INFO: Packet analysis {"connection_id":178785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:41:13] local.INFO: Extracted packet for processing {"connection_id":178785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:41: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-09-10 04:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:41:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":178785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:41:13] local.INFO: GPS data processed {"connection_id":178785,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:41:13] local.INFO: Acknowledgment sent {"connection_id":178785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:41:36] local.INFO: TCP Data received {"connection_id":177399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:41:36] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:41:36] local.INFO: IMEI packet received {"connection_id":177399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":177399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:41:41] local.INFO: TCP Data received {"connection_id":177399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:41:41] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:41:41] local.INFO: IMEI packet received {"connection_id":177399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":177399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:41:42] local.INFO: TCP Data received {"connection_id":177399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:41:42] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:41:42] local.INFO: Packet analysis {"connection_id":177399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:41:42] local.INFO: Extracted packet for processing {"connection_id":177399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:41:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":177399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:41:42] local.INFO: GPS data processed {"connection_id":177399,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:41:42] local.INFO: Acknowledgment sent {"connection_id":177399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:42:13] local.INFO: TCP Data received {"connection_id":177399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:42:13] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:42:13] local.INFO: Packet analysis {"connection_id":177399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:42:13] local.INFO: Extracted packet for processing {"connection_id":177399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:42:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:42: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-09-10 04:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:42:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":177399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:42:13] local.INFO: GPS data processed {"connection_id":177399,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:42:13] local.INFO: Acknowledgment sent {"connection_id":177399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:42:36] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:42:36] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:42:36] local.INFO: IMEI packet received {"connection_id":175996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":175996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:42:41] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:42:41] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:42:41] local.INFO: IMEI packet received {"connection_id":175996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":175996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:42:42] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:42:42] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:42:42] local.INFO: Packet analysis {"connection_id":175996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:42:42] local.INFO: Extracted packet for processing {"connection_id":175996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:42:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":175996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:42:42] local.INFO: GPS data processed {"connection_id":175996,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:42:42] local.INFO: Acknowledgment sent {"connection_id":175996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:43:13] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:13] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:13] local.INFO: Packet analysis {"connection_id":175996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:43:13] local.INFO: Extracted packet for processing {"connection_id":175996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:43:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:43:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":175996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:43:13] local.INFO: GPS data processed {"connection_id":175996,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:43:13] local.INFO: Acknowledgment sent {"connection_id":175996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:43:41] local.INFO: TCP Data received {"connection_id":176223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:43:41] local.INFO: Processing buffer {"connection_id":176223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:43:41] local.INFO: IMEI packet received {"connection_id":176223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":176223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:43:46] local.INFO: TCP Data received {"connection_id":176223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:43:46] local.INFO: Processing buffer {"connection_id":176223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:43:46] local.INFO: IMEI packet received {"connection_id":176223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":176223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:43:47] local.INFO: TCP Data received {"connection_id":176223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:47] local.INFO: Processing buffer {"connection_id":176223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:47] local.INFO: Packet analysis {"connection_id":176223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:43:47] local.INFO: Extracted packet for processing {"connection_id":176223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:43:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:43:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":176223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:43:47] local.INFO: GPS data processed {"connection_id":176223,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:43:47] local.INFO: Acknowledgment sent {"connection_id":176223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:43:52] local.INFO: TCP Data received {"connection_id":176223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:52] local.INFO: Processing buffer {"connection_id":176223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:43:52] local.INFO: Packet analysis {"connection_id":176223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:43:52] local.INFO: Extracted packet for processing {"connection_id":176223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:43:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:43:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":176223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:43:52] local.INFO: GPS data processed {"connection_id":176223,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:43:52] local.INFO: Acknowledgment sent {"connection_id":176223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:44:36] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:44:36] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:44:36] local.INFO: IMEI packet received {"connection_id":175997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":175997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:44:41] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:44:41] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:44:41] local.INFO: IMEI packet received {"connection_id":175997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":175997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:44:42] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:44:42] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:44:42] local.INFO: Packet analysis {"connection_id":175997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:44:42] local.INFO: Extracted packet for processing {"connection_id":175997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:44:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":175997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:44:42] local.INFO: GPS data processed {"connection_id":175997,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:44:42] local.INFO: Acknowledgment sent {"connection_id":175997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:45:13] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:45:13] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:45:13] local.INFO: Packet analysis {"connection_id":175997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:45:13] local.INFO: Extracted packet for processing {"connection_id":175997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:45:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":175997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:45:13] local.INFO: GPS data processed {"connection_id":175997,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:45:13] local.INFO: Acknowledgment sent {"connection_id":175997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:45:36] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:45:36] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:45:36] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:45:41] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:45:41] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:45:41] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:45:42] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:45:42] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0886ff610012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:45:42] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:45:42] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0886f"} 
[2026-09-10 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982754048001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995434000,"timestamp_ms":1788995434000,"timestamp_seconds":1788995434,"priority":1,"record_length":96,"hex_timestamp":"000001a0886ff610"} 
[2026-09-10 04:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 04:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982754048001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982754048001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982754048001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:45:42] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:45:42] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:46:13] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:46:13] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:46:13] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:46:13] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:46:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:46: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-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:46: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-09-10 04:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:46:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:46:13] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:46:13] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:46:36] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:46:36] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:46:36] local.INFO: IMEI packet received {"connection_id":177400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":177400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:46:41] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:46:41] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:46:41] local.INFO: IMEI packet received {"connection_id":177400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":177400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:46:42] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:46:42] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:46:42] local.INFO: Packet analysis {"connection_id":177400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:46:42] local.INFO: Extracted packet for processing {"connection_id":177400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:46:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:46: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-09-10 04:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:46:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":177400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:46:42] local.INFO: GPS data processed {"connection_id":177400,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:46:42] local.INFO: Acknowledgment sent {"connection_id":177400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:47:13] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:47:13] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:47:13] local.INFO: Packet analysis {"connection_id":177400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:47:13] local.INFO: Extracted packet for processing {"connection_id":177400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:47:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:47: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-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:47:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":177400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:47:13] local.INFO: GPS data processed {"connection_id":177400,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:47:13] local.INFO: Acknowledgment sent {"connection_id":177400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:47:36] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:47:36] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:47:36] local.INFO: IMEI packet received {"connection_id":175998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":175998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:47:41] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:47:41] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:47:41] local.INFO: IMEI packet received {"connection_id":175998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":175998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:47:42] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:47:42] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:47:42] local.INFO: Packet analysis {"connection_id":175998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:47:42] local.INFO: Extracted packet for processing {"connection_id":175998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:47: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-09-10 04:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:47:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":175998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:47:42] local.INFO: GPS data processed {"connection_id":175998,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:47:42] local.INFO: Acknowledgment sent {"connection_id":175998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:48:13] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:48:13] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:48:13] local.INFO: Packet analysis {"connection_id":175998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:48:13] local.INFO: Extracted packet for processing {"connection_id":175998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:48:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:48:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:48: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-09-10 04:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:48:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:48:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":175998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:48:13] local.INFO: GPS data processed {"connection_id":175998,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:48:13] local.INFO: Acknowledgment sent {"connection_id":175998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:48:36] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:48:36] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:48:36] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:48:41] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:48:41] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:48:41] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:48:42] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:48:42] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:48:42] local.INFO: Packet analysis {"connection_id":176225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:48:42] local.INFO: Extracted packet for processing {"connection_id":176225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:48: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-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":176225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:48:42] local.INFO: GPS data processed {"connection_id":176225,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:48:42] local.INFO: Acknowledgment sent {"connection_id":176225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:49:13] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:49:13] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:49:13] local.INFO: Packet analysis {"connection_id":176225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:49:13] local.INFO: Extracted packet for processing {"connection_id":176225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:49:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:49: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-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:49:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":176225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:49:13] local.INFO: GPS data processed {"connection_id":176225,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:49:13] local.INFO: Acknowledgment sent {"connection_id":176225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:49:36] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:49:36] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:49:36] local.INFO: IMEI packet received {"connection_id":175999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":175999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:49:41] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:49:41] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:49:41] local.INFO: IMEI packet received {"connection_id":175999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":175999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:49:42] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:49:42] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:49:42] local.INFO: Packet analysis {"connection_id":175999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:49:42] local.INFO: Extracted packet for processing {"connection_id":175999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:49: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-09-10 04:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:49:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":175999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:49:42] local.INFO: GPS data processed {"connection_id":175999,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:49:42] local.INFO: Acknowledgment sent {"connection_id":175999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:50:13] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:50:13] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:50:13] local.INFO: Packet analysis {"connection_id":175999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:50:13] local.INFO: Extracted packet for processing {"connection_id":175999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:50:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:50: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-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:50:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":175999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:50:13] local.INFO: GPS data processed {"connection_id":175999,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:50:13] local.INFO: Acknowledgment sent {"connection_id":175999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:50:36] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:50:36] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:50:36] local.INFO: IMEI packet received {"connection_id":177401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":177401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:50:41] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:50:41] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:50:41] local.INFO: IMEI packet received {"connection_id":177401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":177401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:50:42] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:50:42] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:50:42] local.INFO: Packet analysis {"connection_id":177401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:50:42] local.INFO: Extracted packet for processing {"connection_id":177401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:50:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:50: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-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:50:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":177401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:50:42] local.INFO: GPS data processed {"connection_id":177401,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:50:42] local.INFO: Acknowledgment sent {"connection_id":177401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:51:13] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:13] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088748dd8012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:13] local.INFO: Packet analysis {"connection_id":177401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:51:13] local.INFO: Extracted packet for processing {"connection_id":177401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08874"} 
[2026-09-10 04:51:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982831104001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788995735000,"timestamp_ms":1788995735000,"timestamp_seconds":1788995735,"priority":1,"record_length":96,"hex_timestamp":"000001a088748dd8"} 
[2026-09-10 04:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:51: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-09-10 04:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982831104001,"66":25832,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982831104001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:51:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982831104001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":177401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:51:13] local.INFO: GPS data processed {"connection_id":177401,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:51:13] local.INFO: Acknowledgment sent {"connection_id":177401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:51:41] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:51:41] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:51:41] local.INFO: IMEI packet received {"connection_id":176226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":176226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:51:46] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:51:46] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:51:46] local.INFO: IMEI packet received {"connection_id":176226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":176226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:51:47] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:47] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:47] local.INFO: Packet analysis {"connection_id":176226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:51:47] local.INFO: Extracted packet for processing {"connection_id":176226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:51:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:51:47] 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-09-10 04:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:51:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":176226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:51:47] local.INFO: GPS data processed {"connection_id":176226,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:51:47] local.INFO: Acknowledgment sent {"connection_id":176226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:51:52] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:52] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:51:52] local.INFO: Packet analysis {"connection_id":176226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:51:52] local.INFO: Extracted packet for processing {"connection_id":176226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:51:52] 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-09-10 04:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:51:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":176226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:51:52] local.INFO: GPS data processed {"connection_id":176226,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:51:52] local.INFO: Acknowledgment sent {"connection_id":176226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:52:36] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:52:36] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:52:36] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:52:41] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:52:41] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:52:41] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:52:42] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:52:42] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:52:42] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:52:42] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:52: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-09-10 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:52:42] 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-09-10 04:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:52:42] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:52:42] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:53:13] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:53:13] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:53:13] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:53:13] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:53: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-09-10 04:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:53:13] 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-09-10 04:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:53:13] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:53:13] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:53:36] local.INFO: TCP Data received {"connection_id":177402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:53:36] local.INFO: Processing buffer {"connection_id":177402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:53:36] local.INFO: IMEI packet received {"connection_id":177402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":177402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:53:41] local.INFO: TCP Data received {"connection_id":177402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:53:41] local.INFO: Processing buffer {"connection_id":177402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:53:41] local.INFO: IMEI packet received {"connection_id":177402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":177402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:53:42] local.INFO: TCP Data received {"connection_id":177402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:53:42] local.INFO: Processing buffer {"connection_id":177402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:53:42] local.INFO: Packet analysis {"connection_id":177402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:53:42] local.INFO: Extracted packet for processing {"connection_id":177402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:53: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-09-10 04:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:53:42] 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-09-10 04:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:53:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":177402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:53:42] local.INFO: GPS data processed {"connection_id":177402,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:53:42] local.INFO: Acknowledgment sent {"connection_id":177402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:54:16] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:16] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:16] local.INFO: IMEI packet received {"connection_id":176001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":176001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:54:46] local.INFO: TCP Data received {"connection_id":178786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:46] local.INFO: Processing buffer {"connection_id":178786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:46] local.INFO: IMEI packet received {"connection_id":178786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":178786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:54:52] local.INFO: TCP Data received {"connection_id":178786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:52] local.INFO: Processing buffer {"connection_id":178786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:54:52] local.INFO: IMEI packet received {"connection_id":178786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":178786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:54:52] local.INFO: TCP Data received {"connection_id":178786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:54:52] local.INFO: Processing buffer {"connection_id":178786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:54:52] local.INFO: Packet analysis {"connection_id":178786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:54:52] local.INFO: Extracted packet for processing {"connection_id":178786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:54:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:54:52] 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-09-10 04:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:54:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":178786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:54:52] local.INFO: GPS data processed {"connection_id":178786,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:54:52] local.INFO: Acknowledgment sent {"connection_id":178786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:55:36] local.INFO: TCP Data received {"connection_id":177403,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:55:36] local.INFO: Processing buffer {"connection_id":177403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:55:36] local.INFO: IMEI packet received {"connection_id":177403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":177403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:55:42] local.INFO: TCP Data received {"connection_id":177403,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:55:42] local.INFO: Processing buffer {"connection_id":177403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:55:42] local.INFO: IMEI packet received {"connection_id":177403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":177403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:55:42] local.INFO: TCP Data received {"connection_id":177403,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:55:42] local.INFO: Processing buffer {"connection_id":177403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:55:42] local.INFO: Packet analysis {"connection_id":177403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:55:42] local.INFO: Extracted packet for processing {"connection_id":177403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:55: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-09-10 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:55:42] 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-09-10 04:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:55:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":177403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:55:42] local.INFO: GPS data processed {"connection_id":177403,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:55:42] local.INFO: Acknowledgment sent {"connection_id":177403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:56:13] local.INFO: TCP Data received {"connection_id":177403,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:56:13] local.INFO: Processing buffer {"connection_id":177403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887925a0012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 04:56:13] local.INFO: Packet analysis {"connection_id":177403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:56:13] local.INFO: Extracted packet for processing {"connection_id":177403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08879"} 
[2026-09-10 04:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982908160001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996036000,"timestamp_ms":1788996036000,"timestamp_seconds":1788996036,"priority":1,"record_length":96,"hex_timestamp":"000001a0887925a0"} 
[2026-09-10 04:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:56: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-09-10 04: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 04:56:13] 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-09-10 04: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-09-10 04:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982908160001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982908160001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:56:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982908160001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":177403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:56:13] local.INFO: GPS data processed {"connection_id":177403,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:56:13] local.INFO: Acknowledgment sent {"connection_id":177403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:56:41] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:56:41] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:56:41] local.INFO: IMEI packet received {"connection_id":176002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":176002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:56:47] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:56:47] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:56:47] local.INFO: IMEI packet received {"connection_id":176002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":176002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:56:47] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:56:47] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:56:47] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:56:47] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:56:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:56:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:56:47] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:56:47] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:57:18] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:57:18] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:57:18] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:57:18] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:57:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:57:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:57:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:57:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:57:18] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:57:18] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:57:36] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:57:36] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:57:36] local.INFO: IMEI packet received {"connection_id":176227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":176227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:57:42] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:57:42] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:57:42] local.INFO: IMEI packet received {"connection_id":176227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":176227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:57:42] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:57:42] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:57:42] local.INFO: Packet analysis {"connection_id":176227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:57:42] local.INFO: Extracted packet for processing {"connection_id":176227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":176227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:57:42] local.INFO: GPS data processed {"connection_id":176227,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:57:42] local.INFO: Acknowledgment sent {"connection_id":176227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:58:14] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:58:14] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:58:14] local.INFO: Packet analysis {"connection_id":176227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:58:14] local.INFO: Extracted packet for processing {"connection_id":176227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:58:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:58:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":176227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:58:14] local.INFO: GPS data processed {"connection_id":176227,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:58:14] local.INFO: Acknowledgment sent {"connection_id":176227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:58:36] local.INFO: TCP Data received {"connection_id":177404,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:58:36] local.INFO: Processing buffer {"connection_id":177404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:58:36] local.INFO: IMEI packet received {"connection_id":177404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":177404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:58:42] local.INFO: TCP Data received {"connection_id":177404,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:58:42] local.INFO: Processing buffer {"connection_id":177404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:58:42] local.INFO: IMEI packet received {"connection_id":177404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":177404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:58:42] local.INFO: TCP Data received {"connection_id":177404,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:58:42] local.INFO: Processing buffer {"connection_id":177404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:58:42] local.INFO: Packet analysis {"connection_id":177404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:58:42] local.INFO: Extracted packet for processing {"connection_id":177404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:58:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":177404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:58:42] local.INFO: GPS data processed {"connection_id":177404,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:58:42] local.INFO: Acknowledgment sent {"connection_id":177404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:59:13] local.INFO: TCP Data received {"connection_id":177404,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:13] local.INFO: Processing buffer {"connection_id":177404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:13] local.INFO: Packet analysis {"connection_id":177404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:59:13] local.INFO: Extracted packet for processing {"connection_id":177404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:59:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:59:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":177404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:59:13] local.INFO: GPS data processed {"connection_id":177404,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:59:13] local.INFO: Acknowledgment sent {"connection_id":177404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:59:42] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:59:42] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:59:42] local.INFO: IMEI packet received {"connection_id":176228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 04:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":176228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 04:59:47] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:59:47] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 04:59:47] local.INFO: IMEI packet received {"connection_id":176228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 04:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":176228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 04:59:47] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:47] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:47] local.INFO: Packet analysis {"connection_id":176228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:59:47] local.INFO: Extracted packet for processing {"connection_id":176228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:59:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04: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-09-10 04:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04: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-09-10 04:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:59:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":176228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:59:47] local.INFO: GPS data processed {"connection_id":176228,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:59:47] local.INFO: Acknowledgment sent {"connection_id":176228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 04:59:52] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:52] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 04:59:52] local.INFO: Packet analysis {"connection_id":176228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:59:52] local.INFO: Extracted packet for processing {"connection_id":176228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 04:59:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 04:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 04:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 04:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 04:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 04:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 04:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 04:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 04:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 04:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 04:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 04:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 04:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 04:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 04:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 04:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 04:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 04:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 04:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 04:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 04:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 04:59:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 04:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 04:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 04:59:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 04:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 04:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":176228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 04:59:52] local.INFO: GPS data processed {"connection_id":176228,"processed":1,"errors":0,"total":1} 
[2026-09-10 04:59:52] local.INFO: Acknowledgment sent {"connection_id":176228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:00:37] local.INFO: TCP Data received {"connection_id":178787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:00:37] local.INFO: Processing buffer {"connection_id":178787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:00:37] local.INFO: IMEI packet received {"connection_id":178787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":178787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:00:42] local.INFO: TCP Data received {"connection_id":178787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:00:42] local.INFO: Processing buffer {"connection_id":178787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:00:42] local.INFO: IMEI packet received {"connection_id":178787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":178787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:00:42] local.INFO: TCP Data received {"connection_id":178787,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:00:42] local.INFO: Processing buffer {"connection_id":178787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:00:42] local.INFO: Packet analysis {"connection_id":178787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 05:00:42] local.INFO: Extracted packet for processing {"connection_id":178787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 05:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 05:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:00:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":178787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:00:42] local.INFO: GPS data processed {"connection_id":178787,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:00:42] local.INFO: Acknowledgment sent {"connection_id":178787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:01:14] local.INFO: TCP Data received {"connection_id":178787,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:01:14] local.INFO: Processing buffer {"connection_id":178787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0887dbd68012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:01:14] local.INFO: Packet analysis {"connection_id":178787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 05:01:14] local.INFO: Extracted packet for processing {"connection_id":178787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0887d"} 
[2026-09-10 05:01:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457982985216001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788996337000,"timestamp_ms":1788996337000,"timestamp_seconds":1788996337,"priority":1,"record_length":96,"hex_timestamp":"000001a0887dbd68"} 
[2026-09-10 05:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457982985216001,"66":24930,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457982985216001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:01:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457982985216001,"power":24930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":178787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:01:14] local.INFO: GPS data processed {"connection_id":178787,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:01:14] local.INFO: Acknowledgment sent {"connection_id":178787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:01:36] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:01:36] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:01:36] local.INFO: IMEI packet received {"connection_id":176229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":176229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:01:42] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:01:42] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:01:42] local.INFO: IMEI packet received {"connection_id":176229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":176229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:01:42] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:01:42] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:01:42] local.INFO: Packet analysis {"connection_id":176229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:01:42] local.INFO: Extracted packet for processing {"connection_id":176229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:01: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-09-10 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:01:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":176229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:01:42] local.INFO: GPS data processed {"connection_id":176229,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:01:42] local.INFO: Acknowledgment sent {"connection_id":176229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:02:13] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:02:13] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:02:13] local.INFO: Packet analysis {"connection_id":176229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:02:13] local.INFO: Extracted packet for processing {"connection_id":176229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:02:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":176229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:02:14] local.INFO: GPS data processed {"connection_id":176229,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:02:14] local.INFO: Acknowledgment sent {"connection_id":176229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:02:36] local.INFO: TCP Data received {"connection_id":178788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:02:36] local.INFO: Processing buffer {"connection_id":178788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:02:36] local.INFO: IMEI packet received {"connection_id":178788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":178788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:02:42] local.INFO: TCP Data received {"connection_id":178788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:02:42] local.INFO: Processing buffer {"connection_id":178788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:02:42] local.INFO: IMEI packet received {"connection_id":178788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":178788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:02:43] local.INFO: TCP Data received {"connection_id":178788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:02:43] local.INFO: Processing buffer {"connection_id":178788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:02:43] local.INFO: Packet analysis {"connection_id":178788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:02:43] local.INFO: Extracted packet for processing {"connection_id":178788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:02:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:02:43] 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-09-10 05:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:02:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:02:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":178788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:02:43] local.INFO: GPS data processed {"connection_id":178788,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:02:43] local.INFO: Acknowledgment sent {"connection_id":178788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:03:14] local.INFO: TCP Data received {"connection_id":178788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:03:14] local.INFO: Processing buffer {"connection_id":178788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:03:14] local.INFO: Packet analysis {"connection_id":178788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:03:14] local.INFO: Extracted packet for processing {"connection_id":178788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:03:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:03:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:03:14] 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-09-10 05:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:03:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:03:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":178788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:03:14] local.INFO: GPS data processed {"connection_id":178788,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:03:14] local.INFO: Acknowledgment sent {"connection_id":178788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:03:36] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:03:36] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:03:36] local.INFO: IMEI packet received {"connection_id":176230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":176230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:03:42] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:03:42] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:03:42] local.INFO: IMEI packet received {"connection_id":176230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":176230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:03:42] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:03:42] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:03:42] local.INFO: Packet analysis {"connection_id":176230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:03:42] local.INFO: Extracted packet for processing {"connection_id":176230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:03: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-09-10 05: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:03: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-09-10 05:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:03:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":176230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:03:42] local.INFO: GPS data processed {"connection_id":176230,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:03:42] local.INFO: Acknowledgment sent {"connection_id":176230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:04:14] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:14] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:14] local.INFO: Packet analysis {"connection_id":176230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:04:14] local.INFO: Extracted packet for processing {"connection_id":176230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:04:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:04:14] 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-09-10 05: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-09-10 05:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:04:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":176230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:04:14] local.INFO: GPS data processed {"connection_id":176230,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:04:14] local.INFO: Acknowledgment sent {"connection_id":176230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:04:42] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:04:42] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:04:42] local.INFO: IMEI packet received {"connection_id":176003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":176003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:04:47] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:04:47] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:04:47] local.INFO: IMEI packet received {"connection_id":176003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":176003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:04:47] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:47] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:47] local.INFO: Packet analysis {"connection_id":176003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:04:47] local.INFO: Extracted packet for processing {"connection_id":176003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:04:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:04:47] 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-09-10 05: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-09-10 05:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:04:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:04:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":176003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:04:47] local.INFO: GPS data processed {"connection_id":176003,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:04:47] local.INFO: Acknowledgment sent {"connection_id":176003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:04:52] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:52] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:04:52] local.INFO: Packet analysis {"connection_id":176003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:04:52] local.INFO: Extracted packet for processing {"connection_id":176003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:04:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:04:52] 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-09-10 05:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:04:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:04:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":176003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:04:52] local.INFO: GPS data processed {"connection_id":176003,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:04:52] local.INFO: Acknowledgment sent {"connection_id":176003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:05:37] local.INFO: TCP Data received {"connection_id":178789,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:05:37] local.INFO: Processing buffer {"connection_id":178789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:05:37] local.INFO: IMEI packet received {"connection_id":178789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":178789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:05:42] local.INFO: TCP Data received {"connection_id":178789,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:05:42] local.INFO: Processing buffer {"connection_id":178789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:05:42] local.INFO: IMEI packet received {"connection_id":178789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":178789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:05:42] local.INFO: TCP Data received {"connection_id":178789,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:05:42] local.INFO: Processing buffer {"connection_id":178789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:05:42] local.INFO: Packet analysis {"connection_id":178789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:05:42] local.INFO: Extracted packet for processing {"connection_id":178789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:05: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-09-10 05:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:05:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":178789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:05:42] local.INFO: GPS data processed {"connection_id":178789,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:05:42] local.INFO: Acknowledgment sent {"connection_id":178789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:06:13] local.INFO: TCP Data received {"connection_id":178789,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:06:13] local.INFO: Processing buffer {"connection_id":178789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088825530012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:06:13] local.INFO: Packet analysis {"connection_id":178789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:06:13] local.INFO: Extracted packet for processing {"connection_id":178789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08882"} 
[2026-09-10 05:06:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996638000,"timestamp_ms":1788996638000,"timestamp_seconds":1788996638,"priority":1,"record_length":96,"hex_timestamp":"000001a088825530"} 
[2026-09-10 05:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:06: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-09-10 05:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 05:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983062272001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:06:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983062272001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":178789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:06:13] local.INFO: GPS data processed {"connection_id":178789,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:06:13] local.INFO: Acknowledgment sent {"connection_id":178789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:06:36] local.INFO: TCP Data received {"connection_id":177405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:06:36] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:06:36] local.INFO: IMEI packet received {"connection_id":177405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":177405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:06:42] local.INFO: TCP Data received {"connection_id":177405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:06:42] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:06:42] local.INFO: IMEI packet received {"connection_id":177405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":177405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:06:42] local.INFO: TCP Data received {"connection_id":177405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:06:42] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:06:42] local.INFO: Packet analysis {"connection_id":177405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:06:42] local.INFO: Extracted packet for processing {"connection_id":177405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:06:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:06: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-09-10 05:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:06:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":177405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:06:42] local.INFO: GPS data processed {"connection_id":177405,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:06:42] local.INFO: Acknowledgment sent {"connection_id":177405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:07:13] local.INFO: TCP Data received {"connection_id":177405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:07:13] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:07:13] local.INFO: Packet analysis {"connection_id":177405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:07:13] local.INFO: Extracted packet for processing {"connection_id":177405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:07:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:07: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-09-10 05:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:07: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-09-10 05:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:07:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":177405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:07:13] local.INFO: GPS data processed {"connection_id":177405,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:07:13] local.INFO: Acknowledgment sent {"connection_id":177405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:07:36] local.INFO: TCP Data received {"connection_id":178790,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:07:36] local.INFO: Processing buffer {"connection_id":178790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:07:36] local.INFO: IMEI packet received {"connection_id":178790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":178790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:07:42] local.INFO: TCP Data received {"connection_id":178790,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:07:42] local.INFO: Processing buffer {"connection_id":178790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:07:42] local.INFO: IMEI packet received {"connection_id":178790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":178790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:07:42] local.INFO: TCP Data received {"connection_id":178790,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:07:42] local.INFO: Processing buffer {"connection_id":178790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:07:42] local.INFO: Packet analysis {"connection_id":178790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:07:42] local.INFO: Extracted packet for processing {"connection_id":178790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:07:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:07: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-09-10 05:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:07:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":178790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:07:42] local.INFO: GPS data processed {"connection_id":178790,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:07:42] local.INFO: Acknowledgment sent {"connection_id":178790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:08:13] local.INFO: TCP Data received {"connection_id":178790,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:08:13] local.INFO: Processing buffer {"connection_id":178790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:08:13] local.INFO: Packet analysis {"connection_id":178790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:08:13] local.INFO: Extracted packet for processing {"connection_id":178790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:08:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:08: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-09-10 05:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:08: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-09-10 05:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:08:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":178790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:08:13] local.INFO: GPS data processed {"connection_id":178790,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:08:13] local.INFO: Acknowledgment sent {"connection_id":178790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:08:36] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:08:36] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:08:36] local.INFO: IMEI packet received {"connection_id":176004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":176004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:08:42] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:08:42] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:08:42] local.INFO: IMEI packet received {"connection_id":176004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":176004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:08:42] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:08:42] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:08:42] local.INFO: Packet analysis {"connection_id":176004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:08:42] local.INFO: Extracted packet for processing {"connection_id":176004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:08:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:08: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-09-10 05:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:08:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":176004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:08:42] local.INFO: GPS data processed {"connection_id":176004,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:08:42] local.INFO: Acknowledgment sent {"connection_id":176004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:09:13] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:09:13] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:09:13] local.INFO: Packet analysis {"connection_id":176004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:09:13] local.INFO: Extracted packet for processing {"connection_id":176004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:09: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-09-10 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:09: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-09-10 05:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:09:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":176004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:09:13] local.INFO: GPS data processed {"connection_id":176004,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:09:13] local.INFO: Acknowledgment sent {"connection_id":176004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:09:42] local.INFO: TCP Data received {"connection_id":178791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:09:42] local.INFO: Processing buffer {"connection_id":178791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:09:42] local.INFO: IMEI packet received {"connection_id":178791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":178791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:09:50] local.INFO: TCP Data received {"connection_id":178791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:09:50] local.INFO: Processing buffer {"connection_id":178791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:09:50] local.INFO: IMEI packet received {"connection_id":178791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":178791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:09:51] local.INFO: TCP Data received {"connection_id":178791,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:09:51] local.INFO: Processing buffer {"connection_id":178791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:09:51] local.INFO: Packet analysis {"connection_id":178791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:09:51] local.INFO: Extracted packet for processing {"connection_id":178791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:09:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:09:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":178791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:09:51] local.INFO: GPS data processed {"connection_id":178791,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:09:51] local.INFO: Acknowledgment sent {"connection_id":178791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:10:37] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:10:37] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:10:37] local.INFO: IMEI packet received {"connection_id":176231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":176231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:10:42] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:10:42] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:10:42] local.INFO: IMEI packet received {"connection_id":176231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":176231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:10:42] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:10:42] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:10:42] local.INFO: Packet analysis {"connection_id":176231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:10:42] local.INFO: Extracted packet for processing {"connection_id":176231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:10: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-09-10 05:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:10:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":176231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:10:42] local.INFO: GPS data processed {"connection_id":176231,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:10:42] local.INFO: Acknowledgment sent {"connection_id":176231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:11:13] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:11:13] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08886ecf8012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:11:13] local.INFO: Packet analysis {"connection_id":176231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:11:13] local.INFO: Extracted packet for processing {"connection_id":176231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08886"} 
[2026-09-10 05:11:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983139328001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788996939000,"timestamp_ms":1788996939000,"timestamp_seconds":1788996939,"priority":1,"record_length":96,"hex_timestamp":"000001a08886ecf8"} 
[2026-09-10 05:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:11: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-09-10 05:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:11: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-09-10 05:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983139328001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983139328001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:11:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983139328001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":176231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:11:13] local.INFO: GPS data processed {"connection_id":176231,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:11:13] local.INFO: Acknowledgment sent {"connection_id":176231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:11:36] local.INFO: TCP Data received {"connection_id":177406,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:11:36] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:11:36] local.INFO: IMEI packet received {"connection_id":177406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":177406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:11:42] local.INFO: TCP Data received {"connection_id":177406,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:11:42] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:11:42] local.INFO: IMEI packet received {"connection_id":177406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":177406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:11:42] local.INFO: TCP Data received {"connection_id":177406,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:11:42] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:11:42] local.INFO: Packet analysis {"connection_id":177406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:11:42] local.INFO: Extracted packet for processing {"connection_id":177406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:11:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:11: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-09-10 05:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:11:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":177406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:11:42] local.INFO: GPS data processed {"connection_id":177406,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:11:42] local.INFO: Acknowledgment sent {"connection_id":177406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:12:13] local.INFO: TCP Data received {"connection_id":177406,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:12:13] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:12:13] local.INFO: Packet analysis {"connection_id":177406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:12:13] local.INFO: Extracted packet for processing {"connection_id":177406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:12:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05: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-09-10 05:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:12: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-09-10 05:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:12:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":177406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:12:13] local.INFO: GPS data processed {"connection_id":177406,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:12:13] local.INFO: Acknowledgment sent {"connection_id":177406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:12:36] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:12:36] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:12:36] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:12:42] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:12:42] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:12:42] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:12:42] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:12:42] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:12:42] local.INFO: Packet analysis {"connection_id":176232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:12:42] local.INFO: Extracted packet for processing {"connection_id":176232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:12:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:12: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-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:12:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":176232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:12:42] local.INFO: GPS data processed {"connection_id":176232,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:12:42] local.INFO: Acknowledgment sent {"connection_id":176232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:13:13] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:13:13] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:13:13] local.INFO: Packet analysis {"connection_id":176232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:13:13] local.INFO: Extracted packet for processing {"connection_id":176232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:13: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-09-10 05:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:13: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-09-10 05:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:13:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":176232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:13:13] local.INFO: GPS data processed {"connection_id":176232,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:13:13] local.INFO: Acknowledgment sent {"connection_id":176232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:13:36] local.INFO: TCP Data received {"connection_id":178792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:13:36] local.INFO: Processing buffer {"connection_id":178792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:13:36] local.INFO: IMEI packet received {"connection_id":178792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":178792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:13:42] local.INFO: TCP Data received {"connection_id":178792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:13:42] local.INFO: Processing buffer {"connection_id":178792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:13:42] local.INFO: IMEI packet received {"connection_id":178792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":178792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:13:42] local.INFO: TCP Data received {"connection_id":178792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:13:42] local.INFO: Processing buffer {"connection_id":178792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:13:42] local.INFO: Packet analysis {"connection_id":178792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:13:42] local.INFO: Extracted packet for processing {"connection_id":178792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:13:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:13: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-09-10 05:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:13:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":178792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:13:42] local.INFO: GPS data processed {"connection_id":178792,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:13:42] local.INFO: Acknowledgment sent {"connection_id":178792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:14:13] local.INFO: TCP Data received {"connection_id":178792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:13] local.INFO: Processing buffer {"connection_id":178792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:13] local.INFO: Packet analysis {"connection_id":178792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:14:13] local.INFO: Extracted packet for processing {"connection_id":178792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:14:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:14: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-09-10 05:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:14: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-09-10 05:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:14:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":178792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:14:14] local.INFO: GPS data processed {"connection_id":178792,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:14:14] local.INFO: Acknowledgment sent {"connection_id":178792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:14:42] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:14:42] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:14:42] local.INFO: IMEI packet received {"connection_id":176005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":176005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:14:47] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:14:47] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:14:47] local.INFO: IMEI packet received {"connection_id":176005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":176005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:14:47] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:47] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:47] local.INFO: Packet analysis {"connection_id":176005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:14:47] local.INFO: Extracted packet for processing {"connection_id":176005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:14:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:14:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":176005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:14:47] local.INFO: GPS data processed {"connection_id":176005,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:14:47] local.INFO: Acknowledgment sent {"connection_id":176005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:14:52] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:52] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:14:52] local.INFO: Packet analysis {"connection_id":176005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:14:52] local.INFO: Extracted packet for processing {"connection_id":176005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:14:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:14:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":176005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:14:52] local.INFO: GPS data processed {"connection_id":176005,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:14:52] local.INFO: Acknowledgment sent {"connection_id":176005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:15:37] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:15:37] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:15:37] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:15:42] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:15:42] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:15:42] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:15:42] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:15:42] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:15:42] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:15:42] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:15: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-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:15:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:15:42] local.INFO: GPS data processed {"connection_id":176233,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:15:42] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:16:14] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:16:14] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0888b84c0012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:16:14] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:16:14] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0888b"} 
[2026-09-10 05:16:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983216384001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:16:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788997240000,"timestamp_ms":1788997240000,"timestamp_seconds":1788997240,"priority":1,"record_length":96,"hex_timestamp":"000001a0888b84c0"} 
[2026-09-10 05:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983216384001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983216384001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:16:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:16:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983216384001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:16:14] local.INFO: GPS data processed {"connection_id":176233,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:16:14] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:16:36] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:16:36] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:16:36] local.INFO: IMEI packet received {"connection_id":176006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":176006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:16:42] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:16:42] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:16:42] local.INFO: IMEI packet received {"connection_id":176006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":176006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:16:42] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:16:42] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:16:42] local.INFO: Packet analysis {"connection_id":176006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:16:42] local.INFO: Extracted packet for processing {"connection_id":176006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:16: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-09-10 05:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":176006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:16:42] local.INFO: GPS data processed {"connection_id":176006,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:16:42] local.INFO: Acknowledgment sent {"connection_id":176006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:17:13] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:17:13] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:17:13] local.INFO: Packet analysis {"connection_id":176006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:17:13] local.INFO: Extracted packet for processing {"connection_id":176006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:17: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-09-10 05:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:17: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-09-10 05:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:17:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":176006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:17:13] local.INFO: GPS data processed {"connection_id":176006,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:17:13] local.INFO: Acknowledgment sent {"connection_id":176006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:17:36] local.INFO: TCP Data received {"connection_id":177407,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:17:36] local.INFO: Processing buffer {"connection_id":177407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:17:36] local.INFO: IMEI packet received {"connection_id":177407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":177407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:17:42] local.INFO: TCP Data received {"connection_id":177407,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:17:42] local.INFO: Processing buffer {"connection_id":177407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:17:42] local.INFO: IMEI packet received {"connection_id":177407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":177407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:17:42] local.INFO: TCP Data received {"connection_id":177407,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:17:42] local.INFO: Processing buffer {"connection_id":177407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:17:42] local.INFO: Packet analysis {"connection_id":177407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:17:42] local.INFO: Extracted packet for processing {"connection_id":177407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:17: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-09-10 05:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":177407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:17:42] local.INFO: GPS data processed {"connection_id":177407,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:17:42] local.INFO: Acknowledgment sent {"connection_id":177407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:18:13] local.INFO: TCP Data received {"connection_id":177407,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:18:13] local.INFO: Processing buffer {"connection_id":177407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:18:13] local.INFO: Packet analysis {"connection_id":177407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:18:13] local.INFO: Extracted packet for processing {"connection_id":177407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:18:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:18: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-09-10 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:18: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-09-10 05:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:18:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":177407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:18:13] local.INFO: GPS data processed {"connection_id":177407,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:18:13] local.INFO: Acknowledgment sent {"connection_id":177407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:18:36] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:18:36] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:18:36] local.INFO: IMEI packet received {"connection_id":176007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":176007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:18:42] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:18:42] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:18:42] local.INFO: IMEI packet received {"connection_id":176007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":176007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:18:42] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:18:42] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:18:42] local.INFO: Packet analysis {"connection_id":176007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:18:42] local.INFO: Extracted packet for processing {"connection_id":176007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:18: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-09-10 05:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:18:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":176007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:18:42] local.INFO: GPS data processed {"connection_id":176007,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:18:42] local.INFO: Acknowledgment sent {"connection_id":176007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:19:13] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:19:13] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:19:13] local.INFO: Packet analysis {"connection_id":176007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:19:13] local.INFO: Extracted packet for processing {"connection_id":176007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:19: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-09-10 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:19: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-09-10 05:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:19:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":176007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:19:13] local.INFO: GPS data processed {"connection_id":176007,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:19:13] local.INFO: Acknowledgment sent {"connection_id":176007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:19:36] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:19:36] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:19:36] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:19:42] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:19:42] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:19:42] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:19:42] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:19:42] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:19:42] local.INFO: Packet analysis {"connection_id":176234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:19:42] local.INFO: Extracted packet for processing {"connection_id":176234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:19: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-09-10 05:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:19:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":176234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:19:42] local.INFO: GPS data processed {"connection_id":176234,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:19:42] local.INFO: Acknowledgment sent {"connection_id":176234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:20:14] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:14] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:14] local.INFO: Packet analysis {"connection_id":176234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:20:14] local.INFO: Extracted packet for processing {"connection_id":176234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:20:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:20:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":176234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:20:14] local.INFO: GPS data processed {"connection_id":176234,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:20:14] local.INFO: Acknowledgment sent {"connection_id":176234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:20:42] local.INFO: TCP Data received {"connection_id":178793,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:20:42] local.INFO: Processing buffer {"connection_id":178793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:20:42] local.INFO: IMEI packet received {"connection_id":178793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":178793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:20:47] local.INFO: TCP Data received {"connection_id":178793,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:20:47] local.INFO: Processing buffer {"connection_id":178793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:20:47] local.INFO: IMEI packet received {"connection_id":178793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":178793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:20:47] local.INFO: TCP Data received {"connection_id":178793,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:47] local.INFO: Processing buffer {"connection_id":178793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:47] local.INFO: Packet analysis {"connection_id":178793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:20:47] local.INFO: Extracted packet for processing {"connection_id":178793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:20:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:20:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:20:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":178793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:20:47] local.INFO: GPS data processed {"connection_id":178793,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:20:47] local.INFO: Acknowledgment sent {"connection_id":178793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:20:52] local.INFO: TCP Data received {"connection_id":178793,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:52] local.INFO: Processing buffer {"connection_id":178793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088901c88012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:20:52] local.INFO: Packet analysis {"connection_id":178793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:20:52] local.INFO: Extracted packet for processing {"connection_id":178793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08890"} 
[2026-09-10 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983293440001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788997541000,"timestamp_ms":1788997541000,"timestamp_seconds":1788997541,"priority":1,"record_length":96,"hex_timestamp":"000001a088901c88"} 
[2026-09-10 05:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983293440001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983293440001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:20:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:20:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983293440001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":178793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:20:52] local.INFO: GPS data processed {"connection_id":178793,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:20:52] local.INFO: Acknowledgment sent {"connection_id":178793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:21:37] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:21:37] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:21:37] local.INFO: IMEI packet received {"connection_id":176008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":176008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:21:42] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:21:42] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:21:42] local.INFO: IMEI packet received {"connection_id":176008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":176008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:21:42] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:21:42] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:21:42] local.INFO: Packet analysis {"connection_id":176008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:21:42] local.INFO: Extracted packet for processing {"connection_id":176008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:21:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05: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-09-10 05:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:21:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":176008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:21:42] local.INFO: GPS data processed {"connection_id":176008,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:21:42] local.INFO: Acknowledgment sent {"connection_id":176008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:22:14] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:22:14] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:22:14] local.INFO: Packet analysis {"connection_id":176008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:22:14] local.INFO: Extracted packet for processing {"connection_id":176008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:22:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:22:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":176008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:22:14] local.INFO: GPS data processed {"connection_id":176008,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:22:14] local.INFO: Acknowledgment sent {"connection_id":176008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:22:36] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:22:36] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:22:36] local.INFO: IMEI packet received {"connection_id":176235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":176235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:22:42] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:22:42] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:22:42] local.INFO: IMEI packet received {"connection_id":176235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":176235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:22:42] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:22:42] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:22:42] local.INFO: Packet analysis {"connection_id":176235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:22:42] local.INFO: Extracted packet for processing {"connection_id":176235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:22:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:22: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-09-10 05:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":176235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:22:42] local.INFO: GPS data processed {"connection_id":176235,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:22:42] local.INFO: Acknowledgment sent {"connection_id":176235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:23:13] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:23:13] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:23:13] local.INFO: Packet analysis {"connection_id":176235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:23:13] local.INFO: Extracted packet for processing {"connection_id":176235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:23:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:23: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-09-10 05: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":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:23: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-09-10 05:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:23:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":176235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:23:14] local.INFO: GPS data processed {"connection_id":176235,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:23:14] local.INFO: Acknowledgment sent {"connection_id":176235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:23:36] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:23:36] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:23:36] local.INFO: IMEI packet received {"connection_id":176236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":176236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:23:42] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:23:42] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:23:42] local.INFO: IMEI packet received {"connection_id":176236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":176236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:23:42] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:23:42] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:23:42] local.INFO: Packet analysis {"connection_id":176236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:23:42] local.INFO: Extracted packet for processing {"connection_id":176236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":176236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:23:42] local.INFO: GPS data processed {"connection_id":176236,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:23:42] local.INFO: Acknowledgment sent {"connection_id":176236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:24:13] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:24:13] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:24:13] local.INFO: Packet analysis {"connection_id":176236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:24:13] local.INFO: Extracted packet for processing {"connection_id":176236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:24:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05: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-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:24: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-09-10 05:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:24:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":176236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:24:13] local.INFO: GPS data processed {"connection_id":176236,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:24:13] local.INFO: Acknowledgment sent {"connection_id":176236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:24:36] local.INFO: TCP Data received {"connection_id":178794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:24:36] local.INFO: Processing buffer {"connection_id":178794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:24:36] local.INFO: IMEI packet received {"connection_id":178794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":178794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:24:42] local.INFO: TCP Data received {"connection_id":178794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:24:42] local.INFO: Processing buffer {"connection_id":178794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:24:42] local.INFO: IMEI packet received {"connection_id":178794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":178794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:24:42] local.INFO: TCP Data received {"connection_id":178794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:24:42] local.INFO: Processing buffer {"connection_id":178794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:24:42] local.INFO: Packet analysis {"connection_id":178794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:24:42] local.INFO: Extracted packet for processing {"connection_id":178794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:24: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-09-10 05:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":178794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:24:42] local.INFO: GPS data processed {"connection_id":178794,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:24:42] local.INFO: Acknowledgment sent {"connection_id":178794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:25:13] local.INFO: TCP Data received {"connection_id":178794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:13] local.INFO: Processing buffer {"connection_id":178794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:13] local.INFO: Packet analysis {"connection_id":178794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:25:13] local.INFO: Extracted packet for processing {"connection_id":178794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:25: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-09-10 05:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:25: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-09-10 05:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:25:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":178794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:25:13] local.INFO: GPS data processed {"connection_id":178794,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:25:13] local.INFO: Acknowledgment sent {"connection_id":178794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:25:42] local.INFO: TCP Data received {"connection_id":177408,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:25:42] local.INFO: Processing buffer {"connection_id":177408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:25:42] local.INFO: IMEI packet received {"connection_id":177408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":177408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:25:47] local.INFO: TCP Data received {"connection_id":177408,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:25:47] local.INFO: Processing buffer {"connection_id":177408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:25:47] local.INFO: IMEI packet received {"connection_id":177408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":177408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:25:47] local.INFO: TCP Data received {"connection_id":177408,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:47] local.INFO: Processing buffer {"connection_id":177408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:47] local.INFO: Packet analysis {"connection_id":177408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:25:47] local.INFO: Extracted packet for processing {"connection_id":177408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:25:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:25:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":177408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:25:47] local.INFO: GPS data processed {"connection_id":177408,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:25:47] local.INFO: Acknowledgment sent {"connection_id":177408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:25:52] local.INFO: TCP Data received {"connection_id":177408,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:52] local.INFO: Processing buffer {"connection_id":177408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08894b450012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 05:25:52] local.INFO: Packet analysis {"connection_id":177408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:25:52] local.INFO: Extracted packet for processing {"connection_id":177408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08894"} 
[2026-09-10 05:25:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983370496001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788997842000,"timestamp_ms":1788997842000,"timestamp_seconds":1788997842,"priority":1,"record_length":96,"hex_timestamp":"000001a08894b450"} 
[2026-09-10 05:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983370496001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983370496001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:25:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983370496001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":177408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:25:52] local.INFO: GPS data processed {"connection_id":177408,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:25:52] local.INFO: Acknowledgment sent {"connection_id":177408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:26:42] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:26:42] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:26:42] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:26:42] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:26:42] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:26:42] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:26:43] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:26:43] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:26:43] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:26:43] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:26:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:26:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:26:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:26:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:26:43] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:26:43] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:26:49] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:26:49] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:26:49] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:26:49] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:26:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:26:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:26:49] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:26:49] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:27:20] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:27:20] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:27:20] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:27:20] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:27:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:27:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:27:20] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:27:20] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:27:36] local.INFO: TCP Data received {"connection_id":177409,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:27:36] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:27:36] local.INFO: IMEI packet received {"connection_id":177409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":177409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:27:42] local.INFO: TCP Data received {"connection_id":177409,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:27:42] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:27:42] local.INFO: IMEI packet received {"connection_id":177409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":177409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:27:42] local.INFO: TCP Data received {"connection_id":177409,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:27:42] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:27:42] local.INFO: Packet analysis {"connection_id":177409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:27:42] local.INFO: Extracted packet for processing {"connection_id":177409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:27: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-09-10 05:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":177409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:27:42] local.INFO: GPS data processed {"connection_id":177409,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:27:42] local.INFO: Acknowledgment sent {"connection_id":177409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:28:13] local.INFO: TCP Data received {"connection_id":177409,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:28:13] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:28:13] local.INFO: Packet analysis {"connection_id":177409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:28:13] local.INFO: Extracted packet for processing {"connection_id":177409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:28:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:28: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-09-10 05:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:28: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-09-10 05:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:28:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":177409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:28:13] local.INFO: GPS data processed {"connection_id":177409,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:28:13] local.INFO: Acknowledgment sent {"connection_id":177409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:28:36] local.INFO: TCP Data received {"connection_id":177410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:28:36] local.INFO: Processing buffer {"connection_id":177410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:28:36] local.INFO: IMEI packet received {"connection_id":177410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":177410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:28:42] local.INFO: TCP Data received {"connection_id":177410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:28:42] local.INFO: Processing buffer {"connection_id":177410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:28:42] local.INFO: IMEI packet received {"connection_id":177410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":177410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:28:42] local.INFO: TCP Data received {"connection_id":177410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:28:42] local.INFO: Processing buffer {"connection_id":177410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:28:42] local.INFO: Packet analysis {"connection_id":177410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:28:42] local.INFO: Extracted packet for processing {"connection_id":177410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":177410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:28:42] local.INFO: GPS data processed {"connection_id":177410,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:28:42] local.INFO: Acknowledgment sent {"connection_id":177410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:29:14] local.INFO: TCP Data received {"connection_id":177410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:29:14] local.INFO: Processing buffer {"connection_id":177410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:29:14] local.INFO: Packet analysis {"connection_id":177410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:29:14] local.INFO: Extracted packet for processing {"connection_id":177410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:29:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:29:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":177410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:29:14] local.INFO: GPS data processed {"connection_id":177410,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:29:14] local.INFO: Acknowledgment sent {"connection_id":177410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:29:36] local.INFO: TCP Data received {"connection_id":176238,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:29:36] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:29:36] local.INFO: IMEI packet received {"connection_id":176238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":176238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:29:42] local.INFO: TCP Data received {"connection_id":176238,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:29:42] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:29:42] local.INFO: IMEI packet received {"connection_id":176238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":176238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:29:42] local.INFO: TCP Data received {"connection_id":176238,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:29:42] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:29:42] local.INFO: Packet analysis {"connection_id":176238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:29:42] local.INFO: Extracted packet for processing {"connection_id":176238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:29: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-09-10 05:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:29:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":176238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:29:42] local.INFO: GPS data processed {"connection_id":176238,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:29:42] local.INFO: Acknowledgment sent {"connection_id":176238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:30:13] local.INFO: TCP Data received {"connection_id":176238,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:13] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:13] local.INFO: Packet analysis {"connection_id":176238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:30:13] local.INFO: Extracted packet for processing {"connection_id":176238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:30:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:30: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-09-10 05:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:30: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-09-10 05:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:30:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":176238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:30:13] local.INFO: GPS data processed {"connection_id":176238,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:30:13] local.INFO: Acknowledgment sent {"connection_id":176238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:30:42] local.INFO: TCP Data received {"connection_id":178795,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:30:42] local.INFO: Processing buffer {"connection_id":178795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:30:42] local.INFO: IMEI packet received {"connection_id":178795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":178795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:30:47] local.INFO: TCP Data received {"connection_id":178795,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:30:47] local.INFO: Processing buffer {"connection_id":178795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:30:47] local.INFO: IMEI packet received {"connection_id":178795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":178795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:30:47] local.INFO: TCP Data received {"connection_id":178795,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:47] local.INFO: Processing buffer {"connection_id":178795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:47] local.INFO: Packet analysis {"connection_id":178795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:30:47] local.INFO: Extracted packet for processing {"connection_id":178795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:30:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:30:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:30:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":178795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:30:47] local.INFO: GPS data processed {"connection_id":178795,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:30:47] local.INFO: Acknowledgment sent {"connection_id":178795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:30:52] local.INFO: TCP Data received {"connection_id":178795,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:52] local.INFO: Processing buffer {"connection_id":178795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088994830012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:30:52] local.INFO: Packet analysis {"connection_id":178795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:30:52] local.INFO: Extracted packet for processing {"connection_id":178795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08899"} 
[2026-09-10 05:30:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983447552001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788998142000,"timestamp_ms":1788998142000,"timestamp_seconds":1788998142,"priority":1,"record_length":96,"hex_timestamp":"000001a088994830"} 
[2026-09-10 05:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983447552001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983447552001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:30:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983447552001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":178795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:30:52] local.INFO: GPS data processed {"connection_id":178795,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:30:52] local.INFO: Acknowledgment sent {"connection_id":178795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:31:37] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:31:37] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:31:37] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:31:42] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:31:42] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:31:42] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:31:42] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:31:42] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:31:42] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:31:42] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:31: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-09-10 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:31:42] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:31:42] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:32:13] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:32:13] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:32:13] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:32:13] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:32: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-09-10 05:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:32:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:32:13] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:32:13] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:32:36] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:32:36] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:32:36] local.INFO: IMEI packet received {"connection_id":177411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":177411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:32:42] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:32:42] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:32:42] local.INFO: IMEI packet received {"connection_id":177411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":177411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:32:42] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:32:42] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:32:42] local.INFO: Packet analysis {"connection_id":177411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:32:42] local.INFO: Extracted packet for processing {"connection_id":177411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:32: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-09-10 05:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:32:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":177411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:32:42] local.INFO: GPS data processed {"connection_id":177411,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:32:42] local.INFO: Acknowledgment sent {"connection_id":177411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:33:13] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:33:13] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:33:13] local.INFO: Packet analysis {"connection_id":177411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:33:13] local.INFO: Extracted packet for processing {"connection_id":177411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:33: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-09-10 05:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:33: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-09-10 05:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:33:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":177411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:33:13] local.INFO: GPS data processed {"connection_id":177411,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:33:13] local.INFO: Acknowledgment sent {"connection_id":177411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:33:36] local.INFO: TCP Data received {"connection_id":178796,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:33:36] local.INFO: Processing buffer {"connection_id":178796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:33:36] local.INFO: IMEI packet received {"connection_id":178796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":178796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:33:42] local.INFO: TCP Data received {"connection_id":178796,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:33:42] local.INFO: Processing buffer {"connection_id":178796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:33:42] local.INFO: IMEI packet received {"connection_id":178796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":178796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:33:42] local.INFO: TCP Data received {"connection_id":178796,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:33:42] local.INFO: Processing buffer {"connection_id":178796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:33:42] local.INFO: Packet analysis {"connection_id":178796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:33:42] local.INFO: Extracted packet for processing {"connection_id":178796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:33:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:33: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-09-10 05:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:33: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-09-10 05:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:33:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":178796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:33:42] local.INFO: GPS data processed {"connection_id":178796,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:33:42] local.INFO: Acknowledgment sent {"connection_id":178796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:34:13] local.INFO: TCP Data received {"connection_id":178796,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:34:13] local.INFO: Processing buffer {"connection_id":178796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:34:13] local.INFO: Packet analysis {"connection_id":178796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:34:13] local.INFO: Extracted packet for processing {"connection_id":178796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:34:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:34: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-09-10 05:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":178796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:34:13] local.INFO: GPS data processed {"connection_id":178796,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:34:13] local.INFO: Acknowledgment sent {"connection_id":178796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:34:36] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:34:36] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:34:36] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:34:42] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:34:42] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:34:42] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:34:42] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:34:42] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:34:42] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:34:42] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:34: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-09-10 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:34:42] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:34:42] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:35:17] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:35:17] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:35:17] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:35:17] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:35:17] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:35:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:35:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:35:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:35:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:35:17] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:35:17] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:35:36] local.INFO: TCP Data received {"connection_id":178797,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:35:36] local.INFO: Processing buffer {"connection_id":178797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:35:36] local.INFO: IMEI packet received {"connection_id":178797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":178797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:35:42] local.INFO: TCP Data received {"connection_id":178797,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:35:42] local.INFO: Processing buffer {"connection_id":178797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:35:42] local.INFO: IMEI packet received {"connection_id":178797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":178797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:35:42] local.INFO: TCP Data received {"connection_id":178797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:35:42] local.INFO: Processing buffer {"connection_id":178797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:35:42] local.INFO: Packet analysis {"connection_id":178797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:35:42] local.INFO: Extracted packet for processing {"connection_id":178797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:35:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:35: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-09-10 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:35:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":178797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:35:42] local.INFO: GPS data processed {"connection_id":178797,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:35:42] local.INFO: Acknowledgment sent {"connection_id":178797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:36:13] local.INFO: TCP Data received {"connection_id":178797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:36:13] local.INFO: Processing buffer {"connection_id":178797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0889ddff8012cee6fc0072e2ba80034006b2e..."} 
[2026-09-10 05:36:13] local.INFO: Packet analysis {"connection_id":178797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:36:13] local.INFO: Extracted packet for processing {"connection_id":178797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0889d"} 
[2026-09-10 05:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":46,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983524352001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998443000,"timestamp_ms":1788998443000,"timestamp_seconds":1788998443,"priority":1,"record_length":96,"hex_timestamp":"000001a0889ddff8"} 
[2026-09-10 05:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:36: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-09-10 05:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983524352001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983524352001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:36:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983524352001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":178797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:36:13] local.INFO: GPS data processed {"connection_id":178797,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:36:13] local.INFO: Acknowledgment sent {"connection_id":178797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:36:42] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:36:42] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:36:42] local.INFO: IMEI packet received {"connection_id":176009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":176009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:36:47] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:36:47] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:36:47] local.INFO: IMEI packet received {"connection_id":176009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":176009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:36:47] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:36:47] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:36:47] local.INFO: Packet analysis {"connection_id":176009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:36:47] local.INFO: Extracted packet for processing {"connection_id":176009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:36:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:36:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:36:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":176009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:36:47] local.INFO: GPS data processed {"connection_id":176009,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:36:47] local.INFO: Acknowledgment sent {"connection_id":176009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:36:52] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:36:52] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:36:52] local.INFO: Packet analysis {"connection_id":176009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:36:52] local.INFO: Extracted packet for processing {"connection_id":176009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:36:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:36:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":176009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:36:52] local.INFO: GPS data processed {"connection_id":176009,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:36:52] local.INFO: Acknowledgment sent {"connection_id":176009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:37:37] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:37:37] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:37:37] local.INFO: IMEI packet received {"connection_id":176242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":176242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:37:42] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:37:42] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:37:42] local.INFO: IMEI packet received {"connection_id":176242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":176242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:37:42] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:37:42] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:37:42] local.INFO: Packet analysis {"connection_id":176242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:37:42] local.INFO: Extracted packet for processing {"connection_id":176242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:37:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:37: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-09-10 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":176242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:37:42] local.INFO: GPS data processed {"connection_id":176242,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:37:42] local.INFO: Acknowledgment sent {"connection_id":176242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:38:13] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:38:13] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:38:13] local.INFO: Packet analysis {"connection_id":176242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:38:13] local.INFO: Extracted packet for processing {"connection_id":176242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:38:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:38:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:38: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-09-10 05:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:38: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-09-10 05:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:38:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:38:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":176242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:38:13] local.INFO: GPS data processed {"connection_id":176242,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:38:13] local.INFO: Acknowledgment sent {"connection_id":176242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:38:36] local.INFO: TCP Data received {"connection_id":178798,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:38:36] local.INFO: Processing buffer {"connection_id":178798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:38:36] local.INFO: IMEI packet received {"connection_id":178798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":178798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:38:42] local.INFO: TCP Data received {"connection_id":178798,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:38:42] local.INFO: Processing buffer {"connection_id":178798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:38:42] local.INFO: IMEI packet received {"connection_id":178798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":178798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:38:42] local.INFO: TCP Data received {"connection_id":178798,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:38:42] local.INFO: Processing buffer {"connection_id":178798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:38:42] local.INFO: Packet analysis {"connection_id":178798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:38:42] local.INFO: Extracted packet for processing {"connection_id":178798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:38: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-09-10 05:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:38:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":178798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:38:42] local.INFO: GPS data processed {"connection_id":178798,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:38:42] local.INFO: Acknowledgment sent {"connection_id":178798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:39:15] local.INFO: TCP Data received {"connection_id":178798,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:39:15] local.INFO: Processing buffer {"connection_id":178798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:39:15] local.INFO: Packet analysis {"connection_id":178798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:39:15] local.INFO: Extracted packet for processing {"connection_id":178798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:39:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:39:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":178798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:39:15] local.INFO: GPS data processed {"connection_id":178798,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:39:15] local.INFO: Acknowledgment sent {"connection_id":178798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:39:36] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:39:36] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:39:36] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:39:42] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:39:42] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:39:42] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:39:42] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:39:42] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:39:42] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:39:42] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:39: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-09-10 05:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:39:42] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:39:42] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:40:14] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:40:14] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:40:14] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:40:14] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:40:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:40:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:40:14] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:40:14] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:40:36] local.INFO: TCP Data received {"connection_id":178799,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:40:36] local.INFO: Processing buffer {"connection_id":178799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:40:36] local.INFO: IMEI packet received {"connection_id":178799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":178799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:40:42] local.INFO: TCP Data received {"connection_id":178799,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:40:42] local.INFO: Processing buffer {"connection_id":178799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:40:42] local.INFO: IMEI packet received {"connection_id":178799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":178799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:40:42] local.INFO: TCP Data received {"connection_id":178799,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:40:42] local.INFO: Processing buffer {"connection_id":178799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:40:42] local.INFO: Packet analysis {"connection_id":178799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:40:42] local.INFO: Extracted packet for processing {"connection_id":178799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:40:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:40: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-09-10 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":178799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:40:42] local.INFO: GPS data processed {"connection_id":178799,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:40:42] local.INFO: Acknowledgment sent {"connection_id":178799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:41:13] local.INFO: TCP Data received {"connection_id":178799,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:41:13] local.INFO: Processing buffer {"connection_id":178799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a277c0012cee6fc0072e2ba80034006b2d..."} 
[2026-09-10 05:41:13] local.INFO: Packet analysis {"connection_id":178799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:41:13] local.INFO: Extracted packet for processing {"connection_id":178799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a2"} 
[2026-09-10 05:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983601408001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788998744000,"timestamp_ms":1788998744000,"timestamp_seconds":1788998744,"priority":1,"record_length":96,"hex_timestamp":"000001a088a277c0"} 
[2026-09-10 05:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:41: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-09-10 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 05:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983601408001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983601408001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:41:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983601408001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":178799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:41:13] local.INFO: GPS data processed {"connection_id":178799,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:41:13] local.INFO: Acknowledgment sent {"connection_id":178799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:41:42] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:41:42] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:41:42] local.INFO: IMEI packet received {"connection_id":176010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":176010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:41:47] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:41:47] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:41:47] local.INFO: IMEI packet received {"connection_id":176010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":176010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:41:47] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:41:47] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:41:47] local.INFO: Packet analysis {"connection_id":176010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:41:47] local.INFO: Extracted packet for processing {"connection_id":176010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:41:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:41:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":176010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:41:47] local.INFO: GPS data processed {"connection_id":176010,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:41:47] local.INFO: Acknowledgment sent {"connection_id":176010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:42:18] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:18] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:18] local.INFO: Packet analysis {"connection_id":176010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:42:18] local.INFO: Extracted packet for processing {"connection_id":176010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:42:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:42: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-09-10 05:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:42:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:42:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":176010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:42:18] local.INFO: GPS data processed {"connection_id":176010,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:42:18] local.INFO: Acknowledgment sent {"connection_id":176010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:42:39] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:42:39] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:42:39] local.INFO: IMEI packet received {"connection_id":176011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":176011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:42:41] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:42:41] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:42:41] local.INFO: IMEI packet received {"connection_id":176011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":176011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:42:42] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:42] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:42] local.INFO: Packet analysis {"connection_id":176011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:42:42] local.INFO: Extracted packet for processing {"connection_id":176011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:42:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:42: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-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:42:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":176011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:42:42] local.INFO: GPS data processed {"connection_id":176011,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:42:42] local.INFO: Acknowledgment sent {"connection_id":176011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:42:47] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:47] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:42:47] local.INFO: Packet analysis {"connection_id":176011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:42:47] local.INFO: Extracted packet for processing {"connection_id":176011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:42:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:42:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:42:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":176011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:42:47] local.INFO: GPS data processed {"connection_id":176011,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:42:47] local.INFO: Acknowledgment sent {"connection_id":176011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:43:18] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:43:18] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:43:18] local.INFO: Packet analysis {"connection_id":176011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:43:18] local.INFO: Extracted packet for processing {"connection_id":176011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:43:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:43:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:43: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-09-10 05:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:43:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:43:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":176011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:43:18] local.INFO: GPS data processed {"connection_id":176011,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:43:18] local.INFO: Acknowledgment sent {"connection_id":176011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:43:36] local.INFO: TCP Data received {"connection_id":177412,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:43:36] local.INFO: Processing buffer {"connection_id":177412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:43:36] local.INFO: IMEI packet received {"connection_id":177412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":177412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:43:42] local.INFO: TCP Data received {"connection_id":177412,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:43:42] local.INFO: Processing buffer {"connection_id":177412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:43:42] local.INFO: IMEI packet received {"connection_id":177412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":177412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:43:42] local.INFO: TCP Data received {"connection_id":177412,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:43:42] local.INFO: Processing buffer {"connection_id":177412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:43:42] local.INFO: Packet analysis {"connection_id":177412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:43:42] local.INFO: Extracted packet for processing {"connection_id":177412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:43:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:43: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-09-10 05:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:43:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":177412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:43:42] local.INFO: GPS data processed {"connection_id":177412,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:43:42] local.INFO: Acknowledgment sent {"connection_id":177412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:44:14] local.INFO: TCP Data received {"connection_id":177412,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:44:14] local.INFO: Processing buffer {"connection_id":177412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:44:14] local.INFO: Packet analysis {"connection_id":177412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:44:14] local.INFO: Extracted packet for processing {"connection_id":177412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:44:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:44:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":177412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:44:14] local.INFO: GPS data processed {"connection_id":177412,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:44:14] local.INFO: Acknowledgment sent {"connection_id":177412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:44:36] local.INFO: TCP Data received {"connection_id":177413,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:44:36] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:44:36] local.INFO: IMEI packet received {"connection_id":177413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":177413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:44:42] local.INFO: TCP Data received {"connection_id":177413,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:44:42] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:44:42] local.INFO: IMEI packet received {"connection_id":177413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":177413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:44:42] local.INFO: TCP Data received {"connection_id":177413,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:44:42] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:44:42] local.INFO: Packet analysis {"connection_id":177413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:44:42] local.INFO: Extracted packet for processing {"connection_id":177413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:44: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-09-10 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:44:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":177413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:44:42] local.INFO: GPS data processed {"connection_id":177413,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:44:42] local.INFO: Acknowledgment sent {"connection_id":177413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:45:13] local.INFO: TCP Data received {"connection_id":177413,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:45:13] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:45:13] local.INFO: Packet analysis {"connection_id":177413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:45:13] local.INFO: Extracted packet for processing {"connection_id":177413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:45: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-09-10 05:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:45: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-09-10 05:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:45:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":177413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:45:13] local.INFO: GPS data processed {"connection_id":177413,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:45:13] local.INFO: Acknowledgment sent {"connection_id":177413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:45:36] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:45:36] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:45:36] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:45:42] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:45:42] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:45:42] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:45:42] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:45:42] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:45:42] local.INFO: Packet analysis {"connection_id":176244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:45:42] local.INFO: Extracted packet for processing {"connection_id":176244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:45: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-09-10 05:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:45:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":176244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:45:42] local.INFO: GPS data processed {"connection_id":176244,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:45:42] local.INFO: Acknowledgment sent {"connection_id":176244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:46:13] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:46:13] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088a70f88012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:46:13] local.INFO: Packet analysis {"connection_id":176244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:46:13] local.INFO: Extracted packet for processing {"connection_id":176244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088a7"} 
[2026-09-10 05:46:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983678464001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999045000,"timestamp_ms":1788999045000,"timestamp_seconds":1788999045,"priority":1,"record_length":96,"hex_timestamp":"000001a088a70f88"} 
[2026-09-10 05:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:46: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-09-10 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 05:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:46: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-09-10 05:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983678464001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983678464001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:46:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983678464001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":176244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:46:13] local.INFO: GPS data processed {"connection_id":176244,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:46:13] local.INFO: Acknowledgment sent {"connection_id":176244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:46:42] local.INFO: TCP Data received {"connection_id":178800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:46:42] local.INFO: Processing buffer {"connection_id":178800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:46:42] local.INFO: IMEI packet received {"connection_id":178800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":178800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:46:47] local.INFO: TCP Data received {"connection_id":178800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:46:47] local.INFO: Processing buffer {"connection_id":178800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:46:47] local.INFO: IMEI packet received {"connection_id":178800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":178800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:46:47] local.INFO: TCP Data received {"connection_id":178800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:46:47] local.INFO: Processing buffer {"connection_id":178800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:46:47] local.INFO: Packet analysis {"connection_id":178800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:46:47] local.INFO: Extracted packet for processing {"connection_id":178800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:46:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:46:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:46:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":178800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:46:47] local.INFO: GPS data processed {"connection_id":178800,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:46:47] local.INFO: Acknowledgment sent {"connection_id":178800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:46:52] local.INFO: TCP Data received {"connection_id":178800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:46:52] local.INFO: Processing buffer {"connection_id":178800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:46:52] local.INFO: Packet analysis {"connection_id":178800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:46:52] local.INFO: Extracted packet for processing {"connection_id":178800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:46:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":178800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:46:52] local.INFO: GPS data processed {"connection_id":178800,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:46:52] local.INFO: Acknowledgment sent {"connection_id":178800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:47:39] local.INFO: TCP Data received {"connection_id":177414,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:47:39] local.INFO: Processing buffer {"connection_id":177414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:47:39] local.INFO: IMEI packet received {"connection_id":177414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":177414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:47:41] local.INFO: TCP Data received {"connection_id":177414,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:47:41] local.INFO: Processing buffer {"connection_id":177414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:47:41] local.INFO: IMEI packet received {"connection_id":177414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":177414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:47:42] local.INFO: TCP Data received {"connection_id":177414,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:47:42] local.INFO: Processing buffer {"connection_id":177414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:47:42] local.INFO: Packet analysis {"connection_id":177414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:47:42] local.INFO: Extracted packet for processing {"connection_id":177414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:47: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-09-10 05:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:47:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":177414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:47:42] local.INFO: GPS data processed {"connection_id":177414,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:47:42] local.INFO: Acknowledgment sent {"connection_id":177414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:47:47] local.INFO: TCP Data received {"connection_id":177414,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:47:47] local.INFO: Processing buffer {"connection_id":177414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:47:47] local.INFO: Packet analysis {"connection_id":177414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:47:47] local.INFO: Extracted packet for processing {"connection_id":177414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:47:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:47:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:47:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:47:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":177414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:47:47] local.INFO: GPS data processed {"connection_id":177414,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:47:47] local.INFO: Acknowledgment sent {"connection_id":177414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:48:18] local.INFO: TCP Data received {"connection_id":177414,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:48:18] local.INFO: Processing buffer {"connection_id":177414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:48:18] local.INFO: Packet analysis {"connection_id":177414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:48:18] local.INFO: Extracted packet for processing {"connection_id":177414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:48:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:48: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-09-10 05:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:48:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:48:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":177414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:48:18] local.INFO: GPS data processed {"connection_id":177414,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:48:18] local.INFO: Acknowledgment sent {"connection_id":177414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:48:36] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:48:36] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:48:36] local.INFO: IMEI packet received {"connection_id":176012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":176012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:48:42] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:48:42] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:48:42] local.INFO: IMEI packet received {"connection_id":176012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":176012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:48:42] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:48:42] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:48:42] local.INFO: Packet analysis {"connection_id":176012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:48:42] local.INFO: Extracted packet for processing {"connection_id":176012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:48: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-09-10 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":176012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:48:42] local.INFO: GPS data processed {"connection_id":176012,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:48:42] local.INFO: Acknowledgment sent {"connection_id":176012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:49:13] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:49:13] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:49:13] local.INFO: Packet analysis {"connection_id":176012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:49:13] local.INFO: Extracted packet for processing {"connection_id":176012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:49:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:49: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-09-10 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:49: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-09-10 05:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:49:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":176012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:49:13] local.INFO: GPS data processed {"connection_id":176012,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:49:13] local.INFO: Acknowledgment sent {"connection_id":176012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:49:36] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:49:36] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:49:36] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:49:42] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:49:42] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:49:42] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:49:42] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:49:42] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:49:42] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:49:42] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:49: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-09-10 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:49:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:49:42] local.INFO: GPS data processed {"connection_id":176245,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:49:42] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:50:13] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:50:13] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:50:13] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:50:13] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:50:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:50: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-09-10 05: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:50: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-09-10 05:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:50:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:50:13] local.INFO: GPS data processed {"connection_id":176245,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:50:13] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:50:42] local.INFO: TCP Data received {"connection_id":178801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:50:42] local.INFO: Processing buffer {"connection_id":178801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:50:42] local.INFO: IMEI packet received {"connection_id":178801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":178801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:50:47] local.INFO: TCP Data received {"connection_id":178801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:50:47] local.INFO: Processing buffer {"connection_id":178801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:50:47] local.INFO: IMEI packet received {"connection_id":178801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":178801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:50:47] local.INFO: TCP Data received {"connection_id":178801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:50:47] local.INFO: Processing buffer {"connection_id":178801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:50:47] local.INFO: Packet analysis {"connection_id":178801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:50:47] local.INFO: Extracted packet for processing {"connection_id":178801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:50:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:50:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":178801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:50:47] local.INFO: GPS data processed {"connection_id":178801,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:50:47] local.INFO: Acknowledgment sent {"connection_id":178801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:51:18] local.INFO: TCP Data received {"connection_id":178801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:51:18] local.INFO: Processing buffer {"connection_id":178801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088aba750012cee6fc0072e2ba80034006b2b..."} 
[2026-09-10 05:51:18] local.INFO: Packet analysis {"connection_id":178801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:51:18] local.INFO: Extracted packet for processing {"connection_id":178801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ab"} 
[2026-09-10 05:51:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983755520001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788999346000,"timestamp_ms":1788999346000,"timestamp_seconds":1788999346,"priority":1,"record_length":96,"hex_timestamp":"000001a088aba750"} 
[2026-09-10 05:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:51: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-09-10 05:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 05:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983755520001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983755520001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:51:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983755520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":178801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:51:18] local.INFO: GPS data processed {"connection_id":178801,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:51:18] local.INFO: Acknowledgment sent {"connection_id":178801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:51:36] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:51:36] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:51:36] local.INFO: IMEI packet received {"connection_id":176013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":176013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:51:41] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:51:41] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:51:41] local.INFO: IMEI packet received {"connection_id":176013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":176013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:51:42] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:51:42] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:51:42] local.INFO: Packet analysis {"connection_id":176013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:51:42] local.INFO: Extracted packet for processing {"connection_id":176013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:51: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-09-10 05:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:51:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":176013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:51:42] local.INFO: GPS data processed {"connection_id":176013,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:51:42] local.INFO: Acknowledgment sent {"connection_id":176013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:52:12] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:52:12] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:52:12] local.INFO: Packet analysis {"connection_id":176013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:52:12] local.INFO: Extracted packet for processing {"connection_id":176013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:52:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:52: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-09-10 05:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:52:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":176013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:52:13] local.INFO: GPS data processed {"connection_id":176013,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:52:13] local.INFO: Acknowledgment sent {"connection_id":176013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:52:36] local.INFO: TCP Data received {"connection_id":177415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:52:36] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:52:36] local.INFO: IMEI packet received {"connection_id":177415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":177415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:52:41] local.INFO: TCP Data received {"connection_id":177415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:52:41] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:52:41] local.INFO: IMEI packet received {"connection_id":177415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":177415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:52:42] local.INFO: TCP Data received {"connection_id":177415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:52:42] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:52:42] local.INFO: Packet analysis {"connection_id":177415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:52:42] local.INFO: Extracted packet for processing {"connection_id":177415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:52: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-09-10 05:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":177415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:52:42] local.INFO: GPS data processed {"connection_id":177415,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:52:42] local.INFO: Acknowledgment sent {"connection_id":177415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:53:13] local.INFO: TCP Data received {"connection_id":177415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:53:13] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:53:13] local.INFO: Packet analysis {"connection_id":177415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:53:13] local.INFO: Extracted packet for processing {"connection_id":177415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:53: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-09-10 05:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":177415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:53:13] local.INFO: GPS data processed {"connection_id":177415,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:53:13] local.INFO: Acknowledgment sent {"connection_id":177415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:53:36] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:53:36] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:53:36] local.INFO: IMEI packet received {"connection_id":176246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":176246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:53:41] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:53:41] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:53:41] local.INFO: IMEI packet received {"connection_id":176246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":176246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:53:42] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:53:42] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:53:42] local.INFO: Packet analysis {"connection_id":176246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:53:42] local.INFO: Extracted packet for processing {"connection_id":176246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:53: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-09-10 05:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:53:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":176246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:53:42] local.INFO: GPS data processed {"connection_id":176246,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:53:42] local.INFO: Acknowledgment sent {"connection_id":176246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:54:13] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:54:13] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:54:13] local.INFO: Packet analysis {"connection_id":176246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:54:13] local.INFO: Extracted packet for processing {"connection_id":176246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:54:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:54: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-09-10 05:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:54: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-09-10 05:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:54:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":176246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:54:13] local.INFO: GPS data processed {"connection_id":176246,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:54:13] local.INFO: Acknowledgment sent {"connection_id":176246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:54:36] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:54:36] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:54:36] local.INFO: IMEI packet received {"connection_id":176014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":176014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:54:41] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:54:41] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:54:41] local.INFO: IMEI packet received {"connection_id":176014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":176014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:54:42] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:54:42] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:54:42] local.INFO: Packet analysis {"connection_id":176014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:54:42] local.INFO: Extracted packet for processing {"connection_id":176014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:54:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:54: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-09-10 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":176014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:54:42] local.INFO: GPS data processed {"connection_id":176014,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:54:42] local.INFO: Acknowledgment sent {"connection_id":176014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:55:13] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:55:13] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:55:13] local.INFO: Packet analysis {"connection_id":176014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:55:13] local.INFO: Extracted packet for processing {"connection_id":176014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:55:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:55: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-09-10 05:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:55:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":176014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:55:13] local.INFO: GPS data processed {"connection_id":176014,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:55:13] local.INFO: Acknowledgment sent {"connection_id":176014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:55:36] local.INFO: TCP Data received {"connection_id":178802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:55:36] local.INFO: Processing buffer {"connection_id":178802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:55:36] local.INFO: IMEI packet received {"connection_id":178802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":178802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:55:41] local.INFO: TCP Data received {"connection_id":178802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:55:41] local.INFO: Processing buffer {"connection_id":178802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:55:41] local.INFO: IMEI packet received {"connection_id":178802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":178802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:55:42] local.INFO: TCP Data received {"connection_id":178802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:55:42] local.INFO: Processing buffer {"connection_id":178802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:55:42] local.INFO: Packet analysis {"connection_id":178802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:55:42] local.INFO: Extracted packet for processing {"connection_id":178802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:55:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:55: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-09-10 05:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:55:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":178802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:55:42] local.INFO: GPS data processed {"connection_id":178802,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:55:42] local.INFO: Acknowledgment sent {"connection_id":178802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:56:13] local.INFO: TCP Data received {"connection_id":178802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:56:13] local.INFO: Processing buffer {"connection_id":178802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b03f18012cee6fc0072e2ba80034006b2c..."} 
[2026-09-10 05:56:13] local.INFO: Packet analysis {"connection_id":178802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:56:13] local.INFO: Extracted packet for processing {"connection_id":178802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b0"} 
[2026-09-10 05:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983832576001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999647000,"timestamp_ms":1788999647000,"timestamp_seconds":1788999647,"priority":1,"record_length":96,"hex_timestamp":"000001a088b03f18"} 
[2026-09-10 05:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 05:56: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-09-10 05:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:56: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-09-10 05:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983832576001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983832576001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:56:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983832576001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":178802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:56:13] local.INFO: GPS data processed {"connection_id":178802,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:56:13] local.INFO: Acknowledgment sent {"connection_id":178802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:56:36] local.INFO: TCP Data received {"connection_id":176015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:56:36] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:56:36] local.INFO: IMEI packet received {"connection_id":176015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":176015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:56:41] local.INFO: TCP Data received {"connection_id":176015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:56:41] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:56:41] local.INFO: IMEI packet received {"connection_id":176015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":176015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:56:42] local.INFO: TCP Data received {"connection_id":176015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:56:42] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:56:42] local.INFO: Packet analysis {"connection_id":176015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:56:42] local.INFO: Extracted packet for processing {"connection_id":176015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:56:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 05:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:56: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-09-10 05:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 05:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:56:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":176015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:56:42] local.INFO: GPS data processed {"connection_id":176015,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:56:42] local.INFO: Acknowledgment sent {"connection_id":176015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:57:13] local.INFO: TCP Data received {"connection_id":176015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:57:13] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:57:13] local.INFO: Packet analysis {"connection_id":176015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:57:13] local.INFO: Extracted packet for processing {"connection_id":176015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:57:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 05:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 05:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:57: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-09-10 05:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:57:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":176015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:57:13] local.INFO: GPS data processed {"connection_id":176015,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:57:13] local.INFO: Acknowledgment sent {"connection_id":176015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:57:36] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:57:36] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:57:36] local.INFO: IMEI packet received {"connection_id":176247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":176247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:57:41] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:57:41] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:57:41] local.INFO: IMEI packet received {"connection_id":176247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":176247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:57:42] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:57:42] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:57:42] local.INFO: Packet analysis {"connection_id":176247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:57:42] local.INFO: Extracted packet for processing {"connection_id":176247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 05:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:57: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-09-10 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 05:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":176247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:57:42] local.INFO: GPS data processed {"connection_id":176247,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:57:42] local.INFO: Acknowledgment sent {"connection_id":176247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:58:13] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:58:13] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:58:13] local.INFO: Packet analysis {"connection_id":176247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:58:13] local.INFO: Extracted packet for processing {"connection_id":176247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:58:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 05:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 05:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:58: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-09-10 05:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:58:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":176247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:58:13] local.INFO: GPS data processed {"connection_id":176247,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:58:13] local.INFO: Acknowledgment sent {"connection_id":176247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:58:36] local.INFO: TCP Data received {"connection_id":176016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:58:36] local.INFO: Processing buffer {"connection_id":176016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:58:36] local.INFO: IMEI packet received {"connection_id":176016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":176016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:58:41] local.INFO: TCP Data received {"connection_id":176016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:58:41] local.INFO: Processing buffer {"connection_id":176016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:58:41] local.INFO: IMEI packet received {"connection_id":176016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":176016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:58:42] local.INFO: TCP Data received {"connection_id":176016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:58:42] local.INFO: Processing buffer {"connection_id":176016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:58:42] local.INFO: Packet analysis {"connection_id":176016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:58:42] local.INFO: Extracted packet for processing {"connection_id":176016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05: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-09-10 05:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 05:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:58: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-09-10 05:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 05:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05: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-09-10 05:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:58:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":176016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:58:42] local.INFO: GPS data processed {"connection_id":176016,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:58:42] local.INFO: Acknowledgment sent {"connection_id":176016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:59:13] local.INFO: TCP Data received {"connection_id":176016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:59:13] local.INFO: Processing buffer {"connection_id":176016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:59:13] local.INFO: Packet analysis {"connection_id":176016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:59:13] local.INFO: Extracted packet for processing {"connection_id":176016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:59:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 05:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 05:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 05:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:59: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-09-10 05:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:59:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":176016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:59:13] local.INFO: GPS data processed {"connection_id":176016,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:59:13] local.INFO: Acknowledgment sent {"connection_id":176016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 05:59:36] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:59:36] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:59:36] local.INFO: IMEI packet received {"connection_id":176248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 05:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":176248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 05:59:41] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:59:41] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 05:59:41] local.INFO: IMEI packet received {"connection_id":176248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 05:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":176248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 05:59:42] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:59:42] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 05:59:42] local.INFO: Packet analysis {"connection_id":176248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:59:42] local.INFO: Extracted packet for processing {"connection_id":176248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 05:59:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 05:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 05:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 05:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 05:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 05:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 05:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 05:59: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-09-10 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 05:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 05:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 05:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 05:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 05:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 05:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 05:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 05:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 05:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 05:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 05:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 05:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 05:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 05:59:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 05:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 05:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 05:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 05:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 05:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":176248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 05:59:42] local.INFO: GPS data processed {"connection_id":176248,"processed":1,"errors":0,"total":1} 
[2026-09-10 05:59:42] local.INFO: Acknowledgment sent {"connection_id":176248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:00:13] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:00:13] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:00:13] local.INFO: Packet analysis {"connection_id":176248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 06:00:13] local.INFO: Extracted packet for processing {"connection_id":176248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 06:00:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 06:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:00: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-09-10 06:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:00:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":176248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:00:13] local.INFO: GPS data processed {"connection_id":176248,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:00:13] local.INFO: Acknowledgment sent {"connection_id":176248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:00:36] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:00:36] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:00:36] local.INFO: IMEI packet received {"connection_id":176017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":176017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:00:41] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:00:41] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:00:41] local.INFO: IMEI packet received {"connection_id":176017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":176017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:00:42] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:00:42] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:00:42] local.INFO: Packet analysis {"connection_id":176017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 06:00:42] local.INFO: Extracted packet for processing {"connection_id":176017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:00: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-09-10 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:00:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":176017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:00:42] local.INFO: GPS data processed {"connection_id":176017,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:00:42] local.INFO: Acknowledgment sent {"connection_id":176017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:01:13] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:01:13] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b4d6e0012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:01:13] local.INFO: Packet analysis {"connection_id":176017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 06:01:13] local.INFO: Extracted packet for processing {"connection_id":176017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b4"} 
[2026-09-10 06:01:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983909632001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:01:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788999948000,"timestamp_ms":1788999948000,"timestamp_seconds":1788999948,"priority":1,"record_length":96,"hex_timestamp":"000001a088b4d6e0"} 
[2026-09-10 06:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:01: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-09-10 06:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983909632001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983909632001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:01:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:01:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983909632001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":176017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:01:13] local.INFO: GPS data processed {"connection_id":176017,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:01:13] local.INFO: Acknowledgment sent {"connection_id":176017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:01:36] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:01:36] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:01:36] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:01:41] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:01:41] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:01:41] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:01:42] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:01:42] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:01:42] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:01:42] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:01: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-09-10 06:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:01:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:01:42] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:01:42] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:02:13] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:02:13] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:02:13] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:02:13] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:02:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:02: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-09-10 06:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:02:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:02:13] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:02:13] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:02:36] local.INFO: TCP Data received {"connection_id":177416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:02:36] local.INFO: Processing buffer {"connection_id":177416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:02:36] local.INFO: IMEI packet received {"connection_id":177416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":177416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:02:41] local.INFO: TCP Data received {"connection_id":177416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:02:41] local.INFO: Processing buffer {"connection_id":177416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:02:41] local.INFO: IMEI packet received {"connection_id":177416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":177416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:02:42] local.INFO: TCP Data received {"connection_id":177416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:02:42] local.INFO: Processing buffer {"connection_id":177416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:02:42] local.INFO: Packet analysis {"connection_id":177416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:02:42] local.INFO: Extracted packet for processing {"connection_id":177416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:02: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-09-10 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:02:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":177416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:02:42] local.INFO: GPS data processed {"connection_id":177416,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:02:42] local.INFO: Acknowledgment sent {"connection_id":177416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:03:13] local.INFO: TCP Data received {"connection_id":177416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:03:13] local.INFO: Processing buffer {"connection_id":177416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:03:13] local.INFO: Packet analysis {"connection_id":177416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:03:13] local.INFO: Extracted packet for processing {"connection_id":177416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:03:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:03: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-09-10 06:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:03:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":177416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:03:13] local.INFO: GPS data processed {"connection_id":177416,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:03:13] local.INFO: Acknowledgment sent {"connection_id":177416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:03:36] local.INFO: TCP Data received {"connection_id":177417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:03:36] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:03:36] local.INFO: IMEI packet received {"connection_id":177417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":177417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:03:41] local.INFO: TCP Data received {"connection_id":177417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:03:41] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:03:41] local.INFO: IMEI packet received {"connection_id":177417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":177417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:03:42] local.INFO: TCP Data received {"connection_id":177417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:03:42] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:03:42] local.INFO: Packet analysis {"connection_id":177417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:03:42] local.INFO: Extracted packet for processing {"connection_id":177417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:03: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-09-10 06: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:03:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":177417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:03:42] local.INFO: GPS data processed {"connection_id":177417,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:03:42] local.INFO: Acknowledgment sent {"connection_id":177417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:04:13] local.INFO: TCP Data received {"connection_id":177417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:13] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:13] local.INFO: Packet analysis {"connection_id":177417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:04:13] local.INFO: Extracted packet for processing {"connection_id":177417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:04:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:04: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-09-10 06:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:04:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":177417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:04:13] local.INFO: GPS data processed {"connection_id":177417,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:04:13] local.INFO: Acknowledgment sent {"connection_id":177417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:04:41] local.INFO: TCP Data received {"connection_id":178803,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:04:41] local.INFO: Processing buffer {"connection_id":178803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:04:41] local.INFO: IMEI packet received {"connection_id":178803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":178803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:04:46] local.INFO: TCP Data received {"connection_id":178803,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:04:46] local.INFO: Processing buffer {"connection_id":178803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:04:46] local.INFO: IMEI packet received {"connection_id":178803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":178803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:04:47] local.INFO: TCP Data received {"connection_id":178803,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:47] local.INFO: Processing buffer {"connection_id":178803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:47] local.INFO: Packet analysis {"connection_id":178803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:04:47] local.INFO: Extracted packet for processing {"connection_id":178803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:04:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:04:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:04:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":178803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:04:47] local.INFO: GPS data processed {"connection_id":178803,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:04:47] local.INFO: Acknowledgment sent {"connection_id":178803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:04:52] local.INFO: TCP Data received {"connection_id":178803,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:52] local.INFO: Processing buffer {"connection_id":178803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:04:52] local.INFO: Packet analysis {"connection_id":178803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:04:52] local.INFO: Extracted packet for processing {"connection_id":178803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:04:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:04:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:04:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":178803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:04:52] local.INFO: GPS data processed {"connection_id":178803,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:04:52] local.INFO: Acknowledgment sent {"connection_id":178803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:05:36] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:05:36] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:05:36] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:05:41] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:05:41] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:05:41] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:05:42] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:05:42] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:05:42] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:05:42] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:05: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-09-10 06:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:05:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:05:42] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:05:42] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:06:13] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:06:13] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088b96ea8012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:06:13] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:06:13] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088b9"} 
[2026-09-10 06:06:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457983986688001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000249000,"timestamp_ms":1789000249000,"timestamp_seconds":1789000249,"priority":1,"record_length":96,"hex_timestamp":"000001a088b96ea8"} 
[2026-09-10 06:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 06:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457983986688001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457983986688001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:06:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457983986688001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:06:13] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:06:13] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:06:36] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:06:36] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:06:36] local.INFO: IMEI packet received {"connection_id":176250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":176250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:06:41] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:06:41] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:06:41] local.INFO: IMEI packet received {"connection_id":176250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":176250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:06:42] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:06:42] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:06:42] local.INFO: Packet analysis {"connection_id":176250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:06:42] local.INFO: Extracted packet for processing {"connection_id":176250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:06:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:06: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-09-10 06:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:06:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":176250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:06:42] local.INFO: GPS data processed {"connection_id":176250,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:06:42] local.INFO: Acknowledgment sent {"connection_id":176250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:07:13] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:07:13] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:07:13] local.INFO: Packet analysis {"connection_id":176250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:07:13] local.INFO: Extracted packet for processing {"connection_id":176250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:07:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:07: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-09-10 06:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:07:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":176250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:07:13] local.INFO: GPS data processed {"connection_id":176250,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:07:13] local.INFO: Acknowledgment sent {"connection_id":176250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:07:36] local.INFO: TCP Data received {"connection_id":178804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:07:36] local.INFO: Processing buffer {"connection_id":178804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:07:36] local.INFO: IMEI packet received {"connection_id":178804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":178804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:07:41] local.INFO: TCP Data received {"connection_id":178804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:07:41] local.INFO: Processing buffer {"connection_id":178804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:07:41] local.INFO: IMEI packet received {"connection_id":178804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":178804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:07:42] local.INFO: TCP Data received {"connection_id":178804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:07:42] local.INFO: Processing buffer {"connection_id":178804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:07:42] local.INFO: Packet analysis {"connection_id":178804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:07:42] local.INFO: Extracted packet for processing {"connection_id":178804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:07: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-09-10 06:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:07:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":178804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:07:42] local.INFO: GPS data processed {"connection_id":178804,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:07:42] local.INFO: Acknowledgment sent {"connection_id":178804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:08:16] local.INFO: TCP Data received {"connection_id":178804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:08:16] local.INFO: Processing buffer {"connection_id":178804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:08:16] local.INFO: Packet analysis {"connection_id":178804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:08:16] local.INFO: Extracted packet for processing {"connection_id":178804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:08:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:08:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":178804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:08:16] local.INFO: GPS data processed {"connection_id":178804,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:08:16] local.INFO: Acknowledgment sent {"connection_id":178804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:08:36] local.INFO: TCP Data received {"connection_id":177418,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:08:36] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:08:36] local.INFO: IMEI packet received {"connection_id":177418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":177418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:08:42] local.INFO: TCP Data received {"connection_id":177418,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:08:42] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:08:42] local.INFO: IMEI packet received {"connection_id":177418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":177418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:08:42] local.INFO: TCP Data received {"connection_id":177418,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:08:42] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:08:42] local.INFO: Packet analysis {"connection_id":177418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:08:42] local.INFO: Extracted packet for processing {"connection_id":177418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:08:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:08: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-09-10 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:08:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":177418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:08:42] local.INFO: GPS data processed {"connection_id":177418,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:08:42] local.INFO: Acknowledgment sent {"connection_id":177418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:09:13] local.INFO: TCP Data received {"connection_id":177418,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:13] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:13] local.INFO: Packet analysis {"connection_id":177418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:09:13] local.INFO: Extracted packet for processing {"connection_id":177418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:09: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-09-10 06: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-09-10 06:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:09:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":177418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:09:13] local.INFO: GPS data processed {"connection_id":177418,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:09:13] local.INFO: Acknowledgment sent {"connection_id":177418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:09:42] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:09:42] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:09:42] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:09:47] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:09:47] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:09:47] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:09:47] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:47] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:47] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:09:47] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:09:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:09:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:09:47] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:09:47] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:09:52] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:52] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:09:52] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:09:52] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:09:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:09:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:09:52] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:09:52] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:10:36] local.INFO: TCP Data received {"connection_id":177419,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:10:36] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:10:36] local.INFO: IMEI packet received {"connection_id":177419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":177419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:10:41] local.INFO: TCP Data received {"connection_id":177419,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:10:41] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:10:41] local.INFO: IMEI packet received {"connection_id":177419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":177419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:10:42] local.INFO: TCP Data received {"connection_id":177419,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:10:42] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:10:42] local.INFO: Packet analysis {"connection_id":177419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:10:42] local.INFO: Extracted packet for processing {"connection_id":177419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:10: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-09-10 06:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:10: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-09-10 06:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:10:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":177419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:10:42] local.INFO: GPS data processed {"connection_id":177419,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:10:42] local.INFO: Acknowledgment sent {"connection_id":177419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:11:13] local.INFO: TCP Data received {"connection_id":177419,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:11:13] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088be0670012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 06:11:13] local.INFO: Packet analysis {"connection_id":177419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:11:13] local.INFO: Extracted packet for processing {"connection_id":177419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088be"} 
[2026-09-10 06:11:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984063744001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000550000,"timestamp_ms":1789000550000,"timestamp_seconds":1789000550,"priority":1,"record_length":96,"hex_timestamp":"000001a088be0670"} 
[2026-09-10 06:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06: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-09-10 06:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:11: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-09-10 06:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:11: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-09-10 06:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984063744001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984063744001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:11:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984063744001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":177419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:11:13] local.INFO: GPS data processed {"connection_id":177419,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:11:13] local.INFO: Acknowledgment sent {"connection_id":177419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:11:37] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:11:37] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:11:37] local.INFO: IMEI packet received {"connection_id":176019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":176019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:11:42] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:11:42] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:11:42] local.INFO: IMEI packet received {"connection_id":176019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:11:42] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:11:42] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:11:42] local.INFO: Packet analysis {"connection_id":176019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:11:42] local.INFO: Extracted packet for processing {"connection_id":176019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:11:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:11: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-09-10 06:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:11:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":176019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:11:42] local.INFO: GPS data processed {"connection_id":176019,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:11:42] local.INFO: Acknowledgment sent {"connection_id":176019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:12:13] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:12:13] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:12:13] local.INFO: Packet analysis {"connection_id":176019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:12:13] local.INFO: Extracted packet for processing {"connection_id":176019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:12:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:12:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":176019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:12:13] local.INFO: GPS data processed {"connection_id":176019,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:12:13] local.INFO: Acknowledgment sent {"connection_id":176019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:12:36] local.INFO: TCP Data received {"connection_id":177420,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:12:36] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:12:36] local.INFO: IMEI packet received {"connection_id":177420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":177420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:12:41] local.INFO: TCP Data received {"connection_id":177420,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:12:41] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:12:41] local.INFO: IMEI packet received {"connection_id":177420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":177420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:12:42] local.INFO: TCP Data received {"connection_id":177420,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:12:42] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:12:42] local.INFO: Packet analysis {"connection_id":177420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:12:42] local.INFO: Extracted packet for processing {"connection_id":177420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:12:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:12: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-09-10 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:12:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":177420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:12:42] local.INFO: GPS data processed {"connection_id":177420,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:12:42] local.INFO: Acknowledgment sent {"connection_id":177420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:13:13] local.INFO: TCP Data received {"connection_id":177420,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:13:13] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:13:13] local.INFO: Packet analysis {"connection_id":177420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:13:13] local.INFO: Extracted packet for processing {"connection_id":177420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:13: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-09-10 06:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:13:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":177420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:13:13] local.INFO: GPS data processed {"connection_id":177420,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:13:13] local.INFO: Acknowledgment sent {"connection_id":177420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:13:36] local.INFO: TCP Data received {"connection_id":177421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:13:36] local.INFO: Processing buffer {"connection_id":177421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:13:36] local.INFO: IMEI packet received {"connection_id":177421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":177421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:13:41] local.INFO: TCP Data received {"connection_id":177421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:13:41] local.INFO: Processing buffer {"connection_id":177421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:13:41] local.INFO: IMEI packet received {"connection_id":177421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":177421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:13:42] local.INFO: TCP Data received {"connection_id":177421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:13:42] local.INFO: Processing buffer {"connection_id":177421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:13:42] local.INFO: Packet analysis {"connection_id":177421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:13:42] local.INFO: Extracted packet for processing {"connection_id":177421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:13: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-09-10 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:13:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":177421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:13:42] local.INFO: GPS data processed {"connection_id":177421,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:13:42] local.INFO: Acknowledgment sent {"connection_id":177421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:14:13] local.INFO: TCP Data received {"connection_id":177421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:14:13] local.INFO: Processing buffer {"connection_id":177421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:14:13] local.INFO: Packet analysis {"connection_id":177421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:14:13] local.INFO: Extracted packet for processing {"connection_id":177421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:14:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:14:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":177421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:14:13] local.INFO: GPS data processed {"connection_id":177421,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:14:13] local.INFO: Acknowledgment sent {"connection_id":177421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:14:36] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:14:36] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:14:36] local.INFO: IMEI packet received {"connection_id":176020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":176020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:14:41] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:14:41] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:14:41] local.INFO: IMEI packet received {"connection_id":176020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":176020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:14:42] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:14:42] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:14:42] local.INFO: Packet analysis {"connection_id":176020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:14:42] local.INFO: Extracted packet for processing {"connection_id":176020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:14:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:14: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-09-10 06:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:14:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":176020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:14:42] local.INFO: GPS data processed {"connection_id":176020,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:14:42] local.INFO: Acknowledgment sent {"connection_id":176020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:15:13] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:13] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:13] local.INFO: Packet analysis {"connection_id":176020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:15:13] local.INFO: Extracted packet for processing {"connection_id":176020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:15:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":176020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:15:13] local.INFO: GPS data processed {"connection_id":176020,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:15:13] local.INFO: Acknowledgment sent {"connection_id":176020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:15:41] local.INFO: TCP Data received {"connection_id":177422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:15:41] local.INFO: Processing buffer {"connection_id":177422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:15:41] local.INFO: IMEI packet received {"connection_id":177422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":177422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:15:46] local.INFO: TCP Data received {"connection_id":177422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:15:46] local.INFO: Processing buffer {"connection_id":177422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:15:46] local.INFO: IMEI packet received {"connection_id":177422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":177422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:15:47] local.INFO: TCP Data received {"connection_id":177422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:47] local.INFO: Processing buffer {"connection_id":177422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:47] local.INFO: Packet analysis {"connection_id":177422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:15:47] local.INFO: Extracted packet for processing {"connection_id":177422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:15:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:15:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":177422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:15:47] local.INFO: GPS data processed {"connection_id":177422,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:15:47] local.INFO: Acknowledgment sent {"connection_id":177422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:15:51] local.INFO: TCP Data received {"connection_id":177422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:51] local.INFO: Processing buffer {"connection_id":177422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c29e38012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:15:51] local.INFO: Packet analysis {"connection_id":177422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:15:51] local.INFO: Extracted packet for processing {"connection_id":177422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c2"} 
[2026-09-10 06:15:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984140800001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789000851000,"timestamp_ms":1789000851000,"timestamp_seconds":1789000851,"priority":1,"record_length":96,"hex_timestamp":"000001a088c29e38"} 
[2026-09-10 06:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 06:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984140800001,"66":25745,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984140800001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:15:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984140800001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":177422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:15:51] local.INFO: GPS data processed {"connection_id":177422,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:15:51] local.INFO: Acknowledgment sent {"connection_id":177422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:16:36] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:16:36] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:16:36] local.INFO: IMEI packet received {"connection_id":176252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":176252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:16:41] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:16:41] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:16:41] local.INFO: IMEI packet received {"connection_id":176252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":176252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:16:42] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:16:42] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:16:42] local.INFO: Packet analysis {"connection_id":176252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:16:42] local.INFO: Extracted packet for processing {"connection_id":176252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:16: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-09-10 06:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":176252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:16:42] local.INFO: GPS data processed {"connection_id":176252,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:16:42] local.INFO: Acknowledgment sent {"connection_id":176252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:17:13] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:17:13] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:17:13] local.INFO: Packet analysis {"connection_id":176252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:17:13] local.INFO: Extracted packet for processing {"connection_id":176252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:17: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-09-10 06:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:17:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":176252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:17:13] local.INFO: GPS data processed {"connection_id":176252,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:17:13] local.INFO: Acknowledgment sent {"connection_id":176252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:17:36] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:17:36] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:17:36] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:17:41] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:17:41] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:17:41] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:17:42] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:17:42] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:17:42] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:17:42] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:17: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-09-10 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:17:42] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:17:42] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:18:13] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:18:13] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:18:13] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:18:13] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:18:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:18: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-09-10 06:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:18:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:18:13] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:18:13] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:18:36] local.INFO: TCP Data received {"connection_id":177423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:18:36] local.INFO: Processing buffer {"connection_id":177423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:18:36] local.INFO: IMEI packet received {"connection_id":177423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":177423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:18:41] local.INFO: TCP Data received {"connection_id":177423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:18:41] local.INFO: Processing buffer {"connection_id":177423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:18:41] local.INFO: IMEI packet received {"connection_id":177423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:18:42] local.INFO: TCP Data received {"connection_id":177423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:18:42] local.INFO: Processing buffer {"connection_id":177423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:18:42] local.INFO: Packet analysis {"connection_id":177423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:18:42] local.INFO: Extracted packet for processing {"connection_id":177423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:18: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-09-10 06:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:18:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":177423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:18:42] local.INFO: GPS data processed {"connection_id":177423,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:18:42] local.INFO: Acknowledgment sent {"connection_id":177423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:19:13] local.INFO: TCP Data received {"connection_id":177423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:19:13] local.INFO: Processing buffer {"connection_id":177423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:19:13] local.INFO: Packet analysis {"connection_id":177423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:19:13] local.INFO: Extracted packet for processing {"connection_id":177423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:19: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-09-10 06:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:19:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":177423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:19:13] local.INFO: GPS data processed {"connection_id":177423,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:19:13] local.INFO: Acknowledgment sent {"connection_id":177423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:19:36] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:19:36] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:19:36] local.INFO: IMEI packet received {"connection_id":176254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":176254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:19:41] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:19:41] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:19:41] local.INFO: IMEI packet received {"connection_id":176254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":176254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:19:42] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:19:42] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:19:42] local.INFO: Packet analysis {"connection_id":176254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:19:42] local.INFO: Extracted packet for processing {"connection_id":176254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:19: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-09-10 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:19:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":176254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:19:42] local.INFO: GPS data processed {"connection_id":176254,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:19:42] local.INFO: Acknowledgment sent {"connection_id":176254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:20:13] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:20:13] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:20:13] local.INFO: Packet analysis {"connection_id":176254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:20:13] local.INFO: Extracted packet for processing {"connection_id":176254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:20:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:20:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":176254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:20:13] local.INFO: GPS data processed {"connection_id":176254,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:20:13] local.INFO: Acknowledgment sent {"connection_id":176254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:20:36] local.INFO: TCP Data received {"connection_id":178805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:20:36] local.INFO: Processing buffer {"connection_id":178805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:20:36] local.INFO: IMEI packet received {"connection_id":178805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":178805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:20:41] local.INFO: TCP Data received {"connection_id":178805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:20:41] local.INFO: Processing buffer {"connection_id":178805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:20:41] local.INFO: IMEI packet received {"connection_id":178805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":178805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:20:42] local.INFO: TCP Data received {"connection_id":178805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:20:42] local.INFO: Processing buffer {"connection_id":178805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:20:42] local.INFO: Packet analysis {"connection_id":178805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:20:42] local.INFO: Extracted packet for processing {"connection_id":178805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:20: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-09-10 06: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:20:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":178805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:20:42] local.INFO: GPS data processed {"connection_id":178805,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:20:42] local.INFO: Acknowledgment sent {"connection_id":178805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:21:13] local.INFO: TCP Data received {"connection_id":178805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:21:13] local.INFO: Processing buffer {"connection_id":178805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088c73600012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 06:21:13] local.INFO: Packet analysis {"connection_id":178805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:21:13] local.INFO: Extracted packet for processing {"connection_id":178805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088c7"} 
[2026-09-10 06:21:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001152000,"timestamp_ms":1789001152000,"timestamp_seconds":1789001152,"priority":1,"record_length":96,"hex_timestamp":"000001a088c73600"} 
[2026-09-10 06:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 06:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:21: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-09-10 06:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984217856001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:21:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984217856001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":178805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:21:13] local.INFO: GPS data processed {"connection_id":178805,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:21:13] local.INFO: Acknowledgment sent {"connection_id":178805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:21:41] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:21:41] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:21:41] local.INFO: IMEI packet received {"connection_id":176021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":176021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:21:46] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:21:46] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:21:46] local.INFO: IMEI packet received {"connection_id":176021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":176021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:21:47] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:21:47] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:21:47] local.INFO: Packet analysis {"connection_id":176021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:21:47] local.INFO: Extracted packet for processing {"connection_id":176021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:21:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:21:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":176021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:21:47] local.INFO: GPS data processed {"connection_id":176021,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:21:47] local.INFO: Acknowledgment sent {"connection_id":176021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:21:51] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:21:51] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:21:51] local.INFO: Packet analysis {"connection_id":176021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:21:51] local.INFO: Extracted packet for processing {"connection_id":176021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:21:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:21:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":176021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:21:51] local.INFO: GPS data processed {"connection_id":176021,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:21:51] local.INFO: Acknowledgment sent {"connection_id":176021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:22:36] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:22:36] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:22:36] local.INFO: IMEI packet received {"connection_id":176255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":176255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:22:41] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:22:41] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:22:41] local.INFO: IMEI packet received {"connection_id":176255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":176255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:22:42] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:22:42] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:22:42] local.INFO: Packet analysis {"connection_id":176255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:22:42] local.INFO: Extracted packet for processing {"connection_id":176255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:22:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:22: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-09-10 06:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":176255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:22:42] local.INFO: GPS data processed {"connection_id":176255,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:22:42] local.INFO: Acknowledgment sent {"connection_id":176255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:23:13] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:23:13] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:23:13] local.INFO: Packet analysis {"connection_id":176255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:23:13] local.INFO: Extracted packet for processing {"connection_id":176255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:23:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06: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-09-10 06:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:23: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-09-10 06:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:23:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":176255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:23:13] local.INFO: GPS data processed {"connection_id":176255,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:23:13] local.INFO: Acknowledgment sent {"connection_id":176255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:23:36] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:23:36] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:23:36] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:23:41] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:23:41] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:23:41] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:23:42] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:23:42] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:23:42] local.INFO: Packet analysis {"connection_id":176256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:23:42] local.INFO: Extracted packet for processing {"connection_id":176256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:23:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:23: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-09-10 06:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":176256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:23:42] local.INFO: GPS data processed {"connection_id":176256,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:23:42] local.INFO: Acknowledgment sent {"connection_id":176256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:24:13] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:24:13] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:24:13] local.INFO: Packet analysis {"connection_id":176256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:24:13] local.INFO: Extracted packet for processing {"connection_id":176256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:24:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:24: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-09-10 06: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-09-10 06:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:24: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-09-10 06:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:24:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":176256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:24:13] local.INFO: GPS data processed {"connection_id":176256,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:24:13] local.INFO: Acknowledgment sent {"connection_id":176256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:24:36] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:24:36] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:24:36] local.INFO: IMEI packet received {"connection_id":176022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":176022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:24:41] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:24:41] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:24:41] local.INFO: IMEI packet received {"connection_id":176022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":176022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:24:42] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:24:42] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:24:42] local.INFO: Packet analysis {"connection_id":176022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:24:42] local.INFO: Extracted packet for processing {"connection_id":176022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:24: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-09-10 06:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":176022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:24:42] local.INFO: GPS data processed {"connection_id":176022,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:24:42] local.INFO: Acknowledgment sent {"connection_id":176022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:25:13] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:25:13] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:25:13] local.INFO: Packet analysis {"connection_id":176022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:25:13] local.INFO: Extracted packet for processing {"connection_id":176022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:25: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-09-10 06:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:25: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-09-10 06:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:25:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":176022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:25:13] local.INFO: GPS data processed {"connection_id":176022,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:25:13] local.INFO: Acknowledgment sent {"connection_id":176022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:25:36] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:25:36] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:25:36] local.INFO: IMEI packet received {"connection_id":176023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":176023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:25:41] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:25:41] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:25:41] local.INFO: IMEI packet received {"connection_id":176023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":176023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:25:42] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:25:42] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:25:42] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:25:42] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:25:42] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:25:42] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:26:13] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:26:13] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088cbcdc8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:26:13] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:26:13] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088cb"} 
[2026-09-10 06:26:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984294912001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:26:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789001453000,"timestamp_ms":1789001453000,"timestamp_seconds":1789001453,"priority":1,"record_length":96,"hex_timestamp":"000001a088cbcdc8"} 
[2026-09-10 06:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:26: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-09-10 06:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:26: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-09-10 06:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984294912001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984294912001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:26:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984294912001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:26:13] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:26:13] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:26:36] local.INFO: TCP Data received {"connection_id":178806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:26:36] local.INFO: Processing buffer {"connection_id":178806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:26:36] local.INFO: IMEI packet received {"connection_id":178806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":178806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:26:41] local.INFO: TCP Data received {"connection_id":178806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:26:41] local.INFO: Processing buffer {"connection_id":178806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:26:41] local.INFO: IMEI packet received {"connection_id":178806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":178806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:26:42] local.INFO: TCP Data received {"connection_id":178806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:26:42] local.INFO: Processing buffer {"connection_id":178806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:26:42] local.INFO: Packet analysis {"connection_id":178806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:26:42] local.INFO: Extracted packet for processing {"connection_id":178806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:26:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:26: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-09-10 06:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:26:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":178806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:26:42] local.INFO: GPS data processed {"connection_id":178806,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:26:42] local.INFO: Acknowledgment sent {"connection_id":178806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:27:12] local.INFO: TCP Data received {"connection_id":178806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:27:12] local.INFO: Processing buffer {"connection_id":178806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:27:12] local.INFO: Packet analysis {"connection_id":178806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:27:12] local.INFO: Extracted packet for processing {"connection_id":178806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:27:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06: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-09-10 06:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:27:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":178806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:27:13] local.INFO: GPS data processed {"connection_id":178806,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:27:13] local.INFO: Acknowledgment sent {"connection_id":178806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:27:36] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:27:36] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:27:36] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:27:41] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:27:41] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:27:41] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:27:42] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:27:42] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:27:42] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:27:42] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06: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-09-10 06:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:27:42] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:27:42] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:28:12] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:12] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:12] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:28:12] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:28:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06: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-09-10 06:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:28:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:28:12] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:28:12] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:28:41] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:28:41] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:28:41] local.INFO: IMEI packet received {"connection_id":176025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":176025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:28:46] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:28:46] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:28:46] local.INFO: IMEI packet received {"connection_id":176025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":176025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:28:47] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:47] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:47] local.INFO: Packet analysis {"connection_id":176025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:28:47] local.INFO: Extracted packet for processing {"connection_id":176025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:28:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:28:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:28:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":176025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:28:47] local.INFO: GPS data processed {"connection_id":176025,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:28:47] local.INFO: Acknowledgment sent {"connection_id":176025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:28:52] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:52] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:28:52] local.INFO: Packet analysis {"connection_id":176025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:28:52] local.INFO: Extracted packet for processing {"connection_id":176025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:28:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:28:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":176025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:28:52] local.INFO: GPS data processed {"connection_id":176025,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:28:52] local.INFO: Acknowledgment sent {"connection_id":176025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:29:36] local.INFO: TCP Data received {"connection_id":178807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:29:36] local.INFO: Processing buffer {"connection_id":178807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:29:36] local.INFO: IMEI packet received {"connection_id":178807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":178807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:29:41] local.INFO: TCP Data received {"connection_id":178807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:29:41] local.INFO: Processing buffer {"connection_id":178807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:29:41] local.INFO: IMEI packet received {"connection_id":178807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":178807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:29:42] local.INFO: TCP Data received {"connection_id":178807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:29:42] local.INFO: Processing buffer {"connection_id":178807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:29:42] local.INFO: Packet analysis {"connection_id":178807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:29:42] local.INFO: Extracted packet for processing {"connection_id":178807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:29: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-09-10 06:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:29:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":178807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:29:42] local.INFO: GPS data processed {"connection_id":178807,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:29:42] local.INFO: Acknowledgment sent {"connection_id":178807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:30:12] local.INFO: TCP Data received {"connection_id":178807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:30:12] local.INFO: Processing buffer {"connection_id":178807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:30:12] local.INFO: Packet analysis {"connection_id":178807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:30:12] local.INFO: Extracted packet for processing {"connection_id":178807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:30:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:30:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":178807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:30:12] local.INFO: GPS data processed {"connection_id":178807,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:30:12] local.INFO: Acknowledgment sent {"connection_id":178807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:30:36] local.INFO: TCP Data received {"connection_id":177424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:30:36] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:30:36] local.INFO: IMEI packet received {"connection_id":177424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":177424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:30:41] local.INFO: TCP Data received {"connection_id":177424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:30:41] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:30:41] local.INFO: IMEI packet received {"connection_id":177424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":177424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:30:42] local.INFO: TCP Data received {"connection_id":177424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:30:42] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:30:42] local.INFO: Packet analysis {"connection_id":177424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:30:42] local.INFO: Extracted packet for processing {"connection_id":177424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06: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-09-10 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:30:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":177424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:30:42] local.INFO: GPS data processed {"connection_id":177424,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:30:42] local.INFO: Acknowledgment sent {"connection_id":177424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:31:12] local.INFO: TCP Data received {"connection_id":177424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:31:12] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d06590012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:31:12] local.INFO: Packet analysis {"connection_id":177424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:31:12] local.INFO: Extracted packet for processing {"connection_id":177424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d0"} 
[2026-09-10 06:31:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789001754000,"timestamp_ms":1789001754000,"timestamp_seconds":1789001754,"priority":1,"record_length":96,"hex_timestamp":"000001a088d06590"} 
[2026-09-10 06:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984371968001,"66":25495,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:31:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984371968001,"power":25495,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":177424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:31:12] local.INFO: GPS data processed {"connection_id":177424,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:31:12] local.INFO: Acknowledgment sent {"connection_id":177424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:31:33] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:33] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:33] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:31:36] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:36] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:36] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:31:41] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:41] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:31:41] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:31:42] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:31:42] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:31:42] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:31:42] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:31: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-09-10 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:31:42] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:31:42] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:32:12] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:32:12] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:32:12] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:32:12] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:32:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:32:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:32:13] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:32:13] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:32:36] local.INFO: TCP Data received {"connection_id":177425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:32:36] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:32:36] local.INFO: IMEI packet received {"connection_id":177425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":177425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:32:41] local.INFO: TCP Data received {"connection_id":177425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:32:41] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:32:41] local.INFO: IMEI packet received {"connection_id":177425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":177425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:32:42] local.INFO: TCP Data received {"connection_id":177425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:32:42] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:32:42] local.INFO: Packet analysis {"connection_id":177425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:32:42] local.INFO: Extracted packet for processing {"connection_id":177425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 06:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 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-09-10 06:32: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-09-10 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 06:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:32:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":177425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:32:42] local.INFO: GPS data processed {"connection_id":177425,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:32:42] local.INFO: Acknowledgment sent {"connection_id":177425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:33:13] local.INFO: TCP Data received {"connection_id":177425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:33:13] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:33:13] local.INFO: Packet analysis {"connection_id":177425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:33:13] local.INFO: Extracted packet for processing {"connection_id":177425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:33: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-09-10 06:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:33: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-09-10 06:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:33:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":177425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:33:13] local.INFO: GPS data processed {"connection_id":177425,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:33:13] local.INFO: Acknowledgment sent {"connection_id":177425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:33:36] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:33:36] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:33:36] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:33:41] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:33:41] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:33:41] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:33:42] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:33:42] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:33:42] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:33:42] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:33: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-09-10 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:33:42] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:33:42] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:34:13] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:34:13] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:34:13] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:34:13] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:34:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:34: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-09-10 06:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:34: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-09-10 06:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:34:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:34:13] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:34:13] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:34:36] local.INFO: TCP Data received {"connection_id":177426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:34:36] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:34:36] local.INFO: IMEI packet received {"connection_id":177426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":177426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:34:41] local.INFO: TCP Data received {"connection_id":177426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:34:41] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:34:41] local.INFO: IMEI packet received {"connection_id":177426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":177426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:34:42] local.INFO: TCP Data received {"connection_id":177426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:34:42] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:34:42] local.INFO: Packet analysis {"connection_id":177426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:34:42] local.INFO: Extracted packet for processing {"connection_id":177426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:34: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-09-10 06:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":177426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:34:42] local.INFO: GPS data processed {"connection_id":177426,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:34:42] local.INFO: Acknowledgment sent {"connection_id":177426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:35:13] local.INFO: TCP Data received {"connection_id":177426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:35:13] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:35:13] local.INFO: Packet analysis {"connection_id":177426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:35:13] local.INFO: Extracted packet for processing {"connection_id":177426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:35:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:35: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-09-10 06: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-09-10 06:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:35:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":177426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:35:13] local.INFO: GPS data processed {"connection_id":177426,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:35:13] local.INFO: Acknowledgment sent {"connection_id":177426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:35:36] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:35:36] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:35:36] local.INFO: IMEI packet received {"connection_id":176258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":176258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:35:41] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:35:41] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:35:41] local.INFO: IMEI packet received {"connection_id":176258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":176258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:35:42] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:35:42] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:35:42] local.INFO: Packet analysis {"connection_id":176258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:35:42] local.INFO: Extracted packet for processing {"connection_id":176258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:35:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:35: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-09-10 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:35:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":176258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:35:42] local.INFO: GPS data processed {"connection_id":176258,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:35:42] local.INFO: Acknowledgment sent {"connection_id":176258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:36:13] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:36:13] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d4fd58012cee6fc0072e2ba80034006b2a..."} 
[2026-09-10 06:36:13] local.INFO: Packet analysis {"connection_id":176258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:36:13] local.INFO: Extracted packet for processing {"connection_id":176258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d4"} 
[2026-09-10 06:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984449024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002055000,"timestamp_ms":1789002055000,"timestamp_seconds":1789002055,"priority":1,"record_length":96,"hex_timestamp":"000001a088d4fd58"} 
[2026-09-10 06:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 06:36: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-09-10 06:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:36: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-09-10 06:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984449024001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984449024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:36:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984449024001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":176258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:36:13] local.INFO: GPS data processed {"connection_id":176258,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:36:13] local.INFO: Acknowledgment sent {"connection_id":176258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:36:41] local.INFO: TCP Data received {"connection_id":177427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:36:41] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:36:41] local.INFO: IMEI packet received {"connection_id":177427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":177427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:36:46] local.INFO: TCP Data received {"connection_id":177427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:36:46] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:36:46] local.INFO: IMEI packet received {"connection_id":177427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":177427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:36:47] local.INFO: TCP Data received {"connection_id":177427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:36:47] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:36:47] local.INFO: Packet analysis {"connection_id":177427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:36:47] local.INFO: Extracted packet for processing {"connection_id":177427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:36:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:36:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:36:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":177427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:36:47] local.INFO: GPS data processed {"connection_id":177427,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:36:47] local.INFO: Acknowledgment sent {"connection_id":177427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:36:52] local.INFO: TCP Data received {"connection_id":177427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:36:52] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:36:52] local.INFO: Packet analysis {"connection_id":177427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:36:52] local.INFO: Extracted packet for processing {"connection_id":177427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:36:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:36:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":177427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:36:52] local.INFO: GPS data processed {"connection_id":177427,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:36:52] local.INFO: Acknowledgment sent {"connection_id":177427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:37:36] local.INFO: TCP Data received {"connection_id":176259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:37:36] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:37:36] local.INFO: IMEI packet received {"connection_id":176259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":176259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:37:41] local.INFO: TCP Data received {"connection_id":176259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:37:41] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:37:41] local.INFO: IMEI packet received {"connection_id":176259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":176259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:37:42] local.INFO: TCP Data received {"connection_id":176259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:37:42] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:37:42] local.INFO: Packet analysis {"connection_id":176259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:37:42] local.INFO: Extracted packet for processing {"connection_id":176259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:37:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:37: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-09-10 06:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":176259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:37:42] local.INFO: GPS data processed {"connection_id":176259,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:37:42] local.INFO: Acknowledgment sent {"connection_id":176259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:38:12] local.INFO: TCP Data received {"connection_id":176259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:38:12] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:38:12] local.INFO: Packet analysis {"connection_id":176259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:38:12] local.INFO: Extracted packet for processing {"connection_id":176259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:38: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-09-10 06:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:38:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":176259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:38:13] local.INFO: GPS data processed {"connection_id":176259,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:38:13] local.INFO: Acknowledgment sent {"connection_id":176259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:38:36] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:38:36] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:38:36] local.INFO: IMEI packet received {"connection_id":176027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":176027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:38:41] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:38:41] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:38:41] local.INFO: IMEI packet received {"connection_id":176027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":176027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:38:42] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:38:42] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:38:42] local.INFO: Packet analysis {"connection_id":176027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:38:42] local.INFO: Extracted packet for processing {"connection_id":176027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:38: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-09-10 06:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:38:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":176027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:38:42] local.INFO: GPS data processed {"connection_id":176027,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:38:42] local.INFO: Acknowledgment sent {"connection_id":176027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:39:12] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:39:12] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:39:12] local.INFO: Packet analysis {"connection_id":176027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:39:12] local.INFO: Extracted packet for processing {"connection_id":176027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:39: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-09-10 06:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:39:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:39:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":176027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:39:12] local.INFO: GPS data processed {"connection_id":176027,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:39:12] local.INFO: Acknowledgment sent {"connection_id":176027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:39:36] local.INFO: TCP Data received {"connection_id":178808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:39:36] local.INFO: Processing buffer {"connection_id":178808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:39:36] local.INFO: IMEI packet received {"connection_id":178808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":178808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:39:41] local.INFO: TCP Data received {"connection_id":178808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:39:41] local.INFO: Processing buffer {"connection_id":178808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:39:41] local.INFO: IMEI packet received {"connection_id":178808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":178808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:39:42] local.INFO: TCP Data received {"connection_id":178808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:39:42] local.INFO: Processing buffer {"connection_id":178808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:39:42] local.INFO: Packet analysis {"connection_id":178808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:39:42] local.INFO: Extracted packet for processing {"connection_id":178808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:39: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-09-10 06:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":178808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:39:42] local.INFO: GPS data processed {"connection_id":178808,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:39:42] local.INFO: Acknowledgment sent {"connection_id":178808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:40:13] local.INFO: TCP Data received {"connection_id":178808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:40:13] local.INFO: Processing buffer {"connection_id":178808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:40:13] local.INFO: Packet analysis {"connection_id":178808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:40:13] local.INFO: Extracted packet for processing {"connection_id":178808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:40:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:40: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-09-10 06:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:40:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":178808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:40:13] local.INFO: GPS data processed {"connection_id":178808,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:40:13] local.INFO: Acknowledgment sent {"connection_id":178808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:40:36] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:40:36] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:40:36] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:40:41] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:40:41] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:40:41] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:40:42] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:40:42] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:40:42] local.INFO: Packet analysis {"connection_id":176028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:40:42] local.INFO: Extracted packet for processing {"connection_id":176028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 06:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 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-09-10 06:40: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-09-10 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 06:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":176028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:40:42] local.INFO: GPS data processed {"connection_id":176028,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:40:42] local.INFO: Acknowledgment sent {"connection_id":176028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:41:12] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:41:12] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088d99520012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 06:41:12] local.INFO: Packet analysis {"connection_id":176028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:41:12] local.INFO: Extracted packet for processing {"connection_id":176028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088d9"} 
[2026-09-10 06:41:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984526080001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002356000,"timestamp_ms":1789002356000,"timestamp_seconds":1789002356,"priority":1,"record_length":96,"hex_timestamp":"000001a088d99520"} 
[2026-09-10 06:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":47,"data_length":795,"current_offset":136} 
[2026-09-10 06:41: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-09-10 06:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06: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-09-10 06:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984526080001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984526080001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:41:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984526080001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":176028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:41:12] local.INFO: GPS data processed {"connection_id":176028,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:41:12] local.INFO: Acknowledgment sent {"connection_id":176028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:41:35] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:35] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:35] local.INFO: IMEI packet received {"connection_id":176260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":176260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:41:36] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:36] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:36] local.INFO: IMEI packet received {"connection_id":176260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":176260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:41:41] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:41] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:41:41] local.INFO: IMEI packet received {"connection_id":176260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":176260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:41:42] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:41:42] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:41:42] local.INFO: Packet analysis {"connection_id":176260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:41:42] local.INFO: Extracted packet for processing {"connection_id":176260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:41: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-09-10 06:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:41:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":176260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:41:42] local.INFO: GPS data processed {"connection_id":176260,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:41:42] local.INFO: Acknowledgment sent {"connection_id":176260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:42:12] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:42:12] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:42:12] local.INFO: Packet analysis {"connection_id":176260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:42:12] local.INFO: Extracted packet for processing {"connection_id":176260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:42:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":176260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:42:12] local.INFO: GPS data processed {"connection_id":176260,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:42:12] local.INFO: Acknowledgment sent {"connection_id":176260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:42:36] local.INFO: TCP Data received {"connection_id":177428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:42:36] local.INFO: Processing buffer {"connection_id":177428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:42:36] local.INFO: IMEI packet received {"connection_id":177428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":177428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:42:41] local.INFO: TCP Data received {"connection_id":177428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:42:41] local.INFO: Processing buffer {"connection_id":177428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:42:41] local.INFO: IMEI packet received {"connection_id":177428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":177428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:42:42] local.INFO: TCP Data received {"connection_id":177428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:42:42] local.INFO: Processing buffer {"connection_id":177428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:42:42] local.INFO: Packet analysis {"connection_id":177428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:42:42] local.INFO: Extracted packet for processing {"connection_id":177428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:42:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:42: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-09-10 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:42:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":177428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:42:42] local.INFO: GPS data processed {"connection_id":177428,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:42:42] local.INFO: Acknowledgment sent {"connection_id":177428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:43:13] local.INFO: TCP Data received {"connection_id":177428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:13] local.INFO: Processing buffer {"connection_id":177428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:13] local.INFO: Packet analysis {"connection_id":177428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:43:13] local.INFO: Extracted packet for processing {"connection_id":177428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:43:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:43:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":177428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:43:13] local.INFO: GPS data processed {"connection_id":177428,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:43:13] local.INFO: Acknowledgment sent {"connection_id":177428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:43:41] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:43:41] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:43:41] local.INFO: IMEI packet received {"connection_id":176261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":176261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:43:46] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:43:46] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:43:46] local.INFO: IMEI packet received {"connection_id":176261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":176261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:43:47] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:47] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:47] local.INFO: Packet analysis {"connection_id":176261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:43:47] local.INFO: Extracted packet for processing {"connection_id":176261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:43:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:43:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":176261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:43:47] local.INFO: GPS data processed {"connection_id":176261,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:43:47] local.INFO: Acknowledgment sent {"connection_id":176261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:43:51] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:51] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:43:51] local.INFO: Packet analysis {"connection_id":176261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:43:51] local.INFO: Extracted packet for processing {"connection_id":176261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:43:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:43:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":176261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:43:51] local.INFO: GPS data processed {"connection_id":176261,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:43:51] local.INFO: Acknowledgment sent {"connection_id":176261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:44:36] local.INFO: TCP Data received {"connection_id":178809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:44:36] local.INFO: Processing buffer {"connection_id":178809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:44:36] local.INFO: IMEI packet received {"connection_id":178809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":178809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:44:41] local.INFO: TCP Data received {"connection_id":178809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:44:41] local.INFO: Processing buffer {"connection_id":178809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:44:41] local.INFO: IMEI packet received {"connection_id":178809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":178809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:44:42] local.INFO: TCP Data received {"connection_id":178809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:44:42] local.INFO: Processing buffer {"connection_id":178809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:44:42] local.INFO: Packet analysis {"connection_id":178809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:44:42] local.INFO: Extracted packet for processing {"connection_id":178809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:44: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-09-10 06:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:44:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":178809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:44:42] local.INFO: GPS data processed {"connection_id":178809,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:44:42] local.INFO: Acknowledgment sent {"connection_id":178809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:45:13] local.INFO: TCP Data received {"connection_id":178809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:45:13] local.INFO: Processing buffer {"connection_id":178809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:45:13] local.INFO: Packet analysis {"connection_id":178809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:45:13] local.INFO: Extracted packet for processing {"connection_id":178809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:45:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":178809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:45:13] local.INFO: GPS data processed {"connection_id":178809,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:45:13] local.INFO: Acknowledgment sent {"connection_id":178809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:45:36] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:45:36] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:45:36] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:45:41] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:45:41] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:45:41] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:45:42] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:45:42] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:45:42] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:45:42] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:45:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:45: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-09-10 06:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:45:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:45:42] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:45:42] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:46:12] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:46:12] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088de2ce8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:46:12] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:46:12] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088de"} 
[2026-09-10 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984603136001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002657000,"timestamp_ms":1789002657000,"timestamp_seconds":1789002657,"priority":1,"record_length":96,"hex_timestamp":"000001a088de2ce8"} 
[2026-09-10 06:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 06:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984603136001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984603136001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:46:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984603136001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:46:12] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:46:12] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:46:36] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:36] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:36] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:46:37] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:37] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:37] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:46:41] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:41] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:46:41] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:46:42] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:46:42] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:46:42] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:46:42] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:46:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:46:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:46:42] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:46:42] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:47:13] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:47:13] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:47:13] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:47:13] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:47:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:47: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-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:47: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-09-10 06:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:47:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:47:13] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:47:13] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:47:36] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:47:36] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:47:36] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:47:41] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:47:41] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:47:41] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:47:42] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:47:42] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:47:42] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:47:42] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:47:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:47:42] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:47:42] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:48:12] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:48:12] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:48:12] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:48:12] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 06:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 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-09-10 06:48: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-09-10 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:48: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-09-10 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-09-10 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-09-10 06:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:48:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:48:12] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:48:12] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:48:36] local.INFO: TCP Data received {"connection_id":177429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:48:36] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:48:36] local.INFO: IMEI packet received {"connection_id":177429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":177429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:48:41] local.INFO: TCP Data received {"connection_id":177429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:48:41] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:48:41] local.INFO: IMEI packet received {"connection_id":177429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":177429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:48:42] local.INFO: TCP Data received {"connection_id":177429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:48:42] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:48:42] local.INFO: Packet analysis {"connection_id":177429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:48:42] local.INFO: Extracted packet for processing {"connection_id":177429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":177429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:48:42] local.INFO: GPS data processed {"connection_id":177429,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:48:42] local.INFO: Acknowledgment sent {"connection_id":177429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:49:12] local.INFO: TCP Data received {"connection_id":177429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:49:12] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:49:12] local.INFO: Packet analysis {"connection_id":177429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:49:12] local.INFO: Extracted packet for processing {"connection_id":177429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:49:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:49: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-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:49: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-09-10 06:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:49:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":177429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:49:12] local.INFO: GPS data processed {"connection_id":177429,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:49:12] local.INFO: Acknowledgment sent {"connection_id":177429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:49:36] local.INFO: TCP Data received {"connection_id":177431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:49:36] local.INFO: Processing buffer {"connection_id":177431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:49:36] local.INFO: IMEI packet received {"connection_id":177431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":177431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:49:38] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:38] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:38] local.INFO: IMEI packet received {"connection_id":177430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 06:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":177430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:49:38] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:38] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:38] local.INFO: IMEI packet received {"connection_id":177430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":177430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:49:41] local.INFO: TCP Data received {"connection_id":177431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:49:41] local.INFO: Processing buffer {"connection_id":177431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:49:41] local.INFO: IMEI packet received {"connection_id":177431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":177431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:49:42] local.INFO: TCP Data received {"connection_id":177431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:49:42] local.INFO: Processing buffer {"connection_id":177431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:49:42] local.INFO: Packet analysis {"connection_id":177431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:49:42] local.INFO: Extracted packet for processing {"connection_id":177431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:49:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":177431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:49:42] local.INFO: GPS data processed {"connection_id":177431,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:49:42] local.INFO: Acknowledgment sent {"connection_id":177431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:49:43] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:43] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:49:43] local.INFO: IMEI packet received {"connection_id":177430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":177430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:49:43] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 06:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 06:49:43] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 06:49:43] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 06:49:43] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 06:49:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 06:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482566741360640,"note":"Value kept but may cause issues"} 
[2026-09-10 06:49:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 06:49:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 06:49:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 06:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 06:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 06:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 06:49:43] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 06:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 06:49:43] local.ERROR: GPS data processing failed {"connection_id":177430,"error":"No valid data to process"} 
[2026-09-10 06:49:43] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 06:50:13] local.INFO: TCP Data received {"connection_id":177431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:50:13] local.INFO: Processing buffer {"connection_id":177431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:50:13] local.INFO: Packet analysis {"connection_id":177431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:50:13] local.INFO: Extracted packet for processing {"connection_id":177431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:50:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:50: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-09-10 06:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:50: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-09-10 06:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:50:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":177431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:50:13] local.INFO: GPS data processed {"connection_id":177431,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:50:13] local.INFO: Acknowledgment sent {"connection_id":177431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:50:14] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e64b08012d7e35c005d34ed00000000006..."} 
[2026-09-10 06:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e64b08012d7e35c005d34ed00000000006..."} 
[2026-09-10 06:50:14] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e64b08012d7e35c005d34ed00000000006..."} 
[2026-09-10 06:50:14] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e6"} 
[2026-09-10 06:50:14] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e6"} 
[2026-09-10 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734352,"longitude_deg":76.3246016,"latitude_deg":9.7734352,"altitude":0,"angle":0,"satellites":6,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34ed0","is_valid_coordinates":true} 
[2026-09-10 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482566741360640,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 06:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789003189000,"timestamp_ms":1789003189000,"timestamp_seconds":1789003189,"priority":1,"record_length":96,"hex_timestamp":"000001a088e64b08"} 
[2026-09-10 06:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-10 06:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13852,"109":206,"85":15104,"24":0,"16":130482566741360640},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-10 06:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 06:50:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482566741360640,"km_value":130482566741360.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:50:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-10 06:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:50:14] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:50:14] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:50:36] local.INFO: TCP Data received {"connection_id":178810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:50:36] local.INFO: Processing buffer {"connection_id":178810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:50:36] local.INFO: IMEI packet received {"connection_id":178810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":178810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:50:41] local.INFO: TCP Data received {"connection_id":178810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:50:41] local.INFO: Processing buffer {"connection_id":178810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:50:41] local.INFO: IMEI packet received {"connection_id":178810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":178810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:50:42] local.INFO: TCP Data received {"connection_id":178810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:50:42] local.INFO: Processing buffer {"connection_id":178810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:50:42] local.INFO: Packet analysis {"connection_id":178810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:50:42] local.INFO: Extracted packet for processing {"connection_id":178810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 06:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:50:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":178810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:50:42] local.INFO: GPS data processed {"connection_id":178810,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:50:42] local.INFO: Acknowledgment sent {"connection_id":178810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:50:45] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e66a48012d7e35c005d34e580000000007..."} 
[2026-09-10 06:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e66a48012d7e35c005d34e580000000007..."} 
[2026-09-10 06:50:45] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e66a48012d7e35c005d34e580000000007..."} 
[2026-09-10 06:50:45] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e6"} 
[2026-09-10 06:50:45] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e6"} 
[2026-09-10 06:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734232,"longitude_deg":76.3246016,"latitude_deg":9.7734232,"altitude":0,"angle":0,"satellites":7,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e58","is_valid_coordinates":true} 
[2026-09-10 06:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984816384001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482571036327936,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797111808,"note":"Value kept but may cause issues"} 
[2026-09-10 06:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789003197000,"timestamp_ms":1789003197000,"timestamp_seconds":1789003197,"priority":1,"record_length":96,"hex_timestamp":"000001a088e66a48"} 
[2026-09-10 06:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-10 06:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984816384001,"66":13906,"109":206,"85":15104,"24":0,"16":130482571036327936,"45":9094386153797111808},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984816384001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:50:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482571036327936,"km_value":130482571036327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797111808,"description":"Unknown IO ID 45"} 
[2026-09-10 06:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984816384001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797111808}} 
[2026-09-10 06:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:50:45] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:50:45] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:51:13] local.INFO: TCP Data received {"connection_id":178810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:51:13] local.INFO: Processing buffer {"connection_id":178810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e2c4b0012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 06:51:13] local.INFO: Packet analysis {"connection_id":178810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:51:13] local.INFO: Extracted packet for processing {"connection_id":178810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e2"} 
[2026-09-10 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 06:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984680192001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789002958000,"timestamp_ms":1789002958000,"timestamp_seconds":1789002958,"priority":1,"record_length":96,"hex_timestamp":"000001a088e2c4b0"} 
[2026-09-10 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-09-10 06: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-09-10 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:51: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-09-10 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-09-10 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-09-10 06:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984680192001,"66":25680,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984680192001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:51:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984680192001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":178810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:51:13] local.INFO: GPS data processed {"connection_id":178810,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:51:13] local.INFO: Acknowledgment sent {"connection_id":178810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:51:16] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e77000012d7e328005d359280000004910..."} 
[2026-09-10 06:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e77000012d7e328005d359280000004910..."} 
[2026-09-10 06:51:16] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e77000012d7e328005d359280000004910..."} 
[2026-09-10 06:51:16] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:16] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763245184,"raw_latitude":97737000,"longitude_deg":76.3245184,"latitude_deg":9.7737,"altitude":0,"angle":73,"satellites":16,"speed":11,"hex_longitude":"2d7e3280","hex_latitude":"05d35928","is_valid_coordinates":true} 
[2026-09-10 06:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984835072001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482790079660032,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914191360,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789003264000,"timestamp_ms":1789003264000,"timestamp_seconds":1789003264,"priority":1,"record_length":96,"hex_timestamp":"000001a088e77000"} 
[2026-09-10 06:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:51:16] 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-09-10 06:51: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":82,"data_length":795,"current_offset":136} 
[2026-09-10 06:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984835072001,"66":13820,"109":206,"85":15104,"24":11,"16":130482790079660032,"45":9092978778914191360},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984835072001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:51:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482790079660032,"km_value":130482790079660.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914191360,"description":"Unknown IO ID 45"} 
[2026-09-10 06:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984835072001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9092978778914191360}} 
[2026-09-10 06:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:51:16] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:51:16] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:51:37] local.INFO: TCP Data received {"connection_id":178811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:37] local.INFO: Processing buffer {"connection_id":178811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:37] local.INFO: IMEI packet received {"connection_id":178811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":178811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:51:41] local.INFO: TCP Data received {"connection_id":178811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:41] local.INFO: Processing buffer {"connection_id":178811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:41] local.INFO: IMEI packet received {"connection_id":178811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":178811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:51:46] local.INFO: TCP Data received {"connection_id":178811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:46] local.INFO: Processing buffer {"connection_id":178811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:51:46] local.INFO: IMEI packet received {"connection_id":178811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":178811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:51:47] local.INFO: TCP Data received {"connection_id":178811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:47] local.INFO: Processing buffer {"connection_id":178811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:47] local.INFO: Packet analysis {"connection_id":178811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:47] local.INFO: Extracted packet for processing {"connection_id":178811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:51:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":178811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:51:47] local.INFO: GPS data processed {"connection_id":178811,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:51:47] local.INFO: Acknowledgment sent {"connection_id":178811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:51:49] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e78388012d7e394005d35a600000005a10..."} 
[2026-09-10 06:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e78388012d7e394005d35a600000005a10..."} 
[2026-09-10 06:51:49] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e78388012d7e394005d35a600000005a10..."} 
[2026-09-10 06:51:49] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:49] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:49] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97737312,"longitude_deg":76.3246912,"latitude_deg":9.7737312,"altitude":0,"angle":90,"satellites":16,"speed":16,"hex_longitude":"2d7e3940","hex_latitude":"05d35a60","is_valid_coordinates":true} 
[2026-09-10 06:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984835584001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482875979005952,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093471360123480064,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789003269000,"timestamp_ms":1789003269000,"timestamp_seconds":1789003269,"priority":1,"record_length":96,"hex_timestamp":"000001a088e78388"} 
[2026-09-10 06:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:51:49] 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-09-10 06:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 06:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984835584001,"66":13906,"109":206,"85":15104,"24":16,"16":130482875979005952,"45":9093471360123480064},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984835584001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:51:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:51:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482875979005952,"km_value":130482875979005.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093471360123480064,"description":"Unknown IO ID 45"} 
[2026-09-10 06:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984835584001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9093471360123480064}} 
[2026-09-10 06:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:51:49] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:51:49] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:51:52] local.INFO: TCP Data received {"connection_id":178811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:52] local.INFO: Processing buffer {"connection_id":178811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:52] local.INFO: Packet analysis {"connection_id":178811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:52] local.INFO: Extracted packet for processing {"connection_id":178811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:51:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":178811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:51:52] local.INFO: GPS data processed {"connection_id":178811,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:51:52] local.INFO: Acknowledgment sent {"connection_id":178811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:51:57] local.INFO: TCP Data received {"connection_id":178811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:57] local.INFO: Processing buffer {"connection_id":178811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:51:57] local.INFO: Packet analysis {"connection_id":178811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:57] local.INFO: Extracted packet for processing {"connection_id":178811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:51:57] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:51:57] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:51:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":178811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:51:57] local.INFO: GPS data processed {"connection_id":178811,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:51:57] local.INFO: Acknowledgment sent {"connection_id":178811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:52:20] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e78b58012d7e3c8005d359f80000006d10..."} 
[2026-09-10 06:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e78b58012d7e3c8005d359f80000006d10..."} 
[2026-09-10 06:52:20] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e78b58012d7e3c8005d359f80000006d10..."} 
[2026-09-10 06:52:20] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:52:20] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:52:20] local.INFO: GPS Element Parsed {"raw_longitude":763247744,"raw_latitude":97737208,"longitude_deg":76.3247744,"latitude_deg":9.7737208,"altitude":0,"angle":109,"satellites":16,"speed":15,"hex_longitude":"2d7e3c80","hex_latitude":"05d359f8","is_valid_coordinates":true} 
[2026-09-10 06:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984836864001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482914633711616,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316216356864,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789003271000,"timestamp_ms":1789003271000,"timestamp_seconds":1789003271,"priority":1,"record_length":96,"hex_timestamp":"000001a088e78b58"} 
[2026-09-10 06:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 06:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984836864001,"66":13624,"109":206,"85":15104,"24":15,"16":130482914633711616,"45":9095371316216356864},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984836864001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:52:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482914633711616,"km_value":130482914633711.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316216356864,"description":"Unknown IO ID 45"} 
[2026-09-10 06:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984836864001,"power":13624,"unknown_109":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9095371316216356864}} 
[2026-09-10 06:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:52:20] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:52:20] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:52:36] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:52:36] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:52:36] local.INFO: IMEI packet received {"connection_id":176030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":176030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:52:41] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:52:41] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:52:41] local.INFO: IMEI packet received {"connection_id":176030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:52:42] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:52:42] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:52:42] local.INFO: Packet analysis {"connection_id":176030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:52:42] local.INFO: Extracted packet for processing {"connection_id":176030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:52: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-09-10 06:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":176030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:52:42] local.INFO: GPS data processed {"connection_id":176030,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:52:42] local.INFO: Acknowledgment sent {"connection_id":176030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:52:51] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e7d978012d7e408005d358980000006e11..."} 
[2026-09-10 06:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e7d978012d7e408005d358980000006e11..."} 
[2026-09-10 06:52:51] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e7d978012d7e408005d358980000006e11..."} 
[2026-09-10 06:52:51] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:52:51] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":97736856,"longitude_deg":76.3248768,"latitude_deg":9.7736856,"altitude":0,"angle":110,"satellites":17,"speed":0,"hex_longitude":"2d7e4080","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-09-10 06:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984837376001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482966173319168,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096286109890639872,"note":"Value kept but may cause issues"} 
[2026-09-10 06:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789003291000,"timestamp_ms":1789003291000,"timestamp_seconds":1789003291,"priority":1,"record_length":96,"hex_timestamp":"000001a088e7d978"} 
[2026-09-10 06:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 06:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984837376001,"66":14102,"109":206,"85":15104,"24":0,"16":130482966173319168,"45":9096286109890639872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984837376001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:52:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482966173319168,"km_value":130482966173319.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096286109890639872,"description":"Unknown IO ID 45"} 
[2026-09-10 06:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984837376001,"power":14102,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096286109890639872}} 
[2026-09-10 06:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:52:52] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:52:52] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:53:13] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:53:13] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:53:13] local.INFO: Packet analysis {"connection_id":176030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:53:13] local.INFO: Extracted packet for processing {"connection_id":176030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:53: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-09-10 06:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":176030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:53:13] local.INFO: GPS data processed {"connection_id":176030,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:53:13] local.INFO: Acknowledgment sent {"connection_id":176030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:53:23] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e82b80012d7e408005d358980000006e16..."} 
[2026-09-10 06:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e82b80012d7e408005d358980000006e16..."} 
[2026-09-10 06:53:23] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e82b80012d7e408005d358980000006e16..."} 
[2026-09-10 06:53:23] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e8"} 
[2026-09-10 06:53:23] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e8"} 
[2026-09-10 06:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":97736856,"longitude_deg":76.3248768,"latitude_deg":9.7736856,"altitude":0,"angle":110,"satellites":22,"speed":0,"hex_longitude":"2d7e4080","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984842496001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482966173319168,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412009797392384,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:23] 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-09-10 06:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789003312000,"timestamp_ms":1789003312000,"timestamp_seconds":1789003312,"priority":1,"record_length":96,"hex_timestamp":"000001a088e82b80"} 
[2026-09-10 06:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:53:23] 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-09-10 06: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 06:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984842496001,"66":13820,"81":206,"85":15104,"24":0,"16":130482966173319168,"45":9097412009797392384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-10 06:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984842496001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 06:53:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482966173319168,"km_value":130482966173319.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412009797392384,"description":"Unknown IO ID 45"} 
[2026-09-10 06:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984842496001,"power":13820,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097412009797392384}} 
[2026-09-10 06:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:53:23] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:53:23] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:53:36] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:53:36] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:53:36] local.INFO: IMEI packet received {"connection_id":177432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":177432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:53:41] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:53:41] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:53:41] local.INFO: IMEI packet received {"connection_id":177432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":177432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:53:42] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:53:42] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:53:42] local.INFO: Packet analysis {"connection_id":177432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:53:42] local.INFO: Extracted packet for processing {"connection_id":177432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:53: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-09-10 06:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:53:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":177432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:53:42] local.INFO: GPS data processed {"connection_id":177432,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:53:42] local.INFO: Acknowledgment sent {"connection_id":177432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:53:55] local.INFO: TCP Data received {"connection_id":177430,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e87d88012d7e408005d358980000006e19..."} 
[2026-09-10 06:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e87d88012d7e408005d358980000006e19..."} 
[2026-09-10 06:53:55] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e87d88012d7e408005d358980000006e19..."} 
[2026-09-10 06:53:55] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e8"} 
[2026-09-10 06:53:55] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e8"} 
[2026-09-10 06:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":97736856,"longitude_deg":76.3248768,"latitude_deg":9.7736856,"altitude":0,"angle":110,"satellites":25,"speed":0,"hex_longitude":"2d7e4080","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-09-10 06:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984847872001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482966173319168,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412009797392384,"note":"Value kept but may cause issues"} 
[2026-09-10 06:53:55] 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-09-10 06:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789003333000,"timestamp_ms":1789003333000,"timestamp_seconds":1789003333,"priority":1,"record_length":96,"hex_timestamp":"000001a088e87d88"} 
[2026-09-10 06:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 06:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984847872001,"66":13917,"81":206,"85":15104,"24":0,"16":130482966173319168,"45":9097412009797392384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-10 06:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984847872001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:53:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 06:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482966173319168,"km_value":130482966173319.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412009797392384,"description":"Unknown IO ID 45"} 
[2026-09-10 06:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984847872001,"power":13917,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097412009797392384}} 
[2026-09-10 06:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:53:55] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:53:55] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:54:13] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:54:13] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:54:13] local.INFO: Packet analysis {"connection_id":177432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:54:13] local.INFO: Extracted packet for processing {"connection_id":177432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:54:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:54:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":177432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:54:13] local.INFO: GPS data processed {"connection_id":177432,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:54:13] local.INFO: Acknowledgment sent {"connection_id":177432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:54:18] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:54:18] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:54:18] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 06:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:54:24] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:54:24] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:54:24] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:54:24] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e8cf90012d7e408005d358980000006e19..."} 
[2026-09-10 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e8cf90012d7e408005d358980000006e19..."} 
[2026-09-10 06:54:24] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e8cf90012d7e408005d358980000006e19..."} 
[2026-09-10 06:54:24] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e8"} 
[2026-09-10 06:54:24] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e8"} 
[2026-09-10 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":97736856,"longitude_deg":76.3248768,"latitude_deg":9.7736856,"altitude":0,"angle":110,"satellites":25,"speed":0,"hex_longitude":"2d7e4080","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-09-10 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984853248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482966173319168,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412009797392384,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:24] 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-09-10 06:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789003354000,"timestamp_ms":1789003354000,"timestamp_seconds":1789003354,"priority":1,"record_length":96,"hex_timestamp":"000001a088e8cf90"} 
[2026-09-10 06:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-10 06:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984853248001,"66":13961,"81":206,"85":15104,"24":0,"16":130482966173319168,"45":9097412009797392384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-10 06:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984853248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 06:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482966173319168,"km_value":130482966173319.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412009797392384,"description":"Unknown IO ID 45"} 
[2026-09-10 06:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984853248001,"power":13961,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097412009797392384}} 
[2026-09-10 06:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:54:24] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:54:24] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:54:36] local.INFO: TCP Data received {"connection_id":177433,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:54:36] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:54:36] local.INFO: IMEI packet received {"connection_id":177433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":177433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:54:41] local.INFO: TCP Data received {"connection_id":177433,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:54:41] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:54:41] local.INFO: IMEI packet received {"connection_id":177433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":177433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:54:42] local.INFO: TCP Data received {"connection_id":177433,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:54:42] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:54:42] local.INFO: Packet analysis {"connection_id":177433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:54:42] local.INFO: Extracted packet for processing {"connection_id":177433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:54:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:54: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-09-10 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:54: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-09-10 06:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":177433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:54:42] local.INFO: GPS data processed {"connection_id":177433,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:54:42] local.INFO: Acknowledgment sent {"connection_id":177433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:54:57] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088e92198012d7e408005d358980000006e1a..."} 
[2026-09-10 06:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e92198012d7e408005d358980000006e1a..."} 
[2026-09-10 06:54:57] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e92198012d7e408005d358980000006e1a..."} 
[2026-09-10 06:54:57] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e9"} 
[2026-09-10 06:54:57] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e9"} 
[2026-09-10 06:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":97736856,"longitude_deg":76.3248768,"latitude_deg":9.7736856,"altitude":0,"angle":110,"satellites":26,"speed":0,"hex_longitude":"2d7e4080","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-09-10 06:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984858624001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482966173319168,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412009797392384,"note":"Value kept but may cause issues"} 
[2026-09-10 06:54:57] 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-09-10 06:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789003375000,"timestamp_ms":1789003375000,"timestamp_seconds":1789003375,"priority":1,"record_length":96,"hex_timestamp":"000001a088e92198"} 
[2026-09-10 06:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 06:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984858624001,"66":14102,"81":206,"85":15104,"24":0,"16":130482966173319168,"45":9097412009797392384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-10 06:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984858624001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:54:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 06:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482966173319168,"km_value":130482966173319.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412009797392384,"description":"Unknown IO ID 45"} 
[2026-09-10 06:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984858624001,"power":14102,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097412009797392384}} 
[2026-09-10 06:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:54:57] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:54:57] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:55:16] local.INFO: TCP Data received {"connection_id":177433,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:55:16] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:55:16] local.INFO: Packet analysis {"connection_id":177433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:55:16] local.INFO: Extracted packet for processing {"connection_id":177433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:55:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:55:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:55:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":177433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:55:16] local.INFO: GPS data processed {"connection_id":177433,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:55:16] local.INFO: Acknowledgment sent {"connection_id":177433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:55:28] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088eb11b0012d7e5f8005d34f70000200a21d..."} 
[2026-09-10 06:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088eb11b0012d7e5f8005d34f70000200a21d..."} 
[2026-09-10 06:55:28] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088eb11b0012d7e5f8005d34f70000200a21d..."} 
[2026-09-10 06:55:28] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:55:28] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763256704,"raw_latitude":97734512,"longitude_deg":76.3256704,"latitude_deg":9.7734512,"altitude":2,"angle":162,"satellites":29,"speed":21,"hex_longitude":"2d7e5f80","hex_latitude":"05d34f70","is_valid_coordinates":true} 
[2026-09-10 06:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984896256001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130483387080114176,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105926627842404352,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789003502000,"timestamp_ms":1789003502000,"timestamp_seconds":1789003502,"priority":1,"record_length":96,"hex_timestamp":"000001a088eb11b0"} 
[2026-09-10 06:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 06:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984896256001,"66":13961,"109":206,"85":15104,"24":21,"16":130483387080114176,"45":9105926627842404352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984896256001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:55:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130483387080114176,"km_value":130483387080114.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105926627842404352,"description":"Unknown IO ID 45"} 
[2026-09-10 06:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984896256001,"power":13961,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9105926627842404352}} 
[2026-09-10 06:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:55:28] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:55:28] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:55:36] local.INFO: TCP Data received {"connection_id":178812,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:55:36] local.INFO: Processing buffer {"connection_id":178812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:55:36] local.INFO: IMEI packet received {"connection_id":178812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":178812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:55:41] local.INFO: TCP Data received {"connection_id":178812,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:55:41] local.INFO: Processing buffer {"connection_id":178812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:55:41] local.INFO: IMEI packet received {"connection_id":178812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":178812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:55:42] local.INFO: TCP Data received {"connection_id":178812,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:55:42] local.INFO: Processing buffer {"connection_id":178812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:55:42] local.INFO: Packet analysis {"connection_id":178812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:55:42] local.INFO: Extracted packet for processing {"connection_id":178812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:55:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:55: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-09-10 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:55: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-09-10 06:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:55:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":178812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:55:42] local.INFO: GPS data processed {"connection_id":178812,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:55:42] local.INFO: Acknowledgment sent {"connection_id":178812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:55:59] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088eb1d68012d7e608005d348e8000200ae1d..."} 
[2026-09-10 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088eb1d68012d7e608005d348e8000200ae1d..."} 
[2026-09-10 06:55:59] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088eb1d68012d7e608005d348e8000200ae1d..."} 
[2026-09-10 06:55:59] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:55:59] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763256960,"raw_latitude":97732840,"longitude_deg":76.325696,"latitude_deg":9.773284,"altitude":2,"angle":174,"satellites":29,"speed":24,"hex_longitude":"2d7e6080","hex_latitude":"05d348e8","is_valid_coordinates":true} 
[2026-09-10 06:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984896512001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130483468684492800,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106137734074822656,"note":"Value kept but may cause issues"} 
[2026-09-10 06:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789003505000,"timestamp_ms":1789003505000,"timestamp_seconds":1789003505,"priority":1,"record_length":96,"hex_timestamp":"000001a088eb1d68"} 
[2026-09-10 06:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:55: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":137,"data_length":795,"current_offset":136} 
[2026-09-10 06:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984896512001,"66":13939,"109":206,"85":15104,"24":24,"16":130483468684492800,"45":9106137734074822656},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984896512001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:55:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130483468684492800,"km_value":130483468684492.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106137734074822656,"description":"Unknown IO ID 45"} 
[2026-09-10 06:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984896512001,"power":13939,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9106137734074822656}} 
[2026-09-10 06:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:55:59] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:55:59] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:56:13] local.INFO: TCP Data received {"connection_id":178812,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:56:13] local.INFO: Processing buffer {"connection_id":178812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088e75c78012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:56:13] local.INFO: Packet analysis {"connection_id":178812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:56:13] local.INFO: Extracted packet for processing {"connection_id":178812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088e7"} 
[2026-09-10 06:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984757248001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003259000,"timestamp_ms":1789003259000,"timestamp_seconds":1789003259,"priority":1,"record_length":96,"hex_timestamp":"000001a088e75c78"} 
[2026-09-10 06:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 06:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:56: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-09-10 06:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984757248001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984757248001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:56:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984757248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":178812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:56:13] local.INFO: GPS data processed {"connection_id":178812,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:56:13] local.INFO: Acknowledgment sent {"connection_id":178812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:56:17] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:56:17] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:56:17] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 06:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:56:22] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:56:22] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:56:22] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:56:27] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088eb4860012d7e630005d32580000000b01e..."} 
[2026-09-10 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088eb4860012d7e630005d32580000000b01e..."} 
[2026-09-10 06:56:27] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088eb4860012d7e630005d32580000000b01e..."} 
[2026-09-10 06:56:27] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:56:27] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763257600,"raw_latitude":97723776,"longitude_deg":76.32576,"latitude_deg":9.7723776,"altitude":0,"angle":176,"satellites":30,"speed":37,"hex_longitude":"2d7e6300","hex_latitude":"05d32580","is_valid_coordinates":true} 
[2026-09-10 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-09-10 06:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984897280001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130483911066124288,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106419209051105280,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789003516000,"timestamp_ms":1789003516000,"timestamp_seconds":1789003516,"priority":1,"record_length":96,"hex_timestamp":"000001a088eb4860"} 
[2026-09-10 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-09-10 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-10 06:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 06:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984897280001,"66":14048,"109":206,"85":15104,"24":37,"16":130483911066124288,"45":9106419209051105280},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984897280001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:56:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130483911066124288,"km_value":130483911066124.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106419209051105280,"description":"Unknown IO ID 45"} 
[2026-09-10 06:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984897280001,"power":14048,"unknown_109":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9106419209051105280}} 
[2026-09-10 06:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:56:27] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:56:27] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:56:38] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:38] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:38] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:56:41] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:41] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:41] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:56:46] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:46] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:56:46] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:56:47] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:56:47] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:56:47] local.INFO: Packet analysis {"connection_id":176265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:56:47] local.INFO: Extracted packet for processing {"connection_id":176265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 06:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:56:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":176265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:56:47] local.INFO: GPS data processed {"connection_id":176265,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:56:47] local.INFO: Acknowledgment sent {"connection_id":176265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:56:58] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088eb82f8012d7e66c005d304080000007a1e..."} 
[2026-09-10 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088eb82f8012d7e66c005d304080000007a1e..."} 
[2026-09-10 06:56:58] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088eb82f8012d7e66c005d304080000007a1e..."} 
[2026-09-10 06:56:58] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:56:58] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763258560,"raw_latitude":97715208,"longitude_deg":76.325856,"latitude_deg":9.7715208,"altitude":0,"angle":122,"satellites":30,"speed":7,"hex_longitude":"2d7e66c0","hex_latitude":"05d30408","is_valid_coordinates":true} 
[2026-09-10 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":795,"current_offset":40} 
[2026-09-10 06:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984900096001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130484331972919296,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107122896490561536,"note":"Value kept but may cause issues"} 
[2026-09-10 06:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789003531000,"timestamp_ms":1789003531000,"timestamp_seconds":1789003531,"priority":1,"record_length":96,"hex_timestamp":"000001a088eb82f8"} 
[2026-09-10 06:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 06:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984900096001,"66":13961,"109":206,"85":15104,"24":7,"16":130484331972919296,"45":9107122896490561536},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984900096001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:56:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130484331972919296,"km_value":130484331972919.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107122896490561536,"description":"Unknown IO ID 45"} 
[2026-09-10 06:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984900096001,"power":13961,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9107122896490561536}} 
[2026-09-10 06:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:56:58] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:56:58] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:57:17] local.INFO: TCP Data received {"connection_id":178813,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:57:17] local.INFO: Processing buffer {"connection_id":178813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:57:17] local.INFO: IMEI packet received {"connection_id":178813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 06:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":178813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:57:19] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:57:19] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:57:19] local.INFO: Packet analysis {"connection_id":176265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:57:19] local.INFO: Extracted packet for processing {"connection_id":176265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:57:19] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 06:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:57:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":176265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:57:19] local.INFO: GPS data processed {"connection_id":176265,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:57:19] local.INFO: Acknowledgment sent {"connection_id":176265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:57:23] local.INFO: TCP Data received {"connection_id":178813,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:57:23] local.INFO: Processing buffer {"connection_id":178813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:57:23] local.INFO: IMEI packet received {"connection_id":178813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":178813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:57:25] local.INFO: TCP Data received {"connection_id":178813,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088eb86e0012d7e678005d303c0000000621e..."} 
[2026-09-10 06:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088eb86e0012d7e678005d303c0000000621e..."} 
[2026-09-10 06:57:25] local.INFO: Processing buffer {"connection_id":178813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088eb86e0012d7e678005d303c0000000621e..."} 
[2026-09-10 06:57:25] local.INFO: Packet analysis {"connection_id":178813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:57:25] local.INFO: Extracted packet for processing {"connection_id":178813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763258752,"raw_latitude":97715136,"longitude_deg":76.3258752,"latitude_deg":9.7715136,"altitude":0,"angle":98,"satellites":30,"speed":9,"hex_longitude":"2d7e6780","hex_latitude":"05d303c0","is_valid_coordinates":true} 
[2026-09-10 06:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984903936001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130484340562853888,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108178427651033088,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789003532000,"timestamp_ms":1789003532000,"timestamp_seconds":1789003532,"priority":1,"record_length":96,"hex_timestamp":"000001a088eb86e0"} 
[2026-09-10 06:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 06:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984903936001,"66":14070,"109":206,"85":15104,"24":9,"16":130484340562853888,"45":9108178427651033088},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984903936001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:57:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130484340562853888,"km_value":130484340562853.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108178427651033088,"description":"Unknown IO ID 45"} 
[2026-09-10 06:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984903936001,"power":14070,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108178427651033088}} 
[2026-09-10 06:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":178813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:57:26] local.INFO: GPS data processed {"connection_id":178813,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:57:26] local.INFO: Acknowledgment sent {"connection_id":178813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:57:36] local.INFO: TCP Data received {"connection_id":177434,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:57:36] local.INFO: Processing buffer {"connection_id":177434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:57:36] local.INFO: IMEI packet received {"connection_id":177434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":177434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:57:41] local.INFO: TCP Data received {"connection_id":177434,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:57:41] local.INFO: Processing buffer {"connection_id":177434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:57:41] local.INFO: IMEI packet received {"connection_id":177434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":177434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:57:42] local.INFO: TCP Data received {"connection_id":177434,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:57:42] local.INFO: Processing buffer {"connection_id":177434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:57:42] local.INFO: Packet analysis {"connection_id":177434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:57:42] local.INFO: Extracted packet for processing {"connection_id":177434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 06:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:57: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-09-10 06:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:57: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-09-10 06:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":177434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:57:42] local.INFO: GPS data processed {"connection_id":177434,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:57:42] local.INFO: Acknowledgment sent {"connection_id":177434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:57:57] local.INFO: TCP Data received {"connection_id":178813,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088ed01c8012d7f190005d348480001001e1d..."} 
[2026-09-10 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ed01c8012d7f190005d348480001001e1d..."} 
[2026-09-10 06:57:57] local.INFO: Processing buffer {"connection_id":178813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ed01c8012d7f190005d348480001001e1d..."} 
[2026-09-10 06:57:57] local.INFO: Packet analysis {"connection_id":178813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:57:57] local.INFO: Extracted packet for processing {"connection_id":178813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763304192,"raw_latitude":97732680,"longitude_deg":76.3304192,"latitude_deg":9.773268,"altitude":1,"angle":30,"satellites":29,"speed":0,"hex_longitude":"2d7f1900","hex_latitude":"05d34848","is_valid_coordinates":true} 
[2026-09-10 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984923904001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130486750039506944,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158069867277348864,"note":"Value kept but may cause issues"} 
[2026-09-10 06:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789003629000,"timestamp_ms":1789003629000,"timestamp_seconds":1789003629,"priority":1,"record_length":96,"hex_timestamp":"000001a088ed01c8"} 
[2026-09-10 06:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 06:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984923904001,"66":13820,"109":206,"85":15104,"24":0,"16":130486750039506944,"45":9158069867277348864},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984923904001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:57:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130486750039506944,"km_value":130486750039506.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158069867277348864,"description":"Unknown IO ID 45"} 
[2026-09-10 06:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984923904001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9158069867277348864}} 
[2026-09-10 06:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":178813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:57:57] local.INFO: GPS data processed {"connection_id":178813,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:57:57] local.INFO: Acknowledgment sent {"connection_id":178813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:58:13] local.INFO: TCP Data received {"connection_id":177434,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:58:13] local.INFO: Processing buffer {"connection_id":177434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:58:13] local.INFO: Packet analysis {"connection_id":177434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:58:13] local.INFO: Extracted packet for processing {"connection_id":177434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:58:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 06:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:58: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-09-10 06:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:58: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-09-10 06:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:58:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":177434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:58:13] local.INFO: GPS data processed {"connection_id":177434,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:58:13] local.INFO: Acknowledgment sent {"connection_id":177434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:58:17] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:17] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:17] local.INFO: IMEI packet received {"connection_id":176266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 06:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":176266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:58:21] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:21] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:21] local.INFO: IMEI packet received {"connection_id":176266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":176266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:58:22] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:22] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:58:22] local.INFO: IMEI packet received {"connection_id":176266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":176266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:58:23] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088ed53d0012d7f190005d348480001001e1d..."} 
[2026-09-10 06:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ed53d0012d7f190005d348480001001e1d..."} 
[2026-09-10 06:58:23] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ed53d0012d7f190005d348480001001e1d..."} 
[2026-09-10 06:58:23] local.INFO: Packet analysis {"connection_id":176266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:58:23] local.INFO: Extracted packet for processing {"connection_id":176266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763304192,"raw_latitude":97732680,"longitude_deg":76.3304192,"latitude_deg":9.773268,"altitude":1,"angle":30,"satellites":29,"speed":0,"hex_longitude":"2d7f1900","hex_latitude":"05d34848","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984929024001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130486750039506944,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158351342254180352,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789003650000,"timestamp_ms":1789003650000,"timestamp_seconds":1789003650,"priority":1,"record_length":96,"hex_timestamp":"000001a088ed53d0"} 
[2026-09-10 06:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 06:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984929024001,"66":13798,"109":206,"85":15104,"24":0,"16":130486750039506944,"45":9158351342254180352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984929024001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:58:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130486750039506944,"km_value":130486750039506.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158351342254180352,"description":"Unknown IO ID 45"} 
[2026-09-10 06:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984929024001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9158351342254180352}} 
[2026-09-10 06:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":176266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:58:23] local.INFO: GPS data processed {"connection_id":176266,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:58:23] local.INFO: Acknowledgment sent {"connection_id":176266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:58:36] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:58:36] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:58:36] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:58:41] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:58:41] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:58:41] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:58:42] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:58:42] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:58:42] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:58:42] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:58:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06: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-09-10 06:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 06:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:58: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-09-10 06:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06: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-09-10 06:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06: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-09-10 06:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:58:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:58:42] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:58:42] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:58:58] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088eda5d8012d7f190005d348480001001e1e..."} 
[2026-09-10 06:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088eda5d8012d7f190005d348480001001e1e..."} 
[2026-09-10 06:58:58] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088eda5d8012d7f190005d348480001001e1e..."} 
[2026-09-10 06:58:58] local.INFO: Packet analysis {"connection_id":176266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:58:58] local.INFO: Extracted packet for processing {"connection_id":176266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763304192,"raw_latitude":97732680,"longitude_deg":76.3304192,"latitude_deg":9.773268,"altitude":1,"angle":30,"satellites":30,"speed":0,"hex_longitude":"2d7f1900","hex_latitude":"05d34848","is_valid_coordinates":true} 
[2026-09-10 06:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984934400001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130486750039506944,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158351342254180352,"note":"Value kept but may cause issues"} 
[2026-09-10 06:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789003671000,"timestamp_ms":1789003671000,"timestamp_seconds":1789003671,"priority":1,"record_length":96,"hex_timestamp":"000001a088eda5d8"} 
[2026-09-10 06:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 06:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984934400001,"66":13993,"109":206,"85":15104,"24":0,"16":130486750039506944,"45":9158351342254180352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984934400001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:58:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130486750039506944,"km_value":130486750039506.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158351342254180352,"description":"Unknown IO ID 45"} 
[2026-09-10 06:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984934400001,"power":13993,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9158351342254180352}} 
[2026-09-10 06:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":176266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:58:59] local.INFO: GPS data processed {"connection_id":176266,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:58:59] local.INFO: Acknowledgment sent {"connection_id":176266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:59:13] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:59:13] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:59:13] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:59:13] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 06:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:59: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-09-10 06:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:59: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-09-10 06:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:59:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:59:13] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:59:13] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:59:22] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:59:22] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:59:22] local.INFO: IMEI packet received {"connection_id":176267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 06:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":176267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:59:26] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:59:26] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 06:59:26] local.INFO: IMEI packet received {"connection_id":176267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 06:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":176267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:59:27] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088edc518012d7f19c005d34898000100321f..."} 
[2026-09-10 06:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088edc518012d7f19c005d34898000100321f..."} 
[2026-09-10 06:59:27] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088edc518012d7f19c005d34898000100321f..."} 
[2026-09-10 06:59:27] local.INFO: Packet analysis {"connection_id":176267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:59:27] local.INFO: Extracted packet for processing {"connection_id":176267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ed"} 
[2026-09-10 06:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763304384,"raw_latitude":97732760,"longitude_deg":76.3304384,"latitude_deg":9.773276,"altitude":1,"angle":50,"satellites":31,"speed":4,"hex_longitude":"2d7f19c0","hex_latitude":"05d34898","is_valid_coordinates":true} 
[2026-09-10 06:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984939776001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130486758629441536,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158351342254180352,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789003679000,"timestamp_ms":1789003679000,"timestamp_seconds":1789003679,"priority":1,"record_length":96,"hex_timestamp":"000001a088edc518"} 
[2026-09-10 06:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 06:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984939776001,"66":13765,"109":206,"85":15104,"24":4,"16":130486758629441536,"45":9158351342254180352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984939776001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:59:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130486758629441536,"km_value":130486758629441.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158351342254180352,"description":"Unknown IO ID 45"} 
[2026-09-10 06:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984939776001,"power":13765,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9158351342254180352}} 
[2026-09-10 06:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":176267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:59:27] local.INFO: GPS data processed {"connection_id":176267,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:59:27] local.INFO: Acknowledgment sent {"connection_id":176267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:59:36] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:59:36] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:59:36] local.INFO: IMEI packet received {"connection_id":176033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 06:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":176033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 06:59:41] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:59:41] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 06:59:41] local.INFO: IMEI packet received {"connection_id":176033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 06:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":176033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 06:59:42] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:59:42] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 06:59:42] local.INFO: Packet analysis {"connection_id":176033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:59:42] local.INFO: Extracted packet for processing {"connection_id":176033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 06:59:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 06:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 06:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:59: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-09-10 06:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 06:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 06:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 06:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 06:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 06:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 06:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 06:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:59:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 06:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 06:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 06:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 06:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":176033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:59:42] local.INFO: GPS data processed {"connection_id":176033,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:59:42] local.INFO: Acknowledgment sent {"connection_id":176033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 06:59:58] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088ef8268012d80370005d396c00003006f21..."} 
[2026-09-10 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ef8268012d80370005d396c00003006f21..."} 
[2026-09-10 06:59:58] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ef8268012d80370005d396c00003006f21..."} 
[2026-09-10 06:59:58] local.INFO: Packet analysis {"connection_id":176267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ef"} 
[2026-09-10 06:59:58] local.INFO: Extracted packet for processing {"connection_id":176267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ef"} 
[2026-09-10 06:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763377408,"raw_latitude":97752768,"longitude_deg":76.3377408,"latitude_deg":9.7752768,"altitude":3,"angle":111,"satellites":33,"speed":21,"hex_longitude":"2d803700","hex_latitude":"05d396c0","is_valid_coordinates":true} 
[2026-09-10 06:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 06:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984969472001,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130490662754713600,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9213520387645145088,"note":"Value kept but may cause issues"} 
[2026-09-10 06:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 06:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789003793000,"timestamp_ms":1789003793000,"timestamp_seconds":1789003793,"priority":1,"record_length":96,"hex_timestamp":"000001a088ef8268"} 
[2026-09-10 06:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 06:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 06: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 06:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 06:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 06:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 06:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 06:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 06:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 06:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 06:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 06:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 06:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984969472001,"66":13526,"109":206,"85":15104,"24":21,"16":130490662754713600,"45":-9213520387645145088},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 06:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 06:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 06:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984969472001,"description":"Unknown IO ID 0"} 
[2026-09-10 06:59:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 06:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 06:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130490662754713600,"km_value":130490662754713.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 06:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9213520387645145088,"description":"Unknown IO ID 45"} 
[2026-09-10 06:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984969472001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9213520387645145088}} 
[2026-09-10 06:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":176267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 06:59:58] local.INFO: GPS data processed {"connection_id":176267,"processed":1,"errors":0,"total":1} 
[2026-09-10 06:59:58] local.INFO: Acknowledgment sent {"connection_id":176267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:00:13] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:13] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:13] local.INFO: Packet analysis {"connection_id":176033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 07:00:13] local.INFO: Extracted packet for processing {"connection_id":176033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 07:00:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 07:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:00: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-09-10 07:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:00:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":176033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:00:13] local.INFO: GPS data processed {"connection_id":176033,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:00:13] local.INFO: Acknowledgment sent {"connection_id":176033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:00:18] local.INFO: TCP Data received {"connection_id":178814,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:00:18] local.INFO: Processing buffer {"connection_id":178814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:00:18] local.INFO: IMEI packet received {"connection_id":178814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":178814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:00:22] local.INFO: TCP Data received {"connection_id":178814,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:00:22] local.INFO: Processing buffer {"connection_id":178814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:00:22] local.INFO: IMEI packet received {"connection_id":178814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":178814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:00:23] local.INFO: TCP Data received {"connection_id":178814,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088ef8650012d8038c005d395b00003008222..."} 
[2026-09-10 07:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ef8650012d8038c005d395b00003008222..."} 
[2026-09-10 07:00:23] local.INFO: Processing buffer {"connection_id":178814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ef8650012d8038c005d395b00003008222..."} 
[2026-09-10 07:00:23] local.INFO: Packet analysis {"connection_id":178814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ef"} 
[2026-09-10 07:00:23] local.INFO: Extracted packet for processing {"connection_id":178814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ef"} 
[2026-09-10 07:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763377856,"raw_latitude":97752496,"longitude_deg":76.3377856,"latitude_deg":9.7752496,"altitude":3,"angle":130,"satellites":34,"speed":22,"hex_longitude":"2d8038c0","hex_latitude":"05d395b0","is_valid_coordinates":true} 
[2026-09-10 07:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984971008001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130490688524517376,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207890888110981120,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789003794000,"timestamp_ms":1789003794000,"timestamp_seconds":1789003794,"priority":1,"record_length":96,"hex_timestamp":"000001a088ef8650"} 
[2026-09-10 07:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 07:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984971008001,"66":13852,"109":206,"85":15104,"24":22,"16":130490688524517376,"45":-9207890888110981120},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 07:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984971008001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:00:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 07:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130490688524517376,"km_value":130490688524517.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207890888110981120,"description":"Unknown IO ID 45"} 
[2026-09-10 07:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984971008001,"power":13852,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9207890888110981120}} 
[2026-09-10 07:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":178814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:00:23] local.INFO: GPS data processed {"connection_id":178814,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:00:23] local.INFO: Acknowledgment sent {"connection_id":178814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:00:41] local.INFO: TCP Data received {"connection_id":177435,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:00:41] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:00:41] local.INFO: IMEI packet received {"connection_id":177435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":177435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:00:46] local.INFO: TCP Data received {"connection_id":177435,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:00:46] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:00:46] local.INFO: IMEI packet received {"connection_id":177435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":177435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:00:47] local.INFO: TCP Data received {"connection_id":177435,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:47] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:47] local.INFO: Packet analysis {"connection_id":177435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 07:00:47] local.INFO: Extracted packet for processing {"connection_id":177435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 07:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:00:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":177435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:00:47] local.INFO: GPS data processed {"connection_id":177435,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:00:47] local.INFO: Acknowledgment sent {"connection_id":177435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:00:52] local.INFO: TCP Data received {"connection_id":177435,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:52] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ebf440012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:00:52] local.INFO: Packet analysis {"connection_id":177435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 07:00:52] local.INFO: Extracted packet for processing {"connection_id":177435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088eb"} 
[2026-09-10 07:00:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789003560000,"timestamp_ms":1789003560000,"timestamp_seconds":1789003560,"priority":1,"record_length":96,"hex_timestamp":"000001a088ebf440"} 
[2026-09-10 07:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984834304001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:00:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984834304001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":177435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:00:52] local.INFO: GPS data processed {"connection_id":177435,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:00:52] local.INFO: Acknowledgment sent {"connection_id":177435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:00:54] local.INFO: TCP Data received {"connection_id":178814,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088ef8a38012d803a4005d393f00004009022..."} 
[2026-09-10 07:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088ef8a38012d803a4005d393f00004009022..."} 
[2026-09-10 07:00:54] local.INFO: Processing buffer {"connection_id":178814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088ef8a38012d803a4005d393f00004009022..."} 
[2026-09-10 07:00:54] local.INFO: Packet analysis {"connection_id":178814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088ef"} 
[2026-09-10 07:00:54] local.INFO: Extracted packet for processing {"connection_id":178814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088ef"} 
[2026-09-10 07:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763378240,"raw_latitude":97752048,"longitude_deg":76.337824,"latitude_deg":9.7752048,"altitude":4,"angle":144,"satellites":34,"speed":24,"hex_longitude":"2d803a40","hex_latitude":"05d393f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984971264001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130490718589288448,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207398306901807104,"note":"Value kept but may cause issues"} 
[2026-09-10 07:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789003795000,"timestamp_ms":1789003795000,"timestamp_seconds":1789003795,"priority":1,"record_length":96,"hex_timestamp":"000001a088ef8a38"} 
[2026-09-10 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-09-10 07:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-10 07:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 07:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984971264001,"66":13852,"109":206,"85":15104,"24":24,"16":130490718589288448,"45":-9207398306901807104},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 07:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984971264001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:00:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 07:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130490718589288448,"km_value":130490718589288.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207398306901807104,"description":"Unknown IO ID 45"} 
[2026-09-10 07:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984971264001,"power":13852,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9207398306901807104}} 
[2026-09-10 07:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":178814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:00:54] local.INFO: GPS data processed {"connection_id":178814,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:00:54] local.INFO: Acknowledgment sent {"connection_id":178814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:01:18] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:18] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:18] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:01:19] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:19] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:19] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:01:23] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:23] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:01:23] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:01:23] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f09f90012d80ad0005d370b00005007a22..."} 
[2026-09-10 07:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f09f90012d80ad0005d370b00005007a22..."} 
[2026-09-10 07:01:23] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f09f90012d80ad0005d370b00005007a22..."} 
[2026-09-10 07:01:23] local.INFO: Packet analysis {"connection_id":176268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:01:23] local.INFO: Extracted packet for processing {"connection_id":176268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763407616,"raw_latitude":97743024,"longitude_deg":76.3407616,"latitude_deg":9.7743024,"altitude":5,"angle":122,"satellites":34,"speed":11,"hex_longitude":"2d80ad00","hex_latitude":"05d370b0","is_valid_coordinates":true} 
[2026-09-10 07:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984987904001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130492269072482304,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903186767872,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789003866000,"timestamp_ms":1789003866000,"timestamp_seconds":1789003866,"priority":1,"record_length":96,"hex_timestamp":"000001a088f09f90"} 
[2026-09-10 07:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:01: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-09-10 07:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 07:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984987904001,"66":13037,"167":206,"85":15104,"24":11,"16":130492269072482304,"45":-9176787903186767872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 07:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984987904001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:01:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 07:01:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130492269072482304,"km_value":130492269072482.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903186767872,"description":"Unknown IO ID 45"} 
[2026-09-10 07:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984987904001,"power":13037,"unknown_167":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9176787903186767872}} 
[2026-09-10 07:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":176268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:01:24] local.INFO: GPS data processed {"connection_id":176268,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:01:24] local.INFO: Acknowledgment sent {"connection_id":176268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:01:36] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:01:36] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:01:36] local.INFO: IMEI packet received {"connection_id":177436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":177436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:01:39] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:01:39] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:01:39] local.INFO: IMEI packet received {"connection_id":177436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":177436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:01:40] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:01:40] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:01:40] local.INFO: Packet analysis {"connection_id":177436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:01:40] local.INFO: Extracted packet for processing {"connection_id":177436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:01:40] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:01:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":177436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:01:40] local.INFO: GPS data processed {"connection_id":177436,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:01:40] local.INFO: Acknowledgment sent {"connection_id":177436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:01:54] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f0a378012d80adc005d36ff80006008922..."} 
[2026-09-10 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f0a378012d80adc005d36ff80006008922..."} 
[2026-09-10 07:01:54] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f0a378012d80adc005d36ff80006008922..."} 
[2026-09-10 07:01:54] local.INFO: Packet analysis {"connection_id":176268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:01:54] local.INFO: Extracted packet for processing {"connection_id":176268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763407808,"raw_latitude":97742840,"longitude_deg":76.3407808,"latitude_deg":9.774284,"altitude":6,"angle":137,"satellites":34,"speed":11,"hex_longitude":"2d80adc0","hex_latitude":"05d36ff8","is_valid_coordinates":true} 
[2026-09-10 07:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984989696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130492281957384192,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174676840861618176,"note":"Value kept but may cause issues"} 
[2026-09-10 07:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789003867000,"timestamp_ms":1789003867000,"timestamp_seconds":1789003867,"priority":1,"record_length":96,"hex_timestamp":"000001a088f0a378"} 
[2026-09-10 07:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-10 07:01: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-09-10 07:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984989696001,"66":13037,"167":206,"85":15104,"24":11,"16":130492281957384192,"45":-9174676840861618176},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 07:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984989696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:01:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 07:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130492281957384192,"km_value":130492281957384.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174676840861618176,"description":"Unknown IO ID 45"} 
[2026-09-10 07:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984989696001,"power":13037,"unknown_167":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9174676840861618176}} 
[2026-09-10 07:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":176268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:01:54] local.INFO: GPS data processed {"connection_id":176268,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:01:54] local.INFO: Acknowledgment sent {"connection_id":176268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:02:11] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:02:11] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:02:11] local.INFO: Packet analysis {"connection_id":177436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:02:11] local.INFO: Extracted packet for processing {"connection_id":177436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:02:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:02: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-09-10 07: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-09-10 07: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-09-10 07:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:02:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":177436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:02:11] local.INFO: GPS data processed {"connection_id":177436,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:02:11] local.INFO: Acknowledgment sent {"connection_id":177436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:02:17] local.INFO: TCP Data received {"connection_id":178815,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:02:17] local.INFO: Processing buffer {"connection_id":178815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:02:17] local.INFO: IMEI packet received {"connection_id":178815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":178815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:02:23] local.INFO: TCP Data received {"connection_id":178815,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:02:23] local.INFO: Processing buffer {"connection_id":178815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:02:23] local.INFO: IMEI packet received {"connection_id":178815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":178815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:02:23] local.INFO: TCP Data received {"connection_id":178815,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f15340012d80aac005d2f9280001006321..."} 
[2026-09-10 07:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f15340012d80aac005d2f9280001006321..."} 
[2026-09-10 07:02:23] local.INFO: Processing buffer {"connection_id":178815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f15340012d80aac005d2f9280001006321..."} 
[2026-09-10 07:02:23] local.INFO: Packet analysis {"connection_id":178815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f1"} 
[2026-09-10 07:02:23] local.INFO: Extracted packet for processing {"connection_id":178815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f1"} 
[2026-09-10 07:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763407040,"raw_latitude":97712424,"longitude_deg":76.340704,"latitude_deg":9.7712424,"altitude":1,"angle":99,"satellites":33,"speed":22,"hex_longitude":"2d80aac0","hex_latitude":"05d2f928","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985001216001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130493810965741568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175943478264623104,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789003912000,"timestamp_ms":1789003912000,"timestamp_seconds":1789003912,"priority":1,"record_length":96,"hex_timestamp":"000001a088f15340"} 
[2026-09-10 07:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 07:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985001216001,"66":13450,"208":206,"85":15104,"24":22,"16":130493810965741568,"45":-9175943478264623104},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 07:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985001216001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:02:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 07:02:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130493810965741568,"km_value":130493810965741.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175943478264623104,"description":"Unknown IO ID 45"} 
[2026-09-10 07:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985001216001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9175943478264623104}} 
[2026-09-10 07:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":178815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:02:23] local.INFO: GPS data processed {"connection_id":178815,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:02:23] local.INFO: Acknowledgment sent {"connection_id":178815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:02:36] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:02:36] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:02:36] local.INFO: IMEI packet received {"connection_id":177437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":177437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:02:41] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:02:41] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:02:41] local.INFO: IMEI packet received {"connection_id":177437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":177437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:02:42] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:02:42] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:02:42] local.INFO: Packet analysis {"connection_id":177437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:02:42] local.INFO: Extracted packet for processing {"connection_id":177437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:02: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-09-10 07:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:02: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-09-10 07:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:02:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":177437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:02:42] local.INFO: GPS data processed {"connection_id":177437,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:02:42] local.INFO: Acknowledgment sent {"connection_id":177437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:02:55] local.INFO: TCP Data received {"connection_id":178815,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f20ad8012d80eec005d2af480002007b22..."} 
[2026-09-10 07:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f20ad8012d80eec005d2af480002007b22..."} 
[2026-09-10 07:02:55] local.INFO: Processing buffer {"connection_id":178815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f20ad8012d80eec005d2af480002007b22..."} 
[2026-09-10 07:02:55] local.INFO: Packet analysis {"connection_id":178815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f2"} 
[2026-09-10 07:02:55] local.INFO: Extracted packet for processing {"connection_id":178815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f2"} 
[2026-09-10 07:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763424448,"raw_latitude":97693512,"longitude_deg":76.3424448,"latitude_deg":9.7693512,"altitude":2,"angle":123,"satellites":34,"speed":26,"hex_longitude":"2d80eec0","hex_latitude":"05d2af48","is_valid_coordinates":true} 
[2026-09-10 07:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985010688001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130495370038870016,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164051160503146496,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789003959000,"timestamp_ms":1789003959000,"timestamp_seconds":1789003959,"priority":1,"record_length":96,"hex_timestamp":"000001a088f20ad8"} 
[2026-09-10 07:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6192458093363200,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627135803136,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2297529864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2160967685,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4056700929,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3146776576,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-09-10 07:02:55] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147865311,"corrected_to":0} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2617376768,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3538976768,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2306174515350078930,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.WARNING: Large IO value detected {"io_id":242,"raw_value":-8070447231177523179,"note":"Value kept but may cause issues"} 
[2026-09-10 07:02:55] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,156,160,219,45,180,32,10,66,216,128,181,34,212,64,1,240,110,227,136,210,4,113,205,23,203,176,239,54,2,207,5,3,22,130,242],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0},{"io_id":203,"original":2147865311,"validated":0}]} 
[2026-09-10 07:02:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":114490944454656,"timestamp_seconds":114490944454.656,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985010688001,"66":13396,"208":206,"85":15104,"24":26,"16":130495370038870016,"45":-9164051160503146496},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 07:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985010688001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:02:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 07:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130495370038870016,"km_value":130495370038870.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164051160503146496,"description":"Unknown IO ID 45"} 
[2026-09-10 07:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985010688001,"power":13396,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9164051160503146496}} 
[2026-09-10 07:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":178815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:02:55] local.INFO: GPS data processed {"connection_id":178815,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:02:55] local.INFO: Acknowledgment sent {"connection_id":178815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:03:13] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:03:13] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:03:13] local.INFO: Packet analysis {"connection_id":177437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:03:13] local.INFO: Extracted packet for processing {"connection_id":177437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:03:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:03:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":177437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:03:13] local.INFO: GPS data processed {"connection_id":177437,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:03:13] local.INFO: Acknowledgment sent {"connection_id":177437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:03:17] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:17] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:17] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:03:18] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:18] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:18] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:03:18] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:18] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:18] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:03:21] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:21] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:03:21] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:03:36] local.INFO: TCP Data received {"connection_id":177438,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:03:36] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:03:36] local.INFO: IMEI packet received {"connection_id":177438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":177438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:03:41] local.INFO: TCP Data received {"connection_id":177438,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:03:41] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:03:41] local.INFO: IMEI packet received {"connection_id":177438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":177438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:03:42] local.INFO: TCP Data received {"connection_id":177438,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:03:42] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:03:42] local.INFO: Packet analysis {"connection_id":177438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:03:42] local.INFO: Extracted packet for processing {"connection_id":177438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:03: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-09-10 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":177438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:03:42] local.INFO: GPS data processed {"connection_id":177438,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:03:42] local.INFO: Acknowledgment sent {"connection_id":177438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:04:13] local.INFO: TCP Data received {"connection_id":177438,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:13] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:13] local.INFO: Packet analysis {"connection_id":177438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:04:13] local.INFO: Extracted packet for processing {"connection_id":177438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:04:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:04:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":177438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:04:13] local.INFO: GPS data processed {"connection_id":177438,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:04:13] local.INFO: Acknowledgment sent {"connection_id":177438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:04:41] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:04:41] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:04:41] local.INFO: IMEI packet received {"connection_id":176034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":176034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:04:46] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:04:46] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:04:46] local.INFO: IMEI packet received {"connection_id":176034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":176034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:04:47] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:47] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:47] local.INFO: Packet analysis {"connection_id":176034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:04:47] local.INFO: Extracted packet for processing {"connection_id":176034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:04:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:04:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":176034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:04:47] local.INFO: GPS data processed {"connection_id":176034,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:04:47] local.INFO: Acknowledgment sent {"connection_id":176034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:04:52] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:52] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:04:52] local.INFO: Packet analysis {"connection_id":176034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:04:52] local.INFO: Extracted packet for processing {"connection_id":176034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:04:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:04:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:04:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":176034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:04:52] local.INFO: GPS data processed {"connection_id":176034,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:04:52] local.INFO: Acknowledgment sent {"connection_id":176034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:05:36] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:05:36] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:05:36] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:05:41] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:05:41] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:05:41] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:05:42] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:05:42] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:05:42] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:05:42] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:05: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-09-10 07:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:05:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:05:42] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:05:42] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:05:47] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:05:47] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:05:47] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:05:47] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:05:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:05:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:05:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:05:47] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:05:47] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:06:18] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:06:18] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f08c08012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:06:18] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:06:18] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f0"} 
[2026-09-10 07:06:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984911360001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:06:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789003861000,"timestamp_ms":1789003861000,"timestamp_seconds":1789003861,"priority":1,"record_length":96,"hex_timestamp":"000001a088f08c08"} 
[2026-09-10 07:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984911360001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984911360001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:06:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:06:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984911360001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:06:18] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:06:18] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:06:36] local.INFO: TCP Data received {"connection_id":177440,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:06:36] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:06:36] local.INFO: IMEI packet received {"connection_id":177440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":177440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:06:40] local.INFO: TCP Data received {"connection_id":177440,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:06:40] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:06:40] local.INFO: IMEI packet received {"connection_id":177440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":177440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:06:41] local.INFO: TCP Data received {"connection_id":177440,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:06:41] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:06:41] local.INFO: Packet analysis {"connection_id":177440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:06:41] local.INFO: Extracted packet for processing {"connection_id":177440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:06:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":177440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:06:41] local.INFO: GPS data processed {"connection_id":177440,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:06:41] local.INFO: Acknowledgment sent {"connection_id":177440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:07:19] local.INFO: TCP Data received {"connection_id":177440,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:07:19] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:07:19] local.INFO: Packet analysis {"connection_id":177440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:07:19] local.INFO: Extracted packet for processing {"connection_id":177440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:07:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:07:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:07:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:07:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":177440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:07:19] local.INFO: GPS data processed {"connection_id":177440,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:07:19] local.INFO: Acknowledgment sent {"connection_id":177440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:07:36] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:07:36] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:07:36] local.INFO: IMEI packet received {"connection_id":176036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":176036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:07:41] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:07:41] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:07:41] local.INFO: IMEI packet received {"connection_id":176036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":176036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:07:42] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:07:42] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:07:42] local.INFO: Packet analysis {"connection_id":176036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:07:42] local.INFO: Extracted packet for processing {"connection_id":176036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:07:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":176036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:07:42] local.INFO: GPS data processed {"connection_id":176036,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:07:42] local.INFO: Acknowledgment sent {"connection_id":176036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:08:13] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:08:13] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:08:13] local.INFO: Packet analysis {"connection_id":176036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:08:13] local.INFO: Extracted packet for processing {"connection_id":176036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:08:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07: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-09-10 07:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:08:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":176036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:08:13] local.INFO: GPS data processed {"connection_id":176036,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:08:13] local.INFO: Acknowledgment sent {"connection_id":176036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:08:22] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:08:22] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:08:22] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:08:23] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f65868012d82b38005d161f0000a006322..."} 
[2026-09-10 07:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f65868012d82b38005d161f0000a006322..."} 
[2026-09-10 07:08:23] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f65868012d82b38005d161f0000a006322..."} 
[2026-09-10 07:08:23] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:08:23] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763540352,"raw_latitude":97608176,"longitude_deg":76.3540352,"latitude_deg":9.7608176,"altitude":10,"angle":99,"satellites":34,"speed":41,"hex_longitude":"2d82b380","hex_latitude":"05d161f0","is_valid_coordinates":true} 
[2026-09-10 07:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985083904001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130504574153785344,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035417096168474624,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08: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-09-10 07:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004241000,"timestamp_ms":1789004241000,"timestamp_seconds":1789004241,"priority":1,"record_length":96,"hex_timestamp":"000001a088f65868"} 
[2026-09-10 07:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-10 07:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985083904001,"66":13678,"64":206,"85":15104,"24":41,"16":130504574153785344,"45":-9035417096168474624},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985083904001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:08:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130504574153785344,"km_value":130504574153785.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035417096168474624,"description":"Unknown IO ID 45"} 
[2026-09-10 07:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985083904001,"power":13678,"unknown_64":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9035417096168474624}} 
[2026-09-10 07:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:08:23] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:08:23] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:08:36] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:08:36] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:08:36] local.INFO: IMEI packet received {"connection_id":176037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":176037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:08:41] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:08:41] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:08:41] local.INFO: IMEI packet received {"connection_id":176037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":176037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:08:42] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:08:42] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:08:42] local.INFO: Packet analysis {"connection_id":176037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:08:42] local.INFO: Extracted packet for processing {"connection_id":176037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:08:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":176037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:08:42] local.INFO: GPS data processed {"connection_id":176037,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:08:42] local.INFO: Acknowledgment sent {"connection_id":176037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:08:54] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f677a8012d82d7c005d15af00009006322..."} 
[2026-09-10 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f677a8012d82d7c005d15af00009006322..."} 
[2026-09-10 07:08:54] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f677a8012d82d7c005d15af00009006322..."} 
[2026-09-10 07:08:54] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:08:54] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763549632,"raw_latitude":97606384,"longitude_deg":76.3549632,"latitude_deg":9.7606384,"altitude":9,"angle":99,"satellites":34,"speed":50,"hex_longitude":"2d82d7c0","hex_latitude":"05d15af0","is_valid_coordinates":true} 
[2026-09-10 07:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985085696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130505025125351424,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028732065471664128,"note":"Value kept but may cause issues"} 
[2026-09-10 07:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789004249000,"timestamp_ms":1789004249000,"timestamp_seconds":1789004249,"priority":1,"record_length":96,"hex_timestamp":"000001a088f677a8"} 
[2026-09-10 07:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:08: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":110,"data_length":795,"current_offset":136} 
[2026-09-10 07:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985085696001,"66":13820,"64":206,"85":15104,"24":50,"16":130505025125351424,"45":-9028732065471664128},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985085696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:08:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130505025125351424,"km_value":130505025125351.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028732065471664128,"description":"Unknown IO ID 45"} 
[2026-09-10 07:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985085696001,"power":13820,"unknown_64":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9028732065471664128}} 
[2026-09-10 07:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:08:54] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:08:54] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:09:13] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:13] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:13] local.INFO: Packet analysis {"connection_id":176037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:09:13] local.INFO: Extracted packet for processing {"connection_id":176037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:09: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-09-10 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:09:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":176037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:09:13] local.INFO: GPS data processed {"connection_id":176037,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:09:13] local.INFO: Acknowledgment sent {"connection_id":176037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:09:18] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:09:18] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:09:18] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:09:22] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:09:22] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:09:22] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:09:23] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f69300012d82fc8005d15798000a005c23..."} 
[2026-09-10 07:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f69300012d82fc8005d15798000a005c23..."} 
[2026-09-10 07:09:23] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f69300012d82fc8005d15798000a005c23..."} 
[2026-09-10 07:09:23] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:09:23] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763559040,"raw_latitude":97605528,"longitude_deg":76.355904,"latitude_deg":9.7605528,"altitude":10,"angle":92,"satellites":35,"speed":53,"hex_longitude":"2d82fc80","hex_latitude":"05d15798","is_valid_coordinates":true} 
[2026-09-10 07:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985087744001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130505476096917504,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018528597566361600,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09: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-09-10 07:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004256000,"timestamp_ms":1789004256000,"timestamp_seconds":1789004256,"priority":1,"record_length":96,"hex_timestamp":"000001a088f69300"} 
[2026-09-10 07:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 07:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985087744001,"66":13928,"64":206,"85":15104,"24":53,"16":130505476096917504,"45":-9018528597566361600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985087744001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:09:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130505476096917504,"km_value":130505476096917.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018528597566361600,"description":"Unknown IO ID 45"} 
[2026-09-10 07:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985087744001,"power":13928,"unknown_64":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9018528597566361600}} 
[2026-09-10 07:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:09:23] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:09:23] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:09:41] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:09:41] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:09:41] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:09:46] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:09:46] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:09:46] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:09:47] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:47] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:47] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:09:47] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:09:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:09:47] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:09:47] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:09:52] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:52] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:09:52] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:09:52] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:09:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:09:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:09:52] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:09:52] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:09:54] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f6b240012d83204005d15550000b005a23..."} 
[2026-09-10 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f6b240012d83204005d15550000b005a23..."} 
[2026-09-10 07:09:54] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f6b240012d83204005d15550000b005a23..."} 
[2026-09-10 07:09:54] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:09:54] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763568192,"raw_latitude":97604944,"longitude_deg":76.3568192,"latitude_deg":9.7604944,"altitude":11,"angle":90,"satellites":35,"speed":40,"hex_longitude":"2d832040","hex_latitude":"05d15550","is_valid_coordinates":true} 
[2026-09-10 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985089536001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130505914183581696,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9008184392172464128,"note":"Value kept but may cause issues"} 
[2026-09-10 07:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789004264000,"timestamp_ms":1789004264000,"timestamp_seconds":1789004264,"priority":1,"record_length":96,"hex_timestamp":"000001a088f6b240"} 
[2026-09-10 07:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 07:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985089536001,"66":13765,"64":206,"85":15104,"24":40,"16":130505914183581696,"45":-9008184392172464128},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985089536001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:09:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130505914183581696,"km_value":130505914183581.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9008184392172464128,"description":"Unknown IO ID 45"} 
[2026-09-10 07:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985089536001,"power":13765,"unknown_64":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9008184392172464128}} 
[2026-09-10 07:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:09:54] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:09:54] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:10:17] local.INFO: TCP Data received {"connection_id":178817,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:10:17] local.INFO: Processing buffer {"connection_id":178817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:10:17] local.INFO: IMEI packet received {"connection_id":178817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":178817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:10:23] local.INFO: TCP Data received {"connection_id":178817,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:10:23] local.INFO: Processing buffer {"connection_id":178817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:10:23] local.INFO: IMEI packet received {"connection_id":178817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":178817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:10:23] local.INFO: TCP Data received {"connection_id":178817,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f6cd98012d83338005d153680009007423..."} 
[2026-09-10 07:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f6cd98012d83338005d153680009007423..."} 
[2026-09-10 07:10:23] local.INFO: Processing buffer {"connection_id":178817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f6cd98012d83338005d153680009007423..."} 
[2026-09-10 07:10:23] local.INFO: Packet analysis {"connection_id":178817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:10:23] local.INFO: Extracted packet for processing {"connection_id":178817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604456,"longitude_deg":76.357312,"latitude_deg":9.7604456,"altitude":9,"angle":116,"satellites":35,"speed":15,"hex_longitude":"2d833380","hex_latitude":"05d15368","is_valid_coordinates":true} 
[2026-09-10 07:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985091584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130506154701750272,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8998121661755207680,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10: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-09-10 07:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004271000,"timestamp_ms":1789004271000,"timestamp_seconds":1789004271,"priority":1,"record_length":96,"hex_timestamp":"000001a088f6cd98"} 
[2026-09-10 07:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 07:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985091584001,"66":13493,"64":206,"85":15104,"24":15,"16":130506154701750272,"45":-8998121661755207680},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985091584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:10:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130506154701750272,"km_value":130506154701750.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8998121661755207680,"description":"Unknown IO ID 45"} 
[2026-09-10 07:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985091584001,"power":13493,"unknown_64":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-8998121661755207680}} 
[2026-09-10 07:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":178817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:10:23] local.INFO: GPS data processed {"connection_id":178817,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:10:23] local.INFO: Acknowledgment sent {"connection_id":178817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:10:36] local.INFO: TCP Data received {"connection_id":177441,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:10:36] local.INFO: Processing buffer {"connection_id":177441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:10:36] local.INFO: IMEI packet received {"connection_id":177441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":177441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:10:41] local.INFO: TCP Data received {"connection_id":177441,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:10:41] local.INFO: Processing buffer {"connection_id":177441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:10:41] local.INFO: IMEI packet received {"connection_id":177441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":177441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:10:42] local.INFO: TCP Data received {"connection_id":177441,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:10:42] local.INFO: Processing buffer {"connection_id":177441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:10:42] local.INFO: Packet analysis {"connection_id":177441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:10:42] local.INFO: Extracted packet for processing {"connection_id":177441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:10:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":177441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:10:42] local.INFO: GPS data processed {"connection_id":177441,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:10:42] local.INFO: Acknowledgment sent {"connection_id":177441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:10:54] local.INFO: TCP Data received {"connection_id":178817,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f6d180012d8334c005d152700009008923..."} 
[2026-09-10 07:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f6d180012d8334c005d152700009008923..."} 
[2026-09-10 07:10:54] local.INFO: Processing buffer {"connection_id":178817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f6d180012d8334c005d152700009008923..."} 
[2026-09-10 07:10:54] local.INFO: Packet analysis {"connection_id":178817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:10:54] local.INFO: Extracted packet for processing {"connection_id":178817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604208,"longitude_deg":76.357344,"latitude_deg":9.7604208,"altitude":9,"angle":137,"satellites":35,"speed":14,"hex_longitude":"2d8334c0","hex_latitude":"05d15270","is_valid_coordinates":true} 
[2026-09-10 07:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985093376001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130506171881619456,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453652480,"note":"Value kept but may cause issues"} 
[2026-09-10 07:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789004272000,"timestamp_ms":1789004272000,"timestamp_seconds":1789004272,"priority":1,"record_length":96,"hex_timestamp":"000001a088f6d180"} 
[2026-09-10 07:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 07:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985093376001,"66":13798,"64":206,"85":15104,"24":14,"16":130506171881619456,"45":-8992703268453652480},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985093376001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:10:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130506171881619456,"km_value":130506171881619.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453652480,"description":"Unknown IO ID 45"} 
[2026-09-10 07:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985093376001,"power":13798,"unknown_64":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-8992703268453652480}} 
[2026-09-10 07:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":178817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:10:54] local.INFO: GPS data processed {"connection_id":178817,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:10:54] local.INFO: Acknowledgment sent {"connection_id":178817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:11:13] local.INFO: TCP Data received {"connection_id":177441,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:11:13] local.INFO: Processing buffer {"connection_id":177441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f523d0012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:11:13] local.INFO: Packet analysis {"connection_id":177441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:11:13] local.INFO: Extracted packet for processing {"connection_id":177441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f5"} 
[2026-09-10 07:11:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457984988416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789004162000,"timestamp_ms":1789004162000,"timestamp_seconds":1789004162,"priority":1,"record_length":96,"hex_timestamp":"000001a088f523d0"} 
[2026-09-10 07:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:11: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-09-10 07:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457984988416001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457984988416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:11:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457984988416001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":177441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:11:13] local.INFO: GPS data processed {"connection_id":177441,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:11:13] local.INFO: Acknowledgment sent {"connection_id":177441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:11:23] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:11:23] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:11:23] local.INFO: IMEI packet received {"connection_id":176039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":176039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:11:27] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:11:27] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:11:27] local.INFO: IMEI packet received {"connection_id":176039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":176039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:11:28] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f6d568012d83350005d15150000800a023..."} 
[2026-09-10 07:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f6d568012d83350005d15150000800a023..."} 
[2026-09-10 07:11:28] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f6d568012d83350005d15150000800a023..."} 
[2026-09-10 07:11:28] local.INFO: Packet analysis {"connection_id":176039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:11:28] local.INFO: Extracted packet for processing {"connection_id":176039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f6"} 
[2026-09-10 07:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763573504,"raw_latitude":97603920,"longitude_deg":76.3573504,"latitude_deg":9.760392,"altitude":8,"angle":160,"satellites":35,"speed":12,"hex_longitude":"2d833500","hex_latitude":"05d15150","is_valid_coordinates":true} 
[2026-09-10 07:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985093632001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130506189061488640,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992351424732827648,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789004273000,"timestamp_ms":1789004273000,"timestamp_seconds":1789004273,"priority":1,"record_length":96,"hex_timestamp":"000001a088f6d568"} 
[2026-09-10 07:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 07:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985093632001,"66":13798,"64":206,"85":15104,"24":12,"16":130506189061488640,"45":-8992351424732827648},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985093632001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:11:28] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130506189061488640,"km_value":130506189061488.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992351424732827648,"description":"Unknown IO ID 45"} 
[2026-09-10 07:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985093632001,"power":13798,"unknown_64":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-8992351424732827648}} 
[2026-09-10 07:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":176039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:11:28] local.INFO: GPS data processed {"connection_id":176039,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:11:28] local.INFO: Acknowledgment sent {"connection_id":176039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:11:33] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f70448012d8334c005d151e80008000023..."} 
[2026-09-10 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f70448012d8334c005d151e80008000023..."} 
[2026-09-10 07:11:33] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f70448012d8334c005d151e80008000023..."} 
[2026-09-10 07:11:33] local.INFO: Packet analysis {"connection_id":176039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f7"} 
[2026-09-10 07:11:33] local.INFO: Extracted packet for processing {"connection_id":176039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f7"} 
[2026-09-10 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604072,"longitude_deg":76.357344,"latitude_deg":9.7604072,"altitude":8,"angle":0,"satellites":35,"speed":4,"hex_longitude":"2d8334c0","hex_latitude":"05d151e8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985093888001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130506236306128896,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992281055988723712,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11: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-09-10 07:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789004285000,"timestamp_ms":1789004285000,"timestamp_seconds":1789004285,"priority":1,"record_length":96,"hex_timestamp":"000001a088f70448"} 
[2026-09-10 07:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 07:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985093888001,"66":13472,"64":206,"85":15104,"24":4,"16":130506236306128896,"45":-8992281055988723712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985093888001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:11:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130506236306128896,"km_value":130506236306128.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992281055988723712,"description":"Unknown IO ID 45"} 
[2026-09-10 07:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985093888001,"power":13472,"unknown_64":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-8992281055988723712}} 
[2026-09-10 07:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":176039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:11:33] local.INFO: GPS data processed {"connection_id":176039,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:11:33] local.INFO: Acknowledgment sent {"connection_id":176039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:11:36] local.INFO: TCP Data received {"connection_id":177442,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:11:36] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:11:36] local.INFO: IMEI packet received {"connection_id":177442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":177442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:11:41] local.INFO: TCP Data received {"connection_id":177442,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:11:41] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:11:41] local.INFO: IMEI packet received {"connection_id":177442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":177442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:11:42] local.INFO: TCP Data received {"connection_id":177442,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:11:42] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:11:42] local.INFO: Packet analysis {"connection_id":177442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:11:42] local.INFO: Extracted packet for processing {"connection_id":177442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:11:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:11: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-09-10 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:11:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":177442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:11:42] local.INFO: GPS data processed {"connection_id":177442,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:11:42] local.INFO: Acknowledgment sent {"connection_id":177442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:12:13] local.INFO: TCP Data received {"connection_id":177442,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:12:13] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:12:13] local.INFO: Packet analysis {"connection_id":177442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:12:13] local.INFO: Extracted packet for processing {"connection_id":177442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:12:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":177442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:12:13] local.INFO: GPS data processed {"connection_id":177442,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:12:13] local.INFO: Acknowledgment sent {"connection_id":177442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:12:14] local.INFO: TCP Data received {"connection_id":178818,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:14] local.INFO: Processing buffer {"connection_id":178818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:14] local.INFO: IMEI packet received {"connection_id":178818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":178818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:12:18] local.INFO: TCP Data received {"connection_id":178818,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:18] local.INFO: Processing buffer {"connection_id":178818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:18] local.INFO: IMEI packet received {"connection_id":178818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":178818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:12:23] local.INFO: TCP Data received {"connection_id":178818,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:23] local.INFO: Processing buffer {"connection_id":178818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:12:23] local.INFO: IMEI packet received {"connection_id":178818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":178818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:12:23] local.INFO: TCP Data received {"connection_id":178818,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f71bb8012d8334c005d153580008016022..."} 
[2026-09-10 07:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f71bb8012d8334c005d153580008016022..."} 
[2026-09-10 07:12:23] local.INFO: Processing buffer {"connection_id":178818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f71bb8012d8334c005d153580008016022..."} 
[2026-09-10 07:12:23] local.INFO: Packet analysis {"connection_id":178818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f7"} 
[2026-09-10 07:12:23] local.INFO: Extracted packet for processing {"connection_id":178818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f7"} 
[2026-09-10 07:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604440,"longitude_deg":76.357344,"latitude_deg":9.760444,"altitude":8,"angle":352,"satellites":34,"speed":0,"hex_longitude":"2d8334c0","hex_latitude":"05d15358","is_valid_coordinates":true} 
[2026-09-10 07:12: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-09-10 07:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985096960001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130506253485998080,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992351424732862464,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12: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-09-10 07:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004291000,"timestamp_ms":1789004291000,"timestamp_seconds":1789004291,"priority":1,"record_length":96,"hex_timestamp":"000001a088f71bb8"} 
[2026-09-10 07:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 07:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985096960001,"66":13917,"64":206,"85":15104,"24":0,"16":130506253485998080,"45":-8992351424732862464},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985096960001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:12:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:12:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130506253485998080,"km_value":130506253485998.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992351424732862464,"description":"Unknown IO ID 45"} 
[2026-09-10 07:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985096960001,"power":13917,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992351424732862464}} 
[2026-09-10 07:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":178818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:12:23] local.INFO: GPS data processed {"connection_id":178818,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:12:23] local.INFO: Acknowledgment sent {"connection_id":178818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:12:36] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:12:36] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:12:36] local.INFO: IMEI packet received {"connection_id":176274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":176274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:12:41] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:12:41] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:12:41] local.INFO: IMEI packet received {"connection_id":176274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":176274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:12:42] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:12:42] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:12:42] local.INFO: Packet analysis {"connection_id":176274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:12:42] local.INFO: Extracted packet for processing {"connection_id":176274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:12:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:12: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-09-10 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07: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-09-10 07:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:12:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":176274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:12:42] local.INFO: GPS data processed {"connection_id":176274,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:12:42] local.INFO: Acknowledgment sent {"connection_id":176274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:12:54] local.INFO: TCP Data received {"connection_id":178818,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088f71bb8012d8334c005d153580008016022..."} 
[2026-09-10 07:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f71bb8012d8334c005d153580008016022..."} 
[2026-09-10 07:12:54] local.INFO: Processing buffer {"connection_id":178818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f71bb8012d8334c005d153580008016022..."} 
[2026-09-10 07:12:54] local.INFO: Packet analysis {"connection_id":178818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f7"} 
[2026-09-10 07:12:54] local.INFO: Extracted packet for processing {"connection_id":178818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f7"} 
[2026-09-10 07:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604440,"longitude_deg":76.357344,"latitude_deg":9.760444,"altitude":8,"angle":352,"satellites":34,"speed":0,"hex_longitude":"2d8334c0","hex_latitude":"05d15358","is_valid_coordinates":true} 
[2026-09-10 07:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985098496001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130506253485998080,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992351424732768256,"note":"Value kept but may cause issues"} 
[2026-09-10 07:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789004291000,"timestamp_ms":1789004291000,"timestamp_seconds":1789004291,"priority":1,"record_length":96,"hex_timestamp":"000001a088f71bb8"} 
[2026-09-10 07:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-10 07:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985098496001,"66":13917,"64":206,"85":15104,"24":0,"16":130506253485998080,"45":-8992351424732768256},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985098496001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:12:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130506253485998080,"km_value":130506253485998.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992351424732768256,"description":"Unknown IO ID 45"} 
[2026-09-10 07:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985098496001,"power":13917,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992351424732768256}} 
[2026-09-10 07:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":178818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:12:54] local.INFO: GPS data processed {"connection_id":178818,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:12:54] local.INFO: Acknowledgment sent {"connection_id":178818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:13:13] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:13:13] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:13:13] local.INFO: Packet analysis {"connection_id":176274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:13:13] local.INFO: Extracted packet for processing {"connection_id":176274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:13:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":176274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:13:13] local.INFO: GPS data processed {"connection_id":176274,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:13:13] local.INFO: Acknowledgment sent {"connection_id":176274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:13:18] local.INFO: TCP Data received {"connection_id":177443,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:18] local.INFO: Processing buffer {"connection_id":177443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:18] local.INFO: IMEI packet received {"connection_id":177443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":177443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:13:18] local.INFO: TCP Data received {"connection_id":177443,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:18] local.INFO: Processing buffer {"connection_id":177443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:18] local.INFO: IMEI packet received {"connection_id":177443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":177443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:13:23] local.INFO: TCP Data received {"connection_id":177443,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:23] local.INFO: Processing buffer {"connection_id":177443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:13:23] local.INFO: IMEI packet received {"connection_id":177443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":177443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:13:23] local.INFO: TCP Data received {"connection_id":177443,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fb84a0012d8295c005d162200009013927..."} 
[2026-09-10 07:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fb84a0012d8295c005d162200009013927..."} 
[2026-09-10 07:13:23] local.INFO: Processing buffer {"connection_id":177443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fb84a0012d8295c005d162200009013927..."} 
[2026-09-10 07:13:23] local.INFO: Packet analysis {"connection_id":177443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:13:23] local.INFO: Extracted packet for processing {"connection_id":177443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97608224,"longitude_deg":76.3532736,"latitude_deg":9.7608224,"altitude":9,"angle":313,"satellites":39,"speed":7,"hex_longitude":"2d8295c0","hex_latitude":"05d16220","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985171968001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130508216286052352,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471052124160,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13: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-09-10 07:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004580000,"timestamp_ms":1789004580000,"timestamp_seconds":1789004580,"priority":1,"record_length":96,"hex_timestamp":"000001a088fb84a0"} 
[2026-09-10 07:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-10 07:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985171968001,"66":13059,"64":206,"85":15104,"24":7,"16":130508216286052352,"45":-9036824471052124160},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985171968001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:13:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130508216286052352,"km_value":130508216286052.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471052124160,"description":"Unknown IO ID 45"} 
[2026-09-10 07:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985171968001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9036824471052124160}} 
[2026-09-10 07:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":177443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:13:23] local.INFO: GPS data processed {"connection_id":177443,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:13:23] local.INFO: Acknowledgment sent {"connection_id":177443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:13:36] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:13:36] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:13:36] local.INFO: IMEI packet received {"connection_id":176275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":176275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:13:41] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:13:41] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:13:41] local.INFO: IMEI packet received {"connection_id":176275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":176275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:13:42] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:13:42] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:13:42] local.INFO: Packet analysis {"connection_id":176275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:13:42] local.INFO: Extracted packet for processing {"connection_id":176275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:13:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:13: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-09-10 07:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:13:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":176275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:13:42] local.INFO: GPS data processed {"connection_id":176275,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:13:42] local.INFO: Acknowledgment sent {"connection_id":176275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:13:54] local.INFO: TCP Data received {"connection_id":177443,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fb8888012d82950005d162e00009014c26..."} 
[2026-09-10 07:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fb8888012d82950005d162e00009014c26..."} 
[2026-09-10 07:13:54] local.INFO: Processing buffer {"connection_id":177443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fb8888012d82950005d162e00009014c26..."} 
[2026-09-10 07:13:54] local.INFO: Packet analysis {"connection_id":177443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:13:54] local.INFO: Extracted packet for processing {"connection_id":177443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97608416,"longitude_deg":76.3532544,"latitude_deg":9.7608416,"altitude":9,"angle":332,"satellites":38,"speed":9,"hex_longitude":"2d829500","hex_latitude":"05d162e0","is_valid_coordinates":true} 
[2026-09-10 07:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985172480001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130508229170954240,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946028793856,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789004581000,"timestamp_ms":1789004581000,"timestamp_seconds":1789004581,"priority":1,"record_length":96,"hex_timestamp":"000001a088fb8888"} 
[2026-09-10 07:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":3,"data_length":795,"current_offset":136} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113134926,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399434,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2298137864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2195947525,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4213628929,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3087084931,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2805465088,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511900160,"note":"Value kept but may cause issues"} 
[2026-09-10 07:13:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,64,85,24,241,157,16,168,160,124,45,192,97,8,39,10,66,109,7,40,70,1,240,197,227,136,209,4,113,205,46,3,239,53,2,207,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-09-10 07:13:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648862660985028608,"timestamp_seconds":648862660985028.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985172480001,"66":13059,"64":206,"85":15104,"24":9,"16":130508229170954240,"45":-9037105946028793856},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985172480001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:13:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130508229170954240,"km_value":130508229170954.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946028793856,"description":"Unknown IO ID 45"} 
[2026-09-10 07:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985172480001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9037105946028793856}} 
[2026-09-10 07:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":177443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:13:54] local.INFO: GPS data processed {"connection_id":177443,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:13:54] local.INFO: Acknowledgment sent {"connection_id":177443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:14:14] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:14] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:14] local.INFO: Packet analysis {"connection_id":176275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:14:14] local.INFO: Extracted packet for processing {"connection_id":176275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:14:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:14:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":176275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:14:14] local.INFO: GPS data processed {"connection_id":176275,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:14:14] local.INFO: Acknowledgment sent {"connection_id":176275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:14:18] local.INFO: TCP Data received {"connection_id":178819,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:14:18] local.INFO: Processing buffer {"connection_id":178819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:14:18] local.INFO: IMEI packet received {"connection_id":178819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":178819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:14:23] local.INFO: TCP Data received {"connection_id":178819,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:14:23] local.INFO: Processing buffer {"connection_id":178819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:14:23] local.INFO: IMEI packet received {"connection_id":178819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":178819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:14:24] local.INFO: TCP Data received {"connection_id":178819,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fb8c70012d8294c005d163e00009016027..."} 
[2026-09-10 07:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fb8c70012d8294c005d163e00009016027..."} 
[2026-09-10 07:14:24] local.INFO: Processing buffer {"connection_id":178819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fb8c70012d8294c005d163e00009016027..."} 
[2026-09-10 07:14:24] local.INFO: Packet analysis {"connection_id":178819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:14:24] local.INFO: Extracted packet for processing {"connection_id":178819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97608672,"longitude_deg":76.353248,"latitude_deg":9.7608672,"altitude":9,"angle":352,"satellites":39,"speed":12,"hex_longitude":"2d8294c0","hex_latitude":"05d163e0","is_valid_coordinates":true} 
[2026-09-10 07:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985172736001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130508242055856128,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052261277696,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14: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-09-10 07:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789004582000,"timestamp_ms":1789004582000,"timestamp_seconds":1789004582,"priority":1,"record_length":96,"hex_timestamp":"000001a088fb8c70"} 
[2026-09-10 07:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303172307438926,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399463,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2298151864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193604613,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2147864919,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4215676929,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3758173570,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2812805120,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:24] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,64,85,24,241,157,16,168,160,132,45,192,98,9,39,10,66,124,97,8,109,1,240,161,227,136,209,4,113,205,42,38,40,239,53,2,207,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-09-10 07:14:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648883547411120128,"timestamp_seconds":648883547411120.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985172736001,"66":13689,"64":206,"85":15104,"24":12,"16":130508242055856128,"45":-9037317052261277696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985172736001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:14:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130508242055856128,"km_value":130508242055856.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052261277696,"description":"Unknown IO ID 45"} 
[2026-09-10 07:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985172736001,"power":13689,"unknown_64":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9037317052261277696}} 
[2026-09-10 07:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":178819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:14:24] local.INFO: GPS data processed {"connection_id":178819,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:14:24] local.INFO: Acknowledgment sent {"connection_id":178819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:14:41] local.INFO: TCP Data received {"connection_id":177444,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:14:41] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:14:41] local.INFO: IMEI packet received {"connection_id":177444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":177444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:14:46] local.INFO: TCP Data received {"connection_id":177444,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:14:46] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:14:46] local.INFO: IMEI packet received {"connection_id":177444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":177444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:14:47] local.INFO: TCP Data received {"connection_id":177444,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:47] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:47] local.INFO: Packet analysis {"connection_id":177444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:14:47] local.INFO: Extracted packet for processing {"connection_id":177444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:14:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:14: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-09-10 07:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:14:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":177444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:14:47] local.INFO: GPS data processed {"connection_id":177444,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:14:47] local.INFO: Acknowledgment sent {"connection_id":177444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:14:52] local.INFO: TCP Data received {"connection_id":177444,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:52] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:14:52] local.INFO: Packet analysis {"connection_id":177444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:14:52] local.INFO: Extracted packet for processing {"connection_id":177444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:14:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":177444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:14:52] local.INFO: GPS data processed {"connection_id":177444,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:14:52] local.INFO: Acknowledgment sent {"connection_id":177444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:14:54] local.INFO: TCP Data received {"connection_id":178819,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fb9058012d8294c005d165380009000226..."} 
[2026-09-10 07:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fb9058012d8294c005d165380009000226..."} 
[2026-09-10 07:14:54] local.INFO: Processing buffer {"connection_id":178819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fb9058012d8294c005d165380009000226..."} 
[2026-09-10 07:14:54] local.INFO: Packet analysis {"connection_id":178819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:14:54] local.INFO: Extracted packet for processing {"connection_id":178819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97609016,"longitude_deg":76.353248,"latitude_deg":9.7609016,"altitude":9,"angle":2,"satellites":38,"speed":15,"hex_longitude":"2d8294c0","hex_latitude":"05d16538","is_valid_coordinates":true} 
[2026-09-10 07:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985172992001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130508259235725312,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387421005389824,"note":"Value kept but may cause issues"} 
[2026-09-10 07:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789004583000,"timestamp_ms":1789004583000,"timestamp_seconds":1789004583,"priority":1,"record_length":96,"hex_timestamp":"000001a088fb9058"} 
[2026-09-10 07:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-10 07:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985172992001,"66":13526,"64":206,"85":15104,"24":15,"16":130508259235725312,"45":-9037387421005389824},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985172992001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:14:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130508259235725312,"km_value":130508259235725.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387421005389824,"description":"Unknown IO ID 45"} 
[2026-09-10 07:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985172992001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9037387421005389824}} 
[2026-09-10 07:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":178819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:14:54] local.INFO: GPS data processed {"connection_id":178819,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:14:54] local.INFO: Acknowledgment sent {"connection_id":178819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:15:18] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:15:18] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:15:18] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:15:23] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:15:23] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:15:23] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:15:23] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fbc708012d82978005d188180007016626..."} 
[2026-09-10 07:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fbc708012d82978005d188180007016626..."} 
[2026-09-10 07:15:23] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fbc708012d82978005d188180007016626..."} 
[2026-09-10 07:15:23] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:15:23] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97617944,"longitude_deg":76.3533184,"latitude_deg":9.7617944,"altitude":7,"angle":358,"satellites":38,"speed":29,"hex_longitude":"2d829780","hex_latitude":"05d18818","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985173248001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130508693027422208,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387421005301760,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15: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-09-10 07:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004597000,"timestamp_ms":1789004597000,"timestamp_seconds":1789004597,"priority":1,"record_length":96,"hex_timestamp":"000001a088fbc708"} 
[2026-09-10 07:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 07:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985173248001,"66":13906,"64":206,"85":15104,"24":29,"16":130508693027422208,"45":-9037387421005301760},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985173248001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:15:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130508693027422208,"km_value":130508693027422.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387421005301760,"description":"Unknown IO ID 45"} 
[2026-09-10 07:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985173248001,"power":13906,"unknown_64":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9037387421005301760}} 
[2026-09-10 07:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:15:23] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:15:23] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:15:38] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:15:38] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:15:38] local.INFO: IMEI packet received {"connection_id":176040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":176040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:15:41] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:15:41] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:15:41] local.INFO: IMEI packet received {"connection_id":176040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":176040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:15:42] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:15:42] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:15:42] local.INFO: Packet analysis {"connection_id":176040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:15:42] local.INFO: Extracted packet for processing {"connection_id":176040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:15: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-09-10 07:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:15:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":176040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:15:42] local.INFO: GPS data processed {"connection_id":176040,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:15:42] local.INFO: Acknowledgment sent {"connection_id":176040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:15:47] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:15:47] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:15:47] local.INFO: Packet analysis {"connection_id":176040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:15:47] local.INFO: Extracted packet for processing {"connection_id":176040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:15:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:15:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":176040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:15:47] local.INFO: GPS data processed {"connection_id":176040,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:15:47] local.INFO: Acknowledgment sent {"connection_id":176040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:15:55] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fbf9d0012d8295c005d1ac100005016727..."} 
[2026-09-10 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fbf9d0012d8295c005d1ac100005016727..."} 
[2026-09-10 07:15:55] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fbf9d0012d8295c005d1ac100005016727..."} 
[2026-09-10 07:15:55] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:15:55] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fb"} 
[2026-09-10 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97627152,"longitude_deg":76.3532736,"latitude_deg":9.7627152,"altitude":5,"angle":359,"satellites":39,"speed":28,"hex_longitude":"2d8295c0","hex_latitude":"05d1ac10","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985176832001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130509139704020992,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364817061888,"note":"Value kept but may cause issues"} 
[2026-09-10 07:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789004610000,"timestamp_ms":1789004610000,"timestamp_seconds":1789004610,"priority":1,"record_length":96,"hex_timestamp":"000001a088fbf9d0"} 
[2026-09-10 07:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 07:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985176832001,"66":13678,"64":206,"85":15104,"24":28,"16":130509139704020992,"45":-9036613364817061888},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-10 07:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985176832001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:15:55] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-10 07:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130509139704020992,"km_value":130509139704020.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364817061888,"description":"Unknown IO ID 45"} 
[2026-09-10 07:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985176832001,"power":13678,"unknown_64":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9036613364817061888}} 
[2026-09-10 07:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:15:55] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:15:55] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:16:17] local.INFO: TCP Data received {"connection_id":178820,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:17] local.INFO: Processing buffer {"connection_id":178820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:17] local.INFO: IMEI packet received {"connection_id":178820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":178820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:16:18] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:16:18] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:16:18] local.INFO: Packet analysis {"connection_id":176040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:16:18] local.INFO: Extracted packet for processing {"connection_id":176040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:16:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:16:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":176040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:16:18] local.INFO: GPS data processed {"connection_id":176040,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:16:18] local.INFO: Acknowledgment sent {"connection_id":176040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:16:21] local.INFO: TCP Data received {"connection_id":178820,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:21] local.INFO: Processing buffer {"connection_id":178820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:21] local.INFO: IMEI packet received {"connection_id":178820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":178820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:16:22] local.INFO: TCP Data received {"connection_id":178820,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:22] local.INFO: Processing buffer {"connection_id":178820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:16:22] local.INFO: IMEI packet received {"connection_id":178820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":178820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:16:23] local.INFO: TCP Data received {"connection_id":178820,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe10f8012d828ac005d2d5500006015d28..."} 
[2026-09-10 07:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe10f8012d828ac005d2d5500006015d28..."} 
[2026-09-10 07:16:23] local.INFO: Processing buffer {"connection_id":178820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe10f8012d828ac005d2d5500006015d28..."} 
[2026-09-10 07:16:23] local.INFO: Packet analysis {"connection_id":178820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:16:23] local.INFO: Extracted packet for processing {"connection_id":178820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:16:23] local.INFO: GPS Element Parsed {"raw_longitude":763529920,"raw_latitude":97703248,"longitude_deg":76.352992,"latitude_deg":9.7703248,"altitude":6,"angle":349,"satellites":40,"speed":29,"hex_longitude":"2d828ac0","hex_latitude":"05d2d550","is_valid_coordinates":true} 
[2026-09-10 07:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985212160001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130512850555764736,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038724427122931712,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004747000,"timestamp_ms":1789004747000,"timestamp_seconds":1789004747,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe10f8"} 
[2026-09-10 07:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 07:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985212160001,"66":13678,"68":206,"85":15104,"24":29,"16":130512850555764736,"45":-9038724427122931712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 07:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985212160001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:16:23] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 07:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130512850555764736,"km_value":130512850555764.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038724427122931712,"description":"Unknown IO ID 45"} 
[2026-09-10 07:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985212160001,"power":13678,"unknown_68":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9038724427122931712}} 
[2026-09-10 07:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":178820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:16:23] local.INFO: GPS data processed {"connection_id":178820,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:16:23] local.INFO: Acknowledgment sent {"connection_id":178820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:16:28] local.INFO: TCP Data received {"connection_id":178820,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe43c0012d82848005d2f9000005015927..."} 
[2026-09-10 07:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe43c0012d82848005d2f9000005015927..."} 
[2026-09-10 07:16:28] local.INFO: Processing buffer {"connection_id":178820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe43c0012d82848005d2f9000005015927..."} 
[2026-09-10 07:16:28] local.INFO: Packet analysis {"connection_id":178820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:16:28] local.INFO: Extracted packet for processing {"connection_id":178820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":97712384,"longitude_deg":76.352832,"latitude_deg":9.7712384,"altitude":5,"angle":345,"satellites":39,"speed":27,"hex_longitude":"2d828480","hex_latitude":"05d2f900","is_valid_coordinates":true} 
[2026-09-10 07:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985215232001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130513301527330816,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040202170748284928,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789004760000,"timestamp_ms":1789004760000,"timestamp_seconds":1789004760,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe43c0"} 
[2026-09-10 07:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 07:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985215232001,"66":13646,"68":206,"85":15104,"24":27,"16":130513301527330816,"45":-9040202170748284928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 07:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985215232001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:16:28] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 07:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130513301527330816,"km_value":130513301527330.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040202170748284928,"description":"Unknown IO ID 45"} 
[2026-09-10 07:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985215232001,"power":13646,"unknown_68":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9040202170748284928}} 
[2026-09-10 07:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":178820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:16:28] local.INFO: GPS data processed {"connection_id":178820,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:16:28] local.INFO: Acknowledgment sent {"connection_id":178820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:16:37] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:16:37] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:16:37] local.INFO: IMEI packet received {"connection_id":176277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":176277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:16:41] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:16:41] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:16:41] local.INFO: IMEI packet received {"connection_id":176277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":176277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:16:42] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:16:42] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088f9bb98012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:16:42] local.INFO: Packet analysis {"connection_id":176277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:16:42] local.INFO: Extracted packet for processing {"connection_id":176277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088f9"} 
[2026-09-10 07:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985065472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004463000,"timestamp_ms":1789004463000,"timestamp_seconds":1789004463,"priority":1,"record_length":96,"hex_timestamp":"000001a088f9bb98"} 
[2026-09-10 07:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:16: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-09-10 07:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07: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-09-10 07:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985065472001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985065472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985065472001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":176277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:16:42] local.INFO: GPS data processed {"connection_id":176277,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:16:42] local.INFO: Acknowledgment sent {"connection_id":176277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:16:59] local.INFO: TCP Data received {"connection_id":178820,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5b30012d82820005d30a400004016626..."} 
[2026-09-10 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5b30012d82820005d30a400004016626..."} 
[2026-09-10 07:16:59] local.INFO: Processing buffer {"connection_id":178820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5b30012d82820005d30a400004016626..."} 
[2026-09-10 07:16:59] local.INFO: Packet analysis {"connection_id":178820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:16:59] local.INFO: Extracted packet for processing {"connection_id":178820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97716800,"longitude_deg":76.352768,"latitude_deg":9.77168,"altitude":4,"angle":358,"satellites":38,"speed":29,"hex_longitude":"2d828200","hex_latitude":"05d30a40","is_valid_coordinates":true} 
[2026-09-10 07:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985218560001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130513516275695616,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389350387712,"note":"Value kept but may cause issues"} 
[2026-09-10 07:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789004766000,"timestamp_ms":1789004766000,"timestamp_seconds":1789004766,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5b30"} 
[2026-09-10 07:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:16: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-09-10 07:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 07:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985218560001,"66":13798,"68":206,"85":15104,"24":29,"16":130513516275695616,"45":-9041961389350387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 07:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985218560001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:16:59] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 07:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130513516275695616,"km_value":130513516275695.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389350387712,"description":"Unknown IO ID 45"} 
[2026-09-10 07:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985218560001,"power":13798,"unknown_68":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9041961389350387712}} 
[2026-09-10 07:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":178820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:16:59] local.INFO: GPS data processed {"connection_id":178820,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:16:59] local.INFO: Acknowledgment sent {"connection_id":178820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:17:14] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:17:14] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:17:14] local.INFO: Packet analysis {"connection_id":176277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:14] local.INFO: Extracted packet for processing {"connection_id":176277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:17: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-09-10 07:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:17:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":176277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:17:14] local.INFO: GPS data processed {"connection_id":176277,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:17:14] local.INFO: Acknowledgment sent {"connection_id":176277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:17:17] local.INFO: TCP Data received {"connection_id":177445,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:17] local.INFO: Processing buffer {"connection_id":177445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:17] local.INFO: IMEI packet received {"connection_id":177445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":177445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:17:21] local.INFO: TCP Data received {"connection_id":177445,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:21] local.INFO: Processing buffer {"connection_id":177445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:21] local.INFO: IMEI packet received {"connection_id":177445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":177445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:17:21] local.INFO: TCP Data received {"connection_id":177445,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:21] local.INFO: Processing buffer {"connection_id":177445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:21] local.INFO: IMEI packet received {"connection_id":177445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":177445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:17:24] local.INFO: TCP Data received {"connection_id":177445,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:24] local.INFO: Processing buffer {"connection_id":177445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:17:24] local.INFO: IMEI packet received {"connection_id":177445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":177445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:17:24] local.INFO: TCP Data received {"connection_id":177445,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe8df8012d82824005d32f480005016427..."} 
[2026-09-10 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe8df8012d82824005d32f480005016427..."} 
[2026-09-10 07:17:24] local.INFO: Processing buffer {"connection_id":177445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe8df8012d82824005d32f480005016427..."} 
[2026-09-10 07:17:24] local.INFO: Packet analysis {"connection_id":177445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:24] local.INFO: Extracted packet for processing {"connection_id":177445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763527744,"raw_latitude":97726280,"longitude_deg":76.3527744,"latitude_deg":9.772628,"altitude":5,"angle":356,"satellites":39,"speed":23,"hex_longitude":"2d828240","hex_latitude":"05d32f48","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985220096001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130513975837196288,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076791033856,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789004779000,"timestamp_ms":1789004779000,"timestamp_seconds":1789004779,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe8df8"} 
[2026-09-10 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-09-10 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 07:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 07:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985220096001,"66":13646,"68":206,"85":15104,"24":23,"16":130513975837196288,"45":-9042665076791033856},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 07:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985220096001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:17:24] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 07:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130513975837196288,"km_value":130513975837196.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076791033856,"description":"Unknown IO ID 45"} 
[2026-09-10 07:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985220096001,"power":13646,"unknown_68":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9042665076791033856}} 
[2026-09-10 07:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":177445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:17:24] local.INFO: GPS data processed {"connection_id":177445,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:17:24] local.INFO: Acknowledgment sent {"connection_id":177445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:17:29] local.INFO: TCP Data received {"connection_id":177445,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fecc78012d8280c005d349a00006015227..."} 
[2026-09-10 07:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fecc78012d8280c005d349a00006015227..."} 
[2026-09-10 07:17:29] local.INFO: Processing buffer {"connection_id":177445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fecc78012d8280c005d349a00006015227..."} 
[2026-09-10 07:17:29] local.INFO: Packet analysis {"connection_id":177445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:29] local.INFO: Extracted packet for processing {"connection_id":177445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":97733024,"longitude_deg":76.352736,"latitude_deg":9.7733024,"altitude":6,"angle":338,"satellites":39,"speed":5,"hex_longitude":"2d8280c0","hex_latitude":"05d349a0","is_valid_coordinates":true} 
[2026-09-10 07:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985223424001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130514306549678080,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042594708044429312,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789004795000,"timestamp_ms":1789004795000,"timestamp_seconds":1789004795,"priority":1,"record_length":96,"hex_timestamp":"000001a088fecc78"} 
[2026-09-10 07:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 07:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985223424001,"66":13559,"68":206,"85":15104,"24":5,"16":130514306549678080,"45":-9042594708044429312},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 07:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985223424001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:17:29] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 07:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130514306549678080,"km_value":130514306549678.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042594708044429312,"description":"Unknown IO ID 45"} 
[2026-09-10 07:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985223424001,"power":13559,"unknown_68":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9042594708044429312}} 
[2026-09-10 07:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":177445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:17:29] local.INFO: GPS data processed {"connection_id":177445,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:17:29] local.INFO: Acknowledgment sent {"connection_id":177445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:17:36] local.INFO: TCP Data received {"connection_id":176278,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:17:36] local.INFO: Processing buffer {"connection_id":176278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:17:36] local.INFO: IMEI packet received {"connection_id":176278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":176278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:17:41] local.INFO: TCP Data received {"connection_id":176278,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:17:41] local.INFO: Processing buffer {"connection_id":176278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:17:41] local.INFO: IMEI packet received {"connection_id":176278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":176278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:17:42] local.INFO: TCP Data received {"connection_id":176278,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:17:42] local.INFO: Processing buffer {"connection_id":176278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:17:42] local.INFO: Packet analysis {"connection_id":176278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:42] local.INFO: Extracted packet for processing {"connection_id":176278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":176278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:17:42] local.INFO: GPS data processed {"connection_id":176278,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:17:42] local.INFO: Acknowledgment sent {"connection_id":176278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:18:00] local.INFO: TCP Data received {"connection_id":177445,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a088fee000012d827f0005d34a980005010628..."} 
[2026-09-10 07:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fee000012d827f0005d34a980005010628..."} 
[2026-09-10 07:18:00] local.INFO: Processing buffer {"connection_id":177445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fee000012d827f0005d34a980005010628..."} 
[2026-09-10 07:18:00] local.INFO: Packet analysis {"connection_id":177445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:18:00] local.INFO: Extracted packet for processing {"connection_id":177445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763526912,"raw_latitude":97733272,"longitude_deg":76.3526912,"latitude_deg":9.7733272,"altitude":5,"angle":262,"satellites":40,"speed":7,"hex_longitude":"2d827f00","hex_latitude":"05d34a98","is_valid_coordinates":true} 
[2026-09-10 07:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985227520001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130514332319481856,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920507768832,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789004800000,"timestamp_ms":1789004800000,"timestamp_seconds":1789004800,"priority":1,"record_length":96,"hex_timestamp":"000001a088fee000"} 
[2026-09-10 07:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:18: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-09-10 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 07:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985227520001,"66":13624,"68":206,"85":15104,"24":7,"16":130514332319481856,"45":-9043016920507768832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 07:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985227520001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:18:00] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 07:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130514332319481856,"km_value":130514332319481.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920507768832,"description":"Unknown IO ID 45"} 
[2026-09-10 07:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985227520001,"power":13624,"unknown_68":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9043016920507768832}} 
[2026-09-10 07:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":177445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:18:00] local.INFO: GPS data processed {"connection_id":177445,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:18:00] local.INFO: Acknowledgment sent {"connection_id":177445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:18:13] local.INFO: TCP Data received {"connection_id":176278,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:18:13] local.INFO: Processing buffer {"connection_id":176278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:18:13] local.INFO: Packet analysis {"connection_id":176278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:18:13] local.INFO: Extracted packet for processing {"connection_id":176278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:18:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07: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-09-10 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:18: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-09-10 07:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:18:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":176278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:18:13] local.INFO: GPS data processed {"connection_id":176278,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:18:13] local.INFO: Acknowledgment sent {"connection_id":176278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:18:21] local.INFO: TCP Data received {"connection_id":176041,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:21] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:21] local.INFO: IMEI packet received {"connection_id":176041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":176041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:18:22] local.INFO: TCP Data received {"connection_id":176041,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:22] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:22] local.INFO: IMEI packet received {"connection_id":176041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":176041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:18:28] local.INFO: TCP Data received {"connection_id":176041,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:28] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:18:28] local.INFO: IMEI packet received {"connection_id":176041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":176041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:18:28] local.INFO: TCP Data received {"connection_id":176041,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089002050012d81c20005d36ce80000016327..."} 
[2026-09-10 07:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089002050012d81c20005d36ce80000016327..."} 
[2026-09-10 07:18:28] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089002050012d81c20005d36ce80000016327..."} 
[2026-09-10 07:18:28] local.INFO: Packet analysis {"connection_id":176041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:18:28] local.INFO: Extracted packet for processing {"connection_id":176041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763478528,"raw_latitude":97742056,"longitude_deg":76.3478528,"latitude_deg":9.7742056,"altitude":0,"angle":355,"satellites":39,"speed":31,"hex_longitude":"2d81c200","hex_latitude":"05d36ce8","is_valid_coordinates":true} 
[2026-09-10 07:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985246720001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130517102573387776,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095793478640982016,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789004882000,"timestamp_ms":1789004882000,"timestamp_seconds":1789004882,"priority":1,"record_length":96,"hex_timestamp":"000001a089002050"} 
[2026-09-10 07:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 07:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985246720001,"66":13602,"207":206,"85":15104,"24":31,"16":130517102573387776,"45":-9095793478640982016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 07:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985246720001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:18:28] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 07:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130517102573387776,"km_value":130517102573387.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095793478640982016,"description":"Unknown IO ID 45"} 
[2026-09-10 07:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985246720001,"power":13602,"unknown_207":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9095793478640982016}} 
[2026-09-10 07:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":176041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:18:28] local.INFO: GPS data processed {"connection_id":176041,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:18:28] local.INFO: Acknowledgment sent {"connection_id":176041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:18:29] local.INFO: TCP Data received {"connection_id":176041,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890033d8012d81c08005d37a380000015127..."} 
[2026-09-10 07:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890033d8012d81c08005d37a380000015127..."} 
[2026-09-10 07:18:29] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890033d8012d81c08005d37a380000015127..."} 
[2026-09-10 07:18:29] local.INFO: Packet analysis {"connection_id":176041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:18:29] local.INFO: Extracted packet for processing {"connection_id":176041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763478144,"raw_latitude":97745464,"longitude_deg":76.3478144,"latitude_deg":9.7745464,"altitude":0,"angle":337,"satellites":39,"speed":24,"hex_longitude":"2d81c080","hex_latitude":"05d37a38","is_valid_coordinates":true} 
[2026-09-10 07:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985249792001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130517270077112320,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096708272313014272,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789004887000,"timestamp_ms":1789004887000,"timestamp_seconds":1789004887,"priority":1,"record_length":96,"hex_timestamp":"000001a0890033d8"} 
[2026-09-10 07:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 07:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985249792001,"66":13646,"207":206,"85":15104,"24":24,"16":130517270077112320,"45":-9096708272313014272},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 07:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985249792001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:18:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 07:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130517270077112320,"km_value":130517270077112.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096708272313014272,"description":"Unknown IO ID 45"} 
[2026-09-10 07:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985249792001,"power":13646,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9096708272313014272}} 
[2026-09-10 07:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":176041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:18:29] local.INFO: GPS data processed {"connection_id":176041,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:18:29] local.INFO: Acknowledgment sent {"connection_id":176041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:18:36] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:18:36] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:18:36] local.INFO: IMEI packet received {"connection_id":176279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":176279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:18:41] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:18:41] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:18:41] local.INFO: IMEI packet received {"connection_id":176279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":176279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:18:42] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:18:42] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:18:42] local.INFO: Packet analysis {"connection_id":176279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:18:42] local.INFO: Extracted packet for processing {"connection_id":176279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":176279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:18:42] local.INFO: GPS data processed {"connection_id":176279,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:18:42] local.INFO: Acknowledgment sent {"connection_id":176279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:19:00] local.INFO: TCP Data received {"connection_id":176041,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08900d018012d81a48005d3f2380000001628..."} 
[2026-09-10 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08900d018012d81a48005d3f2380000001628..."} 
[2026-09-10 07:19:00] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08900d018012d81a48005d3f2380000001628..."} 
[2026-09-10 07:19:00] local.INFO: Packet analysis {"connection_id":176041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:19:00] local.INFO: Extracted packet for processing {"connection_id":176041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763470976,"raw_latitude":97776184,"longitude_deg":76.3470976,"latitude_deg":9.7776184,"altitude":0,"angle":22,"satellites":40,"speed":34,"hex_longitude":"2d81a480","hex_latitude":"05d3f238","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985260800001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130518884984815616,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105504365326876672,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789004927000,"timestamp_ms":1789004927000,"timestamp_seconds":1789004927,"priority":1,"record_length":96,"hex_timestamp":"000001a08900d018"} 
[2026-09-10 07:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-10 07:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985260800001,"66":13624,"207":206,"85":15104,"24":34,"16":130518884984815616,"45":-9105504365326876672},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 07:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985260800001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:19:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 07:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130518884984815616,"km_value":130518884984815.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105504365326876672,"description":"Unknown IO ID 45"} 
[2026-09-10 07:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985260800001,"power":13624,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9105504365326876672}} 
[2026-09-10 07:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":176041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:19:00] local.INFO: GPS data processed {"connection_id":176041,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:19:00] local.INFO: Acknowledgment sent {"connection_id":176041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:19:13] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:13] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:13] local.INFO: Packet analysis {"connection_id":176279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:19:13] local.INFO: Extracted packet for processing {"connection_id":176279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:19: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-09-10 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:19: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-09-10 07: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-09-10 07:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:19:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":176279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:19:13] local.INFO: GPS data processed {"connection_id":176279,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:19:13] local.INFO: Acknowledgment sent {"connection_id":176279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:19:16] local.INFO: TCP Data received {"connection_id":177446,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:16] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:16] local.INFO: IMEI packet received {"connection_id":177446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":177446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:19:17] local.INFO: TCP Data received {"connection_id":177446,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:17] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:17] local.INFO: IMEI packet received {"connection_id":177446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":177446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:19:23] local.INFO: TCP Data received {"connection_id":177446,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:23] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:19:23] local.INFO: IMEI packet received {"connection_id":177446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":177446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:19:23] local.INFO: TCP Data received {"connection_id":177446,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08900e3a0012d81aac005d401280000000628..."} 
[2026-09-10 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08900e3a0012d81aac005d401280000000628..."} 
[2026-09-10 07:19:23] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08900e3a0012d81aac005d401280000000628..."} 
[2026-09-10 07:19:23] local.INFO: Packet analysis {"connection_id":177446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:19:23] local.INFO: Extracted packet for processing {"connection_id":177446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08900"} 
[2026-09-10 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763472576,"raw_latitude":97780008,"longitude_deg":76.3472576,"latitude_deg":9.7780008,"altitude":0,"angle":6,"satellites":40,"speed":32,"hex_longitude":"2d81aac0","hex_latitude":"05d40128","is_valid_coordinates":true} 
[2026-09-10 07:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985261312001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130519086848278528,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105011784117241856,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004932000,"timestamp_ms":1789004932000,"timestamp_seconds":1789004932,"priority":1,"record_length":96,"hex_timestamp":"000001a08900e3a0"} 
[2026-09-10 07:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 07:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985261312001,"66":13580,"207":206,"85":15104,"24":32,"16":130519086848278528,"45":-9105011784117241856},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 07:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985261312001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:19:23] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 07:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130519086848278528,"km_value":130519086848278.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105011784117241856,"description":"Unknown IO ID 45"} 
[2026-09-10 07:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985261312001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9105011784117241856}} 
[2026-09-10 07:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":177446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:19:23] local.INFO: GPS data processed {"connection_id":177446,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:19:23] local.INFO: Acknowledgment sent {"connection_id":177446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:19:41] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:19:41] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:19:41] local.INFO: IMEI packet received {"connection_id":176042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":176042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:19:46] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:19:46] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:19:46] local.INFO: IMEI packet received {"connection_id":176042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":176042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:19:47] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:47] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:47] local.INFO: Packet analysis {"connection_id":176042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:19:47] local.INFO: Extracted packet for processing {"connection_id":176042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:19:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:19:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":176042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:19:47] local.INFO: GPS data processed {"connection_id":176042,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:19:47] local.INFO: Acknowledgment sent {"connection_id":176042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:19:52] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:52] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:19:52] local.INFO: Packet analysis {"connection_id":176042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:19:52] local.INFO: Extracted packet for processing {"connection_id":176042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:19:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:19:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":176042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:19:52] local.INFO: GPS data processed {"connection_id":176042,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:19:52] local.INFO: Acknowledgment sent {"connection_id":176042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:19:54] local.INFO: TCP Data received {"connection_id":177446,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08901b690012d819dc005d4b4380003002828..."} 
[2026-09-10 07:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08901b690012d819dc005d4b4380003002828..."} 
[2026-09-10 07:19:54] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08901b690012d819dc005d4b4380003002828..."} 
[2026-09-10 07:19:54] local.INFO: Packet analysis {"connection_id":177446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:19:54] local.INFO: Extracted packet for processing {"connection_id":177446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763469248,"raw_latitude":97825848,"longitude_deg":76.3469248,"latitude_deg":9.7825848,"altitude":3,"angle":40,"satellites":40,"speed":26,"hex_longitude":"2d819dc0","hex_latitude":"05d4b438","is_valid_coordinates":true} 
[2026-09-10 07:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130521354591010816,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107333952662523904,"note":"Value kept but may cause issues"} 
[2026-09-10 07:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789004986000,"timestamp_ms":1789004986000,"timestamp_seconds":1789004986,"priority":1,"record_length":96,"hex_timestamp":"000001a08901b690"} 
[2026-09-10 07:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 07:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985276160001,"66":13765,"166":206,"85":15104,"24":26,"16":130521354591010816,"45":-9107333952662523904},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:19:54] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130521354591010816,"km_value":130521354591010.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107333952662523904,"description":"Unknown IO ID 45"} 
[2026-09-10 07:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985276160001,"power":13765,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9107333952662523904}} 
[2026-09-10 07:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":177446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:19:55] local.INFO: GPS data processed {"connection_id":177446,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:19:55] local.INFO: Acknowledgment sent {"connection_id":177446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:20:17] local.INFO: TCP Data received {"connection_id":176280,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:20:17] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:20:17] local.INFO: IMEI packet received {"connection_id":176280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":176280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:20:22] local.INFO: TCP Data received {"connection_id":176280,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:20:22] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:20:22] local.INFO: IMEI packet received {"connection_id":176280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":176280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:20:24] local.INFO: TCP Data received {"connection_id":176280,"ip":"42.106.6.56","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a089..."} 
[2026-09-10 07:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a089..."} 
[2026-09-10 07:20:24] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a089..."} 
[2026-09-10 07:20:24] local.INFO: IMEI packet received {"connection_id":176280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":176280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:20:25] local.INFO: TCP Data received {"connection_id":176280,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08901be60012d81a30005d4b6580004004828..."} 
[2026-09-10 07:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08901be60012d81a30005d4b6580004004828..."} 
[2026-09-10 07:20:25] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08901ba78012d81a00005d4b5a80003003828..."} 
[2026-09-10 07:20:25] local.INFO: Packet analysis {"connection_id":176280,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:20:25] local.INFO: Extracted packet for processing {"connection_id":176280,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763469824,"raw_latitude":97826216,"longitude_deg":76.3469824,"latitude_deg":9.7826216,"altitude":3,"angle":56,"satellites":40,"speed":26,"hex_longitude":"2d81a000","hex_latitude":"05d4b5a8","is_valid_coordinates":true} 
[2026-09-10 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985276416001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130521388950749184,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106911740197324800,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789004987000,"timestamp_ms":1789004987000,"timestamp_seconds":1789004987,"priority":1,"record_length":96,"hex_timestamp":"000001a08901ba78"} 
[2026-09-10 07:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 07:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985276416001,"66":13765,"166":206,"85":15104,"24":26,"16":130521388950749184,"45":-9106911740197324800},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985276416001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130521388950749184,"km_value":130521388950749.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106911740197324800,"description":"Unknown IO ID 45"} 
[2026-09-10 07:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985276416001,"power":13765,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9106911740197324800}} 
[2026-09-10 07:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":176280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:20:25] local.INFO: GPS data processed {"connection_id":176280,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:20:25] local.INFO: Acknowledgment sent {"connection_id":176280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:20:25] local.INFO: Packet analysis {"connection_id":176280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:20:25] local.INFO: Extracted packet for processing {"connection_id":176280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763470592,"raw_latitude":97826392,"longitude_deg":76.3470592,"latitude_deg":9.7826392,"altitude":4,"angle":72,"satellites":40,"speed":29,"hex_longitude":"2d81a300","hex_latitude":"05d4b658","is_valid_coordinates":true} 
[2026-09-10 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985276672001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130521427605454848,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106278421499631616,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789004988000,"timestamp_ms":1789004988000,"timestamp_seconds":1789004988,"priority":1,"record_length":96,"hex_timestamp":"000001a08901be60"} 
[2026-09-10 07:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 07:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985276672001,"66":12428,"166":206,"85":15104,"24":29,"16":130521427605454848,"45":-9106278421499631616},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985276672001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130521427605454848,"km_value":130521427605454.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106278421499631616,"description":"Unknown IO ID 45"} 
[2026-09-10 07:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985276672001,"power":12428,"unknown_166":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9106278421499631616}} 
[2026-09-10 07:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":176280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:20:25] local.INFO: GPS data processed {"connection_id":176280,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:20:25] local.INFO: Acknowledgment sent {"connection_id":176280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:20:28] local.INFO: TCP Data received {"connection_id":176280,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08901e188012d81bf0005d4bbf00006003227..."} 
[2026-09-10 07:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08901e188012d81bf0005d4bbf00006003227..."} 
[2026-09-10 07:20:28] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08901e188012d81bf0005d4bbf00006003227..."} 
[2026-09-10 07:20:28] local.INFO: Packet analysis {"connection_id":176280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:20:28] local.INFO: Extracted packet for processing {"connection_id":176280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763477760,"raw_latitude":97827824,"longitude_deg":76.347776,"latitude_deg":9.7827824,"altitude":6,"angle":50,"satellites":39,"speed":26,"hex_longitude":"2d81bf00","hex_latitude":"05d4bbf0","is_valid_coordinates":true} 
[2026-09-10 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985276928001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130521779792773120,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105433996569454592,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789004997000,"timestamp_ms":1789004997000,"timestamp_seconds":1789004997,"priority":1,"record_length":96,"hex_timestamp":"000001a08901e188"} 
[2026-09-10 07:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:20: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-09-10 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 07:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985276928001,"66":13830,"166":206,"85":15104,"24":26,"16":130521779792773120,"45":-9105433996569454592},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985276928001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:20:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130521779792773120,"km_value":130521779792773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105433996569454592,"description":"Unknown IO ID 45"} 
[2026-09-10 07:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985276928001,"power":13830,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9105433996569454592}} 
[2026-09-10 07:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":176280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:20:28] local.INFO: GPS data processed {"connection_id":176280,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:20:28] local.INFO: Acknowledgment sent {"connection_id":176280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:20:39] local.INFO: TCP Data received {"connection_id":178821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:20:39] local.INFO: Processing buffer {"connection_id":178821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:20:39] local.INFO: IMEI packet received {"connection_id":178821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":178821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:20:41] local.INFO: TCP Data received {"connection_id":178821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:20:41] local.INFO: Processing buffer {"connection_id":178821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:20:41] local.INFO: IMEI packet received {"connection_id":178821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":178821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:20:42] local.INFO: TCP Data received {"connection_id":178821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:20:42] local.INFO: Processing buffer {"connection_id":178821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:20:42] local.INFO: Packet analysis {"connection_id":178821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:20:42] local.INFO: Extracted packet for processing {"connection_id":178821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:20:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":178821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:20:42] local.INFO: GPS data processed {"connection_id":178821,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:20:42] local.INFO: Acknowledgment sent {"connection_id":178821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:20:47] local.INFO: TCP Data received {"connection_id":178821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:20:47] local.INFO: Processing buffer {"connection_id":178821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:20:47] local.INFO: Packet analysis {"connection_id":178821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:20:47] local.INFO: Extracted packet for processing {"connection_id":178821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:20:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:20:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":178821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:20:47] local.INFO: GPS data processed {"connection_id":178821,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:20:47] local.INFO: Acknowledgment sent {"connection_id":178821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:21:00] local.INFO: TCP Data received {"connection_id":176280,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08901e570012d81c10005d4bdf80006002327..."} 
[2026-09-10 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08901e570012d81c10005d4bdf80006002327..."} 
[2026-09-10 07:21:00] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08901e570012d81c10005d4bdf80006002327..."} 
[2026-09-10 07:21:00] local.INFO: Packet analysis {"connection_id":176280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:21:00] local.INFO: Extracted packet for processing {"connection_id":176280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763478272,"raw_latitude":97828344,"longitude_deg":76.3478272,"latitude_deg":9.7828344,"altitude":6,"angle":35,"satellites":39,"speed":26,"hex_longitude":"2d81c100","hex_latitude":"05d4bdf8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985279232001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130521814152511488,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097552697221189632,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789004998000,"timestamp_ms":1789004998000,"timestamp_seconds":1789004998,"priority":1,"record_length":96,"hex_timestamp":"000001a08901e570"} 
[2026-09-10 07:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7881307953627136,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627134192384,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2298587864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174500869,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2989490179,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221302657,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3027042304,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3568113664,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-2305511499528927788,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-4611686012452208605,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,166,85,24,241,157,16,180,160,190,45,182,4,40,10,66,186,181,3,192,1,240,197,227,137,212,113,205,26,174,155,239,54,2,207,5,28,127,135],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-09-10 07:21:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432400707314384896,"timestamp_seconds":432400707314384.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985279232001,"66":13928,"166":206,"85":15104,"24":26,"16":130521814152511488,"45":-9097552697221189632},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985279232001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:21:00] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130521814152511488,"km_value":130521814152511.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097552697221189632,"description":"Unknown IO ID 45"} 
[2026-09-10 07:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985279232001,"power":13928,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9097552697221189632}} 
[2026-09-10 07:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":176280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:21:00] local.INFO: GPS data processed {"connection_id":176280,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:21:00] local.INFO: Acknowledgment sent {"connection_id":176280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:21:18] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:21:18] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:21:18] local.INFO: IMEI packet received {"connection_id":177447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":177447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:21:18] local.INFO: TCP Data received {"connection_id":178821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:21:18] local.INFO: Processing buffer {"connection_id":178821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:21:18] local.INFO: Packet analysis {"connection_id":178821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:21:18] local.INFO: Extracted packet for processing {"connection_id":178821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:21:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:21:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":178821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:21:18] local.INFO: GPS data processed {"connection_id":178821,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:21:18] local.INFO: Acknowledgment sent {"connection_id":178821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:21:23] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:21:23] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:21:23] local.INFO: IMEI packet received {"connection_id":177447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":177447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:21:23] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08901e958012d81c1c005d4c0680007001328..."} 
[2026-09-10 07:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08901e958012d81c1c005d4c0680007001328..."} 
[2026-09-10 07:21:23] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08901e958012d81c1c005d4c0680007001328..."} 
[2026-09-10 07:21:23] local.INFO: Packet analysis {"connection_id":177447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:21:23] local.INFO: Extracted packet for processing {"connection_id":177447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":97828968,"longitude_deg":76.3478464,"latitude_deg":9.7828968,"altitude":7,"angle":19,"satellites":40,"speed":26,"hex_longitude":"2d81c1c0","hex_latitude":"05d4c068","is_valid_coordinates":true} 
[2026-09-10 07:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985279488001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130521848512249856,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096989747267635200,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789004999000,"timestamp_ms":1789004999000,"timestamp_seconds":1789004999,"priority":1,"record_length":96,"hex_timestamp":"000001a08901e958"} 
[2026-09-10 07:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 07:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985279488001,"66":13928,"166":206,"85":15104,"24":26,"16":130521848512249856,"45":-9096989747267635200},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985279488001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:21:23] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:21:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130521848512249856,"km_value":130521848512249.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096989747267635200,"description":"Unknown IO ID 45"} 
[2026-09-10 07:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985279488001,"power":13928,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9096989747267635200}} 
[2026-09-10 07:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":177447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:21:23] local.INFO: GPS data processed {"connection_id":177447,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:21:23] local.INFO: Acknowledgment sent {"connection_id":177447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:21:36] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:21:36] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:21:36] local.INFO: IMEI packet received {"connection_id":176281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":176281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:21:41] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:21:41] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:21:41] local.INFO: IMEI packet received {"connection_id":176281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":176281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:21:42] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:21:42] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a088fe5360012cee6fc0072e2ba80034006b29..."} 
[2026-09-10 07:21:42] local.INFO: Packet analysis {"connection_id":176281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:21:42] local.INFO: Extracted packet for processing {"connection_id":176281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a088fe"} 
[2026-09-10 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985142528001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789004764000,"timestamp_ms":1789004764000,"timestamp_seconds":1789004764,"priority":1,"record_length":96,"hex_timestamp":"000001a088fe5360"} 
[2026-09-10 07:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985142528001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985142528001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:21:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985142528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":176281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:21:42] local.INFO: GPS data processed {"connection_id":176281,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:21:42] local.INFO: Acknowledgment sent {"connection_id":176281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:22:03] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08901ed40012d81c1c005d4c3780006000128..."} 
[2026-09-10 07:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08901ed40012d81c1c005d4c3780006000128..."} 
[2026-09-10 07:22:03] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08901ed40012d81c1c005d4c3780006000128..."} 
[2026-09-10 07:22:03] local.INFO: Packet analysis {"connection_id":177447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:22:03] local.INFO: Extracted packet for processing {"connection_id":177447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08901"} 
[2026-09-10 07:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":97829752,"longitude_deg":76.3478464,"latitude_deg":9.7829752,"altitude":6,"angle":1,"satellites":40,"speed":30,"hex_longitude":"2d81c1c0","hex_latitude":"05d4c378","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985279744001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130521882871988224,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778641034942464,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789005000000,"timestamp_ms":1789005000000,"timestamp_seconds":1789005000,"priority":1,"record_length":96,"hex_timestamp":"000001a08901ed40"} 
[2026-09-10 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-09-10 07:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 07:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 07:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985279744001,"66":13820,"166":206,"85":15104,"24":30,"16":130521882871988224,"45":-9096778641034942464},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985279744001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:22:03] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130521882871988224,"km_value":130521882871988.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778641034942464,"description":"Unknown IO ID 45"} 
[2026-09-10 07:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985279744001,"power":13820,"unknown_166":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9096778641034942464}} 
[2026-09-10 07:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":177447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:22:04] local.INFO: GPS data processed {"connection_id":177447,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:22:04] local.INFO: Acknowledgment sent {"connection_id":177447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:22:13] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:22:13] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:22:13] local.INFO: Packet analysis {"connection_id":176281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:13] local.INFO: Extracted packet for processing {"connection_id":176281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:22:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":176281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:22:13] local.INFO: GPS data processed {"connection_id":176281,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:22:13] local.INFO: Acknowledgment sent {"connection_id":176281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:22:16] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:16] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:16] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:22:17] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:17] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:17] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:22:23] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:23] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:22:23] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:22:23] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890204b0012d81bf8005d4d8980007015e28..."} 
[2026-09-10 07:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890204b0012d81bf8005d4d8980007015e28..."} 
[2026-09-10 07:22:23] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890204b0012d81bf8005d4d8980007015e28..."} 
[2026-09-10 07:22:23] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:23] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763477888,"raw_latitude":97835160,"longitude_deg":76.3477888,"latitude_deg":9.783516,"altitude":7,"angle":350,"satellites":40,"speed":40,"hex_longitude":"2d81bf80","hex_latitude":"05d4d898","is_valid_coordinates":true} 
[2026-09-10 07:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985280000001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130522149159960576,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778641034741760,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789005006000,"timestamp_ms":1789005006000,"timestamp_seconds":1789005006,"priority":1,"record_length":96,"hex_timestamp":"000001a0890204b0"} 
[2026-09-10 07:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:22: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":252,"data_length":795,"current_offset":136} 
[2026-09-10 07:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985280000001,"66":13624,"166":206,"85":15104,"24":40,"16":130522149159960576,"45":-9096778641034741760},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985280000001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:22:23] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130522149159960576,"km_value":130522149159960.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778641034741760,"description":"Unknown IO ID 45"} 
[2026-09-10 07:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985280000001,"power":13624,"unknown_166":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9096778641034741760}} 
[2026-09-10 07:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:22:23] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:22:23] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:22:36] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:22:36] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:22:36] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:22:41] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:22:41] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:22:41] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:22:42] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:22:42] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:22:42] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:42] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:22: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-09-10 07:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:22:42] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:22:42] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:22:54] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890227d8012d81b80005d4ff080006015e29..."} 
[2026-09-10 07:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890227d8012d81b80005d4ff080006015e29..."} 
[2026-09-10 07:22:54] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890227d8012d81b80005d4ff080006015e29..."} 
[2026-09-10 07:22:54] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:54] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763475968,"raw_latitude":97845000,"longitude_deg":76.3475968,"latitude_deg":9.7845,"altitude":6,"angle":350,"satellites":41,"speed":48,"hex_longitude":"2d81b800","hex_latitude":"05d4ff08","is_valid_coordinates":true} 
[2026-09-10 07:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985281536001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130522634491265024,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097411959730956288,"note":"Value kept but may cause issues"} 
[2026-09-10 07:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789005015000,"timestamp_ms":1789005015000,"timestamp_seconds":1789005015,"priority":1,"record_length":96,"hex_timestamp":"000001a0890227d8"} 
[2026-09-10 07:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:22: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-09-10 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 07:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985281536001,"66":13646,"166":206,"85":15104,"24":48,"16":130522634491265024,"45":-9097411959730956288},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 07:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985281536001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:22:54] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 07:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130522634491265024,"km_value":130522634491265.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097411959730956288,"description":"Unknown IO ID 45"} 
[2026-09-10 07:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985281536001,"power":13646,"unknown_166":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9097411959730956288}} 
[2026-09-10 07:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:22:54] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:22:54] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:23:13] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:13] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:13] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:23:13] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:23:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:23: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-09-10 07:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:23:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:23:13] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:23:13] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:23:17] local.INFO: TCP Data received {"connection_id":177448,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:17] local.INFO: Processing buffer {"connection_id":177448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:17] local.INFO: IMEI packet received {"connection_id":177448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":177448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:23:18] local.INFO: TCP Data received {"connection_id":177448,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:18] local.INFO: Processing buffer {"connection_id":177448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:18] local.INFO: IMEI packet received {"connection_id":177448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":177448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:23:23] local.INFO: TCP Data received {"connection_id":177448,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:23] local.INFO: Processing buffer {"connection_id":177448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:23:23] local.INFO: IMEI packet received {"connection_id":177448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":177448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:23:23] local.INFO: TCP Data received {"connection_id":177448,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089044ea0012d81b84005d597a8000101652a..."} 
[2026-09-10 07:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089044ea0012d81b84005d597a8000101652a..."} 
[2026-09-10 07:23:23] local.INFO: Processing buffer {"connection_id":177448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089044ea0012d81b84005d597a8000101652a..."} 
[2026-09-10 07:23:23] local.INFO: Packet analysis {"connection_id":177448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08904"} 
[2026-09-10 07:23:23] local.INFO: Extracted packet for processing {"connection_id":177448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08904"} 
[2026-09-10 07:23:23] local.INFO: GPS Element Parsed {"raw_longitude":763476032,"raw_latitude":97884072,"longitude_deg":76.3476032,"latitude_deg":9.7884072,"altitude":1,"angle":357,"satellites":42,"speed":0,"hex_longitude":"2d81b840","hex_latitude":"05d597a8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985314560001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130524567226548224,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099452653299587072,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] 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-09-10 07:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789005156000,"timestamp_ms":1789005156000,"timestamp_seconds":1789005156,"priority":1,"record_length":96,"hex_timestamp":"000001a089044ea0"} 
[2026-09-10 07:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:23: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-09-10 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632310,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2298643864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176352261,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3479396849515757568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2389704705,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055526,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147865963,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561459805408853,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3068461056,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3579459584,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-4845866785150861310,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,81,85,24,241,157,16,183,160,170,45,64,151,1,41,10,66,165,88,6,240,28,227,137,213,4,113,205,149,188,104,39,239,53,166,2,207,5,42,129,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795831502,"validated":0}]} 
[2026-09-10 07:23:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72450295782703104,"timestamp_seconds":72450295782703.11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985314560001,"66":13906,"81":206,"85":15104,"24":0,"16":130524567226548224,"45":-9099452653299587072},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-10 07:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985314560001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 07:23:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130524567226548224,"km_value":130524567226548.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099452653299587072,"description":"Unknown IO ID 45"} 
[2026-09-10 07:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985314560001,"power":13906,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9099452653299587072}} 
[2026-09-10 07:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":177448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:23:23] local.INFO: GPS data processed {"connection_id":177448,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:23:23] local.INFO: Acknowledgment sent {"connection_id":177448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:23:41] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:23:41] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:23:41] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:23:46] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:23:46] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:23:46] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:23:47] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:47] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:47] local.INFO: Packet analysis {"connection_id":176283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:23:47] local.INFO: Extracted packet for processing {"connection_id":176283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:23:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":176283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:23:47] local.INFO: GPS data processed {"connection_id":176283,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:23:47] local.INFO: Acknowledgment sent {"connection_id":176283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:23:52] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:52] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:23:52] local.INFO: Packet analysis {"connection_id":176283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:23:52] local.INFO: Extracted packet for processing {"connection_id":176283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:23:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:23:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:23:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":176283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:23:52] local.INFO: GPS data processed {"connection_id":176283,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:23:52] local.INFO: Acknowledgment sent {"connection_id":176283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:24:00] local.INFO: TCP Data received {"connection_id":177448,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089054c88012d82190005d5bce80003005429..."} 
[2026-09-10 07:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089054c88012d82190005d5bce80003005429..."} 
[2026-09-10 07:24:00] local.INFO: Processing buffer {"connection_id":177448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089054c88012d82190005d5bce80003005429..."} 
[2026-09-10 07:24:00] local.INFO: Packet analysis {"connection_id":177448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08905"} 
[2026-09-10 07:24:00] local.INFO: Extracted packet for processing {"connection_id":177448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08905"} 
[2026-09-10 07:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763500800,"raw_latitude":97893608,"longitude_deg":76.35008,"latitude_deg":9.7893608,"altitude":3,"angle":84,"satellites":41,"speed":22,"hex_longitude":"2d821900","hex_latitude":"05d5bce8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985336064001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130526469897060352,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073627324183949312,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:00] 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-09-10 07:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789005221000,"timestamp_ms":1789005221000,"timestamp_seconds":1789005221,"priority":1,"record_length":96,"hex_timestamp":"000001a089054c88"} 
[2026-09-10 07:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:24: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-09-10 07: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 07:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985336064001,"66":13559,"165":206,"85":15104,"24":22,"16":130526469897060352,"45":-9073627324183949312},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 07:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985336064001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:24:00] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 07:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130526469897060352,"km_value":130526469897060.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073627324183949312,"description":"Unknown IO ID 45"} 
[2026-09-10 07:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985336064001,"power":13559,"unknown_165":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9073627324183949312}} 
[2026-09-10 07:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":177448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:24:00] local.INFO: GPS data processed {"connection_id":177448,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:24:00] local.INFO: Acknowledgment sent {"connection_id":177448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:24:17] local.INFO: TCP Data received {"connection_id":178822,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:24:17] local.INFO: Processing buffer {"connection_id":178822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:24:17] local.INFO: IMEI packet received {"connection_id":178822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":178822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:24:23] local.INFO: TCP Data received {"connection_id":178822,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:24:23] local.INFO: Processing buffer {"connection_id":178822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:24:23] local.INFO: IMEI packet received {"connection_id":178822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":178822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:24:26] local.INFO: TCP Data received {"connection_id":178822,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089057398012d8232c005d5c1480003004526..."} 
[2026-09-10 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089057398012d8232c005d5c1480003004526..."} 
[2026-09-10 07:24:26] local.INFO: Processing buffer {"connection_id":178822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089057398012d8232c005d5c1480003004526..."} 
[2026-09-10 07:24:26] local.INFO: Packet analysis {"connection_id":178822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08905"} 
[2026-09-10 07:24:26] local.INFO: Extracted packet for processing {"connection_id":178822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08905"} 
[2026-09-10 07:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763507392,"raw_latitude":97894728,"longitude_deg":76.3507392,"latitude_deg":9.7894728,"altitude":3,"angle":69,"satellites":38,"speed":28,"hex_longitude":"2d8232c0","hex_latitude":"05d5c148","is_valid_coordinates":true} 
[2026-09-10 07:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985336576001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130526787724640256,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072219949300389888,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:26] 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-09-10 07:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789005231000,"timestamp_ms":1789005231000,"timestamp_seconds":1789005231,"priority":1,"record_length":96,"hex_timestamp":"000001a089057398"} 
[2026-09-10 07:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 07:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985336576001,"66":13765,"165":206,"85":15104,"24":28,"16":130526787724640256,"45":-9072219949300389888},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 07:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985336576001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:24:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 07:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130526787724640256,"km_value":130526787724640.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072219949300389888,"description":"Unknown IO ID 45"} 
[2026-09-10 07:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985336576001,"power":13765,"unknown_165":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9072219949300389888}} 
[2026-09-10 07:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":178822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:24:26] local.INFO: GPS data processed {"connection_id":178822,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:24:26] local.INFO: Acknowledgment sent {"connection_id":178822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:24:36] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:24:36] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:24:36] local.INFO: IMEI packet received {"connection_id":176044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":176044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:24:41] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:24:41] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:24:41] local.INFO: IMEI packet received {"connection_id":176044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":176044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:24:42] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:24:42] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:24:42] local.INFO: Packet analysis {"connection_id":176044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:24:42] local.INFO: Extracted packet for processing {"connection_id":176044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:24: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-09-10 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":176044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:24:42] local.INFO: GPS data processed {"connection_id":176044,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:24:42] local.INFO: Acknowledgment sent {"connection_id":176044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:24:57] local.INFO: TCP Data received {"connection_id":178822,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089057b68012d82378005d5c3f80003003726..."} 
[2026-09-10 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089057b68012d82378005d5c3f80003003726..."} 
[2026-09-10 07:24:57] local.INFO: Processing buffer {"connection_id":178822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089057b68012d82378005d5c3f80003003726..."} 
[2026-09-10 07:24:57] local.INFO: Packet analysis {"connection_id":178822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08905"} 
[2026-09-10 07:24:57] local.INFO: Extracted packet for processing {"connection_id":178822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08905"} 
[2026-09-10 07:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763508608,"raw_latitude":97895416,"longitude_deg":76.3508608,"latitude_deg":9.7895416,"altitude":3,"angle":55,"satellites":38,"speed":28,"hex_longitude":"2d823780","hex_latitude":"05d5c3f8","is_valid_coordinates":true} 
[2026-09-10 07:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985339136001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130526856444116992,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064971968649803776,"note":"Value kept but may cause issues"} 
[2026-09-10 07:24:57] 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-09-10 07:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789005233000,"timestamp_ms":1789005233000,"timestamp_seconds":1789005233,"priority":1,"record_length":96,"hex_timestamp":"000001a089057b68"} 
[2026-09-10 07:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 07:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985339136001,"66":13961,"165":206,"85":15104,"24":28,"16":130526856444116992,"45":-9064971968649803776},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 07:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985339136001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:24:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 07:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130526856444116992,"km_value":130526856444116.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064971968649803776,"description":"Unknown IO ID 45"} 
[2026-09-10 07:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985339136001,"power":13961,"unknown_165":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9064971968649803776}} 
[2026-09-10 07:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":178822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:24:57] local.INFO: GPS data processed {"connection_id":178822,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:24:57] local.INFO: Acknowledgment sent {"connection_id":178822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:25:13] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:25:13] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:25:13] local.INFO: Packet analysis {"connection_id":176044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:25:13] local.INFO: Extracted packet for processing {"connection_id":176044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:25:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":176044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:25:13] local.INFO: GPS data processed {"connection_id":176044,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:25:13] local.INFO: Acknowledgment sent {"connection_id":176044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:25:17] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:17] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:17] local.INFO: IMEI packet received {"connection_id":176284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":176284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:25:20] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:20] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:20] local.INFO: IMEI packet received {"connection_id":176284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":176284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:25:22] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:22] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:22] local.INFO: IMEI packet received {"connection_id":176284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":176284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:25:22] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:22] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:25:22] local.INFO: IMEI packet received {"connection_id":176284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":176284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:25:23] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089068508012d829e0005d614280001001127..."} 
[2026-09-10 07:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089068508012d829e0005d614280001001127..."} 
[2026-09-10 07:25:23] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089068508012d829e0005d614280001001127..."} 
[2026-09-10 07:25:23] local.INFO: Packet analysis {"connection_id":176284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08906"} 
[2026-09-10 07:25:23] local.INFO: Extracted packet for processing {"connection_id":176284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08906"} 
[2026-09-10 07:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":97915944,"longitude_deg":76.3534848,"latitude_deg":9.7915944,"altitude":1,"angle":17,"satellites":39,"speed":15,"hex_longitude":"2d829e00","hex_latitude":"05d61428","is_valid_coordinates":true} 
[2026-09-10 07:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985354496001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130528724754890752,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033376402510030848,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789005301000,"timestamp_ms":1789005301000,"timestamp_seconds":1789005301,"priority":1,"record_length":96,"hex_timestamp":"000001a089068508"} 
[2026-09-10 07:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-10 07:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985354496001,"66":13493,"157":206,"85":15104,"24":15,"16":130528724754890752,"45":-9033376402510030848},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-10 07:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985354496001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:25:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 07:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130528724754890752,"km_value":130528724754890.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033376402510030848,"description":"Unknown IO ID 45"} 
[2026-09-10 07:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985354496001,"power":13493,"unknown_157":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9033376402510030848}} 
[2026-09-10 07:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":176284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:25:23] local.INFO: GPS data processed {"connection_id":176284,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:25:23] local.INFO: Acknowledgment sent {"connection_id":176284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:25:24] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890688f0012d829f0005d615500001002f27..."} 
[2026-09-10 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890688f0012d829f0005d615500001002f27..."} 
[2026-09-10 07:25:24] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890688f0012d829f0005d615500001002f27..."} 
[2026-09-10 07:25:24] local.INFO: Packet analysis {"connection_id":176284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08906"} 
[2026-09-10 07:25:24] local.INFO: Extracted packet for processing {"connection_id":176284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08906"} 
[2026-09-10 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":97916240,"longitude_deg":76.3535104,"latitude_deg":9.791624,"altitude":1,"angle":47,"satellites":39,"speed":16,"hex_longitude":"2d829f00","hex_latitude":"05d61550","is_valid_coordinates":true} 
[2026-09-10 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985357056001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130528746229727232,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777392154624,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25: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-09-10 07:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789005302000,"timestamp_ms":1789005302000,"timestamp_seconds":1789005302,"priority":1,"record_length":96,"hex_timestamp":"000001a0890688f0"} 
[2026-09-10 07:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:25: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-09-10 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 07:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985357056001,"66":13624,"157":206,"85":15104,"24":16,"16":130528746229727232,"45":-9034783777392154624},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-10 07:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985357056001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:25:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 07:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130528746229727232,"km_value":130528746229727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777392154624,"description":"Unknown IO ID 45"} 
[2026-09-10 07:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985357056001,"power":13624,"unknown_157":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9034783777392154624}} 
[2026-09-10 07:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":176284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:25:24] local.INFO: GPS data processed {"connection_id":176284,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:25:24] local.INFO: Acknowledgment sent {"connection_id":176284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:25:36] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:25:36] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:25:36] local.INFO: IMEI packet received {"connection_id":177449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":177449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:25:41] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:25:41] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:25:41] local.INFO: IMEI packet received {"connection_id":177449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":177449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:25:42] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:25:42] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:25:42] local.INFO: Packet analysis {"connection_id":177449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:25:42] local.INFO: Extracted packet for processing {"connection_id":177449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":177449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:25:43] local.INFO: GPS data processed {"connection_id":177449,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:25:43] local.INFO: Acknowledgment sent {"connection_id":177449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:25:56] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089072d00012d82d08005d685780003016224..."} 
[2026-09-10 07:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089072d00012d82d08005d685780003016224..."} 
[2026-09-10 07:25:56] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089072d00012d82d08005d685780003016224..."} 
[2026-09-10 07:25:56] local.INFO: Packet analysis {"connection_id":176284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:25:56] local.INFO: Extracted packet for processing {"connection_id":176284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763547776,"raw_latitude":97944952,"longitude_deg":76.3547776,"latitude_deg":9.7944952,"altitude":3,"angle":354,"satellites":36,"speed":9,"hex_longitude":"2d82d080","hex_latitude":"05d68578","is_valid_coordinates":true} 
[2026-09-10 07:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985366784001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530322482724864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021132241014937600,"note":"Value kept but may cause issues"} 
[2026-09-10 07:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789005344000,"timestamp_ms":1789005344000,"timestamp_seconds":1789005344,"priority":1,"record_length":96,"hex_timestamp":"000001a089072d00"} 
[2026-09-10 07:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 07:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985366784001,"66":12939,"157":206,"85":15104,"24":9,"16":130530322482724864,"45":-9021132241014937600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-10 07:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985366784001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:25:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 07:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530322482724864,"km_value":130530322482724.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021132241014937600,"description":"Unknown IO ID 45"} 
[2026-09-10 07:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985366784001,"power":12939,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9021132241014937600}} 
[2026-09-10 07:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":176284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:25:56] local.INFO: GPS data processed {"connection_id":176284,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:25:56] local.INFO: Acknowledgment sent {"connection_id":176284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:26:14] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:26:14] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:26:14] local.INFO: Packet analysis {"connection_id":177449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:26:14] local.INFO: Extracted packet for processing {"connection_id":177449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:26:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:26:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:26:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":177449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:26:14] local.INFO: GPS data processed {"connection_id":177449,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:26:14] local.INFO: Acknowledgment sent {"connection_id":177449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:26:23] local.INFO: TCP Data received {"connection_id":178823,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:23] local.INFO: Processing buffer {"connection_id":178823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:23] local.INFO: IMEI packet received {"connection_id":178823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":178823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:26:23] local.INFO: TCP Data received {"connection_id":178823,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:23] local.INFO: Processing buffer {"connection_id":178823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:23] local.INFO: IMEI packet received {"connection_id":178823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":178823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:26:28] local.INFO: TCP Data received {"connection_id":178823,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:28] local.INFO: Processing buffer {"connection_id":178823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:26:28] local.INFO: IMEI packet received {"connection_id":178823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":178823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:26:28] local.INFO: TCP Data received {"connection_id":178823,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890730e8012d82d00005d685f80003014a26..."} 
[2026-09-10 07:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890730e8012d82d00005d685f80003014a26..."} 
[2026-09-10 07:26:28] local.INFO: Processing buffer {"connection_id":178823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890730e8012d82d00005d685f80003014a26..."} 
[2026-09-10 07:26:28] local.INFO: Packet analysis {"connection_id":178823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:26:28] local.INFO: Extracted packet for processing {"connection_id":178823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763547648,"raw_latitude":97945080,"longitude_deg":76.3547648,"latitude_deg":9.794508,"altitude":3,"angle":330,"satellites":38,"speed":7,"hex_longitude":"2d82d000","hex_latitude":"05d685f8","is_valid_coordinates":true} 
[2026-09-10 07:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985368064001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530331072659456,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020569291060840448,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789005345000,"timestamp_ms":1789005345000,"timestamp_seconds":1789005345,"priority":1,"record_length":96,"hex_timestamp":"000001a0890730e8"} 
[2026-09-10 07:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 07:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985368064001,"66":12939,"157":206,"85":15104,"24":7,"16":130530331072659456,"45":-9020569291060840448},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-10 07:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985368064001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:26:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 07:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530331072659456,"km_value":130530331072659.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020569291060840448,"description":"Unknown IO ID 45"} 
[2026-09-10 07:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985368064001,"power":12939,"unknown_157":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9020569291060840448}} 
[2026-09-10 07:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":178823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:26:28] local.INFO: GPS data processed {"connection_id":178823,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:26:28] local.INFO: Acknowledgment sent {"connection_id":178823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:26:32] local.INFO: TCP Data received {"connection_id":178823,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890734d0012d82d00005d686580003013e23..."} 
[2026-09-10 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890734d0012d82d00005d686580003013e23..."} 
[2026-09-10 07:26:32] local.INFO: Processing buffer {"connection_id":178823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890734d0012d82d00005d686580003013e23..."} 
[2026-09-10 07:26:32] local.INFO: Packet analysis {"connection_id":178823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:26:32] local.INFO: Extracted packet for processing {"connection_id":178823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763547648,"raw_latitude":97945176,"longitude_deg":76.3547648,"latitude_deg":9.7945176,"altitude":3,"angle":318,"satellites":35,"speed":5,"hex_longitude":"2d82d000","hex_latitude":"05d68658","is_valid_coordinates":true} 
[2026-09-10 07:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985368320001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530335367626752,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020710028549163008,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789005346000,"timestamp_ms":1789005346000,"timestamp_seconds":1789005346,"priority":1,"record_length":96,"hex_timestamp":"000001a0890734d0"} 
[2026-09-10 07:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 07:26: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-09-10 07:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985368320001,"66":13341,"157":206,"85":15104,"24":5,"16":130530335367626752,"45":-9020710028549163008},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-10 07:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985368320001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:26:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 07:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530335367626752,"km_value":130530335367626.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020710028549163008,"description":"Unknown IO ID 45"} 
[2026-09-10 07:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985368320001,"power":13341,"unknown_157":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9020710028549163008}} 
[2026-09-10 07:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":178823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:26:32] local.INFO: GPS data processed {"connection_id":178823,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:26:32] local.INFO: Acknowledgment sent {"connection_id":178823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:26:36] local.INFO: TCP Data received {"connection_id":177450,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:26:36] local.INFO: Processing buffer {"connection_id":177450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:26:36] local.INFO: IMEI packet received {"connection_id":177450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":177450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:26:41] local.INFO: TCP Data received {"connection_id":177450,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:26:41] local.INFO: Processing buffer {"connection_id":177450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:26:41] local.INFO: IMEI packet received {"connection_id":177450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":177450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:26:42] local.INFO: TCP Data received {"connection_id":177450,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:26:42] local.INFO: Processing buffer {"connection_id":177450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08902eb28012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 07:26:42] local.INFO: Packet analysis {"connection_id":177450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:26:42] local.INFO: Extracted packet for processing {"connection_id":177450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08902"} 
[2026-09-10 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985219584001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005065000,"timestamp_ms":1789005065000,"timestamp_seconds":1789005065,"priority":1,"record_length":96,"hex_timestamp":"000001a08902eb28"} 
[2026-09-10 07:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:26: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-09-10 07:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 07:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985219584001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985219584001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:26:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985219584001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":177450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:26:42] local.INFO: GPS data processed {"connection_id":177450,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:26:42] local.INFO: Acknowledgment sent {"connection_id":177450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:27:03] local.INFO: TCP Data received {"connection_id":178823,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012d82cf0005d686680002013e27..."} 
[2026-09-10 07:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012d82cf0005d686680002013e27..."} 
[2026-09-10 07:27:03] local.INFO: Processing buffer {"connection_id":178823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012d82cf0005d686680002013e27..."} 
[2026-09-10 07:27:03] local.INFO: Packet analysis {"connection_id":178823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:03] local.INFO: Extracted packet for processing {"connection_id":178823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763547392,"raw_latitude":97945192,"longitude_deg":76.3547392,"latitude_deg":9.7945192,"altitude":2,"angle":318,"satellites":39,"speed":0,"hex_longitude":"2d82cf00","hex_latitude":"05d68668","is_valid_coordinates":true} 
[2026-09-10 07:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985368576001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530352547495936,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020710028549138432,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-10 07:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":178823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":178823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":178823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985368576001,"66":13200,"156":206,"85":15104,"24":0,"16":130530352547495936,"45":-9020710028549138432},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 07:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985368576001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:27:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 07:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530352547495936,"km_value":130530352547495.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020710028549138432,"description":"Unknown IO ID 45"} 
[2026-09-10 07:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985368576001,"power":13200,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9020710028549138432}} 
[2026-09-10 07:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":178823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:27:03] local.INFO: GPS data processed {"connection_id":178823,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:27:03] local.INFO: Acknowledgment sent {"connection_id":178823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:27:13] local.INFO: TCP Data received {"connection_id":177450,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:27:13] local.INFO: Processing buffer {"connection_id":177450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:27:13] local.INFO: Packet analysis {"connection_id":177450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:13] local.INFO: Extracted packet for processing {"connection_id":177450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:27: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-09-10 07:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:27:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":177450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:27:13] local.INFO: GPS data processed {"connection_id":177450,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:27:13] local.INFO: Acknowledgment sent {"connection_id":177450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:27:18] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:27:18] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:27:18] local.INFO: IMEI packet received {"connection_id":176045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":176045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:27:21] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:27:21] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:27:21] local.INFO: IMEI packet received {"connection_id":176045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":176045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:27:21] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08907bd88012d82cc8005d687500003013028..."} 
[2026-09-10 07:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08907bd88012d82cc8005d687500003013028..."} 
[2026-09-10 07:27:21] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08907bd88012d82cc8005d687500003013028..."} 
[2026-09-10 07:27:21] local.INFO: Packet analysis {"connection_id":176045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:21] local.INFO: Extracted packet for processing {"connection_id":176045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763546752,"raw_latitude":97945424,"longitude_deg":76.3546752,"latitude_deg":9.7945424,"altitude":3,"angle":304,"satellites":40,"speed":7,"hex_longitude":"2d82cc80","hex_latitude":"05d68750","is_valid_coordinates":true} 
[2026-09-10 07:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530382612267008,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020991503525844992,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789005381000,"timestamp_ms":1789005381000,"timestamp_seconds":1789005381,"priority":1,"record_length":96,"hex_timestamp":"000001a08907bd88"} 
[2026-09-10 07:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-10 07:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":13526,"156":206,"85":15104,"24":7,"16":130530382612267008,"45":-9020991503525844992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 07:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:27:21] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 07:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530382612267008,"km_value":130530382612267.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020991503525844992,"description":"Unknown IO ID 45"} 
[2026-09-10 07:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":13526,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9020991503525844992}} 
[2026-09-10 07:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":176045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:27:21] local.INFO: GPS data processed {"connection_id":176045,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:27:21] local.INFO: Acknowledgment sent {"connection_id":176045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:27:22] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08907e0b0012d82be4005d691380003013c2a..."} 
[2026-09-10 07:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08907e0b0012d82be4005d691380003013c2a..."} 
[2026-09-10 07:27:22] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08907e0b0012d82be4005d691380003013c2a..."} 
[2026-09-10 07:27:22] local.INFO: Packet analysis {"connection_id":176045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:22] local.INFO: Extracted packet for processing {"connection_id":176045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763543104,"raw_latitude":97947960,"longitude_deg":76.3543104,"latitude_deg":9.794796,"altitude":3,"angle":316,"satellites":42,"speed":27,"hex_longitude":"2d82be40","hex_latitude":"05d69138","is_valid_coordinates":true} 
[2026-09-10 07:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985377536001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530597360631808,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021695190967562240,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789005390000,"timestamp_ms":1789005390000,"timestamp_seconds":1789005390,"priority":1,"record_length":96,"hex_timestamp":"000001a08907e0b0"} 
[2026-09-10 07:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:27: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-09-10 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 07:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985377536001,"66":12765,"156":206,"85":15104,"24":27,"16":130530597360631808,"45":-9021695190967562240},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 07:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985377536001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:27:22] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 07:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530597360631808,"km_value":130530597360631.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021695190967562240,"description":"Unknown IO ID 45"} 
[2026-09-10 07:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985377536001,"power":12765,"unknown_156":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9021695190967562240}} 
[2026-09-10 07:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":176045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:27:22] local.INFO: GPS data processed {"connection_id":176045,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:27:22] local.INFO: Acknowledgment sent {"connection_id":176045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:27:36] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:27:36] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:27:36] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:27:41] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:27:41] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:27:41] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:27:42] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:27:42] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:27:42] local.INFO: Packet analysis {"connection_id":176285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:42] local.INFO: Extracted packet for processing {"connection_id":176285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07: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-09-10 07:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":176285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:27:42] local.INFO: GPS data processed {"connection_id":176285,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:27:42] local.INFO: Acknowledgment sent {"connection_id":176285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:27:55] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08907e880012d82bb4005d695a8000401482a..."} 
[2026-09-10 07:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08907e880012d82bb4005d695a8000401482a..."} 
[2026-09-10 07:27:55] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08907e880012d82bb4005d695a8000401482a..."} 
[2026-09-10 07:27:55] local.INFO: Packet analysis {"connection_id":176045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:55] local.INFO: Extracted packet for processing {"connection_id":176045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763542336,"raw_latitude":97949096,"longitude_deg":76.3542336,"latitude_deg":9.7949096,"altitude":4,"angle":328,"satellites":42,"speed":28,"hex_longitude":"2d82bb40","hex_latitude":"05d695a8","is_valid_coordinates":true} 
[2026-09-10 07:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985379840001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530666080108544,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025706209385039872,"note":"Value kept but may cause issues"} 
[2026-09-10 07:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789005392000,"timestamp_ms":1789005392000,"timestamp_seconds":1789005392,"priority":1,"record_length":96,"hex_timestamp":"000001a08907e880"} 
[2026-09-10 07:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:27: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-09-10 07:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 07:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985379840001,"66":12330,"156":206,"85":15104,"24":28,"16":130530666080108544,"45":-9025706209385039872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 07:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985379840001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:27:55] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 07:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530666080108544,"km_value":130530666080108.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025706209385039872,"description":"Unknown IO ID 45"} 
[2026-09-10 07:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985379840001,"power":12330,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9025706209385039872}} 
[2026-09-10 07:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":176045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:27:55] local.INFO: GPS data processed {"connection_id":176045,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:27:55] local.INFO: Acknowledgment sent {"connection_id":176045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:28:13] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:13] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:13] local.INFO: Packet analysis {"connection_id":176285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:13] local.INFO: Extracted packet for processing {"connection_id":176285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07: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-09-10 07:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:28: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-09-10 07:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:28:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":176285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:28:13] local.INFO: GPS data processed {"connection_id":176285,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:28:13] local.INFO: Acknowledgment sent {"connection_id":176285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:28:16] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:16] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:16] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:28:17] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:17] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:17] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:28:23] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:23] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:28:23] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:28:23] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08907f438012d82b88005d69ba0000501542a..."} 
[2026-09-10 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08907f438012d82b88005d69ba0000501542a..."} 
[2026-09-10 07:28:23] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08907f438012d82b88005d69ba0000501542a..."} 
[2026-09-10 07:28:23] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:23] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763541632,"raw_latitude":97950624,"longitude_deg":76.3541632,"latitude_deg":9.7950624,"altitude":5,"angle":340,"satellites":42,"speed":15,"hex_longitude":"2d82b880","hex_latitude":"05d69ba0","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985380352001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130530747684487168,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026550634314881024,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789005395000,"timestamp_ms":1789005395000,"timestamp_seconds":1789005395,"priority":1,"record_length":96,"hex_timestamp":"000001a08907f438"} 
[2026-09-10 07:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:28: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-09-10 07: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 07:28:23] 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-09-10 07: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-09-10 07:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985380352001,"66":13048,"156":206,"85":15104,"24":15,"16":130530747684487168,"45":-9026550634314881024},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 07:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985380352001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:28:23] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 07:28:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130530747684487168,"km_value":130530747684487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026550634314881024,"description":"Unknown IO ID 45"} 
[2026-09-10 07:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985380352001,"power":13048,"unknown_156":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9026550634314881024}} 
[2026-09-10 07:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:28:23] local.INFO: GPS data processed {"connection_id":176046,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:28:23] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:28:41] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:28:41] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:28:41] local.INFO: IMEI packet received {"connection_id":176047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":176047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:28:46] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:28:46] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:28:46] local.INFO: IMEI packet received {"connection_id":176047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":176047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:28:47] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:47] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:47] local.INFO: Packet analysis {"connection_id":176047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:47] local.INFO: Extracted packet for processing {"connection_id":176047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:28:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:28:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":176047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:28:47] local.INFO: GPS data processed {"connection_id":176047,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:28:47] local.INFO: Acknowledgment sent {"connection_id":176047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:28:52] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:52] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:28:52] local.INFO: Packet analysis {"connection_id":176047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:52] local.INFO: Extracted packet for processing {"connection_id":176047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:28:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:28:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":176047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:28:52] local.INFO: GPS data processed {"connection_id":176047,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:28:52] local.INFO: Acknowledgment sent {"connection_id":176047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:29:00] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08909bd40012d829dc005d811c00005016526..."} 
[2026-09-10 07:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08909bd40012d829dc005d811c00005016526..."} 
[2026-09-10 07:29:00] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08909bd40012d829dc005d811c00005016526..."} 
[2026-09-10 07:29:00] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08909"} 
[2026-09-10 07:29:00] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08909"} 
[2026-09-10 07:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98046400,"longitude_deg":76.3534784,"latitude_deg":9.80464,"altitude":5,"angle":357,"satellites":38,"speed":45,"hex_longitude":"2d829dc0","hex_latitude":"05d811c0","is_valid_coordinates":true} 
[2026-09-10 07:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985408768001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130535416313937920,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933640359936,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789005512000,"timestamp_ms":1789005512000,"timestamp_seconds":1789005512,"priority":1,"record_length":96,"hex_timestamp":"000001a08909bd40"} 
[2026-09-10 07:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:29: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-09-10 07:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 07:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985408768001,"66":13678,"155":206,"85":15104,"24":45,"16":130535416313937920,"45":-9034431933640359936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-10 07:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985408768001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:29:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-10 07:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130535416313937920,"km_value":130535416313937.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933640359936,"description":"Unknown IO ID 45"} 
[2026-09-10 07:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985408768001,"power":13678,"unknown_155":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9034431933640359936}} 
[2026-09-10 07:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:29:00] local.INFO: GPS data processed {"connection_id":176046,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:29:00] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:29:17] local.INFO: TCP Data received {"connection_id":178824,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:29:17] local.INFO: Processing buffer {"connection_id":178824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:29:17] local.INFO: IMEI packet received {"connection_id":178824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":178824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:29:21] local.INFO: TCP Data received {"connection_id":178824,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:29:21] local.INFO: Processing buffer {"connection_id":178824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:29:21] local.INFO: IMEI packet received {"connection_id":178824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":178824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:29:21] local.INFO: TCP Data received {"connection_id":178824,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08909dc80012d829c4005d837000006016426..."} 
[2026-09-10 07:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08909dc80012d829c4005d837000006016426..."} 
[2026-09-10 07:29:21] local.INFO: Processing buffer {"connection_id":178824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08909dc80012d829c4005d837000006016426..."} 
[2026-09-10 07:29:21] local.INFO: Packet analysis {"connection_id":178824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08909"} 
[2026-09-10 07:29:21] local.INFO: Extracted packet for processing {"connection_id":178824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08909"} 
[2026-09-10 07:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763534400,"raw_latitude":98055936,"longitude_deg":76.35344,"latitude_deg":9.8055936,"altitude":6,"angle":356,"satellites":38,"speed":47,"hex_longitude":"2d829c40","hex_latitude":"05d83700","is_valid_coordinates":true} 
[2026-09-10 07:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985411072001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130535880170405888,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146102935552,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789005520000,"timestamp_ms":1789005520000,"timestamp_seconds":1789005520,"priority":1,"record_length":96,"hex_timestamp":"000001a08909dc80"} 
[2026-09-10 07:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 07:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985411072001,"66":13493,"155":206,"85":15104,"24":47,"16":130535880170405888,"45":-9034854146102935552},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-10 07:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985411072001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:29:21] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-10 07:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130535880170405888,"km_value":130535880170405.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146102935552,"description":"Unknown IO ID 45"} 
[2026-09-10 07:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985411072001,"power":13493,"unknown_155":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9034854146102935552}} 
[2026-09-10 07:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":178824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:29:21] local.INFO: GPS data processed {"connection_id":178824,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:29:21] local.INFO: Acknowledgment sent {"connection_id":178824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:29:36] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:29:36] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:29:36] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:29:41] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:29:41] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:29:41] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:29:42] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:29:42] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:29:42] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:29:42] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:29: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-09-10 07:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:29:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:29:42] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:29:42] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:29:52] local.INFO: TCP Data received {"connection_id":178824,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08909ffa8012d82990005d85a100005015f25..."} 
[2026-09-10 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08909ffa8012d82990005d85a100005015f25..."} 
[2026-09-10 07:29:52] local.INFO: Processing buffer {"connection_id":178824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08909ffa8012d82990005d85a100005015f25..."} 
[2026-09-10 07:29:52] local.INFO: Packet analysis {"connection_id":178824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08909"} 
[2026-09-10 07:29:52] local.INFO: Extracted packet for processing {"connection_id":178824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08909"} 
[2026-09-10 07:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763533568,"raw_latitude":98064912,"longitude_deg":76.3533568,"latitude_deg":9.8064912,"altitude":5,"angle":351,"satellites":37,"speed":28,"hex_longitude":"2d829900","hex_latitude":"05d85a10","is_valid_coordinates":true} 
[2026-09-10 07:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985413120001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130536313962102784,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035276358565560320,"note":"Value kept but may cause issues"} 
[2026-09-10 07:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789005529000,"timestamp_ms":1789005529000,"timestamp_seconds":1789005529,"priority":1,"record_length":96,"hex_timestamp":"000001a08909ffa8"} 
[2026-09-10 07:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 07:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985413120001,"66":13678,"155":206,"85":15104,"24":28,"16":130536313962102784,"45":-9035276358565560320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-10 07:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985413120001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:29:52] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-10 07:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130536313962102784,"km_value":130536313962102.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035276358565560320,"description":"Unknown IO ID 45"} 
[2026-09-10 07:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985413120001,"power":13678,"unknown_155":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9035276358565560320}} 
[2026-09-10 07:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":178824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:29:52] local.INFO: GPS data processed {"connection_id":178824,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:29:52] local.INFO: Acknowledgment sent {"connection_id":178824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:30:13] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:30:13] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:30:13] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:30:13] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:30:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:30: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-09-10 07:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:30:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:30:13] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:30:13] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:30:17] local.INFO: TCP Data received {"connection_id":178825,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:30:17] local.INFO: Processing buffer {"connection_id":178825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:30:17] local.INFO: IMEI packet received {"connection_id":178825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":178825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:30:23] local.INFO: TCP Data received {"connection_id":178825,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:30:23] local.INFO: Processing buffer {"connection_id":178825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:30:23] local.INFO: IMEI packet received {"connection_id":178825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":178825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:30:23] local.INFO: TCP Data received {"connection_id":178825,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890a45f8012d82948005d86cc80006015227..."} 
[2026-09-10 07:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890a45f8012d82948005d86cc80006015227..."} 
[2026-09-10 07:30:23] local.INFO: Processing buffer {"connection_id":178825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890a45f8012d82948005d86cc80006015227..."} 
[2026-09-10 07:30:23] local.INFO: Packet analysis {"connection_id":178825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890a"} 
[2026-09-10 07:30:23] local.INFO: Extracted packet for processing {"connection_id":178825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890a"} 
[2026-09-10 07:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763532416,"raw_latitude":98069704,"longitude_deg":76.3532416,"latitude_deg":9.8069704,"altitude":6,"angle":338,"satellites":39,"speed":20,"hex_longitude":"2d829480","hex_latitude":"05d86cc8","is_valid_coordinates":true} 
[2026-09-10 07:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985415424001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130536563070205952,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036191152237572096,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789005547000,"timestamp_ms":1789005547000,"timestamp_seconds":1789005547,"priority":1,"record_length":96,"hex_timestamp":"000001a0890a45f8"} 
[2026-09-10 07:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 07:30: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-09-10 07:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985415424001,"66":13515,"47":206,"85":15104,"24":20,"16":130536563070205952,"45":-9036191152237572096},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-10 07:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985415424001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:30:23] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 07:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130536563070205952,"km_value":130536563070205.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036191152237572096,"description":"Unknown IO ID 45"} 
[2026-09-10 07:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985415424001,"power":13515,"unknown_47":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9036191152237572096}} 
[2026-09-10 07:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":178825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:30:23] local.INFO: GPS data processed {"connection_id":178825,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:30:23] local.INFO: Acknowledgment sent {"connection_id":178825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:30:37] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:30:37] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:30:37] local.INFO: IMEI packet received {"connection_id":176286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":176286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:30:41] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:30:41] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:30:41] local.INFO: IMEI packet received {"connection_id":176286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":176286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:30:42] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:30:42] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:30:42] local.INFO: Packet analysis {"connection_id":176286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:30:42] local.INFO: Extracted packet for processing {"connection_id":176286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 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-09-10 07: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-09-10 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 07:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:30: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-09-10 07:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:30:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":176286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:30:42] local.INFO: GPS data processed {"connection_id":176286,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:30:42] local.INFO: Acknowledgment sent {"connection_id":176286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:30:54] local.INFO: TCP Data received {"connection_id":178825,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890a74d8012d82868005d88db80007015827..."} 
[2026-09-10 07:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890a74d8012d82868005d88db80007015827..."} 
[2026-09-10 07:30:54] local.INFO: Processing buffer {"connection_id":178825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890a74d8012d82868005d88db80007015827..."} 
[2026-09-10 07:30:54] local.INFO: Packet analysis {"connection_id":178825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890a"} 
[2026-09-10 07:30:54] local.INFO: Extracted packet for processing {"connection_id":178825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890a"} 
[2026-09-10 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":98078136,"longitude_deg":76.3528832,"latitude_deg":9.8078136,"altitude":7,"angle":344,"satellites":39,"speed":34,"hex_longitude":"2d828680","hex_latitude":"05d88db8","is_valid_coordinates":true} 
[2026-09-10 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985420032001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130537005451837440,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037457789631543296,"note":"Value kept but may cause issues"} 
[2026-09-10 07:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789005559000,"timestamp_ms":1789005559000,"timestamp_seconds":1789005559,"priority":1,"record_length":96,"hex_timestamp":"000001a0890a74d8"} 
[2026-09-10 07:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:30: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-09-10 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 07:30: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-09-10 07:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985420032001,"66":13646,"47":206,"85":15104,"24":34,"16":130537005451837440,"45":-9037457789631543296},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-10 07:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985420032001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:30:54] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 07:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130537005451837440,"km_value":130537005451837.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037457789631543296,"description":"Unknown IO ID 45"} 
[2026-09-10 07:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985420032001,"power":13646,"unknown_47":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9037457789631543296}} 
[2026-09-10 07:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":178825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:30:54] local.INFO: GPS data processed {"connection_id":178825,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:30:54] local.INFO: Acknowledgment sent {"connection_id":178825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:31:13] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:31:13] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:31:13] local.INFO: Packet analysis {"connection_id":176286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:31:13] local.INFO: Extracted packet for processing {"connection_id":176286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:31: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-09-10 07:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:31: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-09-10 07:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:31:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":176286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:31:13] local.INFO: GPS data processed {"connection_id":176286,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:31:13] local.INFO: Acknowledgment sent {"connection_id":176286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:31:18] local.INFO: TCP Data received {"connection_id":178826,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:31:18] local.INFO: Processing buffer {"connection_id":178826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:31:18] local.INFO: IMEI packet received {"connection_id":178826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":178826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:31:23] local.INFO: TCP Data received {"connection_id":178826,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:31:23] local.INFO: Processing buffer {"connection_id":178826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:31:23] local.INFO: IMEI packet received {"connection_id":178826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":178826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:31:23] local.INFO: TCP Data received {"connection_id":178826,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890a8090012d82850005d897c80008016526..."} 
[2026-09-10 07:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890a8090012d82850005d897c80008016526..."} 
[2026-09-10 07:31:23] local.INFO: Processing buffer {"connection_id":178826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890a8090012d82850005d897c80008016526..."} 
[2026-09-10 07:31:23] local.INFO: Packet analysis {"connection_id":178826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890a"} 
[2026-09-10 07:31:23] local.INFO: Extracted packet for processing {"connection_id":178826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890a"} 
[2026-09-10 07:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":98080712,"longitude_deg":76.3528448,"latitude_deg":9.8080712,"altitude":8,"angle":357,"satellites":38,"speed":35,"hex_longitude":"2d828500","hex_latitude":"05d897c8","is_valid_coordinates":true} 
[2026-09-10 07:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985423104001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130537134300856320,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398439303333888,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789005562000,"timestamp_ms":1789005562000,"timestamp_seconds":1789005562,"priority":1,"record_length":96,"hex_timestamp":"000001a0890a8090"} 
[2026-09-10 07:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:31: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":78,"data_length":795,"current_offset":136} 
[2026-09-10 07:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985423104001,"66":13820,"47":206,"85":15104,"24":35,"16":130537134300856320,"45":-9041398439303333888},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-10 07:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985423104001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:31:23] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 07:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130537134300856320,"km_value":130537134300856.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398439303333888,"description":"Unknown IO ID 45"} 
[2026-09-10 07:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985423104001,"power":13820,"unknown_47":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9041398439303333888}} 
[2026-09-10 07:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":178826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:31:23] local.INFO: GPS data processed {"connection_id":178826,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:31:23] local.INFO: Acknowledgment sent {"connection_id":178826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:31:36] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:31:36] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:31:36] local.INFO: IMEI packet received {"connection_id":176287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":176287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:31:41] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:31:41] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:31:41] local.INFO: IMEI packet received {"connection_id":176287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":176287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:31:42] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:31:42] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890782f0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:31:42] local.INFO: Packet analysis {"connection_id":176287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:31:42] local.INFO: Extracted packet for processing {"connection_id":176287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08907"} 
[2026-09-10 07:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985296640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005366000,"timestamp_ms":1789005366000,"timestamp_seconds":1789005366,"priority":1,"record_length":96,"hex_timestamp":"000001a0890782f0"} 
[2026-09-10 07:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:31: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-09-10 07:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985296640001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985296640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985296640001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":176287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:31:42] local.INFO: GPS data processed {"connection_id":176287,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:31:42] local.INFO: Acknowledgment sent {"connection_id":176287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:31:54] local.INFO: TCP Data received {"connection_id":178826,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c7490012d82414005d9f9e00005015e27..."} 
[2026-09-10 07:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c7490012d82414005d9f9e00005015e27..."} 
[2026-09-10 07:31:54] local.INFO: Processing buffer {"connection_id":178826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c7490012d82414005d9f9e00005015e27..."} 
[2026-09-10 07:31:54] local.INFO: Packet analysis {"connection_id":178826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:31:54] local.INFO: Extracted packet for processing {"connection_id":178826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763511104,"raw_latitude":98171360,"longitude_deg":76.3511104,"latitude_deg":9.817136,"altitude":5,"angle":350,"satellites":39,"speed":22,"hex_longitude":"2d824140","hex_latitude":"05d9f9e0","is_valid_coordinates":true} 
[2026-09-10 07:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985451520001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130541639721549824,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060186893976061952,"note":"Value kept but may cause issues"} 
[2026-09-10 07:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789005690000,"timestamp_ms":1789005690000,"timestamp_seconds":1789005690,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c7490"} 
[2026-09-10 07:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 07:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985451520001,"66":13515,"69":206,"85":15104,"24":22,"16":130541639721549824,"45":-9060186893976061952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-10 07:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985451520001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:31:54] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-10 07:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130541639721549824,"km_value":130541639721549.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060186893976061952,"description":"Unknown IO ID 45"} 
[2026-09-10 07:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985451520001,"power":13515,"unknown_69":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9060186893976061952}} 
[2026-09-10 07:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":178826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:31:54] local.INFO: GPS data processed {"connection_id":178826,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:31:54] local.INFO: Acknowledgment sent {"connection_id":178826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:32:13] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:32:13] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:32:13] local.INFO: Packet analysis {"connection_id":176287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:13] local.INFO: Extracted packet for processing {"connection_id":176287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:32: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-09-10 07:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:32: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-09-10 07:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:32: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-09-10 07:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:32:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":176287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:32:13] local.INFO: GPS data processed {"connection_id":176287,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:32:13] local.INFO: Acknowledgment sent {"connection_id":176287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:32:18] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:18] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:18] local.INFO: IMEI packet received {"connection_id":177451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":177451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:32:19] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:19] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:19] local.INFO: IMEI packet received {"connection_id":177451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":177451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:32:20] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:20] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:20] local.INFO: IMEI packet received {"connection_id":177451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":177451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:32:22] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:22] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:32:22] local.INFO: IMEI packet received {"connection_id":177451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":177451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:32:23] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890ca370012d823b4005da1e200005015f29..."} 
[2026-09-10 07:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890ca370012d823b4005da1e200005015f29..."} 
[2026-09-10 07:32:23] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890ca370012d823b4005da1e200005015f29..."} 
[2026-09-10 07:32:23] local.INFO: Packet analysis {"connection_id":177451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:23] local.INFO: Extracted packet for processing {"connection_id":177451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763509568,"raw_latitude":98180640,"longitude_deg":76.3509568,"latitude_deg":9.818064,"altitude":5,"angle":351,"satellites":41,"speed":35,"hex_longitude":"2d823b40","hex_latitude":"05da1e20","is_valid_coordinates":true} 
[2026-09-10 07:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985456640001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130542099283050496,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060890581416681472,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789005702000,"timestamp_ms":1789005702000,"timestamp_seconds":1789005702,"priority":1,"record_length":96,"hex_timestamp":"000001a0890ca370"} 
[2026-09-10 07:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:32: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-09-10 07:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 07:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985456640001,"66":13504,"71":206,"85":15104,"24":35,"16":130542099283050496,"45":-9060890581416681472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 07:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985456640001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:32:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 07:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130542099283050496,"km_value":130542099283050.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060890581416681472,"description":"Unknown IO ID 45"} 
[2026-09-10 07:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985456640001,"power":13504,"unknown_71":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9060890581416681472}} 
[2026-09-10 07:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":177451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:32:23] local.INFO: GPS data processed {"connection_id":177451,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:32:23] local.INFO: Acknowledgment sent {"connection_id":177451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:32:24] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890cca80012d82358005da42600005015d29..."} 
[2026-09-10 07:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890cca80012d82358005da42600005015d29..."} 
[2026-09-10 07:32:24] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890cca80012d82358005da42600005015d29..."} 
[2026-09-10 07:32:24] local.INFO: Packet analysis {"connection_id":177451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:24] local.INFO: Extracted packet for processing {"connection_id":177451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763508096,"raw_latitude":98189920,"longitude_deg":76.3508096,"latitude_deg":9.818992,"altitude":5,"angle":349,"satellites":41,"speed":40,"hex_longitude":"2d823580","hex_latitude":"05da4260","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985459712001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130542554549583872,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062579431274569728,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789005712000,"timestamp_ms":1789005712000,"timestamp_seconds":1789005712,"priority":1,"record_length":96,"hex_timestamp":"000001a0890cca80"} 
[2026-09-10 07:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-10 07:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985459712001,"66":13798,"71":206,"85":15104,"24":40,"16":130542554549583872,"45":-9062579431274569728},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 07:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985459712001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:32:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 07:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130542554549583872,"km_value":130542554549583.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062579431274569728,"description":"Unknown IO ID 45"} 
[2026-09-10 07:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985459712001,"power":13798,"unknown_71":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9062579431274569728}} 
[2026-09-10 07:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":177451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:32:24] local.INFO: GPS data processed {"connection_id":177451,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:32:24] local.INFO: Acknowledgment sent {"connection_id":177451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:32:36] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:32:36] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:32:36] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:32:41] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:32:41] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:32:41] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:32:42] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:32:42] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:32:42] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:42] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:32: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-09-10 07:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:32:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:32:42] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:32:42] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:32:55] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0890ce9c0012d822dc005da62600004015229..."} 
[2026-09-10 07:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890ce9c0012d822dc005da62600004015229..."} 
[2026-09-10 07:32:55] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890ce9c0012d822dc005da62600004015229..."} 
[2026-09-10 07:32:55] local.INFO: Packet analysis {"connection_id":177451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:55] local.INFO: Extracted packet for processing {"connection_id":177451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763506112,"raw_latitude":98198112,"longitude_deg":76.3506112,"latitude_deg":9.8198112,"altitude":4,"angle":338,"satellites":41,"speed":41,"hex_longitude":"2d822dc0","hex_latitude":"05da6260","is_valid_coordinates":true} 
[2026-09-10 07:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985462272001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130542962571476992,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064197912388280320,"note":"Value kept but may cause issues"} 
[2026-09-10 07:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789005720000,"timestamp_ms":1789005720000,"timestamp_seconds":1789005720,"priority":1,"record_length":96,"hex_timestamp":"000001a0890ce9c0"} 
[2026-09-10 07:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:32: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":230,"data_length":795,"current_offset":136} 
[2026-09-10 07:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985462272001,"66":13493,"71":206,"85":15104,"24":41,"16":130542962571476992,"45":-9064197912388280320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 07:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985462272001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:32:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 07:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130542962571476992,"km_value":130542962571476.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064197912388280320,"description":"Unknown IO ID 45"} 
[2026-09-10 07:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985462272001,"power":13493,"unknown_71":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9064197912388280320}} 
[2026-09-10 07:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":177451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:32:55] local.INFO: GPS data processed {"connection_id":177451,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:32:55] local.INFO: Acknowledgment sent {"connection_id":177451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:33:13] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:13] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:13] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:33:13] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:33: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-09-10 07:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:33: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-09-10 07:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:33:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:33:13] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:33:13] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:33:17] local.INFO: TCP Data received {"connection_id":176050,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:17] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:17] local.INFO: IMEI packet received {"connection_id":176050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":176050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:33:18] local.INFO: TCP Data received {"connection_id":176050,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:18] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:18] local.INFO: IMEI packet received {"connection_id":176050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":176050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:33:18] local.INFO: TCP Data received {"connection_id":176050,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:18] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:18] local.INFO: IMEI packet received {"connection_id":176050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":176050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:33:19] local.INFO: TCP Data received {"connection_id":176050,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:19] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:33:19] local.INFO: IMEI packet received {"connection_id":176050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":176050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:33:41] local.INFO: TCP Data received {"connection_id":177452,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:33:41] local.INFO: Processing buffer {"connection_id":177452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:33:41] local.INFO: IMEI packet received {"connection_id":177452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":177452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:33:46] local.INFO: TCP Data received {"connection_id":177452,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:33:46] local.INFO: Processing buffer {"connection_id":177452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:33:46] local.INFO: IMEI packet received {"connection_id":177452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":177452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:33:47] local.INFO: TCP Data received {"connection_id":177452,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:47] local.INFO: Processing buffer {"connection_id":177452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:47] local.INFO: Packet analysis {"connection_id":177452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:33:47] local.INFO: Extracted packet for processing {"connection_id":177452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:33:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:33:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:33:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":177452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:33:47] local.INFO: GPS data processed {"connection_id":177452,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:33:47] local.INFO: Acknowledgment sent {"connection_id":177452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:33:52] local.INFO: TCP Data received {"connection_id":177452,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:52] local.INFO: Processing buffer {"connection_id":177452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:33:52] local.INFO: Packet analysis {"connection_id":177452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:33:52] local.INFO: Extracted packet for processing {"connection_id":177452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:33:52] 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-09-10 07:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":177452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:33:52] local.INFO: GPS data processed {"connection_id":177452,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:33:52] local.INFO: Acknowledgment sent {"connection_id":177452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:34:36] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:34:36] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:34:36] local.INFO: IMEI packet received {"connection_id":176288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":176288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:34:41] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:34:41] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:34:41] local.INFO: IMEI packet received {"connection_id":176288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:34:42] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:34:42] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:34:42] local.INFO: Packet analysis {"connection_id":176288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:34:42] local.INFO: Extracted packet for processing {"connection_id":176288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":176288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:34:42] local.INFO: GPS data processed {"connection_id":176288,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:34:42] local.INFO: Acknowledgment sent {"connection_id":176288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:35:13] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:35:13] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:35:13] local.INFO: Packet analysis {"connection_id":176288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:35:13] local.INFO: Extracted packet for processing {"connection_id":176288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:35:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:35: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-09-10 07:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:35: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-09-10 07: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-09-10 07:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:35: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-09-10 07:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:35:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":176288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:35:13] local.INFO: GPS data processed {"connection_id":176288,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:35:13] local.INFO: Acknowledgment sent {"connection_id":176288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:35:36] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:35:36] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:35:36] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:35:41] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:35:41] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:35:41] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:35:42] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:35:42] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:35:42] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:35:42] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:35: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-09-10 07:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:35:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:35:42] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:35:42] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:36:13] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:36:13] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:36:13] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:36:13] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:36: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-09-10 07:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:36: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-09-10 07:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:36: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-09-10 07:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:36:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:36:13] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:36:13] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:36:36] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:36:36] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:36:36] local.INFO: IMEI packet received {"connection_id":176289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":176289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:36:41] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:36:41] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:36:41] local.INFO: IMEI packet received {"connection_id":176289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":176289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:36:42] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:36:42] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0890c1ab8012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:36:42] local.INFO: Packet analysis {"connection_id":176289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:36:42] local.INFO: Extracted packet for processing {"connection_id":176289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0890c"} 
[2026-09-10 07:36:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985373696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005667000,"timestamp_ms":1789005667000,"timestamp_seconds":1789005667,"priority":1,"record_length":96,"hex_timestamp":"000001a0890c1ab8"} 
[2026-09-10 07:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:36: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-09-10 07:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985373696001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985373696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:36:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985373696001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":176289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:36:42] local.INFO: GPS data processed {"connection_id":176289,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:36:42] local.INFO: Acknowledgment sent {"connection_id":176289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:37:13] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:37:13] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:37:13] local.INFO: Packet analysis {"connection_id":176289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:37:13] local.INFO: Extracted packet for processing {"connection_id":176289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:37:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:37: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-09-10 07:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:37: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-09-10 07:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:37:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":176289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:37:13] local.INFO: GPS data processed {"connection_id":176289,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:37:13] local.INFO: Acknowledgment sent {"connection_id":176289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:37:36] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:37:36] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:37:36] local.INFO: IMEI packet received {"connection_id":176054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":176054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:37:41] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:37:41] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:37:41] local.INFO: IMEI packet received {"connection_id":176054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":176054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:37:42] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:37:42] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:37:42] local.INFO: Packet analysis {"connection_id":176054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:37:42] local.INFO: Extracted packet for processing {"connection_id":176054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:37:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:37: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-09-10 07:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:37: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-09-10 07:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":176054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:37:42] local.INFO: GPS data processed {"connection_id":176054,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:37:42] local.INFO: Acknowledgment sent {"connection_id":176054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:38:13] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:13] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:13] local.INFO: Packet analysis {"connection_id":176054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:38:13] local.INFO: Extracted packet for processing {"connection_id":176054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:38:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 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-09-10 07:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:38: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-09-10 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-09-10 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-09-10 07:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:38:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:38:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":176054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:38:13] local.INFO: GPS data processed {"connection_id":176054,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:38:13] local.INFO: Acknowledgment sent {"connection_id":176054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:38:29] local.INFO: TCP Data received {"connection_id":178829,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:38:29] local.INFO: Processing buffer {"connection_id":178829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:38:29] local.INFO: IMEI packet received {"connection_id":178829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":178829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:38:37] local.INFO: TCP Data received {"connection_id":178829,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:38:37] local.INFO: Processing buffer {"connection_id":178829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:38:37] local.INFO: IMEI packet received {"connection_id":178829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":178829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:38:38] local.INFO: TCP Data received {"connection_id":178829,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08911d778012d7f754005dcdb400006015924..."} 
[2026-09-10 07:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08911d778012d7f754005dcdb400006015924..."} 
[2026-09-10 07:38:38] local.INFO: Processing buffer {"connection_id":178829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08911d778012d7f754005dcdb400006015924..."} 
[2026-09-10 07:38:38] local.INFO: Packet analysis {"connection_id":178829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08911"} 
[2026-09-10 07:38:38] local.INFO: Extracted packet for processing {"connection_id":178829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08911"} 
[2026-09-10 07:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763327808,"raw_latitude":98360128,"longitude_deg":76.3327808,"latitude_deg":9.8360128,"altitude":6,"angle":345,"satellites":36,"speed":43,"hex_longitude":"2d7f7540","hex_latitude":"05dcdb40","is_valid_coordinates":true} 
[2026-09-10 07:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985546496001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130557183208194048,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184950727713427456,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789006043000,"timestamp_ms":1789006043000,"timestamp_seconds":1789006043,"priority":1,"record_length":96,"hex_timestamp":"000001a08911d778"} 
[2026-09-10 07:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 07:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985546496001,"66":13602,"251":206,"85":15104,"24":43,"16":130557183208194048,"45":9184950727713427456},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-10 07:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985546496001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:38:38] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-10 07:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130557183208194048,"km_value":130557183208194.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184950727713427456,"description":"Unknown IO ID 45"} 
[2026-09-10 07:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985546496001,"power":13602,"unknown_251":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9184950727713427456}} 
[2026-09-10 07:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":178829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:38:38] local.INFO: GPS data processed {"connection_id":178829,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:38:38] local.INFO: Acknowledgment sent {"connection_id":178829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:38:39] local.INFO: TCP Data received {"connection_id":178829,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08911f2d0012d7f6bc005dcfa100005014b25..."} 
[2026-09-10 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08911f2d0012d7f6bc005dcfa100005014b25..."} 
[2026-09-10 07:38:39] local.INFO: Processing buffer {"connection_id":178829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08911f2d0012d7f6bc005dcfa100005014b25..."} 
[2026-09-10 07:38:39] local.INFO: Packet analysis {"connection_id":178829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08911"} 
[2026-09-10 07:38:39] local.INFO: Extracted packet for processing {"connection_id":178829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08911"} 
[2026-09-10 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763325376,"raw_latitude":98368016,"longitude_deg":76.3325376,"latitude_deg":9.8368016,"altitude":5,"angle":331,"satellites":37,"speed":48,"hex_longitude":"2d7f6bc0","hex_latitude":"05dcfa10","is_valid_coordinates":true} 
[2026-09-10 07:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985547008001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130557582640152576,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184317409016365056,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38: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-09-10 07:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789006050000,"timestamp_ms":1789006050000,"timestamp_seconds":1789006050,"priority":1,"record_length":96,"hex_timestamp":"000001a08911f2d0"} 
[2026-09-10 07:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 07:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985547008001,"66":13515,"251":206,"85":15104,"24":48,"16":130557582640152576,"45":9184317409016365056},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-10 07:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985547008001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:38:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-10 07:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130557582640152576,"km_value":130557582640152.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184317409016365056,"description":"Unknown IO ID 45"} 
[2026-09-10 07:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985547008001,"power":13515,"unknown_251":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9184317409016365056}} 
[2026-09-10 07:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":178829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:38:39] local.INFO: GPS data processed {"connection_id":178829,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:38:39] local.INFO: Acknowledgment sent {"connection_id":178829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:38:41] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:38:41] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:38:41] local.INFO: IMEI packet received {"connection_id":176290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":176290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:38:46] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:38:46] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:38:46] local.INFO: IMEI packet received {"connection_id":176290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":176290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:38:47] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:47] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:47] local.INFO: Packet analysis {"connection_id":176290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:38:47] local.INFO: Extracted packet for processing {"connection_id":176290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:38:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:38:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":176290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:38:47] local.INFO: GPS data processed {"connection_id":176290,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:38:47] local.INFO: Acknowledgment sent {"connection_id":176290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:38:52] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:52] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:38:52] local.INFO: Packet analysis {"connection_id":176290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:38:52] local.INFO: Extracted packet for processing {"connection_id":176290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:38:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":176290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:38:52] local.INFO: GPS data processed {"connection_id":176290,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:38:52] local.INFO: Acknowledgment sent {"connection_id":176290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:39:17] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:39:17] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:39:17] local.INFO: IMEI packet received {"connection_id":177453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":177453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:39:22] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:39:22] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:39:22] local.INFO: IMEI packet received {"connection_id":177453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":177453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:39:22] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089121210012d7f554005dd19380002014a25..."} 
[2026-09-10 07:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089121210012d7f554005dd19380002014a25..."} 
[2026-09-10 07:39:22] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089121210012d7f554005dd19380002014a25..."} 
[2026-09-10 07:39:22] local.INFO: Packet analysis {"connection_id":177453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08912"} 
[2026-09-10 07:39:22] local.INFO: Extracted packet for processing {"connection_id":177453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08912"} 
[2026-09-10 07:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763319616,"raw_latitude":98375992,"longitude_deg":76.3319616,"latitude_deg":9.8375992,"altitude":2,"angle":330,"satellites":37,"speed":46,"hex_longitude":"2d7f5540","hex_latitude":"05dd1938","is_valid_coordinates":true} 
[2026-09-10 07:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985548800001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130558059381522432,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181643396739633152,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789006058000,"timestamp_ms":1789006058000,"timestamp_seconds":1789006058,"priority":1,"record_length":96,"hex_timestamp":"000001a089121210"} 
[2026-09-10 07:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 07:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985548800001,"66":12645,"251":206,"85":15104,"24":46,"16":130558059381522432,"45":9181643396739633152},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-10 07:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985548800001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:39:22] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-10 07:39:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130558059381522432,"km_value":130558059381522.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181643396739633152,"description":"Unknown IO ID 45"} 
[2026-09-10 07:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985548800001,"power":12645,"unknown_251":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9181643396739633152}} 
[2026-09-10 07:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":177453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:39:22] local.INFO: GPS data processed {"connection_id":177453,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:39:22] local.INFO: Acknowledgment sent {"connection_id":177453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:39:36] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:39:36] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:39:36] local.INFO: IMEI packet received {"connection_id":176055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":176055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:39:41] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:39:41] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:39:41] local.INFO: IMEI packet received {"connection_id":176055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":176055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:39:42] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:39:42] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:39:42] local.INFO: Packet analysis {"connection_id":176055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:39:42] local.INFO: Extracted packet for processing {"connection_id":176055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:39: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-09-10 07:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":176055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:39:42] local.INFO: GPS data processed {"connection_id":176055,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:39:42] local.INFO: Acknowledgment sent {"connection_id":176055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:39:53] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08913c790012d7edc0005de8b600004015227..."} 
[2026-09-10 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08913c790012d7edc0005de8b600004015227..."} 
[2026-09-10 07:39:53] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08913c790012d7edc0005de8b600004015227..."} 
[2026-09-10 07:39:53] local.INFO: Packet analysis {"connection_id":177453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08913"} 
[2026-09-10 07:39:53] local.INFO: Extracted packet for processing {"connection_id":177453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08913"} 
[2026-09-10 07:39:53] local.INFO: GPS Element Parsed {"raw_longitude":763288576,"raw_latitude":98470752,"longitude_deg":76.3288576,"latitude_deg":9.8470752,"altitude":4,"angle":338,"satellites":39,"speed":36,"hex_longitude":"2d7edc00","hex_latitude":"05de8b60","is_valid_coordinates":true} 
[2026-09-10 07:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985576960001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130562938464370688,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145122018535497728,"note":"Value kept but may cause issues"} 
[2026-09-10 07:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789006170000,"timestamp_ms":1789006170000,"timestamp_seconds":1789006170,"priority":1,"record_length":96,"hex_timestamp":"000001a08913c790"} 
[2026-09-10 07:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 07:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985576960001,"66":13906,"205":206,"85":15104,"24":36,"16":130562938464370688,"45":9145122018535497728},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-10 07:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985576960001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130562938464370688,"km_value":130562938464370.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145122018535497728,"description":"Unknown IO ID 45"} 
[2026-09-10 07:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985576960001,"power":13906,"cell_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9145122018535497728}} 
[2026-09-10 07:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":177453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:39:53] local.INFO: GPS data processed {"connection_id":177453,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:39:53] local.INFO: Acknowledgment sent {"connection_id":177453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:40:13] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:40:13] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:40:13] local.INFO: Packet analysis {"connection_id":176055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:40:13] local.INFO: Extracted packet for processing {"connection_id":176055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:40:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:40: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-09-10 07:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:40: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-09-10 07:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:40:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":176055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:40:13] local.INFO: GPS data processed {"connection_id":176055,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:40:13] local.INFO: Acknowledgment sent {"connection_id":176055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:40:14] local.INFO: TCP Data received {"connection_id":177454,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:14] local.INFO: Processing buffer {"connection_id":177454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:14] local.INFO: IMEI packet received {"connection_id":177454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":177454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:40:17] local.INFO: TCP Data received {"connection_id":177454,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:17] local.INFO: Processing buffer {"connection_id":177454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:17] local.INFO: IMEI packet received {"connection_id":177454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":177454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:40:22] local.INFO: TCP Data received {"connection_id":177454,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:22] local.INFO: Processing buffer {"connection_id":177454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:40:22] local.INFO: IMEI packet received {"connection_id":177454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":177454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:40:23] local.INFO: TCP Data received {"connection_id":177454,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08913eab8012d7ed1c005deaed80004015c27..."} 
[2026-09-10 07:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08913eab8012d7ed1c005deaed80004015c27..."} 
[2026-09-10 07:40:23] local.INFO: Processing buffer {"connection_id":177454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08913eab8012d7ed1c005deaed80004015c27..."} 
[2026-09-10 07:40:23] local.INFO: Packet analysis {"connection_id":177454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08913"} 
[2026-09-10 07:40:23] local.INFO: Extracted packet for processing {"connection_id":177454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08913"} 
[2026-09-10 07:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763285952,"raw_latitude":98479832,"longitude_deg":76.3285952,"latitude_deg":9.8479832,"altitude":4,"angle":348,"satellites":39,"speed":43,"hex_longitude":"2d7ed1c0","hex_latitude":"05deaed8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985579520001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130563393730904064,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141181368863776768,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40: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-09-10 07:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789006179000,"timestamp_ms":1789006179000,"timestamp_seconds":1789006179,"priority":1,"record_length":96,"hex_timestamp":"000001a08913eab8"} 
[2026-09-10 07:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:40: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-09-10 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 07:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985579520001,"66":12798,"205":206,"85":15104,"24":43,"16":130563393730904064,"45":9141181368863776768},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-10 07:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985579520001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130563393730904064,"km_value":130563393730904.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141181368863776768,"description":"Unknown IO ID 45"} 
[2026-09-10 07:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985579520001,"power":12798,"cell_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9141181368863776768}} 
[2026-09-10 07:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":177454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:40:23] local.INFO: GPS data processed {"connection_id":177454,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:40:23] local.INFO: Acknowledgment sent {"connection_id":177454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:40:36] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:40:36] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:40:36] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:40:41] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:40:41] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:40:41] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:40:42] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:40:42] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:40:42] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:40:42] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:40:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:40: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-09-10 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:40:42] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:40:42] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:40:54] local.INFO: TCP Data received {"connection_id":177454,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08913fe40012d7ecf8005dec2d80005000028..."} 
[2026-09-10 07:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08913fe40012d7ecf8005dec2d80005000028..."} 
[2026-09-10 07:40:54] local.INFO: Processing buffer {"connection_id":177454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08913fe40012d7ecf8005dec2d80005000028..."} 
[2026-09-10 07:40:54] local.INFO: Packet analysis {"connection_id":177454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08913"} 
[2026-09-10 07:40:54] local.INFO: Extracted packet for processing {"connection_id":177454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08913"} 
[2026-09-10 07:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":98484952,"longitude_deg":76.3285376,"latitude_deg":9.8484952,"altitude":5,"angle":0,"satellites":40,"speed":40,"hex_longitude":"2d7ecf80","hex_latitude":"05dec2d8","is_valid_coordinates":true} 
[2026-09-10 07:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985581824001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130563647133974528,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138296250354817024,"note":"Value kept but may cause issues"} 
[2026-09-10 07:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789006184000,"timestamp_ms":1789006184000,"timestamp_seconds":1789006184,"priority":1,"record_length":96,"hex_timestamp":"000001a08913fe40"} 
[2026-09-10 07:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 07:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985581824001,"66":13559,"205":206,"85":15104,"24":40,"16":130563647133974528,"45":9138296250354817024},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-10 07:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985581824001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130563647133974528,"km_value":130563647133974.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138296250354817024,"description":"Unknown IO ID 45"} 
[2026-09-10 07:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985581824001,"power":13559,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9138296250354817024}} 
[2026-09-10 07:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":177454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:40:54] local.INFO: GPS data processed {"connection_id":177454,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:40:54] local.INFO: Acknowledgment sent {"connection_id":177454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:41:13] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:41:13] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:41:13] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:41:13] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07: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-09-10 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:41: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-09-10 07:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:41: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-09-10 07:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:41:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:41:13] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:41:13] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:41:18] local.INFO: TCP Data received {"connection_id":178830,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:41:18] local.INFO: Processing buffer {"connection_id":178830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:41:18] local.INFO: IMEI packet received {"connection_id":178830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":178830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:41:23] local.INFO: TCP Data received {"connection_id":178830,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:41:23] local.INFO: Processing buffer {"connection_id":178830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:41:23] local.INFO: IMEI packet received {"connection_id":178830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":178830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:41:24] local.INFO: TCP Data received {"connection_id":178830,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089142168012d7ecc4005dee5900006015e28..."} 
[2026-09-10 07:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089142168012d7ecc4005dee5900006015e28..."} 
[2026-09-10 07:41:24] local.INFO: Processing buffer {"connection_id":178830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089142168012d7ecc4005dee5900006015e28..."} 
[2026-09-10 07:41:24] local.INFO: Packet analysis {"connection_id":178830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08914"} 
[2026-09-10 07:41:24] local.INFO: Extracted packet for processing {"connection_id":178830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08914"} 
[2026-09-10 07:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763284544,"raw_latitude":98493840,"longitude_deg":76.3284544,"latitude_deg":9.849384,"altitude":6,"angle":350,"satellites":40,"speed":36,"hex_longitude":"2d7ecc40","hex_latitude":"05dee590","is_valid_coordinates":true} 
[2026-09-10 07:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985583104001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130564076630704128,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137662931658528768,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789006193000,"timestamp_ms":1789006193000,"timestamp_seconds":1789006193,"priority":1,"record_length":96,"hex_timestamp":"000001a089142168"} 
[2026-09-10 07:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 07:41: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-09-10 07:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985583104001,"66":13428,"205":206,"85":15104,"24":36,"16":130564076630704128,"45":9137662931658528768},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-10 07:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985583104001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130564076630704128,"km_value":130564076630704.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137662931658528768,"description":"Unknown IO ID 45"} 
[2026-09-10 07:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985583104001,"power":13428,"cell_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9137662931658528768}} 
[2026-09-10 07:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":178830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:41:24] local.INFO: GPS data processed {"connection_id":178830,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:41:24] local.INFO: Acknowledgment sent {"connection_id":178830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:41:36] local.INFO: TCP Data received {"connection_id":177455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:41:36] local.INFO: Processing buffer {"connection_id":177455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:41:36] local.INFO: IMEI packet received {"connection_id":177455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":177455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:41:41] local.INFO: TCP Data received {"connection_id":177455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:41:41] local.INFO: Processing buffer {"connection_id":177455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:41:41] local.INFO: IMEI packet received {"connection_id":177455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":177455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:41:42] local.INFO: TCP Data received {"connection_id":177455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:41:42] local.INFO: Processing buffer {"connection_id":177455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08910b280012cee6fc0072e2ba80034006b28..."} 
[2026-09-10 07:41:42] local.INFO: Packet analysis {"connection_id":177455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:41:42] local.INFO: Extracted packet for processing {"connection_id":177455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08910"} 
[2026-09-10 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985450752001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789005968000,"timestamp_ms":1789005968000,"timestamp_seconds":1789005968,"priority":1,"record_length":96,"hex_timestamp":"000001a08910b280"} 
[2026-09-10 07:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:41: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-09-10 07:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 07:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985450752001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985450752001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:41:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985450752001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":177455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:41:42] local.INFO: GPS data processed {"connection_id":177455,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:41:42] local.INFO: Acknowledgment sent {"connection_id":177455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:41:55] local.INFO: TCP Data received {"connection_id":178830,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08915a038012d7e4d8005e024700003015327..."} 
[2026-09-10 07:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08915a038012d7e4d8005e024700003015327..."} 
[2026-09-10 07:41:55] local.INFO: Processing buffer {"connection_id":178830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08915a038012d7e4d8005e024700003015327..."} 
[2026-09-10 07:41:55] local.INFO: Packet analysis {"connection_id":178830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:41:55] local.INFO: Extracted packet for processing {"connection_id":178830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763252096,"raw_latitude":98575472,"longitude_deg":76.3252096,"latitude_deg":9.8575472,"altitude":3,"angle":339,"satellites":39,"speed":42,"hex_longitude":"2d7e4d80","hex_latitude":"05e02470","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985608192001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130568384482902016,"note":"Value kept but may cause issues"} 
[2026-09-10 07:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104448884427612160,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 07:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789006291000,"timestamp_ms":1789006291000,"timestamp_seconds":1789006291,"priority":1,"record_length":96,"hex_timestamp":"000001a08915a038"} 
[2026-09-10 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-09-10 07:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 07:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 07:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985608192001,"66":13526,"207":206,"85":15104,"24":42,"16":130568384482902016,"45":9104448884427612160},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 07:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985608192001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:41:55] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 07:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130568384482902016,"km_value":130568384482902.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104448884427612160,"description":"Unknown IO ID 45"} 
[2026-09-10 07:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985608192001,"power":13526,"unknown_207":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9104448884427612160}} 
[2026-09-10 07:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":178830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:41:55] local.INFO: GPS data processed {"connection_id":178830,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:41:55] local.INFO: Acknowledgment sent {"connection_id":178830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:42:13] local.INFO: TCP Data received {"connection_id":177455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:42:13] local.INFO: Processing buffer {"connection_id":177455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:42:13] local.INFO: Packet analysis {"connection_id":177455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:13] local.INFO: Extracted packet for processing {"connection_id":177455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:42: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-09-10 07:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:42:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":177455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:42:13] local.INFO: GPS data processed {"connection_id":177455,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:42:13] local.INFO: Acknowledgment sent {"connection_id":177455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:42:16] local.INFO: TCP Data received {"connection_id":178831,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:16] local.INFO: Processing buffer {"connection_id":178831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:16] local.INFO: IMEI packet received {"connection_id":178831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":178831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:42:17] local.INFO: TCP Data received {"connection_id":178831,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:17] local.INFO: Processing buffer {"connection_id":178831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:17] local.INFO: IMEI packet received {"connection_id":178831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":178831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:42:18] local.INFO: TCP Data received {"connection_id":178831,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:18] local.INFO: Processing buffer {"connection_id":178831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:18] local.INFO: IMEI packet received {"connection_id":178831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":178831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:42:22] local.INFO: TCP Data received {"connection_id":178831,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:22] local.INFO: Processing buffer {"connection_id":178831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:42:22] local.INFO: IMEI packet received {"connection_id":178831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":178831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:42:22] local.INFO: TCP Data received {"connection_id":178831,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08915c360012d7e410005e046b00005015c27..."} 
[2026-09-10 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08915c360012d7e410005e046b00005015c27..."} 
[2026-09-10 07:42:22] local.INFO: Processing buffer {"connection_id":178831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08915c360012d7e410005e046b00005015c27..."} 
[2026-09-10 07:42:22] local.INFO: Packet analysis {"connection_id":178831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:22] local.INFO: Extracted packet for processing {"connection_id":178831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763248896,"raw_latitude":98584240,"longitude_deg":76.3248896,"latitude_deg":9.858424,"altitude":5,"angle":348,"satellites":39,"speed":40,"hex_longitude":"2d7e4100","hex_latitude":"05e046b0","is_valid_coordinates":true} 
[2026-09-10 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985610496001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130568835454468096,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101071184709316608,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789006300000,"timestamp_ms":1789006300000,"timestamp_seconds":1789006300,"priority":1,"record_length":96,"hex_timestamp":"000001a08915c360"} 
[2026-09-10 07:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:42: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-09-10 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 07:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985610496001,"66":13580,"207":206,"85":15104,"24":40,"16":130568835454468096,"45":9101071184709316608},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 07:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985610496001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:42:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 07:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130568835454468096,"km_value":130568835454468.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101071184709316608,"description":"Unknown IO ID 45"} 
[2026-09-10 07:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985610496001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9101071184709316608}} 
[2026-09-10 07:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":178831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:42:22] local.INFO: GPS data processed {"connection_id":178831,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:42:22] local.INFO: Acknowledgment sent {"connection_id":178831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:42:36] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:42:36] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:42:36] local.INFO: IMEI packet received {"connection_id":177456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":177456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:42:41] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:42:41] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:42:41] local.INFO: IMEI packet received {"connection_id":177456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":177456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:42:42] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:42:42] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:42:42] local.INFO: Packet analysis {"connection_id":177456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:42] local.INFO: Extracted packet for processing {"connection_id":177456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:42: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-09-10 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:42:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":177456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:42:42] local.INFO: GPS data processed {"connection_id":177456,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:42:42] local.INFO: Acknowledgment sent {"connection_id":177456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:42:53] local.INFO: TCP Data received {"connection_id":178831,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08915f240012d7e3dc005e06ae80006016327..."} 
[2026-09-10 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08915f240012d7e3dc005e06ae80006016327..."} 
[2026-09-10 07:42:53] local.INFO: Processing buffer {"connection_id":178831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08915f240012d7e3dc005e06ae80006016327..."} 
[2026-09-10 07:42:53] local.INFO: Packet analysis {"connection_id":178831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:53] local.INFO: Extracted packet for processing {"connection_id":178831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763248064,"raw_latitude":98593512,"longitude_deg":76.3248064,"latitude_deg":9.8593512,"altitude":6,"angle":355,"satellites":39,"speed":19,"hex_longitude":"2d7e3dc0","hex_latitude":"05e06ae8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985612800001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130569290721001472,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097552747502678016,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789006312000,"timestamp_ms":1789006312000,"timestamp_seconds":1789006312,"priority":1,"record_length":96,"hex_timestamp":"000001a08915f240"} 
[2026-09-10 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-09-10 07:42: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-09-10 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632349,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3722444800,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3541565444,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2299849864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6208212271013822474,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055567,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798584014,"corrected_to":0} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2147868590,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-8881092008045707258,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":48,"raw_value":5404545669149019733,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-09-10 07:42:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,207,85,24,241,157,16,223,160,45,128,36,3,39,10,66,125,2,222,82,1,240,51,227,137,4,113,205,29,19,109,192,40,239,52,5,126,48,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2798584014,"validated":0}]} 
[2026-09-10 07:42:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360670767742451712,"timestamp_seconds":360670767742451.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 07:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985612800001,"66":13189,"104":206,"85":15104,"24":19,"16":130569290721001472,"45":9097552747502678016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-10 07:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985612800001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:42:53] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 07:42:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130569290721001472,"km_value":130569290721001.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097552747502678016,"description":"Unknown IO ID 45"} 
[2026-09-10 07:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985612800001,"power":13189,"unknown_104":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9097552747502678016}} 
[2026-09-10 07:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":178831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:42:53] local.INFO: GPS data processed {"connection_id":178831,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:42:53] local.INFO: Acknowledgment sent {"connection_id":178831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:43:13] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:43:13] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:43:13] local.INFO: Packet analysis {"connection_id":177456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:43:13] local.INFO: Extracted packet for processing {"connection_id":177456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:43:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":177456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:43:13] local.INFO: GPS data processed {"connection_id":177456,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:43:13] local.INFO: Acknowledgment sent {"connection_id":177456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:43:17] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:43:17] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:43:17] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:43:23] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:43:23] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:43:23] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:43:23] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0891609b0012d7e3bc005e077000005015827..."} 
[2026-09-10 07:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891609b0012d7e3bc005e077000005015827..."} 
[2026-09-10 07:43:23] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891609b0012d7e3bc005e077000005015827..."} 
[2026-09-10 07:43:23] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08916"} 
[2026-09-10 07:43:23] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08916"} 
[2026-09-10 07:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":98596608,"longitude_deg":76.3247552,"latitude_deg":9.8596608,"altitude":5,"angle":344,"satellites":39,"speed":25,"hex_longitude":"2d7e3bc0","hex_latitude":"05e07700","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985615872001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130569441044856832,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096637953830742016,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789006318000,"timestamp_ms":1789006318000,"timestamp_seconds":1789006318,"priority":1,"record_length":96,"hex_timestamp":"000001a0891609b0"} 
[2026-09-10 07:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:43: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-09-10 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 07:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985615872001,"66":13341,"104":206,"85":15104,"24":25,"16":130569441044856832,"45":9096637953830742016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-10 07:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985615872001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:43:23] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 07:43:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130569441044856832,"km_value":130569441044856.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096637953830742016,"description":"Unknown IO ID 45"} 
[2026-09-10 07:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985615872001,"power":13341,"unknown_104":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9096637953830742016}} 
[2026-09-10 07:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:43:23] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:43:23] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:43:36] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:43:36] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:43:36] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:43:41] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:43:41] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:43:41] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:43:42] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:43:42] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:43:42] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:43:42] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:43: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-09-10 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:43:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:43:42] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:43:42] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:43:54] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089178498012d7e1fc005e12d280004000026..."} 
[2026-09-10 07:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089178498012d7e1fc005e12d280004000026..."} 
[2026-09-10 07:43:54] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089178498012d7e1fc005e12d280004000026..."} 
[2026-09-10 07:43:54] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08917"} 
[2026-09-10 07:43:54] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08917"} 
[2026-09-10 07:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763240384,"raw_latitude":98643240,"longitude_deg":76.3240384,"latitude_deg":9.864324,"altitude":4,"angle":0,"satellites":38,"speed":36,"hex_longitude":"2d7e1fc0","hex_latitude":"05e12d28","is_valid_coordinates":true} 
[2026-09-10 07:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985641472001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130571970780594176,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087841860820578304,"note":"Value kept but may cause issues"} 
[2026-09-10 07:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789006415000,"timestamp_ms":1789006415000,"timestamp_seconds":1789006415,"priority":1,"record_length":96,"hex_timestamp":"000001a089178498"} 
[2026-09-10 07:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":116,"data_length":795,"current_offset":136} 
[2026-09-10 07:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985641472001,"66":13515,"105":206,"85":15104,"24":36,"16":130571970780594176,"45":9087841860820578304},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-10 07:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985641472001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:43:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 07:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130571970780594176,"km_value":130571970780594.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087841860820578304,"description":"Unknown IO ID 45"} 
[2026-09-10 07:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985641472001,"power":13515,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9087841860820578304}} 
[2026-09-10 07:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:43:55] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:43:55] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:44:12] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:12] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:12] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:44:12] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:44: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-09-10 07:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:44:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:44:12] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:44:12] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:44:22] local.INFO: TCP Data received {"connection_id":177457,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:22] local.INFO: Processing buffer {"connection_id":177457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:22] local.INFO: IMEI packet received {"connection_id":177457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":177457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:44:26] local.INFO: TCP Data received {"connection_id":177457,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:26] local.INFO: Processing buffer {"connection_id":177457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:26] local.INFO: IMEI packet received {"connection_id":177457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":177457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:44:27] local.INFO: TCP Data received {"connection_id":177457,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:27] local.INFO: Processing buffer {"connection_id":177457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:44:27] local.INFO: IMEI packet received {"connection_id":177457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":177457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:44:28] local.INFO: TCP Data received {"connection_id":177457,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089179820012d7e1e4005e13fd00004015c25..."} 
[2026-09-10 07:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089179820012d7e1e4005e13fd00004015c25..."} 
[2026-09-10 07:44:28] local.INFO: Processing buffer {"connection_id":177457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089179820012d7e1e4005e13fd00004015c25..."} 
[2026-09-10 07:44:28] local.INFO: Packet analysis {"connection_id":177457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08917"} 
[2026-09-10 07:44:28] local.INFO: Extracted packet for processing {"connection_id":177457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08917"} 
[2026-09-10 07:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763240000,"raw_latitude":98648016,"longitude_deg":76.324,"latitude_deg":9.8648016,"altitude":4,"angle":348,"satellites":37,"speed":39,"hex_longitude":"2d7e1e40","hex_latitude":"05e13fd0","is_valid_coordinates":true} 
[2026-09-10 07:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985642240001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130572202708828160,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088193704542152704,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789006420000,"timestamp_ms":1789006420000,"timestamp_seconds":1789006420,"priority":1,"record_length":96,"hex_timestamp":"000001a089179820"} 
[2026-09-10 07:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 07:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985642240001,"66":13515,"105":206,"85":15104,"24":39,"16":130572202708828160,"45":9088193704542152704},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-10 07:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985642240001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:44:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 07:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130572202708828160,"km_value":130572202708828.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088193704542152704,"description":"Unknown IO ID 45"} 
[2026-09-10 07:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985642240001,"power":13515,"unknown_105":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9088193704542152704}} 
[2026-09-10 07:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":177457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:44:28] local.INFO: GPS data processed {"connection_id":177457,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:44:28] local.INFO: Acknowledgment sent {"connection_id":177457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:44:29] local.INFO: TCP Data received {"connection_id":177457,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08917b760012d7e190005e162c00004015f26..."} 
[2026-09-10 07:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08917b760012d7e190005e162c00004015f26..."} 
[2026-09-10 07:44:29] local.INFO: Processing buffer {"connection_id":177457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08917b760012d7e190005e162c00004015f26..."} 
[2026-09-10 07:44:29] local.INFO: Packet analysis {"connection_id":177457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08917"} 
[2026-09-10 07:44:29] local.INFO: Extracted packet for processing {"connection_id":177457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08917"} 
[2026-09-10 07:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763238656,"raw_latitude":98656960,"longitude_deg":76.3238656,"latitude_deg":9.865696,"altitude":4,"angle":351,"satellites":38,"speed":50,"hex_longitude":"2d7e1900","hex_latitude":"05e162c0","is_valid_coordinates":true} 
[2026-09-10 07:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985643520001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130572640795492352,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087771492078309376,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789006428000,"timestamp_ms":1789006428000,"timestamp_seconds":1789006428,"priority":1,"record_length":96,"hex_timestamp":"000001a08917b760"} 
[2026-09-10 07:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 07:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985643520001,"66":13243,"105":206,"85":15104,"24":50,"16":130572640795492352,"45":9087771492078309376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-10 07:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985643520001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:44:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 07:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130572640795492352,"km_value":130572640795492.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087771492078309376,"description":"Unknown IO ID 45"} 
[2026-09-10 07:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985643520001,"power":13243,"unknown_105":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9087771492078309376}} 
[2026-09-10 07:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":177457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:44:29] local.INFO: GPS data processed {"connection_id":177457,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:44:29] local.INFO: Acknowledgment sent {"connection_id":177457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:44:41] local.INFO: TCP Data received {"connection_id":178832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:44:41] local.INFO: Processing buffer {"connection_id":178832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:44:41] local.INFO: IMEI packet received {"connection_id":178832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":178832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:44:46] local.INFO: TCP Data received {"connection_id":178832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:44:46] local.INFO: Processing buffer {"connection_id":178832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:44:46] local.INFO: IMEI packet received {"connection_id":178832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":178832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:44:47] local.INFO: TCP Data received {"connection_id":178832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:47] local.INFO: Processing buffer {"connection_id":178832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:47] local.INFO: Packet analysis {"connection_id":178832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:44:47] local.INFO: Extracted packet for processing {"connection_id":178832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:44:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:44:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":178832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:44:47] local.INFO: GPS data processed {"connection_id":178832,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:44:47] local.INFO: Acknowledgment sent {"connection_id":178832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:44:52] local.INFO: TCP Data received {"connection_id":178832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:52] local.INFO: Processing buffer {"connection_id":178832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:44:52] local.INFO: Packet analysis {"connection_id":178832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:44:52] local.INFO: Extracted packet for processing {"connection_id":178832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:44:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":178832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:44:52] local.INFO: GPS data processed {"connection_id":178832,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:44:52] local.INFO: Acknowledgment sent {"connection_id":178832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:45:00] local.INFO: TCP Data received {"connection_id":177457,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089185f58012d7e1e8005e20f700004011527..."} 
[2026-09-10 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089185f58012d7e1e8005e20f700004011527..."} 
[2026-09-10 07:45:00] local.INFO: Processing buffer {"connection_id":177457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089185f58012d7e1e8005e20f700004011527..."} 
[2026-09-10 07:45:00] local.INFO: Packet analysis {"connection_id":177457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:45:00] local.INFO: Extracted packet for processing {"connection_id":177457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763240064,"raw_latitude":98701168,"longitude_deg":76.3240064,"latitude_deg":9.8701168,"altitude":4,"angle":277,"satellites":39,"speed":32,"hex_longitude":"2d7e1e80","hex_latitude":"05e20f70","is_valid_coordinates":true} 
[2026-09-10 07:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985656064001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130574955782864896,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089671448184659968,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:00] 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-09-10 07:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789006471000,"timestamp_ms":1789006471000,"timestamp_seconds":1789006471,"priority":1,"record_length":96,"hex_timestamp":"000001a089185f58"} 
[2026-09-10 07:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 07:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985656064001,"66":13515,"197":206,"85":15104,"24":32,"16":130574955782864896,"45":9089671448184659968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-10 07:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985656064001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:45:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 07:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130574955782864896,"km_value":130574955782864.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089671448184659968,"description":"Unknown IO ID 45"} 
[2026-09-10 07:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985656064001,"power":13515,"unknown_197":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9089671448184659968}} 
[2026-09-10 07:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":177457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:45:00] local.INFO: GPS data processed {"connection_id":177457,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:45:00] local.INFO: Acknowledgment sent {"connection_id":177457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:45:22] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:22] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:22] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:45:22] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:22] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:22] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:45:28] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:28] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:45:28] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:45:29] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08918ad78012d7e030005e212800003010f26..."} 
[2026-09-10 07:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08918ad78012d7e030005e212800003010f26..."} 
[2026-09-10 07:45:29] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08918ad78012d7e030005e212800003010f26..."} 
[2026-09-10 07:45:29] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:45:29] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":98701952,"longitude_deg":76.3233024,"latitude_deg":9.8701952,"altitude":3,"angle":271,"satellites":38,"speed":20,"hex_longitude":"2d7e0300","hex_latitude":"05e21280","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985656576001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130575290790313984,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087841860836093952,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789006491000,"timestamp_ms":1789006491000,"timestamp_seconds":1789006491,"priority":1,"record_length":96,"hex_timestamp":"000001a08918ad78"} 
[2026-09-10 07:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 07:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985656576001,"66":13243,"198":206,"85":15104,"24":20,"16":130575290790313984,"45":9087841860836093952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 07:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985656576001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:45:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 07:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130575290790313984,"km_value":130575290790313.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087841860836093952,"description":"Unknown IO ID 45"} 
[2026-09-10 07:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985656576001,"power":13243,"unknown_198":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9087841860836093952}} 
[2026-09-10 07:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:45:29] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:45:29] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:45:36] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:45:36] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:45:36] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:45:41] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:45:41] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:45:41] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:45:42] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:45:42] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:45:42] local.INFO: Packet analysis {"connection_id":176293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:45:42] local.INFO: Extracted packet for processing {"connection_id":176293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:45:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:45: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-09-10 07:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:45:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":176293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:45:42] local.INFO: GPS data processed {"connection_id":176293,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:45:42] local.INFO: Acknowledgment sent {"connection_id":176293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:46:00] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08918bd18012d7df9c005e21160000300fd27..."} 
[2026-09-10 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08918bd18012d7df9c005e21160000300fd27..."} 
[2026-09-10 07:46:00] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08918bd18012d7df9c005e21160000300fd27..."} 
[2026-09-10 07:46:00] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:46:00] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763230656,"raw_latitude":98701664,"longitude_deg":76.3230656,"latitude_deg":9.8701664,"altitude":3,"angle":253,"satellites":39,"speed":26,"hex_longitude":"2d7df9c0","hex_latitude":"05e21160","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985661696001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130575406754430976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298976751616,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46: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-09-10 07:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789006495000,"timestamp_ms":1789006495000,"timestamp_seconds":1789006495,"priority":1,"record_length":96,"hex_timestamp":"000001a08918bd18"} 
[2026-09-10 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-09-10 07:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 07:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 07:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985661696001,"66":13656,"198":206,"85":15104,"24":26,"16":130575406754430976,"45":9080101298976751616},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 07:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985661696001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:46:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 07:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130575406754430976,"km_value":130575406754430.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298976751616,"description":"Unknown IO ID 45"} 
[2026-09-10 07:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985661696001,"power":13656,"unknown_198":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9080101298976751616}} 
[2026-09-10 07:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:46:00] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:46:00] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:46:12] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:46:12] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:46:12] local.INFO: Packet analysis {"connection_id":176293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:46:12] local.INFO: Extracted packet for processing {"connection_id":176293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:46:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":176293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:46:12] local.INFO: GPS data processed {"connection_id":176293,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:46:12] local.INFO: Acknowledgment sent {"connection_id":176293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:46:17] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:46:17] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:46:17] local.INFO: IMEI packet received {"connection_id":176058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":176058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:46:22] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:46:22] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:46:22] local.INFO: IMEI packet received {"connection_id":176058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":176058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:46:23] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08918d870012d7de44005e20908000300f226..."} 
[2026-09-10 07:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08918d870012d7de44005e20908000300f226..."} 
[2026-09-10 07:46:23] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08918d870012d7de44005e20908000300f226..."} 
[2026-09-10 07:46:23] local.INFO: Packet analysis {"connection_id":176058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:46:23] local.INFO: Extracted packet for processing {"connection_id":176058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763225152,"raw_latitude":98699528,"longitude_deg":76.3225152,"latitude_deg":9.8699528,"altitude":3,"angle":242,"satellites":38,"speed":40,"hex_longitude":"2d7de440","hex_latitude":"05e20908","is_valid_coordinates":true} 
[2026-09-10 07:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985662720001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130575690222272512,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077497655442104320,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789006502000,"timestamp_ms":1789006502000,"timestamp_seconds":1789006502,"priority":1,"record_length":96,"hex_timestamp":"000001a08918d870"} 
[2026-09-10 07:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 07:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985662720001,"66":13406,"198":206,"85":15104,"24":40,"16":130575690222272512,"45":9077497655442104320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 07:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985662720001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:46:23] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 07:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130575690222272512,"km_value":130575690222272.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077497655442104320,"description":"Unknown IO ID 45"} 
[2026-09-10 07:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985662720001,"power":13406,"unknown_198":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9077497655442104320}} 
[2026-09-10 07:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":176058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:46:23] local.INFO: GPS data processed {"connection_id":176058,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:46:23] local.INFO: Acknowledgment sent {"connection_id":176058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:46:36] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:46:36] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:46:36] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:46:41] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:46:41] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:46:41] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:46:42] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:46:42] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089154a48012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:46:42] local.INFO: Packet analysis {"connection_id":176294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:46:42] local.INFO: Extracted packet for processing {"connection_id":176294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08915"} 
[2026-09-10 07:46:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006269000,"timestamp_ms":1789006269000,"timestamp_seconds":1789006269,"priority":1,"record_length":96,"hex_timestamp":"000001a089154a48"} 
[2026-09-10 07:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:46: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-09-10 07:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985527808001,"66":25625,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:46:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985527808001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":176294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:46:42] local.INFO: GPS data processed {"connection_id":176294,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:46:42] local.INFO: Acknowledgment sent {"connection_id":176294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:46:54] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08918f3c8012d7dc94005e1fc88000400ff26..."} 
[2026-09-10 07:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08918f3c8012d7dc94005e1fc88000400ff26..."} 
[2026-09-10 07:46:54] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08918f3c8012d7dc94005e1fc88000400ff26..."} 
[2026-09-10 07:46:54] local.INFO: Packet analysis {"connection_id":176058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:46:54] local.INFO: Extracted packet for processing {"connection_id":176058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08918"} 
[2026-09-10 07:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763218240,"raw_latitude":98696328,"longitude_deg":76.321824,"latitude_deg":9.8696328,"altitude":4,"angle":255,"satellites":38,"speed":47,"hex_longitude":"2d7dc940","hex_latitude":"05e1fc88","is_valid_coordinates":true} 
[2026-09-10 07:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985664512001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130576055294492672,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071445943442278400,"note":"Value kept but may cause issues"} 
[2026-09-10 07:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789006509000,"timestamp_ms":1789006509000,"timestamp_seconds":1789006509,"priority":1,"record_length":96,"hex_timestamp":"000001a08918f3c8"} 
[2026-09-10 07:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 07:46: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-09-10 07:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985664512001,"66":13678,"198":206,"85":15104,"24":47,"16":130576055294492672,"45":9071445943442278400},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 07:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985664512001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:46:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 07:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130576055294492672,"km_value":130576055294492.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071445943442278400,"description":"Unknown IO ID 45"} 
[2026-09-10 07:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985664512001,"power":13678,"unknown_198":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9071445943442278400}} 
[2026-09-10 07:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":176058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:46:54] local.INFO: GPS data processed {"connection_id":176058,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:46:54] local.INFO: Acknowledgment sent {"connection_id":176058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:47:13] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:47:13] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:47:13] local.INFO: Packet analysis {"connection_id":176294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:47:13] local.INFO: Extracted packet for processing {"connection_id":176294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:47:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:47: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-09-10 07:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:47:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":176294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:47:13] local.INFO: GPS data processed {"connection_id":176294,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:47:13] local.INFO: Acknowledgment sent {"connection_id":176294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:47:17] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:17] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:17] local.INFO: IMEI packet received {"connection_id":176295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":176295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:47:18] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:18] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:18] local.INFO: IMEI packet received {"connection_id":176295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":176295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:47:22] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:22] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:47:22] local.INFO: IMEI packet received {"connection_id":176295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":176295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:47:23] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0891ab500012d7c69c005e212880003010d26..."} 
[2026-09-10 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891ab500012d7c69c005e212880003010d26..."} 
[2026-09-10 07:47:23] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891ab500012d7c69c005e212880003010d26..."} 
[2026-09-10 07:47:23] local.INFO: Packet analysis {"connection_id":176295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891a"} 
[2026-09-10 07:47:23] local.INFO: Extracted packet for processing {"connection_id":176295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891a"} 
[2026-09-10 07:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763128256,"raw_latitude":98701960,"longitude_deg":76.3128256,"latitude_deg":9.870196,"altitude":3,"angle":269,"satellites":38,"speed":37,"hex_longitude":"2d7c69c0","hex_latitude":"05e21288","is_valid_coordinates":true} 
[2026-09-10 07:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985694208001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130580388916494336,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972014907919624192,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789006624000,"timestamp_ms":1789006624000,"timestamp_seconds":1789006624,"priority":1,"record_length":96,"hex_timestamp":"000001a0891ab500"} 
[2026-09-10 07:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:47: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-09-10 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 07:47: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-09-10 07:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985694208001,"66":13526,"43":206,"85":15104,"24":37,"16":130580388916494336,"45":8972014907919624192},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 07:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985694208001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:47:23] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 07:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130580388916494336,"km_value":130580388916494.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972014907919624192,"description":"Unknown IO ID 45"} 
[2026-09-10 07:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985694208001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8972014907919624192}} 
[2026-09-10 07:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":176295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:47:23] local.INFO: GPS data processed {"connection_id":176295,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:47:23] local.INFO: Acknowledgment sent {"connection_id":176295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:47:36] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:47:36] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:47:36] local.INFO: IMEI packet received {"connection_id":176296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":176296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:47:41] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:47:41] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:47:41] local.INFO: IMEI packet received {"connection_id":176296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":176296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:47:42] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:47:42] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:47:42] local.INFO: Packet analysis {"connection_id":176296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:47:42] local.INFO: Extracted packet for processing {"connection_id":176296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:47:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":176296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:47:42] local.INFO: GPS data processed {"connection_id":176296,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:47:42] local.INFO: Acknowledgment sent {"connection_id":176296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:47:54] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0891abcd0012d7c630005e211d80003010128..."} 
[2026-09-10 07:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891abcd0012d7c630005e211d80003010128..."} 
[2026-09-10 07:47:54] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891abcd0012d7c630005e211d80003010128..."} 
[2026-09-10 07:47:54] local.INFO: Packet analysis {"connection_id":176295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891a"} 
[2026-09-10 07:47:54] local.INFO: Extracted packet for processing {"connection_id":176295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891a"} 
[2026-09-10 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763126528,"raw_latitude":98701784,"longitude_deg":76.3126528,"latitude_deg":9.8701784,"altitude":3,"angle":257,"satellites":40,"speed":31,"hex_longitude":"2d7c6300","hex_latitude":"05e211d8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 07:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985695744001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130580474815840256,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964907664757917696,"note":"Value kept but may cause issues"} 
[2026-09-10 07:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789006626000,"timestamp_ms":1789006626000,"timestamp_seconds":1789006626,"priority":1,"record_length":96,"hex_timestamp":"000001a0891abcd0"} 
[2026-09-10 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-09-10 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 07:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 07:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985695744001,"66":13678,"43":206,"85":15104,"24":31,"16":130580474815840256,"45":8964907664757917696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 07:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985695744001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:47:54] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 07:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130580474815840256,"km_value":130580474815840.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964907664757917696,"description":"Unknown IO ID 45"} 
[2026-09-10 07:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985695744001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8964907664757917696}} 
[2026-09-10 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":176295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:47:55] local.INFO: GPS data processed {"connection_id":176295,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:47:55] local.INFO: Acknowledgment sent {"connection_id":176295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:48:12] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:48:12] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:48:12] local.INFO: Packet analysis {"connection_id":176296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:48:12] local.INFO: Extracted packet for processing {"connection_id":176296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:48: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-09-10 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:48: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-09-10 07:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:48:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":176296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:48:12] local.INFO: GPS data processed {"connection_id":176296,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:48:12] local.INFO: Acknowledgment sent {"connection_id":176296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:48:18] local.INFO: TCP Data received {"connection_id":177458,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:48:18] local.INFO: Processing buffer {"connection_id":177458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:48:18] local.INFO: IMEI packet received {"connection_id":177458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":177458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:48:23] local.INFO: TCP Data received {"connection_id":177458,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:48:23] local.INFO: Processing buffer {"connection_id":177458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:48:23] local.INFO: IMEI packet received {"connection_id":177458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":177458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:48:24] local.INFO: TCP Data received {"connection_id":177458,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0891b8020012d7bf60005e1d8880003010f2b..."} 
[2026-09-10 07:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891b8020012d7bf60005e1d8880003010f2b..."} 
[2026-09-10 07:48:24] local.INFO: Processing buffer {"connection_id":177458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891b8020012d7bf60005e1d8880003010f2b..."} 
[2026-09-10 07:48:24] local.INFO: Packet analysis {"connection_id":177458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891b"} 
[2026-09-10 07:48:24] local.INFO: Extracted packet for processing {"connection_id":177458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891b"} 
[2026-09-10 07:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763098624,"raw_latitude":98687112,"longitude_deg":76.3098624,"latitude_deg":9.8687112,"altitude":3,"angle":271,"satellites":43,"speed":26,"hex_longitude":"2d7bf600","hex_latitude":"05e1d888","is_valid_coordinates":true} 
[2026-09-10 07:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985707008001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130582141263151104,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938941598152757248,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789006676000,"timestamp_ms":1789006676000,"timestamp_seconds":1789006676,"priority":1,"record_length":96,"hex_timestamp":"000001a0891b8020"} 
[2026-09-10 07:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 07:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985707008001,"66":13830,"43":206,"85":15104,"24":26,"16":130582141263151104,"45":8938941598152757248},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 07:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985707008001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:48:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 07:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130582141263151104,"km_value":130582141263151.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938941598152757248,"description":"Unknown IO ID 45"} 
[2026-09-10 07:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985707008001,"power":13830,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8938941598152757248}} 
[2026-09-10 07:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":177458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:48:24] local.INFO: GPS data processed {"connection_id":177458,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:48:24] local.INFO: Acknowledgment sent {"connection_id":177458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:48:36] local.INFO: TCP Data received {"connection_id":178833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:48:36] local.INFO: Processing buffer {"connection_id":178833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:48:36] local.INFO: IMEI packet received {"connection_id":178833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":178833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:48:41] local.INFO: TCP Data received {"connection_id":178833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:48:41] local.INFO: Processing buffer {"connection_id":178833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:48:41] local.INFO: IMEI packet received {"connection_id":178833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":178833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:48:42] local.INFO: TCP Data received {"connection_id":178833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:48:42] local.INFO: Processing buffer {"connection_id":178833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:48:42] local.INFO: Packet analysis {"connection_id":178833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:48:42] local.INFO: Extracted packet for processing {"connection_id":178833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":178833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:48:42] local.INFO: GPS data processed {"connection_id":178833,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:48:42] local.INFO: Acknowledgment sent {"connection_id":178833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:48:55] local.INFO: TCP Data received {"connection_id":177458,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0891b93a8012d7be84005e1da680003011a27..."} 
[2026-09-10 07:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891b93a8012d7be84005e1da680003011a27..."} 
[2026-09-10 07:48:55] local.INFO: Processing buffer {"connection_id":177458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891b93a8012d7be84005e1da680003011a27..."} 
[2026-09-10 07:48:55] local.INFO: Packet analysis {"connection_id":177458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891b"} 
[2026-09-10 07:48:55] local.INFO: Extracted packet for processing {"connection_id":177458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891b"} 
[2026-09-10 07:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":98687592,"longitude_deg":76.3095104,"latitude_deg":9.8687592,"altitude":3,"angle":282,"satellites":39,"speed":28,"hex_longitude":"2d7be840","hex_latitude":"05e1da68","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985709056001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130582308766875648,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932326936199858176,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48: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-09-10 07:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789006681000,"timestamp_ms":1789006681000,"timestamp_seconds":1789006681,"priority":1,"record_length":96,"hex_timestamp":"000001a0891b93a8"} 
[2026-09-10 07:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5910983116652544,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627130622720,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2300251864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3749183492,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308366,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3942187008,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790182400,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-4034893779163937311,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.WARNING: Large IO value detected {"io_id":250,"raw_value":-576455250984763367,"note":"Value kept but may cause issues"} 
[2026-09-10 07:48:55] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,43,85,24,241,157,16,235,160,96,45,128,219,3,42,10,66,46,221,4,40,38,1,240,56,227,137,225,113,205,30,59,48,35,239,52,2,207,5,21,231,250],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-09-10 07:48:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216470934450208768,"timestamp_seconds":216470934450208.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985709056001,"66":13526,"43":206,"85":15104,"24":28,"16":130582308766875648,"45":8932326936199858176},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 07:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985709056001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:48:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 07:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130582308766875648,"km_value":130582308766875.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932326936199858176,"description":"Unknown IO ID 45"} 
[2026-09-10 07:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985709056001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8932326936199858176}} 
[2026-09-10 07:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":177458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:48:55] local.INFO: GPS data processed {"connection_id":177458,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:48:55] local.INFO: Acknowledgment sent {"connection_id":177458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:49:13] local.INFO: TCP Data received {"connection_id":178833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:49:13] local.INFO: Processing buffer {"connection_id":178833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:49:13] local.INFO: Packet analysis {"connection_id":178833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:49:13] local.INFO: Extracted packet for processing {"connection_id":178833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:49: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-09-10 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:49:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":178833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:49:13] local.INFO: GPS data processed {"connection_id":178833,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:49:13] local.INFO: Acknowledgment sent {"connection_id":178833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:49:16] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:16] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:16] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:49:17] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:17] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:17] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:49:18] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:18] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:18] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:49:18] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:18] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:49:18] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:49:36] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:49:36] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:49:36] local.INFO: IMEI packet received {"connection_id":176297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":176297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:49:41] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:49:41] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:49:41] local.INFO: IMEI packet received {"connection_id":176297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":176297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:49:42] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:49:42] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:49:42] local.INFO: Packet analysis {"connection_id":176297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:49:42] local.INFO: Extracted packet for processing {"connection_id":176297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:49:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":176297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:49:42] local.INFO: GPS data processed {"connection_id":176297,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:49:42] local.INFO: Acknowledgment sent {"connection_id":176297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:50:13] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:50:13] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:50:13] local.INFO: Packet analysis {"connection_id":176297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:50:13] local.INFO: Extracted packet for processing {"connection_id":176297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:50:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:50: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-09-10 07:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:50:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":176297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:50:13] local.INFO: GPS data processed {"connection_id":176297,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:50:13] local.INFO: Acknowledgment sent {"connection_id":176297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:50:36] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:50:36] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:50:36] local.INFO: IMEI packet received {"connection_id":176298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":176298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:50:41] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:50:41] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:50:41] local.INFO: IMEI packet received {"connection_id":176298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":176298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:50:42] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:50:42] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:50:42] local.INFO: Packet analysis {"connection_id":176298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:50:42] local.INFO: Extracted packet for processing {"connection_id":176298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:50:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:50:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":176298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:50:42] local.INFO: GPS data processed {"connection_id":176298,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:50:42] local.INFO: Acknowledgment sent {"connection_id":176298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:51:12] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:51:12] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:51:12] local.INFO: Packet analysis {"connection_id":176298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:51:12] local.INFO: Extracted packet for processing {"connection_id":176298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:51: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-09-10 07:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:51: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-09-10 07:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:51:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":176298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:51:12] local.INFO: GPS data processed {"connection_id":176298,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:51:12] local.INFO: Acknowledgment sent {"connection_id":176298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:51:36] local.INFO: TCP Data received {"connection_id":178834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:51:36] local.INFO: Processing buffer {"connection_id":178834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:51:36] local.INFO: IMEI packet received {"connection_id":178834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":178834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:51:41] local.INFO: TCP Data received {"connection_id":178834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:51:41] local.INFO: Processing buffer {"connection_id":178834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:51:41] local.INFO: IMEI packet received {"connection_id":178834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":178834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:51:42] local.INFO: TCP Data received {"connection_id":178834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:51:42] local.INFO: Processing buffer {"connection_id":178834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08919e210012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 07:51:42] local.INFO: Packet analysis {"connection_id":178834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:51:42] local.INFO: Extracted packet for processing {"connection_id":178834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08919"} 
[2026-09-10 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985604864001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006570000,"timestamp_ms":1789006570000,"timestamp_seconds":1789006570,"priority":1,"record_length":96,"hex_timestamp":"000001a08919e210"} 
[2026-09-10 07:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-10 07:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985604864001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985604864001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:51:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985604864001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":178834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:51:42] local.INFO: GPS data processed {"connection_id":178834,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:51:42] local.INFO: Acknowledgment sent {"connection_id":178834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:52:13] local.INFO: TCP Data received {"connection_id":178834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:52:13] local.INFO: Processing buffer {"connection_id":178834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:52:13] local.INFO: Packet analysis {"connection_id":178834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:52:13] local.INFO: Extracted packet for processing {"connection_id":178834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:52:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:52:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:52: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-09-10 07:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:52: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-09-10 07:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:52:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:52:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":178834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:52:13] local.INFO: GPS data processed {"connection_id":178834,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:52:13] local.INFO: Acknowledgment sent {"connection_id":178834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:52:36] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:52:36] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:52:36] local.INFO: IMEI packet received {"connection_id":176060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":176060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:52:41] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:52:41] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:52:41] local.INFO: IMEI packet received {"connection_id":176060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:52:42] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:52:42] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:52:42] local.INFO: Packet analysis {"connection_id":176060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:52:42] local.INFO: Extracted packet for processing {"connection_id":176060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":176060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:52:42] local.INFO: GPS data processed {"connection_id":176060,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:52:42] local.INFO: Acknowledgment sent {"connection_id":176060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:53:13] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:53:13] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:53:13] local.INFO: Packet analysis {"connection_id":176060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:53:13] local.INFO: Extracted packet for processing {"connection_id":176060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:53: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-09-10 07:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":176060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:53:13] local.INFO: GPS data processed {"connection_id":176060,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:53:13] local.INFO: Acknowledgment sent {"connection_id":176060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:53:36] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:53:36] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:53:36] local.INFO: IMEI packet received {"connection_id":176301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":176301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:53:41] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:53:41] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:53:41] local.INFO: IMEI packet received {"connection_id":176301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":176301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:53:42] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:53:42] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:53:42] local.INFO: Packet analysis {"connection_id":176301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:53:42] local.INFO: Extracted packet for processing {"connection_id":176301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:53:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":176301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:53:42] local.INFO: GPS data processed {"connection_id":176301,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:53:42] local.INFO: Acknowledgment sent {"connection_id":176301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:54:12] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:54:12] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:54:12] local.INFO: Packet analysis {"connection_id":176301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:54:12] local.INFO: Extracted packet for processing {"connection_id":176301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:54: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-09-10 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:54:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":176301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:54:12] local.INFO: GPS data processed {"connection_id":176301,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:54:12] local.INFO: Acknowledgment sent {"connection_id":176301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:54:22] local.INFO: TCP Data received {"connection_id":177461,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:54:23] local.INFO: Processing buffer {"connection_id":177461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:54:23] local.INFO: IMEI packet received {"connection_id":177461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":177461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:54:23] local.INFO: TCP Data received {"connection_id":177461,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08920ead8012d7ad98005e3dbf0000801542c..."} 
[2026-09-10 07:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08920ead8012d7ad98005e3dbf0000801542c..."} 
[2026-09-10 07:54:23] local.INFO: Processing buffer {"connection_id":177461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08920ead8012d7ad98005e3dbf0000801542c..."} 
[2026-09-10 07:54:23] local.INFO: Packet analysis {"connection_id":177461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08920"} 
[2026-09-10 07:54:23] local.INFO: Extracted packet for processing {"connection_id":177461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08920"} 
[2026-09-10 07:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763025792,"raw_latitude":98819056,"longitude_deg":76.3025792,"latitude_deg":9.8819056,"altitude":8,"angle":340,"satellites":44,"speed":48,"hex_longitude":"2d7ad980","hex_latitude":"05e3dbf0","is_valid_coordinates":true} 
[2026-09-10 07:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985797888001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130593591645962240,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854991686380193792,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789007031000,"timestamp_ms":1789007031000,"timestamp_seconds":1789007031,"priority":1,"record_length":96,"hex_timestamp":"000001a08920ead8"} 
[2026-09-10 07:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:54: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-09-10 07:54: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":12,"data_length":795,"current_offset":136} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632371,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2300556864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6780169286250921994,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13459408,"corrected_to":0} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634647635058640,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093741466071467,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":207,"raw_value":4101439488,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3811665920,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":123,"raw_value":738596811674484738,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,245,160,145,45,153,8,43,10,66,94,192,41,1,240,247,227,244,137,4,113,205,34,229,6,224,36,239,52,2,207,5,23,123,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":247,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-10 07:54:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576835870454579200,"timestamp_seconds":576835870454579.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985797888001,"66":13765,"208":206,"85":15104,"24":48,"16":130593591645962240,"45":8854991686380193792},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 07:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985797888001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:54:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 07:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130593591645962240,"km_value":130593591645962.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854991686380193792,"description":"Unknown IO ID 45"} 
[2026-09-10 07:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985797888001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8854991686380193792}} 
[2026-09-10 07:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":177461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:54:23] local.INFO: GPS data processed {"connection_id":177461,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:54:23] local.INFO: Acknowledgment sent {"connection_id":177461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:54:36] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:54:36] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:54:36] local.INFO: IMEI packet received {"connection_id":176302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":176302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:54:41] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:54:41] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:54:41] local.INFO: IMEI packet received {"connection_id":176302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":176302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:54:42] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:54:42] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:54:42] local.INFO: Packet analysis {"connection_id":176302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:54:42] local.INFO: Extracted packet for processing {"connection_id":176302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:54:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":176302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:54:42] local.INFO: GPS data processed {"connection_id":176302,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:54:42] local.INFO: Acknowledgment sent {"connection_id":176302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:55:06] local.INFO: TCP Data received {"connection_id":177461,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089210a18012d7ad14005e400a80009015d2a..."} 
[2026-09-10 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089210a18012d7ad14005e400a80009015d2a..."} 
[2026-09-10 07:55:06] local.INFO: Processing buffer {"connection_id":177461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089210a18012d7ad14005e400a80009015d2a..."} 
[2026-09-10 07:55:06] local.INFO: Packet analysis {"connection_id":177461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08921"} 
[2026-09-10 07:55:06] local.INFO: Extracted packet for processing {"connection_id":177461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08921"} 
[2026-09-10 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763023680,"raw_latitude":98828456,"longitude_deg":76.302368,"latitude_deg":9.8828456,"altitude":9,"angle":349,"satellites":42,"speed":41,"hex_longitude":"2d7ad140","hex_latitude":"05e400a8","is_valid_coordinates":true} 
[2026-09-10 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985799936001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130594059797397504,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852247305359454208,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789007039000,"timestamp_ms":1789007039000,"timestamp_seconds":1789007039,"priority":1,"record_length":96,"hex_timestamp":"000001a089210a18"} 
[2026-09-10 07:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 07:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985799936001,"66":13319,"208":206,"85":15104,"24":41,"16":130594059797397504,"45":8852247305359454208},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 07:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985799936001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:55:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 07:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130594059797397504,"km_value":130594059797397.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852247305359454208,"description":"Unknown IO ID 45"} 
[2026-09-10 07:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985799936001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8852247305359454208}} 
[2026-09-10 07:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":177461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:55:06] local.INFO: GPS data processed {"connection_id":177461,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:55:06] local.INFO: Acknowledgment sent {"connection_id":177461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:55:13] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:55:13] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:55:13] local.INFO: Packet analysis {"connection_id":176302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:55:13] local.INFO: Extracted packet for processing {"connection_id":176302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:55:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:55: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-09-10 07:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:55:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":176302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:55:13] local.INFO: GPS data processed {"connection_id":176302,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:55:13] local.INFO: Acknowledgment sent {"connection_id":176302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:55:28] local.INFO: TCP Data received {"connection_id":177462,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:55:28] local.INFO: Processing buffer {"connection_id":177462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:55:28] local.INFO: IMEI packet received {"connection_id":177462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 07:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":177462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:55:32] local.INFO: TCP Data received {"connection_id":177462,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:55:32] local.INFO: Processing buffer {"connection_id":177462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 07:55:32] local.INFO: IMEI packet received {"connection_id":177462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":177462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:55:33] local.INFO: TCP Data received {"connection_id":177462,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0892119b8012d7acd0005e40fa80009014c2b..."} 
[2026-09-10 07:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892119b8012d7acd0005e40fa80009014c2b..."} 
[2026-09-10 07:55:33] local.INFO: Processing buffer {"connection_id":177462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892119b8012d7acd0005e40fa80009014c2b..."} 
[2026-09-10 07:55:33] local.INFO: Packet analysis {"connection_id":177462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08921"} 
[2026-09-10 07:55:33] local.INFO: Extracted packet for processing {"connection_id":177462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08921"} 
[2026-09-10 07:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98832296,"longitude_deg":76.3022592,"latitude_deg":9.8832296,"altitude":9,"angle":332,"satellites":43,"speed":37,"hex_longitude":"2d7acd00","hex_latitude":"05e40fa8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985801984001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130594253070925824,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849925136803997696,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55: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-09-10 07:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789007043000,"timestamp_ms":1789007043000,"timestamp_seconds":1789007043,"priority":1,"record_length":96,"hex_timestamp":"000001a0892119b8"} 
[2026-09-10 07:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":11776,"corrected_to":0} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2300570864,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":38913,"corrected_to":0} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":5395312357907833856,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024927,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":207,"raw_value":4109434880,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813734400,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":197,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1936546544920166395,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,246,160,234,45,128,219,8,44,10,66,203,64,186,43,245,145,1,240,78,227,137,4,113,205,249,216,239,52,2,207,5,34,197,31],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":246,"original":11776,"validated":0},{"io_id":203,"original":38913,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-10 07:55:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648902256290758656,"timestamp_seconds":648902256290758.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 07:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985801984001,"66":13472,"208":206,"85":15104,"24":37,"16":130594253070925824,"45":8849925136803997696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 07:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985801984001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:55:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 07:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130594253070925824,"km_value":130594253070925.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849925136803997696,"description":"Unknown IO ID 45"} 
[2026-09-10 07:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985801984001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8849925136803997696}} 
[2026-09-10 07:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":177462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:55:33] local.INFO: GPS data processed {"connection_id":177462,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:55:33] local.INFO: Acknowledgment sent {"connection_id":177462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:55:36] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:55:36] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:55:36] local.INFO: IMEI packet received {"connection_id":176061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":176061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:55:41] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:55:41] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:55:41] local.INFO: IMEI packet received {"connection_id":176061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":176061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:55:42] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:55:42] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:55:42] local.INFO: Packet analysis {"connection_id":176061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:55:42] local.INFO: Extracted packet for processing {"connection_id":176061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":176061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:55:42] local.INFO: GPS data processed {"connection_id":176061,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:55:42] local.INFO: Acknowledgment sent {"connection_id":176061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:55:42] local.INFO: TCP Data received {"connection_id":177462,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089212188012d7ac88005e415c0000801412a..."} 
[2026-09-10 07:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089212188012d7ac88005e415c0000801412a..."} 
[2026-09-10 07:55:42] local.INFO: Processing buffer {"connection_id":177462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089212188012d7ac88005e415c0000801412a..."} 
[2026-09-10 07:55:42] local.INFO: Packet analysis {"connection_id":177462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08921"} 
[2026-09-10 07:55:42] local.INFO: Extracted packet for processing {"connection_id":177462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08921"} 
[2026-09-10 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763021440,"raw_latitude":98833856,"longitude_deg":76.302144,"latitude_deg":9.8833856,"altitude":8,"angle":321,"satellites":42,"speed":39,"hex_longitude":"2d7ac880","hex_latitude":"05e415c0","is_valid_coordinates":true} 
[2026-09-10 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985803008001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130594347560206336,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868153960448,"note":"Value kept but may cause issues"} 
[2026-09-10 07:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007045000,"timestamp_ms":1789007045000,"timestamp_seconds":1789007045,"priority":1,"record_length":96,"hex_timestamp":"000001a089212188"} 
[2026-09-10 07:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 07:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 07:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985803008001,"66":13559,"208":206,"85":15104,"24":39,"16":130594347560206336,"45":8848728868153960448},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 07:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 07:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985803008001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 07:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130594347560206336,"km_value":130594347560206.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868153960448,"description":"Unknown IO ID 45"} 
[2026-09-10 07:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985803008001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8848728868153960448}} 
[2026-09-10 07:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":177462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:55:42] local.INFO: GPS data processed {"connection_id":177462,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:55:42] local.INFO: Acknowledgment sent {"connection_id":177462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:56:13] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:56:13] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:56:13] local.INFO: Packet analysis {"connection_id":176061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:56:13] local.INFO: Extracted packet for processing {"connection_id":176061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07: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-09-10 07:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07: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-09-10 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07: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-09-10 07:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:56: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-09-10 07:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:56:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":176061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:56:13] local.INFO: GPS data processed {"connection_id":176061,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:56:13] local.INFO: Acknowledgment sent {"connection_id":176061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:56:36] local.INFO: TCP Data received {"connection_id":177463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:56:36] local.INFO: Processing buffer {"connection_id":177463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:56:36] local.INFO: IMEI packet received {"connection_id":177463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":177463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:56:41] local.INFO: TCP Data received {"connection_id":177463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:56:41] local.INFO: Processing buffer {"connection_id":177463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:56:41] local.INFO: IMEI packet received {"connection_id":177463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":177463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:56:42] local.INFO: TCP Data received {"connection_id":177463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:56:42] local.INFO: Processing buffer {"connection_id":177463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0891e79d8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 07:56:42] local.INFO: Packet analysis {"connection_id":177463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:56:42] local.INFO: Extracted packet for processing {"connection_id":177463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0891e"} 
[2026-09-10 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985681920001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789006871000,"timestamp_ms":1789006871000,"timestamp_seconds":1789006871,"priority":1,"record_length":96,"hex_timestamp":"000001a0891e79d8"} 
[2026-09-10 07:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 07:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985681920001,"66":25647,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985681920001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:56:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985681920001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":177463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:56:42] local.INFO: GPS data processed {"connection_id":177463,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:56:42] local.INFO: Acknowledgment sent {"connection_id":177463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:57:13] local.INFO: TCP Data received {"connection_id":177463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:57:13] local.INFO: Processing buffer {"connection_id":177463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:57:13] local.INFO: Packet analysis {"connection_id":177463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:57:13] local.INFO: Extracted packet for processing {"connection_id":177463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:57:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 07:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:57: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-09-10 07:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:57:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":177463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:57:13] local.INFO: GPS data processed {"connection_id":177463,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:57:13] local.INFO: Acknowledgment sent {"connection_id":177463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:57:36] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:57:36] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:57:36] local.INFO: IMEI packet received {"connection_id":176303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":176303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:57:41] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:57:41] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:57:41] local.INFO: IMEI packet received {"connection_id":176303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":176303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:57:42] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:57:42] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:57:42] local.INFO: Packet analysis {"connection_id":176303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:57:42] local.INFO: Extracted packet for processing {"connection_id":176303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 07:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:57: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-09-10 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":176303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:57:42] local.INFO: GPS data processed {"connection_id":176303,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:57:42] local.INFO: Acknowledgment sent {"connection_id":176303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:58:12] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:12] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:12] local.INFO: Packet analysis {"connection_id":176303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:58:12] local.INFO: Extracted packet for processing {"connection_id":176303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:58:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 07:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:58: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-09-10 07:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:58:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":176303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:58:12] local.INFO: GPS data processed {"connection_id":176303,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:58:12] local.INFO: Acknowledgment sent {"connection_id":176303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:58:41] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:58:41] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:58:41] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:58:46] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:58:46] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:58:46] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:58:47] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:47] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:47] local.INFO: Packet analysis {"connection_id":176062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:58:47] local.INFO: Extracted packet for processing {"connection_id":176062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:58:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 07:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:58:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":176062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:58:47] local.INFO: GPS data processed {"connection_id":176062,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:58:47] local.INFO: Acknowledgment sent {"connection_id":176062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:58:51] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:51] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:58:51] local.INFO: Packet analysis {"connection_id":176062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:58:51] local.INFO: Extracted packet for processing {"connection_id":176062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:58:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 07:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:58:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":176062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:58:51] local.INFO: GPS data processed {"connection_id":176062,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:58:51] local.INFO: Acknowledgment sent {"connection_id":176062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 07:59:36] local.INFO: TCP Data received {"connection_id":178835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:59:36] local.INFO: Processing buffer {"connection_id":178835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:59:36] local.INFO: IMEI packet received {"connection_id":178835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 07:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":178835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 07:59:41] local.INFO: TCP Data received {"connection_id":178835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:59:41] local.INFO: Processing buffer {"connection_id":178835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 07:59:41] local.INFO: IMEI packet received {"connection_id":178835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 07:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":178835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 07:59:42] local.INFO: TCP Data received {"connection_id":178835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:59:42] local.INFO: Processing buffer {"connection_id":178835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 07:59:42] local.INFO: Packet analysis {"connection_id":178835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:59:42] local.INFO: Extracted packet for processing {"connection_id":178835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 07:59:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 07:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 07:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 07:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 07:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 07:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 07:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 07:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 07:59: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-09-10 07:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 07:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 07:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 07:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 07:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 07:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 07:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 07:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 07:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 07:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 07:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 07:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 07:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 07:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 07:59:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 07:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 07:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 07:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 07:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 07:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":178835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 07:59:42] local.INFO: GPS data processed {"connection_id":178835,"processed":1,"errors":0,"total":1} 
[2026-09-10 07:59:42] local.INFO: Acknowledgment sent {"connection_id":178835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:00:12] local.INFO: TCP Data received {"connection_id":178835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:00:12] local.INFO: Processing buffer {"connection_id":178835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:00:12] local.INFO: Packet analysis {"connection_id":178835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:12] local.INFO: Extracted packet for processing {"connection_id":178835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 08:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 08:00: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-09-10 08:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:00:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":178835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:00:12] local.INFO: GPS data processed {"connection_id":178835,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:00:12] local.INFO: Acknowledgment sent {"connection_id":178835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:00:12] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:00:12] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:00:12] local.INFO: IMEI packet received {"connection_id":176063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":176063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:00:15] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.224.65.158","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 08:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 08:00:15] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 08:00:15] local.INFO: IMEI packet received {"connection_id":176063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":176063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:00:17] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a089238ab8012d7a010005e464e00003005b2b..."} 
[2026-09-10 08:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089238ab8012d7a010005e464e00003005b2b..."} 
[2026-09-10 08:00:17] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a089..."} 
[2026-09-10 08:00:17] local.INFO: IMEI packet received {"connection_id":176063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":176063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:00:20] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a08923d8d8012d7a040005e46590000300542a..."} 
[2026-09-10 08:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08923d8d8012d7a040005e46590000300542a..."} 
[2026-09-10 08:00:20] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a089238ab8012d7a010005e464e00003005b2b..."} 
[2026-09-10 08:00:20] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:20] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:20] local.INFO: GPS Element Parsed {"raw_longitude":762970368,"raw_latitude":98854112,"longitude_deg":76.2970368,"latitude_deg":9.8854112,"altitude":3,"angle":91,"satellites":43,"speed":9,"hex_longitude":"2d7a0100","hex_latitude":"05e464e0","is_valid_coordinates":true} 
[2026-09-10 08:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985840128001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597392692019200,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790885760445470720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789007203000,"timestamp_ms":1789007203000,"timestamp_seconds":1789007203,"priority":1,"record_length":96,"hex_timestamp":"000001a089238ab8"} 
[2026-09-10 08:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-10 08:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985840128001,"66":13602,"208":206,"85":15104,"24":9,"16":130597392692019200,"45":8790885760445470720},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985840128001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597392692019200,"km_value":130597392692019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790885760445470720,"description":"Unknown IO ID 45"} 
[2026-09-10 08:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985840128001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8790885760445470720}} 
[2026-09-10 08:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:00:20] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:00:20] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:00:20] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:20] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:20] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":42,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985843968001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791307972910571520,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789007223000,"timestamp_ms":1789007223000,"timestamp_seconds":1789007223,"priority":1,"record_length":96,"hex_timestamp":"000001a08923d8d8"} 
[2026-09-10 08:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 08:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985843968001,"66":13352,"208":206,"85":15104,"24":0,"16":130597435641692160,"45":8791307972910571520},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985843968001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791307972910571520,"description":"Unknown IO ID 45"} 
[2026-09-10 08:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985843968001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8791307972910571520}} 
[2026-09-10 08:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:00:20] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:00:20] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:00:25] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a089242ae0012d7a040005e46590000300542a..."} 
[2026-09-10 08:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089242ae0012d7a040005e46590000300542a..."} 
[2026-09-10 08:00:25] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089242ae0012d7a040005e46590000300542a..."} 
[2026-09-10 08:00:25] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08924"} 
[2026-09-10 08:00:25] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08924"} 
[2026-09-10 08:00:25] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":42,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985849088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789007244000,"timestamp_ms":1789007244000,"timestamp_seconds":1789007244,"priority":1,"record_length":96,"hex_timestamp":"000001a089242ae0"} 
[2026-09-10 08:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-10 08:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985849088001,"66":13602,"208":206,"85":15104,"24":0,"16":130597435641692160,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985849088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:00:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985849088001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:00:25] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:00:25] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:00:36] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:00:36] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:00:36] local.INFO: IMEI packet received {"connection_id":176304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":176304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:00:41] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:00:41] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:00:41] local.INFO: IMEI packet received {"connection_id":176304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":176304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:00:42] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:00:42] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:00:42] local.INFO: Packet analysis {"connection_id":176304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:42] local.INFO: Extracted packet for processing {"connection_id":176304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 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-09-10 08:00: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-09-10 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 08:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:00:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":176304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:00:42] local.INFO: GPS data processed {"connection_id":176304,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:00:42] local.INFO: Acknowledgment sent {"connection_id":176304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:00:56] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a089247ce8012d7a040005e46590000300542b..."} 
[2026-09-10 08:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089247ce8012d7a040005e46590000300542b..."} 
[2026-09-10 08:00:56] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089247ce8012d7a040005e46590000300542b..."} 
[2026-09-10 08:00:56] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08924"} 
[2026-09-10 08:00:56] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08924"} 
[2026-09-10 08:00:56] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":43,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985854464001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789007265000,"timestamp_ms":1789007265000,"timestamp_seconds":1789007265,"priority":1,"record_length":96,"hex_timestamp":"000001a089247ce8"} 
[2026-09-10 08:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 08:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985854464001,"66":13341,"208":206,"85":15104,"24":0,"16":130597435641692160,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985854464001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:00:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985854464001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:00:56] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:00:56] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:01:12] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:01:12] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:01:12] local.INFO: Packet analysis {"connection_id":176304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:01:12] local.INFO: Extracted packet for processing {"connection_id":176304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 08:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 08:01: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-09-10 08:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":176304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:01:12] local.INFO: GPS data processed {"connection_id":176304,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:01:12] local.INFO: Acknowledgment sent {"connection_id":176304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:01:19] local.INFO: TCP Data received {"connection_id":178836,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:01:19] local.INFO: Processing buffer {"connection_id":178836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:01:19] local.INFO: IMEI packet received {"connection_id":178836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":178836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:01:23] local.INFO: TCP Data received {"connection_id":178836,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:01:23] local.INFO: Processing buffer {"connection_id":178836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:01:23] local.INFO: IMEI packet received {"connection_id":178836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":178836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:01:26] local.INFO: TCP Data received {"connection_id":178836,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a08924cef0012d7a040005e46590000300542c..."} 
[2026-09-10 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08924cef0012d7a040005e46590000300542c..."} 
[2026-09-10 08:01:26] local.INFO: Processing buffer {"connection_id":178836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08924cef0012d7a040005e46590000300542c..."} 
[2026-09-10 08:01:26] local.INFO: Packet analysis {"connection_id":178836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08924"} 
[2026-09-10 08:01:26] local.INFO: Extracted packet for processing {"connection_id":178836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08924"} 
[2026-09-10 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":44,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985859840001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789007286000,"timestamp_ms":1789007286000,"timestamp_seconds":1789007286,"priority":1,"record_length":96,"hex_timestamp":"000001a08924cef0"} 
[2026-09-10 08:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-10 08:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985859840001,"66":13928,"208":206,"85":15104,"24":0,"16":130597435641692160,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985859840001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985859840001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":178836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:01:26] local.INFO: GPS data processed {"connection_id":178836,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:01:26] local.INFO: Acknowledgment sent {"connection_id":178836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:01:29] local.INFO: TCP Data received {"connection_id":178836,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a089254420012d7a040005e46590000300542c..."} 
[2026-09-10 08:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089254420012d7a040005e46590000300542c..."} 
[2026-09-10 08:01:29] local.INFO: Processing buffer {"connection_id":178836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089254420012d7a040005e46590000300542c..."} 
[2026-09-10 08:01:29] local.INFO: Packet analysis {"connection_id":178836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08925"} 
[2026-09-10 08:01:29] local.INFO: Extracted packet for processing {"connection_id":178836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08925"} 
[2026-09-10 08:01:29] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":44,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985865216001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01: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-09-10 08:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789007316000,"timestamp_ms":1789007316000,"timestamp_seconds":1789007316,"priority":1,"record_length":96,"hex_timestamp":"000001a089254420"} 
[2026-09-10 08:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 08:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985865216001,"66":13820,"208":206,"85":15104,"24":0,"16":130597435641692160,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985865216001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:01:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985865216001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":178836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:01:29] local.INFO: GPS data processed {"connection_id":178836,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:01:29] local.INFO: Acknowledgment sent {"connection_id":178836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:01:36] local.INFO: TCP Data received {"connection_id":177464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:01:36] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:01:36] local.INFO: IMEI packet received {"connection_id":177464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":177464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:01:41] local.INFO: TCP Data received {"connection_id":177464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:01:41] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:01:41] local.INFO: IMEI packet received {"connection_id":177464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":177464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:01:42] local.INFO: TCP Data received {"connection_id":177464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:01:42] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892311a0012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:01:42] local.INFO: Packet analysis {"connection_id":177464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:01:42] local.INFO: Extracted packet for processing {"connection_id":177464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08923"} 
[2026-09-10 08:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007172000,"timestamp_ms":1789007172000,"timestamp_seconds":1789007172,"priority":1,"record_length":96,"hex_timestamp":"000001a0892311a0"} 
[2026-09-10 08:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:01: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-09-10 08:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 08:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985758976001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:01:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985758976001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":177464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:01:42] local.INFO: GPS data processed {"connection_id":177464,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:01:42] local.INFO: Acknowledgment sent {"connection_id":177464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:02:12] local.INFO: TCP Data received {"connection_id":177464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:02:12] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:02:12] local.INFO: Packet analysis {"connection_id":177464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:02:12] local.INFO: Extracted packet for processing {"connection_id":177464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:02: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-09-10 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:02:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":177464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:02:12] local.INFO: GPS data processed {"connection_id":177464,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:02:12] local.INFO: Acknowledgment sent {"connection_id":177464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:02:14] local.INFO: TCP Data received {"connection_id":178836,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a089259628012d7a040005e46590000300542b..."} 
[2026-09-10 08:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089259628012d7a040005e46590000300542b..."} 
[2026-09-10 08:02:14] local.INFO: Processing buffer {"connection_id":178836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089259628012d7a040005e46590000300542b..."} 
[2026-09-10 08:02:14] local.INFO: Packet analysis {"connection_id":178836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08925"} 
[2026-09-10 08:02:14] local.INFO: Extracted packet for processing {"connection_id":178836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08925"} 
[2026-09-10 08:02:14] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":43,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985872896001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789007337000,"timestamp_ms":1789007337000,"timestamp_seconds":1789007337,"priority":1,"record_length":96,"hex_timestamp":"000001a089259628"} 
[2026-09-10 08:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 08:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985872896001,"66":13722,"132":206,"9":25088,"24":0,"16":130597435641692160,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985872896001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:02:14] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:02:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985872896001,"power":13722,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":178836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:02:14] local.INFO: GPS data processed {"connection_id":178836,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:02:14] local.INFO: Acknowledgment sent {"connection_id":178836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:02:31] local.INFO: TCP Data received {"connection_id":178837,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:31] local.INFO: Processing buffer {"connection_id":178837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:31] local.INFO: IMEI packet received {"connection_id":178837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":178837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:02:33] local.INFO: TCP Data received {"connection_id":178837,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:33] local.INFO: Processing buffer {"connection_id":178837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:33] local.INFO: IMEI packet received {"connection_id":178837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":178837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:02:34] local.INFO: TCP Data received {"connection_id":178837,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:34] local.INFO: Processing buffer {"connection_id":178837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:02:34] local.INFO: IMEI packet received {"connection_id":178837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":178837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:02:36] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:02:36] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:02:36] local.INFO: IMEI packet received {"connection_id":176064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":176064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:02:37] local.INFO: TCP Data received {"connection_id":178837,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a08925e830012d7a040005e46590000300542c..."} 
[2026-09-10 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08925e830012d7a040005e46590000300542c..."} 
[2026-09-10 08:02:37] local.INFO: Processing buffer {"connection_id":178837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08925e830012d7a040005e46590000300542c..."} 
[2026-09-10 08:02:37] local.INFO: Packet analysis {"connection_id":178837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08925"} 
[2026-09-10 08:02:37] local.INFO: Extracted packet for processing {"connection_id":178837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08925"} 
[2026-09-10 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":44,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985878272001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789007358000,"timestamp_ms":1789007358000,"timestamp_seconds":1789007358,"priority":1,"record_length":96,"hex_timestamp":"000001a08925e830"} 
[2026-09-10 08:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-10 08:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985878272001,"66":13678,"132":206,"9":25088,"24":0,"16":130597435641692160,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985878272001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:02:37] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:02:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985878272001,"power":13678,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":178837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:02:37] local.INFO: GPS data processed {"connection_id":178837,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:02:37] local.INFO: Acknowledgment sent {"connection_id":178837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:02:41] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:02:41] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:02:41] local.INFO: IMEI packet received {"connection_id":176064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":176064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:02:42] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:02:42] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:02:42] local.INFO: Packet analysis {"connection_id":176064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:02:42] local.INFO: Extracted packet for processing {"connection_id":176064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:02:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":176064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:02:42] local.INFO: GPS data processed {"connection_id":176064,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:02:42] local.INFO: Acknowledgment sent {"connection_id":176064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:02:51] local.INFO: TCP Data received {"connection_id":178837,"ip":"117.224.65.158","data_length":1360,"data_hex":"000000000000030f8e0a000001a089263a38012d7a040005e46590000300542e..."} 
[2026-09-10 08:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178837,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a089263a38012d7a040005e46590000300542e..."} 
[2026-09-10 08:02:51] local.INFO: Processing buffer {"connection_id":178837,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a089263a38012d7a040005e46590000300542e..."} 
[2026-09-10 08:02:51] local.INFO: Packet analysis {"connection_id":178837,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a08926"} 
[2026-09-10 08:02:51] local.INFO: Extracted packet for processing {"connection_id":178837,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08926"} 
[2026-09-10 08:02:51] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":98854288,"longitude_deg":76.2971136,"latitude_deg":9.8854288,"altitude":3,"angle":84,"satellites":46,"speed":0,"hex_longitude":"2d7a0400","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-10 08:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985883648001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597435641692160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789007379000,"timestamp_ms":1789007379000,"timestamp_seconds":1789007379,"priority":1,"record_length":96,"hex_timestamp":"000001a089263a38"} 
[2026-09-10 08:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:02: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-09-10 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 08:02: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-09-10 08:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985883648001,"66":13928,"132":206,"9":25088,"24":0,"16":130597435641692160,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985883648001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:02:51] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:02:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597435641692160,"km_value":130597435641692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985883648001,"power":13928,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":178837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:02:51] local.INFO: GPS data processed {"connection_id":178837,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:02:51] local.INFO: Acknowledgment sent {"connection_id":178837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:02:51] local.INFO: Packet analysis {"connection_id":178837,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08926"} 
[2026-09-10 08:02:51] local.INFO: Incomplete packet, waiting for more data {"connection_id":178837,"needed":795,"available":565} 
[2026-09-10 08:02:52] local.INFO: TCP Data received {"connection_id":178837,"ip":"117.224.65.158","data_length":230,"data_hex":"2d7a040005e46590000300542a00000000000a000400ef0100715b00f0010045..."} 
[2026-09-10 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178837,"packet_length":230,"packet_hex":"2d7a040005e46590000300542a00000000000a000400ef0100715b00f0010045..."} 
[2026-09-10 08:02:52] local.INFO: Processing buffer {"connection_id":178837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08926a3b0012d7a02c005e468e80009005429..."} 
[2026-09-10 08:02:52] local.INFO: Packet analysis {"connection_id":178837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08926"} 
[2026-09-10 08:02:52] local.INFO: Extracted packet for processing {"connection_id":178837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08926"} 
[2026-09-10 08:02:52] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855144,"longitude_deg":76.2970816,"latitude_deg":9.8855144,"altitude":9,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e468e8","is_valid_coordinates":true} 
[2026-09-10 08:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985889024001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597478591365120,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397840748544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789007406000,"timestamp_ms":1789007406000,"timestamp_seconds":1789007406,"priority":1,"record_length":96,"hex_timestamp":"000001a08926a3b0"} 
[2026-09-10 08:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:02: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-09-10 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 08:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985889024001,"66":13798,"132":206,"9":25088,"24":0,"16":130597478591365120,"45":8792152397840748544},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985889024001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:02:52] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:02:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597478591365120,"km_value":130597478591365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397840748544,"description":"Unknown IO ID 45"} 
[2026-09-10 08:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985889024001,"power":13798,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8792152397840748544}} 
[2026-09-10 08:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":178837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:02:53] local.INFO: GPS data processed {"connection_id":178837,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:02:53] local.INFO: Acknowledgment sent {"connection_id":178837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:03:13] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:03:13] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:03:13] local.INFO: Packet analysis {"connection_id":176064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:03:13] local.INFO: Extracted packet for processing {"connection_id":176064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:03: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-09-10 08:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:03:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":176064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:03:13] local.INFO: GPS data processed {"connection_id":176064,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:03:13] local.INFO: Acknowledgment sent {"connection_id":176064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:03:20] local.INFO: TCP Data received {"connection_id":178838,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:03:20] local.INFO: Processing buffer {"connection_id":178838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:03:20] local.INFO: IMEI packet received {"connection_id":178838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":178838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:03:22] local.INFO: TCP Data received {"connection_id":178838,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:03:22] local.INFO: Processing buffer {"connection_id":178838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:03:22] local.INFO: IMEI packet received {"connection_id":178838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":178838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:03:29] local.INFO: TCP Data received {"connection_id":178838,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a08926f5b8012d7a02c005e468e8000900542d..."} 
[2026-09-10 08:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08926f5b8012d7a02c005e468e8000900542d..."} 
[2026-09-10 08:03:29] local.INFO: Processing buffer {"connection_id":178838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08926f5b8012d7a02c005e468e8000900542d..."} 
[2026-09-10 08:03:29] local.INFO: Packet analysis {"connection_id":178838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08926"} 
[2026-09-10 08:03:29] local.INFO: Extracted packet for processing {"connection_id":178838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08926"} 
[2026-09-10 08:03:29] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855144,"longitude_deg":76.2970816,"latitude_deg":9.8855144,"altitude":9,"angle":84,"satellites":45,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e468e8","is_valid_coordinates":true} 
[2026-09-10 08:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985895936001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597478591365120,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120079360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789007427000,"timestamp_ms":1789007427000,"timestamp_seconds":1789007427,"priority":1,"record_length":96,"hex_timestamp":"000001a08926f5b8"} 
[2026-09-10 08:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:03: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-09-10 08:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 08:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985895936001,"66":13678,"132":206,"9":25088,"24":0,"16":130597478591365120,"45":8791800554120079360},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985895936001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:03:29] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:03:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597478591365120,"km_value":130597478591365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120079360,"description":"Unknown IO ID 45"} 
[2026-09-10 08:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985895936001,"power":13678,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8791800554120079360}} 
[2026-09-10 08:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":178838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:03:29] local.INFO: GPS data processed {"connection_id":178838,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:03:29] local.INFO: Acknowledgment sent {"connection_id":178838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:03:36] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:03:36] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:03:36] local.INFO: IMEI packet received {"connection_id":176305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":176305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:03:41] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:03:41] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:03:41] local.INFO: IMEI packet received {"connection_id":176305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":176305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:03:42] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:03:42] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:03:42] local.INFO: Packet analysis {"connection_id":176305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:03:42] local.INFO: Extracted packet for processing {"connection_id":176305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:03:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":176305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:03:42] local.INFO: GPS data processed {"connection_id":176305,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:03:42] local.INFO: Acknowledgment sent {"connection_id":176305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:03:45] local.INFO: TCP Data received {"connection_id":178838,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a0892747c0012d7a02c005e468e8000900542b..."} 
[2026-09-10 08:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892747c0012d7a02c005e468e8000900542b..."} 
[2026-09-10 08:03:45] local.INFO: Processing buffer {"connection_id":178838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892747c0012d7a02c005e468e8000900542b..."} 
[2026-09-10 08:03:45] local.INFO: Packet analysis {"connection_id":178838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:03:45] local.INFO: Extracted packet for processing {"connection_id":178838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:03:45] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855144,"longitude_deg":76.2970816,"latitude_deg":9.8855144,"altitude":9,"angle":84,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e468e8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985901312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597478591365120,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120079360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789007448000,"timestamp_ms":1789007448000,"timestamp_seconds":1789007448,"priority":1,"record_length":96,"hex_timestamp":"000001a0892747c0"} 
[2026-09-10 08:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 08:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985901312001,"66":13319,"132":206,"9":25088,"24":0,"16":130597478591365120,"45":8791800554120079360},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985901312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:03:45] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:03:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597478591365120,"km_value":130597478591365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120079360,"description":"Unknown IO ID 45"} 
[2026-09-10 08:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985901312001,"power":13319,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8791800554120079360}} 
[2026-09-10 08:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":178838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:03:45] local.INFO: GPS data processed {"connection_id":178838,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:03:45] local.INFO: Acknowledgment sent {"connection_id":178838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:04:12] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:04:12] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:04:12] local.INFO: Packet analysis {"connection_id":176305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:04:12] local.INFO: Extracted packet for processing {"connection_id":176305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:04:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:04: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-09-10 08:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:04:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":176305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:04:12] local.INFO: GPS data processed {"connection_id":176305,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:04:12] local.INFO: Acknowledgment sent {"connection_id":176305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:04:32] local.INFO: TCP Data received {"connection_id":176065,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:04:32] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:04:32] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:04:36] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:04:36] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:04:36] local.INFO: IMEI packet received {"connection_id":176306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":176306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:04:41] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:04:41] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:04:41] local.INFO: IMEI packet received {"connection_id":176306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":176306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:04:42] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:04:42] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:04:42] local.INFO: Packet analysis {"connection_id":176306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:04:42] local.INFO: Extracted packet for processing {"connection_id":176306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:04:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":176306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:04:42] local.INFO: GPS data processed {"connection_id":176306,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:04:42] local.INFO: Acknowledgment sent {"connection_id":176306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:04:50] local.INFO: TCP Data received {"connection_id":176065,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:04:50] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:04:50] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:05:02] local.INFO: TCP Data received {"connection_id":176065,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a0892799c8012d7a02c005e468e8000900542d..."} 
[2026-09-10 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892799c8012d7a02c005e468e8000900542d..."} 
[2026-09-10 08:05:02] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892799c8012d7a02c005e468e8000900542d..."} 
[2026-09-10 08:05:02] local.INFO: Packet analysis {"connection_id":176065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:02] local.INFO: Extracted packet for processing {"connection_id":176065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:02] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855144,"longitude_deg":76.2970816,"latitude_deg":9.8855144,"altitude":9,"angle":84,"satellites":45,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e468e8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985906688001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597478591365120,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120079360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789007469000,"timestamp_ms":1789007469000,"timestamp_seconds":1789007469,"priority":1,"record_length":96,"hex_timestamp":"000001a0892799c8"} 
[2026-09-10 08:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:05: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-09-10 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2300920864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7318349407367474176,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743755,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":207,"raw_value":4188864512,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831861248,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-3535324412653600763,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,132,9,24,241,158,16,249,160,245,45,192,104,10,66,163,41,58,1,240,137,228,4,113,205,150,144,43,239,53,2,207,5,3,252,36],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[]} 
[2026-09-10 08:05:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648610890001678336,"timestamp_seconds":648610890001678.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985906688001,"66":13798,"132":206,"9":25088,"24":0,"16":130597478591365120,"45":8791800554120079360},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985906688001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:05:02] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:05:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597478591365120,"km_value":130597478591365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120079360,"description":"Unknown IO ID 45"} 
[2026-09-10 08:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985906688001,"power":13798,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8791800554120079360}} 
[2026-09-10 08:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":176065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:05:02] local.INFO: GPS data processed {"connection_id":176065,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:05:02] local.INFO: Acknowledgment sent {"connection_id":176065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:05:12] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:05:12] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:05:12] local.INFO: Packet analysis {"connection_id":176306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:12] local.INFO: Extracted packet for processing {"connection_id":176306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:05: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-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:05:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":176306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:05:13] local.INFO: GPS data processed {"connection_id":176306,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:05:13] local.INFO: Acknowledgment sent {"connection_id":176306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:05:17] local.INFO: TCP Data received {"connection_id":176307,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:05:17] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:05:17] local.INFO: IMEI packet received {"connection_id":176307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":176307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:05:29] local.INFO: TCP Data received {"connection_id":176307,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:05:29] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:05:29] local.INFO: IMEI packet received {"connection_id":176307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":176307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:05:36] local.INFO: TCP Data received {"connection_id":176066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:05:36] local.INFO: Processing buffer {"connection_id":176066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:05:36] local.INFO: IMEI packet received {"connection_id":176066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":176066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:05:41] local.INFO: TCP Data received {"connection_id":176066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:05:41] local.INFO: Processing buffer {"connection_id":176066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:05:41] local.INFO: IMEI packet received {"connection_id":176066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":176066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:05:42] local.INFO: TCP Data received {"connection_id":176066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:05:42] local.INFO: Processing buffer {"connection_id":176066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:05:42] local.INFO: Packet analysis {"connection_id":176066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:42] local.INFO: Extracted packet for processing {"connection_id":176066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:05:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":176066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:05:42] local.INFO: GPS data processed {"connection_id":176066,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:05:42] local.INFO: Acknowledgment sent {"connection_id":176066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:05:52] local.INFO: TCP Data received {"connection_id":176307,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a08927ebd0012d7a02c005e468e8000900542b..."} 
[2026-09-10 08:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927ebd0012d7a02c005e468e8000900542b..."} 
[2026-09-10 08:05:52] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927ebd0012d7a02c005e468e8000900542b..."} 
[2026-09-10 08:05:52] local.INFO: Packet analysis {"connection_id":176307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:52] local.INFO: Extracted packet for processing {"connection_id":176307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855144,"longitude_deg":76.2970816,"latitude_deg":9.8855144,"altitude":9,"angle":84,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e468e8","is_valid_coordinates":true} 
[2026-09-10 08:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985912064001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130597478591365120,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120079360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789007490000,"timestamp_ms":1789007490000,"timestamp_seconds":1789007490,"priority":1,"record_length":96,"hex_timestamp":"000001a08927ebd0"} 
[2026-09-10 08:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:05: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-09-10 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 08:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985912064001,"66":13276,"132":206,"9":25088,"24":0,"16":130597478591365120,"45":8791800554120079360},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,45]} 
[2026-09-10 08:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985912064001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:05:52] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 08:05:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130597478591365120,"km_value":130597478591365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120079360,"description":"Unknown IO ID 45"} 
[2026-09-10 08:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985912064001,"power":13276,"unknown_132":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8791800554120079360}} 
[2026-09-10 08:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":176307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:05:52] local.INFO: GPS data processed {"connection_id":176307,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:05:52] local.INFO: Acknowledgment sent {"connection_id":176307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:06:12] local.INFO: TCP Data received {"connection_id":176066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:06:12] local.INFO: Processing buffer {"connection_id":176066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:06:12] local.INFO: Packet analysis {"connection_id":176066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:06:12] local.INFO: Extracted packet for processing {"connection_id":176066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:06:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:06: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-09-10 08: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":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:06:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":176066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:06:12] local.INFO: GPS data processed {"connection_id":176066,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:06:12] local.INFO: Acknowledgment sent {"connection_id":176066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:06:36] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:06:36] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:06:36] local.INFO: IMEI packet received {"connection_id":176308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":176308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:06:41] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:06:41] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:06:41] local.INFO: IMEI packet received {"connection_id":176308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":176308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:06:42] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:06:42] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08927a968012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:06:42] local.INFO: Packet analysis {"connection_id":176308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:06:42] local.INFO: Extracted packet for processing {"connection_id":176308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08927"} 
[2026-09-10 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985836032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007473000,"timestamp_ms":1789007473000,"timestamp_seconds":1789007473,"priority":1,"record_length":96,"hex_timestamp":"000001a08927a968"} 
[2026-09-10 08:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985836032001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985836032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:06:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985836032001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":176308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:06:42] local.INFO: GPS data processed {"connection_id":176308,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:06:42] local.INFO: Acknowledgment sent {"connection_id":176308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:07:07] local.INFO: TCP Data received {"connection_id":178839,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:07:07] local.INFO: Processing buffer {"connection_id":178839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:07:07] local.INFO: IMEI packet received {"connection_id":178839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":178839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:07:10] local.INFO: TCP Data received {"connection_id":178839,"ip":"117.224.65.158","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:07:10] local.INFO: Processing buffer {"connection_id":178839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:07:10] local.INFO: IMEI packet received {"connection_id":178839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":178839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:07:11] local.INFO: TCP Data received {"connection_id":178839,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a0892cc218012d7a428005e46038000500492c..."} 
[2026-09-10 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892cc218012d7a428005e46038000500492c..."} 
[2026-09-10 08:07:11] local.INFO: Processing buffer {"connection_id":178839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892cc218012d7a428005e46038000500492c..."} 
[2026-09-10 08:07:11] local.INFO: Packet analysis {"connection_id":178839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:11] local.INFO: Extracted packet for processing {"connection_id":178839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":762987136,"raw_latitude":98852920,"longitude_deg":76.2987136,"latitude_deg":9.885292,"altitude":5,"angle":73,"satellites":44,"speed":9,"hex_longitude":"2d7a4280","hex_latitude":"05e46038","is_valid_coordinates":true} 
[2026-09-10 08:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985997824001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130598354764693504,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808970527698835456,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789007807000,"timestamp_ms":1789007807000,"timestamp_seconds":1789007807,"priority":1,"record_length":96,"hex_timestamp":"000001a0892cc218"} 
[2026-09-10 08:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 08:07: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-09-10 08:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985997824001,"66":13961,"221":206,"19":45824,"24":9,"16":130598354764693504,"45":8808970527698835456},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-09-10 08:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985997824001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:07:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-10 08:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130598354764693504,"km_value":130598354764693.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808970527698835456,"description":"Unknown IO ID 45"} 
[2026-09-10 08:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985997824001,"power":13961,"unknown_221":206,"unknown_19":45824,"ignition":9,"odometer":null,"unknown_45":8808970527698835456}} 
[2026-09-10 08:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":178839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:07:11] local.INFO: GPS data processed {"connection_id":178839,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:07:11] local.INFO: Acknowledgment sent {"connection_id":178839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:07:13] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:07:13] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:07:13] local.INFO: Packet analysis {"connection_id":176308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:13] local.INFO: Extracted packet for processing {"connection_id":176308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:07: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-09-10 08:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:07: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-09-10 08:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:07:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":176308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:07:13] local.INFO: GPS data processed {"connection_id":176308,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:07:13] local.INFO: Acknowledgment sent {"connection_id":176308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:07:36] local.INFO: TCP Data received {"connection_id":177465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:07:36] local.INFO: Processing buffer {"connection_id":177465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:07:36] local.INFO: IMEI packet received {"connection_id":177465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":177465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:07:41] local.INFO: TCP Data received {"connection_id":177465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:07:41] local.INFO: Processing buffer {"connection_id":177465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:07:41] local.INFO: IMEI packet received {"connection_id":177465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":177465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:07:42] local.INFO: TCP Data received {"connection_id":177465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:07:42] local.INFO: Processing buffer {"connection_id":177465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:07:42] local.INFO: Packet analysis {"connection_id":177465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:42] local.INFO: Extracted packet for processing {"connection_id":177465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:07: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-09-10 08:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:07:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":177465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:07:42] local.INFO: GPS data processed {"connection_id":177465,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:07:42] local.INFO: Acknowledgment sent {"connection_id":177465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:07:43] local.INFO: TCP Data received {"connection_id":178839,"ip":"117.224.65.158","data_length":795,"data_hex":"000000000000030f8e0a000001a0892cf4e0012d7a58c005e467d00008003e2e..."} 
[2026-09-10 08:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892cf4e0012d7a58c005e467d00008003e2e..."} 
[2026-09-10 08:07:43] local.INFO: Processing buffer {"connection_id":178839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892cf4e0012d7a58c005e467d00008003e2e..."} 
[2026-09-10 08:07:43] local.INFO: Packet analysis {"connection_id":178839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:43] local.INFO: Extracted packet for processing {"connection_id":178839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:07:43] local.INFO: GPS Element Parsed {"raw_longitude":762992832,"raw_latitude":98854864,"longitude_deg":76.2992832,"latitude_deg":9.8854864,"altitude":8,"angle":62,"satellites":46,"speed":19,"hex_longitude":"2d7a58c0","hex_latitude":"05e467d0","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985998592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130598646822469632,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809744583884814336,"note":"Value kept but may cause issues"} 
[2026-09-10 08:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789007820000,"timestamp_ms":1789007820000,"timestamp_seconds":1789007820,"priority":1,"record_length":96,"hex_timestamp":"000001a0892cf4e0"} 
[2026-09-10 08:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 08:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.65.158","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985998592001,"66":13798,"221":206,"19":45824,"24":19,"16":130598646822469632,"45":8809744583884814336},"client_ip":"117.224.65.158","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-09-10 08:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985998592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:07:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:07:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-10 08:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130598646822469632,"km_value":130598646822469.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809744583884814336,"description":"Unknown IO ID 45"} 
[2026-09-10 08:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985998592001,"power":13798,"unknown_221":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":8809744583884814336}} 
[2026-09-10 08:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":178839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:07:43] local.INFO: GPS data processed {"connection_id":178839,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:07:43] local.INFO: Acknowledgment sent {"connection_id":178839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:08:12] local.INFO: TCP Data received {"connection_id":177465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:08:12] local.INFO: Processing buffer {"connection_id":177465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:08:12] local.INFO: Packet analysis {"connection_id":177465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:08:12] local.INFO: Extracted packet for processing {"connection_id":177465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:08:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:08: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-09-10 08:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08: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-09-10 08:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:08:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":177465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:08:12] local.INFO: GPS data processed {"connection_id":177465,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:08:12] local.INFO: Acknowledgment sent {"connection_id":177465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:08:36] local.INFO: TCP Data received {"connection_id":177466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:08:36] local.INFO: Processing buffer {"connection_id":177466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:08:36] local.INFO: IMEI packet received {"connection_id":177466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":177466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:08:41] local.INFO: TCP Data received {"connection_id":177466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:08:41] local.INFO: Processing buffer {"connection_id":177466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:08:41] local.INFO: IMEI packet received {"connection_id":177466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":177466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:08:42] local.INFO: TCP Data received {"connection_id":177466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:08:42] local.INFO: Processing buffer {"connection_id":177466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:08:42] local.INFO: Packet analysis {"connection_id":177466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:08:42] local.INFO: Extracted packet for processing {"connection_id":177466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:08:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:08: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-09-10 08:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:08:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":177466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:08:42] local.INFO: GPS data processed {"connection_id":177466,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:08:42] local.INFO: Acknowledgment sent {"connection_id":177466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:09:12] local.INFO: TCP Data received {"connection_id":177466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:09:12] local.INFO: Processing buffer {"connection_id":177466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:09:12] local.INFO: Packet analysis {"connection_id":177466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:09:12] local.INFO: Extracted packet for processing {"connection_id":177466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:09: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-09-10 08:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:09:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":177466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:09:12] local.INFO: GPS data processed {"connection_id":177466,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:09:12] local.INFO: Acknowledgment sent {"connection_id":177466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:09:36] local.INFO: TCP Data received {"connection_id":178840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:09:36] local.INFO: Processing buffer {"connection_id":178840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:09:36] local.INFO: IMEI packet received {"connection_id":178840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":178840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:09:37] local.INFO: TCP Data received {"connection_id":177467,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:09:37] local.INFO: Processing buffer {"connection_id":177467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:09:37] local.INFO: IMEI packet received {"connection_id":177467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":177467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:09:41] local.INFO: TCP Data received {"connection_id":178840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:09:41] local.INFO: Processing buffer {"connection_id":178840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:09:41] local.INFO: IMEI packet received {"connection_id":178840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":178840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:09:42] local.INFO: TCP Data received {"connection_id":178840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:09:42] local.INFO: Processing buffer {"connection_id":178840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:09:42] local.INFO: Packet analysis {"connection_id":178840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:09:42] local.INFO: Extracted packet for processing {"connection_id":178840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:09:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:09: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-09-10 08:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:09:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":178840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:09:42] local.INFO: GPS data processed {"connection_id":178840,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:09:42] local.INFO: Acknowledgment sent {"connection_id":178840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:09:43] local.INFO: TCP Data received {"connection_id":177467,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:09:43] local.INFO: Processing buffer {"connection_id":177467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:09:43] local.INFO: IMEI packet received {"connection_id":177467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":177467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:09:43] local.INFO: TCP Data received {"connection_id":177467,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0892e4ca0012d7aed0005e39e20000300a22d..."} 
[2026-09-10 08:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892e4ca0012d7aed0005e39e20000300a22d..."} 
[2026-09-10 08:09:43] local.INFO: Processing buffer {"connection_id":177467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892e4ca0012d7aed0005e39e20000300a22d..."} 
[2026-09-10 08:09:43] local.INFO: Packet analysis {"connection_id":177467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892e"} 
[2026-09-10 08:09:43] local.INFO: Extracted packet for processing {"connection_id":177467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892e"} 
[2026-09-10 08:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763030784,"raw_latitude":98803232,"longitude_deg":76.3030784,"latitude_deg":9.8803232,"altitude":3,"angle":162,"satellites":45,"speed":23,"hex_longitude":"2d7aed00","hex_latitude":"05e39e20","is_valid_coordinates":true} 
[2026-09-10 08:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986021376001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130601988307025920,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473915527168,"note":"Value kept but may cause issues"} 
[2026-09-10 08:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789007908000,"timestamp_ms":1789007908000,"timestamp_seconds":1789007908,"priority":1,"record_length":96,"hex_timestamp":"000001a0892e4ca0"} 
[2026-09-10 08:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 08:09: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-09-10 08:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986021376001,"66":13450,"221":206,"19":45824,"24":23,"16":130601988307025920,"45":8854569473915527168},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-09-10 08:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986021376001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:09:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-10 08:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130601988307025920,"km_value":130601988307025.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473915527168,"description":"Unknown IO ID 45"} 
[2026-09-10 08:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986021376001,"power":13450,"unknown_221":206,"unknown_19":45824,"ignition":23,"odometer":null,"unknown_45":8854569473915527168}} 
[2026-09-10 08:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":177467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:09:43] local.INFO: GPS data processed {"connection_id":177467,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:09:43] local.INFO: Acknowledgment sent {"connection_id":177467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:10:13] local.INFO: TCP Data received {"connection_id":178840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:10:13] local.INFO: Processing buffer {"connection_id":178840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:10:13] local.INFO: Packet analysis {"connection_id":178840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:10:13] local.INFO: Extracted packet for processing {"connection_id":178840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:10:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:10: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-09-10 08:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:10: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-09-10 08:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:10:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":178840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:10:13] local.INFO: GPS data processed {"connection_id":178840,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:10:13] local.INFO: Acknowledgment sent {"connection_id":178840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:10:20] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:20] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:20] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:10:21] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:21] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:21] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:10:22] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:22] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:22] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:10:27] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:27] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:10:27] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:10:29] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0892ea678012d7af84005e37cb0000700a32d..."} 
[2026-09-10 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892ea678012d7af84005e37cb0000700a32d..."} 
[2026-09-10 08:10:29] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892ea678012d7af84005e37cb0000700a32d..."} 
[2026-09-10 08:10:29] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892e"} 
[2026-09-10 08:10:29] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892e"} 
[2026-09-10 08:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763033664,"raw_latitude":98794672,"longitude_deg":76.3033664,"latitude_deg":9.8794672,"altitude":7,"angle":163,"satellites":45,"speed":21,"hex_longitude":"2d7af840","hex_latitude":"05e37cb0","is_valid_coordinates":true} 
[2026-09-10 08:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986024448001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130602426393690112,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857736067401261056,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789007931000,"timestamp_ms":1789007931000,"timestamp_seconds":1789007931,"priority":1,"record_length":96,"hex_timestamp":"000001a0892ea678"} 
[2026-09-10 08:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:10: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-09-10 08:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 08:10: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-09-10 08:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986024448001,"66":13341,"21":206,"9":25088,"24":21,"16":130602426393690112,"45":8857736067401261056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-09-10 08:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986024448001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:10:29] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 08:10:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130602426393690112,"km_value":130602426393690.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857736067401261056,"description":"Unknown IO ID 45"} 
[2026-09-10 08:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986024448001,"power":13341,"unknown_21":206,"unknown_9":25088,"ignition":21,"odometer":null,"unknown_45":8857736067401261056}} 
[2026-09-10 08:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:10:29] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:10:29] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:10:36] local.INFO: TCP Data received {"connection_id":178841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:10:36] local.INFO: Processing buffer {"connection_id":178841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:10:36] local.INFO: IMEI packet received {"connection_id":178841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":178841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:10:41] local.INFO: TCP Data received {"connection_id":178841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:10:41] local.INFO: Processing buffer {"connection_id":178841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:10:41] local.INFO: IMEI packet received {"connection_id":178841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":178841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:10:42] local.INFO: TCP Data received {"connection_id":178841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:10:42] local.INFO: Processing buffer {"connection_id":178841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:10:42] local.INFO: Packet analysis {"connection_id":178841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:10:42] local.INFO: Extracted packet for processing {"connection_id":178841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:10: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-09-10 08:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:10:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":178841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:10:42] local.INFO: GPS data processed {"connection_id":178841,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:10:42] local.INFO: Acknowledgment sent {"connection_id":178841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:11:00] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0892edd28012d7b034005e35b580006009a2e..."} 
[2026-09-10 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892edd28012d7b034005e35b580006009a2e..."} 
[2026-09-10 08:11:00] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892edd28012d7b034005e35b580006009a2e..."} 
[2026-09-10 08:11:00] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892e"} 
[2026-09-10 08:11:00] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892e"} 
[2026-09-10 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98786136,"longitude_deg":76.303648,"latitude_deg":9.8786136,"altitude":6,"angle":154,"satellites":46,"speed":22,"hex_longitude":"2d7b0340","hex_latitude":"05e35b58","is_valid_coordinates":true} 
[2026-09-10 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986030336001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130602860185387008,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860902660887064576,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789007945000,"timestamp_ms":1789007945000,"timestamp_seconds":1789007945,"priority":1,"record_length":96,"hex_timestamp":"000001a0892edd28"} 
[2026-09-10 08:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-10 08:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986030336001,"66":13656,"21":206,"9":25088,"24":22,"16":130602860185387008,"45":8860902660887064576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-09-10 08:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986030336001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:11:00] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 08:11:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-10 08:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130602860185387008,"km_value":130602860185387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860902660887064576,"description":"Unknown IO ID 45"} 
[2026-09-10 08:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986030336001,"power":13656,"unknown_21":206,"unknown_9":25088,"ignition":22,"odometer":null,"unknown_45":8860902660887064576}} 
[2026-09-10 08:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:11:00] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:11:00] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:11:12] local.INFO: TCP Data received {"connection_id":178841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:11:12] local.INFO: Processing buffer {"connection_id":178841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:11:12] local.INFO: Packet analysis {"connection_id":178841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:11:12] local.INFO: Extracted packet for processing {"connection_id":178841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08: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-09-10 08:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:11:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":178841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:11:12] local.INFO: GPS data processed {"connection_id":178841,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:11:12] local.INFO: Acknowledgment sent {"connection_id":178841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:11:18] local.INFO: TCP Data received {"connection_id":177468,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:11:18] local.INFO: Processing buffer {"connection_id":177468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:11:18] local.INFO: IMEI packet received {"connection_id":177468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":177468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:11:21] local.INFO: TCP Data received {"connection_id":177468,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:11:21] local.INFO: Processing buffer {"connection_id":177468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:11:21] local.INFO: IMEI packet received {"connection_id":177468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":177468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:11:22] local.INFO: TCP Data received {"connection_id":177468,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0892f69c8012d7b088005e34ff00003009e2b..."} 
[2026-09-10 08:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892f69c8012d7b088005e34ff00003009e2b..."} 
[2026-09-10 08:11:22] local.INFO: Processing buffer {"connection_id":177468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892f69c8012d7b088005e34ff00003009e2b..."} 
[2026-09-10 08:11:22] local.INFO: Packet analysis {"connection_id":177468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892f"} 
[2026-09-10 08:11:22] local.INFO: Extracted packet for processing {"connection_id":177468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892f"} 
[2026-09-10 08:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":98783216,"longitude_deg":76.3037824,"latitude_deg":9.8783216,"altitude":3,"angle":158,"satellites":43,"speed":5,"hex_longitude":"2d7b0880","hex_latitude":"05e34ff0","is_valid_coordinates":true} 
[2026-09-10 08:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986033920001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130603019099176960,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885628696576,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789007981000,"timestamp_ms":1789007981000,"timestamp_seconds":1789007981,"priority":1,"record_length":96,"hex_timestamp":"000001a0892f69c8"} 
[2026-09-10 08:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:11: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-09-10 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 08:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986033920001,"66":13559,"208":206,"85":15104,"24":5,"16":130603019099176960,"45":8863998885628696576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986033920001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:11:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130603019099176960,"km_value":130603019099176.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885628696576,"description":"Unknown IO ID 45"} 
[2026-09-10 08:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986033920001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8863998885628696576}} 
[2026-09-10 08:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":177468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:11:22] local.INFO: GPS data processed {"connection_id":177468,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:11:22] local.INFO: Acknowledgment sent {"connection_id":177468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:11:36] local.INFO: TCP Data received {"connection_id":177469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:11:36] local.INFO: Processing buffer {"connection_id":177469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:11:36] local.INFO: IMEI packet received {"connection_id":177469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":177469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:11:41] local.INFO: TCP Data received {"connection_id":177469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:11:41] local.INFO: Processing buffer {"connection_id":177469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:11:41] local.INFO: IMEI packet received {"connection_id":177469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":177469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:11:42] local.INFO: TCP Data received {"connection_id":177469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:11:42] local.INFO: Processing buffer {"connection_id":177469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892c4130012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:11:42] local.INFO: Packet analysis {"connection_id":177469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:11:42] local.INFO: Extracted packet for processing {"connection_id":177469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892c"} 
[2026-09-10 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985913088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789007774000,"timestamp_ms":1789007774000,"timestamp_seconds":1789007774,"priority":1,"record_length":96,"hex_timestamp":"000001a0892c4130"} 
[2026-09-10 08:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:11: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-09-10 08:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985913088001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985913088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:11:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985913088001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":177469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:11:42] local.INFO: GPS data processed {"connection_id":177469,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:11:42] local.INFO: Acknowledgment sent {"connection_id":177469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:11:54] local.INFO: TCP Data received {"connection_id":177468,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0892fac30012d7b0cc005e33cf0000400ab29..."} 
[2026-09-10 08:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0892fac30012d7b0cc005e33cf0000400ab29..."} 
[2026-09-10 08:11:54] local.INFO: Processing buffer {"connection_id":177468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0892fac30012d7b0cc005e33cf0000400ab29..."} 
[2026-09-10 08:11:54] local.INFO: Packet analysis {"connection_id":177468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0892f"} 
[2026-09-10 08:11:54] local.INFO: Extracted packet for processing {"connection_id":177468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0892f"} 
[2026-09-10 08:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98778352,"longitude_deg":76.3038912,"latitude_deg":9.8778352,"altitude":4,"angle":171,"satellites":41,"speed":13,"hex_longitude":"2d7b0cc0","hex_latitude":"05e33cf0","is_valid_coordinates":true} 
[2026-09-10 08:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986043136001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130603263912312832,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629255680000,"note":"Value kept but may cause issues"} 
[2026-09-10 08:11: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-09-10 08:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789007998000,"timestamp_ms":1789007998000,"timestamp_seconds":1789007998,"priority":1,"record_length":96,"hex_timestamp":"000001a0892fac30"} 
[2026-09-10 08:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 08:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986043136001,"66":13374,"208":206,"85":15104,"24":13,"16":130603263912312832,"45":8865476629255680000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986043136001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:11:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130603263912312832,"km_value":130603263912312.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629255680000,"description":"Unknown IO ID 45"} 
[2026-09-10 08:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986043136001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8865476629255680000}} 
[2026-09-10 08:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":177468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:11:54] local.INFO: GPS data processed {"connection_id":177468,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:11:54] local.INFO: Acknowledgment sent {"connection_id":177468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:12:13] local.INFO: TCP Data received {"connection_id":177469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:12:13] local.INFO: Processing buffer {"connection_id":177469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:12:13] local.INFO: Packet analysis {"connection_id":177469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:12:13] local.INFO: Extracted packet for processing {"connection_id":177469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:12:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:12:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":177469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:12:13] local.INFO: GPS data processed {"connection_id":177469,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:12:13] local.INFO: Acknowledgment sent {"connection_id":177469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:12:17] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:12:17] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:12:17] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:12:20] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:12:20] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:12:20] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:12:21] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089312b00012d7b170005e31498000800ad26..."} 
[2026-09-10 08:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089312b00012d7b170005e31498000800ad26..."} 
[2026-09-10 08:12:21] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089312b00012d7b170005e31498000800ad26..."} 
[2026-09-10 08:12:21] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:12:21] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98768024,"longitude_deg":76.3041536,"latitude_deg":9.8768024,"altitude":8,"angle":173,"satellites":38,"speed":3,"hex_longitude":"2d7b1700","hex_latitude":"05e31498","is_valid_coordinates":true} 
[2026-09-10 08:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986068480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130603826553028608,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541437437952,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789008096000,"timestamp_ms":1789008096000,"timestamp_seconds":1789008096,"priority":1,"record_length":96,"hex_timestamp":"000001a089312b00"} 
[2026-09-10 08:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 08:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986068480001,"66":12885,"208":206,"85":15104,"24":3,"16":130603826553028608,"45":8869276541437437952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986068480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:12:21] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130603826553028608,"km_value":130603826553028.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541437437952,"description":"Unknown IO ID 45"} 
[2026-09-10 08:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986068480001,"power":12885,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8869276541437437952}} 
[2026-09-10 08:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:12:21] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:12:21] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:12:36] local.INFO: TCP Data received {"connection_id":178842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:12:36] local.INFO: Processing buffer {"connection_id":178842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:12:36] local.INFO: IMEI packet received {"connection_id":178842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":178842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:12:44] local.INFO: TCP Data received {"connection_id":178842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:12:44] local.INFO: Processing buffer {"connection_id":178842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:12:44] local.INFO: IMEI packet received {"connection_id":178842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":178842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:12:45] local.INFO: TCP Data received {"connection_id":178842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:12:45] local.INFO: Processing buffer {"connection_id":178842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:12:45] local.INFO: Packet analysis {"connection_id":178842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:12:45] local.INFO: Extracted packet for processing {"connection_id":178842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:12:45] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:12:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:12:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":178842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:12:45] local.INFO: GPS data processed {"connection_id":178842,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:12:45] local.INFO: Acknowledgment sent {"connection_id":178842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:12:52] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089317920012d7b1b8005e2f5b8000900aa1e..."} 
[2026-09-10 08:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089317920012d7b1b8005e2f5b8000900aa1e..."} 
[2026-09-10 08:12:52] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089317920012d7b1b8005e2f5b8000900aa1e..."} 
[2026-09-10 08:12:52] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:12:52] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763042688,"raw_latitude":98760120,"longitude_deg":76.3042688,"latitude_deg":9.876012,"altitude":9,"angle":170,"satellites":30,"speed":29,"hex_longitude":"2d7b1b80","hex_latitude":"05e2f5b8","is_valid_coordinates":true} 
[2026-09-10 08:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986072576001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130604217395052544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016414095360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789008116000,"timestamp_ms":1789008116000,"timestamp_seconds":1789008116,"priority":1,"record_length":96,"hex_timestamp":"000001a089317920"} 
[2026-09-10 08:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 08:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986072576001,"66":13852,"208":206,"85":15104,"24":29,"16":130604217395052544,"45":8869558016414095360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986072576001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:12:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130604217395052544,"km_value":130604217395052.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016414095360,"description":"Unknown IO ID 45"} 
[2026-09-10 08:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986072576001,"power":13852,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8869558016414095360}} 
[2026-09-10 08:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:12:53] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:12:53] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:13:16] local.INFO: TCP Data received {"connection_id":178842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:16] local.INFO: Processing buffer {"connection_id":178842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:16] local.INFO: Packet analysis {"connection_id":178842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:16] local.INFO: Extracted packet for processing {"connection_id":178842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:13:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":178842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:13:16] local.INFO: GPS data processed {"connection_id":178842,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:13:16] local.INFO: Acknowledgment sent {"connection_id":178842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:13:17] local.INFO: TCP Data received {"connection_id":177470,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:17] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:17] local.INFO: IMEI packet received {"connection_id":177470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":177470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:13:20] local.INFO: TCP Data received {"connection_id":177470,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:20] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:20] local.INFO: IMEI packet received {"connection_id":177470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":177470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:13:22] local.INFO: TCP Data received {"connection_id":177470,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:22] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:13:22] local.INFO: IMEI packet received {"connection_id":177470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":177470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:13:23] local.INFO: TCP Data received {"connection_id":177470,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08931a418012d7b214005e2d2e8000a00ab22..."} 
[2026-09-10 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08931a418012d7b214005e2d2e8000a00ab22..."} 
[2026-09-10 08:13:23] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08931a418012d7b214005e2d2e8000a00ab22..."} 
[2026-09-10 08:13:23] local.INFO: Packet analysis {"connection_id":177470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:13:23] local.INFO: Extracted packet for processing {"connection_id":177470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98751208,"longitude_deg":76.304416,"latitude_deg":9.8751208,"altitude":10,"angle":171,"satellites":34,"speed":32,"hex_longitude":"2d7b2140","hex_latitude":"05e2d2e8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986077696001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130604655481716736,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870824653807269888,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789008127000,"timestamp_ms":1789008127000,"timestamp_seconds":1789008127,"priority":1,"record_length":96,"hex_timestamp":"000001a08931a418"} 
[2026-09-10 08:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-10 08:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986077696001,"66":13820,"208":206,"85":15104,"24":32,"16":130604655481716736,"45":8870824653807269888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986077696001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:13:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130604655481716736,"km_value":130604655481716.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870824653807269888,"description":"Unknown IO ID 45"} 
[2026-09-10 08:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986077696001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8870824653807269888}} 
[2026-09-10 08:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":177470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:13:23] local.INFO: GPS data processed {"connection_id":177470,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:13:23] local.INFO: Acknowledgment sent {"connection_id":177470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:13:28] local.INFO: TCP Data received {"connection_id":177470,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08931cf10012d7b220005e2b060000800ac24..."} 
[2026-09-10 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08931cf10012d7b220005e2b060000800ac24..."} 
[2026-09-10 08:13:28] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08931cf10012d7b220005e2b060000800ac24..."} 
[2026-09-10 08:13:28] local.INFO: Packet analysis {"connection_id":177470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:13:28] local.INFO: Extracted packet for processing {"connection_id":177470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98742368,"longitude_deg":76.3044352,"latitude_deg":9.8742368,"altitude":8,"angle":172,"satellites":36,"speed":30,"hex_longitude":"2d7b2200","hex_latitude":"05e2b060","is_valid_coordinates":true} 
[2026-09-10 08:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986080512001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130605089273413632,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134921074688,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789008138000,"timestamp_ms":1789008138000,"timestamp_seconds":1789008138,"priority":1,"record_length":96,"hex_timestamp":"000001a08931cf10"} 
[2026-09-10 08:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 08:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986080512001,"66":13526,"207":206,"85":15104,"24":30,"16":130605089273413632,"45":8872443134921074688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 08:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986080512001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:13:28] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 08:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130605089273413632,"km_value":130605089273413.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134921074688,"description":"Unknown IO ID 45"} 
[2026-09-10 08:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986080512001,"power":13526,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8872443134921074688}} 
[2026-09-10 08:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":177470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:13:28] local.INFO: GPS data processed {"connection_id":177470,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:13:28] local.INFO: Acknowledgment sent {"connection_id":177470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:13:41] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:13:41] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:13:41] local.INFO: IMEI packet received {"connection_id":176310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":176310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:13:46] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:13:46] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:13:46] local.INFO: IMEI packet received {"connection_id":176310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":176310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:13:47] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:47] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:47] local.INFO: Packet analysis {"connection_id":176310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:47] local.INFO: Extracted packet for processing {"connection_id":176310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:13:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":176310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:13:47] local.INFO: GPS data processed {"connection_id":176310,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:13:47] local.INFO: Acknowledgment sent {"connection_id":176310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:13:51] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:51] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:51] local.INFO: Packet analysis {"connection_id":176310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:51] local.INFO: Extracted packet for processing {"connection_id":176310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:13:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":176310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:13:51] local.INFO: GPS data processed {"connection_id":176310,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:13:51] local.INFO: Acknowledgment sent {"connection_id":176310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:13:56] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:56] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:13:56] local.INFO: Packet analysis {"connection_id":176310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:56] local.INFO: Extracted packet for processing {"connection_id":176310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:13:56] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:13:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:13:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":176310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:13:56] local.INFO: GPS data processed {"connection_id":176310,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:13:56] local.INFO: Acknowledgment sent {"connection_id":176310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:13:59] local.INFO: TCP Data received {"connection_id":177470,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08931deb0012d7b23c005e2a738000700a128..."} 
[2026-09-10 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08931deb0012d7b23c005e2a738000700a128..."} 
[2026-09-10 08:13:59] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08931deb0012d7b23c005e2a738000700a128..."} 
[2026-09-10 08:13:59] local.INFO: Packet analysis {"connection_id":177470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:13:59] local.INFO: Extracted packet for processing {"connection_id":177470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08931"} 
[2026-09-10 08:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98740024,"longitude_deg":76.30448,"latitude_deg":9.8740024,"altitude":7,"angle":161,"satellites":40,"speed":16,"hex_longitude":"2d7b23c0","hex_latitude":"05e2a738","is_valid_coordinates":true} 
[2026-09-10 08:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986083328001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130605205237530624,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241151344640,"note":"Value kept but may cause issues"} 
[2026-09-10 08:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789008142000,"timestamp_ms":1789008142000,"timestamp_seconds":1789008142,"priority":1,"record_length":96,"hex_timestamp":"000001a08931deb0"} 
[2026-09-10 08:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:13: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-09-10 08:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 08:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986083328001,"66":13613,"207":206,"85":15104,"24":16,"16":130605205237530624,"45":8872654241151344640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 08:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986083328001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:13:59] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 08:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130605205237530624,"km_value":130605205237530.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241151344640,"description":"Unknown IO ID 45"} 
[2026-09-10 08:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986083328001,"power":13613,"unknown_207":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8872654241151344640}} 
[2026-09-10 08:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":177470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:13:59] local.INFO: GPS data processed {"connection_id":177470,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:13:59] local.INFO: Acknowledgment sent {"connection_id":177470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:14:16] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:16] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:16] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:14:17] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:17] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:17] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:14:18] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:18] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:18] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:14:19] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:19] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:14:19] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:14:36] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:14:36] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:14:36] local.INFO: IMEI packet received {"connection_id":176068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":176068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:14:41] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:14:41] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:14:41] local.INFO: IMEI packet received {"connection_id":176068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":176068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:14:42] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:14:42] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:14:42] local.INFO: Packet analysis {"connection_id":176068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:14:42] local.INFO: Extracted packet for processing {"connection_id":176068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:14:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:14: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-09-10 08:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:14:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":176068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:14:42] local.INFO: GPS data processed {"connection_id":176068,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:14:42] local.INFO: Acknowledgment sent {"connection_id":176068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:15:12] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:15:12] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:15:12] local.INFO: Packet analysis {"connection_id":176068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:15:12] local.INFO: Extracted packet for processing {"connection_id":176068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08: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-09-10 08:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:15:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":176068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:15:12] local.INFO: GPS data processed {"connection_id":176068,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:15:12] local.INFO: Acknowledgment sent {"connection_id":176068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:15:36] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:15:36] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:15:36] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:15:41] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:15:41] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:15:41] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:15:42] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:15:42] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:15:42] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:15:42] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:15: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-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:15:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:15:42] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:15:42] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:16:09] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:09] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:09] local.INFO: IMEI packet received {"connection_id":178844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":178844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:16:11] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:11] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:11] local.INFO: IMEI packet received {"connection_id":178844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":178844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:16:12] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:16:12] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:16:12] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:16:12] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:16:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:16:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:16:12] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:16:12] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:16:15] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:15] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:16:15] local.INFO: IMEI packet received {"connection_id":178844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":178844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:16:16] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 08:16:16] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 08:16:16] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 08:16:16] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:16:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:16:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:16:16] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:16:16] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:16:16] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:16:36] local.INFO: TCP Data received {"connection_id":177471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:16:36] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:16:36] local.INFO: IMEI packet received {"connection_id":177471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":177471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:16:41] local.INFO: TCP Data received {"connection_id":177471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:16:41] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:16:41] local.INFO: IMEI packet received {"connection_id":177471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":177471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:16:42] local.INFO: TCP Data received {"connection_id":177471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:16:42] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08930d8f8012cee6fc0072e2ba80034006b27..."} 
[2026-09-10 08:16:42] local.INFO: Packet analysis {"connection_id":177471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:16:42] local.INFO: Extracted packet for processing {"connection_id":177471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08930"} 
[2026-09-10 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":39,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457985990144001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008075000,"timestamp_ms":1789008075000,"timestamp_seconds":1789008075,"priority":1,"record_length":96,"hex_timestamp":"000001a08930d8f8"} 
[2026-09-10 08:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:16: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-09-10 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457985990144001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457985990144001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457985990144001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":177471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:16:42] local.INFO: GPS data processed {"connection_id":177471,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:16:42] local.INFO: Acknowledgment sent {"connection_id":177471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:16:48] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 08:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 08:16:48] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 08:16:48] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:16:48] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:16:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:16:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:16:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:16:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:16:48] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:16:48] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:16:48] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:17:12] local.INFO: TCP Data received {"connection_id":177471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:17:12] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:17:12] local.INFO: Packet analysis {"connection_id":177471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:17:12] local.INFO: Extracted packet for processing {"connection_id":177471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:17: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-09-10 08:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:17:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":177471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:17:12] local.INFO: GPS data processed {"connection_id":177471,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:17:12] local.INFO: Acknowledgment sent {"connection_id":177471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:17:19] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-10 08:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-10 08:17:19] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-10 08:17:19] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:17:19] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:17:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:17:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:17:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:17:19] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:17:19] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:17:19] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:17:36] local.INFO: TCP Data received {"connection_id":178845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:17:36] local.INFO: Processing buffer {"connection_id":178845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:17:36] local.INFO: IMEI packet received {"connection_id":178845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":178845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:17:41] local.INFO: TCP Data received {"connection_id":178845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:17:41] local.INFO: Processing buffer {"connection_id":178845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:17:41] local.INFO: IMEI packet received {"connection_id":178845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":178845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:17:42] local.INFO: TCP Data received {"connection_id":178845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:17:42] local.INFO: Processing buffer {"connection_id":178845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:17:42] local.INFO: Packet analysis {"connection_id":178845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:17:42] local.INFO: Extracted packet for processing {"connection_id":178845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:17: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-09-10 08:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":178845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:17:42] local.INFO: GPS data processed {"connection_id":178845,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:17:42] local.INFO: Acknowledgment sent {"connection_id":178845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:17:51] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-10 08:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-10 08:17:51] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-10 08:17:51] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:17:51] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:17:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:17:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:17:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:17:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:17:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:17:51] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:17:51] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:18:12] local.INFO: TCP Data received {"connection_id":178845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:18:12] local.INFO: Processing buffer {"connection_id":178845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:18:12] local.INFO: Packet analysis {"connection_id":178845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:18:12] local.INFO: Extracted packet for processing {"connection_id":178845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:18: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-09-10 08:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:18:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":178845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:18:12] local.INFO: GPS data processed {"connection_id":178845,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:18:12] local.INFO: Acknowledgment sent {"connection_id":178845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:18:22] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-10 08:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-10 08:18:22] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-10 08:18:22] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:18:22] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:18:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:18:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:18:22] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:18:22] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:18:22] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:18:36] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:18:36] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:18:36] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:18:41] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:18:41] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:18:41] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:18:42] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:18:42] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:18:42] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:18:42] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:18: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-09-10 08:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:18:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:18:42] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:18:42] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:18:54] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-10 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-10 08:18:54] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-10 08:18:54] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-10 08:18:54] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-10 08:18:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:18:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:18:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":152000,"timestamp_seconds":152,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:18:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:18:54] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:18:54] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:18:54] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:19:12] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:19:12] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:19:12] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:19:12] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:19: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-09-10 08:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:19:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:19:12] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:19:12] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:19:24] local.INFO: TCP Data received {"connection_id":178846,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:19:24] local.INFO: Processing buffer {"connection_id":178846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:19:24] local.INFO: IMEI packet received {"connection_id":178846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":178846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:19:25] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-10 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-10 08:19:25] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-10 08:19:25] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-10 08:19:25] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-10 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:19:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":173000,"timestamp_seconds":173,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:19:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:19:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:19:25] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:19:25] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:19:26] local.INFO: TCP Data received {"connection_id":178846,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08935e5f0012d7ace4005e40e300006014f2b..."} 
[2026-09-10 08:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08935e5f0012d7ace4005e40e300006014f2b..."} 
[2026-09-10 08:19:26] local.INFO: Processing buffer {"connection_id":178846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08935e5f0012d7ace4005e40e300006014f2b..."} 
[2026-09-10 08:19:26] local.INFO: Packet analysis {"connection_id":178846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:19:26] local.INFO: Extracted packet for processing {"connection_id":178846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763022912,"raw_latitude":98831920,"longitude_deg":76.3022912,"latitude_deg":9.883192,"altitude":6,"angle":335,"satellites":43,"speed":17,"hex_longitude":"2d7ace40","hex_latitude":"05e40e30","is_valid_coordinates":true} 
[2026-09-10 08:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986150656001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130610483752337408,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850065874292369408,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789008406000,"timestamp_ms":1789008406000,"timestamp_seconds":1789008406,"priority":1,"record_length":96,"hex_timestamp":"000001a08935e5f0"} 
[2026-09-10 08:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 08:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986150656001,"66":12961,"208":206,"85":15104,"24":17,"16":130610483752337408,"45":8850065874292369408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986150656001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:19:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130610483752337408,"km_value":130610483752337.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850065874292369408,"description":"Unknown IO ID 45"} 
[2026-09-10 08:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986150656001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8850065874292369408}} 
[2026-09-10 08:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":178846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:19:26] local.INFO: GPS data processed {"connection_id":178846,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:19:26] local.INFO: Acknowledgment sent {"connection_id":178846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:19:36] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:19:36] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:19:36] local.INFO: IMEI packet received {"connection_id":176314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":176314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:19:41] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:19:41] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:19:41] local.INFO: IMEI packet received {"connection_id":176314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":176314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:19:42] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:19:42] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:19:42] local.INFO: Packet analysis {"connection_id":176314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:19:42] local.INFO: Extracted packet for processing {"connection_id":176314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:19: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-09-10 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:19:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":176314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:19:42] local.INFO: GPS data processed {"connection_id":176314,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:19:42] local.INFO: Acknowledgment sent {"connection_id":176314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:19:57] local.INFO: TCP Data received {"connection_id":178846,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893889b8012d7acc8005e410800004008f2a..."} 
[2026-09-10 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893889b8012d7acc8005e410800004008f2a..."} 
[2026-09-10 08:19:57] local.INFO: Processing buffer {"connection_id":178846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893889b8012d7acc8005e410800004008f2a..."} 
[2026-09-10 08:19:57] local.INFO: Packet analysis {"connection_id":178846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:19:57] local.INFO: Extracted packet for processing {"connection_id":178846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":98832512,"longitude_deg":76.3022464,"latitude_deg":9.8832512,"altitude":4,"angle":143,"satellites":42,"speed":10,"hex_longitude":"2d7acc80","hex_latitude":"05e41080","is_valid_coordinates":true} 
[2026-09-10 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986195968001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130611686343180288,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177348096,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789008579000,"timestamp_ms":1789008579000,"timestamp_seconds":1789008579,"priority":1,"record_length":96,"hex_timestamp":"000001a0893889b8"} 
[2026-09-10 08:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-10 08:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986195968001,"66":13798,"208":206,"85":15104,"24":10,"16":130611686343180288,"45":8848447393177348096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986195968001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:19:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130611686343180288,"km_value":130611686343180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177348096,"description":"Unknown IO ID 45"} 
[2026-09-10 08:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986195968001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848447393177348096}} 
[2026-09-10 08:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":178846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:19:57] local.INFO: GPS data processed {"connection_id":178846,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:19:57] local.INFO: Acknowledgment sent {"connection_id":178846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:19:58] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-09-10 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-09-10 08:19:58] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-09-10 08:19:58] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-10 08:19:58] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-10 08:19:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:19:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:19:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194000,"timestamp_seconds":194,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:19:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:19:58] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:19:58] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:19:58] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:20:12] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:20:12] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:20:12] local.INFO: Packet analysis {"connection_id":176314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:20:12] local.INFO: Extracted packet for processing {"connection_id":176314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:20:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:20:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":176314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:20:12] local.INFO: GPS data processed {"connection_id":176314,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:20:12] local.INFO: Acknowledgment sent {"connection_id":176314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:20:15] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:15] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:15] local.INFO: IMEI packet received {"connection_id":177473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":177473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:20:17] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:17] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:17] local.INFO: IMEI packet received {"connection_id":177473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":177473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:20:22] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:22] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:20:22] local.INFO: IMEI packet received {"connection_id":177473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":177473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:20:23] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089389188012d7ace0005e40e500004009c2a..."} 
[2026-09-10 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089389188012d7ace0005e40e500004009c2a..."} 
[2026-09-10 08:20:23] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089389188012d7ace0005e40e500004009c2a..."} 
[2026-09-10 08:20:23] local.INFO: Packet analysis {"connection_id":177473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:20:23] local.INFO: Extracted packet for processing {"connection_id":177473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763022848,"raw_latitude":98831952,"longitude_deg":76.3022848,"latitude_deg":9.8831952,"altitude":4,"angle":156,"satellites":42,"speed":15,"hex_longitude":"2d7ace00","hex_latitude":"05e40e50","is_valid_coordinates":true} 
[2026-09-10 08:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986196224001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130611720702918656,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665660416,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789008581000,"timestamp_ms":1789008581000,"timestamp_seconds":1789008581,"priority":1,"record_length":96,"hex_timestamp":"000001a089389188"} 
[2026-09-10 08:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:20: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-09-10 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 08:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986196224001,"66":14135,"208":206,"85":15104,"24":15,"16":130611720702918656,"45":8848588130665660416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986196224001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:20:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:20:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130611720702918656,"km_value":130611720702918.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665660416,"description":"Unknown IO ID 45"} 
[2026-09-10 08:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986196224001,"power":14135,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8848588130665660416}} 
[2026-09-10 08:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":177473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:20:23] local.INFO: GPS data processed {"connection_id":177473,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:20:23] local.INFO: Acknowledgment sent {"connection_id":177473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:20:30] local.INFO: TCP Data received {"connection_id":178844,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-09-10 08:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178844,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-09-10 08:20:30] local.INFO: Processing buffer {"connection_id":178844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-09-10 08:20:30] local.INFO: Packet analysis {"connection_id":178844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-10 08:20:30] local.INFO: Extracted packet for processing {"connection_id":178844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-10 08:20: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-09-10 08:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:20:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":215000,"timestamp_seconds":215,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:20:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178844,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178844,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:20:30] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":178844,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:20:30] local.ERROR: GPS data processing failed {"connection_id":178844,"error":"No valid data to process"} 
[2026-09-10 08:20:30] local.INFO: Acknowledgment sent {"connection_id":178844,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:20:36] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:20:36] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:20:36] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:20:41] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:20:41] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:20:41] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:20:42] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:20:42] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:20:42] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:20:42] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:20: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-09-10 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:20:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:20:42] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:20:42] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:20:49] local.INFO: TCP Data received {"connection_id":178847,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:20:49] local.INFO: Processing buffer {"connection_id":178847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:20:49] local.INFO: IMEI packet received {"connection_id":178847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":178847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:20:54] local.INFO: TCP Data received {"connection_id":178847,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:20:54] local.INFO: Processing buffer {"connection_id":178847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:20:54] local.INFO: IMEI packet received {"connection_id":178847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":178847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:20:55] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089389d40012d7acfc005e408c0000400a72a..."} 
[2026-09-10 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089389d40012d7acfc005e408c0000400a72a..."} 
[2026-09-10 08:20:55] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089389d40012d7acfc005e408c0000400a72a..."} 
[2026-09-10 08:20:55] local.INFO: Packet analysis {"connection_id":177473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:20:55] local.INFO: Extracted packet for processing {"connection_id":177473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763023296,"raw_latitude":98830528,"longitude_deg":76.3023296,"latitude_deg":9.8830528,"altitude":4,"angle":167,"satellites":42,"speed":20,"hex_longitude":"2d7acfc0","hex_latitude":"05e408c0","is_valid_coordinates":true} 
[2026-09-10 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986196736001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130611793717362688,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130583040,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789008584000,"timestamp_ms":1789008584000,"timestamp_seconds":1789008584,"priority":1,"record_length":96,"hex_timestamp":"000001a089389d40"} 
[2026-09-10 08:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:20: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-09-10 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 08:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986196736001,"66":14135,"208":206,"85":15104,"24":20,"16":130611793717362688,"45":8849010343130583040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986196736001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:20:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130611793717362688,"km_value":130611793717362.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130583040,"description":"Unknown IO ID 45"} 
[2026-09-10 08:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986196736001,"power":14135,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8849010343130583040}} 
[2026-09-10 08:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":177473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:20:55] local.INFO: GPS data processed {"connection_id":177473,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:20:55] local.INFO: Acknowledgment sent {"connection_id":177473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:20:55] local.INFO: TCP Data received {"connection_id":178847,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-09-10 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178847,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-09-10 08:20:55] local.INFO: Processing buffer {"connection_id":178847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-09-10 08:20:55] local.INFO: Packet analysis {"connection_id":178847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-10 08:20:55] local.INFO: Extracted packet for processing {"connection_id":178847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-10 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:20:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:20:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":236000,"timestamp_seconds":236,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:20:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178847,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:20:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":178847,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:20:55] local.ERROR: GPS data processing failed {"connection_id":178847,"error":"No valid data to process"} 
[2026-09-10 08:20:55] local.INFO: Acknowledgment sent {"connection_id":178847,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:21:13] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:13] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:13] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:21:13] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:21:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:21: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-09-10 08: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-09-10 08:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:21: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-09-10 08:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:21:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:21:13] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:21:13] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:21:17] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:17] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:17] local.INFO: IMEI packet received {"connection_id":176316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":176316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:21:18] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:18] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:18] local.INFO: IMEI packet received {"connection_id":176316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":176316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:21:23] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:23] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:21:23] local.INFO: IMEI packet received {"connection_id":176316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":176316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:21:24] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08938cc20012d7ad78005e3e6a0000400a729..."} 
[2026-09-10 08:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08938cc20012d7ad78005e3e6a0000400a729..."} 
[2026-09-10 08:21:24] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08938cc20012d7ad78005e3e6a0000400a729..."} 
[2026-09-10 08:21:24] local.INFO: Packet analysis {"connection_id":176316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:21:24] local.INFO: Extracted packet for processing {"connection_id":176316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08938"} 
[2026-09-10 08:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98821792,"longitude_deg":76.302528,"latitude_deg":9.8821792,"altitude":4,"angle":167,"satellites":41,"speed":27,"hex_longitude":"2d7ad780","hex_latitude":"05e3e6a0","is_valid_coordinates":true} 
[2026-09-10 08:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986197504001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130612227509059584,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339462144,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789008596000,"timestamp_ms":1789008596000,"timestamp_seconds":1789008596,"priority":1,"record_length":96,"hex_timestamp":"000001a08938cc20"} 
[2026-09-10 08:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 08:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986197504001,"66":13722,"208":206,"85":15104,"24":27,"16":130612227509059584,"45":8849502924339462144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986197504001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:21:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:21:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130612227509059584,"km_value":130612227509059.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339462144,"description":"Unknown IO ID 45"} 
[2026-09-10 08:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986197504001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8849502924339462144}} 
[2026-09-10 08:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":176316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:21:24] local.INFO: GPS data processed {"connection_id":176316,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:21:24] local.INFO: Acknowledgment sent {"connection_id":176316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:21:26] local.INFO: TCP Data received {"connection_id":178847,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-09-10 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178847,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-09-10 08:21:26] local.INFO: Processing buffer {"connection_id":178847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000003ebe80100000000000000000000000000..."} 
[2026-09-10 08:21:26] local.INFO: Packet analysis {"connection_id":178847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-10 08:21:26] local.INFO: Extracted packet for processing {"connection_id":178847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-10 08:21:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:21:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":257000,"timestamp_seconds":257,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:21:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178847,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:21:26] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":178847,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:21:26] local.ERROR: GPS data processing failed {"connection_id":178847,"error":"No valid data to process"} 
[2026-09-10 08:21:26] local.INFO: Acknowledgment sent {"connection_id":178847,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:21:41] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:21:41] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:21:41] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:21:46] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:21:46] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:21:46] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:21:47] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:47] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:47] local.INFO: Packet analysis {"connection_id":176071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:21:47] local.INFO: Extracted packet for processing {"connection_id":176071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:21:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:21:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":176071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:21:47] local.INFO: GPS data processed {"connection_id":176071,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:21:47] local.INFO: Acknowledgment sent {"connection_id":176071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:21:51] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:51] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893570c0012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:21:51] local.INFO: Packet analysis {"connection_id":176071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:21:51] local.INFO: Extracted packet for processing {"connection_id":176071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08935"} 
[2026-09-10 08:21:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986067200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789008376000,"timestamp_ms":1789008376000,"timestamp_seconds":1789008376,"priority":1,"record_length":96,"hex_timestamp":"000001a0893570c0"} 
[2026-09-10 08:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986067200001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986067200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:21:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986067200001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":176071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:21:51] local.INFO: GPS data processed {"connection_id":176071,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:21:51] local.INFO: Acknowledgment sent {"connection_id":176071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:21:55] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089391270012d7ae1c005e3c408000300a528..."} 
[2026-09-10 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089391270012d7ae1c005e3c408000300a528..."} 
[2026-09-10 08:21:55] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089391270012d7ae1c005e3c408000300a528..."} 
[2026-09-10 08:21:55] local.INFO: Packet analysis {"connection_id":176316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:21:55] local.INFO: Extracted packet for processing {"connection_id":176316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763027904,"raw_latitude":98812936,"longitude_deg":76.3027904,"latitude_deg":9.8812936,"altitude":3,"angle":165,"satellites":40,"speed":27,"hex_longitude":"2d7ae1c0","hex_latitude":"05e3c408","is_valid_coordinates":true} 
[2026-09-10 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986200576001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130612674185658368,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406733312,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789008614000,"timestamp_ms":1789008614000,"timestamp_seconds":1789008614,"priority":1,"record_length":96,"hex_timestamp":"000001a089391270"} 
[2026-09-10 08:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:21: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-09-10 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-10 08:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986200576001,"66":13472,"208":206,"85":15104,"24":27,"16":130612674185658368,"45":8851684355406733312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986200576001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:21:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130612674185658368,"km_value":130612674185658.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406733312,"description":"Unknown IO ID 45"} 
[2026-09-10 08:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986200576001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8851684355406733312}} 
[2026-09-10 08:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":176316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:21:55] local.INFO: GPS data processed {"connection_id":176316,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:21:55] local.INFO: Acknowledgment sent {"connection_id":176316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:21:57] local.INFO: TCP Data received {"connection_id":178847,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a0000000000043df00100000000000000000000000000..."} 
[2026-09-10 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000043df00100000000000000000000000000..."} 
[2026-09-10 08:21:57] local.INFO: Processing buffer {"connection_id":178847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000043df00100000000000000000000000000..."} 
[2026-09-10 08:21:57] local.INFO: Packet analysis {"connection_id":178847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-09-10 08:21:57] local.INFO: Extracted packet for processing {"connection_id":178847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-09-10 08:21:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:21:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:21:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":278000,"timestamp_seconds":278,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:21:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178847,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:21:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":178847,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:21:57] local.ERROR: GPS data processing failed {"connection_id":178847,"error":"No valid data to process"} 
[2026-09-10 08:21:57] local.INFO: Acknowledgment sent {"connection_id":178847,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:22:17] local.INFO: TCP Data received {"connection_id":178848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:17] local.INFO: Processing buffer {"connection_id":178848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:17] local.INFO: IMEI packet received {"connection_id":178848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":178848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:22:19] local.INFO: TCP Data received {"connection_id":178848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:19] local.INFO: Processing buffer {"connection_id":178848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:19] local.INFO: IMEI packet received {"connection_id":178848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":178848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:22:23] local.INFO: TCP Data received {"connection_id":178848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:23] local.INFO: Processing buffer {"connection_id":178848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:22:23] local.INFO: IMEI packet received {"connection_id":178848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":178848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:22:24] local.INFO: TCP Data received {"connection_id":178848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089394920012d7aec0005e3a1d0000300a42a..."} 
[2026-09-10 08:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089394920012d7aec0005e3a1d0000300a42a..."} 
[2026-09-10 08:22:24] local.INFO: Processing buffer {"connection_id":178848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089394920012d7aec0005e3a1d0000300a42a..."} 
[2026-09-10 08:22:24] local.INFO: Packet analysis {"connection_id":178848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:22:24] local.INFO: Extracted packet for processing {"connection_id":178848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763030528,"raw_latitude":98804176,"longitude_deg":76.3030528,"latitude_deg":9.8804176,"altitude":3,"angle":164,"satellites":42,"speed":20,"hex_longitude":"2d7aec00","hex_latitude":"05e3a1d0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986205184001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130613120862257152,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473915750400,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789008628000,"timestamp_ms":1789008628000,"timestamp_seconds":1789008628,"priority":1,"record_length":96,"hex_timestamp":"000001a089394920"} 
[2026-09-10 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-09-10 08:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 08:22: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-09-10 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-09-10 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-09-10 08:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986205184001,"66":13906,"208":206,"85":15104,"24":20,"16":130613120862257152,"45":8854569473915750400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986205184001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:22:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130613120862257152,"km_value":130613120862257.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473915750400,"description":"Unknown IO ID 45"} 
[2026-09-10 08:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986205184001,"power":13906,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8854569473915750400}} 
[2026-09-10 08:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":178848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:22:24] local.INFO: GPS data processed {"connection_id":178848,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:22:24] local.INFO: Acknowledgment sent {"connection_id":178848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:22:29] local.INFO: TCP Data received {"connection_id":178847,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a0000000000048ff80100000000000000000000000000..."} 
[2026-09-10 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000048ff80100000000000000000000000000..."} 
[2026-09-10 08:22:29] local.INFO: Processing buffer {"connection_id":178847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000048ff80100000000000000000000000000..."} 
[2026-09-10 08:22:29] local.INFO: Packet analysis {"connection_id":178847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-09-10 08:22:29] local.INFO: Extracted packet for processing {"connection_id":178847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-09-10 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:22:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":299000,"timestamp_seconds":299,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:22:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178847,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178847,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:22:29] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":178847,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:22:29] local.ERROR: GPS data processing failed {"connection_id":178847,"error":"No valid data to process"} 
[2026-09-10 08:22:29] local.INFO: Acknowledgment sent {"connection_id":178847,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:22:36] local.INFO: TCP Data received {"connection_id":177474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:22:36] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:22:36] local.INFO: IMEI packet received {"connection_id":177474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":177474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:22:41] local.INFO: TCP Data received {"connection_id":177474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:22:41] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:22:41] local.INFO: IMEI packet received {"connection_id":177474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":177474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:22:42] local.INFO: TCP Data received {"connection_id":177474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:22:42] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:22:42] local.INFO: Packet analysis {"connection_id":177474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:22:42] local.INFO: Extracted packet for processing {"connection_id":177474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:22:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:22: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-09-10 08:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":177474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:22:42] local.INFO: GPS data processed {"connection_id":177474,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:22:42] local.INFO: Acknowledgment sent {"connection_id":177474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:22:49] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:22:49] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:22:49] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:22:54] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:22:54] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:22:54] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:22:56] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-09-10 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-09-10 08:22:56] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000004e2000100000000000000000000000000..."} 
[2026-09-10 08:22:56] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-09-10 08:22:56] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-09-10 08:22:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:22:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":320000,"timestamp_seconds":320,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:22:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:22:56] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:22:56] local.ERROR: GPS data processing failed {"connection_id":176317,"error":"No valid data to process"} 
[2026-09-10 08:22:56] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:22:58] local.INFO: TCP Data received {"connection_id":178848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089399740012d7af68005e38320000200a42a..."} 
[2026-09-10 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089399740012d7af68005e38320000200a42a..."} 
[2026-09-10 08:22:58] local.INFO: Processing buffer {"connection_id":178848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089399740012d7af68005e38320000200a42a..."} 
[2026-09-10 08:22:58] local.INFO: Packet analysis {"connection_id":178848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:22:58] local.INFO: Extracted packet for processing {"connection_id":178848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763033216,"raw_latitude":98796320,"longitude_deg":76.3033216,"latitude_deg":9.879632,"altitude":2,"angle":164,"satellites":42,"speed":11,"hex_longitude":"2d7af680","hex_latitude":"05e38320","is_valid_coordinates":true} 
[2026-09-10 08:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986208768001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130613520294215680,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857454592424792064,"note":"Value kept but may cause issues"} 
[2026-09-10 08:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789008648000,"timestamp_ms":1789008648000,"timestamp_seconds":1789008648,"priority":1,"record_length":96,"hex_timestamp":"000001a089399740"} 
[2026-09-10 08:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:22: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-09-10 08:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 08:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986208768001,"66":13820,"208":206,"85":15104,"24":11,"16":130613520294215680,"45":8857454592424792064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986208768001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:22:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130613520294215680,"km_value":130613520294215.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857454592424792064,"description":"Unknown IO ID 45"} 
[2026-09-10 08:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986208768001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8857454592424792064}} 
[2026-09-10 08:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":178848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:22:58] local.INFO: GPS data processed {"connection_id":178848,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:22:58] local.INFO: Acknowledgment sent {"connection_id":178848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:23:12] local.INFO: TCP Data received {"connection_id":177474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:23:12] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:23:12] local.INFO: Packet analysis {"connection_id":177474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:23:12] local.INFO: Extracted packet for processing {"connection_id":177474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:23:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:23: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-09-10 08: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":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:23:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":177474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:23:12] local.INFO: GPS data processed {"connection_id":177474,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:23:12] local.INFO: Acknowledgment sent {"connection_id":177474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:23:17] local.INFO: TCP Data received {"connection_id":176318,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:17] local.INFO: Processing buffer {"connection_id":176318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:17] local.INFO: IMEI packet received {"connection_id":176318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":176318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:23:18] local.INFO: TCP Data received {"connection_id":176318,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:18] local.INFO: Processing buffer {"connection_id":176318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:18] local.INFO: IMEI packet received {"connection_id":176318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":176318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:23:23] local.INFO: TCP Data received {"connection_id":176318,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:23] local.INFO: Processing buffer {"connection_id":176318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:23:23] local.INFO: IMEI packet received {"connection_id":176318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":176318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:23:25] local.INFO: TCP Data received {"connection_id":176318,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08939e948012d7b004005e36190000400a02b..."} 
[2026-09-10 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08939e948012d7b004005e36190000400a02b..."} 
[2026-09-10 08:23:25] local.INFO: Processing buffer {"connection_id":176318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08939e948012d7b004005e36190000400a02b..."} 
[2026-09-10 08:23:25] local.INFO: Packet analysis {"connection_id":176318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:23:25] local.INFO: Extracted packet for processing {"connection_id":176318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08939"} 
[2026-09-10 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763035712,"raw_latitude":98787728,"longitude_deg":76.3035712,"latitude_deg":9.8787728,"altitude":4,"angle":160,"satellites":43,"speed":15,"hex_longitude":"2d7b0040","hex_latitude":"05e36190","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986213888001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130613958380879872,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860410079678242816,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789008669000,"timestamp_ms":1789008669000,"timestamp_seconds":1789008669,"priority":1,"record_length":96,"hex_timestamp":"000001a08939e948"} 
[2026-09-10 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-09-10 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 08:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986213888001,"66":13961,"208":206,"85":15104,"24":15,"16":130613958380879872,"45":8860410079678242816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986213888001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130613958380879872,"km_value":130613958380879.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860410079678242816,"description":"Unknown IO ID 45"} 
[2026-09-10 08:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986213888001,"power":13961,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8860410079678242816}} 
[2026-09-10 08:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":176318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:23:25] local.INFO: GPS data processed {"connection_id":176318,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:23:25] local.INFO: Acknowledgment sent {"connection_id":176318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:23:27] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a00000000000534080100000000000000000000000000..."} 
[2026-09-10 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000534080100000000000000000000000000..."} 
[2026-09-10 08:23:27] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000534080100000000000000000000000000..."} 
[2026-09-10 08:23:27] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:23:27] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:23:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":341000,"timestamp_seconds":341,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:23:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:23:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:23:27] local.ERROR: GPS data processing failed {"connection_id":176317,"error":"No valid data to process"} 
[2026-09-10 08:23:27] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:23:36] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:23:36] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:23:36] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:23:41] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:23:41] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:23:41] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:23:42] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:23:42] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:23:42] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:23:42] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:23:42] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:23:42] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:23:54] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:23:54] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:23:54] local.INFO: IMEI packet received {"connection_id":177475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":177475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:23:56] local.INFO: TCP Data received {"connection_id":176318,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893c2b68012d7b304005e38a80000800232b..."} 
[2026-09-10 08:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893c2b68012d7b304005e38a80000800232b..."} 
[2026-09-10 08:23:56] local.INFO: Processing buffer {"connection_id":176318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893c2b68012d7b304005e38a80000800232b..."} 
[2026-09-10 08:23:56] local.INFO: Packet analysis {"connection_id":176318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:23:56] local.INFO: Extracted packet for processing {"connection_id":176318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98798208,"longitude_deg":76.3048,"latitude_deg":9.8798208,"altitude":8,"angle":35,"satellites":43,"speed":38,"hex_longitude":"2d7b3040","hex_latitude":"05e38a80","is_valid_coordinates":true} 
[2026-09-10 08:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986251776001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130615027827736576,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022559244288,"note":"Value kept but may cause issues"} 
[2026-09-10 08:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789008817000,"timestamp_ms":1789008817000,"timestamp_seconds":1789008817,"priority":1,"record_length":96,"hex_timestamp":"000001a0893c2b68"} 
[2026-09-10 08:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 08:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986251776001,"66":13493,"208":206,"85":15104,"24":38,"16":130615027827736576,"45":8870895022559244288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986251776001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:23:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130615027827736576,"km_value":130615027827736.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022559244288,"description":"Unknown IO ID 45"} 
[2026-09-10 08:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986251776001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8870895022559244288}} 
[2026-09-10 08:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":176318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:23:57] local.INFO: GPS data processed {"connection_id":176318,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:23:57] local.INFO: Acknowledgment sent {"connection_id":176318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:23:59] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:23:59] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:23:59] local.INFO: IMEI packet received {"connection_id":177475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":177475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:24:01] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a00000000000586100100000000000000000000000000..."} 
[2026-09-10 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000586100100000000000000000000000000..."} 
[2026-09-10 08:24:01] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000586100100000000000000000000000000..."} 
[2026-09-10 08:24:01] local.INFO: Packet analysis {"connection_id":177475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:24:01] local.INFO: Extracted packet for processing {"connection_id":177475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:24:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:24:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362000,"timestamp_seconds":362,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:24:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177475,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177475,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177475,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:24:01] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":177475,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:24:01] local.ERROR: GPS data processing failed {"connection_id":177475,"error":"No valid data to process"} 
[2026-09-10 08:24:01] local.INFO: Acknowledgment sent {"connection_id":177475,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:24:05] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000005d8180100000000000000000000000000..."} 
[2026-09-10 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000005d8180100000000000000000000000000..."} 
[2026-09-10 08:24:05] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000005d8180100000000000000000000000000..."} 
[2026-09-10 08:24:05] local.INFO: Packet analysis {"connection_id":177475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:24:05] local.INFO: Extracted packet for processing {"connection_id":177475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:24:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:24:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383000,"timestamp_seconds":383,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:24:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177475,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177475,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177475,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:24:05] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":177475,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:24:05] local.ERROR: GPS data processing failed {"connection_id":177475,"error":"No valid data to process"} 
[2026-09-10 08:24:05] local.INFO: Acknowledgment sent {"connection_id":177475,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:24:12] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:24:12] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:24:12] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:24:12] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:24:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:24: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-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:24:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:24:12] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:24:12] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:24:23] local.INFO: TCP Data received {"connection_id":178849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:24:23] local.INFO: Processing buffer {"connection_id":178849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:24:23] local.INFO: IMEI packet received {"connection_id":178849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":178849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:24:24] local.INFO: TCP Data received {"connection_id":178849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:24:24] local.INFO: Processing buffer {"connection_id":178849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:24:24] local.INFO: IMEI packet received {"connection_id":178849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":178849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:24:25] local.INFO: TCP Data received {"connection_id":178849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893c4e90012d7b450005e3a858000800232b..."} 
[2026-09-10 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893c4e90012d7b450005e3a858000800232b..."} 
[2026-09-10 08:24:25] local.INFO: Processing buffer {"connection_id":178849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893c4e90012d7b450005e3a858000800232b..."} 
[2026-09-10 08:24:25] local.INFO: Packet analysis {"connection_id":178849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:24:25] local.INFO: Extracted packet for processing {"connection_id":178849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763053312,"raw_latitude":98805848,"longitude_deg":76.3053312,"latitude_deg":9.8805848,"altitude":8,"angle":35,"satellites":43,"speed":35,"hex_longitude":"2d7b4500","hex_latitude":"05e3a858","is_valid_coordinates":true} 
[2026-09-10 08:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986257152001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130615474504335360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259583766528,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789008826000,"timestamp_ms":1789008826000,"timestamp_seconds":1789008826,"priority":1,"record_length":96,"hex_timestamp":"000001a0893c4e90"} 
[2026-09-10 08:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 08:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986257152001,"66":13363,"208":206,"85":15104,"24":35,"16":130615474504335360,"45":8876665259583766528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986257152001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:24:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130615474504335360,"km_value":130615474504335.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259583766528,"description":"Unknown IO ID 45"} 
[2026-09-10 08:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986257152001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8876665259583766528}} 
[2026-09-10 08:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":178849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:24:25] local.INFO: GPS data processed {"connection_id":178849,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:24:25] local.INFO: Acknowledgment sent {"connection_id":178849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:24:28] local.INFO: TCP Data received {"connection_id":178849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893c69e8012d7b530005e3baa8000800322c..."} 
[2026-09-10 08:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893c69e8012d7b530005e3baa8000800322c..."} 
[2026-09-10 08:24:28] local.INFO: Processing buffer {"connection_id":178849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893c69e8012d7b530005e3baa8000800322c..."} 
[2026-09-10 08:24:28] local.INFO: Packet analysis {"connection_id":178849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:24:28] local.INFO: Extracted packet for processing {"connection_id":178849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98810536,"longitude_deg":76.3056896,"latitude_deg":9.8810536,"altitude":8,"angle":50,"satellites":44,"speed":30,"hex_longitude":"2d7b5300","hex_latitude":"05e3baa8","is_valid_coordinates":true} 
[2026-09-10 08:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986259456001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130615757972176896,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882505865352468480,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789008833000,"timestamp_ms":1789008833000,"timestamp_seconds":1789008833,"priority":1,"record_length":96,"hex_timestamp":"000001a0893c69e8"} 
[2026-09-10 08:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 08:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986259456001,"66":13678,"208":206,"85":15104,"24":30,"16":130615757972176896,"45":8882505865352468480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986259456001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:24:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130615757972176896,"km_value":130615757972176.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882505865352468480,"description":"Unknown IO ID 45"} 
[2026-09-10 08:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986259456001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8882505865352468480}} 
[2026-09-10 08:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":178849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:24:28] local.INFO: GPS data processed {"connection_id":178849,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:24:28] local.INFO: Acknowledgment sent {"connection_id":178849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:24:36] local.INFO: TCP Data received {"connection_id":177476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:24:36] local.INFO: Processing buffer {"connection_id":177476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:24:36] local.INFO: IMEI packet received {"connection_id":177476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":177476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:24:41] local.INFO: TCP Data received {"connection_id":177476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:24:41] local.INFO: Processing buffer {"connection_id":177476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:24:41] local.INFO: IMEI packet received {"connection_id":177476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":177476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:24:42] local.INFO: TCP Data received {"connection_id":177476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:24:42] local.INFO: Processing buffer {"connection_id":177476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:24:42] local.INFO: Packet analysis {"connection_id":177476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:24:42] local.INFO: Extracted packet for processing {"connection_id":177476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:24: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-09-10 08:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":177476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:24:42] local.INFO: GPS data processed {"connection_id":177476,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:24:42] local.INFO: Acknowledgment sent {"connection_id":177476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:24:49] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:24:49] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:24:49] local.INFO: IMEI packet received {"connection_id":177477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":177477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:24:54] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.224.62.172","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:24:54] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:24:54] local.INFO: IMEI packet received {"connection_id":177477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":177477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:24:55] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000005e7b80100000000000000000000000000..."} 
[2026-09-10 08:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000005e7b80100000000000000000000000000..."} 
[2026-09-10 08:24:55] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000005e7b80100000000000000000000000000..."} 
[2026-09-10 08:24:55] local.INFO: Packet analysis {"connection_id":177477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:24:55] local.INFO: Extracted packet for processing {"connection_id":177477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:24:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:24:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387000,"timestamp_seconds":387,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:24:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:24:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":177477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:24:55] local.ERROR: GPS data processing failed {"connection_id":177477,"error":"No valid data to process"} 
[2026-09-10 08:24:55] local.INFO: Acknowledgment sent {"connection_id":177477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:24:59] local.INFO: TCP Data received {"connection_id":178849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893c7988012d7b5bc005e3c2d0000700252b..."} 
[2026-09-10 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893c7988012d7b5bc005e3c2d0000700252b..."} 
[2026-09-10 08:24:59] local.INFO: Processing buffer {"connection_id":178849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893c7988012d7b5bc005e3c2d0000700252b..."} 
[2026-09-10 08:24:59] local.INFO: Packet analysis {"connection_id":178849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:24:59] local.INFO: Extracted packet for processing {"connection_id":178849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763059136,"raw_latitude":98812624,"longitude_deg":76.3059136,"latitude_deg":9.8812624,"altitude":7,"angle":37,"satellites":43,"speed":31,"hex_longitude":"2d7b5bc0","hex_latitude":"05e3c2d0","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986261248001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130615908296032256,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446515027617792,"note":"Value kept but may cause issues"} 
[2026-09-10 08:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789008837000,"timestamp_ms":1789008837000,"timestamp_seconds":1789008837,"priority":1,"record_length":96,"hex_timestamp":"000001a0893c7988"} 
[2026-09-10 08:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:24: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-09-10 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 08:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986261248001,"66":13646,"208":206,"85":15104,"24":31,"16":130615908296032256,"45":8886446515027617792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986261248001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:24:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130615908296032256,"km_value":130615908296032.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446515027617792,"description":"Unknown IO ID 45"} 
[2026-09-10 08:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986261248001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8886446515027617792}} 
[2026-09-10 08:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":178849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:24:59] local.INFO: GPS data processed {"connection_id":178849,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:24:59] local.INFO: Acknowledgment sent {"connection_id":178849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:25:12] local.INFO: TCP Data received {"connection_id":177476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:25:12] local.INFO: Processing buffer {"connection_id":177476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:25:12] local.INFO: Packet analysis {"connection_id":177476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:25:12] local.INFO: Extracted packet for processing {"connection_id":177476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:25:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:25: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-09-10 08:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:25:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":177476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:25:12] local.INFO: GPS data processed {"connection_id":177476,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:25:12] local.INFO: Acknowledgment sent {"connection_id":177476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:25:15] local.INFO: TCP Data received {"connection_id":178850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:15] local.INFO: Processing buffer {"connection_id":178850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:15] local.INFO: IMEI packet received {"connection_id":178850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":178850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:25:17] local.INFO: TCP Data received {"connection_id":178850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:17] local.INFO: Processing buffer {"connection_id":178850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:17] local.INFO: IMEI packet received {"connection_id":178850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":178850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:25:22] local.INFO: TCP Data received {"connection_id":178850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:22] local.INFO: Processing buffer {"connection_id":178850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:25:22] local.INFO: IMEI packet received {"connection_id":178850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":178850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:25:23] local.INFO: TCP Data received {"connection_id":178850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ca098012d7b710005e3e2e0000800212c..."} 
[2026-09-10 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ca098012d7b710005e3e2e0000800212c..."} 
[2026-09-10 08:25:23] local.INFO: Processing buffer {"connection_id":178850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ca098012d7b710005e3e2e0000800212c..."} 
[2026-09-10 08:25:23] local.INFO: Packet analysis {"connection_id":178850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:25:23] local.INFO: Extracted packet for processing {"connection_id":178850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893c"} 
[2026-09-10 08:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763064576,"raw_latitude":98820832,"longitude_deg":76.3064576,"latitude_deg":9.8820832,"altitude":8,"angle":33,"satellites":44,"speed":43,"hex_longitude":"2d7b7100","hex_latitude":"05e3e2e0","is_valid_coordinates":true} 
[2026-09-10 08:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986262272001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130616385037402112,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421074370560,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789008847000,"timestamp_ms":1789008847000,"timestamp_seconds":1789008847,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ca098"} 
[2026-09-10 08:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:25: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-09-10 08:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 08:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986262272001,"66":13580,"208":206,"85":15104,"24":43,"16":130616385037402112,"45":8888909421074370560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 08:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986262272001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:25:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 08:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 08:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130616385037402112,"km_value":130616385037402.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421074370560,"description":"Unknown IO ID 45"} 
[2026-09-10 08:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986262272001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8888909421074370560}} 
[2026-09-10 08:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":178850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:25:23] local.INFO: GPS data processed {"connection_id":178850,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:25:23] local.INFO: Acknowledgment sent {"connection_id":178850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:25:27] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.224.62.172","data_length":795,"data_hex":"000000000000030f8e0a000000000005e7b80100000000000000000000000000..."} 
[2026-09-10 08:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000005e7b80100000000000000000000000000..."} 
[2026-09-10 08:25:27] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000005e7b80100000000000000000000000000..."} 
[2026-09-10 08:25:27] local.INFO: Packet analysis {"connection_id":177477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:25:27] local.INFO: Extracted packet for processing {"connection_id":177477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-09-10 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 08:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:25:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387000,"timestamp_seconds":387,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:25:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 08:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 08:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.172","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 08:25:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 08:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":177477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 08:25:27] local.ERROR: GPS data processing failed {"connection_id":177477,"error":"No valid data to process"} 
[2026-09-10 08:25:27] local.INFO: Acknowledgment sent {"connection_id":177477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 08:25:36] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:25:36] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:25:36] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:25:41] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:25:41] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:25:41] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:25:42] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:25:42] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:25:42] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:25:42] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:25: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-09-10 08:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:25:42] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:25:42] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:25:55] local.INFO: TCP Data received {"connection_id":178850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893df858012d7c3f8005e52318000400042a..."} 
[2026-09-10 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893df858012d7c3f8005e52318000400042a..."} 
[2026-09-10 08:25:55] local.INFO: Processing buffer {"connection_id":178850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893df858012d7c3f8005e52318000400042a..."} 
[2026-09-10 08:25:55] local.INFO: Packet analysis {"connection_id":178850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893d"} 
[2026-09-10 08:25:55] local.INFO: Extracted packet for processing {"connection_id":178850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893d"} 
[2026-09-10 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":98902808,"longitude_deg":76.311744,"latitude_deg":9.8902808,"altitude":4,"angle":4,"satellites":42,"speed":22,"hex_longitude":"2d7c3f80","hex_latitude":"05e52318","is_valid_coordinates":true} 
[2026-09-10 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986287104001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130621096616525824,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952944978298994688,"note":"Value kept but may cause issues"} 
[2026-09-10 08:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789008935000,"timestamp_ms":1789008935000,"timestamp_seconds":1789008935,"priority":1,"record_length":96,"hex_timestamp":"000001a0893df858"} 
[2026-09-10 08:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:25: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-09-10 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 08:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986287104001,"66":13624,"39":206,"87":13824,"24":22,"16":130621096616525824,"45":8952944978298994688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 08:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986287104001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:25:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 08:25:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130621096616525824,"km_value":130621096616525.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952944978298994688,"description":"Unknown IO ID 45"} 
[2026-09-10 08:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986287104001,"power":13624,"unknown_39":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8952944978298994688}} 
[2026-09-10 08:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":178850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:25:55] local.INFO: GPS data processed {"connection_id":178850,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:25:55] local.INFO: Acknowledgment sent {"connection_id":178850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:26:12] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:26:12] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:26:12] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:26:12] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:26:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:26:12] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:26:12] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:26:17] local.INFO: TCP Data received {"connection_id":178851,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:26:17] local.INFO: Processing buffer {"connection_id":178851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:26:17] local.INFO: IMEI packet received {"connection_id":178851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":178851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:26:21] local.INFO: TCP Data received {"connection_id":178851,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:26:21] local.INFO: Processing buffer {"connection_id":178851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:26:21] local.INFO: IMEI packet received {"connection_id":178851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":178851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:26:22] local.INFO: TCP Data received {"connection_id":178851,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893e0028012d7c3f4005e52760000401602a..."} 
[2026-09-10 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893e0028012d7c3f4005e52760000401602a..."} 
[2026-09-10 08:26:22] local.INFO: Processing buffer {"connection_id":178851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893e0028012d7c3f4005e52760000401602a..."} 
[2026-09-10 08:26:22] local.INFO: Packet analysis {"connection_id":178851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:26:22] local.INFO: Extracted packet for processing {"connection_id":178851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763117376,"raw_latitude":98903904,"longitude_deg":76.3117376,"latitude_deg":9.8903904,"altitude":4,"angle":352,"satellites":42,"speed":21,"hex_longitude":"2d7c3f40","hex_latitude":"05e52760","is_valid_coordinates":true} 
[2026-09-10 08:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986287360001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130621148156133376,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015347043309568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789008937000,"timestamp_ms":1789008937000,"timestamp_seconds":1789008937,"priority":1,"record_length":96,"hex_timestamp":"000001a0893e0028"} 
[2026-09-10 08:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:26: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-09-10 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 08:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986287360001,"66":13200,"39":206,"87":13824,"24":21,"16":130621148156133376,"45":8953015347043309568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 08:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986287360001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:26:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 08:26:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130621148156133376,"km_value":130621148156133.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015347043309568,"description":"Unknown IO ID 45"} 
[2026-09-10 08:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986287360001,"power":13200,"unknown_39":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8953015347043309568}} 
[2026-09-10 08:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":178851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:26:22] local.INFO: GPS data processed {"connection_id":178851,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:26:22] local.INFO: Acknowledgment sent {"connection_id":178851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:26:36] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:26:36] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:26:36] local.INFO: IMEI packet received {"connection_id":176072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":176072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:26:41] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:26:41] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:26:41] local.INFO: IMEI packet received {"connection_id":176072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":176072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:26:42] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:26:42] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893a0888012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:26:42] local.INFO: Packet analysis {"connection_id":176072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:26:42] local.INFO: Extracted packet for processing {"connection_id":176072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986144256001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008677000,"timestamp_ms":1789008677000,"timestamp_seconds":1789008677,"priority":1,"record_length":96,"hex_timestamp":"000001a0893a0888"} 
[2026-09-10 08:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986144256001,"66":25734,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986144256001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:26:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986144256001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":176072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:26:42] local.INFO: GPS data processed {"connection_id":176072,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:26:42] local.INFO: Acknowledgment sent {"connection_id":176072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:26:55] local.INFO: TCP Data received {"connection_id":178851,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893e32f0012d7c370005e54a380002015623..."} 
[2026-09-10 08:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893e32f0012d7c370005e54a380002015623..."} 
[2026-09-10 08:26:55] local.INFO: Processing buffer {"connection_id":178851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893e32f0012d7c370005e54a380002015623..."} 
[2026-09-10 08:26:55] local.INFO: Packet analysis {"connection_id":178851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:26:55] local.INFO: Extracted packet for processing {"connection_id":178851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763115264,"raw_latitude":98912824,"longitude_deg":76.3115264,"latitude_deg":9.8912824,"altitude":2,"angle":342,"satellites":35,"speed":32,"hex_longitude":"2d7c3700","hex_latitude":"05e54a38","is_valid_coordinates":true} 
[2026-09-10 08:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986287872001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130621594832732160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952944978299412480,"note":"Value kept but may cause issues"} 
[2026-09-10 08:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789008950000,"timestamp_ms":1789008950000,"timestamp_seconds":1789008950,"priority":1,"record_length":96,"hex_timestamp":"000001a0893e32f0"} 
[2026-09-10 08:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:26: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-09-10 08:26: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":144,"data_length":795,"current_offset":136} 
[2026-09-10 08:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986287872001,"66":13537,"39":206,"87":13824,"24":32,"16":130621594832732160,"45":8952944978299412480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 08:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986287872001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:26:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 08:26:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130621594832732160,"km_value":130621594832732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952944978299412480,"description":"Unknown IO ID 45"} 
[2026-09-10 08:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986287872001,"power":13537,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8952944978299412480}} 
[2026-09-10 08:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":178851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:26:55] local.INFO: GPS data processed {"connection_id":178851,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:26:55] local.INFO: Acknowledgment sent {"connection_id":178851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:27:04] local.INFO: TCP Data received {"connection_id":177478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:04] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:04] local.INFO: IMEI packet received {"connection_id":177478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":177478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:27:09] local.INFO: TCP Data received {"connection_id":177478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:09] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:09] local.INFO: IMEI packet received {"connection_id":177478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":177478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:27:10] local.INFO: TCP Data received {"connection_id":177478,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:27:10] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:27:10] local.INFO: Packet analysis {"connection_id":177478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:27:10] local.INFO: Extracted packet for processing {"connection_id":177478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:27:10] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":117616016,"longitude_deg":75.5771072,"latitude_deg":11.7616016,"altitude":29,"angle":99,"satellites":7,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"0702ad90","is_valid_coordinates":true} 
[2026-09-10 08:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789008716000,"timestamp_ms":1789008716000,"timestamp_seconds":1789008716,"priority":1,"record_length":96,"hex_timestamp":"000001a0893aa0e0"} 
[2026-09-10 08:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:27: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 08:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:27:10] 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-09-10 08:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13135,"21":206,"28":32256,"24":0,"16":31040566166814720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16]} 
[2026-09-10 08:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 08:27:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 08:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 08:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040566166814720,"km_value":31040566166814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:27:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13135,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null}} 
[2026-09-10 08:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":177478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:27:10] local.INFO: GPS data processed {"connection_id":177478,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:27:10] local.INFO: Acknowledgment sent {"connection_id":177478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:27:12] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:27:12] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:27:12] local.INFO: Packet analysis {"connection_id":176072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:27:12] local.INFO: Extracted packet for processing {"connection_id":176072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08: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-09-10 08:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:27:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":176072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:27:12] local.INFO: GPS data processed {"connection_id":176072,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:27:12] local.INFO: Acknowledgment sent {"connection_id":176072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:27:18] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:27:18] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:27:18] local.INFO: IMEI packet received {"connection_id":177479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":177479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:27:22] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:27:22] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:27:22] local.INFO: IMEI packet received {"connection_id":177479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":177479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:27:23] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893e4678012d7c318005e558500001014a25..."} 
[2026-09-10 08:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893e4678012d7c318005e558500001014a25..."} 
[2026-09-10 08:27:23] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893e4678012d7c318005e558500001014a25..."} 
[2026-09-10 08:27:23] local.INFO: Packet analysis {"connection_id":177479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:27:23] local.INFO: Extracted packet for processing {"connection_id":177479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98916432,"longitude_deg":76.3113856,"latitude_deg":9.8916432,"altitude":1,"angle":330,"satellites":37,"speed":27,"hex_longitude":"2d7c3180","hex_latitude":"05e55850","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986291200001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130621779516325888,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950622809743833088,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27: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-09-10 08:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789008955000,"timestamp_ms":1789008955000,"timestamp_seconds":1789008955,"priority":1,"record_length":96,"hex_timestamp":"000001a0893e4678"} 
[2026-09-10 08:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:27: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-09-10 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 08:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986291200001,"66":13472,"39":206,"87":13824,"24":27,"16":130621779516325888,"45":8950622809743833088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 08:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986291200001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:27:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 08:27:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130621779516325888,"km_value":130621779516325.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950622809743833088,"description":"Unknown IO ID 45"} 
[2026-09-10 08:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986291200001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8950622809743833088}} 
[2026-09-10 08:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":177479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:27:23] local.INFO: GPS data processed {"connection_id":177479,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:27:23] local.INFO: Acknowledgment sent {"connection_id":177479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:27:36] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:27:36] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:27:36] local.INFO: IMEI packet received {"connection_id":176073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":176073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:27:41] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:27:41] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:27:41] local.INFO: IMEI packet received {"connection_id":176073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":176073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:27:42] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:27:42] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:27:42] local.INFO: Packet analysis {"connection_id":176073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:27:42] local.INFO: Extracted packet for processing {"connection_id":176073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:27: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-09-10 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":176073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:27:42] local.INFO: GPS data processed {"connection_id":176073,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:27:42] local.INFO: Acknowledgment sent {"connection_id":176073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:27:49] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:49] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:49] local.INFO: IMEI packet received {"connection_id":176321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":176321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:27:54] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:54] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:27:54] local.INFO: IMEI packet received {"connection_id":176321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":176321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:27:54] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893fd100012d7ba60005e66d400004015026..."} 
[2026-09-10 08:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893fd100012d7ba60005e66d400004015026..."} 
[2026-09-10 08:27:54] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893fd100012d7ba60005e66d400004015026..."} 
[2026-09-10 08:27:54] local.INFO: Packet analysis {"connection_id":177479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893f"} 
[2026-09-10 08:27:54] local.INFO: Extracted packet for processing {"connection_id":177479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893f"} 
[2026-09-10 08:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":98987328,"longitude_deg":76.3078144,"latitude_deg":9.8987328,"altitude":4,"angle":336,"satellites":38,"speed":36,"hex_longitude":"2d7ba600","hex_latitude":"05e66d40","is_valid_coordinates":true} 
[2026-09-10 08:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986316800001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130625692231532544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912694056650090496,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789009056000,"timestamp_ms":1789009056000,"timestamp_seconds":1789009056,"priority":1,"record_length":96,"hex_timestamp":"000001a0893fd100"} 
[2026-09-10 08:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:27: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-09-10 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-10 08:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986316800001,"66":13602,"95":206,"87":13824,"24":36,"16":130625692231532544,"45":8912694056650090496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 08:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986316800001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:27:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 08:27:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130625692231532544,"km_value":130625692231532.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912694056650090496,"description":"Unknown IO ID 45"} 
[2026-09-10 08:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986316800001,"power":13602,"unknown_95":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8912694056650090496}} 
[2026-09-10 08:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":177479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:27:55] local.INFO: GPS data processed {"connection_id":177479,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:27:55] local.INFO: Acknowledgment sent {"connection_id":177479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:27:55] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:27:55] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:27:55] local.INFO: Packet analysis {"connection_id":176321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:27:55] local.INFO: Extracted packet for processing {"connection_id":176321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:27:55] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":117616016,"longitude_deg":75.5771072,"latitude_deg":11.7616016,"altitude":29,"angle":99,"satellites":7,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"0702ad90","is_valid_coordinates":true} 
[2026-09-10 08:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:27:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789008716000,"timestamp_ms":1789008716000,"timestamp_seconds":1789008716,"priority":1,"record_length":96,"hex_timestamp":"000001a0893aa0e0"} 
[2026-09-10 08:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:27: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 08:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:27: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-09-10 08:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13135,"21":206,"28":32256,"24":0,"16":31040566166814720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16]} 
[2026-09-10 08:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 08:27:55] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 08:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 08:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040566166814720,"km_value":31040566166814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:27:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13135,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null}} 
[2026-09-10 08:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":176321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:27:55] local.INFO: GPS data processed {"connection_id":176321,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:27:55] local.INFO: Acknowledgment sent {"connection_id":176321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:28:12] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:28:12] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:28:12] local.INFO: Packet analysis {"connection_id":176073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:28:12] local.INFO: Extracted packet for processing {"connection_id":176073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:28:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:28: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-09-10 08:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08: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-09-10 08:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:28:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":176073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:28:12] local.INFO: GPS data processed {"connection_id":176073,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:28:12] local.INFO: Acknowledgment sent {"connection_id":176073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:28:17] local.INFO: TCP Data received {"connection_id":178852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:17] local.INFO: Processing buffer {"connection_id":178852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:17] local.INFO: IMEI packet received {"connection_id":178852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":178852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:28:19] local.INFO: TCP Data received {"connection_id":178852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:19] local.INFO: Processing buffer {"connection_id":178852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:19] local.INFO: IMEI packet received {"connection_id":178852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":178852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:28:23] local.INFO: TCP Data received {"connection_id":178852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:23] local.INFO: Processing buffer {"connection_id":178852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:28:23] local.INFO: IMEI packet received {"connection_id":178852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":178852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:28:23] local.INFO: TCP Data received {"connection_id":178852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0893fd8d0012d7ba40005e674d00005015b27..."} 
[2026-09-10 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893fd8d0012d7ba40005e674d00005015b27..."} 
[2026-09-10 08:28:23] local.INFO: Processing buffer {"connection_id":178852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893fd8d0012d7ba40005e674d00005015b27..."} 
[2026-09-10 08:28:23] local.INFO: Packet analysis {"connection_id":178852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893f"} 
[2026-09-10 08:28:23] local.INFO: Extracted packet for processing {"connection_id":178852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893f"} 
[2026-09-10 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763077632,"raw_latitude":98989264,"longitude_deg":76.3077632,"latitude_deg":9.8989264,"altitude":5,"angle":347,"satellites":39,"speed":41,"hex_longitude":"2d7ba400","hex_latitude":"05e674d0","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986318336001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130625791015780352,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909808938139860992,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789009058000,"timestamp_ms":1789009058000,"timestamp_seconds":1789009058,"priority":1,"record_length":96,"hex_timestamp":"000001a0893fd8d0"} 
[2026-09-10 08:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:28: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-09-10 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 08:28: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-09-10 08: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-09-10 08:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986318336001,"66":13319,"95":206,"87":13824,"24":41,"16":130625791015780352,"45":8909808938139860992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 08:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986318336001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:28:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 08:28:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130625791015780352,"km_value":130625791015780.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909808938139860992,"description":"Unknown IO ID 45"} 
[2026-09-10 08:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986318336001,"power":13319,"unknown_95":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8909808938139860992}} 
[2026-09-10 08:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":178852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:28:23] local.INFO: GPS data processed {"connection_id":178852,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:28:23] local.INFO: Acknowledgment sent {"connection_id":178852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:28:26] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:28:26] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893aa0e0012d0c26c00702ad90001d006307..."} 
[2026-09-10 08:28:26] local.INFO: Packet analysis {"connection_id":176321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:28:26] local.INFO: Extracted packet for processing {"connection_id":176321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893a"} 
[2026-09-10 08:28:26] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":117616016,"longitude_deg":75.5771072,"latitude_deg":11.7616016,"altitude":29,"angle":99,"satellites":7,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"0702ad90","is_valid_coordinates":true} 
[2026-09-10 08:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 08:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789008716000,"timestamp_ms":1789008716000,"timestamp_seconds":1789008716,"priority":1,"record_length":96,"hex_timestamp":"000001a0893aa0e0"} 
[2026-09-10 08:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:28:26] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 08:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:28:26] 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-09-10 08:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13135,"21":206,"28":32256,"24":0,"16":31040566166814720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16]} 
[2026-09-10 08:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 08:28:26] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 08:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 08:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040566166814720,"km_value":31040566166814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:28:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13135,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null}} 
[2026-09-10 08:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":176321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:28:27] local.INFO: GPS data processed {"connection_id":176321,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:28:27] local.INFO: Acknowledgment sent {"connection_id":176321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:28:28] local.INFO: TCP Data received {"connection_id":178852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894003c8012d7b9c4005e696900003015f29..."} 
[2026-09-10 08:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894003c8012d7b9c4005e696900003015f29..."} 
[2026-09-10 08:28:28] local.INFO: Processing buffer {"connection_id":178852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894003c8012d7b9c4005e696900003015f29..."} 
[2026-09-10 08:28:28] local.INFO: Packet analysis {"connection_id":178852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:28:28] local.INFO: Extracted packet for processing {"connection_id":178852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763075648,"raw_latitude":98997904,"longitude_deg":76.3075648,"latitude_deg":9.8997904,"altitude":3,"angle":351,"satellites":41,"speed":18,"hex_longitude":"2d7b9c40","hex_latitude":"05e69690","is_valid_coordinates":true} 
[2026-09-10 08:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986318848001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130626220512509952,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909245988186935296,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789009069000,"timestamp_ms":1789009069000,"timestamp_seconds":1789009069,"priority":1,"record_length":96,"hex_timestamp":"000001a0894003c8"} 
[2026-09-10 08:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2302605864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":78,"raw_value":57799290471208758,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478885582,"corrected_to":0} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3857893376,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070424,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":62,"raw_value":-984035223716970491,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-1393864071765350400,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,95,87,24,241,157,16,19,160,209,45,109,4,38,10,66,185,64,93,36,119,1,240,78,227,18,137,230,113,205,5,217,208,40,239,51,2,3,62,229],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1478885582,"validated":0}]} 
[2026-09-10 08:28:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360669668230889472,"timestamp_seconds":360669668230889.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986318848001,"66":13765,"95":206,"87":13824,"24":18,"16":130626220512509952,"45":8909245988186935296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 08:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986318848001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:28:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 08:28:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130626220512509952,"km_value":130626220512509.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909245988186935296,"description":"Unknown IO ID 45"} 
[2026-09-10 08:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986318848001,"power":13765,"unknown_95":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8909245988186935296}} 
[2026-09-10 08:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":178852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:28:28] local.INFO: GPS data processed {"connection_id":178852,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:28:28] local.INFO: Acknowledgment sent {"connection_id":178852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:28:36] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:28:36] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:28:36] local.INFO: IMEI packet received {"connection_id":176074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":176074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:28:41] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:28:41] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:28:41] local.INFO: IMEI packet received {"connection_id":176074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":176074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:28:42] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:28:42] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:28:42] local.INFO: Packet analysis {"connection_id":176074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:28:42] local.INFO: Extracted packet for processing {"connection_id":176074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:28:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":176074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:28:42] local.INFO: GPS data processed {"connection_id":176074,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:28:42] local.INFO: Acknowledgment sent {"connection_id":176074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:28:54] local.INFO: TCP Data received {"connection_id":178853,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:28:54] local.INFO: Processing buffer {"connection_id":178853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:28:54] local.INFO: IMEI packet received {"connection_id":178853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":178853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:28:55] local.INFO: TCP Data received {"connection_id":178853,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178853,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 08:28:55] local.INFO: Processing buffer {"connection_id":178853,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 08:28:55] local.INFO: IMEI packet received {"connection_id":178853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":178853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:28:55] local.INFO: TCP Data received {"connection_id":178853,"ip":"42.106.6.43","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a089..."} 
[2026-09-10 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178853,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a089..."} 
[2026-09-10 08:28:55] local.INFO: Processing buffer {"connection_id":178853,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 08:28:55] local.INFO: IMEI packet received {"connection_id":178853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":178853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:28:59] local.INFO: TCP Data received {"connection_id":178853,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08940fdc8012d0c27400702ad78001300631e..."} 
[2026-09-10 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08940fdc8012d0c27400702ad78001300631e..."} 
[2026-09-10 08:28:59] local.INFO: Processing buffer {"connection_id":178853,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a089..."} 
[2026-09-10 08:28:59] local.INFO: IMEI packet received {"connection_id":178853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":178853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:29:00] local.INFO: TCP Data received {"connection_id":178852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089403e60012d7b94c005e6ba380004016728..."} 
[2026-09-10 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089403e60012d7b94c005e6ba380004016728..."} 
[2026-09-10 08:29:00] local.INFO: Processing buffer {"connection_id":178852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089403e60012d7b94c005e6ba380004016728..."} 
[2026-09-10 08:29:00] local.INFO: Packet analysis {"connection_id":178852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:00] local.INFO: Extracted packet for processing {"connection_id":178852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763073728,"raw_latitude":99007032,"longitude_deg":76.3073728,"latitude_deg":9.9007032,"altitude":4,"angle":359,"satellites":40,"speed":31,"hex_longitude":"2d7b94c0","hex_latitude":"05e6ba38","is_valid_coordinates":true} 
[2026-09-10 08:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986321664001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130626671484076032,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907064557119639552,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789009084000,"timestamp_ms":1789009084000,"timestamp_seconds":1789009084,"priority":1,"record_length":96,"hex_timestamp":"000001a089403e60"} 
[2026-09-10 08:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986321664001,"66":13917,"95":206,"87":13824,"24":31,"16":130626671484076032,"45":8907064557119639552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 08:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986321664001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 08:29:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130626671484076032,"km_value":130626671484076.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907064557119639552,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986321664001,"power":13917,"unknown_95":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8907064557119639552}} 
[2026-09-10 08:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":178852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:00] local.INFO: GPS data processed {"connection_id":178852,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:00] local.INFO: Acknowledgment sent {"connection_id":178852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:04] local.INFO: TCP Data received {"connection_id":178853,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0894101b0012d0c27800702adf8001300201e..."} 
[2026-09-10 08:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894101b0012d0c27800702adf8001300201e..."} 
[2026-09-10 08:29:04] local.INFO: Processing buffer {"connection_id":178853,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a08940f9e0012d0c27400702ad78001300631e..."} 
[2026-09-10 08:29:04] local.INFO: Packet analysis {"connection_id":178853,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:04] local.INFO: Extracted packet for processing {"connection_id":178853,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:04] local.INFO: GPS Element Parsed {"raw_longitude":755771200,"raw_latitude":117615992,"longitude_deg":75.57712,"latitude_deg":11.7615992,"altitude":19,"angle":99,"satellites":30,"speed":0,"hex_longitude":"2d0c2740","hex_latitude":"0702ad78","is_valid_coordinates":true} 
[2026-09-10 08:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986231296001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598313912373248,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789009132000,"timestamp_ms":1789009132000,"timestamp_seconds":1789009132,"priority":1,"record_length":96,"hex_timestamp":"000001a08940f9e0"} 
[2026-09-10 08:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:04] 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-09-10 08:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986231296001,"66":12645,"37":206,"94":11008,"24":0,"16":31040566166814720,"45":875598313912373248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986231296001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:29:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040566166814720,"km_value":31040566166814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598313912373248,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986231296001,"power":12645,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875598313912373248}} 
[2026-09-10 08:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":178853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:05] local.INFO: GPS data processed {"connection_id":178853,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:05] local.INFO: Acknowledgment sent {"connection_id":178853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:05] local.INFO: Packet analysis {"connection_id":178853,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:05] local.INFO: Extracted packet for processing {"connection_id":178853,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":755771200,"raw_latitude":117615992,"longitude_deg":75.57712,"latitude_deg":11.7615992,"altitude":19,"angle":99,"satellites":30,"speed":0,"hex_longitude":"2d0c2740","hex_latitude":"0702ad78","is_valid_coordinates":true} 
[2026-09-10 08:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986337792001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875739051400722432,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789009133000,"timestamp_ms":1789009133000,"timestamp_seconds":1789009133,"priority":1,"record_length":96,"hex_timestamp":"000001a08940fdc8"} 
[2026-09-10 08:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:05] 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-09-10 08:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986337792001,"66":12591,"37":206,"94":11008,"24":0,"16":31040566166814720,"45":875739051400722432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986337792001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040566166814720,"km_value":31040566166814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":875739051400722432,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986337792001,"power":12591,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875739051400722432}} 
[2026-09-10 08:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":178853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:05] local.INFO: GPS data processed {"connection_id":178853,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:05] local.INFO: Acknowledgment sent {"connection_id":178853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:05] local.INFO: Packet analysis {"connection_id":178853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:05] local.INFO: Extracted packet for processing {"connection_id":178853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":755771264,"raw_latitude":117616120,"longitude_deg":75.5771264,"latitude_deg":11.761612,"altitude":19,"angle":32,"satellites":30,"speed":0,"hex_longitude":"2d0c2780","hex_latitude":"0702adf8","is_valid_coordinates":true} 
[2026-09-10 08:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986338048001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040566166814720,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875739051400722432,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789009134000,"timestamp_ms":1789009134000,"timestamp_seconds":1789009134,"priority":1,"record_length":96,"hex_timestamp":"000001a0894101b0"} 
[2026-09-10 08:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 08:29: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-09-10 08:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:05] 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-09-10 08:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986338048001,"66":12591,"37":206,"94":11008,"24":0,"16":31040566166814720,"45":875739051400722432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986338048001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040566166814720,"km_value":31040566166814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":875739051400722432,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986338048001,"power":12591,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875739051400722432}} 
[2026-09-10 08:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":178853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:05] local.INFO: GPS data processed {"connection_id":178853,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:05] local.INFO: Acknowledgment sent {"connection_id":178853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:06] local.INFO: TCP Data received {"connection_id":178853,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089412ca8012d0c28000702adf0001300661e..."} 
[2026-09-10 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089412ca8012d0c28000702adf0001300661e..."} 
[2026-09-10 08:29:06] local.INFO: Processing buffer {"connection_id":178853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089412ca8012d0c28000702adf0001300661e..."} 
[2026-09-10 08:29:06] local.INFO: Packet analysis {"connection_id":178853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:06] local.INFO: Extracted packet for processing {"connection_id":178853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":755771392,"raw_latitude":117616112,"longitude_deg":75.5771392,"latitude_deg":11.7616112,"altitude":19,"angle":102,"satellites":30,"speed":3,"hex_longitude":"2d0c2800","hex_latitude":"0702adf0","is_valid_coordinates":true} 
[2026-09-10 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986338304001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040574756749312,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875809420144932864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789009145000,"timestamp_ms":1789009145000,"timestamp_seconds":1789009145,"priority":1,"record_length":96,"hex_timestamp":"000001a089412ca8"} 
[2026-09-10 08:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 08:29: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-09-10 08:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:06] 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-09-10 08:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986338304001,"66":14352,"37":206,"94":11008,"24":3,"16":31040574756749312,"45":875809420144932864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986338304001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:29:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040574756749312,"km_value":31040574756749.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":875809420144932864,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986338304001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":875809420144932864}} 
[2026-09-10 08:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":178853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:06] local.INFO: GPS data processed {"connection_id":178853,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:06] local.INFO: Acknowledgment sent {"connection_id":178853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:12] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:29:12] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:29:12] local.INFO: Packet analysis {"connection_id":176074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:29:12] local.INFO: Extracted packet for processing {"connection_id":176074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29: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-09-10 08: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":176074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:13] local.INFO: GPS data processed {"connection_id":176074,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:13] local.INFO: Acknowledgment sent {"connection_id":176074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:17] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:17] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:17] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:29:22] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:22] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:22] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:29:22] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:22] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:29:22] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:29:23] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089404630012d7b95c005e6c0e80004000a29..."} 
[2026-09-10 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089404630012d7b95c005e6c0e80004000a29..."} 
[2026-09-10 08:29:23] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089404630012d7b95c005e6c0e80004000a29..."} 
[2026-09-10 08:29:23] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:23] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99008744,"longitude_deg":76.3073984,"latitude_deg":9.9008744,"altitude":4,"angle":10,"satellites":41,"speed":35,"hex_longitude":"2d7b95c0","hex_latitude":"05e6c0e8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986325504001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130626757383421952,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904953494796646400,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789009086000,"timestamp_ms":1789009086000,"timestamp_seconds":1789009086,"priority":1,"record_length":96,"hex_timestamp":"000001a089404630"} 
[2026-09-10 08:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29: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-09-10 08: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986325504001,"66":12515,"95":206,"87":13824,"24":35,"16":130626757383421952,"45":8904953494796646400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 08:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986325504001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 08:29:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130626757383421952,"km_value":130626757383421.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904953494796646400,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986325504001,"power":12515,"unknown_95":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8904953494796646400}} 
[2026-09-10 08:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:23] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:23] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:24] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089406188012d7b984005e6d7380005016329..."} 
[2026-09-10 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089406188012d7b984005e6d7380005016329..."} 
[2026-09-10 08:29:24] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089406188012d7b984005e6d7380005016329..."} 
[2026-09-10 08:29:24] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:24] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08940"} 
[2026-09-10 08:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99014456,"longitude_deg":76.3074624,"latitude_deg":9.9014456,"altitude":5,"angle":355,"satellites":41,"speed":31,"hex_longitude":"2d7b9840","hex_latitude":"05e6d738","is_valid_coordinates":true} 
[2026-09-10 08:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986326016001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130627036556296192,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969773795328,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009093000,"timestamp_ms":1789009093000,"timestamp_seconds":1789009093,"priority":1,"record_length":96,"hex_timestamp":"000001a089406188"} 
[2026-09-10 08:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986326016001,"66":13602,"95":206,"87":13824,"24":31,"16":130627036556296192,"45":8905234969773795328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 08:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986326016001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 08:29:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130627036556296192,"km_value":130627036556296.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969773795328,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986326016001,"power":13602,"unknown_95":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8905234969773795328}} 
[2026-09-10 08:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:24] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:24] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:36] local.INFO: TCP Data received {"connection_id":177480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:29:36] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:29:36] local.INFO: IMEI packet received {"connection_id":177480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":177480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:29:41] local.INFO: TCP Data received {"connection_id":177480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:29:41] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:29:41] local.INFO: IMEI packet received {"connection_id":177480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":177480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:29:42] local.INFO: TCP Data received {"connection_id":177480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:29:42] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:29:42] local.INFO: Packet analysis {"connection_id":177480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:29:42] local.INFO: Extracted packet for processing {"connection_id":177480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29: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-09-10 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":177480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:42] local.INFO: GPS data processed {"connection_id":177480,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:42] local.INFO: Acknowledgment sent {"connection_id":177480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:49] local.INFO: TCP Data received {"connection_id":177481,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:29:49] local.INFO: Processing buffer {"connection_id":177481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:29:49] local.INFO: IMEI packet received {"connection_id":177481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":177481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:29:54] local.INFO: TCP Data received {"connection_id":177481,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:29:54] local.INFO: Processing buffer {"connection_id":177481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:29:54] local.INFO: IMEI packet received {"connection_id":177481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":177481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:29:54] local.INFO: TCP Data received {"connection_id":177481,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089419df0012d0c26800702b170001401591e..."} 
[2026-09-10 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089419df0012d0c26800702b170001401591e..."} 
[2026-09-10 08:29:54] local.INFO: Processing buffer {"connection_id":177481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089419df0012d0c26800702b170001401591e..."} 
[2026-09-10 08:29:54] local.INFO: Packet analysis {"connection_id":177481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:54] local.INFO: Extracted packet for processing {"connection_id":177481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:54] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":117617008,"longitude_deg":75.5771008,"latitude_deg":11.7617008,"altitude":20,"angle":345,"satellites":30,"speed":1,"hex_longitude":"2d0c2680","hex_latitude":"0702b170","is_valid_coordinates":true} 
[2026-09-10 08:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986344960001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040669246029824,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377654272,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789009174000,"timestamp_ms":1789009174000,"timestamp_seconds":1789009174,"priority":1,"record_length":96,"hex_timestamp":"000001a089419df0"} 
[2026-09-10 08:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:29:54] 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-09-10 08:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986344960001,"66":14374,"37":206,"94":11008,"24":1,"16":31040669246029824,"45":876020526377654272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986344960001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:29:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040669246029824,"km_value":31040669246029.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377654272,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986344960001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":876020526377654272}} 
[2026-09-10 08:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":177481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792729,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:54] local.INFO: GPS data processed {"connection_id":177481,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:54] local.INFO: Acknowledgment sent {"connection_id":177481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:29:55] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089418298012d7b754005e73f280005016627..."} 
[2026-09-10 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089418298012d7b754005e73f280005016627..."} 
[2026-09-10 08:29:55] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089418298012d7b754005e73f280005016627..."} 
[2026-09-10 08:29:55] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:55] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":99041064,"longitude_deg":76.3065664,"latitude_deg":9.9041064,"altitude":5,"angle":358,"satellites":39,"speed":24,"hex_longitude":"2d7b7540","hex_latitude":"05e73f28","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986345728001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130628419535765504,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508015187968,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009167000,"timestamp_ms":1789009167000,"timestamp_seconds":1789009167,"priority":1,"record_length":96,"hex_timestamp":"000001a089418298"} 
[2026-09-10 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-09-10 08:29: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-09-10 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632405,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2302721864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271712779284905,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024909,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5415015713628749834,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435108192,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3221612312,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8863077576692203514,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-09-10 08:29:55] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,87,24,241,157,16,21,160,107,45,192,53,5,38,10,66,99,52,29,64,1,240,254,227,137,231,4,113,205,30,199,126,224,239,2,208,26,123,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-09-10 08:29:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360668568717426688,"timestamp_seconds":360668568717426.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 08:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986345728001,"66":13428,"96":206,"87":13824,"24":24,"16":130628419535765504,"45":8896368508015187968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 08:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986345728001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:29:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 08:29:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130628419535765504,"km_value":130628419535765.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508015187968,"description":"Unknown IO ID 45"} 
[2026-09-10 08:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986345728001,"power":13428,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8896368508015187968}} 
[2026-09-10 08:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:29:55] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:29:55] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:30:13] local.INFO: TCP Data received {"connection_id":177480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:30:13] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:30:13] local.INFO: Packet analysis {"connection_id":177480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:30:13] local.INFO: Extracted packet for processing {"connection_id":177480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:30: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-09-10 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:30:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":177480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:30:13] local.INFO: GPS data processed {"connection_id":177480,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:30:13] local.INFO: Acknowledgment sent {"connection_id":177480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:30:22] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:30:22] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:30:22] local.INFO: IMEI packet received {"connection_id":176075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":176075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:30:25] local.INFO: TCP Data received {"connection_id":177481,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08941a9a8012d0c26000702b2d8001401441e..."} 
[2026-09-10 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08941a9a8012d0c26000702b2d8001401441e..."} 
[2026-09-10 08:30:25] local.INFO: Processing buffer {"connection_id":177481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08941a9a8012d0c26000702b2d8001401441e..."} 
[2026-09-10 08:30:25] local.INFO: Packet analysis {"connection_id":177481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:25] local.INFO: Extracted packet for processing {"connection_id":177481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":755770880,"raw_latitude":117617368,"longitude_deg":75.577088,"latitude_deg":11.7617368,"altitude":20,"angle":324,"satellites":30,"speed":9,"hex_longitude":"2d0c2600","hex_latitude":"0702b2d8","is_valid_coordinates":true} 
[2026-09-10 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986348544001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040690720866304,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945168449536,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30: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-09-10 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789009177000,"timestamp_ms":1789009177000,"timestamp_seconds":1789009177,"priority":1,"record_length":96,"hex_timestamp":"000001a08941a9a8"} 
[2026-09-10 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 08:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:30: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-09-10 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986348544001,"66":14396,"37":206,"94":11008,"24":9,"16":31040690720866304,"45":875527945168449536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986348544001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040690720866304,"km_value":31040690720866.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945168449536,"description":"Unknown IO ID 45"} 
[2026-09-10 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986348544001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":875527945168449536}} 
[2026-09-10 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":177481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:30:25] local.INFO: GPS data processed {"connection_id":177481,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:30:25] local.INFO: Acknowledgment sent {"connection_id":177481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:30:28] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:30:28] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:30:28] local.INFO: IMEI packet received {"connection_id":176075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":176075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:30:29] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08941a5c0012d7b728005e75a380007015928..."} 
[2026-09-10 08:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08941a5c0012d7b728005e75a380007015928..."} 
[2026-09-10 08:30:29] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08941a5c0012d7b728005e75a380007015928..."} 
[2026-09-10 08:30:29] local.INFO: Packet analysis {"connection_id":176075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:29] local.INFO: Extracted packet for processing {"connection_id":176075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763064960,"raw_latitude":99047992,"longitude_deg":76.306496,"latitude_deg":9.9047992,"altitude":7,"angle":345,"satellites":40,"speed":34,"hex_longitude":"2d7b7280","hex_latitude":"05e75a38","is_valid_coordinates":true} 
[2026-09-10 08:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986346752001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130628758838181888,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087033038972928,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789009176000,"timestamp_ms":1789009176000,"timestamp_seconds":1789009176,"priority":1,"record_length":96,"hex_timestamp":"000001a08941a5c0"} 
[2026-09-10 08:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:30: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-09-10 08:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-10 08:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986346752001,"66":13319,"96":206,"87":13824,"24":34,"16":130628758838181888,"45":8896087033038972928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 08:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986346752001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:30:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 08:30:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130628758838181888,"km_value":130628758838181.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087033038972928,"description":"Unknown IO ID 45"} 
[2026-09-10 08:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986346752001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8896087033038972928}} 
[2026-09-10 08:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":176075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:30:29] local.INFO: GPS data processed {"connection_id":176075,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:30:29] local.INFO: Acknowledgment sent {"connection_id":176075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:30:36] local.INFO: TCP Data received {"connection_id":178854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:30:36] local.INFO: Processing buffer {"connection_id":178854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:30:36] local.INFO: IMEI packet received {"connection_id":178854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":178854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:30:36] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08941e828012d7b6e4005e76eb8000601662a..."} 
[2026-09-10 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08941e828012d7b6e4005e76eb8000601662a..."} 
[2026-09-10 08:30:36] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08941e828012d7b6e4005e76eb8000601662a..."} 
[2026-09-10 08:30:36] local.INFO: Packet analysis {"connection_id":176075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:36] local.INFO: Extracted packet for processing {"connection_id":176075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763063872,"raw_latitude":99053240,"longitude_deg":76.3063872,"latitude_deg":9.905324,"altitude":6,"angle":358,"satellites":42,"speed":21,"hex_longitude":"2d7b6e40","hex_latitude":"05e76eb8","is_valid_coordinates":true} 
[2026-09-10 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986349056001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130629020831186944,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895312976854792192,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30: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-09-10 08:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789009193000,"timestamp_ms":1789009193000,"timestamp_seconds":1789009193,"priority":1,"record_length":96,"hex_timestamp":"000001a08941e828"} 
[2026-09-10 08:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08: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-09-10 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2302725864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":64,"raw_value":-4100526165863776251,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3877539840,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":1792432673189996032,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465421,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.WARNING: Large IO value detected {"io_id":197,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,87,24,241,157,16,22,160,130,45,64,63,5,39,10,66,21,114,55,107,192,1,240,78,227,137,231,4,113,205,2,29,118,40,34,239,49,208,30,197],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-09-10 08:30:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504782661577998336,"timestamp_seconds":504782661577998.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986349056001,"66":13928,"96":206,"87":13824,"24":21,"16":130629020831186944,"45":8895312976854792192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 08:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986349056001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:30:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 08:30:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130629020831186944,"km_value":130629020831186.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895312976854792192,"description":"Unknown IO ID 45"} 
[2026-09-10 08:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986349056001,"power":13928,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8895312976854792192}} 
[2026-09-10 08:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":176075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:30:36] local.INFO: GPS data processed {"connection_id":176075,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:30:36] local.INFO: Acknowledgment sent {"connection_id":176075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:30:41] local.INFO: TCP Data received {"connection_id":178854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:30:41] local.INFO: Processing buffer {"connection_id":178854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:30:41] local.INFO: IMEI packet received {"connection_id":178854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":178854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:30:42] local.INFO: TCP Data received {"connection_id":178854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:30:42] local.INFO: Processing buffer {"connection_id":178854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:30:42] local.INFO: Packet analysis {"connection_id":178854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:30:42] local.INFO: Extracted packet for processing {"connection_id":178854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:30: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-09-10 08:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:30:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":178854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:30:42] local.INFO: GPS data processed {"connection_id":178854,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:30:42] local.INFO: Acknowledgment sent {"connection_id":178854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:30:49] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:30:49] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:30:49] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:30:52] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:30:52] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:30:52] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:30:53] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08941b948012d0c22c00702b7e0001401511e..."} 
[2026-09-10 08:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08941b948012d0c22c00702b7e0001401511e..."} 
[2026-09-10 08:30:53] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08941b948012d0c22c00702b7e0001401511e..."} 
[2026-09-10 08:30:53] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:53] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:30:53] local.INFO: GPS Element Parsed {"raw_longitude":755770048,"raw_latitude":117618656,"longitude_deg":75.5770048,"latitude_deg":11.7618656,"altitude":20,"angle":337,"satellites":30,"speed":22,"hex_longitude":"2d0c22c0","hex_latitude":"0702b7e0","is_valid_coordinates":true} 
[2026-09-10 08:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986349312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31040763735310336,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875387207680186368,"note":"Value kept but may cause issues"} 
[2026-09-10 08:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789009181000,"timestamp_ms":1789009181000,"timestamp_seconds":1789009181,"priority":1,"record_length":96,"hex_timestamp":"000001a08941b948"} 
[2026-09-10 08:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 08:30: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-09-10 08:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:30:53] 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-09-10 08:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986349312001,"66":14374,"37":206,"94":11008,"24":22,"16":31040763735310336,"45":875387207680186368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986349312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:30:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:30:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31040763735310336,"km_value":31040763735310.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":875387207680186368,"description":"Unknown IO ID 45"} 
[2026-09-10 08:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986349312001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":875387207680186368}} 
[2026-09-10 08:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:30:53] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:30:53] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:31:13] local.INFO: TCP Data received {"connection_id":178854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:31:13] local.INFO: Processing buffer {"connection_id":178854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:31:13] local.INFO: Packet analysis {"connection_id":178854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:31:13] local.INFO: Extracted packet for processing {"connection_id":178854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:31:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:31: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-09-10 08:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:31: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-09-10 08:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:31:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":178854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:31:13] local.INFO: GPS data processed {"connection_id":178854,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:31:13] local.INFO: Acknowledgment sent {"connection_id":178854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:31:20] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:31:20] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:31:20] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:31:24] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:31:24] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:31:24] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:31:25] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089433c00012d0c4d000703c8800012001d1e..."} 
[2026-09-10 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433c00012d0c4d000703c8800012001d1e..."} 
[2026-09-10 08:31:25] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433c00012d0c4d000703c8800012001d1e..."} 
[2026-09-10 08:31:25] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:31:25] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":117688448,"longitude_deg":75.5780864,"latitude_deg":11.7688448,"altitude":18,"angle":29,"satellites":30,"speed":21,"hex_longitude":"2d0c4d00","hex_latitude":"0703c880","is_valid_coordinates":true} 
[2026-09-10 08:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31044650680713216,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886012888069093376,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31: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-09-10 08:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789009280000,"timestamp_ms":1789009280000,"timestamp_seconds":1789009280,"priority":1,"record_length":96,"hex_timestamp":"000001a089433c00"} 
[2026-09-10 08:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 08:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:31: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-09-10 08:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":14515,"37":206,"94":11008,"24":21,"16":31044650680713216,"45":886012888069093376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:31:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:31:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31044650680713216,"km_value":31044650680713.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":886012888069093376,"description":"Unknown IO ID 45"} 
[2026-09-10 08:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":886012888069093376}} 
[2026-09-10 08:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:31:25] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:31:25] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:31:26] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08941ff98012d7b6b4005e77ed00006015a2a..."} 
[2026-09-10 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08941ff98012d7b6b4005e77ed00006015a2a..."} 
[2026-09-10 08:31:26] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08941ff98012d7b6b4005e77ed00006015a2a..."} 
[2026-09-10 08:31:26] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:31:26] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08941"} 
[2026-09-10 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763063104,"raw_latitude":99057360,"longitude_deg":76.3063104,"latitude_deg":9.905736,"altitude":6,"angle":346,"satellites":42,"speed":32,"hex_longitude":"2d7b6b40","hex_latitude":"05e77ed0","is_valid_coordinates":true} 
[2026-09-10 08:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986353408001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130629222694649856,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894116708205115392,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789009199000,"timestamp_ms":1789009199000,"timestamp_seconds":1789009199,"priority":1,"record_length":96,"hex_timestamp":"000001a08941ff98"} 
[2026-09-10 08:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 08:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986353408001,"66":13722,"96":206,"87":13824,"24":32,"16":130629222694649856,"45":8894116708205115392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 08:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986353408001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:31:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 08:31:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130629222694649856,"km_value":130629222694649.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894116708205115392,"description":"Unknown IO ID 45"} 
[2026-09-10 08:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986353408001,"power":13722,"unknown_96":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8894116708205115392}} 
[2026-09-10 08:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:31:26] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:31:26] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:31:27] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089421708012d7b674005e78b300006014e29..."} 
[2026-09-10 08:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089421708012d7b674005e78b300006014e29..."} 
[2026-09-10 08:31:27] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089421708012d7b674005e78b300006014e29..."} 
[2026-09-10 08:31:27] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08942"} 
[2026-09-10 08:31:27] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08942"} 
[2026-09-10 08:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":99060528,"longitude_deg":76.306208,"latitude_deg":9.9060528,"altitude":6,"angle":334,"satellites":41,"speed":6,"hex_longitude":"2d7b6740","hex_latitude":"05e78b30","is_valid_coordinates":true} 
[2026-09-10 08:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130629385903407104,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893272283276038144,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789009205000,"timestamp_ms":1789009205000,"timestamp_seconds":1789009205,"priority":1,"record_length":96,"hex_timestamp":"000001a089421708"} 
[2026-09-10 08:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-10 08:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986354944001,"66":13319,"96":206,"87":13824,"24":6,"16":130629385903407104,"45":8893272283276038144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 08:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:31:27] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 08:31:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130629385903407104,"km_value":130629385903407.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893272283276038144,"description":"Unknown IO ID 45"} 
[2026-09-10 08:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986354944001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8893272283276038144}} 
[2026-09-10 08:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:31:27] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:31:27] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:31:36] local.INFO: TCP Data received {"connection_id":178855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:31:36] local.INFO: Processing buffer {"connection_id":178855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:31:36] local.INFO: IMEI packet received {"connection_id":178855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":178855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:31:41] local.INFO: TCP Data received {"connection_id":178855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:31:41] local.INFO: Processing buffer {"connection_id":178855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:31:41] local.INFO: IMEI packet received {"connection_id":178855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":178855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:31:42] local.INFO: TCP Data received {"connection_id":178855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:31:42] local.INFO: Processing buffer {"connection_id":178855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0893ea050012cee6fc0072e2ba80034006b26..."} 
[2026-09-10 08:31:42] local.INFO: Packet analysis {"connection_id":178855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:31:42] local.INFO: Extracted packet for processing {"connection_id":178855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0893e"} 
[2026-09-10 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986221312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789008978000,"timestamp_ms":1789008978000,"timestamp_seconds":1789008978,"priority":1,"record_length":96,"hex_timestamp":"000001a0893ea050"} 
[2026-09-10 08:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:31: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-09-10 08:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986221312001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986221312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986221312001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":178855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:31:42] local.INFO: GPS data processed {"connection_id":178855,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:31:42] local.INFO: Acknowledgment sent {"connection_id":178855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:31:49] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:49] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:49] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:31:52] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:52] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:52] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:31:55] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:55] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:31:55] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:31:55] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089433fe8012d0c4e000703ca98001300111e..."} 
[2026-09-10 08:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433fe8012d0c4e000703ca98001300111e..."} 
[2026-09-10 08:31:55] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433fe8012d0c4e000703ca98001300111e..."} 
[2026-09-10 08:31:55] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:31:55] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:31:55] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117688984,"longitude_deg":75.578112,"latitude_deg":11.7688984,"altitude":19,"angle":17,"satellites":30,"speed":22,"hex_longitude":"2d0c4e00","hex_latitude":"0703ca98","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375680001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31044680745484288,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731790098432,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009281000,"timestamp_ms":1789009281000,"timestamp_seconds":1789009281,"priority":1,"record_length":96,"hex_timestamp":"000001a089433fe8"} 
[2026-09-10 08:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":179,"data_length":795,"current_offset":136} 
[2026-09-10 08:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:31: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-09-10 08:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375680001,"66":14515,"37":206,"94":11008,"24":22,"16":31044680745484288,"45":886364731790098432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375680001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:31:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:31:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31044680745484288,"km_value":31044680745484.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731790098432,"description":"Unknown IO ID 45"} 
[2026-09-10 08:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375680001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":886364731790098432}} 
[2026-09-10 08:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:31:55] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:31:55] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:31:56] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0894343d0012d0c4e400703ccf8001300041e..."} 
[2026-09-10 08:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894343d0012d0c4e400703ccf8001300041e..."} 
[2026-09-10 08:31:56] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894343d0012d0c4e400703ccf8001300041e..."} 
[2026-09-10 08:31:56] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:31:56] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:31:56] local.INFO: GPS Element Parsed {"raw_longitude":755781184,"raw_latitude":117689592,"longitude_deg":75.5781184,"latitude_deg":11.7689592,"altitude":19,"angle":4,"satellites":30,"speed":24,"hex_longitude":"2d0c4e40","hex_latitude":"0703ccf8","is_valid_coordinates":true} 
[2026-09-10 08:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375936001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31044710810255360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886646206766946304,"note":"Value kept but may cause issues"} 
[2026-09-10 08:31: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-09-10 08:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789009282000,"timestamp_ms":1789009282000,"timestamp_seconds":1789009282,"priority":1,"record_length":96,"hex_timestamp":"000001a0894343d0"} 
[2026-09-10 08:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":179,"data_length":795,"current_offset":136} 
[2026-09-10 08:31: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-09-10 08:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:31:56] 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-09-10 08:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375936001,"66":14515,"37":206,"94":11008,"24":24,"16":31044710810255360,"45":886646206766946304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375936001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:31:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:31:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31044710810255360,"km_value":31044710810255.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":886646206766946304,"description":"Unknown IO ID 45"} 
[2026-09-10 08:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375936001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":886646206766946304}} 
[2026-09-10 08:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:31:56] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:31:56] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:32:13] local.INFO: TCP Data received {"connection_id":178855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:32:13] local.INFO: Processing buffer {"connection_id":178855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:32:13] local.INFO: Packet analysis {"connection_id":178855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:13] local.INFO: Extracted packet for processing {"connection_id":178855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:32: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-09-10 08:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:32: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-09-10 08:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:32:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":178855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:32:13] local.INFO: GPS data processed {"connection_id":178855,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:32:13] local.INFO: Acknowledgment sent {"connection_id":178855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:32:17] local.INFO: TCP Data received {"connection_id":177482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:32:17] local.INFO: Processing buffer {"connection_id":177482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:32:17] local.INFO: IMEI packet received {"connection_id":177482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":177482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:32:22] local.INFO: TCP Data received {"connection_id":177482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:32:22] local.INFO: Processing buffer {"connection_id":177482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:32:22] local.INFO: IMEI packet received {"connection_id":177482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":177482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:32:23] local.INFO: TCP Data received {"connection_id":177482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08943bce8012d7b5bc005e858380001016226..."} 
[2026-09-10 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08943bce8012d7b5bc005e858380001016226..."} 
[2026-09-10 08:32:23] local.INFO: Processing buffer {"connection_id":177482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08943bce8012d7b5bc005e858380001016226..."} 
[2026-09-10 08:32:23] local.INFO: Packet analysis {"connection_id":177482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:23] local.INFO: Extracted packet for processing {"connection_id":177482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763059136,"raw_latitude":99113016,"longitude_deg":76.3059136,"latitude_deg":9.9113016,"altitude":1,"angle":354,"satellites":38,"speed":39,"hex_longitude":"2d7b5bc0","hex_latitude":"05e85838","is_valid_coordinates":true} 
[2026-09-10 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986383360001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130631967178752000,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527383105536,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789009313000,"timestamp_ms":1789009313000,"timestamp_seconds":1789009313,"priority":1,"record_length":96,"hex_timestamp":"000001a08943bce8"} 
[2026-09-10 08:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:32: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-09-10 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2302861864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-3557842410767958011,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277320081447039408,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3221612551,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3890796544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":154,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-2974627536675264256,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":35,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6917755901604534272,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,160,134,45,64,43,3,39,10,66,110,32,40,99,1,240,227,137,232,4,113,205,91,248,239,52,96,2,208,5,37,154,231,35,77,95],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-09-10 08:32:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72062155295424512,"timestamp_seconds":72062155295424.52,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986383360001,"66":13450,"201":206,"87":13824,"24":39,"16":130631967178752000,"45":8889120527383105536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 08:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986383360001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:32:23] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 08:32:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130631967178752000,"km_value":130631967178752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527383105536,"description":"Unknown IO ID 45"} 
[2026-09-10 08:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986383360001,"power":13450,"unknown_201":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8889120527383105536}} 
[2026-09-10 08:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":177482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:32:23] local.INFO: GPS data processed {"connection_id":177482,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:32:23] local.INFO: Acknowledgment sent {"connection_id":177482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:32:27] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089435758012d0c4ec00703dcf8001400131e..."} 
[2026-09-10 08:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089435758012d0c4ec00703dcf8001400131e..."} 
[2026-09-10 08:32:27] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089435758012d0c4ec00703dcf8001400131e..."} 
[2026-09-10 08:32:27] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:27] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:27] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":117693688,"longitude_deg":75.5781312,"latitude_deg":11.7693688,"altitude":20,"angle":19,"satellites":30,"speed":35,"hex_longitude":"2d0c4ec0","hex_latitude":"0703dcf8","is_valid_coordinates":true} 
[2026-09-10 08:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986376192001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31044912673718272,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575511279616,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32: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-09-10 08:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789009287000,"timestamp_ms":1789009287000,"timestamp_seconds":1789009287,"priority":1,"record_length":96,"hex_timestamp":"000001a089435758"} 
[2026-09-10 08:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 08:32: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-09-10 08:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:32:27] 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-09-10 08:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986376192001,"66":14450,"37":206,"94":11008,"24":35,"16":31044912673718272,"45":886716575511279616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 08:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986376192001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:32:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 08:32:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31044912673718272,"km_value":31044912673718.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575511279616,"description":"Unknown IO ID 45"} 
[2026-09-10 08:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986376192001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":886716575511279616}} 
[2026-09-10 08:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:32:27] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:32:27] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:32:36] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:32:36] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:32:36] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:32:41] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:32:41] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:32:41] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:32:42] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:32:42] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:32:42] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:42] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:32: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-09-10 08:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:32:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:32:42] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:32:42] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:32:49] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:32:49] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:32:49] local.INFO: IMEI packet received {"connection_id":176325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":176325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:32:54] local.INFO: TCP Data received {"connection_id":177482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08943dc28012d7b594005e87bf00001016426..."} 
[2026-09-10 08:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08943dc28012d7b594005e87bf00001016426..."} 
[2026-09-10 08:32:54] local.INFO: Processing buffer {"connection_id":177482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08943dc28012d7b594005e87bf00001016426..."} 
[2026-09-10 08:32:54] local.INFO: Packet analysis {"connection_id":177482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:54] local.INFO: Extracted packet for processing {"connection_id":177482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99122160,"longitude_deg":76.3058496,"latitude_deg":9.912216,"altitude":1,"angle":356,"satellites":38,"speed":50,"hex_longitude":"2d7b5940","hex_latitude":"05e87bf0","is_valid_coordinates":true} 
[2026-09-10 08:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986384128001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130632413855350784,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421151270912,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789009321000,"timestamp_ms":1789009321000,"timestamp_seconds":1789009321,"priority":1,"record_length":96,"hex_timestamp":"000001a08943dc28"} 
[2026-09-10 08:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 08:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986384128001,"66":14026,"201":206,"87":13824,"24":50,"16":130632413855350784,"45":8888909421151270912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 08:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986384128001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:32:54] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 08:32:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130632413855350784,"km_value":130632413855350.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421151270912,"description":"Unknown IO ID 45"} 
[2026-09-10 08:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986384128001,"power":14026,"unknown_201":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8888909421151270912}} 
[2026-09-10 08:32:54] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:32:54] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:32:54] local.INFO: IMEI packet received {"connection_id":176325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":176325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":177482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:32:54] local.INFO: GPS data processed {"connection_id":177482,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:32:54] local.INFO: Acknowledgment sent {"connection_id":177482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:32:55] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089443dd0012d0cb58007048bf80012014c1e..."} 
[2026-09-10 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089443dd0012d0cb58007048bf80012014c1e..."} 
[2026-09-10 08:32:55] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089443dd0012d0cb58007048bf80012014c1e..."} 
[2026-09-10 08:32:55] local.INFO: Packet analysis {"connection_id":176325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08944"} 
[2026-09-10 08:32:55] local.INFO: Extracted packet for processing {"connection_id":176325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08944"} 
[2026-09-10 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":755807616,"raw_latitude":117738488,"longitude_deg":75.5807616,"latitude_deg":11.7738488,"altitude":18,"angle":332,"satellites":30,"speed":31,"hex_longitude":"2d0cb580","hex_latitude":"07048bf8","is_valid_coordinates":true} 
[2026-09-10 08:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986392064001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31047601323245568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916482554310592512,"note":"Value kept but may cause issues"} 
[2026-09-10 08:32: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-09-10 08:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009346000,"timestamp_ms":1789009346000,"timestamp_seconds":1789009346,"priority":1,"record_length":96,"hex_timestamp":"000001a089443dd0"} 
[2026-09-10 08:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:32: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-09-10 08:32: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":179,"data_length":795,"current_offset":136} 
[2026-09-10 08:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:32: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-09-10 08:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986392064001,"66":14548,"16":31047601323245568,"94":11008,"24":31,"45":916482554310592512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 08:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986392064001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31047601323245568,"km_value":31047601323245.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:32:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":916482554310592512,"description":"Unknown IO ID 45"} 
[2026-09-10 08:32:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457986392064001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":916482554310592512}} 
[2026-09-10 08:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":176325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:32:55] local.INFO: GPS data processed {"connection_id":176325,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:32:55] local.INFO: Acknowledgment sent {"connection_id":176325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:33:12] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:33:12] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:33:12] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:33:12] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:33:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:33:12] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:33:12] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:33:22] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:33:22] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:33:22] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:33:26] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0894468c8012d0ca1400704a888001501481e..."} 
[2026-09-10 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894468c8012d0ca1400704a888001501481e..."} 
[2026-09-10 08:33:26] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894468c8012d0ca1400704a888001501481e..."} 
[2026-09-10 08:33:26] local.INFO: Packet analysis {"connection_id":176325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08944"} 
[2026-09-10 08:33:26] local.INFO: Extracted packet for processing {"connection_id":176325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08944"} 
[2026-09-10 08:33:26] local.INFO: GPS Element Parsed {"raw_longitude":755802432,"raw_latitude":117745800,"longitude_deg":75.5802432,"latitude_deg":11.77458,"altitude":21,"angle":328,"satellites":30,"speed":32,"hex_longitude":"2d0ca140","hex_latitude":"0704a888","is_valid_coordinates":true} 
[2026-09-10 08:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986392576001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31048035114942464,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915778866869172224,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33: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-09-10 08:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789009357000,"timestamp_ms":1789009357000,"timestamp_seconds":1789009357,"priority":1,"record_length":96,"hex_timestamp":"000001a0894468c8"} 
[2026-09-10 08:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 08:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:33:26] 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-09-10 08:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986392576001,"66":14559,"16":31048035114942464,"94":11008,"24":32,"45":915778866869172224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 08:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986392576001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31048035114942464,"km_value":31048035114942.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:33:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":915778866869172224,"description":"Unknown IO ID 45"} 
[2026-09-10 08:33:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457986392576001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":915778866869172224}} 
[2026-09-10 08:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":176325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:33:26] local.INFO: GPS data processed {"connection_id":176325,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:33:26] local.INFO: Acknowledgment sent {"connection_id":176325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:33:27] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:33:27] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:33:27] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:33:28] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08943fb68012d7b588005e8a2180000016626..."} 
[2026-09-10 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08943fb68012d7b588005e8a2180000016626..."} 
[2026-09-10 08:33:28] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08943fb68012d7b588005e8a2180000016626..."} 
[2026-09-10 08:33:28] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:33:28] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99131928,"longitude_deg":76.3058304,"latitude_deg":9.9131928,"altitude":0,"angle":358,"satellites":38,"speed":38,"hex_longitude":"2d7b5880","hex_latitude":"05e8a218","is_valid_coordinates":true} 
[2026-09-10 08:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986386176001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130632886301753344,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733711835136,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789009329000,"timestamp_ms":1789009329000,"timestamp_seconds":1789009329,"priority":1,"record_length":96,"hex_timestamp":"000001a08943fb68"} 
[2026-09-10 08:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 08:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986386176001,"66":13406,"201":206,"87":13824,"24":38,"16":130632886301753344,"45":8888205733711835136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 08:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986386176001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:33:28] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 08:33:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130632886301753344,"km_value":130632886301753.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733711835136,"description":"Unknown IO ID 45"} 
[2026-09-10 08:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986386176001,"power":13406,"unknown_201":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8888205733711835136}} 
[2026-09-10 08:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:33:28] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:33:28] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:33:36] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:33:36] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:33:36] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:33:41] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:33:41] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:33:41] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:33:42] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:33:42] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:33:42] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:33:42] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:33:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:33: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-09-10 08:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:33:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:33:42] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:33:42] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:34:00] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089442e30012d7b540005e8c7a80002015f27..."} 
[2026-09-10 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089442e30012d7b540005e8c7a80002015f27..."} 
[2026-09-10 08:34:00] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089442e30012d7b540005e8c7a80002015f27..."} 
[2026-09-10 08:34:00] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08944"} 
[2026-09-10 08:34:00] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08944"} 
[2026-09-10 08:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763057152,"raw_latitude":99141544,"longitude_deg":76.3057152,"latitude_deg":9.9141544,"altitude":2,"angle":351,"satellites":39,"speed":35,"hex_longitude":"2d7b5400","hex_latitude":"05e8c7a8","is_valid_coordinates":true} 
[2026-09-10 08:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986388224001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130633358748155904,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627481802752,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34: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-09-10 08:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789009342000,"timestamp_ms":1789009342000,"timestamp_seconds":1789009342,"priority":1,"record_length":96,"hex_timestamp":"000001a089442e30"} 
[2026-09-10 08:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08: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-09-10 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 08:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986388224001,"66":13526,"201":206,"87":13824,"24":35,"16":130633358748155904,"45":8887994627481802752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 08:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986388224001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:34:00] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 08:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130633358748155904,"km_value":130633358748155.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627481802752,"description":"Unknown IO ID 45"} 
[2026-09-10 08:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986388224001,"power":13526,"unknown_201":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8887994627481802752}} 
[2026-09-10 08:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:34:00] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:34:00] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:34:12] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:12] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:12] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:34:12] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:34:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:34: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-09-10 08: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":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:34:12] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:34:12] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:34:16] local.INFO: TCP Data received {"connection_id":178856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:16] local.INFO: Processing buffer {"connection_id":178856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:16] local.INFO: IMEI packet received {"connection_id":178856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":178856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:34:17] local.INFO: TCP Data received {"connection_id":178856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:17] local.INFO: Processing buffer {"connection_id":178856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:17] local.INFO: IMEI packet received {"connection_id":178856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":178856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:34:22] local.INFO: TCP Data received {"connection_id":178856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:22] local.INFO: Processing buffer {"connection_id":178856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:34:22] local.INFO: IMEI packet received {"connection_id":178856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":178856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:34:24] local.INFO: TCP Data received {"connection_id":178856,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08945bca0012d7bb50005e94ac00003004427..."} 
[2026-09-10 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08945bca0012d7bb50005e94ac00003004427..."} 
[2026-09-10 08:34:24] local.INFO: Processing buffer {"connection_id":178856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08945bca0012d7bb50005e94ac00003004427..."} 
[2026-09-10 08:34:24] local.INFO: Packet analysis {"connection_id":178856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08945"} 
[2026-09-10 08:34:24] local.INFO: Extracted packet for processing {"connection_id":178856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08945"} 
[2026-09-10 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763081984,"raw_latitude":99175104,"longitude_deg":76.3081984,"latitude_deg":9.9175104,"altitude":3,"angle":68,"satellites":39,"speed":21,"hex_longitude":"2d7bb500","hex_latitude":"05e94ac0","is_valid_coordinates":true} 
[2026-09-10 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986412544001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130636013037944832,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288513353728,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009444000,"timestamp_ms":1789009444000,"timestamp_seconds":1789009444,"priority":1,"record_length":96,"hex_timestamp":"000001a08945bca0"} 
[2026-09-10 08:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:34: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-09-10 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 08:34: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-09-10 08:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986412544001,"66":13656,"156":206,"87":13824,"24":21,"16":130636013037944832,"45":8905868288513353728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-10 08:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986412544001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:34:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 08:34:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130636013037944832,"km_value":130636013037944.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288513353728,"description":"Unknown IO ID 45"} 
[2026-09-10 08:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986412544001,"power":13656,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8905868288513353728}} 
[2026-09-10 08:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":178856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:34:24] local.INFO: GPS data processed {"connection_id":178856,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:34:24] local.INFO: Acknowledgment sent {"connection_id":178856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:34:41] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:34:41] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:34:41] local.INFO: IMEI packet received {"connection_id":176080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:34:46] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:34:46] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:34:46] local.INFO: IMEI packet received {"connection_id":176080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":176080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:34:47] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:47] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:47] local.INFO: Packet analysis {"connection_id":176080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:34:47] local.INFO: Extracted packet for processing {"connection_id":176080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:34:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:34:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:34:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":176080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:34:47] local.INFO: GPS data processed {"connection_id":176080,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:34:47] local.INFO: Acknowledgment sent {"connection_id":176080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:34:51] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:51] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:34:51] local.INFO: Packet analysis {"connection_id":176080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:34:51] local.INFO: Extracted packet for processing {"connection_id":176080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 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-09-10 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:34:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":176080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:34:52] local.INFO: GPS data processed {"connection_id":176080,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:34:52] local.INFO: Acknowledgment sent {"connection_id":176080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:34:55] local.INFO: TCP Data received {"connection_id":178856,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08945c858012d7bbb4005e94df00003003825..."} 
[2026-09-10 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08945c858012d7bbb4005e94df00003003825..."} 
[2026-09-10 08:34:55] local.INFO: Processing buffer {"connection_id":178856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08945c858012d7bbb4005e94df00003003825..."} 
[2026-09-10 08:34:55] local.INFO: Packet analysis {"connection_id":178856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08945"} 
[2026-09-10 08:34:55] local.INFO: Extracted packet for processing {"connection_id":178856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08945"} 
[2026-09-10 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763083584,"raw_latitude":99175920,"longitude_deg":76.3083584,"latitude_deg":9.917592,"altitude":3,"angle":56,"satellites":37,"speed":26,"hex_longitude":"2d7bbb40","hex_latitude":"05e94df0","is_valid_coordinates":true} 
[2026-09-10 08:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986417664001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130636098937290752,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914031062838591488,"note":"Value kept but may cause issues"} 
[2026-09-10 08:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009447000,"timestamp_ms":1789009447000,"timestamp_seconds":1789009447,"priority":1,"record_length":96,"hex_timestamp":"000001a08945c858"} 
[2026-09-10 08:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:34: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-09-10 08:34: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-09-10 08:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986417664001,"66":13798,"156":206,"87":13824,"24":26,"16":130636098937290752,"45":8914031062838591488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-10 08:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986417664001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:34:55] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 08:34:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130636098937290752,"km_value":130636098937290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914031062838591488,"description":"Unknown IO ID 45"} 
[2026-09-10 08:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986417664001,"power":13798,"unknown_156":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8914031062838591488}} 
[2026-09-10 08:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":178856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:34:55] local.INFO: GPS data processed {"connection_id":178856,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:34:55] local.INFO: Acknowledgment sent {"connection_id":178856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:35:04] local.INFO: TCP Data received {"connection_id":178857,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:04] local.INFO: Processing buffer {"connection_id":178857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:04] local.INFO: IMEI packet received {"connection_id":178857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":178857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:35:08] local.INFO: TCP Data received {"connection_id":178857,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:08] local.INFO: Processing buffer {"connection_id":178857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:08] local.INFO: IMEI packet received {"connection_id":178857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":178857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:35:09] local.INFO: TCP Data received {"connection_id":178857,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0894635b8012d0c6f0007059b880021015b1e..."} 
[2026-09-10 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894635b8012d0c6f0007059b880021015b1e..."} 
[2026-09-10 08:35:09] local.INFO: Processing buffer {"connection_id":178857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894635b8012d0c6f0007059b880021015b1e..."} 
[2026-09-10 08:35:09] local.INFO: Packet analysis {"connection_id":178857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08946"} 
[2026-09-10 08:35:09] local.INFO: Extracted packet for processing {"connection_id":178857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08946"} 
[2026-09-10 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":755789568,"raw_latitude":117808008,"longitude_deg":75.5789568,"latitude_deg":11.7808008,"altitude":33,"angle":347,"satellites":30,"speed":28,"hex_longitude":"2d0c6f00","hex_latitude":"07059b88","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986425088001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31051849045901312,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896216356005236736,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789009475000,"timestamp_ms":1789009475000,"timestamp_seconds":1789009475,"priority":1,"record_length":96,"hex_timestamp":"000001a0894635b8"} 
[2026-09-10 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-09-10 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 08:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:35:09] 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-09-10 08:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986425088001,"66":14439,"164":206,"94":10240,"24":28,"16":31051849045901312,"45":896216356005236736},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 08:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986425088001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:35:09] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 08:35:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31051849045901312,"km_value":31051849045901.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":896216356005236736,"description":"Unknown IO ID 45"} 
[2026-09-10 08:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986425088001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":896216356005236736}} 
[2026-09-10 08:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":178857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792760,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:35:09] local.INFO: GPS data processed {"connection_id":178857,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:35:09] local.INFO: Acknowledgment sent {"connection_id":178857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:35:17] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:35:17] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:35:17] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:35:23] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:35:23] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:35:23] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:35:24] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08945e798012d7bcf8005e95b200004004b28..."} 
[2026-09-10 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08945e798012d7bcf8005e95b200004004b28..."} 
[2026-09-10 08:35:24] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08945e798012d7bcf8005e95b200004004b28..."} 
[2026-09-10 08:35:24] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08945"} 
[2026-09-10 08:35:24] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08945"} 
[2026-09-10 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763088768,"raw_latitude":99179296,"longitude_deg":76.3088768,"latitude_deg":9.9179296,"altitude":4,"angle":75,"satellites":40,"speed":34,"hex_longitude":"2d7bcf80","hex_latitude":"05e95b20","is_valid_coordinates":true} 
[2026-09-10 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986418432001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130636399585001472,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915790281443241984,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009455000,"timestamp_ms":1789009455000,"timestamp_seconds":1789009455,"priority":1,"record_length":96,"hex_timestamp":"000001a08945e798"} 
[2026-09-10 08:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:35: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-09-10 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 08:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986418432001,"66":13254,"156":206,"87":13824,"24":34,"16":130636399585001472,"45":8915790281443241984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-10 08:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986418432001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:35:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 08:35:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130636399585001472,"km_value":130636399585001.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915790281443241984,"description":"Unknown IO ID 45"} 
[2026-09-10 08:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986418432001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8915790281443241984}} 
[2026-09-10 08:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:35:25] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:35:25] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:35:36] local.INFO: TCP Data received {"connection_id":177483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:35:36] local.INFO: Processing buffer {"connection_id":177483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:35:36] local.INFO: IMEI packet received {"connection_id":177483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":177483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:35:41] local.INFO: TCP Data received {"connection_id":177483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:35:41] local.INFO: Processing buffer {"connection_id":177483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:35:41] local.INFO: IMEI packet received {"connection_id":177483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":177483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:35:42] local.INFO: TCP Data received {"connection_id":177483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:35:42] local.INFO: Processing buffer {"connection_id":177483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:35:42] local.INFO: Packet analysis {"connection_id":177483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:35:42] local.INFO: Extracted packet for processing {"connection_id":177483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:35:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:35: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-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:35:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":177483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:35:42] local.INFO: GPS data processed {"connection_id":177483,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:35:42] local.INFO: Acknowledgment sent {"connection_id":177483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:35:51] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:51] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:51] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:35:53] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:53] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:53] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:35:54] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:54] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:54] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:35:56] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089461e48012d7bf38005e962700004005426..."} 
[2026-09-10 08:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089461e48012d7bf38005e962700004005426..."} 
[2026-09-10 08:35:56] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089461e48012d7bf38005e962700004005426..."} 
[2026-09-10 08:35:56] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08946"} 
[2026-09-10 08:35:56] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08946"} 
[2026-09-10 08:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763097984,"raw_latitude":99181168,"longitude_deg":76.3097984,"latitude_deg":9.9181168,"altitude":4,"angle":84,"satellites":38,"speed":18,"hex_longitude":"2d7bf380","hex_latitude":"05e96270","is_valid_coordinates":true} 
[2026-09-10 08:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986420480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130636850556567552,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921490149722497024,"note":"Value kept but may cause issues"} 
[2026-09-10 08:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789009469000,"timestamp_ms":1789009469000,"timestamp_seconds":1789009469,"priority":1,"record_length":96,"hex_timestamp":"000001a089461e48"} 
[2026-09-10 08:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 08:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986420480001,"66":13656,"156":206,"87":13824,"24":18,"16":130636850556567552,"45":8921490149722497024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-10 08:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986420480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:35:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 08:35:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130636850556567552,"km_value":130636850556567.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921490149722497024,"description":"Unknown IO ID 45"} 
[2026-09-10 08:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986420480001,"power":13656,"unknown_156":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8921490149722497024}} 
[2026-09-10 08:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:35:56] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:35:56] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:35:59] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:59] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:35:59] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:36:00] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089470c90012d0cf2000705d6c0000d003a1e..."} 
[2026-09-10 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089470c90012d0cf2000705d6c0000d003a1e..."} 
[2026-09-10 08:36:00] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089470c90012d0cf2000705d6c0000d003a1e..."} 
[2026-09-10 08:36:00] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:00] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755823104,"raw_latitude":117823168,"longitude_deg":75.5823104,"latitude_deg":11.7823168,"altitude":13,"angle":58,"satellites":30,"speed":27,"hex_longitude":"2d0cf200","hex_latitude":"0705d6c0","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986439168001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31053829025824768,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931682203074785280,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789009530000,"timestamp_ms":1789009530000,"timestamp_seconds":1789009530,"priority":1,"record_length":96,"hex_timestamp":"000001a089470c90"} 
[2026-09-10 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:36: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-09-10 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 08:36: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-09-10 08: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-09-10 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:36: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-09-10 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986439168001,"66":14428,"167":206,"94":11008,"24":27,"16":31053829025824768,"45":931682203074785280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986439168001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:36:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 08:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31053829025824768,"km_value":31053829025824.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":931682203074785280,"description":"Unknown IO ID 45"} 
[2026-09-10 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986439168001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":931682203074785280}} 
[2026-09-10 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792764,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:36:00] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:36:00] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:36:05] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089471078012d0cf5800705d750000e00491e..."} 
[2026-09-10 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089471078012d0cf5800705d750000e00491e..."} 
[2026-09-10 08:36:05] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089471078012d0cf5800705d750000e00491e..."} 
[2026-09-10 08:36:05] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:05] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":755824000,"raw_latitude":117823312,"longitude_deg":75.5824,"latitude_deg":11.7823312,"altitude":14,"angle":73,"satellites":30,"speed":30,"hex_longitude":"2d0cf580","hex_latitude":"0705d750","is_valid_coordinates":true} 
[2026-09-10 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986439680001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31053867680530432,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932808102981844992,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789009531000,"timestamp_ms":1789009531000,"timestamp_seconds":1789009531,"priority":1,"record_length":96,"hex_timestamp":"000001a089471078"} 
[2026-09-10 08:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:36: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-09-10 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 08:36: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-09-10 08:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:36:05] 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-09-10 08:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986439680001,"66":14428,"167":206,"94":11008,"24":30,"16":31053867680530432,"45":932808102981844992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 08:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986439680001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31053867680530432,"km_value":31053867680530.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":932808102981844992,"description":"Unknown IO ID 45"} 
[2026-09-10 08:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986439680001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":932808102981844992}} 
[2026-09-10 08:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:36:05] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:36:05] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:36:13] local.INFO: TCP Data received {"connection_id":177483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:36:13] local.INFO: Processing buffer {"connection_id":177483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:36:13] local.INFO: Packet analysis {"connection_id":177483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:36:13] local.INFO: Extracted packet for processing {"connection_id":177483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:36: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-09-10 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:36: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-09-10 08:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:36:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":177483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:36:13] local.INFO: GPS data processed {"connection_id":177483,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:36:13] local.INFO: Acknowledgment sent {"connection_id":177483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:36:17] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:17] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:17] local.INFO: IMEI packet received {"connection_id":176327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":176327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:36:18] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:18] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:18] local.INFO: IMEI packet received {"connection_id":176327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":176327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:36:23] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:23] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:36:23] local.INFO: IMEI packet received {"connection_id":176327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":176327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:36:24] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08947a100012d7c8a0005e9b178000501582a..."} 
[2026-09-10 08:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947a100012d7c8a0005e9b178000501582a..."} 
[2026-09-10 08:36:24] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947a100012d7c8a0005e9b178000501582a..."} 
[2026-09-10 08:36:24] local.INFO: Packet analysis {"connection_id":176327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:24] local.INFO: Extracted packet for processing {"connection_id":176327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763136512,"raw_latitude":99201400,"longitude_deg":76.3136512,"latitude_deg":9.92014,"altitude":5,"angle":344,"satellites":42,"speed":13,"hex_longitude":"2d7c8a00","hex_latitude":"05e9b178","is_valid_coordinates":true} 
[2026-09-10 08:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986444032001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130639182723809280,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975533345255301120,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36: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-09-10 08:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009568000,"timestamp_ms":1789009568000,"timestamp_seconds":1789009568,"priority":1,"record_length":96,"hex_timestamp":"000001a08947a100"} 
[2026-09-10 08:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:36: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-09-10 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-10 08:36: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-09-10 08:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986444032001,"66":13048,"154":206,"87":13824,"24":13,"16":130639182723809280,"45":8975533345255301120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-10 08:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986444032001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:36:24] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 08:36:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130639182723809280,"km_value":130639182723809.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975533345255301120,"description":"Unknown IO ID 45"} 
[2026-09-10 08:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986444032001,"power":13048,"unknown_154":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8975533345255301120}} 
[2026-09-10 08:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":176327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:36:24] local.INFO: GPS data processed {"connection_id":176327,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:36:24] local.INFO: Acknowledgment sent {"connection_id":176327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:36:36] local.INFO: TCP Data received {"connection_id":177484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:36:36] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:36:36] local.INFO: IMEI packet received {"connection_id":177484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":177484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:36:41] local.INFO: TCP Data received {"connection_id":177484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:36:41] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:36:41] local.INFO: IMEI packet received {"connection_id":177484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":177484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:36:42] local.INFO: TCP Data received {"connection_id":177484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:36:42] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089433818012cee6fc0072e2ba80034006b25..."} 
[2026-09-10 08:36:42] local.INFO: Packet analysis {"connection_id":177484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:36:42] local.INFO: Extracted packet for processing {"connection_id":177484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08943"} 
[2026-09-10 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986298368001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009279000,"timestamp_ms":1789009279000,"timestamp_seconds":1789009279,"priority":1,"record_length":96,"hex_timestamp":"000001a089433818"} 
[2026-09-10 08:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:36: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-09-10 08:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986298368001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986298368001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:36:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986298368001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":177484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:36:42] local.INFO: GPS data processed {"connection_id":177484,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:36:42] local.INFO: Acknowledgment sent {"connection_id":177484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:36:47] local.INFO: TCP Data received {"connection_id":178858,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178858,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:47] local.INFO: Processing buffer {"connection_id":178858,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:47] local.INFO: IMEI packet received {"connection_id":178858,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":178858,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:36:49] local.INFO: TCP Data received {"connection_id":178858,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178858,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:49] local.INFO: Processing buffer {"connection_id":178858,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:49] local.INFO: IMEI packet received {"connection_id":178858,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":178858,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:36:54] local.INFO: TCP Data received {"connection_id":178858,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178858,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:54] local.INFO: Processing buffer {"connection_id":178858,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:36:54] local.INFO: IMEI packet received {"connection_id":178858,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":178858,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:36:55] local.INFO: TCP Data received {"connection_id":178858,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08947df80012d0d3d000705c0e8001000911e..."} 
[2026-09-10 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947df80012d0d3d000705c0e8001000911e..."} 
[2026-09-10 08:36:55] local.INFO: Processing buffer {"connection_id":178858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947df80012d0d3d000705c0e8001000911e..."} 
[2026-09-10 08:36:55] local.INFO: Packet analysis {"connection_id":178858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:55] local.INFO: Extracted packet for processing {"connection_id":178858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117817576,"longitude_deg":75.5842304,"latitude_deg":11.7817576,"altitude":16,"angle":145,"satellites":30,"speed":6,"hex_longitude":"2d0d3d00","hex_latitude":"0705c0e8","is_valid_coordinates":true} 
[2026-09-10 08:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452736001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31055014436798464,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953566882512900096,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009584000,"timestamp_ms":1789009584000,"timestamp_seconds":1789009584,"priority":1,"record_length":96,"hex_timestamp":"000001a08947df80"} 
[2026-09-10 08:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 08:36: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-09-10 08:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178858,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178858,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:36: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-09-10 08:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452736001,"66":14396,"167":206,"94":11008,"24":6,"16":31055014436798464,"45":953566882512900096},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 08:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452736001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:36:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 08:36:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31055014436798464,"km_value":31055014436798.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":953566882512900096,"description":"Unknown IO ID 45"} 
[2026-09-10 08:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452736001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953566882512900096}} 
[2026-09-10 08:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":178858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:36:55] local.INFO: GPS data processed {"connection_id":178858,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:36:55] local.INFO: Acknowledgment sent {"connection_id":178858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:36:59] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08947a4e8012d7c8a0005e9b280000500022a..."} 
[2026-09-10 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947a4e8012d7c8a0005e9b280000500022a..."} 
[2026-09-10 08:36:59] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947a4e8012d7c8a0005e9b280000500022a..."} 
[2026-09-10 08:36:59] local.INFO: Packet analysis {"connection_id":176327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:59] local.INFO: Extracted packet for processing {"connection_id":176327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763136512,"raw_latitude":99201664,"longitude_deg":76.3136512,"latitude_deg":9.9201664,"altitude":5,"angle":2,"satellites":42,"speed":9,"hex_longitude":"2d7c8a00","hex_latitude":"05e9b280","is_valid_coordinates":true} 
[2026-09-10 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986449408001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130639195608711168,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973985232884692992,"note":"Value kept but may cause issues"} 
[2026-09-10 08:36:59] 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-09-10 08:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789009569000,"timestamp_ms":1789009569000,"timestamp_seconds":1789009569,"priority":1,"record_length":96,"hex_timestamp":"000001a08947a4e8"} 
[2026-09-10 08:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-10 08:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986449408001,"66":13048,"154":206,"87":13824,"24":9,"16":130639195608711168,"45":8973985232884692992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-10 08:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986449408001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:36:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 08:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130639195608711168,"km_value":130639195608711.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973985232884692992,"description":"Unknown IO ID 45"} 
[2026-09-10 08:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986449408001,"power":13048,"unknown_154":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8973985232884692992}} 
[2026-09-10 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":176327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:36:59] local.INFO: GPS data processed {"connection_id":176327,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:36:59] local.INFO: Acknowledgment sent {"connection_id":176327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:37:12] local.INFO: TCP Data received {"connection_id":177484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:37:12] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:37:12] local.INFO: Packet analysis {"connection_id":177484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:12] local.INFO: Extracted packet for processing {"connection_id":177484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:37: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-09-10 08:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:37:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":177484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:37:12] local.INFO: GPS data processed {"connection_id":177484,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:37:12] local.INFO: Acknowledgment sent {"connection_id":177484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:37:17] local.INFO: TCP Data received {"connection_id":178859,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:37:17] local.INFO: Processing buffer {"connection_id":178859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:37:17] local.INFO: IMEI packet received {"connection_id":178859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":178859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:37:22] local.INFO: TCP Data received {"connection_id":178859,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:37:22] local.INFO: Processing buffer {"connection_id":178859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:37:22] local.INFO: IMEI packet received {"connection_id":178859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":178859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:37:24] local.INFO: TCP Data received {"connection_id":178859,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089486838012d7ccdc005e9b7780007009626..."} 
[2026-09-10 08:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089486838012d7ccdc005e9b7780007009626..."} 
[2026-09-10 08:37:24] local.INFO: Processing buffer {"connection_id":178859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089486838012d7ccdc005e9b7780007009626..."} 
[2026-09-10 08:37:24] local.INFO: Packet analysis {"connection_id":178859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08948"} 
[2026-09-10 08:37:24] local.INFO: Extracted packet for processing {"connection_id":178859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08948"} 
[2026-09-10 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763153856,"raw_latitude":99202936,"longitude_deg":76.3153856,"latitude_deg":9.9202936,"altitude":7,"angle":150,"satellites":38,"speed":8,"hex_longitude":"2d7ccdc0","hex_latitude":"05e9b778","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986461952001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130640106141777920,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992844056324841472,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009619000,"timestamp_ms":1789009619000,"timestamp_seconds":1789009619,"priority":1,"record_length":96,"hex_timestamp":"000001a089486838"} 
[2026-09-10 08:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:37: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-09-10 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 08:37: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-09-10 08: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-09-10 08:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986461952001,"66":13406,"9":206,"87":13824,"24":8,"16":130640106141777920,"45":8992844056324841472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 08:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986461952001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:37:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 08:37:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130640106141777920,"km_value":130640106141777.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992844056324841472,"description":"Unknown IO ID 45"} 
[2026-09-10 08:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986461952001,"power":13406,"unknown_9":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8992844056324841472}} 
[2026-09-10 08:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":178859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:37:24] local.INFO: GPS data processed {"connection_id":178859,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:37:24] local.INFO: Acknowledgment sent {"connection_id":178859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:37:26] local.INFO: TCP Data received {"connection_id":178858,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08947e368012d0d3d400705c060001000a01e..."} 
[2026-09-10 08:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947e368012d0d3d400705c060001000a01e..."} 
[2026-09-10 08:37:26] local.INFO: Processing buffer {"connection_id":178858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947e368012d0d3d400705c060001000a01e..."} 
[2026-09-10 08:37:26] local.INFO: Packet analysis {"connection_id":178858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:26] local.INFO: Extracted packet for processing {"connection_id":178858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:26] local.INFO: GPS Element Parsed {"raw_longitude":755842368,"raw_latitude":117817440,"longitude_deg":75.5842368,"latitude_deg":11.781744,"altitude":16,"angle":160,"satellites":30,"speed":6,"hex_longitude":"2d0d3d40","hex_latitude":"0705c060","is_valid_coordinates":true} 
[2026-09-10 08:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986453504001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31055023026733056,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953918726233712640,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789009585000,"timestamp_ms":1789009585000,"timestamp_seconds":1789009585,"priority":1,"record_length":96,"hex_timestamp":"000001a08947e368"} 
[2026-09-10 08:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 08:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178858,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178858,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:37:26] 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-09-10 08:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986453504001,"66":14396,"167":206,"94":11008,"24":6,"16":31055023026733056,"45":953918726233712640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 08:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986453504001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:37:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 08:37:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31055023026733056,"km_value":31055023026733.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":953918726233712640,"description":"Unknown IO ID 45"} 
[2026-09-10 08:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986453504001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953918726233712640}} 
[2026-09-10 08:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":178858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:37:26] local.INFO: GPS data processed {"connection_id":178858,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:37:26] local.INFO: Acknowledgment sent {"connection_id":178858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:37:36] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:37:36] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:37:36] local.INFO: IMEI packet received {"connection_id":176328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":176328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:37:41] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:37:41] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:37:41] local.INFO: IMEI packet received {"connection_id":176328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":176328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:37:42] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:37:42] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:37:42] local.INFO: Packet analysis {"connection_id":176328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:42] local.INFO: Extracted packet for processing {"connection_id":176328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:37: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-09-10 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":176328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:37:42] local.INFO: GPS data processed {"connection_id":176328,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:37:42] local.INFO: Acknowledgment sent {"connection_id":176328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:37:46] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:46] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:46] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:37:48] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:48] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:48] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:37:49] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:49] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:49] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:37:53] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:53] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:37:53] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:37:54] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08947e750012d0d3d800705bfc8001100ac1e..."} 
[2026-09-10 08:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947e750012d0d3d800705bfc8001100ac1e..."} 
[2026-09-10 08:37:54] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947e750012d0d3d800705bfc8001100ac1e..."} 
[2026-09-10 08:37:54] local.INFO: Packet analysis {"connection_id":176082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:54] local.INFO: Extracted packet for processing {"connection_id":176082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:37:54] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117817288,"longitude_deg":75.5842432,"latitude_deg":11.7817288,"altitude":17,"angle":172,"satellites":30,"speed":6,"hex_longitude":"2d0d3d80","hex_latitude":"0705bfc8","is_valid_coordinates":true} 
[2026-09-10 08:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986453760001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31055031616667648,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094977855488,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789009586000,"timestamp_ms":1789009586000,"timestamp_seconds":1789009586,"priority":1,"record_length":96,"hex_timestamp":"000001a08947e750"} 
[2026-09-10 08:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 08:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:37:54] 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-09-10 08:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986453760001,"66":14374,"167":206,"94":11008,"24":6,"16":31055031616667648,"45":953989094977855488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 08:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986453760001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:37:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 08:37:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31055031616667648,"km_value":31055031616667.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094977855488,"description":"Unknown IO ID 45"} 
[2026-09-10 08:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986453760001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953989094977855488}} 
[2026-09-10 08:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":176082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:37:54] local.INFO: GPS data processed {"connection_id":176082,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:37:54] local.INFO: Acknowledgment sent {"connection_id":176082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:37:55] local.INFO: TCP Data received {"connection_id":178859,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089486c20012d7cce4005e9b7080007007b26..."} 
[2026-09-10 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089486c20012d7cce4005e9b7080007007b26..."} 
[2026-09-10 08:37:55] local.INFO: Processing buffer {"connection_id":178859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089486c20012d7cce4005e9b7080007007b26..."} 
[2026-09-10 08:37:55] local.INFO: Packet analysis {"connection_id":178859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08948"} 
[2026-09-10 08:37:55] local.INFO: Extracted packet for processing {"connection_id":178859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08948"} 
[2026-09-10 08:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763153984,"raw_latitude":99202824,"longitude_deg":76.3153984,"latitude_deg":9.9202824,"altitude":7,"angle":123,"satellites":38,"speed":7,"hex_longitude":"2d7cce40","hex_latitude":"05e9b708","is_valid_coordinates":true} 
[2026-09-10 08:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986462464001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130640114731712512,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993055162557233152,"note":"Value kept but may cause issues"} 
[2026-09-10 08:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009620000,"timestamp_ms":1789009620000,"timestamp_seconds":1789009620,"priority":1,"record_length":96,"hex_timestamp":"000001a089486c20"} 
[2026-09-10 08:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 08:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986462464001,"66":13820,"9":206,"87":13824,"24":7,"16":130640114731712512,"45":8993055162557233152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 08:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986462464001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:37:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 08:37:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130640114731712512,"km_value":130640114731712.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993055162557233152,"description":"Unknown IO ID 45"} 
[2026-09-10 08:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986462464001,"power":13820,"unknown_9":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8993055162557233152}} 
[2026-09-10 08:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":178859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:37:55] local.INFO: GPS data processed {"connection_id":178859,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:37:55] local.INFO: Acknowledgment sent {"connection_id":178859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:38:12] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:38:12] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:38:12] local.INFO: Packet analysis {"connection_id":176328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:38:12] local.INFO: Extracted packet for processing {"connection_id":176328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:38: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-09-10 08:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:38:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":176328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:38:12] local.INFO: GPS data processed {"connection_id":176328,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:38:12] local.INFO: Acknowledgment sent {"connection_id":176328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:38:17] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:17] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:17] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:38:20] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:20] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:20] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:38:22] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:22] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:38:22] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:38:24] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089493358012d7d150005e9e7280004000029..."} 
[2026-09-10 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089493358012d7d150005e9e7280004000029..."} 
[2026-09-10 08:38:24] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089493358012d7d150005e9e7280004000029..."} 
[2026-09-10 08:38:24] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:38:24] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":99215144,"longitude_deg":76.3172096,"latitude_deg":9.9215144,"altitude":4,"angle":0,"satellites":41,"speed":25,"hex_longitude":"2d7d1500","hex_latitude":"05e9e728","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986475264001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130641424696737792,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012969517162313728,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009671000,"timestamp_ms":1789009671000,"timestamp_seconds":1789009671,"priority":1,"record_length":96,"hex_timestamp":"000001a089493358"} 
[2026-09-10 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-09-10 08:38: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-09-10 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 08:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 08:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986475264001,"66":13798,"192":206,"87":13824,"24":25,"16":130641424696737792,"45":9012969517162313728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-10 08:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986475264001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:38:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 08:38:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130641424696737792,"km_value":130641424696737.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012969517162313728,"description":"Unknown IO ID 45"} 
[2026-09-10 08:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986475264001,"power":13798,"unknown_192":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9012969517162313728}} 
[2026-09-10 08:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:38:24] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:38:24] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:38:25] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089499500012d0d5f800705d910001300751e..."} 
[2026-09-10 08:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089499500012d0d5f800705d910001300751e..."} 
[2026-09-10 08:38:25] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089499500012d0d5f800705d910001300751e..."} 
[2026-09-10 08:38:25] local.INFO: Packet analysis {"connection_id":176082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:38:25] local.INFO: Extracted packet for processing {"connection_id":176082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:38:25] local.INFO: GPS Element Parsed {"raw_longitude":755851136,"raw_latitude":117823760,"longitude_deg":75.5851136,"latitude_deg":11.782376,"altitude":19,"angle":117,"satellites":30,"speed":25,"hex_longitude":"2d0d5f80","hex_latitude":"0705d910","is_valid_coordinates":true} 
[2026-09-10 08:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986481920001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31055851955421184,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963066662978461696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789009696000,"timestamp_ms":1789009696000,"timestamp_seconds":1789009696,"priority":1,"record_length":96,"hex_timestamp":"000001a089499500"} 
[2026-09-10 08:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:38: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-09-10 08:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 08:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:38: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-09-10 08:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986481920001,"66":14439,"167":206,"94":11008,"24":25,"16":31055851955421184,"45":963066662978461696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 08:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986481920001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:38:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 08:38:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31055851955421184,"km_value":31055851955421.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":963066662978461696,"description":"Unknown IO ID 45"} 
[2026-09-10 08:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986481920001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":963066662978461696}} 
[2026-09-10 08:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":176082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:38:25] local.INFO: GPS data processed {"connection_id":176082,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:38:25] local.INFO: Acknowledgment sent {"connection_id":176082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:38:36] local.INFO: TCP Data received {"connection_id":177485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:38:36] local.INFO: Processing buffer {"connection_id":177485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:38:36] local.INFO: IMEI packet received {"connection_id":177485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":177485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:38:41] local.INFO: TCP Data received {"connection_id":177485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:38:41] local.INFO: Processing buffer {"connection_id":177485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:38:41] local.INFO: IMEI packet received {"connection_id":177485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":177485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:38:42] local.INFO: TCP Data received {"connection_id":177485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:38:42] local.INFO: Processing buffer {"connection_id":177485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:38:42] local.INFO: Packet analysis {"connection_id":177485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:38:42] local.INFO: Extracted packet for processing {"connection_id":177485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:38: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-09-10 08:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:38:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":177485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:38:42] local.INFO: GPS data processed {"connection_id":177485,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:38:42] local.INFO: Acknowledgment sent {"connection_id":177485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:38:46] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:46] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:46] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:38:48] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:48] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:48] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:38:49] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:49] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:49] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:38:49] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:49] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:38:49] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:39:06] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089495e50012d7d160005ea0cf00007000228..."} 
[2026-09-10 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089495e50012d7d160005ea0cf00007000228..."} 
[2026-09-10 08:39:06] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089495e50012d7d160005ea0cf00007000228..."} 
[2026-09-10 08:39:06] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:39:06] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763172352,"raw_latitude":99224816,"longitude_deg":76.3172352,"latitude_deg":9.9224816,"altitude":7,"angle":2,"satellites":40,"speed":37,"hex_longitude":"2d7d1600","hex_latitude":"05ea0cf0","is_valid_coordinates":true} 
[2026-09-10 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986475776001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130641892848173056,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013110254650992640,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789009682000,"timestamp_ms":1789009682000,"timestamp_seconds":1789009682,"priority":1,"record_length":96,"hex_timestamp":"000001a089495e50"} 
[2026-09-10 08:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 08:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986475776001,"66":13820,"154":206,"87":13824,"24":37,"16":130641892848173056,"45":9013110254650992640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-10 08:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986475776001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130641892848173056,"km_value":130641892848173.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013110254650992640,"description":"Unknown IO ID 45"} 
[2026-09-10 08:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986475776001,"power":13820,"unknown_154":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9013110254650992640}} 
[2026-09-10 08:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:39:06] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:39:06] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:39:13] local.INFO: TCP Data received {"connection_id":177485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:39:13] local.INFO: Processing buffer {"connection_id":177485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:39:13] local.INFO: Packet analysis {"connection_id":177485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:39:13] local.INFO: Extracted packet for processing {"connection_id":177485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:39: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-09-10 08:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:39:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":177485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:39:13] local.INFO: GPS data processed {"connection_id":177485,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:39:13] local.INFO: Acknowledgment sent {"connection_id":177485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:39:22] local.INFO: TCP Data received {"connection_id":177486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:39:22] local.INFO: Processing buffer {"connection_id":177486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:39:22] local.INFO: IMEI packet received {"connection_id":177486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":177486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:39:27] local.INFO: TCP Data received {"connection_id":177486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:39:27] local.INFO: Processing buffer {"connection_id":177486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:39:27] local.INFO: IMEI packet received {"connection_id":177486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":177486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:39:28] local.INFO: TCP Data received {"connection_id":177486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089498948012d7d180005ea2fe0000900042a..."} 
[2026-09-10 08:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089498948012d7d180005ea2fe0000900042a..."} 
[2026-09-10 08:39:28] local.INFO: Processing buffer {"connection_id":177486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089498948012d7d180005ea2fe0000900042a..."} 
[2026-09-10 08:39:28] local.INFO: Packet analysis {"connection_id":177486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:39:28] local.INFO: Extracted packet for processing {"connection_id":177486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99233760,"longitude_deg":76.3172864,"latitude_deg":9.923376,"altitude":9,"angle":4,"satellites":42,"speed":24,"hex_longitude":"2d7d1800","hex_latitude":"05ea2fe0","is_valid_coordinates":true} 
[2026-09-10 08:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986478592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130642326639869952,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729630179328,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:28] 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-09-10 08:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789009693000,"timestamp_ms":1789009693000,"timestamp_seconds":1789009693,"priority":1,"record_length":96,"hex_timestamp":"000001a089498948"} 
[2026-09-10 08:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 08:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986478592001,"66":13472,"154":206,"87":13824,"24":24,"16":130642326639869952,"45":9013391729630179328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-10 08:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986478592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:39:28] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 08:39:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130642326639869952,"km_value":130642326639869.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729630179328,"description":"Unknown IO ID 45"} 
[2026-09-10 08:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986478592001,"power":13472,"unknown_154":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9013391729630179328}} 
[2026-09-10 08:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":177486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:39:28] local.INFO: GPS data processed {"connection_id":177486,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:39:28] local.INFO: Acknowledgment sent {"connection_id":177486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:39:33] local.INFO: TCP Data received {"connection_id":177486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089499118012d7d180005ea33c0000801602b..."} 
[2026-09-10 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089499118012d7d180005ea33c0000801602b..."} 
[2026-09-10 08:39:33] local.INFO: Processing buffer {"connection_id":177486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089499118012d7d180005ea33c0000801602b..."} 
[2026-09-10 08:39:33] local.INFO: Packet analysis {"connection_id":177486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:39:33] local.INFO: Extracted packet for processing {"connection_id":177486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99234752,"longitude_deg":76.3172864,"latitude_deg":9.9234752,"altitude":8,"angle":352,"satellites":43,"speed":15,"hex_longitude":"2d7d1800","hex_latitude":"05ea33c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986481408001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130642373884510208,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679585890304,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:33] 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-09-10 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789009695000,"timestamp_ms":1789009695000,"timestamp_seconds":1789009695,"priority":1,"record_length":96,"hex_timestamp":"000001a089499118"} 
[2026-09-10 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-09-10 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 08:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986481408001,"66":13613,"154":206,"87":13824,"24":15,"16":130642373884510208,"45":9013954679585890304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-10 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986481408001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:39:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 08:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130642373884510208,"km_value":130642373884510.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679585890304,"description":"Unknown IO ID 45"} 
[2026-09-10 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986481408001,"power":13613,"unknown_154":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9013954679585890304}} 
[2026-09-10 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":177486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:39:33] local.INFO: GPS data processed {"connection_id":177486,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:39:33] local.INFO: Acknowledgment sent {"connection_id":177486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:39:36] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:39:36] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:39:36] local.INFO: IMEI packet received {"connection_id":176329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":176329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:39:41] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:39:41] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:39:41] local.INFO: IMEI packet received {"connection_id":176329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":176329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:39:42] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:39:42] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:39:42] local.INFO: Packet analysis {"connection_id":176329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:39:42] local.INFO: Extracted packet for processing {"connection_id":176329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:39: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-09-10 08:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":176329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:39:42] local.INFO: GPS data processed {"connection_id":176329,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:39:42] local.INFO: Acknowledgment sent {"connection_id":176329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:40:12] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:40:12] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:40:12] local.INFO: Packet analysis {"connection_id":176329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:40:12] local.INFO: Extracted packet for processing {"connection_id":176329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:40: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-09-10 08:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:40:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":176329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:40:12] local.INFO: GPS data processed {"connection_id":176329,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:40:12] local.INFO: Acknowledgment sent {"connection_id":176329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:40:17] local.INFO: TCP Data received {"connection_id":176086,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:40:17] local.INFO: Processing buffer {"connection_id":176086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:40:17] local.INFO: IMEI packet received {"connection_id":176086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":176086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:40:22] local.INFO: TCP Data received {"connection_id":176086,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:40:22] local.INFO: Processing buffer {"connection_id":176086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:40:22] local.INFO: IMEI packet received {"connection_id":176086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":176086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:40:24] local.INFO: TCP Data received {"connection_id":176086,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089499cd0012d7d178005ea37300008000b2b..."} 
[2026-09-10 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089499cd0012d7d178005ea37300008000b2b..."} 
[2026-09-10 08:40:24] local.INFO: Processing buffer {"connection_id":176086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089499cd0012d7d178005ea37300008000b2b..."} 
[2026-09-10 08:40:24] local.INFO: Packet analysis {"connection_id":176086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:40:24] local.INFO: Extracted packet for processing {"connection_id":176086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08949"} 
[2026-09-10 08:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99235632,"longitude_deg":76.3172736,"latitude_deg":9.9235632,"altitude":8,"angle":11,"satellites":43,"speed":9,"hex_longitude":"2d7d1780","hex_latitude":"05ea3730","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986481920001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130642416834183168,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679586144256,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40: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-09-10 08:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009698000,"timestamp_ms":1789009698000,"timestamp_seconds":1789009698,"priority":1,"record_length":96,"hex_timestamp":"000001a089499cd0"} 
[2026-09-10 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-09-10 08:40: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-09-10 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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-10 08:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986481920001,"66":13472,"154":206,"87":13824,"24":9,"16":130642416834183168,"45":9013954679586144256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-10 08:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986481920001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:40:24] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 08:40:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130642416834183168,"km_value":130642416834183.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679586144256,"description":"Unknown IO ID 45"} 
[2026-09-10 08:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986481920001,"power":13472,"unknown_154":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9013954679586144256}} 
[2026-09-10 08:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":176086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:40:24] local.INFO: GPS data processed {"connection_id":176086,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:40:24] local.INFO: Acknowledgment sent {"connection_id":176086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:40:36] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:40:36] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:40:36] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:40:41] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:40:41] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:40:41] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:40:42] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:40:42] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:40:42] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:40:42] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:40: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-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:40:42] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:40:42] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:40:55] local.INFO: TCP Data received {"connection_id":176086,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894bcb68012d7d208005eaff88000b011928..."} 
[2026-09-10 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894bcb68012d7d208005eaff88000b011928..."} 
[2026-09-10 08:40:55] local.INFO: Processing buffer {"connection_id":176086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894bcb68012d7d208005eaff88000b011928..."} 
[2026-09-10 08:40:55] local.INFO: Packet analysis {"connection_id":176086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894b"} 
[2026-09-10 08:40:55] local.INFO: Extracted packet for processing {"connection_id":176086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894b"} 
[2026-09-10 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99286920,"longitude_deg":76.317504,"latitude_deg":9.928692,"altitude":11,"angle":281,"satellites":40,"speed":7,"hex_longitude":"2d7d2080","hex_latitude":"05eaff88","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986519040001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130644929390051328,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323134052352,"note":"Value kept but may cause issues"} 
[2026-09-10 08:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009841000,"timestamp_ms":1789009841000,"timestamp_seconds":1789009841,"priority":1,"record_length":96,"hex_timestamp":"000001a0894bcb68"} 
[2026-09-10 08:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 08:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986519040001,"66":13526,"158":206,"87":13824,"24":7,"16":130644929390051328,"45":9016558323134052352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986519040001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:40:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:40:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130644929390051328,"km_value":130644929390051.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323134052352,"description":"Unknown IO ID 45"} 
[2026-09-10 08:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986519040001,"power":13526,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9016558323134052352}} 
[2026-09-10 08:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":176086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:40:55] local.INFO: GPS data processed {"connection_id":176086,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:40:55] local.INFO: Acknowledgment sent {"connection_id":176086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:41:13] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:41:13] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:41:13] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:41:13] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08: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-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:41: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-09-10 08:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:41: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-09-10 08:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:41:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:41:13] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:41:13] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:41:18] local.INFO: TCP Data received {"connection_id":178861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:41:18] local.INFO: Processing buffer {"connection_id":178861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:41:18] local.INFO: IMEI packet received {"connection_id":178861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":178861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:41:23] local.INFO: TCP Data received {"connection_id":178861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:41:23] local.INFO: Processing buffer {"connection_id":178861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:41:23] local.INFO: IMEI packet received {"connection_id":178861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":178861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:41:24] local.INFO: TCP Data received {"connection_id":178861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894bcf50012d7d200005eaff80000b010728..."} 
[2026-09-10 08:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894bcf50012d7d200005eaff80000b010728..."} 
[2026-09-10 08:41:24] local.INFO: Processing buffer {"connection_id":178861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894bcf50012d7d200005eaff80000b010728..."} 
[2026-09-10 08:41:24] local.INFO: Packet analysis {"connection_id":178861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894b"} 
[2026-09-10 08:41:24] local.INFO: Extracted packet for processing {"connection_id":178861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894b"} 
[2026-09-10 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99286912,"longitude_deg":76.3174912,"latitude_deg":9.9286912,"altitude":11,"angle":263,"satellites":40,"speed":5,"hex_longitude":"2d7d2000","hex_latitude":"05eaff80","is_valid_coordinates":true} 
[2026-09-10 08:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986519296001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130644933685018624,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216901539840,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41: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-09-10 08:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789009842000,"timestamp_ms":1789009842000,"timestamp_seconds":1789009842,"priority":1,"record_length":96,"hex_timestamp":"000001a0894bcf50"} 
[2026-09-10 08:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:41: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-09-10 08:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 08:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986519296001,"66":13254,"158":206,"87":13824,"24":5,"16":130644933685018624,"45":9016347216901539840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986519296001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:41:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:41:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130644933685018624,"km_value":130644933685018.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216901539840,"description":"Unknown IO ID 45"} 
[2026-09-10 08:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986519296001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9016347216901539840}} 
[2026-09-10 08:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":178861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:41:24] local.INFO: GPS data processed {"connection_id":178861,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:41:24] local.INFO: Acknowledgment sent {"connection_id":178861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:41:36] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:41:36] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:41:36] local.INFO: IMEI packet received {"connection_id":176088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":176088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:41:41] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:41:41] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:41:41] local.INFO: IMEI packet received {"connection_id":176088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":176088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:41:42] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:41:42] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08947cfe0012cee6fc0072e2ba80034006b23..."} 
[2026-09-10 08:41:42] local.INFO: Packet analysis {"connection_id":176088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:41:42] local.INFO: Extracted packet for processing {"connection_id":176088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08947"} 
[2026-09-10 08:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986375424001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009580000,"timestamp_ms":1789009580000,"timestamp_seconds":1789009580,"priority":1,"record_length":96,"hex_timestamp":"000001a08947cfe0"} 
[2026-09-10 08:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:41: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-09-10 08:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986375424001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986375424001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:41:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986375424001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":176088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:41:42] local.INFO: GPS data processed {"connection_id":176088,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:41:42] local.INFO: Acknowledgment sent {"connection_id":176088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:41:55] local.INFO: TCP Data received {"connection_id":178861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894bd720012d7d1f0005eaff28000a00f52a..."} 
[2026-09-10 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894bd720012d7d1f0005eaff28000a00f52a..."} 
[2026-09-10 08:41:55] local.INFO: Processing buffer {"connection_id":178861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894bd720012d7d1f0005eaff28000a00f52a..."} 
[2026-09-10 08:41:55] local.INFO: Packet analysis {"connection_id":178861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894b"} 
[2026-09-10 08:41:55] local.INFO: Extracted packet for processing {"connection_id":178861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894b"} 
[2026-09-10 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99286824,"longitude_deg":76.3174656,"latitude_deg":9.9286824,"altitude":10,"angle":245,"satellites":42,"speed":9,"hex_longitude":"2d7d1f00","hex_latitude":"05eaff28","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986519552001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130644946569920512,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479413182464,"note":"Value kept but may cause issues"} 
[2026-09-10 08:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009844000,"timestamp_ms":1789009844000,"timestamp_seconds":1789009844,"priority":1,"record_length":96,"hex_timestamp":"000001a0894bd720"} 
[2026-09-10 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-09-10 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":198,"data_length":795,"current_offset":136} 
[2026-09-10 08:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986519552001,"66":13798,"158":206,"87":13824,"24":9,"16":130644946569920512,"45":9016206479413182464},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986519552001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:41:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:41:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130644946569920512,"km_value":130644946569920.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479413182464,"description":"Unknown IO ID 45"} 
[2026-09-10 08:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986519552001,"power":13798,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9016206479413182464}} 
[2026-09-10 08:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":178861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:41:56] local.INFO: GPS data processed {"connection_id":178861,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:41:56] local.INFO: Acknowledgment sent {"connection_id":178861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:42:13] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:42:13] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:42:13] local.INFO: Packet analysis {"connection_id":176088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:13] local.INFO: Extracted packet for processing {"connection_id":176088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:42: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-09-10 08:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:42: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-09-10 08:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:42:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":176088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:42:13] local.INFO: GPS data processed {"connection_id":176088,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:42:13] local.INFO: Acknowledgment sent {"connection_id":176088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:42:15] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:15] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:15] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:42:17] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:17] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:17] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:42:21] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:21] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:42:21] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:42:22] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c15a0012d7d064005eaf330000b00e82a..."} 
[2026-09-10 08:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c15a0012d7d064005eaf330000b00e82a..."} 
[2026-09-10 08:42:22] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c15a0012d7d064005eaf330000b00e82a..."} 
[2026-09-10 08:42:22] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:22] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":99283760,"longitude_deg":76.316832,"latitude_deg":9.928376,"altitude":11,"angle":232,"satellites":42,"speed":15,"hex_longitude":"2d7d0640","hex_latitude":"05eaf330","is_valid_coordinates":true} 
[2026-09-10 08:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986520064001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130645285872336896,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004436449280,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789009860000,"timestamp_ms":1789009860000,"timestamp_seconds":1789009860,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c15a0"} 
[2026-09-10 08:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:42: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-09-10 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 08:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986520064001,"66":13515,"158":206,"87":13824,"24":15,"16":130645285872336896,"45":9015925004436449280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986520064001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:42:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:42:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130645285872336896,"km_value":130645285872336.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004436449280,"description":"Unknown IO ID 45"} 
[2026-09-10 08:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986520064001,"power":13515,"unknown_158":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9015925004436449280}} 
[2026-09-10 08:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:42:22] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:42:22] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:42:36] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:42:36] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:42:36] local.INFO: IMEI packet received {"connection_id":176089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":176089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:42:41] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:42:41] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:42:41] local.INFO: IMEI packet received {"connection_id":176089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":176089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:42:42] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:42:42] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:42:42] local.INFO: Packet analysis {"connection_id":176089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:42] local.INFO: Extracted packet for processing {"connection_id":176089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:42: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-09-10 08: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:42:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":176089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:42:42] local.INFO: GPS data processed {"connection_id":176089,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:42:42] local.INFO: Acknowledgment sent {"connection_id":176089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:42:53] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c3cb0012d7d030005eaf130000a010129..."} 
[2026-09-10 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c3cb0012d7d030005eaf130000a010129..."} 
[2026-09-10 08:42:53] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c3cb0012d7d030005eaf130000a010129..."} 
[2026-09-10 08:42:53] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:53] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763167488,"raw_latitude":99283248,"longitude_deg":76.3167488,"latitude_deg":9.9283248,"altitude":10,"angle":257,"satellites":41,"speed":7,"hex_longitude":"2d7d0300","hex_latitude":"05eaf130","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986524160001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130645341706911744,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008958498762076160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:42: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-09-10 08:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789009870000,"timestamp_ms":1789009870000,"timestamp_seconds":1789009870,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c3cb0"} 
[2026-09-10 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-09-10 08:42: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-09-10 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 08:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986524160001,"66":13580,"158":206,"87":13824,"24":7,"16":130645341706911744,"45":9008958498762076160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986524160001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:42:53] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:42:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130645341706911744,"km_value":130645341706911.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008958498762076160,"description":"Unknown IO ID 45"} 
[2026-09-10 08:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986524160001,"power":13580,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9008958498762076160}} 
[2026-09-10 08:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:42:53] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:42:53] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:43:13] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:43:13] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:43:13] local.INFO: Packet analysis {"connection_id":176089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:13] local.INFO: Extracted packet for processing {"connection_id":176089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:43: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-09-10 08:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:43:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":176089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:43:13] local.INFO: GPS data processed {"connection_id":176089,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:43:13] local.INFO: Acknowledgment sent {"connection_id":176089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:43:17] local.INFO: TCP Data received {"connection_id":178862,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:43:17] local.INFO: Processing buffer {"connection_id":178862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:43:17] local.INFO: IMEI packet received {"connection_id":178862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":178862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:43:22] local.INFO: TCP Data received {"connection_id":178862,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:43:22] local.INFO: Processing buffer {"connection_id":178862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:43:22] local.INFO: IMEI packet received {"connection_id":178862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":178862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:43:23] local.INFO: TCP Data received {"connection_id":178862,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c63c0012d7cf84005eaee58000a00f428..."} 
[2026-09-10 08:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c63c0012d7cf84005eaee58000a00f428..."} 
[2026-09-10 08:43:23] local.INFO: Processing buffer {"connection_id":178862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c63c0012d7cf84005eaee58000a00f428..."} 
[2026-09-10 08:43:23] local.INFO: Packet analysis {"connection_id":178862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:23] local.INFO: Extracted packet for processing {"connection_id":178862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763164736,"raw_latitude":99282520,"longitude_deg":76.3164736,"latitude_deg":9.928252,"altitude":10,"angle":244,"satellites":40,"speed":11,"hex_longitude":"2d7cf840","hex_latitude":"05eaee58","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986526720001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130645474850897920,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008043705087635456,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789009880000,"timestamp_ms":1789009880000,"timestamp_seconds":1789009880,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c63c0"} 
[2026-09-10 08:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632420,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2303443864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3448391721124102144,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4287102987,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145774238,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376784,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942541312,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2431950305508720651,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964248569499223,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:23] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,158,87,24,241,157,16,37,160,21,45,64,243,11,42,10,66,215,255,36,207,1,240,198,227,137,234,4,113,205,7,199,33,56,41,239,52,2,208,5,13,125,50,54],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-10 08:43:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720858690961735680,"timestamp_seconds":720858690961735.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986526720001,"66":13428,"158":206,"87":13824,"24":11,"16":130645474850897920,"45":9008043705087635456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986526720001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:43:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:43:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130645474850897920,"km_value":130645474850897.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008043705087635456,"description":"Unknown IO ID 45"} 
[2026-09-10 08:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986526720001,"power":13428,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9008043705087635456}} 
[2026-09-10 08:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":178862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:43:23] local.INFO: GPS data processed {"connection_id":178862,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:43:23] local.INFO: Acknowledgment sent {"connection_id":178862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:43:36] local.INFO: TCP Data received {"connection_id":178863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:43:36] local.INFO: Processing buffer {"connection_id":178863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:43:36] local.INFO: IMEI packet received {"connection_id":178863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":178863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:43:41] local.INFO: TCP Data received {"connection_id":178863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:43:41] local.INFO: Processing buffer {"connection_id":178863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:43:41] local.INFO: IMEI packet received {"connection_id":178863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":178863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:43:42] local.INFO: TCP Data received {"connection_id":178863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:43:42] local.INFO: Processing buffer {"connection_id":178863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:43:42] local.INFO: Packet analysis {"connection_id":178863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:42] local.INFO: Extracted packet for processing {"connection_id":178863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:43: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-09-10 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:43:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":178863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:43:42] local.INFO: GPS data processed {"connection_id":178863,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:43:42] local.INFO: Acknowledgment sent {"connection_id":178863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:43:50] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:43:50] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:43:50] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:43:54] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:43:54] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:43:54] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:43:54] local.INFO: TCP Data received {"connection_id":178862,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894cb1e0012d7cf68005eaee38000900fa20..."} 
[2026-09-10 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894cb1e0012d7cf68005eaee38000900fa20..."} 
[2026-09-10 08:43:54] local.INFO: Processing buffer {"connection_id":178862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894cb1e0012d7cf68005eaee38000900fa20..."} 
[2026-09-10 08:43:54] local.INFO: Packet analysis {"connection_id":178862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:54] local.INFO: Extracted packet for processing {"connection_id":178862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763164288,"raw_latitude":99282488,"longitude_deg":76.3164288,"latitude_deg":9.9282488,"altitude":9,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d7cf680","hex_latitude":"05eaee38","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529280001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130645500620701696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005017849087809536,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789009900000,"timestamp_ms":1789009900000,"timestamp_seconds":1789009900,"priority":1,"record_length":96,"hex_timestamp":"000001a0894cb1e0"} 
[2026-09-10 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-09-10 08:43: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-09-10 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":116,"data_length":795,"current_offset":136} 
[2026-09-10 08:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529280001,"66":13276,"158":206,"87":13824,"24":0,"16":130645500620701696,"45":9005017849087809536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529280001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:43:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:43:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130645500620701696,"km_value":130645500620701.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005017849087809536,"description":"Unknown IO ID 45"} 
[2026-09-10 08:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529280001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9005017849087809536}} 
[2026-09-10 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":178862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:43:54] local.INFO: GPS data processed {"connection_id":178862,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:43:54] local.INFO: Acknowledgment sent {"connection_id":178862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:43:55] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0894dfa00012d0e644007063c48001f01241f..."} 
[2026-09-10 08:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894dfa00012d0e644007063c48001f01241f..."} 
[2026-09-10 08:43:55] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894dfa00012d0e644007063c48001f01241f..."} 
[2026-09-10 08:43:55] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:43:55] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755917888,"raw_latitude":117849160,"longitude_deg":75.5917888,"latitude_deg":11.784916,"altitude":31,"angle":292,"satellites":31,"speed":17,"hex_longitude":"2d0e6440","hex_latitude":"07063c48","is_valid_coordinates":true} 
[2026-09-10 08:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986555648001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31061182009835520,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037446425580636160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:43: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-09-10 08:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789009984000,"timestamp_ms":1789009984000,"timestamp_seconds":1789009984,"priority":1,"record_length":96,"hex_timestamp":"000001a0894dfa00"} 
[2026-09-10 08:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 08:43: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-09-10 08:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:43: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-09-10 08:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986555648001,"66":14461,"165":206,"94":11008,"24":17,"16":31061182009835520,"45":1037446425580636160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 08:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986555648001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:43:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 08:43:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31061182009835520,"km_value":31061182009835.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037446425580636160,"description":"Unknown IO ID 45"} 
[2026-09-10 08:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986555648001,"power":14461,"unknown_165":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":1037446425580636160}} 
[2026-09-10 08:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:43:55] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:43:55] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:44:12] local.INFO: TCP Data received {"connection_id":178863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:44:12] local.INFO: Processing buffer {"connection_id":178863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:44:12] local.INFO: Packet analysis {"connection_id":178863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:44:12] local.INFO: Extracted packet for processing {"connection_id":178863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:44: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-09-10 08:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:44:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":178863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:44:12] local.INFO: GPS data processed {"connection_id":178863,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:44:12] local.INFO: Acknowledgment sent {"connection_id":178863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:44:17] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:44:17] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:44:17] local.INFO: IMEI packet received {"connection_id":176333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":176333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:44:22] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:44:22] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:44:22] local.INFO: IMEI packet received {"connection_id":176333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":176333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:44:23] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894d03e8012d7cf68005eaee38000900fa22..."} 
[2026-09-10 08:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894d03e8012d7cf68005eaee38000900fa22..."} 
[2026-09-10 08:44:23] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894d03e8012d7cf68005eaee38000900fa22..."} 
[2026-09-10 08:44:23] local.INFO: Packet analysis {"connection_id":176333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:44:23] local.INFO: Extracted packet for processing {"connection_id":176333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763164288,"raw_latitude":99282488,"longitude_deg":76.3164288,"latitude_deg":9.9282488,"altitude":9,"angle":250,"satellites":34,"speed":0,"hex_longitude":"2d7cf680","hex_latitude":"05eaee38","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986534400001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130645500620701696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004525267878557696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789009921000,"timestamp_ms":1789009921000,"timestamp_seconds":1789009921,"priority":1,"record_length":96,"hex_timestamp":"000001a0894d03e8"} 
[2026-09-10 08:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 08:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986534400001,"66":13526,"158":206,"87":13824,"24":0,"16":130645500620701696,"45":9004525267878557696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986534400001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:44:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:44:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130645500620701696,"km_value":130645500620701.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004525267878557696,"description":"Unknown IO ID 45"} 
[2026-09-10 08:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986534400001,"power":13526,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9004525267878557696}} 
[2026-09-10 08:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":176333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:44:23] local.INFO: GPS data processed {"connection_id":176333,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:44:23] local.INFO: Acknowledgment sent {"connection_id":176333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:44:26] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0894e09a0012d0e5b8007063ea8001f01171e..."} 
[2026-09-10 08:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894e09a0012d0e5b8007063ea8001f01171e..."} 
[2026-09-10 08:44:26] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894e09a0012d0e5b8007063ea8001f01171e..."} 
[2026-09-10 08:44:26] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894e"} 
[2026-09-10 08:44:26] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894e"} 
[2026-09-10 08:44:26] local.INFO: GPS Element Parsed {"raw_longitude":755915648,"raw_latitude":117849768,"longitude_deg":75.5915648,"latitude_deg":11.7849768,"altitude":31,"angle":279,"satellites":30,"speed":25,"hex_longitude":"2d0e5b80","hex_latitude":"07063ea8","is_valid_coordinates":true} 
[2026-09-10 08:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986555904001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31061263614214144,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037024213115619328,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789009988000,"timestamp_ms":1789009988000,"timestamp_seconds":1789009988,"priority":1,"record_length":96,"hex_timestamp":"000001a0894e09a0"} 
[2026-09-10 08:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 08:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:44:26] 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-09-10 08:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986555904001,"66":14428,"165":206,"94":11008,"24":25,"16":31061263614214144,"45":1037024213115619328},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 08:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986555904001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:44:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 08:44:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 08:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31061263614214144,"km_value":31061263614214.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037024213115619328,"description":"Unknown IO ID 45"} 
[2026-09-10 08:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986555904001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":1037024213115619328}} 
[2026-09-10 08:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792805,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:44:26] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:44:26] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:44:36] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:44:36] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:44:36] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:44:41] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:44:41] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:44:41] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:44:42] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:44:42] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:44:42] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:44:42] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:44: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-09-10 08:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:44:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:44:42] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:44:42] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:44:52] local.INFO: TCP Data received {"connection_id":178864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:52] local.INFO: Processing buffer {"connection_id":178864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:52] local.INFO: IMEI packet received {"connection_id":178864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":178864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:44:53] local.INFO: TCP Data received {"connection_id":178864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:53] local.INFO: Processing buffer {"connection_id":178864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:53] local.INFO: IMEI packet received {"connection_id":178864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":178864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:44:54] local.INFO: TCP Data received {"connection_id":178864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:54] local.INFO: Processing buffer {"connection_id":178864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:54] local.INFO: IMEI packet received {"connection_id":178864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":178864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:44:54] local.INFO: TCP Data received {"connection_id":178864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:54] local.INFO: Processing buffer {"connection_id":178864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:44:54] local.INFO: IMEI packet received {"connection_id":178864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":178864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:44:54] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894d36b0012d7cf1c005eaede0000a010720..."} 
[2026-09-10 08:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894d36b0012d7cf1c005eaede0000a010720..."} 
[2026-09-10 08:44:54] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894d36b0012d7cf1c005eaede0000a010720..."} 
[2026-09-10 08:44:54] local.INFO: Packet analysis {"connection_id":176333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:44:54] local.INFO: Extracted packet for processing {"connection_id":176333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763163072,"raw_latitude":99282400,"longitude_deg":76.3163072,"latitude_deg":9.92824,"altitude":10,"angle":263,"satellites":32,"speed":8,"hex_longitude":"2d7cf1c0","hex_latitude":"05eaede0","is_valid_coordinates":true} 
[2026-09-10 08:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986539776001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130645560750243840,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004525267878557696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789009934000,"timestamp_ms":1789009934000,"timestamp_seconds":1789009934,"priority":1,"record_length":96,"hex_timestamp":"000001a0894d36b0"} 
[2026-09-10 08:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:44: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-09-10 08:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 08:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986539776001,"66":13319,"158":206,"87":13824,"24":8,"16":130645560750243840,"45":9004525267878557696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986539776001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:44:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:44:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130645560750243840,"km_value":130645560750243.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004525267878557696,"description":"Unknown IO ID 45"} 
[2026-09-10 08:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986539776001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9004525267878557696}} 
[2026-09-10 08:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":176333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:44:54] local.INFO: GPS data processed {"connection_id":176333,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:44:54] local.INFO: Acknowledgment sent {"connection_id":176333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:45:12] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:12] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:12] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:45:12] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:45: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-09-10 08: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:45:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:45:12] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:45:12] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:45:17] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:45:17] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:45:17] local.INFO: IMEI packet received {"connection_id":176092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":176092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:45:23] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:45:23] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:45:23] local.INFO: IMEI packet received {"connection_id":176092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":176092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:45:23] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0894d4e20012d7ce8c005eaece0000901121f..."} 
[2026-09-10 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894d4e20012d7ce8c005eaece0000901121f..."} 
[2026-09-10 08:45:23] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894d4e20012d7ce8c005eaece0000901121f..."} 
[2026-09-10 08:45:23] local.INFO: Packet analysis {"connection_id":176092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:45:23] local.INFO: Extracted packet for processing {"connection_id":176092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894d"} 
[2026-09-10 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763160768,"raw_latitude":99282144,"longitude_deg":76.3160768,"latitude_deg":9.9282144,"altitude":9,"angle":274,"satellites":31,"speed":14,"hex_longitude":"2d7ce8c0","hex_latitude":"05eaece0","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986543104001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130645672419393536,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003188261739159552,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789009940000,"timestamp_ms":1789009940000,"timestamp_seconds":1789009940,"priority":1,"record_length":96,"hex_timestamp":"000001a0894d4e20"} 
[2026-09-10 08:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2303448864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-36028749757077504,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827408,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942590464,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.WARNING: Large IO value detected {"io_id":75,"raw_value":-3508302814837211131,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,158,87,24,241,157,16,37,160,3,45,128,238,9,34,10,66,177,32,99,64,1,240,116,227,137,234,4,113,205,7,21,6,48,42,239,52,2,208,5,230,75],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-10 08:45:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720865249376862208,"timestamp_seconds":720865249376862.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986543104001,"66":13906,"158":206,"87":13824,"24":14,"16":130645672419393536,"45":9003188261739159552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 08:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986543104001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:45:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 08:45:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130645672419393536,"km_value":130645672419393.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003188261739159552,"description":"Unknown IO ID 45"} 
[2026-09-10 08:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986543104001,"power":13906,"unknown_158":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9003188261739159552}} 
[2026-09-10 08:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":176092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:45:23] local.INFO: GPS data processed {"connection_id":176092,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:45:23] local.INFO: Acknowledgment sent {"connection_id":176092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:45:36] local.INFO: TCP Data received {"connection_id":177487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:45:36] local.INFO: Processing buffer {"connection_id":177487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:45:36] local.INFO: IMEI packet received {"connection_id":177487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":177487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:45:50] local.INFO: TCP Data received {"connection_id":177487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:45:50] local.INFO: Processing buffer {"connection_id":177487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:45:50] local.INFO: IMEI packet received {"connection_id":177487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":177487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:45:50] local.INFO: TCP Data received {"connection_id":177487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:50] local.INFO: Processing buffer {"connection_id":177487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:50] local.INFO: Packet analysis {"connection_id":177487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:45:50] local.INFO: Extracted packet for processing {"connection_id":177487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:45:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":177487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:45:50] local.INFO: GPS data processed {"connection_id":177487,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:45:50] local.INFO: Acknowledgment sent {"connection_id":177487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:45:51] local.INFO: TCP Data received {"connection_id":177487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:51] local.INFO: Processing buffer {"connection_id":177487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:45:51] local.INFO: Packet analysis {"connection_id":177487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:45:51] local.INFO: Extracted packet for processing {"connection_id":177487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 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-09-10 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":177487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:45:51] local.INFO: GPS data processed {"connection_id":177487,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:45:51] local.INFO: Acknowledgment sent {"connection_id":177487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:45:55] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089505b60012d7c598005eac8f00000010e22..."} 
[2026-09-10 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089505b60012d7c598005eac8f00000010e22..."} 
[2026-09-10 08:45:55] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089505b60012d7c598005eac8f00000010e22..."} 
[2026-09-10 08:45:55] local.INFO: Packet analysis {"connection_id":176092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:45:55] local.INFO: Extracted packet for processing {"connection_id":176092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763124096,"raw_latitude":99272944,"longitude_deg":76.3124096,"latitude_deg":9.9272944,"altitude":0,"angle":270,"satellites":34,"speed":30,"hex_longitude":"2d7c5980","hex_latitude":"05eac8f0","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986591488001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130647510665396224,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795694690304,"note":"Value kept but may cause issues"} 
[2026-09-10 08:45: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-09-10 08:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789010140000,"timestamp_ms":1789010140000,"timestamp_seconds":1789010140,"priority":1,"record_length":96,"hex_timestamp":"000001a089505b60"} 
[2026-09-10 08:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 08:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986591488001,"66":13678,"8":206,"87":13824,"24":30,"16":130647510665396224,"45":8970466795694690304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 08:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986591488001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:45:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 08:45:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130647510665396224,"km_value":130647510665396.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795694690304,"description":"Unknown IO ID 45"} 
[2026-09-10 08:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986591488001,"power":13678,"unknown_8":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8970466795694690304}} 
[2026-09-10 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":176092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:45:55] local.INFO: GPS data processed {"connection_id":176092,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:45:55] local.INFO: Acknowledgment sent {"connection_id":176092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:46:17] local.INFO: TCP Data received {"connection_id":177488,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:46:17] local.INFO: Processing buffer {"connection_id":177488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:46:17] local.INFO: IMEI packet received {"connection_id":177488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":177488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:46:22] local.INFO: TCP Data received {"connection_id":177488,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:46:22] local.INFO: Processing buffer {"connection_id":177488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:46:22] local.INFO: IMEI packet received {"connection_id":177488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":177488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:46:23] local.INFO: TCP Data received {"connection_id":177488,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089505b60012d7c598005eac8f00000010e22..."} 
[2026-09-10 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089505b60012d7c598005eac8f00000010e22..."} 
[2026-09-10 08:46:23] local.INFO: Processing buffer {"connection_id":177488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089505b60012d7c598005eac8f00000010e22..."} 
[2026-09-10 08:46:23] local.INFO: Packet analysis {"connection_id":177488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:46:23] local.INFO: Extracted packet for processing {"connection_id":177488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763124096,"raw_latitude":99272944,"longitude_deg":76.3124096,"latitude_deg":9.9272944,"altitude":0,"angle":270,"satellites":34,"speed":30,"hex_longitude":"2d7c5980","hex_latitude":"05eac8f0","is_valid_coordinates":true} 
[2026-09-10 08:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986595840001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130647510665396224,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960333696532541440,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789010140000,"timestamp_ms":1789010140000,"timestamp_seconds":1789010140,"priority":1,"record_length":96,"hex_timestamp":"000001a089505b60"} 
[2026-09-10 08:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 08:46: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-09-10 08:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986595840001,"66":13678,"8":206,"87":13824,"24":30,"16":130647510665396224,"45":8960333696532541440},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 08:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986595840001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:46:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 08:46:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130647510665396224,"km_value":130647510665396.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960333696532541440,"description":"Unknown IO ID 45"} 
[2026-09-10 08:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986595840001,"power":13678,"unknown_8":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8960333696532541440}} 
[2026-09-10 08:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":177488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:46:23] local.INFO: GPS data processed {"connection_id":177488,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:46:23] local.INFO: Acknowledgment sent {"connection_id":177488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:46:36] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:46:36] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:46:36] local.INFO: IMEI packet received {"connection_id":176094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":176094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:46:41] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:46:41] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:46:41] local.INFO: IMEI packet received {"connection_id":176094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":176094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:46:42] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:46:42] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0894c67a8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:46:42] local.INFO: Packet analysis {"connection_id":176094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:46:42] local.INFO: Extracted packet for processing {"connection_id":176094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0894c"} 
[2026-09-10 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986452480001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789009881000,"timestamp_ms":1789009881000,"timestamp_seconds":1789009881,"priority":1,"record_length":96,"hex_timestamp":"000001a0894c67a8"} 
[2026-09-10 08:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:46: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-09-10 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 08:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986452480001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986452480001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:46:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986452480001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":176094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:46:42] local.INFO: GPS data processed {"connection_id":176094,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:46:42] local.INFO: Acknowledgment sent {"connection_id":176094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:46:55] local.INFO: TCP Data received {"connection_id":177488,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089513620012d7c278005eb2ad80000014e25..."} 
[2026-09-10 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089513620012d7c278005eb2ad80000014e25..."} 
[2026-09-10 08:46:55] local.INFO: Processing buffer {"connection_id":177488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089513620012d7c278005eb2ad80000014e25..."} 
[2026-09-10 08:46:55] local.INFO: Packet analysis {"connection_id":177488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08951"} 
[2026-09-10 08:46:55] local.INFO: Extracted packet for processing {"connection_id":177488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08951"} 
[2026-09-10 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763111296,"raw_latitude":99298008,"longitude_deg":76.3111296,"latitude_deg":9.9298008,"altitude":0,"angle":334,"satellites":37,"speed":28,"hex_longitude":"2d7c2780","hex_latitude":"05eb2ad8","is_valid_coordinates":true} 
[2026-09-10 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986609408001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130649142752968704,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947737691330725888,"note":"Value kept but may cause issues"} 
[2026-09-10 08:46: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-09-10 08:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789010196000,"timestamp_ms":1789010196000,"timestamp_seconds":1789010196,"priority":1,"record_length":96,"hex_timestamp":"000001a089513620"} 
[2026-09-10 08:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 08:46: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-09-10 08:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986609408001,"66":13515,"8":206,"87":13824,"24":28,"16":130649142752968704,"45":8947737691330725888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 08:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986609408001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:46:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 08:46:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130649142752968704,"km_value":130649142752968.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947737691330725888,"description":"Unknown IO ID 45"} 
[2026-09-10 08:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986609408001,"power":13515,"unknown_8":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8947737691330725888}} 
[2026-09-10 08:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":177488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:46:55] local.INFO: GPS data processed {"connection_id":177488,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:46:55] local.INFO: Acknowledgment sent {"connection_id":177488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:47:12] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:47:12] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:47:12] local.INFO: Packet analysis {"connection_id":176094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:47:12] local.INFO: Extracted packet for processing {"connection_id":176094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:47: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-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:47: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-09-10 08:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:47:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":176094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:47:12] local.INFO: GPS data processed {"connection_id":176094,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:47:12] local.INFO: Acknowledgment sent {"connection_id":176094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:47:29] local.INFO: TCP Data received {"connection_id":177489,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:47:29] local.INFO: Processing buffer {"connection_id":177489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:47:29] local.INFO: IMEI packet received {"connection_id":177489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":177489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:47:36] local.INFO: TCP Data received {"connection_id":178865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:47:36] local.INFO: Processing buffer {"connection_id":178865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:47:36] local.INFO: IMEI packet received {"connection_id":178865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":178865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:47:40] local.INFO: TCP Data received {"connection_id":177489,"ip":"42.109.136.6","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 08:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177489,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 08:47:40] local.INFO: Processing buffer {"connection_id":177489,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 08:47:40] local.INFO: IMEI packet received {"connection_id":177489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":177489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:47:41] local.INFO: TCP Data received {"connection_id":178865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:47:41] local.INFO: Processing buffer {"connection_id":178865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:47:41] local.INFO: IMEI packet received {"connection_id":178865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":178865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:47:42] local.INFO: TCP Data received {"connection_id":178865,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:47:42] local.INFO: Processing buffer {"connection_id":178865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:47:42] local.INFO: Packet analysis {"connection_id":178865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:47:42] local.INFO: Extracted packet for processing {"connection_id":178865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:47: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-09-10 08:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:47:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":178865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:47:42] local.INFO: GPS data processed {"connection_id":178865,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:47:42] local.INFO: Acknowledgment sent {"connection_id":178865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:48:12] local.INFO: TCP Data received {"connection_id":178865,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:48:12] local.INFO: Processing buffer {"connection_id":178865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:48:12] local.INFO: Packet analysis {"connection_id":178865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:48:12] local.INFO: Extracted packet for processing {"connection_id":178865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:48: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-09-10 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:48: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-09-10 08:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:48:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":178865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:48:12] local.INFO: GPS data processed {"connection_id":178865,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:48:12] local.INFO: Acknowledgment sent {"connection_id":178865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:48:36] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:48:36] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:48:36] local.INFO: IMEI packet received {"connection_id":176335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":176335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:48:41] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:48:41] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:48:41] local.INFO: IMEI packet received {"connection_id":176335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":176335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:48:42] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:48:42] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:48:42] local.INFO: Packet analysis {"connection_id":176335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:48:42] local.INFO: Extracted packet for processing {"connection_id":176335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:48: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-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":176335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:48:42] local.INFO: GPS data processed {"connection_id":176335,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:48:42] local.INFO: Acknowledgment sent {"connection_id":176335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:49:12] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:12] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:12] local.INFO: Packet analysis {"connection_id":176335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:49:12] local.INFO: Extracted packet for processing {"connection_id":176335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:49: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-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:49: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-09-10 08:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:49:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":176335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:49:12] local.INFO: GPS data processed {"connection_id":176335,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:49:12] local.INFO: Acknowledgment sent {"connection_id":176335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:49:41] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:49:41] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:49:41] local.INFO: IMEI packet received {"connection_id":177491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":177491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:49:46] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:49:46] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:49:46] local.INFO: IMEI packet received {"connection_id":177491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":177491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:49:47] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:47] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:47] local.INFO: Packet analysis {"connection_id":177491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:49:47] local.INFO: Extracted packet for processing {"connection_id":177491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:49:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:49:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":177491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:49:47] local.INFO: GPS data processed {"connection_id":177491,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:49:47] local.INFO: Acknowledgment sent {"connection_id":177491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:49:51] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:51] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:49:51] local.INFO: Packet analysis {"connection_id":177491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:49:51] local.INFO: Extracted packet for processing {"connection_id":177491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:49:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:49:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":177491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:49:51] local.INFO: GPS data processed {"connection_id":177491,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:49:51] local.INFO: Acknowledgment sent {"connection_id":177491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:49:59] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:49:59] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:49:59] local.INFO: IMEI packet received {"connection_id":176096,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":176096,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:50:00] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895306f8012d0e34800706a820001e00121f..."} 
[2026-09-10 08:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895306f8012d0e34800706a820001e00121f..."} 
[2026-09-10 08:50:00] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895306f8012d0e34800706a820001e00121f..."} 
[2026-09-10 08:50:00] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08953"} 
[2026-09-10 08:50:00] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08953"} 
[2026-09-10 08:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755905664,"raw_latitude":117876768,"longitude_deg":75.5905664,"latitude_deg":11.7876768,"altitude":30,"angle":18,"satellites":31,"speed":21,"hex_longitude":"2d0e3480","hex_latitude":"0706a820","is_valid_coordinates":true} 
[2026-09-10 08:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986637568001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31064313040994304,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022880095541309440,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789010315000,"timestamp_ms":1789010315000,"timestamp_seconds":1789010315,"priority":1,"record_length":96,"hex_timestamp":"000001a0895306f8"} 
[2026-09-10 08:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":92,"data_length":795,"current_offset":136} 
[2026-09-10 08:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08: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-09-10 08:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986637568001,"66":14374,"219":206,"94":10240,"24":21,"16":31064313040994304,"45":1022880095541309440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 08:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986637568001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:50:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:50:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31064313040994304,"km_value":31064313040994.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022880095541309440,"description":"Unknown IO ID 45"} 
[2026-09-10 08:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986637568001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1022880095541309440}} 
[2026-09-10 08:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:50:00] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:50:00] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:50:31] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089548d98012d0e0380070705000020012220..."} 
[2026-09-10 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089548d98012d0e0380070705000020012220..."} 
[2026-09-10 08:50:31] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089548d98012d0e0380070705000020012220..."} 
[2026-09-10 08:50:31] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08954"} 
[2026-09-10 08:50:31] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08954"} 
[2026-09-10 08:50:31] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":117900544,"longitude_deg":75.589312,"latitude_deg":11.7900544,"altitude":32,"angle":290,"satellites":32,"speed":21,"hex_longitude":"2d0e0380","hex_latitude":"07070500","is_valid_coordinates":true} 
[2026-09-10 08:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986664704001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31066185646735360,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014435846247518208,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789010415000,"timestamp_ms":1789010415000,"timestamp_seconds":1789010415,"priority":1,"record_length":96,"hex_timestamp":"000001a089548d98"} 
[2026-09-10 08:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:50: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-09-10 08:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 08:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:50:31] 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-09-10 08:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986664704001,"66":14613,"219":206,"94":10240,"24":21,"16":31066185646735360,"45":1014435846247518208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 08:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986664704001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:50:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:50:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31066185646735360,"km_value":31066185646735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014435846247518208,"description":"Unknown IO ID 45"} 
[2026-09-10 08:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986664704001,"power":14613,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1014435846247518208}} 
[2026-09-10 08:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:50:31] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:50:31] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:50:36] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:50:36] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:50:36] local.INFO: IMEI packet received {"connection_id":176337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":176337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:50:41] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:50:41] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:50:41] local.INFO: IMEI packet received {"connection_id":176337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":176337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:50:42] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:50:42] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:50:42] local.INFO: Packet analysis {"connection_id":176337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:50:42] local.INFO: Extracted packet for processing {"connection_id":176337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:50: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-09-10 08:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:50:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":176337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:50:42] local.INFO: GPS data processed {"connection_id":176337,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:50:42] local.INFO: Acknowledgment sent {"connection_id":176337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:50:49] local.INFO: TCP Data received {"connection_id":177492,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:50:49] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:50:49] local.INFO: IMEI packet received {"connection_id":177492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":177492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:50:54] local.INFO: TCP Data received {"connection_id":177492,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:50:54] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:50:54] local.INFO: IMEI packet received {"connection_id":177492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":177492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:50:55] local.INFO: TCP Data received {"connection_id":177492,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089549950012d0dfdc0070706280021010f20..."} 
[2026-09-10 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089549950012d0dfdc0070706280021010f20..."} 
[2026-09-10 08:50:55] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089549950012d0dfdc0070706280021010f20..."} 
[2026-09-10 08:50:55] local.INFO: Packet analysis {"connection_id":177492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08954"} 
[2026-09-10 08:50:55] local.INFO: Extracted packet for processing {"connection_id":177492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08954"} 
[2026-09-10 08:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755891648,"raw_latitude":117900840,"longitude_deg":75.5891648,"latitude_deg":11.790084,"altitude":33,"angle":271,"satellites":32,"speed":20,"hex_longitude":"2d0dfdc0","hex_latitude":"07070628","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986666240001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31066254366212096,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009791509132017664,"note":"Value kept but may cause issues"} 
[2026-09-10 08:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789010418000,"timestamp_ms":1789010418000,"timestamp_seconds":1789010418,"priority":1,"record_length":96,"hex_timestamp":"000001a089549950"} 
[2026-09-10 08:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-10 08:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:50: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-09-10 08:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986666240001,"66":14635,"219":206,"94":10240,"24":20,"16":31066254366212096,"45":1009791509132017664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 08:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986666240001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:50:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31066254366212096,"km_value":31066254366212.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009791509132017664,"description":"Unknown IO ID 45"} 
[2026-09-10 08:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986666240001,"power":14635,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1009791509132017664}} 
[2026-09-10 08:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":177492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:50:55] local.INFO: GPS data processed {"connection_id":177492,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:50:55] local.INFO: Acknowledgment sent {"connection_id":177492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:51:12] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:51:12] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:51:12] local.INFO: Packet analysis {"connection_id":176337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:51:12] local.INFO: Extracted packet for processing {"connection_id":176337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:51: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-09-10 08:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:51:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":176337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:51:12] local.INFO: GPS data processed {"connection_id":176337,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:51:12] local.INFO: Acknowledgment sent {"connection_id":176337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:51:26] local.INFO: TCP Data received {"connection_id":177492,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089556470012d0d8180070703a0002801271f..."} 
[2026-09-10 08:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089556470012d0d8180070703a0002801271f..."} 
[2026-09-10 08:51:26] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089556470012d0d8180070703a0002801271f..."} 
[2026-09-10 08:51:26] local.INFO: Packet analysis {"connection_id":177492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:51:26] local.INFO: Extracted packet for processing {"connection_id":177492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755859840,"raw_latitude":117900192,"longitude_deg":75.585984,"latitude_deg":11.7900192,"altitude":40,"angle":295,"satellites":31,"speed":35,"hex_longitude":"2d0d8180","hex_latitude":"070703a0","is_valid_coordinates":true} 
[2026-09-10 08:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986677760001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31067916518555648,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981995855180568576,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789010470000,"timestamp_ms":1789010470000,"timestamp_seconds":1789010470,"priority":1,"record_length":96,"hex_timestamp":"000001a089556470"} 
[2026-09-10 08:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 08:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:51:26] 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-09-10 08:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986677760001,"66":14537,"219":206,"94":10240,"24":35,"16":31067916518555648,"45":981995855180568576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 08:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986677760001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:51:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31067916518555648,"km_value":31067916518555.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":981995855180568576,"description":"Unknown IO ID 45"} 
[2026-09-10 08:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986677760001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":981995855180568576}} 
[2026-09-10 08:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":177492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:51:26] local.INFO: GPS data processed {"connection_id":177492,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:51:26] local.INFO: Acknowledgment sent {"connection_id":177492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:51:36] local.INFO: TCP Data received {"connection_id":178869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:51:36] local.INFO: Processing buffer {"connection_id":178869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:51:36] local.INFO: IMEI packet received {"connection_id":178869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":178869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:51:41] local.INFO: TCP Data received {"connection_id":178869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:51:41] local.INFO: Processing buffer {"connection_id":178869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:51:41] local.INFO: IMEI packet received {"connection_id":178869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":178869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:51:42] local.INFO: TCP Data received {"connection_id":178869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:51:42] local.INFO: Processing buffer {"connection_id":178869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08950ff70012cee6fc0072e2ba80034006b22..."} 
[2026-09-10 08:51:42] local.INFO: Packet analysis {"connection_id":178869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:51:42] local.INFO: Extracted packet for processing {"connection_id":178869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08950"} 
[2026-09-10 08:51:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986529536001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010182000,"timestamp_ms":1789010182000,"timestamp_seconds":1789010182,"priority":1,"record_length":96,"hex_timestamp":"000001a08950ff70"} 
[2026-09-10 08:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:51: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-09-10 08:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 08:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986529536001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986529536001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:51:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986529536001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":178869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:51:42] local.INFO: GPS data processed {"connection_id":178869,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:51:42] local.INFO: Acknowledgment sent {"connection_id":178869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:51:49] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:49] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:49] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:51:51] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:51] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:51] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:51:54] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:54] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:51:54] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:51:55] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089557be0012d0d740007070b58002401341f..."} 
[2026-09-10 08:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089557be0012d0d740007070b58002401341f..."} 
[2026-09-10 08:51:55] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089557be0012d0d740007070b58002401341f..."} 
[2026-09-10 08:51:55] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:51:55] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755856384,"raw_latitude":117902168,"longitude_deg":75.5856384,"latitude_deg":11.7902168,"altitude":36,"angle":308,"satellites":31,"speed":9,"hex_longitude":"2d0d7400","hex_latitude":"07070b58","is_valid_coordinates":true} 
[2026-09-10 08:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986680320001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31068105497116672,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973199762159542272,"note":"Value kept but may cause issues"} 
[2026-09-10 08:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789010476000,"timestamp_ms":1789010476000,"timestamp_seconds":1789010476,"priority":1,"record_length":96,"hex_timestamp":"000001a089557be0"} 
[2026-09-10 08:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:51: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-09-10 08:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 08:51: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-09-10 08:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:51: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-09-10 08:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986680320001,"66":14439,"219":206,"94":10240,"24":9,"16":31068105497116672,"45":973199762159542272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 08:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986680320001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:51:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:51:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31068105497116672,"km_value":31068105497116.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":973199762159542272,"description":"Unknown IO ID 45"} 
[2026-09-10 08:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986680320001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":973199762159542272}} 
[2026-09-10 08:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:51:55] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:51:55] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:52:12] local.INFO: TCP Data received {"connection_id":178869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:52:12] local.INFO: Processing buffer {"connection_id":178869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:52:12] local.INFO: Packet analysis {"connection_id":178869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:52:12] local.INFO: Extracted packet for processing {"connection_id":178869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:52: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-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:52:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":178869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:52:12] local.INFO: GPS data processed {"connection_id":178869,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:52:12] local.INFO: Acknowledgment sent {"connection_id":178869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:52:26] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089566258012d0d2a8007073fd80027014a1e..."} 
[2026-09-10 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089566258012d0d2a8007073fd80027014a1e..."} 
[2026-09-10 08:52:26] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089566258012d0d2a8007073fd80027014a1e..."} 
[2026-09-10 08:52:26] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:26] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:26] local.INFO: GPS Element Parsed {"raw_longitude":755837568,"raw_latitude":117915608,"longitude_deg":75.5837568,"latitude_deg":11.7915608,"altitude":39,"angle":330,"satellites":30,"speed":17,"hex_longitude":"2d0d2a80","hex_latitude":"07073fd8","is_valid_coordinates":true} 
[2026-09-10 08:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986693632001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31069514246389760,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176675977216,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789010535000,"timestamp_ms":1789010535000,"timestamp_seconds":1789010535,"priority":1,"record_length":96,"hex_timestamp":"000001a089566258"} 
[2026-09-10 08:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 08:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:26] 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-09-10 08:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986693632001,"66":14428,"221":206,"94":10240,"24":17,"16":31069514246389760,"45":948852176675977216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-10 08:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986693632001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:52:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:52:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31069514246389760,"km_value":31069514246389.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176675977216,"description":"Unknown IO ID 45"} 
[2026-09-10 08:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986693632001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":948852176675977216}} 
[2026-09-10 08:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:52:27] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:52:27] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:52:36] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:52:36] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:52:36] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:52:41] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:52:41] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:52:41] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:52:42] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:52:42] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:52:42] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:52:42] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:52: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-09-10 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:52:42] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:52:42] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:52:43] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:52:43] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:52:43] local.INFO: IMEI packet received {"connection_id":176097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":176097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:52:47] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089561438012d7c13c005ec32c8000f010b2a..."} 
[2026-09-10 08:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089561438012d7c13c005ec32c8000f010b2a..."} 
[2026-09-10 08:52:47] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089561438012d7c13c005ec32c8000f010b2a..."} 
[2026-09-10 08:52:47] local.INFO: Packet analysis {"connection_id":176097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:47] local.INFO: Extracted packet for processing {"connection_id":176097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:47] local.INFO: GPS Element Parsed {"raw_longitude":763106240,"raw_latitude":99365576,"longitude_deg":76.310624,"latitude_deg":9.9365576,"altitude":15,"angle":267,"satellites":42,"speed":23,"hex_longitude":"2d7c13c0","hex_latitude":"05ec32c8","is_valid_coordinates":true} 
[2026-09-10 08:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986688512001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130659759912124416,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951256128557410304,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789010515000,"timestamp_ms":1789010515000,"timestamp_seconds":1789010515,"priority":1,"record_length":96,"hex_timestamp":"000001a089561438"} 
[2026-09-10 08:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:52: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-09-10 08:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-10 08:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986688512001,"66":12917,"198":206,"87":13824,"24":23,"16":130659759912124416,"45":8951256128557410304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 08:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986688512001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:52:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 08:52:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130659759912124416,"km_value":130659759912124.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951256128557410304,"description":"Unknown IO ID 45"} 
[2026-09-10 08:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986688512001,"power":12917,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8951256128557410304}} 
[2026-09-10 08:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":176097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:52:47] local.INFO: GPS data processed {"connection_id":176097,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:52:47] local.INFO: Acknowledgment sent {"connection_id":176097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:52:53] local.INFO: TCP Data received {"connection_id":177493,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:52:53] local.INFO: Processing buffer {"connection_id":177493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:52:53] local.INFO: IMEI packet received {"connection_id":177493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":177493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:52:54] local.INFO: TCP Data received {"connection_id":177493,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:52:54] local.INFO: Processing buffer {"connection_id":177493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:52:54] local.INFO: IMEI packet received {"connection_id":177493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":177493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:52:56] local.INFO: TCP Data received {"connection_id":177493,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177493,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 08:52:56] local.INFO: Processing buffer {"connection_id":177493,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 08:52:56] local.INFO: IMEI packet received {"connection_id":177493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":177493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:52:56] local.INFO: TCP Data received {"connection_id":177493,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089566640012d0d2940070741400028013b1d..."} 
[2026-09-10 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089566640012d0d2940070741400028013b1d..."} 
[2026-09-10 08:52:56] local.INFO: Processing buffer {"connection_id":177493,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a089..."} 
[2026-09-10 08:52:56] local.INFO: IMEI packet received {"connection_id":177493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":177493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:52:57] local.INFO: TCP Data received {"connection_id":177493,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089566e10012d0d25c007074330002701291e..."} 
[2026-09-10 08:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089566e10012d0d25c007074330002701291e..."} 
[2026-09-10 08:52:57] local.INFO: Processing buffer {"connection_id":177493,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a089566640012d0d2940070741400028013b1d..."} 
[2026-09-10 08:52:57] local.INFO: Packet analysis {"connection_id":177493,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:57] local.INFO: Extracted packet for processing {"connection_id":177493,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:57] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117915968,"longitude_deg":75.5837248,"latitude_deg":11.7915968,"altitude":40,"angle":315,"satellites":29,"speed":18,"hex_longitude":"2d0d2940","hex_latitude":"07074140","is_valid_coordinates":true} 
[2026-09-10 08:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986696960001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31069535721226240,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948711439189661696,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789010536000,"timestamp_ms":1789010536000,"timestamp_seconds":1789010536,"priority":1,"record_length":96,"hex_timestamp":"000001a089566640"} 
[2026-09-10 08:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 08:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:57] 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-09-10 08:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986696960001,"66":14428,"221":206,"94":10240,"24":18,"16":31069535721226240,"45":948711439189661696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-10 08:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986696960001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31069535721226240,"km_value":31069535721226.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":948711439189661696,"description":"Unknown IO ID 45"} 
[2026-09-10 08:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986696960001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":948711439189661696}} 
[2026-09-10 08:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":177493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:52:57] local.INFO: GPS data processed {"connection_id":177493,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:52:57] local.INFO: Acknowledgment sent {"connection_id":177493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:52:57] local.INFO: Packet analysis {"connection_id":177493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:57] local.INFO: Extracted packet for processing {"connection_id":177493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:57] local.INFO: GPS Element Parsed {"raw_longitude":755836352,"raw_latitude":117916464,"longitude_deg":75.5836352,"latitude_deg":11.7916464,"altitude":39,"angle":297,"satellites":30,"speed":23,"hex_longitude":"2d0d25c0","hex_latitude":"07074330","is_valid_coordinates":true} 
[2026-09-10 08:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986697216001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31069587260833792,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948359595468865536,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789010538000,"timestamp_ms":1789010538000,"timestamp_seconds":1789010538,"priority":1,"record_length":96,"hex_timestamp":"000001a089566e10"} 
[2026-09-10 08:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 08:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:57] 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-09-10 08:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986697216001,"66":14374,"221":206,"94":10240,"24":23,"16":31069587260833792,"45":948359595468865536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-10 08:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986697216001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31069587260833792,"km_value":31069587260833.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":948359595468865536,"description":"Unknown IO ID 45"} 
[2026-09-10 08:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986697216001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":948359595468865536}} 
[2026-09-10 08:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":177493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:52:57] local.INFO: GPS data processed {"connection_id":177493,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:52:57] local.INFO: Acknowledgment sent {"connection_id":177493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:52:58] local.INFO: TCP Data received {"connection_id":177493,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089568580012d0d1400070749500027011b1d..."} 
[2026-09-10 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089568580012d0d1400070749500027011b1d..."} 
[2026-09-10 08:52:58] local.INFO: Processing buffer {"connection_id":177493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089568580012d0d1400070749500027011b1d..."} 
[2026-09-10 08:52:58] local.INFO: Packet analysis {"connection_id":177493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:58] local.INFO: Extracted packet for processing {"connection_id":177493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:52:58] local.INFO: GPS Element Parsed {"raw_longitude":755831808,"raw_latitude":117918032,"longitude_deg":75.5831808,"latitude_deg":11.7918032,"altitude":39,"angle":283,"satellites":29,"speed":35,"hex_longitude":"2d0d1400","hex_latitude":"07074950","is_valid_coordinates":true} 
[2026-09-10 08:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986697728001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31069814894100480,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947374433050505216,"note":"Value kept but may cause issues"} 
[2026-09-10 08:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789010544000,"timestamp_ms":1789010544000,"timestamp_seconds":1789010544,"priority":1,"record_length":96,"hex_timestamp":"000001a089568580"} 
[2026-09-10 08:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 08:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:52:58] 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-09-10 08:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986697728001,"66":14396,"221":206,"94":10240,"24":35,"16":31069814894100480,"45":947374433050505216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-10 08:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986697728001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31069814894100480,"km_value":31069814894100.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":947374433050505216,"description":"Unknown IO ID 45"} 
[2026-09-10 08:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986697728001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":947374433050505216}} 
[2026-09-10 08:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":177493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:52:58] local.INFO: GPS data processed {"connection_id":177493,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:52:58] local.INFO: Acknowledgment sent {"connection_id":177493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:53:13] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:53:13] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:53:13] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:53:13] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:53: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-09-10 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:53: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-09-10 08:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:53:13] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:53:13] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:53:18] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:18] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:18] local.INFO: IMEI packet received {"connection_id":176099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":176099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:53:22] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:22] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:22] local.INFO: IMEI packet received {"connection_id":176099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":176099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:53:27] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:27] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:53:27] local.INFO: IMEI packet received {"connection_id":176099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":176099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:53:29] local.INFO: TCP Data received {"connection_id":177493,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089569cf0012d0cff4007074e70002701261e..."} 
[2026-09-10 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089569cf0012d0cff4007074e70002701261e..."} 
[2026-09-10 08:53:29] local.INFO: Processing buffer {"connection_id":177493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089569cf0012d0cff4007074e70002701261e..."} 
[2026-09-10 08:53:29] local.INFO: Packet analysis {"connection_id":177493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:53:29] local.INFO: Extracted packet for processing {"connection_id":177493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":755826496,"raw_latitude":117919344,"longitude_deg":75.5826496,"latitude_deg":11.7919344,"altitude":39,"angle":294,"satellites":30,"speed":35,"hex_longitude":"2d0cff40","hex_latitude":"07074e70","is_valid_coordinates":true} 
[2026-09-10 08:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986699264001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31070076887105536,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":942378252214292480,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789010550000,"timestamp_ms":1789010550000,"timestamp_seconds":1789010550,"priority":1,"record_length":96,"hex_timestamp":"000001a089569cf0"} 
[2026-09-10 08:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 08:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:53: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-09-10 08:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986699264001,"66":14450,"221":206,"94":10240,"24":35,"16":31070076887105536,"45":942378252214292480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-10 08:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986699264001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31070076887105536,"km_value":31070076887105.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":942378252214292480,"description":"Unknown IO ID 45"} 
[2026-09-10 08:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986699264001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":942378252214292480}} 
[2026-09-10 08:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":177493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:53:29] local.INFO: GPS data processed {"connection_id":177493,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:53:29] local.INFO: Acknowledgment sent {"connection_id":177493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:53:30] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089566258012d7bf48005ec3078000f01052a..."} 
[2026-09-10 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089566258012d7bf48005ec3078000f01052a..."} 
[2026-09-10 08:53:30] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089566258012d7bf48005ec3078000f01052a..."} 
[2026-09-10 08:53:30] local.INFO: Packet analysis {"connection_id":176099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:53:30] local.INFO: Extracted packet for processing {"connection_id":176099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763098240,"raw_latitude":99364984,"longitude_deg":76.309824,"latitude_deg":9.9364984,"altitude":15,"angle":261,"satellites":42,"speed":15,"hex_longitude":"2d7bf480","hex_latitude":"05ec3078","is_valid_coordinates":true} 
[2026-09-10 08:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986691840001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130660142164213760,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940700816930686976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789010535000,"timestamp_ms":1789010535000,"timestamp_seconds":1789010535,"priority":1,"record_length":96,"hex_timestamp":"000001a089566258"} 
[2026-09-10 08:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 08:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986691840001,"66":13189,"198":206,"87":13824,"24":15,"16":130660142164213760,"45":8940700816930686976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 08:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986691840001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:53:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 08:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130660142164213760,"km_value":130660142164213.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940700816930686976,"description":"Unknown IO ID 45"} 
[2026-09-10 08:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986691840001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8940700816930686976}} 
[2026-09-10 08:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":176099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:53:30] local.INFO: GPS data processed {"connection_id":176099,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:53:30] local.INFO: Acknowledgment sent {"connection_id":176099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:53:36] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:53:36] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:53:36] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:53:41] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:53:41] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:53:41] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:53:42] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:53:42] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:53:42] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:53:42] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:53: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-09-10 08:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:53: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-09-10 08:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:53:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:53:42] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:53:42] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:53:46] local.INFO: TCP Data received {"connection_id":178870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:46] local.INFO: Processing buffer {"connection_id":178870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:46] local.INFO: IMEI packet received {"connection_id":178870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":178870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:53:49] local.INFO: TCP Data received {"connection_id":178870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:49] local.INFO: Processing buffer {"connection_id":178870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:49] local.INFO: IMEI packet received {"connection_id":178870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":178870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:53:52] local.INFO: TCP Data received {"connection_id":178870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:52] local.INFO: Processing buffer {"connection_id":178870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:53:52] local.INFO: IMEI packet received {"connection_id":178870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":178870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:53:53] local.INFO: TCP Data received {"connection_id":178870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895748d0012d0cb58007075d18001d011c1f..."} 
[2026-09-10 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895748d0012d0cb58007075d18001d011c1f..."} 
[2026-09-10 08:53:53] local.INFO: Processing buffer {"connection_id":178870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895748d0012d0cb58007075d18001d011c1f..."} 
[2026-09-10 08:53:53] local.INFO: Packet analysis {"connection_id":178870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:53:53] local.INFO: Extracted packet for processing {"connection_id":178870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":755807616,"raw_latitude":117923096,"longitude_deg":75.5807616,"latitude_deg":11.7923096,"altitude":29,"angle":284,"satellites":31,"speed":16,"hex_longitude":"2d0cb580","hex_latitude":"07075d18","is_valid_coordinates":true} 
[2026-09-10 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986711552001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31071073319518208,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916552923102318592,"note":"Value kept but may cause issues"} 
[2026-09-10 08:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789010594000,"timestamp_ms":1789010594000,"timestamp_seconds":1789010594,"priority":1,"record_length":96,"hex_timestamp":"000001a0895748d0"} 
[2026-09-10 08:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:53: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-09-10 08: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":114,"data_length":795,"current_offset":136} 
[2026-09-10 08:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:53:53] 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-09-10 08:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986711552001,"66":14374,"221":206,"94":10240,"24":16,"16":31071073319518208,"45":916552923102318592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-10 08:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986711552001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:53:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:53:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31071073319518208,"km_value":31071073319518.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":916552923102318592,"description":"Unknown IO ID 45"} 
[2026-09-10 08:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986711552001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":916552923102318592}} 
[2026-09-10 08:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":178870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:53:53] local.INFO: GPS data processed {"connection_id":178870,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:53:53] local.INFO: Acknowledgment sent {"connection_id":178870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:54:02] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08956a4c0012d7bd0c005ec2960000f00fe2a..."} 
[2026-09-10 08:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08956a4c0012d7bd0c005ec2960000f00fe2a..."} 
[2026-09-10 08:54:02] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08956a4c0012d7bd0c005ec2960000f00fe2a..."} 
[2026-09-10 08:54:02] local.INFO: Packet analysis {"connection_id":176099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:54:02] local.INFO: Extracted packet for processing {"connection_id":176099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763089088,"raw_latitude":99363168,"longitude_deg":76.3089088,"latitude_deg":9.9363168,"altitude":15,"angle":254,"satellites":42,"speed":25,"hex_longitude":"2d7bd0c0","hex_latitude":"05ec2960","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986696960001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130660588840812544,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931904723908327424,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789010552000,"timestamp_ms":1789010552000,"timestamp_seconds":1789010552,"priority":1,"record_length":96,"hex_timestamp":"000001a08956a4c0"} 
[2026-09-10 08:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 08:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986696960001,"66":12906,"198":206,"87":13824,"24":25,"16":130660588840812544,"45":8931904723908327424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 08:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986696960001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:54:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 08:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130660588840812544,"km_value":130660588840812.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931904723908327424,"description":"Unknown IO ID 45"} 
[2026-09-10 08:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986696960001,"power":12906,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8931904723908327424}} 
[2026-09-10 08:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":176099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:54:02] local.INFO: GPS data processed {"connection_id":176099,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:54:02] local.INFO: Acknowledgment sent {"connection_id":176099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:54:13] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:54:13] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:54:13] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:54:13] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:54:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:54: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-09-10 08:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:54:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:54:13] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:54:13] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:54:15] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:15] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:15] local.INFO: IMEI packet received {"connection_id":177494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":177494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:54:17] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:17] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:17] local.INFO: IMEI packet received {"connection_id":177494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":177494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:54:25] local.INFO: TCP Data received {"connection_id":178870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089582f48012d0c80c0070774100015013420..."} 
[2026-09-10 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089582f48012d0c80c0070774100015013420..."} 
[2026-09-10 08:54:25] local.INFO: Processing buffer {"connection_id":178870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089582f48012d0c80c0070774100015013420..."} 
[2026-09-10 08:54:25] local.INFO: Packet analysis {"connection_id":178870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08958"} 
[2026-09-10 08:54:25] local.INFO: Extracted packet for processing {"connection_id":178870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08958"} 
[2026-09-10 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":755794112,"raw_latitude":117928976,"longitude_deg":75.5794112,"latitude_deg":11.7928976,"altitude":21,"angle":308,"satellites":32,"speed":8,"hex_longitude":"2d0c80c0","hex_latitude":"07077410","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986726912001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31072022507290624,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901212536873132032,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789010653000,"timestamp_ms":1789010653000,"timestamp_seconds":1789010653,"priority":1,"record_length":96,"hex_timestamp":"000001a089582f48"} 
[2026-09-10 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-09-10 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 08:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:54: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-09-10 08:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986726912001,"66":14591,"221":206,"94":10240,"24":8,"16":31072022507290624,"45":901212536873132032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-10 08:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986726912001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:54:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 08:54:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31072022507290624,"km_value":31072022507290.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":901212536873132032,"description":"Unknown IO ID 45"} 
[2026-09-10 08:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986726912001,"power":14591,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":901212536873132032}} 
[2026-09-10 08:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":178870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792845,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:54:26] local.INFO: GPS data processed {"connection_id":178870,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:54:26] local.INFO: Acknowledgment sent {"connection_id":178870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:54:26] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:26] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:54:26] local.INFO: IMEI packet received {"connection_id":177494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":177494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:54:29] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08956db70012d7bad8005ec1f28001000fc2a..."} 
[2026-09-10 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08956db70012d7bad8005ec1f28001000fc2a..."} 
[2026-09-10 08:54:29] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08956db70012d7bad8005ec1f28001000fc2a..."} 
[2026-09-10 08:54:29] local.INFO: Packet analysis {"connection_id":177494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:54:29] local.INFO: Extracted packet for processing {"connection_id":177494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08956"} 
[2026-09-10 08:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763080064,"raw_latitude":99360552,"longitude_deg":76.3080064,"latitude_deg":9.9360552,"altitude":16,"angle":252,"satellites":42,"speed":24,"hex_longitude":"2d7bad80","hex_latitude":"05ec1f28","is_valid_coordinates":true} 
[2026-09-10 08:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986701312001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130661039812378624,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921841993490456576,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789010566000,"timestamp_ms":1789010566000,"timestamp_seconds":1789010566,"priority":1,"record_length":96,"hex_timestamp":"000001a08956db70"} 
[2026-09-10 08:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:54: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-09-10 08:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 08:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986701312001,"66":13254,"198":206,"87":13824,"24":24,"16":130661039812378624,"45":8921841993490456576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 08:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986701312001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:54:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 08:54:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130661039812378624,"km_value":130661039812378.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921841993490456576,"description":"Unknown IO ID 45"} 
[2026-09-10 08:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986701312001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8921841993490456576}} 
[2026-09-10 08:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":177494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:54:30] local.INFO: GPS data processed {"connection_id":177494,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:54:30] local.INFO: Acknowledgment sent {"connection_id":177494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:54:36] local.INFO: TCP Data received {"connection_id":177495,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:54:36] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:54:36] local.INFO: IMEI packet received {"connection_id":177495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":177495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:54:41] local.INFO: TCP Data received {"connection_id":177495,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:54:41] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:54:41] local.INFO: IMEI packet received {"connection_id":177495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":177495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:54:42] local.INFO: TCP Data received {"connection_id":177495,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:54:42] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:54:42] local.INFO: Packet analysis {"connection_id":177495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:54:42] local.INFO: Extracted packet for processing {"connection_id":177495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:54: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-09-10 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":177495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:54:42] local.INFO: GPS data processed {"connection_id":177495,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:54:42] local.INFO: Acknowledgment sent {"connection_id":177495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:54:46] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:46] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:46] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:54:47] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:47] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:47] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:54:48] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:48] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:48] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:54:49] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:49] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:54:49] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:55:01] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895719f0012d7b8b0005ec14c0001100fd2b..."} 
[2026-09-10 08:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895719f0012d7b8b0005ec14c0001100fd2b..."} 
[2026-09-10 08:55:01] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895719f0012d7b8b0005ec14c0001100fd2b..."} 
[2026-09-10 08:55:01] local.INFO: Packet analysis {"connection_id":177494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:55:01] local.INFO: Extracted packet for processing {"connection_id":177494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763071232,"raw_latitude":99357888,"longitude_deg":76.3071232,"latitude_deg":9.9357888,"altitude":17,"angle":253,"satellites":43,"speed":26,"hex_longitude":"2d7b8b00","hex_latitude":"05ec14c0","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986704896001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130661482194010112,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911920000560736256,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55: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-09-10 08:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789010582000,"timestamp_ms":1789010582000,"timestamp_seconds":1789010582,"priority":1,"record_length":96,"hex_timestamp":"000001a0895719f0"} 
[2026-09-10 08:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 08:55: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-09-10 08: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-09-10 08:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986704896001,"66":13059,"198":206,"87":13824,"24":26,"16":130661482194010112,"45":8911920000560736256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 08:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986704896001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:55:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 08:55:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130661482194010112,"km_value":130661482194010.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911920000560736256,"description":"Unknown IO ID 45"} 
[2026-09-10 08:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986704896001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8911920000560736256}} 
[2026-09-10 08:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":177494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:55:01] local.INFO: GPS data processed {"connection_id":177494,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:55:01] local.INFO: Acknowledgment sent {"connection_id":177494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:55:13] local.INFO: TCP Data received {"connection_id":177495,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:55:13] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:55:13] local.INFO: Packet analysis {"connection_id":177495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:55:13] local.INFO: Extracted packet for processing {"connection_id":177495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:55:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:55: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-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:55: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-09-10 08:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:55:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":177495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:55:13] local.INFO: GPS data processed {"connection_id":177495,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:55:13] local.INFO: Acknowledgment sent {"connection_id":177495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:55:17] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:55:17] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:55:17] local.INFO: IMEI packet received {"connection_id":176339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":176339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:55:21] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:55:21] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:55:21] local.INFO: IMEI packet received {"connection_id":176339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":176339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:55:22] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089575488012d7b678005ec09f8001000fa2b..."} 
[2026-09-10 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089575488012d7b678005ec09f8001000fa2b..."} 
[2026-09-10 08:55:22] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089575488012d7b678005ec09f8001000fa2b..."} 
[2026-09-10 08:55:22] local.INFO: Packet analysis {"connection_id":176339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:55:22] local.INFO: Extracted packet for processing {"connection_id":176339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":99355128,"longitude_deg":76.3062144,"latitude_deg":9.9355128,"altitude":16,"angle":250,"satellites":43,"speed":26,"hex_longitude":"2d7b6780","hex_latitude":"05ec09f8","is_valid_coordinates":true} 
[2026-09-10 08:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986708992001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130661933165576192,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902209113863536640,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789010597000,"timestamp_ms":1789010597000,"timestamp_seconds":1789010597,"priority":1,"record_length":96,"hex_timestamp":"000001a089575488"} 
[2026-09-10 08:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:55: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-09-10 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171401469269,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818517,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2304092864,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-10 08:55:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962902528,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,198,87,24,241,157,16,51,160,219,45,128,31,42,10,66,164,192,41,15,98,1,240,133,227,50,137,236,4,113,205,23,225,57,232,239,2,208,5,12,21],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-10 08:55:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225257459771899904,"timestamp_seconds":1225257459771900.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 08:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986708992001,"66":12939,"198":206,"87":13824,"24":26,"16":130661933165576192,"45":8902209113863536640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 08:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986708992001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:55:22] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 08:55:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130661933165576192,"km_value":130661933165576.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902209113863536640,"description":"Unknown IO ID 45"} 
[2026-09-10 08:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986708992001,"power":12939,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8902209113863536640}} 
[2026-09-10 08:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":176339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:55:22] local.INFO: GPS data processed {"connection_id":176339,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:55:22] local.INFO: Acknowledgment sent {"connection_id":176339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:55:36] local.INFO: TCP Data received {"connection_id":178871,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:55:36] local.INFO: Processing buffer {"connection_id":178871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:55:36] local.INFO: IMEI packet received {"connection_id":178871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":178871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:55:41] local.INFO: TCP Data received {"connection_id":178871,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:55:41] local.INFO: Processing buffer {"connection_id":178871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:55:41] local.INFO: IMEI packet received {"connection_id":178871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":178871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:55:42] local.INFO: TCP Data received {"connection_id":178871,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:55:42] local.INFO: Processing buffer {"connection_id":178871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:55:42] local.INFO: Packet analysis {"connection_id":178871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:55:42] local.INFO: Extracted packet for processing {"connection_id":178871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:55:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:55: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-09-10 08:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:55:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":178871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:55:42] local.INFO: GPS data processed {"connection_id":178871,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:55:42] local.INFO: Acknowledgment sent {"connection_id":178871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:55:53] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089578f20012d7b458005ebfc08001100f52b..."} 
[2026-09-10 08:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089578f20012d7b458005ebfc08001100f52b..."} 
[2026-09-10 08:55:53] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089578f20012d7b458005ebfc08001100f52b..."} 
[2026-09-10 08:55:53] local.INFO: Packet analysis {"connection_id":176339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:55:53] local.INFO: Extracted packet for processing {"connection_id":176339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08957"} 
[2026-09-10 08:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":99351560,"longitude_deg":76.305344,"latitude_deg":9.935156,"altitude":17,"angle":245,"satellites":43,"speed":25,"hex_longitude":"2d7b4580","hex_latitude":"05ebfc08","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986712832001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130662384137142272,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892216752189601792,"note":"Value kept but may cause issues"} 
[2026-09-10 08:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789010612000,"timestamp_ms":1789010612000,"timestamp_seconds":1789010612,"priority":1,"record_length":96,"hex_timestamp":"000001a089578f20"} 
[2026-09-10 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-09-10 08:55: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-09-10 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 08:55: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-09-10 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-09-10 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-09-10 08:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986712832001,"66":13656,"98":206,"87":13824,"24":25,"16":130662384137142272,"45":8892216752189601792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-10 08:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986712832001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:55:53] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 08:55:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130662384137142272,"km_value":130662384137142.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892216752189601792,"description":"Unknown IO ID 45"} 
[2026-09-10 08:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986712832001,"power":13656,"unknown_98":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8892216752189601792}} 
[2026-09-10 08:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":176339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:55:53] local.INFO: GPS data processed {"connection_id":176339,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:55:53] local.INFO: Acknowledgment sent {"connection_id":176339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:56:13] local.INFO: TCP Data received {"connection_id":178871,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:13] local.INFO: Processing buffer {"connection_id":178871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:13] local.INFO: Packet analysis {"connection_id":178871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:56:13] local.INFO: Extracted packet for processing {"connection_id":178871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:56: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-09-10 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08: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-09-10 08:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:56:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":178871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:56:13] local.INFO: GPS data processed {"connection_id":178871,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:56:13] local.INFO: Acknowledgment sent {"connection_id":178871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:56:17] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:56:17] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:56:17] local.INFO: IMEI packet received {"connection_id":176102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":176102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:56:22] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:56:22] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:56:22] local.INFO: IMEI packet received {"connection_id":176102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":176102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:56:23] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08959e0e0012d7a51c005eb93280006011f25..."} 
[2026-09-10 08:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08959e0e0012d7a51c005eb93280006011f25..."} 
[2026-09-10 08:56:23] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08959e0e0012d7a51c005eb93280006011f25..."} 
[2026-09-10 08:56:23] local.INFO: Packet analysis {"connection_id":176102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:56:23] local.INFO: Extracted packet for processing {"connection_id":176102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:56:23] local.INFO: GPS Element Parsed {"raw_longitude":762991040,"raw_latitude":99324712,"longitude_deg":76.299104,"latitude_deg":9.9324712,"altitude":6,"angle":287,"satellites":37,"speed":4,"hex_longitude":"2d7a51c0","hex_latitude":"05eb9328","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986751488001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130665656902221824,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815022239818883072,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789010764000,"timestamp_ms":1789010764000,"timestamp_seconds":1789010764,"priority":1,"record_length":96,"hex_timestamp":"000001a08959e0e0"} 
[2026-09-10 08:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":199,"data_length":795,"current_offset":136} 
[2026-09-10 08:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986751488001,"66":12678,"163":206,"87":13824,"24":4,"16":130665656902221824,"45":8815022239818883072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 08:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986751488001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:56:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 08:56:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130665656902221824,"km_value":130665656902221.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815022239818883072,"description":"Unknown IO ID 45"} 
[2026-09-10 08:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986751488001,"power":12678,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8815022239818883072}} 
[2026-09-10 08:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":176102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:56:23] local.INFO: GPS data processed {"connection_id":176102,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:56:23] local.INFO: Acknowledgment sent {"connection_id":176102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:56:41] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:56:41] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:56:41] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:56:46] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:56:46] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:56:46] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:56:47] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:47] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:47] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:56:47] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 08:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:56:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:56:47] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:56:47] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:56:51] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:51] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089559738012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 08:56:51] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:56:51] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08955"} 
[2026-09-10 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986606592001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789010483000,"timestamp_ms":1789010483000,"timestamp_seconds":1789010483,"priority":1,"record_length":96,"hex_timestamp":"000001a089559738"} 
[2026-09-10 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-09-10 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 08:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986606592001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986606592001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:56:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986606592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:56:51] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:56:51] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:56:54] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08959e4c8012d7a510005eb93b80006013026..."} 
[2026-09-10 08:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08959e4c8012d7a510005eb93b80006013026..."} 
[2026-09-10 08:56:54] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08959e4c8012d7a510005eb93b80006013026..."} 
[2026-09-10 08:56:54] local.INFO: Packet analysis {"connection_id":176102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:56:54] local.INFO: Extracted packet for processing {"connection_id":176102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":762990848,"raw_latitude":99324856,"longitude_deg":76.2990848,"latitude_deg":9.9324856,"altitude":6,"angle":304,"satellites":38,"speed":5,"hex_longitude":"2d7a5100","hex_latitude":"05eb93b8","is_valid_coordinates":true} 
[2026-09-10 08:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986755584001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130665665492156416,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814037077400430592,"note":"Value kept but may cause issues"} 
[2026-09-10 08:56: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-09-10 08:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789010765000,"timestamp_ms":1789010765000,"timestamp_seconds":1789010765,"priority":1,"record_length":96,"hex_timestamp":"000001a08959e4c8"} 
[2026-09-10 08:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986755584001,"66":12678,"163":206,"87":13824,"24":5,"16":130665665492156416,"45":8814037077400430592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 08:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986755584001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:56:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 08:56:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130665665492156416,"km_value":130665665492156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814037077400430592,"description":"Unknown IO ID 45"} 
[2026-09-10 08:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986755584001,"power":12678,"unknown_163":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8814037077400430592}} 
[2026-09-10 08:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":176102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:56:54] local.INFO: GPS data processed {"connection_id":176102,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:56:54] local.INFO: Acknowledgment sent {"connection_id":176102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:57:18] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:57:18] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:57:18] local.INFO: IMEI packet received {"connection_id":177497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":177497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:57:22] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:57:22] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:57:22] local.INFO: IMEI packet received {"connection_id":177497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":177497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:57:23] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08959e8b0012d7a50c005eb94480006014b27..."} 
[2026-09-10 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08959e8b0012d7a50c005eb94480006014b27..."} 
[2026-09-10 08:57:23] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08959e8b0012d7a50c005eb94480006014b27..."} 
[2026-09-10 08:57:23] local.INFO: Packet analysis {"connection_id":177497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:57:23] local.INFO: Extracted packet for processing {"connection_id":177497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":762990784,"raw_latitude":99325000,"longitude_deg":76.2990784,"latitude_deg":9.9325,"altitude":6,"angle":331,"satellites":39,"speed":7,"hex_longitude":"2d7a50c0","hex_latitude":"05eb9448","is_valid_coordinates":true} 
[2026-09-10 08:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986755840001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130665674082091008,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813825971167934464,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789010766000,"timestamp_ms":1789010766000,"timestamp_seconds":1789010766,"priority":1,"record_length":96,"hex_timestamp":"000001a08959e8b0"} 
[2026-09-10 08:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":134,"data_length":795,"current_offset":136} 
[2026-09-10 08:57: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-09-10 08:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986755840001,"66":13254,"163":206,"87":13824,"24":7,"16":130665674082091008,"45":8813825971167934464},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 08:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986755840001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:57:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 08:57:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130665674082091008,"km_value":130665674082091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813825971167934464,"description":"Unknown IO ID 45"} 
[2026-09-10 08:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986755840001,"power":13254,"unknown_163":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8813825971167934464}} 
[2026-09-10 08:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":177497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:57:24] local.INFO: GPS data processed {"connection_id":177497,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:57:24] local.INFO: Acknowledgment sent {"connection_id":177497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:57:36] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:57:36] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:57:36] local.INFO: IMEI packet received {"connection_id":176340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":176340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:57:41] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:57:41] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:57:41] local.INFO: IMEI packet received {"connection_id":176340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":176340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:57:42] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:57:42] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:57:42] local.INFO: Packet analysis {"connection_id":176340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:57:42] local.INFO: Extracted packet for processing {"connection_id":176340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 08:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:57: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-09-10 08:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 08:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":176340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:57:42] local.INFO: GPS data processed {"connection_id":176340,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:57:42] local.INFO: Acknowledgment sent {"connection_id":176340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:57:54] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08959f850012d7a4f4005eb99b00006015b20..."} 
[2026-09-10 08:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08959f850012d7a4f4005eb99b00006015b20..."} 
[2026-09-10 08:57:54] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08959f850012d7a4f4005eb99b00006015b20..."} 
[2026-09-10 08:57:54] local.INFO: Packet analysis {"connection_id":177497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:57:54] local.INFO: Extracted packet for processing {"connection_id":177497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08959"} 
[2026-09-10 08:57:54] local.INFO: GPS Element Parsed {"raw_longitude":762990400,"raw_latitude":99326384,"longitude_deg":76.29904,"latitude_deg":9.9326384,"altitude":6,"angle":347,"satellites":32,"speed":12,"hex_longitude":"2d7a4f40","hex_latitude":"05eb99b0","is_valid_coordinates":true} 
[2026-09-10 08:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986756096001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130665742801567744,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813755602423793664,"note":"Value kept but may cause issues"} 
[2026-09-10 08:57: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-09-10 08:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789010770000,"timestamp_ms":1789010770000,"timestamp_seconds":1789010770,"priority":1,"record_length":96,"hex_timestamp":"000001a08959f850"} 
[2026-09-10 08:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 08:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986756096001,"66":12776,"163":206,"87":13824,"24":12,"16":130665742801567744,"45":8813755602423793664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 08:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986756096001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:57:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 08:57:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130665742801567744,"km_value":130665742801567.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813755602423793664,"description":"Unknown IO ID 45"} 
[2026-09-10 08:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986756096001,"power":12776,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8813755602423793664}} 
[2026-09-10 08:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":177497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:57:54] local.INFO: GPS data processed {"connection_id":177497,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:57:54] local.INFO: Acknowledgment sent {"connection_id":177497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:58:13] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:58:13] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:58:13] local.INFO: Packet analysis {"connection_id":176340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:58:13] local.INFO: Extracted packet for processing {"connection_id":176340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:58:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 08:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 08:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 08:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:58: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-09-10 08:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:58:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":176340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:58:13] local.INFO: GPS data processed {"connection_id":176340,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:58:13] local.INFO: Acknowledgment sent {"connection_id":176340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:58:17] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:58:17] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:58:17] local.INFO: IMEI packet received {"connection_id":176341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":176341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:58:22] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:58:22] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:58:22] local.INFO: IMEI packet received {"connection_id":176341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":176341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:58:23] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a4670012d7a4c0005eba2e80006014f29..."} 
[2026-09-10 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a4670012d7a4c0005eba2e80006014f29..."} 
[2026-09-10 08:58:23] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a4670012d7a4c0005eba2e80006014f29..."} 
[2026-09-10 08:58:23] local.INFO: Packet analysis {"connection_id":176341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:58:23] local.INFO: Extracted packet for processing {"connection_id":176341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:58:23] local.INFO: GPS Element Parsed {"raw_longitude":762989568,"raw_latitude":99328744,"longitude_deg":76.2989568,"latitude_deg":9.9328744,"altitude":6,"angle":335,"satellites":41,"speed":16,"hex_longitude":"2d7a4c00","hex_latitude":"05eba2e8","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986757120001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130665871650586624,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813333389959081984,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789010790000,"timestamp_ms":1789010790000,"timestamp_seconds":1789010790,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a4670"} 
[2026-09-10 08:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":232,"data_length":795,"current_offset":136} 
[2026-09-10 08:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986757120001,"66":13091,"163":206,"87":13824,"24":16,"16":130665871650586624,"45":8813333389959081984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 08:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986757120001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:58:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 08:58:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130665871650586624,"km_value":130665871650586.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813333389959081984,"description":"Unknown IO ID 45"} 
[2026-09-10 08:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986757120001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8813333389959081984}} 
[2026-09-10 08:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":176341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:58:23] local.INFO: GPS data processed {"connection_id":176341,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:58:23] local.INFO: Acknowledgment sent {"connection_id":176341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:58:36] local.INFO: TCP Data received {"connection_id":178873,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:58:36] local.INFO: Processing buffer {"connection_id":178873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:58:36] local.INFO: IMEI packet received {"connection_id":178873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":178873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:58:41] local.INFO: TCP Data received {"connection_id":178873,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:58:41] local.INFO: Processing buffer {"connection_id":178873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:58:41] local.INFO: IMEI packet received {"connection_id":178873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":178873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:58:42] local.INFO: TCP Data received {"connection_id":178873,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:58:42] local.INFO: Processing buffer {"connection_id":178873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:58:42] local.INFO: Packet analysis {"connection_id":178873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:58:42] local.INFO: Extracted packet for processing {"connection_id":178873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:58:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 08:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:58: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-09-10 08:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 08:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:58:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":178873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:58:42] local.INFO: GPS data processed {"connection_id":178873,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:58:42] local.INFO: Acknowledgment sent {"connection_id":178873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:58:58] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895c4df8012d79f88005ec75880007002023..."} 
[2026-09-10 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895c4df8012d79f88005ec75880007002023..."} 
[2026-09-10 08:58:58] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895c4df8012d79f88005ec75880007002023..."} 
[2026-09-10 08:58:58] local.INFO: Packet analysis {"connection_id":176341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:58:58] local.INFO: Extracted packet for processing {"connection_id":176341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":762968192,"raw_latitude":99382664,"longitude_deg":76.2968192,"latitude_deg":9.9382664,"altitude":7,"angle":32,"satellites":35,"speed":6,"hex_longitude":"2d79f880","hex_latitude":"05ec7588","is_valid_coordinates":true} 
[2026-09-10 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-09-10 08:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986795776001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130668706329001984,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255417344,"note":"Value kept but may cause issues"} 
[2026-09-10 08:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789010923000,"timestamp_ms":1789010923000,"timestamp_seconds":1789010923,"priority":1,"record_length":96,"hex_timestamp":"000001a0895c4df8"} 
[2026-09-10 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-09-10 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-10 08:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 08:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986795776001,"66":13243,"118":206,"87":13824,"24":6,"16":130668706329001984,"45":8788774698255417344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 08:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986795776001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:58:58] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 08:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130668706329001984,"km_value":130668706329001.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255417344,"description":"Unknown IO ID 45"} 
[2026-09-10 08:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986795776001,"power":13243,"unknown_118":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8788774698255417344}} 
[2026-09-10 08:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":176341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:58:58] local.INFO: GPS data processed {"connection_id":176341,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:58:58] local.INFO: Acknowledgment sent {"connection_id":176341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:59:13] local.INFO: TCP Data received {"connection_id":178873,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:59:13] local.INFO: Processing buffer {"connection_id":178873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:59:13] local.INFO: Packet analysis {"connection_id":178873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:59:13] local.INFO: Extracted packet for processing {"connection_id":178873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:59:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 08:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:59: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-09-10 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 08:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:59: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-09-10 08:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:59:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":178873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:59:13] local.INFO: GPS data processed {"connection_id":178873,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:59:13] local.INFO: Acknowledgment sent {"connection_id":178873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:59:17] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:17] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:17] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 08:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:59:19] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:19] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:19] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:59:23] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:23] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 08:59:23] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 08:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:59:23] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895c59b0012d79f9c005ec77080007002d26..."} 
[2026-09-10 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895c59b0012d79f9c005ec77080007002d26..."} 
[2026-09-10 08:59:23] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895c59b0012d79f9c005ec77080007002d26..."} 
[2026-09-10 08:59:23] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:23] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99383048,"longitude_deg":76.2968512,"latitude_deg":9.9383048,"altitude":7,"angle":45,"satellites":38,"speed":5,"hex_longitude":"2d79f9c0","hex_latitude":"05ec7708","is_valid_coordinates":true} 
[2026-09-10 08:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986796288001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130668732098805760,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788915435743840256,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789010926000,"timestamp_ms":1789010926000,"timestamp_seconds":1789010926,"priority":1,"record_length":96,"hex_timestamp":"000001a0895c59b0"} 
[2026-09-10 08:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 08:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986796288001,"66":13656,"118":206,"87":13824,"24":5,"16":130668732098805760,"45":8788915435743840256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 08:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986796288001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130668732098805760,"km_value":130668732098805.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788915435743840256,"description":"Unknown IO ID 45"} 
[2026-09-10 08:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986796288001,"power":13656,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8788915435743840256}} 
[2026-09-10 08:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:59:23] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:59:23] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:59:36] local.INFO: TCP Data received {"connection_id":178874,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:59:36] local.INFO: Processing buffer {"connection_id":178874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:59:36] local.INFO: IMEI packet received {"connection_id":178874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 08:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":178874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:59:41] local.INFO: TCP Data received {"connection_id":178874,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:59:41] local.INFO: Processing buffer {"connection_id":178874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 08:59:41] local.INFO: IMEI packet received {"connection_id":178874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 08:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":178874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:59:42] local.INFO: TCP Data received {"connection_id":178874,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:59:42] local.INFO: Processing buffer {"connection_id":178874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 08:59:42] local.INFO: Packet analysis {"connection_id":178874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:59:42] local.INFO: Extracted packet for processing {"connection_id":178874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 08:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:59: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-09-10 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 08:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 08:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:59:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 08:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":178874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:59:42] local.INFO: GPS data processed {"connection_id":178874,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:59:42] local.INFO: Acknowledgment sent {"connection_id":178874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:59:53] local.INFO: TCP Data received {"connection_id":177499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:53] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:53] local.INFO: IMEI packet received {"connection_id":177499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 08:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":177499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 08:59:54] local.INFO: TCP Data received {"connection_id":177499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:54] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:54] local.INFO: IMEI packet received {"connection_id":177499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":177499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:59:55] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895c5d98012d79fa8005ec77580007003d27..."} 
[2026-09-10 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895c5d98012d79fa8005ec77580007003d27..."} 
[2026-09-10 08:59:55] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895c5d98012d79fa8005ec77580007003d27..."} 
[2026-09-10 08:59:55] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:55] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":99383128,"longitude_deg":76.2968704,"latitude_deg":9.9383128,"altitude":7,"angle":61,"satellites":39,"speed":6,"hex_longitude":"2d79fa80","hex_latitude":"05ec7758","is_valid_coordinates":true} 
[2026-09-10 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986797056001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130668740688740352,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464826880,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789010927000,"timestamp_ms":1789010927000,"timestamp_seconds":1789010927,"priority":1,"record_length":96,"hex_timestamp":"000001a0895c5d98"} 
[2026-09-10 08:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08:59: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-09-10 08:59: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-09-10 08:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 08:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 08:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 08:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 08:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986797056001,"66":13656,"118":206,"87":13824,"24":6,"16":130668740688740352,"45":8789267279464826880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 08:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 08:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986797056001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 08:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130668740688740352,"km_value":130668740688740.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464826880,"description":"Unknown IO ID 45"} 
[2026-09-10 08:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986797056001,"power":13656,"unknown_118":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789267279464826880}} 
[2026-09-10 08:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:59:55] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:59:55] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:59:56] local.INFO: TCP Data received {"connection_id":177499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:56] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 08:59:56] local.INFO: IMEI packet received {"connection_id":177499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 08:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":177499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 08:59:57] local.INFO: TCP Data received {"connection_id":177499,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895c2eb8012d0b544007060c48000e00171d..."} 
[2026-09-10 08:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895c2eb8012d0b544007060c48000e00171d..."} 
[2026-09-10 08:59:57] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895c2eb8012d0b544007060c48000e00171d..."} 
[2026-09-10 08:59:57] local.INFO: Packet analysis {"connection_id":177499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:57] local.INFO: Extracted packet for processing {"connection_id":177499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:57] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836872,"longitude_deg":75.5717184,"latitude_deg":11.7836872,"altitude":14,"angle":23,"satellites":29,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060c48","is_valid_coordinates":true} 
[2026-09-10 08:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 08:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986789120001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31080895909724160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742830592,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789010915000,"timestamp_ms":1789010915000,"timestamp_seconds":1789010915,"priority":1,"record_length":96,"hex_timestamp":"000001a0895c2eb8"} 
[2026-09-10 08:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:59: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-09-10 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 08:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 08:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:59:57] 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-09-10 08:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986789120001,"66":14548,"165":206,"94":10240,"24":0,"16":31080895909724160,"45":814870087742830592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 08:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986789120001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:59:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 08:59:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31080895909724160,"km_value":31080895909724.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742830592,"description":"Unknown IO ID 45"} 
[2026-09-10 08:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986789120001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814870087742830592}} 
[2026-09-10 08:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":177499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:59:57] local.INFO: GPS data processed {"connection_id":177499,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:59:57] local.INFO: Acknowledgment sent {"connection_id":177499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 08:59:59] local.INFO: TCP Data received {"connection_id":177499,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895c80c0012d0b544007060c48000e00171e..."} 
[2026-09-10 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895c80c0012d0b544007060c48000e00171e..."} 
[2026-09-10 08:59:59] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895c80c0012d0b544007060c48000e00171e..."} 
[2026-09-10 08:59:59] local.INFO: Packet analysis {"connection_id":177499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:59] local.INFO: Extracted packet for processing {"connection_id":177499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 08:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836872,"longitude_deg":75.5717184,"latitude_deg":11.7836872,"altitude":14,"angle":23,"satellites":30,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060c48","is_valid_coordinates":true} 
[2026-09-10 08: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-09-10 08:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986794240001,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31080895909724160,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371319296,"note":"Value kept but may cause issues"} 
[2026-09-10 08:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 08:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789010936000,"timestamp_ms":1789010936000,"timestamp_seconds":1789010936,"priority":1,"record_length":96,"hex_timestamp":"000001a0895c80c0"} 
[2026-09-10 08:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 08:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 08:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 08: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-09-10 08:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 08:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 08:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 08:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 08:59:59] 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-09-10 08:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 08:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 08:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986794240001,"66":14352,"165":206,"94":10240,"24":0,"16":31080895909724160,"45":816347831371319296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 08:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 08:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 08:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986794240001,"description":"Unknown IO ID 0"} 
[2026-09-10 08:59:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 08:59:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 08:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31080895909724160,"km_value":31080895909724.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 08:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371319296,"description":"Unknown IO ID 45"} 
[2026-09-10 08:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986794240001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816347831371319296}} 
[2026-09-10 08:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":177499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 08:59:59] local.INFO: GPS data processed {"connection_id":177499,"processed":1,"errors":0,"total":1} 
[2026-09-10 08:59:59] local.INFO: Acknowledgment sent {"connection_id":177499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:00:14] local.INFO: TCP Data received {"connection_id":178874,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:00:14] local.INFO: Processing buffer {"connection_id":178874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:00:14] local.INFO: Packet analysis {"connection_id":178874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:00:14] local.INFO: Extracted packet for processing {"connection_id":178874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:00:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 09:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 09:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:00:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:00:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":178874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:00:14] local.INFO: GPS data processed {"connection_id":178874,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:00:14] local.INFO: Acknowledgment sent {"connection_id":178874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:00:22] local.INFO: TCP Data received {"connection_id":178875,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:22] local.INFO: Processing buffer {"connection_id":178875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:22] local.INFO: IMEI packet received {"connection_id":178875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":178875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:00:23] local.INFO: TCP Data received {"connection_id":178875,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:23] local.INFO: Processing buffer {"connection_id":178875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:23] local.INFO: IMEI packet received {"connection_id":178875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":178875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:00:27] local.INFO: TCP Data received {"connection_id":178875,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:27] local.INFO: Processing buffer {"connection_id":178875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:00:27] local.INFO: IMEI packet received {"connection_id":178875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":178875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:00:28] local.INFO: TCP Data received {"connection_id":178875,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895c84a8012d7a080005ec7d880006004b27..."} 
[2026-09-10 09:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895c84a8012d7a080005ec7d880006004b27..."} 
[2026-09-10 09:00:28] local.INFO: Processing buffer {"connection_id":178875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895c84a8012d7a080005ec7d880006004b27..."} 
[2026-09-10 09:00:28] local.INFO: Packet analysis {"connection_id":178875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 09:00:28] local.INFO: Extracted packet for processing {"connection_id":178875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 09:00:28] local.INFO: GPS Element Parsed {"raw_longitude":762972160,"raw_latitude":99384712,"longitude_deg":76.297216,"latitude_deg":9.9384712,"altitude":6,"angle":75,"satellites":39,"speed":6,"hex_longitude":"2d7a0800","hex_latitude":"05ec7d88","is_valid_coordinates":true} 
[2026-09-10 09:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986797312001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130668925372334080,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789478385697380352,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789010937000,"timestamp_ms":1789010937000,"timestamp_seconds":1789010937,"priority":1,"record_length":96,"hex_timestamp":"000001a0895c84a8"} 
[2026-09-10 09:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:00: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-09-10 09:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 09:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986797312001,"66":13015,"118":206,"87":13824,"24":6,"16":130668925372334080,"45":8789478385697380352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 09:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986797312001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:00:28] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 09:00:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130668925372334080,"km_value":130668925372334.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789478385697380352,"description":"Unknown IO ID 45"} 
[2026-09-10 09:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986797312001,"power":13015,"unknown_118":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789478385697380352}} 
[2026-09-10 09:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":178875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:00:28] local.INFO: GPS data processed {"connection_id":178875,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:00:28] local.INFO: Acknowledgment sent {"connection_id":178875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:00:30] local.INFO: TCP Data received {"connection_id":177499,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895cd2c8012d0b544007060c48000e00171c..."} 
[2026-09-10 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895cd2c8012d0b544007060c48000e00171c..."} 
[2026-09-10 09:00:30] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895cd2c8012d0b544007060c48000e00171c..."} 
[2026-09-10 09:00:30] local.INFO: Packet analysis {"connection_id":177499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 09:00:30] local.INFO: Extracted packet for processing {"connection_id":177499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836872,"longitude_deg":75.5717184,"latitude_deg":11.7836872,"altitude":14,"angle":23,"satellites":28,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060c48","is_valid_coordinates":true} 
[2026-09-10 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986799616001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31080895909724160,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371319296,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789010957000,"timestamp_ms":1789010957000,"timestamp_seconds":1789010957,"priority":1,"record_length":96,"hex_timestamp":"000001a0895cd2c8"} 
[2026-09-10 09:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:00: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-09-10 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147648,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2304495864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504073881255936,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4290773009,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151653,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792914731237632,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3758173451,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2147943935,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84736358971016708,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4504145625095680,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2774225093213552655,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:30] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,165,94,24,241,157,16,107,160,46,45,64,12,14,29,10,66,224,32,220,192,1,240,71,227,137,5,4,113,205,8,212,77,120,239,56,2,110,7,17,9,206,112,184,11],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-09-10 09:00:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008831734147448832,"timestamp_seconds":1008831734147448.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 09:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:00:30] 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-09-10 09:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986799616001,"66":14548,"165":206,"94":10240,"24":0,"16":31080895909724160,"45":816347831371319296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986799616001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31080895909724160,"km_value":31080895909724.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371319296,"description":"Unknown IO ID 45"} 
[2026-09-10 09:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986799616001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816347831371319296}} 
[2026-09-10 09:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":177499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792873,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:00:30] local.INFO: GPS data processed {"connection_id":177499,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:00:30] local.INFO: Acknowledgment sent {"connection_id":177499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:00:33] local.INFO: TCP Data received {"connection_id":178875,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895cd6b0012d7a08c005ec7da80006004b25..."} 
[2026-09-10 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895cd6b0012d7a08c005ec7da80006004b25..."} 
[2026-09-10 09:00:33] local.INFO: Processing buffer {"connection_id":178875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895cd6b0012d7a08c005ec7da80006004b25..."} 
[2026-09-10 09:00:33] local.INFO: Packet analysis {"connection_id":178875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 09:00:33] local.INFO: Extracted packet for processing {"connection_id":178875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895c"} 
[2026-09-10 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":762972352,"raw_latitude":99384744,"longitude_deg":76.2972352,"latitude_deg":9.9384744,"altitude":6,"angle":75,"satellites":37,"speed":0,"hex_longitude":"2d7a08c0","hex_latitude":"05ec7da8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986799872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130668933962268672,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793278297883379712,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789010958000,"timestamp_ms":1789010958000,"timestamp_seconds":1789010958,"priority":1,"record_length":96,"hex_timestamp":"000001a0895cd6b0"} 
[2026-09-10 09:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-10 09:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986799872001,"66":13254,"100":206,"87":13824,"24":0,"16":130668933962268672,"45":8793278297883379712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 09:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986799872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:00:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 09:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130668933962268672,"km_value":130668933962268.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793278297883379712,"description":"Unknown IO ID 45"} 
[2026-09-10 09:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986799872001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793278297883379712}} 
[2026-09-10 09:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":178875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:00:33] local.INFO: GPS data processed {"connection_id":178875,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:00:33] local.INFO: Acknowledgment sent {"connection_id":178875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:00:36] local.INFO: TCP Data received {"connection_id":176342,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:00:36] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:00:36] local.INFO: IMEI packet received {"connection_id":176342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":176342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:00:41] local.INFO: TCP Data received {"connection_id":176342,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:00:41] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:00:41] local.INFO: IMEI packet received {"connection_id":176342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":176342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:00:42] local.INFO: TCP Data received {"connection_id":176342,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:00:42] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:00:42] local.INFO: Packet analysis {"connection_id":176342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:00:42] local.INFO: Extracted packet for processing {"connection_id":176342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 09:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:00: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-09-10 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:00:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":176342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:00:42] local.INFO: GPS data processed {"connection_id":176342,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:00:42] local.INFO: Acknowledgment sent {"connection_id":176342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:00:49] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:49] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:49] local.INFO: IMEI packet received {"connection_id":176343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":176343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:00:50] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:50] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:50] local.INFO: IMEI packet received {"connection_id":176343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":176343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:00:54] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:54] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:00:54] local.INFO: IMEI packet received {"connection_id":176343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":176343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:00:55] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895d24d0012d0b544007060c48000e00171e..."} 
[2026-09-10 09:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895d24d0012d0b544007060c48000e00171e..."} 
[2026-09-10 09:00:55] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895d24d0012d0b544007060c48000e00171e..."} 
[2026-09-10 09:00:55] local.INFO: Packet analysis {"connection_id":176343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895d"} 
[2026-09-10 09:00:55] local.INFO: Extracted packet for processing {"connection_id":176343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895d"} 
[2026-09-10 09:00:55] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836872,"longitude_deg":75.5717184,"latitude_deg":11.7836872,"altitude":14,"angle":23,"satellites":30,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060c48","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986804992001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31080895909724160,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371319296,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00: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-09-10 09:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789010978000,"timestamp_ms":1789010978000,"timestamp_seconds":1789010978,"priority":1,"record_length":96,"hex_timestamp":"000001a0895d24d0"} 
[2026-09-10 09:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 09:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:00: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-09-10 09:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986804992001,"66":14450,"165":206,"94":10240,"24":0,"16":31080895909724160,"45":816347831371319296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986804992001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:00:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:00:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31080895909724160,"km_value":31080895909724.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371319296,"description":"Unknown IO ID 45"} 
[2026-09-10 09:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986804992001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816347831371319296}} 
[2026-09-10 09:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":176343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:00:55] local.INFO: GPS data processed {"connection_id":176343,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:00:55] local.INFO: Acknowledgment sent {"connection_id":176343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:00:56] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895d5798012d0b544007060cf8000e00d81d..."} 
[2026-09-10 09:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895d5798012d0b544007060cf8000e00d81d..."} 
[2026-09-10 09:00:56] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895d5798012d0b544007060cf8000e00d81d..."} 
[2026-09-10 09:00:56] local.INFO: Packet analysis {"connection_id":176343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895d"} 
[2026-09-10 09:00:56] local.INFO: Extracted packet for processing {"connection_id":176343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895d"} 
[2026-09-10 09:00:56] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117837048,"longitude_deg":75.5717184,"latitude_deg":11.7837048,"altitude":14,"angle":216,"satellites":29,"speed":2,"hex_longitude":"2d0b5440","hex_latitude":"07060cf8","is_valid_coordinates":true} 
[2026-09-10 09:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986810368001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31080904499658752,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371319296,"note":"Value kept but may cause issues"} 
[2026-09-10 09:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789010991000,"timestamp_ms":1789010991000,"timestamp_seconds":1789010991,"priority":1,"record_length":96,"hex_timestamp":"000001a0895d5798"} 
[2026-09-10 09:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:00:56] 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-09-10 09:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986810368001,"66":14515,"165":206,"94":10240,"24":2,"16":31080904499658752,"45":816347831371319296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986810368001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:00:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:00:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31080904499658752,"km_value":31080904499658.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371319296,"description":"Unknown IO ID 45"} 
[2026-09-10 09:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986810368001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816347831371319296}} 
[2026-09-10 09:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":176343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792877,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:00:56] local.INFO: GPS data processed {"connection_id":176343,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:00:56] local.INFO: Acknowledgment sent {"connection_id":176343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:01:13] local.INFO: TCP Data received {"connection_id":176342,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:01:13] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:01:13] local.INFO: Packet analysis {"connection_id":176342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:01:13] local.INFO: Extracted packet for processing {"connection_id":176342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:01:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 09:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09: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-09-10 09:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:01: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-09-10 09:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:01:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:01:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":176342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:01:13] local.INFO: GPS data processed {"connection_id":176342,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:01:13] local.INFO: Acknowledgment sent {"connection_id":176342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:01:17] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:01:17] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:01:17] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:01:22] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:01:22] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:01:22] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:01:24] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895e5198012d7a184005ec8200000600da27..."} 
[2026-09-10 09:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895e5198012d7a184005ec8200000600da27..."} 
[2026-09-10 09:01:24] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895e5198012d7a184005ec8200000600da27..."} 
[2026-09-10 09:01:24] local.INFO: Packet analysis {"connection_id":176106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:01:24] local.INFO: Extracted packet for processing {"connection_id":176106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:01:24] local.INFO: GPS Element Parsed {"raw_longitude":762976320,"raw_latitude":99385856,"longitude_deg":76.297632,"latitude_deg":9.9385856,"altitude":6,"angle":218,"satellites":39,"speed":9,"hex_longitude":"2d7a1840","hex_latitude":"05ec8200","is_valid_coordinates":true} 
[2026-09-10 09:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986829824001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130669264674750464,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797922634999449600,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011055000,"timestamp_ms":1789011055000,"timestamp_seconds":1789011055,"priority":1,"record_length":96,"hex_timestamp":"000001a0895e5198"} 
[2026-09-10 09:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:01: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-09-10 09:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 09:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986829824001,"66":13537,"100":206,"87":13824,"24":9,"16":130669264674750464,"45":8797922634999449600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 09:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986829824001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:01:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 09:01:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130669264674750464,"km_value":130669264674750.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797922634999449600,"description":"Unknown IO ID 45"} 
[2026-09-10 09:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986829824001,"power":13537,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8797922634999449600}} 
[2026-09-10 09:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":176106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:01:24] local.INFO: GPS data processed {"connection_id":176106,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:01:24] local.INFO: Acknowledgment sent {"connection_id":176106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:01:27] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895d6350012d0b538007060c00000e00ca20..."} 
[2026-09-10 09:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895d6350012d0b538007060c00000e00ca20..."} 
[2026-09-10 09:01:27] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895d6350012d0b538007060c00000e00ca20..."} 
[2026-09-10 09:01:27] local.INFO: Packet analysis {"connection_id":176343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895d"} 
[2026-09-10 09:01:27] local.INFO: Extracted packet for processing {"connection_id":176343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895d"} 
[2026-09-10 09:01:27] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836800,"longitude_deg":75.5716992,"latitude_deg":11.78368,"altitude":14,"angle":202,"satellites":32,"speed":3,"hex_longitude":"2d0b5380","hex_latitude":"07060c00","is_valid_coordinates":true} 
[2026-09-10 09:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986813696001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31080917384560640,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371364352,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01: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-09-10 09:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789010994000,"timestamp_ms":1789010994000,"timestamp_seconds":1789010994,"priority":1,"record_length":96,"hex_timestamp":"000001a0895d6350"} 
[2026-09-10 09:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:01: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-09-10 09:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:01: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-09-10 09:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:01:27] 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-09-10 09:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986813696001,"66":13678,"165":206,"94":10240,"24":3,"16":31080917384560640,"45":816347831371364352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986813696001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:01:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:01:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31080917384560640,"km_value":31080917384560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371364352,"description":"Unknown IO ID 45"} 
[2026-09-10 09:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986813696001,"power":13678,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":816347831371364352}} 
[2026-09-10 09:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":176343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:01:27] local.INFO: GPS data processed {"connection_id":176343,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:01:27] local.INFO: Acknowledgment sent {"connection_id":176343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:01:36] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:01:36] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:01:36] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:01:41] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:01:41] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:01:41] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:01:42] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:01:42] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895a2f00012cee6fc0072e2ba80034006b20..."} 
[2026-09-10 09:01:42] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:01:42] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895a"} 
[2026-09-10 09:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 09:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789010784000,"timestamp_ms":1789010784000,"timestamp_seconds":1789010784,"priority":1,"record_length":96,"hex_timestamp":"000001a0895a2f00"} 
[2026-09-10 09:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:01: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-09-10 09:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986683648001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:01:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986683648001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:01:42] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:01:42] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:01:49] local.INFO: TCP Data received {"connection_id":177500,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:49] local.INFO: Processing buffer {"connection_id":177500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:49] local.INFO: IMEI packet received {"connection_id":177500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":177500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:01:49] local.INFO: TCP Data received {"connection_id":177500,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:50] local.INFO: Processing buffer {"connection_id":177500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:50] local.INFO: IMEI packet received {"connection_id":177500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":177500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:01:54] local.INFO: TCP Data received {"connection_id":177500,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:54] local.INFO: Processing buffer {"connection_id":177500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:01:54] local.INFO: IMEI packet received {"connection_id":177500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":177500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:01:55] local.INFO: TCP Data received {"connection_id":177500,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895ed280012d0b28c007061228000e00a820..."} 
[2026-09-10 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895ed280012d0b28c007061228000e00a820..."} 
[2026-09-10 09:01:55] local.INFO: Processing buffer {"connection_id":177500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895ed280012d0b28c007061228000e00a820..."} 
[2026-09-10 09:01:55] local.INFO: Packet analysis {"connection_id":177500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:01:55] local.INFO: Extracted packet for processing {"connection_id":177500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":755706048,"raw_latitude":117838376,"longitude_deg":75.5706048,"latitude_deg":11.7838376,"altitude":14,"angle":168,"satellites":32,"speed":2,"hex_longitude":"2d0b28c0","hex_latitude":"07061228","is_valid_coordinates":true} 
[2026-09-10 09:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986836480001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31081643234033664,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804385144861595648,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01: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-09-10 09:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011088000,"timestamp_ms":1789011088000,"timestamp_seconds":1789011088,"priority":1,"record_length":96,"hex_timestamp":"000001a0895ed280"} 
[2026-09-10 09:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 09:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:01: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-09-10 09:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986836480001,"66":14428,"165":206,"94":10240,"24":2,"16":31081643234033664,"45":804385144861595648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986836480001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31081643234033664,"km_value":31081643234033.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":804385144861595648,"description":"Unknown IO ID 45"} 
[2026-09-10 09:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986836480001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":804385144861595648}} 
[2026-09-10 09:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":177500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:01:55] local.INFO: GPS data processed {"connection_id":177500,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:01:55] local.INFO: Acknowledgment sent {"connection_id":177500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:01:55] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895e5580012d7a174005ec8128000600eb28..."} 
[2026-09-10 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895e5580012d7a174005ec8128000600eb28..."} 
[2026-09-10 09:01:55] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895e5580012d7a174005ec8128000600eb28..."} 
[2026-09-10 09:01:55] local.INFO: Packet analysis {"connection_id":176106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:01:55] local.INFO: Extracted packet for processing {"connection_id":176106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":762976064,"raw_latitude":99385640,"longitude_deg":76.2976064,"latitude_deg":9.938564,"altitude":6,"angle":235,"satellites":40,"speed":12,"hex_longitude":"2d7a1740","hex_latitude":"05ec8128","is_valid_coordinates":true} 
[2026-09-10 09:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986830080001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130669281854619648,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797852266255220736,"note":"Value kept but may cause issues"} 
[2026-09-10 09:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011056000,"timestamp_ms":1789011056000,"timestamp_seconds":1789011056,"priority":1,"record_length":96,"hex_timestamp":"000001a0895e5580"} 
[2026-09-10 09:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 09:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986830080001,"66":13787,"100":206,"87":13824,"24":12,"16":130669281854619648,"45":8797852266255220736},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 09:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986830080001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130669281854619648,"km_value":130669281854619.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797852266255220736,"description":"Unknown IO ID 45"} 
[2026-09-10 09:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986830080001,"power":13787,"unknown_100":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8797852266255220736}} 
[2026-09-10 09:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":176106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:01:55] local.INFO: GPS data processed {"connection_id":176106,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:01:55] local.INFO: Acknowledgment sent {"connection_id":176106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:02:13] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895ec6c8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895ec6c8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 09:02:13] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895ec6c8012cee6fc0072e2ba80034006b24..."} 
[2026-09-10 09:02:13] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:02:13] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":52,"angle":107,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-09-10 09:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986760704001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011085000,"timestamp_ms":1789011085000,"timestamp_seconds":1789011085,"priority":1,"record_length":96,"hex_timestamp":"000001a0895ec6c8"} 
[2026-09-10 09:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986760704001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986760704001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:02:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986760704001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:02:13] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:02:13] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:02:17] local.INFO: TCP Data received {"connection_id":177501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:02:17] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:02:17] local.INFO: IMEI packet received {"connection_id":177501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":177501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:02:22] local.INFO: TCP Data received {"connection_id":177501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:02:22] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:02:22] local.INFO: IMEI packet received {"connection_id":177501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":177501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:02:24] local.INFO: TCP Data received {"connection_id":177501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0895e5968012d7a160005ec8098000600fe27..."} 
[2026-09-10 09:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895e5968012d7a160005ec8098000600fe27..."} 
[2026-09-10 09:02:24] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895e5968012d7a160005ec8098000600fe27..."} 
[2026-09-10 09:02:24] local.INFO: Packet analysis {"connection_id":177501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:02:24] local.INFO: Extracted packet for processing {"connection_id":177501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:02:24] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99385496,"longitude_deg":76.2975744,"latitude_deg":9.9385496,"altitude":6,"angle":254,"satellites":39,"speed":14,"hex_longitude":"2d7a1600","hex_latitude":"05ec8098","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986830336001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130669294739521536,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797570791278454784,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011057000,"timestamp_ms":1789011057000,"timestamp_seconds":1789011057,"priority":1,"record_length":96,"hex_timestamp":"000001a0895e5968"} 
[2026-09-10 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-09-10 09:02: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-09-10 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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-10 09:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 09:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986830336001,"66":13787,"100":206,"87":13824,"24":14,"16":130669294739521536,"45":8797570791278454784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 09:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986830336001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:02:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 09:02:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130669294739521536,"km_value":130669294739521.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797570791278454784,"description":"Unknown IO ID 45"} 
[2026-09-10 09:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986830336001,"power":13787,"unknown_100":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8797570791278454784}} 
[2026-09-10 09:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":177501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:02:24] local.INFO: GPS data processed {"connection_id":177501,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:02:24] local.INFO: Acknowledgment sent {"connection_id":177501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:02:26] local.INFO: TCP Data received {"connection_id":177500,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895eedd8012d0b2a80070608a8000e00b520..."} 
[2026-09-10 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895eedd8012d0b2a80070608a8000e00b520..."} 
[2026-09-10 09:02:26] local.INFO: Processing buffer {"connection_id":177500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895eedd8012d0b2a80070608a8000e00b520..."} 
[2026-09-10 09:02:26] local.INFO: Packet analysis {"connection_id":177500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:02:26] local.INFO: Extracted packet for processing {"connection_id":177500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895e"} 
[2026-09-10 09:02:26] local.INFO: GPS Element Parsed {"raw_longitude":755706496,"raw_latitude":117835944,"longitude_deg":75.5706496,"latitude_deg":11.7835944,"altitude":14,"angle":181,"satellites":32,"speed":20,"hex_longitude":"2d0b2a80","hex_latitude":"070608a8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986838528001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31081763493117952,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804103669884790784,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011095000,"timestamp_ms":1789011095000,"timestamp_seconds":1789011095,"priority":1,"record_length":96,"hex_timestamp":"000001a0895eedd8"} 
[2026-09-10 09:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:02:26] 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-09-10 09:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986838528001,"66":14374,"165":206,"94":10240,"24":20,"16":31081763493117952,"45":804103669884790784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986838528001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:02:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:02:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31081763493117952,"km_value":31081763493117.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":804103669884790784,"description":"Unknown IO ID 45"} 
[2026-09-10 09:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986838528001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":804103669884790784}} 
[2026-09-10 09:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":177500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:02:26] local.INFO: GPS data processed {"connection_id":177500,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:02:26] local.INFO: Acknowledgment sent {"connection_id":177500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:02:34] local.INFO: TCP Data received {"connection_id":178876,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:34] local.INFO: Processing buffer {"connection_id":178876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:34] local.INFO: IMEI packet received {"connection_id":178876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":178876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:02:36] local.INFO: TCP Data received {"connection_id":178876,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:36] local.INFO: Processing buffer {"connection_id":178876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:36] local.INFO: IMEI packet received {"connection_id":178876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":178876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:02:41] local.INFO: TCP Data received {"connection_id":178876,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:41] local.INFO: Processing buffer {"connection_id":178876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:02:41] local.INFO: IMEI packet received {"connection_id":178876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":178876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:02:42] local.INFO: TCP Data received {"connection_id":178876,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:02:42] local.INFO: Processing buffer {"connection_id":178876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:02:42] local.INFO: Packet analysis {"connection_id":178876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:02:42] local.INFO: Extracted packet for processing {"connection_id":178876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:02: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-09-10 09:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:02:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":178876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:02:42] local.INFO: GPS data processed {"connection_id":178876,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:02:42] local.INFO: Acknowledgment sent {"connection_id":178876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:02:48] local.INFO: TCP Data received {"connection_id":178877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:48] local.INFO: Processing buffer {"connection_id":178877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:48] local.INFO: IMEI packet received {"connection_id":178877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":178877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:02:49] local.INFO: TCP Data received {"connection_id":178877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:49] local.INFO: Processing buffer {"connection_id":178877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:49] local.INFO: IMEI packet received {"connection_id":178877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":178877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:02:51] local.INFO: TCP Data received {"connection_id":178877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:51] local.INFO: Processing buffer {"connection_id":178877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:02:51] local.INFO: IMEI packet received {"connection_id":178877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":178877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:02:52] local.INFO: TCP Data received {"connection_id":178877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fe008012d0b074007059b28001801031f..."} 
[2026-09-10 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fe008012d0b074007059b28001801031f..."} 
[2026-09-10 09:02:52] local.INFO: Processing buffer {"connection_id":178877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fe008012d0b074007059b28001801031f..."} 
[2026-09-10 09:02:52] local.INFO: Packet analysis {"connection_id":178877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:02:52] local.INFO: Extracted packet for processing {"connection_id":178877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":755697472,"raw_latitude":117807912,"longitude_deg":75.5697472,"latitude_deg":11.7807912,"altitude":24,"angle":259,"satellites":31,"speed":10,"hex_longitude":"2d0b0740","hex_latitude":"07059b28","is_valid_coordinates":true} 
[2026-09-10 09:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986855680001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31083464300167168,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795166839366445056,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789011157000,"timestamp_ms":1789011157000,"timestamp_seconds":1789011157,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fe008"} 
[2026-09-10 09:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:02: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-09-10 09:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:02: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-09-10 09:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986855680001,"66":14428,"165":206,"94":10240,"24":10,"16":31083464300167168,"45":795166839366445056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986855680001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:02:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:02:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31083464300167168,"km_value":31083464300167.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":795166839366445056,"description":"Unknown IO ID 45"} 
[2026-09-10 09:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986855680001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":795166839366445056}} 
[2026-09-10 09:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":178877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:02:52] local.INFO: GPS data processed {"connection_id":178877,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:02:52] local.INFO: Acknowledgment sent {"connection_id":178877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:02:56] local.INFO: TCP Data received {"connection_id":177501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089600330012d79f20005ecae98000d001923..."} 
[2026-09-10 09:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089600330012d79f20005ecae98000d001923..."} 
[2026-09-10 09:02:56] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089600330012d79f20005ecae98000d001923..."} 
[2026-09-10 09:02:56] local.INFO: Packet analysis {"connection_id":177501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:02:56] local.INFO: Extracted packet for processing {"connection_id":177501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:02:56] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":99397272,"longitude_deg":76.2966528,"latitude_deg":9.9397272,"altitude":13,"angle":25,"satellites":35,"speed":8,"hex_longitude":"2d79f200","hex_latitude":"05ecae98","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986858240001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130670660539121664,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786945110910554112,"note":"Value kept but may cause issues"} 
[2026-09-10 09:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789011166000,"timestamp_ms":1789011166000,"timestamp_seconds":1789011166,"priority":1,"record_length":96,"hex_timestamp":"000001a089600330"} 
[2026-09-10 09:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 09:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986858240001,"66":13406,"118":206,"87":13824,"24":8,"16":130670660539121664,"45":8786945110910554112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 09:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986858240001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:02:56] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 09:02:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130670660539121664,"km_value":130670660539121.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786945110910554112,"description":"Unknown IO ID 45"} 
[2026-09-10 09:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986858240001,"power":13406,"unknown_118":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8786945110910554112}} 
[2026-09-10 09:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":177501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:02:56] local.INFO: GPS data processed {"connection_id":177501,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:02:56] local.INFO: Acknowledgment sent {"connection_id":177501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:03:13] local.INFO: TCP Data received {"connection_id":178876,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:03:13] local.INFO: Processing buffer {"connection_id":178876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:03:13] local.INFO: Packet analysis {"connection_id":178876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:03:13] local.INFO: Extracted packet for processing {"connection_id":178876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:03:13] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:03: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-09-10 09:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:03:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":178876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:03:13] local.INFO: GPS data processed {"connection_id":178876,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:03:13] local.INFO: Acknowledgment sent {"connection_id":178876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:03:17] local.INFO: TCP Data received {"connection_id":178878,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:03:17] local.INFO: Processing buffer {"connection_id":178878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:03:17] local.INFO: IMEI packet received {"connection_id":178878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":178878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:03:22] local.INFO: TCP Data received {"connection_id":178878,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:03:22] local.INFO: Processing buffer {"connection_id":178878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:03:22] local.INFO: IMEI packet received {"connection_id":178878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":178878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:03:23] local.INFO: TCP Data received {"connection_id":178877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fefa8012d0b028007059ae80019010f1f..."} 
[2026-09-10 09:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fefa8012d0b028007059ae80019010f1f..."} 
[2026-09-10 09:03:23] local.INFO: Processing buffer {"connection_id":178877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fefa8012d0b028007059ae80019010f1f..."} 
[2026-09-10 09:03:23] local.INFO: Packet analysis {"connection_id":178877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:03:23] local.INFO: Extracted packet for processing {"connection_id":178877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":755696256,"raw_latitude":117807848,"longitude_deg":75.5696256,"latitude_deg":11.7807848,"altitude":25,"angle":271,"satellites":31,"speed":12,"hex_longitude":"2d0b0280","hex_latitude":"07059ae8","is_valid_coordinates":true} 
[2026-09-10 09:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986856192001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31083520134742016,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794674258157185024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03: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-09-10 09:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789011161000,"timestamp_ms":1789011161000,"timestamp_seconds":1789011161,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fefa8"} 
[2026-09-10 09:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:03:23] 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-09-10 09:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986856192001,"66":14396,"165":206,"94":10240,"24":12,"16":31083520134742016,"45":794674258157185024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986856192001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:03:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:03:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31083520134742016,"km_value":31083520134742.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":794674258157185024,"description":"Unknown IO ID 45"} 
[2026-09-10 09:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986856192001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":794674258157185024}} 
[2026-09-10 09:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":178877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:03:23] local.INFO: GPS data processed {"connection_id":178877,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:03:23] local.INFO: Acknowledgment sent {"connection_id":178877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:03:24] local.INFO: TCP Data received {"connection_id":178878,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089600718012d79f20005ecaf90000d000721..."} 
[2026-09-10 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089600718012d79f20005ecaf90000d000721..."} 
[2026-09-10 09:03:24] local.INFO: Processing buffer {"connection_id":178878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089600718012d79f20005ecaf90000d000721..."} 
[2026-09-10 09:03:24] local.INFO: Packet analysis {"connection_id":178878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:03:24] local.INFO: Extracted packet for processing {"connection_id":178878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":99397520,"longitude_deg":76.2966528,"latitude_deg":9.939752,"altitude":13,"angle":7,"satellites":33,"speed":7,"hex_longitude":"2d79f200","hex_latitude":"05ecaf90","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986858496001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130670673424023552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787085848398960640,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011167000,"timestamp_ms":1789011167000,"timestamp_seconds":1789011167,"priority":1,"record_length":96,"hex_timestamp":"000001a089600718"} 
[2026-09-10 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-09-10 09:03: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 09:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986858496001,"66":13406,"118":206,"87":13824,"24":7,"16":130670673424023552,"45":8787085848398960640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 09:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986858496001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:03:24] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 09:03:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130670673424023552,"km_value":130670673424023.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787085848398960640,"description":"Unknown IO ID 45"} 
[2026-09-10 09:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986858496001,"power":13406,"unknown_118":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8787085848398960640}} 
[2026-09-10 09:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":178878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:03:24] local.INFO: GPS data processed {"connection_id":178878,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:03:24] local.INFO: Acknowledgment sent {"connection_id":178878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:03:36] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:03:36] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:03:36] local.INFO: IMEI packet received {"connection_id":176108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":176108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:03:41] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:03:41] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:03:41] local.INFO: IMEI packet received {"connection_id":176108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":176108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:03:42] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:03:42] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:03:42] local.INFO: Packet analysis {"connection_id":176108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:03:42] local.INFO: Extracted packet for processing {"connection_id":176108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:03: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-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:03:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":176108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:03:42] local.INFO: GPS data processed {"connection_id":176108,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:03:42] local.INFO: Acknowledgment sent {"connection_id":176108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:03:49] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:03:49] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:03:49] local.INFO: IMEI packet received {"connection_id":176344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":176344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:03:54] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:03:54] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:03:54] local.INFO: IMEI packet received {"connection_id":176344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":176344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:03:55] local.INFO: TCP Data received {"connection_id":178878,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089600b00012d79f24005ecb038000d001320..."} 
[2026-09-10 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089600b00012d79f24005ecb038000d001320..."} 
[2026-09-10 09:03:55] local.INFO: Processing buffer {"connection_id":178878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089600b00012d79f24005ecb038000d001320..."} 
[2026-09-10 09:03:55] local.INFO: Packet analysis {"connection_id":178878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:03:55] local.INFO: Extracted packet for processing {"connection_id":178878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":762966592,"raw_latitude":99397688,"longitude_deg":76.2966592,"latitude_deg":9.9397688,"altitude":13,"angle":19,"satellites":32,"speed":5,"hex_longitude":"2d79f240","hex_latitude":"05ecb038","is_valid_coordinates":true} 
[2026-09-10 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986858752001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130670682013958144,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787085848399024128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011168000,"timestamp_ms":1789011168000,"timestamp_seconds":1789011168,"priority":1,"record_length":96,"hex_timestamp":"000001a089600b00"} 
[2026-09-10 09:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 09:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986858752001,"66":13243,"118":206,"87":13824,"24":5,"16":130670682013958144,"45":8787085848399024128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 09:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986858752001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130670682013958144,"km_value":130670682013958.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787085848399024128,"description":"Unknown IO ID 45"} 
[2026-09-10 09:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986858752001,"power":13243,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8787085848399024128}} 
[2026-09-10 09:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":178878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:03:55] local.INFO: GPS data processed {"connection_id":178878,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:03:55] local.INFO: Acknowledgment sent {"connection_id":178878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:03:55] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089600330012d0afd8007059aa0001b01041f..."} 
[2026-09-10 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089600330012d0afd8007059aa0001b01041f..."} 
[2026-09-10 09:03:55] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089600330012d0afd8007059aa0001b01041f..."} 
[2026-09-10 09:03:55] local.INFO: Packet analysis {"connection_id":176344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:03:55] local.INFO: Extracted packet for processing {"connection_id":176344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755694976,"raw_latitude":117807776,"longitude_deg":75.5694976,"latitude_deg":11.7807776,"altitude":27,"angle":260,"satellites":31,"speed":8,"hex_longitude":"2d0afd80","hex_latitude":"07059aa0","is_valid_coordinates":true} 
[2026-09-10 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986857216001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31083580264284160,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793337252017793024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:03: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-09-10 09:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011166000,"timestamp_ms":1789011166000,"timestamp_seconds":1789011166,"priority":1,"record_length":96,"hex_timestamp":"000001a089600330"} 
[2026-09-10 09:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 09:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:03: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-09-10 09:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986857216001,"66":14439,"165":206,"94":10240,"24":8,"16":31083580264284160,"45":793337252017793024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 09:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986857216001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31083580264284160,"km_value":31083580264284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":793337252017793024,"description":"Unknown IO ID 45"} 
[2026-09-10 09:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986857216001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":793337252017793024}} 
[2026-09-10 09:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":176344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:03:55] local.INFO: GPS data processed {"connection_id":176344,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:03:55] local.INFO: Acknowledgment sent {"connection_id":176344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:04:13] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:04:13] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:04:13] local.INFO: Packet analysis {"connection_id":176108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:04:13] local.INFO: Extracted packet for processing {"connection_id":176108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:04:13] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09: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-09-10 09:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:04:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":176108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:04:13] local.INFO: GPS data processed {"connection_id":176108,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:04:13] local.INFO: Acknowledgment sent {"connection_id":176108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:04:18] local.INFO: TCP Data received {"connection_id":177502,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:04:18] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:04:18] local.INFO: IMEI packet received {"connection_id":177502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":177502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:04:22] local.INFO: TCP Data received {"connection_id":177502,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:04:22] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:04:22] local.INFO: IMEI packet received {"connection_id":177502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":177502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:04:24] local.INFO: TCP Data received {"connection_id":177502,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089602270012d79f3c005ecae88000d00a823..."} 
[2026-09-10 09:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089602270012d79f3c005ecae88000d00a823..."} 
[2026-09-10 09:04:24] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089602270012d79f3c005ecae88000d00a823..."} 
[2026-09-10 09:04:24] local.INFO: Packet analysis {"connection_id":177502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:04:24] local.INFO: Extracted packet for processing {"connection_id":177502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:04:24] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397256,"longitude_deg":76.2966976,"latitude_deg":9.9397256,"altitude":13,"angle":168,"satellites":35,"speed":7,"hex_longitude":"2d79f3c0","hex_latitude":"05ecae88","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986859008001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130670720668663808,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787156217143244800,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011174000,"timestamp_ms":1789011174000,"timestamp_seconds":1789011174,"priority":1,"record_length":96,"hex_timestamp":"000001a089602270"} 
[2026-09-10 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-09-10 09:04: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-09-10 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":187,"data_length":795,"current_offset":136} 
[2026-09-10 09:04: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-09-10 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-09-10 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-09-10 09:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986859008001,"66":13624,"118":206,"87":13824,"24":7,"16":130670720668663808,"45":8787156217143244800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 09:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986859008001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:04:24] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 09:04:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130670720668663808,"km_value":130670720668663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787156217143244800,"description":"Unknown IO ID 45"} 
[2026-09-10 09:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986859008001,"power":13624,"unknown_118":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8787156217143244800}} 
[2026-09-10 09:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":177502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:04:24] local.INFO: GPS data processed {"connection_id":177502,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:04:24] local.INFO: Acknowledgment sent {"connection_id":177502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:04:27] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089615320012d0a9ec0070584a8001b01301b..."} 
[2026-09-10 09:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089615320012d0a9ec0070584a8001b01301b..."} 
[2026-09-10 09:04:27] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089615320012d0a9ec0070584a8001b01301b..."} 
[2026-09-10 09:04:27] local.INFO: Packet analysis {"connection_id":176344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08961"} 
[2026-09-10 09:04:27] local.INFO: Extracted packet for processing {"connection_id":176344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08961"} 
[2026-09-10 09:04:27] local.INFO: GPS Element Parsed {"raw_longitude":755670720,"raw_latitude":117802152,"longitude_deg":75.567072,"latitude_deg":11.7802152,"altitude":27,"angle":304,"satellites":27,"speed":18,"hex_longitude":"2d0a9ec0","hex_latitude":"070584a8","is_valid_coordinates":true} 
[2026-09-10 09:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986880256001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31084791445061632,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765682335554457600,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04: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-09-10 09:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789011252000,"timestamp_ms":1789011252000,"timestamp_seconds":1789011252,"priority":1,"record_length":96,"hex_timestamp":"000001a089615320"} 
[2026-09-10 09:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 09:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:04:27] 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-09-10 09:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986880256001,"66":14407,"153":206,"94":10240,"24":18,"16":31084791445061632,"45":765682335554457600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986880256001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:04:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:04:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31084791445061632,"km_value":31084791445061.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":765682335554457600,"description":"Unknown IO ID 45"} 
[2026-09-10 09:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986880256001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":765682335554457600}} 
[2026-09-10 09:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":176344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:04:27] local.INFO: GPS data processed {"connection_id":176344,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:04:27] local.INFO: Acknowledgment sent {"connection_id":176344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:04:36] local.INFO: TCP Data received {"connection_id":177503,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:04:36] local.INFO: Processing buffer {"connection_id":177503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:04:36] local.INFO: IMEI packet received {"connection_id":177503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":177503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:04:41] local.INFO: TCP Data received {"connection_id":177503,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:04:41] local.INFO: Processing buffer {"connection_id":177503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:04:41] local.INFO: IMEI packet received {"connection_id":177503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":177503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:04:42] local.INFO: TCP Data received {"connection_id":177503,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:04:42] local.INFO: Processing buffer {"connection_id":177503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:04:42] local.INFO: Packet analysis {"connection_id":177503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:04:42] local.INFO: Extracted packet for processing {"connection_id":177503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:04: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-09-10 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:04:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":177503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:04:42] local.INFO: GPS data processed {"connection_id":177503,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:04:42] local.INFO: Acknowledgment sent {"connection_id":177503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:04:47] local.INFO: TCP Data received {"connection_id":178879,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:47] local.INFO: Processing buffer {"connection_id":178879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:47] local.INFO: IMEI packet received {"connection_id":178879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":178879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:04:48] local.INFO: TCP Data received {"connection_id":178879,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:48] local.INFO: Processing buffer {"connection_id":178879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:48] local.INFO: IMEI packet received {"connection_id":178879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":178879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:04:49] local.INFO: TCP Data received {"connection_id":178879,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:49] local.INFO: Processing buffer {"connection_id":178879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:49] local.INFO: IMEI packet received {"connection_id":178879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":178879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:04:54] local.INFO: TCP Data received {"connection_id":178879,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:54] local.INFO: Processing buffer {"connection_id":178879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:04:54] local.INFO: IMEI packet received {"connection_id":178879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":178879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:04:54] local.INFO: TCP Data received {"connection_id":177502,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089603dc8012d79f3c005ecae20000d011424..."} 
[2026-09-10 09:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089603dc8012d79f3c005ecae20000d011424..."} 
[2026-09-10 09:04:54] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089603dc8012d79f3c005ecae20000d011424..."} 
[2026-09-10 09:04:54] local.INFO: Packet analysis {"connection_id":177502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:04:54] local.INFO: Extracted packet for processing {"connection_id":177502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08960"} 
[2026-09-10 09:04:54] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397152,"longitude_deg":76.2966976,"latitude_deg":9.9397152,"altitude":13,"angle":276,"satellites":36,"speed":7,"hex_longitude":"2d79f3c0","hex_latitude":"05ecae20","is_valid_coordinates":true} 
[2026-09-10 09:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986860544001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130670763618336768,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608200192,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789011181000,"timestamp_ms":1789011181000,"timestamp_seconds":1789011181,"priority":1,"record_length":96,"hex_timestamp":"000001a089603dc8"} 
[2026-09-10 09:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 09:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986860544001,"66":13580,"118":206,"87":13824,"24":7,"16":130670763618336768,"45":8787578429608200192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986860544001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130670763618336768,"km_value":130670763618336.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608200192,"description":"Unknown IO ID 45"} 
[2026-09-10 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986860544001,"power":13580,"unknown_118":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8787578429608200192}} 
[2026-09-10 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":177502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:04:55] local.INFO: GPS data processed {"connection_id":177502,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:04:55] local.INFO: Acknowledgment sent {"connection_id":177502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:04:55] local.INFO: TCP Data received {"connection_id":178879,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089615708012d0a9d80070585e0001b013e1b..."} 
[2026-09-10 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089615708012d0a9d80070585e0001b013e1b..."} 
[2026-09-10 09:04:55] local.INFO: Processing buffer {"connection_id":178879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089615708012d0a9d80070585e0001b013e1b..."} 
[2026-09-10 09:04:55] local.INFO: Packet analysis {"connection_id":178879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08961"} 
[2026-09-10 09:04:55] local.INFO: Extracted packet for processing {"connection_id":178879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08961"} 
[2026-09-10 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755670400,"raw_latitude":117802464,"longitude_deg":75.56704,"latitude_deg":11.7802464,"altitude":27,"angle":318,"satellites":27,"speed":18,"hex_longitude":"2d0a9d80","hex_latitude":"070585e0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986880512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31084812919898112,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765260123089446912,"note":"Value kept but may cause issues"} 
[2026-09-10 09:04: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-09-10 09:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011253000,"timestamp_ms":1789011253000,"timestamp_seconds":1789011253,"priority":1,"record_length":96,"hex_timestamp":"000001a089615708"} 
[2026-09-10 09:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 09:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:04: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-09-10 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986880512001,"66":14407,"153":206,"94":10240,"24":18,"16":31084812919898112,"45":765260123089446912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986880512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31084812919898112,"km_value":31084812919898.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":765260123089446912,"description":"Unknown IO ID 45"} 
[2026-09-10 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986880512001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":765260123089446912}} 
[2026-09-10 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":178879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:04:55] local.INFO: GPS data processed {"connection_id":178879,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:04:55] local.INFO: Acknowledgment sent {"connection_id":178879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:05:13] local.INFO: TCP Data received {"connection_id":177503,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:05:13] local.INFO: Processing buffer {"connection_id":177503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:05:13] local.INFO: Packet analysis {"connection_id":177503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:05:13] local.INFO: Extracted packet for processing {"connection_id":177503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:05:13] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:05: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-09-10 09:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:05:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:05:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":177503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:05:13] local.INFO: GPS data processed {"connection_id":177503,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:05:13] local.INFO: Acknowledgment sent {"connection_id":177503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:05:17] local.INFO: TCP Data received {"connection_id":178880,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:17] local.INFO: Processing buffer {"connection_id":178880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:17] local.INFO: IMEI packet received {"connection_id":178880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":178880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:05:18] local.INFO: TCP Data received {"connection_id":178880,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:18] local.INFO: Processing buffer {"connection_id":178880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:18] local.INFO: IMEI packet received {"connection_id":178880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":178880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:05:19] local.INFO: TCP Data received {"connection_id":178880,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:19] local.INFO: Processing buffer {"connection_id":178880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:19] local.INFO: IMEI packet received {"connection_id":178880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":178880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:05:19] local.INFO: TCP Data received {"connection_id":178880,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:19] local.INFO: Processing buffer {"connection_id":178880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:05:19] local.INFO: IMEI packet received {"connection_id":178880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":178880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:05:26] local.INFO: TCP Data received {"connection_id":178879,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0896162c0012d0a9a0007058a10001a014a1c..."} 
[2026-09-10 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896162c0012d0a9a0007058a10001a014a1c..."} 
[2026-09-10 09:05:26] local.INFO: Processing buffer {"connection_id":178879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896162c0012d0a9a0007058a10001a014a1c..."} 
[2026-09-10 09:05:26] local.INFO: Packet analysis {"connection_id":178879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08961"} 
[2026-09-10 09:05:26] local.INFO: Extracted packet for processing {"connection_id":178879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08961"} 
[2026-09-10 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":755669504,"raw_latitude":117803536,"longitude_deg":75.5669504,"latitude_deg":11.7803536,"altitude":26,"angle":330,"satellites":28,"speed":17,"hex_longitude":"2d0a9a00","hex_latitude":"07058a10","is_valid_coordinates":true} 
[2026-09-10 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986880768001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31084881639374848,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764908279368638464,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05: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-09-10 09:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011256000,"timestamp_ms":1789011256000,"timestamp_seconds":1789011256,"priority":1,"record_length":96,"hex_timestamp":"000001a0896162c0"} 
[2026-09-10 09:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 09:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:05:26] 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-09-10 09:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986880768001,"66":14428,"153":206,"94":10240,"24":17,"16":31084881639374848,"45":764908279368638464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986880768001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:05:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:05:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31084881639374848,"km_value":31084881639374.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":764908279368638464,"description":"Unknown IO ID 45"} 
[2026-09-10 09:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986880768001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":764908279368638464}} 
[2026-09-10 09:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":178879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:05:26] local.INFO: GPS data processed {"connection_id":178879,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:05:26] local.INFO: Acknowledgment sent {"connection_id":178879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:05:36] local.INFO: TCP Data received {"connection_id":178881,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:05:36] local.INFO: Processing buffer {"connection_id":178881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:05:36] local.INFO: IMEI packet received {"connection_id":178881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":178881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:05:41] local.INFO: TCP Data received {"connection_id":178881,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:05:41] local.INFO: Processing buffer {"connection_id":178881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:05:41] local.INFO: IMEI packet received {"connection_id":178881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":178881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:05:42] local.INFO: TCP Data received {"connection_id":178881,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:05:42] local.INFO: Processing buffer {"connection_id":178881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:05:42] local.INFO: Packet analysis {"connection_id":178881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:05:42] local.INFO: Extracted packet for processing {"connection_id":178881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:05: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-09-10 09:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:05:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":178881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:05:42] local.INFO: GPS data processed {"connection_id":178881,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:05:42] local.INFO: Acknowledgment sent {"connection_id":178881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:05:49] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:05:49] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:05:49] local.INFO: IMEI packet received {"connection_id":176109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":176109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:05:54] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:05:54] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:05:54] local.INFO: IMEI packet received {"connection_id":176109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":176109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:05:54] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089629758012d0a72400705dfa80015001420..."} 
[2026-09-10 09:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089629758012d0a72400705dfa80015001420..."} 
[2026-09-10 09:05:54] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089629758012d0a72400705dfa80015001420..."} 
[2026-09-10 09:05:54] local.INFO: Packet analysis {"connection_id":176109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08962"} 
[2026-09-10 09:05:54] local.INFO: Extracted packet for processing {"connection_id":176109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08962"} 
[2026-09-10 09:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825448,"longitude_deg":75.5659328,"latitude_deg":11.7825448,"altitude":21,"angle":20,"satellites":32,"speed":7,"hex_longitude":"2d0a7240","hex_latitude":"0705dfa8","is_valid_coordinates":true} 
[2026-09-10 09:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986901504001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31086088525185024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887561728,"note":"Value kept but may cause issues"} 
[2026-09-10 09:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789011335000,"timestamp_ms":1789011335000,"timestamp_seconds":1789011335,"priority":1,"record_length":96,"hex_timestamp":"000001a089629758"} 
[2026-09-10 09:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:05: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-09-10 09:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:05:54] 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-09-10 09:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986901504001,"66":14515,"153":206,"94":10240,"24":7,"16":31086088525185024,"45":752664117887561728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986901504001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:05:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31086088525185024,"km_value":31086088525185.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887561728,"description":"Unknown IO ID 45"} 
[2026-09-10 09:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986901504001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":752664117887561728}} 
[2026-09-10 09:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":176109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792905,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:05:55] local.INFO: GPS data processed {"connection_id":176109,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:05:55] local.INFO: Acknowledgment sent {"connection_id":176109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:06:13] local.INFO: TCP Data received {"connection_id":178881,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:06:13] local.INFO: Processing buffer {"connection_id":178881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:06:13] local.INFO: Packet analysis {"connection_id":178881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:06:13] local.INFO: Extracted packet for processing {"connection_id":178881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:06:13] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:06: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-09-10 09:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:06:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":178881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:06:13] local.INFO: GPS data processed {"connection_id":178881,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:06:13] local.INFO: Acknowledgment sent {"connection_id":178881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:06:26] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089629b40012d0a72800705e0580015002120..."} 
[2026-09-10 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089629b40012d0a72800705e0580015002120..."} 
[2026-09-10 09:06:26] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089629b40012d0a72800705e0580015002120..."} 
[2026-09-10 09:06:26] local.INFO: Packet analysis {"connection_id":176109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08962"} 
[2026-09-10 09:06:26] local.INFO: Extracted packet for processing {"connection_id":176109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08962"} 
[2026-09-10 09:06:26] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825624,"longitude_deg":75.5659392,"latitude_deg":11.7825624,"altitude":21,"angle":33,"satellites":32,"speed":8,"hex_longitude":"2d0a7280","hex_latitude":"0705e058","is_valid_coordinates":true} 
[2026-09-10 09:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986901760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31086097115119616,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631786496,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06: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-09-10 09:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011336000,"timestamp_ms":1789011336000,"timestamp_seconds":1789011336,"priority":1,"record_length":96,"hex_timestamp":"000001a089629b40"} 
[2026-09-10 09:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:06:26] 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-09-10 09:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986901760001,"66":14515,"153":206,"94":10240,"24":8,"16":31086097115119616,"45":752734486631786496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986901760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:06:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:06:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31086097115119616,"km_value":31086097115119.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631786496,"description":"Unknown IO ID 45"} 
[2026-09-10 09:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986901760001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":752734486631786496}} 
[2026-09-10 09:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":176109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:06:26] local.INFO: GPS data processed {"connection_id":176109,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:06:26] local.INFO: Acknowledgment sent {"connection_id":176109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:06:41] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:06:41] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:06:41] local.INFO: IMEI packet received {"connection_id":176345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":176345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:06:46] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:06:46] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:06:46] local.INFO: IMEI packet received {"connection_id":176345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":176345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:06:47] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:06:47] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:06:47] local.INFO: Packet analysis {"connection_id":176345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:06:47] local.INFO: Extracted packet for processing {"connection_id":176345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:06:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":176345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:06:47] local.INFO: GPS data processed {"connection_id":176345,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:06:47] local.INFO: Acknowledgment sent {"connection_id":176345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:06:49] local.INFO: TCP Data received {"connection_id":178882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:49] local.INFO: Processing buffer {"connection_id":178882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:49] local.INFO: IMEI packet received {"connection_id":178882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":178882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:06:50] local.INFO: TCP Data received {"connection_id":178882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:50] local.INFO: Processing buffer {"connection_id":178882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:50] local.INFO: IMEI packet received {"connection_id":178882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":178882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:06:54] local.INFO: TCP Data received {"connection_id":178882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:54] local.INFO: Processing buffer {"connection_id":178882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:06:54] local.INFO: IMEI packet received {"connection_id":178882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":178882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:06:55] local.INFO: TCP Data received {"connection_id":178882,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08962aec8012d0a75000705e5780012000e20..."} 
[2026-09-10 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08962aec8012d0a75000705e5780012000e20..."} 
[2026-09-10 09:06:55] local.INFO: Processing buffer {"connection_id":178882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08962aec8012d0a75000705e5780012000e20..."} 
[2026-09-10 09:06:55] local.INFO: Packet analysis {"connection_id":178882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08962"} 
[2026-09-10 09:06:55] local.INFO: Extracted packet for processing {"connection_id":178882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08962"} 
[2026-09-10 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117826936,"longitude_deg":75.5660032,"latitude_deg":11.7826936,"altitude":18,"angle":14,"satellites":32,"speed":15,"hex_longitude":"2d0a7500","hex_latitude":"0705e578","is_valid_coordinates":true} 
[2026-09-10 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986902016001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31086165834596352,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855376009216,"note":"Value kept but may cause issues"} 
[2026-09-10 09:06: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-09-10 09:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011341000,"timestamp_ms":1789011341000,"timestamp_seconds":1789011341,"priority":1,"record_length":96,"hex_timestamp":"000001a08962aec8"} 
[2026-09-10 09:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:06: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-09-10 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:06: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-09-10 09:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986902016001,"66":14439,"153":206,"94":10240,"24":15,"16":31086165834596352,"45":752804855376009216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986902016001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:06:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:06:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31086165834596352,"km_value":31086165834596.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855376009216,"description":"Unknown IO ID 45"} 
[2026-09-10 09:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986902016001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":752804855376009216}} 
[2026-09-10 09:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":178882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:06:55] local.INFO: GPS data processed {"connection_id":178882,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:06:55] local.INFO: Acknowledgment sent {"connection_id":178882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:07:18] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:07:18] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0895fcc80012cee7140072e2dc0003700ee1e..."} 
[2026-09-10 09:07:18] local.INFO: Packet analysis {"connection_id":176345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:07:18] local.INFO: Extracted packet for processing {"connection_id":176345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0895f"} 
[2026-09-10 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466880,"longitude_deg":75.3824064,"latitude_deg":12.046688,"altitude":55,"angle":238,"satellites":30,"speed":0,"hex_longitude":"2cee7140","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-10 09:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986837760001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789011152000,"timestamp_ms":1789011152000,"timestamp_seconds":1789011152,"priority":1,"record_length":96,"hex_timestamp":"000001a0895fcc80"} 
[2026-09-10 09:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:07: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-09-10 09:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986837760001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195902976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986837760001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:07:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:07:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-09-10 09:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986837760001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-09-10 09:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":176345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:07:18] local.INFO: GPS data processed {"connection_id":176345,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:07:18] local.INFO: Acknowledgment sent {"connection_id":176345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:07:26] local.INFO: TCP Data received {"connection_id":178882,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089643180012d0a86c0070615b80011004021..."} 
[2026-09-10 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089643180012d0a86c0070615b80011004021..."} 
[2026-09-10 09:07:26] local.INFO: Processing buffer {"connection_id":178882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089643180012d0a86c0070615b80011004021..."} 
[2026-09-10 09:07:26] local.INFO: Packet analysis {"connection_id":178882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:07:26] local.INFO: Extracted packet for processing {"connection_id":178882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":755664576,"raw_latitude":117839288,"longitude_deg":75.5664576,"latitude_deg":11.7839288,"altitude":17,"angle":64,"satellites":33,"speed":9,"hex_longitude":"2d0a86c0","hex_latitude":"070615b8","is_valid_coordinates":true} 
[2026-09-10 09:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986928384001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31086999058251776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617425352704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07: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-09-10 09:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011440000,"timestamp_ms":1789011440000,"timestamp_seconds":1789011440,"priority":1,"record_length":96,"hex_timestamp":"000001a089643180"} 
[2026-09-10 09:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 09:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:07:26] 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-09-10 09:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986928384001,"66":14461,"153":206,"94":10240,"24":9,"16":31086999058251776,"45":758293617425352704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986928384001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:07:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:07:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31086999058251776,"km_value":31086999058251.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617425352704,"description":"Unknown IO ID 45"} 
[2026-09-10 09:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986928384001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":758293617425352704}} 
[2026-09-10 09:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":178882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:07:26] local.INFO: GPS data processed {"connection_id":178882,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:07:26] local.INFO: Acknowledgment sent {"connection_id":178882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:07:36] local.INFO: TCP Data received {"connection_id":177505,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:36] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:36] local.INFO: IMEI packet received {"connection_id":177505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":177505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:07:36] local.INFO: TCP Data received {"connection_id":177505,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:36] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:36] local.INFO: IMEI packet received {"connection_id":177505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":177505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:07:41] local.INFO: TCP Data received {"connection_id":177505,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:41] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:07:41] local.INFO: IMEI packet received {"connection_id":177505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":177505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:07:42] local.INFO: TCP Data received {"connection_id":177505,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:07:42] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:07:42] local.INFO: Packet analysis {"connection_id":177505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:07:42] local.INFO: Extracted packet for processing {"connection_id":177505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:07: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-09-10 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:07:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":177505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:07:42] local.INFO: GPS data processed {"connection_id":177505,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:07:42] local.INFO: Acknowledgment sent {"connection_id":177505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:07:49] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:49] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:49] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:07:52] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:52] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:52] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:07:53] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:53] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:53] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:07:54] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:54] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:07:54] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:07:54] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089643568012d0a8780070616400011002821..."} 
[2026-09-10 09:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089643568012d0a8780070616400011002821..."} 
[2026-09-10 09:07:54] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089643568012d0a8780070616400011002821..."} 
[2026-09-10 09:07:54] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:07:54] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755664768,"raw_latitude":117839424,"longitude_deg":75.5664768,"latitude_deg":11.7839424,"altitude":17,"angle":40,"satellites":33,"speed":8,"hex_longitude":"2d0a8780","hex_latitude":"07061640","is_valid_coordinates":true} 
[2026-09-10 09:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986928640001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31087007648186368,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758504723657897984,"note":"Value kept but may cause issues"} 
[2026-09-10 09:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789011441000,"timestamp_ms":1789011441000,"timestamp_seconds":1789011441,"priority":1,"record_length":96,"hex_timestamp":"000001a089643568"} 
[2026-09-10 09:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 09:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:07:54] 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-09-10 09:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986928640001,"66":14374,"153":206,"94":10240,"24":8,"16":31087007648186368,"45":758504723657897984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986928640001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:07:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:07:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31087007648186368,"km_value":31087007648186.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":758504723657897984,"description":"Unknown IO ID 45"} 
[2026-09-10 09:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986928640001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":758504723657897984}} 
[2026-09-10 09:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792913,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:07:55] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:07:55] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:08:13] local.INFO: TCP Data received {"connection_id":177505,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:08:13] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:08:13] local.INFO: Packet analysis {"connection_id":177505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:08:13] local.INFO: Extracted packet for processing {"connection_id":177505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:08:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:08: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-09-10 09:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:08:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":177505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:08:13] local.INFO: GPS data processed {"connection_id":177505,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:08:13] local.INFO: Acknowledgment sent {"connection_id":177505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:08:26] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089643d38012d0a8800070617700010001821..."} 
[2026-09-10 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089643d38012d0a8800070617700010001821..."} 
[2026-09-10 09:08:26] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089643d38012d0a8800070617700010001821..."} 
[2026-09-10 09:08:26] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:08:26] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:08:26] local.INFO: GPS Element Parsed {"raw_longitude":755664896,"raw_latitude":117839728,"longitude_deg":75.5664896,"latitude_deg":11.7839728,"altitude":16,"angle":24,"satellites":33,"speed":5,"hex_longitude":"2d0a8800","hex_latitude":"07061770","is_valid_coordinates":true} 
[2026-09-10 09:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986928896001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31087024828055552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758715829890465792,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08: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-09-10 09:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011443000,"timestamp_ms":1789011443000,"timestamp_seconds":1789011443,"priority":1,"record_length":96,"hex_timestamp":"000001a089643d38"} 
[2026-09-10 09:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 09:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:08:26] 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-09-10 09:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986928896001,"66":14407,"153":206,"94":10240,"24":5,"16":31087024828055552,"45":758715829890465792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986928896001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31087024828055552,"km_value":31087024828055.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":758715829890465792,"description":"Unknown IO ID 45"} 
[2026-09-10 09:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986928896001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":758715829890465792}} 
[2026-09-10 09:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:08:26] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:08:26] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:08:36] local.INFO: TCP Data received {"connection_id":177506,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:08:36] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:08:36] local.INFO: IMEI packet received {"connection_id":177506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":177506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:08:41] local.INFO: TCP Data received {"connection_id":177506,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:08:41] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:08:41] local.INFO: IMEI packet received {"connection_id":177506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":177506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:08:42] local.INFO: TCP Data received {"connection_id":177506,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:08:42] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:08:42] local.INFO: Packet analysis {"connection_id":177506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:08:42] local.INFO: Extracted packet for processing {"connection_id":177506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:08:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:08: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-09-10 09:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:08:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":177506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:08:42] local.INFO: GPS data processed {"connection_id":177506,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:08:42] local.INFO: Acknowledgment sent {"connection_id":177506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:08:54] local.INFO: TCP Data received {"connection_id":178884,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178884,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:08:54] local.INFO: Processing buffer {"connection_id":178884,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:08:54] local.INFO: IMEI packet received {"connection_id":178884,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":178884,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:08:55] local.INFO: TCP Data received {"connection_id":178884,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178884,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:08:55] local.INFO: Processing buffer {"connection_id":178884,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:08:55] local.INFO: IMEI packet received {"connection_id":178884,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":178884,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:08:55] local.INFO: TCP Data received {"connection_id":178884,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089651028012d0a74c007060a68000d00ae1f..."} 
[2026-09-10 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089651028012d0a74c007060a68000d00ae1f..."} 
[2026-09-10 09:08:55] local.INFO: Processing buffer {"connection_id":178884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089651028012d0a74c007060a68000d00ae1f..."} 
[2026-09-10 09:08:55] local.INFO: Packet analysis {"connection_id":178884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:08:55] local.INFO: Extracted packet for processing {"connection_id":178884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117836392,"longitude_deg":75.5659968,"latitude_deg":11.7836392,"altitude":13,"angle":174,"satellites":31,"speed":14,"hex_longitude":"2d0a74c0","hex_latitude":"07060a68","is_valid_coordinates":true} 
[2026-09-10 09:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986941952001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31087462914719744,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174076725248,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08: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-09-10 09:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011497000,"timestamp_ms":1789011497000,"timestamp_seconds":1789011497,"priority":1,"record_length":96,"hex_timestamp":"000001a089651028"} 
[2026-09-10 09:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 09:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:08: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-09-10 09:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986941952001,"66":14439,"153":206,"94":10240,"24":14,"16":31087462914719744,"45":753438174076725248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986941952001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:08:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31087462914719744,"km_value":31087462914719.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174076725248,"description":"Unknown IO ID 45"} 
[2026-09-10 09:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986941952001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753438174076725248}} 
[2026-09-10 09:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":178884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:08:56] local.INFO: GPS data processed {"connection_id":178884,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:08:56] local.INFO: Acknowledgment sent {"connection_id":178884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:08:59] local.INFO: TCP Data received {"connection_id":178884,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089654ac0012d0a76800705e7c0001000bc1f..."} 
[2026-09-10 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089654ac0012d0a76800705e7c0001000bc1f..."} 
[2026-09-10 09:08:59] local.INFO: Processing buffer {"connection_id":178884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089654ac0012d0a76800705e7c0001000bc1f..."} 
[2026-09-10 09:08:59] local.INFO: Packet analysis {"connection_id":178884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:08:59] local.INFO: Extracted packet for processing {"connection_id":178884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117827520,"longitude_deg":75.5660416,"latitude_deg":11.782752,"altitude":16,"angle":188,"satellites":31,"speed":21,"hex_longitude":"2d0a7680","hex_latitude":"0705e7c0","is_valid_coordinates":true} 
[2026-09-10 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986943232001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31087892411449344,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174076364800,"note":"Value kept but may cause issues"} 
[2026-09-10 09:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789011512000,"timestamp_ms":1789011512000,"timestamp_seconds":1789011512,"priority":1,"record_length":96,"hex_timestamp":"000001a089654ac0"} 
[2026-09-10 09:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:08: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-09-10 09:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:08:59] 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-09-10 09:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986943232001,"66":14548,"153":206,"94":10240,"24":21,"16":31087892411449344,"45":753438174076364800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986943232001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:08:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:08:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31087892411449344,"km_value":31087892411449.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174076364800,"description":"Unknown IO ID 45"} 
[2026-09-10 09:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986943232001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":753438174076364800}} 
[2026-09-10 09:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":178884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792918,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:08:59] local.INFO: GPS data processed {"connection_id":178884,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:08:59] local.INFO: Acknowledgment sent {"connection_id":178884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:09:13] local.INFO: TCP Data received {"connection_id":177506,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:09:13] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:09:13] local.INFO: Packet analysis {"connection_id":177506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:09:13] local.INFO: Extracted packet for processing {"connection_id":177506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:09: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-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:09:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":177506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:09:13] local.INFO: GPS data processed {"connection_id":177506,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:09:13] local.INFO: Acknowledgment sent {"connection_id":177506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:09:31] local.INFO: TCP Data received {"connection_id":178884,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089654ac0012d0a76800705e7c0001000bc1f..."} 
[2026-09-10 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089654ac0012d0a76800705e7c0001000bc1f..."} 
[2026-09-10 09:09:31] local.INFO: Processing buffer {"connection_id":178884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089654ac0012d0a76800705e7c0001000bc1f..."} 
[2026-09-10 09:09:31] local.INFO: Packet analysis {"connection_id":178884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:09:31] local.INFO: Extracted packet for processing {"connection_id":178884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:09:31] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117827520,"longitude_deg":75.5660416,"latitude_deg":11.782752,"altitude":16,"angle":188,"satellites":31,"speed":21,"hex_longitude":"2d0a7680","hex_latitude":"0705e7c0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986947072001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31087892411449344,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755283337216,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789011512000,"timestamp_ms":1789011512000,"timestamp_seconds":1789011512,"priority":1,"record_length":96,"hex_timestamp":"000001a089654ac0"} 
[2026-09-10 09:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 09:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":178884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":178884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":178884,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:09:31] 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-09-10 09:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986947072001,"66":14548,"153":206,"94":10240,"24":21,"16":31087892411449344,"45":753930755283337216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986947072001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:09:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:09:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31087892411449344,"km_value":31087892411449.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755283337216,"description":"Unknown IO ID 45"} 
[2026-09-10 09:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986947072001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":753930755283337216}} 
[2026-09-10 09:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":178884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:09:31] local.INFO: GPS data processed {"connection_id":178884,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:09:31] local.INFO: Acknowledgment sent {"connection_id":178884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:09:36] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:09:36] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:09:36] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:09:41] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:09:41] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:09:41] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:09:42] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:09:42] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:09:42] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:09:42] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:09: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-09-10 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:09:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:09:42] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:09:42] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:09:49] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:49] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:49] local.INFO: IMEI packet received {"connection_id":178886,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":178886,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:09:50] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:50] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:50] local.INFO: IMEI packet received {"connection_id":178886,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":178886,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:09:51] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:51] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:51] local.INFO: IMEI packet received {"connection_id":178886,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":178886,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:09:53] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:53] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:09:53] local.INFO: IMEI packet received {"connection_id":178886,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":178886,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:09:54] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089662968012d0a6ac007058a30001000e01d..."} 
[2026-09-10 09:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089662968012d0a6ac007058a30001000e01d..."} 
[2026-09-10 09:09:54] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089662968012d0a6ac007058a30001000e01d..."} 
[2026-09-10 09:09:54] local.INFO: Packet analysis {"connection_id":178886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:09:54] local.INFO: Extracted packet for processing {"connection_id":178886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755657408,"raw_latitude":117803568,"longitude_deg":75.5657408,"latitude_deg":11.7803568,"altitude":16,"angle":224,"satellites":29,"speed":14,"hex_longitude":"2d0a6ac0","hex_latitude":"07058a30","is_valid_coordinates":true} 
[2026-09-10 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986958080001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31089193786540032,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756745505046159360,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789011569000,"timestamp_ms":1789011569000,"timestamp_seconds":1789011569,"priority":1,"record_length":96,"hex_timestamp":"000001a089662968"} 
[2026-09-10 09:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:09: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-09-10 09:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:09:54] 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-09-10 09:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986958080001,"66":14352,"153":206,"94":10240,"24":14,"16":31089193786540032,"45":756745505046159360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986958080001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31089193786540032,"km_value":31089193786540.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":756745505046159360,"description":"Unknown IO ID 45"} 
[2026-09-10 09:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986958080001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":756745505046159360}} 
[2026-09-10 09:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":178886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792922,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:09:54] local.INFO: GPS data processed {"connection_id":178886,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:09:54] local.INFO: Acknowledgment sent {"connection_id":178886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:09:54] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089663520012d0a664007058698001000ee20..."} 
[2026-09-10 09:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089663520012d0a664007058698001000ee20..."} 
[2026-09-10 09:09:54] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089663520012d0a664007058698001000ee20..."} 
[2026-09-10 09:09:54] local.INFO: Packet analysis {"connection_id":178886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:09:54] local.INFO: Extracted packet for processing {"connection_id":178886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755656256,"raw_latitude":117802648,"longitude_deg":75.5656256,"latitude_deg":11.7802648,"altitude":16,"angle":238,"satellites":32,"speed":22,"hex_longitude":"2d0a6640","hex_latitude":"07058698","is_valid_coordinates":true} 
[2026-09-10 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986961664001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31089266800984064,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":750623424300855296,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789011572000,"timestamp_ms":1789011572000,"timestamp_seconds":1789011572,"priority":1,"record_length":96,"hex_timestamp":"000001a089663520"} 
[2026-09-10 09:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145088,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84735455954142686,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2305137864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8304645434678181905,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504073998630912,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2870476818,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264511385,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3221302538,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.WARNING: Large IO value detected {"io_id":96,"raw_value":4785831021644800,"note":"Value kept but may cause issues"} 
[2026-09-10 09:09:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,153,94,24,241,157,16,115,160,242,45,128,166,17,30,10,66,238,192,167,234,1,240,60,227,137,5,4,113,205,199,126,48,31,239,56,2,110,7,19,206,96],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-09-10 09:09:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153167919766437888,"timestamp_seconds":1153167919766438.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 09:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:09:54] 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-09-10 09:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986961664001,"66":13580,"153":206,"94":10240,"24":22,"16":31089266800984064,"45":750623424300855296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986961664001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31089266800984064,"km_value":31089266800984.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":750623424300855296,"description":"Unknown IO ID 45"} 
[2026-09-10 09:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986961664001,"power":13580,"unknown_153":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":750623424300855296}} 
[2026-09-10 09:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":178886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:09:55] local.INFO: GPS data processed {"connection_id":178886,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:09:55] local.INFO: Acknowledgment sent {"connection_id":178886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:10:00] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089666fb8012d0a530007057b48000f00fc21..."} 
[2026-09-10 09:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089666fb8012d0a530007057b48000f00fc21..."} 
[2026-09-10 09:10:00] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089666fb8012d0a530007057b48000f00fc21..."} 
[2026-09-10 09:10:00] local.INFO: Packet analysis {"connection_id":178886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:10:00] local.INFO: Extracted packet for processing {"connection_id":178886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:10:00] local.INFO: GPS Element Parsed {"raw_longitude":755651328,"raw_latitude":117799752,"longitude_deg":75.5651328,"latitude_deg":11.7799752,"altitude":15,"angle":252,"satellites":33,"speed":8,"hex_longitude":"2d0a5300","hex_latitude":"07057b48","is_valid_coordinates":true} 
[2026-09-10 09:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986962432001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31089541678891008,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749356786905421824,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10: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-09-10 09:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789011587000,"timestamp_ms":1789011587000,"timestamp_seconds":1789011587,"priority":1,"record_length":96,"hex_timestamp":"000001a089666fb8"} 
[2026-09-10 09:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751541874,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2305148864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8664933404351922195,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2834825234,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638989846996889,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422158030738869854,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,153,94,24,241,157,16,115,160,41,45,192,138,29,10,66,242,128,166,17,30,238,1,240,60,227,137,5,4,113,205,12,130,239,56,2,110,7,18,19,40],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-09-10 09:10:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153183325814652928,"timestamp_seconds":1153183325814653.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 09:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:10: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-09-10 09:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986962432001,"66":14363,"153":206,"94":10240,"24":8,"16":31089541678891008,"45":749356786905421824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986962432001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:10:00] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:10:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31089541678891008,"km_value":31089541678891.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":749356786905421824,"description":"Unknown IO ID 45"} 
[2026-09-10 09:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986962432001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":749356786905421824}} 
[2026-09-10 09:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":178886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792924,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:10:00] local.INFO: GPS data processed {"connection_id":178886,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:10:00] local.INFO: Acknowledgment sent {"connection_id":178886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:10:13] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:10:13] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:10:13] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:10:13] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:10:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:10: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-09-10 09:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:10:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:10:13] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:10:13] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:10:23] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:10:23] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:10:23] local.INFO: IMEI packet received {"connection_id":176347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":176347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:10:24] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08965cf90012d7a564005eb9650000200772c..."} 
[2026-09-10 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08965cf90012d7a564005eb9650000200772c..."} 
[2026-09-10 09:10:24] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08965cf90012d7a564005eb9650000200772c..."} 
[2026-09-10 09:10:24] local.INFO: Packet analysis {"connection_id":176347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:10:24] local.INFO: Extracted packet for processing {"connection_id":176347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:10:24] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":99325520,"longitude_deg":76.2992192,"latitude_deg":9.932552,"altitude":2,"angle":119,"satellites":44,"speed":8,"hex_longitude":"2d7a5640","hex_latitude":"05eb9650","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986955520001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130674813772496896,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815092608563333120,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 09:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011546000,"timestamp_ms":1789011546000,"timestamp_seconds":1789011546,"priority":1,"record_length":96,"hex_timestamp":"000001a08965cf90"} 
[2026-09-10 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-09-10 09:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 09:10: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-09-10 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-09-10 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-09-10 09:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986955520001,"66":12993,"163":206,"87":13824,"24":8,"16":130674813772496896,"45":8815092608563333120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 09:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986955520001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:10:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 09:10:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130674813772496896,"km_value":130674813772496.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815092608563333120,"description":"Unknown IO ID 45"} 
[2026-09-10 09:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986955520001,"power":12993,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8815092608563333120}} 
[2026-09-10 09:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":176347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:10:24] local.INFO: GPS data processed {"connection_id":176347,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:10:24] local.INFO: Acknowledgment sent {"connection_id":176347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:10:31] local.INFO: TCP Data received {"connection_id":178886,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0896673a0012d0a520007057b480010011220..."} 
[2026-09-10 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896673a0012d0a520007057b480010011220..."} 
[2026-09-10 09:10:31] local.INFO: Processing buffer {"connection_id":178886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896673a0012d0a520007057b480010011220..."} 
[2026-09-10 09:10:31] local.INFO: Packet analysis {"connection_id":178886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:10:31] local.INFO: Extracted packet for processing {"connection_id":178886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":755651072,"raw_latitude":117799752,"longitude_deg":75.5651072,"latitude_deg":11.7799752,"altitude":16,"angle":274,"satellites":32,"speed":9,"hex_longitude":"2d0a5200","hex_latitude":"07057b48","is_valid_coordinates":true} 
[2026-09-10 09:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986966272001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31089550268825600,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743938393603000320,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789011588000,"timestamp_ms":1789011588000,"timestamp_seconds":1789011588,"priority":1,"record_length":96,"hex_timestamp":"000001a0896673a0"} 
[2026-09-10 09:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 09:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":178886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":178886,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:10:31] 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-09-10 09:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986966272001,"66":14363,"153":206,"94":10240,"24":9,"16":31089550268825600,"45":743938393603000320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 09:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986966272001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:10:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 09:10:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31089550268825600,"km_value":31089550268825.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":743938393603000320,"description":"Unknown IO ID 45"} 
[2026-09-10 09:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986966272001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":743938393603000320}} 
[2026-09-10 09:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":178886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792927,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:10:31] local.INFO: GPS data processed {"connection_id":178886,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:10:31] local.INFO: Acknowledgment sent {"connection_id":178886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:10:36] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:10:36] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:10:36] local.INFO: IMEI packet received {"connection_id":176112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":176112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:10:41] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:10:41] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:10:41] local.INFO: IMEI packet received {"connection_id":176112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":176112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:10:42] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:10:42] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:10:42] local.INFO: Packet analysis {"connection_id":176112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:10:42] local.INFO: Extracted packet for processing {"connection_id":176112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:10: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-09-10 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:10:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":176112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:10:42] local.INFO: GPS data processed {"connection_id":176112,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:10:42] local.INFO: Acknowledgment sent {"connection_id":176112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:10:47] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:47] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:47] local.INFO: IMEI packet received {"connection_id":176348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":176348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:10:49] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:49] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:49] local.INFO: IMEI packet received {"connection_id":176348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":176348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:10:54] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:54] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:10:54] local.INFO: IMEI packet received {"connection_id":176348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":176348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:10:55] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089667f58012d0a4fc007057b800010012121..."} 
[2026-09-10 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089667f58012d0a4fc007057b800010012121..."} 
[2026-09-10 09:10:55] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089667f58012d0a4fc007057b800010012121..."} 
[2026-09-10 09:10:55] local.INFO: Packet analysis {"connection_id":176348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:10:55] local.INFO: Extracted packet for processing {"connection_id":176348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755650496,"raw_latitude":117799808,"longitude_deg":75.5650496,"latitude_deg":11.7799808,"altitude":16,"angle":289,"satellites":33,"speed":6,"hex_longitude":"2d0a4fc0","hex_latitude":"07057b80","is_valid_coordinates":true} 
[2026-09-10 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986966528001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31089580333596672,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743656918626289664,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011591000,"timestamp_ms":1789011591000,"timestamp_seconds":1789011591,"priority":1,"record_length":96,"hex_timestamp":"000001a089667f58"} 
[2026-09-10 09:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 09:10: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-09-10 09:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:10: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-09-10 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986966528001,"66":14352,"177":206,"94":10240,"24":6,"16":31089580333596672,"45":743656918626289664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986966528001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31089580333596672,"km_value":31089580333596.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":743656918626289664,"description":"Unknown IO ID 45"} 
[2026-09-10 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986966528001,"power":14352,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":743656918626289664}} 
[2026-09-10 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":176348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:10:55] local.INFO: GPS data processed {"connection_id":176348,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:10:55] local.INFO: Acknowledgment sent {"connection_id":176348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:10:55] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08965d378012d7a570005eb9608000200682c..."} 
[2026-09-10 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08965d378012d7a570005eb9608000200682c..."} 
[2026-09-10 09:10:55] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08965d378012d7a570005eb9608000200682c..."} 
[2026-09-10 09:10:55] local.INFO: Packet analysis {"connection_id":176347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:10:55] local.INFO: Extracted packet for processing {"connection_id":176347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762992384,"raw_latitude":99325448,"longitude_deg":76.2992384,"latitude_deg":9.9325448,"altitude":2,"angle":104,"satellites":44,"speed":9,"hex_longitude":"2d7a5700","hex_latitude":"05eb9608","is_valid_coordinates":true} 
[2026-09-10 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986955776001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130674826657398784,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795835392,"note":"Value kept but may cause issues"} 
[2026-09-10 09:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011547000,"timestamp_ms":1789011547000,"timestamp_seconds":1789011547,"priority":1,"record_length":96,"hex_timestamp":"000001a08965d378"} 
[2026-09-10 09:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-10 09:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986955776001,"66":12993,"163":206,"87":13824,"24":9,"16":130674826657398784,"45":8815303714795835392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986955776001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130674826657398784,"km_value":130674826657398.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795835392,"description":"Unknown IO ID 45"} 
[2026-09-10 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986955776001,"power":12993,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8815303714795835392}} 
[2026-09-10 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":176347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:10:55] local.INFO: GPS data processed {"connection_id":176347,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:10:55] local.INFO: Acknowledgment sent {"connection_id":176347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:11:13] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:13] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:13] local.INFO: Packet analysis {"connection_id":176112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:11:13] local.INFO: Extracted packet for processing {"connection_id":176112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:11:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:11: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-09-10 09:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:11:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":176112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:11:13] local.INFO: GPS data processed {"connection_id":176112,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:11:13] local.INFO: Acknowledgment sent {"connection_id":176112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:11:26] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08966cd78012d0a4f0007057bb0000f012020..."} 
[2026-09-10 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08966cd78012d0a4f0007057bb0000f012020..."} 
[2026-09-10 09:11:26] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08966cd78012d0a4f0007057bb0000f012020..."} 
[2026-09-10 09:11:26] local.INFO: Packet analysis {"connection_id":176348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:11:26] local.INFO: Extracted packet for processing {"connection_id":176348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08966"} 
[2026-09-10 09:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755650304,"raw_latitude":117799856,"longitude_deg":75.5650304,"latitude_deg":11.7799856,"altitude":15,"angle":288,"satellites":32,"speed":0,"hex_longitude":"2d0a4f00","hex_latitude":"07057bb0","is_valid_coordinates":true} 
[2026-09-10 09:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986967296001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31089588923531264,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743023599928705024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011611000,"timestamp_ms":1789011611000,"timestamp_seconds":1789011611,"priority":1,"record_length":96,"hex_timestamp":"000001a08966cd78"} 
[2026-09-10 09:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144832,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2305158864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-9079249127852212206,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504074003808256,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2318401552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825557913,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3087084810,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2147943846,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84735521452393896,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.WARNING: Large IO value detected {"io_id":248,"raw_value":5067379029576704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,177,94,24,241,157,16,115,160,45,123,32,10,66,153,111,15,33,53,64,1,240,12,227,137,5,4,113,205,14,242,128,96,30,239,56,2,110,7,17,206,232,248],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-09-10 09:11:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153239405201588224,"timestamp_seconds":1153239405201588.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 09:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:11:26] 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-09-10 09:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986967296001,"66":13852,"177":206,"94":10240,"24":0,"16":31089588923531264,"45":743023599928705024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986967296001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:11:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:11:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31089588923531264,"km_value":31089588923531.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":743023599928705024,"description":"Unknown IO ID 45"} 
[2026-09-10 09:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986967296001,"power":13852,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":743023599928705024}} 
[2026-09-10 09:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":176348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:11:26] local.INFO: GPS data processed {"connection_id":176348,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:11:26] local.INFO: Acknowledgment sent {"connection_id":176348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:11:30] local.INFO: TCP Data received {"connection_id":176113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:30] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:30] local.INFO: IMEI packet received {"connection_id":176113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":176113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:11:32] local.INFO: TCP Data received {"connection_id":176113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:32] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:32] local.INFO: IMEI packet received {"connection_id":176113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":176113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:11:41] local.INFO: TCP Data received {"connection_id":177507,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:11:41] local.INFO: Processing buffer {"connection_id":177507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:11:41] local.INFO: IMEI packet received {"connection_id":177507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":177507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:11:43] local.INFO: TCP Data received {"connection_id":176113,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:43] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:11:43] local.INFO: IMEI packet received {"connection_id":176113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":176113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:11:44] local.INFO: TCP Data received {"connection_id":176113,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08965d760012d7a580005eb95e80002005c2c..."} 
[2026-09-10 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08965d760012d7a580005eb95e80002005c2c..."} 
[2026-09-10 09:11:44] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08965d760012d7a580005eb95e80002005c2c..."} 
[2026-09-10 09:11:44] local.INFO: Packet analysis {"connection_id":176113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:11:44] local.INFO: Extracted packet for processing {"connection_id":176113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08965"} 
[2026-09-10 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":762992640,"raw_latitude":99325416,"longitude_deg":76.299264,"latitude_deg":9.9325416,"altitude":2,"angle":92,"satellites":44,"speed":10,"hex_longitude":"2d7a5800","hex_latitude":"05eb95e8","is_valid_coordinates":true} 
[2026-09-10 09:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986956032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130674839542300672,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815514821028349952,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789011548000,"timestamp_ms":1789011548000,"timestamp_seconds":1789011548,"priority":1,"record_length":96,"hex_timestamp":"000001a08965d760"} 
[2026-09-10 09:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-10 09:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986956032001,"66":13222,"163":206,"87":13824,"24":10,"16":130674839542300672,"45":8815514821028349952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 09:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986956032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:11:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 09:11:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130674839542300672,"km_value":130674839542300.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815514821028349952,"description":"Unknown IO ID 45"} 
[2026-09-10 09:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986956032001,"power":13222,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8815514821028349952}} 
[2026-09-10 09:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":176113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:11:44] local.INFO: GPS data processed {"connection_id":176113,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:11:44] local.INFO: Acknowledgment sent {"connection_id":176113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:11:46] local.INFO: TCP Data received {"connection_id":177507,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:11:46] local.INFO: Processing buffer {"connection_id":177507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:11:46] local.INFO: IMEI packet received {"connection_id":177507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":177507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:11:47] local.INFO: TCP Data received {"connection_id":177507,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:47] local.INFO: Processing buffer {"connection_id":177507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:47] local.INFO: Packet analysis {"connection_id":177507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:11:47] local.INFO: Extracted packet for processing {"connection_id":177507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:11:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:11:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:11:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":177507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:11:47] local.INFO: GPS data processed {"connection_id":177507,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:11:47] local.INFO: Acknowledgment sent {"connection_id":177507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:11:49] local.INFO: TCP Data received {"connection_id":177508,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177508,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:11:49] local.INFO: Processing buffer {"connection_id":177508,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:11:49] local.INFO: IMEI packet received {"connection_id":177508,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":177508,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:11:51] local.INFO: TCP Data received {"connection_id":177507,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:51] local.INFO: Processing buffer {"connection_id":177507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896425c8012cee6fc0072e2d50003a00ee28..."} 
[2026-09-10 09:11:51] local.INFO: Packet analysis {"connection_id":177507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:11:51] local.INFO: Extracted packet for processing {"connection_id":177507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08964"} 
[2026-09-10 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730699776,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789011437000,"timestamp_ms":1789011437000,"timestamp_seconds":1789011437,"priority":1,"record_length":96,"hex_timestamp":"000001a0896425c8"} 
[2026-09-10 09:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986854912001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265159620730699776},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:11:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730699776,"description":"Unknown IO ID 44"} 
[2026-09-10 09:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986854912001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265159620730699776}} 
[2026-09-10 09:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":177507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:11:51] local.INFO: GPS data processed {"connection_id":177507,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:11:51] local.INFO: Acknowledgment sent {"connection_id":177507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:11:54] local.INFO: TCP Data received {"connection_id":177508,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177508,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:11:54] local.INFO: Processing buffer {"connection_id":177508,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:11:54] local.INFO: IMEI packet received {"connection_id":177508,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":177508,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:11:55] local.INFO: TCP Data received {"connection_id":177508,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08967f270012d0a360007058538000f01081f..."} 
[2026-09-10 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08967f270012d0a360007058538000f01081f..."} 
[2026-09-10 09:11:55] local.INFO: Processing buffer {"connection_id":177508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08967f270012d0a360007058538000f01081f..."} 
[2026-09-10 09:11:55] local.INFO: Packet analysis {"connection_id":177508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08967"} 
[2026-09-10 09:11:55] local.INFO: Extracted packet for processing {"connection_id":177508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08967"} 
[2026-09-10 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755643904,"raw_latitude":117802296,"longitude_deg":75.5643904,"latitude_deg":11.7802296,"altitude":15,"angle":264,"satellites":31,"speed":0,"hex_longitude":"2d0a3600","hex_latitude":"07058538","is_valid_coordinates":true} 
[2026-09-10 09:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986986496001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31090014125293568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":736690412953387008,"note":"Value kept but may cause issues"} 
[2026-09-10 09:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011686000,"timestamp_ms":1789011686000,"timestamp_seconds":1789011686,"priority":1,"record_length":96,"hex_timestamp":"000001a08967f270"} 
[2026-09-10 09:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 09:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:11: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-09-10 09:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986986496001,"66":14537,"177":206,"94":10240,"24":0,"16":31090014125293568,"45":736690412953387008},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986986496001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:11:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31090014125293568,"km_value":31090014125293.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":736690412953387008,"description":"Unknown IO ID 45"} 
[2026-09-10 09:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986986496001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":736690412953387008}} 
[2026-09-10 09:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":177508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:11:55] local.INFO: GPS data processed {"connection_id":177508,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:11:55] local.INFO: Acknowledgment sent {"connection_id":177508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:12:18] local.INFO: TCP Data received {"connection_id":178887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:12:18] local.INFO: Processing buffer {"connection_id":178887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:12:18] local.INFO: IMEI packet received {"connection_id":178887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":178887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:12:20] local.INFO: TCP Data received {"connection_id":178887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:12:20] local.INFO: Processing buffer {"connection_id":178887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:12:20] local.INFO: IMEI packet received {"connection_id":178887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":178887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:12:21] local.INFO: TCP Data received {"connection_id":178887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08967fe28012d7b9b0005ec1bc0001000482d..."} 
[2026-09-10 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08967fe28012d7b9b0005ec1bc0001000482d..."} 
[2026-09-10 09:12:21] local.INFO: Processing buffer {"connection_id":178887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08967fe28012d7b9b0005ec1bc0001000482d..."} 
[2026-09-10 09:12:21] local.INFO: Packet analysis {"connection_id":178887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08967"} 
[2026-09-10 09:12:21] local.INFO: Extracted packet for processing {"connection_id":178887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08967"} 
[2026-09-10 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763075328,"raw_latitude":99359680,"longitude_deg":76.3075328,"latitude_deg":9.935968,"altitude":16,"angle":72,"satellites":45,"speed":31,"hex_longitude":"2d7b9b00","hex_latitude":"05ec1bc0","is_valid_coordinates":true} 
[2026-09-10 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986989312001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130679134509596672,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897142564282546176,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789011689000,"timestamp_ms":1789011689000,"timestamp_seconds":1789011689,"priority":1,"record_length":96,"hex_timestamp":"000001a08967fe28"} 
[2026-09-10 09:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 09:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986989312001,"66":13602,"118":206,"87":13824,"24":31,"16":130679134509596672,"45":8897142564282546176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-10 09:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986989312001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:12:21] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 09:12:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130679134509596672,"km_value":130679134509596.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897142564282546176,"description":"Unknown IO ID 45"} 
[2026-09-10 09:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986989312001,"power":13602,"unknown_118":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8897142564282546176}} 
[2026-09-10 09:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":178887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:12:21] local.INFO: GPS data processed {"connection_id":178887,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:12:21] local.INFO: Acknowledgment sent {"connection_id":178887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:12:26] local.INFO: TCP Data received {"connection_id":177508,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08967fa40012d0a34c0070585c0000f011820..."} 
[2026-09-10 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08967fa40012d0a34c0070585c0000f011820..."} 
[2026-09-10 09:12:26] local.INFO: Processing buffer {"connection_id":177508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08967fa40012d0a34c0070585c0000f011820..."} 
[2026-09-10 09:12:26] local.INFO: Packet analysis {"connection_id":177508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08967"} 
[2026-09-10 09:12:26] local.INFO: Extracted packet for processing {"connection_id":177508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08967"} 
[2026-09-10 09:12:26] local.INFO: GPS Element Parsed {"raw_longitude":755643584,"raw_latitude":117802432,"longitude_deg":75.5643584,"latitude_deg":11.7802432,"altitude":15,"angle":280,"satellites":32,"speed":4,"hex_longitude":"2d0a34c0","hex_latitude":"070585c0","is_valid_coordinates":true} 
[2026-09-10 09:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986991616001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31090031305162752,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735775619279042560,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011688000,"timestamp_ms":1789011688000,"timestamp_seconds":1789011688,"priority":1,"record_length":96,"hex_timestamp":"000001a08967fa40"} 
[2026-09-10 09:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 09:12: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-09-10 09:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:12:26] 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-09-10 09:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986991616001,"66":14407,"177":206,"94":10240,"24":4,"16":31090031305162752,"45":735775619279042560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986991616001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:12:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:12:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31090031305162752,"km_value":31090031305162.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":735775619279042560,"description":"Unknown IO ID 45"} 
[2026-09-10 09:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986991616001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":735775619279042560}} 
[2026-09-10 09:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":177508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792938,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:12:26] local.INFO: GPS data processed {"connection_id":177508,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:12:26] local.INFO: Acknowledgment sent {"connection_id":177508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:12:36] local.INFO: TCP Data received {"connection_id":178888,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:36] local.INFO: Processing buffer {"connection_id":178888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:36] local.INFO: IMEI packet received {"connection_id":178888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":178888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:12:36] local.INFO: TCP Data received {"connection_id":178888,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:36] local.INFO: Processing buffer {"connection_id":178888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:36] local.INFO: IMEI packet received {"connection_id":178888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":178888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:12:41] local.INFO: TCP Data received {"connection_id":178888,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:41] local.INFO: Processing buffer {"connection_id":178888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:12:41] local.INFO: IMEI packet received {"connection_id":178888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":178888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:12:42] local.INFO: TCP Data received {"connection_id":178888,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:12:42] local.INFO: Processing buffer {"connection_id":178888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:12:42] local.INFO: Packet analysis {"connection_id":178888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:12:42] local.INFO: Extracted packet for processing {"connection_id":178888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:12:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:12: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-09-10 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:12:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":178888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:12:42] local.INFO: GPS data processed {"connection_id":178888,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:12:42] local.INFO: Acknowledgment sent {"connection_id":178888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:12:47] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:47] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:47] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:12:49] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:49] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:49] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:12:51] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:51] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:51] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:12:54] local.INFO: TCP Data received {"connection_id":178887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089682920012d7bbd0005ec25c00011004a2d..."} 
[2026-09-10 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089682920012d7bbd0005ec25c00011004a2d..."} 
[2026-09-10 09:12:54] local.INFO: Processing buffer {"connection_id":178887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089682920012d7bbd0005ec25c00011004a2d..."} 
[2026-09-10 09:12:54] local.INFO: Packet analysis {"connection_id":178887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:12:54] local.INFO: Extracted packet for processing {"connection_id":178887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":99362240,"longitude_deg":76.3084032,"latitude_deg":9.936224,"altitude":17,"angle":74,"satellites":45,"speed":32,"hex_longitude":"2d7bbd00","hex_latitude":"05ec25c0","is_valid_coordinates":true} 
[2026-09-10 09:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986992384001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130679568301293568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906712713491365888,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12: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-09-10 09:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789011700000,"timestamp_ms":1789011700000,"timestamp_seconds":1789011700,"priority":1,"record_length":96,"hex_timestamp":"000001a089682920"} 
[2026-09-10 09:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 09:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986992384001,"66":13928,"198":206,"87":13824,"24":32,"16":130679568301293568,"45":8906712713491365888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 09:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986992384001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:12:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 09:12:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130679568301293568,"km_value":130679568301293.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906712713491365888,"description":"Unknown IO ID 45"} 
[2026-09-10 09:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986992384001,"power":13928,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8906712713491365888}} 
[2026-09-10 09:12:54] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:54] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:12:54] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":178887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:12:54] local.INFO: GPS data processed {"connection_id":178887,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:12:54] local.INFO: Acknowledgment sent {"connection_id":178887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:12:55] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a089691768012d09e90007057040000c00e11d..."} 
[2026-09-10 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089691768012d09e90007057040000c00e11d..."} 
[2026-09-10 09:12:55] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089691768012d09e90007057040000c00e11d..."} 
[2026-09-10 09:12:55] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:12:55] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755624192,"raw_latitude":117796928,"longitude_deg":75.5624192,"latitude_deg":11.7796928,"altitude":12,"angle":225,"satellites":29,"speed":10,"hex_longitude":"2d09e900","hex_latitude":"07057040","is_valid_coordinates":true} 
[2026-09-10 09:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987010560001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31091117931888640,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714242783559352320,"note":"Value kept but may cause issues"} 
[2026-09-10 09:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011761000,"timestamp_ms":1789011761000,"timestamp_seconds":1789011761,"priority":1,"record_length":96,"hex_timestamp":"000001a089691768"} 
[2026-09-10 09:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 09:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:12: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-09-10 09:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987010560001,"66":14396,"177":206,"94":10240,"24":10,"16":31091117931888640,"45":714242783559352320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987010560001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:12:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:12:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31091117931888640,"km_value":31091117931888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":714242783559352320,"description":"Unknown IO ID 45"} 
[2026-09-10 09:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987010560001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":714242783559352320}} 
[2026-09-10 09:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:12:55] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:12:55] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:13:13] local.INFO: TCP Data received {"connection_id":178888,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:13:13] local.INFO: Processing buffer {"connection_id":178888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:13:13] local.INFO: Packet analysis {"connection_id":178888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:13] local.INFO: Extracted packet for processing {"connection_id":178888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:13: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-09-10 09:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:13: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-09-10 09:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:13:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":178888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:13:13] local.INFO: GPS data processed {"connection_id":178888,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:13:13] local.INFO: Acknowledgment sent {"connection_id":178888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:13:16] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:16] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:16] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:13:17] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:17] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:17] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:13:22] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:22] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:13:22] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:13:24] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089685800012d7bdf4005ec2ed8000f004e2d..."} 
[2026-09-10 09:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089685800012d7bdf4005ec2ed8000f004e2d..."} 
[2026-09-10 09:13:24] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089685800012d7bdf4005ec2ed8000f004e2d..."} 
[2026-09-10 09:13:24] local.INFO: Packet analysis {"connection_id":176114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:24] local.INFO: Extracted packet for processing {"connection_id":176114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763092800,"raw_latitude":99364568,"longitude_deg":76.30928,"latitude_deg":9.9364568,"altitude":15,"angle":78,"satellites":45,"speed":19,"hex_longitude":"2d7bdf40","hex_latitude":"05ec2ed8","is_valid_coordinates":true} 
[2026-09-10 09:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986995200001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130680002092990464,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862700183552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13: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-09-10 09:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011712000,"timestamp_ms":1789011712000,"timestamp_seconds":1789011712,"priority":1,"record_length":96,"hex_timestamp":"000001a089685800"} 
[2026-09-10 09:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 09:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986995200001,"66":13678,"198":206,"87":13824,"24":19,"16":130680002092990464,"45":8916282862700183552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 09:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986995200001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:13:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 09:13:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130680002092990464,"km_value":130680002092990.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862700183552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986995200001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8916282862700183552}} 
[2026-09-10 09:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":176114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:13:24] local.INFO: GPS data processed {"connection_id":176114,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:13:24] local.INFO: Acknowledgment sent {"connection_id":176114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:13:26] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08969afc0012d09c50007056700000d009d1e..."} 
[2026-09-10 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08969afc0012d09c50007056700000d009d1e..."} 
[2026-09-10 09:13:26] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08969afc0012d09c50007056700000d009d1e..."} 
[2026-09-10 09:13:26] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:13:26] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:13:26] local.INFO: GPS Element Parsed {"raw_longitude":755614976,"raw_latitude":117794560,"longitude_deg":75.5614976,"latitude_deg":11.779456,"altitude":13,"angle":157,"satellites":30,"speed":14,"hex_longitude":"2d09c500","hex_latitude":"07056700","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987020544001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31091882436067328,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703828209420484608,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789011800000,"timestamp_ms":1789011800000,"timestamp_seconds":1789011800,"priority":1,"record_length":96,"hex_timestamp":"000001a08969afc0"} 
[2026-09-10 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-09-10 09:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:13:26] 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-09-10 09:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987020544001,"66":14428,"177":206,"94":10240,"24":14,"16":31091882436067328,"45":703828209420484608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987020544001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:13:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:13:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31091882436067328,"km_value":31091882436067.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":703828209420484608,"description":"Unknown IO ID 45"} 
[2026-09-10 09:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987020544001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":703828209420484608}} 
[2026-09-10 09:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:13:26] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:13:26] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:13:36] local.INFO: TCP Data received {"connection_id":178889,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:13:36] local.INFO: Processing buffer {"connection_id":178889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:13:36] local.INFO: IMEI packet received {"connection_id":178889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":178889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:13:41] local.INFO: TCP Data received {"connection_id":178889,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:13:41] local.INFO: Processing buffer {"connection_id":178889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:13:41] local.INFO: IMEI packet received {"connection_id":178889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":178889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:13:42] local.INFO: TCP Data received {"connection_id":178889,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:13:42] local.INFO: Processing buffer {"connection_id":178889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:13:42] local.INFO: Packet analysis {"connection_id":178889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:42] local.INFO: Extracted packet for processing {"connection_id":178889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:13: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-09-10 09:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:13:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":178889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:13:42] local.INFO: GPS data processed {"connection_id":178889,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:13:42] local.INFO: Acknowledgment sent {"connection_id":178889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:13:49] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:13:49] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:13:49] local.INFO: IMEI packet received {"connection_id":176115,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":176115,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:13:55] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:13:55] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:13:55] local.INFO: IMEI packet received {"connection_id":176115,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":176115,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:13:55] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089689298012d7c034005ec3420000d00552d..."} 
[2026-09-10 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089689298012d7c034005ec3420000d00552d..."} 
[2026-09-10 09:13:55] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089689298012d7c034005ec3420000d00552d..."} 
[2026-09-10 09:13:55] local.INFO: Packet analysis {"connection_id":176114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:55] local.INFO: Extracted packet for processing {"connection_id":176114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763102016,"raw_latitude":99365920,"longitude_deg":76.3102016,"latitude_deg":9.936592,"altitude":13,"angle":85,"satellites":45,"speed":31,"hex_longitude":"2d7c0340","hex_latitude":"05ec3420","is_valid_coordinates":true} 
[2026-09-10 09:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986998272001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130680448769589248,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925923380653119488,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011727000,"timestamp_ms":1789011727000,"timestamp_seconds":1789011727,"priority":1,"record_length":96,"hex_timestamp":"000001a089689298"} 
[2026-09-10 09:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:13: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":110,"data_length":795,"current_offset":136} 
[2026-09-10 09:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986998272001,"66":13602,"198":206,"87":13824,"24":31,"16":130680448769589248,"45":8925923380653119488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 09:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986998272001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:13:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 09:13:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130680448769589248,"km_value":130680448769589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925923380653119488,"description":"Unknown IO ID 45"} 
[2026-09-10 09:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986998272001,"power":13602,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8925923380653119488}} 
[2026-09-10 09:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":176114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:13:55] local.INFO: GPS data processed {"connection_id":176114,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:13:55] local.INFO: Acknowledgment sent {"connection_id":176114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:13:56] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08969b3a8012d09c50007056568000d00b11e..."} 
[2026-09-10 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08969b3a8012d09c50007056568000d00b11e..."} 
[2026-09-10 09:13:56] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08969b3a8012d09c50007056568000d00b11e..."} 
[2026-09-10 09:13:56] local.INFO: Packet analysis {"connection_id":176115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:13:56] local.INFO: Extracted packet for processing {"connection_id":176115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:13:56] local.INFO: GPS Element Parsed {"raw_longitude":755614976,"raw_latitude":117794152,"longitude_deg":75.5614976,"latitude_deg":11.7794152,"altitude":13,"angle":177,"satellites":30,"speed":16,"hex_longitude":"2d09c500","hex_latitude":"07056568","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987020800001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31091899615936512,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703968946908758016,"note":"Value kept but may cause issues"} 
[2026-09-10 09:13: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-09-10 09:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789011801000,"timestamp_ms":1789011801000,"timestamp_seconds":1789011801,"priority":1,"record_length":96,"hex_timestamp":"000001a08969b3a8"} 
[2026-09-10 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-09-10 09:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:13: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-09-10 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-09-10 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-09-10 09:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:13:56] 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-09-10 09:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987020800001,"66":13656,"177":206,"94":10240,"24":16,"16":31091899615936512,"45":703968946908758016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987020800001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:13:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:13:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31091899615936512,"km_value":31091899615936.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":703968946908758016,"description":"Unknown IO ID 45"} 
[2026-09-10 09:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987020800001,"power":13656,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":703968946908758016}} 
[2026-09-10 09:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":176115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:13:56] local.INFO: GPS data processed {"connection_id":176115,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:13:56] local.INFO: Acknowledgment sent {"connection_id":176115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:14:13] local.INFO: TCP Data received {"connection_id":178889,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:14:13] local.INFO: Processing buffer {"connection_id":178889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:14:13] local.INFO: Packet analysis {"connection_id":178889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:13] local.INFO: Extracted packet for processing {"connection_id":178889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:14: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-09-10 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:14: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-09-10 09:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:14: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-09-10 09:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:14:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":178889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:14:13] local.INFO: GPS data processed {"connection_id":178889,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:14:13] local.INFO: Acknowledgment sent {"connection_id":178889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:14:17] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:14:17] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:14:17] local.INFO: IMEI packet received {"connection_id":177509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":177509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:14:22] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:14:22] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:14:22] local.INFO: IMEI packet received {"connection_id":177509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":177509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:14:24] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08968c178012d7c290005ec3588000d00582d..."} 
[2026-09-10 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08968c178012d7c290005ec3588000d00582d..."} 
[2026-09-10 09:14:24] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08968c178012d7c290005ec3588000d00582d..."} 
[2026-09-10 09:14:24] local.INFO: Packet analysis {"connection_id":177509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:24] local.INFO: Extracted packet for processing {"connection_id":177509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":99366280,"longitude_deg":76.311168,"latitude_deg":9.936628,"altitude":13,"angle":88,"satellites":45,"speed":35,"hex_longitude":"2d7c2900","hex_latitude":"05ec3588","is_valid_coordinates":true} 
[2026-09-10 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987002112001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130680908331089920,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936056479815049216,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14: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-09-10 09:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011739000,"timestamp_ms":1789011739000,"timestamp_seconds":1789011739,"priority":1,"record_length":96,"hex_timestamp":"000001a08968c178"} 
[2026-09-10 09:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 09:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987002112001,"66":13646,"198":206,"87":13824,"24":35,"16":130680908331089920,"45":8936056479815049216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 09:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987002112001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:14:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 09:14:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130680908331089920,"km_value":130680908331089.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936056479815049216,"description":"Unknown IO ID 45"} 
[2026-09-10 09:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987002112001,"power":13646,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8936056479815049216}} 
[2026-09-10 09:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":177509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:14:24] local.INFO: GPS data processed {"connection_id":177509,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:14:24] local.INFO: Acknowledgment sent {"connection_id":177509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:14:27] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08969b790012d09c4c0070563a0000d00bc1e..."} 
[2026-09-10 09:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08969b790012d09c4c0070563a0000d00bc1e..."} 
[2026-09-10 09:14:27] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08969b790012d09c4c0070563a0000d00bc1e..."} 
[2026-09-10 09:14:27] local.INFO: Packet analysis {"connection_id":176115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:14:27] local.INFO: Extracted packet for processing {"connection_id":176115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08969"} 
[2026-09-10 09:14:27] local.INFO: GPS Element Parsed {"raw_longitude":755614912,"raw_latitude":117793696,"longitude_deg":75.5614912,"latitude_deg":11.7793696,"altitude":13,"angle":188,"satellites":30,"speed":19,"hex_longitude":"2d09c4c0","hex_latitude":"070563a0","is_valid_coordinates":true} 
[2026-09-10 09:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987021056001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31091921090772992,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703968946908653568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789011802000,"timestamp_ms":1789011802000,"timestamp_seconds":1789011802,"priority":1,"record_length":96,"hex_timestamp":"000001a08969b790"} 
[2026-09-10 09:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:14: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-09-10 09: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 09:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176115,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:14:27] 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-09-10 09:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987021056001,"66":13656,"177":206,"94":10240,"24":19,"16":31091921090772992,"45":703968946908653568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 09:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987021056001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:14:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 09:14:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31091921090772992,"km_value":31091921090772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":703968946908653568,"description":"Unknown IO ID 45"} 
[2026-09-10 09:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987021056001,"power":13656,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":703968946908653568}} 
[2026-09-10 09:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":176115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:14:27] local.INFO: GPS data processed {"connection_id":176115,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:14:27] local.INFO: Acknowledgment sent {"connection_id":176115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:14:36] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:14:36] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:14:36] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:14:41] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:14:41] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:14:41] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:14:42] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:14:42] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:14:42] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:42] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:14: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-09-10 09:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:14:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:14:42] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:14:42] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:14:49] local.INFO: TCP Data received {"connection_id":177510,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:49] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:49] local.INFO: IMEI packet received {"connection_id":177510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":177510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:14:49] local.INFO: TCP Data received {"connection_id":177510,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:49] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:49] local.INFO: IMEI packet received {"connection_id":177510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":177510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:14:50] local.INFO: TCP Data received {"connection_id":177510,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:50] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:50] local.INFO: IMEI packet received {"connection_id":177510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":177510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:14:51] local.INFO: TCP Data received {"connection_id":177510,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:51] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:14:51] local.INFO: IMEI packet received {"connection_id":177510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":177510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:14:55] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08968ec70012d7c4e4005ec36c8000b00582d..."} 
[2026-09-10 09:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08968ec70012d7c4e4005ec36c8000b00582d..."} 
[2026-09-10 09:14:55] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08968ec70012d7c4e4005ec36c8000b00582d..."} 
[2026-09-10 09:14:55] local.INFO: Packet analysis {"connection_id":177509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:55] local.INFO: Extracted packet for processing {"connection_id":177509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763121216,"raw_latitude":99366600,"longitude_deg":76.3121216,"latitude_deg":9.93666,"altitude":11,"angle":88,"satellites":45,"speed":33,"hex_longitude":"2d7c4e40","hex_latitude":"05ec36c8","is_valid_coordinates":true} 
[2026-09-10 09:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987005184001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130681363597623296,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682160185968640,"note":"Value kept but may cause issues"} 
[2026-09-10 09:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011750000,"timestamp_ms":1789011750000,"timestamp_seconds":1789011750,"priority":1,"record_length":96,"hex_timestamp":"000001a08968ec70"} 
[2026-09-10 09:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 09:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987005184001,"66":13820,"198":206,"87":13824,"24":33,"16":130681363597623296,"45":8946682160185968640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 09:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987005184001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:14:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 09:14:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130681363597623296,"km_value":130681363597623.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682160185968640,"description":"Unknown IO ID 45"} 
[2026-09-10 09:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987005184001,"power":13820,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8946682160185968640}} 
[2026-09-10 09:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":177509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:14:55] local.INFO: GPS data processed {"connection_id":177509,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:14:55] local.INFO: Acknowledgment sent {"connection_id":177509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:15:13] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:15:13] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:15:13] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:15:13] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:15: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-09-10 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:15: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-09-10 09:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:15:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:15:13] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:15:13] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:15:16] local.INFO: TCP Data received {"connection_id":178890,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:16] local.INFO: Processing buffer {"connection_id":178890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:16] local.INFO: IMEI packet received {"connection_id":178890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":178890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:15:17] local.INFO: TCP Data received {"connection_id":178890,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:17] local.INFO: Processing buffer {"connection_id":178890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:17] local.INFO: IMEI packet received {"connection_id":178890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":178890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:15:22] local.INFO: TCP Data received {"connection_id":178890,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:22] local.INFO: Processing buffer {"connection_id":178890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:15:22] local.INFO: IMEI packet received {"connection_id":178890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":178890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:15:23] local.INFO: TCP Data received {"connection_id":178890,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896b51b8012d7d2a4005ec4430000500532c..."} 
[2026-09-10 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896b51b8012d7d2a4005ec4430000500532c..."} 
[2026-09-10 09:15:23] local.INFO: Processing buffer {"connection_id":178890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896b51b8012d7d2a4005ec4430000500532c..."} 
[2026-09-10 09:15:23] local.INFO: Packet analysis {"connection_id":178890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896b"} 
[2026-09-10 09:15:23] local.INFO: Extracted packet for processing {"connection_id":178890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896b"} 
[2026-09-10 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":99370032,"longitude_deg":76.3177536,"latitude_deg":9.9370032,"altitude":5,"angle":83,"satellites":44,"speed":5,"hex_longitude":"2d7d2a40","hex_latitude":"05ec4430","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987042816001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684073721987072,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647992301568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789011907000,"timestamp_ms":1789011907000,"timestamp_seconds":1789011907,"priority":1,"record_length":96,"hex_timestamp":"000001a0896b51b8"} 
[2026-09-10 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-09-10 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-10 09:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987042816001,"66":13917,"110":206,"87":13824,"24":5,"16":130684073721987072,"45":9018528647992301568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987042816001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:15:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:15:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684073721987072,"km_value":130684073721987.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647992301568,"description":"Unknown IO ID 45"} 
[2026-09-10 09:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987042816001,"power":13917,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9018528647992301568}} 
[2026-09-10 09:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":178890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:15:23] local.INFO: GPS data processed {"connection_id":178890,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:15:23] local.INFO: Acknowledgment sent {"connection_id":178890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:15:36] local.INFO: TCP Data received {"connection_id":176350,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:15:36] local.INFO: Processing buffer {"connection_id":176350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:15:36] local.INFO: IMEI packet received {"connection_id":176350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":176350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:15:41] local.INFO: TCP Data received {"connection_id":176350,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:15:41] local.INFO: Processing buffer {"connection_id":176350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:15:41] local.INFO: IMEI packet received {"connection_id":176350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":176350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:15:42] local.INFO: TCP Data received {"connection_id":176350,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:15:42] local.INFO: Processing buffer {"connection_id":176350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:15:42] local.INFO: Packet analysis {"connection_id":176350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:15:42] local.INFO: Extracted packet for processing {"connection_id":176350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:15: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-09-10 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:15:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":176350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:15:42] local.INFO: GPS data processed {"connection_id":176350,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:15:42] local.INFO: Acknowledgment sent {"connection_id":176350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:15:54] local.INFO: TCP Data received {"connection_id":178890,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896b5d70012d7d2d0005ec4498000500472c..."} 
[2026-09-10 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896b5d70012d7d2d0005ec4498000500472c..."} 
[2026-09-10 09:15:54] local.INFO: Processing buffer {"connection_id":178890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896b5d70012d7d2d0005ec4498000500472c..."} 
[2026-09-10 09:15:54] local.INFO: Packet analysis {"connection_id":178890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896b"} 
[2026-09-10 09:15:54] local.INFO: Extracted packet for processing {"connection_id":178890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896b"} 
[2026-09-10 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763178240,"raw_latitude":99370136,"longitude_deg":76.317824,"latitude_deg":9.9370136,"altitude":5,"angle":71,"satellites":44,"speed":10,"hex_longitude":"2d7d2d00","hex_latitude":"05ec4498","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987048192001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684108081725440,"note":"Value kept but may cause issues"} 
[2026-09-10 09:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597945745408,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 09:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789011910000,"timestamp_ms":1789011910000,"timestamp_seconds":1789011910,"priority":1,"record_length":96,"hex_timestamp":"000001a0896b5d70"} 
[2026-09-10 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-09-10 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-10 09:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 09:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987048192001,"66":13646,"110":206,"87":13824,"24":10,"16":130684108081725440,"45":9019091597945745408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987048192001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:15:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:15:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684108081725440,"km_value":130684108081725.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597945745408,"description":"Unknown IO ID 45"} 
[2026-09-10 09:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987048192001,"power":13646,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9019091597945745408}} 
[2026-09-10 09:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":178890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:15:54] local.INFO: GPS data processed {"connection_id":178890,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:15:54] local.INFO: Acknowledgment sent {"connection_id":178890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:16:13] local.INFO: TCP Data received {"connection_id":176350,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:16:13] local.INFO: Processing buffer {"connection_id":176350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:16:13] local.INFO: Packet analysis {"connection_id":176350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:16:13] local.INFO: Extracted packet for processing {"connection_id":176350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:16:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:16: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-09-10 09:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:16: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-09-10 09: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-09-10 09:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:16:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":176350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:16:13] local.INFO: GPS data processed {"connection_id":176350,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:16:13] local.INFO: Acknowledgment sent {"connection_id":176350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:16:17] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:16:17] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:16:17] local.INFO: IMEI packet received {"connection_id":176352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":176352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:16:22] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:16:22] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:16:22] local.INFO: IMEI packet received {"connection_id":176352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":176352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:16:23] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896b6158012d7d2e0005ec4508000500372b..."} 
[2026-09-10 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896b6158012d7d2e0005ec4508000500372b..."} 
[2026-09-10 09:16:23] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896b6158012d7d2e0005ec4508000500372b..."} 
[2026-09-10 09:16:23] local.INFO: Packet analysis {"connection_id":176352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896b"} 
[2026-09-10 09:16:23] local.INFO: Extracted packet for processing {"connection_id":176352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896b"} 
[2026-09-10 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":99370248,"longitude_deg":76.3178496,"latitude_deg":9.9370248,"altitude":5,"angle":55,"satellites":43,"speed":10,"hex_longitude":"2d7d2e00","hex_latitude":"05ec4508","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987048960001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684116671660032,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019865654131726336,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789011911000,"timestamp_ms":1789011911000,"timestamp_seconds":1789011911,"priority":1,"record_length":96,"hex_timestamp":"000001a0896b6158"} 
[2026-09-10 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-09-10 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 09:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987048960001,"66":13646,"110":206,"87":13824,"24":10,"16":130684116671660032,"45":9019865654131726336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987048960001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:16:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:16:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684116671660032,"km_value":130684116671660.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019865654131726336,"description":"Unknown IO ID 45"} 
[2026-09-10 09:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987048960001,"power":13646,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9019865654131726336}} 
[2026-09-10 09:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":176352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:16:23] local.INFO: GPS data processed {"connection_id":176352,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:16:23] local.INFO: Acknowledgment sent {"connection_id":176352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:16:36] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:16:36] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:16:36] local.INFO: IMEI packet received {"connection_id":177511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":177511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:16:41] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:16:41] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:16:41] local.INFO: IMEI packet received {"connection_id":177511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":177511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:16:42] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:16:42] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:16:42] local.INFO: Packet analysis {"connection_id":177511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:16:42] local.INFO: Extracted packet for processing {"connection_id":177511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:16: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-09-10 09:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":177511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:16:42] local.INFO: GPS data processed {"connection_id":177511,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:16:42] local.INFO: Acknowledgment sent {"connection_id":177511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:16:55] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896c8650012d7d1d0005ec6ad00005013f2c..."} 
[2026-09-10 09:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896c8650012d7d1d0005ec6ad00005013f2c..."} 
[2026-09-10 09:16:55] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896c8650012d7d1d0005ec6ad00005013f2c..."} 
[2026-09-10 09:16:55] local.INFO: Packet analysis {"connection_id":176352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896c"} 
[2026-09-10 09:16:55] local.INFO: Extracted packet for processing {"connection_id":176352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896c"} 
[2026-09-10 09:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99379920,"longitude_deg":76.3174144,"latitude_deg":9.937992,"altitude":5,"angle":319,"satellites":44,"speed":12,"hex_longitude":"2d7d1d00","hex_latitude":"05ec6ad0","is_valid_coordinates":true} 
[2026-09-10 09:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987063040001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684687902310400,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597947369472,"note":"Value kept but may cause issues"} 
[2026-09-10 09:16: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-09-10 09:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789011986000,"timestamp_ms":1789011986000,"timestamp_seconds":1789011986,"priority":1,"record_length":96,"hex_timestamp":"000001a0896c8650"} 
[2026-09-10 09:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 09:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987063040001,"66":13646,"110":206,"87":13824,"24":12,"16":130684687902310400,"45":9019091597947369472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987063040001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:16:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:16:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684687902310400,"km_value":130684687902310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597947369472,"description":"Unknown IO ID 45"} 
[2026-09-10 09:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987063040001,"power":13646,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9019091597947369472}} 
[2026-09-10 09:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":176352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:16:55] local.INFO: GPS data processed {"connection_id":176352,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:16:55] local.INFO: Acknowledgment sent {"connection_id":176352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:17:13] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:17:13] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089687358012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:17:13] local.INFO: Packet analysis {"connection_id":177511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:17:13] local.INFO: Extracted packet for processing {"connection_id":177511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08968"} 
[2026-09-10 09:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457986927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789011719000,"timestamp_ms":1789011719000,"timestamp_seconds":1789011719,"priority":1,"record_length":96,"hex_timestamp":"000001a089687358"} 
[2026-09-10 09:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:17: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-09-10 09:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:17: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-09-10 09:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457986927872001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457986927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:17:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457986927872001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":177511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:17:13] local.INFO: GPS data processed {"connection_id":177511,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:17:13] local.INFO: Acknowledgment sent {"connection_id":177511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:17:17] local.INFO: TCP Data received {"connection_id":177512,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:17:17] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:17:17] local.INFO: IMEI packet received {"connection_id":177512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":177512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:17:23] local.INFO: TCP Data received {"connection_id":177512,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:17:23] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:17:23] local.INFO: IMEI packet received {"connection_id":177512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":177512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:17:24] local.INFO: TCP Data received {"connection_id":177512,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896c95f0012d7d1a8005ec6dd80005014d2c..."} 
[2026-09-10 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896c95f0012d7d1a8005ec6dd80005014d2c..."} 
[2026-09-10 09:17:24] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896c95f0012d7d1a8005ec6dd80005014d2c..."} 
[2026-09-10 09:17:24] local.INFO: Packet analysis {"connection_id":177512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896c"} 
[2026-09-10 09:17:24] local.INFO: Extracted packet for processing {"connection_id":177512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896c"} 
[2026-09-10 09:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":99380696,"longitude_deg":76.3173504,"latitude_deg":9.9380696,"altitude":5,"angle":333,"satellites":44,"speed":6,"hex_longitude":"2d7d1a80","hex_latitude":"05ec6dd8","is_valid_coordinates":true} 
[2026-09-10 09:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987068416001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684739441917952,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054506860544,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789011990000,"timestamp_ms":1789011990000,"timestamp_seconds":1789011990,"priority":1,"record_length":96,"hex_timestamp":"000001a0896c95f0"} 
[2026-09-10 09:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 09:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987068416001,"66":13406,"110":206,"87":13824,"24":6,"16":130684739441917952,"45":9015362054506860544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987068416001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:17:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:17:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684739441917952,"km_value":130684739441917.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054506860544,"description":"Unknown IO ID 45"} 
[2026-09-10 09:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987068416001,"power":13406,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015362054506860544}} 
[2026-09-10 09:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":177512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:17:24] local.INFO: GPS data processed {"connection_id":177512,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:17:24] local.INFO: Acknowledgment sent {"connection_id":177512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:17:37] local.INFO: TCP Data received {"connection_id":178891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:37] local.INFO: Processing buffer {"connection_id":178891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:37] local.INFO: IMEI packet received {"connection_id":178891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":178891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:17:41] local.INFO: TCP Data received {"connection_id":178891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:41] local.INFO: Processing buffer {"connection_id":178891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:41] local.INFO: IMEI packet received {"connection_id":178891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":178891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:17:46] local.INFO: TCP Data received {"connection_id":178891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:46] local.INFO: Processing buffer {"connection_id":178891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:17:46] local.INFO: IMEI packet received {"connection_id":178891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":178891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:17:47] local.INFO: TCP Data received {"connection_id":178891,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:17:47] local.INFO: Processing buffer {"connection_id":178891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:17:47] local.INFO: Packet analysis {"connection_id":178891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:17:47] local.INFO: Extracted packet for processing {"connection_id":178891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:17:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:17:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":178891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:17:47] local.INFO: GPS data processed {"connection_id":178891,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:17:47] local.INFO: Acknowledgment sent {"connection_id":178891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:17:55] local.INFO: TCP Data received {"connection_id":177512,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896ce410012d7d1ac005ec6af00001014d2c..."} 
[2026-09-10 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896ce410012d7d1ac005ec6af00001014d2c..."} 
[2026-09-10 09:17:55] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896ce410012d7d1ac005ec6af00001014d2c..."} 
[2026-09-10 09:17:55] local.INFO: Packet analysis {"connection_id":177512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896c"} 
[2026-09-10 09:17:55] local.INFO: Extracted packet for processing {"connection_id":177512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896c"} 
[2026-09-10 09:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99379952,"longitude_deg":76.3173568,"latitude_deg":9.9379952,"altitude":1,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2d7d1ac0","hex_latitude":"05ec6af0","is_valid_coordinates":true} 
[2026-09-10 09:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987069440001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684803866427392,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658367065282560,"note":"Value kept but may cause issues"} 
[2026-09-10 09:17: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-09-10 09:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789012010000,"timestamp_ms":1789012010000,"timestamp_seconds":1789012010,"priority":1,"record_length":96,"hex_timestamp":"000001a0896ce410"} 
[2026-09-10 09:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:17: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":94,"data_length":795,"current_offset":136} 
[2026-09-10 09:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987069440001,"66":13406,"110":206,"87":13824,"24":0,"16":130684803866427392,"45":9014658367065282560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987069440001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:17:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:17:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684803866427392,"km_value":130684803866427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658367065282560,"description":"Unknown IO ID 45"} 
[2026-09-10 09:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987069440001,"power":13406,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014658367065282560}} 
[2026-09-10 09:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":177512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:17:55] local.INFO: GPS data processed {"connection_id":177512,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:17:55] local.INFO: Acknowledgment sent {"connection_id":177512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:18:18] local.INFO: TCP Data received {"connection_id":178891,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:18:18] local.INFO: Processing buffer {"connection_id":178891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:18:18] local.INFO: Packet analysis {"connection_id":178891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:18] local.INFO: Extracted packet for processing {"connection_id":178891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:18] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:18: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-09-10 09:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:18:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:18:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":178891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:18:18] local.INFO: GPS data processed {"connection_id":178891,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:18:18] local.INFO: Acknowledgment sent {"connection_id":178891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:18:23] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:18:23] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:18:23] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:18:24] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:18:24] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:18:24] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:18:26] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d3618012d7d1ac005ec6af80001014d2b..."} 
[2026-09-10 09:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d3618012d7d1ac005ec6af80001014d2b..."} 
[2026-09-10 09:18:26] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d3618012d7d1ac005ec6af80001014d2b..."} 
[2026-09-10 09:18:26] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:26] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99379960,"longitude_deg":76.3173568,"latitude_deg":9.937996,"altitude":1,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d7d1ac0","hex_latitude":"05ec6af8","is_valid_coordinates":true} 
[2026-09-10 09:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987074560001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684803866427392,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735809269760,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789012031000,"timestamp_ms":1789012031000,"timestamp_seconds":1789012031,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d3618"} 
[2026-09-10 09:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 09:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987074560001,"66":13178,"110":206,"87":13824,"24":0,"16":130684803866427392,"45":9014728735809269760},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987074560001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:18:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:18:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684803866427392,"km_value":130684803866427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735809269760,"description":"Unknown IO ID 45"} 
[2026-09-10 09:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987074560001,"power":13178,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014728735809269760}} 
[2026-09-10 09:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:18:26] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:18:26] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:18:27] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d8820012d7d1ac005ec6af80001014d28..."} 
[2026-09-10 09:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d8820012d7d1ac005ec6af80001014d28..."} 
[2026-09-10 09:18:27] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d8820012d7d1ac005ec6af80001014d28..."} 
[2026-09-10 09:18:27] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:27] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99379960,"longitude_deg":76.3173568,"latitude_deg":9.937996,"altitude":1,"angle":333,"satellites":40,"speed":0,"hex_longitude":"2d7d1ac0","hex_latitude":"05ec6af8","is_valid_coordinates":true} 
[2026-09-10 09:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987079936001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684803866427392,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735809271808,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789012052000,"timestamp_ms":1789012052000,"timestamp_seconds":1789012052,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d8820"} 
[2026-09-10 09:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-10 09:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987079936001,"66":12972,"110":206,"87":13824,"24":0,"16":130684803866427392,"45":9014728735809271808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987079936001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:18:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:18:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684803866427392,"km_value":130684803866427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735809271808,"description":"Unknown IO ID 45"} 
[2026-09-10 09:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987079936001,"power":12972,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014728735809271808}} 
[2026-09-10 09:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:18:27] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:18:27] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:18:36] local.INFO: TCP Data received {"connection_id":176117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:18:36] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:18:36] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:18:41] local.INFO: TCP Data received {"connection_id":176117,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:18:41] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:18:41] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:18:42] local.INFO: TCP Data received {"connection_id":176117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:18:42] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:18:42] local.INFO: Packet analysis {"connection_id":176117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:42] local.INFO: Extracted packet for processing {"connection_id":176117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:18: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-09-10 09:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:18:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":176117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:18:42] local.INFO: GPS data processed {"connection_id":176117,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:18:42] local.INFO: Acknowledgment sent {"connection_id":176117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:18:58] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896dda28012d7d1ac005ec6af80001014d29..."} 
[2026-09-10 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896dda28012d7d1ac005ec6af80001014d29..."} 
[2026-09-10 09:18:58] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896dda28012d7d1ac005ec6af80001014d29..."} 
[2026-09-10 09:18:58] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:58] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99379960,"longitude_deg":76.3173568,"latitude_deg":9.937996,"altitude":1,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2d7d1ac0","hex_latitude":"05ec6af8","is_valid_coordinates":true} 
[2026-09-10 09:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987085312001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684803866427392,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735809271808,"note":"Value kept but may cause issues"} 
[2026-09-10 09:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789012073000,"timestamp_ms":1789012073000,"timestamp_seconds":1789012073,"priority":1,"record_length":96,"hex_timestamp":"000001a0896dda28"} 
[2026-09-10 09:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 09:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987085312001,"66":13298,"110":206,"87":13824,"24":0,"16":130684803866427392,"45":9014728735809271808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987085312001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:18:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:18:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684803866427392,"km_value":130684803866427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735809271808,"description":"Unknown IO ID 45"} 
[2026-09-10 09:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987085312001,"power":13298,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014728735809271808}} 
[2026-09-10 09:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:18:58] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:18:58] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:19:13] local.INFO: TCP Data received {"connection_id":176117,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:19:13] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:19:13] local.INFO: Packet analysis {"connection_id":176117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:19:13] local.INFO: Extracted packet for processing {"connection_id":176117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:19: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-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:19: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-09-10 09:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:19:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":176117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:19:13] local.INFO: GPS data processed {"connection_id":176117,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:19:13] local.INFO: Acknowledgment sent {"connection_id":176117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:19:17] local.INFO: TCP Data received {"connection_id":176118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:19:17] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:19:17] local.INFO: IMEI packet received {"connection_id":176118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":176118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:19:30] local.INFO: TCP Data received {"connection_id":176118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:19:30] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:19:30] local.INFO: IMEI packet received {"connection_id":176118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":176118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:19:31] local.INFO: TCP Data received {"connection_id":176118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0896df968012d7d1bc005ec6b88000000d72a..."} 
[2026-09-10 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896df968012d7d1bc005ec6b88000000d72a..."} 
[2026-09-10 09:19:31] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896df968012d7d1bc005ec6b88000000d72a..."} 
[2026-09-10 09:19:31] local.INFO: Packet analysis {"connection_id":176118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:19:31] local.INFO: Extracted packet for processing {"connection_id":176118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99380104,"longitude_deg":76.3173824,"latitude_deg":9.9380104,"altitude":0,"angle":215,"satellites":42,"speed":5,"hex_longitude":"2d7d1bc0","hex_latitude":"05ec6b88","is_valid_coordinates":true} 
[2026-09-10 09:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987090688001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130684816751329280,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735809271808,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19: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-09-10 09:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789012081000,"timestamp_ms":1789012081000,"timestamp_seconds":1789012081,"priority":1,"record_length":96,"hex_timestamp":"000001a0896df968"} 
[2026-09-10 09:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-10 09:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987090688001,"66":13363,"110":206,"87":13824,"24":5,"16":130684816751329280,"45":9014728735809271808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987090688001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:19:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:19:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130684816751329280,"km_value":130684816751329.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735809271808,"description":"Unknown IO ID 45"} 
[2026-09-10 09:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987090688001,"power":13363,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9014728735809271808}} 
[2026-09-10 09:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":176118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:19:31] local.INFO: GPS data processed {"connection_id":176118,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:19:31] local.INFO: Acknowledgment sent {"connection_id":176118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:19:36] local.INFO: TCP Data received {"connection_id":178892,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:19:36] local.INFO: Processing buffer {"connection_id":178892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:19:36] local.INFO: IMEI packet received {"connection_id":178892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":178892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:19:41] local.INFO: TCP Data received {"connection_id":178892,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:19:41] local.INFO: Processing buffer {"connection_id":178892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:19:41] local.INFO: IMEI packet received {"connection_id":178892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":178892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:19:42] local.INFO: TCP Data received {"connection_id":178892,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:19:42] local.INFO: Processing buffer {"connection_id":178892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:19:42] local.INFO: Packet analysis {"connection_id":178892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:19:42] local.INFO: Extracted packet for processing {"connection_id":178892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:19: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-09-10 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":178892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:19:42] local.INFO: GPS data processed {"connection_id":178892,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:19:42] local.INFO: Acknowledgment sent {"connection_id":178892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:19:52] local.INFO: TCP Data received {"connection_id":177514,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:19:52] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:19:52] local.INFO: IMEI packet received {"connection_id":177514,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":177514,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:19:53] local.INFO: TCP Data received {"connection_id":177514,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0896f3da0012d0a580007045e78001200071d..."} 
[2026-09-10 09:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896f3da0012d0a580007045e78001200071d..."} 
[2026-09-10 09:19:53] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896f3da0012d0a580007045e78001200071d..."} 
[2026-09-10 09:19:53] local.INFO: Packet analysis {"connection_id":177514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896f"} 
[2026-09-10 09:19:53] local.INFO: Extracted packet for processing {"connection_id":177514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896f"} 
[2026-09-10 09:19:53] local.INFO: GPS Element Parsed {"raw_longitude":755652608,"raw_latitude":117726840,"longitude_deg":75.5652608,"latitude_deg":11.772684,"altitude":18,"angle":7,"satellites":29,"speed":23,"hex_longitude":"2d0a5800","hex_latitude":"07045e78","is_valid_coordinates":true} 
[2026-09-10 09:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987113216001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31099351384195072,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744923556002355200,"note":"Value kept but may cause issues"} 
[2026-09-10 09:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789012164000,"timestamp_ms":1789012164000,"timestamp_seconds":1789012164,"priority":1,"record_length":96,"hex_timestamp":"000001a0896f3da0"} 
[2026-09-10 09:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:19: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-09-10 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 09:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:19:53] 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-09-10 09:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987113216001,"66":14537,"229":206,"94":11008,"24":23,"16":31099351384195072,"45":744923556002355200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-09-10 09:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987113216001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:19:53] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-10 09:19:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31099351384195072,"km_value":31099351384195.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":744923556002355200,"description":"Unknown IO ID 45"} 
[2026-09-10 09:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987113216001,"power":14537,"unknown_229":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":744923556002355200}} 
[2026-09-10 09:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":177514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:19:53] local.INFO: GPS data processed {"connection_id":177514,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:19:53] local.INFO: Acknowledgment sent {"connection_id":177514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:20:13] local.INFO: TCP Data received {"connection_id":178892,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:20:13] local.INFO: Processing buffer {"connection_id":178892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:20:13] local.INFO: Packet analysis {"connection_id":178892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:20:13] local.INFO: Extracted packet for processing {"connection_id":178892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:20:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:20: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-09-10 09:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:20: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-09-10 09:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:20:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":178892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:20:13] local.INFO: GPS data processed {"connection_id":178892,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:20:13] local.INFO: Acknowledgment sent {"connection_id":178892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:20:21] local.INFO: TCP Data received {"connection_id":178893,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:21] local.INFO: Processing buffer {"connection_id":178893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:21] local.INFO: IMEI packet received {"connection_id":178893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":178893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:20:22] local.INFO: TCP Data received {"connection_id":178893,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:22] local.INFO: Processing buffer {"connection_id":178893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:22] local.INFO: IMEI packet received {"connection_id":178893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":178893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:20:22] local.INFO: TCP Data received {"connection_id":178893,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:22] local.INFO: Processing buffer {"connection_id":178893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:22] local.INFO: IMEI packet received {"connection_id":178893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":178893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:20:23] local.INFO: TCP Data received {"connection_id":178893,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:23] local.INFO: Processing buffer {"connection_id":178893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:20:23] local.INFO: IMEI packet received {"connection_id":178893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":178893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:20:36] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:20:36] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:20:36] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:20:37] local.INFO: TCP Data received {"connection_id":177514,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0896f5ce0012d0a5a80070470a80014001b1e..."} 
[2026-09-10 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896f5ce0012d0a5a80070470a80014001b1e..."} 
[2026-09-10 09:20:37] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896f5ce0012d0a5a80070470a80014001b1e..."} 
[2026-09-10 09:20:37] local.INFO: Packet analysis {"connection_id":177514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896f"} 
[2026-09-10 09:20:37] local.INFO: Extracted packet for processing {"connection_id":177514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896f"} 
[2026-09-10 09:20:37] local.INFO: GPS Element Parsed {"raw_longitude":755653248,"raw_latitude":117731496,"longitude_deg":75.5653248,"latitude_deg":11.7731496,"altitude":20,"angle":27,"satellites":30,"speed":14,"hex_longitude":"2d0a5a80","hex_latitude":"070470a8","is_valid_coordinates":true} 
[2026-09-10 09:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987113984001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31099583312429056,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745345768467888128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789012172000,"timestamp_ms":1789012172000,"timestamp_seconds":1789012172,"priority":1,"record_length":96,"hex_timestamp":"000001a0896f5ce0"} 
[2026-09-10 09:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:20: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-09-10 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 09:20: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-09-10 09:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:20:37] 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-09-10 09:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987113984001,"66":14450,"229":206,"94":11008,"24":14,"16":31099583312429056,"45":745345768467888128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-09-10 09:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987113984001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31099583312429056,"km_value":31099583312429.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":745345768467888128,"description":"Unknown IO ID 45"} 
[2026-09-10 09:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987113984001,"power":14450,"unknown_229":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":745345768467888128}} 
[2026-09-10 09:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":177514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792975,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:20:37] local.INFO: GPS data processed {"connection_id":177514,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:20:37] local.INFO: Acknowledgment sent {"connection_id":177514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:20:41] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:20:41] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:20:41] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:20:42] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:20:42] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:20:42] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:20:42] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:20: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-09-10 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:20:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:20:42] local.INFO: GPS data processed {"connection_id":176356,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:20:42] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:20:57] local.INFO: TCP Data received {"connection_id":178894,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:20:57] local.INFO: Processing buffer {"connection_id":178894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:20:57] local.INFO: IMEI packet received {"connection_id":178894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":178894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:20:59] local.INFO: TCP Data received {"connection_id":178894,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:20:59] local.INFO: Processing buffer {"connection_id":178894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:20:59] local.INFO: IMEI packet received {"connection_id":178894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":178894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:20:59] local.INFO: TCP Data received {"connection_id":178894,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178894,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 09:20:59] local.INFO: Processing buffer {"connection_id":178894,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 09:20:59] local.INFO: IMEI packet received {"connection_id":178894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":178894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:21:13] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:13] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:13] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:21:13] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:21:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:21: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-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:21:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:21:13] local.INFO: GPS data processed {"connection_id":176356,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:21:13] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:21:41] local.INFO: TCP Data received {"connection_id":177515,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:21:41] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:21:41] local.INFO: IMEI packet received {"connection_id":177515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":177515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:21:46] local.INFO: TCP Data received {"connection_id":177515,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:21:46] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:21:46] local.INFO: IMEI packet received {"connection_id":177515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":177515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:21:47] local.INFO: TCP Data received {"connection_id":177515,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:47] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:47] local.INFO: Packet analysis {"connection_id":177515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:21:47] local.INFO: Extracted packet for processing {"connection_id":177515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:21:47] 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-09-10 09:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:21:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:21:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":177515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:21:47] local.INFO: GPS data processed {"connection_id":177515,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:21:47] local.INFO: Acknowledgment sent {"connection_id":177515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:21:51] local.INFO: TCP Data received {"connection_id":177515,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:51] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0896d0738012cee6fc0072e2d50003c00ee28..."} 
[2026-09-10 09:21:51] local.INFO: Packet analysis {"connection_id":177515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:21:51] local.INFO: Extracted packet for processing {"connection_id":177515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0896d"} 
[2026-09-10 09:21:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":60,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987000064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789012019000,"timestamp_ms":1789012019000,"timestamp_seconds":1789012019,"priority":1,"record_length":96,"hex_timestamp":"000001a0896d0738"} 
[2026-09-10 09:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987000064001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987000064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:21:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987000064001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":177515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:21:51] local.INFO: GPS data processed {"connection_id":177515,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:21:51] local.INFO: Acknowledgment sent {"connection_id":177515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:22:36] local.INFO: TCP Data received {"connection_id":178897,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:22:36] local.INFO: Processing buffer {"connection_id":178897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:22:36] local.INFO: IMEI packet received {"connection_id":178897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":178897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:22:38] local.INFO: TCP Data received {"connection_id":178897,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:22:38] local.INFO: Processing buffer {"connection_id":178897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:22:38] local.INFO: IMEI packet received {"connection_id":178897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":178897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:22:38] local.INFO: TCP Data received {"connection_id":178897,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:22:38] local.INFO: Processing buffer {"connection_id":178897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:22:38] local.INFO: Packet analysis {"connection_id":178897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:22:38] local.INFO: Extracted packet for processing {"connection_id":178897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:22:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:22:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:22:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":178897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:22:38] local.INFO: GPS data processed {"connection_id":178897,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:22:38] local.INFO: Acknowledgment sent {"connection_id":178897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:23:09] local.INFO: TCP Data received {"connection_id":178897,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:23:09] local.INFO: Processing buffer {"connection_id":178897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:23:09] local.INFO: Packet analysis {"connection_id":178897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:23:09] local.INFO: Extracted packet for processing {"connection_id":178897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:23: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-09-10 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":178897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:23:09] local.INFO: GPS data processed {"connection_id":178897,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:23:09] local.INFO: Acknowledgment sent {"connection_id":178897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:23:36] local.INFO: TCP Data received {"connection_id":177516,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:23:36] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:23:36] local.INFO: IMEI packet received {"connection_id":177516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":177516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:23:41] local.INFO: TCP Data received {"connection_id":177516,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:23:41] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:23:41] local.INFO: IMEI packet received {"connection_id":177516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":177516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:23:42] local.INFO: TCP Data received {"connection_id":177516,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:23:42] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:23:42] local.INFO: Packet analysis {"connection_id":177516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:23:42] local.INFO: Extracted packet for processing {"connection_id":177516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":177516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:23:42] local.INFO: GPS data processed {"connection_id":177516,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:23:42] local.INFO: Acknowledgment sent {"connection_id":177516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:24:13] local.INFO: TCP Data received {"connection_id":177516,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:24:13] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:24:13] local.INFO: Packet analysis {"connection_id":177516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:24:13] local.INFO: Extracted packet for processing {"connection_id":177516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:24:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09: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-09-10 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:24:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":177516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:24:13] local.INFO: GPS data processed {"connection_id":177516,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:24:13] local.INFO: Acknowledgment sent {"connection_id":177516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:24:36] local.INFO: TCP Data received {"connection_id":176359,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:24:36] local.INFO: Processing buffer {"connection_id":176359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:24:36] local.INFO: IMEI packet received {"connection_id":176359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":176359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:24:41] local.INFO: TCP Data received {"connection_id":176359,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:24:41] local.INFO: Processing buffer {"connection_id":176359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:24:41] local.INFO: IMEI packet received {"connection_id":176359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":176359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:24:42] local.INFO: TCP Data received {"connection_id":176359,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:24:42] local.INFO: Processing buffer {"connection_id":176359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:24:42] local.INFO: Packet analysis {"connection_id":176359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:24:42] local.INFO: Extracted packet for processing {"connection_id":176359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:24: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-09-10 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":176359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:24:42] local.INFO: GPS data processed {"connection_id":176359,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:24:42] local.INFO: Acknowledgment sent {"connection_id":176359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:25:13] local.INFO: TCP Data received {"connection_id":176359,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:25:13] local.INFO: Processing buffer {"connection_id":176359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:25:13] local.INFO: Packet analysis {"connection_id":176359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:25:13] local.INFO: Extracted packet for processing {"connection_id":176359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:25: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-09-10 09:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:25:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":176359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:25:13] local.INFO: GPS data processed {"connection_id":176359,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:25:13] local.INFO: Acknowledgment sent {"connection_id":176359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:25:27] local.INFO: TCP Data received {"connection_id":178900,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:25:27] local.INFO: Processing buffer {"connection_id":178900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:25:27] local.INFO: IMEI packet received {"connection_id":178900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":178900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:25:28] local.INFO: TCP Data received {"connection_id":178900,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089743328012d7d370005ec0cc0000f00a922..."} 
[2026-09-10 09:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089743328012d7d370005ec0cc0000f00a922..."} 
[2026-09-10 09:25:28] local.INFO: Processing buffer {"connection_id":178900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089743328012d7d370005ec0cc0000f00a922..."} 
[2026-09-10 09:25:28] local.INFO: Packet analysis {"connection_id":178900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:25:28] local.INFO: Extracted packet for processing {"connection_id":178900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355840,"longitude_deg":76.31808,"latitude_deg":9.935584,"altitude":15,"angle":169,"satellites":34,"speed":1,"hex_longitude":"2d7d3700","hex_latitude":"05ec0cc0","is_valid_coordinates":true} 
[2026-09-10 09:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987193856001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696602141589504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772639387648,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25: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-09-10 09:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789012489000,"timestamp_ms":1789012489000,"timestamp_seconds":1789012489,"priority":1,"record_length":96,"hex_timestamp":"000001a089743328"} 
[2026-09-10 09:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 09:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987193856001,"66":13319,"110":206,"87":13824,"24":1,"16":130696602141589504,"45":9022750772639387648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987193856001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:25:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:25:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696602141589504,"km_value":130696602141589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772639387648,"description":"Unknown IO ID 45"} 
[2026-09-10 09:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987193856001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022750772639387648}} 
[2026-09-10 09:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":178900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:25:28] local.INFO: GPS data processed {"connection_id":178900,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:25:28] local.INFO: Acknowledgment sent {"connection_id":178900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:25:36] local.INFO: TCP Data received {"connection_id":176360,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:25:36] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:25:36] local.INFO: IMEI packet received {"connection_id":176360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":176360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:25:41] local.INFO: TCP Data received {"connection_id":176360,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:25:41] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:25:41] local.INFO: IMEI packet received {"connection_id":176360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":176360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:25:42] local.INFO: TCP Data received {"connection_id":176360,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:25:42] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:25:42] local.INFO: Packet analysis {"connection_id":176360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:25:42] local.INFO: Extracted packet for processing {"connection_id":176360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:25: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-09-10 09:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":176360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:25:42] local.INFO: GPS data processed {"connection_id":176360,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:25:42] local.INFO: Acknowledgment sent {"connection_id":176360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:26:00] local.INFO: TCP Data received {"connection_id":178900,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089743af8012d7d370005ec0ca8000f009621..."} 
[2026-09-10 09:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089743af8012d7d370005ec0ca8000f009621..."} 
[2026-09-10 09:26:00] local.INFO: Processing buffer {"connection_id":178900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089743af8012d7d370005ec0ca8000f009621..."} 
[2026-09-10 09:26:00] local.INFO: Packet analysis {"connection_id":178900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:26:00] local.INFO: Extracted packet for processing {"connection_id":178900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355816,"longitude_deg":76.31808,"latitude_deg":9.9355816,"altitude":15,"angle":150,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0ca8","is_valid_coordinates":true} 
[2026-09-10 09:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987197184001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696602141589504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895173120,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789012491000,"timestamp_ms":1789012491000,"timestamp_seconds":1789012491,"priority":1,"record_length":96,"hex_timestamp":"000001a089743af8"} 
[2026-09-10 09:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2306052864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":236,"raw_value":993043782261545984,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147871757,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391957,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960344576,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-8417226408669528059,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,83,160,45,64,13,15,30,10,66,248,12,29,244,1,240,56,227,137,236,4,113,205,154,55,239,51,197,2,208,5,182,115],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-10 09:26:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081049874062966784,"timestamp_seconds":1081049874062966.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 09:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987197184001,"66":13319,"110":206,"87":13824,"24":0,"16":130696602141589504,"45":9022680403895173120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987197184001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:26:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:26:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696602141589504,"km_value":130696602141589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895173120,"description":"Unknown IO ID 45"} 
[2026-09-10 09:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987197184001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895173120}} 
[2026-09-10 09:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":178900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:26:00] local.INFO: GPS data processed {"connection_id":178900,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:26:00] local.INFO: Acknowledgment sent {"connection_id":178900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:26:13] local.INFO: TCP Data received {"connection_id":176360,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:13] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:13] local.INFO: Packet analysis {"connection_id":176360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:13] local.INFO: Extracted packet for processing {"connection_id":176360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:26: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-09-10 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:26:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":176360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:26:13] local.INFO: GPS data processed {"connection_id":176360,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:26:13] local.INFO: Acknowledgment sent {"connection_id":176360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:26:15] local.INFO: TCP Data received {"connection_id":178901,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:15] local.INFO: Processing buffer {"connection_id":178901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:15] local.INFO: IMEI packet received {"connection_id":178901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":178901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:26:17] local.INFO: TCP Data received {"connection_id":178901,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:17] local.INFO: Processing buffer {"connection_id":178901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:17] local.INFO: IMEI packet received {"connection_id":178901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":178901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:26:22] local.INFO: TCP Data received {"connection_id":178901,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:22] local.INFO: Processing buffer {"connection_id":178901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:26:22] local.INFO: IMEI packet received {"connection_id":178901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":178901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:26:23] local.INFO: TCP Data received {"connection_id":178901,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089748918012d7d370005ec0cb0000f009621..."} 
[2026-09-10 09:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089748918012d7d370005ec0cb0000f009621..."} 
[2026-09-10 09:26:23] local.INFO: Processing buffer {"connection_id":178901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089748918012d7d370005ec0cb0000f009621..."} 
[2026-09-10 09:26:23] local.INFO: Packet analysis {"connection_id":178901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:26:23] local.INFO: Extracted packet for processing {"connection_id":178901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355824,"longitude_deg":76.31808,"latitude_deg":9.9355824,"altitude":15,"angle":150,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0cb0","is_valid_coordinates":true} 
[2026-09-10 09:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987197696001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696602141589504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895166976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789012511000,"timestamp_ms":1789012511000,"timestamp_seconds":1789012511,"priority":1,"record_length":96,"hex_timestamp":"000001a089748918"} 
[2026-09-10 09:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:26: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-09-10 09:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2306054864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941321,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1013309980583796224,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221613581,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":983144,"corrected_to":0} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960336384,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-7854276455248216059,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,83,160,51,45,12,15,34,10,66,64,13,30,248,1,240,227,137,236,4,113,205,166,55,200,239,2,208,5,187,115],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":200,"original":983144,"validated":0}]} 
[2026-09-10 09:26:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081028979047006208,"timestamp_seconds":1081028979047006.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 09:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987197696001,"66":13493,"110":206,"87":13824,"24":0,"16":130696602141589504,"45":9022680403895166976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987197696001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:26:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:26:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696602141589504,"km_value":130696602141589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895166976,"description":"Unknown IO ID 45"} 
[2026-09-10 09:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987197696001,"power":13493,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895166976}} 
[2026-09-10 09:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":178901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:26:23] local.INFO: GPS data processed {"connection_id":178901,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:26:23] local.INFO: Acknowledgment sent {"connection_id":178901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:26:41] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:26:41] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:26:41] local.INFO: IMEI packet received {"connection_id":176119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":176119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:26:46] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:26:46] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:26:46] local.INFO: IMEI packet received {"connection_id":176119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":176119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:26:47] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:47] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:47] local.INFO: Packet analysis {"connection_id":176119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:47] local.INFO: Extracted packet for processing {"connection_id":176119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:26:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":176119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:26:47] local.INFO: GPS data processed {"connection_id":176119,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:26:47] local.INFO: Acknowledgment sent {"connection_id":176119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:26:49] local.INFO: TCP Data received {"connection_id":176362,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:26:49] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:26:49] local.INFO: IMEI packet received {"connection_id":176362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 09:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":176362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:26:51] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:51] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089719f00012cee6fc0072e2d50003900ee25..."} 
[2026-09-10 09:26:51] local.INFO: Packet analysis {"connection_id":176119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:51] local.INFO: Extracted packet for processing {"connection_id":176119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987076864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789012320000,"timestamp_ms":1789012320000,"timestamp_seconds":1789012320,"priority":1,"record_length":96,"hex_timestamp":"000001a089719f00"} 
[2026-09-10 09:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987076864001,"66":25756,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987076864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:26:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987076864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":176119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:26:51] local.INFO: GPS data processed {"connection_id":176119,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:26:51] local.INFO: Acknowledgment sent {"connection_id":176119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:26:54] local.INFO: TCP Data received {"connection_id":176362,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:26:54] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:26:54] local.INFO: IMEI packet received {"connection_id":176362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 09:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":176362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:26:55] local.INFO: TCP Data received {"connection_id":176362,"ip":"117.224.151.225","data_length":795,"data_hex":"000000000000030f8e0a000001a08971fcc0012c78154008d3ef900039010421..."} 
[2026-09-10 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08971fcc0012c78154008d3ef900039010421..."} 
[2026-09-10 09:26:55] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08971fcc0012c78154008d3ef900039010421..."} 
[2026-09-10 09:26:55] local.INFO: Packet analysis {"connection_id":176362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:55] local.INFO: Extracted packet for processing {"connection_id":176362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08971"} 
[2026-09-10 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":746067264,"raw_latitude":148107152,"longitude_deg":74.6067264,"latitude_deg":14.8107152,"altitude":57,"angle":260,"satellites":33,"speed":0,"hex_longitude":"2c781540","hex_latitude":"08d3ef90","is_valid_coordinates":true} 
[2026-09-10 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987154688001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8652892665721884672,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789012344000,"timestamp_ms":1789012344000,"timestamp_seconds":1789012344,"priority":1,"record_length":96,"hex_timestamp":"000001a08971fcc0"} 
[2026-09-10 09:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 09:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.151.225","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 09:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 09:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987154688001,"66":28224,"172":206,"9":56576,"24":0,"16":3893920429768704,"44":8652892665721884672},"client_ip":"117.224.151.225","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-10 09:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 09:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 09:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987154688001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:26:55] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-10 09:26:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-10 09:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:26:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8652892665721884672,"description":"Unknown IO ID 44"} 
[2026-09-10 09:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987154688001,"power":28224,"unknown_172":206,"unknown_9":56576,"ignition":0,"odometer":null,"unknown_44":8652892665721884672}} 
[2026-09-10 09:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":176362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:26:55] local.INFO: GPS data processed {"connection_id":176362,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:26:55] local.INFO: Acknowledgment sent {"connection_id":176362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:26:56] local.INFO: TCP Data received {"connection_id":178901,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08974db20012d7d370005ec0cb0000f00961a..."} 
[2026-09-10 09:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08974db20012d7d370005ec0cb0000f00961a..."} 
[2026-09-10 09:26:56] local.INFO: Processing buffer {"connection_id":178901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08974db20012d7d370005ec0cb0000f00961a..."} 
[2026-09-10 09:26:56] local.INFO: Packet analysis {"connection_id":178901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:26:56] local.INFO: Extracted packet for processing {"connection_id":178901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08974"} 
[2026-09-10 09:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355824,"longitude_deg":76.31808,"latitude_deg":9.9355824,"altitude":15,"angle":150,"satellites":26,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0cb0","is_valid_coordinates":true} 
[2026-09-10 09:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987202816001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696602141589504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895169024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:26: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-09-10 09:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789012532000,"timestamp_ms":1789012532000,"timestamp_seconds":1789012532,"priority":1,"record_length":96,"hex_timestamp":"000001a08974db20"} 
[2026-09-10 09:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 09:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987202816001,"66":13374,"110":206,"87":13824,"24":0,"16":130696602141589504,"45":9022680403895169024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987202816001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:26:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:26:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696602141589504,"km_value":130696602141589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895169024,"description":"Unknown IO ID 45"} 
[2026-09-10 09:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987202816001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895169024}} 
[2026-09-10 09:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":178901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:26:56] local.INFO: GPS data processed {"connection_id":178901,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:26:56] local.INFO: Acknowledgment sent {"connection_id":178901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:27:17] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:27:17] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:27:17] local.INFO: IMEI packet received {"connection_id":176120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":176120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:27:22] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:27:22] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:27:22] local.INFO: IMEI packet received {"connection_id":176120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":176120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:27:24] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089752d28012d7d370005ec0cb0000f00961b..."} 
[2026-09-10 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089752d28012d7d370005ec0cb0000f00961b..."} 
[2026-09-10 09:27:24] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089752d28012d7d370005ec0cb0000f00961b..."} 
[2026-09-10 09:27:24] local.INFO: Packet analysis {"connection_id":176120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:24] local.INFO: Extracted packet for processing {"connection_id":176120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355824,"longitude_deg":76.31808,"latitude_deg":9.9355824,"altitude":15,"angle":150,"satellites":27,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0cb0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987208192001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696602141589504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895169024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789012553000,"timestamp_ms":1789012553000,"timestamp_seconds":1789012553,"priority":1,"record_length":96,"hex_timestamp":"000001a089752d28"} 
[2026-09-10 09:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09: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-09-10 09: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-09-10 09:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987208192001,"66":13428,"110":206,"87":13824,"24":0,"16":130696602141589504,"45":9022680403895169024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987208192001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:27:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:27:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696602141589504,"km_value":130696602141589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895169024,"description":"Unknown IO ID 45"} 
[2026-09-10 09:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987208192001,"power":13428,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895169024}} 
[2026-09-10 09:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":176120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:27:24] local.INFO: GPS data processed {"connection_id":176120,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:27:24] local.INFO: Acknowledgment sent {"connection_id":176120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:27:36] local.INFO: TCP Data received {"connection_id":177517,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:27:36] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:27:36] local.INFO: IMEI packet received {"connection_id":177517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":177517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:27:39] local.INFO: TCP Data received {"connection_id":177517,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:27:39] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:27:39] local.INFO: IMEI packet received {"connection_id":177517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":177517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:27:40] local.INFO: TCP Data received {"connection_id":177517,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:27:40] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:27:40] local.INFO: Packet analysis {"connection_id":177517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:27:40] local.INFO: Extracted packet for processing {"connection_id":177517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:27:40] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:27:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":177517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:27:40] local.INFO: GPS data processed {"connection_id":177517,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:27:40] local.INFO: Acknowledgment sent {"connection_id":177517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:27:45] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:45] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:45] local.INFO: IMEI packet received {"connection_id":176121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 09:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":176121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:27:46] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:46] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:46] local.INFO: IMEI packet received {"connection_id":176121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 09:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":176121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:27:49] local.INFO: TCP Data received {"connection_id":176122,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:27:49] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:27:49] local.INFO: IMEI packet received {"connection_id":176122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":176122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:27:49] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:49] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:27:49] local.INFO: IMEI packet received {"connection_id":176121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 09:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":176121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:27:50] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.151.225","data_length":795,"data_hex":"000000000000030f8e0a000001a089752d28012c76ef8008d1bd90004701231e..."} 
[2026-09-10 09:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089752d28012c76ef8008d1bd90004701231e..."} 
[2026-09-10 09:27:50] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089752d28012c76ef8008d1bd90004701231e..."} 
[2026-09-10 09:27:50] local.INFO: Packet analysis {"connection_id":176121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:50] local.INFO: Extracted packet for processing {"connection_id":176121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:50] local.INFO: GPS Element Parsed {"raw_longitude":745992064,"raw_latitude":147963280,"longitude_deg":74.5992064,"latitude_deg":14.796328,"altitude":71,"angle":291,"satellites":30,"speed":38,"hex_longitude":"2c76ef80","hex_latitude":"08d1bd90","is_valid_coordinates":true} 
[2026-09-10 09:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987208704001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8590827433320652800,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789012553000,"timestamp_ms":1789012553000,"timestamp_seconds":1789012553,"priority":1,"record_length":96,"hex_timestamp":"000001a089752d28"} 
[2026-09-10 09:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:27: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-09-10 09:27: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":244,"data_length":795,"current_offset":136} 
[2026-09-10 09:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.151.225","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 09:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 09:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987208704001,"66":28082,"27":206,"9":55808,"24":38,"16":3893920429768704,"44":8590827433320652800},"client_ip":"117.224.151.225","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-10 09:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 09:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 09:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987208704001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:27:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 09:27:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 09:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8590827433320652800,"description":"Unknown IO ID 44"} 
[2026-09-10 09:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987208704001,"power":28082,"unknown_27":206,"unknown_9":55808,"ignition":38,"odometer":null,"unknown_44":8590827433320652800}} 
[2026-09-10 09:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":176121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:27:50] local.INFO: GPS data processed {"connection_id":176121,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:27:50] local.INFO: Acknowledgment sent {"connection_id":176121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:27:54] local.INFO: TCP Data received {"connection_id":176122,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:27:54] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:27:54] local.INFO: IMEI packet received {"connection_id":176122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":176122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:27:54] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.151.225","data_length":795,"data_hex":"000000000000030f8e0a000001a089758ae8012c76af0008d1e740004701281b..."} 
[2026-09-10 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089758ae8012c76af0008d1e740004701281b..."} 
[2026-09-10 09:27:54] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089758ae8012c76af0008d1e740004701281b..."} 
[2026-09-10 09:27:54] local.INFO: Packet analysis {"connection_id":176121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:54] local.INFO: Extracted packet for processing {"connection_id":176121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:54] local.INFO: GPS Element Parsed {"raw_longitude":745975552,"raw_latitude":147973952,"longitude_deg":74.5975552,"latitude_deg":14.7973952,"altitude":71,"angle":296,"satellites":27,"speed":0,"hex_longitude":"2c76af00","hex_latitude":"08d1e740","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987213568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8570209391276298240,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789012577000,"timestamp_ms":1789012577000,"timestamp_seconds":1789012577,"priority":1,"record_length":96,"hex_timestamp":"000001a089758ae8"} 
[2026-09-10 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-09-10 09:27: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-09-10 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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.151.225","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 09:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 09:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987213568001,"66":28006,"27":206,"9":55808,"24":0,"16":3893920429768704,"44":8570209391276298240},"client_ip":"117.224.151.225","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-10 09:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 09:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 09:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987213568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:27:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 09:27:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 09:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:27:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8570209391276298240,"description":"Unknown IO ID 44"} 
[2026-09-10 09:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987213568001,"power":28006,"unknown_27":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":8570209391276298240}} 
[2026-09-10 09:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":176121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:27:54] local.INFO: GPS data processed {"connection_id":176121,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:27:54] local.INFO: Acknowledgment sent {"connection_id":176121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:27:55] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089757f30012d7d370005ec0cb0000f009620..."} 
[2026-09-10 09:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089757f30012d7d370005ec0cb0000f009620..."} 
[2026-09-10 09:27:55] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089757f30012d7d370005ec0cb0000f009620..."} 
[2026-09-10 09:27:55] local.INFO: Packet analysis {"connection_id":176120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:55] local.INFO: Extracted packet for processing {"connection_id":176120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355824,"longitude_deg":76.31808,"latitude_deg":9.9355824,"altitude":15,"angle":150,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0cb0","is_valid_coordinates":true} 
[2026-09-10 09:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987213568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696602141589504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895169024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27: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-09-10 09:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789012574000,"timestamp_ms":1789012574000,"timestamp_seconds":1789012574,"priority":1,"record_length":96,"hex_timestamp":"000001a089757f30"} 
[2026-09-10 09:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-10 09:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987213568001,"66":13254,"110":206,"87":13824,"24":0,"16":130696602141589504,"45":9022680403895169024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987213568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:27:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:27:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696602141589504,"km_value":130696602141589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895169024,"description":"Unknown IO ID 45"} 
[2026-09-10 09:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987213568001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895169024}} 
[2026-09-10 09:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":176120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:27:55] local.INFO: GPS data processed {"connection_id":176120,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:27:55] local.INFO: Acknowledgment sent {"connection_id":176120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:27:58] local.INFO: TCP Data received {"connection_id":176122,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a089756ba8012d0c27800705fff8002700131c..."} 
[2026-09-10 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089756ba8012d0c27800705fff8002700131c..."} 
[2026-09-10 09:27:58] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089756ba8012d0c27800705fff8002700131c..."} 
[2026-09-10 09:27:58] local.INFO: Packet analysis {"connection_id":176122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:58] local.INFO: Extracted packet for processing {"connection_id":176122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":755771264,"raw_latitude":117833720,"longitude_deg":75.5771264,"latitude_deg":11.783372,"altitude":39,"angle":19,"satellites":28,"speed":15,"hex_longitude":"2d0c2780","hex_latitude":"0705fff8","is_valid_coordinates":true} 
[2026-09-10 09:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987214080001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31110170406813696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874964995269214208,"note":"Value kept but may cause issues"} 
[2026-09-10 09:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789012569000,"timestamp_ms":1789012569000,"timestamp_seconds":1789012569,"priority":1,"record_length":96,"hex_timestamp":"000001a089756ba8"} 
[2026-09-10 09:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 09:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987214080001,"66":14374,"164":206,"94":10240,"24":15,"16":31110170406813696,"45":874964995269214208},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 09:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987214080001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:27:58] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 09:27:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31110170406813696,"km_value":31110170406813.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":874964995269214208,"description":"Unknown IO ID 45"} 
[2026-09-10 09:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987214080001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":874964995269214208}} 
[2026-09-10 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":176122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:27:58] local.INFO: GPS data processed {"connection_id":176122,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:27:58] local.INFO: Acknowledgment sent {"connection_id":176122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:28:11] local.INFO: TCP Data received {"connection_id":177517,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:28:11] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:28:11] local.INFO: Packet analysis {"connection_id":177517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:28:11] local.INFO: Extracted packet for processing {"connection_id":177517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:28: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-09-10 09:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:28:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":177517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:28:11] local.INFO: GPS data processed {"connection_id":177517,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:28:11] local.INFO: Acknowledgment sent {"connection_id":177517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:28:17] local.INFO: TCP Data received {"connection_id":177518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:28:17] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:28:17] local.INFO: IMEI packet received {"connection_id":177518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":177518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:28:22] local.INFO: TCP Data received {"connection_id":177518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:28:22] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:28:22] local.INFO: IMEI packet received {"connection_id":177518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":177518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:28:23] local.INFO: TCP Data received {"connection_id":177518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08975d138012d7d370005ec0cb0000f00961a..."} 
[2026-09-10 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08975d138012d7d370005ec0cb0000f00961a..."} 
[2026-09-10 09:28:23] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08975d138012d7d370005ec0cb0000f00961a..."} 
[2026-09-10 09:28:23] local.INFO: Packet analysis {"connection_id":177518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:28:23] local.INFO: Extracted packet for processing {"connection_id":177518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355824,"longitude_deg":76.31808,"latitude_deg":9.9355824,"altitude":15,"angle":150,"satellites":26,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0cb0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987218944001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696602141589504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895169024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789012595000,"timestamp_ms":1789012595000,"timestamp_seconds":1789012595,"priority":1,"record_length":96,"hex_timestamp":"000001a08975d138"} 
[2026-09-10 09:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 09:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987218944001,"66":13537,"110":206,"87":13824,"24":0,"16":130696602141589504,"45":9022680403895169024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987218944001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:28:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:28:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696602141589504,"km_value":130696602141589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895169024,"description":"Unknown IO ID 45"} 
[2026-09-10 09:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987218944001,"power":13537,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895169024}} 
[2026-09-10 09:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":177518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:28:23] local.INFO: GPS data processed {"connection_id":177518,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:28:23] local.INFO: Acknowledgment sent {"connection_id":177518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:28:32] local.INFO: TCP Data received {"connection_id":176122,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a089771188012d0c3e00070653300018000a1d..."} 
[2026-09-10 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089771188012d0c3e00070653300018000a1d..."} 
[2026-09-10 09:28:32] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089771188012d0c3e00070653300018000a1d..."} 
[2026-09-10 09:28:32] local.INFO: Packet analysis {"connection_id":176122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:28:32] local.INFO: Extracted packet for processing {"connection_id":176122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":755777024,"raw_latitude":117855024,"longitude_deg":75.5777024,"latitude_deg":11.7855024,"altitude":24,"angle":10,"satellites":29,"speed":0,"hex_longitude":"2d0c3e00","hex_latitude":"07065330","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987239936001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31111368702689280,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882142607182082048,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:32] 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-09-10 09:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789012677000,"timestamp_ms":1789012677000,"timestamp_seconds":1789012677,"priority":1,"record_length":96,"hex_timestamp":"000001a089771188"} 
[2026-09-10 09:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987239936001,"66":14309,"115":206,"28":32256,"24":0,"16":31111368702689280,"45":882142607182082048},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-10 09:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987239936001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:28:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 09:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31111368702689280,"km_value":31111368702689.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":882142607182082048,"description":"Unknown IO ID 45"} 
[2026-09-10 09:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987239936001,"power":14309,"unknown_115":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":882142607182082048}} 
[2026-09-10 09:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":176122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:28:32] local.INFO: GPS data processed {"connection_id":176122,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:28:32] local.INFO: Acknowledgment sent {"connection_id":176122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:28:36] local.INFO: TCP Data received {"connection_id":178902,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:28:36] local.INFO: Processing buffer {"connection_id":178902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:28:36] local.INFO: IMEI packet received {"connection_id":178902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":178902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:28:37] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:37] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:37] local.INFO: IMEI packet received {"connection_id":176123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 09:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":176123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:28:39] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:39] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:39] local.INFO: IMEI packet received {"connection_id":176123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 09:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":176123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:28:41] local.INFO: TCP Data received {"connection_id":178902,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:28:41] local.INFO: Processing buffer {"connection_id":178902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:28:41] local.INFO: IMEI packet received {"connection_id":178902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":178902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:28:42] local.INFO: TCP Data received {"connection_id":178902,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:28:42] local.INFO: Processing buffer {"connection_id":178902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:28:42] local.INFO: Packet analysis {"connection_id":178902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:28:42] local.INFO: Extracted packet for processing {"connection_id":178902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:28:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:28: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-09-10 09:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:28:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":178902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:28:42] local.INFO: GPS data processed {"connection_id":178902,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:28:42] local.INFO: Acknowledgment sent {"connection_id":178902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:28:44] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:44] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:28:44] local.INFO: IMEI packet received {"connection_id":176123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 09:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":176123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:28:44] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.151.225","data_length":795,"data_hex":"000000000000030f8e0a000001a08975bdb0012c76670008d1fa30004701171a..."} 
[2026-09-10 09:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08975bdb0012c76670008d1fa30004701171a..."} 
[2026-09-10 09:28:44] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08975bdb0012c76670008d1fa30004701171a..."} 
[2026-09-10 09:28:44] local.INFO: Packet analysis {"connection_id":176123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:28:44] local.INFO: Extracted packet for processing {"connection_id":176123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08975"} 
[2026-09-10 09:28:44] local.INFO: GPS Element Parsed {"raw_longitude":745957120,"raw_latitude":147978800,"longitude_deg":74.595712,"latitude_deg":14.79788,"altitude":71,"angle":279,"satellites":26,"speed":40,"hex_longitude":"2c766700","hex_latitude":"08d1fa30","is_valid_coordinates":true} 
[2026-09-10 09:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987219712001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8552054255281192960,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789012590000,"timestamp_ms":1789012590000,"timestamp_seconds":1789012590,"priority":1,"record_length":96,"hex_timestamp":"000001a08975bdb0"} 
[2026-09-10 09:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:28:44] 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-09-10 09:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.151.225","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 09:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 09:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987219712001,"66":28148,"27":206,"9":55808,"24":40,"16":3893920429768704,"44":8552054255281192960},"client_ip":"117.224.151.225","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-10 09:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 09:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 09:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987219712001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:28:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 09:28:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 09:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:28:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":8552054255281192960,"description":"Unknown IO ID 44"} 
[2026-09-10 09:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987219712001,"power":28148,"unknown_27":206,"unknown_9":55808,"ignition":40,"odometer":null,"unknown_44":8552054255281192960}} 
[2026-09-10 09:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":176123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:28:45] local.INFO: GPS data processed {"connection_id":176123,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:28:45] local.INFO: Acknowledgment sent {"connection_id":176123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:28:48] local.INFO: TCP Data received {"connection_id":178903,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178903,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:48] local.INFO: Processing buffer {"connection_id":178903,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:48] local.INFO: IMEI packet received {"connection_id":178903,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":178903,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:28:49] local.INFO: TCP Data received {"connection_id":178903,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178903,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:49] local.INFO: Processing buffer {"connection_id":178903,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:49] local.INFO: IMEI packet received {"connection_id":178903,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":178903,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:28:54] local.INFO: TCP Data received {"connection_id":178903,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178903,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:54] local.INFO: Processing buffer {"connection_id":178903,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:28:54] local.INFO: IMEI packet received {"connection_id":178903,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":178903,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:28:55] local.INFO: TCP Data received {"connection_id":177518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08977d8c0012d7d360005ec0998000e01601d..."} 
[2026-09-10 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08977d8c0012d7d360005ec0998000e01601d..."} 
[2026-09-10 09:28:55] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08977d8c0012d7d360005ec0998000e01601d..."} 
[2026-09-10 09:28:55] local.INFO: Packet analysis {"connection_id":177518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:28:55] local.INFO: Extracted packet for processing {"connection_id":177518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99355032,"longitude_deg":76.3180544,"latitude_deg":9.9355032,"altitude":14,"angle":352,"satellites":29,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec0998","is_valid_coordinates":true} 
[2026-09-10 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987258368001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696653681197056,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918255616,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28: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-09-10 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789012728000,"timestamp_ms":1789012728000,"timestamp_seconds":1789012728,"priority":1,"record_length":96,"hex_timestamp":"000001a08977d8c0"} 
[2026-09-10 09:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":10,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 09:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987258368001,"66":2622,"110":206,"87":13824,"24":0,"16":130696653681197056,"45":9022398928918255616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987258368001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:28:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:28:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696653681197056,"km_value":130696653681197.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918255616,"description":"Unknown IO ID 45"} 
[2026-09-10 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987258368001,"power":2622,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918255616}} 
[2026-09-10 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":177518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:28:55] local.INFO: GPS data processed {"connection_id":177518,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:28:55] local.INFO: Acknowledgment sent {"connection_id":177518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:28:56] local.INFO: TCP Data received {"connection_id":178903,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897734b0012d0c3d80070652a0001800bf1c..."} 
[2026-09-10 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897734b0012d0c3d80070652a0001800bf1c..."} 
[2026-09-10 09:28:56] local.INFO: Processing buffer {"connection_id":178903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897734b0012d0c3d80070652a0001800bf1c..."} 
[2026-09-10 09:28:56] local.INFO: Packet analysis {"connection_id":178903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:28:56] local.INFO: Extracted packet for processing {"connection_id":178903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:28:56] local.INFO: GPS Element Parsed {"raw_longitude":755776896,"raw_latitude":117854880,"longitude_deg":75.5776896,"latitude_deg":11.785488,"altitude":24,"angle":191,"satellites":28,"speed":4,"hex_longitude":"2d0c3d80","hex_latitude":"070652a0","is_valid_coordinates":true} 
[2026-09-10 09:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987245312001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31111381587591168,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882142607182082048,"note":"Value kept but may cause issues"} 
[2026-09-10 09:28:56] 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-09-10 09:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789012686000,"timestamp_ms":1789012686000,"timestamp_seconds":1789012686,"priority":1,"record_length":96,"hex_timestamp":"000001a0897734b0"} 
[2026-09-10 09:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 09:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178903,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178903,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987245312001,"66":14537,"115":206,"28":32256,"24":4,"16":31111381587591168,"45":882142607182082048},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-10 09:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987245312001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:28:56] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 09:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31111381587591168,"km_value":31111381587591.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":882142607182082048,"description":"Unknown IO ID 45"} 
[2026-09-10 09:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987245312001,"power":14537,"unknown_115":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":882142607182082048}} 
[2026-09-10 09:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":178903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793007,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:28:56] local.INFO: GPS data processed {"connection_id":178903,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:28:56] local.INFO: Acknowledgment sent {"connection_id":178903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:13] local.INFO: TCP Data received {"connection_id":178902,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:29:13] local.INFO: Processing buffer {"connection_id":178902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:29:13] local.INFO: Packet analysis {"connection_id":178902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:13] local.INFO: Extracted packet for processing {"connection_id":178902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29: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-09-10 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":178902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:13] local.INFO: GPS data processed {"connection_id":178902,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:13] local.INFO: Acknowledgment sent {"connection_id":178902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:15] local.INFO: TCP Data received {"connection_id":176124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:15] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:15] local.INFO: IMEI packet received {"connection_id":176124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":176124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:29:16] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.151.225","data_length":795,"data_hex":"000000000000030f8e0a000001a089760400012c761c8008d1f7300043010919..."} 
[2026-09-10 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089760400012c761c8008d1f7300043010919..."} 
[2026-09-10 09:29:16] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089760400012c761c8008d1f7300043010919..."} 
[2026-09-10 09:29:16] local.INFO: Packet analysis {"connection_id":176123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:16] local.INFO: Extracted packet for processing {"connection_id":176123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":745938048,"raw_latitude":147978032,"longitude_deg":74.5938048,"latitude_deg":14.7978032,"altitude":67,"angle":265,"satellites":25,"speed":42,"hex_longitude":"2c761c80","hex_latitude":"08d1f730","is_valid_coordinates":true} 
[2026-09-10 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987223040001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8531788056959266816,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789012608000,"timestamp_ms":1789012608000,"timestamp_seconds":1789012608,"priority":1,"record_length":96,"hex_timestamp":"000001a089760400"} 
[2026-09-10 09:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.151.225","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 09:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 09:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987223040001,"66":28104,"27":206,"9":55808,"24":42,"16":3893920429768704,"44":8531788056959266816},"client_ip":"117.224.151.225","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-10 09:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 09:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 09:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987223040001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 09:29:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 09:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8531788056959266816,"description":"Unknown IO ID 44"} 
[2026-09-10 09:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987223040001,"power":28104,"unknown_27":206,"unknown_9":55808,"ignition":42,"odometer":null,"unknown_44":8531788056959266816}} 
[2026-09-10 09:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":176123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:16] local.INFO: GPS data processed {"connection_id":176123,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:16] local.INFO: Acknowledgment sent {"connection_id":176123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:17] local.INFO: TCP Data received {"connection_id":176124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:17] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:17] local.INFO: IMEI packet received {"connection_id":176124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":176124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:29:22] local.INFO: TCP Data received {"connection_id":176124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:22] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:29:22] local.INFO: IMEI packet received {"connection_id":176124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":176124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:29:23] local.INFO: TCP Data received {"connection_id":176124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08977d8c0012d7d360005ec0998000e01601d..."} 
[2026-09-10 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08977d8c0012d7d360005ec0998000e01601d..."} 
[2026-09-10 09:29:23] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08977d8c0012d7d360005ec0998000e01601d..."} 
[2026-09-10 09:29:23] local.INFO: Packet analysis {"connection_id":176124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:29:23] local.INFO: Extracted packet for processing {"connection_id":176124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99355032,"longitude_deg":76.3180544,"latitude_deg":9.9355032,"altitude":14,"angle":352,"satellites":29,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec0998","is_valid_coordinates":true} 
[2026-09-10 09:29: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-09-10 09:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987258368001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696653681197056,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918255616,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789012728000,"timestamp_ms":1789012728000,"timestamp_seconds":1789012728,"priority":1,"record_length":96,"hex_timestamp":"000001a08977d8c0"} 
[2026-09-10 09:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":10,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987258368001,"66":2622,"110":206,"87":13824,"24":0,"16":130696653681197056,"45":9022398928918255616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987258368001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:29:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696653681197056,"km_value":130696653681197.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918255616,"description":"Unknown IO ID 45"} 
[2026-09-10 09:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987258368001,"power":2622,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918255616}} 
[2026-09-10 09:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":176124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:23] local.INFO: GPS data processed {"connection_id":176124,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:23] local.INFO: Acknowledgment sent {"connection_id":176124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:27] local.INFO: TCP Data received {"connection_id":178903,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897807a0012d0c5780070639700012008a1c..."} 
[2026-09-10 09:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897807a0012d0c5780070639700012008a1c..."} 
[2026-09-10 09:29:27] local.INFO: Processing buffer {"connection_id":178903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897807a0012d0c5780070639700012008a1c..."} 
[2026-09-10 09:29:27] local.INFO: Packet analysis {"connection_id":178903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:29:27] local.INFO: Extracted packet for processing {"connection_id":178903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:29:27] local.INFO: GPS Element Parsed {"raw_longitude":755783552,"raw_latitude":117848432,"longitude_deg":75.5783552,"latitude_deg":11.7848432,"altitude":18,"angle":138,"satellites":28,"speed":25,"hex_longitude":"2d0c5780","hex_latitude":"07063970","is_valid_coordinates":true} 
[2026-09-10 09:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987260928001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31111935638372352,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319179888640,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:27] 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-09-10 09:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789012740000,"timestamp_ms":1789012740000,"timestamp_seconds":1789012740,"priority":1,"record_length":96,"hex_timestamp":"000001a0897807a0"} 
[2026-09-10 09:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":178903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":178903,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":178903,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987260928001,"66":14450,"115":206,"28":32256,"24":25,"16":31111935638372352,"45":888194319179888640},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-10 09:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987260928001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:27] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 09:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31111935638372352,"km_value":31111935638372.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319179888640,"description":"Unknown IO ID 45"} 
[2026-09-10 09:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987260928001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_45":888194319179888640}} 
[2026-09-10 09:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":178903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:27] local.INFO: GPS data processed {"connection_id":178903,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:27] local.INFO: Acknowledgment sent {"connection_id":178903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:36] local.INFO: TCP Data received {"connection_id":178904,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:29:36] local.INFO: Processing buffer {"connection_id":178904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:29:36] local.INFO: IMEI packet received {"connection_id":178904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":178904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:29:39] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:29:39] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:29:39] local.INFO: IMEI packet received {"connection_id":177519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 09:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":177519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:29:41] local.INFO: TCP Data received {"connection_id":178904,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:29:41] local.INFO: Processing buffer {"connection_id":178904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:29:41] local.INFO: IMEI packet received {"connection_id":178904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":178904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:29:42] local.INFO: TCP Data received {"connection_id":178904,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:29:42] local.INFO: Processing buffer {"connection_id":178904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:29:42] local.INFO: Packet analysis {"connection_id":178904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:42] local.INFO: Extracted packet for processing {"connection_id":178904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29: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-09-10 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":178904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:42] local.INFO: GPS data processed {"connection_id":178904,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:42] local.INFO: Acknowledgment sent {"connection_id":178904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:44] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.151.225","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:29:44] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 09:29:44] local.INFO: IMEI packet received {"connection_id":177519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 09:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":177519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:29:45] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.151.225","data_length":795,"data_hex":"000000000000030f8e0a000001a089764a50012c75d40008d1fdf0004001301d..."} 
[2026-09-10 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089764a50012c75d40008d1fdf0004001301d..."} 
[2026-09-10 09:29:45] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089764a50012c75d40008d1fdf0004001301d..."} 
[2026-09-10 09:29:45] local.INFO: Packet analysis {"connection_id":177519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:45] local.INFO: Extracted packet for processing {"connection_id":177519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":745919488,"raw_latitude":147979760,"longitude_deg":74.5919488,"latitude_deg":14.797976,"altitude":64,"angle":304,"satellites":29,"speed":31,"hex_longitude":"2c75d400","hex_latitude":"08d1fdf0","is_valid_coordinates":true} 
[2026-09-10 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987227648001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8510818171194126336,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789012626000,"timestamp_ms":1789012626000,"timestamp_seconds":1789012626,"priority":1,"record_length":96,"hex_timestamp":"000001a089764a50"} 
[2026-09-10 09:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:45] 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-09-10 09:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.151.225","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 09:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 09:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987227648001,"66":28191,"27":206,"9":55808,"24":31,"16":3893920429768704,"44":8510818171194126336},"client_ip":"117.224.151.225","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-10 09:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 09:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 09:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987227648001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 09:29:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 09:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8510818171194126336,"description":"Unknown IO ID 44"} 
[2026-09-10 09:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987227648001,"power":28191,"unknown_27":206,"unknown_9":55808,"ignition":31,"odometer":null,"unknown_44":8510818171194126336}} 
[2026-09-10 09:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":177519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:45] local.INFO: GPS data processed {"connection_id":177519,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:45] local.INFO: Acknowledgment sent {"connection_id":177519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:46] local.INFO: TCP Data received {"connection_id":176363,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:46] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:46] local.INFO: IMEI packet received {"connection_id":176363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":176363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:29:49] local.INFO: TCP Data received {"connection_id":176363,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:49] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:49] local.INFO: IMEI packet received {"connection_id":176363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":176363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:29:54] local.INFO: TCP Data received {"connection_id":176363,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:54] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:29:54] local.INFO: IMEI packet received {"connection_id":176363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":176363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:29:55] local.INFO: TCP Data received {"connection_id":176124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08977e860012d7d348005ec0bf8000e00c01a..."} 
[2026-09-10 09:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08977e860012d7d348005ec0bf8000e00c01a..."} 
[2026-09-10 09:29:55] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08977e860012d7d348005ec0bf8000e00c01a..."} 
[2026-09-10 09:29:55] local.INFO: Packet analysis {"connection_id":176124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:29:55] local.INFO: Extracted packet for processing {"connection_id":176124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08977"} 
[2026-09-10 09:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355640,"longitude_deg":76.318016,"latitude_deg":9.935564,"altitude":14,"angle":192,"satellites":26,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0bf8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987258368001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130696657976164352,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918255616,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29: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-09-10 09:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789012732000,"timestamp_ms":1789012732000,"timestamp_seconds":1789012732,"priority":1,"record_length":96,"hex_timestamp":"000001a08977e860"} 
[2026-09-10 09:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":10,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987258368001,"66":12504,"110":206,"87":13824,"24":0,"16":130696657976164352,"45":9022398928918255616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 09:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987258368001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 09:29:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130696657976164352,"km_value":130696657976164.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918255616,"description":"Unknown IO ID 45"} 
[2026-09-10 09:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987258368001,"power":12504,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918255616}} 
[2026-09-10 09:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":176124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:55] local.INFO: GPS data processed {"connection_id":176124,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:55] local.INFO: Acknowledgment sent {"connection_id":176124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:29:56] local.INFO: TCP Data received {"connection_id":176363,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a089781b28012d0c600007062ee8001000971c..."} 
[2026-09-10 09:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089781b28012d0c600007062ee8001000971c..."} 
[2026-09-10 09:29:56] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089781b28012d0c600007062ee8001000971c..."} 
[2026-09-10 09:29:56] local.INFO: Packet analysis {"connection_id":176363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:29:56] local.INFO: Extracted packet for processing {"connection_id":176363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:29:56] local.INFO: GPS Element Parsed {"raw_longitude":755785728,"raw_latitude":117845736,"longitude_deg":75.5785728,"latitude_deg":11.7845736,"altitude":16,"angle":151,"satellites":28,"speed":28,"hex_longitude":"2d0c6000","hex_latitude":"07062ee8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987261440001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31112103142096896,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889320219086516224,"note":"Value kept but may cause issues"} 
[2026-09-10 09:29:56] 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-09-10 09:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789012745000,"timestamp_ms":1789012745000,"timestamp_seconds":1789012745,"priority":1,"record_length":96,"hex_timestamp":"000001a089781b28"} 
[2026-09-10 09:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987261440001,"66":14515,"115":206,"28":32256,"24":28,"16":31112103142096896,"45":889320219086516224},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-10 09:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987261440001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:29:56] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 09:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31112103142096896,"km_value":31112103142096.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":889320219086516224,"description":"Unknown IO ID 45"} 
[2026-09-10 09:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987261440001,"power":14515,"unknown_115":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":889320219086516224}} 
[2026-09-10 09:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":176363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793015,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:29:56] local.INFO: GPS data processed {"connection_id":176363,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:29:56] local.INFO: Acknowledgment sent {"connection_id":176363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:30:13] local.INFO: TCP Data received {"connection_id":178904,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:30:13] local.INFO: Processing buffer {"connection_id":178904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:30:13] local.INFO: Packet analysis {"connection_id":178904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:30:13] local.INFO: Extracted packet for processing {"connection_id":178904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:30:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:30: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-09-10 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:30:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":178904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:30:13] local.INFO: GPS data processed {"connection_id":178904,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:30:13] local.INFO: Acknowledgment sent {"connection_id":178904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:30:14] local.INFO: TCP Data received {"connection_id":177520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:14] local.INFO: Processing buffer {"connection_id":177520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:14] local.INFO: IMEI packet received {"connection_id":177520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":177520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:30:15] local.INFO: TCP Data received {"connection_id":177520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:15] local.INFO: Processing buffer {"connection_id":177520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:15] local.INFO: IMEI packet received {"connection_id":177520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":177520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:30:16] local.INFO: TCP Data received {"connection_id":177520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:16] local.INFO: Processing buffer {"connection_id":177520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:16] local.INFO: IMEI packet received {"connection_id":177520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":177520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:30:16] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.151.225","data_length":795,"data_hex":"000000000000030f8e0a000001a0897690a0012c758b0008d21fe00028011316..."} 
[2026-09-10 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897690a0012c758b0008d21fe00028011316..."} 
[2026-09-10 09:30:16] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897690a0012c758b0008d21fe00028011316..."} 
[2026-09-10 09:30:16] local.INFO: Packet analysis {"connection_id":177519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:30:16] local.INFO: Extracted packet for processing {"connection_id":177519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":745900800,"raw_latitude":147988448,"longitude_deg":74.59008,"latitude_deg":14.7988448,"altitude":40,"angle":275,"satellites":22,"speed":37,"hex_longitude":"2c758b00","hex_latitude":"08d21fe0","is_valid_coordinates":true} 
[2026-09-10 09:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987232256001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8490411235383046144,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789012644000,"timestamp_ms":1789012644000,"timestamp_seconds":1789012644,"priority":1,"record_length":96,"hex_timestamp":"000001a0897690a0"} 
[2026-09-10 09:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:30: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-09-10 09:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 09:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 09:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.151.225","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987232256001,"66":28126,"27":206,"9":55808,"24":37,"16":3893920429768704,"44":8490411235383046144},"client_ip":"117.224.151.225","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-10 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987232256001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:30:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-10 09:30:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8490411235383046144,"description":"Unknown IO ID 44"} 
[2026-09-10 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987232256001,"power":28126,"unknown_27":206,"unknown_9":55808,"ignition":37,"odometer":null,"unknown_44":8490411235383046144}} 
[2026-09-10 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":177519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:30:16] local.INFO: GPS data processed {"connection_id":177519,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:30:16] local.INFO: Acknowledgment sent {"connection_id":177519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:30:17] local.INFO: TCP Data received {"connection_id":177520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:17] local.INFO: Processing buffer {"connection_id":177520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:30:17] local.INFO: IMEI packet received {"connection_id":177520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":177520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:30:36] local.INFO: TCP Data received {"connection_id":178905,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:30:36] local.INFO: Processing buffer {"connection_id":178905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:30:36] local.INFO: IMEI packet received {"connection_id":178905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":178905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:30:38] local.INFO: TCP Data received {"connection_id":176363,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a089783680012d0c6880070623880010008b1d..."} 
[2026-09-10 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089783680012d0c6880070623880010008b1d..."} 
[2026-09-10 09:30:38] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089783680012d0c6880070623880010008b1d..."} 
[2026-09-10 09:30:38] local.INFO: Packet analysis {"connection_id":176363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:30:38] local.INFO: Extracted packet for processing {"connection_id":176363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":117842824,"longitude_deg":75.5787904,"latitude_deg":11.7842824,"altitude":16,"angle":139,"satellites":29,"speed":20,"hex_longitude":"2d0c6880","hex_latitude":"07062388","is_valid_coordinates":true} 
[2026-09-10 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987262720001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31112279235756032,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891712756387866624,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:38] 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-09-10 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789012752000,"timestamp_ms":1789012752000,"timestamp_seconds":1789012752,"priority":1,"record_length":96,"hex_timestamp":"000001a089783680"} 
[2026-09-10 09:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:30: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-09-10 09:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987262720001,"66":14396,"115":206,"28":32256,"24":20,"16":31112279235756032,"45":891712756387866624},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-10 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987262720001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:30:38] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 09:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31112279235756032,"km_value":31112279235756.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":891712756387866624,"description":"Unknown IO ID 45"} 
[2026-09-10 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987262720001,"power":14396,"unknown_115":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":891712756387866624}} 
[2026-09-10 09:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":176363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:30:39] local.INFO: GPS data processed {"connection_id":176363,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:30:39] local.INFO: Acknowledgment sent {"connection_id":176363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:30:41] local.INFO: TCP Data received {"connection_id":178905,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:30:41] local.INFO: Processing buffer {"connection_id":178905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:30:41] local.INFO: IMEI packet received {"connection_id":178905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":178905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:30:42] local.INFO: TCP Data received {"connection_id":178905,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:30:42] local.INFO: Processing buffer {"connection_id":178905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:30:42] local.INFO: Packet analysis {"connection_id":178905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:30:42] local.INFO: Extracted packet for processing {"connection_id":178905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:30: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-09-10 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:30:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":178905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:30:42] local.INFO: GPS data processed {"connection_id":178905,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:30:42] local.INFO: Acknowledgment sent {"connection_id":178905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:30:49] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:30:49] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:30:49] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:30:53] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:30:53] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:30:53] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:30:55] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897884a0012d0c6f8007061bc8000f008a1d..."} 
[2026-09-10 09:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897884a0012d0c6f8007061bc8000f008a1d..."} 
[2026-09-10 09:30:55] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897884a0012d0c6f8007061bc8000f008a1d..."} 
[2026-09-10 09:30:55] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:30:55] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755789696,"raw_latitude":117840840,"longitude_deg":75.5789696,"latitude_deg":11.784084,"altitude":15,"angle":138,"satellites":29,"speed":0,"hex_longitude":"2d0c6f80","hex_latitude":"07061bc8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987264512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31112416674709504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894105293689161728,"note":"Value kept but may cause issues"} 
[2026-09-10 09:30:55] 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-09-10 09:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789012772000,"timestamp_ms":1789012772000,"timestamp_seconds":1789012772,"priority":1,"record_length":96,"hex_timestamp":"000001a0897884a0"} 
[2026-09-10 09:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 09:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987264512001,"66":14428,"115":206,"28":32256,"24":0,"16":31112416674709504,"45":894105293689161728},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-10 09:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987264512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:30:55] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 09:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31112416674709504,"km_value":31112416674709.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":894105293689161728,"description":"Unknown IO ID 45"} 
[2026-09-10 09:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987264512001,"power":14428,"unknown_115":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":894105293689161728}} 
[2026-09-10 09:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:30:55] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:30:55] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:31:13] local.INFO: TCP Data received {"connection_id":178905,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:31:13] local.INFO: Processing buffer {"connection_id":178905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:31:13] local.INFO: Packet analysis {"connection_id":178905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:31:13] local.INFO: Extracted packet for processing {"connection_id":178905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:31:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:31: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-09-10 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:31:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":178905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:31:13] local.INFO: GPS data processed {"connection_id":178905,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:31:13] local.INFO: Acknowledgment sent {"connection_id":178905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:31:29] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a08978abb0012d0c744007061730000f007e1e..."} 
[2026-09-10 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08978abb0012d0c744007061730000f007e1e..."} 
[2026-09-10 09:31:29] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08978abb0012d0c744007061730000f007e1e..."} 
[2026-09-10 09:31:29] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:31:29] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08978"} 
[2026-09-10 09:31:29] local.INFO: GPS Element Parsed {"raw_longitude":755790912,"raw_latitude":117839664,"longitude_deg":75.5790912,"latitude_deg":11.7839664,"altitude":15,"angle":126,"satellites":30,"speed":10,"hex_longitude":"2d0c7440","hex_latitude":"07061730","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987269632001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31112498279088128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896075618525628416,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31: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-09-10 09:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789012782000,"timestamp_ms":1789012782000,"timestamp_seconds":1789012782,"priority":1,"record_length":96,"hex_timestamp":"000001a08978abb0"} 
[2026-09-10 09:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987269632001,"66":14309,"115":206,"28":32256,"24":10,"16":31112498279088128,"45":896075618525628416},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-10 09:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987269632001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:31:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 09:31:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31112498279088128,"km_value":31112498279088.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":896075618525628416,"description":"Unknown IO ID 45"} 
[2026-09-10 09:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987269632001,"power":14309,"unknown_115":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":896075618525628416}} 
[2026-09-10 09:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:31:30] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:31:30] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:31:36] local.INFO: TCP Data received {"connection_id":178906,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:31:36] local.INFO: Processing buffer {"connection_id":178906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:31:36] local.INFO: IMEI packet received {"connection_id":178906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":178906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:31:41] local.INFO: TCP Data received {"connection_id":178906,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:31:41] local.INFO: Processing buffer {"connection_id":178906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:31:41] local.INFO: IMEI packet received {"connection_id":178906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":178906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:31:42] local.INFO: TCP Data received {"connection_id":178906,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:31:42] local.INFO: Processing buffer {"connection_id":178906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:31:42] local.INFO: Packet analysis {"connection_id":178906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:31:42] local.INFO: Extracted packet for processing {"connection_id":178906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:31: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-09-10 09:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:31: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-09-10 09:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":178906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:31:42] local.INFO: GPS data processed {"connection_id":178906,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:31:42] local.INFO: Acknowledgment sent {"connection_id":178906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:31:54] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:31:54] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:31:54] local.INFO: IMEI packet received {"connection_id":177522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":177522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:31:56] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:31:56] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:31:56] local.INFO: IMEI packet received {"connection_id":177522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":177522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:31:57] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897a22b0012d0caa000705d8d00013008b1e..."} 
[2026-09-10 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897a22b0012d0caa000705d8d00013008b1e..."} 
[2026-09-10 09:31:57] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897a22b0012d0caa000705d8d00013008b1e..."} 
[2026-09-10 09:31:57] local.INFO: Packet analysis {"connection_id":177522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:31:57] local.INFO: Extracted packet for processing {"connection_id":177522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":755804672,"raw_latitude":117823696,"longitude_deg":75.5804672,"latitude_deg":11.7823696,"altitude":19,"angle":139,"satellites":30,"speed":13,"hex_longitude":"2d0caa00","hex_latitude":"0705d8d0","is_valid_coordinates":true} 
[2026-09-10 09:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987294976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31113602085683200,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911275267264071680,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:57] 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-09-10 09:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789012878000,"timestamp_ms":1789012878000,"timestamp_seconds":1789012878,"priority":1,"record_length":96,"hex_timestamp":"000001a0897a22b0"} 
[2026-09-10 09:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987294976001,"66":14439,"220":206,"28":32256,"24":13,"16":31113602085683200,"45":911275267264071680},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-10 09:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987294976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:31:57] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 09:31:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31113602085683200,"km_value":31113602085683.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":911275267264071680,"description":"Unknown IO ID 45"} 
[2026-09-10 09:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987294976001,"power":14439,"unknown_220":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":911275267264071680}} 
[2026-09-10 09:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":177522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793024,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:31:57] local.INFO: GPS data processed {"connection_id":177522,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:31:57] local.INFO: Acknowledgment sent {"connection_id":177522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:31:59] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897a49c0012d0cb7800705cc200013009b1e..."} 
[2026-09-10 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897a49c0012d0cb7800705cc200013009b1e..."} 
[2026-09-10 09:31:59] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897a49c0012d0cb7800705cc200013009b1e..."} 
[2026-09-10 09:31:59] local.INFO: Packet analysis {"connection_id":177522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:31:59] local.INFO: Extracted packet for processing {"connection_id":177522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":755808128,"raw_latitude":117820448,"longitude_deg":75.5808128,"latitude_deg":11.7820448,"altitude":19,"angle":155,"satellites":30,"speed":17,"hex_longitude":"2d0cb780","hex_latitude":"0705cc20","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987296768001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31113834013917184,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912541904658812928,"note":"Value kept but may cause issues"} 
[2026-09-10 09:31:59] 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-09-10 09:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789012888000,"timestamp_ms":1789012888000,"timestamp_seconds":1789012888,"priority":1,"record_length":96,"hex_timestamp":"000001a0897a49c0"} 
[2026-09-10 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-09-10 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:31: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-09-10 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-09-10 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-09-10 09:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987296768001,"66":14450,"220":206,"28":32256,"24":17,"16":31113834013917184,"45":912541904658812928},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-10 09:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987296768001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:31:59] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 09:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31113834013917184,"km_value":31113834013917.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":912541904658812928,"description":"Unknown IO ID 45"} 
[2026-09-10 09:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987296768001,"power":14450,"unknown_220":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":912541904658812928}} 
[2026-09-10 09:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":177522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793025,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:32:00] local.INFO: GPS data processed {"connection_id":177522,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:32:00] local.INFO: Acknowledgment sent {"connection_id":177522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:32:13] local.INFO: TCP Data received {"connection_id":178906,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:32:13] local.INFO: Processing buffer {"connection_id":178906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897636c8012cee6fc0072e2d50003900ee2a..."} 
[2026-09-10 09:32:13] local.INFO: Packet analysis {"connection_id":178906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:32:13] local.INFO: Extracted packet for processing {"connection_id":178906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08976"} 
[2026-09-10 09:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":57,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987153920001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012621000,"timestamp_ms":1789012621000,"timestamp_seconds":1789012621,"priority":1,"record_length":96,"hex_timestamp":"000001a0897636c8"} 
[2026-09-10 09:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:32: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-09-10 09:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 09:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:32: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-09-10 09:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987153920001,"66":25712,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987153920001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:32:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987153920001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":178906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:32:13] local.INFO: GPS data processed {"connection_id":178906,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:32:13] local.INFO: Acknowledgment sent {"connection_id":178906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:32:31] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897b2098012d0c6f4007058fd0001f00cb1a..."} 
[2026-09-10 09:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897b2098012d0c6f4007058fd0001f00cb1a..."} 
[2026-09-10 09:32:31] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897b2098012d0c6f4007058fd0001f00cb1a..."} 
[2026-09-10 09:32:31] local.INFO: Packet analysis {"connection_id":177522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897b"} 
[2026-09-10 09:32:31] local.INFO: Extracted packet for processing {"connection_id":177522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897b"} 
[2026-09-10 09:32:31] local.INFO: GPS Element Parsed {"raw_longitude":755789632,"raw_latitude":117805008,"longitude_deg":75.5789632,"latitude_deg":11.7805008,"altitude":31,"angle":203,"satellites":26,"speed":17,"hex_longitude":"2d0c6f40","hex_latitude":"07058fd0","is_valid_coordinates":true} 
[2026-09-10 09:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987313152001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31115363022274560,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896216356004915200,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:31] 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-09-10 09:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789012943000,"timestamp_ms":1789012943000,"timestamp_seconds":1789012943,"priority":1,"record_length":96,"hex_timestamp":"000001a0897b2098"} 
[2026-09-10 09:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 09:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987313152001,"66":14167,"220":206,"28":32256,"24":17,"16":31115363022274560,"45":896216356004915200},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-10 09:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987313152001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:32:31] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 09:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31115363022274560,"km_value":31115363022274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":896216356004915200,"description":"Unknown IO ID 45"} 
[2026-09-10 09:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987313152001,"power":14167,"unknown_220":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":896216356004915200}} 
[2026-09-10 09:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":177522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:32:31] local.INFO: GPS data processed {"connection_id":177522,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:32:31] local.INFO: Acknowledgment sent {"connection_id":177522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:32:40] local.INFO: TCP Data received {"connection_id":176364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:40] local.INFO: Processing buffer {"connection_id":176364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:40] local.INFO: IMEI packet received {"connection_id":176364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":176364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:32:41] local.INFO: TCP Data received {"connection_id":176364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:41] local.INFO: Processing buffer {"connection_id":176364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:41] local.INFO: IMEI packet received {"connection_id":176364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":176364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:32:46] local.INFO: TCP Data received {"connection_id":176364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:46] local.INFO: Processing buffer {"connection_id":176364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:32:46] local.INFO: IMEI packet received {"connection_id":176364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":176364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:32:47] local.INFO: TCP Data received {"connection_id":176364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:32:47] local.INFO: Processing buffer {"connection_id":176364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:32:47] local.INFO: Packet analysis {"connection_id":176364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:32:47] local.INFO: Extracted packet for processing {"connection_id":176364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:32: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-09-10 09:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:32:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":176364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:32:47] local.INFO: GPS data processed {"connection_id":176364,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:32:47] local.INFO: Acknowledgment sent {"connection_id":176364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:32:53] local.INFO: TCP Data received {"connection_id":176364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:32:53] local.INFO: Processing buffer {"connection_id":176364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:32:53] local.INFO: Packet analysis {"connection_id":176364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:32:53] local.INFO: Extracted packet for processing {"connection_id":176364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:32:53] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:32:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:32:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":176364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:32:53] local.INFO: GPS data processed {"connection_id":176364,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:32:53] local.INFO: Acknowledgment sent {"connection_id":176364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:33:24] local.INFO: TCP Data received {"connection_id":176366,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:24] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:24] local.INFO: IMEI packet received {"connection_id":176366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":176366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:33:26] local.INFO: TCP Data received {"connection_id":176366,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:26] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:26] local.INFO: IMEI packet received {"connection_id":176366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":176366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:33:30] local.INFO: TCP Data received {"connection_id":176366,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897b2480012d0c6e0007058ee0002100e01a..."} 
[2026-09-10 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897b2480012d0c6e0007058ee0002100e01a..."} 
[2026-09-10 09:33:30] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897b2480012d0c6e0007058ee0002100e01a..."} 
[2026-09-10 09:33:30] local.INFO: Packet analysis {"connection_id":176366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897b"} 
[2026-09-10 09:33:30] local.INFO: Extracted packet for processing {"connection_id":176366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897b"} 
[2026-09-10 09:33:30] local.INFO: GPS Element Parsed {"raw_longitude":755789312,"raw_latitude":117804768,"longitude_deg":75.5789312,"latitude_deg":11.7804768,"altitude":33,"angle":224,"satellites":26,"speed":14,"hex_longitude":"2d0c6e00","hex_latitude":"07058ee0","is_valid_coordinates":true} 
[2026-09-10 09:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987313408001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31115380202143744,"note":"Value kept but may cause issues"} 
[2026-09-10 09:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896005249772277760,"note":"Value kept but may cause issues"} 
[2026-09-10 09:33:30] 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-09-10 09:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789012944000,"timestamp_ms":1789012944000,"timestamp_seconds":1789012944,"priority":1,"record_length":96,"hex_timestamp":"000001a0897b2480"} 
[2026-09-10 09:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-10 09:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987313408001,"66":14167,"220":206,"28":32256,"24":14,"16":31115380202143744,"45":896005249772277760},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-10 09:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987313408001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:33:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 09:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31115380202143744,"km_value":31115380202143.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":896005249772277760,"description":"Unknown IO ID 45"} 
[2026-09-10 09:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987313408001,"power":14167,"unknown_220":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":896005249772277760}} 
[2026-09-10 09:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":176366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:33:30] local.INFO: GPS data processed {"connection_id":176366,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:33:30] local.INFO: Acknowledgment sent {"connection_id":176366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:33:36] local.INFO: TCP Data received {"connection_id":178908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:33:36] local.INFO: Processing buffer {"connection_id":178908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:33:36] local.INFO: IMEI packet received {"connection_id":178908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":178908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:33:41] local.INFO: TCP Data received {"connection_id":178908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:33:41] local.INFO: Processing buffer {"connection_id":178908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:33:41] local.INFO: IMEI packet received {"connection_id":178908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":178908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:33:42] local.INFO: TCP Data received {"connection_id":178908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:33:42] local.INFO: Processing buffer {"connection_id":178908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:33:42] local.INFO: Packet analysis {"connection_id":178908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:33:42] local.INFO: Extracted packet for processing {"connection_id":178908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:33:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:33: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-09-10 09:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:33:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":178908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:33:42] local.INFO: GPS data processed {"connection_id":178908,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:33:42] local.INFO: Acknowledgment sent {"connection_id":178908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:33:54] local.INFO: TCP Data received {"connection_id":177523,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:54] local.INFO: Processing buffer {"connection_id":177523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:33:54] local.INFO: IMEI packet received {"connection_id":177523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":177523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:34:13] local.INFO: TCP Data received {"connection_id":178908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:34:13] local.INFO: Processing buffer {"connection_id":178908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:34:13] local.INFO: Packet analysis {"connection_id":178908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:34:13] local.INFO: Extracted packet for processing {"connection_id":178908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:34:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 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-09-10 09:34: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-09-10 09:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:34:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":178908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:34:13] local.INFO: GPS data processed {"connection_id":178908,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:34:13] local.INFO: Acknowledgment sent {"connection_id":178908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:34:17] local.INFO: TCP Data received {"connection_id":177523,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:34:17] local.INFO: Processing buffer {"connection_id":177523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:34:17] local.INFO: IMEI packet received {"connection_id":177523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":177523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:34:19] local.INFO: TCP Data received {"connection_id":177523,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c4590012d0c4e4007055fb8001e00951d..."} 
[2026-09-10 09:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c4590012d0c4e4007055fb8001e00951d..."} 
[2026-09-10 09:34:19] local.INFO: Processing buffer {"connection_id":177523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c4590012d0c4e4007055fb8001e00951d..."} 
[2026-09-10 09:34:19] local.INFO: Packet analysis {"connection_id":177523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:34:19] local.INFO: Extracted packet for processing {"connection_id":177523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:34:19] local.INFO: GPS Element Parsed {"raw_longitude":755781184,"raw_latitude":117792696,"longitude_deg":75.5781184,"latitude_deg":11.7792696,"altitude":30,"angle":149,"satellites":29,"speed":36,"hex_longitude":"2d0c4e40","hex_latitude":"07055fb8","is_valid_coordinates":true} 
[2026-09-10 09:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987329024001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31116475418804224,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132191442944,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:19] 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-09-10 09:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789013018000,"timestamp_ms":1789013018000,"timestamp_seconds":1789013018,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c4590"} 
[2026-09-10 09:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 09:34: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-09-10 09:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987329024001,"66":14439,"139":206,"28":32256,"24":36,"16":31116475418804224,"45":881861132191442944},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-09-10 09:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987329024001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:34:19] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-10 09:34:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31116475418804224,"km_value":31116475418804.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132191442944,"description":"Unknown IO ID 45"} 
[2026-09-10 09:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987329024001,"power":14439,"unknown_139":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":881861132191442944}} 
[2026-09-10 09:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":177523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:34:19] local.INFO: GPS data processed {"connection_id":177523,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:34:19] local.INFO: Acknowledgment sent {"connection_id":177523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:34:36] local.INFO: TCP Data received {"connection_id":176126,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:34:36] local.INFO: Processing buffer {"connection_id":176126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:34:36] local.INFO: IMEI packet received {"connection_id":176126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":176126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:34:41] local.INFO: TCP Data received {"connection_id":176126,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:34:41] local.INFO: Processing buffer {"connection_id":176126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:34:41] local.INFO: IMEI packet received {"connection_id":176126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:34:42] local.INFO: TCP Data received {"connection_id":176126,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:34:42] local.INFO: Processing buffer {"connection_id":176126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:34:42] local.INFO: Packet analysis {"connection_id":176126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:34:42] local.INFO: Extracted packet for processing {"connection_id":176126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:34: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-09-10 09:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:34: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-09-10 09:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":176126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:34:42] local.INFO: GPS data processed {"connection_id":176126,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:34:42] local.INFO: Acknowledgment sent {"connection_id":176126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:34:59] local.INFO: TCP Data received {"connection_id":176367,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:34:59] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:34:59] local.INFO: IMEI packet received {"connection_id":176367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":176367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:35:02] local.INFO: TCP Data received {"connection_id":176367,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:02] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:02] local.INFO: IMEI packet received {"connection_id":176367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":176367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:35:04] local.INFO: TCP Data received {"connection_id":176367,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:04] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:04] local.INFO: IMEI packet received {"connection_id":176367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":176367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:35:08] local.INFO: TCP Data received {"connection_id":176367,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897d5700012d0c93400704cfc0001f008119..."} 
[2026-09-10 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897d5700012d0c93400704cfc0001f008119..."} 
[2026-09-10 09:35:08] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897d5700012d0c93400704cfc0001f008119..."} 
[2026-09-10 09:35:08] local.INFO: Packet analysis {"connection_id":176367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897d"} 
[2026-09-10 09:35:08] local.INFO: Extracted packet for processing {"connection_id":176367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897d"} 
[2026-09-10 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":755798848,"raw_latitude":117755840,"longitude_deg":75.5798848,"latitude_deg":11.775584,"altitude":31,"angle":129,"satellites":25,"speed":23,"hex_longitude":"2d0c9340","hex_latitude":"0704cfc0","is_valid_coordinates":true} 
[2026-09-10 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987348736001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31118511233302528,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":902619911713669120,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:08] 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-09-10 09:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789013088000,"timestamp_ms":1789013088000,"timestamp_seconds":1789013088,"priority":1,"record_length":96,"hex_timestamp":"000001a0897d5700"} 
[2026-09-10 09:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09: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-09-10 09:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987348736001,"66":14407,"220":206,"28":32256,"24":23,"16":31118511233302528,"45":902619911713669120},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-10 09:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987348736001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:35:08] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 09:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31118511233302528,"km_value":31118511233302.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":902619911713669120,"description":"Unknown IO ID 45"} 
[2026-09-10 09:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987348736001,"power":14407,"unknown_220":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":902619911713669120}} 
[2026-09-10 09:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":176367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:35:08] local.INFO: GPS data processed {"connection_id":176367,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:35:08] local.INFO: Acknowledgment sent {"connection_id":176367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:35:13] local.INFO: TCP Data received {"connection_id":176126,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:35:13] local.INFO: Processing buffer {"connection_id":176126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:35:13] local.INFO: Packet analysis {"connection_id":176126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:35:13] local.INFO: Extracted packet for processing {"connection_id":176126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:35:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:35: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-09-10 09:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:35: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-09-10 09:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:35:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":176126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:35:13] local.INFO: GPS data processed {"connection_id":176126,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:35:13] local.INFO: Acknowledgment sent {"connection_id":176126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:35:22] local.INFO: TCP Data received {"connection_id":177525,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:35:22] local.INFO: Processing buffer {"connection_id":177525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:35:22] local.INFO: IMEI packet received {"connection_id":177525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":177525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:35:23] local.INFO: TCP Data received {"connection_id":177525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c5918012d7d298005ea8a38000700b428..."} 
[2026-09-10 09:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c5918012d7d298005ea8a38000700b428..."} 
[2026-09-10 09:35:23] local.INFO: Processing buffer {"connection_id":177525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c5918012d7d298005ea8a38000700b428..."} 
[2026-09-10 09:35:23] local.INFO: Packet analysis {"connection_id":177525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:35:23] local.INFO: Extracted packet for processing {"connection_id":177525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 09:35: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-09-10 09:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987333888001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013023000,"timestamp_ms":1789013023000,"timestamp_seconds":1789013023,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c5918"} 
[2026-09-10 09:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 09:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987333888001,"66":13906,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987333888001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:35:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:35:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987333888001,"power":13906,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":177525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:35:24] local.INFO: GPS data processed {"connection_id":177525,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:35:24] local.INFO: Acknowledgment sent {"connection_id":177525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:35:36] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:35:36] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:35:36] local.INFO: IMEI packet received {"connection_id":176127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":176127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:35:41] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:35:41] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:35:41] local.INFO: IMEI packet received {"connection_id":176127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":176127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:35:42] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:35:42] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:35:42] local.INFO: Packet analysis {"connection_id":176127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:35:42] local.INFO: Extracted packet for processing {"connection_id":176127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:35:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:35: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-09-10 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:35: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-09-10 09:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:35:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":176127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:35:42] local.INFO: GPS data processed {"connection_id":176127,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:35:42] local.INFO: Acknowledgment sent {"connection_id":176127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:35:53] local.INFO: TCP Data received {"connection_id":178909,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:53] local.INFO: Processing buffer {"connection_id":178909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:53] local.INFO: IMEI packet received {"connection_id":178909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":178909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:35:54] local.INFO: TCP Data received {"connection_id":178909,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:54] local.INFO: Processing buffer {"connection_id":178909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:54] local.INFO: IMEI packet received {"connection_id":178909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":178909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:35:55] local.INFO: TCP Data received {"connection_id":177525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:35:55] local.INFO: Processing buffer {"connection_id":177525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:35:55] local.INFO: Packet analysis {"connection_id":177525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:35:55] local.INFO: Extracted packet for processing {"connection_id":177525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":36,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 09:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987333888001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013029000,"timestamp_ms":1789013029000,"timestamp_seconds":1789013029,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c7088"} 
[2026-09-10 09:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 09:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987333888001,"66":5199,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987333888001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:35:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:35:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987333888001,"power":5199,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":177525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:35:55] local.INFO: GPS data processed {"connection_id":177525,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:35:55] local.INFO: Acknowledgment sent {"connection_id":177525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:35:59] local.INFO: TCP Data received {"connection_id":178909,"ip":"117.225.214.124","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:59] local.INFO: Processing buffer {"connection_id":178909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:35:59] local.INFO: IMEI packet received {"connection_id":178909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":178909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:36:01] local.INFO: TCP Data received {"connection_id":178909,"ip":"117.225.214.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0897e1668012d0d0e800704bbf0001c00531a..."} 
[2026-09-10 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897e1668012d0d0e800704bbf0001c00531a..."} 
[2026-09-10 09:36:01] local.INFO: Processing buffer {"connection_id":178909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897e1668012d0d0e800704bbf0001c00531a..."} 
[2026-09-10 09:36:01] local.INFO: Packet analysis {"connection_id":178909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897e"} 
[2026-09-10 09:36:01] local.INFO: Extracted packet for processing {"connection_id":178909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897e"} 
[2026-09-10 09:36:01] local.INFO: GPS Element Parsed {"raw_longitude":755830400,"raw_latitude":117750768,"longitude_deg":75.58304,"latitude_deg":11.7750768,"altitude":28,"angle":83,"satellites":26,"speed":29,"hex_longitude":"2d0d0e80","hex_latitude":"0704bbf0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987360000001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31120087486300160,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930978515614910464,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789013137000,"timestamp_ms":1789013137000,"timestamp_seconds":1789013137,"priority":1,"record_length":96,"hex_timestamp":"000001a0897e1668"} 
[2026-09-10 09:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 09:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":178909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":178909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":178909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987360000001,"66":14559,"18":206,"28":32256,"24":29,"16":31120087486300160,"45":930978515614910464},"client_ip":"117.225.214.124","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-10 09:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987360000001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:36:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 09:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-10 09:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31120087486300160,"km_value":31120087486300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":930978515614910464,"description":"Unknown IO ID 45"} 
[2026-09-10 09:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987360000001,"power":14559,"unknown_18":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":930978515614910464}} 
[2026-09-10 09:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":178909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:36:01] local.INFO: GPS data processed {"connection_id":178909,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:36:01] local.INFO: Acknowledgment sent {"connection_id":178909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:36:13] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:13] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:13] local.INFO: Packet analysis {"connection_id":176127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:36:13] local.INFO: Extracted packet for processing {"connection_id":176127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:36: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-09-10 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:36: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-09-10 09:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:36:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":176127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:36:13] local.INFO: GPS data processed {"connection_id":176127,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:36:13] local.INFO: Acknowledgment sent {"connection_id":176127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:36:17] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:36:17] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:36:17] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:36:22] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:36:22] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:36:22] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:36:24] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:36:24] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:36:24] local.INFO: Packet analysis {"connection_id":176128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:36:24] local.INFO: Extracted packet for processing {"connection_id":176128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":36,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36: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-09-10 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789013029000,"timestamp_ms":1789013029000,"timestamp_seconds":1789013029,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c7088"} 
[2026-09-10 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":5199,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:36:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:36:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":5199,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":176128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:36:24] local.INFO: GPS data processed {"connection_id":176128,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:36:24] local.INFO: Acknowledgment sent {"connection_id":176128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:36:41] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:36:41] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:36:41] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:36:46] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:36:46] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:36:46] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:36:47] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:47] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:47] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:36:47] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:36:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:36:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:36:47] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:36:47] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:36:51] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:51] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897ace90012cee6fc0072e2d50003300ee29..."} 
[2026-09-10 09:36:51] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:36:51] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897a"} 
[2026-09-10 09:36:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":51,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789012922000,"timestamp_ms":1789012922000,"timestamp_seconds":1789012922,"priority":1,"record_length":96,"hex_timestamp":"000001a0897ace90"} 
[2026-09-10 09:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 09:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987230976001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:36:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987230976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:36:51] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:36:51] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:36:54] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:36:54] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:36:54] local.INFO: Packet analysis {"connection_id":176128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:36:54] local.INFO: Extracted packet for processing {"connection_id":176128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":36,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 09:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013029000,"timestamp_ms":1789013029000,"timestamp_seconds":1789013029,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c7088"} 
[2026-09-10 09:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":5199,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:36:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:36:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":5199,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":176128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:36:55] local.INFO: GPS data processed {"connection_id":176128,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:36:55] local.INFO: Acknowledgment sent {"connection_id":176128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:37:17] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:37:17] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:37:17] local.INFO: IMEI packet received {"connection_id":176369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":176369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:37:22] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:37:22] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:37:22] local.INFO: IMEI packet received {"connection_id":176369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":176369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:37:23] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:37:23] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:37:23] local.INFO: Packet analysis {"connection_id":176369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:37:23] local.INFO: Extracted packet for processing {"connection_id":176369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":36,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 09:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013029000,"timestamp_ms":1789013029000,"timestamp_seconds":1789013029,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c7088"} 
[2026-09-10 09:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":5199,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:37:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:37:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":5199,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":176369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:37:23] local.INFO: GPS data processed {"connection_id":176369,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:37:23] local.INFO: Acknowledgment sent {"connection_id":176369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:37:36] local.INFO: TCP Data received {"connection_id":178910,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:37:36] local.INFO: Processing buffer {"connection_id":178910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:37:36] local.INFO: IMEI packet received {"connection_id":178910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":178910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:37:41] local.INFO: TCP Data received {"connection_id":178910,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:37:41] local.INFO: Processing buffer {"connection_id":178910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:37:41] local.INFO: IMEI packet received {"connection_id":178910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":178910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:37:42] local.INFO: TCP Data received {"connection_id":178910,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:37:42] local.INFO: Processing buffer {"connection_id":178910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:37:42] local.INFO: Packet analysis {"connection_id":178910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:37:42] local.INFO: Extracted packet for processing {"connection_id":178910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:37: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-09-10 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":178910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:37:42] local.INFO: GPS data processed {"connection_id":178910,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:37:42] local.INFO: Acknowledgment sent {"connection_id":178910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:37:54] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:37:54] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:37:54] local.INFO: Packet analysis {"connection_id":176369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:37:54] local.INFO: Extracted packet for processing {"connection_id":176369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":36,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 09:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013029000,"timestamp_ms":1789013029000,"timestamp_seconds":1789013029,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c7088"} 
[2026-09-10 09:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":5199,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:37:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:37:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":5199,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":176369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:37:54] local.INFO: GPS data processed {"connection_id":176369,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:37:54] local.INFO: Acknowledgment sent {"connection_id":176369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:38:02] local.INFO: TCP Data received {"connection_id":176129,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:02] local.INFO: Processing buffer {"connection_id":176129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:02] local.INFO: IMEI packet received {"connection_id":176129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":176129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:38:04] local.INFO: TCP Data received {"connection_id":176129,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:04] local.INFO: Processing buffer {"connection_id":176129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:04] local.INFO: IMEI packet received {"connection_id":176129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":176129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:38:08] local.INFO: TCP Data received {"connection_id":176129,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:08] local.INFO: Processing buffer {"connection_id":176129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:08] local.INFO: IMEI packet received {"connection_id":176129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":176129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:38:09] local.INFO: TCP Data received {"connection_id":176129,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012d0d38c007047ac8001800b51d..."} 
[2026-09-10 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012d0d38c007047ac8001800b51d..."} 
[2026-09-10 09:38:09] local.INFO: Processing buffer {"connection_id":176129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012d0d38c007047ac8001800b51d..."} 
[2026-09-10 09:38:09] local.INFO: Packet analysis {"connection_id":176129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:38:09] local.INFO: Extracted packet for processing {"connection_id":176129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":755841216,"raw_latitude":117734088,"longitude_deg":75.5841216,"latitude_deg":11.7734088,"altitude":24,"angle":181,"satellites":29,"speed":15,"hex_longitude":"2d0d38c0","hex_latitude":"07047ac8","is_valid_coordinates":true} 
[2026-09-10 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987379968001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31121453285900288,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145004888064,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38: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-09-10 09:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987379968001,"66":14439,"17":206,"94":11008,"24":15,"16":31121453285900288,"45":953426145004888064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 09:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987379968001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:38:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31121453285900288,"km_value":31121453285900.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145004888064,"description":"Unknown IO ID 45"} 
[2026-09-10 09:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987379968001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":953426145004888064}} 
[2026-09-10 09:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":176129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:38:09] local.INFO: GPS data processed {"connection_id":176129,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:38:09] local.INFO: Acknowledgment sent {"connection_id":176129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:38:13] local.INFO: TCP Data received {"connection_id":178910,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:38:13] local.INFO: Processing buffer {"connection_id":178910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:38:13] local.INFO: Packet analysis {"connection_id":178910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:38:13] local.INFO: Extracted packet for processing {"connection_id":178910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:38:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:38: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-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:38: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-09-10 09:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:38:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:38:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":178910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:38:13] local.INFO: GPS data processed {"connection_id":178910,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:38:13] local.INFO: Acknowledgment sent {"connection_id":178910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:38:17] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:38:17] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:38:17] local.INFO: IMEI packet received {"connection_id":176370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":176370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:38:22] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:38:22] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:38:22] local.INFO: IMEI packet received {"connection_id":176370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":176370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:38:23] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:38:23] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897c7088012d7d298005ea8a38000700b424..."} 
[2026-09-10 09:38:23] local.INFO: Packet analysis {"connection_id":176370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:38:23] local.INFO: Extracted packet for processing {"connection_id":176370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897c"} 
[2026-09-10 09:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":36,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 09:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013029000,"timestamp_ms":1789013029000,"timestamp_seconds":1789013029,"priority":1,"record_length":96,"hex_timestamp":"000001a0897c7088"} 
[2026-09-10 09:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":5199,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:38:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:38:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":5199,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":176370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:38:23] local.INFO: GPS data processed {"connection_id":176370,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:38:23] local.INFO: Acknowledgment sent {"connection_id":176370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:38:36] local.INFO: TCP Data received {"connection_id":177526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:38:36] local.INFO: Processing buffer {"connection_id":177526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:38:36] local.INFO: IMEI packet received {"connection_id":177526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":177526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:38:41] local.INFO: TCP Data received {"connection_id":177526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:38:41] local.INFO: Processing buffer {"connection_id":177526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:38:41] local.INFO: IMEI packet received {"connection_id":177526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":177526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:38:42] local.INFO: TCP Data received {"connection_id":177526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:38:42] local.INFO: Processing buffer {"connection_id":177526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:38:42] local.INFO: Packet analysis {"connection_id":177526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:38:42] local.INFO: Extracted packet for processing {"connection_id":177526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:38: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-09-10 09:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:38:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":177526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:38:42] local.INFO: GPS data processed {"connection_id":177526,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:38:42] local.INFO: Acknowledgment sent {"connection_id":177526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:38:49] local.INFO: TCP Data received {"connection_id":178911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178911,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:49] local.INFO: Processing buffer {"connection_id":178911,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:49] local.INFO: IMEI packet received {"connection_id":178911,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":178911,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:38:54] local.INFO: TCP Data received {"connection_id":178911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178911,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:54] local.INFO: Processing buffer {"connection_id":178911,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:38:54] local.INFO: IMEI packet received {"connection_id":178911,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":178911,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:38:54] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:38:54] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:38:54] local.INFO: Packet analysis {"connection_id":176370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:38:54] local.INFO: Extracted packet for processing {"connection_id":176370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:38:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:38:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":176370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:38:54] local.INFO: GPS data processed {"connection_id":176370,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:38:54] local.INFO: Acknowledgment sent {"connection_id":176370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:38:55] local.INFO: TCP Data received {"connection_id":178911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898073e0012d0d26c007041fb0001400b81b..."} 
[2026-09-10 09:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898073e0012d0d26c007041fb0001400b81b..."} 
[2026-09-10 09:38:55] local.INFO: Processing buffer {"connection_id":178911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898073e0012d0d26c007041fb0001400b81b..."} 
[2026-09-10 09:38:55] local.INFO: Packet analysis {"connection_id":178911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:38:55] local.INFO: Extracted packet for processing {"connection_id":178911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:38:55] local.INFO: GPS Element Parsed {"raw_longitude":755836608,"raw_latitude":117710768,"longitude_deg":75.5836608,"latitude_deg":11.7710768,"altitude":20,"angle":184,"satellites":27,"speed":11,"hex_longitude":"2d0d26c0","hex_latitude":"07041fb0","is_valid_coordinates":true} 
[2026-09-10 09:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987401216001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31122625811972096,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947374432998518784,"note":"Value kept but may cause issues"} 
[2026-09-10 09:38: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-09-10 09:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013292000,"timestamp_ms":1789013292000,"timestamp_seconds":1789013292,"priority":1,"record_length":96,"hex_timestamp":"000001a0898073e0"} 
[2026-09-10 09:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987401216001,"66":14439,"17":206,"94":11008,"24":11,"16":31122625811972096,"45":947374432998518784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 09:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987401216001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:38:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31122625811972096,"km_value":31122625811972.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":947374432998518784,"description":"Unknown IO ID 45"} 
[2026-09-10 09:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987401216001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":947374432998518784}} 
[2026-09-10 09:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":178911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:38:55] local.INFO: GPS data processed {"connection_id":178911,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:38:55] local.INFO: Acknowledgment sent {"connection_id":178911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:39:13] local.INFO: TCP Data received {"connection_id":177526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:39:13] local.INFO: Processing buffer {"connection_id":177526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:39:13] local.INFO: Packet analysis {"connection_id":177526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:39:13] local.INFO: Extracted packet for processing {"connection_id":177526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:39: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-09-10 09:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:39:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":177526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:39:13] local.INFO: GPS data processed {"connection_id":177526,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:39:13] local.INFO: Acknowledgment sent {"connection_id":177526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:39:22] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:39:22] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:39:22] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:39:27] local.INFO: TCP Data received {"connection_id":178911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089808b50012d0d264007041890001400ab1b..."} 
[2026-09-10 09:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089808b50012d0d264007041890001400ab1b..."} 
[2026-09-10 09:39:27] local.INFO: Processing buffer {"connection_id":178911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089808b50012d0d264007041890001400ab1b..."} 
[2026-09-10 09:39:27] local.INFO: Packet analysis {"connection_id":178911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:27] local.INFO: Extracted packet for processing {"connection_id":178911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":755836480,"raw_latitude":117708944,"longitude_deg":75.583648,"latitude_deg":11.7708944,"altitude":20,"angle":171,"satellites":27,"speed":7,"hex_longitude":"2d0d2640","hex_latitude":"07041890","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987402752001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31122711711318016,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947655907974557696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39: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-09-10 09:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789013298000,"timestamp_ms":1789013298000,"timestamp_seconds":1789013298,"priority":1,"record_length":96,"hex_timestamp":"000001a089808b50"} 
[2026-09-10 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-09-10 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":178911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":178911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":178911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987402752001,"66":14537,"17":206,"94":11008,"24":7,"16":31122711711318016,"45":947655907974557696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 09:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987402752001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:39:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31122711711318016,"km_value":31122711711318.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":947655907974557696,"description":"Unknown IO ID 45"} 
[2026-09-10 09:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987402752001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":947655907974557696}} 
[2026-09-10 09:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":178911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793056,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:39:27] local.INFO: GPS data processed {"connection_id":178911,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:39:27] local.INFO: Acknowledgment sent {"connection_id":178911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:39:27] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:39:27] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:39:27] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:39:28] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:39:28] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:39:28] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:28] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:39:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:39:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:39:28] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:39:28] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:39:33] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:39:33] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:39:33] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:33] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 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-09-10 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:39:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:39:33] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:39:33] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:39:36] local.INFO: TCP Data received {"connection_id":176131,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:39:36] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:39:36] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:39:41] local.INFO: TCP Data received {"connection_id":176131,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:39:41] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:39:41] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:39:42] local.INFO: TCP Data received {"connection_id":176131,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:39:42] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:39:42] local.INFO: Packet analysis {"connection_id":176131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:39:42] local.INFO: Extracted packet for processing {"connection_id":176131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:39: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-09-10 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":176131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:39:42] local.INFO: GPS data processed {"connection_id":176131,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:39:42] local.INFO: Acknowledgment sent {"connection_id":176131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:39:49] local.INFO: TCP Data received {"connection_id":177527,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:39:49] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:39:49] local.INFO: IMEI packet received {"connection_id":177527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":177527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:39:54] local.INFO: TCP Data received {"connection_id":177527,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:39:54] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:39:54] local.INFO: IMEI packet received {"connection_id":177527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":177527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:39:54] local.INFO: TCP Data received {"connection_id":177527,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08980d970012d0d2840070404e8001300b419..."} 
[2026-09-10 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980d970012d0d2840070404e8001300b419..."} 
[2026-09-10 09:39:54] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980d970012d0d2840070404e8001300b419..."} 
[2026-09-10 09:39:54] local.INFO: Packet analysis {"connection_id":177527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:54] local.INFO: Extracted packet for processing {"connection_id":177527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755836992,"raw_latitude":117703912,"longitude_deg":75.5836992,"latitude_deg":11.7703912,"altitude":19,"angle":180,"satellites":25,"speed":11,"hex_longitude":"2d0d2840","hex_latitude":"070404e8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987404288001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31122960819421184,"note":"Value kept but may cause issues"} 
[2026-09-10 09:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947515170485735424,"note":"Value kept but may cause issues"} 
[2026-09-10 09: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-09-10 09:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013318000,"timestamp_ms":1789013318000,"timestamp_seconds":1789013318,"priority":1,"record_length":96,"hex_timestamp":"000001a08980d970"} 
[2026-09-10 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-09-10 09:39: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-09-10 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 09:39: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-09-10 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-09-10 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-09-10 09:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987404288001,"66":14515,"17":206,"94":11008,"24":11,"16":31122960819421184,"45":947515170485735424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 09:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987404288001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:39:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31122960819421184,"km_value":31122960819421.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":947515170485735424,"description":"Unknown IO ID 45"} 
[2026-09-10 09:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987404288001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":947515170485735424}} 
[2026-09-10 09:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":177527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:39:55] local.INFO: GPS data processed {"connection_id":177527,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:39:55] local.INFO: Acknowledgment sent {"connection_id":177527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:40:13] local.INFO: TCP Data received {"connection_id":176131,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:40:13] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:40:13] local.INFO: Packet analysis {"connection_id":176131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:40:13] local.INFO: Extracted packet for processing {"connection_id":176131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:40:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:40: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-09-10 09:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:40:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":176131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:40:13] local.INFO: GPS data processed {"connection_id":176131,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:40:13] local.INFO: Acknowledgment sent {"connection_id":176131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:40:17] local.INFO: TCP Data received {"connection_id":177528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:40:17] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:40:17] local.INFO: IMEI packet received {"connection_id":177528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":177528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:40:22] local.INFO: TCP Data received {"connection_id":177528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:40:22] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:40:22] local.INFO: IMEI packet received {"connection_id":177528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":177528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:40:23] local.INFO: TCP Data received {"connection_id":177528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:40:23] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:40:23] local.INFO: Packet analysis {"connection_id":177528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:40:23] local.INFO: Extracted packet for processing {"connection_id":177528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:40:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:40:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":177528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:40:23] local.INFO: GPS data processed {"connection_id":177528,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:40:23] local.INFO: Acknowledgment sent {"connection_id":177528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:40:26] local.INFO: TCP Data received {"connection_id":177527,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089822960012d0d2c800703cc780011013c22..."} 
[2026-09-10 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089822960012d0d2c800703cc780011013c22..."} 
[2026-09-10 09:40:26] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089822960012d0d2c800703cc780011013c22..."} 
[2026-09-10 09:40:26] local.INFO: Packet analysis {"connection_id":177527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:40:26] local.INFO: Extracted packet for processing {"connection_id":177527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689464,"longitude_deg":75.583808,"latitude_deg":11.7689464,"altitude":17,"angle":316,"satellites":34,"speed":4,"hex_longitude":"2d0d2c80","hex_latitude":"0703cc78","is_valid_coordinates":true} 
[2026-09-10 09:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987431168001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31123806927978496,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829353472,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40: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-09-10 09:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789013404000,"timestamp_ms":1789013404000,"timestamp_seconds":1789013404,"priority":1,"record_length":96,"hex_timestamp":"000001a089822960"} 
[2026-09-10 09:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":201,"data_length":795,"current_offset":136} 
[2026-09-10 09:40: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-09-10 09:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987431168001,"66":14537,"16":31123806927978496,"94":11008,"24":4,"45":949344757829353472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987431168001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31123806927978496,"km_value":31123806927978.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829353472,"description":"Unknown IO ID 45"} 
[2026-09-10 09:40:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987431168001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":949344757829353472}} 
[2026-09-10 09:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":177527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:40:26] local.INFO: GPS data processed {"connection_id":177527,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:40:26] local.INFO: Acknowledgment sent {"connection_id":177527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:40:36] local.INFO: TCP Data received {"connection_id":176371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:40:36] local.INFO: Processing buffer {"connection_id":176371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:40:36] local.INFO: IMEI packet received {"connection_id":176371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":176371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:40:41] local.INFO: TCP Data received {"connection_id":176371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:40:41] local.INFO: Processing buffer {"connection_id":176371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:40:41] local.INFO: IMEI packet received {"connection_id":176371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":176371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:40:42] local.INFO: TCP Data received {"connection_id":176371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:40:42] local.INFO: Processing buffer {"connection_id":176371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:40:42] local.INFO: Packet analysis {"connection_id":176371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:40:42] local.INFO: Extracted packet for processing {"connection_id":176371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:40:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:40: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-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":176371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:40:42] local.INFO: GPS data processed {"connection_id":176371,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:40:42] local.INFO: Acknowledgment sent {"connection_id":176371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:40:49] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:49] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:49] local.INFO: IMEI packet received {"connection_id":176372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":176372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:40:52] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:52] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:52] local.INFO: IMEI packet received {"connection_id":176372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":176372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:40:54] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:54] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:40:54] local.INFO: IMEI packet received {"connection_id":176372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":176372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:40:54] local.INFO: TCP Data received {"connection_id":177528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:40:54] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:40:54] local.INFO: Packet analysis {"connection_id":177528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:40:54] local.INFO: Extracted packet for processing {"connection_id":177528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:40:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":177528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:40:54] local.INFO: GPS data processed {"connection_id":177528,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:40:54] local.INFO: Acknowledgment sent {"connection_id":177528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:40:54] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089822d48012d0d2c400703cce00011014922..."} 
[2026-09-10 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089822d48012d0d2c400703cce00011014922..."} 
[2026-09-10 09:40:55] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089822d48012d0d2c400703cce00011014922..."} 
[2026-09-10 09:40:55] local.INFO: Packet analysis {"connection_id":176372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:40:55] local.INFO: Extracted packet for processing {"connection_id":176372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689568,"longitude_deg":75.5838016,"latitude_deg":11.7689568,"altitude":17,"angle":329,"satellites":34,"speed":6,"hex_longitude":"2d0d2c40","hex_latitude":"0703cce0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987431424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31123811222945792,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085190144,"note":"Value kept but may cause issues"} 
[2026-09-10 09:40: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-09-10 09:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013405000,"timestamp_ms":1789013405000,"timestamp_seconds":1789013405,"priority":1,"record_length":96,"hex_timestamp":"000001a089822d48"} 
[2026-09-10 09:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 09:40: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-09-10 09: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-09-10 09:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987431424001,"66":14363,"16":31123811222945792,"94":11008,"24":6,"45":949274389085190144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987431424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31123811222945792,"km_value":31123811222945.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:40:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085190144,"description":"Unknown IO ID 45"} 
[2026-09-10 09:40:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987431424001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":949274389085190144}} 
[2026-09-10 09:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":176372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793066,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:40:55] local.INFO: GPS data processed {"connection_id":176372,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:40:55] local.INFO: Acknowledgment sent {"connection_id":176372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:41:13] local.INFO: TCP Data received {"connection_id":176371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:41:13] local.INFO: Processing buffer {"connection_id":176371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:41:13] local.INFO: Packet analysis {"connection_id":176371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:41:13] local.INFO: Extracted packet for processing {"connection_id":176371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:41: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-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:41: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-09-10 09:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:41:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":176371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:41:13] local.INFO: GPS data processed {"connection_id":176371,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:41:13] local.INFO: Acknowledgment sent {"connection_id":176371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:41:17] local.INFO: TCP Data received {"connection_id":178912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:41:17] local.INFO: Processing buffer {"connection_id":178912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:41:17] local.INFO: IMEI packet received {"connection_id":178912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":178912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:41:22] local.INFO: TCP Data received {"connection_id":178912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:41:22] local.INFO: Processing buffer {"connection_id":178912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:41:22] local.INFO: IMEI packet received {"connection_id":178912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":178912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:41:23] local.INFO: TCP Data received {"connection_id":178912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:41:23] local.INFO: Processing buffer {"connection_id":178912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:41:23] local.INFO: Packet analysis {"connection_id":178912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:41:23] local.INFO: Extracted packet for processing {"connection_id":178912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:41:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:41:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":178912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:41:23] local.INFO: GPS data processed {"connection_id":178912,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:41:23] local.INFO: Acknowledgment sent {"connection_id":178912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:41:25] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089823130012d0d2c000703cd780011015f22..."} 
[2026-09-10 09:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089823130012d0d2c000703cd780011015f22..."} 
[2026-09-10 09:41:25] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089823130012d0d2c000703cd780011015f22..."} 
[2026-09-10 09:41:25] local.INFO: Packet analysis {"connection_id":176372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:41:25] local.INFO: Extracted packet for processing {"connection_id":176372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:41:25] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117689720,"longitude_deg":75.5837952,"latitude_deg":11.768972,"altitude":17,"angle":351,"satellites":34,"speed":8,"hex_longitude":"2d0d2c00","hex_latitude":"0703cd78","is_valid_coordinates":true} 
[2026-09-10 09:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987431680001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31123819812880384,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341039104,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789013406000,"timestamp_ms":1789013406000,"timestamp_seconds":1789013406,"priority":1,"record_length":96,"hex_timestamp":"000001a089823130"} 
[2026-09-10 09:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 09:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987431680001,"66":14363,"16":31123819812880384,"94":11008,"24":8,"45":949204020341039104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987431680001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31123819812880384,"km_value":31123819812880.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:41:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341039104,"description":"Unknown IO ID 45"} 
[2026-09-10 09:41:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987431680001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":949204020341039104}} 
[2026-09-10 09:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":176372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:41:26] local.INFO: GPS data processed {"connection_id":176372,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:41:26] local.INFO: Acknowledgment sent {"connection_id":176372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:41:41] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:41:41] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:41:41] local.INFO: IMEI packet received {"connection_id":176132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":176132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:41:46] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:41:46] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:41:46] local.INFO: IMEI packet received {"connection_id":176132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":176132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:41:47] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:41:47] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0897f6658012cee6fc0072e2d50003a00ee24..."} 
[2026-09-10 09:41:47] local.INFO: Packet analysis {"connection_id":176132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:41:47] local.INFO: Extracted packet for processing {"connection_id":176132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0897f"} 
[2026-09-10 09:41:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":58,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987308032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789013223000,"timestamp_ms":1789013223000,"timestamp_seconds":1789013223,"priority":1,"record_length":96,"hex_timestamp":"000001a0897f6658"} 
[2026-09-10 09:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987308032001,"66":25778,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987308032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:41:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987308032001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":176132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:41:47] local.INFO: GPS data processed {"connection_id":176132,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:41:47] local.INFO: Acknowledgment sent {"connection_id":176132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:41:49] local.INFO: TCP Data received {"connection_id":178913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:41:49] local.INFO: Processing buffer {"connection_id":178913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:41:49] local.INFO: IMEI packet received {"connection_id":178913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":178913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:41:51] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089833300012cee6fc0072e2d50003d00ee25..."} 
[2026-09-10 09:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089833300012cee6fc0072e2d50003d00ee25..."} 
[2026-09-10 09:41:51] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089833300012cee6fc0072e2d50003d00ee25..."} 
[2026-09-10 09:41:51] local.INFO: Packet analysis {"connection_id":176132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:41:51] local.INFO: Extracted packet for processing {"connection_id":176132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:41:51] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":61,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-09-10 09:41: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-09-10 09:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987385088001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789013472000,"timestamp_ms":1789013472000,"timestamp_seconds":1789013472,"priority":1,"record_length":96,"hex_timestamp":"000001a089833300"} 
[2026-09-10 09:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 09:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987385088001,"66":25702,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987385088001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:41:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987385088001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":176132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:41:51] local.INFO: GPS data processed {"connection_id":176132,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:41:51] local.INFO: Acknowledgment sent {"connection_id":176132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:41:54] local.INFO: TCP Data received {"connection_id":178913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:41:54] local.INFO: Processing buffer {"connection_id":178913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:41:54] local.INFO: IMEI packet received {"connection_id":178913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":178913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:41:54] local.INFO: TCP Data received {"connection_id":178912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:41:54] local.INFO: Processing buffer {"connection_id":178912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:41:54] local.INFO: Packet analysis {"connection_id":178912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:41:54] local.INFO: Extracted packet for processing {"connection_id":178912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:41:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:41:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":178912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:41:54] local.INFO: GPS data processed {"connection_id":178912,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:41:54] local.INFO: Acknowledgment sent {"connection_id":178912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:41:55] local.INFO: TCP Data received {"connection_id":178913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089827f50012d0d28c00703eeb80013016421..."} 
[2026-09-10 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089827f50012d0d28c00703eeb80013016421..."} 
[2026-09-10 09:41:55] local.INFO: Processing buffer {"connection_id":178913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089827f50012d0d28c00703eeb80013016421..."} 
[2026-09-10 09:41:55] local.INFO: Packet analysis {"connection_id":178913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:41:55] local.INFO: Extracted packet for processing {"connection_id":178913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755837120,"raw_latitude":117698232,"longitude_deg":75.583712,"latitude_deg":11.7698232,"altitude":19,"angle":356,"satellites":33,"speed":14,"hex_longitude":"2d0d28c0","hex_latitude":"0703eeb8","is_valid_coordinates":true} 
[2026-09-10 09:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987431936001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31124236424708096,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651596900352,"note":"Value kept but may cause issues"} 
[2026-09-10 09:41: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-09-10 09:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013426000,"timestamp_ms":1789013426000,"timestamp_seconds":1789013426,"priority":1,"record_length":96,"hex_timestamp":"000001a089827f50"} 
[2026-09-10 09:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 09:41: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-09-10 09:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987431936001,"66":14450,"16":31124236424708096,"94":11008,"24":14,"45":949133651596900352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987431936001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31124236424708096,"km_value":31124236424708.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:41:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651596900352,"description":"Unknown IO ID 45"} 
[2026-09-10 09:41:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987431936001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":949133651596900352}} 
[2026-09-10 09:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":178913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793073,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:41:55] local.INFO: GPS data processed {"connection_id":178913,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:41:55] local.INFO: Acknowledgment sent {"connection_id":178913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:42:17] local.INFO: TCP Data received {"connection_id":177529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:42:17] local.INFO: Processing buffer {"connection_id":177529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:42:17] local.INFO: IMEI packet received {"connection_id":177529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":177529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:42:22] local.INFO: TCP Data received {"connection_id":177529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:42:22] local.INFO: Processing buffer {"connection_id":177529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:42:22] local.INFO: IMEI packet received {"connection_id":177529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":177529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:42:23] local.INFO: TCP Data received {"connection_id":177529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:42:23] local.INFO: Processing buffer {"connection_id":177529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:42:23] local.INFO: Packet analysis {"connection_id":177529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:42:23] local.INFO: Extracted packet for processing {"connection_id":177529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:42:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:42:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":177529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:42:24] local.INFO: GPS data processed {"connection_id":177529,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:42:24] local.INFO: Acknowledgment sent {"connection_id":177529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:42:29] local.INFO: TCP Data received {"connection_id":178913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08982c5a0012d0d278007040618001400081f..."} 
[2026-09-10 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08982c5a0012d0d278007040618001400081f..."} 
[2026-09-10 09:42:29] local.INFO: Processing buffer {"connection_id":178913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08982c5a0012d0d278007040618001400081f..."} 
[2026-09-10 09:42:29] local.INFO: Packet analysis {"connection_id":178913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:42:29] local.INFO: Extracted packet for processing {"connection_id":178913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08982"} 
[2026-09-10 09:42:29] local.INFO: GPS Element Parsed {"raw_longitude":755836800,"raw_latitude":117704216,"longitude_deg":75.58368,"latitude_deg":11.7704216,"altitude":20,"angle":8,"satellites":31,"speed":13,"hex_longitude":"2d0d2780","hex_latitude":"07040618","is_valid_coordinates":true} 
[2026-09-10 09:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987437056001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31124528482484224,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948218857924769792,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789013444000,"timestamp_ms":1789013444000,"timestamp_seconds":1789013444,"priority":1,"record_length":96,"hex_timestamp":"000001a08982c5a0"} 
[2026-09-10 09:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:42: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-09-10 09:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987437056001,"66":14450,"16":31124528482484224,"94":11008,"24":13,"45":948218857924769792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987437056001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31124528482484224,"km_value":31124528482484.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:42:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":948218857924769792,"description":"Unknown IO ID 45"} 
[2026-09-10 09:42:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987437056001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":948218857924769792}} 
[2026-09-10 09:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":178913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:42:29] local.INFO: GPS data processed {"connection_id":178913,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:42:29] local.INFO: Acknowledgment sent {"connection_id":178913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:42:38] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:38] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:38] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:42:41] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:41] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:41] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:42:41] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:41] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:41] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:42:46] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:46] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:42:46] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:42:47] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898388f0012cee6fc0072e2c40003c00f125..."} 
[2026-09-10 09:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898388f0012cee6fc0072e2c40003c00f125..."} 
[2026-09-10 09:42:47] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898388f0012cee6fc0072e2c40003c00f125..."} 
[2026-09-10 09:42:47] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:42:47] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:42:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466496,"longitude_deg":75.382368,"latitude_deg":12.0466496,"altitude":60,"angle":241,"satellites":37,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c40","is_valid_coordinates":true} 
[2026-09-10 09:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987448832001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688627600621568,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789013494000,"timestamp_ms":1789013494000,"timestamp_seconds":1789013494,"priority":1,"record_length":96,"hex_timestamp":"000001a0898388f0"} 
[2026-09-10 09:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 09:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987448832001,"66":27876,"219":206,"83":44032,"24":0,"16":403688627600621568,"44":-1265581833195794432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987448832001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:42:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688627600621568,"km_value":403688627600621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:42:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-09-10 09:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987448832001,"power":27876,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-09-10 09:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:42:47] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:42:47] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:42:48] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08983daf8012cee6fc0072e2c58003b00f124..."} 
[2026-09-10 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08983daf8012cee6fc0072e2c58003b00f124..."} 
[2026-09-10 09:42:48] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08983daf8012cee6fc0072e2c58003b00f124..."} 
[2026-09-10 09:42:48] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:42:48] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":59,"angle":241,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-09-10 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987454464001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688631895588864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195864064,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789013515000,"timestamp_ms":1789013515000,"timestamp_seconds":1789013515,"priority":1,"record_length":96,"hex_timestamp":"000001a08983daf8"} 
[2026-09-10 09:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 09:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987454464001,"66":27908,"219":206,"83":44032,"24":0,"16":403688631895588864,"44":-1265581833195864064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987454464001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:42:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688631895588864,"km_value":403688631895588.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195864064,"description":"Unknown IO ID 44"} 
[2026-09-10 09:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987454464001,"power":27908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195864064}} 
[2026-09-10 09:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:42:48] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:42:48] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:42:50] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08983e6b0012cee6fc0072e2c68003b003124..."} 
[2026-09-10 09:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08983e6b0012cee6fc0072e2c68003b003124..."} 
[2026-09-10 09:42:50] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08983e6b0012cee6fc0072e2c68003b003124..."} 
[2026-09-10 09:42:50] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:42:50] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:42:50] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466536,"longitude_deg":75.382368,"latitude_deg":12.0466536,"altitude":59,"angle":49,"satellites":36,"speed":1,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c68","is_valid_coordinates":true} 
[2026-09-10 09:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987459840001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688631895588864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789013518000,"timestamp_ms":1789013518000,"timestamp_seconds":1789013518,"priority":1,"record_length":96,"hex_timestamp":"000001a08983e6b0"} 
[2026-09-10 09:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 09:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987459840001,"66":27865,"219":206,"83":44032,"24":1,"16":403688631895588864,"44":-1265581833195857920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987459840001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:42:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688631895588864,"km_value":403688631895588.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-09-10 09:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987459840001,"power":27865,"unknown_219":206,"unknown_83":44032,"ignition":1,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-09-10 09:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:42:50] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:42:50] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:42:54] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:42:54] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:42:54] local.INFO: IMEI packet received {"connection_id":176133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":176133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:42:56] local.INFO: TCP Data received {"connection_id":177529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:42:56] local.INFO: Processing buffer {"connection_id":177529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:42:56] local.INFO: Packet analysis {"connection_id":177529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:42:56] local.INFO: Extracted packet for processing {"connection_id":177529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:42:56] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:42:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":177529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:42:56] local.INFO: GPS data processed {"connection_id":177529,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:42:56] local.INFO: Acknowledgment sent {"connection_id":177529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:00] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:00] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:00] local.INFO: IMEI packet received {"connection_id":176133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":176133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:43:00] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:00] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:00] local.INFO: IMEI packet received {"connection_id":176133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":176133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:43:01] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089841590012d0d2940070442900017000b1f..."} 
[2026-09-10 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089841590012d0d2940070442900017000b1f..."} 
[2026-09-10 09:43:01] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089841590012d0d2940070442900017000b1f..."} 
[2026-09-10 09:43:01] local.INFO: Packet analysis {"connection_id":176133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:01] local.INFO: Extracted packet for processing {"connection_id":176133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:01] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117719696,"longitude_deg":75.5837248,"latitude_deg":11.7719696,"altitude":23,"angle":11,"satellites":31,"speed":13,"hex_longitude":"2d0d2940","hex_latitude":"07044290","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987462144001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31125301576597504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947585539232221184,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789013530000,"timestamp_ms":1789013530000,"timestamp_seconds":1789013530,"priority":1,"record_length":96,"hex_timestamp":"000001a089841590"} 
[2026-09-10 09:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 09:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987462144001,"66":14515,"16":31125301576597504,"94":11008,"24":13,"45":947585539232221184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987462144001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31125301576597504,"km_value":31125301576597.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":947585539232221184,"description":"Unknown IO ID 45"} 
[2026-09-10 09:43:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987462144001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":947585539232221184}} 
[2026-09-10 09:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":176133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:01] local.INFO: GPS data processed {"connection_id":176133,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:01] local.INFO: Acknowledgment sent {"connection_id":176133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:05] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898463b0012d0d2d80070459e00018000820..."} 
[2026-09-10 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898463b0012d0d2d80070459e00018000820..."} 
[2026-09-10 09:43:05] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898463b0012d0d2d80070459e00018000820..."} 
[2026-09-10 09:43:05] local.INFO: Packet analysis {"connection_id":176133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:05] local.INFO: Extracted packet for processing {"connection_id":176133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:05] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117725664,"longitude_deg":75.5838336,"latitude_deg":11.7725664,"altitude":24,"angle":8,"satellites":32,"speed":14,"hex_longitude":"2d0d2d80","hex_latitude":"070459e0","is_valid_coordinates":true} 
[2026-09-10 09:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987463680001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31125597929340928,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948359595418619904,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789013550000,"timestamp_ms":1789013550000,"timestamp_seconds":1789013550,"priority":1,"record_length":96,"hex_timestamp":"000001a0898463b0"} 
[2026-09-10 09:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09: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-09-10 09: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":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987463680001,"66":14461,"16":31125597929340928,"94":11008,"24":14,"45":948359595418619904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987463680001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31125597929340928,"km_value":31125597929340.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":948359595418619904,"description":"Unknown IO ID 45"} 
[2026-09-10 09:43:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987463680001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":948359595418619904}} 
[2026-09-10 09:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":176133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793081,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:05] local.INFO: GPS data processed {"connection_id":176133,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:05] local.INFO: Acknowledgment sent {"connection_id":176133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:17] local.INFO: TCP Data received {"connection_id":178914,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:43:17] local.INFO: Processing buffer {"connection_id":178914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:43:17] local.INFO: IMEI packet received {"connection_id":178914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":178914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:43:21] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08983ee80012cee7040072e2ca0003a001c25..."} 
[2026-09-10 09:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08983ee80012cee7040072e2ca0003a001c25..."} 
[2026-09-10 09:43:21] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08983ee80012cee7040072e2ca0003a001c25..."} 
[2026-09-10 09:43:21] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:43:21] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:43:21] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466592,"longitude_deg":75.3823808,"latitude_deg":12.0466592,"altitude":58,"angle":28,"satellites":37,"speed":1,"hex_longitude":"2cee7040","hex_latitude":"072e2ca0","is_valid_coordinates":true} 
[2026-09-10 09:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987460608001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688640485523456,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195853824,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789013520000,"timestamp_ms":1789013520000,"timestamp_seconds":1789013520,"priority":1,"record_length":96,"hex_timestamp":"000001a08983ee80"} 
[2026-09-10 09:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 09:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987460608001,"66":27995,"219":206,"83":44032,"24":1,"16":403688640485523456,"44":-1265581833195853824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987460608001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688640485523456,"km_value":403688640485523.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195853824,"description":"Unknown IO ID 44"} 
[2026-09-10 09:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987460608001,"power":27995,"unknown_219":206,"unknown_83":44032,"ignition":1,"odometer":null,"unknown_44":-1265581833195853824}} 
[2026-09-10 09:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:21] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:21] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:22] local.INFO: TCP Data received {"connection_id":178914,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:43:22] local.INFO: Processing buffer {"connection_id":178914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:43:22] local.INFO: IMEI packet received {"connection_id":178914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":178914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:43:23] local.INFO: TCP Data received {"connection_id":178914,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:43:23] local.INFO: Processing buffer {"connection_id":178914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08980f8b0012d7d288005ea8a10000700b425..."} 
[2026-09-10 09:43:23] local.INFO: Packet analysis {"connection_id":178914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:43:23] local.INFO: Extracted packet for processing {"connection_id":178914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08980"} 
[2026-09-10 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987335424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013326000,"timestamp_ms":1789013326000,"timestamp_seconds":1789013326,"priority":1,"record_length":96,"hex_timestamp":"000001a08980f8b0"} 
[2026-09-10 09:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 09:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987335424001,"66":2394,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018880491684247552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987335424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:43:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 09:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987335424001,"power":2394,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 09:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":178914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:23] local.INFO: GPS data processed {"connection_id":178914,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:23] local.INFO: Acknowledgment sent {"connection_id":178914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:36] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:36] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:36] local.INFO: IMEI packet received {"connection_id":176374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":176374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:43:37] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:37] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:37] local.INFO: IMEI packet received {"connection_id":176374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":176374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:43:41] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:41] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:43:41] local.INFO: IMEI packet received {"connection_id":176374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":176374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:43:45] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08983fa38012cee7080072e2d08003a000e26..."} 
[2026-09-10 09:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08983fa38012cee7080072e2d08003a000e26..."} 
[2026-09-10 09:43:45] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08983fa38012cee7080072e2d08003a000e26..."} 
[2026-09-10 09:43:45] local.INFO: Packet analysis {"connection_id":176374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:43:45] local.INFO: Extracted packet for processing {"connection_id":176374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08983"} 
[2026-09-10 09:43:45] local.INFO: GPS Element Parsed {"raw_longitude":753823872,"raw_latitude":120466696,"longitude_deg":75.3823872,"latitude_deg":12.0466696,"altitude":58,"angle":14,"satellites":38,"speed":1,"hex_longitude":"2cee7080","hex_latitude":"072e2d08","is_valid_coordinates":true} 
[2026-09-10 09:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987461120001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688644780490752,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707484160,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789013523000,"timestamp_ms":1789013523000,"timestamp_seconds":1789013523,"priority":1,"record_length":96,"hex_timestamp":"000001a08983fa38"} 
[2026-09-10 09:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 09:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987461120001,"66":27832,"219":206,"83":44032,"24":1,"16":403688644780490752,"44":-1265441095707484160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-10 09:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987461120001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 09:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688644780490752,"km_value":403688644780490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707484160,"description":"Unknown IO ID 44"} 
[2026-09-10 09:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987461120001,"power":27832,"unknown_219":206,"unknown_83":44032,"ignition":1,"odometer":null,"unknown_44":-1265441095707484160}} 
[2026-09-10 09:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":176374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:45] local.INFO: GPS data processed {"connection_id":176374,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:45] local.INFO: Acknowledgment sent {"connection_id":176374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:46] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898411a8012cee7100072e2e78003a015e27..."} 
[2026-09-10 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898411a8012cee7100072e2e78003a015e27..."} 
[2026-09-10 09:43:46] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898411a8012cee7100072e2e78003a015e27..."} 
[2026-09-10 09:43:46] local.INFO: Packet analysis {"connection_id":176374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:46] local.INFO: Extracted packet for processing {"connection_id":176374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120467064,"longitude_deg":75.3824,"latitude_deg":12.0467064,"altitude":58,"angle":350,"satellites":39,"speed":5,"hex_longitude":"2cee7100","hex_latitude":"072e2e78","is_valid_coordinates":true} 
[2026-09-10 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987461888001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688666255327232,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265370726963279872,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789013529000,"timestamp_ms":1789013529000,"timestamp_seconds":1789013529,"priority":1,"record_length":96,"hex_timestamp":"000001a0898411a8"} 
[2026-09-10 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 09:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987461888001,"66":27876,"229":206,"83":44032,"24":5,"16":403688666255327232,"44":-1265370726963279872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-10 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987461888001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:46] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-10 09:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688666255327232,"km_value":403688666255327.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265370726963279872,"description":"Unknown IO ID 44"} 
[2026-09-10 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987461888001,"power":27876,"unknown_229":206,"unknown_83":44032,"ignition":5,"odometer":null,"unknown_44":-1265370726963279872}} 
[2026-09-10 09:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":176374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:46] local.INFO: GPS data processed {"connection_id":176374,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:46] local.INFO: Acknowledgment sent {"connection_id":176374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:49] local.INFO: TCP Data received {"connection_id":178915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:49] local.INFO: Processing buffer {"connection_id":178915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:49] local.INFO: IMEI packet received {"connection_id":178915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":178915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:43:51] local.INFO: TCP Data received {"connection_id":178915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:51] local.INFO: Processing buffer {"connection_id":178915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:51] local.INFO: IMEI packet received {"connection_id":178915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":178915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:43:54] local.INFO: TCP Data received {"connection_id":178914,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:43:54] local.INFO: Processing buffer {"connection_id":178914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:43:54] local.INFO: Packet analysis {"connection_id":178914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:43:54] local.INFO: Extracted packet for processing {"connection_id":178914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:43: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-09-10 09: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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:43:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":178914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:54] local.INFO: GPS data processed {"connection_id":178914,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:54] local.INFO: Acknowledgment sent {"connection_id":178914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:43:54] local.INFO: TCP Data received {"connection_id":178915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:54] local.INFO: Processing buffer {"connection_id":178915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:43:54] local.INFO: IMEI packet received {"connection_id":178915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":178915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:43:55] local.INFO: TCP Data received {"connection_id":178915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089846b80012d0d2e8007045cc00018001521..."} 
[2026-09-10 09:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089846b80012d0d2e8007045cc00018001521..."} 
[2026-09-10 09:43:55] local.INFO: Processing buffer {"connection_id":178915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089846b80012d0d2e8007045cc00018001521..."} 
[2026-09-10 09:43:55] local.INFO: Packet analysis {"connection_id":178915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:55] local.INFO: Extracted packet for processing {"connection_id":178915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117726400,"longitude_deg":75.5838592,"latitude_deg":11.77264,"altitude":24,"angle":21,"satellites":33,"speed":16,"hex_longitude":"2d0d2e80","hex_latitude":"07045cc0","is_valid_coordinates":true} 
[2026-09-10 09:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987468800001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31125636584046592,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864071168000,"note":"Value kept but may cause issues"} 
[2026-09-10 09:43: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-09-10 09:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013552000,"timestamp_ms":1789013552000,"timestamp_seconds":1789013552,"priority":1,"record_length":96,"hex_timestamp":"000001a089846b80"} 
[2026-09-10 09:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 09:43: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-09-10 09:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987468800001,"66":14537,"16":31125636584046592,"94":11008,"24":16,"45":949555864071168000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987468800001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31125636584046592,"km_value":31125636584046.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:43:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864071168000,"description":"Unknown IO ID 45"} 
[2026-09-10 09:43:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987468800001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":949555864071168000}} 
[2026-09-10 09:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":178915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793087,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:43:55] local.INFO: GPS data processed {"connection_id":178915,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:43:55] local.INFO: Acknowledgment sent {"connection_id":178915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:44:17] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089841590012cee70c0072e2f40003a015127..."} 
[2026-09-10 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089841590012cee70c0072e2f40003a015127..."} 
[2026-09-10 09:44:17] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089841590012cee70c0072e2f40003a015127..."} 
[2026-09-10 09:44:17] local.INFO: Packet analysis {"connection_id":176374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:44:17] local.INFO: Extracted packet for processing {"connection_id":176374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":753823936,"raw_latitude":120467264,"longitude_deg":75.3823936,"latitude_deg":12.0467264,"altitude":58,"angle":337,"satellites":39,"speed":10,"hex_longitude":"2cee70c0","hex_latitude":"072e2f40","is_valid_coordinates":true} 
[2026-09-10 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987463424001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688679140229120,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474830336,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789013530000,"timestamp_ms":1789013530000,"timestamp_seconds":1789013530,"priority":1,"record_length":96,"hex_timestamp":"000001a089841590"} 
[2026-09-10 09:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 09:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987463424001,"66":27876,"229":206,"83":44032,"24":10,"16":403688679140229120,"44":-1265229989474830336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-10 09:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987463424001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:44:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-10 09:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688679140229120,"km_value":403688679140229.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474830336,"description":"Unknown IO ID 44"} 
[2026-09-10 09:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987463424001,"power":27876,"unknown_229":206,"unknown_83":44032,"ignition":10,"odometer":null,"unknown_44":-1265229989474830336}} 
[2026-09-10 09:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":176374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:44:17] local.INFO: GPS data processed {"connection_id":176374,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:44:17] local.INFO: Acknowledgment sent {"connection_id":176374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:44:22] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:44:22] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:44:22] local.INFO: IMEI packet received {"connection_id":176134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":176134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:44:26] local.INFO: TCP Data received {"connection_id":178915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898482f0012d0d318007046440001900091f..."} 
[2026-09-10 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898482f0012d0d318007046440001900091f..."} 
[2026-09-10 09:44:26] local.INFO: Processing buffer {"connection_id":178915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898482f0012d0d318007046440001900091f..."} 
[2026-09-10 09:44:26] local.INFO: Packet analysis {"connection_id":178915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:44:26] local.INFO: Extracted packet for processing {"connection_id":178915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:44:26] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117728320,"longitude_deg":75.583936,"latitude_deg":11.772832,"altitude":25,"angle":9,"satellites":31,"speed":12,"hex_longitude":"2d0d3180","hex_latitude":"07046440","is_valid_coordinates":true} 
[2026-09-10 09:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987469312001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31125735368294400,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339048067072,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44: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-09-10 09:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789013558000,"timestamp_ms":1789013558000,"timestamp_seconds":1789013558,"priority":1,"record_length":96,"hex_timestamp":"000001a0898482f0"} 
[2026-09-10 09:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09: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-09-10 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 09:44: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-09-10 09:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987469312001,"66":14548,"16":31125735368294400,"94":11008,"24":12,"45":949837339048067072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987469312001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31125735368294400,"km_value":31125735368294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:44:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339048067072,"description":"Unknown IO ID 45"} 
[2026-09-10 09:44:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987469312001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":949837339048067072}} 
[2026-09-10 09:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":178915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793089,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:44:27] local.INFO: GPS data processed {"connection_id":178915,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:44:27] local.INFO: Acknowledgment sent {"connection_id":178915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:44:27] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:44:27] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:44:27] local.INFO: IMEI packet received {"connection_id":176134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":176134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:44:28] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:44:28] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:44:28] local.INFO: Packet analysis {"connection_id":176134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:44:28] local.INFO: Extracted packet for processing {"connection_id":176134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:44:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:44:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":176134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:44:28] local.INFO: GPS data processed {"connection_id":176134,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:44:28] local.INFO: Acknowledgment sent {"connection_id":176134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:44:33] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:44:33] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:44:33] local.INFO: Packet analysis {"connection_id":176134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:44:33] local.INFO: Extracted packet for processing {"connection_id":176134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:44:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:44:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":176134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:44:33] local.INFO: GPS data processed {"connection_id":176134,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:44:33] local.INFO: Acknowledgment sent {"connection_id":176134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:44:36] local.INFO: TCP Data received {"connection_id":178916,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:44:36] local.INFO: Processing buffer {"connection_id":178916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:44:36] local.INFO: IMEI packet received {"connection_id":178916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":178916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:44:44] local.INFO: TCP Data received {"connection_id":178916,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:44:44] local.INFO: Processing buffer {"connection_id":178916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:44:44] local.INFO: IMEI packet received {"connection_id":178916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":178916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:44:51] local.INFO: TCP Data received {"connection_id":178916,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089841978012cee7040072e3038003a013e27..."} 
[2026-09-10 09:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089841978012cee7040072e3038003a013e27..."} 
[2026-09-10 09:44:51] local.INFO: Processing buffer {"connection_id":178916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089841978012cee7040072e3038003a013e27..."} 
[2026-09-10 09:44:51] local.INFO: Packet analysis {"connection_id":178916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:44:51] local.INFO: Extracted packet for processing {"connection_id":178916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08984"} 
[2026-09-10 09:44:51] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120467512,"longitude_deg":75.3823808,"latitude_deg":12.0467512,"altitude":58,"angle":318,"satellites":39,"speed":12,"hex_longitude":"2cee7040","hex_latitude":"072e3038","is_valid_coordinates":true} 
[2026-09-10 09:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987463680001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403688692025131008,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265300358218956800,"note":"Value kept but may cause issues"} 
[2026-09-10 09:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789013531000,"timestamp_ms":1789013531000,"timestamp_seconds":1789013531,"priority":1,"record_length":96,"hex_timestamp":"000001a089841978"} 
[2026-09-10 09:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:44: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-09-10 09:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 09:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987463680001,"66":27908,"229":206,"83":44032,"24":12,"16":403688692025131008,"44":-1265300358218956800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-10 09:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987463680001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403688692025131008,"km_value":403688692025131.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265300358218956800,"description":"Unknown IO ID 44"} 
[2026-09-10 09:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987463680001,"power":27908,"unknown_229":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1265300358218956800}} 
[2026-09-10 09:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":178916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:44:51] local.INFO: GPS data processed {"connection_id":178916,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:44:51] local.INFO: Acknowledgment sent {"connection_id":178916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:44:56] local.INFO: TCP Data received {"connection_id":177530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:56] local.INFO: Processing buffer {"connection_id":177530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:56] local.INFO: IMEI packet received {"connection_id":177530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":177530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:44:58] local.INFO: TCP Data received {"connection_id":177530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:58] local.INFO: Processing buffer {"connection_id":177530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:58] local.INFO: IMEI packet received {"connection_id":177530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":177530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:44:59] local.INFO: TCP Data received {"connection_id":177530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:59] local.INFO: Processing buffer {"connection_id":177530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:44:59] local.INFO: IMEI packet received {"connection_id":177530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":177530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:45:04] local.INFO: TCP Data received {"connection_id":177530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:04] local.INFO: Processing buffer {"connection_id":177530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:04] local.INFO: IMEI packet received {"connection_id":177530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":177530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:45:05] local.INFO: TCP Data received {"connection_id":177530,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898601c0012d0d04400704ba68002401151f..."} 
[2026-09-10 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898601c0012d0d04400704ba68002401151f..."} 
[2026-09-10 09:45:05] local.INFO: Processing buffer {"connection_id":177530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898601c0012d0d04400704ba68002401151f..."} 
[2026-09-10 09:45:05] local.INFO: Packet analysis {"connection_id":177530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:05] local.INFO: Extracted packet for processing {"connection_id":177530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":755827776,"raw_latitude":117750376,"longitude_deg":75.5827776,"latitude_deg":11.7750376,"altitude":36,"angle":277,"satellites":31,"speed":35,"hex_longitude":"2d0d0440","hex_latitude":"0704ba68","is_valid_coordinates":true} 
[2026-09-10 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987495168001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31127496304885760,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":940830139799449600,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45: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-09-10 09:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789013656000,"timestamp_ms":1789013656000,"timestamp_seconds":1789013656,"priority":1,"record_length":96,"hex_timestamp":"000001a0898601c0"} 
[2026-09-10 09:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:45: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-09-10 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987495168001,"66":14439,"17":206,"94":11008,"24":35,"16":31127496304885760,"45":940830139799449600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 09:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987495168001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:45:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31127496304885760,"km_value":31127496304885.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":940830139799449600,"description":"Unknown IO ID 45"} 
[2026-09-10 09:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987495168001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":940830139799449600}} 
[2026-09-10 09:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":177530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:45:05] local.INFO: GPS data processed {"connection_id":177530,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:45:05] local.INFO: Acknowledgment sent {"connection_id":177530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:45:17] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:45:17] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:45:17] local.INFO: IMEI packet received {"connection_id":176135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":176135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:45:22] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:45:22] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:45:22] local.INFO: IMEI packet received {"connection_id":176135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":176135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:45:23] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:45:23] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:45:23] local.INFO: Packet analysis {"connection_id":176135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:45:23] local.INFO: Extracted packet for processing {"connection_id":176135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:45: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-09-10 09: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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:45:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:45:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":176135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:45:23] local.INFO: GPS data processed {"connection_id":176135,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:45:23] local.INFO: Acknowledgment sent {"connection_id":176135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:45:36] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:45:36] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:45:36] local.INFO: IMEI packet received {"connection_id":176375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":176375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:45:39] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:45:39] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:45:39] local.INFO: IMEI packet received {"connection_id":176375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":176375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:45:45] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089861930012ced2600072da8e8004b00f826..."} 
[2026-09-10 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089861930012ced2600072da8e8004b00f826..."} 
[2026-09-10 09:45:45] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089861930012ced2600072da8e8004b00f826..."} 
[2026-09-10 09:45:45] local.INFO: Packet analysis {"connection_id":176375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:45] local.INFO: Extracted packet for processing {"connection_id":176375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:45] local.INFO: GPS Element Parsed {"raw_longitude":753739264,"raw_latitude":120432872,"longitude_deg":75.3739264,"latitude_deg":12.0432872,"altitude":75,"angle":248,"satellites":38,"speed":39,"hex_longitude":"2ced2600","hex_latitude":"072da8e8","is_valid_coordinates":true} 
[2026-09-10 09:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987497472001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403693120136413184,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358398206774810624,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789013662000,"timestamp_ms":1789013662000,"timestamp_seconds":1789013662,"priority":1,"record_length":96,"hex_timestamp":"000001a089861930"} 
[2026-09-10 09:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 09:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987497472001,"66":27843,"112":206,"83":44032,"24":39,"16":403693120136413184,"44":-1358398206774810624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-10 09:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987497472001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:45:45] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-10 09:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403693120136413184,"km_value":403693120136413.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358398206774810624,"description":"Unknown IO ID 44"} 
[2026-09-10 09:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987497472001,"power":27843,"unknown_112":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1358398206774810624}} 
[2026-09-10 09:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":176375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:45:45] local.INFO: GPS data processed {"connection_id":176375,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:45:45] local.INFO: Acknowledgment sent {"connection_id":176375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:45:49] local.INFO: TCP Data received {"connection_id":177531,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:49] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:49] local.INFO: IMEI packet received {"connection_id":177531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":177531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:45:50] local.INFO: TCP Data received {"connection_id":177531,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:50] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:45:50] local.INFO: IMEI packet received {"connection_id":177531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":177531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:45:50] local.INFO: TCP Data received {"connection_id":177531,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08986d0c8012d0c91800704ccf0002100a61d..."} 
[2026-09-10 09:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08986d0c8012d0c91800704ccf0002100a61d..."} 
[2026-09-10 09:45:50] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08986d0c8012d0c91800704ccf0002100a61d..."} 
[2026-09-10 09:45:50] local.INFO: Packet analysis {"connection_id":177531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:50] local.INFO: Extracted packet for processing {"connection_id":177531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:50] local.INFO: GPS Element Parsed {"raw_longitude":755798400,"raw_latitude":117755120,"longitude_deg":75.57984,"latitude_deg":11.775512,"altitude":33,"angle":166,"satellites":29,"speed":7,"hex_longitude":"2d0c9180","hex_latitude":"0704ccf0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987509248001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31128990953504768,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905575398967709696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789013709000,"timestamp_ms":1789013709000,"timestamp_seconds":1789013709,"priority":1,"record_length":96,"hex_timestamp":"000001a08986d0c8"} 
[2026-09-10 09:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 09:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987509248001,"66":14461,"95":206,"94":10240,"24":7,"16":31128990953504768,"45":905575398967709696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-10 09:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987509248001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:45:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 09:45:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31128990953504768,"km_value":31128990953504.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":905575398967709696,"description":"Unknown IO ID 45"} 
[2026-09-10 09:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987509248001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":905575398967709696}} 
[2026-09-10 09:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":177531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:45:51] local.INFO: GPS data processed {"connection_id":177531,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:45:51] local.INFO: Acknowledgment sent {"connection_id":177531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:45:54] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:45:54] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:45:54] local.INFO: Packet analysis {"connection_id":176135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:45:54] local.INFO: Extracted packet for processing {"connection_id":176135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 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-09-10 09:45: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-09-10 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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":176135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:45:54] local.INFO: GPS data processed {"connection_id":176135,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:45:54] local.INFO: Acknowledgment sent {"connection_id":176135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:45:54] local.INFO: TCP Data received {"connection_id":177531,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08986f7d8012d0c98800704ba30001e00981d..."} 
[2026-09-10 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08986f7d8012d0c98800704ba30001e00981d..."} 
[2026-09-10 09:45:54] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08986f7d8012d0c98800704ba30001e00981d..."} 
[2026-09-10 09:45:54] local.INFO: Packet analysis {"connection_id":177531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:54] local.INFO: Extracted packet for processing {"connection_id":177531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":755800192,"raw_latitude":117750320,"longitude_deg":75.5800192,"latitude_deg":11.775032,"altitude":30,"angle":152,"satellites":29,"speed":30,"hex_longitude":"2d0c9880","hex_latitude":"0704ba30","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987509504001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31129240061607936,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905645767711846400,"note":"Value kept but may cause issues"} 
[2026-09-10 09:45: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-09-10 09:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013719000,"timestamp_ms":1789013719000,"timestamp_seconds":1789013719,"priority":1,"record_length":96,"hex_timestamp":"000001a08986f7d8"} 
[2026-09-10 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-09-10 09:45: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-09-10 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 09:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987509504001,"66":14450,"95":206,"94":10240,"24":30,"16":31129240061607936,"45":905645767711846400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-10 09:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987509504001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31129240061607936,"km_value":31129240061607.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":905645767711846400,"description":"Unknown IO ID 45"} 
[2026-09-10 09:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987509504001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":905645767711846400}} 
[2026-09-10 09:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":177531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793098,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:45:55] local.INFO: GPS data processed {"connection_id":177531,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:45:55] local.INFO: Acknowledgment sent {"connection_id":177531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:46:16] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089863c58012ced0480072d9cd8004900fa25..."} 
[2026-09-10 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089863c58012ced0480072d9cd8004900fa25..."} 
[2026-09-10 09:46:16] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089863c58012ced0480072d9cd8004900fa25..."} 
[2026-09-10 09:46:16] local.INFO: Packet analysis {"connection_id":176375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:46:16] local.INFO: Extracted packet for processing {"connection_id":176375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:46:16] local.INFO: GPS Element Parsed {"raw_longitude":753730688,"raw_latitude":120429784,"longitude_deg":75.3730688,"latitude_deg":12.0429784,"altitude":73,"angle":250,"satellites":37,"speed":38,"hex_longitude":"2ced0480","hex_latitude":"072d9cd8","is_valid_coordinates":true} 
[2026-09-10 09:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987497472001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403693553928110080,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358398206774810624,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789013671000,"timestamp_ms":1789013671000,"timestamp_seconds":1789013671,"priority":1,"record_length":96,"hex_timestamp":"000001a089863c58"} 
[2026-09-10 09:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 09:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:46: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-09-10 09:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987497472001,"66":27876,"112":206,"83":44032,"24":38,"16":403693553928110080,"44":-1358398206774810624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-10 09:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987497472001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:46:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-10 09:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403693553928110080,"km_value":403693553928110.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:46:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358398206774810624,"description":"Unknown IO ID 44"} 
[2026-09-10 09:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987497472001,"power":27876,"unknown_112":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1358398206774810624}} 
[2026-09-10 09:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":176375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:46:16] local.INFO: GPS data processed {"connection_id":176375,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:46:16] local.INFO: Acknowledgment sent {"connection_id":176375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:46:17] local.INFO: TCP Data received {"connection_id":178917,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:46:17] local.INFO: Processing buffer {"connection_id":178917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:46:17] local.INFO: IMEI packet received {"connection_id":178917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":178917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:46:22] local.INFO: TCP Data received {"connection_id":178917,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:46:22] local.INFO: Processing buffer {"connection_id":178917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:46:22] local.INFO: IMEI packet received {"connection_id":178917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":178917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:46:24] local.INFO: TCP Data received {"connection_id":178917,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:46:24] local.INFO: Processing buffer {"connection_id":178917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:46:24] local.INFO: Packet analysis {"connection_id":178917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:46:24] local.INFO: Extracted packet for processing {"connection_id":178917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46: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-09-10 09:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:46: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-09-10 09: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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:46:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:46:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":178917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:46:24] local.INFO: GPS data processed {"connection_id":178917,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:46:24] local.INFO: Acknowledgment sent {"connection_id":178917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:46:26] local.INFO: TCP Data received {"connection_id":177531,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089871b00012d0cab4007049c50001a00911d..."} 
[2026-09-10 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089871b00012d0cab4007049c50001a00911d..."} 
[2026-09-10 09:46:26] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089871b00012d0cab4007049c50001a00911d..."} 
[2026-09-10 09:46:26] local.INFO: Packet analysis {"connection_id":177531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08987"} 
[2026-09-10 09:46:26] local.INFO: Extracted packet for processing {"connection_id":177531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08987"} 
[2026-09-10 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":755804992,"raw_latitude":117742672,"longitude_deg":75.5804992,"latitude_deg":11.7742672,"altitude":26,"angle":145,"satellites":29,"speed":45,"hex_longitude":"2d0cab40","hex_latitude":"07049c50","is_valid_coordinates":true} 
[2026-09-10 09:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987512064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31129673853304832,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907616092547592192,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789013728000,"timestamp_ms":1789013728000,"timestamp_seconds":1789013728,"priority":1,"record_length":96,"hex_timestamp":"000001a089871b00"} 
[2026-09-10 09:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:46: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-09-10 09:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987512064001,"66":14461,"95":206,"94":10240,"24":45,"16":31129673853304832,"45":907616092547592192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-10 09:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987512064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:46:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 09:46:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 09:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31129673853304832,"km_value":31129673853304.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":907616092547592192,"description":"Unknown IO ID 45"} 
[2026-09-10 09:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987512064001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":907616092547592192}} 
[2026-09-10 09:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":177531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:46:26] local.INFO: GPS data processed {"connection_id":177531,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:46:26] local.INFO: Acknowledgment sent {"connection_id":177531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:46:36] local.INFO: TCP Data received {"connection_id":178918,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:46:36] local.INFO: Processing buffer {"connection_id":178918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:46:36] local.INFO: IMEI packet received {"connection_id":178918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":178918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:46:41] local.INFO: TCP Data received {"connection_id":178918,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:46:41] local.INFO: Processing buffer {"connection_id":178918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:46:41] local.INFO: IMEI packet received {"connection_id":178918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":178918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:46:42] local.INFO: TCP Data received {"connection_id":178918,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089866368012cece2c0072d91d0004600fc26..."} 
[2026-09-10 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089866368012cece2c0072d91d0004600fc26..."} 
[2026-09-10 09:46:42] local.INFO: Processing buffer {"connection_id":178918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089866368012cece2c0072d91d0004600fc26..."} 
[2026-09-10 09:46:42] local.INFO: Packet analysis {"connection_id":178918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:46:42] local.INFO: Extracted packet for processing {"connection_id":178918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:46:42] local.INFO: GPS Element Parsed {"raw_longitude":753722048,"raw_latitude":120426960,"longitude_deg":75.3722048,"latitude_deg":12.042696,"altitude":70,"angle":252,"satellites":38,"speed":36,"hex_longitude":"2cece2c0","hex_latitude":"072d91d0","is_valid_coordinates":true} 
[2026-09-10 09:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987499776001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403693983424839680,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1367827618495408128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013681000,"timestamp_ms":1789013681000,"timestamp_seconds":1789013681,"priority":1,"record_length":96,"hex_timestamp":"000001a089866368"} 
[2026-09-10 09:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 09:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:46: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-09-10 09:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987499776001,"66":27908,"112":206,"83":44032,"24":36,"16":403693983424839680,"44":-1367827618495408128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-10 09:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987499776001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:46:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-10 09:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403693983424839680,"km_value":403693983424839.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1367827618495408128,"description":"Unknown IO ID 44"} 
[2026-09-10 09:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987499776001,"power":27908,"unknown_112":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-1367827618495408128}} 
[2026-09-10 09:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":178918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:46:42] local.INFO: GPS data processed {"connection_id":178918,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:46:42] local.INFO: Acknowledgment sent {"connection_id":178918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:46:50] local.INFO: TCP Data received {"connection_id":178919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:46:50] local.INFO: Processing buffer {"connection_id":178919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:46:50] local.INFO: IMEI packet received {"connection_id":178919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":178919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:46:54] local.INFO: TCP Data received {"connection_id":178919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:46:54] local.INFO: Processing buffer {"connection_id":178919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:46:54] local.INFO: IMEI packet received {"connection_id":178919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":178919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:46:55] local.INFO: TCP Data received {"connection_id":178917,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:46:55] local.INFO: Processing buffer {"connection_id":178917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:46:55] local.INFO: Packet analysis {"connection_id":178917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:46:55] local.INFO: Extracted packet for processing {"connection_id":178917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:46: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-09-10 09:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:46:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:46:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":178917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:46:55] local.INFO: GPS data processed {"connection_id":178917,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:46:55] local.INFO: Acknowledgment sent {"connection_id":178917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:46:55] local.INFO: TCP Data received {"connection_id":178919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898818e8012d0c53400703e3a8001800c61e..."} 
[2026-09-10 09:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898818e8012d0c53400703e3a8001800c61e..."} 
[2026-09-10 09:46:55] local.INFO: Processing buffer {"connection_id":178919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898818e8012d0c53400703e3a8001800c61e..."} 
[2026-09-10 09:46:55] local.INFO: Packet analysis {"connection_id":178919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:46:55] local.INFO: Extracted packet for processing {"connection_id":178919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755782464,"raw_latitude":117695400,"longitude_deg":75.5782464,"latitude_deg":11.76954,"altitude":24,"angle":198,"satellites":30,"speed":8,"hex_longitude":"2d0c5340","hex_latitude":"0703e3a8","is_valid_coordinates":true} 
[2026-09-10 09:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987530752001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31132512826687488,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888264687884726272,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46: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-09-10 09:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013793000,"timestamp_ms":1789013793000,"timestamp_seconds":1789013793,"priority":1,"record_length":96,"hex_timestamp":"000001a0898818e8"} 
[2026-09-10 09:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 09:46: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-09-10 09:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987530752001,"66":13580,"16":31132512826687488,"94":11008,"24":8,"45":888264687884726272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987530752001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31132512826687488,"km_value":31132512826687.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:46:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":888264687884726272,"description":"Unknown IO ID 45"} 
[2026-09-10 09:46:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987530752001,"power":13580,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":888264687884726272}} 
[2026-09-10 09:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":178919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:46:55] local.INFO: GPS data processed {"connection_id":178919,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:46:55] local.INFO: Acknowledgment sent {"connection_id":178919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:46:59] local.INFO: TCP Data received {"connection_id":178919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089881cd0012d0c53400703e318001700b61e..."} 
[2026-09-10 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089881cd0012d0c53400703e318001700b61e..."} 
[2026-09-10 09:46:59] local.INFO: Processing buffer {"connection_id":178919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089881cd0012d0c53400703e318001700b61e..."} 
[2026-09-10 09:46:59] local.INFO: Packet analysis {"connection_id":178919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:46:59] local.INFO: Extracted packet for processing {"connection_id":178919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":755782464,"raw_latitude":117695256,"longitude_deg":75.5782464,"latitude_deg":11.7695256,"altitude":23,"angle":182,"satellites":30,"speed":6,"hex_longitude":"2d0c5340","hex_latitude":"0703e318","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987531008001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31132521416622080,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888123950396319744,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46: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-09-10 09:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789013794000,"timestamp_ms":1789013794000,"timestamp_seconds":1789013794,"priority":1,"record_length":96,"hex_timestamp":"000001a089881cd0"} 
[2026-09-10 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-09-10 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751541913,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2307361864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2276165633,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509138271,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861864142,"corrected_to":0} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3489737996,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2147943450,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157806427491934,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2581397504,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5638499018440441839,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-09-10 09:46:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,16,94,24,241,157,154,160,21,45,192,228,32,10,66,13,230,218,64,1,240,125,227,137,4,113,205,42,159,153,31,239,56,95,2,110,7,20,36,12,40],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":861864142,"validated":0}]} 
[2026-09-10 09:46:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729600089062113280,"timestamp_seconds":1729600089062113.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 09:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987531008001,"66":14515,"16":31132521416622080,"94":11008,"24":6,"45":888123950396319744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987531008001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31132521416622080,"km_value":31132521416622.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:46:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":888123950396319744,"description":"Unknown IO ID 45"} 
[2026-09-10 09:46:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987531008001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":888123950396319744}} 
[2026-09-10 09:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":178919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:46:59] local.INFO: GPS data processed {"connection_id":178919,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:46:59] local.INFO: Acknowledgment sent {"connection_id":178919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:47:13] local.INFO: TCP Data received {"connection_id":178918,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089868a78012cecbfc0072d8690004200fc27..."} 
[2026-09-10 09:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089868a78012cecbfc0072d8690004200fc27..."} 
[2026-09-10 09:47:13] local.INFO: Processing buffer {"connection_id":178918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089868a78012cecbfc0072d8690004200fc27..."} 
[2026-09-10 09:47:13] local.INFO: Packet analysis {"connection_id":178918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:47:13] local.INFO: Extracted packet for processing {"connection_id":178918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:47:13] local.INFO: GPS Element Parsed {"raw_longitude":753713088,"raw_latitude":120424080,"longitude_deg":75.3713088,"latitude_deg":12.042408,"altitude":66,"angle":252,"satellites":39,"speed":38,"hex_longitude":"2cecbfc0","hex_latitude":"072d8690","is_valid_coordinates":true} 
[2026-09-10 09:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987502336001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403694434396405760,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1377327398960115712,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789013691000,"timestamp_ms":1789013691000,"timestamp_seconds":1789013691,"priority":1,"record_length":96,"hex_timestamp":"000001a089868a78"} 
[2026-09-10 09:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 09:47: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-09-10 09:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:47: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-09-10 09:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987502336001,"66":27930,"74":206,"83":44032,"24":38,"16":403694434396405760,"44":-1377327398960115712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-10 09:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987502336001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:47:13] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 09:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403694434396405760,"km_value":403694434396405.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1377327398960115712,"description":"Unknown IO ID 44"} 
[2026-09-10 09:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987502336001,"power":27930,"unknown_74":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1377327398960115712}} 
[2026-09-10 09:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":178918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:47:13] local.INFO: GPS data processed {"connection_id":178918,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:47:13] local.INFO: Acknowledgment sent {"connection_id":178918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:47:17] local.INFO: TCP Data received {"connection_id":177532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:47:17] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:47:17] local.INFO: IMEI packet received {"connection_id":177532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":177532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:47:22] local.INFO: TCP Data received {"connection_id":177532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:47:22] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:47:22] local.INFO: IMEI packet received {"connection_id":177532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":177532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:47:23] local.INFO: TCP Data received {"connection_id":177532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:47:23] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:47:23] local.INFO: Packet analysis {"connection_id":177532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:47:23] local.INFO: Extracted packet for processing {"connection_id":177532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:47: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-09-10 09: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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:47:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:47:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":177532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:47:23] local.INFO: GPS data processed {"connection_id":177532,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:47:23] local.INFO: Acknowledgment sent {"connection_id":177532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:47:30] local.INFO: TCP Data received {"connection_id":178919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a089883440012d0c55400703e1b0001600591e..."} 
[2026-09-10 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089883440012d0c55400703e1b0001600591e..."} 
[2026-09-10 09:47:30] local.INFO: Processing buffer {"connection_id":178919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089883440012d0c55400703e1b0001600591e..."} 
[2026-09-10 09:47:30] local.INFO: Packet analysis {"connection_id":178919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:47:30] local.INFO: Extracted packet for processing {"connection_id":178919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":755782976,"raw_latitude":117694896,"longitude_deg":75.5782976,"latitude_deg":11.7694896,"altitude":22,"angle":89,"satellites":30,"speed":6,"hex_longitude":"2d0c5540","hex_latitude":"0703e1b0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987531264001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31132555776360448,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888123950396282880,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789013800000,"timestamp_ms":1789013800000,"timestamp_seconds":1789013800,"priority":1,"record_length":96,"hex_timestamp":"000001a089883440"} 
[2026-09-10 09:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 09:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987531264001,"66":14439,"16":31132555776360448,"94":11008,"24":6,"45":888123950396282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987531264001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31132555776360448,"km_value":31132555776360.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:47:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":888123950396282880,"description":"Unknown IO ID 45"} 
[2026-09-10 09:47:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987531264001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":888123950396282880}} 
[2026-09-10 09:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":178919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793108,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:47:30] local.INFO: GPS data processed {"connection_id":178919,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:47:30] local.INFO: Acknowledgment sent {"connection_id":178919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:47:36] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:47:36] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:47:36] local.INFO: IMEI packet received {"connection_id":176376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":176376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:47:41] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:47:41] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:47:41] local.INFO: IMEI packet received {"connection_id":176376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":176376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:47:42] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08986b188012cec9ac0072d7ac0003f00ff28..."} 
[2026-09-10 09:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08986b188012cec9ac0072d7ac0003f00ff28..."} 
[2026-09-10 09:47:42] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08986b188012cec9ac0072d7ac0003f00ff28..."} 
[2026-09-10 09:47:42] local.INFO: Packet analysis {"connection_id":176376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:47:42] local.INFO: Extracted packet for processing {"connection_id":176376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753703616,"raw_latitude":120421056,"longitude_deg":75.3703616,"latitude_deg":12.0421056,"altitude":63,"angle":255,"satellites":40,"speed":36,"hex_longitude":"2cec9ac0","hex_latitude":"072d7ac0","is_valid_coordinates":true} 
[2026-09-10 09:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987504896001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403694902547841024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387179023145725952,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013701000,"timestamp_ms":1789013701000,"timestamp_seconds":1789013701,"priority":1,"record_length":96,"hex_timestamp":"000001a08986b188"} 
[2026-09-10 09:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 09:47: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-09-10 09:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:47: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-09-10 09:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987504896001,"66":27974,"74":206,"83":44032,"24":36,"16":403694902547841024,"44":-1387179023145725952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-10 09:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987504896001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:47:42] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 09:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403694902547841024,"km_value":403694902547841.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387179023145725952,"description":"Unknown IO ID 44"} 
[2026-09-10 09:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987504896001,"power":27974,"unknown_74":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-1387179023145725952}} 
[2026-09-10 09:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":176376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:47:42] local.INFO: GPS data processed {"connection_id":176376,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:47:42] local.INFO: Acknowledgment sent {"connection_id":176376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:47:49] local.INFO: TCP Data received {"connection_id":177533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:47:49] local.INFO: Processing buffer {"connection_id":177533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:47:49] local.INFO: IMEI packet received {"connection_id":177533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":177533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:47:54] local.INFO: TCP Data received {"connection_id":177532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:47:54] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:47:54] local.INFO: Packet analysis {"connection_id":177532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:47:54] local.INFO: Extracted packet for processing {"connection_id":177532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:47: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-09-10 09: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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:47:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":177532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:47:55] local.INFO: GPS data processed {"connection_id":177532,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:47:55] local.INFO: Acknowledgment sent {"connection_id":177532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:47:55] local.INFO: TCP Data received {"connection_id":177533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:47:55] local.INFO: Processing buffer {"connection_id":177533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:47:55] local.INFO: IMEI packet received {"connection_id":177533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":177533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:47:56] local.INFO: TCP Data received {"connection_id":177533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898872c0012d0c6b000703e098001600651c..."} 
[2026-09-10 09:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898872c0012d0c6b000703e098001600651c..."} 
[2026-09-10 09:47:56] local.INFO: Processing buffer {"connection_id":177533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898872c0012d0c6b000703e098001600651c..."} 
[2026-09-10 09:47:56] local.INFO: Packet analysis {"connection_id":177533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:47:56] local.INFO: Extracted packet for processing {"connection_id":177533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:47:56] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117694616,"longitude_deg":75.5788544,"latitude_deg":11.7694616,"altitude":22,"angle":101,"satellites":28,"speed":15,"hex_longitude":"2d0c6b00","hex_latitude":"0703e098","is_valid_coordinates":true} 
[2026-09-10 09:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987532800001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31132822064332800,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900349612032,"note":"Value kept but may cause issues"} 
[2026-09-10 09:47: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-09-10 09:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789013816000,"timestamp_ms":1789013816000,"timestamp_seconds":1789013816,"priority":1,"record_length":96,"hex_timestamp":"000001a0898872c0"} 
[2026-09-10 09:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:47: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-09-10 09:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:47: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-09-10 09:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987532800001,"66":14374,"16":31132822064332800,"94":11008,"24":15,"45":888686900349612032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987532800001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31132822064332800,"km_value":31132822064332.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:47:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900349612032,"description":"Unknown IO ID 45"} 
[2026-09-10 09:47:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987532800001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":888686900349612032}} 
[2026-09-10 09:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":177533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:47:56] local.INFO: GPS data processed {"connection_id":177533,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:47:56] local.INFO: Acknowledgment sent {"connection_id":177533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:17] local.INFO: TCP Data received {"connection_id":177534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:48:17] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:48:17] local.INFO: IMEI packet received {"connection_id":177534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":177534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:48:22] local.INFO: TCP Data received {"connection_id":177534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:48:22] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:48:22] local.INFO: IMEI packet received {"connection_id":177534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":177534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:48:23] local.INFO: TCP Data received {"connection_id":177534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:48:23] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089859078012d7d288005ea8a10000700b429..."} 
[2026-09-10 09:48:23] local.INFO: Packet analysis {"connection_id":177534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:48:23] local.INFO: Extracted packet for processing {"connection_id":177534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08985"} 
[2026-09-10 09:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987411456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013627000,"timestamp_ms":1789013627000,"timestamp_seconds":1789013627,"priority":1,"record_length":96,"hex_timestamp":"000001a089859078"} 
[2026-09-10 09:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:48: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-09-10 09: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":9,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-10 09:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987411456001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987411456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:48:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987411456001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":177534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:23] local.INFO: GPS data processed {"connection_id":177534,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:23] local.INFO: Acknowledgment sent {"connection_id":177534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:24] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08986dc80012cec75c0072d7480003b010627..."} 
[2026-09-10 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08986dc80012cec75c0072d7480003b010627..."} 
[2026-09-10 09:48:24] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08986dc80012cec75c0072d7480003b010627..."} 
[2026-09-10 09:48:24] local.INFO: Packet analysis {"connection_id":176376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:48:24] local.INFO: Extracted packet for processing {"connection_id":176376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08986"} 
[2026-09-10 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":753694144,"raw_latitude":120419456,"longitude_deg":75.3694144,"latitude_deg":12.0419456,"altitude":59,"angle":262,"satellites":39,"speed":30,"hex_longitude":"2cec75c0","hex_latitude":"072d7480","is_valid_coordinates":true} 
[2026-09-10 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987507456001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403695362109341696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1397593597284794368,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789013712000,"timestamp_ms":1789013712000,"timestamp_seconds":1789013712,"priority":1,"record_length":96,"hex_timestamp":"000001a08986dc80"} 
[2026-09-10 09:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:48: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-09-10 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 09:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987507456001,"66":28050,"74":206,"83":44032,"24":30,"16":403695362109341696,"44":-1397593597284794368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-10 09:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987507456001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:24] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 09:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403695362109341696,"km_value":403695362109341.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1397593597284794368,"description":"Unknown IO ID 44"} 
[2026-09-10 09:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987507456001,"power":28050,"unknown_74":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1397593597284794368}} 
[2026-09-10 09:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":176376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:25] local.INFO: GPS data processed {"connection_id":176376,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:25] local.INFO: Acknowledgment sent {"connection_id":176376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:28] local.INFO: TCP Data received {"connection_id":177533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898876a8012d0c6c800703dff0001700731c..."} 
[2026-09-10 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898876a8012d0c6c800703dff0001700731c..."} 
[2026-09-10 09:48:28] local.INFO: Processing buffer {"connection_id":177533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898876a8012d0c6c800703dff0001700731c..."} 
[2026-09-10 09:48:28] local.INFO: Packet analysis {"connection_id":177533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:48:28] local.INFO: Extracted packet for processing {"connection_id":177533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08988"} 
[2026-09-10 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755788928,"raw_latitude":117694448,"longitude_deg":75.5788928,"latitude_deg":11.7694448,"altitude":23,"angle":115,"satellites":28,"speed":15,"hex_longitude":"2d0c6c80","hex_latitude":"0703dff0","is_valid_coordinates":true} 
[2026-09-10 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987536896001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31132843539169280,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981092997120,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789013817000,"timestamp_ms":1789013817000,"timestamp_seconds":1789013817,"priority":1,"record_length":96,"hex_timestamp":"000001a0898876a8"} 
[2026-09-10 09:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 09:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987536896001,"66":14428,"16":31132843539169280,"94":11008,"24":15,"45":894808981092997120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987536896001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31132843539169280,"km_value":31132843539169.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981092997120,"description":"Unknown IO ID 45"} 
[2026-09-10 09:48:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987536896001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":894808981092997120}} 
[2026-09-10 09:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":177533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:28] local.INFO: GPS data processed {"connection_id":177533,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:28] local.INFO: Acknowledgment sent {"connection_id":177533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:41] local.INFO: TCP Data received {"connection_id":177535,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:48:41] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:48:41] local.INFO: IMEI packet received {"connection_id":177535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":177535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:48:46] local.INFO: TCP Data received {"connection_id":177535,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:48:46] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:48:46] local.INFO: IMEI packet received {"connection_id":177535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":177535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:48:47] local.INFO: TCP Data received {"connection_id":177535,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089891ea0012ceb1bc0072d9b70002c011126..."} 
[2026-09-10 09:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089891ea0012ceb1bc0072d9b70002c011126..."} 
[2026-09-10 09:48:47] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089891ea0012ceb1bc0072d9b70002c011126..."} 
[2026-09-10 09:48:47] local.INFO: Packet analysis {"connection_id":177535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:48:47] local.INFO: Extracted packet for processing {"connection_id":177535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:48:47] local.INFO: GPS Element Parsed {"raw_longitude":753605568,"raw_latitude":120429424,"longitude_deg":75.3605568,"latitude_deg":12.0429424,"altitude":44,"angle":273,"satellites":38,"speed":28,"hex_longitude":"2ceb1bc0","hex_latitude":"072d9b70","is_valid_coordinates":true} 
[2026-09-10 09:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987546368001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403699669961539584,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1499909751317125120,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789013860000,"timestamp_ms":1789013860000,"timestamp_seconds":1789013860,"priority":1,"record_length":96,"hex_timestamp":"000001a089891ea0"} 
[2026-09-10 09:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:48: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-09-10 09:48: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-09-10 09:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987546368001,"66":27800,"201":206,"83":44032,"24":28,"16":403699669961539584,"44":-1499909751317125120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-10 09:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987546368001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:47] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 09:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403699669961539584,"km_value":403699669961539.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1499909751317125120,"description":"Unknown IO ID 44"} 
[2026-09-10 09:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987546368001,"power":27800,"unknown_201":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1499909751317125120}} 
[2026-09-10 09:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":177535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:47] local.INFO: GPS data processed {"connection_id":177535,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:47] local.INFO: Acknowledgment sent {"connection_id":177535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:50] local.INFO: TCP Data received {"connection_id":178920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178920,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:48:50] local.INFO: Processing buffer {"connection_id":178920,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:48:50] local.INFO: IMEI packet received {"connection_id":178920,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":178920,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:48:51] local.INFO: TCP Data received {"connection_id":177535,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898945b0012ceb0480072d9de8002d011d27..."} 
[2026-09-10 09:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898945b0012ceb0480072d9de8002d011d27..."} 
[2026-09-10 09:48:51] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898945b0012ceb0480072d9de8002d011d27..."} 
[2026-09-10 09:48:51] local.INFO: Packet analysis {"connection_id":177535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:48:51] local.INFO: Extracted packet for processing {"connection_id":177535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":753599616,"raw_latitude":120430056,"longitude_deg":75.3599616,"latitude_deg":12.0430056,"altitude":45,"angle":285,"satellites":39,"speed":16,"hex_longitude":"2ceb0480","hex_latitude":"072d9de8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987548160001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403699953429381120,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1505398513362833408,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789013870000,"timestamp_ms":1789013870000,"timestamp_seconds":1789013870,"priority":1,"record_length":96,"hex_timestamp":"000001a0898945b0"} 
[2026-09-10 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-09-10 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 09:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987548160001,"66":27919,"201":206,"83":44032,"24":16,"16":403699953429381120,"44":-1505398513362833408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-10 09:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987548160001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:51] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 09:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403699953429381120,"km_value":403699953429381.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1505398513362833408,"description":"Unknown IO ID 44"} 
[2026-09-10 09:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987548160001,"power":27919,"unknown_201":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1505398513362833408}} 
[2026-09-10 09:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":177535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:51] local.INFO: GPS data processed {"connection_id":177535,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:51] local.INFO: Acknowledgment sent {"connection_id":177535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:53] local.INFO: TCP Data received {"connection_id":178920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178920,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:48:53] local.INFO: Processing buffer {"connection_id":178920,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:48:53] local.INFO: IMEI packet received {"connection_id":178920,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":178920,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:48:54] local.INFO: TCP Data received {"connection_id":178920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a0518012d0c628007038568001700ae1e..."} 
[2026-09-10 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a0518012d0c628007038568001700ae1e..."} 
[2026-09-10 09:48:54] local.INFO: Processing buffer {"connection_id":178920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a0518012d0c628007038568001700ae1e..."} 
[2026-09-10 09:48:54] local.INFO: Packet analysis {"connection_id":178920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:48:54] local.INFO: Extracted packet for processing {"connection_id":178920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":755786368,"raw_latitude":117671272,"longitude_deg":75.5786368,"latitude_deg":11.7671272,"altitude":23,"angle":174,"satellites":30,"speed":7,"hex_longitude":"2d0c6280","hex_latitude":"07038568","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987557888001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31133990295437312,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838656251205632,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013919000,"timestamp_ms":1789013919000,"timestamp_seconds":1789013919,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a0518"} 
[2026-09-10 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-09-10 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 09:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987557888001,"66":14548,"37":206,"94":11008,"24":7,"16":31133990295437312,"45":892838656251205632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987557888001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31133990295437312,"km_value":31133990295437.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838656251205632,"description":"Unknown IO ID 45"} 
[2026-09-10 09:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987557888001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":892838656251205632}} 
[2026-09-10 09:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":178920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:54] local.INFO: GPS data processed {"connection_id":178920,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:54] local.INFO: Acknowledgment sent {"connection_id":178920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:54] local.INFO: TCP Data received {"connection_id":178920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a10d0012d0c62c007038408001800bf1e..."} 
[2026-09-10 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a10d0012d0c62c007038408001800bf1e..."} 
[2026-09-10 09:48:54] local.INFO: Processing buffer {"connection_id":178920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a10d0012d0c62c007038408001800bf1e..."} 
[2026-09-10 09:48:54] local.INFO: Packet analysis {"connection_id":178920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:48:54] local.INFO: Extracted packet for processing {"connection_id":178920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":755786432,"raw_latitude":117670920,"longitude_deg":75.5786432,"latitude_deg":11.767092,"altitude":24,"angle":191,"satellites":30,"speed":5,"hex_longitude":"2d0c62c0","hex_latitude":"07038408","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987563264001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31134007475306496,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892416443784980480,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013922000,"timestamp_ms":1789013922000,"timestamp_seconds":1789013922,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a10d0"} 
[2026-09-10 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-09-10 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 09:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987563264001,"66":14407,"37":206,"94":11008,"24":5,"16":31134007475306496,"45":892416443784980480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987563264001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31134007475306496,"km_value":31134007475306.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":892416443784980480,"description":"Unknown IO ID 45"} 
[2026-09-10 09:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987563264001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":892416443784980480}} 
[2026-09-10 09:48:54] local.INFO: TCP Data received {"connection_id":177534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:48:54] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:48:54] local.INFO: Packet analysis {"connection_id":177534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:48:54] local.INFO: Extracted packet for processing {"connection_id":177534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 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-09-10 09:48: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-09-10 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":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":178920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:54] local.INFO: GPS data processed {"connection_id":178920,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:54] local.INFO: Acknowledgment sent {"connection_id":178920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":177534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:48:55] local.INFO: GPS data processed {"connection_id":177534,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:48:55] local.INFO: Acknowledgment sent {"connection_id":177534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:49:22] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:49:22] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:49:22] local.INFO: IMEI packet received {"connection_id":176377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":176377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:49:26] local.INFO: TCP Data received {"connection_id":178920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a33f8012d0c6340070381a0001900161f..."} 
[2026-09-10 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a33f8012d0c6340070381a0001900161f..."} 
[2026-09-10 09:49:26] local.INFO: Processing buffer {"connection_id":178920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a33f8012d0c6340070381a0001900161f..."} 
[2026-09-10 09:49:26] local.INFO: Packet analysis {"connection_id":178920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:26] local.INFO: Extracted packet for processing {"connection_id":178920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117670304,"longitude_deg":75.578656,"latitude_deg":11.7670304,"altitude":25,"angle":22,"satellites":31,"speed":0,"hex_longitude":"2d0c6340","hex_latitude":"070381a0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987564032001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31134041835044864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892486812529068032,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789013931000,"timestamp_ms":1789013931000,"timestamp_seconds":1789013931,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a33f8"} 
[2026-09-10 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-09-10 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 09:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987564032001,"66":14450,"37":206,"94":11008,"24":0,"16":31134041835044864,"45":892486812529068032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987564032001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:49:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:49:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31134041835044864,"km_value":31134041835044.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":892486812529068032,"description":"Unknown IO ID 45"} 
[2026-09-10 09:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987564032001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":892486812529068032}} 
[2026-09-10 09:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":178920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:49:26] local.INFO: GPS data processed {"connection_id":178920,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:49:26] local.INFO: Acknowledgment sent {"connection_id":178920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:49:27] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:49:27] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:49:27] local.INFO: IMEI packet received {"connection_id":176377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":176377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:49:28] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:49:28] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:49:28] local.INFO: Packet analysis {"connection_id":176377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:28] local.INFO: Extracted packet for processing {"connection_id":176377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 09:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:49: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-09-10 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:49:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:49:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":176377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:49:28] local.INFO: GPS data processed {"connection_id":176377,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:49:28] local.INFO: Acknowledgment sent {"connection_id":176377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:49:33] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:49:33] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:49:33] local.INFO: Packet analysis {"connection_id":176377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:33] local.INFO: Extracted packet for processing {"connection_id":176377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 09:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:49:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:49:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":176377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:49:33] local.INFO: GPS data processed {"connection_id":176377,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:49:33] local.INFO: Acknowledgment sent {"connection_id":176377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:49:36] local.INFO: TCP Data received {"connection_id":177536,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:49:36] local.INFO: Processing buffer {"connection_id":177536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:49:36] local.INFO: IMEI packet received {"connection_id":177536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":177536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:49:39] local.INFO: TCP Data received {"connection_id":177536,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:49:39] local.INFO: Processing buffer {"connection_id":177536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:49:39] local.INFO: IMEI packet received {"connection_id":177536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":177536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:49:42] local.INFO: TCP Data received {"connection_id":177536,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089895168012ceaffc0072d9ea8002d010d25..."} 
[2026-09-10 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089895168012ceaffc0072d9ea8002d010d25..."} 
[2026-09-10 09:49:42] local.INFO: Processing buffer {"connection_id":177536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089895168012ceaffc0072d9ea8002d010d25..."} 
[2026-09-10 09:49:42] local.INFO: Packet analysis {"connection_id":177536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:49:42] local.INFO: Extracted packet for processing {"connection_id":177536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753598400,"raw_latitude":120430248,"longitude_deg":75.35984,"latitude_deg":12.0430248,"altitude":45,"angle":269,"satellites":37,"speed":19,"hex_longitude":"2ceaffc0","hex_latitude":"072d9ea8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987550720001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403700013558923264,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511942806571194368,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013873000,"timestamp_ms":1789013873000,"timestamp_seconds":1789013873,"priority":1,"record_length":96,"hex_timestamp":"000001a089895168"} 
[2026-09-10 09:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 09:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:49: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-09-10 09:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987550720001,"66":27908,"201":206,"83":44032,"24":19,"16":403700013558923264,"44":-1511942806571194368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-10 09:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987550720001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:49:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 09:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403700013558923264,"km_value":403700013558923.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511942806571194368,"description":"Unknown IO ID 44"} 
[2026-09-10 09:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987550720001,"power":27908,"unknown_201":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1511942806571194368}} 
[2026-09-10 09:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":177536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:49:42] local.INFO: GPS data processed {"connection_id":177536,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:49:42] local.INFO: Acknowledgment sent {"connection_id":177536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:49:43] local.INFO: TCP Data received {"connection_id":177536,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898964f0012ceaf600072d9e98002d011917..."} 
[2026-09-10 09:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898964f0012ceaf600072d9e98002d011917..."} 
[2026-09-10 09:49:43] local.INFO: Processing buffer {"connection_id":177536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898964f0012ceaf600072d9e98002d011917..."} 
[2026-09-10 09:49:43] local.INFO: Packet analysis {"connection_id":177536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:49:43] local.INFO: Extracted packet for processing {"connection_id":177536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08989"} 
[2026-09-10 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":753595904,"raw_latitude":120430232,"longitude_deg":75.3595904,"latitude_deg":12.0430232,"altitude":45,"angle":281,"satellites":23,"speed":14,"hex_longitude":"2ceaf600","hex_latitude":"072d9e98","is_valid_coordinates":true} 
[2026-09-10 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987551488001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403700133818007552,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1513279812710520832,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789013878000,"timestamp_ms":1789013878000,"timestamp_seconds":1789013878,"priority":1,"record_length":96,"hex_timestamp":"000001a0898964f0"} 
[2026-09-10 09:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 09:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987551488001,"66":27767,"201":206,"83":44032,"24":14,"16":403700133818007552,"44":-1513279812710520832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-10 09:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987551488001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:49:43] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 09:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403700133818007552,"km_value":403700133818007.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1513279812710520832,"description":"Unknown IO ID 44"} 
[2026-09-10 09:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987551488001,"power":27767,"unknown_201":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1513279812710520832}} 
[2026-09-10 09:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":177536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:49:43] local.INFO: GPS data processed {"connection_id":177536,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:49:43] local.INFO: Acknowledgment sent {"connection_id":177536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:49:54] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:54] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:54] local.INFO: IMEI packet received {"connection_id":176378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":176378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:49:56] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:56] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:56] local.INFO: IMEI packet received {"connection_id":176378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":176378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:49:58] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:58] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:49:58] local.INFO: IMEI packet received {"connection_id":176378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":176378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:49:58] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a3bc8012d0c6340070382200019000a1f..."} 
[2026-09-10 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a3bc8012d0c6340070382200019000a1f..."} 
[2026-09-10 09:49:58] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a3bc8012d0c6340070382200019000a1f..."} 
[2026-09-10 09:49:58] local.INFO: Packet analysis {"connection_id":176378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:58] local.INFO: Extracted packet for processing {"connection_id":176378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:58] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117670432,"longitude_deg":75.578656,"latitude_deg":11.7670432,"altitude":25,"angle":10,"satellites":31,"speed":2,"hex_longitude":"2d0c6340","hex_latitude":"07038220","is_valid_coordinates":true} 
[2026-09-10 09:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987566336001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31134050424979456,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627550017265664,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49: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-09-10 09:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789013933000,"timestamp_ms":1789013933000,"timestamp_seconds":1789013933,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a3bc8"} 
[2026-09-10 09:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 09:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987566336001,"66":13722,"37":206,"94":11008,"24":2,"16":31134050424979456,"45":892627550017265664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987566336001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:49:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:49:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31134050424979456,"km_value":31134050424979.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627550017265664,"description":"Unknown IO ID 45"} 
[2026-09-10 09:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987566336001,"power":13722,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":892627550017265664}} 
[2026-09-10 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":176378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793125,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:49:59] local.INFO: GPS data processed {"connection_id":176378,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:49:59] local.INFO: Acknowledgment sent {"connection_id":176378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:49:59] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a4f50012d0c63c0070383a8001901671f..."} 
[2026-09-10 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a4f50012d0c63c0070383a8001901671f..."} 
[2026-09-10 09:49:59] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a4f50012d0c63c0070383a8001901671f..."} 
[2026-09-10 09:49:59] local.INFO: Packet analysis {"connection_id":176378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:59] local.INFO: Extracted packet for processing {"connection_id":176378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755786688,"raw_latitude":117670824,"longitude_deg":75.5786688,"latitude_deg":11.7670824,"altitude":25,"angle":359,"satellites":31,"speed":2,"hex_longitude":"2d0c63c0","hex_latitude":"070383a8","is_valid_coordinates":true} 
[2026-09-10 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987566848001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31134067604848640,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627550017298432,"note":"Value kept but may cause issues"} 
[2026-09-10 09:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789013938000,"timestamp_ms":1789013938000,"timestamp_seconds":1789013938,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a4f50"} 
[2026-09-10 09:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:49: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-09-10 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-10 09:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987566848001,"66":14439,"37":206,"94":11008,"24":2,"16":31134067604848640,"45":892627550017298432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987566848001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:49:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:49:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31134067604848640,"km_value":31134067604848.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627550017298432,"description":"Unknown IO ID 45"} 
[2026-09-10 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987566848001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":892627550017298432}} 
[2026-09-10 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":176378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:49:59] local.INFO: GPS data processed {"connection_id":176378,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:49:59] local.INFO: Acknowledgment sent {"connection_id":176378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:50:15] local.INFO: TCP Data received {"connection_id":177536,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ac868012cea5640072dc280002d013429..."} 
[2026-09-10 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ac868012cea5640072dc280002d013429..."} 
[2026-09-10 09:50:15] local.INFO: Processing buffer {"connection_id":177536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ac868012cea5640072dc280002d013429..."} 
[2026-09-10 09:50:15] local.INFO: Packet analysis {"connection_id":177536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:15] local.INFO: Extracted packet for processing {"connection_id":177536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":753555008,"raw_latitude":120439424,"longitude_deg":75.3555008,"latitude_deg":12.0439424,"altitude":45,"angle":308,"satellites":41,"speed":23,"hex_longitude":"2cea5640","hex_latitude":"072dc280","is_valid_coordinates":true} 
[2026-09-10 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987574784001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403702264121786368,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559019496424230912,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789013969000,"timestamp_ms":1789013969000,"timestamp_seconds":1789013969,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ac868"} 
[2026-09-10 09:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 09:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:50: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-09-10 09:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987574784001,"66":27767,"203":206,"83":44032,"24":23,"16":403702264121786368,"44":-1559019496424230912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-10 09:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987574784001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403702264121786368,"km_value":403702264121786.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559019496424230912,"description":"Unknown IO ID 44"} 
[2026-09-10 09:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987574784001,"power":27767,"mnc":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1559019496424230912}} 
[2026-09-10 09:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":177536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:50:15] local.INFO: GPS data processed {"connection_id":177536,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:50:15] local.INFO: Acknowledgment sent {"connection_id":177536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:50:17] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:50:17] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:50:17] local.INFO: IMEI packet received {"connection_id":176379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":176379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:50:22] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:50:22] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:50:22] local.INFO: IMEI packet received {"connection_id":176379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":176379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:50:23] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:23] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:23] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:23] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 09:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:50: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-09-10 09:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:50:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:50:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:50:23] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:50:23] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:50:28] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:28] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:28] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:28] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 09:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:50: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-09-10 09:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:50:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:50:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:50:28] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:50:28] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:50:31] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898b9388012d0c3a8007035ff0001f00e11b..."} 
[2026-09-10 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898b9388012d0c3a8007035ff0001f00e11b..."} 
[2026-09-10 09:50:31] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898b9388012d0c3a8007035ff0001f00e11b..."} 
[2026-09-10 09:50:31] local.INFO: Packet analysis {"connection_id":176378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:50:31] local.INFO: Extracted packet for processing {"connection_id":176378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":755776128,"raw_latitude":117661680,"longitude_deg":75.5776128,"latitude_deg":11.766168,"altitude":31,"angle":225,"satellites":27,"speed":8,"hex_longitude":"2d0c3a80","hex_latitude":"07035ff0","is_valid_coordinates":true} 
[2026-09-10 09:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987589120001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31134930893275136,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550946676736,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789014021000,"timestamp_ms":1789014021000,"timestamp_seconds":1789014021,"priority":1,"record_length":96,"hex_timestamp":"000001a0898b9388"} 
[2026-09-10 09:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142272,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2307598864,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":96,"raw_value":7319157385201920,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1810447054497906698,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504074700259328,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2335813633,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070194981,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2869952718,"corrected_to":0} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3758173452,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221685104,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2626748416,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7223781513972154394,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:31] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,16,94,24,241,157,160,96,45,128,105,28,29,10,66,156,88,64,106,27,65,192,1,240,71,227,137,3,4,113,205,8,49,98,168,30,239,56,2,110,7,25,206,12],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2869952718,"validated":0}]} 
[2026-09-10 09:50:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234049413931139072,"timestamp_seconds":2234049413931139.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 09:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987589120001,"66":13906,"16":31134930893275136,"94":11008,"24":8,"45":881368550946676736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987589120001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31134930893275136,"km_value":31134930893275.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:50:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550946676736,"description":"Unknown IO ID 45"} 
[2026-09-10 09:50:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987589120001,"power":13906,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":881368550946676736}} 
[2026-09-10 09:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":176378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:50:31] local.INFO: GPS data processed {"connection_id":176378,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:50:31] local.INFO: Acknowledgment sent {"connection_id":176378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:50:35] local.INFO: TCP Data received {"connection_id":178921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:35] local.INFO: Processing buffer {"connection_id":178921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:35] local.INFO: IMEI packet received {"connection_id":178921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":178921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:50:36] local.INFO: TCP Data received {"connection_id":178921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:36] local.INFO: Processing buffer {"connection_id":178921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:36] local.INFO: IMEI packet received {"connection_id":178921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":178921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:50:41] local.INFO: TCP Data received {"connection_id":178921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:41] local.INFO: Processing buffer {"connection_id":178921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:50:41] local.INFO: IMEI packet received {"connection_id":178921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":178921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:50:42] local.INFO: TCP Data received {"connection_id":178921,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ad038012cea51c0072dc528002c012529..."} 
[2026-09-10 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ad038012cea51c0072dc528002c012529..."} 
[2026-09-10 09:50:42] local.INFO: Processing buffer {"connection_id":178921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ad038012cea51c0072dc528002c012529..."} 
[2026-09-10 09:50:42] local.INFO: Packet analysis {"connection_id":178921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:42] local.INFO: Extracted packet for processing {"connection_id":178921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":753553856,"raw_latitude":120440104,"longitude_deg":75.3553856,"latitude_deg":12.0440104,"altitude":44,"angle":293,"satellites":41,"speed":24,"hex_longitude":"2cea51c0","hex_latitude":"072dc528","is_valid_coordinates":true} 
[2026-09-10 09:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987576064001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403702324251328512,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560989821260627968,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789013971000,"timestamp_ms":1789013971000,"timestamp_seconds":1789013971,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ad038"} 
[2026-09-10 09:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 09:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:50: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-09-10 09:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987576064001,"66":27745,"203":206,"83":44032,"24":24,"16":403702324251328512,"44":-1560989821260627968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-10 09:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987576064001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403702324251328512,"km_value":403702324251328.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560989821260627968,"description":"Unknown IO ID 44"} 
[2026-09-10 09:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987576064001,"power":27745,"mnc":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1560989821260627968}} 
[2026-09-10 09:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":178921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:50:42] local.INFO: GPS data processed {"connection_id":178921,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:50:42] local.INFO: Acknowledgment sent {"connection_id":178921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:50:49] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:50:49] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:50:49] local.INFO: IMEI packet received {"connection_id":176136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":176136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:50:54] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:50:54] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:50:54] local.INFO: IMEI packet received {"connection_id":176136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":176136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:50:55] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898b9770012d0c3a4007035f30001f00c91b..."} 
[2026-09-10 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898b9770012d0c3a4007035f30001f00c91b..."} 
[2026-09-10 09:50:55] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898b9770012d0c3a4007035f30001f00c91b..."} 
[2026-09-10 09:50:55] local.INFO: Packet analysis {"connection_id":176136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:50:55] local.INFO: Extracted packet for processing {"connection_id":176136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755776064,"raw_latitude":117661488,"longitude_deg":75.5776064,"latitude_deg":11.7661488,"altitude":31,"angle":201,"satellites":27,"speed":8,"hex_longitude":"2d0c3a40","hex_latitude":"07035f30","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987589376001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31134943778177024,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881157444714098688,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50: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-09-10 09:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789014022000,"timestamp_ms":1789014022000,"timestamp_seconds":1789014022,"priority":1,"record_length":96,"hex_timestamp":"000001a0898b9770"} 
[2026-09-10 09:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:50: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-09-10 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 09:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987589376001,"66":13906,"16":31134943778177024,"94":11008,"24":8,"45":881157444714098688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987589376001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31134943778177024,"km_value":31134943778177.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":881157444714098688,"description":"Unknown IO ID 45"} 
[2026-09-10 09:50:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987589376001,"power":13906,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":881157444714098688}} 
[2026-09-10 09:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":176136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793132,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:50:55] local.INFO: GPS data processed {"connection_id":176136,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:50:55] local.INFO: Acknowledgment sent {"connection_id":176136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:50:59] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:59] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:50:59] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:59] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:50: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-09-10 09:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 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-09-10 09:50: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-09-10 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":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:50:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:50:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:50:59] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:50:59] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:51:13] local.INFO: TCP Data received {"connection_id":178921,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898b7830012cea18c0072e0a800018011127..."} 
[2026-09-10 09:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898b7830012cea18c0072e0a800018011127..."} 
[2026-09-10 09:51:13] local.INFO: Processing buffer {"connection_id":178921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898b7830012cea18c0072e0a800018011127..."} 
[2026-09-10 09:51:13] local.INFO: Packet analysis {"connection_id":178921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:51:13] local.INFO: Extracted packet for processing {"connection_id":178921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":753539264,"raw_latitude":120457856,"longitude_deg":75.3539264,"latitude_deg":12.0457856,"altitude":24,"angle":273,"satellites":39,"speed":25,"hex_longitude":"2cea18c0","hex_latitude":"072e0a80","is_valid_coordinates":true} 
[2026-09-10 09:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987587072001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403703694345895936,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577104263672637440,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789014014000,"timestamp_ms":1789014014000,"timestamp_seconds":1789014014,"priority":1,"record_length":96,"hex_timestamp":"000001a0898b7830"} 
[2026-09-10 09:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 09:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09: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-09-10 09:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987587072001,"66":27658,"203":206,"83":44032,"24":25,"16":403703694345895936,"44":-1577104263672637440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-10 09:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987587072001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403703694345895936,"km_value":403703694345895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577104263672637440,"description":"Unknown IO ID 44"} 
[2026-09-10 09:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987587072001,"power":27658,"mnc":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1577104263672637440}} 
[2026-09-10 09:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":178921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:51:13] local.INFO: GPS data processed {"connection_id":178921,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:51:13] local.INFO: Acknowledgment sent {"connection_id":178921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:51:17] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:51:17] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:51:17] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:51:22] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:51:22] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:51:22] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:51:23] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:51:23] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:51:23] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:51:23] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 09:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:51: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-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:51:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:51:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:51:23] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:51:23] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:51:26] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898b9b58012d0c3a0007035e48001e00bb1c..."} 
[2026-09-10 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898b9b58012d0c3a0007035e48001e00bb1c..."} 
[2026-09-10 09:51:26] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898b9b58012d0c3a0007035e48001e00bb1c..."} 
[2026-09-10 09:51:26] local.INFO: Packet analysis {"connection_id":176136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:51:26] local.INFO: Extracted packet for processing {"connection_id":176136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755776000,"raw_latitude":117661256,"longitude_deg":75.5776,"latitude_deg":11.7661256,"altitude":30,"angle":187,"satellites":28,"speed":9,"hex_longitude":"2d0c3a00","hex_latitude":"07035e48","is_valid_coordinates":true} 
[2026-09-10 09:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987589632001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31134952368111616,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881087075969871872,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51: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-09-10 09:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789014023000,"timestamp_ms":1789014023000,"timestamp_seconds":1789014023,"priority":1,"record_length":96,"hex_timestamp":"000001a0898b9b58"} 
[2026-09-10 09:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 09:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987589632001,"66":14515,"16":31134952368111616,"94":11008,"24":9,"45":881087075969871872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 09:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987589632001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31134952368111616,"km_value":31134952368111.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":881087075969871872,"description":"Unknown IO ID 45"} 
[2026-09-10 09:51:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987589632001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":881087075969871872}} 
[2026-09-10 09:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":176136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:51:26] local.INFO: GPS data processed {"connection_id":176136,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:51:26] local.INFO: Acknowledgment sent {"connection_id":176136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:51:36] local.INFO: TCP Data received {"connection_id":177537,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:51:36] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:51:36] local.INFO: IMEI packet received {"connection_id":177537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":177537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:51:40] local.INFO: TCP Data received {"connection_id":177537,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:51:40] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:51:40] local.INFO: IMEI packet received {"connection_id":177537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":177537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:51:41] local.INFO: TCP Data received {"connection_id":177537,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898b9b58012ce9fc80072e0c500011010526..."} 
[2026-09-10 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898b9b58012ce9fc80072e0c500011010526..."} 
[2026-09-10 09:51:41] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898b9b58012ce9fc80072e0c500011010526..."} 
[2026-09-10 09:51:41] local.INFO: Packet analysis {"connection_id":177537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:51:41] local.INFO: Extracted packet for processing {"connection_id":177537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":753532032,"raw_latitude":120458320,"longitude_deg":75.3532032,"latitude_deg":12.045832,"altitude":17,"angle":261,"satellites":38,"speed":31,"hex_longitude":"2ce9fc80","hex_latitude":"072e0c50","is_valid_coordinates":true} 
[2026-09-10 09:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987587584001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403704037943279616,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578300532323614720,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789014023000,"timestamp_ms":1789014023000,"timestamp_seconds":1789014023,"priority":1,"record_length":96,"hex_timestamp":"000001a0898b9b58"} 
[2026-09-10 09:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 09:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987587584001,"66":27832,"203":206,"83":44032,"24":31,"16":403704037943279616,"44":-1578300532323614720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-10 09:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987587584001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403704037943279616,"km_value":403704037943279.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578300532323614720,"description":"Unknown IO ID 44"} 
[2026-09-10 09:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987587584001,"power":27832,"mnc":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1578300532323614720}} 
[2026-09-10 09:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":177537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:51:41] local.INFO: GPS data processed {"connection_id":177537,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:51:41] local.INFO: Acknowledgment sent {"connection_id":177537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:51:49] local.INFO: TCP Data received {"connection_id":178922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:49] local.INFO: Processing buffer {"connection_id":178922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:49] local.INFO: IMEI packet received {"connection_id":178922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":178922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:51:53] local.INFO: TCP Data received {"connection_id":178922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:53] local.INFO: Processing buffer {"connection_id":178922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:53] local.INFO: IMEI packet received {"connection_id":178922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":178922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:51:54] local.INFO: TCP Data received {"connection_id":178922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:54] local.INFO: Processing buffer {"connection_id":178922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:51:54] local.INFO: IMEI packet received {"connection_id":178922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":178922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:51:54] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:51:54] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:51:54] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:51:54] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 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-09-10 09: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-09-10 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":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:51:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:51:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:51:55] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:51:55] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:51:55] local.INFO: TCP Data received {"connection_id":178922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898c9940012d0c158007033f500016010d1f..."} 
[2026-09-10 09:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898c9940012d0c158007033f500016010d1f..."} 
[2026-09-10 09:51:55] local.INFO: Processing buffer {"connection_id":178922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898c9940012d0c158007033f500016010d1f..."} 
[2026-09-10 09:51:55] local.INFO: Packet analysis {"connection_id":178922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:51:55] local.INFO: Extracted packet for processing {"connection_id":178922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755766656,"raw_latitude":117653328,"longitude_deg":75.5766656,"latitude_deg":11.7653328,"altitude":22,"angle":269,"satellites":31,"speed":13,"hex_longitude":"2d0c1580","hex_latitude":"07033f50","is_valid_coordinates":true} 
[2026-09-10 09:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987606272001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31135626677977088,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871094714294560768,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789014088000,"timestamp_ms":1789014088000,"timestamp_seconds":1789014088,"priority":1,"record_length":96,"hex_timestamp":"000001a0898c9940"} 
[2026-09-10 09:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:51: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-09-10 09:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:51: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-09-10 09:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987606272001,"66":14439,"37":206,"94":11008,"24":13,"16":31135626677977088,"45":871094714294560768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987606272001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:51:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:51:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31135626677977088,"km_value":31135626677977.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":871094714294560768,"description":"Unknown IO ID 45"} 
[2026-09-10 09:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987606272001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":871094714294560768}} 
[2026-09-10 09:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":178922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:51:55] local.INFO: GPS data processed {"connection_id":178922,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:51:55] local.INFO: Acknowledgment sent {"connection_id":178922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:51:56] local.INFO: TCP Data received {"connection_id":178922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898cacc8012d0c0c4007034008001401181e..."} 
[2026-09-10 09:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898cacc8012d0c0c4007034008001401181e..."} 
[2026-09-10 09:51:56] local.INFO: Processing buffer {"connection_id":178922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898cacc8012d0c0c4007034008001401181e..."} 
[2026-09-10 09:51:56] local.INFO: Packet analysis {"connection_id":178922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:51:56] local.INFO: Extracted packet for processing {"connection_id":178922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:51:56] local.INFO: GPS Element Parsed {"raw_longitude":755764288,"raw_latitude":117653512,"longitude_deg":75.5764288,"latitude_deg":11.7653512,"altitude":20,"angle":280,"satellites":30,"speed":17,"hex_longitude":"2d0c0c40","hex_latitude":"07034008","is_valid_coordinates":true} 
[2026-09-10 09:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987606528001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31135738347126784,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870742870573666304,"note":"Value kept but may cause issues"} 
[2026-09-10 09:51: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-09-10 09:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789014093000,"timestamp_ms":1789014093000,"timestamp_seconds":1789014093,"priority":1,"record_length":96,"hex_timestamp":"000001a0898cacc8"} 
[2026-09-10 09:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:51: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-09-10 09:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 09:51: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-09-10 09:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987606528001,"66":13863,"37":206,"94":11008,"24":17,"16":31135738347126784,"45":870742870573666304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987606528001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:51:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:51:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31135738347126784,"km_value":31135738347126.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":870742870573666304,"description":"Unknown IO ID 45"} 
[2026-09-10 09:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987606528001,"power":13863,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":870742870573666304}} 
[2026-09-10 09:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":178922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793140,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:51:56] local.INFO: GPS data processed {"connection_id":178922,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:51:56] local.INFO: Acknowledgment sent {"connection_id":178922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:52:12] local.INFO: TCP Data received {"connection_id":177537,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898bb2c8012ce9e980072e0a48000e011226..."} 
[2026-09-10 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898bb2c8012ce9e980072e0a48000e011226..."} 
[2026-09-10 09:52:12] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898bb2c8012ce9e980072e0a48000e011226..."} 
[2026-09-10 09:52:12] local.INFO: Packet analysis {"connection_id":177537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:52:12] local.INFO: Extracted packet for processing {"connection_id":177537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898b"} 
[2026-09-10 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":753527168,"raw_latitude":120457800,"longitude_deg":75.3527168,"latitude_deg":12.04578,"altitude":14,"angle":274,"satellites":38,"speed":33,"hex_longitude":"2ce9e980","hex_latitude":"072e0a48","is_valid_coordinates":true} 
[2026-09-10 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987589888001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403704274166480896,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586252200415571968,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789014029000,"timestamp_ms":1789014029000,"timestamp_seconds":1789014029,"priority":1,"record_length":96,"hex_timestamp":"000001a0898bb2c8"} 
[2026-09-10 09:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 09:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:52: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-09-10 09:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987589888001,"66":27745,"203":206,"83":44032,"24":33,"16":403704274166480896,"44":-1586252200415571968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-10 09:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987589888001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403704274166480896,"km_value":403704274166480.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586252200415571968,"description":"Unknown IO ID 44"} 
[2026-09-10 09:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987589888001,"power":27745,"mnc":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1586252200415571968}} 
[2026-09-10 09:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":177537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:52:12] local.INFO: GPS data processed {"connection_id":177537,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:52:12] local.INFO: Acknowledgment sent {"connection_id":177537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:52:18] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:52:18] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:52:18] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:52:22] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:52:22] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:52:22] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:52:23] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:52:23] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:52:23] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:52:23] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 09:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:52: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-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:52:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:52:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:52:23] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:52:23] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:52:27] local.INFO: TCP Data received {"connection_id":178922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898cb498012d0c09c0070340480014010d1e..."} 
[2026-09-10 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898cb498012d0c09c0070340480014010d1e..."} 
[2026-09-10 09:52:27] local.INFO: Processing buffer {"connection_id":178922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898cb498012d0c09c0070340480014010d1e..."} 
[2026-09-10 09:52:27] local.INFO: Packet analysis {"connection_id":178922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:52:27] local.INFO: Extracted packet for processing {"connection_id":178922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":755763648,"raw_latitude":117653576,"longitude_deg":75.5763648,"latitude_deg":11.7653576,"altitude":20,"angle":269,"satellites":30,"speed":10,"hex_longitude":"2d0c09c0","hex_latitude":"07034048","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987607808001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31135772706865152,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868139227039139840,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52: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-09-10 09:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789014095000,"timestamp_ms":1789014095000,"timestamp_seconds":1789014095,"priority":1,"record_length":96,"hex_timestamp":"000001a0898cb498"} 
[2026-09-10 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-09-10 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-10 09:52:27] 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-09-10 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-09-10 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-09-10 09:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":178922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":178922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":178922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987607808001,"66":14461,"37":206,"94":11008,"24":10,"16":31135772706865152,"45":868139227039139840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987607808001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:52:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:52:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31135772706865152,"km_value":31135772706865.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":868139227039139840,"description":"Unknown IO ID 45"} 
[2026-09-10 09:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987607808001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":868139227039139840}} 
[2026-09-10 09:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":178922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:52:27] local.INFO: GPS data processed {"connection_id":178922,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:52:27] local.INFO: Acknowledgment sent {"connection_id":178922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:52:36] local.INFO: TCP Data received {"connection_id":178923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:36] local.INFO: Processing buffer {"connection_id":178923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:36] local.INFO: IMEI packet received {"connection_id":178923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":178923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:52:36] local.INFO: TCP Data received {"connection_id":178923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:36] local.INFO: Processing buffer {"connection_id":178923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:36] local.INFO: IMEI packet received {"connection_id":178923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":178923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:52:41] local.INFO: TCP Data received {"connection_id":178923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:41] local.INFO: Processing buffer {"connection_id":178923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:52:41] local.INFO: IMEI packet received {"connection_id":178923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":178923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:52:42] local.INFO: TCP Data received {"connection_id":178923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ca8e0012ce94800072e66e00007011626..."} 
[2026-09-10 09:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ca8e0012ce94800072e66e00007011626..."} 
[2026-09-10 09:52:42] local.INFO: Processing buffer {"connection_id":178923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ca8e0012ce94800072e66e00007011626..."} 
[2026-09-10 09:52:42] local.INFO: Packet analysis {"connection_id":178923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:52:42] local.INFO: Extracted packet for processing {"connection_id":178923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753485824,"raw_latitude":120481504,"longitude_deg":75.3485824,"latitude_deg":12.0481504,"altitude":7,"angle":278,"satellites":38,"speed":26,"hex_longitude":"2ce94800","hex_latitude":"072e66e0","is_valid_coordinates":true} 
[2026-09-10 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987604224001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403706687938101248,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1627206809521477632,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789014092000,"timestamp_ms":1789014092000,"timestamp_seconds":1789014092,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ca8e0"} 
[2026-09-10 09:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 09:52: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-09-10 09:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:52: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-09-10 09:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987604224001,"66":27930,"28":206,"83":44032,"24":26,"16":403706687938101248,"44":-1627206809521477632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 09:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987604224001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 09:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403706687938101248,"km_value":403706687938101.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1627206809521477632,"description":"Unknown IO ID 44"} 
[2026-09-10 09:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987604224001,"power":27930,"unknown_28":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1627206809521477632}} 
[2026-09-10 09:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":178923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:52:42] local.INFO: GPS data processed {"connection_id":178923,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:52:42] local.INFO: Acknowledgment sent {"connection_id":178923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:52:49] local.INFO: TCP Data received {"connection_id":178924,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:52:49] local.INFO: Processing buffer {"connection_id":178924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:52:49] local.INFO: IMEI packet received {"connection_id":178924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":178924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:52:54] local.INFO: TCP Data received {"connection_id":178924,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:52:54] local.INFO: Processing buffer {"connection_id":178924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:52:54] local.INFO: IMEI packet received {"connection_id":178924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":178924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:52:55] local.INFO: TCP Data received {"connection_id":178924,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898d9728012d0be4c0070359c8001401181f..."} 
[2026-09-10 09:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898d9728012d0be4c0070359c8001401181f..."} 
[2026-09-10 09:52:55] local.INFO: Processing buffer {"connection_id":178924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898d9728012d0be4c0070359c8001401181f..."} 
[2026-09-10 09:52:55] local.INFO: Packet analysis {"connection_id":178924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898d"} 
[2026-09-10 09:52:55] local.INFO: Extracted packet for processing {"connection_id":178924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898d"} 
[2026-09-10 09:52:55] local.INFO: GPS Element Parsed {"raw_longitude":755754176,"raw_latitude":117660104,"longitude_deg":75.5754176,"latitude_deg":11.7660104,"altitude":20,"angle":280,"satellites":31,"speed":13,"hex_longitude":"2d0be4c0","hex_latitude":"070359c8","is_valid_coordinates":true} 
[2026-09-10 09:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987620864001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31136468491567104,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860961615134720000,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789014153000,"timestamp_ms":1789014153000,"timestamp_seconds":1789014153,"priority":1,"record_length":96,"hex_timestamp":"000001a0898d9728"} 
[2026-09-10 09:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:52: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-09-10 09:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987620864001,"66":14374,"37":206,"94":11008,"24":13,"16":31136468491567104,"45":860961615134720000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987620864001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31136468491567104,"km_value":31136468491567.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":860961615134720000,"description":"Unknown IO ID 45"} 
[2026-09-10 09:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987620864001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":860961615134720000}} 
[2026-09-10 09:52:55] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:52:55] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:52:55] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:52:55] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 09:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:52: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-09-10 09:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":178924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:52:55] local.INFO: GPS data processed {"connection_id":178924,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:52:55] local.INFO: Acknowledgment sent {"connection_id":178924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:52:55] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:52:55] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:53:13] local.INFO: TCP Data received {"connection_id":178923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898cd3d8012ce92480072e6af80006011725..."} 
[2026-09-10 09:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898cd3d8012ce92480072e6af80006011725..."} 
[2026-09-10 09:53:13] local.INFO: Processing buffer {"connection_id":178923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898cd3d8012ce92480072e6af80006011725..."} 
[2026-09-10 09:53:13] local.INFO: Packet analysis {"connection_id":178923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:53:13] local.INFO: Extracted packet for processing {"connection_id":178923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753476736,"raw_latitude":120482552,"longitude_deg":75.3476736,"latitude_deg":12.0482552,"altitude":6,"angle":279,"satellites":37,"speed":35,"hex_longitude":"2ce92480","hex_latitude":"072e6af8","is_valid_coordinates":true} 
[2026-09-10 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987607552001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403707121729798144,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1637058433705910272,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789014103000,"timestamp_ms":1789014103000,"timestamp_seconds":1789014103,"priority":1,"record_length":96,"hex_timestamp":"000001a0898cd3d8"} 
[2026-09-10 09:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 09:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:53: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-09-10 09:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987607552001,"66":27865,"28":206,"83":44032,"24":35,"16":403707121729798144,"44":-1637058433705910272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 09:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987607552001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:53:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 09:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403707121729798144,"km_value":403707121729798.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1637058433705910272,"description":"Unknown IO ID 44"} 
[2026-09-10 09:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987607552001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1637058433705910272}} 
[2026-09-10 09:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":178923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:53:13] local.INFO: GPS data processed {"connection_id":178923,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:53:13] local.INFO: Acknowledgment sent {"connection_id":178923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:53:17] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:53:17] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:53:17] local.INFO: IMEI packet received {"connection_id":176137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":176137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:53:22] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:53:22] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:53:22] local.INFO: IMEI packet received {"connection_id":176137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":176137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:53:23] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:53:23] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898a2840012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:53:23] local.INFO: Packet analysis {"connection_id":176137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:53:23] local.INFO: Extracted packet for processing {"connection_id":176137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898a"} 
[2026-09-10 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789013928000,"timestamp_ms":1789013928000,"timestamp_seconds":1789013928,"priority":1,"record_length":96,"hex_timestamp":"000001a0898a2840"} 
[2026-09-10 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-09-10 09:53: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-09-10 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987488512001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987488512001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":176137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:53:23] local.INFO: GPS data processed {"connection_id":176137,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:53:23] local.INFO: Acknowledgment sent {"connection_id":176137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:53:26] local.INFO: TCP Data received {"connection_id":178924,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0898d9ef8012d0be28007035af00013012c20..."} 
[2026-09-10 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898d9ef8012d0be28007035af00013012c20..."} 
[2026-09-10 09:53:26] local.INFO: Processing buffer {"connection_id":178924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898d9ef8012d0be28007035af00013012c20..."} 
[2026-09-10 09:53:26] local.INFO: Packet analysis {"connection_id":178924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898d"} 
[2026-09-10 09:53:26] local.INFO: Extracted packet for processing {"connection_id":178924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898d"} 
[2026-09-10 09:53:26] local.INFO: GPS Element Parsed {"raw_longitude":755753600,"raw_latitude":117660400,"longitude_deg":75.57536,"latitude_deg":11.76604,"altitude":19,"angle":300,"satellites":32,"speed":13,"hex_longitude":"2d0be280","hex_latitude":"07035af0","is_valid_coordinates":true} 
[2026-09-10 09:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987623168001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31136498556338176,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857020965460756480,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789014155000,"timestamp_ms":1789014155000,"timestamp_seconds":1789014155,"priority":1,"record_length":96,"hex_timestamp":"000001a0898d9ef8"} 
[2026-09-10 09:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 09:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 09:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 09:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 09:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987623168001,"66":14515,"37":206,"94":11008,"24":13,"16":31136498556338176,"45":857020965460756480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 09:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 09:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 09:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987623168001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:53:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 09:53:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 09:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31136498556338176,"km_value":31136498556338.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":857020965460756480,"description":"Unknown IO ID 45"} 
[2026-09-10 09:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987623168001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":857020965460756480}} 
[2026-09-10 09:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":178924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:53:27] local.INFO: GPS data processed {"connection_id":178924,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:53:27] local.INFO: Acknowledgment sent {"connection_id":178924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:53:36] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:36] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:36] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:53:38] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:38] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:38] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:53:39] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:39] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:39] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:53:41] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:41] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:53:41] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:53:42] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898cf318012ce90940072e72000007012329..."} 
[2026-09-10 09:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898cf318012ce90940072e72000007012329..."} 
[2026-09-10 09:53:42] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898cf318012ce90940072e72000007012329..."} 
[2026-09-10 09:53:42] local.INFO: Packet analysis {"connection_id":176382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:53:42] local.INFO: Extracted packet for processing {"connection_id":176382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898c"} 
[2026-09-10 09:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753469760,"raw_latitude":120484352,"longitude_deg":75.346976,"latitude_deg":12.0484352,"altitude":7,"angle":291,"satellites":41,"speed":33,"hex_longitude":"2ce90940","hex_latitude":"072e7200","is_valid_coordinates":true} 
[2026-09-10 09:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987610368001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403707465327181824,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1647050795378870272,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789014111000,"timestamp_ms":1789014111000,"timestamp_seconds":1789014111,"priority":1,"record_length":96,"hex_timestamp":"000001a0898cf318"} 
[2026-09-10 09:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:53: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-09-10 09:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 09:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:53: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-09-10 09:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987610368001,"66":27876,"28":206,"83":44032,"24":33,"16":403707465327181824,"44":-1647050795378870272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 09:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987610368001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 09:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403707465327181824,"km_value":403707465327181.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1647050795378870272,"description":"Unknown IO ID 44"} 
[2026-09-10 09:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987610368001,"power":27876,"unknown_28":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1647050795378870272}} 
[2026-09-10 09:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":176382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:53:42] local.INFO: GPS data processed {"connection_id":176382,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:53:42] local.INFO: Acknowledgment sent {"connection_id":176382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:53:50] local.INFO: TCP Data received {"connection_id":177538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:50] local.INFO: Processing buffer {"connection_id":177538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:50] local.INFO: IMEI packet received {"connection_id":177538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":177538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:53:51] local.INFO: TCP Data received {"connection_id":177538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:51] local.INFO: Processing buffer {"connection_id":177538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:51] local.INFO: IMEI packet received {"connection_id":177538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":177538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:53:52] local.INFO: TCP Data received {"connection_id":177538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:52] local.INFO: Processing buffer {"connection_id":177538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:52] local.INFO: IMEI packet received {"connection_id":177538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":177538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:53:53] local.INFO: TCP Data received {"connection_id":177538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:53] local.INFO: Processing buffer {"connection_id":177538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:53:53] local.INFO: IMEI packet received {"connection_id":177538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":177538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:53:54] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:53:54] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:53:54] local.INFO: Packet analysis {"connection_id":176137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:53:54] local.INFO: Extracted packet for processing {"connection_id":176137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 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-09-10 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":176137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:53:54] local.INFO: GPS data processed {"connection_id":176137,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:53:54] local.INFO: Acknowledgment sent {"connection_id":176137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:54:13] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898d0e70012ce8f5c0072e7c680008012e29..."} 
[2026-09-10 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898d0e70012ce8f5c0072e7c680008012e29..."} 
[2026-09-10 09:54:13] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898d0e70012ce8f5c0072e7c680008012e29..."} 
[2026-09-10 09:54:13] local.INFO: Packet analysis {"connection_id":176382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898d"} 
[2026-09-10 09:54:13] local.INFO: Extracted packet for processing {"connection_id":176382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898d"} 
[2026-09-10 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":753464768,"raw_latitude":120487016,"longitude_deg":75.3464768,"latitude_deg":12.0487016,"altitude":8,"angle":302,"satellites":41,"speed":27,"hex_longitude":"2ce8f5c0","hex_latitude":"072e7c68","is_valid_coordinates":true} 
[2026-09-10 09:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987612416001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403707735910121472,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1654720988493774848,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789014118000,"timestamp_ms":1789014118000,"timestamp_seconds":1789014118,"priority":1,"record_length":96,"hex_timestamp":"000001a0898d0e70"} 
[2026-09-10 09:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 09:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:54: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-09-10 09:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987612416001,"66":27865,"28":206,"83":44032,"24":27,"16":403707735910121472,"44":-1654720988493774848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 09:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987612416001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:54:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 09:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403707735910121472,"km_value":403707735910121.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1654720988493774848,"description":"Unknown IO ID 44"} 
[2026-09-10 09:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987612416001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1654720988493774848}} 
[2026-09-10 09:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":176382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:54:13] local.INFO: GPS data processed {"connection_id":176382,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:54:13] local.INFO: Acknowledgment sent {"connection_id":176382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:54:22] local.INFO: TCP Data received {"connection_id":178925,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:54:22] local.INFO: Processing buffer {"connection_id":178925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:54:22] local.INFO: IMEI packet received {"connection_id":178925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":178925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:54:27] local.INFO: TCP Data received {"connection_id":178925,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:54:27] local.INFO: Processing buffer {"connection_id":178925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:54:27] local.INFO: IMEI packet received {"connection_id":178925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":178925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:54:28] local.INFO: TCP Data received {"connection_id":178925,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:54:28] local.INFO: Processing buffer {"connection_id":178925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:54:28] local.INFO: Packet analysis {"connection_id":178925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:28] local.INFO: Extracted packet for processing {"connection_id":178925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:54:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:54:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":178925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:54:28] local.INFO: GPS data processed {"connection_id":178925,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:54:28] local.INFO: Acknowledgment sent {"connection_id":178925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:54:38] local.INFO: TCP Data received {"connection_id":177539,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:38] local.INFO: Processing buffer {"connection_id":177539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:38] local.INFO: IMEI packet received {"connection_id":177539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":177539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:54:48] local.INFO: TCP Data received {"connection_id":177539,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:48] local.INFO: Processing buffer {"connection_id":177539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:48] local.INFO: IMEI packet received {"connection_id":177539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":177539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:54:49] local.INFO: TCP Data received {"connection_id":177539,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:49] local.INFO: Processing buffer {"connection_id":177539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:54:49] local.INFO: IMEI packet received {"connection_id":177539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":177539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:54:52] local.INFO: TCP Data received {"connection_id":177539,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ed390012ce84880072f3ba0000f00002c..."} 
[2026-09-10 09:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ed390012ce84880072f3ba0000f00002c..."} 
[2026-09-10 09:54:52] local.INFO: Processing buffer {"connection_id":177539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ed390012ce84880072f3ba0000f00002c..."} 
[2026-09-10 09:54:52] local.INFO: Packet analysis {"connection_id":177539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:52] local.INFO: Extracted packet for processing {"connection_id":177539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:52] local.INFO: GPS Element Parsed {"raw_longitude":753420416,"raw_latitude":120535968,"longitude_deg":75.3420416,"latitude_deg":12.0535968,"altitude":15,"angle":0,"satellites":44,"speed":15,"hex_longitude":"2ce84880","hex_latitude":"072f3ba0","is_valid_coordinates":true} 
[2026-09-10 09:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987640832001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403710982905397248,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1707497546615320576,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789014234000,"timestamp_ms":1789014234000,"timestamp_seconds":1789014234,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ed390"} 
[2026-09-10 09:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 09:54:52] 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-09-10 09:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987640832001,"66":27604,"57":206,"83":44032,"24":15,"16":403710982905397248,"44":-1707497546615320576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,44]} 
[2026-09-10 09:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987640832001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403710982905397248,"km_value":403710982905397.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1707497546615320576,"description":"Unknown IO ID 44"} 
[2026-09-10 09:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987640832001,"power":27604,"unknown_57":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1707497546615320576}} 
[2026-09-10 09:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":177539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:54:52] local.INFO: GPS data processed {"connection_id":177539,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:54:52] local.INFO: Acknowledgment sent {"connection_id":177539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:54:53] local.INFO: TCP Data received {"connection_id":177539,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898edf48012ce84900072f40380010000d2a..."} 
[2026-09-10 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898edf48012ce84900072f40380010000d2a..."} 
[2026-09-10 09:54:53] local.INFO: Processing buffer {"connection_id":177539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898edf48012ce84900072f40380010000d2a..."} 
[2026-09-10 09:54:53] local.INFO: Packet analysis {"connection_id":177539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:53] local.INFO: Extracted packet for processing {"connection_id":177539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:53] local.INFO: GPS Element Parsed {"raw_longitude":753420544,"raw_latitude":120537144,"longitude_deg":75.3420544,"latitude_deg":12.0537144,"altitude":16,"angle":13,"satellites":42,"speed":16,"hex_longitude":"2ce84900","hex_latitude":"072f4038","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987643904001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403711043034939392,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1708975290241540096,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789014237000,"timestamp_ms":1789014237000,"timestamp_seconds":1789014237,"priority":1,"record_length":96,"hex_timestamp":"000001a0898edf48"} 
[2026-09-10 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-09-10 09:54: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-09-10 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 09:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987643904001,"66":27865,"57":206,"83":44032,"24":16,"16":403711043034939392,"44":-1708975290241540096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,44]} 
[2026-09-10 09:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987643904001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:54:53] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-10 09:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403711043034939392,"km_value":403711043034939.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:54:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1708975290241540096,"description":"Unknown IO ID 44"} 
[2026-09-10 09:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987643904001,"power":27865,"unknown_57":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1708975290241540096}} 
[2026-09-10 09:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":177539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:54:53] local.INFO: GPS data processed {"connection_id":177539,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:54:53] local.INFO: Acknowledgment sent {"connection_id":177539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:54:59] local.INFO: TCP Data received {"connection_id":178925,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:54:59] local.INFO: Processing buffer {"connection_id":178925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:54:59] local.INFO: Packet analysis {"connection_id":178925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:59] local.INFO: Extracted packet for processing {"connection_id":178925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:54: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-09-10 09:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:54:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":178925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:54:59] local.INFO: GPS data processed {"connection_id":178925,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:54:59] local.INFO: Acknowledgment sent {"connection_id":178925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:55:18] local.INFO: TCP Data received {"connection_id":178926,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:55:18] local.INFO: Processing buffer {"connection_id":178926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:55:18] local.INFO: IMEI packet received {"connection_id":178926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":178926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:55:22] local.INFO: TCP Data received {"connection_id":178926,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:55:22] local.INFO: Processing buffer {"connection_id":178926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:55:22] local.INFO: IMEI packet received {"connection_id":178926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":178926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:55:24] local.INFO: TCP Data received {"connection_id":178926,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:55:24] local.INFO: Processing buffer {"connection_id":178926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:55:24] local.INFO: Packet analysis {"connection_id":178926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:55:24] local.INFO: Extracted packet for processing {"connection_id":178926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55: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-09-10 09:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:55:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:55:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":178926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:55:24] local.INFO: GPS data processed {"connection_id":178926,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:55:24] local.INFO: Acknowledgment sent {"connection_id":178926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:55:36] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:36] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:36] local.INFO: IMEI packet received {"connection_id":176383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":176383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:55:37] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:37] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:37] local.INFO: IMEI packet received {"connection_id":176383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":176383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:55:41] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:41] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:55:41] local.INFO: IMEI packet received {"connection_id":176383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":176383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:55:41] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898f92f8012ce82700072f7090001b011928..."} 
[2026-09-10 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898f92f8012ce82700072f7090001b011928..."} 
[2026-09-10 09:55:41] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898f92f8012ce82700072f7090001b011928..."} 
[2026-09-10 09:55:41] local.INFO: Packet analysis {"connection_id":176383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898f"} 
[2026-09-10 09:55:41] local.INFO: Extracted packet for processing {"connection_id":176383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898f"} 
[2026-09-10 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753411840,"raw_latitude":120549520,"longitude_deg":75.341184,"latitude_deg":12.054952,"altitude":27,"angle":281,"satellites":40,"speed":21,"hex_longitude":"2ce82700","hex_latitude":"072f7090","is_valid_coordinates":true} 
[2026-09-10 09:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987654400001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403712258510684160,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1712986308656050176,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789014283000,"timestamp_ms":1789014283000,"timestamp_seconds":1789014283,"priority":1,"record_length":96,"hex_timestamp":"000001a0898f92f8"} 
[2026-09-10 09:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 09:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987654400001,"66":27930,"28":206,"83":44032,"24":21,"16":403712258510684160,"44":-1712986308656050176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 09:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987654400001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:55:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 09:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403712258510684160,"km_value":403712258510684.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1712986308656050176,"description":"Unknown IO ID 44"} 
[2026-09-10 09:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987654400001,"power":27930,"unknown_28":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1712986308656050176}} 
[2026-09-10 09:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":176383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:55:41] local.INFO: GPS data processed {"connection_id":176383,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:55:41] local.INFO: Acknowledgment sent {"connection_id":176383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:55:54] local.INFO: TCP Data received {"connection_id":178926,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:55:54] local.INFO: Processing buffer {"connection_id":178926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:55:54] local.INFO: Packet analysis {"connection_id":178926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:55:54] local.INFO: Extracted packet for processing {"connection_id":178926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:55: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":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:55:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:55:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":178926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:55:55] local.INFO: GPS data processed {"connection_id":178926,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:55:55] local.INFO: Acknowledgment sent {"connection_id":178926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:56:13] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0898f9ac8012ce82240072f7220001d012f2a..."} 
[2026-09-10 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898f9ac8012ce82240072f7220001d012f2a..."} 
[2026-09-10 09:56:13] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898f9ac8012ce82240072f7220001d012f2a..."} 
[2026-09-10 09:56:13] local.INFO: Packet analysis {"connection_id":176383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898f"} 
[2026-09-10 09:56:13] local.INFO: Extracted packet for processing {"connection_id":176383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898f"} 
[2026-09-10 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753410624,"raw_latitude":120549920,"longitude_deg":75.3410624,"latitude_deg":12.054992,"altitude":29,"angle":303,"satellites":42,"speed":22,"hex_longitude":"2ce82240","hex_latitude":"072f7220","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987656448001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403712322935193600,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1718404701957877760,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789014285000,"timestamp_ms":1789014285000,"timestamp_seconds":1789014285,"priority":1,"record_length":96,"hex_timestamp":"000001a0898f9ac8"} 
[2026-09-10 09:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 09:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:56: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-09-10 09:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987656448001,"66":27821,"28":206,"83":44032,"24":22,"16":403712322935193600,"44":-1718404701957877760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 09:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987656448001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:56:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 09:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403712322935193600,"km_value":403712322935193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1718404701957877760,"description":"Unknown IO ID 44"} 
[2026-09-10 09:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987656448001,"power":27821,"unknown_28":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1718404701957877760}} 
[2026-09-10 09:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":176383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:56:13] local.INFO: GPS data processed {"connection_id":176383,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:56:13] local.INFO: Acknowledgment sent {"connection_id":176383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:56:17] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:56:17] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:56:17] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:56:22] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:56:22] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:56:22] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:56:23] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:56:23] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:56:23] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:56:23] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:56:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:56:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:56:23] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:56:23] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:56:54] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:56:54] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:56:54] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:56:54] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:56:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:56:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:56:55] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:56:55] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:57:11] local.INFO: TCP Data received {"connection_id":178927,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:11] local.INFO: Processing buffer {"connection_id":178927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:11] local.INFO: IMEI packet received {"connection_id":178927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":178927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:57:16] local.INFO: TCP Data received {"connection_id":178927,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:16] local.INFO: Processing buffer {"connection_id":178927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:16] local.INFO: IMEI packet received {"connection_id":178927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":178927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:57:17] local.INFO: TCP Data received {"connection_id":178927,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089904e78012ce7d280072f9df0002a01252c..."} 
[2026-09-10 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089904e78012ce7d280072f9df0002a01252c..."} 
[2026-09-10 09:57:17] local.INFO: Processing buffer {"connection_id":178927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089904e78012ce7d280072f9df0002a01252c..."} 
[2026-09-10 09:57:17] local.INFO: Packet analysis {"connection_id":178927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08990"} 
[2026-09-10 09:57:17] local.INFO: Extracted packet for processing {"connection_id":178927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08990"} 
[2026-09-10 09:57:17] local.INFO: GPS Element Parsed {"raw_longitude":753390208,"raw_latitude":120561136,"longitude_deg":75.3390208,"latitude_deg":12.0561136,"altitude":42,"angle":293,"satellites":44,"speed":24,"hex_longitude":"2ce7d280","hex_latitude":"072f9df0","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987666432001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403713589950545920,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1736559837953206272,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789014331000,"timestamp_ms":1789014331000,"timestamp_seconds":1789014331,"priority":1,"record_length":96,"hex_timestamp":"000001a089904e78"} 
[2026-09-10 09:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 09:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987666432001,"66":27908,"28":206,"83":44032,"24":24,"16":403713589950545920,"44":-1736559837953206272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 09:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987666432001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:57:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 09:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403713589950545920,"km_value":403713589950545.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1736559837953206272,"description":"Unknown IO ID 44"} 
[2026-09-10 09:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987666432001,"power":27908,"unknown_28":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1736559837953206272}} 
[2026-09-10 09:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":178927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:57:17] local.INFO: GPS data processed {"connection_id":178927,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:57:17] local.INFO: Acknowledgment sent {"connection_id":178927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:57:17] local.INFO: TCP Data received {"connection_id":177542,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:57:17] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:57:17] local.INFO: IMEI packet received {"connection_id":177542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":177542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:57:22] local.INFO: TCP Data received {"connection_id":177542,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:57:22] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:57:22] local.INFO: IMEI packet received {"connection_id":177542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":177542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:57:23] local.INFO: TCP Data received {"connection_id":177542,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:57:23] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:57:23] local.INFO: Packet analysis {"connection_id":177542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:57:23] local.INFO: Extracted packet for processing {"connection_id":177542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:57:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:57:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":177542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:57:24] local.INFO: GPS data processed {"connection_id":177542,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:57:24] local.INFO: Acknowledgment sent {"connection_id":177542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:57:39] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:39] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:39] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:57:41] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:41] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:41] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:57:45] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:45] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:57:45] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:57:45] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089916f88012ce7858007304660002e010b2c..."} 
[2026-09-10 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089916f88012ce7858007304660002e010b2c..."} 
[2026-09-10 09:57:45] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089916f88012ce7858007304660002e010b2c..."} 
[2026-09-10 09:57:45] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08991"} 
[2026-09-10 09:57:45] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08991"} 
[2026-09-10 09:57:45] local.INFO: GPS Element Parsed {"raw_longitude":753370496,"raw_latitude":120604256,"longitude_deg":75.3370496,"latitude_deg":12.0604256,"altitude":46,"angle":267,"satellites":44,"speed":20,"hex_longitude":"2ce78580","hex_latitude":"07304660","is_valid_coordinates":true} 
[2026-09-10 09:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987687168001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403715982247329792,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1762666642031654912,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789014405000,"timestamp_ms":1789014405000,"timestamp_seconds":1789014405,"priority":1,"record_length":96,"hex_timestamp":"000001a089916f88"} 
[2026-09-10 09:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 09:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987687168001,"66":27876,"67":206,"83":44032,"24":20,"16":403715982247329792,"44":-1762666642031654912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-10 09:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987687168001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:57:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 09:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403715982247329792,"km_value":403715982247329.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1762666642031654912,"description":"Unknown IO ID 44"} 
[2026-09-10 09:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987687168001,"power":27876,"unknown_67":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1762666642031654912}} 
[2026-09-10 09:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:57:45] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:57:45] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:57:54] local.INFO: TCP Data received {"connection_id":177542,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:57:54] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:57:54] local.INFO: Packet analysis {"connection_id":177542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:57:54] local.INFO: Extracted packet for processing {"connection_id":177542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 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-09-10 09:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:57:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:57:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":177542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:57:55] local.INFO: GPS data processed {"connection_id":177542,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:57:55] local.INFO: Acknowledgment sent {"connection_id":177542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:58:17] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08991ec88012ce7564007305748002800d72b..."} 
[2026-09-10 09:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08991ec88012ce7564007305748002800d72b..."} 
[2026-09-10 09:58:17] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08991ec88012ce7564007305748002800d72b..."} 
[2026-09-10 09:58:17] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08991"} 
[2026-09-10 09:58:17] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08991"} 
[2026-09-10 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":753358400,"raw_latitude":120608584,"longitude_deg":75.33584,"latitude_deg":12.0608584,"altitude":40,"angle":215,"satellites":43,"speed":23,"hex_longitude":"2ce75640","hex_latitude":"07305748","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987695360001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403716828355887104,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1776529284633249792,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789014437000,"timestamp_ms":1789014437000,"timestamp_seconds":1789014437,"priority":1,"record_length":96,"hex_timestamp":"000001a08991ec88"} 
[2026-09-10 09:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":228,"data_length":795,"current_offset":136} 
[2026-09-10 09:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987695360001,"66":27832,"67":206,"83":44032,"24":23,"16":403716828355887104,"44":-1776529284633249792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-10 09:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987695360001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:58:17] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 09:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403716828355887104,"km_value":403716828355887.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1776529284633249792,"description":"Unknown IO ID 44"} 
[2026-09-10 09:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987695360001,"power":27832,"unknown_67":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1776529284633249792}} 
[2026-09-10 09:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:58:17] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:58:17] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:58:17] local.INFO: TCP Data received {"connection_id":177543,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:58:17] local.INFO: Processing buffer {"connection_id":177543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:58:17] local.INFO: IMEI packet received {"connection_id":177543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":177543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:58:22] local.INFO: TCP Data received {"connection_id":177543,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:58:22] local.INFO: Processing buffer {"connection_id":177543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:58:22] local.INFO: IMEI packet received {"connection_id":177543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":177543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:58:23] local.INFO: TCP Data received {"connection_id":177543,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:58:23] local.INFO: Processing buffer {"connection_id":177543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0898ec008012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:58:23] local.INFO: Packet analysis {"connection_id":177543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:58:23] local.INFO: Extracted packet for processing {"connection_id":177543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0898e"} 
[2026-09-10 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987565568001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789014229000,"timestamp_ms":1789014229000,"timestamp_seconds":1789014229,"priority":1,"record_length":96,"hex_timestamp":"000001a0898ec008"} 
[2026-09-10 09:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987565568001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987565568001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:58:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:58:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987565568001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":177543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:58:23] local.INFO: GPS data processed {"connection_id":177543,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:58:23] local.INFO: Acknowledgment sent {"connection_id":177543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:58:36] local.INFO: TCP Data received {"connection_id":177544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:36] local.INFO: Processing buffer {"connection_id":177544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:36] local.INFO: IMEI packet received {"connection_id":177544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":177544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:58:37] local.INFO: TCP Data received {"connection_id":177544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:37] local.INFO: Processing buffer {"connection_id":177544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:37] local.INFO: IMEI packet received {"connection_id":177544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":177544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:58:41] local.INFO: TCP Data received {"connection_id":177544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:41] local.INFO: Processing buffer {"connection_id":177544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:58:41] local.INFO: IMEI packet received {"connection_id":177544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":177544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:58:42] local.INFO: TCP Data received {"connection_id":177544,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08991f840012ce75100073051f8002900e62c..."} 
[2026-09-10 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08991f840012ce75100073051f8002900e62c..."} 
[2026-09-10 09:58:42] local.INFO: Processing buffer {"connection_id":177544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08991f840012ce75100073051f8002900e62c..."} 
[2026-09-10 09:58:42] local.INFO: Packet analysis {"connection_id":177544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08991"} 
[2026-09-10 09:58:42] local.INFO: Extracted packet for processing {"connection_id":177544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08991"} 
[2026-09-10 09:58:42] local.INFO: GPS Element Parsed {"raw_longitude":753357056,"raw_latitude":120607224,"longitude_deg":75.3357056,"latitude_deg":12.0607224,"altitude":41,"angle":230,"satellites":44,"speed":26,"hex_longitude":"2ce75100","hex_latitude":"073051f8","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987695872001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403716918550200320,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1777162603331106816,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789014440000,"timestamp_ms":1789014440000,"timestamp_seconds":1789014440,"priority":1,"record_length":96,"hex_timestamp":"000001a08991f840"} 
[2026-09-10 09:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:58: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-09-10 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 09:58: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-09-10 09: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-09-10 09:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:58: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-09-10 09:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987695872001,"66":27887,"67":206,"83":44032,"24":26,"16":403716918550200320,"44":-1777162603331106816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-10 09:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987695872001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:58:42] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 09:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403716918550200320,"km_value":403716918550200.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1777162603331106816,"description":"Unknown IO ID 44"} 
[2026-09-10 09:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987695872001,"power":27887,"unknown_67":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1777162603331106816}} 
[2026-09-10 09:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":177544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:58:42] local.INFO: GPS data processed {"connection_id":177544,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:58:42] local.INFO: Acknowledgment sent {"connection_id":177544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:58:54] local.INFO: TCP Data received {"connection_id":177543,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:58:54] local.INFO: Processing buffer {"connection_id":177543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:58:54] local.INFO: Packet analysis {"connection_id":177543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 09:58:54] local.INFO: Extracted packet for processing {"connection_id":177543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 09:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987642624001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789014530000,"timestamp_ms":1789014530000,"timestamp_seconds":1789014530,"priority":1,"record_length":96,"hex_timestamp":"000001a0899357d0"} 
[2026-09-10 09:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987642624001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987642624001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:58:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:58:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987642624001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":177543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:58:54] local.INFO: GPS data processed {"connection_id":177543,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:58:54] local.INFO: Acknowledgment sent {"connection_id":177543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:58:55] local.INFO: TCP Data received {"connection_id":177545,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177545,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:58:55] local.INFO: Processing buffer {"connection_id":177545,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:58:55] local.INFO: IMEI packet received {"connection_id":177545,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":177545,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:59:02] local.INFO: TCP Data received {"connection_id":177545,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177545,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 09:59:02] local.INFO: Processing buffer {"connection_id":177545,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 09:59:02] local.INFO: IMEI packet received {"connection_id":177545,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":177545,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:59:13] local.INFO: TCP Data received {"connection_id":177544,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e01000001a08992ea70012ce6a94007306bd8002b011a2b..."} 
[2026-09-10 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177544,"packet_length":93,"packet_hex":"00000000000000518e01000001a08992ea70012ce6a94007306bd8002b011a2b..."} 
[2026-09-10 09:59:13] local.INFO: Processing buffer {"connection_id":177544,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a08992ea70012ce6a94007306bd8002b011a2b..."} 
[2026-09-10 09:59:13] local.INFO: Packet analysis {"connection_id":177544,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a08992"} 
[2026-09-10 09:59:13] local.INFO: Extracted packet for processing {"connection_id":177544,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a08992"} 
[2026-09-10 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":753314112,"raw_latitude":120613848,"longitude_deg":75.3314112,"latitude_deg":12.0613848,"altitude":43,"angle":282,"satellites":43,"speed":48,"hex_longitude":"2ce6a940","hex_latitude":"07306bd8","is_valid_coordinates":true} 
[2026-09-10 09: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":93,"current_offset":40} 
[2026-09-10 09:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:59:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:59:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 09:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177544,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-10 09:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177544,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-10 09:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177544,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-10 09:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 09:59:13] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 09:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":177544,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 09:59:13] local.ERROR: GPS data processing failed {"connection_id":177544,"error":"No valid data to process"} 
[2026-09-10 09:59:13] local.INFO: Acknowledgment sent {"connection_id":177544,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 09:59:22] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:59:22] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:59:22] local.INFO: IMEI packet received {"connection_id":176385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 09:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":176385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:59:27] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:59:27] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 09:59:27] local.INFO: IMEI packet received {"connection_id":176385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 09:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":176385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:59:28] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:59:28] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:59:28] local.INFO: Packet analysis {"connection_id":176385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 09:59:28] local.INFO: Extracted packet for processing {"connection_id":176385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 09:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 09: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-09-10 09:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987642624001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 09:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789014530000,"timestamp_ms":1789014530000,"timestamp_seconds":1789014530,"priority":1,"record_length":96,"hex_timestamp":"000001a0899357d0"} 
[2026-09-10 09:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 09:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 09: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-09-10 09:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987642624001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987642624001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:59:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:59:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987642624001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 09:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":176385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:59:28] local.INFO: GPS data processed {"connection_id":176385,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:59:28] local.INFO: Acknowledgment sent {"connection_id":176385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:59:36] local.INFO: TCP Data received {"connection_id":177546,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:59:36] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:59:36] local.INFO: IMEI packet received {"connection_id":177546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 09:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":177546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:59:40] local.INFO: TCP Data received {"connection_id":177546,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:59:40] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 09:59:40] local.INFO: IMEI packet received {"connection_id":177546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 09:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":177546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:59:41] local.INFO: TCP Data received {"connection_id":177546,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08992fdf8012ce6914007306df8002a010c2a..."} 
[2026-09-10 09:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08992fdf8012ce6914007306df8002a010c2a..."} 
[2026-09-10 09:59:41] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08992fdf8012ce6914007306df8002a010c2a..."} 
[2026-09-10 09:59:41] local.INFO: Packet analysis {"connection_id":177546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08992"} 
[2026-09-10 09:59:41] local.INFO: Extracted packet for processing {"connection_id":177546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08992"} 
[2026-09-10 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":753307968,"raw_latitude":120614392,"longitude_deg":75.3307968,"latitude_deg":12.0614392,"altitude":42,"angle":268,"satellites":42,"speed":49,"hex_longitude":"2ce69140","hex_latitude":"07306df8","is_valid_coordinates":true} 
[2026-09-10 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 09:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987712512001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1825857774300702720,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403719559955087360,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 09:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789014507000,"timestamp_ms":1789014507000,"timestamp_seconds":1789014507,"priority":1,"record_length":96,"hex_timestamp":"000001a08992fdf8"} 
[2026-09-10 09:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 09:59: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-09-10 09:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 09:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 09:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 09:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 09:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 09:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987712512001,"66":27876,"44":-1825857774300702720,"83":44032,"24":49,"16":403719559955087360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 09:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 09:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 09:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987712512001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1825857774300702720,"description":"Unknown IO ID 44"} 
[2026-09-10 09:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 09:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403719559955087360,"km_value":403719559955087.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:59:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987712512001,"power":27876,"unknown_44":-1825857774300702720,"unknown_83":44032,"ignition":49,"odometer":null}} 
[2026-09-10 09:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":177546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 09:59:41] local.INFO: GPS data processed {"connection_id":177546,"processed":1,"errors":0,"total":1} 
[2026-09-10 09:59:41] local.INFO: Acknowledgment sent {"connection_id":177546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 09:59:50] local.INFO: TCP Data received {"connection_id":177545,"ip":"42.109.136.1","data_length":1340,"data_hex":"000000000000030f8e0a000001a08992dad0012d0b02c00702b4580010009a1e..."} 
[2026-09-10 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177545,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a08992dad0012d0b02c00702b4580010009a1e..."} 
[2026-09-10 09:59:50] local.INFO: Processing buffer {"connection_id":177545,"buffer_length":1357,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a089..."} 
[2026-09-10 09:59:50] local.INFO: IMEI packet received {"connection_id":177545,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":177545,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:59:54] local.INFO: TCP Data received {"connection_id":178929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:59:54] local.INFO: Processing buffer {"connection_id":178929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:59:54] local.INFO: IMEI packet received {"connection_id":178929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 09:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":178929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 09:59:59] local.INFO: TCP Data received {"connection_id":178929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:59:59] local.INFO: Processing buffer {"connection_id":178929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 09:59:59] local.INFO: IMEI packet received {"connection_id":178929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 09:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":178929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 09:59:59] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:59:59] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 09:59:59] local.INFO: Packet analysis {"connection_id":176385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 09:59:59] local.INFO: Extracted packet for processing {"connection_id":176385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 09:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 09:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987642624001,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 09:59: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-09-10 09:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789014530000,"timestamp_ms":1789014530000,"timestamp_seconds":1789014530,"priority":1,"record_length":96,"hex_timestamp":"000001a0899357d0"} 
[2026-09-10 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-09-10 09:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":205,"data_length":795,"current_offset":136} 
[2026-09-10 09:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 09:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 09:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 09:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 09:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 09:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 09:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 09:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987642624001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 09:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 09:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 09:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987642624001,"description":"Unknown IO ID 0"} 
[2026-09-10 09:59:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 09:59:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 09:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 09:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 09:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987642624001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 10:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":176385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:00:00] local.INFO: GPS data processed {"connection_id":176385,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:00:00] local.INFO: Acknowledgment sent {"connection_id":176385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:00:00] local.INFO: TCP Data received {"connection_id":178929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08993d4d0012d0b13c007029fc00011000915..."} 
[2026-09-10 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08993d4d0012d0b13c007029fc00011000915..."} 
[2026-09-10 10:00:00] local.INFO: Processing buffer {"connection_id":178929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08993d4d0012d0b13c007029fc00011000915..."} 
[2026-09-10 10:00:00] local.INFO: Packet analysis {"connection_id":178929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:00] local.INFO: Extracted packet for processing {"connection_id":178929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612480,"longitude_deg":75.5700672,"latitude_deg":11.761248,"altitude":17,"angle":9,"satellites":21,"speed":2,"hex_longitude":"2d0b13c0","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-09-10 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987726080001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142245222580224,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801548621824,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789014562000,"timestamp_ms":1789014562000,"timestamp_seconds":1789014562,"priority":1,"record_length":96,"hex_timestamp":"000001a08993d4d0"} 
[2026-09-10 10:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:00: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-09-10 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 10:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 10:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 10:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 10:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 10:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987726080001,"66":14428,"18":206,"94":10240,"24":2,"16":31142245222580224,"45":798403801548621824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-10 10:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 10:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 10:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987726080001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:00:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:00:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 10:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31142245222580224,"km_value":31142245222580.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801548621824,"description":"Unknown IO ID 45"} 
[2026-09-10 10:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987726080001,"power":14428,"unknown_18":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":798403801548621824}} 
[2026-09-10 10:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":178929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:00:00] local.INFO: GPS data processed {"connection_id":178929,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:00:00] local.INFO: Acknowledgment sent {"connection_id":178929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:00:12] local.INFO: TCP Data received {"connection_id":177546,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089931950012ce66dc007306ad0002801072b..."} 
[2026-09-10 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089931950012ce66dc007306ad0002801072b..."} 
[2026-09-10 10:00:12] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089931950012ce66dc007306ad0002801072b..."} 
[2026-09-10 10:00:12] local.INFO: Packet analysis {"connection_id":177546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:12] local.INFO: Extracted packet for processing {"connection_id":177546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:12] local.INFO: GPS Element Parsed {"raw_longitude":753298880,"raw_latitude":120613584,"longitude_deg":75.329888,"latitude_deg":12.0613584,"altitude":40,"angle":263,"satellites":43,"speed":51,"hex_longitude":"2ce66dc0","hex_latitude":"07306ad0","is_valid_coordinates":true} 
[2026-09-10 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987713792001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1832613173741619200,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403719989451816960,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789014514000,"timestamp_ms":1789014514000,"timestamp_seconds":1789014514,"priority":1,"record_length":96,"hex_timestamp":"000001a089931950"} 
[2026-09-10 10:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:00: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-09-10 10:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:00: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-09-10 10:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987713792001,"66":28028,"44":-1832613173741619200,"83":44032,"24":51,"16":403719989451816960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 10:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987713792001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1832613173741619200,"description":"Unknown IO ID 44"} 
[2026-09-10 10:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403719989451816960,"km_value":403719989451816.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:00:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987713792001,"power":28028,"unknown_44":-1832613173741619200,"unknown_83":44032,"ignition":51,"odometer":null}} 
[2026-09-10 10:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":177546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:00:12] local.INFO: GPS data processed {"connection_id":177546,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:00:12] local.INFO: Acknowledgment sent {"connection_id":177546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:00:18] local.INFO: TCP Data received {"connection_id":178930,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:00:18] local.INFO: Processing buffer {"connection_id":178930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:00:18] local.INFO: IMEI packet received {"connection_id":178930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":178930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:00:22] local.INFO: TCP Data received {"connection_id":178930,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:00:22] local.INFO: Processing buffer {"connection_id":178930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:00:22] local.INFO: IMEI packet received {"connection_id":178930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":178930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:00:23] local.INFO: TCP Data received {"connection_id":178930,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:00:23] local.INFO: Processing buffer {"connection_id":178930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899357d0012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:00:23] local.INFO: Packet analysis {"connection_id":178930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:23] local.INFO: Extracted packet for processing {"connection_id":178930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987642624001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789014530000,"timestamp_ms":1789014530000,"timestamp_seconds":1789014530,"priority":1,"record_length":96,"hex_timestamp":"000001a0899357d0"} 
[2026-09-10 10:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:00: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":205,"data_length":795,"current_offset":136} 
[2026-09-10 10:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987642624001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987642624001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:00:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:00:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 10:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987642624001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 10:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":178930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:00:23] local.INFO: GPS data processed {"connection_id":178930,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:00:23] local.INFO: Acknowledgment sent {"connection_id":178930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:00:36] local.INFO: TCP Data received {"connection_id":178931,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:36] local.INFO: Processing buffer {"connection_id":178931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:36] local.INFO: IMEI packet received {"connection_id":178931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":178931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:00:37] local.INFO: TCP Data received {"connection_id":178931,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:37] local.INFO: Processing buffer {"connection_id":178931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:37] local.INFO: IMEI packet received {"connection_id":178931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":178931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:00:41] local.INFO: TCP Data received {"connection_id":178931,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:41] local.INFO: Processing buffer {"connection_id":178931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:00:41] local.INFO: IMEI packet received {"connection_id":178931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":178931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:00:43] local.INFO: TCP Data received {"connection_id":178931,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0899334a8012ce64840073067480026010929..."} 
[2026-09-10 10:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899334a8012ce64840073067480026010929..."} 
[2026-09-10 10:00:43] local.INFO: Processing buffer {"connection_id":178931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899334a8012ce64840073067480026010929..."} 
[2026-09-10 10:00:43] local.INFO: Packet analysis {"connection_id":178931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:43] local.INFO: Extracted packet for processing {"connection_id":178931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08993"} 
[2026-09-10 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":753289280,"raw_latitude":120612680,"longitude_deg":75.328928,"latitude_deg":12.061268,"altitude":38,"angle":265,"satellites":41,"speed":56,"hex_longitude":"2ce64840","hex_latitude":"07306748","is_valid_coordinates":true} 
[2026-09-10 10:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987715584001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1842605535415054336,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403720449013317632,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789014521000,"timestamp_ms":1789014521000,"timestamp_seconds":1789014521,"priority":1,"record_length":96,"hex_timestamp":"000001a0899334a8"} 
[2026-09-10 10:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:00: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-09-10 10:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 10:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987715584001,"66":28006,"44":-1842605535415054336,"83":44032,"24":56,"16":403720449013317632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 10:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987715584001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1842605535415054336,"description":"Unknown IO ID 44"} 
[2026-09-10 10:00:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403720449013317632,"km_value":403720449013317.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:00:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457987715584001,"power":28006,"unknown_44":-1842605535415054336,"unknown_83":44032,"ignition":56,"odometer":null}} 
[2026-09-10 10:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":178931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:00:43] local.INFO: GPS data processed {"connection_id":178931,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:00:43] local.INFO: Acknowledgment sent {"connection_id":178931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:00:55] local.INFO: TCP Data received {"connection_id":178930,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:00:55] local.INFO: Processing buffer {"connection_id":178930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:00:55] local.INFO: Packet analysis {"connection_id":178930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:00:55] local.INFO: Extracted packet for processing {"connection_id":178930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 10:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987719680001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789014645000,"timestamp_ms":1789014645000,"timestamp_seconds":1789014645,"priority":1,"record_length":96,"hex_timestamp":"000001a089951908"} 
[2026-09-10 10:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 10:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987719680001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987719680001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:00:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:00:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 10:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987719680001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 10:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":178930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:00:55] local.INFO: GPS data processed {"connection_id":178930,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:00:55] local.INFO: Acknowledgment sent {"connection_id":178930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:01:14] local.INFO: TCP Data received {"connection_id":178931,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08994d2b8012ce457400730e8e80017011b2c..."} 
[2026-09-10 10:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08994d2b8012ce457400730e8e80017011b2c..."} 
[2026-09-10 10:01:14] local.INFO: Processing buffer {"connection_id":178931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08994d2b8012ce457400730e8e80017011b2c..."} 
[2026-09-10 10:01:14] local.INFO: Packet analysis {"connection_id":178931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08994"} 
[2026-09-10 10:01:14] local.INFO: Extracted packet for processing {"connection_id":178931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08994"} 
[2026-09-10 10:01:14] local.INFO: GPS Element Parsed {"raw_longitude":753162048,"raw_latitude":120645864,"longitude_deg":75.3162048,"latitude_deg":12.0645864,"altitude":23,"angle":283,"satellites":44,"speed":47,"hex_longitude":"2ce45740","hex_latitude":"0730e8e8","is_valid_coordinates":true} 
[2026-09-10 10:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987744512001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403726857104523264,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1993053910458636288,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789014627000,"timestamp_ms":1789014627000,"timestamp_seconds":1789014627,"priority":1,"record_length":96,"hex_timestamp":"000001a08994d2b8"} 
[2026-09-10 10:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:01: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-09-10 10:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987744512001,"66":27865,"180":206,"83":44032,"24":47,"16":403726857104523264,"44":-1993053910458636288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 10:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987744512001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:01:14] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 10:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403726857104523264,"km_value":403726857104523.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1993053910458636288,"description":"Unknown IO ID 44"} 
[2026-09-10 10:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987744512001,"power":27865,"unknown_180":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-1993053910458636288}} 
[2026-09-10 10:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":178931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:01:14] local.INFO: GPS data processed {"connection_id":178931,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:01:14] local.INFO: Acknowledgment sent {"connection_id":178931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:01:17] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:01:17] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:01:17] local.INFO: IMEI packet received {"connection_id":176386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":176386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:01:22] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:01:22] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:01:22] local.INFO: IMEI packet received {"connection_id":176386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":176386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:01:23] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:01:23] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:01:23] local.INFO: Packet analysis {"connection_id":176386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:01:23] local.INFO: Extracted packet for processing {"connection_id":176386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 10:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987749120001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789014645000,"timestamp_ms":1789014645000,"timestamp_seconds":1789014645,"priority":1,"record_length":96,"hex_timestamp":"000001a089951908"} 
[2026-09-10 10:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:01: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":205,"data_length":795,"current_offset":136} 
[2026-09-10 10:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987749120001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987749120001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:01:23] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:01:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 10:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987749120001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 10:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":176386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:01:23] local.INFO: GPS data processed {"connection_id":176386,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:01:23] local.INFO: Acknowledgment sent {"connection_id":176386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:01:37] local.INFO: TCP Data received {"connection_id":177547,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:37] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:37] local.INFO: IMEI packet received {"connection_id":177547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":177547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:01:41] local.INFO: TCP Data received {"connection_id":177547,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:41] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:41] local.INFO: IMEI packet received {"connection_id":177547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":177547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:01:45] local.INFO: TCP Data received {"connection_id":177547,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:45] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:01:45] local.INFO: IMEI packet received {"connection_id":177547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":177547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:01:46] local.INFO: TCP Data received {"connection_id":177547,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08994f1f8012ce432800730ed20001701102b..."} 
[2026-09-10 10:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08994f1f8012ce432800730ed20001701102b..."} 
[2026-09-10 10:01:46] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08994f1f8012ce432800730ed20001701102b..."} 
[2026-09-10 10:01:46] local.INFO: Packet analysis {"connection_id":177547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08994"} 
[2026-09-10 10:01:46] local.INFO: Extracted packet for processing {"connection_id":177547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08994"} 
[2026-09-10 10:01:46] local.INFO: GPS Element Parsed {"raw_longitude":753152640,"raw_latitude":120646944,"longitude_deg":75.315264,"latitude_deg":12.0646944,"altitude":23,"angle":272,"satellites":43,"speed":46,"hex_longitude":"2ce43280","hex_latitude":"0730ed20","is_valid_coordinates":true} 
[2026-09-10 10:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987744512001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403727308076089344,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1993053910458636288,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789014635000,"timestamp_ms":1789014635000,"timestamp_seconds":1789014635,"priority":1,"record_length":96,"hex_timestamp":"000001a08994f1f8"} 
[2026-09-10 10:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:01: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-09-10 10:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987744512001,"66":27865,"180":206,"83":44032,"24":46,"16":403727308076089344,"44":-1993053910458636288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987744512001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403727308076089344,"km_value":403727308076089.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1993053910458636288,"description":"Unknown IO ID 44"} 
[2026-09-10 10:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987744512001,"power":27865,"unknown_180":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-1993053910458636288}} 
[2026-09-10 10:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":177547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:01:46] local.INFO: GPS data processed {"connection_id":177547,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:01:46] local.INFO: Acknowledgment sent {"connection_id":177547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:01:46] local.INFO: TCP Data received {"connection_id":177547,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08994f1f8012ce432800730ed20001701102b..."} 
[2026-09-10 10:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08994f1f8012ce432800730ed20001701102b..."} 
[2026-09-10 10:01:46] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08994f1f8012ce432800730ed20001701102b..."} 
[2026-09-10 10:01:46] local.INFO: Packet analysis {"connection_id":177547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08994"} 
[2026-09-10 10:01:46] local.INFO: Extracted packet for processing {"connection_id":177547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08994"} 
[2026-09-10 10:01:46] local.INFO: GPS Element Parsed {"raw_longitude":753152640,"raw_latitude":120646944,"longitude_deg":75.315264,"latitude_deg":12.0646944,"altitude":23,"angle":272,"satellites":43,"speed":46,"hex_longitude":"2ce43280","hex_latitude":"0730ed20","is_valid_coordinates":true} 
[2026-09-10 10:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987746560001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403727308076089344,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2003398115852476416,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789014635000,"timestamp_ms":1789014635000,"timestamp_seconds":1789014635,"priority":1,"record_length":96,"hex_timestamp":"000001a08994f1f8"} 
[2026-09-10 10:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:01: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-09-10 10:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987746560001,"66":27865,"180":206,"83":44032,"24":46,"16":403727308076089344,"44":-2003398115852476416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 10:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987746560001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403727308076089344,"km_value":403727308076089.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2003398115852476416,"description":"Unknown IO ID 44"} 
[2026-09-10 10:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987746560001,"power":27865,"unknown_180":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-2003398115852476416}} 
[2026-09-10 10:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":177547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:01:47] local.INFO: GPS data processed {"connection_id":177547,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:01:47] local.INFO: Acknowledgment sent {"connection_id":177547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:01:55] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:01:55] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:01:55] local.INFO: Packet analysis {"connection_id":176386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:01:55] local.INFO: Extracted packet for processing {"connection_id":176386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 10:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987749120001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789014645000,"timestamp_ms":1789014645000,"timestamp_seconds":1789014645,"priority":1,"record_length":96,"hex_timestamp":"000001a089951908"} 
[2026-09-10 10:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 10:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987749120001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987749120001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:01:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:01:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 10:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987749120001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 10:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":176386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:01:55] local.INFO: GPS data processed {"connection_id":176386,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:01:55] local.INFO: Acknowledgment sent {"connection_id":176386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:02:17] local.INFO: TCP Data received {"connection_id":177547,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089951138012ce40cc00730edb00017010f2c..."} 
[2026-09-10 10:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089951138012ce40cc00730edb00017010f2c..."} 
[2026-09-10 10:02:17] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089951138012ce40cc00730edb00017010f2c..."} 
[2026-09-10 10:02:17] local.INFO: Packet analysis {"connection_id":177547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:17] local.INFO: Extracted packet for processing {"connection_id":177547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":753142976,"raw_latitude":120647088,"longitude_deg":75.3142976,"latitude_deg":12.0647088,"altitude":23,"angle":271,"satellites":44,"speed":47,"hex_longitude":"2ce40cc0","hex_latitude":"0730edb0","is_valid_coordinates":true} 
[2026-09-10 10:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987746560001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403727763342622720,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2003398115852476416,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789014643000,"timestamp_ms":1789014643000,"timestamp_seconds":1789014643,"priority":1,"record_length":96,"hex_timestamp":"000001a089951138"} 
[2026-09-10 10:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987746560001,"66":27745,"180":206,"83":44032,"24":47,"16":403727763342622720,"44":-2003398115852476416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 10:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987746560001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403727763342622720,"km_value":403727763342622.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2003398115852476416,"description":"Unknown IO ID 44"} 
[2026-09-10 10:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987746560001,"power":27745,"unknown_180":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-2003398115852476416}} 
[2026-09-10 10:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":177547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:02:17] local.INFO: GPS data processed {"connection_id":177547,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:02:17] local.INFO: Acknowledgment sent {"connection_id":177547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:02:22] local.INFO: TCP Data received {"connection_id":177548,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:02:22] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:02:22] local.INFO: IMEI packet received {"connection_id":177548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":177548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:02:27] local.INFO: TCP Data received {"connection_id":177548,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:02:27] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:02:27] local.INFO: IMEI packet received {"connection_id":177548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":177548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:02:28] local.INFO: TCP Data received {"connection_id":177548,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:02:28] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089951908012d7d288005ea8a10000700b42a..."} 
[2026-09-10 10:02:28] local.INFO: Packet analysis {"connection_id":177548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:28] local.INFO: Extracted packet for processing {"connection_id":177548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99256848,"longitude_deg":76.3177088,"latitude_deg":9.9256848,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d7d2880","hex_latitude":"05ea8a10","is_valid_coordinates":true} 
[2026-09-10 10:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987749120001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789014645000,"timestamp_ms":1789014645000,"timestamp_seconds":1789014645,"priority":1,"record_length":96,"hex_timestamp":"000001a089951908"} 
[2026-09-10 10:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 10:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987749120001,"66":2253,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987749120001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:02:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:02:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 10:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987749120001,"power":2253,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 10:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":177548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:02:28] local.INFO: GPS data processed {"connection_id":177548,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:02:28] local.INFO: Acknowledgment sent {"connection_id":177548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:02:33] local.INFO: TCP Data received {"connection_id":177548,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089956b10012d7d298005ea8a38000700b42b..."} 
[2026-09-10 10:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089956b10012d7d298005ea8a38000700b42b..."} 
[2026-09-10 10:02:33] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089956b10012d7d298005ea8a38000700b42b..."} 
[2026-09-10 10:02:33] local.INFO: Packet analysis {"connection_id":177548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:33] local.INFO: Extracted packet for processing {"connection_id":177548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":99256888,"longitude_deg":76.3177344,"latitude_deg":9.9256888,"altitude":7,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d7d2980","hex_latitude":"05ea8a38","is_valid_coordinates":true} 
[2026-09-10 10:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987749120001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702451887046656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016707526656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789014666000,"timestamp_ms":1789014666000,"timestamp_seconds":1789014666,"priority":1,"record_length":96,"hex_timestamp":"000001a089956b10"} 
[2026-09-10 10:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 10:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987749120001,"66":13906,"158":206,"87":13824,"24":0,"16":130702451887046656,"45":9018599016707526656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987749120001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:02:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:02:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702451887046656,"km_value":130702451887046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016707526656,"description":"Unknown IO ID 45"} 
[2026-09-10 10:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987749120001,"power":13906,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9018599016707526656}} 
[2026-09-10 10:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":177548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:02:33] local.INFO: GPS data processed {"connection_id":177548,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:02:33] local.INFO: Acknowledgment sent {"connection_id":177548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:02:36] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:36] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:36] local.INFO: IMEI packet received {"connection_id":176140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":176140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:02:36] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:37] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:37] local.INFO: IMEI packet received {"connection_id":176140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":176140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:02:41] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:41] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:02:41] local.INFO: IMEI packet received {"connection_id":176140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":176140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:02:42] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089953078012ce3e7000730f0c0001701182c..."} 
[2026-09-10 10:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089953078012ce3e7000730f0c0001701182c..."} 
[2026-09-10 10:02:42] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089953078012ce3e7000730f0c0001701182c..."} 
[2026-09-10 10:02:42] local.INFO: Packet analysis {"connection_id":176140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:42] local.INFO: Extracted packet for processing {"connection_id":176140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753133312,"raw_latitude":120647872,"longitude_deg":75.3133312,"latitude_deg":12.0647872,"altitude":23,"angle":280,"satellites":44,"speed":47,"hex_longitude":"2ce3e700","hex_latitude":"0730f0c0","is_valid_coordinates":true} 
[2026-09-10 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987748608001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403728227199090688,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2014023796223266816,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789014651000,"timestamp_ms":1789014651000,"timestamp_seconds":1789014651,"priority":1,"record_length":96,"hex_timestamp":"000001a089953078"} 
[2026-09-10 10:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:02: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-09-10 10:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:02: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-09-10 10:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:02: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-09-10 10:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987748608001,"66":27876,"180":206,"83":44032,"24":47,"16":403728227199090688,"44":-2014023796223266816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 10:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987748608001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403728227199090688,"km_value":403728227199090.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2014023796223266816,"description":"Unknown IO ID 44"} 
[2026-09-10 10:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987748608001,"power":27876,"unknown_180":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-2014023796223266816}} 
[2026-09-10 10:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":176140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:02:42] local.INFO: GPS data processed {"connection_id":176140,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:02:42] local.INFO: Acknowledgment sent {"connection_id":176140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:02:45] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089954fb8012ce3c3000730fad80017012329..."} 
[2026-09-10 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089954fb8012ce3c3000730fad80017012329..."} 
[2026-09-10 10:02:45] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089954fb8012ce3c3000730fad80017012329..."} 
[2026-09-10 10:02:45] local.INFO: Packet analysis {"connection_id":176140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:45] local.INFO: Extracted packet for processing {"connection_id":176140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":753124096,"raw_latitude":120650456,"longitude_deg":75.3124096,"latitude_deg":12.0650456,"altitude":23,"angle":291,"satellites":41,"speed":47,"hex_longitude":"2ce3c300","hex_latitude":"0730fad8","is_valid_coordinates":true} 
[2026-09-10 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987750656001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403728682465624064,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2024649476593893376,"note":"Value kept but may cause issues"} 
[2026-09-10 10:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789014659000,"timestamp_ms":1789014659000,"timestamp_seconds":1789014659,"priority":1,"record_length":96,"hex_timestamp":"000001a089954fb8"} 
[2026-09-10 10:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987750656001,"66":27800,"180":206,"83":44032,"24":47,"16":403728682465624064,"44":-2024649476593893376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 10:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987750656001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:02:45] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 10:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403728682465624064,"km_value":403728682465624.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2024649476593893376,"description":"Unknown IO ID 44"} 
[2026-09-10 10:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987750656001,"power":27800,"unknown_180":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-2024649476593893376}} 
[2026-09-10 10:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":176140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:02:45] local.INFO: GPS data processed {"connection_id":176140,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:02:45] local.INFO: Acknowledgment sent {"connection_id":176140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:03:16] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089956ef8012ce39fc007310900001601212a..."} 
[2026-09-10 10:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089956ef8012ce39fc007310900001601212a..."} 
[2026-09-10 10:03:16] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089956ef8012ce39fc007310900001601212a..."} 
[2026-09-10 10:03:16] local.INFO: Packet analysis {"connection_id":176140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:03:16] local.INFO: Extracted packet for processing {"connection_id":176140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:03:16] local.INFO: GPS Element Parsed {"raw_longitude":753115072,"raw_latitude":120654080,"longitude_deg":75.3115072,"latitude_deg":12.065408,"altitude":22,"angle":289,"satellites":42,"speed":47,"hex_longitude":"2ce39fc0","hex_latitude":"07310900","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987752704001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403729142027124736,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2034782575754815488,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789014667000,"timestamp_ms":1789014667000,"timestamp_seconds":1789014667,"priority":1,"record_length":96,"hex_timestamp":"000001a089956ef8"} 
[2026-09-10 10:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:03: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-09-10 10:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987752704001,"66":27919,"181":206,"83":44032,"24":47,"16":403729142027124736,"44":-2034782575754815488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-10 10:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987752704001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:03:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-10 10:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-10 10:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403729142027124736,"km_value":403729142027124.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2034782575754815488,"description":"Unknown IO ID 44"} 
[2026-09-10 10:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987752704001,"power":27919,"unknown_181":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-2034782575754815488}} 
[2026-09-10 10:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":176140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:03:16] local.INFO: GPS data processed {"connection_id":176140,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:03:16] local.INFO: Acknowledgment sent {"connection_id":176140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:03:17] local.INFO: TCP Data received {"connection_id":178932,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:17] local.INFO: Processing buffer {"connection_id":178932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:17] local.INFO: IMEI packet received {"connection_id":178932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":178932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:03:18] local.INFO: TCP Data received {"connection_id":178932,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:18] local.INFO: Processing buffer {"connection_id":178932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:18] local.INFO: IMEI packet received {"connection_id":178932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":178932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:03:22] local.INFO: TCP Data received {"connection_id":178932,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:22] local.INFO: Processing buffer {"connection_id":178932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:03:22] local.INFO: IMEI packet received {"connection_id":178932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":178932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:03:24] local.INFO: TCP Data received {"connection_id":178932,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08995b930012d7d294005ea8a98000601612c..."} 
[2026-09-10 10:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08995b930012d7d294005ea8a98000601612c..."} 
[2026-09-10 10:03:24] local.INFO: Processing buffer {"connection_id":178932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08995b930012d7d294005ea8a98000601612c..."} 
[2026-09-10 10:03:24] local.INFO: Packet analysis {"connection_id":178932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:03:24] local.INFO: Extracted packet for processing {"connection_id":178932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":99256984,"longitude_deg":76.317728,"latitude_deg":9.9256984,"altitude":6,"angle":353,"satellites":44,"speed":3,"hex_longitude":"2d7d2940","hex_latitude":"05ea8a98","is_valid_coordinates":true} 
[2026-09-10 10:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987754496001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702456182013952,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491684247552,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03: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-09-10 10:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789014686000,"timestamp_ms":1789014686000,"timestamp_seconds":1789014686,"priority":1,"record_length":96,"hex_timestamp":"000001a08995b930"} 
[2026-09-10 10:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:03: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-09-10 10: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 10:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987754496001,"66":13722,"158":206,"87":13824,"24":3,"16":130702456182013952,"45":9018880491684247552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987754496001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:03:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:03:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702456182013952,"km_value":130702456182013.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491684247552,"description":"Unknown IO ID 45"} 
[2026-09-10 10:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987754496001,"power":13722,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9018880491684247552}} 
[2026-09-10 10:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":178932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:03:24] local.INFO: GPS data processed {"connection_id":178932,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:03:24] local.INFO: Acknowledgment sent {"connection_id":178932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:03:28] local.INFO: TCP Data received {"connection_id":178932,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08995e428012d7d288005ea91d8000600052c..."} 
[2026-09-10 10:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08995e428012d7d288005ea91d8000600052c..."} 
[2026-09-10 10:03:28] local.INFO: Processing buffer {"connection_id":178932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08995e428012d7d288005ea91d8000600052c..."} 
[2026-09-10 10:03:28] local.INFO: Packet analysis {"connection_id":178932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:03:28] local.INFO: Extracted packet for processing {"connection_id":178932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08995"} 
[2026-09-10 10:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99258840,"longitude_deg":76.3177088,"latitude_deg":9.925884,"altitude":6,"angle":5,"satellites":44,"speed":4,"hex_longitude":"2d7d2880","hex_latitude":"05ea91d8","is_valid_coordinates":true} 
[2026-09-10 10:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987759616001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130702546376327168,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122940094464,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789014697000,"timestamp_ms":1789014697000,"timestamp_seconds":1789014697,"priority":1,"record_length":96,"hex_timestamp":"000001a08995e428"} 
[2026-09-10 10:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:03: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":154,"data_length":795,"current_offset":136} 
[2026-09-10 10:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987759616001,"66":13820,"158":206,"87":13824,"24":4,"16":130702546376327168,"45":9018810122940094464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987759616001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:03:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:03:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130702546376327168,"km_value":130702546376327.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122940094464,"description":"Unknown IO ID 45"} 
[2026-09-10 10:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987759616001,"power":13820,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9018810122940094464}} 
[2026-09-10 10:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":178932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:03:28] local.INFO: GPS data processed {"connection_id":178932,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:03:28] local.INFO: Acknowledgment sent {"connection_id":178932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:03:33] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:33] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:33] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:03:36] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:36] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:36] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:03:41] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:41] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:03:41] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:03:42] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08996de28012ce22380073191080022011929..."} 
[2026-09-10 10:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08996de28012ce22380073191080022011929..."} 
[2026-09-10 10:03:42] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08996de28012ce22380073191080022011929..."} 
[2026-09-10 10:03:42] local.INFO: Packet analysis {"connection_id":176141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08996"} 
[2026-09-10 10:03:42] local.INFO: Extracted packet for processing {"connection_id":176141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08996"} 
[2026-09-10 10:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753017728,"raw_latitude":120688904,"longitude_deg":75.3017728,"latitude_deg":12.0688904,"altitude":34,"angle":281,"satellites":41,"speed":50,"hex_longitude":"2ce22380","hex_latitude":"07319108","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987776768001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403734098419384320,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2141180116942186496,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789014761000,"timestamp_ms":1789014761000,"timestamp_seconds":1789014761,"priority":1,"record_length":96,"hex_timestamp":"000001a08996de28"} 
[2026-09-10 10:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:03: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-09-10 10:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 10:03: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-09-10 10: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-09-10 10:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:03: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-09-10 10:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987776768001,"66":27745,"46":206,"83":40960,"24":50,"16":403734098419384320,"44":-2141180116942186496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-10 10:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987776768001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:03:42] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 10:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403734098419384320,"km_value":403734098419384.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2141180116942186496,"description":"Unknown IO ID 44"} 
[2026-09-10 10:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987776768001,"power":27745,"unknown_46":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2141180116942186496}} 
[2026-09-10 10:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":176141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:03:42] local.INFO: GPS data processed {"connection_id":176141,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:03:42] local.INFO: Acknowledgment sent {"connection_id":176141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:03:59] local.INFO: TCP Data received {"connection_id":178932,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08997f768012d7d218005ea6380000a00f92d..."} 
[2026-09-10 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08997f768012d7d218005ea6380000a00f92d..."} 
[2026-09-10 10:03:59] local.INFO: Processing buffer {"connection_id":178932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08997f768012d7d218005ea6380000a00f92d..."} 
[2026-09-10 10:03:59] local.INFO: Packet analysis {"connection_id":178932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:03:59] local.INFO: Extracted packet for processing {"connection_id":178932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763175296,"raw_latitude":99246976,"longitude_deg":76.3175296,"latitude_deg":9.9246976,"altitude":10,"angle":249,"satellites":45,"speed":5,"hex_longitude":"2d7d2180","hex_latitude":"05ea6380","is_valid_coordinates":true} 
[2026-09-10 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987796992001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130703276520767488,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016769429356400640,"note":"Value kept but may cause issues"} 
[2026-09-10 10:03: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-09-10 10:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789014833000,"timestamp_ms":1789014833000,"timestamp_seconds":1789014833,"priority":1,"record_length":96,"hex_timestamp":"000001a08997f768"} 
[2026-09-10 10:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 10:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987796992001,"66":13135,"158":206,"87":13824,"24":5,"16":130703276520767488,"45":9016769429356400640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987796992001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:03:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:03:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130703276520767488,"km_value":130703276520767.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016769429356400640,"description":"Unknown IO ID 45"} 
[2026-09-10 10:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987796992001,"power":13135,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9016769429356400640}} 
[2026-09-10 10:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":178932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:03:59] local.INFO: GPS data processed {"connection_id":178932,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:03:59] local.INFO: Acknowledgment sent {"connection_id":178932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:04:16] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08996f980012ce2000007319730002001142b..."} 
[2026-09-10 10:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08996f980012ce2000007319730002001142b..."} 
[2026-09-10 10:04:16] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08996f980012ce2000007319730002001142b..."} 
[2026-09-10 10:04:16] local.INFO: Packet analysis {"connection_id":176141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08996"} 
[2026-09-10 10:04:16] local.INFO: Extracted packet for processing {"connection_id":176141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08996"} 
[2026-09-10 10:04:16] local.INFO: GPS Element Parsed {"raw_longitude":753008640,"raw_latitude":120690480,"longitude_deg":75.300864,"latitude_deg":12.069048,"altitude":32,"angle":276,"satellites":43,"speed":51,"hex_longitude":"2ce20000","hex_latitude":"07319730","is_valid_coordinates":true} 
[2026-09-10 10:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987778816001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403734532211081216,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2151735428568250368,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789014768000,"timestamp_ms":1789014768000,"timestamp_seconds":1789014768,"priority":1,"record_length":96,"hex_timestamp":"000001a08996f980"} 
[2026-09-10 10:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04: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-09-10 10:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987778816001,"66":27876,"46":206,"83":40960,"24":51,"16":403734532211081216,"44":-2151735428568250368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-10 10:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987778816001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:04:16] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 10:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403734532211081216,"km_value":403734532211081.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2151735428568250368,"description":"Unknown IO ID 44"} 
[2026-09-10 10:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987778816001,"power":27876,"unknown_46":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2151735428568250368}} 
[2026-09-10 10:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":176141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:04:16] local.INFO: GPS data processed {"connection_id":176141,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:04:16] local.INFO: Acknowledgment sent {"connection_id":176141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:04:17] local.INFO: TCP Data received {"connection_id":177549,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:04:17] local.INFO: Processing buffer {"connection_id":177549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:04:17] local.INFO: IMEI packet received {"connection_id":177549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":177549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:04:20] local.INFO: TCP Data received {"connection_id":177549,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:04:20] local.INFO: Processing buffer {"connection_id":177549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:04:20] local.INFO: IMEI packet received {"connection_id":177549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":177549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:04:21] local.INFO: TCP Data received {"connection_id":177549,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08997ff38012d7d208005ea6368000901162e..."} 
[2026-09-10 10:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08997ff38012d7d208005ea6368000901162e..."} 
[2026-09-10 10:04:21] local.INFO: Processing buffer {"connection_id":177549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08997ff38012d7d208005ea6368000901162e..."} 
[2026-09-10 10:04:21] local.INFO: Packet analysis {"connection_id":177549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:21] local.INFO: Extracted packet for processing {"connection_id":177549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99246952,"longitude_deg":76.317504,"latitude_deg":9.9246952,"altitude":9,"angle":278,"satellites":46,"speed":6,"hex_longitude":"2d7d2080","hex_latitude":"05ea6368","is_valid_coordinates":true} 
[2026-09-10 10:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987797248001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130703289405669376,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016628691868024832,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789014835000,"timestamp_ms":1789014835000,"timestamp_seconds":1789014835,"priority":1,"record_length":96,"hex_timestamp":"000001a08997ff38"} 
[2026-09-10 10:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 10:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987797248001,"66":13222,"158":206,"87":13824,"24":6,"16":130703289405669376,"45":9016628691868024832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987797248001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:04:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:04:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130703289405669376,"km_value":130703289405669.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016628691868024832,"description":"Unknown IO ID 45"} 
[2026-09-10 10:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987797248001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9016628691868024832}} 
[2026-09-10 10:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":177549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:04:21] local.INFO: GPS data processed {"connection_id":177549,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:04:21] local.INFO: Acknowledgment sent {"connection_id":177549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:04:41] local.INFO: TCP Data received {"connection_id":178933,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:04:41] local.INFO: Processing buffer {"connection_id":178933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:04:41] local.INFO: IMEI packet received {"connection_id":178933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":178933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:04:41] local.INFO: TCP Data received {"connection_id":178933,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178933,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:04:41] local.INFO: Processing buffer {"connection_id":178933,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:04:41] local.INFO: IMEI packet received {"connection_id":178933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":178933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:04:42] local.INFO: TCP Data received {"connection_id":178933,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0899714d8012ce1dc80073197780020010b2a..."} 
[2026-09-10 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899714d8012ce1dc80073197780020010b2a..."} 
[2026-09-10 10:04:42] local.INFO: Processing buffer {"connection_id":178933,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a089..."} 
[2026-09-10 10:04:42] local.INFO: IMEI packet received {"connection_id":178933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":178933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:04:44] local.INFO: TCP Data received {"connection_id":178933,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089973418012ce1b68007319238002301012b..."} 
[2026-09-10 10:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089973418012ce1b68007319238002301012b..."} 
[2026-09-10 10:04:44] local.INFO: Processing buffer {"connection_id":178933,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0899714d8012ce1dc80073197780020010b2a..."} 
[2026-09-10 10:04:44] local.INFO: Packet analysis {"connection_id":178933,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:44] local.INFO: Extracted packet for processing {"connection_id":178933,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":752999552,"raw_latitude":120690552,"longitude_deg":75.2999552,"latitude_deg":12.0690552,"altitude":32,"angle":267,"satellites":42,"speed":50,"hex_longitude":"2ce1dc80","hex_latitude":"07319778","is_valid_coordinates":true} 
[2026-09-10 10:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987780608001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403734966002778112,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2161727790241075200,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789014775000,"timestamp_ms":1789014775000,"timestamp_seconds":1789014775,"priority":1,"record_length":96,"hex_timestamp":"000001a0899714d8"} 
[2026-09-10 10:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987780608001,"66":27832,"46":206,"83":40960,"24":50,"16":403734966002778112,"44":-2161727790241075200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987780608001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403734966002778112,"km_value":403734966002778.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2161727790241075200,"description":"Unknown IO ID 44"} 
[2026-09-10 10:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987780608001,"power":27832,"unknown_46":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2161727790241075200}} 
[2026-09-10 10:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":178933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:04:44] local.INFO: GPS data processed {"connection_id":178933,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:04:44] local.INFO: Acknowledgment sent {"connection_id":178933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:04:44] local.INFO: Packet analysis {"connection_id":178933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:44] local.INFO: Extracted packet for processing {"connection_id":178933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":752989824,"raw_latitude":120689208,"longitude_deg":75.2989824,"latitude_deg":12.0689208,"altitude":35,"angle":257,"satellites":43,"speed":45,"hex_longitude":"2ce1b680","hex_latitude":"07319238","is_valid_coordinates":true} 
[2026-09-10 10:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987782400001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403735434154213376,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2171720151914285056,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789014783000,"timestamp_ms":1789014783000,"timestamp_seconds":1789014783,"priority":1,"record_length":96,"hex_timestamp":"000001a089973418"} 
[2026-09-10 10:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 10:04:44] 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-09-10 10:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987782400001,"66":27789,"46":206,"83":40960,"24":45,"16":403735434154213376,"44":-2171720151914285056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-10 10:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987782400001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403735434154213376,"km_value":403735434154213.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:04:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2171720151914285056,"description":"Unknown IO ID 44"} 
[2026-09-10 10:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987782400001,"power":27789,"unknown_46":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2171720151914285056}} 
[2026-09-10 10:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":178933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:04:44] local.INFO: GPS data processed {"connection_id":178933,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:04:44] local.INFO: Acknowledgment sent {"connection_id":178933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:04:46] local.INFO: TCP Data received {"connection_id":178933,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089975740012ce1900007318910002600ff2a..."} 
[2026-09-10 10:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089975740012ce1900007318910002600ff2a..."} 
[2026-09-10 10:04:46] local.INFO: Processing buffer {"connection_id":178933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089975740012ce1900007318910002600ff2a..."} 
[2026-09-10 10:04:46] local.INFO: Packet analysis {"connection_id":178933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:46] local.INFO: Extracted packet for processing {"connection_id":178933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:04:46] local.INFO: GPS Element Parsed {"raw_longitude":752979968,"raw_latitude":120686864,"longitude_deg":75.2979968,"latitude_deg":12.0686864,"altitude":38,"angle":255,"satellites":42,"speed":43,"hex_longitude":"2ce19000","hex_latitude":"07318910","is_valid_coordinates":true} 
[2026-09-10 10:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987784448001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403735915190550528,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2182416201029634048,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789014792000,"timestamp_ms":1789014792000,"timestamp_seconds":1789014792,"priority":1,"record_length":96,"hex_timestamp":"000001a089975740"} 
[2026-09-10 10:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 10:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987784448001,"66":27843,"46":206,"83":40960,"24":43,"16":403735915190550528,"44":-2182416201029634048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-10 10:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987784448001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:04:46] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 10:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403735915190550528,"km_value":403735915190550.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2182416201029634048,"description":"Unknown IO ID 44"} 
[2026-09-10 10:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987784448001,"power":27843,"unknown_46":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2182416201029634048}} 
[2026-09-10 10:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":178933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:04:46] local.INFO: GPS data processed {"connection_id":178933,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:04:46] local.INFO: Acknowledgment sent {"connection_id":178933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:04:52] local.INFO: TCP Data received {"connection_id":177549,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089980708012d7d1fc005ea6410000901432c..."} 
[2026-09-10 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089980708012d7d1fc005ea6410000901432c..."} 
[2026-09-10 10:04:52] local.INFO: Processing buffer {"connection_id":177549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089980708012d7d1fc005ea6410000901432c..."} 
[2026-09-10 10:04:52] local.INFO: Packet analysis {"connection_id":177549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:04:52] local.INFO: Extracted packet for processing {"connection_id":177549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:04:52] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99247120,"longitude_deg":76.3174848,"latitude_deg":9.924712,"altitude":9,"angle":323,"satellites":44,"speed":9,"hex_longitude":"2d7d1fc0","hex_latitude":"05ea6410","is_valid_coordinates":true} 
[2026-09-10 10:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987797760001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130703302290571264,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216891308032,"note":"Value kept but may cause issues"} 
[2026-09-10 10:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789014837000,"timestamp_ms":1789014837000,"timestamp_seconds":1789014837,"priority":1,"record_length":96,"hex_timestamp":"000001a089980708"} 
[2026-09-10 10:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987797760001,"66":13765,"158":206,"87":13824,"24":9,"16":130703302290571264,"45":9016347216891308032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987797760001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130703302290571264,"km_value":130703302290571.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216891308032,"description":"Unknown IO ID 45"} 
[2026-09-10 10:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987797760001,"power":13765,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9016347216891308032}} 
[2026-09-10 10:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":177549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:04:52] local.INFO: GPS data processed {"connection_id":177549,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:04:52] local.INFO: Acknowledgment sent {"connection_id":177549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:05:17] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:05:17] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:05:17] local.INFO: IMEI packet received {"connection_id":176387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":176387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:05:18] local.INFO: TCP Data received {"connection_id":178933,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089977680012ce16f00073184a80028010b2b..."} 
[2026-09-10 10:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089977680012ce16f00073184a80028010b2b..."} 
[2026-09-10 10:05:18] local.INFO: Processing buffer {"connection_id":178933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089977680012ce16f00073184a80028010b2b..."} 
[2026-09-10 10:05:18] local.INFO: Packet analysis {"connection_id":178933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:05:18] local.INFO: Extracted packet for processing {"connection_id":178933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08997"} 
[2026-09-10 10:05:18] local.INFO: GPS Element Parsed {"raw_longitude":752971520,"raw_latitude":120685736,"longitude_deg":75.297152,"latitude_deg":12.0685736,"altitude":40,"angle":267,"satellites":43,"speed":42,"hex_longitude":"2ce16f00","hex_latitude":"073184a8","is_valid_coordinates":true} 
[2026-09-10 10:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987786752001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403736318917476352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2193252987633594368,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789014800000,"timestamp_ms":1789014800000,"timestamp_seconds":1789014800,"priority":1,"record_length":96,"hex_timestamp":"000001a089977680"} 
[2026-09-10 10:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987786752001,"66":27843,"46":206,"83":40960,"24":42,"16":403736318917476352,"44":-2193252987633594368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-10 10:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987786752001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:05:18] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 10:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403736318917476352,"km_value":403736318917476.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2193252987633594368,"description":"Unknown IO ID 44"} 
[2026-09-10 10:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987786752001,"power":27843,"unknown_46":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2193252987633594368}} 
[2026-09-10 10:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":178933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:05:18] local.INFO: GPS data processed {"connection_id":178933,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:05:18] local.INFO: Acknowledgment sent {"connection_id":178933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:05:22] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:05:22] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:05:22] local.INFO: IMEI packet received {"connection_id":176387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":176387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:05:24] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089980af0012d7d1f0005ea6510000901532d..."} 
[2026-09-10 10:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089980af0012d7d1f0005ea6510000901532d..."} 
[2026-09-10 10:05:24] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089980af0012d7d1f0005ea6510000901532d..."} 
[2026-09-10 10:05:24] local.INFO: Packet analysis {"connection_id":176387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:05:24] local.INFO: Extracted packet for processing {"connection_id":176387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99247376,"longitude_deg":76.3174656,"latitude_deg":9.9247376,"altitude":9,"angle":339,"satellites":45,"speed":13,"hex_longitude":"2d7d1f00","hex_latitude":"05ea6510","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987798272001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130703315175473152,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110658818048,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05: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-09-10 10:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789014838000,"timestamp_ms":1789014838000,"timestamp_seconds":1789014838,"priority":1,"record_length":96,"hex_timestamp":"000001a089980af0"} 
[2026-09-10 10:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 10:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987798272001,"66":13765,"158":206,"87":13824,"24":13,"16":130703315175473152,"45":9016136110658818048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987798272001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:05:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:05:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130703315175473152,"km_value":130703315175473.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110658818048,"description":"Unknown IO ID 45"} 
[2026-09-10 10:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987798272001,"power":13765,"unknown_158":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9016136110658818048}} 
[2026-09-10 10:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":176387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:05:24] local.INFO: GPS data processed {"connection_id":176387,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:05:24] local.INFO: Acknowledgment sent {"connection_id":176387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:05:36] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:36] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:36] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:05:37] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:37] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:37] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:05:41] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:41] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:05:41] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:05:42] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089989790012ce01f4007320978001c012a2d..."} 
[2026-09-10 10:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089989790012ce01f4007320978001c012a2d..."} 
[2026-09-10 10:05:42] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089989790012ce01f4007320978001c012a2d..."} 
[2026-09-10 10:05:42] local.INFO: Packet analysis {"connection_id":176388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:05:42] local.INFO: Extracted packet for processing {"connection_id":176388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:05:42] local.INFO: GPS Element Parsed {"raw_longitude":752885568,"raw_latitude":120719736,"longitude_deg":75.2885568,"latitude_deg":12.0719736,"altitude":28,"angle":298,"satellites":45,"speed":48,"hex_longitude":"2ce01f40","hex_latitude":"07320978","is_valid_coordinates":true} 
[2026-09-10 10:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987805696001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403740747028758528,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2287124892359278592,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789014874000,"timestamp_ms":1789014874000,"timestamp_seconds":1789014874,"priority":1,"record_length":96,"hex_timestamp":"000001a089989790"} 
[2026-09-10 10:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:05: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-09-10 10:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 10:05: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-09-10 10:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:05: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-09-10 10:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987805696001,"66":27865,"45":206,"83":40960,"24":48,"16":403740747028758528,"44":-2287124892359278592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-10 10:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987805696001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-10 10:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403740747028758528,"km_value":403740747028758.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2287124892359278592,"description":"Unknown IO ID 44"} 
[2026-09-10 10:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987805696001,"power":27865,"unknown_45":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2287124892359278592}} 
[2026-09-10 10:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":176388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:05:42] local.INFO: GPS data processed {"connection_id":176388,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:05:42] local.INFO: Acknowledgment sent {"connection_id":176388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:05:55] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089980ed8012d7d1ec005ea6688000900022d..."} 
[2026-09-10 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089980ed8012d7d1ec005ea6688000900022d..."} 
[2026-09-10 10:05:55] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089980ed8012d7d1ec005ea6688000900022d..."} 
[2026-09-10 10:05:55] local.INFO: Packet analysis {"connection_id":176387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:05:55] local.INFO: Extracted packet for processing {"connection_id":176387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":99247752,"longitude_deg":76.3174592,"latitude_deg":9.9247752,"altitude":9,"angle":2,"satellites":45,"speed":15,"hex_longitude":"2d7d1ec0","hex_latitude":"05ea6688","is_valid_coordinates":true} 
[2026-09-10 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987798528001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130703336650309632,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004426350592,"note":"Value kept but may cause issues"} 
[2026-09-10 10:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789014839000,"timestamp_ms":1789014839000,"timestamp_seconds":1789014839,"priority":1,"record_length":96,"hex_timestamp":"000001a089980ed8"} 
[2026-09-10 10:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:05: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-09-10 10:05: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":197,"data_length":795,"current_offset":136} 
[2026-09-10 10:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987798528001,"66":13765,"158":206,"87":13824,"24":15,"16":130703336650309632,"45":9015925004426350592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 10:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987798528001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:05:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 10:05:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130703336650309632,"km_value":130703336650309.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004426350592,"description":"Unknown IO ID 45"} 
[2026-09-10 10:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987798528001,"power":13765,"unknown_158":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9015925004426350592}} 
[2026-09-10 10:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":176387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:05:55] local.INFO: GPS data processed {"connection_id":176387,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:05:55] local.INFO: Acknowledgment sent {"connection_id":176387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:06:13] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08998b6d0012cdffcc007321928001b01222d..."} 
[2026-09-10 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08998b6d0012cdffcc007321928001b01222d..."} 
[2026-09-10 10:06:13] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08998b6d0012cdffcc007321928001b01222d..."} 
[2026-09-10 10:06:13] local.INFO: Packet analysis {"connection_id":176388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:06:13] local.INFO: Extracted packet for processing {"connection_id":176388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08998"} 
[2026-09-10 10:06:13] local.INFO: GPS Element Parsed {"raw_longitude":752876736,"raw_latitude":120723752,"longitude_deg":75.2876736,"latitude_deg":12.0723752,"altitude":27,"angle":290,"satellites":45,"speed":47,"hex_longitude":"2cdffcc0","hex_latitude":"07321928","is_valid_coordinates":true} 
[2026-09-10 10:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987807744001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403741210885226496,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2297046885287233536,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789014882000,"timestamp_ms":1789014882000,"timestamp_seconds":1789014882,"priority":1,"record_length":96,"hex_timestamp":"000001a08998b6d0"} 
[2026-09-10 10:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:06: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-09-10 10:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:06: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-09-10 10:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987807744001,"66":27767,"195":206,"83":40960,"24":47,"16":403741210885226496,"44":-2297046885287233536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-09-10 10:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987807744001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:06:13] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-10 10:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403741210885226496,"km_value":403741210885226.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2297046885287233536,"description":"Unknown IO ID 44"} 
[2026-09-10 10:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987807744001,"power":27767,"unknown_195":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2297046885287233536}} 
[2026-09-10 10:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":176388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:06:13] local.INFO: GPS data processed {"connection_id":176388,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:06:13] local.INFO: Acknowledgment sent {"connection_id":176388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:06:17] local.INFO: TCP Data received {"connection_id":177550,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:17] local.INFO: Processing buffer {"connection_id":177550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:17] local.INFO: IMEI packet received {"connection_id":177550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":177550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:06:19] local.INFO: TCP Data received {"connection_id":177550,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:19] local.INFO: Processing buffer {"connection_id":177550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:19] local.INFO: IMEI packet received {"connection_id":177550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":177550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:06:22] local.INFO: TCP Data received {"connection_id":177550,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:22] local.INFO: Processing buffer {"connection_id":177550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:06:22] local.INFO: IMEI packet received {"connection_id":177550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":177550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:06:24] local.INFO: TCP Data received {"connection_id":177550,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08999a900012d7d2b4005ebe2b8000400012c..."} 
[2026-09-10 10:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08999a900012d7d2b4005ebe2b8000400012c..."} 
[2026-09-10 10:06:24] local.INFO: Processing buffer {"connection_id":177550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08999a900012d7d2b4005ebe2b8000400012c..."} 
[2026-09-10 10:06:24] local.INFO: Packet analysis {"connection_id":177550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08999"} 
[2026-09-10 10:06:24] local.INFO: Extracted packet for processing {"connection_id":177550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08999"} 
[2026-09-10 10:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":99345080,"longitude_deg":76.3177792,"latitude_deg":9.934508,"altitude":4,"angle":1,"satellites":44,"speed":34,"hex_longitude":"2d7d2b40","hex_latitude":"05ebe2b8","is_valid_coordinates":true} 
[2026-09-10 10:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987823104001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130708069704269824,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491704453120,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789014944000,"timestamp_ms":1789014944000,"timestamp_seconds":1789014944,"priority":1,"record_length":96,"hex_timestamp":"000001a08999a900"} 
[2026-09-10 10:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 10:06: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-09-10 10:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987823104001,"66":13689,"197":206,"87":13824,"24":34,"16":130708069704269824,"45":9018880491704453120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-10 10:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987823104001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:06:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 10:06:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130708069704269824,"km_value":130708069704269.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491704453120,"description":"Unknown IO ID 45"} 
[2026-09-10 10:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987823104001,"power":13689,"unknown_197":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9018880491704453120}} 
[2026-09-10 10:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":177550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:06:24] local.INFO: GPS data processed {"connection_id":177550,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:06:24] local.INFO: Acknowledgment sent {"connection_id":177550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:06:55] local.INFO: TCP Data received {"connection_id":177550,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08999dfb0012d7d2cc005ec05400002000123..."} 
[2026-09-10 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08999dfb0012d7d2cc005ec05400002000123..."} 
[2026-09-10 10:06:55] local.INFO: Processing buffer {"connection_id":177550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08999dfb0012d7d2cc005ec05400002000123..."} 
[2026-09-10 10:06:55] local.INFO: Packet analysis {"connection_id":177550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08999"} 
[2026-09-10 10:06:55] local.INFO: Extracted packet for processing {"connection_id":177550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08999"} 
[2026-09-10 10:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":99353920,"longitude_deg":76.3178176,"latitude_deg":9.935392,"altitude":2,"angle":1,"satellites":35,"speed":27,"hex_longitude":"2d7d2cc0","hex_latitude":"05ec0540","is_valid_coordinates":true} 
[2026-09-10 10:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987825664001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130708499200999424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019373072916068352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789014958000,"timestamp_ms":1789014958000,"timestamp_seconds":1789014958,"priority":1,"record_length":96,"hex_timestamp":"000001a08999dfb0"} 
[2026-09-10 10:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-10 10:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987825664001,"66":13602,"197":206,"87":13824,"24":27,"16":130708499200999424,"45":9019373072916068352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-10 10:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987825664001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:06:55] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 10:06:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130708499200999424,"km_value":130708499200999.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019373072916068352,"description":"Unknown IO ID 45"} 
[2026-09-10 10:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987825664001,"power":13602,"unknown_197":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9019373072916068352}} 
[2026-09-10 10:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":177550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:06:55] local.INFO: GPS data processed {"connection_id":177550,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:06:55] local.INFO: Acknowledgment sent {"connection_id":177550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:07:17] local.INFO: TCP Data received {"connection_id":176142,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:17] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:17] local.INFO: IMEI packet received {"connection_id":176142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":176142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:07:19] local.INFO: TCP Data received {"connection_id":176142,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:19] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:19] local.INFO: IMEI packet received {"connection_id":176142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":176142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:07:22] local.INFO: TCP Data received {"connection_id":176142,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:22] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:07:22] local.INFO: IMEI packet received {"connection_id":176142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":176142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:07:23] local.INFO: TCP Data received {"connection_id":176142,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899a2dd0012d7d2d0005ec25b0000400042d..."} 
[2026-09-10 10:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899a2dd0012d7d2d0005ec25b0000400042d..."} 
[2026-09-10 10:07:23] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899a2dd0012d7d2d0005ec25b0000400042d..."} 
[2026-09-10 10:07:23] local.INFO: Packet analysis {"connection_id":176142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:23] local.INFO: Extracted packet for processing {"connection_id":176142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763178240,"raw_latitude":99362224,"longitude_deg":76.317824,"latitude_deg":9.9362224,"altitude":4,"angle":4,"satellites":45,"speed":0,"hex_longitude":"2d7d2d00","hex_latitude":"05ec25b0","is_valid_coordinates":true} 
[2026-09-10 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987829248001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130708907222892544,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795285383397376,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789014978000,"timestamp_ms":1789014978000,"timestamp_seconds":1789014978,"priority":1,"record_length":96,"hex_timestamp":"000001a0899a2dd0"} 
[2026-09-10 10:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:07: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-09-10 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 10:07: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-09-10 10:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987829248001,"66":13515,"197":206,"87":13824,"24":0,"16":130708907222892544,"45":9019795285383397376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-10 10:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987829248001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:07:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 10:07:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130708907222892544,"km_value":130708907222892.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795285383397376,"description":"Unknown IO ID 45"} 
[2026-09-10 10:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987829248001,"power":13515,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9019795285383397376}} 
[2026-09-10 10:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":176142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:07:23] local.INFO: GPS data processed {"connection_id":176142,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:07:23] local.INFO: Acknowledgment sent {"connection_id":176142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:07:45] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:45] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:45] local.INFO: IMEI packet received {"connection_id":178935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":178935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:07:45] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:45] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:45] local.INFO: IMEI packet received {"connection_id":178935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":178935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:07:50] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:50] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:07:50] local.INFO: IMEI packet received {"connection_id":178935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":178935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:07:51] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899a6868012cdde98007328678001601112d..."} 
[2026-09-10 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899a6868012cdde98007328678001601112d..."} 
[2026-09-10 10:07:51] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899a6868012cdde98007328678001601112d..."} 
[2026-09-10 10:07:51] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:51] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":752740736,"raw_latitude":120751736,"longitude_deg":75.2740736,"latitude_deg":12.0751736,"altitude":22,"angle":273,"satellites":45,"speed":45,"hex_longitude":"2cdde980","hex_latitude":"07328678","is_valid_coordinates":true} 
[2026-09-10 10:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403746717033299968,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,149,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789014993000,"timestamp_ms":1789014993000,"timestamp_seconds":1789014993,"priority":1,"record_length":96,"hex_timestamp":"000001a0899a6868"} 
[2026-09-10 10:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"149":206,"83":40960,"24":45,"16":403746717033299968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16]} 
[2026-09-10 10:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 10:07:51] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403746717033299968,"km_value":403746717033299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:07:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_149":206,"unknown_83":40960,"ignition":45,"odometer":null}} 
[2026-09-10 10:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:07:51] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:07:51] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:07:54] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:54] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:54] local.INFO: IMEI packet received {"connection_id":177551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":177551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:07:54] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899a87a8012cddc60007328808001601112d..."} 
[2026-09-10 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899a87a8012cddc60007328808001601112d..."} 
[2026-09-10 10:07:54] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899a87a8012cddc60007328808001601112d..."} 
[2026-09-10 10:07:54] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:54] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:54] local.INFO: GPS Element Parsed {"raw_longitude":752731648,"raw_latitude":120752136,"longitude_deg":75.2731648,"latitude_deg":12.0752136,"altitude":22,"angle":273,"satellites":45,"speed":44,"hex_longitude":"2cddc600","hex_latitude":"07328808","is_valid_coordinates":true} 
[2026-09-10 10:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987838208001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403747146530029568,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2456291353353095168,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789015001000,"timestamp_ms":1789015001000,"timestamp_seconds":1789015001,"priority":1,"record_length":96,"hex_timestamp":"000001a0899a87a8"} 
[2026-09-10 10:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:07: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-09-10 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987838208001,"66":27887,"149":206,"83":40960,"24":44,"16":403747146530029568,"44":-2456291353353095168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987838208001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403747146530029568,"km_value":403747146530029.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2456291353353095168,"description":"Unknown IO ID 44"} 
[2026-09-10 10:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987838208001,"power":27887,"unknown_149":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2456291353353095168}} 
[2026-09-10 10:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:07:54] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:07:54] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:07:54] local.INFO: TCP Data received {"connection_id":176142,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899a7fd8012d7d2d0005ec25b0000400042b..."} 
[2026-09-10 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899a7fd8012d7d2d0005ec25b0000400042b..."} 
[2026-09-10 10:07:54] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899a7fd8012d7d2d0005ec25b0000400042b..."} 
[2026-09-10 10:07:54] local.INFO: Packet analysis {"connection_id":176142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:54] local.INFO: Extracted packet for processing {"connection_id":176142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763178240,"raw_latitude":99362224,"longitude_deg":76.317824,"latitude_deg":9.9362224,"altitude":4,"angle":4,"satellites":43,"speed":0,"hex_longitude":"2d7d2d00","hex_latitude":"05ec25b0","is_valid_coordinates":true} 
[2026-09-10 10:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987834368001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130708907222892544,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019865654129700864,"note":"Value kept but may cause issues"} 
[2026-09-10 10:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789014999000,"timestamp_ms":1789014999000,"timestamp_seconds":1789014999,"priority":1,"record_length":96,"hex_timestamp":"000001a0899a7fd8"} 
[2026-09-10 10:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 10:07: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-09-10 10:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987834368001,"66":13798,"197":206,"87":13824,"24":0,"16":130708907222892544,"45":9019865654129700864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-10 10:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987834368001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130708907222892544,"km_value":130708907222892.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019865654129700864,"description":"Unknown IO ID 45"} 
[2026-09-10 10:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987834368001,"power":13798,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9019865654129700864}} 
[2026-09-10 10:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":176142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:07:54] local.INFO: GPS data processed {"connection_id":176142,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:07:54] local.INFO: Acknowledgment sent {"connection_id":176142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:07:55] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:55] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:55] local.INFO: IMEI packet received {"connection_id":177551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":177551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:07:59] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:59] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:07:59] local.INFO: IMEI packet received {"connection_id":177551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":177551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:08:01] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a089991490012c5c53c008bde6400011010327..."} 
[2026-09-10 10:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089991490012c5c53c008bde6400011010327..."} 
[2026-09-10 10:08:01] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089991490012c5c53c008bde6400011010327..."} 
[2026-09-10 10:08:01] local.INFO: Packet analysis {"connection_id":177551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08999"} 
[2026-09-10 10:08:01] local.INFO: Extracted packet for processing {"connection_id":177551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08999"} 
[2026-09-10 10:08:01] local.INFO: GPS Element Parsed {"raw_longitude":744248256,"raw_latitude":146662976,"longitude_deg":74.4248256,"latitude_deg":14.6662976,"altitude":17,"angle":259,"satellites":39,"speed":14,"hex_longitude":"2c5c53c0","hex_latitude":"08bde640","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987813120001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6667720023357149184,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789014906000,"timestamp_ms":1789014906000,"timestamp_seconds":1789014906,"priority":1,"record_length":96,"hex_timestamp":"000001a089991490"} 
[2026-09-10 10:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":26,"data_length":795,"current_offset":136} 
[2026-09-10 10:08: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-09-10 10: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-09-10 10:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987813120001,"66":28050,"201":206,"104":45568,"24":14,"16":3893920429768704,"44":6667720023357149184},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,104,24,16,44]} 
[2026-09-10 10:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987813120001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:08:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 10:08:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 10:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":6667720023357149184,"description":"Unknown IO ID 44"} 
[2026-09-10 10:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987813120001,"power":28050,"unknown_201":206,"unknown_104":45568,"ignition":14,"odometer":null,"unknown_44":6667720023357149184}} 
[2026-09-10 10:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":177551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:08:01] local.INFO: GPS data processed {"connection_id":177551,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:08:01] local.INFO: Acknowledgment sent {"connection_id":177551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:08:17] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:08:17] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:08:17] local.INFO: IMEI packet received {"connection_id":176143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":176143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:08:22] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:08:22] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:08:22] local.INFO: IMEI packet received {"connection_id":176143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":176143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:08:23] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899bc028012d7d370005ec3d980008006e27..."} 
[2026-09-10 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899bc028012d7d370005ec3d980008006e27..."} 
[2026-09-10 10:08:23] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899bc028012d7d370005ec3d980008006e27..."} 
[2026-09-10 10:08:23] local.INFO: Packet analysis {"connection_id":176143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899b"} 
[2026-09-10 10:08:23] local.INFO: Extracted packet for processing {"connection_id":176143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899b"} 
[2026-09-10 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99368344,"longitude_deg":76.31808,"latitude_deg":9.9368344,"altitude":8,"angle":110,"satellites":39,"speed":6,"hex_longitude":"2d7d3700","hex_latitude":"05ec3d98","is_valid_coordinates":true} 
[2026-09-10 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987858944001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130709332424654848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922782343168,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015081000,"timestamp_ms":1789015081000,"timestamp_seconds":1789015081,"priority":1,"record_length":96,"hex_timestamp":"000001a0899bc028"} 
[2026-09-10 10:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 10:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987858944001,"66":13472,"197":206,"87":13824,"24":6,"16":130709332424654848,"45":9021061922782343168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-10 10:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987858944001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:08:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-10 10:08:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130709332424654848,"km_value":130709332424654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922782343168,"description":"Unknown IO ID 45"} 
[2026-09-10 10:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987858944001,"power":13472,"unknown_197":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9021061922782343168}} 
[2026-09-10 10:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":176143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:08:24] local.INFO: GPS data processed {"connection_id":176143,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:08:24] local.INFO: Acknowledgment sent {"connection_id":176143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:08:39] local.INFO: TCP Data received {"connection_id":177552,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:08:39] local.INFO: Processing buffer {"connection_id":177552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:08:39] local.INFO: IMEI packet received {"connection_id":177552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":177552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:08:44] local.INFO: TCP Data received {"connection_id":177552,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:08:44] local.INFO: Processing buffer {"connection_id":177552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:08:44] local.INFO: IMEI packet received {"connection_id":177552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":177552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:08:44] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899aaad0012cdd9f0007328a60001601112e..."} 
[2026-09-10 10:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899aaad0012cdd9f0007328a60001601112e..."} 
[2026-09-10 10:08:44] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899aaad0012cdd9f0007328a60001601112e..."} 
[2026-09-10 10:08:44] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:08:44] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:08:44] local.INFO: GPS Element Parsed {"raw_longitude":752721664,"raw_latitude":120752736,"longitude_deg":75.2721664,"latitude_deg":12.0752736,"altitude":22,"angle":273,"satellites":46,"speed":44,"hex_longitude":"2cdd9f00","hex_latitude":"07328a60","is_valid_coordinates":true} 
[2026-09-10 10:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987840256001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403747623271399424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2466283715026221056,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789015010000,"timestamp_ms":1789015010000,"timestamp_seconds":1789015010,"priority":1,"record_length":96,"hex_timestamp":"000001a0899aaad0"} 
[2026-09-10 10:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 10:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987840256001,"66":27821,"149":206,"83":40960,"24":44,"16":403747623271399424,"44":-2466283715026221056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987840256001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:08:44] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403747623271399424,"km_value":403747623271399.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2466283715026221056,"description":"Unknown IO ID 44"} 
[2026-09-10 10:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987840256001,"power":27821,"unknown_149":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2466283715026221056}} 
[2026-09-10 10:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:08:44] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:08:44] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:08:45] local.INFO: TCP Data received {"connection_id":177552,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899b81a8012c5a940008bdb0100012012026..."} 
[2026-09-10 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899b81a8012c5a940008bdb0100012012026..."} 
[2026-09-10 10:08:45] local.INFO: Processing buffer {"connection_id":177552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899b81a8012c5a940008bdb0100012012026..."} 
[2026-09-10 10:08:45] local.INFO: Packet analysis {"connection_id":177552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899b"} 
[2026-09-10 10:08:45] local.INFO: Extracted packet for processing {"connection_id":177552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899b"} 
[2026-09-10 10:08:45] local.INFO: GPS Element Parsed {"raw_longitude":744133632,"raw_latitude":146649104,"longitude_deg":74.4133632,"latitude_deg":14.6649104,"altitude":18,"angle":288,"satellites":38,"speed":0,"hex_longitude":"2c5a9400","hex_latitude":"08bdb010","is_valid_coordinates":true} 
[2026-09-10 10:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987851264001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6548233895736836096,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789015065000,"timestamp_ms":1789015065000,"timestamp_seconds":1789015065,"priority":1,"record_length":96,"hex_timestamp":"000001a0899b81a8"} 
[2026-09-10 10:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 10:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987851264001,"66":27952,"95":206,"9":55808,"24":0,"16":3893920429768704,"44":6548233895736836096},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,44]} 
[2026-09-10 10:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987851264001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:08:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 10:08:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:08:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":6548233895736836096,"description":"Unknown IO ID 44"} 
[2026-09-10 10:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987851264001,"power":27952,"unknown_95":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":6548233895736836096}} 
[2026-09-10 10:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":177552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:08:45] local.INFO: GPS data processed {"connection_id":177552,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:08:45] local.INFO: Acknowledgment sent {"connection_id":177552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:08:55] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899c7f90012d7d334005ec0eb80000010f20..."} 
[2026-09-10 10:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899c7f90012d7d334005ec0eb80000010f20..."} 
[2026-09-10 10:08:55] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899c7f90012d7d334005ec0eb80000010f20..."} 
[2026-09-10 10:08:55] local.INFO: Packet analysis {"connection_id":176143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:08:55] local.INFO: Extracted packet for processing {"connection_id":176143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":99356344,"longitude_deg":76.317984,"latitude_deg":9.9356344,"altitude":0,"angle":271,"satellites":32,"speed":2,"hex_longitude":"2d7d3340","hex_latitude":"05ec0eb8","is_valid_coordinates":true} 
[2026-09-10 10:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987873024001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130709985259683840,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241476814848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:08: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-09-10 10:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015130000,"timestamp_ms":1789015130000,"timestamp_seconds":1789015130,"priority":1,"record_length":96,"hex_timestamp":"000001a0899c7f90"} 
[2026-09-10 10:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 10:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987873024001,"66":13374,"110":206,"87":13824,"24":2,"16":130709985259683840,"45":9021695241476814848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987873024001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:08:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:08:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130709985259683840,"km_value":130709985259683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241476814848,"description":"Unknown IO ID 45"} 
[2026-09-10 10:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987873024001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021695241476814848}} 
[2026-09-10 10:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":176143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:08:55] local.INFO: GPS data processed {"connection_id":176143,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:08:55] local.INFO: Acknowledgment sent {"connection_id":176143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:15] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899acdf8012cdd77c0073290480015011c2f..."} 
[2026-09-10 10:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899acdf8012cdd77c0073290480015011c2f..."} 
[2026-09-10 10:09:15] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899acdf8012cdd77c0073290480015011c2f..."} 
[2026-09-10 10:09:15] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:09:15] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899a"} 
[2026-09-10 10:09:15] local.INFO: GPS Element Parsed {"raw_longitude":752711616,"raw_latitude":120754248,"longitude_deg":75.2711616,"latitude_deg":12.0754248,"altitude":21,"angle":284,"satellites":47,"speed":44,"hex_longitude":"2cdd77c0","hex_latitude":"07329048","is_valid_coordinates":true} 
[2026-09-10 10:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987842560001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403748104307736576,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2477261239117783040,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789015019000,"timestamp_ms":1789015019000,"timestamp_seconds":1789015019,"priority":1,"record_length":96,"hex_timestamp":"000001a0899acdf8"} 
[2026-09-10 10:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987842560001,"66":27767,"149":206,"83":40960,"24":44,"16":403748104307736576,"44":-2477261239117783040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987842560001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:09:15] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403748104307736576,"km_value":403748104307736.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2477261239117783040,"description":"Unknown IO ID 44"} 
[2026-09-10 10:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987842560001,"power":27767,"unknown_149":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2477261239117783040}} 
[2026-09-10 10:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:09:15] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:09:15] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:17] local.INFO: TCP Data received {"connection_id":177552,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899bcfc8012c5a478008bdc6100014011d26..."} 
[2026-09-10 10:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899bcfc8012c5a478008bdc6100014011d26..."} 
[2026-09-10 10:09:17] local.INFO: Processing buffer {"connection_id":177552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899bcfc8012c5a478008bdc6100014011d26..."} 
[2026-09-10 10:09:17] local.INFO: Packet analysis {"connection_id":177552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899b"} 
[2026-09-10 10:09:17] local.INFO: Extracted packet for processing {"connection_id":177552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899b"} 
[2026-09-10 10:09:17] local.INFO: GPS Element Parsed {"raw_longitude":744114048,"raw_latitude":146654736,"longitude_deg":74.4114048,"latitude_deg":14.6654736,"altitude":20,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2c5a4780","hex_latitude":"08bdc610","is_valid_coordinates":true} 
[2026-09-10 10:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987856640001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6526841797508861952,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789015085000,"timestamp_ms":1789015085000,"timestamp_seconds":1789015085,"priority":1,"record_length":96,"hex_timestamp":"000001a0899bcfc8"} 
[2026-09-10 10:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-10 10:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987856640001,"66":27984,"94":206,"9":55808,"24":0,"16":3893920429768704,"44":6526841797508861952},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,9,24,16,44]} 
[2026-09-10 10:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987856640001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:09:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-10 10:09:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:09:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":6526841797508861952,"description":"Unknown IO ID 44"} 
[2026-09-10 10:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987856640001,"power":27984,"unknown_94":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":6526841797508861952}} 
[2026-09-10 10:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":177552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:09:17] local.INFO: GPS data processed {"connection_id":177552,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:09:17] local.INFO: Acknowledgment sent {"connection_id":177552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:17] local.INFO: TCP Data received {"connection_id":177553,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:17] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:17] local.INFO: IMEI packet received {"connection_id":177553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":177553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:09:21] local.INFO: TCP Data received {"connection_id":177553,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:21] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:21] local.INFO: IMEI packet received {"connection_id":177553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":177553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:09:22] local.INFO: TCP Data received {"connection_id":177553,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:22] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:09:22] local.INFO: IMEI packet received {"connection_id":177553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":177553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:09:23] local.INFO: TCP Data received {"connection_id":177553,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899c8378012d7d334005ec0ee80000014d1f..."} 
[2026-09-10 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899c8378012d7d334005ec0ee80000014d1f..."} 
[2026-09-10 10:09:23] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899c8378012d7d334005ec0ee80000014d1f..."} 
[2026-09-10 10:09:23] local.INFO: Packet analysis {"connection_id":177553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:23] local.INFO: Extracted packet for processing {"connection_id":177553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":99356392,"longitude_deg":76.317984,"latitude_deg":9.9356392,"altitude":0,"angle":333,"satellites":31,"speed":1,"hex_longitude":"2d7d3340","hex_latitude":"05ec0ee8","is_valid_coordinates":true} 
[2026-09-10 10:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987873280001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130709985259683840,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872732637184,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015131000,"timestamp_ms":1789015131000,"timestamp_seconds":1789015131,"priority":1,"record_length":96,"hex_timestamp":"000001a0899c8378"} 
[2026-09-10 10:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 10:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987873280001,"66":13374,"110":206,"87":13824,"24":1,"16":130709985259683840,"45":9021624872732637184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987873280001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:09:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:09:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130709985259683840,"km_value":130709985259683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872732637184,"description":"Unknown IO ID 45"} 
[2026-09-10 10:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987873280001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021624872732637184}} 
[2026-09-10 10:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":177553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:09:23] local.INFO: GPS data processed {"connection_id":177553,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:09:23] local.INFO: Acknowledgment sent {"connection_id":177553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:24] local.INFO: TCP Data received {"connection_id":177553,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899c8760012d7d330005ec0f10000001621f..."} 
[2026-09-10 10:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899c8760012d7d330005ec0f10000001621f..."} 
[2026-09-10 10:09:24] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899c8760012d7d330005ec0f10000001621f..."} 
[2026-09-10 10:09:24] local.INFO: Packet analysis {"connection_id":177553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:24] local.INFO: Extracted packet for processing {"connection_id":177553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":99356432,"longitude_deg":76.3179776,"latitude_deg":9.9356432,"altitude":0,"angle":354,"satellites":31,"speed":1,"hex_longitude":"2d7d3300","hex_latitude":"05ec0f10","is_valid_coordinates":true} 
[2026-09-10 10:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987873536001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130709989554651136,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872732649472,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015132000,"timestamp_ms":1789015132000,"timestamp_seconds":1789015132,"priority":1,"record_length":96,"hex_timestamp":"000001a0899c8760"} 
[2026-09-10 10:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 10:09: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-09-10 10:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987873536001,"66":13798,"110":206,"87":13824,"24":1,"16":130709989554651136,"45":9021624872732649472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987873536001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:09:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:09:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130709989554651136,"km_value":130709989554651.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872732649472,"description":"Unknown IO ID 45"} 
[2026-09-10 10:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987873536001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021624872732649472}} 
[2026-09-10 10:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":177553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:09:24] local.INFO: GPS data processed {"connection_id":177553,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:09:24] local.INFO: Acknowledgment sent {"connection_id":177553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:44] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:09:44] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:09:44] local.INFO: IMEI packet received {"connection_id":176144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":176144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:09:45] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:09:45] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:09:45] local.INFO: IMEI packet received {"connection_id":176144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":176144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:09:46] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899c8f30012cdba6c007337ba0001f011f2f..."} 
[2026-09-10 10:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899c8f30012cdba6c007337ba0001f011f2f..."} 
[2026-09-10 10:09:46] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899c8f30012cdba6c007337ba0001f011f2f..."} 
[2026-09-10 10:09:46] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:46] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:46] local.INFO: GPS Element Parsed {"raw_longitude":752592576,"raw_latitude":120814496,"longitude_deg":75.2592576,"latitude_deg":12.0814496,"altitude":31,"angle":287,"satellites":47,"speed":49,"hex_longitude":"2cdba6c0","hex_latitude":"07337ba0","is_valid_coordinates":true} 
[2026-09-10 10:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987872256001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403754490924105728,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2608498946994073600,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789015134000,"timestamp_ms":1789015134000,"timestamp_seconds":1789015134,"priority":1,"record_length":96,"hex_timestamp":"000001a0899c8f30"} 
[2026-09-10 10:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987872256001,"66":27463,"146":206,"83":40960,"24":49,"16":403754490924105728,"44":-2608498946994073600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-10 10:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987872256001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:09:46] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 10:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403754490924105728,"km_value":403754490924105.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2608498946994073600,"description":"Unknown IO ID 44"} 
[2026-09-10 10:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987872256001,"power":27463,"unknown_146":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2608498946994073600}} 
[2026-09-10 10:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:09:46] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:09:46] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:46] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899c50b00100000000000000000000000000..."} 
[2026-09-10 10:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899c50b00100000000000000000000000000..."} 
[2026-09-10 10:09:46] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899c50b00100000000000000000000000000..."} 
[2026-09-10 10:09:46] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:46] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 10:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987861760001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6505308961791938560,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789015118000,"timestamp_ms":1789015118000,"timestamp_seconds":1789015118,"priority":1,"record_length":96,"hex_timestamp":"000001a0899c50b0"} 
[2026-09-10 10:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 10:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 10:09:46] local.INFO: GPS data processed {"connection_id":176144,"processed":0,"errors":0,"total":1} 
[2026-09-10 10:09:46] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:49] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899c3d28012c59b30008be09100016013728..."} 
[2026-09-10 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899c3d28012c59b30008be09100016013728..."} 
[2026-09-10 10:09:49] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899c3d28012c59b30008be09100016013728..."} 
[2026-09-10 10:09:49] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:49] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:09:49] local.INFO: GPS Element Parsed {"raw_longitude":744076032,"raw_latitude":146671888,"longitude_deg":74.4076032,"latitude_deg":14.6671888,"altitude":22,"angle":311,"satellites":40,"speed":46,"hex_longitude":"2c59b300","hex_latitude":"08be0910","is_valid_coordinates":true} 
[2026-09-10 10:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,94,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789015113000,"timestamp_ms":1789015113000,"timestamp_seconds":1789015113,"priority":1,"record_length":96,"hex_timestamp":"000001a0899c3d28"} 
[2026-09-10 10:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-10 10:09:49] 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-09-10 10:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"94":206,"9":55808,"24":46,"16":3893920429768704},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,9,24,16]} 
[2026-09-10 10:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 10:09:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-10 10:09:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:09:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_94":206,"unknown_9":55808,"ignition":46,"odometer":null}} 
[2026-09-10 10:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:09:49] local.INFO: GPS data processed {"connection_id":176144,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:09:49] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:09:55] local.INFO: TCP Data received {"connection_id":177553,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3340012d7d348005ec0c88000000b91f..."} 
[2026-09-10 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3340012d7d348005ec0c88000000b91f..."} 
[2026-09-10 10:09:55] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3340012d7d348005ec0c88000000b91f..."} 
[2026-09-10 10:09:55] local.INFO: Packet analysis {"connection_id":177553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:09:55] local.INFO: Extracted packet for processing {"connection_id":177553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":31,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885056001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:09: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-09-10 10:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015176000,"timestamp_ms":1789015176000,"timestamp_seconds":1789015176,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3340"} 
[2026-09-10 10:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 10:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885056001,"66":13559,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885056001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:09:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:09:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885056001,"power":13559,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":177553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:09:55] local.INFO: GPS data processed {"connection_id":177553,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:09:55] local.INFO: Acknowledgment sent {"connection_id":177553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:10:17] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899cae70012cdb814007338768001f01202f..."} 
[2026-09-10 10:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899cae70012cdb814007338768001f01202f..."} 
[2026-09-10 10:10:17] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899cae70012cdb814007338768001f01202f..."} 
[2026-09-10 10:10:17] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:17] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:17] local.INFO: GPS Element Parsed {"raw_longitude":752582976,"raw_latitude":120817512,"longitude_deg":75.2582976,"latitude_deg":12.0817512,"altitude":31,"angle":288,"satellites":47,"speed":48,"hex_longitude":"2cdb8140","hex_latitude":"07338768","is_valid_coordinates":true} 
[2026-09-10 10:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987874304001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403754963370508288,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619194996108320768,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789015142000,"timestamp_ms":1789015142000,"timestamp_seconds":1789015142,"priority":1,"record_length":96,"hex_timestamp":"000001a0899cae70"} 
[2026-09-10 10:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 10:10:17] 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-09-10 10:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987874304001,"66":27876,"146":206,"83":40960,"24":48,"16":403754963370508288,"44":-2619194996108320768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-10 10:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987874304001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:10:17] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 10:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403754963370508288,"km_value":403754963370508.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619194996108320768,"description":"Unknown IO ID 44"} 
[2026-09-10 10:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987874304001,"power":27876,"unknown_146":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2619194996108320768}} 
[2026-09-10 10:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:10:17] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:10:17] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:10:21] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899c7f90012c59760008be38000019012826..."} 
[2026-09-10 10:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899c7f90012c59760008be38000019012826..."} 
[2026-09-10 10:10:21] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899c7f90012c59760008be38000019012826..."} 
[2026-09-10 10:10:21] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:21] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:21] local.INFO: GPS Element Parsed {"raw_longitude":744060416,"raw_latitude":146683904,"longitude_deg":74.4060416,"latitude_deg":14.6683904,"altitude":25,"angle":296,"satellites":38,"speed":44,"hex_longitude":"2c597600","hex_latitude":"08be3800","is_valid_coordinates":true} 
[2026-09-10 10:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987868928001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6463509927754797056,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789015130000,"timestamp_ms":1789015130000,"timestamp_seconds":1789015130,"priority":1,"record_length":96,"hex_timestamp":"000001a0899c7f90"} 
[2026-09-10 10:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 10:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987868928001,"66":28093,"94":206,"9":55808,"24":44,"16":3893920429768704,"44":6463509927754797056},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,9,24,16,44]} 
[2026-09-10 10:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987868928001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:10:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-10 10:10:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":6463509927754797056,"description":"Unknown IO ID 44"} 
[2026-09-10 10:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987868928001,"power":28093,"unknown_94":206,"unknown_9":55808,"ignition":44,"odometer":null,"unknown_44":6463509927754797056}} 
[2026-09-10 10:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:10:21] local.INFO: GPS data processed {"connection_id":176144,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:10:21] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:10:22] local.INFO: TCP Data received {"connection_id":177554,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:10:22] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:10:22] local.INFO: IMEI packet received {"connection_id":177554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":177554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:10:27] local.INFO: TCP Data received {"connection_id":177554,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:10:27] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:10:27] local.INFO: IMEI packet received {"connection_id":177554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":177554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:10:28] local.INFO: TCP Data received {"connection_id":177554,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:10:28] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:10:28] local.INFO: Packet analysis {"connection_id":177554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:10:28] local.INFO: Extracted packet for processing {"connection_id":177554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885056001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10: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-09-10 10:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 10:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885056001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885056001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:10:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:10:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885056001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":177554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:10:28] local.INFO: GPS data processed {"connection_id":177554,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:10:28] local.INFO: Acknowledgment sent {"connection_id":177554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:10:33] local.INFO: TCP Data received {"connection_id":177554,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:10:33] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:10:33] local.INFO: Packet analysis {"connection_id":177554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:10:33] local.INFO: Extracted packet for processing {"connection_id":177554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 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-09-10 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:10:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":177554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:10:33] local.INFO: GPS data processed {"connection_id":177554,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:10:33] local.INFO: Acknowledgment sent {"connection_id":177554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:10:38] local.INFO: TCP Data received {"connection_id":176389,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:38] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:38] local.INFO: IMEI packet received {"connection_id":176389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":176389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:10:39] local.INFO: TCP Data received {"connection_id":176389,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:39] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:39] local.INFO: IMEI packet received {"connection_id":176389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":176389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:10:44] local.INFO: TCP Data received {"connection_id":176389,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:44] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:10:44] local.INFO: IMEI packet received {"connection_id":176389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":176389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:10:45] local.INFO: TCP Data received {"connection_id":176389,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899ccdb0012c59520008be48000018012927..."} 
[2026-09-10 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899ccdb0012c59520008be48000018012927..."} 
[2026-09-10 10:10:45] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899ccdb0012c59520008be48000018012927..."} 
[2026-09-10 10:10:45] local.INFO: Packet analysis {"connection_id":176389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:45] local.INFO: Extracted packet for processing {"connection_id":176389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:45] local.INFO: GPS Element Parsed {"raw_longitude":744051200,"raw_latitude":146688000,"longitude_deg":74.40512,"latitude_deg":14.6688,"altitude":24,"angle":297,"satellites":39,"speed":7,"hex_longitude":"2c595200","hex_latitude":"08be4800","is_valid_coordinates":true} 
[2026-09-10 10:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987873280001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6446339954178523136,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789015150000,"timestamp_ms":1789015150000,"timestamp_seconds":1789015150,"priority":1,"record_length":96,"hex_timestamp":"000001a0899ccdb0"} 
[2026-09-10 10:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-10 10:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987873280001,"66":27691,"95":206,"9":55808,"24":7,"16":3893920429768704,"44":6446339954178523136},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,44]} 
[2026-09-10 10:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987873280001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:10:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 10:10:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":6446339954178523136,"description":"Unknown IO ID 44"} 
[2026-09-10 10:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987873280001,"power":27691,"unknown_95":206,"unknown_9":55808,"ignition":7,"odometer":null,"unknown_44":6446339954178523136}} 
[2026-09-10 10:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":176389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:10:45] local.INFO: GPS data processed {"connection_id":176389,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:10:45] local.INFO: Acknowledgment sent {"connection_id":176389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:10:48] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899cc1f8012cdb6b8007339098001f012c2f..."} 
[2026-09-10 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899cc1f8012cdb6b8007339098001f012c2f..."} 
[2026-09-10 10:10:48] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899cc1f8012cdb6b8007339098001f012c2f..."} 
[2026-09-10 10:10:48] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:48] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899c"} 
[2026-09-10 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":752577408,"raw_latitude":120819864,"longitude_deg":75.2577408,"latitude_deg":12.0819864,"altitude":31,"angle":300,"satellites":47,"speed":46,"hex_longitude":"2cdb6b80","hex_latitude":"07339098","is_valid_coordinates":true} 
[2026-09-10 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987876352001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403755251133317120,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629750307734198272,"note":"Value kept but may cause issues"} 
[2026-09-10 10:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789015147000,"timestamp_ms":1789015147000,"timestamp_seconds":1789015147,"priority":1,"record_length":96,"hex_timestamp":"000001a0899cc1f8"} 
[2026-09-10 10:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987876352001,"66":27800,"145":206,"83":40960,"24":46,"16":403755251133317120,"44":-2629750307734198272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-10 10:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987876352001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:10:48] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 10:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403755251133317120,"km_value":403755251133317.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629750307734198272,"description":"Unknown IO ID 44"} 
[2026-09-10 10:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987876352001,"power":27800,"unknown_145":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2629750307734198272}} 
[2026-09-10 10:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:10:48] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:10:48] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:11:17] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:11:17] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:11:17] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:11:22] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:11:22] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:11:22] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:11:23] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:23] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:23] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:23] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:11:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:11:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:11:23] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:11:23] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:11:24] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899ddb38012cda90c00734a900001701322f..."} 
[2026-09-10 10:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899ddb38012cda90c00734a900001701322f..."} 
[2026-09-10 10:11:24] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899ddb38012cda90c00734a900001701322f..."} 
[2026-09-10 10:11:24] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:24] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:24] local.INFO: GPS Element Parsed {"raw_longitude":752521408,"raw_latitude":120891648,"longitude_deg":75.2521408,"latitude_deg":12.0891648,"altitude":23,"angle":306,"satellites":47,"speed":50,"hex_longitude":"2cda90c0","hex_latitude":"0734a900","is_valid_coordinates":true} 
[2026-09-10 10:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987894272001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403759674949632000,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2689634109011838976,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015219000,"timestamp_ms":1789015219000,"timestamp_seconds":1789015219,"priority":1,"record_length":96,"hex_timestamp":"000001a0899ddb38"} 
[2026-09-10 10:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987894272001,"66":27876,"174":206,"83":40960,"24":50,"16":403759674949632000,"44":-2689634109011838976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-10 10:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987894272001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:11:24] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-10 10:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403759674949632000,"km_value":403759674949632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2689634109011838976,"description":"Unknown IO ID 44"} 
[2026-09-10 10:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987894272001,"power":27876,"unknown_174":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2689634109011838976}} 
[2026-09-10 10:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:11:24] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:11:24] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:11:26] local.INFO: TCP Data received {"connection_id":176389,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d5a500100000000000000000000000000..."} 
[2026-09-10 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d5a500100000000000000000000000000..."} 
[2026-09-10 10:11:26] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d5a500100000000000000000000000000..."} 
[2026-09-10 10:11:26] local.INFO: Packet analysis {"connection_id":176389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:26] local.INFO: Extracted packet for processing {"connection_id":176389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 10:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987878400001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6436206855017988096,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789015186000,"timestamp_ms":1789015186000,"timestamp_seconds":1789015186,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d5a50"} 
[2026-09-10 10:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 10:11:26] 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-09-10 10:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":176389,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 10:11:26] local.INFO: GPS data processed {"connection_id":176389,"processed":0,"errors":0,"total":1} 
[2026-09-10 10:11:26] local.INFO: Acknowledgment sent {"connection_id":176389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:11:28] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:28] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:28] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:28] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11: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-09-10 10:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:11:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:11:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:11:28] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:11:28] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:11:49] local.INFO: TCP Data received {"connection_id":177555,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:11:49] local.INFO: Processing buffer {"connection_id":177555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:11:49] local.INFO: IMEI packet received {"connection_id":177555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":177555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:11:55] local.INFO: TCP Data received {"connection_id":178935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899dfa78012cda71400734c050001901322e..."} 
[2026-09-10 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899dfa78012cda71400734c050001901322e..."} 
[2026-09-10 10:11:55] local.INFO: Processing buffer {"connection_id":178935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899dfa78012cda71400734c050001901322e..."} 
[2026-09-10 10:11:55] local.INFO: Packet analysis {"connection_id":178935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:55] local.INFO: Extracted packet for processing {"connection_id":178935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":752513344,"raw_latitude":120897616,"longitude_deg":75.2513344,"latitude_deg":12.0897616,"altitude":25,"angle":306,"satellites":46,"speed":48,"hex_longitude":"2cda7140","hex_latitude":"0734c050","is_valid_coordinates":true} 
[2026-09-10 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987896064001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403760155985969152,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2697445039614132224,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015227000,"timestamp_ms":1789015227000,"timestamp_seconds":1789015227,"priority":1,"record_length":96,"hex_timestamp":"000001a0899dfa78"} 
[2026-09-10 10:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:11: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-09-10 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987896064001,"66":27800,"174":206,"83":40960,"24":48,"16":403760155985969152,"44":-2697445039614132224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-10 10:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987896064001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:11:55] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-10 10:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403760155985969152,"km_value":403760155985969.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2697445039614132224,"description":"Unknown IO ID 44"} 
[2026-09-10 10:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987896064001,"power":27800,"unknown_174":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2697445039614132224}} 
[2026-09-10 10:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":178935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:11:55] local.INFO: GPS data processed {"connection_id":178935,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:11:55] local.INFO: Acknowledgment sent {"connection_id":178935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:11:58] local.INFO: TCP Data received {"connection_id":177555,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:11:58] local.INFO: Processing buffer {"connection_id":177555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:11:58] local.INFO: IMEI packet received {"connection_id":177555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":177555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:11:59] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:59] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:11:59] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:59] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:11: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-09-10 10:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:11:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:11:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:11:59] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:11:59] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:12:18] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:12:18] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:12:18] local.INFO: IMEI packet received {"connection_id":176390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":176390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:12:19] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:12:19] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:12:19] local.INFO: IMEI packet received {"connection_id":176146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":176146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:12:22] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:12:22] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:12:22] local.INFO: IMEI packet received {"connection_id":176390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":176390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:12:23] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:12:23] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:12:23] local.INFO: IMEI packet received {"connection_id":176146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":176146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:12:23] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:12:23] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:12:23] local.INFO: Packet analysis {"connection_id":176390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:23] local.INFO: Extracted packet for processing {"connection_id":176390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:12:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:12:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":176390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:12:24] local.INFO: GPS data processed {"connection_id":176390,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:12:24] local.INFO: Acknowledgment sent {"connection_id":176390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:12:24] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899e19b8012cda53400734d638001b01332e..."} 
[2026-09-10 10:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899e19b8012cda53400734d638001b01332e..."} 
[2026-09-10 10:12:24] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899e19b8012cda53400734d638001b01332e..."} 
[2026-09-10 10:12:24] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899e"} 
[2026-09-10 10:12:24] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899e"} 
[2026-09-10 10:12:24] local.INFO: GPS Element Parsed {"raw_longitude":752505664,"raw_latitude":120903224,"longitude_deg":75.2505664,"latitude_deg":12.0903224,"altitude":27,"angle":307,"satellites":46,"speed":44,"hex_longitude":"2cda5340","hex_latitude":"0734d638","is_valid_coordinates":true} 
[2026-09-10 10:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987898112001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403760611252502528,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2706311501378990080,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015235000,"timestamp_ms":1789015235000,"timestamp_seconds":1789015235,"priority":1,"record_length":96,"hex_timestamp":"000001a0899e19b8"} 
[2026-09-10 10:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987898112001,"66":27832,"174":206,"83":40960,"24":44,"16":403760611252502528,"44":-2706311501378990080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-10 10:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987898112001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:12:24] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-10 10:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403760611252502528,"km_value":403760611252502.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:12:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2706311501378990080,"description":"Unknown IO ID 44"} 
[2026-09-10 10:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987898112001,"power":27832,"unknown_174":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2706311501378990080}} 
[2026-09-10 10:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:12:24] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:12:24] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:12:28] local.INFO: TCP Data received {"connection_id":177555,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3b10012c591cc008be5fb0001c012428..."} 
[2026-09-10 10:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3b10012c591cc008be5fb0001c012428..."} 
[2026-09-10 10:12:28] local.INFO: Processing buffer {"connection_id":177555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3b10012c591cc008be5fb0001c012428..."} 
[2026-09-10 10:12:28] local.INFO: Packet analysis {"connection_id":177555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:28] local.INFO: Extracted packet for processing {"connection_id":177555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:28] local.INFO: GPS Element Parsed {"raw_longitude":744037568,"raw_latitude":146694064,"longitude_deg":74.4037568,"latitude_deg":14.6694064,"altitude":28,"angle":292,"satellites":40,"speed":25,"hex_longitude":"2c591cc0","hex_latitude":"08be5fb0","is_valid_coordinates":true} 
[2026-09-10 10:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,95,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789015178000,"timestamp_ms":1789015178000,"timestamp_seconds":1789015178,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3b10"} 
[2026-09-10 10:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 10:12:28] 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-09-10 10:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"95":206,"9":55808,"24":25,"16":3893920429768704},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16]} 
[2026-09-10 10:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 10:12:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 10:12:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:12:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_95":206,"unknown_9":55808,"ignition":25,"odometer":null}} 
[2026-09-10 10:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":177555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:12:28] local.INFO: GPS data processed {"connection_id":177555,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:12:28] local.INFO: Acknowledgment sent {"connection_id":177555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:12:33] local.INFO: TCP Data received {"connection_id":177555,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899dcb980100000000000000000000000000..."} 
[2026-09-10 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899dcb980100000000000000000000000000..."} 
[2026-09-10 10:12:33] local.INFO: Processing buffer {"connection_id":177555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899dcb980100000000000000000000000000..."} 
[2026-09-10 10:12:33] local.INFO: Packet analysis {"connection_id":177555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:33] local.INFO: Extracted packet for processing {"connection_id":177555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885568001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6421218312509698048,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789015215000,"timestamp_ms":1789015215000,"timestamp_seconds":1789015215,"priority":1,"record_length":96,"hex_timestamp":"000001a0899dcb98"} 
[2026-09-10 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-09-10 10:12: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-09-10 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 10:12: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-09-10 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-09-10 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-09-10 10:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":177555,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 10:12:33] local.INFO: GPS data processed {"connection_id":177555,"processed":0,"errors":0,"total":1} 
[2026-09-10 10:12:33] local.ERROR: TCP Connection error {"connection_id":177555,"code":2,"message":"client closed"} 
[2026-09-10 10:12:33] local.INFO: Acknowledgment sent {"connection_id":177555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:12:54] local.INFO: TCP Data received {"connection_id":178936,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:12:54] local.INFO: Processing buffer {"connection_id":178936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:12:54] local.INFO: IMEI packet received {"connection_id":178936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":178936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:12:55] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899f5df0012cd8e08007359e90000d012a2e..."} 
[2026-09-10 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899f5df0012cd8e08007359e90000d012a2e..."} 
[2026-09-10 10:12:55] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899f5df0012cd8e08007359e90000d012a2e..."} 
[2026-09-10 10:12:55] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:12:55] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:12:55] local.INFO: GPS Element Parsed {"raw_longitude":752410752,"raw_latitude":120954512,"longitude_deg":75.2410752,"latitude_deg":12.0954512,"altitude":13,"angle":298,"satellites":46,"speed":56,"hex_longitude":"2cd8e080","hex_latitude":"07359e90","is_valid_coordinates":true} 
[2026-09-10 10:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987919616001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403765799572996096,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2808909130376626176,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015318000,"timestamp_ms":1789015318000,"timestamp_seconds":1789015318,"priority":1,"record_length":96,"hex_timestamp":"000001a0899f5df0"} 
[2026-09-10 10:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:12: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-09-10 10:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 10:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987919616001,"66":27843,"163":206,"83":40960,"24":56,"16":403765799572996096,"44":-2808909130376626176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-10 10:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987919616001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:12:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 10:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403765799572996096,"km_value":403765799572996.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2808909130376626176,"description":"Unknown IO ID 44"} 
[2026-09-10 10:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987919616001,"power":27843,"unknown_163":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2808909130376626176}} 
[2026-09-10 10:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:12:55] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:12:55] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:12:56] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:12:56] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:12:56] local.INFO: Packet analysis {"connection_id":176390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:56] local.INFO: Extracted packet for processing {"connection_id":176390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12: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-09-10 10:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:12:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:12:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":176390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:12:56] local.INFO: GPS data processed {"connection_id":176390,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:12:56] local.INFO: Acknowledgment sent {"connection_id":176390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:12:56] local.INFO: TCP Data received {"connection_id":178936,"ip":"117.224.133.189","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:12:56] local.INFO: Processing buffer {"connection_id":178936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:12:56] local.INFO: IMEI packet received {"connection_id":178936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 10:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":178936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:12:58] local.INFO: TCP Data received {"connection_id":178936,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d94e8012c58e7c008be83f0001c013426..."} 
[2026-09-10 10:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d94e8012c58e7c008be83f0001c013426..."} 
[2026-09-10 10:12:58] local.INFO: Processing buffer {"connection_id":178936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d94e8012c58e7c008be83f0001c013426..."} 
[2026-09-10 10:12:58] local.INFO: Packet analysis {"connection_id":178936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:58] local.INFO: Extracted packet for processing {"connection_id":178936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":744024000,"raw_latitude":146703344,"longitude_deg":74.4024,"latitude_deg":14.6703344,"altitude":28,"angle":308,"satellites":38,"speed":31,"hex_longitude":"2c58e7c0","hex_latitude":"08be83f0","is_valid_coordinates":true} 
[2026-09-10 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:12:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,95,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789015201000,"timestamp_ms":1789015201000,"timestamp_seconds":1789015201,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d94e8"} 
[2026-09-10 10:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 10:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"95":206,"9":55808,"24":31,"16":3893920429768704},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16]} 
[2026-09-10 10:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 10:12:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 10:12:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:12:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_95":206,"unknown_9":55808,"ignition":31,"odometer":null}} 
[2026-09-10 10:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":178936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:12:58] local.INFO: GPS data processed {"connection_id":178936,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:12:58] local.INFO: Acknowledgment sent {"connection_id":178936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:13:00] local.INFO: TCP Data received {"connection_id":178936,"ip":"117.224.133.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0899de308012c58aa8008beaaa00020013126..."} 
[2026-09-10 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899de308012c58aa8008beaaa00020013126..."} 
[2026-09-10 10:13:00] local.INFO: Processing buffer {"connection_id":178936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899de308012c58aa8008beaaa00020013126..."} 
[2026-09-10 10:13:00] local.INFO: Packet analysis {"connection_id":178936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:13:00] local.INFO: Extracted packet for processing {"connection_id":178936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":744008320,"raw_latitude":146713248,"longitude_deg":74.400832,"latitude_deg":14.6713248,"altitude":32,"angle":305,"satellites":38,"speed":37,"hex_longitude":"2c58aa80","hex_latitude":"08beaaa0","is_valid_coordinates":true} 
[2026-09-10 10:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987891456001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6406300138746408960,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789015221000,"timestamp_ms":1789015221000,"timestamp_seconds":1789015221,"priority":1,"record_length":96,"hex_timestamp":"000001a0899de308"} 
[2026-09-10 10:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":48,"data_length":795,"current_offset":136} 
[2026-09-10 10:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 10:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.133.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 10:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 10:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987891456001,"66":28148,"95":206,"9":55808,"24":37,"16":3893920429768704,"44":6406300138746408960},"client_ip":"117.224.133.189","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,44]} 
[2026-09-10 10:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 10:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 10:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987891456001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:13:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 10:13:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-10 10:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":6406300138746408960,"description":"Unknown IO ID 44"} 
[2026-09-10 10:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987891456001,"power":28148,"unknown_95":206,"unknown_9":55808,"ignition":37,"odometer":null,"unknown_44":6406300138746408960}} 
[2026-09-10 10:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":178936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:13:00] local.INFO: GPS data processed {"connection_id":178936,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:13:00] local.INFO: Acknowledgment sent {"connection_id":178936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:13:17] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:13:17] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:13:17] local.INFO: IMEI packet received {"connection_id":176147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":176147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:13:22] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:13:22] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:13:22] local.INFO: IMEI packet received {"connection_id":176147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":176147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:13:24] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:13:24] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:13:24] local.INFO: Packet analysis {"connection_id":176147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:13:24] local.INFO: Extracted packet for processing {"connection_id":176147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:13:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:13:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":176147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:13:24] local.INFO: GPS data processed {"connection_id":176147,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:13:24] local.INFO: Acknowledgment sent {"connection_id":176147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:13:26] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899f7948012cd8bf400735b088000e012c30..."} 
[2026-09-10 10:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899f7948012cd8bf400735b088000e012c30..."} 
[2026-09-10 10:13:26] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899f7948012cd8bf400735b088000e012c30..."} 
[2026-09-10 10:13:26] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:13:26] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:13:26] local.INFO: GPS Element Parsed {"raw_longitude":752402240,"raw_latitude":120959112,"longitude_deg":75.240224,"latitude_deg":12.0959112,"altitude":14,"angle":300,"satellites":48,"speed":51,"hex_longitude":"2cd8bf40","hex_latitude":"0735b088","is_valid_coordinates":true} 
[2026-09-10 10:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987921408001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403766259134496768,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2819112598281220096,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789015325000,"timestamp_ms":1789015325000,"timestamp_seconds":1789015325,"priority":1,"record_length":96,"hex_timestamp":"000001a0899f7948"} 
[2026-09-10 10:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987921408001,"66":27843,"163":206,"83":40960,"24":51,"16":403766259134496768,"44":-2819112598281220096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-10 10:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987921408001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:13:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 10:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403766259134496768,"km_value":403766259134496.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:13:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2819112598281220096,"description":"Unknown IO ID 44"} 
[2026-09-10 10:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987921408001,"power":27843,"unknown_163":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2819112598281220096}} 
[2026-09-10 10:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:13:26] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:13:26] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:13:55] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:13:55] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:13:55] local.INFO: Packet analysis {"connection_id":176147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:13:55] local.INFO: Extracted packet for processing {"connection_id":176147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13: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-09-10 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:13:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:13:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":176147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:13:55] local.INFO: GPS data processed {"connection_id":176147,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:13:55] local.INFO: Acknowledgment sent {"connection_id":176147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:13:57] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899f9888012cd89e800735c4a8000f012f2e..."} 
[2026-09-10 10:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899f9888012cd89e800735c4a8000f012f2e..."} 
[2026-09-10 10:13:57] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899f9888012cd89e800735c4a8000f012f2e..."} 
[2026-09-10 10:13:57] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:13:57] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:13:57] local.INFO: GPS Element Parsed {"raw_longitude":752393856,"raw_latitude":120964264,"longitude_deg":75.2393856,"latitude_deg":12.0964264,"altitude":15,"angle":303,"satellites":46,"speed":46,"hex_longitude":"2cd89e80","hex_latitude":"0735c4a8","is_valid_coordinates":true} 
[2026-09-10 10:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987923200001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403766731580899328,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2828471641255671808,"note":"Value kept but may cause issues"} 
[2026-09-10 10:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789015333000,"timestamp_ms":1789015333000,"timestamp_seconds":1789015333,"priority":1,"record_length":96,"hex_timestamp":"000001a0899f9888"} 
[2026-09-10 10:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987923200001,"66":27745,"163":206,"83":40960,"24":46,"16":403766731580899328,"44":-2828471641255671808},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-10 10:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987923200001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:13:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 10:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403766731580899328,"km_value":403766731580899.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:13:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2828471641255671808,"description":"Unknown IO ID 44"} 
[2026-09-10 10:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987923200001,"power":27745,"unknown_163":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2828471641255671808}} 
[2026-09-10 10:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:13:57] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:13:57] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:14:17] local.INFO: TCP Data received {"connection_id":178937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:14:17] local.INFO: Processing buffer {"connection_id":178937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:14:17] local.INFO: IMEI packet received {"connection_id":178937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":178937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:14:18] local.INFO: TCP Data received {"connection_id":178938,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:18] local.INFO: Processing buffer {"connection_id":178938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:18] local.INFO: IMEI packet received {"connection_id":178938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":178938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:14:19] local.INFO: TCP Data received {"connection_id":178938,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:19] local.INFO: Processing buffer {"connection_id":178938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:19] local.INFO: IMEI packet received {"connection_id":178938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":178938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:14:22] local.INFO: TCP Data received {"connection_id":178937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:14:22] local.INFO: Processing buffer {"connection_id":178937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:14:22] local.INFO: IMEI packet received {"connection_id":178937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":178937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:14:24] local.INFO: TCP Data received {"connection_id":178937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:14:24] local.INFO: Processing buffer {"connection_id":178937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899d3728012d7d348005ec0c88000000b920..."} 
[2026-09-10 10:14:24] local.INFO: Packet analysis {"connection_id":178937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:14:24] local.INFO: Extracted packet for processing {"connection_id":178937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899d"} 
[2026-09-10 10:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355784,"longitude_deg":76.318016,"latitude_deg":9.9355784,"altitude":0,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0c88","is_valid_coordinates":true} 
[2026-09-10 10:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015177000,"timestamp_ms":1789015177000,"timestamp_seconds":1789015177,"priority":1,"record_length":96,"hex_timestamp":"000001a0899d3728"} 
[2026-09-10 10:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":14189,"110":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 10:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:14:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:14:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":14189,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":178937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:14:24] local.INFO: GPS data processed {"connection_id":178937,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:14:24] local.INFO: Acknowledgment sent {"connection_id":178937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:14:26] local.INFO: TCP Data received {"connection_id":178938,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:26] local.INFO: Processing buffer {"connection_id":178938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:14:26] local.INFO: IMEI packet received {"connection_id":178938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":178938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:14:27] local.INFO: TCP Data received {"connection_id":178938,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0899fb7c8012cd880c00735d800000f012f30..."} 
[2026-09-10 10:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0899fb7c8012cd880c00735d800000f012f30..."} 
[2026-09-10 10:14:27] local.INFO: Processing buffer {"connection_id":178938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0899fb7c8012cd880c00735d800000f012f30..."} 
[2026-09-10 10:14:27] local.INFO: Packet analysis {"connection_id":178938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:14:27] local.INFO: Extracted packet for processing {"connection_id":178938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0899f"} 
[2026-09-10 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":752386240,"raw_latitude":120969216,"longitude_deg":75.238624,"latitude_deg":12.0969216,"altitude":15,"angle":303,"satellites":48,"speed":43,"hex_longitude":"2cd880c0","hex_latitude":"0735d800","is_valid_coordinates":true} 
[2026-09-10 10:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987925248001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403767165372596224,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2837689946741626880,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789015341000,"timestamp_ms":1789015341000,"timestamp_seconds":1789015341,"priority":1,"record_length":96,"hex_timestamp":"000001a0899fb7c8"} 
[2026-09-10 10:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":178938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":178938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":178938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987925248001,"66":27865,"163":206,"83":40960,"24":43,"16":403767165372596224,"44":-2837689946741626880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-10 10:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987925248001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:14:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 10:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403767165372596224,"km_value":403767165372596.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:14:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2837689946741626880,"description":"Unknown IO ID 44"} 
[2026-09-10 10:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987925248001,"power":27865,"unknown_163":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2837689946741626880}} 
[2026-09-10 10:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":178938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:14:27] local.INFO: GPS data processed {"connection_id":178938,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:14:27] local.INFO: Acknowledgment sent {"connection_id":178938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:14:56] local.INFO: TCP Data received {"connection_id":178937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:14:56] local.INFO: Processing buffer {"connection_id":178937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:14:56] local.INFO: Packet analysis {"connection_id":178937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:14:56] local.INFO: Extracted packet for processing {"connection_id":178937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:14:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:14:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":178937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:14:56] local.INFO: GPS data processed {"connection_id":178937,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:14:56] local.INFO: Acknowledgment sent {"connection_id":178937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:15:12] local.INFO: TCP Data received {"connection_id":178938,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a12ec8012cd6efc00736a310000e013a2f..."} 
[2026-09-10 10:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a12ec8012cd6efc00736a310000e013a2f..."} 
[2026-09-10 10:15:12] local.INFO: Processing buffer {"connection_id":178938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a12ec8012cd6efc00736a310000e013a2f..."} 
[2026-09-10 10:15:12] local.INFO: Packet analysis {"connection_id":178938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:12] local.INFO: Extracted packet for processing {"connection_id":178938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:12] local.INFO: GPS Element Parsed {"raw_longitude":752283584,"raw_latitude":121021200,"longitude_deg":75.2283584,"latitude_deg":12.10212,"altitude":14,"angle":314,"satellites":47,"speed":46,"hex_longitude":"2cd6efc0","hex_latitude":"0736a310","is_valid_coordinates":true} 
[2026-09-10 10:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987949824001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403772680110604288,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2951194731087206400,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789015437000,"timestamp_ms":1789015437000,"timestamp_seconds":1789015437,"priority":1,"record_length":96,"hex_timestamp":"000001a089a12ec8"} 
[2026-09-10 10:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:15: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-09-10 10:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:15: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-09-10 10:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987949824001,"66":27821,"165":206,"83":40960,"24":46,"16":403772680110604288,"44":-2951194731087206400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-10 10:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987949824001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:15:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 10:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403772680110604288,"km_value":403772680110604.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2951194731087206400,"description":"Unknown IO ID 44"} 
[2026-09-10 10:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987949824001,"power":27821,"unknown_165":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2951194731087206400}} 
[2026-09-10 10:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":178938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:15:12] local.INFO: GPS data processed {"connection_id":178938,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:15:12] local.INFO: Acknowledgment sent {"connection_id":178938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:15:17] local.INFO: TCP Data received {"connection_id":177556,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:15:17] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:15:17] local.INFO: IMEI packet received {"connection_id":177556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":177556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:15:19] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:15:19] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:15:19] local.INFO: IMEI packet received {"connection_id":176391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":176391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:15:22] local.INFO: TCP Data received {"connection_id":177556,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:15:22] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:15:22] local.INFO: IMEI packet received {"connection_id":177556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":177556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:15:23] local.INFO: TCP Data received {"connection_id":177556,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:15:23] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:15:23] local.INFO: Packet analysis {"connection_id":177556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:23] local.INFO: Extracted packet for processing {"connection_id":177556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:15:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:15:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":177556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:15:23] local.INFO: GPS data processed {"connection_id":177556,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:15:23] local.INFO: Acknowledgment sent {"connection_id":177556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:15:25] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:15:25] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:15:25] local.INFO: IMEI packet received {"connection_id":176391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":176391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:15:26] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a155d8012cd6d2400736c170000c013b2f..."} 
[2026-09-10 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a155d8012cd6d2400736c170000c013b2f..."} 
[2026-09-10 10:15:26] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a155d8012cd6d2400736c170000c013b2f..."} 
[2026-09-10 10:15:26] local.INFO: Packet analysis {"connection_id":176391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:26] local.INFO: Extracted packet for processing {"connection_id":176391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:26] local.INFO: GPS Element Parsed {"raw_longitude":752276032,"raw_latitude":121028976,"longitude_deg":75.2276032,"latitude_deg":12.1028976,"altitude":12,"angle":315,"satellites":47,"speed":38,"hex_longitude":"2cd6d240","hex_latitude":"0736c170","is_valid_coordinates":true} 
[2026-09-10 10:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987951872001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403773199801647104,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2958935292945166336,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789015447000,"timestamp_ms":1789015447000,"timestamp_seconds":1789015447,"priority":1,"record_length":96,"hex_timestamp":"000001a089a155d8"} 
[2026-09-10 10:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987951872001,"66":27843,"165":206,"83":40960,"24":38,"16":403773199801647104,"44":-2958935292945166336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-10 10:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987951872001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:15:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 10:15:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403773199801647104,"km_value":403773199801647.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2958935292945166336,"description":"Unknown IO ID 44"} 
[2026-09-10 10:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987951872001,"power":27843,"unknown_165":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2958935292945166336}} 
[2026-09-10 10:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":176391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:15:26] local.INFO: GPS data processed {"connection_id":176391,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:15:26] local.INFO: Acknowledgment sent {"connection_id":176391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:15:55] local.INFO: TCP Data received {"connection_id":177556,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:15:55] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:15:55] local.INFO: Packet analysis {"connection_id":177556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:55] local.INFO: Extracted packet for processing {"connection_id":177556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:15:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:15:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":177556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:15:55] local.INFO: GPS data processed {"connection_id":177556,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:15:55] local.INFO: Acknowledgment sent {"connection_id":177556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:15:57] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a184b8012cd6b6c00736d858000a013b2e..."} 
[2026-09-10 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a184b8012cd6b6c00736d858000a013b2e..."} 
[2026-09-10 10:15:57] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a184b8012cd6b6c00736d858000a013b2e..."} 
[2026-09-10 10:15:57] local.INFO: Packet analysis {"connection_id":176391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:57] local.INFO: Extracted packet for processing {"connection_id":176391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:15:57] local.INFO: GPS Element Parsed {"raw_longitude":752268992,"raw_latitude":121034840,"longitude_deg":75.2268992,"latitude_deg":12.103484,"altitude":10,"angle":315,"satellites":46,"speed":29,"hex_longitude":"2cd6b6c0","hex_latitude":"0736d858","is_valid_coordinates":true} 
[2026-09-10 10:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987954432001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403773637888311296,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2967238804756140032,"note":"Value kept but may cause issues"} 
[2026-09-10 10:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789015459000,"timestamp_ms":1789015459000,"timestamp_seconds":1789015459,"priority":1,"record_length":96,"hex_timestamp":"000001a089a184b8"} 
[2026-09-10 10:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987954432001,"66":27767,"165":206,"83":40960,"24":29,"16":403773637888311296,"44":-2967238804756140032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-10 10:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987954432001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:15:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 10:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403773637888311296,"km_value":403773637888311.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:15:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2967238804756140032,"description":"Unknown IO ID 44"} 
[2026-09-10 10:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987954432001,"power":27767,"unknown_165":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2967238804756140032}} 
[2026-09-10 10:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":176391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:15:57] local.INFO: GPS data processed {"connection_id":176391,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:15:57] local.INFO: Acknowledgment sent {"connection_id":176391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:16:17] local.INFO: TCP Data received {"connection_id":178939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:16:17] local.INFO: Processing buffer {"connection_id":178939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:16:17] local.INFO: IMEI packet received {"connection_id":178939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":178939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:16:19] local.INFO: TCP Data received {"connection_id":177557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:16:19] local.INFO: Processing buffer {"connection_id":177557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:16:19] local.INFO: IMEI packet received {"connection_id":177557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":177557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:16:23] local.INFO: TCP Data received {"connection_id":178939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:16:23] local.INFO: Processing buffer {"connection_id":178939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:16:23] local.INFO: IMEI packet received {"connection_id":178939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":178939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:16:25] local.INFO: TCP Data received {"connection_id":178939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:16:25] local.INFO: Processing buffer {"connection_id":178939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:16:25] local.INFO: Packet analysis {"connection_id":178939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:25] local.INFO: Extracted packet for processing {"connection_id":178939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:16:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:16:25] local.INFO: TCP Data received {"connection_id":177557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:16:25] local.INFO: Processing buffer {"connection_id":177557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:16:25] local.INFO: IMEI packet received {"connection_id":177557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":177557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":178939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:16:25] local.INFO: GPS data processed {"connection_id":178939,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:16:25] local.INFO: Acknowledgment sent {"connection_id":178939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:16:26] local.INFO: TCP Data received {"connection_id":177557,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1a7e0012cd6a2c00736e818000a012f30..."} 
[2026-09-10 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1a7e0012cd6a2c00736e818000a012f30..."} 
[2026-09-10 10:16:26] local.INFO: Processing buffer {"connection_id":177557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1a7e0012cd6a2c00736e818000a012f30..."} 
[2026-09-10 10:16:26] local.INFO: Packet analysis {"connection_id":177557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:26] local.INFO: Extracted packet for processing {"connection_id":177557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:26] local.INFO: GPS Element Parsed {"raw_longitude":752263872,"raw_latitude":121038872,"longitude_deg":75.2263872,"latitude_deg":12.1038872,"altitude":10,"angle":303,"satellites":48,"speed":28,"hex_longitude":"2cd6a2c0","hex_latitude":"0736e818","is_valid_coordinates":true} 
[2026-09-10 10:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987957504001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403773951420923904,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2974979366614181888,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789015468000,"timestamp_ms":1789015468000,"timestamp_seconds":1789015468,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1a7e0"} 
[2026-09-10 10:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987957504001,"66":27821,"165":206,"83":40960,"24":28,"16":403773951420923904,"44":-2974979366614181888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-10 10:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987957504001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:16:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 10:16:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 10:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403773951420923904,"km_value":403773951420923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:16:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2974979366614181888,"description":"Unknown IO ID 44"} 
[2026-09-10 10:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987957504001,"power":27821,"unknown_165":206,"unknown_83":40960,"ignition":28,"odometer":null,"unknown_44":-2974979366614181888}} 
[2026-09-10 10:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":177557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:16:26] local.INFO: GPS data processed {"connection_id":177557,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:16:26] local.INFO: Acknowledgment sent {"connection_id":177557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:16:56] local.INFO: TCP Data received {"connection_id":178939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:16:56] local.INFO: Processing buffer {"connection_id":178939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:16:56] local.INFO: Packet analysis {"connection_id":178939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:56] local.INFO: Extracted packet for processing {"connection_id":178939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:16:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:16:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":178939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:16:56] local.INFO: GPS data processed {"connection_id":178939,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:16:56] local.INFO: Acknowledgment sent {"connection_id":178939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:16:57] local.INFO: TCP Data received {"connection_id":177557,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1d2d8012cd681c00736fa30000b012831..."} 
[2026-09-10 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1d2d8012cd681c00736fa30000b012831..."} 
[2026-09-10 10:16:57] local.INFO: Processing buffer {"connection_id":177557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1d2d8012cd681c00736fa30000b012831..."} 
[2026-09-10 10:16:57] local.INFO: Packet analysis {"connection_id":177557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:57] local.INFO: Extracted packet for processing {"connection_id":177557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:16:57] local.INFO: GPS Element Parsed {"raw_longitude":752255424,"raw_latitude":121043504,"longitude_deg":75.2255424,"latitude_deg":12.1043504,"altitude":11,"angle":296,"satellites":49,"speed":40,"hex_longitude":"2cd681c0","hex_latitude":"0736fa30","is_valid_coordinates":true} 
[2026-09-10 10:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987959808001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403774410982424576,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2980608866147362816,"note":"Value kept but may cause issues"} 
[2026-09-10 10:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789015479000,"timestamp_ms":1789015479000,"timestamp_seconds":1789015479,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1d2d8"} 
[2026-09-10 10:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987959808001,"66":27843,"181":206,"83":43264,"24":40,"16":403774410982424576,"44":-2980608866147362816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-10 10:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987959808001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:16:57] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-10 10:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403774410982424576,"km_value":403774410982424.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:16:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2980608866147362816,"description":"Unknown IO ID 44"} 
[2026-09-10 10:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987959808001,"power":27843,"unknown_181":206,"unknown_83":43264,"ignition":40,"odometer":null,"unknown_44":-2980608866147362816}} 
[2026-09-10 10:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":177557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:16:57] local.INFO: GPS data processed {"connection_id":177557,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:16:57] local.INFO: Acknowledgment sent {"connection_id":177557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:17:17] local.INFO: TCP Data received {"connection_id":178940,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:17:17] local.INFO: Processing buffer {"connection_id":178940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:17:17] local.INFO: IMEI packet received {"connection_id":178940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":178940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:17:19] local.INFO: TCP Data received {"connection_id":177558,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:17:19] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:17:19] local.INFO: IMEI packet received {"connection_id":177558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":177558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:17:22] local.INFO: TCP Data received {"connection_id":178940,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:17:22] local.INFO: Processing buffer {"connection_id":178940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:17:22] local.INFO: IMEI packet received {"connection_id":178940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":178940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:17:23] local.INFO: TCP Data received {"connection_id":178940,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:17:23] local.INFO: Processing buffer {"connection_id":178940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:17:23] local.INFO: Packet analysis {"connection_id":178940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:17:23] local.INFO: Extracted packet for processing {"connection_id":178940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 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-09-10 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:17:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:17:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":178940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:17:23] local.INFO: GPS data processed {"connection_id":178940,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:17:23] local.INFO: Acknowledgment sent {"connection_id":178940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:17:25] local.INFO: TCP Data received {"connection_id":177558,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:17:25] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:17:25] local.INFO: IMEI packet received {"connection_id":177558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":177558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:17:26] local.INFO: TCP Data received {"connection_id":177558,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a36d00012cd5b3c00737d4580009011d30..."} 
[2026-09-10 10:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a36d00012cd5b3c00737d4580009011d30..."} 
[2026-09-10 10:17:26] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a36d00012cd5b3c00737d4580009011d30..."} 
[2026-09-10 10:17:26] local.INFO: Packet analysis {"connection_id":177558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:17:26] local.INFO: Extracted packet for processing {"connection_id":177558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":752202688,"raw_latitude":121099352,"longitude_deg":75.2202688,"latitude_deg":12.1099352,"altitude":9,"angle":285,"satellites":48,"speed":29,"hex_longitude":"2cd5b3c0","hex_latitude":"0737d458","is_valid_coordinates":true} 
[2026-09-10 10:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987988992001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403778151898939392,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3046403641938128896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789015584000,"timestamp_ms":1789015584000,"timestamp_seconds":1789015584,"priority":1,"record_length":96,"hex_timestamp":"000001a089a36d00"} 
[2026-09-10 10:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987988992001,"66":27800,"182":206,"83":43264,"24":29,"16":403778151898939392,"44":-3046403641938128896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-10 10:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987988992001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:17:26] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-10 10:17:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403778151898939392,"km_value":403778151898939.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3046403641938128896,"description":"Unknown IO ID 44"} 
[2026-09-10 10:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987988992001,"power":27800,"unknown_182":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3046403641938128896}} 
[2026-09-10 10:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":177558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:17:26] local.INFO: GPS data processed {"connection_id":177558,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:17:26] local.INFO: Acknowledgment sent {"connection_id":177558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:17:55] local.INFO: TCP Data received {"connection_id":178940,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:17:55] local.INFO: Processing buffer {"connection_id":178940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:17:55] local.INFO: Packet analysis {"connection_id":178940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:17:55] local.INFO: Extracted packet for processing {"connection_id":178940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:17:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:17:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":178940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:17:55] local.INFO: GPS data processed {"connection_id":178940,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:17:55] local.INFO: Acknowledgment sent {"connection_id":178940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:18:01] local.INFO: TCP Data received {"connection_id":177558,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a378b8012cd5aa400737d5a80009010e30..."} 
[2026-09-10 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a378b8012cd5aa400737d5a80009010e30..."} 
[2026-09-10 10:18:01] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a378b8012cd5aa400737d5a80009010e30..."} 
[2026-09-10 10:18:01] local.INFO: Packet analysis {"connection_id":177558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:18:01] local.INFO: Extracted packet for processing {"connection_id":177558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":752200256,"raw_latitude":121099688,"longitude_deg":75.2200256,"latitude_deg":12.1099688,"altitude":9,"angle":270,"satellites":48,"speed":34,"hex_longitude":"2cd5aa40","hex_latitude":"0737d5a8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987989504001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403778267863056384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3047881385565726720,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789015587000,"timestamp_ms":1789015587000,"timestamp_seconds":1789015587,"priority":1,"record_length":96,"hex_timestamp":"000001a089a378b8"} 
[2026-09-10 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-09-10 10: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-09-10 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:18: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-09-10 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-09-10 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-09-10 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:18: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-09-10 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987989504001,"66":27821,"182":206,"83":43264,"24":34,"16":403778267863056384,"44":-3047881385565726720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-10 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987989504001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403778267863056384,"km_value":403778267863056.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3047881385565726720,"description":"Unknown IO ID 44"} 
[2026-09-10 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987989504001,"power":27821,"unknown_182":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3047881385565726720}} 
[2026-09-10 10:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":177558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:18:01] local.INFO: GPS data processed {"connection_id":177558,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:18:01] local.INFO: Acknowledgment sent {"connection_id":177558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:18:17] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:18:17] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:18:17] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:18:23] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:18:23] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:18:23] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:18:24] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:18:24] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:18:24] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:18:24] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:18:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:18:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:18:24] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:18:24] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:18:26] local.INFO: TCP Data received {"connection_id":178941,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:18:26] local.INFO: Processing buffer {"connection_id":178941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:18:26] local.INFO: IMEI packet received {"connection_id":178941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":178941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:18:31] local.INFO: TCP Data received {"connection_id":178941,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:18:31] local.INFO: Processing buffer {"connection_id":178941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:18:31] local.INFO: IMEI packet received {"connection_id":178941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":178941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:18:34] local.INFO: TCP Data received {"connection_id":178941,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a38470012cd59f800737d480000a010231..."} 
[2026-09-10 10:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a38470012cd59f800737d480000a010231..."} 
[2026-09-10 10:18:34] local.INFO: Processing buffer {"connection_id":178941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a38470012cd59f800737d480000a010231..."} 
[2026-09-10 10:18:34] local.INFO: Packet analysis {"connection_id":178941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:18:34] local.INFO: Extracted packet for processing {"connection_id":178941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:18:34] local.INFO: GPS Element Parsed {"raw_longitude":752197504,"raw_latitude":121099392,"longitude_deg":75.2197504,"latitude_deg":12.1099392,"altitude":10,"angle":258,"satellites":49,"speed":35,"hex_longitude":"2cd59f80","hex_latitude":"0737d480","is_valid_coordinates":true} 
[2026-09-10 10:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987990272001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403778401007042560,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3050555397844391936,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789015590000,"timestamp_ms":1789015590000,"timestamp_seconds":1789015590,"priority":1,"record_length":96,"hex_timestamp":"000001a089a38470"} 
[2026-09-10 10:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:18: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-09-10 10: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":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:18: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-09-10 10:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:18: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-09-10 10:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987990272001,"66":27800,"182":206,"83":43264,"24":35,"16":403778401007042560,"44":-3050555397844391936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-10 10:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987990272001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:18:34] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-10 10:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403778401007042560,"km_value":403778401007042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3050555397844391936,"description":"Unknown IO ID 44"} 
[2026-09-10 10:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987990272001,"power":27800,"unknown_182":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3050555397844391936}} 
[2026-09-10 10:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":178941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:18:34] local.INFO: GPS data processed {"connection_id":178941,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:18:34] local.INFO: Acknowledgment sent {"connection_id":178941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:18:36] local.INFO: TCP Data received {"connection_id":178941,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089a3ab80012cd57d000737cc70000c00fe2c..."} 
[2026-09-10 10:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a3ab80012cd57d000737cc70000c00fe2c..."} 
[2026-09-10 10:18:36] local.INFO: Processing buffer {"connection_id":178941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a3ab80012cd57d000737cc70000c00fe2c..."} 
[2026-09-10 10:18:36] local.INFO: Packet analysis {"connection_id":178941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:18:36] local.INFO: Extracted packet for processing {"connection_id":178941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:18:36] local.INFO: GPS Element Parsed {"raw_longitude":752188672,"raw_latitude":121097328,"longitude_deg":75.2188672,"latitude_deg":12.1097328,"altitude":12,"angle":254,"satellites":44,"speed":36,"hex_longitude":"2cd57d00","hex_latitude":"0737cc70","is_valid_coordinates":true} 
[2026-09-10 10:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987991040001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403778830503772160,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053581253844107264,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789015600000,"timestamp_ms":1789015600000,"timestamp_seconds":1789015600,"priority":1,"record_length":96,"hex_timestamp":"000001a089a3ab80"} 
[2026-09-10 10:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:18: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-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:18: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-09-10 10:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987991040001,"66":27843,"182":206,"83":43264,"24":36,"16":403778830503772160,"44":-3053581253844107264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-10 10:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987991040001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403778830503772160,"km_value":403778830503772.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053581253844107264,"description":"Unknown IO ID 44"} 
[2026-09-10 10:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987991040001,"power":27843,"unknown_182":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3053581253844107264}} 
[2026-09-10 10:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":178941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:18:36] local.INFO: GPS data processed {"connection_id":178941,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:18:36] local.INFO: Acknowledgment sent {"connection_id":178941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:18:55] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:18:55] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:18:55] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:18:55] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 10:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:18:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:18:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:18:55] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:18:55] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:19:17] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:19:17] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:19:17] local.INFO: IMEI packet received {"connection_id":176148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":176148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:19:20] local.INFO: TCP Data received {"connection_id":178942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:19:20] local.INFO: Processing buffer {"connection_id":178942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:19:20] local.INFO: IMEI packet received {"connection_id":178942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":178942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:19:22] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:19:22] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:19:22] local.INFO: IMEI packet received {"connection_id":176148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":176148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:19:23] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:19:23] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a1daa8012d7d358005ec0c98000000b91d..."} 
[2026-09-10 10:19:23] local.INFO: Packet analysis {"connection_id":176148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:19:23] local.INFO: Extracted packet for processing {"connection_id":176148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a1"} 
[2026-09-10 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987885312001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453382144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015481000,"timestamp_ms":1789015481000,"timestamp_seconds":1789015481,"priority":1,"record_length":96,"hex_timestamp":"000001a089a1daa8"} 
[2026-09-10 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-09-10 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 10:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987885312001,"66":2470,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9021976716453382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987885312001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:19:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:19:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453382144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987885312001,"power":2470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453382144}} 
[2026-09-10 10:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":176148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:19:24] local.INFO: GPS data processed {"connection_id":176148,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:19:24] local.INFO: Acknowledgment sent {"connection_id":176148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:19:25] local.INFO: TCP Data received {"connection_id":178942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:19:25] local.INFO: Processing buffer {"connection_id":178942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:19:25] local.INFO: IMEI packet received {"connection_id":178942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":178942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:19:26] local.INFO: TCP Data received {"connection_id":178942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a089a3ea00012cd558c00737c390000d01002e..."} 
[2026-09-10 10:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a3ea00012cd558c00737c390000d01002e..."} 
[2026-09-10 10:19:26] local.INFO: Processing buffer {"connection_id":178942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a3ea00012cd558c00737c390000d01002e..."} 
[2026-09-10 10:19:26] local.INFO: Packet analysis {"connection_id":178942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:19:26] local.INFO: Extracted packet for processing {"connection_id":178942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a3"} 
[2026-09-10 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":752179392,"raw_latitude":121095056,"longitude_deg":75.2179392,"latitude_deg":12.1095056,"altitude":13,"angle":256,"satellites":46,"speed":20,"hex_longitude":"2cd558c0","hex_latitude":"0737c390","is_valid_coordinates":true} 
[2026-09-10 10:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987993600001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403779281475338240,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3063292140541153280,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789015616000,"timestamp_ms":1789015616000,"timestamp_seconds":1789015616,"priority":1,"record_length":96,"hex_timestamp":"000001a089a3ea00"} 
[2026-09-10 10:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987993600001,"66":27995,"18":206,"83":43264,"24":20,"16":403779281475338240,"44":-3063292140541153280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987993600001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:19:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:19:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403779281475338240,"km_value":403779281475338.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3063292140541153280,"description":"Unknown IO ID 44"} 
[2026-09-10 10:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987993600001,"power":27995,"unknown_18":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3063292140541153280}} 
[2026-09-10 10:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":178942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:19:26] local.INFO: GPS data processed {"connection_id":178942,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:19:26] local.INFO: Acknowledgment sent {"connection_id":178942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:19:55] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:19:55] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:19:55] local.INFO: Packet analysis {"connection_id":176148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:19:55] local.INFO: Extracted packet for processing {"connection_id":176148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:19:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:19:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":176148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:19:55] local.INFO: GPS data processed {"connection_id":176148,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:19:55] local.INFO: Acknowledgment sent {"connection_id":176148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:19:59] local.INFO: TCP Data received {"connection_id":178942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a089a41cc8012cd535400737b6c8000b00f92b..."} 
[2026-09-10 10:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a41cc8012cd535400737b6c8000b00f92b..."} 
[2026-09-10 10:19:59] local.INFO: Processing buffer {"connection_id":178942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a41cc8012cd535400737b6c8000b00f92b..."} 
[2026-09-10 10:19:59] local.INFO: Packet analysis {"connection_id":178942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:19:59] local.INFO: Extracted packet for processing {"connection_id":178942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:19:59] local.INFO: GPS Element Parsed {"raw_longitude":752170304,"raw_latitude":121091784,"longitude_deg":75.2170304,"latitude_deg":12.1091784,"altitude":11,"angle":249,"satellites":43,"speed":36,"hex_longitude":"2cd53540","hex_latitude":"0737b6c8","is_valid_coordinates":true} 
[2026-09-10 10:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987997696001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403779741036838912,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073495608447496192,"note":"Value kept but may cause issues"} 
[2026-09-10 10:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789015629000,"timestamp_ms":1789015629000,"timestamp_seconds":1789015629,"priority":1,"record_length":96,"hex_timestamp":"000001a089a41cc8"} 
[2026-09-10 10:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 10:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987997696001,"66":27876,"18":206,"83":43264,"24":36,"16":403779741036838912,"44":-3073495608447496192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987997696001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:19:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403779741036838912,"km_value":403779741036838.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073495608447496192,"description":"Unknown IO ID 44"} 
[2026-09-10 10:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987997696001,"power":27876,"unknown_18":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3073495608447496192}} 
[2026-09-10 10:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":178942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:19:59] local.INFO: GPS data processed {"connection_id":178942,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:19:59] local.INFO: Acknowledgment sent {"connection_id":178942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:20:17] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:20:17] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:20:17] local.INFO: IMEI packet received {"connection_id":176393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":176393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:20:19] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:20:19] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:20:19] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:20:22] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:20:22] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:20:22] local.INFO: IMEI packet received {"connection_id":176393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":176393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:20:23] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:20:23] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:20:23] local.INFO: Packet analysis {"connection_id":176393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:20:23] local.INFO: Extracted packet for processing {"connection_id":176393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:20:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:20:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":176393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:20:24] local.INFO: GPS data processed {"connection_id":176393,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:20:24] local.INFO: Acknowledgment sent {"connection_id":176393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:20:25] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:20:25] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:20:25] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:20:27] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a447c0012cd512400737a9e0000c00fc2e..."} 
[2026-09-10 10:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a447c0012cd512400737a9e0000c00fc2e..."} 
[2026-09-10 10:20:27] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a447c0012cd512400737a9e0000c00fc2e..."} 
[2026-09-10 10:20:27] local.INFO: Packet analysis {"connection_id":176394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:20:27] local.INFO: Extracted packet for processing {"connection_id":176394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":752161344,"raw_latitude":121088480,"longitude_deg":75.2161344,"latitude_deg":12.108848,"altitude":12,"angle":252,"satellites":46,"speed":31,"hex_longitude":"2cd51240","hex_latitude":"0737a9e0","is_valid_coordinates":true} 
[2026-09-10 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988001024001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403780196303372288,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3083487970121562112,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789015640000,"timestamp_ms":1789015640000,"timestamp_seconds":1789015640,"priority":1,"record_length":96,"hex_timestamp":"000001a089a447c0"} 
[2026-09-10 10:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988001024001,"66":27821,"18":206,"83":43264,"24":31,"16":403780196303372288,"44":-3083487970121562112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988001024001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:20:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403780196303372288,"km_value":403780196303372.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:20:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3083487970121562112,"description":"Unknown IO ID 44"} 
[2026-09-10 10:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988001024001,"power":27821,"unknown_18":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3083487970121562112}} 
[2026-09-10 10:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":176394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:20:27] local.INFO: GPS data processed {"connection_id":176394,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:20:27] local.INFO: Acknowledgment sent {"connection_id":176394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:20:56] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:20:56] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:20:56] local.INFO: Packet analysis {"connection_id":176393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:20:56] local.INFO: Extracted packet for processing {"connection_id":176393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:20:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:20:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":176393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:20:56] local.INFO: GPS data processed {"connection_id":176393,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:20:56] local.INFO: Acknowledgment sent {"connection_id":176393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:21:00] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a476a0012cd4f58007379db8000c00ee31..."} 
[2026-09-10 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a476a0012cd4f58007379db8000c00ee31..."} 
[2026-09-10 10:21:00] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a476a0012cd4f58007379db8000c00ee31..."} 
[2026-09-10 10:21:00] local.INFO: Packet analysis {"connection_id":176394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:21:00] local.INFO: Extracted packet for processing {"connection_id":176394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:21:00] local.INFO: GPS Element Parsed {"raw_longitude":752153984,"raw_latitude":121085368,"longitude_deg":75.2153984,"latitude_deg":12.1085368,"altitude":12,"angle":238,"satellites":49,"speed":16,"hex_longitude":"2cd4f580","hex_latitude":"07379db8","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988003840001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403780578555461632,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3093339594307280896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789015652000,"timestamp_ms":1789015652000,"timestamp_seconds":1789015652,"priority":1,"record_length":96,"hex_timestamp":"000001a089a476a0"} 
[2026-09-10 10:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:21: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-09-10 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:21: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-09-10 10:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988003840001,"66":27593,"18":206,"83":43264,"24":16,"16":403780578555461632,"44":-3093339594307280896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988003840001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:21:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403780578555461632,"km_value":403780578555461.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3093339594307280896,"description":"Unknown IO ID 44"} 
[2026-09-10 10:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988003840001,"power":27593,"unknown_18":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3093339594307280896}} 
[2026-09-10 10:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":176394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:21:00] local.INFO: GPS data processed {"connection_id":176394,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:21:00] local.INFO: Acknowledgment sent {"connection_id":176394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:21:18] local.INFO: TCP Data received {"connection_id":178943,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:21:18] local.INFO: Processing buffer {"connection_id":178943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:21:18] local.INFO: IMEI packet received {"connection_id":178943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":178943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:21:23] local.INFO: TCP Data received {"connection_id":178943,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:21:23] local.INFO: Processing buffer {"connection_id":178943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:21:23] local.INFO: IMEI packet received {"connection_id":178943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":178943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:21:24] local.INFO: TCP Data received {"connection_id":178943,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:21:24] local.INFO: Processing buffer {"connection_id":178943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:21:24] local.INFO: Packet analysis {"connection_id":178943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:21:24] local.INFO: Extracted packet for processing {"connection_id":178943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:21:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:21:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":178943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:21:24] local.INFO: GPS data processed {"connection_id":178943,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:21:24] local.INFO: Acknowledgment sent {"connection_id":178943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:21:26] local.INFO: TCP Data received {"connection_id":178944,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:21:26] local.INFO: Processing buffer {"connection_id":178944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:21:26] local.INFO: IMEI packet received {"connection_id":178944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":178944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:21:31] local.INFO: TCP Data received {"connection_id":178944,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:21:31] local.INFO: Processing buffer {"connection_id":178944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:21:31] local.INFO: IMEI packet received {"connection_id":178944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":178944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:21:35] local.INFO: TCP Data received {"connection_id":178944,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a48640012cd4f00007379ae0000c00fa30..."} 
[2026-09-10 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a48640012cd4f00007379ae0000c00fa30..."} 
[2026-09-10 10:21:35] local.INFO: Processing buffer {"connection_id":178944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a48640012cd4f00007379ae0000c00fa30..."} 
[2026-09-10 10:21:35] local.INFO: Packet analysis {"connection_id":178944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:21:35] local.INFO: Extracted packet for processing {"connection_id":178944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":752152576,"raw_latitude":121084640,"longitude_deg":75.2152576,"latitude_deg":12.108464,"altitude":12,"angle":250,"satellites":48,"speed":17,"hex_longitude":"2cd4f000","hex_latitude":"07379ae0","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988006912001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403780655864872960,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3101431999888508928,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789015656000,"timestamp_ms":1789015656000,"timestamp_seconds":1789015656,"priority":1,"record_length":96,"hex_timestamp":"000001a089a48640"} 
[2026-09-10 10:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 10:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:21: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-09-10 10:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988006912001,"66":27800,"18":206,"83":43264,"24":17,"16":403780655864872960,"44":-3101431999888508928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988006912001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:21:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403780655864872960,"km_value":403780655864872.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:21:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3101431999888508928,"description":"Unknown IO ID 44"} 
[2026-09-10 10:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988006912001,"power":27800,"unknown_18":206,"unknown_83":43264,"ignition":17,"odometer":null,"unknown_44":-3101431999888508928}} 
[2026-09-10 10:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":178944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:21:35] local.INFO: GPS data processed {"connection_id":178944,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:21:35] local.INFO: Acknowledgment sent {"connection_id":178944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:21:40] local.INFO: TCP Data received {"connection_id":178944,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a4c4c0012cd4cfc007378c40000d00f32c..."} 
[2026-09-10 10:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a4c4c0012cd4cfc007378c40000d00f32c..."} 
[2026-09-10 10:21:40] local.INFO: Processing buffer {"connection_id":178944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a4c4c0012cd4cfc007378c40000d00f32c..."} 
[2026-09-10 10:21:40] local.INFO: Packet analysis {"connection_id":178944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:21:40] local.INFO: Extracted packet for processing {"connection_id":178944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a4"} 
[2026-09-10 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":752144320,"raw_latitude":121080896,"longitude_deg":75.214432,"latitude_deg":12.1080896,"altitude":13,"angle":243,"satellites":44,"speed":27,"hex_longitude":"2cd4cfc0","hex_latitude":"07378c40","is_valid_coordinates":true} 
[2026-09-10 10:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988007936001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781085361602560,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3102980112260603904,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789015672000,"timestamp_ms":1789015672000,"timestamp_seconds":1789015672,"priority":1,"record_length":96,"hex_timestamp":"000001a089a4c4c0"} 
[2026-09-10 10:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:21: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-09-10 10:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:21: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-09-10 10:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988007936001,"66":28006,"18":206,"83":43264,"24":27,"16":403781085361602560,"44":-3102980112260603904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988007936001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781085361602560,"km_value":403781085361602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3102980112260603904,"description":"Unknown IO ID 44"} 
[2026-09-10 10:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988007936001,"power":28006,"unknown_18":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3102980112260603904}} 
[2026-09-10 10:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":178944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:21:40] local.INFO: GPS data processed {"connection_id":178944,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:21:40] local.INFO: Acknowledgment sent {"connection_id":178944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:21:55] local.INFO: TCP Data received {"connection_id":178943,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:21:55] local.INFO: Processing buffer {"connection_id":178943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:21:55] local.INFO: Packet analysis {"connection_id":178943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:21:55] local.INFO: Extracted packet for processing {"connection_id":178943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:21:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:21:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":178943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:21:56] local.INFO: GPS data processed {"connection_id":178943,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:21:56] local.INFO: Acknowledgment sent {"connection_id":178943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:22:18] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:22:18] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:22:18] local.INFO: IMEI packet received {"connection_id":176149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":176149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:22:20] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:22:20] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:22:20] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:22:22] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:22:22] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:22:22] local.INFO: IMEI packet received {"connection_id":176149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":176149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:22:23] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:22:23] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:22:23] local.INFO: Packet analysis {"connection_id":176149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:22:23] local.INFO: Extracted packet for processing {"connection_id":176149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:22: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:22:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:22:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":176149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:22:23] local.INFO: GPS data processed {"connection_id":176149,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:22:23] local.INFO: Acknowledgment sent {"connection_id":176149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:22:24] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:22:24] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:22:24] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:22:28] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a516c8012cd4b28007377d28000f00f52a..."} 
[2026-09-10 10:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a516c8012cd4b28007377d28000f00f52a..."} 
[2026-09-10 10:22:28] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a516c8012cd4b28007377d28000f00f52a..."} 
[2026-09-10 10:22:28] local.INFO: Packet analysis {"connection_id":176150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:22:28] local.INFO: Extracted packet for processing {"connection_id":176150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:22:28] local.INFO: GPS Element Parsed {"raw_longitude":752136832,"raw_latitude":121077032,"longitude_deg":75.2136832,"latitude_deg":12.1077032,"altitude":15,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2cd4b280","hex_latitude":"07377d28","is_valid_coordinates":true} 
[2026-09-10 10:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988012032001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781484793561088,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3112057680260481024,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789015693000,"timestamp_ms":1789015693000,"timestamp_seconds":1789015693,"priority":1,"record_length":96,"hex_timestamp":"000001a089a516c8"} 
[2026-09-10 10:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 10:22:28] 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-09-10 10:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988012032001,"66":27865,"18":206,"83":43264,"24":0,"16":403781484793561088,"44":-3112057680260481024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988012032001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781484793561088,"km_value":403781484793561.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:22:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3112057680260481024,"description":"Unknown IO ID 44"} 
[2026-09-10 10:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988012032001,"power":27865,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3112057680260481024}} 
[2026-09-10 10:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":176150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:22:28] local.INFO: GPS data processed {"connection_id":176150,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:22:28] local.INFO: Acknowledgment sent {"connection_id":176150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:22:55] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:22:55] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:22:55] local.INFO: Packet analysis {"connection_id":176149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:22:55] local.INFO: Extracted packet for processing {"connection_id":176149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:22:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:22:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":176149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:22:55] local.INFO: GPS data processed {"connection_id":176149,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:22:55] local.INFO: Acknowledgment sent {"connection_id":176149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:23:01] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:23:01] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:23:01] local.INFO: Packet analysis {"connection_id":176150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:23:01] local.INFO: Extracted packet for processing {"connection_id":176150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:23:01] local.INFO: GPS Element Parsed {"raw_longitude":752136832,"raw_latitude":121076992,"longitude_deg":75.2136832,"latitude_deg":12.1076992,"altitude":15,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2cd4b280","hex_latitude":"07377d00","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988017408001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781489088528384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120290823330256896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789015698000,"timestamp_ms":1789015698000,"timestamp_seconds":1789015698,"priority":1,"record_length":96,"hex_timestamp":"000001a089a52a50"} 
[2026-09-10 10:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:23: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-09-10 10: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-09-10 10:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10: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-09-10 10:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988017408001,"66":27832,"18":206,"83":43264,"24":0,"16":403781489088528384,"44":-3120290823330256896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988017408001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781489088528384,"km_value":403781489088528.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120290823330256896,"description":"Unknown IO ID 44"} 
[2026-09-10 10:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988017408001,"power":27832,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120290823330256896}} 
[2026-09-10 10:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":176150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:23:01] local.INFO: GPS data processed {"connection_id":176150,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:23:01] local.INFO: Acknowledgment sent {"connection_id":176150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:23:17] local.INFO: TCP Data received {"connection_id":178945,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:23:17] local.INFO: Processing buffer {"connection_id":178945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:23:17] local.INFO: IMEI packet received {"connection_id":178945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 10:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":178945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:23:20] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:23:20] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:23:20] local.INFO: IMEI packet received {"connection_id":176395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":176395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:23:22] local.INFO: TCP Data received {"connection_id":178945,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:23:22] local.INFO: Processing buffer {"connection_id":178945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 10:23:22] local.INFO: IMEI packet received {"connection_id":178945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 10:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":178945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:23:24] local.INFO: TCP Data received {"connection_id":178945,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:23:24] local.INFO: Processing buffer {"connection_id":178945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:23:24] local.INFO: Packet analysis {"connection_id":178945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:23:24] local.INFO: Extracted packet for processing {"connection_id":178945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:23:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:23:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":178945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:23:24] local.INFO: GPS data processed {"connection_id":178945,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:23:24] local.INFO: Acknowledgment sent {"connection_id":178945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:23:25] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:23:25] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:23:25] local.INFO: IMEI packet received {"connection_id":176395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":176395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:23:27] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:23:27] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:23:27] local.INFO: Packet analysis {"connection_id":176395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:23:27] local.INFO: Extracted packet for processing {"connection_id":176395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":752136832,"raw_latitude":121076992,"longitude_deg":75.2136832,"latitude_deg":12.1076992,"altitude":15,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2cd4b280","hex_latitude":"07377d00","is_valid_coordinates":true} 
[2026-09-10 10:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988017408001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781489088528384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120290823330256896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789015698000,"timestamp_ms":1789015698000,"timestamp_seconds":1789015698,"priority":1,"record_length":96,"hex_timestamp":"000001a089a52a50"} 
[2026-09-10 10:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988017408001,"66":27832,"18":206,"83":43264,"24":0,"16":403781489088528384,"44":-3120290823330256896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988017408001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:23:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:23:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781489088528384,"km_value":403781489088528.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:23:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120290823330256896,"description":"Unknown IO ID 44"} 
[2026-09-10 10:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988017408001,"power":27832,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120290823330256896}} 
[2026-09-10 10:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":176395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:23:27] local.INFO: GPS data processed {"connection_id":176395,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:23:27] local.INFO: Acknowledgment sent {"connection_id":176395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:23:56] local.INFO: TCP Data received {"connection_id":178945,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:23:56] local.INFO: Processing buffer {"connection_id":178945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a67270012d7d358005ec0c98000000b921..."} 
[2026-09-10 10:23:56] local.INFO: Packet analysis {"connection_id":178945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:23:56] local.INFO: Extracted packet for processing {"connection_id":178945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a6"} 
[2026-09-10 10:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99355800,"longitude_deg":76.3180416,"latitude_deg":9.93558,"altitude":0,"angle":185,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec0c98","is_valid_coordinates":true} 
[2026-09-10 10:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457987963136001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430096896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789015782000,"timestamp_ms":1789015782000,"timestamp_seconds":1789015782,"priority":1,"record_length":96,"hex_timestamp":"000001a089a67270"} 
[2026-09-10 10:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 10:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 10:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 10:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 10:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 10:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457987963136001,"66":2253,"109":206,"87":13824,"24":0,"16":130710079748964352,"45":9022258191430096896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-10 10:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 10:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 10:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457987963136001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:23:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 10:23:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 10:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430096896,"description":"Unknown IO ID 45"} 
[2026-09-10 10:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457987963136001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430096896}} 
[2026-09-10 10:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":178945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:23:56] local.INFO: GPS data processed {"connection_id":178945,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:23:56] local.INFO: Acknowledgment sent {"connection_id":178945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:24:00] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:24:00] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a52a50012cd4b28007377d00000f00f52d..."} 
[2026-09-10 10:24:00] local.INFO: Packet analysis {"connection_id":176395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:24:00] local.INFO: Extracted packet for processing {"connection_id":176395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a5"} 
[2026-09-10 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":752136832,"raw_latitude":121076992,"longitude_deg":75.2136832,"latitude_deg":12.1076992,"altitude":15,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2cd4b280","hex_latitude":"07377d00","is_valid_coordinates":true} 
[2026-09-10 10:24: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-09-10 10:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988017408001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781489088528384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120290823330256896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789015698000,"timestamp_ms":1789015698000,"timestamp_seconds":1789015698,"priority":1,"record_length":96,"hex_timestamp":"000001a089a52a50"} 
[2026-09-10 10:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:24: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-09-10 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:24: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-09-10 10: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-09-10 10:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:24: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-09-10 10:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988017408001,"66":27832,"18":206,"83":43264,"24":0,"16":403781489088528384,"44":-3120290823330256896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988017408001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781489088528384,"km_value":403781489088528.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120290823330256896,"description":"Unknown IO ID 44"} 
[2026-09-10 10:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988017408001,"power":27832,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120290823330256896}} 
[2026-09-10 10:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":176395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:24:00] local.INFO: GPS data processed {"connection_id":176395,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:24:00] local.INFO: Acknowledgment sent {"connection_id":176395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:24:19] local.INFO: TCP Data received {"connection_id":177559,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:24:19] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:24:19] local.INFO: IMEI packet received {"connection_id":177559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":177559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:24:25] local.INFO: TCP Data received {"connection_id":177559,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:24:25] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:24:25] local.INFO: IMEI packet received {"connection_id":177559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":177559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:24:28] local.INFO: TCP Data received {"connection_id":177559,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089a9cdd0012cd4afc007377aa0000e00f531..."} 
[2026-09-10 10:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089a9cdd0012cd4afc007377aa0000e00f531..."} 
[2026-09-10 10:24:28] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089a9cdd0012cd4afc007377aa0000e00f531..."} 
[2026-09-10 10:24:28] local.INFO: Packet analysis {"connection_id":177559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089a9"} 
[2026-09-10 10:24:28] local.INFO: Extracted packet for processing {"connection_id":177559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089a9"} 
[2026-09-10 10:24:28] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076384,"longitude_deg":75.2136128,"latitude_deg":12.1076384,"altitude":14,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377aa0","is_valid_coordinates":true} 
[2026-09-10 10:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988018688001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781489088528384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120290823330267136,"note":"Value kept but may cause issues"} 
[2026-09-10 10:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789016002000,"timestamp_ms":1789016002000,"timestamp_seconds":1789016002,"priority":1,"record_length":96,"hex_timestamp":"000001a089a9cdd0"} 
[2026-09-10 10:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:24: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-09-10 10:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 10:24:28] 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-09-10 10:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988018688001,"66":26408,"18":206,"83":43264,"24":0,"16":403781489088528384,"44":-3120290823330267136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988018688001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:24:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781489088528384,"km_value":403781489088528.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120290823330267136,"description":"Unknown IO ID 44"} 
[2026-09-10 10:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988018688001,"power":26408,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120290823330267136}} 
[2026-09-10 10:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":177559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:24:28] local.INFO: GPS data processed {"connection_id":177559,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:24:28] local.INFO: Acknowledgment sent {"connection_id":177559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:25:00] local.INFO: TCP Data received {"connection_id":177559,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089aa98f0012cd4afc007377aa0000e00f530..."} 
[2026-09-10 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089aa98f0012cd4afc007377aa0000e00f530..."} 
[2026-09-10 10:25:00] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089aa98f0012cd4afc007377aa0000e00f530..."} 
[2026-09-10 10:25:00] local.INFO: Packet analysis {"connection_id":177559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089aa"} 
[2026-09-10 10:25:00] local.INFO: Extracted packet for processing {"connection_id":177559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089aa"} 
[2026-09-10 10:25:00] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076384,"longitude_deg":75.2136128,"latitude_deg":12.1076384,"altitude":14,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377aa0","is_valid_coordinates":true} 
[2026-09-10 10:25: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-09-10 10:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988096512001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781489088528384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516377088,"note":"Value kept but may cause issues"} 
[2026-09-10 10:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789016054000,"timestamp_ms":1789016054000,"timestamp_seconds":1789016054,"priority":1,"record_length":96,"hex_timestamp":"000001a089aa98f0"} 
[2026-09-10 10:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:25: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-09-10 10: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-10 10:25:00] 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-09-10 10: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-09-10 10:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988096512001,"66":26539,"18":206,"83":43264,"24":0,"16":403781489088528384,"44":-3121064879516377088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988096512001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:25:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781489088528384,"km_value":403781489088528.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516377088,"description":"Unknown IO ID 44"} 
[2026-09-10 10:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988096512001,"power":26539,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516377088}} 
[2026-09-10 10:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":177559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:25:00] local.INFO: GPS data processed {"connection_id":177559,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:25:00] local.INFO: Acknowledgment sent {"connection_id":177559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:25:25] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:25:25] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:25:25] local.INFO: IMEI packet received {"connection_id":176396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":176396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:25:30] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:25:30] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:25:30] local.INFO: IMEI packet received {"connection_id":176396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":176396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:25:32] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089aaf2c8012cd4ad4007377988000e00f52f..."} 
[2026-09-10 10:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089aaf2c8012cd4ad4007377988000e00f52f..."} 
[2026-09-10 10:25:32] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089aaf2c8012cd4ad4007377988000e00f52f..."} 
[2026-09-10 10:25:32] local.INFO: Packet analysis {"connection_id":176396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089aa"} 
[2026-09-10 10:25:32] local.INFO: Extracted packet for processing {"connection_id":176396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089aa"} 
[2026-09-10 10:25:32] local.INFO: GPS Element Parsed {"raw_longitude":752135488,"raw_latitude":121076104,"longitude_deg":75.2135488,"latitude_deg":12.1076104,"altitude":14,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2cd4ad40","hex_latitude":"07377988","is_valid_coordinates":true} 
[2026-09-10 10:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988109824001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781489088528384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:25:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516377088,"note":"Value kept but may cause issues"} 
[2026-09-10 10:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789016077000,"timestamp_ms":1789016077000,"timestamp_seconds":1789016077,"priority":1,"record_length":96,"hex_timestamp":"000001a089aaf2c8"} 
[2026-09-10 10:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 10:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:25: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-09-10 10:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988109824001,"66":27550,"18":206,"83":43264,"24":0,"16":403781489088528384,"44":-3121064879516377088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988109824001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:25:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781489088528384,"km_value":403781489088528.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:25:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516377088,"description":"Unknown IO ID 44"} 
[2026-09-10 10:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988109824001,"power":27550,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516377088}} 
[2026-09-10 10:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":176396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:25:32] local.INFO: GPS data processed {"connection_id":176396,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:25:32] local.INFO: Acknowledgment sent {"connection_id":176396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:25:59] local.INFO: TCP Data received {"connection_id":177560,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:25:59] local.INFO: Processing buffer {"connection_id":177560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:25:59] local.INFO: IMEI packet received {"connection_id":177560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":177560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:26:04] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ab44d0012cd4ad4007377988000e00f52e..."} 
[2026-09-10 10:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ab44d0012cd4ad4007377988000e00f52e..."} 
[2026-09-10 10:26:04] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ab44d0012cd4ad4007377988000e00f52e..."} 
[2026-09-10 10:26:04] local.INFO: Packet analysis {"connection_id":176396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:26:04] local.INFO: Extracted packet for processing {"connection_id":176396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:26:04] local.INFO: GPS Element Parsed {"raw_longitude":752135488,"raw_latitude":121076104,"longitude_deg":75.2135488,"latitude_deg":12.1076104,"altitude":14,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2cd4ad40","hex_latitude":"07377988","is_valid_coordinates":true} 
[2026-09-10 10:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988115712001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781489088528384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121768566958225408,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789016098000,"timestamp_ms":1789016098000,"timestamp_seconds":1789016098,"priority":1,"record_length":96,"hex_timestamp":"000001a089ab44d0"} 
[2026-09-10 10:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 10:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988115712001,"66":27767,"18":206,"83":43264,"24":0,"16":403781489088528384,"44":-3121768566958225408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988115712001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:26:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781489088528384,"km_value":403781489088528.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121768566958225408,"description":"Unknown IO ID 44"} 
[2026-09-10 10:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988115712001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121768566958225408}} 
[2026-09-10 10:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":176396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:26:04] local.INFO: GPS data processed {"connection_id":176396,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:26:04] local.INFO: Acknowledgment sent {"connection_id":176396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:26:20] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:26:20] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:26:20] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:26:24] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:26:24] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:26:24] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:26:27] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ab7b80012cd4acc0073779d8000b003525..."} 
[2026-09-10 10:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ab7b80012cd4acc0073779d8000b003525..."} 
[2026-09-10 10:26:27] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ab7b80012cd4acc0073779d8000b003525..."} 
[2026-09-10 10:26:27] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:26:27] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":752135360,"raw_latitude":121076184,"longitude_deg":75.213536,"latitude_deg":12.1076184,"altitude":11,"angle":53,"satellites":37,"speed":1,"hex_longitude":"2cd4acc0","hex_latitude":"073779d8","is_valid_coordinates":true} 
[2026-09-10 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988121088001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781493383495680,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121768566958225408,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789016112000,"timestamp_ms":1789016112000,"timestamp_seconds":1789016112,"priority":1,"record_length":96,"hex_timestamp":"000001a089ab7b80"} 
[2026-09-10 10:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988121088001,"66":27691,"18":206,"83":43264,"24":1,"16":403781493383495680,"44":-3121768566958225408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988121088001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:26:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781493383495680,"km_value":403781493383495.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121768566958225408,"description":"Unknown IO ID 44"} 
[2026-09-10 10:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988121088001,"power":27691,"unknown_18":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3121768566958225408}} 
[2026-09-10 10:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:26:27] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:26:27] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:26:59] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ab9ea8012cd4acc007377a40000c01152c..."} 
[2026-09-10 10:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ab9ea8012cd4acc007377a40000c01152c..."} 
[2026-09-10 10:26:59] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ab9ea8012cd4acc007377a40000c01152c..."} 
[2026-09-10 10:26:59] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:26:59] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:26:59] local.INFO: GPS Element Parsed {"raw_longitude":752135360,"raw_latitude":121076288,"longitude_deg":75.213536,"latitude_deg":12.1076288,"altitude":12,"angle":277,"satellites":44,"speed":2,"hex_longitude":"2cd4acc0","hex_latitude":"07377a40","is_valid_coordinates":true} 
[2026-09-10 10:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988124672001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781501973430272,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121909304446560256,"note":"Value kept but may cause issues"} 
[2026-09-10 10:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789016121000,"timestamp_ms":1789016121000,"timestamp_seconds":1789016121,"priority":1,"record_length":96,"hex_timestamp":"000001a089ab9ea8"} 
[2026-09-10 10:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:26: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":43,"data_length":795,"current_offset":136} 
[2026-09-10 10:26:59] 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-09-10 10:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988124672001,"66":27865,"18":206,"83":43264,"24":2,"16":403781501973430272,"44":-3121909304446560256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988124672001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:26:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781501973430272,"km_value":403781501973430.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:26:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121909304446560256,"description":"Unknown IO ID 44"} 
[2026-09-10 10:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988124672001,"power":27865,"unknown_18":206,"unknown_83":43264,"ignition":2,"odometer":null,"unknown_44":-3121909304446560256}} 
[2026-09-10 10:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:26:59] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:26:59] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:27:19] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:27:19] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:27:19] local.INFO: IMEI packet received {"connection_id":176398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":176398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:27:25] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:27:25] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:27:25] local.INFO: IMEI packet received {"connection_id":176398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":176398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:27:29] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089abba00012cd4aa4007377a78000c00fd2f..."} 
[2026-09-10 10:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089abba00012cd4aa4007377a78000c00fd2f..."} 
[2026-09-10 10:27:29] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089abba00012cd4aa4007377a78000c00fd2f..."} 
[2026-09-10 10:27:29] local.INFO: Packet analysis {"connection_id":176398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:27:29] local.INFO: Extracted packet for processing {"connection_id":176398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:27:29] local.INFO: GPS Element Parsed {"raw_longitude":752134720,"raw_latitude":121076344,"longitude_deg":75.213472,"latitude_deg":12.1076344,"altitude":12,"angle":253,"satellites":47,"speed":8,"hex_longitude":"2cd4aa40","hex_latitude":"07377a78","is_valid_coordinates":true} 
[2026-09-10 10:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988126976001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781536333168640,"note":"Value kept but may cause issues"} 
[2026-09-10 10:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121909304446533632,"note":"Value kept but may cause issues"} 
[2026-09-10 10:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789016128000,"timestamp_ms":1789016128000,"timestamp_seconds":1789016128,"priority":1,"record_length":96,"hex_timestamp":"000001a089abba00"} 
[2026-09-10 10:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:27: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-09-10 10:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988126976001,"66":27745,"18":206,"83":43264,"24":8,"16":403781536333168640,"44":-3121909304446533632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988126976001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:27:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781536333168640,"km_value":403781536333168.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121909304446533632,"description":"Unknown IO ID 44"} 
[2026-09-10 10:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988126976001,"power":27745,"unknown_18":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3121909304446533632}} 
[2026-09-10 10:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":176398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:27:29] local.INFO: GPS data processed {"connection_id":176398,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:27:29] local.INFO: Acknowledgment sent {"connection_id":176398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:28:01] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089abc9a0012cd4a58007377828000c00f030..."} 
[2026-09-10 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089abc9a0012cd4a58007377828000c00f030..."} 
[2026-09-10 10:28:01] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089abc9a0012cd4a58007377828000c00f030..."} 
[2026-09-10 10:28:01] local.INFO: Packet analysis {"connection_id":176398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:28:01] local.INFO: Extracted packet for processing {"connection_id":176398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ab"} 
[2026-09-10 10:28:01] local.INFO: GPS Element Parsed {"raw_longitude":752133504,"raw_latitude":121075752,"longitude_deg":75.2133504,"latitude_deg":12.1075752,"altitude":12,"angle":240,"satellites":48,"speed":16,"hex_longitude":"2cd4a580","hex_latitude":"07377828","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988128768001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403781600757678080,"note":"Value kept but may cause issues"} 
[2026-09-10 10:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122612991888295936,"note":"Value kept but may cause issues"} 
[2026-09-10 10:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789016132000,"timestamp_ms":1789016132000,"timestamp_seconds":1789016132,"priority":1,"record_length":96,"hex_timestamp":"000001a089abc9a0"} 
[2026-09-10 10:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:28: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-09-10 10: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-09-10 10:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:28: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-09-10 10:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988128768001,"66":27767,"18":206,"83":43264,"24":16,"16":403781600757678080,"44":-3122612991888295936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-10 10:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988128768001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403781600757678080,"km_value":403781600757678.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122612991888295936,"description":"Unknown IO ID 44"} 
[2026-09-10 10:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988128768001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3122612991888295936}} 
[2026-09-10 10:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":176398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:28:01] local.INFO: GPS data processed {"connection_id":176398,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:28:01] local.INFO: Acknowledgment sent {"connection_id":176398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:28:25] local.INFO: TCP Data received {"connection_id":178946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:28:25] local.INFO: Processing buffer {"connection_id":178946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:28:25] local.INFO: IMEI packet received {"connection_id":178946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":178946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:28:28] local.INFO: TCP Data received {"connection_id":178946,"ip":"42.106.6.29","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178946,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:28:28] local.INFO: Processing buffer {"connection_id":178946,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:28:28] local.INFO: IMEI packet received {"connection_id":178946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":178946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:31:39] local.INFO: TCP Data received {"connection_id":178949,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:31:39] local.INFO: Processing buffer {"connection_id":178949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:31:39] local.INFO: IMEI packet received {"connection_id":178949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":178949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:32:48] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:48] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:48] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:32:49] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:49] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:49] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:32:53] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:53] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:32:53] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:32:53] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-10 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-10 10:32:53] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-10 10:32:53] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 10:32:53] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 10:32:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 10:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-10 10:32:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:32:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 10:32:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 10:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-10 10:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-10 10:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 10:32:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 10:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 10:32:53] local.ERROR: GPS data processing failed {"connection_id":176153,"error":"No valid data to process"} 
[2026-09-10 10:32:53] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 10:33:24] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b2bee0012d196a00071febe8004b00000f..."} 
[2026-09-10 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b2bee0012d196a00071febe8004b00000f..."} 
[2026-09-10 10:33:24] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b2bee0012d196a00071febe8004b00000f..."} 
[2026-09-10 10:33:24] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:33:24] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532520,"longitude_deg":75.6640256,"latitude_deg":11.953252,"altitude":75,"angle":0,"satellites":15,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071febe8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110680321851392,"note":"Value kept but may cause issues"} 
[2026-09-10 10:33:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 10:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789016588000,"timestamp_ms":1789016588000,"timestamp_seconds":1789016588,"priority":1,"record_length":96,"hex_timestamp":"000001a089b2bee0"} 
[2026-09-10 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-09-10 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-10 10:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11721,"102":206,"83":41984,"24":0,"16":19110680321851392},"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]} 
[2026-09-10 10:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 10:33:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110680321851392,"km_value":19110680321851.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:33:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11721,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-10 10:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:33:24] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:33:24] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:33:30] local.INFO: TCP Data received {"connection_id":176400,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:33:30] local.INFO: Processing buffer {"connection_id":176400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:33:30] local.INFO: IMEI packet received {"connection_id":176400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":176400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:33:31] local.INFO: TCP Data received {"connection_id":176400,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b23df8012cd55700073870780010001f30..."} 
[2026-09-10 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b23df8012cd55700073870780010001f30..."} 
[2026-09-10 10:33:31] local.INFO: Processing buffer {"connection_id":176400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b23df8012cd55700073870780010001f30..."} 
[2026-09-10 10:33:31] local.INFO: Packet analysis {"connection_id":176400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:33:31] local.INFO: Extracted packet for processing {"connection_id":176400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":752178944,"raw_latitude":121139320,"longitude_deg":75.2178944,"latitude_deg":12.113932,"altitude":16,"angle":31,"satellites":48,"speed":14,"hex_longitude":"2cd55700","hex_latitude":"07387078","is_valid_coordinates":true} 
[2026-09-10 10:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988237824001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403790036073447424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3074340033366368256,"note":"Value kept but may cause issues"} 
[2026-09-10 10:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789016555000,"timestamp_ms":1789016555000,"timestamp_seconds":1789016555,"priority":1,"record_length":96,"hex_timestamp":"000001a089b23df8"} 
[2026-09-10 10:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:33: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-09-10 10:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988237824001,"66":27821,"150":206,"83":43264,"24":14,"16":403790036073447424,"44":-3074340033366368256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 10:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988237824001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:33:31] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 10:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403790036073447424,"km_value":403790036073447.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3074340033366368256,"description":"Unknown IO ID 44"} 
[2026-09-10 10:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988237824001,"power":27821,"unknown_150":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3074340033366368256}} 
[2026-09-10 10:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":176400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:33:31] local.INFO: GPS data processed {"connection_id":176400,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:33:31] local.INFO: Acknowledgment sent {"connection_id":176400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:33:55] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b310e8012d196880071fec400042000010..."} 
[2026-09-10 10:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b310e8012d196880071fec400042000010..."} 
[2026-09-10 10:33:55] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b310e8012d196880071fec400042000010..."} 
[2026-09-10 10:33:55] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:33:55] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532608,"longitude_deg":75.6639872,"latitude_deg":11.9532608,"altitude":66,"angle":0,"satellites":16,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988246528001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110701796687872,"note":"Value kept but may cause issues"} 
[2026-09-10 10:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079853056,"note":"Value kept but may cause issues"} 
[2026-09-10 10:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789016609000,"timestamp_ms":1789016609000,"timestamp_seconds":1789016609,"priority":1,"record_length":96,"hex_timestamp":"000001a089b310e8"} 
[2026-09-10 10:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 10:33:55] 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-09-10 10:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988246528001,"66":12156,"102":206,"83":41984,"24":0,"16":19110701796687872,"45":1831276229079853056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988246528001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:33:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:33:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110701796687872,"km_value":19110701796687.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079853056,"description":"Unknown IO ID 45"} 
[2026-09-10 10:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988246528001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079853056}} 
[2026-09-10 10:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:33:55] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:33:55] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:34:02] local.INFO: TCP Data received {"connection_id":176400,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b241e0012cd55740073871e00011000830..."} 
[2026-09-10 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b241e0012cd55740073871e00011000830..."} 
[2026-09-10 10:34:02] local.INFO: Processing buffer {"connection_id":176400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b241e0012cd55740073871e00011000830..."} 
[2026-09-10 10:34:02] local.INFO: Packet analysis {"connection_id":176400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:02] local.INFO: Extracted packet for processing {"connection_id":176400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":752179008,"raw_latitude":121139680,"longitude_deg":75.2179008,"latitude_deg":12.113968,"altitude":17,"angle":8,"satellites":48,"speed":15,"hex_longitude":"2cd55740","hex_latitude":"073871e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988238080001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403790057548283904,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073988189645408256,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789016556000,"timestamp_ms":1789016556000,"timestamp_seconds":1789016556,"priority":1,"record_length":96,"hex_timestamp":"000001a089b241e0"} 
[2026-09-10 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-09-10 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:34: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-09-10 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-09-10 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-09-10 10:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34: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-09-10 10:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988238080001,"66":27800,"150":206,"83":43264,"24":15,"16":403790057548283904,"44":-3073988189645408256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 10:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988238080001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:34:02] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 10:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403790057548283904,"km_value":403790057548283.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073988189645408256,"description":"Unknown IO ID 44"} 
[2026-09-10 10:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988238080001,"power":27800,"unknown_150":206,"unknown_83":43264,"ignition":15,"odometer":null,"unknown_44":-3073988189645408256}} 
[2026-09-10 10:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":176400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:34:02] local.INFO: GPS data processed {"connection_id":176400,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:34:02] local.INFO: Acknowledgment sent {"connection_id":176400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:34:25] local.INFO: TCP Data received {"connection_id":177566,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:34:25] local.INFO: Processing buffer {"connection_id":177566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:34:25] local.INFO: IMEI packet received {"connection_id":177566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":177566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:34:25] local.INFO: TCP Data received {"connection_id":177566,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177566,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:34:25] local.INFO: Processing buffer {"connection_id":177566,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:34:25] local.INFO: IMEI packet received {"connection_id":177566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":177566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:34:26] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b362f0012d196880071fec680043000014..."} 
[2026-09-10 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b362f0012d196880071fec680043000014..."} 
[2026-09-10 10:34:26] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b362f0012d196880071fec680043000014..."} 
[2026-09-10 10:34:26] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:34:26] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532648,"longitude_deg":75.6639872,"latitude_deg":11.9532648,"altitude":67,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec68","is_valid_coordinates":true} 
[2026-09-10 10:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988251904001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110706091655168,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614809600,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34: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-09-10 10:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789016630000,"timestamp_ms":1789016630000,"timestamp_seconds":1789016630,"priority":1,"record_length":96,"hex_timestamp":"000001a089b362f0"} 
[2026-09-10 10:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 10:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988251904001,"66":12211,"102":206,"83":41984,"24":0,"16":19110706091655168,"45":1830854016614809600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988251904001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:34:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:34:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110706091655168,"km_value":19110706091655.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614809600,"description":"Unknown IO ID 45"} 
[2026-09-10 10:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988251904001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614809600}} 
[2026-09-10 10:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:34:27] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:34:27] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:34:30] local.INFO: TCP Data received {"connection_id":177566,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:34:30] local.INFO: Processing buffer {"connection_id":177566,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:34:30] local.INFO: IMEI packet received {"connection_id":177566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":177566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:34:31] local.INFO: TCP Data received {"connection_id":177566,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b245c8012cd55740073873980010015e31..."} 
[2026-09-10 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b245c8012cd55740073873980010015e31..."} 
[2026-09-10 10:34:31] local.INFO: Processing buffer {"connection_id":177566,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a089..."} 
[2026-09-10 10:34:31] local.INFO: IMEI packet received {"connection_id":177566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":177566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:34:35] local.INFO: TCP Data received {"connection_id":177566,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b24d98012cd55640073877600011015231..."} 
[2026-09-10 10:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b24d98012cd55640073877600011015231..."} 
[2026-09-10 10:34:35] local.INFO: Processing buffer {"connection_id":177566,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a089b245c8012cd55740073873980010015e31..."} 
[2026-09-10 10:34:35] local.INFO: Packet analysis {"connection_id":177566,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:35] local.INFO: Extracted packet for processing {"connection_id":177566,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:35] local.INFO: GPS Element Parsed {"raw_longitude":752179008,"raw_latitude":121140120,"longitude_deg":75.2179008,"latitude_deg":12.114012,"altitude":16,"angle":350,"satellites":49,"speed":16,"hex_longitude":"2cd55740","hex_latitude":"07387398","is_valid_coordinates":true} 
[2026-09-10 10:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988238336001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403790074728153088,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073917820901138432,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789016557000,"timestamp_ms":1789016557000,"timestamp_seconds":1789016557,"priority":1,"record_length":96,"hex_timestamp":"000001a089b245c8"} 
[2026-09-10 10:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:34: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-09-10 10:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988238336001,"66":27800,"150":206,"83":43264,"24":16,"16":403790074728153088,"44":-3073917820901138432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988238336001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403790074728153088,"km_value":403790074728153.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073917820901138432,"description":"Unknown IO ID 44"} 
[2026-09-10 10:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988238336001,"power":27800,"unknown_150":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3073917820901138432}} 
[2026-09-10 10:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":177566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:34:35] local.INFO: GPS data processed {"connection_id":177566,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:34:35] local.INFO: Acknowledgment sent {"connection_id":177566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:34:35] local.INFO: Packet analysis {"connection_id":177566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:35] local.INFO: Extracted packet for processing {"connection_id":177566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:35] local.INFO: GPS Element Parsed {"raw_longitude":752178752,"raw_latitude":121141088,"longitude_deg":75.2178752,"latitude_deg":12.1141088,"altitude":17,"angle":338,"satellites":49,"speed":19,"hex_longitude":"2cd55640","hex_latitude":"07387760","is_valid_coordinates":true} 
[2026-09-10 10:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988238592001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403790126267760640,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073917820901025792,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789016559000,"timestamp_ms":1789016559000,"timestamp_seconds":1789016559,"priority":1,"record_length":96,"hex_timestamp":"000001a089b24d98"} 
[2026-09-10 10:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:34: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-09-10 10:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988238592001,"66":27789,"150":206,"83":43264,"24":19,"16":403790126267760640,"44":-3073917820901025792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 10:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988238592001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403790126267760640,"km_value":403790126267760.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073917820901025792,"description":"Unknown IO ID 44"} 
[2026-09-10 10:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988238592001,"power":27789,"unknown_150":206,"unknown_83":43264,"ignition":19,"odometer":null,"unknown_44":-3073917820901025792}} 
[2026-09-10 10:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":177566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:34:35] local.INFO: GPS data processed {"connection_id":177566,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:34:35] local.INFO: Acknowledgment sent {"connection_id":177566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:34:36] local.INFO: TCP Data received {"connection_id":177566,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b28060012cd54d8007389bf00013015d2b..."} 
[2026-09-10 10:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b28060012cd54d8007389bf00013015d2b..."} 
[2026-09-10 10:34:37] local.INFO: Processing buffer {"connection_id":177566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b28060012cd54d8007389bf00013015d2b..."} 
[2026-09-10 10:34:37] local.INFO: Packet analysis {"connection_id":177566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:37] local.INFO: Extracted packet for processing {"connection_id":177566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:34:37] local.INFO: GPS Element Parsed {"raw_longitude":752176512,"raw_latitude":121150448,"longitude_deg":75.2176512,"latitude_deg":12.1150448,"altitude":19,"angle":349,"satellites":43,"speed":37,"hex_longitude":"2cd54d80","hex_latitude":"07389bf0","is_valid_coordinates":true} 
[2026-09-10 10:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988239104001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403790594419195904,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3074199295877488640,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789016572000,"timestamp_ms":1789016572000,"timestamp_seconds":1789016572,"priority":1,"record_length":96,"hex_timestamp":"000001a089b28060"} 
[2026-09-10 10:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 10:34: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-09-10 10:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988239104001,"66":27789,"149":206,"83":43264,"24":37,"16":403790594419195904,"44":-3074199295877488640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988239104001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:34:37] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403790594419195904,"km_value":403790594419195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3074199295877488640,"description":"Unknown IO ID 44"} 
[2026-09-10 10:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988239104001,"power":27789,"unknown_149":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3074199295877488640}} 
[2026-09-10 10:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":177566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:34:37] local.INFO: GPS data processed {"connection_id":177566,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:34:37] local.INFO: Acknowledgment sent {"connection_id":177566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:34:58] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b3b4f8012d196880071fec900040000016..."} 
[2026-09-10 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b3b4f8012d196880071fec900040000016..."} 
[2026-09-10 10:34:58] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b3b4f8012d196880071fec900040000016..."} 
[2026-09-10 10:34:58] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:34:58] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532688,"longitude_deg":75.6639872,"latitude_deg":11.9532688,"altitude":64,"angle":0,"satellites":22,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec90","is_valid_coordinates":true} 
[2026-09-10 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988257280001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110710386622464,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614819840,"note":"Value kept but may cause issues"} 
[2026-09-10 10:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789016651000,"timestamp_ms":1789016651000,"timestamp_seconds":1789016651,"priority":1,"record_length":96,"hex_timestamp":"000001a089b3b4f8"} 
[2026-09-10 10:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 10:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988257280001,"66":12156,"102":206,"83":41984,"24":0,"16":19110710386622464,"45":1830854016614819840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988257280001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:34:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110710386622464,"km_value":19110710386622.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614819840,"description":"Unknown IO ID 45"} 
[2026-09-10 10:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988257280001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614819840}} 
[2026-09-10 10:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:34:58] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:34:58] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:35:20] local.INFO: TCP Data received {"connection_id":177567,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:20] local.INFO: Processing buffer {"connection_id":177567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:20] local.INFO: IMEI packet received {"connection_id":177567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":177567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:35:20] local.INFO: TCP Data received {"connection_id":177567,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:20] local.INFO: Processing buffer {"connection_id":177567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:20] local.INFO: IMEI packet received {"connection_id":177567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":177567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:35:25] local.INFO: TCP Data received {"connection_id":177567,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:25] local.INFO: Processing buffer {"connection_id":177567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:35:25] local.INFO: IMEI packet received {"connection_id":177567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":177567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:35:25] local.INFO: TCP Data received {"connection_id":177567,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b2a770012cd54a000738c178001301662e..."} 
[2026-09-10 10:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b2a770012cd54a000738c178001301662e..."} 
[2026-09-10 10:35:25] local.INFO: Processing buffer {"connection_id":177567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b2a770012cd54a000738c178001301662e..."} 
[2026-09-10 10:35:25] local.INFO: Packet analysis {"connection_id":177567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:35:25] local.INFO: Extracted packet for processing {"connection_id":177567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:35:25] local.INFO: GPS Element Parsed {"raw_longitude":752175616,"raw_latitude":121160056,"longitude_deg":75.2175616,"latitude_deg":12.1160056,"altitude":19,"angle":358,"satellites":46,"speed":38,"hex_longitude":"2cd54a00","hex_latitude":"0738c178","is_valid_coordinates":true} 
[2026-09-10 10:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988242432001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403791062570631168,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3076662201921310720,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789016582000,"timestamp_ms":1789016582000,"timestamp_seconds":1789016582,"priority":1,"record_length":96,"hex_timestamp":"000001a089b2a770"} 
[2026-09-10 10:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 10:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988242432001,"66":27821,"149":206,"83":43264,"24":38,"16":403791062570631168,"44":-3076662201921310720},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988242432001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:35:25] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:35:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403791062570631168,"km_value":403791062570631.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3076662201921310720,"description":"Unknown IO ID 44"} 
[2026-09-10 10:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988242432001,"power":27821,"unknown_149":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3076662201921310720}} 
[2026-09-10 10:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":177567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:35:25] local.INFO: GPS data processed {"connection_id":177567,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:35:25] local.INFO: Acknowledgment sent {"connection_id":177567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:35:28] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b40700012d196880071fec78003f000017..."} 
[2026-09-10 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b40700012d196880071fec78003f000017..."} 
[2026-09-10 10:35:28] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b40700012d196880071fec78003f000017..."} 
[2026-09-10 10:35:28] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:35:28] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532664,"longitude_deg":75.6639872,"latitude_deg":11.9532664,"altitude":63,"angle":0,"satellites":23,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-09-10 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988262656001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110710386622464,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614830080,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789016672000,"timestamp_ms":1789016672000,"timestamp_seconds":1789016672,"priority":1,"record_length":96,"hex_timestamp":"000001a089b40700"} 
[2026-09-10 10:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 10:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988262656001,"66":12113,"102":206,"83":41984,"24":0,"16":19110710386622464,"45":1830854016614830080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988262656001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110710386622464,"km_value":19110710386622.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614830080,"description":"Unknown IO ID 45"} 
[2026-09-10 10:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988262656001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614830080}} 
[2026-09-10 10:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:35:29] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:35:29] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:35:30] local.INFO: TCP Data received {"connection_id":177567,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b2ce80012cd549c00738e550001301632d..."} 
[2026-09-10 10:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b2ce80012cd549c00738e550001301632d..."} 
[2026-09-10 10:35:30] local.INFO: Processing buffer {"connection_id":177567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b2ce80012cd549c00738e550001301632d..."} 
[2026-09-10 10:35:30] local.INFO: Packet analysis {"connection_id":177567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:35:30] local.INFO: Extracted packet for processing {"connection_id":177567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:35:30] local.INFO: GPS Element Parsed {"raw_longitude":752175552,"raw_latitude":121169232,"longitude_deg":75.2175552,"latitude_deg":12.1169232,"altitude":19,"angle":355,"satellites":45,"speed":31,"hex_longitude":"2cd549c0","hex_latitude":"0738e550","is_valid_coordinates":true} 
[2026-09-10 10:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988244992001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403791504952262656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077647364337338368,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789016592000,"timestamp_ms":1789016592000,"timestamp_seconds":1789016592,"priority":1,"record_length":96,"hex_timestamp":"000001a089b2ce80"} 
[2026-09-10 10:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:35: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-09-10 10:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988244992001,"66":27876,"149":206,"83":43264,"24":31,"16":403791504952262656,"44":-3077647364337338368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988244992001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:35:30] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403791504952262656,"km_value":403791504952262.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077647364337338368,"description":"Unknown IO ID 44"} 
[2026-09-10 10:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988244992001,"power":27876,"unknown_149":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3077647364337338368}} 
[2026-09-10 10:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":177567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:35:30] local.INFO: GPS data processed {"connection_id":177567,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:35:30] local.INFO: Acknowledgment sent {"connection_id":177567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:35:59] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b45908012d1967c0071fec30003d000018..."} 
[2026-09-10 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b45908012d1967c0071fec30003d000018..."} 
[2026-09-10 10:35:59] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b45908012d1967c0071fec30003d000018..."} 
[2026-09-10 10:35:59] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:35:59] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532592,"longitude_deg":75.663968,"latitude_deg":11.9532592,"altitude":61,"angle":0,"satellites":24,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-10 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988268032001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110723271524352,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614823936,"note":"Value kept but may cause issues"} 
[2026-09-10 10:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789016693000,"timestamp_ms":1789016693000,"timestamp_seconds":1789016693,"priority":1,"record_length":96,"hex_timestamp":"000001a089b45908"} 
[2026-09-10 10:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:35: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-10 10:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988268032001,"66":12156,"102":206,"83":41984,"24":0,"16":19110723271524352,"45":1830854016614823936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988268032001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110723271524352,"km_value":19110723271524.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614823936,"description":"Unknown IO ID 45"} 
[2026-09-10 10:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988268032001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614823936}} 
[2026-09-10 10:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:35:59] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:35:59] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:36:01] local.INFO: TCP Data received {"connection_id":177567,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b2fd60012cd5440007390a500015015b2d..."} 
[2026-09-10 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b2fd60012cd5440007390a500015015b2d..."} 
[2026-09-10 10:36:01] local.INFO: Processing buffer {"connection_id":177567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b2fd60012cd5440007390a500015015b2d..."} 
[2026-09-10 10:36:01] local.INFO: Packet analysis {"connection_id":177567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:36:01] local.INFO: Extracted packet for processing {"connection_id":177567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b2"} 
[2026-09-10 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":752174080,"raw_latitude":121178704,"longitude_deg":75.217408,"latitude_deg":12.1178704,"altitude":21,"angle":347,"satellites":45,"speed":31,"hex_longitude":"2cd54400","hex_latitude":"07390a50","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988247552001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403791973103697920,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077717733079166976,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789016604000,"timestamp_ms":1789016604000,"timestamp_seconds":1789016604,"priority":1,"record_length":96,"hex_timestamp":"000001a089b2fd60"} 
[2026-09-10 10:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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-09-10 10: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-09-10 10: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-09-10 10:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:36: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-09-10 10:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988247552001,"66":27767,"149":206,"83":43264,"24":31,"16":403791973103697920,"44":-3077717733079166976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988247552001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403791973103697920,"km_value":403791973103697.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077717733079166976,"description":"Unknown IO ID 44"} 
[2026-09-10 10:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988247552001,"power":27767,"unknown_149":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3077717733079166976}} 
[2026-09-10 10:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":177567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:36:01] local.INFO: GPS data processed {"connection_id":177567,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:36:01] local.INFO: Acknowledgment sent {"connection_id":177567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:36:19] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:36:19] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:36:19] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:36:22] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:36:22] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:36:22] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:36:23] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b32858012cd53cc007392ca00015015e2b..."} 
[2026-09-10 10:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b32858012cd53cc007392ca00015015e2b..."} 
[2026-09-10 10:36:23] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b32858012cd53cc007392ca00015015e2b..."} 
[2026-09-10 10:36:23] local.INFO: Packet analysis {"connection_id":176402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:36:23] local.INFO: Extracted packet for processing {"connection_id":176402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b3"} 
[2026-09-10 10:36:23] local.INFO: GPS Element Parsed {"raw_longitude":752172224,"raw_latitude":121187488,"longitude_deg":75.2172224,"latitude_deg":12.1187488,"altitude":21,"angle":350,"satellites":43,"speed":33,"hex_longitude":"2cd53cc0","hex_latitude":"07392ca0","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988250624001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403792406895394816,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3079336214192828416,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789016615000,"timestamp_ms":1789016615000,"timestamp_seconds":1789016615,"priority":1,"record_length":96,"hex_timestamp":"000001a089b32858"} 
[2026-09-10 10:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:36: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-09-10 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988250624001,"66":27745,"149":206,"83":43264,"24":33,"16":403792406895394816,"44":-3079336214192828416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 10:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988250624001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:36:23] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 10:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403792406895394816,"km_value":403792406895394.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:36:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3079336214192828416,"description":"Unknown IO ID 44"} 
[2026-09-10 10:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988250624001,"power":27745,"unknown_149":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3079336214192828416}} 
[2026-09-10 10:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":176402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:36:23] local.INFO: GPS data processed {"connection_id":176402,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:36:23] local.INFO: Acknowledgment sent {"connection_id":176402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:36:30] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b4ab10012d196780071fec40003b000019..."} 
[2026-09-10 10:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b4ab10012d196780071fec40003b000019..."} 
[2026-09-10 10:36:30] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b4ab10012d196780071fec40003b000019..."} 
[2026-09-10 10:36:30] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:36:30] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532608,"longitude_deg":75.6639616,"latitude_deg":11.9532608,"altitude":59,"angle":0,"satellites":25,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-10 10:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110727566491648,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382272512,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789016714000,"timestamp_ms":1789016714000,"timestamp_seconds":1789016714,"priority":1,"record_length":96,"hex_timestamp":"000001a089b4ab10"} 
[2026-09-10 10:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:36: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 10:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988273408001,"66":12211,"102":206,"83":41984,"24":0,"16":19110727566491648,"45":1830642910382272512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:36:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110727566491648,"km_value":19110727566491.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382272512,"description":"Unknown IO ID 45"} 
[2026-09-10 10:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988273408001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382272512}} 
[2026-09-10 10:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:36:31] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:36:31] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:36:55] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b52040012cd52380073a5858001101662f..."} 
[2026-09-10 10:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b52040012cd52380073a5858001101662f..."} 
[2026-09-10 10:36:55] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b52040012cd52380073a5858001101662f..."} 
[2026-09-10 10:36:55] local.INFO: Packet analysis {"connection_id":176402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:36:55] local.INFO: Extracted packet for processing {"connection_id":176402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:36:55] local.INFO: GPS Element Parsed {"raw_longitude":752165760,"raw_latitude":121264216,"longitude_deg":75.216576,"latitude_deg":12.1264216,"altitude":17,"angle":358,"satellites":47,"speed":8,"hex_longitude":"2cd52380","hex_latitude":"073a5858","is_valid_coordinates":true} 
[2026-09-10 10:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988283392001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403796169286746112,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088413782170054656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789016744000,"timestamp_ms":1789016744000,"timestamp_seconds":1789016744,"priority":1,"record_length":96,"hex_timestamp":"000001a089b52040"} 
[2026-09-10 10:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:36: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-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988283392001,"66":27865,"137":206,"83":43264,"24":8,"16":403796169286746112,"44":-3088413782170054656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 10:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988283392001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:36:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 10:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403796169286746112,"km_value":403796169286746.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:36:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088413782170054656,"description":"Unknown IO ID 44"} 
[2026-09-10 10:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988283392001,"power":27865,"unknown_137":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3088413782170054656}} 
[2026-09-10 10:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":176402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:36:55] local.INFO: GPS data processed {"connection_id":176402,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:36:55] local.INFO: Acknowledgment sent {"connection_id":176402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:37:01] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b4fd18012d196780071fec40003d00001c..."} 
[2026-09-10 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b4fd18012d196780071fec40003d00001c..."} 
[2026-09-10 10:37:01] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b4fd18012d196780071fec40003d00001c..."} 
[2026-09-10 10:37:01] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:37:01] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b4"} 
[2026-09-10 10:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532608,"longitude_deg":75.6639616,"latitude_deg":11.9532608,"altitude":61,"angle":0,"satellites":28,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-10 10:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988278784001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110727566491648,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638098944,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789016735000,"timestamp_ms":1789016735000,"timestamp_seconds":1789016735,"priority":1,"record_length":96,"hex_timestamp":"000001a089b4fd18"} 
[2026-09-10 10:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 10:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988278784001,"66":12156,"102":206,"83":41984,"24":0,"16":19110727566491648,"45":1830572541638098944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988278784001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110727566491648,"km_value":19110727566491.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638098944,"description":"Unknown IO ID 45"} 
[2026-09-10 10:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988278784001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638098944}} 
[2026-09-10 10:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:37:01] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:37:01] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:37:08] local.INFO: TCP Data received {"connection_id":178951,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:37:08] local.INFO: Processing buffer {"connection_id":178951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:37:08] local.INFO: IMEI packet received {"connection_id":178951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":178951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:37:20] local.INFO: TCP Data received {"connection_id":177569,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:20] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:20] local.INFO: IMEI packet received {"connection_id":177569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":177569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:37:20] local.INFO: TCP Data received {"connection_id":177569,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:20] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:20] local.INFO: IMEI packet received {"connection_id":177569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":177569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:37:25] local.INFO: TCP Data received {"connection_id":177569,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:25] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:37:25] local.INFO: IMEI packet received {"connection_id":177569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":177569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:37:25] local.INFO: TCP Data received {"connection_id":177569,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b56690012cd51e80073a7b800014015e30..."} 
[2026-09-10 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b56690012cd51e80073a7b800014015e30..."} 
[2026-09-10 10:37:25] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b56690012cd51e80073a7b800014015e30..."} 
[2026-09-10 10:37:25] local.INFO: Packet analysis {"connection_id":177569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:37:25] local.INFO: Extracted packet for processing {"connection_id":177569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:37:25] local.INFO: GPS Element Parsed {"raw_longitude":752164480,"raw_latitude":121273216,"longitude_deg":75.216448,"latitude_deg":12.1273216,"altitude":20,"angle":350,"satellites":48,"speed":30,"hex_longitude":"2cd51e80","hex_latitude":"073a7b80","is_valid_coordinates":true} 
[2026-09-10 10:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988286464001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403796611668377600,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088484150914033664,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789016762000,"timestamp_ms":1789016762000,"timestamp_seconds":1789016762,"priority":1,"record_length":96,"hex_timestamp":"000001a089b56690"} 
[2026-09-10 10:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988286464001,"66":27832,"137":206,"83":43264,"24":30,"16":403796611668377600,"44":-3088484150914033664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 10:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988286464001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:37:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 10:37:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403796611668377600,"km_value":403796611668377.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088484150914033664,"description":"Unknown IO ID 44"} 
[2026-09-10 10:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988286464001,"power":27832,"unknown_137":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3088484150914033664}} 
[2026-09-10 10:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":177569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:37:25] local.INFO: GPS data processed {"connection_id":177569,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:37:25] local.INFO: Acknowledgment sent {"connection_id":177569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:37:28] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:28] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:28] local.INFO: IMEI packet received {"connection_id":176403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":176403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:37:28] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:28] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:28] local.INFO: IMEI packet received {"connection_id":176403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":176403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:37:29] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:29] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:29] local.INFO: IMEI packet received {"connection_id":176403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":176403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:37:30] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:30] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:37:30] local.INFO: IMEI packet received {"connection_id":176403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":176403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:37:31] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b54f20012d1967c0071fec20003d00001c..."} 
[2026-09-10 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b54f20012d1967c0071fec20003d00001c..."} 
[2026-09-10 10:37:31] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b54f20012d1967c0071fec20003d00001c..."} 
[2026-09-10 10:37:31] local.INFO: Packet analysis {"connection_id":176403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:37:31] local.INFO: Extracted packet for processing {"connection_id":176403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532576,"longitude_deg":75.663968,"latitude_deg":11.9532576,"altitude":61,"angle":0,"satellites":28,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988284160001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110736156426240,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638098944,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789016756000,"timestamp_ms":1789016756000,"timestamp_seconds":1789016756,"priority":1,"record_length":96,"hex_timestamp":"000001a089b54f20"} 
[2026-09-10 10:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 10:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988284160001,"66":12211,"102":206,"83":41984,"24":0,"16":19110736156426240,"45":1830572541638098944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988284160001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:37:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110736156426240,"km_value":19110736156426.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638098944,"description":"Unknown IO ID 45"} 
[2026-09-10 10:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988284160001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638098944}} 
[2026-09-10 10:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":176403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:37:31] local.INFO: GPS data processed {"connection_id":176403,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:37:31] local.INFO: Acknowledgment sent {"connection_id":176403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:37:56] local.INFO: TCP Data received {"connection_id":177569,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b59188012cd51880073a9fd8001501612f..."} 
[2026-09-10 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b59188012cd51880073a9fd8001501612f..."} 
[2026-09-10 10:37:56] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b59188012cd51880073a9fd8001501612f..."} 
[2026-09-10 10:37:56] local.INFO: Packet analysis {"connection_id":177569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:37:56] local.INFO: Extracted packet for processing {"connection_id":177569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:37:56] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121282520,"longitude_deg":75.2162944,"latitude_deg":12.128252,"altitude":21,"angle":353,"satellites":47,"speed":35,"hex_longitude":"2cd51880","hex_latitude":"073a9fd8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988291072001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403797066934910976,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089891525795282944,"note":"Value kept but may cause issues"} 
[2026-09-10 10:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789016773000,"timestamp_ms":1789016773000,"timestamp_seconds":1789016773,"priority":1,"record_length":96,"hex_timestamp":"000001a089b59188"} 
[2026-09-10 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-09-10 10:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 10:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988291072001,"66":27865,"137":206,"83":43264,"24":35,"16":403797066934910976,"44":-3089891525795282944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 10:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988291072001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:37:56] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 10:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403797066934910976,"km_value":403797066934911.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:37:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089891525795282944,"description":"Unknown IO ID 44"} 
[2026-09-10 10:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988291072001,"power":27865,"unknown_137":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3089891525795282944}} 
[2026-09-10 10:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":177569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:37:56] local.INFO: GPS data processed {"connection_id":177569,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:37:56] local.INFO: Acknowledgment sent {"connection_id":177569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:38:02] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b71440012d19b240071feec8002e005d1e..."} 
[2026-09-10 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b71440012d19b240071feec8002e005d1e..."} 
[2026-09-10 10:38:02] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b71440012d19b240071feec8002e005d1e..."} 
[2026-09-10 10:38:02] local.INFO: Packet analysis {"connection_id":176403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:38:02] local.INFO: Extracted packet for processing {"connection_id":176403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119533256,"longitude_deg":75.6658752,"latitude_deg":11.9533256,"altitude":46,"angle":93,"satellites":30,"speed":29,"hex_longitude":"2d19b240","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988318208001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111681049231360,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848868415124566016,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789016872000,"timestamp_ms":1789016872000,"timestamp_seconds":1789016872,"priority":1,"record_length":96,"hex_timestamp":"000001a089b71440"} 
[2026-09-10 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-09-10 10:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 10:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988318208001,"66":14157,"102":206,"83":41984,"24":29,"16":19111681049231360,"45":1848868415124566016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 10:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988318208001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:38:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 10:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19111681049231360,"km_value":19111681049231.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848868415124566016,"description":"Unknown IO ID 45"} 
[2026-09-10 10:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988318208001,"power":14157,"unknown_102":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1848868415124566016}} 
[2026-09-10 10:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":176403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:38:02] local.INFO: GPS data processed {"connection_id":176403,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:38:02] local.INFO: Acknowledgment sent {"connection_id":176403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:38:19] local.INFO: TCP Data received {"connection_id":176155,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:38:19] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:38:19] local.INFO: IMEI packet received {"connection_id":176155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":176155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:38:23] local.INFO: TCP Data received {"connection_id":176155,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:38:23] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:38:23] local.INFO: IMEI packet received {"connection_id":176155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":176155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:38:24] local.INFO: TCP Data received {"connection_id":176155,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b5b4b0012cd51740073ac100001400042f..."} 
[2026-09-10 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b5b4b0012cd51740073ac100001400042f..."} 
[2026-09-10 10:38:24] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b5b4b0012cd51740073ac100001400042f..."} 
[2026-09-10 10:38:24] local.INFO: Packet analysis {"connection_id":176155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:38:24] local.INFO: Extracted packet for processing {"connection_id":176155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b5"} 
[2026-09-10 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":752162624,"raw_latitude":121291008,"longitude_deg":75.2162624,"latitude_deg":12.1291008,"altitude":20,"angle":4,"satellites":47,"speed":38,"hex_longitude":"2cd51740","hex_latitude":"073ac100","is_valid_coordinates":true} 
[2026-09-10 10:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988293888001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403797479251771392,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375653165056,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789016782000,"timestamp_ms":1789016782000,"timestamp_seconds":1789016782,"priority":1,"record_length":96,"hex_timestamp":"000001a089b5b4b0"} 
[2026-09-10 10:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988293888001,"66":27821,"137":206,"83":43264,"24":38,"16":403797479251771392,"44":-3091580375653165056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 10:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988293888001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:38:24] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 10:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403797479251771392,"km_value":403797479251771.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:38:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375653165056,"description":"Unknown IO ID 44"} 
[2026-09-10 10:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988293888001,"power":27821,"unknown_137":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3091580375653165056}} 
[2026-09-10 10:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":176155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:38:24] local.INFO: GPS data processed {"connection_id":176155,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:38:24] local.INFO: Acknowledgment sent {"connection_id":176155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:38:33] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b78588012d19dfc007200ad00029013f1e..."} 
[2026-09-10 10:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b78588012d19dfc007200ad00029013f1e..."} 
[2026-09-10 10:38:33] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b78588012d19dfc007200ad00029013f1e..."} 
[2026-09-10 10:38:33] local.INFO: Packet analysis {"connection_id":176403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:38:33] local.INFO: Extracted packet for processing {"connection_id":176403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756670400,"raw_latitude":119540432,"longitude_deg":75.66704,"latitude_deg":11.9540432,"altitude":41,"angle":319,"satellites":30,"speed":7,"hex_longitude":"2d19dfc0","hex_latitude":"07200ad0","is_valid_coordinates":true} 
[2026-09-10 10:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988326400001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112394013802496,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864490276333697024,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789016901000,"timestamp_ms":1789016901000,"timestamp_seconds":1789016901,"priority":1,"record_length":96,"hex_timestamp":"000001a089b78588"} 
[2026-09-10 10:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-10 10:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988326400001,"66":14254,"101":206,"83":41984,"24":7,"16":19112394013802496,"45":1864490276333697024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988326400001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:38:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112394013802496,"km_value":19112394013802.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864490276333697024,"description":"Unknown IO ID 45"} 
[2026-09-10 10:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988326400001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1864490276333697024}} 
[2026-09-10 10:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":176403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:38:33] local.INFO: GPS data processed {"connection_id":176403,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:38:33] local.INFO: Acknowledgment sent {"connection_id":176403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:38:55] local.INFO: TCP Data received {"connection_id":176155,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b723e0012cd4fd40073bef880012015f30..."} 
[2026-09-10 10:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b723e0012cd4fd40073bef880012015f30..."} 
[2026-09-10 10:38:55] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b723e0012cd4fd40073bef880012015f30..."} 
[2026-09-10 10:38:55] local.INFO: Packet analysis {"connection_id":176155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:38:55] local.INFO: Extracted packet for processing {"connection_id":176155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:38:55] local.INFO: GPS Element Parsed {"raw_longitude":752155968,"raw_latitude":121368456,"longitude_deg":75.2155968,"latitude_deg":12.1368456,"altitude":18,"angle":351,"satellites":48,"speed":31,"hex_longitude":"2cd4fd40","hex_latitude":"073bef88","is_valid_coordinates":true} 
[2026-09-10 10:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988317440001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403801331837435904,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098617250051233792,"note":"Value kept but may cause issues"} 
[2026-09-10 10:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789016876000,"timestamp_ms":1789016876000,"timestamp_seconds":1789016876,"priority":1,"record_length":96,"hex_timestamp":"000001a089b723e0"} 
[2026-09-10 10:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:38: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-09-10 10:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988317440001,"66":27800,"135":206,"83":43264,"24":31,"16":403801331837435904,"44":-3098617250051233792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 10:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988317440001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:38:55] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 10:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403801331837435904,"km_value":403801331837435.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098617250051233792,"description":"Unknown IO ID 44"} 
[2026-09-10 10:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988317440001,"power":27800,"unknown_135":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3098617250051233792}} 
[2026-09-10 10:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":176155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:38:55] local.INFO: GPS data processed {"connection_id":176155,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:38:55] local.INFO: Acknowledgment sent {"connection_id":176155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:39:04] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b78970012d19df0007200b60002901341e..."} 
[2026-09-10 10:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b78970012d19df0007200b60002901341e..."} 
[2026-09-10 10:39:04] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b78970012d19df0007200b60002901341e..."} 
[2026-09-10 10:39:04] local.INFO: Packet analysis {"connection_id":176403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:04] local.INFO: Extracted packet for processing {"connection_id":176403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119540576,"longitude_deg":75.6670208,"latitude_deg":11.9540576,"altitude":41,"angle":308,"satellites":30,"speed":9,"hex_longitude":"2d19df00","hex_latitude":"07200b60","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988326656001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112402603737088,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589558272,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789016902000,"timestamp_ms":1789016902000,"timestamp_seconds":1789016902,"priority":1,"record_length":96,"hex_timestamp":"000001a089b78970"} 
[2026-09-10 10:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 10:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988326656001,"66":14254,"101":206,"83":41984,"24":9,"16":19112402603737088,"45":1864419907589558272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988326656001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:39:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112402603737088,"km_value":19112402603737.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589558272,"description":"Unknown IO ID 45"} 
[2026-09-10 10:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988326656001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1864419907589558272}} 
[2026-09-10 10:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":176403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:39:04] local.INFO: GPS data processed {"connection_id":176403,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:39:04] local.INFO: Acknowledgment sent {"connection_id":176403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:39:19] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:39:19] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:39:19] local.INFO: IMEI packet received {"connection_id":176156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":176156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:39:24] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:39:24] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:39:24] local.INFO: IMEI packet received {"connection_id":176156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":176156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:39:25] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b74ed8012cd4f800073c14100014016131..."} 
[2026-09-10 10:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b74ed8012cd4f800073c14100014016131..."} 
[2026-09-10 10:39:25] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b74ed8012cd4f800073c14100014016131..."} 
[2026-09-10 10:39:25] local.INFO: Packet analysis {"connection_id":176156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:25] local.INFO: Extracted packet for processing {"connection_id":176156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":752154624,"raw_latitude":121377808,"longitude_deg":75.2154624,"latitude_deg":12.1377808,"altitude":20,"angle":353,"satellites":49,"speed":39,"hex_longitude":"2cd4f800","hex_latitude":"073c1410","is_valid_coordinates":true} 
[2026-09-10 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988320256001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403801791398936576,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3099250568746530816,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789016887000,"timestamp_ms":1789016887000,"timestamp_seconds":1789016887,"priority":1,"record_length":96,"hex_timestamp":"000001a089b74ed8"} 
[2026-09-10 10:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988320256001,"66":27767,"135":206,"83":43264,"24":39,"16":403801791398936576,"44":-3099250568746530816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 10:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988320256001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:39:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 10:39:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403801791398936576,"km_value":403801791398936.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3099250568746530816,"description":"Unknown IO ID 44"} 
[2026-09-10 10:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988320256001,"power":27767,"unknown_135":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3099250568746530816}} 
[2026-09-10 10:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":176156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:39:25] local.INFO: GPS data processed {"connection_id":176156,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:39:25] local.INFO: Acknowledgment sent {"connection_id":176156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:39:27] local.INFO: TCP Data received {"connection_id":178953,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:39:27] local.INFO: Processing buffer {"connection_id":178953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:39:27] local.INFO: IMEI packet received {"connection_id":178953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":178953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:39:32] local.INFO: TCP Data received {"connection_id":178953,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:39:32] local.INFO: Processing buffer {"connection_id":178953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:39:32] local.INFO: IMEI packet received {"connection_id":178953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":178953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:39:33] local.INFO: TCP Data received {"connection_id":178953,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b7ac98012d19d10007201568002901431e..."} 
[2026-09-10 10:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b7ac98012d19d10007201568002901431e..."} 
[2026-09-10 10:39:33] local.INFO: Processing buffer {"connection_id":178953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b7ac98012d19d10007201568002901431e..."} 
[2026-09-10 10:39:33] local.INFO: Packet analysis {"connection_id":178953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:33] local.INFO: Extracted packet for processing {"connection_id":178953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756666624,"raw_latitude":119543144,"longitude_deg":75.6666624,"latitude_deg":11.9543144,"altitude":41,"angle":323,"satellites":30,"speed":13,"hex_longitude":"2d19d100","hex_latitude":"07201568","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988326912001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112613057134592,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801357062144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789016911000,"timestamp_ms":1789016911000,"timestamp_seconds":1789016911,"priority":1,"record_length":96,"hex_timestamp":"000001a089b7ac98"} 
[2026-09-10 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-09-10 10:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 10:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988326912001,"66":14070,"101":206,"83":41984,"24":13,"16":19112613057134592,"45":1864208801357062144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988326912001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:39:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112613057134592,"km_value":19112613057134.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801357062144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988326912001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1864208801357062144}} 
[2026-09-10 10:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":178953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:39:33] local.INFO: GPS data processed {"connection_id":178953,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:39:33] local.INFO: Acknowledgment sent {"connection_id":178953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:39:56] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b77200012cd4f400073c39580014016130..."} 
[2026-09-10 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b77200012cd4f400073c39580014016130..."} 
[2026-09-10 10:39:56] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b77200012cd4f400073c39580014016130..."} 
[2026-09-10 10:39:56] local.INFO: Packet analysis {"connection_id":176156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:56] local.INFO: Extracted packet for processing {"connection_id":176156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":752153600,"raw_latitude":121387352,"longitude_deg":75.21536,"latitude_deg":12.1387352,"altitude":20,"angle":353,"satellites":48,"speed":44,"hex_longitude":"2cd4f400","hex_latitude":"073c3958","is_valid_coordinates":true} 
[2026-09-10 10:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988323072001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403802255255404544,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3100728312371867648,"note":"Value kept but may cause issues"} 
[2026-09-10 10:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789016896000,"timestamp_ms":1789016896000,"timestamp_seconds":1789016896,"priority":1,"record_length":96,"hex_timestamp":"000001a089b77200"} 
[2026-09-10 10:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988323072001,"66":27745,"135":206,"83":43264,"24":44,"16":403802255255404544,"44":-3100728312371867648},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 10:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988323072001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:39:56] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 10:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403802255255404544,"km_value":403802255255404.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3100728312371867648,"description":"Unknown IO ID 44"} 
[2026-09-10 10:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988323072001,"power":27745,"unknown_135":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3100728312371867648}} 
[2026-09-10 10:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":176156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:39:56] local.INFO: GPS data processed {"connection_id":176156,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:39:56] local.INFO: Acknowledgment sent {"connection_id":176156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:40:04] local.INFO: TCP Data received {"connection_id":178953,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b7fea0012d19cf4007201878002901461e..."} 
[2026-09-10 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b7fea0012d19cf4007201878002901461e..."} 
[2026-09-10 10:40:04] local.INFO: Processing buffer {"connection_id":178953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b7fea0012d19cf4007201878002901461e..."} 
[2026-09-10 10:40:04] local.INFO: Packet analysis {"connection_id":178953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:40:04] local.INFO: Extracted packet for processing {"connection_id":178953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":30,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 10:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988329216001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860268151683770368,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789016932000,"timestamp_ms":1789016932000,"timestamp_seconds":1789016932,"priority":1,"record_length":96,"hex_timestamp":"000001a089b7fea0"} 
[2026-09-10 10:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 10:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988329216001,"66":13080,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1860268151683770368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988329216001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:40:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860268151683770368,"description":"Unknown IO ID 45"} 
[2026-09-10 10:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988329216001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860268151683770368}} 
[2026-09-10 10:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":178953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:40:04] local.INFO: GPS data processed {"connection_id":178953,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:40:04] local.INFO: Acknowledgment sent {"connection_id":178953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:40:19] local.INFO: TCP Data received {"connection_id":177571,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:19] local.INFO: Processing buffer {"connection_id":177571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:19] local.INFO: IMEI packet received {"connection_id":177571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":177571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:40:23] local.INFO: TCP Data received {"connection_id":177571,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:23] local.INFO: Processing buffer {"connection_id":177571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:23] local.INFO: IMEI packet received {"connection_id":177571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":177571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:40:24] local.INFO: TCP Data received {"connection_id":177571,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:24] local.INFO: Processing buffer {"connection_id":177571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:40:24] local.INFO: IMEI packet received {"connection_id":177571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":177571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:40:25] local.INFO: TCP Data received {"connection_id":177571,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b79140012cd4edc0073c5e200013015d30..."} 
[2026-09-10 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b79140012cd4edc0073c5e200013015d30..."} 
[2026-09-10 10:40:25] local.INFO: Processing buffer {"connection_id":177571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b79140012cd4edc0073c5e200013015d30..."} 
[2026-09-10 10:40:25] local.INFO: Packet analysis {"connection_id":177571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:40:25] local.INFO: Extracted packet for processing {"connection_id":177571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:40:25] local.INFO: GPS Element Parsed {"raw_longitude":752152000,"raw_latitude":121396768,"longitude_deg":75.2152,"latitude_deg":12.1396768,"altitude":19,"angle":349,"satellites":48,"speed":50,"hex_longitude":"2cd4edc0","hex_latitude":"073c5e20","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988325376001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403802719111872512,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3101854212276267008,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789016904000,"timestamp_ms":1789016904000,"timestamp_seconds":1789016904,"priority":1,"record_length":96,"hex_timestamp":"000001a089b79140"} 
[2026-09-10 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-09-10 10:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988325376001,"66":27843,"135":206,"83":43264,"24":50,"16":403802719111872512,"44":-3101854212276267008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 10:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988325376001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:40:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 10:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403802719111872512,"km_value":403802719111872.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3101854212276267008,"description":"Unknown IO ID 44"} 
[2026-09-10 10:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988325376001,"power":27843,"unknown_135":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3101854212276267008}} 
[2026-09-10 10:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":177571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:40:25] local.INFO: GPS data processed {"connection_id":177571,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:40:25] local.INFO: Acknowledgment sent {"connection_id":177571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:40:27] local.INFO: TCP Data received {"connection_id":177572,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:40:27] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:40:27] local.INFO: IMEI packet received {"connection_id":177572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":177572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:40:30] local.INFO: TCP Data received {"connection_id":177571,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b7ac98012cd4e740073c80680012015d2e..."} 
[2026-09-10 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b7ac98012cd4e740073c80680012015d2e..."} 
[2026-09-10 10:40:30] local.INFO: Processing buffer {"connection_id":177571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b7ac98012cd4e740073c80680012015d2e..."} 
[2026-09-10 10:40:30] local.INFO: Packet analysis {"connection_id":177571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:40:30] local.INFO: Extracted packet for processing {"connection_id":177571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b7"} 
[2026-09-10 10:40:30] local.INFO: GPS Element Parsed {"raw_longitude":752150336,"raw_latitude":121405544,"longitude_deg":75.2150336,"latitude_deg":12.1405544,"altitude":18,"angle":349,"satellites":46,"speed":46,"hex_longitude":"2cd4e740","hex_latitude":"073c8068","is_valid_coordinates":true} 
[2026-09-10 10:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988327424001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403803148608602112,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3103613430878298112,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789016911000,"timestamp_ms":1789016911000,"timestamp_seconds":1789016911,"priority":1,"record_length":96,"hex_timestamp":"000001a089b7ac98"} 
[2026-09-10 10:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988327424001,"66":27767,"135":206,"83":43264,"24":46,"16":403803148608602112,"44":-3103613430878298112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 10:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988327424001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:40:30] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 10:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403803148608602112,"km_value":403803148608602.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3103613430878298112,"description":"Unknown IO ID 44"} 
[2026-09-10 10:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988327424001,"power":27767,"unknown_135":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3103613430878298112}} 
[2026-09-10 10:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":177571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:40:30] local.INFO: GPS data processed {"connection_id":177571,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:40:30] local.INFO: Acknowledgment sent {"connection_id":177571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:40:33] local.INFO: TCP Data received {"connection_id":177572,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:40:33] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:40:33] local.INFO: IMEI packet received {"connection_id":177572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":177572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:40:34] local.INFO: TCP Data received {"connection_id":177572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b850a8012d19cf4007201878002901461f..."} 
[2026-09-10 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b850a8012d19cf4007201878002901461f..."} 
[2026-09-10 10:40:34] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b850a8012d19cf4007201878002901461f..."} 
[2026-09-10 10:40:34] local.INFO: Packet analysis {"connection_id":177572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b8"} 
[2026-09-10 10:40:34] local.INFO: Extracted packet for processing {"connection_id":177572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b8"} 
[2026-09-10 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 10:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988334592001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:40: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-09-10 10:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789016953000,"timestamp_ms":1789016953000,"timestamp_seconds":1789016953,"priority":1,"record_length":96,"hex_timestamp":"000001a089b850a8"} 
[2026-09-10 10:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 10:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988334592001,"66":12939,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988334592001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988334592001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":177572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:40:34] local.INFO: GPS data processed {"connection_id":177572,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:40:34] local.INFO: Acknowledgment sent {"connection_id":177572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:41:01] local.INFO: TCP Data received {"connection_id":177571,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b91bc8012cd45f80073e4ad0001201462d..."} 
[2026-09-10 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b91bc8012cd45f80073e4ad0001201462d..."} 
[2026-09-10 10:41:01] local.INFO: Processing buffer {"connection_id":177571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b91bc8012cd45f80073e4ad0001201462d..."} 
[2026-09-10 10:41:01] local.INFO: Packet analysis {"connection_id":177571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:41:01] local.INFO: Extracted packet for processing {"connection_id":177571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:41:01] local.INFO: GPS Element Parsed {"raw_longitude":752115584,"raw_latitude":121522896,"longitude_deg":75.2115584,"latitude_deg":12.1522896,"altitude":18,"angle":326,"satellites":45,"speed":49,"hex_longitude":"2cd45f80","hex_latitude":"073e4ad0","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988351488001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403809131498045440,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3137883009262405632,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789017005000,"timestamp_ms":1789017005000,"timestamp_seconds":1789017005,"priority":1,"record_length":96,"hex_timestamp":"000001a089b91bc8"} 
[2026-09-10 10:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:41: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-09-10 10: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-09-10 10:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:41: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-09-10 10:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988351488001,"66":27876,"118":206,"83":43264,"24":49,"16":403809131498045440,"44":-3137883009262405632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-10 10:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988351488001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403809131498045440,"km_value":403809131498045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:41:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3137883009262405632,"description":"Unknown IO ID 44"} 
[2026-09-10 10:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988351488001,"power":27876,"unknown_118":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3137883009262405632}} 
[2026-09-10 10:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":177571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:41:01] local.INFO: GPS data processed {"connection_id":177571,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:41:01] local.INFO: Acknowledgment sent {"connection_id":177571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:41:05] local.INFO: TCP Data received {"connection_id":177572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b8a2b0012d19cf40072018780029014621..."} 
[2026-09-10 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b8a2b0012d19cf40072018780029014621..."} 
[2026-09-10 10:41:05] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b8a2b0012d19cf40072018780029014621..."} 
[2026-09-10 10:41:05] local.INFO: Packet analysis {"connection_id":177572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b8"} 
[2026-09-10 10:41:05] local.INFO: Extracted packet for processing {"connection_id":177572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b8"} 
[2026-09-10 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988339968001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41: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-09-10 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789016974000,"timestamp_ms":1789016974000,"timestamp_seconds":1789016974,"priority":1,"record_length":96,"hex_timestamp":"000001a089b8a2b0"} 
[2026-09-10 10:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 10:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:41: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-09-10 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988339968001,"66":11961,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988339968001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988339968001,"power":11961,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":177572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:41:05] local.INFO: GPS data processed {"connection_id":177572,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:41:05] local.INFO: Acknowledgment sent {"connection_id":177572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:41:19] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:19] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:19] local.INFO: IMEI packet received {"connection_id":176158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":176158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:41:20] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:20] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:20] local.INFO: IMEI packet received {"connection_id":176158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":176158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:41:24] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:24] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:41:24] local.INFO: IMEI packet received {"connection_id":176158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":176158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:41:25] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b93b08012cd44c40073e6c600012014f2d..."} 
[2026-09-10 10:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b93b08012cd44c40073e6c600012014f2d..."} 
[2026-09-10 10:41:25] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b93b08012cd44c40073e6c600012014f2d..."} 
[2026-09-10 10:41:25] local.INFO: Packet analysis {"connection_id":176158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:41:25] local.INFO: Extracted packet for processing {"connection_id":176158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:41:25] local.INFO: GPS Element Parsed {"raw_longitude":752110656,"raw_latitude":121531488,"longitude_deg":75.2110656,"latitude_deg":12.1531488,"altitude":18,"angle":335,"satellites":45,"speed":48,"hex_longitude":"2cd44c40","hex_latitude":"073e6c60","is_valid_coordinates":true} 
[2026-09-10 10:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988353280001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403809608239415296,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3143653246283100160,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017013000,"timestamp_ms":1789017013000,"timestamp_seconds":1789017013,"priority":1,"record_length":96,"hex_timestamp":"000001a089b93b08"} 
[2026-09-10 10:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988353280001,"66":27800,"118":206,"83":43264,"24":48,"16":403809608239415296,"44":-3143653246283100160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-10 10:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988353280001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:41:25] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 10:41:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403809608239415296,"km_value":403809608239415.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3143653246283100160,"description":"Unknown IO ID 44"} 
[2026-09-10 10:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988353280001,"power":27800,"unknown_118":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3143653246283100160}} 
[2026-09-10 10:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":176158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:41:25] local.INFO: GPS data processed {"connection_id":176158,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:41:25] local.INFO: Acknowledgment sent {"connection_id":176158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:41:27] local.INFO: TCP Data received {"connection_id":177573,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:41:27] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:41:27] local.INFO: IMEI packet received {"connection_id":177573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":177573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:41:32] local.INFO: TCP Data received {"connection_id":177573,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:41:32] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:41:32] local.INFO: IMEI packet received {"connection_id":177573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":177573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:41:33] local.INFO: TCP Data received {"connection_id":177573,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b8f4b8012d19cf40072018780029014623..."} 
[2026-09-10 10:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b8f4b8012d19cf40072018780029014623..."} 
[2026-09-10 10:41:33] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b8f4b8012d19cf40072018780029014623..."} 
[2026-09-10 10:41:33] local.INFO: Packet analysis {"connection_id":177573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b8"} 
[2026-09-10 10:41:33] local.INFO: Extracted packet for processing {"connection_id":177573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b8"} 
[2026-09-10 10:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789016995000,"timestamp_ms":1789016995000,"timestamp_seconds":1789016995,"priority":1,"record_length":96,"hex_timestamp":"000001a089b8f4b8"} 
[2026-09-10 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-09-10 10:41:33] 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-09-10 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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 10:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988345344001,"66":12852,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:41:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988345344001,"power":12852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":177573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:41:33] local.INFO: GPS data processed {"connection_id":177573,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:41:33] local.INFO: Acknowledgment sent {"connection_id":177573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:41:57] local.INFO: TCP Data received {"connection_id":176158,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089b95660012cd44100073e8c700012015b30..."} 
[2026-09-10 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b95660012cd44100073e8c700012015b30..."} 
[2026-09-10 10:41:57] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b95660012cd44100073e8c700012015b30..."} 
[2026-09-10 10:41:57] local.INFO: Packet analysis {"connection_id":176158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:41:57] local.INFO: Extracted packet for processing {"connection_id":176158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":752107776,"raw_latitude":121539696,"longitude_deg":75.2107776,"latitude_deg":12.1539696,"altitude":18,"angle":347,"satellites":48,"speed":50,"hex_longitude":"2cd44100","hex_latitude":"073e8c70","is_valid_coordinates":true} 
[2026-09-10 10:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988355328001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403810033441177600,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3149071639582580736,"note":"Value kept but may cause issues"} 
[2026-09-10 10:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789017020000,"timestamp_ms":1789017020000,"timestamp_seconds":1789017020,"priority":1,"record_length":96,"hex_timestamp":"000001a089b95660"} 
[2026-09-10 10:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988355328001,"66":27843,"244":206,"83":43264,"24":50,"16":403810033441177600,"44":-3149071639582580736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,83,24,16,44]} 
[2026-09-10 10:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988355328001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:41:57] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-10 10:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403810033441177600,"km_value":403810033441177.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:41:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3149071639582580736,"description":"Unknown IO ID 44"} 
[2026-09-10 10:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988355328001,"power":27843,"unknown_244":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3149071639582580736}} 
[2026-09-10 10:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":176158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:41:57] local.INFO: GPS data processed {"connection_id":176158,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:41:57] local.INFO: Acknowledgment sent {"connection_id":176158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:42:04] local.INFO: TCP Data received {"connection_id":177573,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b946c0012d19cf40072018780029014623..."} 
[2026-09-10 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b946c0012d19cf40072018780029014623..."} 
[2026-09-10 10:42:04] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b946c0012d19cf40072018780029014623..."} 
[2026-09-10 10:42:04] local.INFO: Packet analysis {"connection_id":177573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:42:04] local.INFO: Extracted packet for processing {"connection_id":177573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988350720001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789017016000,"timestamp_ms":1789017016000,"timestamp_seconds":1789017016,"priority":1,"record_length":96,"hex_timestamp":"000001a089b946c0"} 
[2026-09-10 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-09-10 10:42:04] 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-09-10 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 10:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988350720001,"66":12722,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988350720001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:42:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988350720001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":177573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:42:04] local.INFO: GPS data processed {"connection_id":177573,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:42:04] local.INFO: Acknowledgment sent {"connection_id":177573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:42:20] local.INFO: TCP Data received {"connection_id":177574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:20] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:20] local.INFO: IMEI packet received {"connection_id":177574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":177574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:42:25] local.INFO: TCP Data received {"connection_id":177574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:25] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:25] local.INFO: IMEI packet received {"connection_id":177574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":177574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:42:28] local.INFO: TCP Data received {"connection_id":177574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:28] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:42:28] local.INFO: IMEI packet received {"connection_id":177574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":177574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:42:29] local.INFO: TCP Data received {"connection_id":177574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ba7b58012cd38380073fd168000d01432d..."} 
[2026-09-10 10:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ba7b58012cd38380073fd168000d01432d..."} 
[2026-09-10 10:42:29] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ba7b58012cd38380073fd168000d01432d..."} 
[2026-09-10 10:42:29] local.INFO: Packet analysis {"connection_id":177574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:42:29] local.INFO: Extracted packet for processing {"connection_id":177574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:42:29] local.INFO: GPS Element Parsed {"raw_longitude":752059264,"raw_latitude":121622888,"longitude_deg":75.2059264,"latitude_deg":12.1622888,"altitude":13,"angle":323,"satellites":45,"speed":53,"hex_longitude":"2cd38380","hex_latitude":"073fd168","is_valid_coordinates":true} 
[2026-09-10 10:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988374528001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403814779380039680,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3199877872857548800,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789017095000,"timestamp_ms":1789017095000,"timestamp_seconds":1789017095,"priority":1,"record_length":96,"hex_timestamp":"000001a089ba7b58"} 
[2026-09-10 10:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988374528001,"66":27658,"245":206,"83":43264,"24":53,"16":403814779380039680,"44":-3199877872857548800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 10:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988374528001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403814779380039680,"km_value":403814779380039.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3199877872857548800,"description":"Unknown IO ID 44"} 
[2026-09-10 10:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988374528001,"power":27658,"geofence_id":206,"unknown_83":43264,"ignition":53,"odometer":null,"unknown_44":-3199877872857548800}} 
[2026-09-10 10:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":177574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:42:29] local.INFO: GPS data processed {"connection_id":177574,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:42:29] local.INFO: Acknowledgment sent {"connection_id":177574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:42:30] local.INFO: TCP Data received {"connection_id":177574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ba96b0012cd36d00073fee18000d01412e..."} 
[2026-09-10 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ba96b0012cd36d00073fee18000d01412e..."} 
[2026-09-10 10:42:30] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ba96b0012cd36d00073fee18000d01412e..."} 
[2026-09-10 10:42:30] local.INFO: Packet analysis {"connection_id":177574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:42:30] local.INFO: Extracted packet for processing {"connection_id":177574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:42:30] local.INFO: GPS Element Parsed {"raw_longitude":752053504,"raw_latitude":121630232,"longitude_deg":75.2053504,"latitude_deg":12.1630232,"altitude":13,"angle":321,"satellites":46,"speed":51,"hex_longitude":"2cd36d00","hex_latitude":"073fee18","is_valid_coordinates":true} 
[2026-09-10 10:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988376320001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403815226056638464,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3205577741133846528,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789017102000,"timestamp_ms":1789017102000,"timestamp_seconds":1789017102,"priority":1,"record_length":96,"hex_timestamp":"000001a089ba96b0"} 
[2026-09-10 10:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:42: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-09-10 10:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 10:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988376320001,"66":27843,"245":206,"83":43264,"24":51,"16":403815226056638464,"44":-3205577741133846528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 10:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988376320001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403815226056638464,"km_value":403815226056638.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3205577741133846528,"description":"Unknown IO ID 44"} 
[2026-09-10 10:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988376320001,"power":27843,"geofence_id":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3205577741133846528}} 
[2026-09-10 10:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":177574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:42:30] local.INFO: GPS data processed {"connection_id":177574,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:42:30] local.INFO: Acknowledgment sent {"connection_id":177574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:42:32] local.INFO: TCP Data received {"connection_id":177575,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:42:32] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:42:32] local.INFO: IMEI packet received {"connection_id":177575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":177575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:42:38] local.INFO: TCP Data received {"connection_id":177575,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:42:38] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:42:38] local.INFO: IMEI packet received {"connection_id":177575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":177575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:42:38] local.INFO: TCP Data received {"connection_id":177575,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b998c8012d19cf40072018780029014623..."} 
[2026-09-10 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b998c8012d19cf40072018780029014623..."} 
[2026-09-10 10:42:38] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b998c8012d19cf40072018780029014623..."} 
[2026-09-10 10:42:38] local.INFO: Packet analysis {"connection_id":177575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:42:38] local.INFO: Extracted packet for processing {"connection_id":177575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988356096001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789017037000,"timestamp_ms":1789017037000,"timestamp_seconds":1789017037,"priority":1,"record_length":96,"hex_timestamp":"000001a089b998c8"} 
[2026-09-10 10:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:42:38] 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-09-10 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 10:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988356096001,"66":12776,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988356096001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:42:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988356096001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":177575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:42:38] local.INFO: GPS data processed {"connection_id":177575,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:42:38] local.INFO: Acknowledgment sent {"connection_id":177575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:42:43] local.INFO: TCP Data received {"connection_id":177575,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089b9ead0012d19cf40072018780029014624..."} 
[2026-09-10 10:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089b9ead0012d19cf40072018780029014624..."} 
[2026-09-10 10:42:43] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089b9ead0012d19cf40072018780029014624..."} 
[2026-09-10 10:42:43] local.INFO: Packet analysis {"connection_id":177575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:42:43] local.INFO: Extracted packet for processing {"connection_id":177575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089b9"} 
[2026-09-10 10:42:43] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988361472001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789017058000,"timestamp_ms":1789017058000,"timestamp_seconds":1789017058,"priority":1,"record_length":96,"hex_timestamp":"000001a089b9ead0"} 
[2026-09-10 10:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:42:43] 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-09-10 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 10:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988361472001,"66":12722,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988361472001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:42:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:42:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988361472001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":177575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:42:43] local.INFO: GPS data processed {"connection_id":177575,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:42:43] local.INFO: Acknowledgment sent {"connection_id":177575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:42:44] local.INFO: TCP Data received {"connection_id":176404,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:42:44] local.INFO: Processing buffer {"connection_id":176404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:42:44] local.INFO: IMEI packet received {"connection_id":176404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":176404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:43:00] local.INFO: TCP Data received {"connection_id":177574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bab5f0012cd3558007400ad0000c01412e..."} 
[2026-09-10 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bab5f0012cd3558007400ad0000c01412e..."} 
[2026-09-10 10:43:00] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bab5f0012cd3558007400ad0000c01412e..."} 
[2026-09-10 10:43:00] local.INFO: Packet analysis {"connection_id":177574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:00] local.INFO: Extracted packet for processing {"connection_id":177574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:00] local.INFO: GPS Element Parsed {"raw_longitude":752047488,"raw_latitude":121637584,"longitude_deg":75.2047488,"latitude_deg":12.1637584,"altitude":12,"angle":321,"satellites":46,"speed":36,"hex_longitude":"2cd35580","hex_latitude":"07400ad0","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988378112001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403815685618139136,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3211910928107956224,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789017110000,"timestamp_ms":1789017110000,"timestamp_seconds":1789017110,"priority":1,"record_length":96,"hex_timestamp":"000001a089bab5f0"} 
[2026-09-10 10:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:43: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-09-10 10:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988378112001,"66":27800,"245":206,"83":43264,"24":36,"16":403815685618139136,"44":-3211910928107956224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 10:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988378112001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403815685618139136,"km_value":403815685618139.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3211910928107956224,"description":"Unknown IO ID 44"} 
[2026-09-10 10:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988378112001,"power":27800,"geofence_id":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3211910928107956224}} 
[2026-09-10 10:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":177574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:43:00] local.INFO: GPS data processed {"connection_id":177574,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:43:00] local.INFO: Acknowledgment sent {"connection_id":177574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:43:20] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:43:20] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:43:20] local.INFO: IMEI packet received {"connection_id":176405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":176405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:43:21] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:43:21] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:43:21] local.INFO: IMEI packet received {"connection_id":176405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":176405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:43:22] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bac590012cd34dc007401668000d014e2e..."} 
[2026-09-10 10:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bac590012cd34dc007401668000d014e2e..."} 
[2026-09-10 10:43:22] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bac590012cd34dc007401668000d014e2e..."} 
[2026-09-10 10:43:22] local.INFO: Packet analysis {"connection_id":176405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:22] local.INFO: Extracted packet for processing {"connection_id":176405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:22] local.INFO: GPS Element Parsed {"raw_longitude":752045504,"raw_latitude":121640552,"longitude_deg":75.2045504,"latitude_deg":12.1640552,"altitude":13,"angle":334,"satellites":46,"speed":35,"hex_longitude":"2cd34dc0","hex_latitude":"07401668","is_valid_coordinates":true} 
[2026-09-10 10:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988380160001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403815857416830976,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218525590058774528,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789017114000,"timestamp_ms":1789017114000,"timestamp_seconds":1789017114,"priority":1,"record_length":96,"hex_timestamp":"000001a089bac590"} 
[2026-09-10 10:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:43: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-09-10 10:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988380160001,"66":27843,"245":206,"83":43264,"24":35,"16":403815857416830976,"44":-3218525590058774528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 10:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988380160001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403815857416830976,"km_value":403815857416831.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:43:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218525590058774528,"description":"Unknown IO ID 44"} 
[2026-09-10 10:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988380160001,"power":27843,"geofence_id":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3218525590058774528}} 
[2026-09-10 10:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":176405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:43:22] local.INFO: GPS data processed {"connection_id":176405,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:43:22] local.INFO: Acknowledgment sent {"connection_id":176405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:43:27] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:27] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:27] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:43:27] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:27] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:27] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:43:33] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:33] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:43:33] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:43:33] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ba38f0012d19cf40072018780029014625..."} 
[2026-09-10 10:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ba38f0012d19cf40072018780029014625..."} 
[2026-09-10 10:43:33] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ba38f0012d19cf40072018780029014625..."} 
[2026-09-10 10:43:33] local.INFO: Packet analysis {"connection_id":176159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:33] local.INFO: Extracted packet for processing {"connection_id":176159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988366848001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017078000,"timestamp_ms":1789017078000,"timestamp_seconds":1789017078,"priority":1,"record_length":96,"hex_timestamp":"000001a089ba38f0"} 
[2026-09-10 10:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 10:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988366848001,"66":12667,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988366848001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:43:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988366848001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":176159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:43:33] local.INFO: GPS data processed {"connection_id":176159,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:43:33] local.INFO: Acknowledgment sent {"connection_id":176159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:43:53] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bad530012cd346c0074022a0000d01402f..."} 
[2026-09-10 10:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bad530012cd346c0074022a0000d01402f..."} 
[2026-09-10 10:43:53] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bad530012cd346c0074022a0000d01402f..."} 
[2026-09-10 10:43:53] local.INFO: Packet analysis {"connection_id":176405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:53] local.INFO: Extracted packet for processing {"connection_id":176405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:43:53] local.INFO: GPS Element Parsed {"raw_longitude":752043712,"raw_latitude":121643680,"longitude_deg":75.2043712,"latitude_deg":12.164368,"altitude":13,"angle":320,"satellites":47,"speed":36,"hex_longitude":"2cd346c0","hex_latitude":"074022a0","is_valid_coordinates":true} 
[2026-09-10 10:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988381184001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403816033510490112,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3220707021127522304,"note":"Value kept but may cause issues"} 
[2026-09-10 10:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789017118000,"timestamp_ms":1789017118000,"timestamp_seconds":1789017118,"priority":1,"record_length":96,"hex_timestamp":"000001a089bad530"} 
[2026-09-10 10:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:43: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-09-10 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988381184001,"66":27767,"245":206,"83":43264,"24":36,"16":403816033510490112,"44":-3220707021127522304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 10:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988381184001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403816033510490112,"km_value":403816033510490.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3220707021127522304,"description":"Unknown IO ID 44"} 
[2026-09-10 10:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988381184001,"power":27767,"geofence_id":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3220707021127522304}} 
[2026-09-10 10:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":176405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:43:53] local.INFO: GPS data processed {"connection_id":176405,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:43:53] local.INFO: Acknowledgment sent {"connection_id":176405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:44:05] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ba8af8012d19cf40072018780029014625..."} 
[2026-09-10 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ba8af8012d19cf40072018780029014625..."} 
[2026-09-10 10:44:05] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ba8af8012d19cf40072018780029014625..."} 
[2026-09-10 10:44:05] local.INFO: Packet analysis {"connection_id":176159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:44:05] local.INFO: Extracted packet for processing {"connection_id":176159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ba"} 
[2026-09-10 10:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":41,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-09-10 10:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988371968001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112660301774848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474727424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44: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-09-10 10:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789017099000,"timestamp_ms":1789017099000,"timestamp_seconds":1789017099,"priority":1,"record_length":96,"hex_timestamp":"000001a089ba8af8"} 
[2026-09-10 10:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 10:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:44: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-09-10 10:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988371968001,"66":12613,"101":206,"83":41984,"24":0,"16":19112660301774848,"45":1859775570474727424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988371968001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:44:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112660301774848,"km_value":19112660301774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474727424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988371968001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859775570474727424}} 
[2026-09-10 10:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":176159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:44:05] local.INFO: GPS data processed {"connection_id":176159,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:44:05] local.INFO: Acknowledgment sent {"connection_id":176159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:44:17] local.INFO: TCP Data received {"connection_id":178955,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:17] local.INFO: Processing buffer {"connection_id":178955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:17] local.INFO: IMEI packet received {"connection_id":178955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":178955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:44:20] local.INFO: TCP Data received {"connection_id":178955,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:20] local.INFO: Processing buffer {"connection_id":178955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:20] local.INFO: IMEI packet received {"connection_id":178955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":178955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:44:24] local.INFO: TCP Data received {"connection_id":178956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:24] local.INFO: Processing buffer {"connection_id":178956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:24] local.INFO: IMEI packet received {"connection_id":178956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":178956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:44:25] local.INFO: TCP Data received {"connection_id":178956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:25] local.INFO: Processing buffer {"connection_id":178956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:25] local.INFO: IMEI packet received {"connection_id":178956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":178956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:44:27] local.INFO: TCP Data received {"connection_id":178956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:27] local.INFO: Processing buffer {"connection_id":178956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:27] local.INFO: IMEI packet received {"connection_id":178956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":178956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:44:29] local.INFO: TCP Data received {"connection_id":178955,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:29] local.INFO: Processing buffer {"connection_id":178955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:44:29] local.INFO: IMEI packet received {"connection_id":178955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":178955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:44:30] local.INFO: TCP Data received {"connection_id":178955,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bc5018012cd24f40074141d80015012130..."} 
[2026-09-10 10:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bc5018012cd24f40074141d80015012130..."} 
[2026-09-10 10:44:30] local.INFO: Processing buffer {"connection_id":178955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bc5018012cd24f40074141d80015012130..."} 
[2026-09-10 10:44:30] local.INFO: Packet analysis {"connection_id":178955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:44:30] local.INFO: Extracted packet for processing {"connection_id":178955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:44:30] local.INFO: GPS Element Parsed {"raw_longitude":751980352,"raw_latitude":121717208,"longitude_deg":75.1980352,"latitude_deg":12.1717208,"altitude":21,"angle":289,"satellites":48,"speed":14,"hex_longitude":"2cd24f40","hex_latitude":"074141d8","is_valid_coordinates":true} 
[2026-09-10 10:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988405248001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403820715024842752,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3288472121751492608,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789017215000,"timestamp_ms":1789017215000,"timestamp_seconds":1789017215,"priority":1,"record_length":96,"hex_timestamp":"000001a089bc5018"} 
[2026-09-10 10:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:44: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-09-10 10:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988405248001,"66":27800,"110":206,"83":43264,"24":14,"16":403820715024842752,"44":-3288472121751492608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 10:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988405248001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:44:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403820715024842752,"km_value":403820715024842.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3288472121751492608,"description":"Unknown IO ID 44"} 
[2026-09-10 10:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988405248001,"power":27800,"unknown_110":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3288472121751492608}} 
[2026-09-10 10:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":178955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:44:30] local.INFO: GPS data processed {"connection_id":178955,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:44:30] local.INFO: Acknowledgment sent {"connection_id":178955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:44:32] local.INFO: TCP Data received {"connection_id":178956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:32] local.INFO: Processing buffer {"connection_id":178956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:44:32] local.INFO: IMEI packet received {"connection_id":178956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":178956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:44:33] local.INFO: TCP Data received {"connection_id":178956,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089bcc930012d19cdc007201860002e005d26..."} 
[2026-09-10 10:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bcc930012d19cdc007201860002e005d26..."} 
[2026-09-10 10:44:33] local.INFO: Processing buffer {"connection_id":178956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bcc930012d19cdc007201860002e005d26..."} 
[2026-09-10 10:44:33] local.INFO: Packet analysis {"connection_id":178956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:44:33] local.INFO: Extracted packet for processing {"connection_id":178956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119543904,"longitude_deg":75.6665792,"latitude_deg":11.9543904,"altitude":46,"angle":93,"satellites":38,"speed":1,"hex_longitude":"2d19cdc0","hex_latitude":"07201860","is_valid_coordinates":true} 
[2026-09-10 10:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988414464001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112690366545920,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265477632,"note":"Value kept but may cause issues"} 
[2026-09-10 10:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017246000,"timestamp_ms":1789017246000,"timestamp_seconds":1789017246,"priority":1,"record_length":96,"hex_timestamp":"000001a089bcc930"} 
[2026-09-10 10:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 10:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988414464001,"66":14026,"101":206,"83":41984,"24":1,"16":19112690366545920,"45":1859282989265477632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988414464001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:44:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112690366545920,"km_value":19112690366545.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265477632,"description":"Unknown IO ID 45"} 
[2026-09-10 10:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988414464001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1859282989265477632}} 
[2026-09-10 10:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":178956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:44:33] local.INFO: GPS data processed {"connection_id":178956,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:44:33] local.INFO: Acknowledgment sent {"connection_id":178956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:45:01] local.INFO: TCP Data received {"connection_id":178955,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bc57e8012cd24c00074142880015011430..."} 
[2026-09-10 10:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bc57e8012cd24c00074142880015011430..."} 
[2026-09-10 10:45:01] local.INFO: Processing buffer {"connection_id":178955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bc57e8012cd24c00074142880015011430..."} 
[2026-09-10 10:45:01] local.INFO: Packet analysis {"connection_id":178955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:45:01] local.INFO: Extracted packet for processing {"connection_id":178955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:45:01] local.INFO: GPS Element Parsed {"raw_longitude":751979520,"raw_latitude":121717384,"longitude_deg":75.197952,"latitude_deg":12.1717384,"altitude":21,"angle":276,"satellites":48,"speed":19,"hex_longitude":"2cd24c00","hex_latitude":"07414288","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988407040001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403820757974515712,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3292342402680760320,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789017217000,"timestamp_ms":1789017217000,"timestamp_seconds":1789017217,"priority":1,"record_length":96,"hex_timestamp":"000001a089bc57e8"} 
[2026-09-10 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-09-10 10: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-09-10 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:45: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-09-10 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-09-10 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-09-10 10:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":178955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":178955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":178955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:45: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-09-10 10:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988407040001,"66":27789,"110":206,"83":43264,"24":19,"16":403820757974515712,"44":-3292342402680760320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 10:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988407040001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:45:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403820757974515712,"km_value":403820757974515.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3292342402680760320,"description":"Unknown IO ID 44"} 
[2026-09-10 10:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988407040001,"power":27789,"unknown_110":206,"unknown_83":43264,"ignition":19,"odometer":null,"unknown_44":-3292342402680760320}} 
[2026-09-10 10:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":178955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:45:02] local.INFO: GPS data processed {"connection_id":178955,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:45:02] local.INFO: Acknowledgment sent {"connection_id":178955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:45:04] local.INFO: TCP Data received {"connection_id":178956,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089bcd100012d19cdc007201890002e002526..."} 
[2026-09-10 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bcd100012d19cdc007201890002e002526..."} 
[2026-09-10 10:45:04] local.INFO: Processing buffer {"connection_id":178956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bcd100012d19cdc007201890002e002526..."} 
[2026-09-10 10:45:04] local.INFO: Packet analysis {"connection_id":178956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:45:04] local.INFO: Extracted packet for processing {"connection_id":178956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119543952,"longitude_deg":75.6665792,"latitude_deg":11.9543952,"altitude":46,"angle":37,"satellites":38,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201890","is_valid_coordinates":true} 
[2026-09-10 10:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988414976001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112690366545920,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009655296,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789017248000,"timestamp_ms":1789017248000,"timestamp_seconds":1789017248,"priority":1,"record_length":96,"hex_timestamp":"000001a089bcd100"} 
[2026-09-10 10:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 10:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988414976001,"66":14265,"101":206,"83":41984,"24":0,"16":19112690366545920,"45":1859353358009655296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988414976001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:45:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112690366545920,"km_value":19112690366545.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009655296,"description":"Unknown IO ID 45"} 
[2026-09-10 10:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988414976001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859353358009655296}} 
[2026-09-10 10:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":178956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:45:04] local.INFO: GPS data processed {"connection_id":178956,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:45:04] local.INFO: Acknowledgment sent {"connection_id":178956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:45:17] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:17] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:17] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:45:19] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:19] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:19] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:45:25] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:25] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:45:25] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:45:26] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bc5fb8012cd247c007414360001501202f..."} 
[2026-09-10 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bc5fb8012cd247c007414360001501202f..."} 
[2026-09-10 10:45:26] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bc5fb8012cd247c007414360001501202f..."} 
[2026-09-10 10:45:26] local.INFO: Packet analysis {"connection_id":176406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:45:26] local.INFO: Extracted packet for processing {"connection_id":176406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bc"} 
[2026-09-10 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":751978432,"raw_latitude":121717600,"longitude_deg":75.1978432,"latitude_deg":12.17176,"altitude":21,"angle":288,"satellites":47,"speed":22,"hex_longitude":"2cd247c0","hex_latitude":"07414360","is_valid_coordinates":true} 
[2026-09-10 10:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988407552001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403820809514123264,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3293257196355024896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789017219000,"timestamp_ms":1789017219000,"timestamp_seconds":1789017219,"priority":1,"record_length":96,"hex_timestamp":"000001a089bc5fb8"} 
[2026-09-10 10:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 10:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988407552001,"66":27800,"110":206,"83":43264,"24":22,"16":403820809514123264,"44":-3293257196355024896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 10:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988407552001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:45:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 10:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403820809514123264,"km_value":403820809514123.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:45:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3293257196355024896,"description":"Unknown IO ID 44"} 
[2026-09-10 10:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988407552001,"power":27800,"unknown_110":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3293257196355024896}} 
[2026-09-10 10:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":176406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:45:26] local.INFO: GPS data processed {"connection_id":176406,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:45:26] local.INFO: Acknowledgment sent {"connection_id":176406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:45:27] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:27] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:27] local.INFO: IMEI packet received {"connection_id":176160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":176160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:45:29] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:29] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:29] local.INFO: IMEI packet received {"connection_id":176160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":176160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:45:31] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:31] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:45:31] local.INFO: IMEI packet received {"connection_id":176160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":176160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:45:32] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089bdb390012d1a4480071fe7a00031006825..."} 
[2026-09-10 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bdb390012d1a4480071fe7a00031006825..."} 
[2026-09-10 10:45:32] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bdb390012d1a4480071fe7a00031006825..."} 
[2026-09-10 10:45:32] local.INFO: Packet analysis {"connection_id":176160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:45:32] local.INFO: Extracted packet for processing {"connection_id":176160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756696192,"raw_latitude":119531424,"longitude_deg":75.6696192,"latitude_deg":11.9531424,"altitude":49,"angle":104,"satellites":37,"speed":41,"hex_longitude":"2d1a4480","hex_latitude":"071fe7a0","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988428032001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19114318159151104,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882434306097369088,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789017306000,"timestamp_ms":1789017306000,"timestamp_seconds":1789017306,"priority":1,"record_length":96,"hex_timestamp":"000001a089bdb390"} 
[2026-09-10 10:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 10:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988428032001,"66":14298,"101":206,"83":41984,"24":41,"16":19114318159151104,"45":1882434306097369088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988428032001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19114318159151104,"km_value":19114318159151.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882434306097369088,"description":"Unknown IO ID 45"} 
[2026-09-10 10:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988428032001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1882434306097369088}} 
[2026-09-10 10:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":176160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:45:32] local.INFO: GPS data processed {"connection_id":176160,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:45:32] local.INFO: Acknowledgment sent {"connection_id":176160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:45:32] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089bdbb60012d1a4bc0071fe4d00031007425..."} 
[2026-09-10 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bdbb60012d1a4bc0071fe4d00031007425..."} 
[2026-09-10 10:45:32] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bdbb60012d1a4bc0071fe4d00031007425..."} 
[2026-09-10 10:45:32] local.INFO: Packet analysis {"connection_id":176160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:45:32] local.INFO: Extracted packet for processing {"connection_id":176160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756698048,"raw_latitude":119530704,"longitude_deg":75.6698048,"latitude_deg":11.9530704,"altitude":49,"angle":116,"satellites":37,"speed":39,"hex_longitude":"2d1a4bc0","hex_latitude":"071fe4d0","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988430336001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19114412648431616,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892778511490850816,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789017308000,"timestamp_ms":1789017308000,"timestamp_seconds":1789017308,"priority":1,"record_length":96,"hex_timestamp":"000001a089bdbb60"} 
[2026-09-10 10:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 10:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988430336001,"66":14211,"101":206,"83":41984,"24":39,"16":19114412648431616,"45":1892778511490850816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988430336001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19114412648431616,"km_value":19114412648431.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892778511490850816,"description":"Unknown IO ID 45"} 
[2026-09-10 10:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988430336001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1892778511490850816}} 
[2026-09-10 10:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:45:33] local.INFO: GPS data processed {"connection_id":176160,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:45:33] local.INFO: Acknowledgment sent {"connection_id":176160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:45:57] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bd9c20012cd12e80074239800017013f2e..."} 
[2026-09-10 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bd9c20012cd12e80074239800017013f2e..."} 
[2026-09-10 10:45:57] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bd9c20012cd12e80074239800017013f2e..."} 
[2026-09-10 10:45:57] local.INFO: Packet analysis {"connection_id":176406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:45:57] local.INFO: Extracted packet for processing {"connection_id":176406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:45:57] local.INFO: GPS Element Parsed {"raw_longitude":751906432,"raw_latitude":121780608,"longitude_deg":75.1906432,"latitude_deg":12.1780608,"altitude":23,"angle":319,"satellites":46,"speed":57,"hex_longitude":"2cd12e80","hex_latitude":"07423980","is_valid_coordinates":true} 
[2026-09-10 10:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988427008001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403825482438541312,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3366299952797235200,"note":"Value kept but may cause issues"} 
[2026-09-10 10:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789017300000,"timestamp_ms":1789017300000,"timestamp_seconds":1789017300,"priority":1,"record_length":96,"hex_timestamp":"000001a089bd9c20"} 
[2026-09-10 10:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988427008001,"66":27821,"78":206,"83":43264,"24":57,"16":403825482438541312,"44":-3366299952797235200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,44]} 
[2026-09-10 10:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988427008001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:45:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-10 10:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403825482438541312,"km_value":403825482438541.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:45:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3366299952797235200,"description":"Unknown IO ID 44"} 
[2026-09-10 10:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988427008001,"power":27821,"unknown_78":206,"unknown_83":43264,"ignition":57,"odometer":null,"unknown_44":-3366299952797235200}} 
[2026-09-10 10:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":176406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:45:57] local.INFO: GPS data processed {"connection_id":176406,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:45:57] local.INFO: Acknowledgment sent {"connection_id":176406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:46:03] local.INFO: TCP Data received {"connection_id":176160,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089bdd2d0012d1a5f80071fdbb00034006525..."} 
[2026-09-10 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bdd2d0012d1a5f80071fdbb00034006525..."} 
[2026-09-10 10:46:03] local.INFO: Processing buffer {"connection_id":176160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bdd2d0012d1a5f80071fdbb00034006525..."} 
[2026-09-10 10:46:03] local.INFO: Packet analysis {"connection_id":176160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:46:03] local.INFO: Extracted packet for processing {"connection_id":176160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756703104,"raw_latitude":119528368,"longitude_deg":75.6703104,"latitude_deg":11.9528368,"altitude":52,"angle":101,"satellites":37,"speed":33,"hex_longitude":"2d1a5f80","hex_latitude":"071fdbb0","is_valid_coordinates":true} 
[2026-09-10 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988430848001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19114678936403968,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894819205071818752,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789017314000,"timestamp_ms":1789017314000,"timestamp_seconds":1789017314,"priority":1,"record_length":96,"hex_timestamp":"000001a089bdd2d0"} 
[2026-09-10 10:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 10:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988430848001,"66":14298,"101":206,"83":41984,"24":33,"16":19114678936403968,"45":1894819205071818752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988430848001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:46:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19114678936403968,"km_value":19114678936403.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894819205071818752,"description":"Unknown IO ID 45"} 
[2026-09-10 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988430848001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1894819205071818752}} 
[2026-09-10 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":176160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:46:03] local.INFO: GPS data processed {"connection_id":176160,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:46:03] local.INFO: Acknowledgment sent {"connection_id":176160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:46:29] local.INFO: TCP Data received {"connection_id":177577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:29] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:29] local.INFO: IMEI packet received {"connection_id":177577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":177577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:46:29] local.INFO: TCP Data received {"connection_id":178957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:46:30] local.INFO: Processing buffer {"connection_id":178957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:46:30] local.INFO: IMEI packet received {"connection_id":178957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":178957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:46:30] local.INFO: TCP Data received {"connection_id":178957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:46:30] local.INFO: Processing buffer {"connection_id":178957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:46:30] local.INFO: IMEI packet received {"connection_id":178957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":178957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:46:30] local.INFO: TCP Data received {"connection_id":177577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:30] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:30] local.INFO: IMEI packet received {"connection_id":177577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":177577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:46:31] local.INFO: TCP Data received {"connection_id":178957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bdb778012cd1128007425598001601362d..."} 
[2026-09-10 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bdb778012cd1128007425598001601362d..."} 
[2026-09-10 10:46:31] local.INFO: Processing buffer {"connection_id":178957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bdb778012cd1128007425598001601362d..."} 
[2026-09-10 10:46:31] local.INFO: Packet analysis {"connection_id":178957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:46:31] local.INFO: Extracted packet for processing {"connection_id":178957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:46:31] local.INFO: GPS Element Parsed {"raw_longitude":751899264,"raw_latitude":121787800,"longitude_deg":75.1899264,"latitude_deg":12.17878,"altitude":22,"angle":310,"satellites":45,"speed":58,"hex_longitude":"2cd11280","hex_latitude":"07425598","is_valid_coordinates":true} 
[2026-09-10 10:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988428800001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403825967769845760,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3373618302189731840,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789017307000,"timestamp_ms":1789017307000,"timestamp_seconds":1789017307,"priority":1,"record_length":96,"hex_timestamp":"000001a089bdb778"} 
[2026-09-10 10:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:46: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-09-10 10:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":178957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":178957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":178957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988428800001,"66":27821,"79":206,"83":43264,"24":58,"16":403825967769845760,"44":-3373618302189731840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 10:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988428800001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:46:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 10:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403825967769845760,"km_value":403825967769845.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3373618302189731840,"description":"Unknown IO ID 44"} 
[2026-09-10 10:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988428800001,"power":27821,"unknown_79":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3373618302189731840}} 
[2026-09-10 10:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":178957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:46:31] local.INFO: GPS data processed {"connection_id":178957,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:46:31] local.INFO: Acknowledgment sent {"connection_id":178957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:46:31] local.INFO: TCP Data received {"connection_id":177577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:31] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:46:31] local.INFO: IMEI packet received {"connection_id":177577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":177577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:46:32] local.INFO: TCP Data received {"connection_id":178957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bdd2d0012cd0f28007426e78001601342e..."} 
[2026-09-10 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bdd2d0012cd0f28007426e78001601342e..."} 
[2026-09-10 10:46:32] local.INFO: Processing buffer {"connection_id":178957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bdd2d0012cd0f28007426e78001601342e..."} 
[2026-09-10 10:46:32] local.INFO: Packet analysis {"connection_id":178957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:46:32] local.INFO: Extracted packet for processing {"connection_id":178957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":751891072,"raw_latitude":121794168,"longitude_deg":75.1891072,"latitude_deg":12.1794168,"altitude":22,"angle":308,"satellites":46,"speed":58,"hex_longitude":"2cd0f280","hex_latitude":"07426e78","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988430592001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403826461691084800,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3381499601535789056,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789017314000,"timestamp_ms":1789017314000,"timestamp_seconds":1789017314,"priority":1,"record_length":96,"hex_timestamp":"000001a089bdd2d0"} 
[2026-09-10 10:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:46: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-09-10 10: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-09-10 10:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:46: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-09-10 10:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988430592001,"66":27865,"79":206,"83":43264,"24":58,"16":403826461691084800,"44":-3381499601535789056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 10:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988430592001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403826461691084800,"km_value":403826461691084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3381499601535789056,"description":"Unknown IO ID 44"} 
[2026-09-10 10:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988430592001,"power":27865,"unknown_79":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3381499601535789056}} 
[2026-09-10 10:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":178957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:46:32] local.INFO: GPS data processed {"connection_id":178957,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:46:32] local.INFO: Acknowledgment sent {"connection_id":178957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:46:32] local.INFO: TCP Data received {"connection_id":177577,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089be72f8012d1ac6c0071f8a78003800ae25..."} 
[2026-09-10 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089be72f8012d1ac6c0071f8a78003800ae25..."} 
[2026-09-10 10:46:32] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089be72f8012d1ac6c0071f8a78003800ae25..."} 
[2026-09-10 10:46:32] local.INFO: Packet analysis {"connection_id":177577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089be"} 
[2026-09-10 10:46:32] local.INFO: Extracted packet for processing {"connection_id":177577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089be"} 
[2026-09-10 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119507576,"longitude_deg":75.6729536,"latitude_deg":11.9507576,"altitude":56,"angle":174,"satellites":37,"speed":26,"hex_longitude":"2d1ac6c0","hex_latitude":"071f8a78","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988442624001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19116384038420480,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889713117184,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789017355000,"timestamp_ms":1789017355000,"timestamp_seconds":1789017355,"priority":1,"record_length":96,"hex_timestamp":"000001a089be72f8"} 
[2026-09-10 10:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 10:46: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-09-10 10: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-09-10 10:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988442624001,"66":14048,"101":206,"83":41984,"24":26,"16":19116384038420480,"45":1929299889713117184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988442624001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19116384038420480,"km_value":19116384038420.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889713117184,"description":"Unknown IO ID 45"} 
[2026-09-10 10:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988442624001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1929299889713117184}} 
[2026-09-10 10:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":177577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:46:32] local.INFO: GPS data processed {"connection_id":177577,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:46:32] local.INFO: Acknowledgment sent {"connection_id":177577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:46:33] local.INFO: TCP Data received {"connection_id":177577,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089be76e0012d1ac640071f8788003800b925..."} 
[2026-09-10 10:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089be76e0012d1ac640071f8788003800b925..."} 
[2026-09-10 10:46:33] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089be76e0012d1ac640071f8788003800b925..."} 
[2026-09-10 10:46:33] local.INFO: Packet analysis {"connection_id":177577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089be"} 
[2026-09-10 10:46:33] local.INFO: Extracted packet for processing {"connection_id":177577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089be"} 
[2026-09-10 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119506824,"longitude_deg":75.6729408,"latitude_deg":11.9506824,"altitude":56,"angle":185,"satellites":37,"speed":29,"hex_longitude":"2d1ac640","hex_latitude":"071f8788","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988442880001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19116418398158848,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929440627201308672,"note":"Value kept but may cause issues"} 
[2026-09-10 10:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017356000,"timestamp_ms":1789017356000,"timestamp_seconds":1789017356,"priority":1,"record_length":96,"hex_timestamp":"000001a089be76e0"} 
[2026-09-10 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-09-10 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 10:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988442880001,"66":14048,"101":206,"83":41984,"24":29,"16":19116418398158848,"45":1929440627201308672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988442880001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:46:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19116418398158848,"km_value":19116418398158.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929440627201308672,"description":"Unknown IO ID 45"} 
[2026-09-10 10:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988442880001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1929440627201308672}} 
[2026-09-10 10:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":177577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:46:33] local.INFO: GPS data processed {"connection_id":177577,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:46:33] local.INFO: Acknowledgment sent {"connection_id":177577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:47:03] local.INFO: TCP Data received {"connection_id":178957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bdea40012cd0d70007428440001501332f..."} 
[2026-09-10 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bdea40012cd0d70007428440001501332f..."} 
[2026-09-10 10:47:03] local.INFO: Processing buffer {"connection_id":178957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bdea40012cd0d70007428440001501332f..."} 
[2026-09-10 10:47:03] local.INFO: Packet analysis {"connection_id":178957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:47:03] local.INFO: Extracted packet for processing {"connection_id":178957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bd"} 
[2026-09-10 10:47:03] local.INFO: GPS Element Parsed {"raw_longitude":751884032,"raw_latitude":121799744,"longitude_deg":75.1884032,"latitude_deg":12.1799744,"altitude":21,"angle":307,"satellites":47,"speed":59,"hex_longitude":"2cd0d700","hex_latitude":"07428440","is_valid_coordinates":true} 
[2026-09-10 10:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988432384001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403826895482781696,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3390506800788899840,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789017320000,"timestamp_ms":1789017320000,"timestamp_seconds":1789017320,"priority":1,"record_length":96,"hex_timestamp":"000001a089bdea40"} 
[2026-09-10 10:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:47: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-09-10 10:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":178957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":178957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":178957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:47: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-09-10 10:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988432384001,"66":27843,"79":206,"83":43264,"24":59,"16":403826895482781696,"44":-3390506800788899840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 10:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988432384001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:47:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 10:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403826895482781696,"km_value":403826895482781.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3390506800788899840,"description":"Unknown IO ID 44"} 
[2026-09-10 10:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988432384001,"power":27843,"unknown_79":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3390506800788899840}} 
[2026-09-10 10:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":178957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:47:03] local.INFO: GPS data processed {"connection_id":178957,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:47:03] local.INFO: Acknowledgment sent {"connection_id":178957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:47:04] local.INFO: TCP Data received {"connection_id":177577,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089bf2e78012d1af740071f3f600043008e21..."} 
[2026-09-10 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bf2e78012d1af740071f3f600043008e21..."} 
[2026-09-10 10:47:04] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bf2e78012d1af740071f3f600043008e21..."} 
[2026-09-10 10:47:04] local.INFO: Packet analysis {"connection_id":177577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:47:04] local.INFO: Extracted packet for processing {"connection_id":177577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756741952,"raw_latitude":119488352,"longitude_deg":75.6741952,"latitude_deg":11.9488352,"altitude":67,"angle":142,"satellites":33,"speed":22,"hex_longitude":"2d1af740","hex_latitude":"071f3f60","is_valid_coordinates":true} 
[2026-09-10 10:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988454656001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19118059075665920,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942107001148559360,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789017403000,"timestamp_ms":1789017403000,"timestamp_seconds":1789017403,"priority":1,"record_length":96,"hex_timestamp":"000001a089bf2e78"} 
[2026-09-10 10:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2310982864,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3944087552,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250114590383498104,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3201605633,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":6129399346265728256,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":55,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-5940246615268163577,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,235,160,34,45,128,67,65,33,10,66,243,192,64,62,35,216,1,240,250,227,137,31,4,113,205,208,187,37,239,55,2,7,63,15,190,32,120],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-10 10:47:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755931090610683904,"timestamp_seconds":4755931090610684.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 10:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988454656001,"66":14374,"101":206,"83":41984,"24":22,"16":19118059075665920,"45":1942107001148559360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988454656001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:47:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19118059075665920,"km_value":19118059075665.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942107001148559360,"description":"Unknown IO ID 45"} 
[2026-09-10 10:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988454656001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1942107001148559360}} 
[2026-09-10 10:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":177577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:47:04] local.INFO: GPS data processed {"connection_id":177577,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:47:04] local.INFO: Acknowledgment sent {"connection_id":177577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:47:18] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:18] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:18] local.INFO: IMEI packet received {"connection_id":176407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":176407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:47:19] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:19] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:19] local.INFO: IMEI packet received {"connection_id":176407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":176407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:47:24] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:25] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:47:25] local.INFO: IMEI packet received {"connection_id":176407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":176407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:47:25] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089be01b0012cd0ba0007429948001401332f..."} 
[2026-09-10 10:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089be01b0012cd0ba0007429948001401332f..."} 
[2026-09-10 10:47:25] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089be01b0012cd0ba0007429948001401332f..."} 
[2026-09-10 10:47:25] local.INFO: Packet analysis {"connection_id":176407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089be"} 
[2026-09-10 10:47:25] local.INFO: Extracted packet for processing {"connection_id":176407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089be"} 
[2026-09-10 10:47:25] local.INFO: GPS Element Parsed {"raw_longitude":751876608,"raw_latitude":121805128,"longitude_deg":75.1876608,"latitude_deg":12.1805128,"altitude":20,"angle":307,"satellites":47,"speed":60,"hex_longitude":"2cd0ba00","hex_latitude":"07429948","is_valid_coordinates":true} 
[2026-09-10 10:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988433920001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403827333569445888,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3398247362647015424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017326000,"timestamp_ms":1789017326000,"timestamp_seconds":1789017326,"priority":1,"record_length":96,"hex_timestamp":"000001a089be01b0"} 
[2026-09-10 10:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988433920001,"66":27865,"79":206,"83":43264,"24":60,"16":403827333569445888,"44":-3398247362647015424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 10:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988433920001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:47:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 10:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 10:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403827333569445888,"km_value":403827333569445.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3398247362647015424,"description":"Unknown IO ID 44"} 
[2026-09-10 10:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988433920001,"power":27865,"unknown_79":206,"unknown_83":43264,"ignition":60,"odometer":null,"unknown_44":-3398247362647015424}} 
[2026-09-10 10:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":176407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:47:25] local.INFO: GPS data processed {"connection_id":176407,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:47:25] local.INFO: Acknowledgment sent {"connection_id":176407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:47:27] local.INFO: TCP Data received {"connection_id":178958,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:47:27] local.INFO: Processing buffer {"connection_id":178958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:47:27] local.INFO: IMEI packet received {"connection_id":178958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":178958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:47:32] local.INFO: TCP Data received {"connection_id":178958,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:47:32] local.INFO: Processing buffer {"connection_id":178958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:47:32] local.INFO: IMEI packet received {"connection_id":178958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":178958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:47:36] local.INFO: TCP Data received {"connection_id":178958,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089bf3648012d1af980071f3b480043009a23..."} 
[2026-09-10 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bf3648012d1af980071f3b480043009a23..."} 
[2026-09-10 10:47:36] local.INFO: Processing buffer {"connection_id":178958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bf3648012d1af980071f3b480043009a23..."} 
[2026-09-10 10:47:36] local.INFO: Packet analysis {"connection_id":178958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:47:36] local.INFO: Extracted packet for processing {"connection_id":178958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756742528,"raw_latitude":119487304,"longitude_deg":75.6742528,"latitude_deg":11.9487304,"altitude":67,"angle":154,"satellites":35,"speed":25,"hex_longitude":"2d1af980","hex_latitude":"071f3b48","is_valid_coordinates":true} 
[2026-09-10 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988455168001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19118119205208064,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943092163566854144,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47: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-09-10 10:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789017405000,"timestamp_ms":1789017405000,"timestamp_seconds":1789017405,"priority":1,"record_length":96,"hex_timestamp":"000001a089bf3648"} 
[2026-09-10 10:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 10:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:47: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-09-10 10:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988455168001,"66":14374,"101":206,"83":41984,"24":25,"16":19118119205208064,"45":1943092163566854144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988455168001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:47:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19118119205208064,"km_value":19118119205208.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943092163566854144,"description":"Unknown IO ID 45"} 
[2026-09-10 10:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988455168001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1943092163566854144}} 
[2026-09-10 10:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":178958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:47:36] local.INFO: GPS data processed {"connection_id":178958,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:47:36] local.INFO: Acknowledgment sent {"connection_id":178958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:47:56] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bf9020012ccf054007440ce80011012b2e..."} 
[2026-09-10 10:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bf9020012ccf054007440ce80011012b2e..."} 
[2026-09-10 10:47:56] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bf9020012ccf054007440ce80011012b2e..."} 
[2026-09-10 10:47:56] local.INFO: Packet analysis {"connection_id":176407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:47:56] local.INFO: Extracted packet for processing {"connection_id":176407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:47:56] local.INFO: GPS Element Parsed {"raw_longitude":751764800,"raw_latitude":121900264,"longitude_deg":75.17648,"latitude_deg":12.1900264,"altitude":17,"angle":299,"satellites":46,"speed":57,"hex_longitude":"2ccf0540","hex_latitude":"07440ce8","is_valid_coordinates":true} 
[2026-09-10 10:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988460800001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403834428855418880,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3525262945862615040,"note":"Value kept but may cause issues"} 
[2026-09-10 10:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789017428000,"timestamp_ms":1789017428000,"timestamp_seconds":1789017428,"priority":1,"record_length":96,"hex_timestamp":"000001a089bf9020"} 
[2026-09-10 10:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988460800001,"66":27767,"142":206,"85":37632,"24":57,"16":403834428855418880,"44":-3525262945862615040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-09-10 10:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988460800001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:47:56] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-10 10:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403834428855418880,"km_value":403834428855418.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3525262945862615040,"description":"Unknown IO ID 44"} 
[2026-09-10 10:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988460800001,"power":27767,"unknown_142":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3525262945862615040}} 
[2026-09-10 10:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":176407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:47:56] local.INFO: GPS data processed {"connection_id":176407,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:47:56] local.INFO: Acknowledgment sent {"connection_id":176407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:47:59] local.INFO: TCP Data received {"connection_id":178959,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:47:59] local.INFO: Processing buffer {"connection_id":178959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 10:47:59] local.INFO: IMEI packet received {"connection_id":178959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 10:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":178959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:48:19] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:19] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:19] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:48:22] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:22] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:22] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:48:24] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:24] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:48:24] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:48:25] local.INFO: TCP Data received {"connection_id":178958,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c014f0012d1b28c0071ee948004c008f24..."} 
[2026-09-10 10:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c014f0012d1b28c0071ee948004c008f24..."} 
[2026-09-10 10:48:25] local.INFO: Processing buffer {"connection_id":178958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c014f0012d1b28c0071ee948004c008f24..."} 
[2026-09-10 10:48:25] local.INFO: Packet analysis {"connection_id":178958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:48:25] local.INFO: Extracted packet for processing {"connection_id":178958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:48:25] local.INFO: GPS Element Parsed {"raw_longitude":756754624,"raw_latitude":119466312,"longitude_deg":75.6754624,"latitude_deg":11.9466312,"altitude":76,"angle":143,"satellites":36,"speed":21,"hex_longitude":"2d1b28c0","hex_latitude":"071ee948","is_valid_coordinates":true} 
[2026-09-10 10:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988469760001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19119600968925184,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956251118722627584,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017462000,"timestamp_ms":1789017462000,"timestamp_seconds":1789017462,"priority":1,"record_length":96,"hex_timestamp":"000001a089c014f0"} 
[2026-09-10 10:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 10:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988469760001,"66":11721,"101":206,"83":41984,"24":21,"16":19119600968925184,"45":1956251118722627584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988469760001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19119600968925184,"km_value":19119600968925.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956251118722627584,"description":"Unknown IO ID 45"} 
[2026-09-10 10:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988469760001,"power":11721,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1956251118722627584}} 
[2026-09-10 10:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":178958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:48:25] local.INFO: GPS data processed {"connection_id":178958,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:48:25] local.INFO: Acknowledgment sent {"connection_id":178958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:48:25] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bf9fc0012ccef040074415d80010011e2f..."} 
[2026-09-10 10:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bf9fc0012ccef040074415d80010011e2f..."} 
[2026-09-10 10:48:25] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bf9fc0012ccef040074415d80010011e2f..."} 
[2026-09-10 10:48:25] local.INFO: Packet analysis {"connection_id":176161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:48:25] local.INFO: Extracted packet for processing {"connection_id":176161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:48:25] local.INFO: GPS Element Parsed {"raw_longitude":751759424,"raw_latitude":121902552,"longitude_deg":75.1759424,"latitude_deg":12.1902552,"altitude":16,"angle":286,"satellites":47,"speed":58,"hex_longitude":"2ccef040","hex_latitude":"074415d8","is_valid_coordinates":true} 
[2026-09-10 10:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988461568001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403834708028293120,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3529344333024270336,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017432000,"timestamp_ms":1789017432000,"timestamp_seconds":1789017432,"priority":1,"record_length":96,"hex_timestamp":"000001a089bf9fc0"} 
[2026-09-10 10:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988461568001,"66":27843,"142":206,"85":37632,"24":58,"16":403834708028293120,"44":-3529344333024270336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-09-10 10:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988461568001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403834708028293120,"km_value":403834708028293.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:48:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3529344333024270336,"description":"Unknown IO ID 44"} 
[2026-09-10 10:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988461568001,"power":27843,"unknown_142":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3529344333024270336}} 
[2026-09-10 10:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":176161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:48:25] local.INFO: GPS data processed {"connection_id":176161,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:48:26] local.INFO: Acknowledgment sent {"connection_id":176161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:48:39] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:48:39] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:48:39] local.INFO: IMEI packet received {"connection_id":176408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":176408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:48:43] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:48:43] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:48:43] local.INFO: IMEI packet received {"connection_id":176408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":176408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:48:44] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c02490012d1b2d80071ee328004a008224..."} 
[2026-09-10 10:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c02490012d1b2d80071ee328004a008224..."} 
[2026-09-10 10:48:44] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c02490012d1b2d80071ee328004a008224..."} 
[2026-09-10 10:48:44] local.INFO: Packet analysis {"connection_id":176408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:48:44] local.INFO: Extracted packet for processing {"connection_id":176408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756755840,"raw_latitude":119464744,"longitude_deg":75.675584,"latitude_deg":11.9464744,"altitude":74,"angle":130,"satellites":36,"speed":15,"hex_longitude":"2d1b2d80","hex_latitude":"071ee328","is_valid_coordinates":true} 
[2026-09-10 10:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988470272001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19119699753172992,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957025174908389376,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789017466000,"timestamp_ms":1789017466000,"timestamp_seconds":1789017466,"priority":1,"record_length":96,"hex_timestamp":"000001a089c02490"} 
[2026-09-10 10:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 10:48:44] 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-09-10 10:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988470272001,"66":12939,"101":206,"83":41984,"24":15,"16":19119699753172992,"45":1957025174908389376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988470272001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:48:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19119699753172992,"km_value":19119699753172.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957025174908389376,"description":"Unknown IO ID 45"} 
[2026-09-10 10:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988470272001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1957025174908389376}} 
[2026-09-10 10:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":176408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:48:44] local.INFO: GPS data processed {"connection_id":176408,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:48:44] local.INFO: Acknowledgment sent {"connection_id":176408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:48:47] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c02c60012d1b2f80071ee1a00049007722..."} 
[2026-09-10 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c02c60012d1b2f80071ee1a00049007722..."} 
[2026-09-10 10:48:47] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c02c60012d1b2f80071ee1a00049007722..."} 
[2026-09-10 10:48:47] local.INFO: Packet analysis {"connection_id":176408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:48:47] local.INFO: Extracted packet for processing {"connection_id":176408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756756352,"raw_latitude":119464352,"longitude_deg":75.6756352,"latitude_deg":11.9464352,"altitude":73,"angle":119,"satellites":34,"speed":9,"hex_longitude":"2d1b2f80","hex_latitude":"071ee1a0","is_valid_coordinates":true} 
[2026-09-10 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988471296001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19119729817944064,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958362181047363584,"note":"Value kept but may cause issues"} 
[2026-09-10 10:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789017468000,"timestamp_ms":1789017468000,"timestamp_seconds":1789017468,"priority":1,"record_length":96,"hex_timestamp":"000001a089c02c60"} 
[2026-09-10 10:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:48: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-09-10 10:48: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-09-10 10:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988471296001,"66":12852,"101":206,"83":41984,"24":9,"16":19119729817944064,"45":1958362181047363584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988471296001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:48:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19119729817944064,"km_value":19119729817944.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958362181047363584,"description":"Unknown IO ID 45"} 
[2026-09-10 10:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988471296001,"power":12852,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1958362181047363584}} 
[2026-09-10 10:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":176408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:48:47] local.INFO: GPS data processed {"connection_id":176408,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:48:47] local.INFO: Acknowledgment sent {"connection_id":176408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:49:00] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089bfaf60012cced94007441948001001102d..."} 
[2026-09-10 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089bfaf60012cced94007441948001001102d..."} 
[2026-09-10 10:49:00] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089bfaf60012cced94007441948001001102d..."} 
[2026-09-10 10:49:00] local.INFO: Packet analysis {"connection_id":176161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:49:00] local.INFO: Extracted packet for processing {"connection_id":176161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089bf"} 
[2026-09-10 10:49:00] local.INFO: GPS Element Parsed {"raw_longitude":751753536,"raw_latitude":121903432,"longitude_deg":75.1753536,"latitude_deg":12.1903432,"altitude":16,"angle":272,"satellites":45,"speed":58,"hex_longitude":"2cced940","hex_latitude":"07441948","is_valid_coordinates":true} 
[2026-09-10 10:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988462592001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403834991496134656,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3535255307534608384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789017436000,"timestamp_ms":1789017436000,"timestamp_seconds":1789017436,"priority":1,"record_length":96,"hex_timestamp":"000001a089bfaf60"} 
[2026-09-10 10:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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-09-10 10: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-09-10 10: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-09-10 10:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988462592001,"66":27745,"143":206,"85":37632,"24":58,"16":403834991496134656,"44":-3535255307534608384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-10 10:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988462592001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:49:00] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 10:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403834991496134656,"km_value":403834991496134.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3535255307534608384,"description":"Unknown IO ID 44"} 
[2026-09-10 10:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988462592001,"power":27745,"unknown_143":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3535255307534608384}} 
[2026-09-10 10:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":176161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:49:00] local.INFO: GPS data processed {"connection_id":176161,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:49:00] local.INFO: Acknowledgment sent {"connection_id":176161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:49:25] local.INFO: TCP Data received {"connection_id":178960,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:49:25] local.INFO: Processing buffer {"connection_id":178960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:49:25] local.INFO: IMEI packet received {"connection_id":178960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":178960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:49:25] local.INFO: TCP Data received {"connection_id":178960,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178960,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:49:25] local.INFO: Processing buffer {"connection_id":178960,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:49:25] local.INFO: IMEI packet received {"connection_id":178960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":178960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:49:27] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:49:27] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:49:27] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:49:29] local.INFO: TCP Data received {"connection_id":178960,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:49:29] local.INFO: Processing buffer {"connection_id":178960,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:49:29] local.INFO: IMEI packet received {"connection_id":178960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":178960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:49:30] local.INFO: TCP Data received {"connection_id":178960,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c0b130012ccd8c00074443d0001701352d..."} 
[2026-09-10 10:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c0b130012ccd8c00074443d0001701352d..."} 
[2026-09-10 10:49:30] local.INFO: Processing buffer {"connection_id":178960,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a089..."} 
[2026-09-10 10:49:30] local.INFO: IMEI packet received {"connection_id":178960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":178960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:49:33] local.INFO: TCP Data received {"connection_id":178960,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c0c0d0012ccd7dc0074452a0001601422d..."} 
[2026-09-10 10:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c0c0d0012ccd7dc0074452a0001601422d..."} 
[2026-09-10 10:49:33] local.INFO: Processing buffer {"connection_id":178960,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a089c0b130012ccd8c00074443d0001701352d..."} 
[2026-09-10 10:49:33] local.INFO: Packet analysis {"connection_id":178960,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:33] local.INFO: Extracted packet for processing {"connection_id":178960,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:33] local.INFO: GPS Element Parsed {"raw_longitude":751668224,"raw_latitude":121914320,"longitude_deg":75.1668224,"latitude_deg":12.191432,"altitude":23,"angle":309,"satellites":45,"speed":52,"hex_longitude":"2ccd8c00","hex_latitude":"074443d0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988479488001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403839123254673408,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3630675324637247488,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017502000,"timestamp_ms":1789017502000,"timestamp_seconds":1789017502,"priority":1,"record_length":96,"hex_timestamp":"000001a089c0b130"} 
[2026-09-10 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-09-10 10: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-09-10 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:49: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-09-10 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-09-10 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-09-10 10:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49: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-09-10 10:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988479488001,"66":27745,"231":206,"85":37632,"24":52,"16":403839123254673408,"44":-3630675324637247488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-10 10:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988479488001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403839123254673408,"km_value":403839123254673.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3630675324637247488,"description":"Unknown IO ID 44"} 
[2026-09-10 10:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988479488001,"power":27745,"unknown_231":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3630675324637247488}} 
[2026-09-10 10:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":178960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:49:33] local.INFO: GPS data processed {"connection_id":178960,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:49:33] local.INFO: Acknowledgment sent {"connection_id":178960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:49:33] local.INFO: Packet analysis {"connection_id":178960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:33] local.INFO: Extracted packet for processing {"connection_id":178960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:33] local.INFO: GPS Element Parsed {"raw_longitude":751664576,"raw_latitude":121918112,"longitude_deg":75.1664576,"latitude_deg":12.1918112,"altitude":22,"angle":322,"satellites":45,"speed":52,"hex_longitude":"2ccd7dc0","hex_latitude":"074452a0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988480512001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403839376657743872,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3635530767984766976,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017506000,"timestamp_ms":1789017506000,"timestamp_seconds":1789017506,"priority":1,"record_length":96,"hex_timestamp":"000001a089c0c0d0"} 
[2026-09-10 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-09-10 10: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-09-10 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 10:49: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-09-10 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-09-10 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-09-10 10:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49: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-09-10 10:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988480512001,"66":27800,"231":206,"85":37632,"24":52,"16":403839376657743872,"44":-3635530767984766976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-10 10:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988480512001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403839376657743872,"km_value":403839376657743.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:49:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3635530767984766976,"description":"Unknown IO ID 44"} 
[2026-09-10 10:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988480512001,"power":27800,"unknown_231":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3635530767984766976}} 
[2026-09-10 10:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":178960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:49:33] local.INFO: GPS data processed {"connection_id":178960,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:49:33] local.INFO: Acknowledgment sent {"connection_id":178960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:49:35] local.INFO: TCP Data received {"connection_id":178960,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c0d070012ccd7300074464880015014e2e..."} 
[2026-09-10 10:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c0d070012ccd7300074464880015014e2e..."} 
[2026-09-10 10:49:35] local.INFO: Processing buffer {"connection_id":178960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c0d070012ccd7300074464880015014e2e..."} 
[2026-09-10 10:49:35] local.INFO: Packet analysis {"connection_id":178960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:35] local.INFO: Extracted packet for processing {"connection_id":178960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:35] local.INFO: GPS Element Parsed {"raw_longitude":751661824,"raw_latitude":121922696,"longitude_deg":75.1661824,"latitude_deg":12.1922696,"altitude":21,"angle":334,"satellites":46,"speed":52,"hex_longitude":"2ccd7300","hex_latitude":"07446488","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988481536001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403839634355781632,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3639541786401923072,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789017510000,"timestamp_ms":1789017510000,"timestamp_seconds":1789017510,"priority":1,"record_length":96,"hex_timestamp":"000001a089c0d070"} 
[2026-09-10 10:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:49: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-09-10 10: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-09-10 10:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988481536001,"66":27821,"231":206,"85":37632,"24":52,"16":403839634355781632,"44":-3639541786401923072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-10 10:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988481536001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:49:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 10:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403839634355781632,"km_value":403839634355781.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3639541786401923072,"description":"Unknown IO ID 44"} 
[2026-09-10 10:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988481536001,"power":27821,"unknown_231":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3639541786401923072}} 
[2026-09-10 10:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":178960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:49:35] local.INFO: GPS data processed {"connection_id":178960,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:49:35] local.INFO: Acknowledgment sent {"connection_id":178960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:49:41] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:49:41] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:49:41] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:49:48] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c07a80012d1b3200071ee0400048007623..."} 
[2026-09-10 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c07a80012d1b3200071ee0400048007623..."} 
[2026-09-10 10:49:48] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c07a80012d1b3200071ee0400048007623..."} 
[2026-09-10 10:49:48] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:48] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c0"} 
[2026-09-10 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756756992,"raw_latitude":119464000,"longitude_deg":75.6756992,"latitude_deg":11.9464,"altitude":72,"angle":118,"satellites":35,"speed":0,"hex_longitude":"2d1b3200","hex_latitude":"071ee040","is_valid_coordinates":true} 
[2026-09-10 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988471808001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19119764177682432,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958925131000684544,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:48] 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-09-10 10:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789017488000,"timestamp_ms":1789017488000,"timestamp_seconds":1789017488,"priority":1,"record_length":96,"hex_timestamp":"000001a089c07a80"} 
[2026-09-10 10:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 10:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988471808001,"66":12722,"19":206,"83":41984,"24":0,"16":19119764177682432,"45":1958925131000684544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988471808001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19119764177682432,"km_value":19119764177682.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958925131000684544,"description":"Unknown IO ID 45"} 
[2026-09-10 10:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988471808001,"power":12722,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1958925131000684544}} 
[2026-09-10 10:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:49:48] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:49:48] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:49:48] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c197a8012d1b2f00071ee1a00048012624..."} 
[2026-09-10 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c197a8012d1b2f00071ee1a00048012624..."} 
[2026-09-10 10:49:48] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c197a8012d1b2f00071ee1a00048012624..."} 
[2026-09-10 10:49:48] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c1"} 
[2026-09-10 10:49:48] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c1"} 
[2026-09-10 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756756224,"raw_latitude":119464352,"longitude_deg":75.6756224,"latitude_deg":11.9464352,"altitude":72,"angle":294,"satellites":36,"speed":13,"hex_longitude":"2d1b2f00","hex_latitude":"071ee1a0","is_valid_coordinates":true} 
[2026-09-10 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988495360001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19119875846832128,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499744827392,"note":"Value kept but may cause issues"} 
[2026-09-10 10:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789017561000,"timestamp_ms":1789017561000,"timestamp_seconds":1789017561,"priority":1,"record_length":96,"hex_timestamp":"000001a089c197a8"} 
[2026-09-10 10:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 10:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988495360001,"66":14341,"101":206,"83":41984,"24":13,"16":19119875846832128,"45":1958995499744827392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988495360001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19119875846832128,"km_value":19119875846832.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499744827392,"description":"Unknown IO ID 45"} 
[2026-09-10 10:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988495360001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1958995499744827392}} 
[2026-09-10 10:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:49:49] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:49:49] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:50:20] local.INFO: TCP Data received {"connection_id":178961,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:50:20] local.INFO: Processing buffer {"connection_id":178961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:50:20] local.INFO: IMEI packet received {"connection_id":178961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":178961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:50:25] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:25] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:25] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:50:27] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:27] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:27] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:50:32] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:32] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:50:32] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:50:33] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c1f568012d1b0240071eef40004f015623..."} 
[2026-09-10 10:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c1f568012d1b0240071eef40004f015623..."} 
[2026-09-10 10:50:33] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c1f568012d1b0240071eef40004f015623..."} 
[2026-09-10 10:50:33] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c1"} 
[2026-09-10 10:50:33] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c1"} 
[2026-09-10 10:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756744768,"raw_latitude":119467840,"longitude_deg":75.6744768,"latitude_deg":11.946784,"altitude":79,"angle":342,"satellites":35,"speed":20,"hex_longitude":"2d1b0240","hex_latitude":"071eef40","is_valid_coordinates":true} 
[2026-09-10 10:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988501504001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19120524386893824,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125793644544,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50: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-09-10 10:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017585000,"timestamp_ms":1789017585000,"timestamp_seconds":1789017585,"priority":1,"record_length":96,"hex_timestamp":"000001a089c1f568"} 
[2026-09-10 10:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2311174864,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3251269633,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2684431643,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288170,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3987472384,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,237,160,45,235,77,36,10,66,233,128,234,76,229,64,1,240,22,227,137,30,4,113,205,25,194,239,55,2,67,7,72,21],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-10 10:50:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620849826562441216,"timestamp_seconds":5620849826562441.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 10:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988501504001,"66":14113,"106":206,"83":41984,"24":20,"16":19120524386893824,"45":1946329125793644544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 10:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988501504001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:50:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 10:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19120524386893824,"km_value":19120524386893.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125793644544,"description":"Unknown IO ID 45"} 
[2026-09-10 10:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988501504001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1946329125793644544}} 
[2026-09-10 10:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:50:33] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:50:33] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:50:47] local.INFO: TCP Data received {"connection_id":178961,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178961,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:50:47] local.INFO: Processing buffer {"connection_id":178961,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:50:47] local.INFO: IMEI packet received {"connection_id":178961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":178961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:50:55] local.INFO: TCP Data received {"connection_id":178961,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:50:55] local.INFO: Processing buffer {"connection_id":178961,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:50:55] local.INFO: IMEI packet received {"connection_id":178961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":178961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:50:56] local.INFO: TCP Data received {"connection_id":178961,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c22448012cccd7c00745e7b0001901592d..."} 
[2026-09-10 10:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c22448012cccd7c00745e7b0001901592d..."} 
[2026-09-10 10:50:56] local.INFO: Processing buffer {"connection_id":178961,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a089..."} 
[2026-09-10 10:50:56] local.INFO: IMEI packet received {"connection_id":178961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":178961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:50:57] local.INFO: TCP Data received {"connection_id":178961,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c23fa0012cccce4007460ad0001a01582f..."} 
[2026-09-10 10:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c23fa0012cccce4007460ad0001a01582f..."} 
[2026-09-10 10:50:57] local.INFO: Processing buffer {"connection_id":178961,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a089c22448012cccd7c00745e7b0001901592d..."} 
[2026-09-10 10:50:57] local.INFO: Packet analysis {"connection_id":178961,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:50:57] local.INFO: Extracted packet for processing {"connection_id":178961,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":751622080,"raw_latitude":122021808,"longitude_deg":75.162208,"latitude_deg":12.2021808,"altitude":25,"angle":345,"satellites":45,"speed":52,"hex_longitude":"2cccd7c0","hex_latitude":"0745e7b0","is_valid_coordinates":true} 
[2026-09-10 10:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988502784001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403844826971242496,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3683381514000556032,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789017597000,"timestamp_ms":1789017597000,"timestamp_seconds":1789017597,"priority":1,"record_length":96,"hex_timestamp":"000001a089c22448"} 
[2026-09-10 10:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:50:57] 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-09-10 10:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988502784001,"66":27908,"239":206,"85":37632,"24":52,"16":403844826971242496,"44":-3683381514000556032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988502784001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403844826971242496,"km_value":403844826971242.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3683381514000556032,"description":"Unknown IO ID 44"} 
[2026-09-10 10:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988502784001,"power":27908,"unknown_239":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3683381514000556032}} 
[2026-09-10 10:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":178961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:50:57] local.INFO: GPS data processed {"connection_id":178961,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:50:57] local.INFO: Acknowledgment sent {"connection_id":178961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:50:57] local.INFO: Packet analysis {"connection_id":178961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:50:57] local.INFO: Extracted packet for processing {"connection_id":178961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":751619648,"raw_latitude":122030800,"longitude_deg":75.1619648,"latitude_deg":12.20308,"altitude":26,"angle":344,"satellites":47,"speed":52,"hex_longitude":"2cccce40","hex_latitude":"07460ad0","is_valid_coordinates":true} 
[2026-09-10 10:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988504832001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403845277942808576,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3686266632509345792,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789017604000,"timestamp_ms":1789017604000,"timestamp_seconds":1789017604,"priority":1,"record_length":96,"hex_timestamp":"000001a089c23fa0"} 
[2026-09-10 10:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":4,"data_length":795,"current_offset":136} 
[2026-09-10 10:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988504832001,"66":27908,"239":206,"85":37632,"24":52,"16":403845277942808576,"44":-3686266632509345792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988504832001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403845277942808576,"km_value":403845277942808.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3686266632509345792,"description":"Unknown IO ID 44"} 
[2026-09-10 10:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988504832001,"power":27908,"unknown_239":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3686266632509345792}} 
[2026-09-10 10:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":178961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:50:57] local.INFO: GPS data processed {"connection_id":178961,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:50:57] local.INFO: Acknowledgment sent {"connection_id":178961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:50:57] local.INFO: TCP Data received {"connection_id":178961,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c25710012cccc280074627d0001a014b2f..."} 
[2026-09-10 10:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c25710012cccc280074627d0001a014b2f..."} 
[2026-09-10 10:50:57] local.INFO: Processing buffer {"connection_id":178961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c25710012cccc280074627d0001a014b2f..."} 
[2026-09-10 10:50:57] local.INFO: Packet analysis {"connection_id":178961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:50:57] local.INFO: Extracted packet for processing {"connection_id":178961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":751616640,"raw_latitude":122038224,"longitude_deg":75.161664,"latitude_deg":12.2038224,"altitude":26,"angle":331,"satellites":47,"speed":53,"hex_longitude":"2cccc280","hex_latitude":"074627d0","is_valid_coordinates":true} 
[2026-09-10 10:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988506624001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403845664489865216,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3688940644785795072,"note":"Value kept but may cause issues"} 
[2026-09-10 10:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789017610000,"timestamp_ms":1789017610000,"timestamp_seconds":1789017610,"priority":1,"record_length":96,"hex_timestamp":"000001a089c25710"} 
[2026-09-10 10:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":4,"data_length":795,"current_offset":136} 
[2026-09-10 10:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988506624001,"66":27691,"2":206,"85":37632,"24":53,"16":403845664489865216,"44":-3688940644785795072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988506624001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403845664489865216,"km_value":403845664489865.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:50:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3688940644785795072,"description":"Unknown IO ID 44"} 
[2026-09-10 10:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988506624001,"power":27691,"power_alt":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-3688940644785795072}} 
[2026-09-10 10:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":178961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:50:57] local.INFO: GPS data processed {"connection_id":178961,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:50:57] local.INFO: Acknowledgment sent {"connection_id":178961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:51:04] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c1fd38012d1b01c0071ef3f80050016224..."} 
[2026-09-10 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c1fd38012d1b01c0071ef3f80050016224..."} 
[2026-09-10 10:51:04] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c1fd38012d1b01c0071ef3f80050016224..."} 
[2026-09-10 10:51:04] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c1"} 
[2026-09-10 10:51:04] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c1"} 
[2026-09-10 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756744640,"raw_latitude":119469048,"longitude_deg":75.674464,"latitude_deg":11.9469048,"altitude":80,"angle":354,"satellites":36,"speed":24,"hex_longitude":"2d1b01c0","hex_latitude":"071ef3f8","is_valid_coordinates":true} 
[2026-09-10 10:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988501760001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19120584516435968,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946188388305420288,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51: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-09-10 10:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789017587000,"timestamp_ms":1789017587000,"timestamp_seconds":1789017587,"priority":1,"record_length":96,"hex_timestamp":"000001a089c1fd38"} 
[2026-09-10 10:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 10:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988501760001,"66":14102,"106":206,"83":41984,"24":24,"16":19120584516435968,"45":1946188388305420288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 10:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988501760001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 10:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19120584516435968,"km_value":19120584516435.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946188388305420288,"description":"Unknown IO ID 45"} 
[2026-09-10 10:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988501760001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1946188388305420288}} 
[2026-09-10 10:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:51:05] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:51:05] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:51:20] local.INFO: TCP Data received {"connection_id":177579,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:51:20] local.INFO: Processing buffer {"connection_id":177579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:51:20] local.INFO: IMEI packet received {"connection_id":177579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":177579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:51:20] local.INFO: TCP Data received {"connection_id":177579,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:51:20] local.INFO: Processing buffer {"connection_id":177579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:51:20] local.INFO: IMEI packet received {"connection_id":177579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":177579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:51:21] local.INFO: TCP Data received {"connection_id":177579,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c27268012cccae4007464590001c014130..."} 
[2026-09-10 10:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c27268012cccae4007464590001c014130..."} 
[2026-09-10 10:51:21] local.INFO: Processing buffer {"connection_id":177579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c27268012cccae4007464590001c014130..."} 
[2026-09-10 10:51:21] local.INFO: Packet analysis {"connection_id":177579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:21] local.INFO: Extracted packet for processing {"connection_id":177579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":751611456,"raw_latitude":122045840,"longitude_deg":75.1611456,"latitude_deg":12.204584,"altitude":28,"angle":321,"satellites":48,"speed":50,"hex_longitude":"2cccae40","hex_latitude":"07464590","is_valid_coordinates":true} 
[2026-09-10 10:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988508160001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403846106871496704,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3692247975760244736,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789017617000,"timestamp_ms":1789017617000,"timestamp_seconds":1789017617,"priority":1,"record_length":96,"hex_timestamp":"000001a089c27268"} 
[2026-09-10 10:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 10:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988508160001,"66":27821,"2":206,"85":37632,"24":50,"16":403846106871496704,"44":-3692247975760244736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988508160001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403846106871496704,"km_value":403846106871496.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3692247975760244736,"description":"Unknown IO ID 44"} 
[2026-09-10 10:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988508160001,"power":27821,"power_alt":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3692247975760244736}} 
[2026-09-10 10:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":177579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:51:21] local.INFO: GPS data processed {"connection_id":177579,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:51:21] local.INFO: Acknowledgment sent {"connection_id":177579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:51:25] local.INFO: TCP Data received {"connection_id":177579,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c291a8012ccc960007466348001d01442c..."} 
[2026-09-10 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c291a8012ccc960007466348001d01442c..."} 
[2026-09-10 10:51:25] local.INFO: Processing buffer {"connection_id":177579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c291a8012ccc960007466348001d01442c..."} 
[2026-09-10 10:51:25] local.INFO: Packet analysis {"connection_id":177579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:25] local.INFO: Extracted packet for processing {"connection_id":177579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:25] local.INFO: GPS Element Parsed {"raw_longitude":751605248,"raw_latitude":122053448,"longitude_deg":75.1605248,"latitude_deg":12.2053448,"altitude":29,"angle":324,"satellites":44,"speed":45,"hex_longitude":"2ccc9600","hex_latitude":"07466348","is_valid_coordinates":true} 
[2026-09-10 10:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988509952001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403846579317899264,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3697947844036685824,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017625000,"timestamp_ms":1789017625000,"timestamp_seconds":1789017625,"priority":1,"record_length":96,"hex_timestamp":"000001a089c291a8"} 
[2026-09-10 10:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988509952001,"66":27767,"2":206,"85":37632,"24":45,"16":403846579317899264,"44":-3697947844036685824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988509952001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403846579317899264,"km_value":403846579317899.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3697947844036685824,"description":"Unknown IO ID 44"} 
[2026-09-10 10:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988509952001,"power":27767,"power_alt":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3697947844036685824}} 
[2026-09-10 10:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":177579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:51:25] local.INFO: GPS data processed {"connection_id":177579,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:51:25] local.INFO: Acknowledgment sent {"connection_id":177579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:51:28] local.INFO: TCP Data received {"connection_id":178962,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:51:28] local.INFO: Processing buffer {"connection_id":178962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:51:28] local.INFO: IMEI packet received {"connection_id":178962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":178962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:51:32] local.INFO: TCP Data received {"connection_id":178962,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:51:32] local.INFO: Processing buffer {"connection_id":178962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:51:32] local.INFO: IMEI packet received {"connection_id":178962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":178962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:51:33] local.INFO: TCP Data received {"connection_id":178962,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c233e8012d1afd40071f19300051016023..."} 
[2026-09-10 10:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c233e8012d1afd40071f19300051016023..."} 
[2026-09-10 10:51:33] local.INFO: Processing buffer {"connection_id":178962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c233e8012d1afd40071f19300051016023..."} 
[2026-09-10 10:51:33] local.INFO: Packet analysis {"connection_id":178962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:33] local.INFO: Extracted packet for processing {"connection_id":178962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756743488,"raw_latitude":119478576,"longitude_deg":75.6743488,"latitude_deg":11.9478576,"altitude":81,"angle":352,"satellites":35,"speed":27,"hex_longitude":"2d1afd40","hex_latitude":"071f1930","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988502272001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121048372903936,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946047650817374208,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017601000,"timestamp_ms":1789017601000,"timestamp_seconds":1789017601,"priority":1,"record_length":96,"hex_timestamp":"000001a089c233e8"} 
[2026-09-10 10:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 10:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988502272001,"66":14048,"101":206,"83":41984,"24":27,"16":19121048372903936,"45":1946047650817374208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988502272001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:51:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121048372903936,"km_value":19121048372903.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946047650817374208,"description":"Unknown IO ID 45"} 
[2026-09-10 10:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988502272001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1946047650817374208}} 
[2026-09-10 10:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":178962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:51:33] local.INFO: GPS data processed {"connection_id":178962,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:51:33] local.INFO: Acknowledgment sent {"connection_id":178962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:51:56] local.INFO: TCP Data received {"connection_id":177579,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c2a148012ccc8d40074672b8001e014f2c..."} 
[2026-09-10 10:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c2a148012ccc8d40074672b8001e014f2c..."} 
[2026-09-10 10:51:56] local.INFO: Processing buffer {"connection_id":177579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c2a148012ccc8d40074672b8001e014f2c..."} 
[2026-09-10 10:51:56] local.INFO: Packet analysis {"connection_id":177579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:56] local.INFO: Extracted packet for processing {"connection_id":177579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:51:56] local.INFO: GPS Element Parsed {"raw_longitude":751603008,"raw_latitude":122057400,"longitude_deg":75.1603008,"latitude_deg":12.20574,"altitude":30,"angle":335,"satellites":44,"speed":43,"hex_longitude":"2ccc8d40","hex_latitude":"074672b8","is_valid_coordinates":true} 
[2026-09-10 10:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988512000001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403846798361231360,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3704773612219971584,"note":"Value kept but may cause issues"} 
[2026-09-10 10:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789017629000,"timestamp_ms":1789017629000,"timestamp_seconds":1789017629,"priority":1,"record_length":96,"hex_timestamp":"000001a089c2a148"} 
[2026-09-10 10:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988512000001,"66":27908,"2":206,"85":37632,"24":43,"16":403846798361231360,"44":-3704773612219971584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988512000001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403846798361231360,"km_value":403846798361231.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3704773612219971584,"description":"Unknown IO ID 44"} 
[2026-09-10 10:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988512000001,"power":27908,"power_alt":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3704773612219971584}} 
[2026-09-10 10:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":177579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:51:56] local.INFO: GPS data processed {"connection_id":177579,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:51:56] local.INFO: Acknowledgment sent {"connection_id":177579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:52:04] local.INFO: TCP Data received {"connection_id":178962,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c25ee0012d1af980071f39680048015324..."} 
[2026-09-10 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c25ee0012d1af980071f39680048015324..."} 
[2026-09-10 10:52:04] local.INFO: Processing buffer {"connection_id":178962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c25ee0012d1af980071f39680048015324..."} 
[2026-09-10 10:52:04] local.INFO: Packet analysis {"connection_id":178962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:52:04] local.INFO: Extracted packet for processing {"connection_id":178962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756742528,"raw_latitude":119486824,"longitude_deg":75.6742528,"latitude_deg":11.9486824,"altitude":72,"angle":339,"satellites":36,"speed":26,"hex_longitude":"2d1af980","hex_latitude":"071f3968","is_valid_coordinates":true} 
[2026-09-10 10:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988505856001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121452099829760,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944781013424615424,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789017612000,"timestamp_ms":1789017612000,"timestamp_seconds":1789017612,"priority":1,"record_length":96,"hex_timestamp":"000001a089c25ee0"} 
[2026-09-10 10:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 10:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988505856001,"66":14080,"101":206,"83":41984,"24":26,"16":19121452099829760,"45":1944781013424615424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988505856001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:52:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121452099829760,"km_value":19121452099829.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944781013424615424,"description":"Unknown IO ID 45"} 
[2026-09-10 10:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988505856001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1944781013424615424}} 
[2026-09-10 10:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":178962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:52:04] local.INFO: GPS data processed {"connection_id":178962,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:52:04] local.INFO: Acknowledgment sent {"connection_id":178962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:52:18] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:18] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:18] local.INFO: IMEI packet received {"connection_id":176163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:52:20] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:20] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:20] local.INFO: IMEI packet received {"connection_id":176163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":176163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:52:24] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:24] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:52:24] local.INFO: IMEI packet received {"connection_id":176163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":176163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:52:25] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c2b4d0012ccc860007468808001e015b2b..."} 
[2026-09-10 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c2b4d0012ccc860007468808001e015b2b..."} 
[2026-09-10 10:52:25] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c2b4d0012ccc860007468808001e015b2b..."} 
[2026-09-10 10:52:25] local.INFO: Packet analysis {"connection_id":176163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:52:25] local.INFO: Extracted packet for processing {"connection_id":176163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c2"} 
[2026-09-10 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":751601152,"raw_latitude":122062856,"longitude_deg":75.1601152,"latitude_deg":12.2062856,"altitude":30,"angle":347,"satellites":43,"speed":47,"hex_longitude":"2ccc8600","hex_latitude":"07468808","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988513024001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403847077534105600,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707236518265178112,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017634000,"timestamp_ms":1789017634000,"timestamp_seconds":1789017634,"priority":1,"record_length":96,"hex_timestamp":"000001a089c2b4d0"} 
[2026-09-10 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-09-10 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 10:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988513024001,"66":27713,"2":206,"85":37632,"24":47,"16":403847077534105600,"44":-3707236518265178112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988513024001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403847077534105600,"km_value":403847077534105.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707236518265178112,"description":"Unknown IO ID 44"} 
[2026-09-10 10:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988513024001,"power":27713,"power_alt":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3707236518265178112}} 
[2026-09-10 10:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":176163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:52:25] local.INFO: GPS data processed {"connection_id":176163,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:52:25] local.INFO: Acknowledgment sent {"connection_id":176163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:52:27] local.INFO: TCP Data received {"connection_id":178963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:27] local.INFO: Processing buffer {"connection_id":178963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:27] local.INFO: IMEI packet received {"connection_id":178963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":178963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:52:28] local.INFO: TCP Data received {"connection_id":178963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:28] local.INFO: Processing buffer {"connection_id":178963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:28] local.INFO: IMEI packet received {"connection_id":178963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":178963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:52:32] local.INFO: TCP Data received {"connection_id":178963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:32] local.INFO: Processing buffer {"connection_id":178963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:52:32] local.INFO: IMEI packet received {"connection_id":178963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":178963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:52:33] local.INFO: TCP Data received {"connection_id":178963,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c3d5e0012d1abc40071f42e8003d013a25..."} 
[2026-09-10 10:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c3d5e0012d1abc40071f42e8003d013a25..."} 
[2026-09-10 10:52:33] local.INFO: Processing buffer {"connection_id":178963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c3d5e0012d1abc40071f42e8003d013a25..."} 
[2026-09-10 10:52:33] local.INFO: Packet analysis {"connection_id":178963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c3"} 
[2026-09-10 10:52:33] local.INFO: Extracted packet for processing {"connection_id":178963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c3"} 
[2026-09-10 10:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119489256,"longitude_deg":75.6726848,"latitude_deg":11.9489256,"altitude":61,"angle":314,"satellites":37,"speed":12,"hex_longitude":"2d1abc40","hex_latitude":"071f42e8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988532992001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19122272438583296,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926836983661993984,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017708000,"timestamp_ms":1789017708000,"timestamp_seconds":1789017708,"priority":1,"record_length":96,"hex_timestamp":"000001a089c3d5e0"} 
[2026-09-10 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-09-10 10:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 10:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988532992001,"66":13493,"101":206,"83":41984,"24":12,"16":19122272438583296,"45":1926836983661993984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988532992001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:52:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19122272438583296,"km_value":19122272438583.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926836983661993984,"description":"Unknown IO ID 45"} 
[2026-09-10 10:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988532992001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1926836983661993984}} 
[2026-09-10 10:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":178963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:52:33] local.INFO: GPS data processed {"connection_id":178963,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:52:33] local.INFO: Acknowledgment sent {"connection_id":178963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:52:56] local.INFO: TCP Data received {"connection_id":176163,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c427e8012ccc600007479f80000901362d..."} 
[2026-09-10 10:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c427e8012ccc600007479f80000901362d..."} 
[2026-09-10 10:52:56] local.INFO: Processing buffer {"connection_id":176163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c427e8012ccc600007479f80000901362d..."} 
[2026-09-10 10:52:56] local.INFO: Packet analysis {"connection_id":176163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:52:56] local.INFO: Extracted packet for processing {"connection_id":176163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:52:56] local.INFO: GPS Element Parsed {"raw_longitude":751591424,"raw_latitude":122134400,"longitude_deg":75.1591424,"latitude_deg":12.21344,"altitude":9,"angle":310,"satellites":45,"speed":11,"hex_longitude":"2ccc6000","hex_latitude":"07479f80","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988537856001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403850607997222912,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3719410310988374016,"note":"Value kept but may cause issues"} 
[2026-09-10 10:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789017729000,"timestamp_ms":1789017729000,"timestamp_seconds":1789017729,"priority":1,"record_length":96,"hex_timestamp":"000001a089c427e8"} 
[2026-09-10 10:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988537856001,"66":27800,"2":206,"85":37632,"24":11,"16":403850607997222912,"44":-3719410310988374016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988537856001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403850607997222912,"km_value":403850607997222.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3719410310988374016,"description":"Unknown IO ID 44"} 
[2026-09-10 10:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988537856001,"power":27800,"power_alt":206,"unknown_85":37632,"ignition":11,"odometer":null,"unknown_44":-3719410310988374016}} 
[2026-09-10 10:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":176163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:52:56] local.INFO: GPS data processed {"connection_id":176163,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:52:56] local.INFO: Acknowledgment sent {"connection_id":176163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:53:04] local.INFO: TCP Data received {"connection_id":178963,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c3d9c8012d1abb80071f4420003d014e24..."} 
[2026-09-10 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c3d9c8012d1abb80071f4420003d014e24..."} 
[2026-09-10 10:53:04] local.INFO: Processing buffer {"connection_id":178963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c3d9c8012d1abb80071f4420003d014e24..."} 
[2026-09-10 10:53:04] local.INFO: Packet analysis {"connection_id":178963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c3"} 
[2026-09-10 10:53:04] local.INFO: Extracted packet for processing {"connection_id":178963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c3"} 
[2026-09-10 10:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756726656,"raw_latitude":119489568,"longitude_deg":75.6726656,"latitude_deg":11.9489568,"altitude":61,"angle":334,"satellites":36,"speed":14,"hex_longitude":"2d1abb80","hex_latitude":"071f4420","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988533248001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19122289618452480,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139941156864,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789017709000,"timestamp_ms":1789017709000,"timestamp_seconds":1789017709,"priority":1,"record_length":96,"hex_timestamp":"000001a089c3d9c8"} 
[2026-09-10 10:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 10:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988533248001,"66":14396,"101":206,"83":41984,"24":14,"16":19122289618452480,"45":1926485139941156864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988533248001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:53:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19122289618452480,"km_value":19122289618452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139941156864,"description":"Unknown IO ID 45"} 
[2026-09-10 10:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988533248001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1926485139941156864}} 
[2026-09-10 10:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":178963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:53:05] local.INFO: GPS data processed {"connection_id":178963,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:53:05] local.INFO: Acknowledgment sent {"connection_id":178963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:53:19] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:19] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:19] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:53:20] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:20] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:20] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:53:22] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:22] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:22] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:53:26] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:26] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:53:26] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:53:27] local.INFO: TCP Data received {"connection_id":177580,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:27] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:27] local.INFO: IMEI packet received {"connection_id":177580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":177580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:53:27] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c433a0012ccc5d400747a1680008012330..."} 
[2026-09-10 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c433a0012ccc5d400747a1680008012330..."} 
[2026-09-10 10:53:27] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c433a0012ccc5d400747a1680008012330..."} 
[2026-09-10 10:53:27] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:53:27] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":751590720,"raw_latitude":122134888,"longitude_deg":75.159072,"latitude_deg":12.2134888,"altitude":8,"angle":291,"satellites":48,"speed":9,"hex_longitude":"2ccc5d40","hex_latitude":"0747a168","is_valid_coordinates":true} 
[2026-09-10 10:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988538624001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403850646651928576,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3719973260941623296,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789017732000,"timestamp_ms":1789017732000,"timestamp_seconds":1789017732,"priority":1,"record_length":96,"hex_timestamp":"000001a089c433a0"} 
[2026-09-10 10:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988538624001,"66":27767,"2":206,"85":37632,"24":9,"16":403850646651928576,"44":-3719973260941623296},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988538624001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403850646651928576,"km_value":403850646651928.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:53:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3719973260941623296,"description":"Unknown IO ID 44"} 
[2026-09-10 10:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988538624001,"power":27767,"power_alt":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-3719973260941623296}} 
[2026-09-10 10:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:53:27] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:53:27] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:53:30] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c44340012ccc5a000747a338000801342f..."} 
[2026-09-10 10:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c44340012ccc5a000747a338000801342f..."} 
[2026-09-10 10:53:30] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c44340012ccc5a000747a338000801342f..."} 
[2026-09-10 10:53:30] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:53:30] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:53:30] local.INFO: GPS Element Parsed {"raw_longitude":751589888,"raw_latitude":122135352,"longitude_deg":75.1589888,"latitude_deg":12.2135352,"altitude":8,"angle":308,"satellites":47,"speed":9,"hex_longitude":"2ccc5a00","hex_latitude":"0747a338","is_valid_coordinates":true} 
[2026-09-10 10:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988539392001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403850693896568832,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3720747317127452672,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789017736000,"timestamp_ms":1789017736000,"timestamp_seconds":1789017736,"priority":1,"record_length":96,"hex_timestamp":"000001a089c44340"} 
[2026-09-10 10:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:53: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-09-10 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988539392001,"66":27908,"2":206,"85":37632,"24":9,"16":403850693896568832,"44":-3720747317127452672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988539392001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403850693896568832,"km_value":403850693896568.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3720747317127452672,"description":"Unknown IO ID 44"} 
[2026-09-10 10:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988539392001,"power":27908,"power_alt":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-3720747317127452672}} 
[2026-09-10 10:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:53:30] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:53:30] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:53:31] local.INFO: TCP Data received {"connection_id":177580,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:31] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:31] local.INFO: IMEI packet received {"connection_id":177580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":177580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:53:33] local.INFO: TCP Data received {"connection_id":177580,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:33] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:53:33] local.INFO: IMEI packet received {"connection_id":177580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":177580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:53:34] local.INFO: TCP Data received {"connection_id":177580,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c47dd8012d1aa4c0071f98c0003c012123..."} 
[2026-09-10 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c47dd8012d1aa4c0071f98c0003c012123..."} 
[2026-09-10 10:53:34] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c47dd8012d1aa4c0071f98c0003c012123..."} 
[2026-09-10 10:53:34] local.INFO: Packet analysis {"connection_id":177580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:53:34] local.INFO: Extracted packet for processing {"connection_id":177580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756720832,"raw_latitude":119511232,"longitude_deg":75.6720832,"latitude_deg":11.9511232,"altitude":60,"angle":289,"satellites":35,"speed":29,"hex_longitude":"2d1aa4c0","hex_latitude":"071f98c0","is_valid_coordinates":true} 
[2026-09-10 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988542976001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19123646828118016,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923811127667896320,"note":"Value kept but may cause issues"} 
[2026-09-10 10:53: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-09-10 10:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789017751000,"timestamp_ms":1789017751000,"timestamp_seconds":1789017751,"priority":1,"record_length":96,"hex_timestamp":"000001a089c47dd8"} 
[2026-09-10 10:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 10:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988542976001,"66":14396,"101":206,"83":41984,"24":29,"16":19123646828118016,"45":1923811127667896320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988542976001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:53:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19123646828118016,"km_value":19123646828118.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923811127667896320,"description":"Unknown IO ID 45"} 
[2026-09-10 10:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988542976001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1923811127667896320}} 
[2026-09-10 10:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":177580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:53:34] local.INFO: GPS data processed {"connection_id":177580,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:53:34] local.INFO: Acknowledgment sent {"connection_id":177580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:54:01] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c44ef8012ccc58000747a548000801442f..."} 
[2026-09-10 10:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c44ef8012ccc58000747a548000801442f..."} 
[2026-09-10 10:54:01] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c44ef8012ccc58000747a548000801442f..."} 
[2026-09-10 10:54:01] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:54:01] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:54:01] local.INFO: GPS Element Parsed {"raw_longitude":751589376,"raw_latitude":122135880,"longitude_deg":75.1589376,"latitude_deg":12.213588,"altitude":8,"angle":324,"satellites":47,"speed":9,"hex_longitude":"2ccc5800","hex_latitude":"0747a548","is_valid_coordinates":true} 
[2026-09-10 10:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988540416001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403850728256307200,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721662110801643520,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789017739000,"timestamp_ms":1789017739000,"timestamp_seconds":1789017739,"priority":1,"record_length":96,"hex_timestamp":"000001a089c44ef8"} 
[2026-09-10 10:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 10:54: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-09-10 10:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:54: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-09-10 10:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988540416001,"66":27821,"2":206,"85":37632,"24":9,"16":403850728256307200,"44":-3721662110801643520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988540416001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403850728256307200,"km_value":403850728256307.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721662110801643520,"description":"Unknown IO ID 44"} 
[2026-09-10 10:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988540416001,"power":27821,"power_alt":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-3721662110801643520}} 
[2026-09-10 10:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:54:01] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:54:01] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:54:05] local.INFO: TCP Data received {"connection_id":177580,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c485a8012d1a9f40071f9b80003c013024..."} 
[2026-09-10 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c485a8012d1a9f40071f9b80003c013024..."} 
[2026-09-10 10:54:05] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c485a8012d1a9f40071f9b80003c013024..."} 
[2026-09-10 10:54:05] local.INFO: Packet analysis {"connection_id":177580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:54:05] local.INFO: Extracted packet for processing {"connection_id":177580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756719424,"raw_latitude":119511936,"longitude_deg":75.6719424,"latitude_deg":11.9511936,"altitude":60,"angle":304,"satellites":36,"speed":30,"hex_longitude":"2d1a9f40","hex_latitude":"071f9b80","is_valid_coordinates":true} 
[2026-09-10 10:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988544256001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19123719842562048,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919870477994082304,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54: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-09-10 10:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789017753000,"timestamp_ms":1789017753000,"timestamp_seconds":1789017753,"priority":1,"record_length":96,"hex_timestamp":"000001a089c485a8"} 
[2026-09-10 10:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:54: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-09-10 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 10:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:54: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-09-10 10:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988544256001,"66":14265,"101":206,"83":41984,"24":30,"16":19123719842562048,"45":1919870477994082304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988544256001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:54:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19123719842562048,"km_value":19123719842562.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919870477994082304,"description":"Unknown IO ID 45"} 
[2026-09-10 10:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988544256001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1919870477994082304}} 
[2026-09-10 10:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":177580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:54:05] local.INFO: GPS data processed {"connection_id":177580,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:54:05] local.INFO: Acknowledgment sent {"connection_id":177580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:54:19] local.INFO: TCP Data received {"connection_id":177581,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:54:19] local.INFO: Processing buffer {"connection_id":177581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:54:19] local.INFO: IMEI packet received {"connection_id":177581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":177581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:54:24] local.INFO: TCP Data received {"connection_id":177581,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:54:24] local.INFO: Processing buffer {"connection_id":177581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:54:24] local.INFO: IMEI packet received {"connection_id":177581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":177581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:54:25] local.INFO: TCP Data received {"connection_id":177581,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c4a100012ccc54000747ac80000701432b..."} 
[2026-09-10 10:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c4a100012ccc54000747ac80000701432b..."} 
[2026-09-10 10:54:25] local.INFO: Processing buffer {"connection_id":177581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c4a100012ccc54000747ac80000701432b..."} 
[2026-09-10 10:54:25] local.INFO: Packet analysis {"connection_id":177581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:54:25] local.INFO: Extracted packet for processing {"connection_id":177581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:54:25] local.INFO: GPS Element Parsed {"raw_longitude":751588352,"raw_latitude":122137728,"longitude_deg":75.1588352,"latitude_deg":12.2137728,"altitude":7,"angle":323,"satellites":43,"speed":2,"hex_longitude":"2ccc5400","hex_latitude":"0747ac80","is_valid_coordinates":true} 
[2026-09-10 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-09-10 10:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988541184001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403850835630489600,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3722225060754929664,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017760000,"timestamp_ms":1789017760000,"timestamp_seconds":1789017760,"priority":1,"record_length":96,"hex_timestamp":"000001a089c4a100"} 
[2026-09-10 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-09-10 10:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 10:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988541184001,"66":27865,"2":206,"85":37632,"24":2,"16":403850835630489600,"44":-3722225060754929664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988541184001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403850835630489600,"km_value":403850835630489.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3722225060754929664,"description":"Unknown IO ID 44"} 
[2026-09-10 10:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988541184001,"power":27865,"power_alt":206,"unknown_85":37632,"ignition":2,"odometer":null,"unknown_44":-3722225060754929664}} 
[2026-09-10 10:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":177581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:54:25] local.INFO: GPS data processed {"connection_id":177581,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:54:25] local.INFO: Acknowledgment sent {"connection_id":177581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:54:32] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:54:32] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:54:32] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:54:34] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:54:34] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:54:34] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:54:35] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c56c20012d19fdc0071ffb000031011f25..."} 
[2026-09-10 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c56c20012d19fdc0071ffb000031011f25..."} 
[2026-09-10 10:54:35] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c56c20012d19fdc0071ffb000031011f25..."} 
[2026-09-10 10:54:35] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c5"} 
[2026-09-10 10:54:35] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c5"} 
[2026-09-10 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756678080,"raw_latitude":119536384,"longitude_deg":75.667808,"latitude_deg":11.9536384,"altitude":49,"angle":287,"satellites":37,"speed":29,"hex_longitude":"2d19fdc0","hex_latitude":"071ffb00","is_valid_coordinates":true} 
[2026-09-10 10:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988557056001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19126120729280512,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882715781073997824,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789017812000,"timestamp_ms":1789017812000,"timestamp_seconds":1789017812,"priority":1,"record_length":96,"hex_timestamp":"000001a089c56c20"} 
[2026-09-10 10:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 10:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988557056001,"66":14374,"101":206,"83":41984,"24":29,"16":19126120729280512,"45":1882715781073997824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988557056001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:54:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19126120729280512,"km_value":19126120729280.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882715781073997824,"description":"Unknown IO ID 45"} 
[2026-09-10 10:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988557056001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1882715781073997824}} 
[2026-09-10 10:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:54:35] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:54:35] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:54:38] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c573f0012d19f800071ffc100030011125..."} 
[2026-09-10 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c573f0012d19f800071ffc100030011125..."} 
[2026-09-10 10:54:38] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c573f0012d19f800071ffc100030011125..."} 
[2026-09-10 10:54:38] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c5"} 
[2026-09-10 10:54:38] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c5"} 
[2026-09-10 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756676608,"raw_latitude":119536656,"longitude_deg":75.6676608,"latitude_deg":11.9536656,"altitude":48,"angle":273,"satellites":37,"speed":27,"hex_longitude":"2d19f800","hex_latitude":"071ffc10","is_valid_coordinates":true} 
[2026-09-10 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988559872001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19126189448757248,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872864156889841664,"note":"Value kept but may cause issues"} 
[2026-09-10 10:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789017814000,"timestamp_ms":1789017814000,"timestamp_seconds":1789017814,"priority":1,"record_length":96,"hex_timestamp":"000001a089c573f0"} 
[2026-09-10 10:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:54: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-09-10 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 10:54: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-09-10 10:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988559872001,"66":14243,"101":206,"83":41984,"24":27,"16":19126189448757248,"45":1872864156889841664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988559872001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19126189448757248,"km_value":19126189448757.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872864156889841664,"description":"Unknown IO ID 45"} 
[2026-09-10 10:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988559872001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1872864156889841664}} 
[2026-09-10 10:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:54:38] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:54:38] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:55:00] local.INFO: TCP Data received {"connection_id":177581,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c4acb8012ccc53c00747ad880007015a2b..."} 
[2026-09-10 10:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c4acb8012ccc53c00747ad880007015a2b..."} 
[2026-09-10 10:55:00] local.INFO: Processing buffer {"connection_id":177581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c4acb8012ccc53c00747ad880007015a2b..."} 
[2026-09-10 10:55:00] local.INFO: Packet analysis {"connection_id":177581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:55:00] local.INFO: Extracted packet for processing {"connection_id":177581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:55:00] local.INFO: GPS Element Parsed {"raw_longitude":751588288,"raw_latitude":122137992,"longitude_deg":75.1588288,"latitude_deg":12.2137992,"altitude":7,"angle":346,"satellites":43,"speed":7,"hex_longitude":"2ccc53c0","hex_latitude":"0747ad88","is_valid_coordinates":true} 
[2026-09-10 10:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988546560001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403850848515391488,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3723350960661299200,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789017763000,"timestamp_ms":1789017763000,"timestamp_seconds":1789017763,"priority":1,"record_length":96,"hex_timestamp":"000001a089c4acb8"} 
[2026-09-10 10:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:55: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-09-10 10:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988546560001,"66":27800,"2":206,"85":37632,"24":7,"16":403850848515391488,"44":-3723350960661299200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988546560001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403850848515391488,"km_value":403850848515391.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3723350960661299200,"description":"Unknown IO ID 44"} 
[2026-09-10 10:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988546560001,"power":27800,"power_alt":206,"unknown_85":37632,"ignition":7,"odometer":null,"unknown_44":-3723350960661299200}} 
[2026-09-10 10:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":177581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:55:00] local.INFO: GPS data processed {"connection_id":177581,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:55:00] local.INFO: Acknowledgment sent {"connection_id":177581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:55:09] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c57bc0012d19f2c0071ffb980030010225..."} 
[2026-09-10 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c57bc0012d19f2c0071ffb980030010225..."} 
[2026-09-10 10:55:09] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c57bc0012d19f2c0071ffb980030010225..."} 
[2026-09-10 10:55:09] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c5"} 
[2026-09-10 10:55:09] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c5"} 
[2026-09-10 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756675264,"raw_latitude":119536536,"longitude_deg":75.6675264,"latitude_deg":11.9536536,"altitude":48,"angle":258,"satellites":37,"speed":28,"hex_longitude":"2d19f2c0","hex_latitude":"071ffb98","is_valid_coordinates":true} 
[2026-09-10 10: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-09-10 10:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988560384001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19126253873266688,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871245675773825024,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55: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-09-10 10:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789017816000,"timestamp_ms":1789017816000,"timestamp_seconds":1789017816,"priority":1,"record_length":96,"hex_timestamp":"000001a089c57bc0"} 
[2026-09-10 10:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 10:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10: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-09-10 10:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 10:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 10:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 10:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988560384001,"66":14265,"101":206,"83":41984,"24":28,"16":19126253873266688,"45":1871245675773825024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 10:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 10:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 10:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988560384001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:55:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 10:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19126253873266688,"km_value":19126253873266.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871245675773825024,"description":"Unknown IO ID 45"} 
[2026-09-10 10:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988560384001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1871245675773825024}} 
[2026-09-10 10:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:55:10] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:55:10] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:55:19] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:19] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:19] local.INFO: IMEI packet received {"connection_id":176411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":176411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:55:20] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:20] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:20] local.INFO: IMEI packet received {"connection_id":176411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":176411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:55:23] local.INFO: TCP Data received {"connection_id":177582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:23] local.INFO: Processing buffer {"connection_id":177582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:23] local.INFO: IMEI packet received {"connection_id":177582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 10:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":177582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:55:24] local.INFO: TCP Data received {"connection_id":177582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:24] local.INFO: Processing buffer {"connection_id":177582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:24] local.INFO: IMEI packet received {"connection_id":177582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":177582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:55:24] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:24] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:55:24] local.INFO: IMEI packet received {"connection_id":176411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":176411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:55:25] local.INFO: TCP Data received {"connection_id":177582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:25] local.INFO: Processing buffer {"connection_id":177582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:25] local.INFO: IMEI packet received {"connection_id":177582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":177582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:55:25] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c4fad8012ccc47c00747ce90000a01562e..."} 
[2026-09-10 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c4fad8012ccc47c00747ce90000a01562e..."} 
[2026-09-10 10:55:25] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c4fad8012ccc47c00747ce90000a01562e..."} 
[2026-09-10 10:55:25] local.INFO: Packet analysis {"connection_id":176411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:55:25] local.INFO: Extracted packet for processing {"connection_id":176411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c4"} 
[2026-09-10 10:55:25] local.INFO: GPS Element Parsed {"raw_longitude":751585216,"raw_latitude":122146448,"longitude_deg":75.1585216,"latitude_deg":12.2146448,"altitude":10,"angle":342,"satellites":46,"speed":19,"hex_longitude":"2ccc47c0","hex_latitude":"0747ce90","is_valid_coordinates":true} 
[2026-09-10 10:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988547328001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403851286602055680,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3723421329405409280,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017783000,"timestamp_ms":1789017783000,"timestamp_seconds":1789017783,"priority":1,"record_length":96,"hex_timestamp":"000001a089c4fad8"} 
[2026-09-10 10:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988547328001,"66":27865,"2":206,"85":37632,"24":19,"16":403851286602055680,"44":-3723421329405409280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 10:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988547328001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403851286602055680,"km_value":403851286602055.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3723421329405409280,"description":"Unknown IO ID 44"} 
[2026-09-10 10:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988547328001,"power":27865,"power_alt":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-3723421329405409280}} 
[2026-09-10 10:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":176411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:55:25] local.INFO: GPS data processed {"connection_id":176411,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:55:25] local.INFO: Acknowledgment sent {"connection_id":176411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:55:26] local.INFO: TCP Data received {"connection_id":177582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:26] local.INFO: Processing buffer {"connection_id":177582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 10:55:26] local.INFO: IMEI packet received {"connection_id":177582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 10:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":177582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:55:57] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c6e320012ccc40c0074936c0000e00022f..."} 
[2026-09-10 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c6e320012ccc40c0074936c0000e00022f..."} 
[2026-09-10 10:55:57] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c6e320012ccc40c0074936c0000e00022f..."} 
[2026-09-10 10:55:57] local.INFO: Packet analysis {"connection_id":176411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c6"} 
[2026-09-10 10:55:57] local.INFO: Extracted packet for processing {"connection_id":176411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c6"} 
[2026-09-10 10:55:57] local.INFO: GPS Element Parsed {"raw_longitude":751583424,"raw_latitude":122238656,"longitude_deg":75.1583424,"latitude_deg":12.2238656,"altitude":14,"angle":2,"satellites":47,"speed":47,"hex_longitude":"2ccc40c0","hex_latitude":"074936c0","is_valid_coordinates":true} 
[2026-09-10 10:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988582400001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403855912281833472,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729543410125404160,"note":"Value kept but may cause issues"} 
[2026-09-10 10:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789017908000,"timestamp_ms":1789017908000,"timestamp_seconds":1789017908,"priority":1,"record_length":96,"hex_timestamp":"000001a089c6e320"} 
[2026-09-10 10:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 10:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988582400001,"66":27821,"101":206,"85":37632,"24":47,"16":403855912281833472,"44":-3729543410125404160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 10:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988582400001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:55:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403855912281833472,"km_value":403855912281833.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:55:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729543410125404160,"description":"Unknown IO ID 44"} 
[2026-09-10 10:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988582400001,"power":27821,"unknown_101":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3729543410125404160}} 
[2026-09-10 10:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":176411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:55:57] local.INFO: GPS data processed {"connection_id":176411,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:55:57] local.INFO: Acknowledgment sent {"connection_id":176411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:56:19] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:56:19] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:56:19] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:56:24] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:56:24] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:56:24] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:56:25] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c6fa90012ccc400007495340000e015e2e..."} 
[2026-09-10 10:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c6fa90012ccc400007495340000e015e2e..."} 
[2026-09-10 10:56:25] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c6fa90012ccc400007495340000e015e2e..."} 
[2026-09-10 10:56:25] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c6"} 
[2026-09-10 10:56:25] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c6"} 
[2026-09-10 10:56:25] local.INFO: GPS Element Parsed {"raw_longitude":751583232,"raw_latitude":122245952,"longitude_deg":75.1583232,"latitude_deg":12.2245952,"altitude":14,"angle":350,"satellites":46,"speed":49,"hex_longitude":"2ccc4000","hex_latitude":"07495340","is_valid_coordinates":true} 
[2026-09-10 10:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988584448001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403856268764119040,"note":"Value kept but may cause issues"} 
[2026-09-10 10:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728769353937141760,"note":"Value kept but may cause issues"} 
[2026-09-10 10:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789017914000,"timestamp_ms":1789017914000,"timestamp_seconds":1789017914,"priority":1,"record_length":96,"hex_timestamp":"000001a089c6fa90"} 
[2026-09-10 10:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 10:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988584448001,"66":27908,"101":206,"85":37632,"24":49,"16":403856268764119040,"44":-3728769353937141760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 10:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988584448001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:56:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403856268764119040,"km_value":403856268764119.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728769353937141760,"description":"Unknown IO ID 44"} 
[2026-09-10 10:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988584448001,"power":27908,"unknown_101":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-3728769353937141760}} 
[2026-09-10 10:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:56:25] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:56:25] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:56:56] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c70648012ccc3c4007496190000d01522d..."} 
[2026-09-10 10:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c70648012ccc3c4007496190000d01522d..."} 
[2026-09-10 10:56:56] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c70648012ccc3c4007496190000d01522d..."} 
[2026-09-10 10:56:56] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c7"} 
[2026-09-10 10:56:56] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c7"} 
[2026-09-10 10:56:56] local.INFO: GPS Element Parsed {"raw_longitude":751582272,"raw_latitude":122249616,"longitude_deg":75.1582272,"latitude_deg":12.2249616,"altitude":13,"angle":338,"satellites":45,"speed":50,"hex_longitude":"2ccc3c40","hex_latitude":"07496190","is_valid_coordinates":true} 
[2026-09-10 10:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988585984001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403856453447712768,"note":"Value kept but may cause issues"} 
[2026-09-10 10:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728980460167806976,"note":"Value kept but may cause issues"} 
[2026-09-10 10:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789017917000,"timestamp_ms":1789017917000,"timestamp_seconds":1789017917,"priority":1,"record_length":96,"hex_timestamp":"000001a089c70648"} 
[2026-09-10 10:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 10:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988585984001,"66":27832,"101":206,"85":37632,"24":50,"16":403856453447712768,"44":-3728980460167806976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 10:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988585984001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:56:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 10:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403856453447712768,"km_value":403856453447712.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728980460167806976,"description":"Unknown IO ID 44"} 
[2026-09-10 10:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988585984001,"power":27832,"unknown_101":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3728980460167806976}} 
[2026-09-10 10:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:56:56] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:56:56] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:57:20] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:20] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:20] local.INFO: IMEI packet received {"connection_id":176165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":176165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:57:25] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:25] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:25] local.INFO: IMEI packet received {"connection_id":176165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":176165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:57:25] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:25] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:25] local.INFO: IMEI packet received {"connection_id":176165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":176165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:57:27] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:27] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:57:27] local.INFO: IMEI packet received {"connection_id":176165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":176165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:57:30] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":1348,"data_hex":"000000000000030f8e0a000001a089c7fc60012ccb9600074a27d8000b00022a..."} 
[2026-09-10 10:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a089c7fc60012ccb9600074a27d8000b00022a..."} 
[2026-09-10 10:57:30] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a089c7fc60012ccb9600074a27d8000b00022a..."} 
[2026-09-10 10:57:30] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a089c7"} 
[2026-09-10 10:57:30] local.INFO: Extracted packet for processing {"connection_id":176165,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a089c7"} 
[2026-09-10 10:57:30] local.INFO: GPS Element Parsed {"raw_longitude":751539712,"raw_latitude":122300376,"longitude_deg":75.1539712,"latitude_deg":12.2300376,"altitude":11,"angle":2,"satellites":42,"speed":43,"hex_longitude":"2ccb9600","hex_latitude":"074a27d8","is_valid_coordinates":true} 
[2026-09-10 10:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988602112001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403859760572530688,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776690468707180544,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789017980000,"timestamp_ms":1789017980000,"timestamp_seconds":1789017980,"priority":1,"record_length":96,"hex_timestamp":"000001a089c7fc60"} 
[2026-09-10 10:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":228,"data_length":795,"current_offset":136} 
[2026-09-10 10:57:30] 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-09-10 10:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988602112001,"66":27995,"74":206,"85":37632,"24":43,"16":403859760572530688,"44":-3776690468707180544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988602112001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403859760572530688,"km_value":403859760572530.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776690468707180544,"description":"Unknown IO ID 44"} 
[2026-09-10 10:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988602112001,"power":27995,"unknown_74":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3776690468707180544}} 
[2026-09-10 10:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":176165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:57:30] local.INFO: GPS data processed {"connection_id":176165,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:57:30] local.INFO: Acknowledgment sent {"connection_id":176165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:57:30] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:57:30] local.INFO: Incomplete packet, waiting for more data {"connection_id":176165,"needed":795,"available":553} 
[2026-09-10 10:57:30] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":242,"data_hex":"000000000001a089c7a288012ccbc8400749e130000c012e2d002b0000000a00..."} 
[2026-09-10 10:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":242,"packet_hex":"000000000001a089c7a288012ccbc8400749e130000c012e2d002b0000000a00..."} 
[2026-09-10 10:57:30] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c80c00012ccb9840074a3880000a000d2a..."} 
[2026-09-10 10:57:30] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:57:30] local.INFO: Extracted packet for processing {"connection_id":176165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:57:30] local.INFO: GPS Element Parsed {"raw_longitude":751540288,"raw_latitude":122304640,"longitude_deg":75.1540288,"latitude_deg":12.230464,"altitude":10,"angle":13,"satellites":42,"speed":42,"hex_longitude":"2ccb9840","hex_latitude":"074a3880","is_valid_coordinates":true} 
[2026-09-10 10:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988602880001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403859971025928192,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776831206194685952,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789017984000,"timestamp_ms":1789017984000,"timestamp_seconds":1789017984,"priority":1,"record_length":96,"hex_timestamp":"000001a089c80c00"} 
[2026-09-10 10:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10: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-09-10 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 10:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988602880001,"66":27843,"74":206,"85":37632,"24":42,"16":403859971025928192,"44":-3776831206194685952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988602880001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403859971025928192,"km_value":403859971025928.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776831206194685952,"description":"Unknown IO ID 44"} 
[2026-09-10 10:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988602880001,"power":27843,"unknown_74":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3776831206194685952}} 
[2026-09-10 10:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":176165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:57:30] local.INFO: GPS data processed {"connection_id":176165,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:57:30] local.INFO: Acknowledgment sent {"connection_id":176165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:57:33] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c82f28012ccba400074a5bc8000900142b..."} 
[2026-09-10 10:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c82f28012ccba400074a5bc8000900142b..."} 
[2026-09-10 10:57:33] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c82f28012ccba400074a5bc8000900142b..."} 
[2026-09-10 10:57:33] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:57:33] local.INFO: Extracted packet for processing {"connection_id":176165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:57:33] local.INFO: GPS Element Parsed {"raw_longitude":751543296,"raw_latitude":122313672,"longitude_deg":75.1543296,"latitude_deg":12.2313672,"altitude":9,"angle":20,"satellites":43,"speed":44,"hex_longitude":"2ccba400","hex_latitude":"074a5bc8","is_valid_coordinates":true} 
[2026-09-10 10:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988603904001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403860430587428864,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776197887495995392,"note":"Value kept but may cause issues"} 
[2026-09-10 10:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789017993000,"timestamp_ms":1789017993000,"timestamp_seconds":1789017993,"priority":1,"record_length":96,"hex_timestamp":"000001a089c82f28"} 
[2026-09-10 10:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:57: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-09-10 10: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":195,"data_length":795,"current_offset":136} 
[2026-09-10 10:57: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-09-10 10:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:57: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-09-10 10:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988603904001,"66":27800,"74":206,"85":37632,"24":44,"16":403860430587428864,"44":-3776197887495995392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988603904001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:57:33] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403860430587428864,"km_value":403860430587428.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776197887495995392,"description":"Unknown IO ID 44"} 
[2026-09-10 10:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988603904001,"power":27800,"unknown_74":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3776197887495995392}} 
[2026-09-10 10:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":176165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:57:33] local.INFO: GPS data processed {"connection_id":176165,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:57:33] local.INFO: Acknowledgment sent {"connection_id":176165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:58:04] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c85250012ccbae40074a80f80008000a2a..."} 
[2026-09-10 10:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c85250012ccbae40074a80f80008000a2a..."} 
[2026-09-10 10:58:04] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c85250012ccbae40074a80f80008000a2a..."} 
[2026-09-10 10:58:04] local.INFO: Packet analysis {"connection_id":176165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:58:04] local.INFO: Extracted packet for processing {"connection_id":176165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:58:04] local.INFO: GPS Element Parsed {"raw_longitude":751545920,"raw_latitude":122323192,"longitude_deg":75.154592,"latitude_deg":12.2323192,"altitude":8,"angle":10,"satellites":42,"speed":38,"hex_longitude":"2ccbae40","hex_latitude":"074a80f8","is_valid_coordinates":true} 
[2026-09-10 10:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988606208001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403860911623766016,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3772890556517332992,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018002000,"timestamp_ms":1789018002000,"timestamp_seconds":1789018002,"priority":1,"record_length":96,"hex_timestamp":"000001a089c85250"} 
[2026-09-10 10:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 10:58: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-09-10 10:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988606208001,"66":27767,"74":206,"85":37632,"24":38,"16":403860911623766016,"44":-3772890556517332992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988606208001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:58:04] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403860911623766016,"km_value":403860911623766.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3772890556517332992,"description":"Unknown IO ID 44"} 
[2026-09-10 10:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988606208001,"power":27767,"unknown_74":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-3772890556517332992}} 
[2026-09-10 10:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":176165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:58:04] local.INFO: GPS data processed {"connection_id":176165,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:58:04] local.INFO: Acknowledgment sent {"connection_id":176165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:58:24] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:58:24] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:58:24] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:58:24] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:58:24] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:58:24] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:58:27] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:58:27] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 10:58:27] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:58:28] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c861f0012ccbaf80074a8f28000801662a..."} 
[2026-09-10 10:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c861f0012ccbaf80074a8f28000801662a..."} 
[2026-09-10 10:58:28] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a089..."} 
[2026-09-10 10:58:28] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:58:29] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c86da8012ccbae00074a98f00009015829..."} 
[2026-09-10 10:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c86da8012ccbae00074a98f00009015829..."} 
[2026-09-10 10:58:29] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a089c861f0012ccbaf80074a8f28000801662a..."} 
[2026-09-10 10:58:29] local.INFO: Packet analysis {"connection_id":176166,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:58:29] local.INFO: Extracted packet for processing {"connection_id":176166,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:58:29] local.INFO: GPS Element Parsed {"raw_longitude":751546240,"raw_latitude":122326824,"longitude_deg":75.154624,"latitude_deg":12.2326824,"altitude":8,"angle":358,"satellites":42,"speed":35,"hex_longitude":"2ccbaf80","hex_latitude":"074a8f28","is_valid_coordinates":true} 
[2026-09-10 10:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988608512001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403861087717425152,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3770005438003611648,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789018006000,"timestamp_ms":1789018006000,"timestamp_seconds":1789018006,"priority":1,"record_length":96,"hex_timestamp":"000001a089c861f0"} 
[2026-09-10 10:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:58: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-09-10 10:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 10:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988608512001,"66":27484,"74":206,"85":37632,"24":35,"16":403861087717425152,"44":-3770005438003611648},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988608512001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403861087717425152,"km_value":403861087717425.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3770005438003611648,"description":"Unknown IO ID 44"} 
[2026-09-10 10:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988608512001,"power":27484,"unknown_74":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3770005438003611648}} 
[2026-09-10 10:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":176166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:58:29] local.INFO: GPS data processed {"connection_id":176166,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:58:29] local.INFO: Acknowledgment sent {"connection_id":176166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:58:29] local.INFO: Packet analysis {"connection_id":176166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:58:29] local.INFO: Extracted packet for processing {"connection_id":176166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c8"} 
[2026-09-10 10:58:29] local.INFO: GPS Element Parsed {"raw_longitude":751545856,"raw_latitude":122329328,"longitude_deg":75.1545856,"latitude_deg":12.2329328,"altitude":9,"angle":344,"satellites":41,"speed":32,"hex_longitude":"2ccbae00","hex_latitude":"074a98f0","is_valid_coordinates":true} 
[2026-09-10 10:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988609536001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403861212271476736,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3769653594281793536,"note":"Value kept but may cause issues"} 
[2026-09-10 10:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789018009000,"timestamp_ms":1789018009000,"timestamp_seconds":1789018009,"priority":1,"record_length":96,"hex_timestamp":"000001a089c86da8"} 
[2026-09-10 10:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:58: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-09-10 10:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 10:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988609536001,"66":27919,"74":206,"85":37632,"24":32,"16":403861212271476736,"44":-3769653594281793536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988609536001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403861212271476736,"km_value":403861212271476.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3769653594281793536,"description":"Unknown IO ID 44"} 
[2026-09-10 10:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988609536001,"power":27919,"unknown_74":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-3769653594281793536}} 
[2026-09-10 10:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":176166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:58:29] local.INFO: GPS data processed {"connection_id":176166,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:58:29] local.INFO: Acknowledgment sent {"connection_id":176166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:59:00] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c97360012ccb1f80074b10c8000c01592f..."} 
[2026-09-10 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c97360012ccb1f80074b10c8000c01592f..."} 
[2026-09-10 10:59:00] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c97360012ccb1f80074b10c8000c01592f..."} 
[2026-09-10 10:59:00] local.INFO: Packet analysis {"connection_id":176166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 10:59:00] local.INFO: Extracted packet for processing {"connection_id":176166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 10:59:00] local.INFO: GPS Element Parsed {"raw_longitude":751509376,"raw_latitude":122360008,"longitude_deg":75.1509376,"latitude_deg":12.2360008,"altitude":12,"angle":345,"satellites":47,"speed":31,"hex_longitude":"2ccb1f80","hex_latitude":"074b10c8","is_valid_coordinates":true} 
[2026-09-10 10:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988626944001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403863565913554944,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809482303478253568,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789018076000,"timestamp_ms":1789018076000,"timestamp_seconds":1789018076,"priority":1,"record_length":96,"hex_timestamp":"000001a089c97360"} 
[2026-09-10 10:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:59: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-09-10 10:59: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-09-10 10:59: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-09-10 10:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988626944001,"66":27908,"74":206,"85":37632,"24":31,"16":403863565913554944,"44":-3809482303478253568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988626944001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:59:00] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403863565913554944,"km_value":403863565913554.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809482303478253568,"description":"Unknown IO ID 44"} 
[2026-09-10 10:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988626944001,"power":27908,"unknown_74":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3809482303478253568}} 
[2026-09-10 10:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":176166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:59:00] local.INFO: GPS data processed {"connection_id":176166,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:59:00] local.INFO: Acknowledgment sent {"connection_id":176166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:59:19] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:19] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:19] local.INFO: IMEI packet received {"connection_id":177584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 10:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":177584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 10:59:20] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:20] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:20] local.INFO: IMEI packet received {"connection_id":177584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":177584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:59:24] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:24] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 10:59:24] local.INFO: IMEI packet received {"connection_id":177584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 10:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":177584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 10:59:25] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c9adf8012ccb1640074b3530000f015a2e..."} 
[2026-09-10 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c9adf8012ccb1640074b3530000f015a2e..."} 
[2026-09-10 10:59:25] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c9adf8012ccb1640074b3530000f015a2e..."} 
[2026-09-10 10:59:25] local.INFO: Packet analysis {"connection_id":177584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 10:59:25] local.INFO: Extracted packet for processing {"connection_id":177584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 10:59:25] local.INFO: GPS Element Parsed {"raw_longitude":751507008,"raw_latitude":122369328,"longitude_deg":75.1507008,"latitude_deg":12.2369328,"altitude":15,"angle":346,"satellites":46,"speed":32,"hex_longitude":"2ccb1640","hex_latitude":"074b3530","is_valid_coordinates":true} 
[2026-09-10 10:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988627456001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403864029770022912,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3810185990919632896,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018091000,"timestamp_ms":1789018091000,"timestamp_seconds":1789018091,"priority":1,"record_length":96,"hex_timestamp":"000001a089c9adf8"} 
[2026-09-10 10:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 10:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988627456001,"66":27865,"74":206,"85":37632,"24":32,"16":403864029770022912,"44":-3810185990919632896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988627456001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:59:25] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403864029770022912,"km_value":403864029770022.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3810185990919632896,"description":"Unknown IO ID 44"} 
[2026-09-10 10:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988627456001,"power":27865,"unknown_74":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-3810185990919632896}} 
[2026-09-10 10:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":177584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:59:25] local.INFO: GPS data processed {"connection_id":177584,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:59:25] local.INFO: Acknowledgment sent {"connection_id":177584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 10:59:57] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c9d508012ccb0e80074b5860000f015b2e..."} 
[2026-09-10 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c9d508012ccb0e80074b5860000f015b2e..."} 
[2026-09-10 10:59:57] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c9d508012ccb0e80074b5860000f015b2e..."} 
[2026-09-10 10:59:57] local.INFO: Packet analysis {"connection_id":177584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 10:59:57] local.INFO: Extracted packet for processing {"connection_id":177584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 10:59:57] local.INFO: GPS Element Parsed {"raw_longitude":751505024,"raw_latitude":122378336,"longitude_deg":75.1505024,"latitude_deg":12.2378336,"altitude":15,"angle":347,"satellites":46,"speed":39,"hex_longitude":"2ccb0e80","hex_latitude":"074b5860","is_valid_coordinates":true} 
[2026-09-10 10:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 10:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988631296001,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403864476446621696,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3812789634451820544,"note":"Value kept but may cause issues"} 
[2026-09-10 10:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 10:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789018101000,"timestamp_ms":1789018101000,"timestamp_seconds":1789018101,"priority":1,"record_length":96,"hex_timestamp":"000001a089c9d508"} 
[2026-09-10 10:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 10:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 10:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 10:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 10:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 10:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 10:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 10:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 10:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 10:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 10:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 10:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988631296001,"66":27800,"74":206,"85":37632,"24":39,"16":403864476446621696,"44":-3812789634451820544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-10 10:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 10:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 10:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988631296001,"description":"Unknown IO ID 0"} 
[2026-09-10 10:59:57] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-10 10:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 10:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403864476446621696,"km_value":403864476446621.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 10:59:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3812789634451820544,"description":"Unknown IO ID 44"} 
[2026-09-10 10:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988631296001,"power":27800,"unknown_74":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3812789634451820544}} 
[2026-09-10 10:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":177584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 10:59:57] local.INFO: GPS data processed {"connection_id":177584,"processed":1,"errors":0,"total":1} 
[2026-09-10 10:59:57] local.INFO: Acknowledgment sent {"connection_id":177584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:00:19] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:00:19] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:00:19] local.INFO: IMEI packet received {"connection_id":176167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":176167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:00:25] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:00:25] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:00:25] local.INFO: IMEI packet received {"connection_id":176167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":176167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:00:25] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089c9f830012ccb06c0074b7a400010015a2e..."} 
[2026-09-10 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c9f830012ccb06c0074b7a400010015a2e..."} 
[2026-09-10 11:00:25] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c9f830012ccb06c0074b7a400010015a2e..."} 
[2026-09-10 11:00:25] local.INFO: Packet analysis {"connection_id":176167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:00:25] local.INFO: Extracted packet for processing {"connection_id":176167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:00:25] local.INFO: GPS Element Parsed {"raw_longitude":751503040,"raw_latitude":122387008,"longitude_deg":75.150304,"latitude_deg":12.2387008,"altitude":16,"angle":346,"satellites":46,"speed":37,"hex_longitude":"2ccb06c0","hex_latitude":"074b7a40","is_valid_coordinates":true} 
[2026-09-10 11:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988633856001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403864910238318592,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3814971065519022080,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018110000,"timestamp_ms":1789018110000,"timestamp_seconds":1789018110,"priority":1,"record_length":96,"hex_timestamp":"000001a089c9f830"} 
[2026-09-10 11:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 11:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988633856001,"66":27767,"16":403864910238318592,"85":37632,"24":37,"44":-3814971065519022080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-09-10 11:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988633856001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403864910238318592,"km_value":403864910238318.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3814971065519022080,"description":"Unknown IO ID 44"} 
[2026-09-10 11:00:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457988633856001,"power":27767,"odometer":null,"unknown_85":37632,"ignition":37,"unknown_44":-3814971065519022080}} 
[2026-09-10 11:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":176167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:00:25] local.INFO: GPS data processed {"connection_id":176167,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:00:25] local.INFO: Acknowledgment sent {"connection_id":176167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:00:27] local.INFO: TCP Data received {"connection_id":177585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:00:27] local.INFO: Processing buffer {"connection_id":177585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:00:27] local.INFO: IMEI packet received {"connection_id":177585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":177585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:00:32] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.69.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:32] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:32] local.INFO: IMEI packet received {"connection_id":177586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":177586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:00:32] local.INFO: TCP Data received {"connection_id":177585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:00:32] local.INFO: Processing buffer {"connection_id":177585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:00:32] local.INFO: IMEI packet received {"connection_id":177585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":177585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:00:33] local.INFO: TCP Data received {"connection_id":177585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089c9f830012d1841c0072190900052012525..."} 
[2026-09-10 11:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c9f830012d1841c0072190900052012525..."} 
[2026-09-10 11:00:33] local.INFO: Processing buffer {"connection_id":177585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c9f830012d1841c0072190900052012525..."} 
[2026-09-10 11:00:33] local.INFO: Packet analysis {"connection_id":177585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:00:33] local.INFO: Extracted packet for processing {"connection_id":177585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756564416,"raw_latitude":119640208,"longitude_deg":75.6564416,"latitude_deg":11.9640208,"altitude":82,"angle":293,"satellites":37,"speed":27,"hex_longitude":"2d1841c0","hex_latitude":"07219090","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988633344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19134925412237312,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757177941487415296,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00: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-09-10 11:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018110000,"timestamp_ms":1789018110000,"timestamp_seconds":1789018110,"priority":1,"record_length":96,"hex_timestamp":"000001a089c9f830"} 
[2026-09-10 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-09-10 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-10 11:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988633344001,"66":13276,"106":206,"83":41984,"24":27,"16":19134925412237312,"45":1757177941487415296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988633344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:00:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19134925412237312,"km_value":19134925412237.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757177941487415296,"description":"Unknown IO ID 45"} 
[2026-09-10 11:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988633344001,"power":13276,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1757177941487415296}} 
[2026-09-10 11:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":177585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:00:33] local.INFO: GPS data processed {"connection_id":177585,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:00:33] local.INFO: Acknowledgment sent {"connection_id":177585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:00:34] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.69.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:34] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:34] local.INFO: IMEI packet received {"connection_id":177586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":177586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:00:39] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.69.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:39] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:00:39] local.INFO: IMEI packet received {"connection_id":177586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":177586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:00:42] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.69.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089c90600012c55e5c008b1d4c0001e00c72e..."} 
[2026-09-10 11:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c90600012c55e5c008b1d4c0001e00c72e..."} 
[2026-09-10 11:00:42] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c90600012c55e5c008b1d4c0001e00c72e..."} 
[2026-09-10 11:00:42] local.INFO: Packet analysis {"connection_id":177586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:00:42] local.INFO: Extracted packet for processing {"connection_id":177586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:00:42] local.INFO: GPS Element Parsed {"raw_longitude":743826880,"raw_latitude":145872064,"longitude_deg":74.382688,"latitude_deg":14.5872064,"altitude":30,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2c55e5c0","hex_latitude":"08b1d4c0","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988614912001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6196390174656413696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789018048000,"timestamp_ms":1789018048000,"timestamp_seconds":1789018048,"priority":1,"record_length":96,"hex_timestamp":"000001a089c90600"} 
[2026-09-10 11:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:00: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-09-10 11:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 11:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988614912001,"66":28137,"26":206,"104":45568,"24":0,"16":3893920429768704,"44":6196390174656413696},"client_ip":"117.224.69.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,104,24,16,44]} 
[2026-09-10 11:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988614912001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:00:42] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-10 11:00:42] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 11:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":6196390174656413696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988614912001,"power":28137,"unknown_26":206,"unknown_104":45568,"ignition":0,"odometer":null,"unknown_44":6196390174656413696}} 
[2026-09-10 11:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":177586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:00:42] local.INFO: GPS data processed {"connection_id":177586,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:00:42] local.INFO: Acknowledgment sent {"connection_id":177586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:00:56] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cb4438012cca3f80074c2230001501102e..."} 
[2026-09-10 11:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cb4438012cca3f80074c2230001501102e..."} 
[2026-09-10 11:00:56] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cb4438012cca3f80074c2230001501102e..."} 
[2026-09-10 11:00:56] local.INFO: Packet analysis {"connection_id":176167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:00:56] local.INFO: Extracted packet for processing {"connection_id":176167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:00:56] local.INFO: GPS Element Parsed {"raw_longitude":751452032,"raw_latitude":122430000,"longitude_deg":75.1452032,"latitude_deg":12.243,"altitude":21,"angle":272,"satellites":46,"speed":44,"hex_longitude":"2cca3f80","hex_latitude":"074c2230","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988655616001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403868432111501312,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3862751442802667520,"note":"Value kept but may cause issues"} 
[2026-09-10 11:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789018195000,"timestamp_ms":1789018195000,"timestamp_seconds":1789018195,"priority":1,"record_length":96,"hex_timestamp":"000001a089cb4438"} 
[2026-09-10 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-09-10 11:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 11:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988655616001,"66":27876,"159":206,"85":37632,"24":44,"16":403868432111501312,"44":-3862751442802667520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 11:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988655616001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:00:56] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 11:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403868432111501312,"km_value":403868432111501.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:00:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3862751442802667520,"description":"Unknown IO ID 44"} 
[2026-09-10 11:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988655616001,"power":27876,"unknown_159":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3862751442802667520}} 
[2026-09-10 11:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":176167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:00:56] local.INFO: GPS data processed {"connection_id":176167,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:00:56] local.INFO: Acknowledgment sent {"connection_id":176167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:01:04] local.INFO: TCP Data received {"connection_id":177585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ca2af8012d182bc0072199b0004f011724..."} 
[2026-09-10 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ca2af8012d182bc0072199b0004f011724..."} 
[2026-09-10 11:01:04] local.INFO: Processing buffer {"connection_id":177585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ca2af8012d182bc0072199b0004f011724..."} 
[2026-09-10 11:01:04] local.INFO: Packet analysis {"connection_id":177585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:01:04] local.INFO: Extracted packet for processing {"connection_id":177585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119642544,"longitude_deg":75.6558784,"latitude_deg":11.9642544,"altitude":79,"angle":279,"satellites":36,"speed":7,"hex_longitude":"2d182bc0","hex_latitude":"072199b0","is_valid_coordinates":true} 
[2026-09-10 11:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988636160001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135217470013440,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747889267256889344,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01: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-09-10 11:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018123000,"timestamp_ms":1789018123000,"timestamp_seconds":1789018123,"priority":1,"record_length":96,"hex_timestamp":"000001a089ca2af8"} 
[2026-09-10 11:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 11:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988636160001,"66":13254,"106":206,"83":41984,"24":7,"16":19135217470013440,"45":1747889267256889344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988636160001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135217470013440,"km_value":19135217470013.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747889267256889344,"description":"Unknown IO ID 45"} 
[2026-09-10 11:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988636160001,"power":13254,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1747889267256889344}} 
[2026-09-10 11:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":177585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:01:05] local.INFO: GPS data processed {"connection_id":177585,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:01:05] local.INFO: Acknowledgment sent {"connection_id":177585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:01:20] local.INFO: TCP Data received {"connection_id":178965,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:20] local.INFO: Processing buffer {"connection_id":178965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:20] local.INFO: IMEI packet received {"connection_id":178965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":178965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:01:21] local.INFO: TCP Data received {"connection_id":178965,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:21] local.INFO: Processing buffer {"connection_id":178965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:21] local.INFO: IMEI packet received {"connection_id":178965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":178965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:01:24] local.INFO: TCP Data received {"connection_id":178965,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:24] local.INFO: Processing buffer {"connection_id":178965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:01:24] local.INFO: IMEI packet received {"connection_id":178965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":178965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:01:25] local.INFO: TCP Data received {"connection_id":178965,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cb6378012cca1a80074c2490001501162d..."} 
[2026-09-10 11:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cb6378012cca1a80074c2490001501162d..."} 
[2026-09-10 11:01:25] local.INFO: Processing buffer {"connection_id":178965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cb6378012cca1a80074c2490001501162d..."} 
[2026-09-10 11:01:25] local.INFO: Packet analysis {"connection_id":178965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:01:25] local.INFO: Extracted packet for processing {"connection_id":178965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:01:25] local.INFO: GPS Element Parsed {"raw_longitude":751442560,"raw_latitude":122430608,"longitude_deg":75.144256,"latitude_deg":12.2430608,"altitude":21,"angle":278,"satellites":45,"speed":49,"hex_longitude":"2cca1a80","hex_latitude":"074c2490","is_valid_coordinates":true} 
[2026-09-10 11:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988657920001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403868878788100096,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3873236385684901888,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018203000,"timestamp_ms":1789018203000,"timestamp_seconds":1789018203,"priority":1,"record_length":96,"hex_timestamp":"000001a089cb6378"} 
[2026-09-10 11:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988657920001,"66":27843,"159":206,"85":37632,"24":49,"16":403868878788100096,"44":-3873236385684901888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 11:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988657920001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:01:25] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 11:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403868878788100096,"km_value":403868878788100.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3873236385684901888,"description":"Unknown IO ID 44"} 
[2026-09-10 11:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988657920001,"power":27843,"unknown_159":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-3873236385684901888}} 
[2026-09-10 11:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":178965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:01:25] local.INFO: GPS data processed {"connection_id":178965,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:01:25] local.INFO: Acknowledgment sent {"connection_id":178965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:01:27] local.INFO: TCP Data received {"connection_id":178966,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:27] local.INFO: Processing buffer {"connection_id":178966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:27] local.INFO: IMEI packet received {"connection_id":178966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":178966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:01:28] local.INFO: TCP Data received {"connection_id":178966,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:28] local.INFO: Processing buffer {"connection_id":178966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:28] local.INFO: IMEI packet received {"connection_id":178966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":178966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:01:32] local.INFO: TCP Data received {"connection_id":178966,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:32] local.INFO: Processing buffer {"connection_id":178966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:01:32] local.INFO: IMEI packet received {"connection_id":178966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":178966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:01:33] local.INFO: TCP Data received {"connection_id":178966,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ca2ee0012d182b0007219a00004f012e25..."} 
[2026-09-10 11:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ca2ee0012d182b0007219a00004f012e25..."} 
[2026-09-10 11:01:33] local.INFO: Processing buffer {"connection_id":178966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ca2ee0012d182b0007219a00004f012e25..."} 
[2026-09-10 11:01:33] local.INFO: Packet analysis {"connection_id":178966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:01:33] local.INFO: Extracted packet for processing {"connection_id":178966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119642624,"longitude_deg":75.6558592,"latitude_deg":11.9642624,"altitude":79,"angle":302,"satellites":37,"speed":7,"hex_longitude":"2d182b00","hex_latitude":"07219a00","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988639488001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135226059948032,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769852928,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01: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-09-10 11:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018124000,"timestamp_ms":1789018124000,"timestamp_seconds":1789018124,"priority":1,"record_length":96,"hex_timestamp":"000001a089ca2ee0"} 
[2026-09-10 11:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 11:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988639488001,"66":13243,"106":206,"83":41984,"24":7,"16":19135226059948032,"45":1741696817769852928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988639488001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:01:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135226059948032,"km_value":19135226059948.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769852928,"description":"Unknown IO ID 45"} 
[2026-09-10 11:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988639488001,"power":13243,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1741696817769852928}} 
[2026-09-10 11:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":178966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:01:33] local.INFO: GPS data processed {"connection_id":178966,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:01:33] local.INFO: Acknowledgment sent {"connection_id":178966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:01:35] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.69.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089c95808012c55c90008b18620002000c72e..."} 
[2026-09-10 11:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c95808012c55c90008b18620002000c72e..."} 
[2026-09-10 11:01:35] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c95808012c55c90008b18620002000c72e..."} 
[2026-09-10 11:01:35] local.INFO: Packet analysis {"connection_id":177586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:01:35] local.INFO: Extracted packet for processing {"connection_id":177586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:01:35] local.INFO: GPS Element Parsed {"raw_longitude":743819520,"raw_latitude":145851936,"longitude_deg":74.381952,"latitude_deg":14.5851936,"altitude":32,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2c55c900","hex_latitude":"08b18620","is_valid_coordinates":true} 
[2026-09-10 11:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988620288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6189564406466396160,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789018069000,"timestamp_ms":1789018069000,"timestamp_seconds":1789018069,"priority":1,"record_length":96,"hex_timestamp":"000001a089c95808"} 
[2026-09-10 11:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 11:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988620288001,"66":28050,"175":206,"104":45568,"24":0,"16":3893920429768704,"44":6189564406466396160},"client_ip":"117.224.69.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,104,24,16,44]} 
[2026-09-10 11:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988620288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:01:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-10 11:01:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 11:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":6189564406466396160,"description":"Unknown IO ID 44"} 
[2026-09-10 11:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988620288001,"power":28050,"unknown_175":206,"unknown_104":45568,"ignition":0,"odometer":null,"unknown_44":6189564406466396160}} 
[2026-09-10 11:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":177586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:01:35] local.INFO: GPS data processed {"connection_id":177586,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:01:35] local.INFO: Acknowledgment sent {"connection_id":177586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:01:44] local.INFO: TCP Data received {"connection_id":178967,"ip":"117.224.69.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:01:44] local.INFO: Processing buffer {"connection_id":178967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:01:44] local.INFO: IMEI packet received {"connection_id":178967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":178967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:01:49] local.INFO: TCP Data received {"connection_id":178967,"ip":"117.224.69.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:01:49] local.INFO: Processing buffer {"connection_id":178967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:01:49] local.INFO: IMEI packet received {"connection_id":178967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":178967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:01:49] local.INFO: TCP Data received {"connection_id":178967,"ip":"117.224.69.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089c9aa10012c55b3c008b14bb0002800c32e..."} 
[2026-09-10 11:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c9aa10012c55b3c008b14bb0002800c32e..."} 
[2026-09-10 11:01:49] local.INFO: Processing buffer {"connection_id":178967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c9aa10012c55b3c008b14bb0002800c32e..."} 
[2026-09-10 11:01:49] local.INFO: Packet analysis {"connection_id":178967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:01:49] local.INFO: Extracted packet for processing {"connection_id":178967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:01:49] local.INFO: GPS Element Parsed {"raw_longitude":743814080,"raw_latitude":145836976,"longitude_deg":74.381408,"latitude_deg":14.5836976,"altitude":40,"angle":195,"satellites":46,"speed":0,"hex_longitude":"2c55b3c0","hex_latitude":"08b14bb0","is_valid_coordinates":true} 
[2026-09-10 11:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988625664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6181472000880812032,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789018090000,"timestamp_ms":1789018090000,"timestamp_seconds":1789018090,"priority":1,"record_length":96,"hex_timestamp":"000001a089c9aa10"} 
[2026-09-10 11:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 11:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988625664001,"66":27887,"175":206,"104":45568,"24":0,"16":3893920429768704,"44":6181472000880812032},"client_ip":"117.224.69.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,104,24,16,44]} 
[2026-09-10 11:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988625664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:01:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-10 11:01:49] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 11:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":6181472000880812032,"description":"Unknown IO ID 44"} 
[2026-09-10 11:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988625664001,"power":27887,"unknown_175":206,"unknown_104":45568,"ignition":0,"odometer":null,"unknown_44":6181472000880812032}} 
[2026-09-10 11:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":178967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:01:50] local.INFO: GPS data processed {"connection_id":178967,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:01:50] local.INFO: Acknowledgment sent {"connection_id":178967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:01:52] local.INFO: TCP Data received {"connection_id":178967,"ip":"117.224.69.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089c9e0c0012c55b64008b11590002d009e2d..."} 
[2026-09-10 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089c9e0c0012c55b64008b11590002d009e2d..."} 
[2026-09-10 11:01:52] local.INFO: Processing buffer {"connection_id":178967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089c9e0c0012c55b64008b11590002d009e2d..."} 
[2026-09-10 11:01:52] local.INFO: Packet analysis {"connection_id":178967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:01:52] local.INFO: Extracted packet for processing {"connection_id":178967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089c9"} 
[2026-09-10 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":743814720,"raw_latitude":145823120,"longitude_deg":74.381472,"latitude_deg":14.582312,"altitude":45,"angle":158,"satellites":45,"speed":25,"hex_longitude":"2c55b640","hex_latitude":"08b11590","is_valid_coordinates":true} 
[2026-09-10 11:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988631040001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6175490657621880832,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789018104000,"timestamp_ms":1789018104000,"timestamp_seconds":1789018104,"priority":1,"record_length":96,"hex_timestamp":"000001a089c9e0c0"} 
[2026-09-10 11:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:01: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-09-10 11: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 11:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988631040001,"66":27974,"3":206,"104":45568,"24":25,"16":3893920429768704,"44":6175490657621880832},"client_ip":"117.224.69.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,104,24,16,44]} 
[2026-09-10 11:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988631040001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:01:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 11:01:52] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 11:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":6175490657621880832,"description":"Unknown IO ID 44"} 
[2026-09-10 11:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988631040001,"power":27974,"unknown_3":206,"unknown_104":45568,"ignition":25,"odometer":null,"unknown_44":6175490657621880832}} 
[2026-09-10 11:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":178967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:01:52] local.INFO: GPS data processed {"connection_id":178967,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:01:52] local.INFO: Acknowledgment sent {"connection_id":178967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:01:56] local.INFO: TCP Data received {"connection_id":178965,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cc55a8012cc8de00074c3620000f012830..."} 
[2026-09-10 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cc55a8012cc8de00074c3620000f012830..."} 
[2026-09-10 11:01:56] local.INFO: Processing buffer {"connection_id":178965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cc55a8012cc8de00074c3620000f012830..."} 
[2026-09-10 11:01:56] local.INFO: Packet analysis {"connection_id":178965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:01:56] local.INFO: Extracted packet for processing {"connection_id":178965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:01:56] local.INFO: GPS Element Parsed {"raw_longitude":751361536,"raw_latitude":122435104,"longitude_deg":75.1361536,"latitude_deg":12.2435104,"altitude":15,"angle":296,"satellites":48,"speed":51,"hex_longitude":"2cc8de00","hex_latitude":"074c3620","is_valid_coordinates":true} 
[2026-09-10 11:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988674560001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403872911762391040,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3966052759254538240,"note":"Value kept but may cause issues"} 
[2026-09-10 11:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789018265000,"timestamp_ms":1789018265000,"timestamp_seconds":1789018265,"priority":1,"record_length":96,"hex_timestamp":"000001a089cc55a8"} 
[2026-09-10 11:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 11:01:56] 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-09-10 11:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988674560001,"66":27615,"161":206,"85":37632,"24":51,"16":403872911762391040,"44":-3966052759254538240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-10 11:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988674560001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:01:56] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 11:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403872911762391040,"km_value":403872911762391.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:01:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3966052759254538240,"description":"Unknown IO ID 44"} 
[2026-09-10 11:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988674560001,"power":27615,"unknown_161":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3966052759254538240}} 
[2026-09-10 11:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":178965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:01:56] local.INFO: GPS data processed {"connection_id":178965,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:01:56] local.INFO: Acknowledgment sent {"connection_id":178965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:02:04] local.INFO: TCP Data received {"connection_id":178966,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ca80e8012d1829c007219ab0004f012e24..."} 
[2026-09-10 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ca80e8012d1829c007219ab0004f012e24..."} 
[2026-09-10 11:02:04] local.INFO: Processing buffer {"connection_id":178966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ca80e8012d1829c007219ab0004f012e24..."} 
[2026-09-10 11:02:04] local.INFO: Packet analysis {"connection_id":178966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:04] local.INFO: Extracted packet for processing {"connection_id":178966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":36,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988639744001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537340416,"note":"Value kept but may cause issues"} 
[2026-09-10 11: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-09-10 11:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018145000,"timestamp_ms":1789018145000,"timestamp_seconds":1789018145,"priority":1,"record_length":96,"hex_timestamp":"000001a089ca80e8"} 
[2026-09-10 11:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 11:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988639744001,"66":13156,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741485711537340416},"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-09-10 11:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988639744001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:02:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537340416,"description":"Unknown IO ID 45"} 
[2026-09-10 11:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988639744001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537340416}} 
[2026-09-10 11:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":178966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:02:04] local.INFO: GPS data processed {"connection_id":178966,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:02:04] local.INFO: Acknowledgment sent {"connection_id":178966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:02:23] local.INFO: TCP Data received {"connection_id":178967,"ip":"117.224.69.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089ca32c8012c55e34008b0dcc00027009724..."} 
[2026-09-10 11:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ca32c8012c55e34008b0dcc00027009724..."} 
[2026-09-10 11:02:23] local.INFO: Processing buffer {"connection_id":178967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ca32c8012c55e34008b0dcc00027009724..."} 
[2026-09-10 11:02:23] local.INFO: Packet analysis {"connection_id":178967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:23] local.INFO: Extracted packet for processing {"connection_id":178967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:23] local.INFO: GPS Element Parsed {"raw_longitude":743826240,"raw_latitude":145808576,"longitude_deg":74.382624,"latitude_deg":14.5808576,"altitude":39,"angle":151,"satellites":36,"speed":44,"hex_longitude":"2c55e340","hex_latitude":"08b0dcc0","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988634624001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6176194345060110336,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789018125000,"timestamp_ms":1789018125000,"timestamp_seconds":1789018125,"priority":1,"record_length":96,"hex_timestamp":"000001a089ca32c8"} 
[2026-09-10 11:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:02: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-09-10 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 11:02:23] 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-09-10 11: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-09-10 11:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988634624001,"66":28006,"3":206,"104":45568,"24":44,"16":3893920429768704,"44":6176194345060110336},"client_ip":"117.224.69.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,104,24,16,44]} 
[2026-09-10 11:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988634624001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:02:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 11:02:23] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 11:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:02:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":6176194345060110336,"description":"Unknown IO ID 44"} 
[2026-09-10 11:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988634624001,"power":28006,"unknown_3":206,"unknown_104":45568,"ignition":44,"odometer":null,"unknown_44":6176194345060110336}} 
[2026-09-10 11:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":178967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:02:23] local.INFO: GPS data processed {"connection_id":178967,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:02:23] local.INFO: Acknowledgment sent {"connection_id":178967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:02:24] local.INFO: TCP Data received {"connection_id":177587,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:02:24] local.INFO: Processing buffer {"connection_id":177587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:02:24] local.INFO: IMEI packet received {"connection_id":177587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":177587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:02:25] local.INFO: TCP Data received {"connection_id":177587,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:02:25] local.INFO: Processing buffer {"connection_id":177587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:02:25] local.INFO: IMEI packet received {"connection_id":177587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":177587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:02:26] local.INFO: TCP Data received {"connection_id":177587,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cc6548012cc8cc80074c40b0000f01332f..."} 
[2026-09-10 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cc6548012cc8cc80074c40b0000f01332f..."} 
[2026-09-10 11:02:26] local.INFO: Processing buffer {"connection_id":177587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cc6548012cc8cc80074c40b0000f01332f..."} 
[2026-09-10 11:02:26] local.INFO: Packet analysis {"connection_id":177587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:02:26] local.INFO: Extracted packet for processing {"connection_id":177587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":751357056,"raw_latitude":122437808,"longitude_deg":75.1357056,"latitude_deg":12.2437808,"altitude":15,"angle":307,"satellites":47,"speed":51,"hex_longitude":"2cc8cc80","hex_latitude":"074c40b0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988675840001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403873160870494208,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3972737789950812160,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789018269000,"timestamp_ms":1789018269000,"timestamp_seconds":1789018269,"priority":1,"record_length":96,"hex_timestamp":"000001a089cc6548"} 
[2026-09-10 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-09-10 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 11:02:26] 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-09-10 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-09-10 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-09-10 11:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988675840001,"66":27908,"161":206,"85":37632,"24":51,"16":403873160870494208,"44":-3972737789950812160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-10 11:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988675840001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:02:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 11:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403873160870494208,"km_value":403873160870494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3972737789950812160,"description":"Unknown IO ID 44"} 
[2026-09-10 11:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988675840001,"power":27908,"unknown_161":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3972737789950812160}} 
[2026-09-10 11:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":177587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:02:26] local.INFO: GPS data processed {"connection_id":177587,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:02:26] local.INFO: Acknowledgment sent {"connection_id":177587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:02:27] local.INFO: TCP Data received {"connection_id":178968,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:27] local.INFO: Processing buffer {"connection_id":178968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:27] local.INFO: IMEI packet received {"connection_id":178968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":178968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:02:30] local.INFO: TCP Data received {"connection_id":177587,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cc78d0012cc8b940074c5238000f013e30..."} 
[2026-09-10 11:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cc78d0012cc8b940074c5238000f013e30..."} 
[2026-09-10 11:02:30] local.INFO: Processing buffer {"connection_id":177587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cc78d0012cc8b940074c5238000f013e30..."} 
[2026-09-10 11:02:30] local.INFO: Packet analysis {"connection_id":177587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:02:30] local.INFO: Extracted packet for processing {"connection_id":177587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:02:30] local.INFO: GPS Element Parsed {"raw_longitude":751352128,"raw_latitude":122442296,"longitude_deg":75.1352128,"latitude_deg":12.2442296,"altitude":15,"angle":318,"satellites":48,"speed":53,"hex_longitude":"2cc8b940","hex_latitude":"074c5238","is_valid_coordinates":true} 
[2026-09-10 11:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988676864001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403873478698074112,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3977663602042556416,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789018274000,"timestamp_ms":1789018274000,"timestamp_seconds":1789018274,"priority":1,"record_length":96,"hex_timestamp":"000001a089cc78d0"} 
[2026-09-10 11:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:02: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-09-10 11:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:02: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-09-10 11:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988676864001,"66":27930,"161":206,"85":37632,"24":53,"16":403873478698074112,"44":-3977663602042556416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-10 11:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988676864001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:02:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 11:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403873478698074112,"km_value":403873478698074.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3977663602042556416,"description":"Unknown IO ID 44"} 
[2026-09-10 11:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988676864001,"power":27930,"unknown_161":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-3977663602042556416}} 
[2026-09-10 11:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":177587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:02:30] local.INFO: GPS data processed {"connection_id":177587,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:02:30] local.INFO: Acknowledgment sent {"connection_id":177587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:02:32] local.INFO: TCP Data received {"connection_id":178968,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:32] local.INFO: Processing buffer {"connection_id":178968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:32] local.INFO: IMEI packet received {"connection_id":178968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":178968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:02:32] local.INFO: TCP Data received {"connection_id":178968,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:32] local.INFO: Processing buffer {"connection_id":178968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:02:32] local.INFO: IMEI packet received {"connection_id":178968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":178968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:02:33] local.INFO: TCP Data received {"connection_id":178968,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cad2f0012d1829c007219ab0004f012e25..."} 
[2026-09-10 11:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cad2f0012d1829c007219ab0004f012e25..."} 
[2026-09-10 11:02:33] local.INFO: Processing buffer {"connection_id":178968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cad2f0012d1829c007219ab0004f012e25..."} 
[2026-09-10 11:02:33] local.INFO: Packet analysis {"connection_id":178968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:33] local.INFO: Extracted packet for processing {"connection_id":178968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":37,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988645120001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018166000,"timestamp_ms":1789018166000,"timestamp_seconds":1789018166,"priority":1,"record_length":96,"hex_timestamp":"000001a089cad2f0"} 
[2026-09-10 11:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-10 11:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988645120001,"66":13091,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988645120001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:02:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988645120001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":178968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:02:33] local.INFO: GPS data processed {"connection_id":178968,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:02:33] local.INFO: Acknowledgment sent {"connection_id":178968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:02:39] local.INFO: TCP Data received {"connection_id":178969,"ip":"117.224.69.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:02:39] local.INFO: Processing buffer {"connection_id":178969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:02:39] local.INFO: IMEI packet received {"connection_id":178969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":178969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:02:44] local.INFO: TCP Data received {"connection_id":178969,"ip":"117.224.69.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:02:44] local.INFO: Processing buffer {"connection_id":178969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:02:44] local.INFO: IMEI packet received {"connection_id":178969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":178969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:02:45] local.INFO: TCP Data received {"connection_id":178969,"ip":"117.224.69.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089ca7530012c55e3c008b08f30001c00b424..."} 
[2026-09-10 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ca7530012c55e3c008b08f30001c00b424..."} 
[2026-09-10 11:02:45] local.INFO: Processing buffer {"connection_id":178969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ca7530012c55e3c008b08f30001c00b424..."} 
[2026-09-10 11:02:45] local.INFO: Packet analysis {"connection_id":178969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:45] local.INFO: Extracted packet for processing {"connection_id":178969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:02:45] local.INFO: GPS Element Parsed {"raw_longitude":743826368,"raw_latitude":145788720,"longitude_deg":74.3826368,"latitude_deg":14.578872,"altitude":28,"angle":180,"satellites":36,"speed":47,"hex_longitude":"2c55e3c0","hex_latitude":"08b08f30","is_valid_coordinates":true} 
[2026-09-10 11:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988640000001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6188860719008366592,"note":"Value kept but may cause issues"} 
[2026-09-10 11:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789018142000,"timestamp_ms":1789018142000,"timestamp_seconds":1789018142,"priority":1,"record_length":96,"hex_timestamp":"000001a089ca7530"} 
[2026-09-10 11:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 11:02:45] 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-09-10 11:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988640000001,"66":27952,"178":206,"104":45568,"24":47,"16":3893920429768704,"44":6188860719008366592},"client_ip":"117.224.69.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,104,24,16,44]} 
[2026-09-10 11:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988640000001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:02:45] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 11:02:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 11:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":6188860719008366592,"description":"Unknown IO ID 44"} 
[2026-09-10 11:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988640000001,"power":27952,"unknown_178":206,"unknown_104":45568,"ignition":47,"odometer":null,"unknown_44":6188860719008366592}} 
[2026-09-10 11:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":178969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:02:45] local.INFO: GPS data processed {"connection_id":178969,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:02:45] local.INFO: Acknowledgment sent {"connection_id":178969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:03:01] local.INFO: TCP Data received {"connection_id":177587,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cc8c58012cc8aac0074c6820000f014b2f..."} 
[2026-09-10 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cc8c58012cc8aac0074c6820000f014b2f..."} 
[2026-09-10 11:03:01] local.INFO: Processing buffer {"connection_id":177587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cc8c58012cc8aac0074c6820000f014b2f..."} 
[2026-09-10 11:03:01] local.INFO: Packet analysis {"connection_id":177587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:03:01] local.INFO: Extracted packet for processing {"connection_id":177587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:03:01] local.INFO: GPS Element Parsed {"raw_longitude":751348416,"raw_latitude":122447904,"longitude_deg":75.1348416,"latitude_deg":12.2447904,"altitude":15,"angle":331,"satellites":47,"speed":54,"hex_longitude":"2cc8aac0","hex_latitude":"074c6820","is_valid_coordinates":true} 
[2026-09-10 11:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988678144001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403873805115588608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3983081995343087616,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789018279000,"timestamp_ms":1789018279000,"timestamp_seconds":1789018279,"priority":1,"record_length":96,"hex_timestamp":"000001a089cc8c58"} 
[2026-09-10 11:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:03: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-09-10 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 11:03: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-09-10 11:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:03: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-09-10 11:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988678144001,"66":27658,"161":206,"85":37632,"24":54,"16":403873805115588608,"44":-3983081995343087616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-10 11:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988678144001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:03:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 11:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403873805115588608,"km_value":403873805115588.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3983081995343087616,"description":"Unknown IO ID 44"} 
[2026-09-10 11:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988678144001,"power":27658,"unknown_161":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3983081995343087616}} 
[2026-09-10 11:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":177587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:03:01] local.INFO: GPS data processed {"connection_id":177587,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:03:01] local.INFO: Acknowledgment sent {"connection_id":177587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:03:04] local.INFO: TCP Data received {"connection_id":178968,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cb24f8012d1829c007219ab0004f012e25..."} 
[2026-09-10 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cb24f8012d1829c007219ab0004f012e25..."} 
[2026-09-10 11:03:04] local.INFO: Processing buffer {"connection_id":178968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cb24f8012d1829c007219ab0004f012e25..."} 
[2026-09-10 11:03:04] local.INFO: Packet analysis {"connection_id":178968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:03:04] local.INFO: Extracted packet for processing {"connection_id":178968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":37,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988650496001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03: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-09-10 11:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018187000,"timestamp_ms":1789018187000,"timestamp_seconds":1789018187,"priority":1,"record_length":96,"hex_timestamp":"000001a089cb24f8"} 
[2026-09-10 11:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:03: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-09-10 11:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 11:03: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-09-10 11:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988650496001,"66":13015,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988650496001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:03:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988650496001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":178968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:03:04] local.INFO: GPS data processed {"connection_id":178968,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:03:04] local.INFO: Acknowledgment sent {"connection_id":178968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:03:17] local.INFO: TCP Data received {"connection_id":178969,"ip":"117.224.69.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089cab798012c56080008b04770001000a728..."} 
[2026-09-10 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cab798012c56080008b04770001000a728..."} 
[2026-09-10 11:03:17] local.INFO: Processing buffer {"connection_id":178969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cab798012c56080008b04770001000a728..."} 
[2026-09-10 11:03:17] local.INFO: Packet analysis {"connection_id":178969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:03:17] local.INFO: Extracted packet for processing {"connection_id":178969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ca"} 
[2026-09-10 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":743835648,"raw_latitude":145770352,"longitude_deg":74.3835648,"latitude_deg":14.5770352,"altitude":16,"angle":167,"satellites":40,"speed":44,"hex_longitude":"2c560800","hex_latitude":"08b04770","is_valid_coordinates":true} 
[2026-09-10 11:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988644352001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6189001456491638784,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789018159000,"timestamp_ms":1789018159000,"timestamp_seconds":1789018159,"priority":1,"record_length":96,"hex_timestamp":"000001a089cab798"} 
[2026-09-10 11:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-10 11:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.69.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988644352001,"66":28028,"178":206,"104":45568,"24":44,"16":3893920429768704,"44":6189001456491638784},"client_ip":"117.224.69.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,104,24,16,44]} 
[2026-09-10 11:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988644352001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:03:17] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 11:03:17] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-10 11:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:03:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":6189001456491638784,"description":"Unknown IO ID 44"} 
[2026-09-10 11:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988644352001,"power":28028,"unknown_178":206,"unknown_104":45568,"ignition":44,"odometer":null,"unknown_44":6189001456491638784}} 
[2026-09-10 11:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":178969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:03:17] local.INFO: GPS data processed {"connection_id":178969,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:03:17] local.INFO: Acknowledgment sent {"connection_id":178969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:03:18] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:18] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:18] local.INFO: IMEI packet received {"connection_id":177588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":177588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:03:19] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:19] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:19] local.INFO: IMEI packet received {"connection_id":177588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":177588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:03:21] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:21] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:21] local.INFO: IMEI packet received {"connection_id":177588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":177588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:03:24] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:24] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:03:24] local.INFO: IMEI packet received {"connection_id":177588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":177588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:03:25] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cca7b0012cc89b00074c8af0000f01512f..."} 
[2026-09-10 11:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cca7b0012cc89b00074c8af0000f01512f..."} 
[2026-09-10 11:03:25] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cca7b0012cc89b00074c8af0000f01512f..."} 
[2026-09-10 11:03:25] local.INFO: Packet analysis {"connection_id":177588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:03:25] local.INFO: Extracted packet for processing {"connection_id":177588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:03:25] local.INFO: GPS Element Parsed {"raw_longitude":751344384,"raw_latitude":122456816,"longitude_deg":75.1344384,"latitude_deg":12.2456816,"altitude":15,"angle":337,"satellites":47,"speed":56,"hex_longitude":"2cc89b00","hex_latitude":"074c8af0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988679424001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403874277561991168,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3987163382503956480,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018286000,"timestamp_ms":1789018286000,"timestamp_seconds":1789018286,"priority":1,"record_length":96,"hex_timestamp":"000001a089cca7b0"} 
[2026-09-10 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-09-10 11:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 11:03:25] 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-09-10 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-09-10 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-09-10 11:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988679424001,"66":27876,"161":206,"85":37632,"24":56,"16":403874277561991168,"44":-3987163382503956480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-10 11:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988679424001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:03:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 11:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403874277561991168,"km_value":403874277561991.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3987163382503956480,"description":"Unknown IO ID 44"} 
[2026-09-10 11:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988679424001,"power":27876,"unknown_161":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3987163382503956480}} 
[2026-09-10 11:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":177588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:03:25] local.INFO: GPS data processed {"connection_id":177588,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:03:25] local.INFO: Acknowledgment sent {"connection_id":177588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:03:32] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:03:32] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:03:32] local.INFO: IMEI packet received {"connection_id":176415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":176415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:03:35] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:03:35] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:03:35] local.INFO: IMEI packet received {"connection_id":176415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":176415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:03:36] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cb7700012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cb7700012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:03:36] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cb7700012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:03:36] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:03:36] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988655872001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11: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-09-10 11:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789018208000,"timestamp_ms":1789018208000,"timestamp_seconds":1789018208,"priority":1,"record_length":96,"hex_timestamp":"000001a089cb7700"} 
[2026-09-10 11:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-10 11:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:03: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-09-10 11:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988655872001,"66":12950,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988655872001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988655872001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:03:36] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:03:36] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:03:38] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cbc908012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cbc908012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:03:38] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cbc908012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:03:38] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:03:38] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cb"} 
[2026-09-10 11:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988661248001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03: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-09-10 11:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789018229000,"timestamp_ms":1789018229000,"timestamp_seconds":1789018229,"priority":1,"record_length":96,"hex_timestamp":"000001a089cbc908"} 
[2026-09-10 11:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 11:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988661248001,"66":12885,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988661248001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:03:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988661248001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:03:38] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:03:38] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:03:57] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ccc308012cc88c00074cb018000f01522f..."} 
[2026-09-10 11:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ccc308012cc88c00074cb018000f01522f..."} 
[2026-09-10 11:03:57] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ccc308012cc88c00074cb018000f01522f..."} 
[2026-09-10 11:03:57] local.INFO: Packet analysis {"connection_id":177588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:03:57] local.INFO: Extracted packet for processing {"connection_id":177588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":751340544,"raw_latitude":122466328,"longitude_deg":75.1340544,"latitude_deg":12.2466328,"altitude":15,"angle":338,"satellites":47,"speed":57,"hex_longitude":"2cc88c00","hex_latitude":"074cb018","is_valid_coordinates":true} 
[2026-09-10 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988681216001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403874771483230208,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3991596613384867840,"note":"Value kept but may cause issues"} 
[2026-09-10 11:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789018293000,"timestamp_ms":1789018293000,"timestamp_seconds":1789018293,"priority":1,"record_length":96,"hex_timestamp":"000001a089ccc308"} 
[2026-09-10 11:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:03:57] 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-09-10 11:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988681216001,"66":27919,"161":206,"85":37632,"24":57,"16":403874771483230208,"44":-3991596613384867840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-10 11:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988681216001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:03:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 11:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403874771483230208,"km_value":403874771483230.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:03:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3991596613384867840,"description":"Unknown IO ID 44"} 
[2026-09-10 11:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988681216001,"power":27919,"unknown_161":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3991596613384867840}} 
[2026-09-10 11:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":177588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:03:57] local.INFO: GPS data processed {"connection_id":177588,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:03:57] local.INFO: Acknowledgment sent {"connection_id":177588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:04:09] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cc1b10012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cc1b10012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:04:09] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cc1b10012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:04:09] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:04:09] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:04:09] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988666624001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789018250000,"timestamp_ms":1789018250000,"timestamp_seconds":1789018250,"priority":1,"record_length":96,"hex_timestamp":"000001a089cc1b10"} 
[2026-09-10 11:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 11:04: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-09-10 11:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988666624001,"66":12841,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988666624001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:04:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988666624001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:04:09] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:04:09] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:04:19] local.INFO: TCP Data received {"connection_id":178970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:19] local.INFO: Processing buffer {"connection_id":178970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:19] local.INFO: IMEI packet received {"connection_id":178970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":178970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:04:22] local.INFO: TCP Data received {"connection_id":178970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:22] local.INFO: Processing buffer {"connection_id":178970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:22] local.INFO: IMEI packet received {"connection_id":178970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":178970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:04:24] local.INFO: TCP Data received {"connection_id":178970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:24] local.INFO: Processing buffer {"connection_id":178970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:04:24] local.INFO: IMEI packet received {"connection_id":178970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":178970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:04:25] local.INFO: TCP Data received {"connection_id":178970,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ce3238012cc7c800074d2d480011010528..."} 
[2026-09-10 11:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ce3238012cc7c800074d2d480011010528..."} 
[2026-09-10 11:04:25] local.INFO: Processing buffer {"connection_id":178970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ce3238012cc7c800074d2d480011010528..."} 
[2026-09-10 11:04:25] local.INFO: Packet analysis {"connection_id":178970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ce"} 
[2026-09-10 11:04:25] local.INFO: Extracted packet for processing {"connection_id":178970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ce"} 
[2026-09-10 11:04:25] local.INFO: GPS Element Parsed {"raw_longitude":751290368,"raw_latitude":122498376,"longitude_deg":75.1290368,"latitude_deg":12.2498376,"altitude":17,"angle":261,"satellites":40,"speed":32,"hex_longitude":"2cc7c800","hex_latitude":"074d2d48","is_valid_coordinates":true} 
[2026-09-10 11:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988704000001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403877898219421696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4040854734298427392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018387000,"timestamp_ms":1789018387000,"timestamp_seconds":1789018387,"priority":1,"record_length":96,"hex_timestamp":"000001a089ce3238"} 
[2026-09-10 11:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 11:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988704000001,"66":27919,"88":206,"85":37632,"24":32,"16":403877898219421696,"44":-4040854734298427392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 11:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988704000001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:04:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 11:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403877898219421696,"km_value":403877898219421.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4040854734298427392,"description":"Unknown IO ID 44"} 
[2026-09-10 11:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988704000001,"power":27919,"unknown_88":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-4040854734298427392}} 
[2026-09-10 11:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":178970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:04:25] local.INFO: GPS data processed {"connection_id":178970,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:04:25] local.INFO: Acknowledgment sent {"connection_id":178970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:04:27] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:04:27] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:04:27] local.INFO: IMEI packet received {"connection_id":176416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":176416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:04:32] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:04:32] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:04:32] local.INFO: IMEI packet received {"connection_id":176416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":176416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:04:33] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cc6d18012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cc6d18012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:04:33] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cc6d18012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:04:33] local.INFO: Packet analysis {"connection_id":176416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:04:33] local.INFO: Extracted packet for processing {"connection_id":176416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988672000001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018271000,"timestamp_ms":1789018271000,"timestamp_seconds":1789018271,"priority":1,"record_length":96,"hex_timestamp":"000001a089cc6d18"} 
[2026-09-10 11:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 11:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988672000001,"66":12798,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988672000001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:04:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988672000001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":176416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:04:33] local.INFO: GPS data processed {"connection_id":176416,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:04:33] local.INFO: Acknowledgment sent {"connection_id":176416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:04:56] local.INFO: TCP Data received {"connection_id":178970,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089ce8440012cc7a7c0074d2908000d010626..."} 
[2026-09-10 11:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ce8440012cc7a7c0074d2908000d010626..."} 
[2026-09-10 11:04:56] local.INFO: Processing buffer {"connection_id":178970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ce8440012cc7a7c0074d2908000d010626..."} 
[2026-09-10 11:04:56] local.INFO: Packet analysis {"connection_id":178970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ce"} 
[2026-09-10 11:04:56] local.INFO: Extracted packet for processing {"connection_id":178970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ce"} 
[2026-09-10 11:04:56] local.INFO: GPS Element Parsed {"raw_longitude":751282112,"raw_latitude":122497288,"longitude_deg":75.1282112,"latitude_deg":12.2497288,"altitude":13,"angle":262,"satellites":38,"speed":9,"hex_longitude":"2cc7a7c0","hex_latitude":"074d2908","is_valid_coordinates":true} 
[2026-09-10 11:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988707072001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403878293356412928,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4050987833460176896,"note":"Value kept but may cause issues"} 
[2026-09-10 11:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789018408000,"timestamp_ms":1789018408000,"timestamp_seconds":1789018408,"priority":1,"record_length":96,"hex_timestamp":"000001a089ce8440"} 
[2026-09-10 11:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 11:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988707072001,"66":27995,"88":206,"85":37632,"24":9,"16":403878293356412928,"44":-4050987833460176896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 11:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988707072001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:04:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 11:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403878293356412928,"km_value":403878293356412.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:04:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4050987833460176896,"description":"Unknown IO ID 44"} 
[2026-09-10 11:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988707072001,"power":27995,"unknown_88":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4050987833460176896}} 
[2026-09-10 11:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":178970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:04:56] local.INFO: GPS data processed {"connection_id":178970,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:04:56] local.INFO: Acknowledgment sent {"connection_id":178970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:05:04] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ccbf20012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ccbf20012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:05:04] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ccbf20012d1829c007219ab0004f012e27..."} 
[2026-09-10 11:05:04] local.INFO: Packet analysis {"connection_id":176416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:05:04] local.INFO: Extracted packet for processing {"connection_id":176416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cc"} 
[2026-09-10 11:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988677376001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018292000,"timestamp_ms":1789018292000,"timestamp_seconds":1789018292,"priority":1,"record_length":96,"hex_timestamp":"000001a089ccbf20"} 
[2026-09-10 11:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 11:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988677376001,"66":12809,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988677376001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988677376001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":176416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:05:04] local.INFO: GPS data processed {"connection_id":176416,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:05:04] local.INFO: Acknowledgment sent {"connection_id":176416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:05:19] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:19] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:19] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:05:19] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:19] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:19] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:05:24] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:24] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:05:24] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:05:25] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cec2c0012cc78800074d27e0000601122d..."} 
[2026-09-10 11:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cec2c0012cc78800074d27e0000601122d..."} 
[2026-09-10 11:05:25] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cec2c0012cc78800074d27e0000601122d..."} 
[2026-09-10 11:05:25] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ce"} 
[2026-09-10 11:05:25] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ce"} 
[2026-09-10 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":751273984,"raw_latitude":122496992,"longitude_deg":75.1273984,"latitude_deg":12.2496992,"altitude":6,"angle":274,"satellites":45,"speed":13,"hex_longitude":"2cc78800","hex_latitude":"074d27e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988712448001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403878684198436864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4060065401459374080,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018424000,"timestamp_ms":1789018424000,"timestamp_seconds":1789018424,"priority":1,"record_length":96,"hex_timestamp":"000001a089cec2c0"} 
[2026-09-10 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-09-10 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 11:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988712448001,"66":27713,"88":206,"85":37632,"24":13,"16":403878684198436864,"44":-4060065401459374080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 11:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988712448001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:05:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 11:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403878684198436864,"km_value":403878684198436.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4060065401459374080,"description":"Unknown IO ID 44"} 
[2026-09-10 11:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988712448001,"power":27713,"unknown_88":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4060065401459374080}} 
[2026-09-10 11:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:05:25] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:05:25] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:05:27] local.INFO: TCP Data received {"connection_id":177589,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:05:27] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:05:27] local.INFO: IMEI packet received {"connection_id":177589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":177589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:05:32] local.INFO: TCP Data received {"connection_id":177589,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:05:32] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:05:32] local.INFO: IMEI packet received {"connection_id":177589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":177589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:05:33] local.INFO: TCP Data received {"connection_id":177589,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cd1128012d1829c007219ab0004f012e26..."} 
[2026-09-10 11:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cd1128012d1829c007219ab0004f012e26..."} 
[2026-09-10 11:05:33] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cd1128012d1829c007219ab0004f012e26..."} 
[2026-09-10 11:05:33] local.INFO: Packet analysis {"connection_id":177589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cd"} 
[2026-09-10 11:05:33] local.INFO: Extracted packet for processing {"connection_id":177589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cd"} 
[2026-09-10 11:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988682752001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018313000,"timestamp_ms":1789018313000,"timestamp_seconds":1789018313,"priority":1,"record_length":96,"hex_timestamp":"000001a089cd1128"} 
[2026-09-10 11:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2311770864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-3854826189279974976,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2595225679,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":36,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221692826,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":67,"raw_value":4217831424,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2421441265037028900,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241648239365715,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,251,160,109,45,192,154,79,39,10,66,27,201,1,240,85,227,137,33,4,113,205,36,41,176,37,239,50,2,67,7,51,164,103],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 11:05:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692882149011619840,"timestamp_seconds":5692882149011620.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 11:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988682752001,"66":12776,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988682752001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988682752001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":177589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:05:33] local.INFO: GPS data processed {"connection_id":177589,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:05:33] local.INFO: Acknowledgment sent {"connection_id":177589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:05:56] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089cf0140012cc77900074d2990000c011d31..."} 
[2026-09-10 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cf0140012cc77900074d2990000c011d31..."} 
[2026-09-10 11:05:56] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cf0140012cc77900074d2990000c011d31..."} 
[2026-09-10 11:05:56] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cf"} 
[2026-09-10 11:05:56] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cf"} 
[2026-09-10 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":751270144,"raw_latitude":122497424,"longitude_deg":75.1270144,"latitude_deg":12.2497424,"altitude":12,"angle":285,"satellites":49,"speed":9,"hex_longitude":"2cc77900","hex_latitude":"074d2990","is_valid_coordinates":true} 
[2026-09-10 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988716544001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403878864587063296,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4069002231970013184,"note":"Value kept but may cause issues"} 
[2026-09-10 11:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789018440000,"timestamp_ms":1789018440000,"timestamp_seconds":1789018440,"priority":1,"record_length":96,"hex_timestamp":"000001a089cf0140"} 
[2026-09-10 11:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 11:05:56] 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-09-10 11:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988716544001,"66":27908,"88":206,"85":37632,"24":9,"16":403878864587063296,"44":-4069002231970013184},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 11:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988716544001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:05:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 11:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403878864587063296,"km_value":403878864587063.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4069002231970013184,"description":"Unknown IO ID 44"} 
[2026-09-10 11:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988716544001,"power":27908,"unknown_88":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4069002231970013184}} 
[2026-09-10 11:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:05:56] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:05:56] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:06:04] local.INFO: TCP Data received {"connection_id":177589,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089cd6330012d1829c007219ab0004f012e28..."} 
[2026-09-10 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089cd6330012d1829c007219ab0004f012e28..."} 
[2026-09-10 11:06:04] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089cd6330012d1829c007219ab0004f012e28..."} 
[2026-09-10 11:06:04] local.INFO: Packet analysis {"connection_id":177589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089cd"} 
[2026-09-10 11:06:04] local.INFO: Extracted packet for processing {"connection_id":177589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089cd"} 
[2026-09-10 11:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119642800,"longitude_deg":75.6558272,"latitude_deg":11.96428,"altitude":79,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-10 11:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988688128001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135243239817216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816497152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018334000,"timestamp_ms":1789018334000,"timestamp_seconds":1789018334,"priority":1,"record_length":96,"hex_timestamp":"000001a089cd6330"} 
[2026-09-10 11:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 11:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988688128001,"66":12722,"105":206,"83":41984,"24":0,"16":19135243239817216,"45":1741133867816497152},"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-09-10 11:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988688128001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:06:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135243239817216,"km_value":19135243239817.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816497152,"description":"Unknown IO ID 45"} 
[2026-09-10 11:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988688128001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816497152}} 
[2026-09-10 11:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":177589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:06:04] local.INFO: GPS data processed {"connection_id":177589,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:06:04] local.INFO: Acknowledgment sent {"connection_id":177589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:06:24] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:06:24] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:06:24] local.INFO: IMEI packet received {"connection_id":176169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":176169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:06:27] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:27] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:27] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:06:28] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:28] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:28] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:06:29] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:29] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:29] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:06:30] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:30] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:06:30] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:06:31] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:06:31] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:06:31] local.INFO: IMEI packet received {"connection_id":176169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":176169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:06:31] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d05900012d182a8007219c88004a007128..."} 
[2026-09-10 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d05900012d182a8007219c88004a007128..."} 
[2026-09-10 11:06:31] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d05900012d182a8007219c88004a007128..."} 
[2026-09-10 11:06:31] local.INFO: Packet analysis {"connection_id":176417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:06:31] local.INFO: Extracted packet for processing {"connection_id":176417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643272,"longitude_deg":75.6558464,"latitude_deg":11.9643272,"altitude":74,"angle":113,"satellites":40,"speed":5,"hex_longitude":"2d182a80","hex_latitude":"07219c88","is_valid_coordinates":true} 
[2026-09-10 11:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988742912001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135277599555584,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304975360,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789018528000,"timestamp_ms":1789018528000,"timestamp_seconds":1789018528,"priority":1,"record_length":96,"hex_timestamp":"000001a089d05900"} 
[2026-09-10 11:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 11:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988742912001,"66":12689,"105":206,"83":41984,"24":5,"16":19135277599555584,"45":1741274605304975360},"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-09-10 11:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988742912001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:06:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135277599555584,"km_value":19135277599555.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304975360,"description":"Unknown IO ID 45"} 
[2026-09-10 11:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988742912001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741274605304975360}} 
[2026-09-10 11:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":176417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:06:31] local.INFO: GPS data processed {"connection_id":176417,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:06:31] local.INFO: Acknowledgment sent {"connection_id":176417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:06:32] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d03da8012cc70d00074d67b8000d012d2b..."} 
[2026-09-10 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d03da8012cc70d00074d67b8000d012d2b..."} 
[2026-09-10 11:06:32] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d03da8012cc70d00074d67b8000d012d2b..."} 
[2026-09-10 11:06:32] local.INFO: Packet analysis {"connection_id":176169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:06:32] local.INFO: Extracted packet for processing {"connection_id":176169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:06:32] local.INFO: GPS Element Parsed {"raw_longitude":751242496,"raw_latitude":122513336,"longitude_deg":75.1242496,"latitude_deg":12.2513336,"altitude":13,"angle":301,"satellites":43,"speed":33,"hex_longitude":"2cc70d00","hex_latitude":"074d67b8","is_valid_coordinates":true} 
[2026-09-10 11:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988738304001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403880415070257152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4094897929824368640,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789018521000,"timestamp_ms":1789018521000,"timestamp_seconds":1789018521,"priority":1,"record_length":96,"hex_timestamp":"000001a089d03da8"} 
[2026-09-10 11:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11: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-09-10 11: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-09-10 11: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-09-10 11:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:06: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-09-10 11:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988738304001,"66":27887,"89":206,"85":37632,"24":33,"16":403880415070257152,"44":-4094897929824368640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 11:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988738304001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403880415070257152,"km_value":403880415070257.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:06:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4094897929824368640,"description":"Unknown IO ID 44"} 
[2026-09-10 11:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988738304001,"power":27887,"unknown_89":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-4094897929824368640}} 
[2026-09-10 11:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":176169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:06:32] local.INFO: GPS data processed {"connection_id":176169,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:06:32] local.INFO: Acknowledgment sent {"connection_id":176169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:06:33] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d064b8012cc6ee00074d7970000c012e2b..."} 
[2026-09-10 11:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d064b8012cc6ee00074d7970000c012e2b..."} 
[2026-09-10 11:06:33] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d064b8012cc6ee00074d7970000c012e2b..."} 
[2026-09-10 11:06:33] local.INFO: Packet analysis {"connection_id":176169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:06:33] local.INFO: Extracted packet for processing {"connection_id":176169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":751234560,"raw_latitude":122517872,"longitude_deg":75.123456,"latitude_deg":12.2517872,"altitude":12,"angle":302,"satellites":43,"speed":37,"hex_longitude":"2cc6ee00","hex_latitude":"074d7970","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988741376001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403880848861954048,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4103623654101239808,"note":"Value kept but may cause issues"} 
[2026-09-10 11:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018531000,"timestamp_ms":1789018531000,"timestamp_seconds":1789018531,"priority":1,"record_length":96,"hex_timestamp":"000001a089d064b8"} 
[2026-09-10 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-09-10 11:06: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-09-10 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 11:06: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-09-10 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-09-10 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-09-10 11:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:06: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-09-10 11:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988741376001,"66":27832,"89":206,"85":37632,"24":37,"16":403880848861954048,"44":-4103623654101239808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 11:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988741376001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:06:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 11:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403880848861954048,"km_value":403880848861954.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:06:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4103623654101239808,"description":"Unknown IO ID 44"} 
[2026-09-10 11:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988741376001,"power":27832,"unknown_89":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-4103623654101239808}} 
[2026-09-10 11:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":176169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:06:33] local.INFO: GPS data processed {"connection_id":176169,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:06:33] local.INFO: Acknowledgment sent {"connection_id":176169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:07:02] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d060d0012d182bc007219bf8004a008a28..."} 
[2026-09-10 11:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d060d0012d182bc007219bf8004a008a28..."} 
[2026-09-10 11:07:02] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d060d0012d182bc007219bf8004a008a28..."} 
[2026-09-10 11:07:02] local.INFO: Packet analysis {"connection_id":176417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:02] local.INFO: Extracted packet for processing {"connection_id":176417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643128,"longitude_deg":75.6558784,"latitude_deg":11.9643128,"altitude":74,"angle":138,"satellites":40,"speed":9,"hex_longitude":"2d182bc0","hex_latitude":"07219bf8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988743168001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135290484457472,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049150976,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07: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-09-10 11:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789018530000,"timestamp_ms":1789018530000,"timestamp_seconds":1789018530,"priority":1,"record_length":96,"hex_timestamp":"000001a089d060d0"} 
[2026-09-10 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-09-10 11:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 11:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988743168001,"66":12689,"105":206,"83":41984,"24":9,"16":19135290484457472,"45":1741344974049150976},"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-09-10 11:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988743168001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:07:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135290484457472,"km_value":19135290484457.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049150976,"description":"Unknown IO ID 45"} 
[2026-09-10 11:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988743168001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1741344974049150976}} 
[2026-09-10 11:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":176417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:07:02] local.INFO: GPS data processed {"connection_id":176417,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:07:02] local.INFO: Acknowledgment sent {"connection_id":176417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:07:04] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d087e0012cc6ce80074d8c68000c012c2f..."} 
[2026-09-10 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d087e0012cc6ce80074d8c68000c012c2f..."} 
[2026-09-10 11:07:04] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d087e0012cc6ce80074d8c68000c012c2f..."} 
[2026-09-10 11:07:04] local.INFO: Packet analysis {"connection_id":176169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:04] local.INFO: Extracted packet for processing {"connection_id":176169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":751226496,"raw_latitude":122522728,"longitude_deg":75.1226496,"latitude_deg":12.2522728,"altitude":12,"angle":300,"satellites":47,"speed":38,"hex_longitude":"2cc6ce80","hex_latitude":"074d8c68","is_valid_coordinates":true} 
[2026-09-10 11:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988743936001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403881299833520128,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4112349378378108928,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018540000,"timestamp_ms":1789018540000,"timestamp_seconds":1789018540,"priority":1,"record_length":96,"hex_timestamp":"000001a089d087e0"} 
[2026-09-10 11:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 11:07: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-09-10 11:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988743936001,"66":27876,"89":206,"85":37632,"24":38,"16":403881299833520128,"44":-4112349378378108928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 11:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988743936001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:07:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 11:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403881299833520128,"km_value":403881299833520.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4112349378378108928,"description":"Unknown IO ID 44"} 
[2026-09-10 11:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988743936001,"power":27876,"unknown_89":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-4112349378378108928}} 
[2026-09-10 11:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":176169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:07:04] local.INFO: GPS data processed {"connection_id":176169,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:07:04] local.INFO: Acknowledgment sent {"connection_id":176169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:07:19] local.INFO: TCP Data received {"connection_id":178971,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:07:19] local.INFO: Processing buffer {"connection_id":178971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:07:19] local.INFO: IMEI packet received {"connection_id":178971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":178971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:07:21] local.INFO: TCP Data received {"connection_id":178971,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:07:21] local.INFO: Processing buffer {"connection_id":178971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:07:21] local.INFO: IMEI packet received {"connection_id":178971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":178971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:07:23] local.INFO: TCP Data received {"connection_id":178971,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d0b6c0012cc6b400074d9b08000c011f31..."} 
[2026-09-10 11:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d0b6c0012cc6b400074d9b08000c011f31..."} 
[2026-09-10 11:07:23] local.INFO: Processing buffer {"connection_id":178971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d0b6c0012cc6b400074d9b08000c011f31..."} 
[2026-09-10 11:07:23] local.INFO: Packet analysis {"connection_id":178971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:23] local.INFO: Extracted packet for processing {"connection_id":178971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:23] local.INFO: GPS Element Parsed {"raw_longitude":751219712,"raw_latitude":122526472,"longitude_deg":75.1219712,"latitude_deg":12.2526472,"altitude":12,"angle":287,"satellites":49,"speed":29,"hex_longitude":"2cc6b400","hex_latitude":"074d9b08","is_valid_coordinates":true} 
[2026-09-10 11:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988746240001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403881669200707584,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4121215840143251456,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789018552000,"timestamp_ms":1789018552000,"timestamp_seconds":1789018552,"priority":1,"record_length":96,"hex_timestamp":"000001a089d0b6c0"} 
[2026-09-10 11:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:07: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-09-10 11:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:07:23] 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-09-10 11:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988746240001,"66":27908,"89":206,"85":37632,"24":29,"16":403881669200707584,"44":-4121215840143251456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 11:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988746240001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:07:23] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 11:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403881669200707584,"km_value":403881669200707.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:07:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4121215840143251456,"description":"Unknown IO ID 44"} 
[2026-09-10 11:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988746240001,"power":27908,"unknown_89":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-4121215840143251456}} 
[2026-09-10 11:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":178971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:07:23] local.INFO: GPS data processed {"connection_id":178971,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:07:23] local.INFO: Acknowledgment sent {"connection_id":178971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:07:24] local.INFO: TCP Data received {"connection_id":178971,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d0c278012cc6aac0074d9cc0000c011131..."} 
[2026-09-10 11:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d0c278012cc6aac0074d9cc0000c011131..."} 
[2026-09-10 11:07:24] local.INFO: Processing buffer {"connection_id":178971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d0c278012cc6aac0074d9cc0000c011131..."} 
[2026-09-10 11:07:24] local.INFO: Packet analysis {"connection_id":178971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:24] local.INFO: Extracted packet for processing {"connection_id":178971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:24] local.INFO: GPS Element Parsed {"raw_longitude":751217344,"raw_latitude":122526912,"longitude_deg":75.1217344,"latitude_deg":12.2526912,"altitude":12,"angle":273,"satellites":49,"speed":32,"hex_longitude":"2cc6aac0","hex_latitude":"074d9cc0","is_valid_coordinates":true} 
[2026-09-10 11:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988749312001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403881785164824576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4128674927025125376,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789018555000,"timestamp_ms":1789018555000,"timestamp_seconds":1789018555,"priority":1,"record_length":96,"hex_timestamp":"000001a089d0c278"} 
[2026-09-10 11:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988749312001,"66":27821,"89":206,"85":37632,"24":32,"16":403881785164824576,"44":-4128674927025125376},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 11:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988749312001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:07:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 11:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403881785164824576,"km_value":403881785164824.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:07:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4128674927025125376,"description":"Unknown IO ID 44"} 
[2026-09-10 11:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988749312001,"power":27821,"unknown_89":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-4128674927025125376}} 
[2026-09-10 11:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":178971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:07:24] local.INFO: GPS data processed {"connection_id":178971,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:07:24] local.INFO: Acknowledgment sent {"connection_id":178971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:07:27] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:07:27] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:07:27] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:07:32] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:07:32] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:07:32] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:07:33] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d06c88012d182e40072199a0004a007a29..."} 
[2026-09-10 11:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d06c88012d182e40072199a0004a007a29..."} 
[2026-09-10 11:07:33] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d06c88012d182e40072199a0004a007a29..."} 
[2026-09-10 11:07:33] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:33] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642528,"longitude_deg":75.6559424,"latitude_deg":11.9642528,"altitude":74,"angle":122,"satellites":41,"speed":14,"hex_longitude":"2d182e40","hex_latitude":"072199a0","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988743680001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19135337729097728,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817770002432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018533000,"timestamp_ms":1789018533000,"timestamp_seconds":1789018533,"priority":1,"record_length":96,"hex_timestamp":"000001a089d06c88"} 
[2026-09-10 11:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 11:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988743680001,"66":12667,"105":206,"83":41984,"24":14,"16":19135337729097728,"45":1741696817770002432},"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-09-10 11:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988743680001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19135337729097728,"km_value":19135337729097.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817770002432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988743680001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1741696817770002432}} 
[2026-09-10 11:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:07:34] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:07:34] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:07:56] local.INFO: TCP Data received {"connection_id":178971,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d0e988012cc68700074da228000c01192f..."} 
[2026-09-10 11:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d0e988012cc68700074da228000c01192f..."} 
[2026-09-10 11:07:56] local.INFO: Processing buffer {"connection_id":178971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d0e988012cc68700074da228000c01192f..."} 
[2026-09-10 11:07:56] local.INFO: Packet analysis {"connection_id":178971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:56] local.INFO: Extracted packet for processing {"connection_id":178971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d0"} 
[2026-09-10 11:07:56] local.INFO: GPS Element Parsed {"raw_longitude":751208192,"raw_latitude":122528296,"longitude_deg":75.1208192,"latitude_deg":12.2528296,"altitude":12,"angle":281,"satellites":47,"speed":39,"hex_longitude":"2cc68700","hex_latitude":"074da228","is_valid_coordinates":true} 
[2026-09-10 11:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988750080001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403882223251488768,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4131278570559586304,"note":"Value kept but may cause issues"} 
[2026-09-10 11:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789018565000,"timestamp_ms":1789018565000,"timestamp_seconds":1789018565,"priority":1,"record_length":96,"hex_timestamp":"000001a089d0e988"} 
[2026-09-10 11:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988750080001,"66":27821,"119":206,"85":37632,"24":39,"16":403882223251488768,"44":-4131278570559586304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-09-10 11:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988750080001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:07:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-10 11:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403882223251488768,"km_value":403882223251488.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4131278570559586304,"description":"Unknown IO ID 44"} 
[2026-09-10 11:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988750080001,"power":27821,"unknown_119":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-4131278570559586304}} 
[2026-09-10 11:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":178971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:07:56] local.INFO: GPS data processed {"connection_id":178971,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:07:56] local.INFO: Acknowledgment sent {"connection_id":178971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:08:05] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d21268012d18aa4007217380004d007829..."} 
[2026-09-10 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d21268012d18aa4007217380004d007829..."} 
[2026-09-10 11:08:05] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d21268012d18aa4007217380004d007829..."} 
[2026-09-10 11:08:05] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:05] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632768,"longitude_deg":75.6591168,"latitude_deg":11.9632768,"altitude":77,"angle":120,"satellites":41,"speed":31,"hex_longitude":"2d18aa40","hex_latitude":"07217380","is_valid_coordinates":true} 
[2026-09-10 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988769280001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19137004176408576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767733253113989120,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08: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-09-10 11:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789018641000,"timestamp_ms":1789018641000,"timestamp_seconds":1789018641,"priority":1,"record_length":96,"hex_timestamp":"000001a089d21268"} 
[2026-09-10 11:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 11:08: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-09-10 11:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:08: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-09-10 11:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988769280001,"66":14070,"106":206,"83":41984,"24":31,"16":19137004176408576,"45":1767733253113989120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988769280001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19137004176408576,"km_value":19137004176408.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767733253113989120,"description":"Unknown IO ID 45"} 
[2026-09-10 11:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988769280001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1767733253113989120}} 
[2026-09-10 11:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:08:05] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:08:05] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:08:19] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:08:19] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:08:19] local.INFO: IMEI packet received {"connection_id":176419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":176419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:08:23] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:08:23] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:08:23] local.INFO: IMEI packet received {"connection_id":176419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":176419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:08:24] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d206b0012cc5e2c0074e9968001001542f..."} 
[2026-09-10 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d206b0012cc5e2c0074e9968001001542f..."} 
[2026-09-10 11:08:24] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d206b0012cc5e2c0074e9968001001542f..."} 
[2026-09-10 11:08:24] local.INFO: Packet analysis {"connection_id":176419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:24] local.INFO: Extracted packet for processing {"connection_id":176419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:24] local.INFO: GPS Element Parsed {"raw_longitude":751166144,"raw_latitude":122591592,"longitude_deg":75.1166144,"latitude_deg":12.2591592,"altitude":16,"angle":340,"satellites":47,"speed":43,"hex_longitude":"2cc5e2c0","hex_latitude":"074e9968","is_valid_coordinates":true} 
[2026-09-10 11:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988769024001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403886041477414912,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4183421809980917760,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789018638000,"timestamp_ms":1789018638000,"timestamp_seconds":1789018638,"priority":1,"record_length":96,"hex_timestamp":"000001a089d206b0"} 
[2026-09-10 11:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988769024001,"66":27843,"169":206,"85":37632,"24":43,"16":403886041477414912,"44":-4183421809980917760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-10 11:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988769024001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:08:24] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 11:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403886041477414912,"km_value":403886041477414.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:08:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4183421809980917760,"description":"Unknown IO ID 44"} 
[2026-09-10 11:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988769024001,"power":27843,"unknown_169":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-4183421809980917760}} 
[2026-09-10 11:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":176419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:08:24] local.INFO: GPS data processed {"connection_id":176419,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:08:24] local.INFO: Acknowledgment sent {"connection_id":176419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:08:26] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:26] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:26] local.INFO: IMEI packet received {"connection_id":177590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":177590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:08:27] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:27] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:27] local.INFO: IMEI packet received {"connection_id":177590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":177590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:08:33] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:33] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:08:33] local.INFO: IMEI packet received {"connection_id":177590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":177590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:08:34] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d21268012d18aa4007217380004d007829..."} 
[2026-09-10 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d21268012d18aa4007217380004d007829..."} 
[2026-09-10 11:08:34] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d21268012d18aa4007217380004d007829..."} 
[2026-09-10 11:08:34] local.INFO: Packet analysis {"connection_id":177590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:34] local.INFO: Extracted packet for processing {"connection_id":177590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632768,"longitude_deg":75.6591168,"latitude_deg":11.9632768,"altitude":77,"angle":120,"satellites":41,"speed":31,"hex_longitude":"2d18aa40","hex_latitude":"07217380","is_valid_coordinates":true} 
[2026-09-10 11:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988772096001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19137004176408576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321248256,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789018641000,"timestamp_ms":1789018641000,"timestamp_seconds":1789018641,"priority":1,"record_length":96,"hex_timestamp":"000001a089d21268"} 
[2026-09-10 11:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 11:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988772096001,"66":14070,"106":206,"83":41984,"24":31,"16":19137004176408576,"45":1777303402321248256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988772096001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:08:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19137004176408576,"km_value":19137004176408.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321248256,"description":"Unknown IO ID 45"} 
[2026-09-10 11:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988772096001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1777303402321248256}} 
[2026-09-10 11:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":177590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:08:34] local.INFO: GPS data processed {"connection_id":177590,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:08:34] local.INFO: Acknowledgment sent {"connection_id":177590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:08:34] local.INFO: TCP Data received {"connection_id":177591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:08:34] local.INFO: Processing buffer {"connection_id":177591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:08:34] local.INFO: IMEI packet received {"connection_id":177591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":177591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:08:39] local.INFO: TCP Data received {"connection_id":177591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:08:39] local.INFO: Processing buffer {"connection_id":177591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:08:39] local.INFO: IMEI packet received {"connection_id":177591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":177591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:08:41] local.INFO: TCP Data received {"connection_id":177591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a089d15ad00100000000000000000000000000..."} 
[2026-09-10 11:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d15ad00100000000000000000000000000..."} 
[2026-09-10 11:08:41] local.INFO: Processing buffer {"connection_id":177591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d15ad00100000000000000000000000000..."} 
[2026-09-10 11:08:41] local.INFO: Packet analysis {"connection_id":177591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d1"} 
[2026-09-10 11:08:41] local.INFO: Extracted packet for processing {"connection_id":177591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d1"} 
[2026-09-10 11:08:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988745216001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6322209489129529344,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789018594000,"timestamp_ms":1789018594000,"timestamp_seconds":1789018594,"priority":1,"record_length":96,"hex_timestamp":"000001a089d15ad0"} 
[2026-09-10 11:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:08: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-09-10 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 11:08:41] 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-09-10 11:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":177591,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:08:41] local.INFO: GPS data processed {"connection_id":177591,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:08:41] local.INFO: Acknowledgment sent {"connection_id":177591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:08:55] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d229d8012cc5d680074ebd300010015630..."} 
[2026-09-10 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d229d8012cc5d680074ebd300010015630..."} 
[2026-09-10 11:08:55] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d229d8012cc5d680074ebd300010015630..."} 
[2026-09-10 11:08:55] local.INFO: Packet analysis {"connection_id":176419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:55] local.INFO: Extracted packet for processing {"connection_id":176419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":751163008,"raw_latitude":122600752,"longitude_deg":75.1163008,"latitude_deg":12.2600752,"altitude":16,"angle":342,"satellites":48,"speed":42,"hex_longitude":"2cc5d680","hex_latitude":"074ebd30","is_valid_coordinates":true} 
[2026-09-10 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988771328001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403886509628850176,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4187573565885159424,"note":"Value kept but may cause issues"} 
[2026-09-10 11:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789018647000,"timestamp_ms":1789018647000,"timestamp_seconds":1789018647,"priority":1,"record_length":96,"hex_timestamp":"000001a089d229d8"} 
[2026-09-10 11:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:08: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-09-10 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 11:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988771328001,"66":27832,"169":206,"85":37632,"24":42,"16":403886509628850176,"44":-4187573565885159424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-10 11:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988771328001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:08:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 11:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403886509628850176,"km_value":403886509628850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:08:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4187573565885159424,"description":"Unknown IO ID 44"} 
[2026-09-10 11:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988771328001,"power":27832,"unknown_169":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-4187573565885159424}} 
[2026-09-10 11:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":176419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:08:55] local.INFO: GPS data processed {"connection_id":176419,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:08:55] local.INFO: Acknowledgment sent {"connection_id":176419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:09:05] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d2e940012d18fa000720d5300039008029..."} 
[2026-09-10 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d2e940012d18fa000720d5300039008029..."} 
[2026-09-10 11:09:05] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d2e940012d18fa000720d5300039008029..."} 
[2026-09-10 11:09:05] local.INFO: Packet analysis {"connection_id":177590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:09:05] local.INFO: Extracted packet for processing {"connection_id":177590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756611584,"raw_latitude":119592240,"longitude_deg":75.6611584,"latitude_deg":11.959224,"altitude":57,"angle":128,"satellites":41,"speed":38,"hex_longitude":"2d18fa00","hex_latitude":"0720d530","is_valid_coordinates":true} 
[2026-09-10 11:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988783616001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19139271919140864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793769688450314240,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09: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-09-10 11:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789018696000,"timestamp_ms":1789018696000,"timestamp_seconds":1789018696,"priority":1,"record_length":96,"hex_timestamp":"000001a089d2e940"} 
[2026-09-10 11:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 11:09: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-09-10 11:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:09: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-09-10 11:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988783616001,"66":14363,"103":206,"83":41984,"24":38,"16":19139271919140864,"45":1793769688450314240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988783616001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:09:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19139271919140864,"km_value":19139271919140.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793769688450314240,"description":"Unknown IO ID 45"} 
[2026-09-10 11:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988783616001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1793769688450314240}} 
[2026-09-10 11:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":177590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:09:05] local.INFO: GPS data processed {"connection_id":177590,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:09:05] local.INFO: Acknowledgment sent {"connection_id":177590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:09:20] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:09:20] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:09:20] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:09:26] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:09:26] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:09:26] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:09:27] local.INFO: TCP Data received {"connection_id":178972,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:09:27] local.INFO: Processing buffer {"connection_id":178972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:09:27] local.INFO: IMEI packet received {"connection_id":178972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":178972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:09:32] local.INFO: TCP Data received {"connection_id":178972,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:09:32] local.INFO: Processing buffer {"connection_id":178972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:09:32] local.INFO: IMEI packet received {"connection_id":178972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":178972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:09:33] local.INFO: TCP Data received {"connection_id":178972,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d2e940012d18fa000720d5300039008029..."} 
[2026-09-10 11:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d2e940012d18fa000720d5300039008029..."} 
[2026-09-10 11:09:33] local.INFO: Processing buffer {"connection_id":178972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d2e940012d18fa000720d5300039008029..."} 
[2026-09-10 11:09:33] local.INFO: Packet analysis {"connection_id":178972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:09:33] local.INFO: Extracted packet for processing {"connection_id":178972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756611584,"raw_latitude":119592240,"longitude_deg":75.6611584,"latitude_deg":11.959224,"altitude":57,"angle":128,"satellites":41,"speed":38,"hex_longitude":"2d18fa00","hex_latitude":"0720d530","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988786176001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19139271919140864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799751031703547904,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018696000,"timestamp_ms":1789018696000,"timestamp_seconds":1789018696,"priority":1,"record_length":96,"hex_timestamp":"000001a089d2e940"} 
[2026-09-10 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-09-10 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 11:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988786176001,"66":14363,"103":206,"83":41984,"24":38,"16":19139271919140864,"45":1799751031703547904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988786176001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:09:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19139271919140864,"km_value":19139271919140.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799751031703547904,"description":"Unknown IO ID 45"} 
[2026-09-10 11:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988786176001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1799751031703547904}} 
[2026-09-10 11:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":178972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:09:33] local.INFO: GPS data processed {"connection_id":178972,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:09:33] local.INFO: Acknowledgment sent {"connection_id":178972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:09:35] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d24d00012cc5cb00074ee2000011015730..."} 
[2026-09-10 11:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d24d00012cc5cb00074ee2000011015730..."} 
[2026-09-10 11:09:35] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d24d00012cc5cb00074ee2000011015730..."} 
[2026-09-10 11:09:35] local.INFO: Packet analysis {"connection_id":176170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:09:35] local.INFO: Extracted packet for processing {"connection_id":176170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":751160064,"raw_latitude":122610176,"longitude_deg":75.1160064,"latitude_deg":12.2610176,"altitude":17,"angle":343,"satellites":48,"speed":44,"hex_longitude":"2cc5cb00","hex_latitude":"074ee200","is_valid_coordinates":true} 
[2026-09-10 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988773632001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403886990665187328,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4191021634347520000,"note":"Value kept but may cause issues"} 
[2026-09-10 11:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789018656000,"timestamp_ms":1789018656000,"timestamp_seconds":1789018656,"priority":1,"record_length":96,"hex_timestamp":"000001a089d24d00"} 
[2026-09-10 11:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 11:09:35] 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-09-10 11:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988773632001,"66":27713,"169":206,"85":37632,"24":44,"16":403886990665187328,"44":-4191021634347520000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-10 11:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988773632001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:09:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 11:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403886990665187328,"km_value":403886990665187.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:09:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4191021634347520000,"description":"Unknown IO ID 44"} 
[2026-09-10 11:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988773632001,"power":27713,"unknown_169":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-4191021634347520000}} 
[2026-09-10 11:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":176170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:09:35] local.INFO: GPS data processed {"connection_id":176170,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:09:35] local.INFO: Acknowledgment sent {"connection_id":176170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:09:50] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:09:50] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:09:50] local.INFO: IMEI packet received {"connection_id":176420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":176420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:10:05] local.INFO: TCP Data received {"connection_id":178972,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d3e340012d19bb400720a428003100c025..."} 
[2026-09-10 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d3e340012d19bb400720a428003100c025..."} 
[2026-09-10 11:10:05] local.INFO: Processing buffer {"connection_id":178972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d3e340012d19bb400720a428003100c025..."} 
[2026-09-10 11:10:05] local.INFO: Packet analysis {"connection_id":178972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d3"} 
[2026-09-10 11:10:05] local.INFO: Extracted packet for processing {"connection_id":178972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d3"} 
[2026-09-10 11:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579688,"longitude_deg":75.6661056,"latitude_deg":11.9579688,"altitude":49,"angle":192,"satellites":37,"speed":21,"hex_longitude":"2d19bb40","hex_latitude":"0720a428","is_valid_coordinates":true} 
[2026-09-10 11:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988802304001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19141844604551168,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693983744,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10: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-09-10 11:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789018760000,"timestamp_ms":1789018760000,"timestamp_seconds":1789018760,"priority":1,"record_length":96,"hex_timestamp":"000001a089d3e340"} 
[2026-09-10 11:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 11:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:10: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-09-10 11:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988802304001,"66":14265,"103":206,"83":41984,"24":21,"16":19141844604551168,"45":1854216439693983744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988802304001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:10:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19141844604551168,"km_value":19141844604551.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693983744,"description":"Unknown IO ID 45"} 
[2026-09-10 11:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988802304001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1854216439693983744}} 
[2026-09-10 11:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":178972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:10:05] local.INFO: GPS data processed {"connection_id":178972,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:10:05] local.INFO: Acknowledgment sent {"connection_id":178972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:10:20] local.INFO: TCP Data received {"connection_id":177592,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:10:20] local.INFO: Processing buffer {"connection_id":177592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:10:20] local.INFO: IMEI packet received {"connection_id":177592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":177592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:10:24] local.INFO: TCP Data received {"connection_id":177592,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:10:24] local.INFO: Processing buffer {"connection_id":177592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:10:24] local.INFO: IMEI packet received {"connection_id":177592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":177592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:10:25] local.INFO: TCP Data received {"connection_id":177592,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d27028012cc5bf00074f06f00011015731..."} 
[2026-09-10 11:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d27028012cc5bf00074f06f00011015731..."} 
[2026-09-10 11:10:25] local.INFO: Processing buffer {"connection_id":177592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d27028012cc5bf00074f06f00011015731..."} 
[2026-09-10 11:10:25] local.INFO: Packet analysis {"connection_id":177592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:10:25] local.INFO: Extracted packet for processing {"connection_id":177592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:10:25] local.INFO: GPS Element Parsed {"raw_longitude":751156992,"raw_latitude":122619632,"longitude_deg":75.1156992,"latitude_deg":12.2619632,"altitude":17,"angle":343,"satellites":49,"speed":43,"hex_longitude":"2cc5bf00","hex_latitude":"074f06f0","is_valid_coordinates":true} 
[2026-09-10 11:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988775936001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403887471701524480,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4194258596577280000,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018665000,"timestamp_ms":1789018665000,"timestamp_seconds":1789018665,"priority":1,"record_length":96,"hex_timestamp":"000001a089d27028"} 
[2026-09-10 11:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 11:10:25] 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-09-10 11:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988775936001,"66":27908,"169":206,"85":37632,"24":43,"16":403887471701524480,"44":-4194258596577280000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-10 11:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988775936001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:10:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 11:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403887471701524480,"km_value":403887471701524.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4194258596577280000,"description":"Unknown IO ID 44"} 
[2026-09-10 11:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988775936001,"power":27908,"unknown_169":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-4194258596577280000}} 
[2026-09-10 11:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":177592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:10:25] local.INFO: GPS data processed {"connection_id":177592,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:10:25] local.INFO: Acknowledgment sent {"connection_id":177592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:10:32] local.INFO: TCP Data received {"connection_id":176421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:10:32] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:10:32] local.INFO: IMEI packet received {"connection_id":176421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":176421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:10:36] local.INFO: TCP Data received {"connection_id":176421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:10:36] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:10:36] local.INFO: IMEI packet received {"connection_id":176421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":176421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:10:36] local.INFO: TCP Data received {"connection_id":176421,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d3e728012d19ba000720a240003000d025..."} 
[2026-09-10 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d3e728012d19ba000720a240003000d025..."} 
[2026-09-10 11:10:36] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d3e728012d19ba000720a240003000d025..."} 
[2026-09-10 11:10:36] local.INFO: Packet analysis {"connection_id":176421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d3"} 
[2026-09-10 11:10:36] local.INFO: Extracted packet for processing {"connection_id":176421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d3"} 
[2026-09-10 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119579200,"longitude_deg":75.6660736,"latitude_deg":11.95792,"altitude":48,"angle":208,"satellites":37,"speed":21,"hex_longitude":"2d19ba00","hex_latitude":"0720a240","is_valid_coordinates":true} 
[2026-09-10 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988802560001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19141870374354944,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949668864,"note":"Value kept but may cause issues"} 
[2026-09-10 11: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-09-10 11:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789018761000,"timestamp_ms":1789018761000,"timestamp_seconds":1789018761,"priority":1,"record_length":96,"hex_timestamp":"000001a089d3e728"} 
[2026-09-10 11:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 11:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:10: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-09-10 11:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988802560001,"66":14265,"103":206,"83":41984,"24":21,"16":19141870374354944,"45":1854146070949668864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988802560001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:10:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19141870374354944,"km_value":19141870374354.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949668864,"description":"Unknown IO ID 45"} 
[2026-09-10 11:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988802560001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1854146070949668864}} 
[2026-09-10 11:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":176421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:10:36] local.INFO: GPS data processed {"connection_id":176421,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:10:36] local.INFO: Acknowledgment sent {"connection_id":176421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:10:37] local.INFO: TCP Data received {"connection_id":176421,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d3eef8012d19b78007209f10003000dd24..."} 
[2026-09-10 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d3eef8012d19b78007209f10003000dd24..."} 
[2026-09-10 11:10:37] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d3eef8012d19b78007209f10003000dd24..."} 
[2026-09-10 11:10:37] local.INFO: Packet analysis {"connection_id":176421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d3"} 
[2026-09-10 11:10:37] local.INFO: Extracted packet for processing {"connection_id":176421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d3"} 
[2026-09-10 11:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119578384,"longitude_deg":75.6660096,"latitude_deg":11.9578384,"altitude":48,"angle":221,"satellites":36,"speed":21,"hex_longitude":"2d19b780","hex_latitude":"07209f10","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988802816001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19141921913962496,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228655616,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10: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-09-10 11:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789018763000,"timestamp_ms":1789018763000,"timestamp_seconds":1789018763,"priority":1,"record_length":96,"hex_timestamp":"000001a089d3eef8"} 
[2026-09-10 11:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:10: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-09-10 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 11:10: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-09-10 11: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-09-10 11:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:10: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-09-10 11:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988802816001,"66":14265,"103":206,"83":41984,"24":21,"16":19141921913962496,"45":1853794227228655616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988802816001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:10:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19141921913962496,"km_value":19141921913962.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228655616,"description":"Unknown IO ID 45"} 
[2026-09-10 11:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988802816001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853794227228655616}} 
[2026-09-10 11:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":176421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:10:38] local.INFO: GPS data processed {"connection_id":176421,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:10:38] local.INFO: Acknowledgment sent {"connection_id":176421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:10:56] local.INFO: TCP Data received {"connection_id":177592,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d29350012cc5b6c0074f2b48000f015e31..."} 
[2026-09-10 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d29350012cc5b6c0074f2b48000f015e31..."} 
[2026-09-10 11:10:56] local.INFO: Processing buffer {"connection_id":177592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d29350012cc5b6c0074f2b48000f015e31..."} 
[2026-09-10 11:10:56] local.INFO: Packet analysis {"connection_id":177592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:10:56] local.INFO: Extracted packet for processing {"connection_id":177592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d2"} 
[2026-09-10 11:10:56] local.INFO: GPS Element Parsed {"raw_longitude":751154880,"raw_latitude":122628936,"longitude_deg":75.115488,"latitude_deg":12.2628936,"altitude":15,"angle":350,"satellites":49,"speed":41,"hex_longitude":"2cc5b6c0","hex_latitude":"074f2b48","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988778240001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403887931263025152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4197636296295387136,"note":"Value kept but may cause issues"} 
[2026-09-10 11:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789018674000,"timestamp_ms":1789018674000,"timestamp_seconds":1789018674,"priority":1,"record_length":96,"hex_timestamp":"000001a089d29350"} 
[2026-09-10 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-09-10 11:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988778240001,"66":27919,"169":206,"85":37632,"24":41,"16":403887931263025152,"44":-4197636296295387136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-10 11:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988778240001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:10:56] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 11:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403887931263025152,"km_value":403887931263025.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:10:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4197636296295387136,"description":"Unknown IO ID 44"} 
[2026-09-10 11:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988778240001,"power":27919,"unknown_169":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-4197636296295387136}} 
[2026-09-10 11:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":177592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:10:56] local.INFO: GPS data processed {"connection_id":177592,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:10:56] local.INFO: Acknowledgment sent {"connection_id":177592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:11:08] local.INFO: TCP Data received {"connection_id":176421,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d4d570012d19de00072007a0002d00d228..."} 
[2026-09-10 11:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d4d570012d19de00072007a0002d00d228..."} 
[2026-09-10 11:11:08] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d4d570012d19de00072007a0002d00d228..."} 
[2026-09-10 11:11:08] local.INFO: Packet analysis {"connection_id":176421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:08] local.INFO: Extracted packet for processing {"connection_id":176421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119539616,"longitude_deg":75.6669952,"latitude_deg":11.9539616,"altitude":45,"angle":210,"satellites":40,"speed":15,"hex_longitude":"2d19de00","hex_latitude":"072007a0","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988818176001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144013563035648,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868542976,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789018822000,"timestamp_ms":1789018822000,"timestamp_seconds":1789018822,"priority":1,"record_length":96,"hex_timestamp":"000001a089d4d570"} 
[2026-09-10 11:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:11: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-09-10 11: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 11:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988818176001,"66":14113,"101":206,"83":41984,"24":15,"16":19144013563035648,"45":1864068063868542976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988818176001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:11:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144013563035648,"km_value":19144013563035.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868542976,"description":"Unknown IO ID 45"} 
[2026-09-10 11:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988818176001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1864068063868542976}} 
[2026-09-10 11:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":176421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:11:08] local.INFO: GPS data processed {"connection_id":176421,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:11:08] local.INFO: Acknowledgment sent {"connection_id":176421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:11:20] local.INFO: TCP Data received {"connection_id":178974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:20] local.INFO: Processing buffer {"connection_id":178974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:20] local.INFO: IMEI packet received {"connection_id":178974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":178974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:11:22] local.INFO: TCP Data received {"connection_id":178974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:22] local.INFO: Processing buffer {"connection_id":178974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:22] local.INFO: IMEI packet received {"connection_id":178974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":178974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:11:24] local.INFO: TCP Data received {"connection_id":178974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:24] local.INFO: Processing buffer {"connection_id":178974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:11:24] local.INFO: IMEI packet received {"connection_id":178974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":178974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:11:25] local.INFO: TCP Data received {"connection_id":178974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d4be00012cc5244007508c480016015031..."} 
[2026-09-10 11:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d4be00012cc5244007508c480016015031..."} 
[2026-09-10 11:11:25] local.INFO: Processing buffer {"connection_id":178974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d4be00012cc5244007508c480016015031..."} 
[2026-09-10 11:11:25] local.INFO: Packet analysis {"connection_id":178974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:25] local.INFO: Extracted packet for processing {"connection_id":178974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:25] local.INFO: GPS Element Parsed {"raw_longitude":751117376,"raw_latitude":122719304,"longitude_deg":75.1117376,"latitude_deg":12.2719304,"altitude":22,"angle":336,"satellites":49,"speed":24,"hex_longitude":"2cc52440","hex_latitude":"07508c48","is_valid_coordinates":true} 
[2026-09-10 11:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403892681496854528,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4236831686778869760,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789018816000,"timestamp_ms":1789018816000,"timestamp_seconds":1789018816,"priority":1,"record_length":96,"hex_timestamp":"000001a089d4be00"} 
[2026-09-10 11:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 11:11:25] 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-09-10 11:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988813824001,"66":27767,"171":206,"85":37632,"24":24,"16":403892681496854528,"44":-4236831686778869760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 11:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:11:25] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 11:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403892681496854528,"km_value":403892681496854.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4236831686778869760,"description":"Unknown IO ID 44"} 
[2026-09-10 11:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988813824001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-4236831686778869760}} 
[2026-09-10 11:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":178974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:11:25] local.INFO: GPS data processed {"connection_id":178974,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:11:25] local.INFO: Acknowledgment sent {"connection_id":178974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:11:27] local.INFO: TCP Data received {"connection_id":178975,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:11:27] local.INFO: Processing buffer {"connection_id":178975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:11:27] local.INFO: IMEI packet received {"connection_id":178975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":178975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:11:33] local.INFO: TCP Data received {"connection_id":178975,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:11:33] local.INFO: Processing buffer {"connection_id":178975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:11:33] local.INFO: IMEI packet received {"connection_id":178975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":178975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:11:33] local.INFO: TCP Data received {"connection_id":178975,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d4e510012d19d98007200268002d00df29..."} 
[2026-09-10 11:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d4e510012d19d98007200268002d00df29..."} 
[2026-09-10 11:11:33] local.INFO: Processing buffer {"connection_id":178975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d4e510012d19d98007200268002d00df29..."} 
[2026-09-10 11:11:33] local.INFO: Packet analysis {"connection_id":178975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:33] local.INFO: Extracted packet for processing {"connection_id":178975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756668800,"raw_latitude":119538280,"longitude_deg":75.66688,"latitude_deg":11.953828,"altitude":45,"angle":223,"satellites":41,"speed":17,"hex_longitude":"2d19d980","hex_latitude":"07200268","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988818432001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144095167414272,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380105728,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018826000,"timestamp_ms":1789018826000,"timestamp_seconds":1789018826,"priority":1,"record_length":96,"hex_timestamp":"000001a089d4e510"} 
[2026-09-10 11:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 11:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988818432001,"66":14363,"101":206,"83":41984,"24":17,"16":19144095167414272,"45":1863927326380105728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988818432001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:11:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144095167414272,"km_value":19144095167414.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380105728,"description":"Unknown IO ID 45"} 
[2026-09-10 11:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988818432001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1863927326380105728}} 
[2026-09-10 11:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":178975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:11:33] local.INFO: GPS data processed {"connection_id":178975,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:11:33] local.INFO: Acknowledgment sent {"connection_id":178975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:11:56] local.INFO: TCP Data received {"connection_id":178974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d4f4b0012cc517c00750adc00013015631..."} 
[2026-09-10 11:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d4f4b0012cc517c00750adc00013015631..."} 
[2026-09-10 11:11:56] local.INFO: Processing buffer {"connection_id":178974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d4f4b0012cc517c00750adc00013015631..."} 
[2026-09-10 11:11:56] local.INFO: Packet analysis {"connection_id":178974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:56] local.INFO: Extracted packet for processing {"connection_id":178974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:11:56] local.INFO: GPS Element Parsed {"raw_longitude":751114176,"raw_latitude":122727872,"longitude_deg":75.1114176,"latitude_deg":12.2727872,"altitude":19,"angle":342,"satellites":49,"speed":26,"hex_longitude":"2cc517c0","hex_latitude":"0750adc0","is_valid_coordinates":true} 
[2026-09-10 11:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988816896001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403893123878486016,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4241194548915845120,"note":"Value kept but may cause issues"} 
[2026-09-10 11:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789018830000,"timestamp_ms":1789018830000,"timestamp_seconds":1789018830,"priority":1,"record_length":96,"hex_timestamp":"000001a089d4f4b0"} 
[2026-09-10 11:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 11:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988816896001,"66":27876,"183":206,"85":37632,"24":26,"16":403893123878486016,"44":-4241194548915845120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-09-10 11:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988816896001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:11:56] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 11:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403893123878486016,"km_value":403893123878486.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:11:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4241194548915845120,"description":"Unknown IO ID 44"} 
[2026-09-10 11:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988816896001,"power":27876,"unknown_183":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-4241194548915845120}} 
[2026-09-10 11:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":178974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:11:56] local.INFO: GPS data processed {"connection_id":178974,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:11:56] local.INFO: Acknowledgment sent {"connection_id":178974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:12:04] local.INFO: TCP Data received {"connection_id":178975,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d4f0c8012d19d540071ffeb8002c00ea29..."} 
[2026-09-10 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d4f0c8012d19d540071ffeb8002c00ea29..."} 
[2026-09-10 11:12:04] local.INFO: Processing buffer {"connection_id":178975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d4f0c8012d19d540071ffeb8002c00ea29..."} 
[2026-09-10 11:12:04] local.INFO: Packet analysis {"connection_id":178975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:12:04] local.INFO: Extracted packet for processing {"connection_id":178975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d4"} 
[2026-09-10 11:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756667712,"raw_latitude":119537336,"longitude_deg":75.6667712,"latitude_deg":11.9537336,"altitude":44,"angle":234,"satellites":41,"speed":18,"hex_longitude":"2d19d540","hex_latitude":"071ffeb8","is_valid_coordinates":true} 
[2026-09-10 11:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988819456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144163886891008,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862660688984565760,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018829000,"timestamp_ms":1789018829000,"timestamp_seconds":1789018829,"priority":1,"record_length":96,"hex_timestamp":"000001a089d4f0c8"} 
[2026-09-10 11:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 11:12: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-09-10 11:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988819456001,"66":14048,"101":206,"83":41984,"24":18,"16":19144163886891008,"45":1862660688984565760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988819456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:12:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144163886891008,"km_value":19144163886891.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862660688984565760,"description":"Unknown IO ID 45"} 
[2026-09-10 11:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988819456001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1862660688984565760}} 
[2026-09-10 11:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":178975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:12:04] local.INFO: GPS data processed {"connection_id":178975,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:12:04] local.INFO: Acknowledgment sent {"connection_id":178975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:12:24] local.INFO: TCP Data received {"connection_id":177594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:24] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:24] local.INFO: IMEI packet received {"connection_id":177594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":177594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:12:24] local.INFO: TCP Data received {"connection_id":177594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:24] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:24] local.INFO: IMEI packet received {"connection_id":177594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":177594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:12:25] local.INFO: TCP Data received {"connection_id":177595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:25] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:25] local.INFO: IMEI packet received {"connection_id":177595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":177595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:12:28] local.INFO: TCP Data received {"connection_id":177595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:28] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:28] local.INFO: IMEI packet received {"connection_id":177595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":177595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:12:32] local.INFO: TCP Data received {"connection_id":177595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:32] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:12:32] local.INFO: IMEI packet received {"connection_id":177595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":177595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:12:32] local.INFO: TCP Data received {"connection_id":177595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d5eeb0012d19a340071ff0a0003400df27..."} 
[2026-09-10 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d5eeb0012d19a340071ff0a0003400df27..."} 
[2026-09-10 11:12:32] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d5eeb0012d19a340071ff0a0003400df27..."} 
[2026-09-10 11:12:32] local.INFO: Packet analysis {"connection_id":177595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:12:32] local.INFO: Extracted packet for processing {"connection_id":177595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119533728,"longitude_deg":75.6654912,"latitude_deg":11.9533728,"altitude":52,"angle":223,"satellites":39,"speed":4,"hex_longitude":"2d19a340","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988835840001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144863966560256,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777729454080,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789018894000,"timestamp_ms":1789018894000,"timestamp_seconds":1789018894,"priority":1,"record_length":96,"hex_timestamp":"000001a089d5eeb0"} 
[2026-09-10 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-09-10 11:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2312444864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3578949633,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-833165733480879872,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.WARNING: Large IO value detected {"io_id":213,"raw_value":1436649574349062151,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:32] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,4,160,219,45,242,52,39,10,66,180,64,38,98,128,1,240,147,227,137,31,113,205,19,35,199,41,239,54,2,68,7,46,11,213],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-10 11:12:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747212756483440640,"timestamp_seconds":3747212756483440.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 11:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988835840001,"66":13276,"101":206,"83":41984,"24":4,"16":19144863966560256,"45":1847601777729454080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988835840001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:12:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144863966560256,"km_value":19144863966560.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777729454080,"description":"Unknown IO ID 45"} 
[2026-09-10 11:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988835840001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1847601777729454080}} 
[2026-09-10 11:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":177595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:12:32] local.INFO: GPS data processed {"connection_id":177595,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:12:32] local.INFO: Acknowledgment sent {"connection_id":177595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:12:33] local.INFO: TCP Data received {"connection_id":177594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:33] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:12:33] local.INFO: IMEI packet received {"connection_id":177594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":177594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:12:36] local.INFO: TCP Data received {"connection_id":177594,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d52778012cc50cc00750d1b80011015730..."} 
[2026-09-10 11:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d52778012cc50cc00750d1b80011015730..."} 
[2026-09-10 11:12:36] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d52778012cc50cc00750d1b80011015730..."} 
[2026-09-10 11:12:36] local.INFO: Packet analysis {"connection_id":177594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:12:36] local.INFO: Extracted packet for processing {"connection_id":177594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:12:36] local.INFO: GPS Element Parsed {"raw_longitude":751111360,"raw_latitude":122737080,"longitude_deg":75.111136,"latitude_deg":12.273708,"altitude":17,"angle":343,"satellites":48,"speed":38,"hex_longitude":"2cc50cc0","hex_latitude":"0750d1b8","is_valid_coordinates":true} 
[2026-09-10 11:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988820480001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403893592029921280,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4244712986122534912,"note":"Value kept but may cause issues"} 
[2026-09-10 11:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789018843000,"timestamp_ms":1789018843000,"timestamp_seconds":1789018843,"priority":1,"record_length":96,"hex_timestamp":"000001a089d52778"} 
[2026-09-10 11:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:12: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-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:12: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-09-10 11:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:12: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-09-10 11:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988820480001,"66":27865,"183":206,"85":37632,"24":38,"16":403893592029921280,"44":-4244712986122534912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-09-10 11:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988820480001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:12:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 11:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403893592029921280,"km_value":403893592029921.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4244712986122534912,"description":"Unknown IO ID 44"} 
[2026-09-10 11:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988820480001,"power":27865,"unknown_183":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-4244712986122534912}} 
[2026-09-10 11:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":177594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:12:36] local.INFO: GPS data processed {"connection_id":177594,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:12:36] local.INFO: Acknowledgment sent {"connection_id":177594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:13:04] local.INFO: TCP Data received {"connection_id":177595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d5f680012d19a200071ff010003400ff27..."} 
[2026-09-10 11:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d5f680012d19a200071ff010003400ff27..."} 
[2026-09-10 11:13:04] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d5f680012d19a200071ff010003400ff27..."} 
[2026-09-10 11:13:04] local.INFO: Packet analysis {"connection_id":177595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:13:04] local.INFO: Extracted packet for processing {"connection_id":177595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119533584,"longitude_deg":75.6654592,"latitude_deg":11.9533584,"altitude":52,"angle":255,"satellites":39,"speed":7,"hex_longitude":"2d19a200","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-09-10 11:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988836864001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144881146429440,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496847360,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018896000,"timestamp_ms":1789018896000,"timestamp_seconds":1789018896,"priority":1,"record_length":96,"hex_timestamp":"000001a089d5f680"} 
[2026-09-10 11:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 11:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988836864001,"66":13276,"101":206,"83":41984,"24":7,"16":19144881146429440,"45":1847390671496847360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988836864001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:13:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144881146429440,"km_value":19144881146429.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496847360,"description":"Unknown IO ID 45"} 
[2026-09-10 11:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988836864001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847390671496847360}} 
[2026-09-10 11:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":177595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:13:04] local.INFO: GPS data processed {"connection_id":177595,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:13:04] local.INFO: Acknowledgment sent {"connection_id":177595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:13:17] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:17] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:17] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:13:19] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:19] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:19] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:13:23] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:23] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:13:23] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:13:24] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d68320012cc48240075231400010015032..."} 
[2026-09-10 11:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d68320012cc48240075231400010015032..."} 
[2026-09-10 11:13:24] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d68320012cc48240075231400010015032..."} 
[2026-09-10 11:13:24] local.INFO: Packet analysis {"connection_id":176171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:13:24] local.INFO: Extracted packet for processing {"connection_id":176171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:13:24] local.INFO: GPS Element Parsed {"raw_longitude":751075904,"raw_latitude":122827072,"longitude_deg":75.1075904,"latitude_deg":12.2827072,"altitude":16,"angle":336,"satellites":50,"speed":59,"hex_longitude":"2cc48240","hex_latitude":"07523140","is_valid_coordinates":true} 
[2026-09-10 11:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988845056001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403898273544273920,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4282782476699348992,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789018932000,"timestamp_ms":1789018932000,"timestamp_seconds":1789018932,"priority":1,"record_length":96,"hex_timestamp":"000001a089d68320"} 
[2026-09-10 11:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 11:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988845056001,"66":27876,"4":206,"85":37632,"24":59,"16":403898273544273920,"44":-4282782476699348992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-10 11:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988845056001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:13:24] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-10 11:13:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403898273544273920,"km_value":403898273544273.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:13:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4282782476699348992,"description":"Unknown IO ID 44"} 
[2026-09-10 11:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988845056001,"power":27876,"unknown_4":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4282782476699348992}} 
[2026-09-10 11:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":176171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:13:24] local.INFO: GPS data processed {"connection_id":176171,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:13:24] local.INFO: Acknowledgment sent {"connection_id":176171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:13:27] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:27] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:27] local.INFO: IMEI packet received {"connection_id":176422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":176422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:13:28] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:28] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:28] local.INFO: IMEI packet received {"connection_id":176422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":176422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:13:32] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:32] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:13:32] local.INFO: IMEI packet received {"connection_id":176422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":176422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:13:33] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d5fa68012d19a100071ff0000034010c27..."} 
[2026-09-10 11:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d5fa68012d19a100071ff0000034010c27..."} 
[2026-09-10 11:13:33] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d5fa68012d19a100071ff0000034010c27..."} 
[2026-09-10 11:13:33] local.INFO: Packet analysis {"connection_id":176422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:13:33] local.INFO: Extracted packet for processing {"connection_id":176422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d5"} 
[2026-09-10 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119533568,"longitude_deg":75.6654336,"latitude_deg":11.9533568,"altitude":52,"angle":268,"satellites":39,"speed":9,"hex_longitude":"2d19a100","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988837376001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144894031331328,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775922176,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018897000,"timestamp_ms":1789018897000,"timestamp_seconds":1789018897,"priority":1,"record_length":96,"hex_timestamp":"000001a089d5fa68"} 
[2026-09-10 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-09-10 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 11:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988837376001,"66":13276,"101":206,"83":41984,"24":9,"16":19144894031331328,"45":1847038827775922176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988837376001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:13:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144894031331328,"km_value":19144894031331.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775922176,"description":"Unknown IO ID 45"} 
[2026-09-10 11:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988837376001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847038827775922176}} 
[2026-09-10 11:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":176422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:13:34] local.INFO: GPS data processed {"connection_id":176422,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:13:34] local.INFO: Acknowledgment sent {"connection_id":176422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:13:55] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d69a90012cc47400075251100010015132..."} 
[2026-09-10 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d69a90012cc47400075251100010015132..."} 
[2026-09-10 11:13:55] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d69a90012cc47400075251100010015132..."} 
[2026-09-10 11:13:55] local.INFO: Packet analysis {"connection_id":176171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:13:55] local.INFO: Extracted packet for processing {"connection_id":176171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":751072256,"raw_latitude":122835216,"longitude_deg":75.1072256,"latitude_deg":12.2835216,"altitude":16,"angle":337,"satellites":50,"speed":57,"hex_longitude":"2cc47400","hex_latitude":"07525110","is_valid_coordinates":true} 
[2026-09-10 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988846592001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403898703041003520,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4286793495115382784,"note":"Value kept but may cause issues"} 
[2026-09-10 11:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789018938000,"timestamp_ms":1789018938000,"timestamp_seconds":1789018938,"priority":1,"record_length":96,"hex_timestamp":"000001a089d69a90"} 
[2026-09-10 11:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:13: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-09-10 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988846592001,"66":27843,"4":206,"85":37632,"24":57,"16":403898703041003520,"44":-4286793495115382784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-10 11:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988846592001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:13:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-10 11:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403898703041003520,"km_value":403898703041003.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4286793495115382784,"description":"Unknown IO ID 44"} 
[2026-09-10 11:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988846592001,"power":27843,"unknown_4":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-4286793495115382784}} 
[2026-09-10 11:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":176171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:13:55] local.INFO: GPS data processed {"connection_id":176171,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:13:55] local.INFO: Acknowledgment sent {"connection_id":176171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:14:05] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d60df0012d199900071ff0d00035011828..."} 
[2026-09-10 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d60df0012d199900071ff0d00035011828..."} 
[2026-09-10 11:14:05] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d60df0012d199900071ff0d00035011828..."} 
[2026-09-10 11:14:05] local.INFO: Packet analysis {"connection_id":176422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:05] local.INFO: Extracted packet for processing {"connection_id":176422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756652288,"raw_latitude":119533776,"longitude_deg":75.6652288,"latitude_deg":11.9533776,"altitude":53,"angle":280,"satellites":40,"speed":18,"hex_longitude":"2d199900","hex_latitude":"071ff0d0","is_valid_coordinates":true} 
[2026-09-10 11:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988837632001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144992815579136,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799207424,"note":"Value kept but may cause issues"} 
[2026-09-10 11: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-09-10 11:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789018902000,"timestamp_ms":1789018902000,"timestamp_seconds":1789018902,"priority":1,"record_length":96,"hex_timestamp":"000001a089d60df0"} 
[2026-09-10 11:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 11:14: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-09-10 11:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:14: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-09-10 11:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988837632001,"66":13276,"102":206,"83":41984,"24":18,"16":19144992815579136,"45":1846757352799207424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 11:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988837632001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 11:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144992815579136,"km_value":19144992815579.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799207424,"description":"Unknown IO ID 45"} 
[2026-09-10 11:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988837632001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1846757352799207424}} 
[2026-09-10 11:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":176422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:14:05] local.INFO: GPS data processed {"connection_id":176422,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:14:05] local.INFO: Acknowledgment sent {"connection_id":176422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:14:19] local.INFO: TCP Data received {"connection_id":177596,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:14:19] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:14:19] local.INFO: IMEI packet received {"connection_id":177596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":177596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:14:24] local.INFO: TCP Data received {"connection_id":177596,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:14:24] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:14:24] local.INFO: IMEI packet received {"connection_id":177596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":177596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:14:24] local.INFO: TCP Data received {"connection_id":177596,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d6b5e8012cc46480075274f00010015131..."} 
[2026-09-10 11:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d6b5e8012cc46480075274f00010015131..."} 
[2026-09-10 11:14:24] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d6b5e8012cc46480075274f00010015131..."} 
[2026-09-10 11:14:24] local.INFO: Packet analysis {"connection_id":177596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:24] local.INFO: Extracted packet for processing {"connection_id":177596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":751068288,"raw_latitude":122844400,"longitude_deg":75.1068288,"latitude_deg":12.28444,"altitude":16,"angle":337,"satellites":49,"speed":56,"hex_longitude":"2cc46480","hex_latitude":"075274f0","is_valid_coordinates":true} 
[2026-09-10 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988848128001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403899188372307968,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4290804513531424768,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789018945000,"timestamp_ms":1789018945000,"timestamp_seconds":1789018945,"priority":1,"record_length":96,"hex_timestamp":"000001a089d6b5e8"} 
[2026-09-10 11:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 11:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988848128001,"66":27767,"4":206,"85":37632,"24":56,"16":403899188372307968,"44":-4290804513531424768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-10 11:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988848128001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:14:24] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-10 11:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403899188372307968,"km_value":403899188372307.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:14:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4290804513531424768,"description":"Unknown IO ID 44"} 
[2026-09-10 11:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988848128001,"power":27767,"unknown_4":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4290804513531424768}} 
[2026-09-10 11:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":177596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:14:24] local.INFO: GPS data processed {"connection_id":177596,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:14:24] local.INFO: Acknowledgment sent {"connection_id":177596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:14:28] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:14:28] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:14:28] local.INFO: IMEI packet received {"connection_id":176423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":176423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:14:32] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:14:32] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:14:32] local.INFO: IMEI packet received {"connection_id":176423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":176423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:14:32] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d62178012d199080071ff1700038010b28..."} 
[2026-09-10 11:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d62178012d199080071ff1700038010b28..."} 
[2026-09-10 11:14:32] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d62178012d199080071ff1700038010b28..."} 
[2026-09-10 11:14:32] local.INFO: Packet analysis {"connection_id":176423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:32] local.INFO: Extracted packet for processing {"connection_id":176423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756650112,"raw_latitude":119533936,"longitude_deg":75.6650112,"latitude_deg":11.9533936,"altitude":56,"angle":267,"satellites":40,"speed":16,"hex_longitude":"2d199080","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988838912001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145095894794240,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844505552985575424,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789018907000,"timestamp_ms":1789018907000,"timestamp_seconds":1789018907,"priority":1,"record_length":96,"hex_timestamp":"000001a089d62178"} 
[2026-09-10 11:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 11:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988838912001,"66":12950,"102":206,"83":41984,"24":16,"16":19145095894794240,"45":1844505552985575424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 11:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988838912001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:14:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 11:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145095894794240,"km_value":19145095894794.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844505552985575424,"description":"Unknown IO ID 45"} 
[2026-09-10 11:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988838912001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1844505552985575424}} 
[2026-09-10 11:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":176423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:14:33] local.INFO: GPS data processed {"connection_id":176423,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:14:33] local.INFO: Acknowledgment sent {"connection_id":176423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:14:55] local.INFO: TCP Data received {"connection_id":177596,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d6d140012cc45580075298780010015132..."} 
[2026-09-10 11:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d6d140012cc45580075298780010015132..."} 
[2026-09-10 11:14:55] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d6d140012cc45580075298780010015132..."} 
[2026-09-10 11:14:55] local.INFO: Packet analysis {"connection_id":177596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:55] local.INFO: Extracted packet for processing {"connection_id":177596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:14:55] local.INFO: GPS Element Parsed {"raw_longitude":751064448,"raw_latitude":122853496,"longitude_deg":75.1064448,"latitude_deg":12.2853496,"altitude":16,"angle":337,"satellites":50,"speed":52,"hex_longitude":"2cc45580","hex_latitude":"07529878","is_valid_coordinates":true} 
[2026-09-10 11:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988849920001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403899665113677824,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4295167375668088832,"note":"Value kept but may cause issues"} 
[2026-09-10 11:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789018952000,"timestamp_ms":1789018952000,"timestamp_seconds":1789018952,"priority":1,"record_length":96,"hex_timestamp":"000001a089d6d140"} 
[2026-09-10 11:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:14: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-09-10 11:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 11:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988849920001,"66":27680,"4":206,"85":37632,"24":52,"16":403899665113677824,"44":-4295167375668088832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-10 11:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988849920001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:14:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-10 11:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403899665113677824,"km_value":403899665113677.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:14:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4295167375668088832,"description":"Unknown IO ID 44"} 
[2026-09-10 11:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988849920001,"power":27680,"unknown_4":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-4295167375668088832}} 
[2026-09-10 11:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":177596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:14:55] local.INFO: GPS data processed {"connection_id":177596,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:14:55] local.INFO: Acknowledgment sent {"connection_id":177596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:15:04] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d638e8012d198540071ff078003a00fc28..."} 
[2026-09-10 11:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d638e8012d198540071ff078003a00fc28..."} 
[2026-09-10 11:15:04] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d638e8012d198540071ff078003a00fc28..."} 
[2026-09-10 11:15:04] local.INFO: Packet analysis {"connection_id":176423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:15:04] local.INFO: Extracted packet for processing {"connection_id":176423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119533688,"longitude_deg":75.6647232,"latitude_deg":11.9533688,"altitude":58,"angle":252,"satellites":40,"speed":18,"hex_longitude":"2d198540","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988840192001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145233333747712,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842113015683575808,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15: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-09-10 11:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018913000,"timestamp_ms":1789018913000,"timestamp_seconds":1789018913,"priority":1,"record_length":96,"hex_timestamp":"000001a089d638e8"} 
[2026-09-10 11:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 11:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988840192001,"66":13254,"102":206,"83":41984,"24":18,"16":19145233333747712,"45":1842113015683575808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 11:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988840192001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:15:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 11:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145233333747712,"km_value":19145233333747.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842113015683575808,"description":"Unknown IO ID 45"} 
[2026-09-10 11:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988840192001,"power":13254,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1842113015683575808}} 
[2026-09-10 11:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":176423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:15:04] local.INFO: GPS data processed {"connection_id":176423,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:15:04] local.INFO: Acknowledgment sent {"connection_id":176423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:15:19] local.INFO: TCP Data received {"connection_id":178977,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:15:19] local.INFO: Processing buffer {"connection_id":178977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:15:19] local.INFO: IMEI packet received {"connection_id":178977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":178977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:15:25] local.INFO: TCP Data received {"connection_id":178977,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:15:25] local.INFO: Processing buffer {"connection_id":178977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:15:25] local.INFO: IMEI packet received {"connection_id":178977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":178977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:15:25] local.INFO: TCP Data received {"connection_id":178977,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d87338012cc3d8000753c288000e015130..."} 
[2026-09-10 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d87338012cc3d8000753c288000e015130..."} 
[2026-09-10 11:15:25] local.INFO: Processing buffer {"connection_id":178977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d87338012cc3d8000753c288000e015130..."} 
[2026-09-10 11:15:25] local.INFO: Packet analysis {"connection_id":178977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d8"} 
[2026-09-10 11:15:25] local.INFO: Extracted packet for processing {"connection_id":178977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d8"} 
[2026-09-10 11:15:25] local.INFO: GPS Element Parsed {"raw_longitude":751032320,"raw_latitude":122929800,"longitude_deg":75.103232,"latitude_deg":12.29298,"altitude":14,"angle":337,"satellites":48,"speed":28,"hex_longitude":"2cc3d800","hex_latitude":"0753c288","is_valid_coordinates":true} 
[2026-09-10 11:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988875776001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403903672318164992,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4330773960202225664,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019059000,"timestamp_ms":1789019059000,"timestamp_seconds":1789019059,"priority":1,"record_length":96,"hex_timestamp":"000001a089d87338"} 
[2026-09-10 11:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 11:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988875776001,"66":27908,"4":206,"85":37632,"24":28,"16":403903672318164992,"44":-4330773960202225664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-10 11:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988875776001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:15:25] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-10 11:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403903672318164992,"km_value":403903672318165.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:15:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4330773960202225664,"description":"Unknown IO ID 44"} 
[2026-09-10 11:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988875776001,"power":27908,"unknown_4":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-4330773960202225664}} 
[2026-09-10 11:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":178977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:15:25] local.INFO: GPS data processed {"connection_id":178977,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:15:25] local.INFO: Acknowledgment sent {"connection_id":178977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:15:27] local.INFO: TCP Data received {"connection_id":178978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:15:27] local.INFO: Processing buffer {"connection_id":178978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:15:27] local.INFO: IMEI packet received {"connection_id":178978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":178978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:15:32] local.INFO: TCP Data received {"connection_id":178978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:15:32] local.INFO: Processing buffer {"connection_id":178978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:15:32] local.INFO: IMEI packet received {"connection_id":178978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":178978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:15:33] local.INFO: TCP Data received {"connection_id":178978,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d63cd0012d198380071fefc0003a00ee27..."} 
[2026-09-10 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d63cd0012d198380071fefc0003a00ee27..."} 
[2026-09-10 11:15:33] local.INFO: Processing buffer {"connection_id":178978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d63cd0012d198380071fefc0003a00ee27..."} 
[2026-09-10 11:15:33] local.INFO: Packet analysis {"connection_id":178978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:15:33] local.INFO: Extracted packet for processing {"connection_id":178978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533504,"longitude_deg":75.6646784,"latitude_deg":11.9533504,"altitude":58,"angle":238,"satellites":39,"speed":17,"hex_longitude":"2d198380","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988841728001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145254808584192,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838946422195517440,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789018914000,"timestamp_ms":1789018914000,"timestamp_seconds":1789018914,"priority":1,"record_length":96,"hex_timestamp":"000001a089d63cd0"} 
[2026-09-10 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-09-10 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 11:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988841728001,"66":13243,"102":206,"83":41984,"24":17,"16":19145254808584192,"45":1838946422195517440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 11:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988841728001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:15:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 11:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145254808584192,"km_value":19145254808584.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838946422195517440,"description":"Unknown IO ID 45"} 
[2026-09-10 11:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988841728001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1838946422195517440}} 
[2026-09-10 11:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":178978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:15:33] local.INFO: GPS data processed {"connection_id":178978,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:15:33] local.INFO: Acknowledgment sent {"connection_id":178978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:15:38] local.INFO: TCP Data received {"connection_id":176172,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:15:38] local.INFO: Processing buffer {"connection_id":176172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:15:38] local.INFO: IMEI packet received {"connection_id":176172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":176172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:15:56] local.INFO: TCP Data received {"connection_id":178977,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d8a600012cc3c8c00753e4f0000e014e2a..."} 
[2026-09-10 11:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d8a600012cc3c8c00753e4f0000e014e2a..."} 
[2026-09-10 11:15:56] local.INFO: Processing buffer {"connection_id":178977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d8a600012cc3c8c00753e4f0000e014e2a..."} 
[2026-09-10 11:15:56] local.INFO: Packet analysis {"connection_id":178977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d8"} 
[2026-09-10 11:15:56] local.INFO: Extracted packet for processing {"connection_id":178977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d8"} 
[2026-09-10 11:15:56] local.INFO: GPS Element Parsed {"raw_longitude":751028416,"raw_latitude":122938608,"longitude_deg":75.1028416,"latitude_deg":12.2938608,"altitude":14,"angle":334,"satellites":42,"speed":29,"hex_longitude":"2cc3c8c0","hex_latitude":"0753e4f0","is_valid_coordinates":true} 
[2026-09-10 11:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988879104001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403904136174632960,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4334714609874073600,"note":"Value kept but may cause issues"} 
[2026-09-10 11:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019072000,"timestamp_ms":1789019072000,"timestamp_seconds":1789019072,"priority":1,"record_length":96,"hex_timestamp":"000001a089d8a600"} 
[2026-09-10 11:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988879104001,"66":27876,"5":206,"85":37632,"24":29,"16":403904136174632960,"44":-4334714609874073600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-09-10 11:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988879104001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:15:56] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 11:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403904136174632960,"km_value":403904136174632.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:15:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4334714609874073600,"description":"Unknown IO ID 44"} 
[2026-09-10 11:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988879104001,"power":27876,"unknown_5":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-4334714609874073600}} 
[2026-09-10 11:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":178977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:15:56] local.INFO: GPS data processed {"connection_id":178977,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:15:56] local.INFO: Acknowledgment sent {"connection_id":178977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:16:04] local.INFO: TCP Data received {"connection_id":178978,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d64c70012d197cc0071fec40003a010327..."} 
[2026-09-10 11:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d64c70012d197cc0071fec40003a010327..."} 
[2026-09-10 11:16:04] local.INFO: Processing buffer {"connection_id":178978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d64c70012d197cc0071fec40003a010327..."} 
[2026-09-10 11:16:04] local.INFO: Packet analysis {"connection_id":178978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:16:04] local.INFO: Extracted packet for processing {"connection_id":178978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d6"} 
[2026-09-10 11:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532608,"longitude_deg":75.6645056,"latitude_deg":11.9532608,"altitude":58,"angle":259,"satellites":39,"speed":20,"hex_longitude":"2d197cc0","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-10 11:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988841984001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145349297864704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986226688,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16: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-09-10 11:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789018918000,"timestamp_ms":1789018918000,"timestamp_seconds":1789018918,"priority":1,"record_length":96,"hex_timestamp":"000001a089d64c70"} 
[2026-09-10 11:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 11:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988841984001,"66":13243,"102":206,"83":41984,"24":20,"16":19145349297864704,"45":1838453840986226688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 11:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988841984001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:16:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 11:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145349297864704,"km_value":19145349297864.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986226688,"description":"Unknown IO ID 45"} 
[2026-09-10 11:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988841984001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1838453840986226688}} 
[2026-09-10 11:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":178978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:16:04] local.INFO: GPS data processed {"connection_id":178978,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:16:04] local.INFO: Acknowledgment sent {"connection_id":178978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:16:19] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:16:19] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:16:19] local.INFO: IMEI packet received {"connection_id":177597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":177597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:16:24] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:16:24] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:16:24] local.INFO: IMEI packet received {"connection_id":177597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":177597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:16:25] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d8dcb0012cc3ba80075405600010015726..."} 
[2026-09-10 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d8dcb0012cc3ba80075405600010015726..."} 
[2026-09-10 11:16:25] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d8dcb0012cc3ba80075405600010015726..."} 
[2026-09-10 11:16:25] local.INFO: Packet analysis {"connection_id":177597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d8"} 
[2026-09-10 11:16:25] local.INFO: Extracted packet for processing {"connection_id":177597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d8"} 
[2026-09-10 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":751024768,"raw_latitude":122946912,"longitude_deg":75.1024768,"latitude_deg":12.2946912,"altitude":16,"angle":343,"satellites":38,"speed":23,"hex_longitude":"2cc3ba80","hex_latitude":"07540560","is_valid_coordinates":true} 
[2026-09-10 11:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988882432001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403904574261297152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4339007103266656256,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019086000,"timestamp_ms":1789019086000,"timestamp_seconds":1789019086,"priority":1,"record_length":96,"hex_timestamp":"000001a089d8dcb0"} 
[2026-09-10 11:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988882432001,"66":27908,"5":206,"85":37632,"24":23,"16":403904574261297152,"44":-4339007103266656256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-09-10 11:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988882432001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:16:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 11:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403904574261297152,"km_value":403904574261297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4339007103266656256,"description":"Unknown IO ID 44"} 
[2026-09-10 11:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988882432001,"power":27908,"unknown_5":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-4339007103266656256}} 
[2026-09-10 11:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":177597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:16:25] local.INFO: GPS data processed {"connection_id":177597,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:16:25] local.INFO: Acknowledgment sent {"connection_id":177597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:16:32] local.INFO: TCP Data received {"connection_id":178979,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:16:32] local.INFO: Processing buffer {"connection_id":178979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:16:32] local.INFO: IMEI packet received {"connection_id":178979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":178979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:16:38] local.INFO: TCP Data received {"connection_id":178979,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:16:38] local.INFO: Processing buffer {"connection_id":178979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:16:38] local.INFO: IMEI packet received {"connection_id":178979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":178979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:16:38] local.INFO: TCP Data received {"connection_id":178979,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d955c8012d1968c0071fee50003a011529..."} 
[2026-09-10 11:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d955c8012d1968c0071fee50003a011529..."} 
[2026-09-10 11:16:38] local.INFO: Processing buffer {"connection_id":178979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d955c8012d1968c0071fee50003a011529..."} 
[2026-09-10 11:16:38] local.INFO: Packet analysis {"connection_id":178979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:16:38] local.INFO: Extracted packet for processing {"connection_id":178979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988888576001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789019117000,"timestamp_ms":1789019117000,"timestamp_seconds":1789019117,"priority":1,"record_length":96,"hex_timestamp":"000001a089d955c8"} 
[2026-09-10 11:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:16: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-09-10 11: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2312574864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503891765952512,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-2970818840547989312,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3998220346,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3891373965138264320,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182070795829504,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241708301798995,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300864421536273703,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195097856,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84751916416311277,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.WARNING: Large IO value detected {"io_id":224,"raw_value":16326773402766080,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,4,160,177,45,192,238,58,40,10,66,95,13,1,240,248,227,137,31,113,205,105,104,80,41,239,51,2,68,7,164,209,69,128,224],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-09-10 11:16:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179645190719406080,"timestamp_seconds":4179645190719406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 11:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988888576001,"66":12972,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988888576001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:16:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988888576001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":178979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:16:38] local.INFO: GPS data processed {"connection_id":178979,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:16:38] local.INFO: Acknowledgment sent {"connection_id":178979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:16:39] local.INFO: TCP Data received {"connection_id":178979,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d9a7d0012d1968c0071fee50003a011527..."} 
[2026-09-10 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d9a7d0012d1968c0071fee50003a011527..."} 
[2026-09-10 11:16:39] local.INFO: Processing buffer {"connection_id":178979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d9a7d0012d1968c0071fee50003a011527..."} 
[2026-09-10 11:16:39] local.INFO: Packet analysis {"connection_id":178979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:16:39] local.INFO: Extracted packet for processing {"connection_id":178979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988893952001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789019138000,"timestamp_ms":1789019138000,"timestamp_seconds":1789019138,"priority":1,"record_length":96,"hex_timestamp":"000001a089d9a7d0"} 
[2026-09-10 11:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:16: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-09-10 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 11:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988893952001,"66":12917,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988893952001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:16:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988893952001,"power":12917,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":178979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:16:39] local.INFO: GPS data processed {"connection_id":178979,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:16:39] local.INFO: Acknowledgment sent {"connection_id":178979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:16:57] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089d9ee20012cc38400075497d8000d01502f..."} 
[2026-09-10 11:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d9ee20012cc38400075497d8000d01502f..."} 
[2026-09-10 11:16:57] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d9ee20012cc38400075497d8000d01502f..."} 
[2026-09-10 11:16:57] local.INFO: Packet analysis {"connection_id":177597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:16:57] local.INFO: Extracted packet for processing {"connection_id":177597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:16:57] local.INFO: GPS Element Parsed {"raw_longitude":751010816,"raw_latitude":122984408,"longitude_deg":75.1010816,"latitude_deg":12.2984408,"altitude":13,"angle":336,"satellites":47,"speed":40,"hex_longitude":"2cc38400","hex_latitude":"075497d8","is_valid_coordinates":true} 
[2026-09-10 11:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988901376001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403906537061351424,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4354136383255427072,"note":"Value kept but may cause issues"} 
[2026-09-10 11:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789019156000,"timestamp_ms":1789019156000,"timestamp_seconds":1789019156,"priority":1,"record_length":96,"hex_timestamp":"000001a089d9ee20"} 
[2026-09-10 11:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 11:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988901376001,"66":27919,"179":206,"85":37632,"24":40,"16":403906537061351424,"44":-4354136383255427072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 11:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988901376001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:16:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 11:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403906537061351424,"km_value":403906537061351.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:16:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4354136383255427072,"description":"Unknown IO ID 44"} 
[2026-09-10 11:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988901376001,"power":27919,"unknown_179":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-4354136383255427072}} 
[2026-09-10 11:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":177597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:16:57] local.INFO: GPS data processed {"connection_id":177597,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:16:57] local.INFO: Acknowledgment sent {"connection_id":177597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:17:10] local.INFO: TCP Data received {"connection_id":178979,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089d9f9d8012d1968c0071fee50003a011525..."} 
[2026-09-10 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089d9f9d8012d1968c0071fee50003a011525..."} 
[2026-09-10 11:17:10] local.INFO: Processing buffer {"connection_id":178979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089d9f9d8012d1968c0071fee50003a011525..."} 
[2026-09-10 11:17:10] local.INFO: Packet analysis {"connection_id":178979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:17:10] local.INFO: Extracted packet for processing {"connection_id":178979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089d9"} 
[2026-09-10 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988899328001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789019159000,"timestamp_ms":1789019159000,"timestamp_seconds":1789019159,"priority":1,"record_length":96,"hex_timestamp":"000001a089d9f9d8"} 
[2026-09-10 11:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":117,"data_length":795,"current_offset":136} 
[2026-09-10 11:17: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-09-10 11: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-09-10 11:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":178979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":178979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":178979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988899328001,"66":12950,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988899328001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:17:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988899328001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":178979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:17:10] local.INFO: GPS data processed {"connection_id":178979,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:17:10] local.INFO: Acknowledgment sent {"connection_id":178979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:17:19] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:17:19] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:17:19] local.INFO: IMEI packet received {"connection_id":176425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":176425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:17:26] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:17:26] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:17:26] local.INFO: IMEI packet received {"connection_id":176425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":176425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:17:27] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089da1148012cc376400754b848000e015131..."} 
[2026-09-10 11:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089da1148012cc376400754b848000e015131..."} 
[2026-09-10 11:17:27] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089da1148012cc376400754b848000e015131..."} 
[2026-09-10 11:17:27] local.INFO: Packet analysis {"connection_id":176425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:27] local.INFO: Extracted packet for processing {"connection_id":176425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":751007296,"raw_latitude":122992712,"longitude_deg":75.1007296,"latitude_deg":12.2992712,"altitude":14,"angle":337,"satellites":49,"speed":41,"hex_longitude":"2cc37640","hex_latitude":"0754b848","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988903936001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403906970853048320,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4358358507903789056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789019165000,"timestamp_ms":1789019165000,"timestamp_seconds":1789019165,"priority":1,"record_length":96,"hex_timestamp":"000001a089da1148"} 
[2026-09-10 11:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 11:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988903936001,"66":27800,"179":206,"85":37632,"24":41,"16":403906970853048320,"44":-4358358507903789056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 11:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988903936001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:17:27] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 11:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403906970853048320,"km_value":403906970853048.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4358358507903789056,"description":"Unknown IO ID 44"} 
[2026-09-10 11:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988903936001,"power":27800,"unknown_179":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-4358358507903789056}} 
[2026-09-10 11:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":176425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:17:27] local.INFO: GPS data processed {"connection_id":176425,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:17:27] local.INFO: Acknowledgment sent {"connection_id":176425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:17:27] local.INFO: TCP Data received {"connection_id":178980,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:17:27] local.INFO: Processing buffer {"connection_id":178980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:17:27] local.INFO: IMEI packet received {"connection_id":178980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":178980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:17:28] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089da3470012cc368800754db78000e01512e..."} 
[2026-09-10 11:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089da3470012cc368800754db78000e01512e..."} 
[2026-09-10 11:17:28] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089da3470012cc368800754db78000e01512e..."} 
[2026-09-10 11:17:28] local.INFO: Packet analysis {"connection_id":176425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:28] local.INFO: Extracted packet for processing {"connection_id":176425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:28] local.INFO: GPS Element Parsed {"raw_longitude":751003776,"raw_latitude":123001720,"longitude_deg":75.1003776,"latitude_deg":12.300172,"altitude":14,"angle":337,"satellites":46,"speed":39,"hex_longitude":"2cc36880","hex_latitude":"0754db78","is_valid_coordinates":true} 
[2026-09-10 11:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988906240001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403907439004483584,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4362228788831434752,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789019174000,"timestamp_ms":1789019174000,"timestamp_seconds":1789019174,"priority":1,"record_length":96,"hex_timestamp":"000001a089da3470"} 
[2026-09-10 11:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 11:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988906240001,"66":27865,"180":206,"85":37632,"24":39,"16":403907439004483584,"44":-4362228788831434752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,85,24,16,44]} 
[2026-09-10 11:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988906240001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:17:28] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 11:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403907439004483584,"km_value":403907439004483.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:17:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4362228788831434752,"description":"Unknown IO ID 44"} 
[2026-09-10 11:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988906240001,"power":27865,"unknown_180":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-4362228788831434752}} 
[2026-09-10 11:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":176425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:17:28] local.INFO: GPS data processed {"connection_id":176425,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:17:28] local.INFO: Acknowledgment sent {"connection_id":176425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:17:32] local.INFO: TCP Data received {"connection_id":178980,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:17:32] local.INFO: Processing buffer {"connection_id":178980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:17:32] local.INFO: IMEI packet received {"connection_id":178980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":178980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:17:33] local.INFO: TCP Data received {"connection_id":178980,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089da4be0012d1968c0071fee50003a011528..."} 
[2026-09-10 11:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089da4be0012d1968c0071fee50003a011528..."} 
[2026-09-10 11:17:33] local.INFO: Processing buffer {"connection_id":178980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089da4be0012d1968c0071fee50003a011528..."} 
[2026-09-10 11:17:33] local.INFO: Packet analysis {"connection_id":178980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:33] local.INFO: Extracted packet for processing {"connection_id":178980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988904704001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019180000,"timestamp_ms":1789019180000,"timestamp_seconds":1789019180,"priority":1,"record_length":96,"hex_timestamp":"000001a089da4be0"} 
[2026-09-10 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-09-10 11:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 11:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988904704001,"66":12885,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988904704001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:17:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988904704001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":178980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:17:33] local.INFO: GPS data processed {"connection_id":178980,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:17:33] local.INFO: Acknowledgment sent {"connection_id":178980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:17:59] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089da5798012cc35b400754fe60000f01542c..."} 
[2026-09-10 11:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089da5798012cc35b400754fe60000f01542c..."} 
[2026-09-10 11:17:59] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089da5798012cc35b400754fe60000f01542c..."} 
[2026-09-10 11:17:59] local.INFO: Packet analysis {"connection_id":176425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:59] local.INFO: Extracted packet for processing {"connection_id":176425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:17:59] local.INFO: GPS Element Parsed {"raw_longitude":751000384,"raw_latitude":123010656,"longitude_deg":75.1000384,"latitude_deg":12.3010656,"altitude":15,"angle":340,"satellites":44,"speed":42,"hex_longitude":"2cc35b40","hex_latitude":"0754fe60","is_valid_coordinates":true} 
[2026-09-10 11:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988908544001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403907902860951552,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366099069758900224,"note":"Value kept but may cause issues"} 
[2026-09-10 11:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789019183000,"timestamp_ms":1789019183000,"timestamp_seconds":1789019183,"priority":1,"record_length":96,"hex_timestamp":"000001a089da5798"} 
[2026-09-10 11:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 11:17: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-09-10 11:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988908544001,"66":27865,"180":206,"85":37632,"24":42,"16":403907902860951552,"44":-4366099069758900224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,85,24,16,44]} 
[2026-09-10 11:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988908544001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:17:59] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 11:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403907902860951552,"km_value":403907902860951.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:17:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366099069758900224,"description":"Unknown IO ID 44"} 
[2026-09-10 11:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988908544001,"power":27865,"unknown_180":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-4366099069758900224}} 
[2026-09-10 11:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":176425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:17:59] local.INFO: GPS data processed {"connection_id":176425,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:17:59] local.INFO: Acknowledgment sent {"connection_id":176425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:18:04] local.INFO: TCP Data received {"connection_id":178980,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089da9de8012d1968c0071fee50003a011527..."} 
[2026-09-10 11:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089da9de8012d1968c0071fee50003a011527..."} 
[2026-09-10 11:18:04] local.INFO: Processing buffer {"connection_id":178980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089da9de8012d1968c0071fee50003a011527..."} 
[2026-09-10 11:18:04] local.INFO: Packet analysis {"connection_id":178980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:04] local.INFO: Extracted packet for processing {"connection_id":178980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988910080001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019201000,"timestamp_ms":1789019201000,"timestamp_seconds":1789019201,"priority":1,"record_length":96,"hex_timestamp":"000001a089da9de8"} 
[2026-09-10 11:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 11:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988910080001,"66":12885,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988910080001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:18:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988910080001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":178980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:18:05] local.INFO: GPS data processed {"connection_id":178980,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:18:05] local.INFO: Acknowledgment sent {"connection_id":178980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:18:24] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:18:24] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:18:24] local.INFO: IMEI packet received {"connection_id":177598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":177598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:18:28] local.INFO: TCP Data received {"connection_id":176426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:18:28] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:18:28] local.INFO: IMEI packet received {"connection_id":176426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":176426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:18:28] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:18:28] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:18:28] local.INFO: IMEI packet received {"connection_id":177598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":177598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:18:29] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089da76d8012cc34e4007551f58001001532f..."} 
[2026-09-10 11:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089da76d8012cc34e4007551f58001001532f..."} 
[2026-09-10 11:18:29] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089da76d8012cc34e4007551f58001001532f..."} 
[2026-09-10 11:18:29] local.INFO: Packet analysis {"connection_id":177598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:29] local.INFO: Extracted packet for processing {"connection_id":177598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:29] local.INFO: GPS Element Parsed {"raw_longitude":750997056,"raw_latitude":123019096,"longitude_deg":75.0997056,"latitude_deg":12.3019096,"altitude":16,"angle":339,"satellites":47,"speed":46,"hex_longitude":"2cc34e40","hex_latitude":"07551f58","is_valid_coordinates":true} 
[2026-09-10 11:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988910848001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403908340947615744,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4369828613198028800,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789019191000,"timestamp_ms":1789019191000,"timestamp_seconds":1789019191,"priority":1,"record_length":96,"hex_timestamp":"000001a089da76d8"} 
[2026-09-10 11:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:18: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-09-10 11:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 11:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988910848001,"66":27691,"180":206,"85":37632,"24":46,"16":403908340947615744,"44":-4369828613198028800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,85,24,16,44]} 
[2026-09-10 11:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988910848001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:18:29] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 11:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403908340947615744,"km_value":403908340947615.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4369828613198028800,"description":"Unknown IO ID 44"} 
[2026-09-10 11:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988910848001,"power":27691,"unknown_180":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-4369828613198028800}} 
[2026-09-10 11:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":177598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:18:29] local.INFO: GPS data processed {"connection_id":177598,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:18:29] local.INFO: Acknowledgment sent {"connection_id":177598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:18:31] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089da9618012cc3428007554240001101542f..."} 
[2026-09-10 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089da9618012cc3428007554240001101542f..."} 
[2026-09-10 11:18:31] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089da9618012cc3428007554240001101542f..."} 
[2026-09-10 11:18:31] local.INFO: Packet analysis {"connection_id":177598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:31] local.INFO: Extracted packet for processing {"connection_id":177598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":750994048,"raw_latitude":123028032,"longitude_deg":75.0994048,"latitude_deg":12.3028032,"altitude":17,"angle":340,"satellites":47,"speed":45,"hex_longitude":"2cc34280","hex_latitude":"07554240","is_valid_coordinates":true} 
[2026-09-10 11:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988912896001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403908796214149120,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4373487787893106688,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789019199000,"timestamp_ms":1789019199000,"timestamp_seconds":1789019199,"priority":1,"record_length":96,"hex_timestamp":"000001a089da9618"} 
[2026-09-10 11:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11: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-09-10 11: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":43,"data_length":795,"current_offset":136} 
[2026-09-10 11:18: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-09-10 11:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988912896001,"66":27919,"180":206,"85":37632,"24":45,"16":403908796214149120,"44":-4373487787893106688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,85,24,16,44]} 
[2026-09-10 11:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988912896001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 11:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403908796214149120,"km_value":403908796214149.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4373487787893106688,"description":"Unknown IO ID 44"} 
[2026-09-10 11:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988912896001,"power":27919,"unknown_180":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-4373487787893106688}} 
[2026-09-10 11:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":177598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:18:31] local.INFO: GPS data processed {"connection_id":177598,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:18:31] local.INFO: Acknowledgment sent {"connection_id":177598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:18:32] local.INFO: TCP Data received {"connection_id":176426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:18:32] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:18:32] local.INFO: IMEI packet received {"connection_id":176426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":176426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:18:33] local.INFO: TCP Data received {"connection_id":176426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089daeff0012d1968c0071fee50003a011526..."} 
[2026-09-10 11:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089daeff0012d1968c0071fee50003a011526..."} 
[2026-09-10 11:18:33] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089daeff0012d1968c0071fee50003a011526..."} 
[2026-09-10 11:18:33] local.INFO: Packet analysis {"connection_id":176426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:33] local.INFO: Extracted packet for processing {"connection_id":176426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988915456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019222000,"timestamp_ms":1789019222000,"timestamp_seconds":1789019222,"priority":1,"record_length":96,"hex_timestamp":"000001a089daeff0"} 
[2026-09-10 11:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 11:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988915456001,"66":12863,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988915456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:18:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988915456001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":176426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:18:33] local.INFO: GPS data processed {"connection_id":176426,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:18:33] local.INFO: Acknowledgment sent {"connection_id":176426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:19:03] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dab558012cc333c0075563980010014d2e..."} 
[2026-09-10 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dab558012cc333c0075563980010014d2e..."} 
[2026-09-10 11:19:03] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dab558012cc333c0075563980010014d2e..."} 
[2026-09-10 11:19:03] local.INFO: Packet analysis {"connection_id":177598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:19:03] local.INFO: Extracted packet for processing {"connection_id":177598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089da"} 
[2026-09-10 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":750990272,"raw_latitude":123036568,"longitude_deg":75.0990272,"latitude_deg":12.3036568,"altitude":16,"angle":333,"satellites":46,"speed":47,"hex_longitude":"2cc333c0","hex_latitude":"07556398","is_valid_coordinates":true} 
[2026-09-10 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988914944001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403909247185715200,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4376795118867169280,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789019207000,"timestamp_ms":1789019207000,"timestamp_seconds":1789019207,"priority":1,"record_length":96,"hex_timestamp":"000001a089dab558"} 
[2026-09-10 11:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 11:19: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-09-10 11:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19: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-09-10 11:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988914944001,"66":27843,"84":206,"85":37120,"24":47,"16":403909247185715200,"44":-4376795118867169280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-10 11:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988914944001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:19:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 11:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403909247185715200,"km_value":403909247185715.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4376795118867169280,"description":"Unknown IO ID 44"} 
[2026-09-10 11:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988914944001,"power":27843,"unknown_84":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4376795118867169280}} 
[2026-09-10 11:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":177598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:19:03] local.INFO: GPS data processed {"connection_id":177598,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:19:03] local.INFO: Acknowledgment sent {"connection_id":177598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:19:04] local.INFO: TCP Data received {"connection_id":176426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089db41f8012d1968c0071fee50003a011527..."} 
[2026-09-10 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089db41f8012d1968c0071fee50003a011527..."} 
[2026-09-10 11:19:04] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089db41f8012d1968c0071fee50003a011527..."} 
[2026-09-10 11:19:04] local.INFO: Packet analysis {"connection_id":176426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:19:04] local.INFO: Extracted packet for processing {"connection_id":176426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988920832001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019243000,"timestamp_ms":1789019243000,"timestamp_seconds":1789019243,"priority":1,"record_length":96,"hex_timestamp":"000001a089db41f8"} 
[2026-09-10 11:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 11:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988920832001,"66":12841,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988920832001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:19:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988920832001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":176426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:19:04] local.INFO: GPS data processed {"connection_id":176426,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:19:04] local.INFO: Acknowledgment sent {"connection_id":176426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:19:20] local.INFO: TCP Data received {"connection_id":178981,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:20] local.INFO: Processing buffer {"connection_id":178981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:20] local.INFO: IMEI packet received {"connection_id":178981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":178981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:19:20] local.INFO: TCP Data received {"connection_id":178981,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:20] local.INFO: Processing buffer {"connection_id":178981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:20] local.INFO: IMEI packet received {"connection_id":178981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":178981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:19:23] local.INFO: TCP Data received {"connection_id":178981,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:23] local.INFO: Processing buffer {"connection_id":178981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:19:23] local.INFO: IMEI packet received {"connection_id":178981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":178981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:19:23] local.INFO: TCP Data received {"connection_id":178981,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dc14e8012cc29c8007566150001601442b..."} 
[2026-09-10 11:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dc14e8012cc29c8007566150001601442b..."} 
[2026-09-10 11:19:23] local.INFO: Processing buffer {"connection_id":178981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dc14e8012cc29c8007566150001601442b..."} 
[2026-09-10 11:19:23] local.INFO: Packet analysis {"connection_id":178981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:19:23] local.INFO: Extracted packet for processing {"connection_id":178981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:19:23] local.INFO: GPS Element Parsed {"raw_longitude":750951552,"raw_latitude":123101520,"longitude_deg":75.0951552,"latitude_deg":12.310152,"altitude":22,"angle":324,"satellites":43,"speed":37,"hex_longitude":"2cc29c80","hex_latitude":"07566150","is_valid_coordinates":true} 
[2026-09-10 11:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988939264001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403912927972687872,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4422042221355194368,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789019297000,"timestamp_ms":1789019297000,"timestamp_seconds":1789019297,"priority":1,"record_length":96,"hex_timestamp":"000001a089dc14e8"} 
[2026-09-10 11:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:19: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-09-10 11:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 11:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988939264001,"66":27908,"83":206,"85":37120,"24":37,"16":403912927972687872,"44":-4422042221355194368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-10 11:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988939264001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-10 11:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403912927972687872,"km_value":403912927972687.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4422042221355194368,"description":"Unknown IO ID 44"} 
[2026-09-10 11:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988939264001,"power":27908,"unknown_83":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4422042221355194368}} 
[2026-09-10 11:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":178981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:19:23] local.INFO: GPS data processed {"connection_id":178981,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:19:23] local.INFO: Acknowledgment sent {"connection_id":178981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:19:24] local.INFO: TCP Data received {"connection_id":178981,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dc3fe0012cc286c007567d30001201492b..."} 
[2026-09-10 11:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dc3fe0012cc286c007567d30001201492b..."} 
[2026-09-10 11:19:24] local.INFO: Processing buffer {"connection_id":178981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dc3fe0012cc286c007567d30001201492b..."} 
[2026-09-10 11:19:24] local.INFO: Packet analysis {"connection_id":178981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:19:24] local.INFO: Extracted packet for processing {"connection_id":178981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:19:24] local.INFO: GPS Element Parsed {"raw_longitude":750945984,"raw_latitude":123108656,"longitude_deg":75.0945984,"latitude_deg":12.3108656,"altitude":18,"angle":329,"satellites":43,"speed":32,"hex_longitude":"2cc286c0","hex_latitude":"07567d30","is_valid_coordinates":true} 
[2026-09-10 11:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988940032001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403913361764384768,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4423519964982325248,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789019308000,"timestamp_ms":1789019308000,"timestamp_seconds":1789019308,"priority":1,"record_length":96,"hex_timestamp":"000001a089dc3fe0"} 
[2026-09-10 11:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988940032001,"66":27974,"83":206,"85":37120,"24":32,"16":403913361764384768,"44":-4423519964982325248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-10 11:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988940032001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-10 11:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403913361764384768,"km_value":403913361764384.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4423519964982325248,"description":"Unknown IO ID 44"} 
[2026-09-10 11:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988940032001,"power":27974,"unknown_83":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4423519964982325248}} 
[2026-09-10 11:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":178981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:19:24] local.INFO: GPS data processed {"connection_id":178981,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:19:24] local.INFO: Acknowledgment sent {"connection_id":178981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:19:27] local.INFO: TCP Data received {"connection_id":177599,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:19:27] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:19:27] local.INFO: IMEI packet received {"connection_id":177599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":177599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:19:32] local.INFO: TCP Data received {"connection_id":177599,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:19:32] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:19:32] local.INFO: IMEI packet received {"connection_id":177599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":177599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:19:33] local.INFO: TCP Data received {"connection_id":177599,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089db9400012d1968c0071fee50003a011529..."} 
[2026-09-10 11:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089db9400012d1968c0071fee50003a011529..."} 
[2026-09-10 11:19:33] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089db9400012d1968c0071fee50003a011529..."} 
[2026-09-10 11:19:33] local.INFO: Packet analysis {"connection_id":177599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:19:33] local.INFO: Extracted packet for processing {"connection_id":177599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988926208001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019264000,"timestamp_ms":1789019264000,"timestamp_seconds":1789019264,"priority":1,"record_length":96,"hex_timestamp":"000001a089db9400"} 
[2026-09-10 11:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 11:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988926208001,"66":12537,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988926208001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:19:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988926208001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":177599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:19:33] local.INFO: GPS data processed {"connection_id":177599,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:19:33] local.INFO: Acknowledgment sent {"connection_id":177599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:19:55] local.INFO: TCP Data received {"connection_id":178981,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dc72a8012cc2738007569c60001201402b..."} 
[2026-09-10 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dc72a8012cc2738007569c60001201402b..."} 
[2026-09-10 11:19:55] local.INFO: Processing buffer {"connection_id":178981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dc72a8012cc2738007569c60001201402b..."} 
[2026-09-10 11:19:55] local.INFO: Packet analysis {"connection_id":178981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:19:55] local.INFO: Extracted packet for processing {"connection_id":178981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":750941056,"raw_latitude":123116640,"longitude_deg":75.0941056,"latitude_deg":12.311664,"altitude":18,"angle":320,"satellites":43,"speed":30,"hex_longitude":"2cc27380","hex_latitude":"07569c60","is_valid_coordinates":true} 
[2026-09-10 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988942848001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403913812735950848,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4429642045723955200,"note":"Value kept but may cause issues"} 
[2026-09-10 11:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789019321000,"timestamp_ms":1789019321000,"timestamp_seconds":1789019321,"priority":1,"record_length":96,"hex_timestamp":"000001a089dc72a8"} 
[2026-09-10 11:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:19: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-09-10 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 11:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988942848001,"66":27919,"103":206,"85":37120,"24":30,"16":403913812735950848,"44":-4429642045723955200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988942848001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:19:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403913812735950848,"km_value":403913812735950.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4429642045723955200,"description":"Unknown IO ID 44"} 
[2026-09-10 11:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988942848001,"power":27919,"unknown_103":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4429642045723955200}} 
[2026-09-10 11:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":178981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:19:55] local.INFO: GPS data processed {"connection_id":178981,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:19:55] local.INFO: Acknowledgment sent {"connection_id":178981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:20:04] local.INFO: TCP Data received {"connection_id":177599,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dbe608012d1968c0071fee50003a011526..."} 
[2026-09-10 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dbe608012d1968c0071fee50003a011526..."} 
[2026-09-10 11:20:04] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dbe608012d1968c0071fee50003a011526..."} 
[2026-09-10 11:20:04] local.INFO: Packet analysis {"connection_id":177599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:20:04] local.INFO: Extracted packet for processing {"connection_id":177599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988931584001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019285000,"timestamp_ms":1789019285000,"timestamp_seconds":1789019285,"priority":1,"record_length":96,"hex_timestamp":"000001a089dbe608"} 
[2026-09-10 11:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 11:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988931584001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988931584001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:20:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988931584001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":177599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:20:04] local.INFO: GPS data processed {"connection_id":177599,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:20:04] local.INFO: Acknowledgment sent {"connection_id":177599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:20:19] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:20:19] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:20:19] local.INFO: IMEI packet received {"connection_id":176173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":176173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:20:24] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:20:24] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:20:24] local.INFO: IMEI packet received {"connection_id":176173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":176173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:20:25] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dc7e60012cc26d400756a280001301312d..."} 
[2026-09-10 11:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dc7e60012cc26d400756a280001301312d..."} 
[2026-09-10 11:20:25] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dc7e60012cc26d400756a280001301312d..."} 
[2026-09-10 11:20:25] local.INFO: Packet analysis {"connection_id":176173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:20:25] local.INFO: Extracted packet for processing {"connection_id":176173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:20:25] local.INFO: GPS Element Parsed {"raw_longitude":750939456,"raw_latitude":123118208,"longitude_deg":75.0939456,"latitude_deg":12.3118208,"altitude":19,"angle":305,"satellites":45,"speed":29,"hex_longitude":"2cc26d40","hex_latitude":"0756a280","is_valid_coordinates":true} 
[2026-09-10 11:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988946176001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403913920110133248,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4435060439023591424,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019324000,"timestamp_ms":1789019324000,"timestamp_seconds":1789019324,"priority":1,"record_length":96,"hex_timestamp":"000001a089dc7e60"} 
[2026-09-10 11:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 11:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988946176001,"66":27908,"103":206,"85":37120,"24":29,"16":403913920110133248,"44":-4435060439023591424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988946176001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:20:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403913920110133248,"km_value":403913920110133.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:20:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4435060439023591424,"description":"Unknown IO ID 44"} 
[2026-09-10 11:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988946176001,"power":27908,"unknown_103":206,"unknown_85":37120,"ignition":29,"odometer":null,"unknown_44":-4435060439023591424}} 
[2026-09-10 11:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":176173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:20:25] local.INFO: GPS data processed {"connection_id":176173,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:20:25] local.INFO: Acknowledgment sent {"connection_id":176173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:20:27] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:27] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:27] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:20:28] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:28] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:28] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:20:32] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:32] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:20:32] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:20:33] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dc3810012d1968c0071fee50003a011527..."} 
[2026-09-10 11:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dc3810012d1968c0071fee50003a011527..."} 
[2026-09-10 11:20:33] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dc3810012d1968c0071fee50003a011527..."} 
[2026-09-10 11:20:33] local.INFO: Packet analysis {"connection_id":176428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:20:33] local.INFO: Extracted packet for processing {"connection_id":176428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988936960001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019306000,"timestamp_ms":1789019306000,"timestamp_seconds":1789019306,"priority":1,"record_length":96,"hex_timestamp":"000001a089dc3810"} 
[2026-09-10 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-09-10 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988936960001,"66":12776,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988936960001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:20:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988936960001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":176428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:20:33] local.INFO: GPS data processed {"connection_id":176428,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:20:33] local.INFO: Acknowledgment sent {"connection_id":176428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:20:56] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dc91e8012cc261400756a930001501252d..."} 
[2026-09-10 11:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dc91e8012cc261400756a930001501252d..."} 
[2026-09-10 11:20:56] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dc91e8012cc261400756a930001501252d..."} 
[2026-09-10 11:20:56] local.INFO: Packet analysis {"connection_id":176173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:20:56] local.INFO: Extracted packet for processing {"connection_id":176173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:20:56] local.INFO: GPS Element Parsed {"raw_longitude":750936384,"raw_latitude":123119920,"longitude_deg":75.0936384,"latitude_deg":12.311992,"altitude":21,"angle":293,"satellites":45,"speed":24,"hex_longitude":"2cc26140","hex_latitude":"0756a930","is_valid_coordinates":true} 
[2026-09-10 11:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988946944001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403914091908825088,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4436819657627631616,"note":"Value kept but may cause issues"} 
[2026-09-10 11:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019329000,"timestamp_ms":1789019329000,"timestamp_seconds":1789019329,"priority":1,"record_length":96,"hex_timestamp":"000001a089dc91e8"} 
[2026-09-10 11:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988946944001,"66":27821,"103":206,"85":37120,"24":24,"16":403914091908825088,"44":-4436819657627631616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988946944001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:20:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403914091908825088,"km_value":403914091908825.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4436819657627631616,"description":"Unknown IO ID 44"} 
[2026-09-10 11:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988946944001,"power":27821,"unknown_103":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4436819657627631616}} 
[2026-09-10 11:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":176173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:20:56] local.INFO: GPS data processed {"connection_id":176173,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:20:56] local.INFO: Acknowledgment sent {"connection_id":176173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:04] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dc8a18012d1968c0071fee50003a011527..."} 
[2026-09-10 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dc8a18012d1968c0071fee50003a011527..."} 
[2026-09-10 11:21:04] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dc8a18012d1968c0071fee50003a011527..."} 
[2026-09-10 11:21:04] local.INFO: Packet analysis {"connection_id":176428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:21:04] local.INFO: Extracted packet for processing {"connection_id":176428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988942336001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019327000,"timestamp_ms":1789019327000,"timestamp_seconds":1789019327,"priority":1,"record_length":96,"hex_timestamp":"000001a089dc8a18"} 
[2026-09-10 11:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 11:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988942336001,"66":12776,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988942336001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988942336001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":176428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:04] local.INFO: GPS data processed {"connection_id":176428,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:04] local.INFO: Acknowledgment sent {"connection_id":176428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:05] local.INFO: TCP Data received {"connection_id":178982,"ip":"117.224.179.88","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:05] local.INFO: Processing buffer {"connection_id":178982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:05] local.INFO: IMEI packet received {"connection_id":178982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":178982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:21:06] local.INFO: TCP Data received {"connection_id":178982,"ip":"117.224.179.88","data_length":795,"data_hex":"000000000000030f8e0a000001a089db6520012c5e60c008a13270000500b126..."} 
[2026-09-10 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089db6520012c5e60c008a13270000500b126..."} 
[2026-09-10 11:21:06] local.INFO: Processing buffer {"connection_id":178982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089db6520012c5e60c008a13270000500b126..."} 
[2026-09-10 11:21:06] local.INFO: Packet analysis {"connection_id":178982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:21:06] local.INFO: Extracted packet for processing {"connection_id":178982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:21:06] local.INFO: GPS Element Parsed {"raw_longitude":744382656,"raw_latitude":144781936,"longitude_deg":74.4382656,"latitude_deg":14.4781936,"altitude":5,"angle":177,"satellites":38,"speed":52,"hex_longitude":"2c5e60c0","hex_latitude":"08a13270","is_valid_coordinates":true} 
[2026-09-10 11:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988924160001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6793820812446490624,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789019252000,"timestamp_ms":1789019252000,"timestamp_seconds":1789019252,"priority":1,"record_length":96,"hex_timestamp":"000001a089db6520"} 
[2026-09-10 11:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 11:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.179.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988924160001,"66":28104,"220":206,"195":22272,"24":52,"16":3893920429768704,"44":6793820812446490624},"client_ip":"117.224.179.88","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,195,24,16,44]} 
[2026-09-10 11:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988924160001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:06] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 11:21:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":22272,"description":"Unknown IO ID 195"} 
[2026-09-10 11:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":6793820812446490624,"description":"Unknown IO ID 44"} 
[2026-09-10 11:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988924160001,"power":28104,"unknown_220":206,"unknown_195":22272,"ignition":52,"odometer":null,"unknown_44":6793820812446490624}} 
[2026-09-10 11:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":178982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:06] local.INFO: GPS data processed {"connection_id":178982,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:06] local.INFO: Acknowledgment sent {"connection_id":178982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:19] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:21:19] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:21:19] local.INFO: IMEI packet received {"connection_id":176174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":176174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:21:24] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:21:24] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:21:24] local.INFO: IMEI packet received {"connection_id":176174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":176174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:21:25] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dcb510012cc252c00756b060001601312c..."} 
[2026-09-10 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dcb510012cc252c00756b060001601312c..."} 
[2026-09-10 11:21:25] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dcb510012cc252c00756b060001601312c..."} 
[2026-09-10 11:21:25] local.INFO: Packet analysis {"connection_id":176174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:21:25] local.INFO: Extracted packet for processing {"connection_id":176174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":750932672,"raw_latitude":123121760,"longitude_deg":75.0932672,"latitude_deg":12.312176,"altitude":22,"angle":305,"satellites":44,"speed":13,"hex_longitude":"2cc252c0","hex_latitude":"0756b060","is_valid_coordinates":true} 
[2026-09-10 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988948224001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403914285182353408,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4440197357347721216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019338000,"timestamp_ms":1789019338000,"timestamp_seconds":1789019338,"priority":1,"record_length":96,"hex_timestamp":"000001a089dcb510"} 
[2026-09-10 11:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988948224001,"66":27876,"103":206,"85":37120,"24":13,"16":403914285182353408,"44":-4440197357347721216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988948224001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403914285182353408,"km_value":403914285182353.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4440197357347721216,"description":"Unknown IO ID 44"} 
[2026-09-10 11:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988948224001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":13,"odometer":null,"unknown_44":-4440197357347721216}} 
[2026-09-10 11:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":176174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:25] local.INFO: GPS data processed {"connection_id":176174,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:25] local.INFO: Acknowledgment sent {"connection_id":176174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:32] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:32] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:32] local.INFO: IMEI packet received {"connection_id":176175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":176175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:21:32] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:32] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:32] local.INFO: IMEI packet received {"connection_id":176175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":176175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:21:37] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:37] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:21:37] local.INFO: IMEI packet received {"connection_id":176175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":176175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:21:38] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dcdc20012d1968c0071fee50003a011529..."} 
[2026-09-10 11:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dcdc20012d1968c0071fee50003a011529..."} 
[2026-09-10 11:21:38] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dcdc20012d1968c0071fee50003a011529..."} 
[2026-09-10 11:21:38] local.INFO: Packet analysis {"connection_id":176175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:21:38] local.INFO: Extracted packet for processing {"connection_id":176175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dc"} 
[2026-09-10 11:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988947712001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789019348000,"timestamp_ms":1789019348000,"timestamp_seconds":1789019348,"priority":1,"record_length":96,"hex_timestamp":"000001a089dcdc20"} 
[2026-09-10 11:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21: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-09-10 11:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 11:21: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-09-10 11:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988947712001,"66":12765,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988947712001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988947712001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":176175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:38] local.INFO: GPS data processed {"connection_id":176175,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:38] local.INFO: Acknowledgment sent {"connection_id":176175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:42] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dd2e28012d1968c0071fee50003a011528..."} 
[2026-09-10 11:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dd2e28012d1968c0071fee50003a011528..."} 
[2026-09-10 11:21:42] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dd2e28012d1968c0071fee50003a011528..."} 
[2026-09-10 11:21:42] local.INFO: Packet analysis {"connection_id":176175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dd"} 
[2026-09-10 11:21:42] local.INFO: Extracted packet for processing {"connection_id":176175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dd"} 
[2026-09-10 11:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988953088001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789019369000,"timestamp_ms":1789019369000,"timestamp_seconds":1789019369,"priority":1,"record_length":96,"hex_timestamp":"000001a089dd2e28"} 
[2026-09-10 11:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21: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-09-10 11: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 11:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988953088001,"66":12722,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988953088001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988953088001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":176175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:42] local.INFO: GPS data processed {"connection_id":176175,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:42] local.INFO: Acknowledgment sent {"connection_id":176175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:49] local.INFO: TCP Data received {"connection_id":177600,"ip":"117.224.179.88","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:49] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:49] local.INFO: IMEI packet received {"connection_id":177600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":177600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:21:54] local.INFO: TCP Data received {"connection_id":177600,"ip":"117.224.179.88","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:54] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:21:54] local.INFO: IMEI packet received {"connection_id":177600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":177600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:21:55] local.INFO: TCP Data received {"connection_id":177600,"ip":"117.224.179.88","data_length":795,"data_hex":"000000000000030f8e0a000001a089dbb728012c5e4a4008a0e530000700af28..."} 
[2026-09-10 11:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dbb728012c5e4a4008a0e530000700af28..."} 
[2026-09-10 11:21:55] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dbb728012c5e4a4008a0e530000700af28..."} 
[2026-09-10 11:21:55] local.INFO: Packet analysis {"connection_id":177600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:21:55] local.INFO: Extracted packet for processing {"connection_id":177600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:21:55] local.INFO: GPS Element Parsed {"raw_longitude":744376896,"raw_latitude":144762160,"longitude_deg":74.4376896,"latitude_deg":14.476216,"altitude":7,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2c5e4a40","hex_latitude":"08a0e530","is_valid_coordinates":true} 
[2026-09-10 11:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988928512001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6800646580626157568,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789019273000,"timestamp_ms":1789019273000,"timestamp_seconds":1789019273,"priority":1,"record_length":96,"hex_timestamp":"000001a089dbb728"} 
[2026-09-10 11:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21: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-09-10 11:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 11:21:55] 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-09-10 11:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.179.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988928512001,"66":28148,"220":206,"195":22272,"24":0,"16":3893920429768704,"44":6800646580626157568},"client_ip":"117.224.179.88","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,195,24,16,44]} 
[2026-09-10 11:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988928512001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:55] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 11:21:55] local.INFO: Unknown IO ID detected {"io_id":195,"value":22272,"description":"Unknown IO ID 195"} 
[2026-09-10 11:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":6800646580626157568,"description":"Unknown IO ID 44"} 
[2026-09-10 11:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988928512001,"power":28148,"unknown_220":206,"unknown_195":22272,"ignition":0,"odometer":null,"unknown_44":6800646580626157568}} 
[2026-09-10 11:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":177600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:56] local.INFO: GPS data processed {"connection_id":177600,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:56] local.INFO: Acknowledgment sent {"connection_id":177600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:56] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089de14a0012cc1dd8007572f300010013831..."} 
[2026-09-10 11:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089de14a0012cc1dd8007572f300010013831..."} 
[2026-09-10 11:21:56] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089de14a0012cc1dd8007572f300010013831..."} 
[2026-09-10 11:21:56] local.INFO: Packet analysis {"connection_id":176174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:21:56] local.INFO: Extracted packet for processing {"connection_id":176174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:21:56] local.INFO: GPS Element Parsed {"raw_longitude":750902656,"raw_latitude":123154224,"longitude_deg":75.0902656,"latitude_deg":12.3154224,"altitude":16,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2cc1dd80","hex_latitude":"07572f30","is_valid_coordinates":true} 
[2026-09-10 11:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988968192001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916432666001408,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476226154358046720,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019428000,"timestamp_ms":1789019428000,"timestamp_seconds":1789019428,"priority":1,"record_length":96,"hex_timestamp":"000001a089de14a0"} 
[2026-09-10 11:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 11:21:56] 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-09-10 11:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988968192001,"66":27745,"103":206,"85":37120,"24":0,"16":403916432666001408,"44":-4476226154358046720},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988968192001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916432666001408,"km_value":403916432666001.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476226154358046720,"description":"Unknown IO ID 44"} 
[2026-09-10 11:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988968192001,"power":27745,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4476226154358046720}} 
[2026-09-10 11:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":176174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:56] local.INFO: GPS data processed {"connection_id":176174,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:56] local.INFO: Acknowledgment sent {"connection_id":176174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:21:59] local.INFO: TCP Data received {"connection_id":177600,"ip":"117.224.179.88","data_length":795,"data_hex":"000000000000030f8e0a000001a089dbe9f0012c5e728008a0a540000a00902a..."} 
[2026-09-10 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dbe9f0012c5e728008a0a540000a00902a..."} 
[2026-09-10 11:21:59] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dbe9f0012c5e728008a0a540000a00902a..."} 
[2026-09-10 11:21:59] local.INFO: Packet analysis {"connection_id":177600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:21:59] local.INFO: Extracted packet for processing {"connection_id":177600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089db"} 
[2026-09-10 11:21:59] local.INFO: GPS Element Parsed {"raw_longitude":744387200,"raw_latitude":144745792,"longitude_deg":74.43872,"latitude_deg":14.4745792,"altitude":10,"angle":144,"satellites":42,"speed":47,"hex_longitude":"2c5e7280","hex_latitude":"08a0a540","is_valid_coordinates":true} 
[2026-09-10 11:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988933888001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6794313393645105152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789019286000,"timestamp_ms":1789019286000,"timestamp_seconds":1789019286,"priority":1,"record_length":96,"hex_timestamp":"000001a089dbe9f0"} 
[2026-09-10 11:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 11:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.179.88","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988933888001,"66":28071,"220":206,"195":22272,"24":47,"16":3893920429768704,"44":6794313393645105152},"client_ip":"117.224.179.88","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,195,24,16,44]} 
[2026-09-10 11:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988933888001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:21:59] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 11:21:59] local.INFO: Unknown IO ID detected {"io_id":195,"value":22272,"description":"Unknown IO ID 195"} 
[2026-09-10 11:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:21:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":6794313393645105152,"description":"Unknown IO ID 44"} 
[2026-09-10 11:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988933888001,"power":28071,"unknown_220":206,"unknown_195":22272,"ignition":47,"odometer":null,"unknown_44":6794313393645105152}} 
[2026-09-10 11:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":177600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:21:59] local.INFO: GPS data processed {"connection_id":177600,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:21:59] local.INFO: Acknowledgment sent {"connection_id":177600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:22:19] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:22:19] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:22:19] local.INFO: IMEI packet received {"connection_id":176429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":176429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:22:24] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:22:24] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:22:24] local.INFO: IMEI packet received {"connection_id":176429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":176429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:22:25] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089de66a8012cc1dd8007572f300010013830..."} 
[2026-09-10 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089de66a8012cc1dd8007572f300010013830..."} 
[2026-09-10 11:22:25] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089de66a8012cc1dd8007572f300010013830..."} 
[2026-09-10 11:22:25] local.INFO: Packet analysis {"connection_id":176429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:22:25] local.INFO: Extracted packet for processing {"connection_id":176429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:22:25] local.INFO: GPS Element Parsed {"raw_longitude":750902656,"raw_latitude":123154224,"longitude_deg":75.0902656,"latitude_deg":12.3154224,"altitude":16,"angle":312,"satellites":48,"speed":0,"hex_longitude":"2cc1dd80","hex_latitude":"07572f30","is_valid_coordinates":true} 
[2026-09-10 11:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988973568001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916432666001408,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477281685520568320,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019449000,"timestamp_ms":1789019449000,"timestamp_seconds":1789019449,"priority":1,"record_length":96,"hex_timestamp":"000001a089de66a8"} 
[2026-09-10 11:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 11:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988973568001,"66":27713,"103":206,"85":37120,"24":0,"16":403916432666001408,"44":-4477281685520568320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988973568001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:22:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916432666001408,"km_value":403916432666001.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477281685520568320,"description":"Unknown IO ID 44"} 
[2026-09-10 11:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988973568001,"power":27713,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477281685520568320}} 
[2026-09-10 11:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":176429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:22:25] local.INFO: GPS data processed {"connection_id":176429,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:22:25] local.INFO: Acknowledgment sent {"connection_id":176429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:22:27] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:22:27] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:22:27] local.INFO: IMEI packet received {"connection_id":176430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":176430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:22:32] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:22:32] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:22:32] local.INFO: IMEI packet received {"connection_id":176430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":176430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:22:33] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dd8030012d1968c0071fee50003a011528..."} 
[2026-09-10 11:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dd8030012d1968c0071fee50003a011528..."} 
[2026-09-10 11:22:33] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dd8030012d1968c0071fee50003a011528..."} 
[2026-09-10 11:22:33] local.INFO: Packet analysis {"connection_id":176430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dd"} 
[2026-09-10 11:22:33] local.INFO: Extracted packet for processing {"connection_id":176430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dd"} 
[2026-09-10 11:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988958464001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019390000,"timestamp_ms":1789019390000,"timestamp_seconds":1789019390,"priority":1,"record_length":96,"hex_timestamp":"000001a089dd8030"} 
[2026-09-10 11:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 11:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988958464001,"66":12689,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988958464001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:22:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988958464001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":176430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:22:33] local.INFO: GPS data processed {"connection_id":176430,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:22:33] local.INFO: Acknowledgment sent {"connection_id":176430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:22:56] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089deb8b0012cc1da4007572d70001a01382f..."} 
[2026-09-10 11:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089deb8b0012cc1da4007572d70001a01382f..."} 
[2026-09-10 11:22:56] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089deb8b0012cc1da4007572d70001a01382f..."} 
[2026-09-10 11:22:56] local.INFO: Packet analysis {"connection_id":176429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:22:56] local.INFO: Extracted packet for processing {"connection_id":176429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:22:56] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123153776,"longitude_deg":75.0901824,"latitude_deg":12.3153776,"altitude":26,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572d70","is_valid_coordinates":true} 
[2026-09-10 11:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988978944001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916479910641664,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477281685520568320,"note":"Value kept but may cause issues"} 
[2026-09-10 11:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019470000,"timestamp_ms":1789019470000,"timestamp_seconds":1789019470,"priority":1,"record_length":96,"hex_timestamp":"000001a089deb8b0"} 
[2026-09-10 11:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 11:22:56] 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-09-10 11:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988978944001,"66":27745,"103":206,"85":37120,"24":0,"16":403916479910641664,"44":-4477281685520568320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988978944001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:22:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916479910641664,"km_value":403916479910641.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477281685520568320,"description":"Unknown IO ID 44"} 
[2026-09-10 11:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988978944001,"power":27745,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477281685520568320}} 
[2026-09-10 11:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":176429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:22:56] local.INFO: GPS data processed {"connection_id":176429,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:22:56] local.INFO: Acknowledgment sent {"connection_id":176429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:23:04] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ddd238012d1968c0071fee50003a011528..."} 
[2026-09-10 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ddd238012d1968c0071fee50003a011528..."} 
[2026-09-10 11:23:04] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ddd238012d1968c0071fee50003a011528..."} 
[2026-09-10 11:23:04] local.INFO: Packet analysis {"connection_id":176430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089dd"} 
[2026-09-10 11:23:04] local.INFO: Extracted packet for processing {"connection_id":176430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089dd"} 
[2026-09-10 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988963840001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019411000,"timestamp_ms":1789019411000,"timestamp_seconds":1789019411,"priority":1,"record_length":96,"hex_timestamp":"000001a089ddd238"} 
[2026-09-10 11:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 11:23: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-09-10 11:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988963840001,"66":12113,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988963840001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:23:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988963840001,"power":12113,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":176430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:23:05] local.INFO: GPS data processed {"connection_id":176430,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:23:05] local.INFO: Acknowledgment sent {"connection_id":176430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:23:20] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:23:20] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:23:20] local.INFO: IMEI packet received {"connection_id":177601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":177601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:23:24] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:23:24] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:23:24] local.INFO: IMEI packet received {"connection_id":177601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":177601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:23:26] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089df0ab8012cc1da4007572d70001a01382e..."} 
[2026-09-10 11:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089df0ab8012cc1da4007572d70001a01382e..."} 
[2026-09-10 11:23:26] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089df0ab8012cc1da4007572d70001a01382e..."} 
[2026-09-10 11:23:26] local.INFO: Packet analysis {"connection_id":177601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:23:26] local.INFO: Extracted packet for processing {"connection_id":177601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:23:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123153776,"longitude_deg":75.0901824,"latitude_deg":12.3153776,"altitude":26,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572d70","is_valid_coordinates":true} 
[2026-09-10 11:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988984320001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916479910641664,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479194992640,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789019491000,"timestamp_ms":1789019491000,"timestamp_seconds":1789019491,"priority":1,"record_length":96,"hex_timestamp":"000001a089df0ab8"} 
[2026-09-10 11:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 11:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988984320001,"66":27071,"103":206,"85":37120,"24":0,"16":403916479910641664,"44":-4478196479194992640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988984320001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:23:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916479910641664,"km_value":403916479910641.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:23:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479194992640,"description":"Unknown IO ID 44"} 
[2026-09-10 11:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988984320001,"power":27071,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479194992640}} 
[2026-09-10 11:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":177601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:23:26] local.INFO: GPS data processed {"connection_id":177601,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:23:26] local.INFO: Acknowledgment sent {"connection_id":177601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:23:27] local.INFO: TCP Data received {"connection_id":178983,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:23:27] local.INFO: Processing buffer {"connection_id":178983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:23:27] local.INFO: IMEI packet received {"connection_id":178983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":178983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:23:32] local.INFO: TCP Data received {"connection_id":178983,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:23:32] local.INFO: Processing buffer {"connection_id":178983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:23:32] local.INFO: IMEI packet received {"connection_id":178983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":178983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:23:33] local.INFO: TCP Data received {"connection_id":178983,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089de2440012d1968c0071fee50003a011529..."} 
[2026-09-10 11:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089de2440012d1968c0071fee50003a011529..."} 
[2026-09-10 11:23:33] local.INFO: Processing buffer {"connection_id":178983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089de2440012d1968c0071fee50003a011529..."} 
[2026-09-10 11:23:33] local.INFO: Packet analysis {"connection_id":178983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:23:33] local.INFO: Extracted packet for processing {"connection_id":178983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988969216001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019432000,"timestamp_ms":1789019432000,"timestamp_seconds":1789019432,"priority":1,"record_length":96,"hex_timestamp":"000001a089de2440"} 
[2026-09-10 11:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-10 11:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988969216001,"66":12722,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988969216001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:23:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988969216001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":178983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:23:33] local.INFO: GPS data processed {"connection_id":178983,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:23:33] local.INFO: Acknowledgment sent {"connection_id":178983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:24:05] local.INFO: TCP Data received {"connection_id":178983,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089de7648012d1968c0071fee50003a011528..."} 
[2026-09-10 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089de7648012d1968c0071fee50003a011528..."} 
[2026-09-10 11:24:05] local.INFO: Processing buffer {"connection_id":178983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089de7648012d1968c0071fee50003a011528..."} 
[2026-09-10 11:24:05] local.INFO: Packet analysis {"connection_id":178983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:24:05] local.INFO: Extracted packet for processing {"connection_id":178983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988974592001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24: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-09-10 11:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789019453000,"timestamp_ms":1789019453000,"timestamp_seconds":1789019453,"priority":1,"record_length":96,"hex_timestamp":"000001a089de7648"} 
[2026-09-10 11:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 11:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:24: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-09-10 11:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988974592001,"66":12711,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988974592001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:24:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988974592001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":178983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:24:05] local.INFO: GPS data processed {"connection_id":178983,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:24:05] local.INFO: Acknowledgment sent {"connection_id":178983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:24:12] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:12] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:12] local.INFO: IMEI packet received {"connection_id":176176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":176176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:24:14] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:14] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:14] local.INFO: IMEI packet received {"connection_id":176176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":176176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:24:19] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:19] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:19] local.INFO: IMEI packet received {"connection_id":176176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":176176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:24:19] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:24:19] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:24:19] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:24:20] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089df06d0012c5e7200089d6900000a00a127..."} 
[2026-09-10 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089df06d0012c5e7200089d6900000a00a127..."} 
[2026-09-10 11:24:20] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089df06d0012c5e7200089d6900000a00a127..."} 
[2026-09-10 11:24:20] local.INFO: Packet analysis {"connection_id":176176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:20] local.INFO: Extracted packet for processing {"connection_id":176176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:20] local.INFO: GPS Element Parsed {"raw_longitude":744387072,"raw_latitude":144533760,"longitude_deg":74.4387072,"latitude_deg":14.453376,"altitude":10,"angle":161,"satellites":39,"speed":55,"hex_longitude":"2c5e7200","hex_latitude":"089d6900","is_valid_coordinates":true} 
[2026-09-10 11:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789019490000,"timestamp_ms":1789019490000,"timestamp_seconds":1789019490,"priority":1,"record_length":96,"hex_timestamp":"000001a089df06d0"} 
[2026-09-10 11:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 11:24:20] 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-09-10 11:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176176,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176176,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"207":206,"9":56064,"24":55,"16":3893920429768704},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16]} 
[2026-09-10 11:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 11:24:20] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 11:24:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:24:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_207":206,"unknown_9":56064,"ignition":55,"odometer":null}} 
[2026-09-10 11:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":176176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:24:20] local.INFO: GPS data processed {"connection_id":176176,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:24:20] local.INFO: Acknowledgment sent {"connection_id":176176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:24:24] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:24:24] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:24:24] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:24:25] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089df5cc0012cc1da4007572d70001a013831..."} 
[2026-09-10 11:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089df5cc0012cc1da4007572d70001a013831..."} 
[2026-09-10 11:24:25] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089df5cc0012cc1da4007572d70001a013831..."} 
[2026-09-10 11:24:25] local.INFO: Packet analysis {"connection_id":176177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:25] local.INFO: Extracted packet for processing {"connection_id":176177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:25] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123153776,"longitude_deg":75.0901824,"latitude_deg":12.3153776,"altitude":26,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572d70","is_valid_coordinates":true} 
[2026-09-10 11:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988989696001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916479910641664,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479194992640,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019512000,"timestamp_ms":1789019512000,"timestamp_seconds":1789019512,"priority":1,"record_length":96,"hex_timestamp":"000001a089df5cc0"} 
[2026-09-10 11:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 11:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988989696001,"66":27832,"103":206,"85":37120,"24":0,"16":403916479910641664,"44":-4478196479194992640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988989696001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:24:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916479910641664,"km_value":403916479910641.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479194992640,"description":"Unknown IO ID 44"} 
[2026-09-10 11:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988989696001,"power":27832,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479194992640}} 
[2026-09-10 11:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":176177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:24:25] local.INFO: GPS data processed {"connection_id":176177,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:24:25] local.INFO: Acknowledgment sent {"connection_id":176177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:24:27] local.INFO: TCP Data received {"connection_id":178984,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:24:27] local.INFO: Processing buffer {"connection_id":178984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:24:27] local.INFO: IMEI packet received {"connection_id":178984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":178984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:24:32] local.INFO: TCP Data received {"connection_id":178984,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:24:32] local.INFO: Processing buffer {"connection_id":178984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:24:32] local.INFO: IMEI packet received {"connection_id":178984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":178984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:24:33] local.INFO: TCP Data received {"connection_id":178984,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dec850012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dec850012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:24:33] local.INFO: Processing buffer {"connection_id":178984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dec850012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:24:33] local.INFO: Packet analysis {"connection_id":178984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:24:33] local.INFO: Extracted packet for processing {"connection_id":178984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089de"} 
[2026-09-10 11:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988979968001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019474000,"timestamp_ms":1789019474000,"timestamp_seconds":1789019474,"priority":1,"record_length":96,"hex_timestamp":"000001a089dec850"} 
[2026-09-10 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-09-10 11:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 11:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988979968001,"66":12711,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988979968001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:24:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988979968001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":178984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:24:33] local.INFO: GPS data processed {"connection_id":178984,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:24:33] local.INFO: Acknowledgment sent {"connection_id":178984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:24:44] local.INFO: TCP Data received {"connection_id":176431,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:44] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:44] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:24:49] local.INFO: TCP Data received {"connection_id":176431,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:49] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:24:49] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:24:52] local.INFO: TCP Data received {"connection_id":176431,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089df4550012c5e9b40089d1750000600932b..."} 
[2026-09-10 11:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089df4550012c5e9b40089d1750000600932b..."} 
[2026-09-10 11:24:52] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089df4550012c5e9b40089d1750000600932b..."} 
[2026-09-10 11:24:52] local.INFO: Packet analysis {"connection_id":176431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:52] local.INFO: Extracted packet for processing {"connection_id":176431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":744397632,"raw_latitude":144512848,"longitude_deg":74.4397632,"latitude_deg":14.4512848,"altitude":6,"angle":147,"satellites":43,"speed":54,"hex_longitude":"2c5e9b40","hex_latitude":"089d1750","is_valid_coordinates":true} 
[2026-09-10 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988989440001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6805502023910883328,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789019506000,"timestamp_ms":1789019506000,"timestamp_seconds":1789019506,"priority":1,"record_length":96,"hex_timestamp":"000001a089df4550"} 
[2026-09-10 11:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:24: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-09-10 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 11:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988989440001,"66":28137,"207":206,"9":56064,"24":54,"16":3893920429768704,"44":6805502023910883328},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-10 11:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988989440001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:24:52] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 11:24:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:24:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":6805502023910883328,"description":"Unknown IO ID 44"} 
[2026-09-10 11:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988989440001,"power":28137,"unknown_207":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":6805502023910883328}} 
[2026-09-10 11:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":176431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:24:52] local.INFO: GPS data processed {"connection_id":176431,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:24:52] local.INFO: Acknowledgment sent {"connection_id":176431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:24:56] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089dfaec8012cc1da4007572d70001a013832..."} 
[2026-09-10 11:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dfaec8012cc1da4007572d70001a013832..."} 
[2026-09-10 11:24:56] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dfaec8012cc1da4007572d70001a013832..."} 
[2026-09-10 11:24:56] local.INFO: Packet analysis {"connection_id":176177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:56] local.INFO: Extracted packet for processing {"connection_id":176177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:24:56] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123153776,"longitude_deg":75.0901824,"latitude_deg":12.3153776,"altitude":26,"angle":312,"satellites":50,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572d70","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988995072001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916479910641664,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479194992640,"note":"Value kept but may cause issues"} 
[2026-09-10 11:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019533000,"timestamp_ms":1789019533000,"timestamp_seconds":1789019533,"priority":1,"record_length":96,"hex_timestamp":"000001a089dfaec8"} 
[2026-09-10 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-09-10 11:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 11:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988995072001,"66":27908,"103":206,"85":37120,"24":0,"16":403916479910641664,"44":-4478196479194992640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988995072001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:24:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916479910641664,"km_value":403916479910641.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479194992640,"description":"Unknown IO ID 44"} 
[2026-09-10 11:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988995072001,"power":27908,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479194992640}} 
[2026-09-10 11:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":176177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:24:56] local.INFO: GPS data processed {"connection_id":176177,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:24:56] local.INFO: Acknowledgment sent {"connection_id":176177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:25:04] local.INFO: TCP Data received {"connection_id":178984,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089df1a58012d1968c0071fee50003a011529..."} 
[2026-09-10 11:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089df1a58012d1968c0071fee50003a011529..."} 
[2026-09-10 11:25:04] local.INFO: Processing buffer {"connection_id":178984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089df1a58012d1968c0071fee50003a011529..."} 
[2026-09-10 11:25:04] local.INFO: Packet analysis {"connection_id":178984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:04] local.INFO: Extracted packet for processing {"connection_id":178984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988985344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019495000,"timestamp_ms":1789019495000,"timestamp_seconds":1789019495,"priority":1,"record_length":96,"hex_timestamp":"000001a089df1a58"} 
[2026-09-10 11:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 11:25: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-09-10 11:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988985344001,"66":12689,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988985344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:25:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988985344001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":178984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:25:04] local.INFO: GPS data processed {"connection_id":178984,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:25:04] local.INFO: Acknowledgment sent {"connection_id":178984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:25:23] local.INFO: TCP Data received {"connection_id":176431,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089df87b8012c5eda80089cf010001000602b..."} 
[2026-09-10 11:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089df87b8012c5eda80089cf010001000602b..."} 
[2026-09-10 11:25:23] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089df87b8012c5eda80089cf010001000602b..."} 
[2026-09-10 11:25:23] local.INFO: Packet analysis {"connection_id":176431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:23] local.INFO: Extracted packet for processing {"connection_id":176431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:23] local.INFO: GPS Element Parsed {"raw_longitude":744413824,"raw_latitude":144502800,"longitude_deg":74.4413824,"latitude_deg":14.45028,"altitude":16,"angle":96,"satellites":43,"speed":34,"hex_longitude":"2c5eda80","hex_latitude":"089cf010","is_valid_coordinates":true} 
[2026-09-10 11:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988993536001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6817112866694844416,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789019523000,"timestamp_ms":1789019523000,"timestamp_seconds":1789019523,"priority":1,"record_length":96,"hex_timestamp":"000001a089df87b8"} 
[2026-09-10 11:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 11:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988993536001,"66":28104,"207":206,"9":56064,"24":34,"16":3893920429768704,"44":6817112866694844416},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-10 11:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988993536001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:25:23] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 11:25:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:25:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":6817112866694844416,"description":"Unknown IO ID 44"} 
[2026-09-10 11:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988993536001,"power":28104,"unknown_207":206,"unknown_9":56064,"ignition":34,"odometer":null,"unknown_44":6817112866694844416}} 
[2026-09-10 11:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":176431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:25:23] local.INFO: GPS data processed {"connection_id":176431,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:25:23] local.INFO: Acknowledgment sent {"connection_id":176431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:25:24] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:25:24] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:25:24] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:25:27] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:25:27] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:25:27] local.INFO: IMEI packet received {"connection_id":176432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":176432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:25:29] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:25:29] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:25:29] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:25:30] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089e000d0012cc1da4007572d70001a013831..."} 
[2026-09-10 11:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e000d0012cc1da4007572d70001a013831..."} 
[2026-09-10 11:25:30] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e000d0012cc1da4007572d70001a013831..."} 
[2026-09-10 11:25:30] local.INFO: Packet analysis {"connection_id":176178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:25:30] local.INFO: Extracted packet for processing {"connection_id":176178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:25:30] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123153776,"longitude_deg":75.0901824,"latitude_deg":12.3153776,"altitude":26,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572d70","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989000448001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916479910641664,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479194992640,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789019554000,"timestamp_ms":1789019554000,"timestamp_seconds":1789019554,"priority":1,"record_length":96,"hex_timestamp":"000001a089e000d0"} 
[2026-09-10 11:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":4,"data_length":795,"current_offset":136} 
[2026-09-10 11:25: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-09-10 11: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-09-10 11:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989000448001,"66":27974,"103":206,"85":37120,"24":0,"16":403916479910641664,"44":-4478196479194992640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989000448001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:25:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916479910641664,"km_value":403916479910641.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479194992640,"description":"Unknown IO ID 44"} 
[2026-09-10 11:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989000448001,"power":27974,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479194992640}} 
[2026-09-10 11:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":176178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:25:30] local.INFO: GPS data processed {"connection_id":176178,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:25:30] local.INFO: Acknowledgment sent {"connection_id":176178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:25:32] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:25:32] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:25:32] local.INFO: IMEI packet received {"connection_id":176432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":176432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:25:33] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089df6c60012d1968c0071fee50003a011527..."} 
[2026-09-10 11:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089df6c60012d1968c0071fee50003a011527..."} 
[2026-09-10 11:25:33] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089df6c60012d1968c0071fee50003a011527..."} 
[2026-09-10 11:25:33] local.INFO: Packet analysis {"connection_id":176432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:33] local.INFO: Extracted packet for processing {"connection_id":176432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988990720001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019516000,"timestamp_ms":1789019516000,"timestamp_seconds":1789019516,"priority":1,"record_length":96,"hex_timestamp":"000001a089df6c60"} 
[2026-09-10 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-09-10 11:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 11:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988990720001,"66":12602,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988990720001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:25:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988990720001,"power":12602,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":176432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:25:33] local.INFO: GPS data processed {"connection_id":176432,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:25:33] local.INFO: Acknowledgment sent {"connection_id":176432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:25:39] local.INFO: TCP Data received {"connection_id":176179,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:39] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:39] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:25:43] local.INFO: TCP Data received {"connection_id":176179,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:43] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:43] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:25:44] local.INFO: TCP Data received {"connection_id":176179,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:44] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:25:44] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:25:45] local.INFO: TCP Data received {"connection_id":176179,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e06a480100000000000000000000000000..."} 
[2026-09-10 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e06a480100000000000000000000000000..."} 
[2026-09-10 11:25:45] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e06a480100000000000000000000000000..."} 
[2026-09-10 11:25:45] local.INFO: Packet analysis {"connection_id":176179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:25:45] local.INFO: Extracted packet for processing {"connection_id":176179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:25:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988997888001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6834916158969221120,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789019581000,"timestamp_ms":1789019581000,"timestamp_seconds":1789019581,"priority":1,"record_length":96,"hex_timestamp":"000001a089e06a48"} 
[2026-09-10 11:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 11:25:45] 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-09-10 11:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":176179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:25:45] local.INFO: GPS data processed {"connection_id":176179,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:25:45] local.INFO: Acknowledgment sent {"connection_id":176179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:25:50] local.INFO: TCP Data received {"connection_id":176179,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089dfdda8012c5f1680089cfaf0001400492b..."} 
[2026-09-10 11:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dfdda8012c5f1680089cfaf0001400492b..."} 
[2026-09-10 11:25:50] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dfdda8012c5f1680089cfaf0001400492b..."} 
[2026-09-10 11:25:50] local.INFO: Packet analysis {"connection_id":176179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:50] local.INFO: Extracted packet for processing {"connection_id":176179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:25:50] local.INFO: GPS Element Parsed {"raw_longitude":744429184,"raw_latitude":144505584,"longitude_deg":74.4429184,"latitude_deg":14.4505584,"altitude":20,"angle":73,"satellites":43,"speed":29,"hex_longitude":"2c5f1680","hex_latitude":"089cfaf0","is_valid_coordinates":true} 
[2026-09-10 11:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:25:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789019545000,"timestamp_ms":1789019545000,"timestamp_seconds":1789019545,"priority":1,"record_length":96,"hex_timestamp":"000001a089dfdda8"} 
[2026-09-10 11:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:25: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 11:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28245,"208":206,"9":56064,"24":29,"16":3893920429768704},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16]} 
[2026-09-10 11:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 11:25:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 11:25:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:25:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28245,"unknown_208":206,"unknown_9":56064,"ignition":29,"odometer":null}} 
[2026-09-10 11:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":176179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:25:50] local.INFO: GPS data processed {"connection_id":176179,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:25:50] local.INFO: Acknowledgment sent {"connection_id":176179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:00] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089e052d8012cc1da8007572e680019013830..."} 
[2026-09-10 11:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e052d8012cc1da8007572e680019013830..."} 
[2026-09-10 11:26:00] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e052d8012cc1da8007572e680019013830..."} 
[2026-09-10 11:26:00] local.INFO: Packet analysis {"connection_id":176178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:00] local.INFO: Extracted packet for processing {"connection_id":176178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:00] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123154024,"longitude_deg":75.0901888,"latitude_deg":12.3154024,"altitude":25,"angle":312,"satellites":48,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572e68","is_valid_coordinates":true} 
[2026-09-10 11:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989005824001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916492795543552,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479194992640,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789019575000,"timestamp_ms":1789019575000,"timestamp_seconds":1789019575,"priority":1,"record_length":96,"hex_timestamp":"000001a089e052d8"} 
[2026-09-10 11:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:26: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-09-10 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:00] 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-09-10 11:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989005824001,"66":27919,"103":206,"85":37120,"24":0,"16":403916492795543552,"44":-4478196479194992640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989005824001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:26:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916492795543552,"km_value":403916492795543.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479194992640,"description":"Unknown IO ID 44"} 
[2026-09-10 11:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989005824001,"power":27919,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479194992640}} 
[2026-09-10 11:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":176178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:26:01] local.INFO: GPS data processed {"connection_id":176178,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:26:01] local.INFO: Acknowledgment sent {"connection_id":176178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:04] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089dfbe68012d1968c0071fee50003a011528..."} 
[2026-09-10 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089dfbe68012d1968c0071fee50003a011528..."} 
[2026-09-10 11:26:04] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089dfbe68012d1968c0071fee50003a011528..."} 
[2026-09-10 11:26:04] local.INFO: Packet analysis {"connection_id":176432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:26:04] local.INFO: Extracted packet for processing {"connection_id":176432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089df"} 
[2026-09-10 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457988996096001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019537000,"timestamp_ms":1789019537000,"timestamp_seconds":1789019537,"priority":1,"record_length":96,"hex_timestamp":"000001a089dfbe68"} 
[2026-09-10 11:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457988996096001,"66":12591,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457988996096001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:26:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457988996096001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":176432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:26:04] local.INFO: GPS data processed {"connection_id":176432,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:26:04] local.INFO: Acknowledgment sent {"connection_id":176432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:19] local.INFO: TCP Data received {"connection_id":178985,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:26:19] local.INFO: Processing buffer {"connection_id":178985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:26:19] local.INFO: IMEI packet received {"connection_id":178985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":178985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:26:21] local.INFO: TCP Data received {"connection_id":176179,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e02bc8012c5f61c0089cfe70000d006d2e..."} 
[2026-09-10 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e02bc8012c5f61c0089cfe70000d006d2e..."} 
[2026-09-10 11:26:21] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e02bc8012c5f61c0089cfe70000d006d2e..."} 
[2026-09-10 11:26:21] local.INFO: Packet analysis {"connection_id":176179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:21] local.INFO: Extracted packet for processing {"connection_id":176179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":744448448,"raw_latitude":144506480,"longitude_deg":74.4448448,"latitude_deg":14.450648,"altitude":13,"angle":109,"satellites":46,"speed":47,"hex_longitude":"2c5f61c0","hex_latitude":"089cfe70","is_valid_coordinates":true} 
[2026-09-10 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989003520001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6851804657572573184,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789019565000,"timestamp_ms":1789019565000,"timestamp_seconds":1789019565,"priority":1,"record_length":96,"hex_timestamp":"000001a089e02bc8"} 
[2026-09-10 11:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989003520001,"66":28082,"208":206,"9":56064,"24":47,"16":3893920429768704,"44":6851804657572573184},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-10 11:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989003520001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:26:21] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 11:26:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":6851804657572573184,"description":"Unknown IO ID 44"} 
[2026-09-10 11:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989003520001,"power":28082,"unknown_208":206,"unknown_9":56064,"ignition":47,"odometer":null,"unknown_44":6851804657572573184}} 
[2026-09-10 11:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":176179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:26:22] local.INFO: GPS data processed {"connection_id":176179,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:26:22] local.INFO: Acknowledgment sent {"connection_id":176179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:24] local.INFO: TCP Data received {"connection_id":178985,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:26:24] local.INFO: Processing buffer {"connection_id":178985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:26:24] local.INFO: IMEI packet received {"connection_id":178985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":178985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:26:25] local.INFO: TCP Data received {"connection_id":178985,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089e0a4e0012cc1db0007572740001801382e..."} 
[2026-09-10 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e0a4e0012cc1db0007572740001801382e..."} 
[2026-09-10 11:26:25] local.INFO: Processing buffer {"connection_id":178985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e0a4e0012cc1db0007572740001801382e..."} 
[2026-09-10 11:26:25] local.INFO: Packet analysis {"connection_id":178985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:25] local.INFO: Extracted packet for processing {"connection_id":178985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:25] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123152192,"longitude_deg":75.0902016,"latitude_deg":12.3152192,"altitude":24,"angle":312,"satellites":46,"speed":3,"hex_longitude":"2cc1db00","hex_latitude":"07572740","is_valid_coordinates":true} 
[2026-09-10 11:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989011200001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916587284824064,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110450751488,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019596000,"timestamp_ms":1789019596000,"timestamp_seconds":1789019596,"priority":1,"record_length":96,"hex_timestamp":"000001a089e0a4e0"} 
[2026-09-10 11:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989011200001,"66":27865,"103":206,"85":37120,"24":3,"16":403916587284824064,"44":-4478126110450751488},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989011200001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:26:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916587284824064,"km_value":403916587284824.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110450751488,"description":"Unknown IO ID 44"} 
[2026-09-10 11:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989011200001,"power":27865,"unknown_103":206,"unknown_85":37120,"ignition":3,"odometer":null,"unknown_44":-4478126110450751488}} 
[2026-09-10 11:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":178985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:26:25] local.INFO: GPS data processed {"connection_id":178985,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:26:25] local.INFO: Acknowledgment sent {"connection_id":178985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:27] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:26:27] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:26:27] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:26:32] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:26:32] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:26:32] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:26:33] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e01070012d1968c0071fee50003a011528..."} 
[2026-09-10 11:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e01070012d1968c0071fee50003a011528..."} 
[2026-09-10 11:26:33] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e01070012d1968c0071fee50003a011528..."} 
[2026-09-10 11:26:33] local.INFO: Packet analysis {"connection_id":176433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:33] local.INFO: Extracted packet for processing {"connection_id":176433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989001472001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019558000,"timestamp_ms":1789019558000,"timestamp_seconds":1789019558,"priority":1,"record_length":96,"hex_timestamp":"000001a089e01070"} 
[2026-09-10 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-09-10 11:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989001472001,"66":12591,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989001472001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:26:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989001472001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":176433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:26:33] local.INFO: GPS data processed {"connection_id":176433,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:26:33] local.INFO: Acknowledgment sent {"connection_id":176433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:44] local.INFO: TCP Data received {"connection_id":176180,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:26:44] local.INFO: Processing buffer {"connection_id":176180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:26:44] local.INFO: IMEI packet received {"connection_id":176180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":176180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:26:49] local.INFO: TCP Data received {"connection_id":176180,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:26:49] local.INFO: Processing buffer {"connection_id":176180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:26:49] local.INFO: IMEI packet received {"connection_id":176180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":176180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:26:51] local.INFO: TCP Data received {"connection_id":176180,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e06e30012c5fa840089cc7c0000b00862e..."} 
[2026-09-10 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e06e30012c5fa840089cc7c0000b00862e..."} 
[2026-09-10 11:26:51] local.INFO: Processing buffer {"connection_id":176180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e06e30012c5fa840089cc7c0000b00862e..."} 
[2026-09-10 11:26:51] local.INFO: Packet analysis {"connection_id":176180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:51] local.INFO: Extracted packet for processing {"connection_id":176180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":744466496,"raw_latitude":144492480,"longitude_deg":74.4466496,"latitude_deg":14.449248,"altitude":11,"angle":134,"satellites":46,"speed":54,"hex_longitude":"2c5fa840","hex_latitude":"089cc7c0","is_valid_coordinates":true} 
[2026-09-10 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989008640001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6872985649570279424,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789019582000,"timestamp_ms":1789019582000,"timestamp_seconds":1789019582,"priority":1,"record_length":96,"hex_timestamp":"000001a089e06e30"} 
[2026-09-10 11:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:26: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-09-10 11: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989008640001,"66":27995,"208":206,"9":56064,"24":54,"16":3893920429768704,"44":6872985649570279424},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-10 11:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989008640001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:26:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 11:26:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":6872985649570279424,"description":"Unknown IO ID 44"} 
[2026-09-10 11:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989008640001,"power":27995,"unknown_208":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":6872985649570279424}} 
[2026-09-10 11:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":176180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:26:51] local.INFO: GPS data processed {"connection_id":176180,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:26:51] local.INFO: Acknowledgment sent {"connection_id":176180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:55] local.INFO: TCP Data received {"connection_id":176180,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e173e80100000000000000000000000000..."} 
[2026-09-10 11:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e173e80100000000000000000000000000..."} 
[2026-09-10 11:26:55] local.INFO: Processing buffer {"connection_id":176180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e173e80100000000000000000000000000..."} 
[2026-09-10 11:26:55] local.INFO: Packet analysis {"connection_id":176180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:26:55] local.INFO: Extracted packet for processing {"connection_id":176180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:26:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989012992001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6892829635424796672,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789019649000,"timestamp_ms":1789019649000,"timestamp_seconds":1789019649,"priority":1,"record_length":96,"hex_timestamp":"000001a089e173e8"} 
[2026-09-10 11:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":176180,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:26:55] local.INFO: GPS data processed {"connection_id":176180,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:26:55] local.INFO: Acknowledgment sent {"connection_id":176180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:26:57] local.INFO: TCP Data received {"connection_id":178985,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a089e0f6e8012cc1da40075726000018013831..."} 
[2026-09-10 11:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e0f6e8012cc1da40075726000018013831..."} 
[2026-09-10 11:26:57] local.INFO: Processing buffer {"connection_id":178985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e0f6e8012cc1da40075726000018013831..."} 
[2026-09-10 11:26:57] local.INFO: Packet analysis {"connection_id":178985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:57] local.INFO: Extracted packet for processing {"connection_id":178985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:26:57] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123151872,"longitude_deg":75.0901824,"latitude_deg":12.3151872,"altitude":24,"angle":312,"satellites":49,"speed":3,"hex_longitude":"2cc1da40","hex_latitude":"07572600","is_valid_coordinates":true} 
[2026-09-10 11:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989016576001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916617349595136,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962865152,"note":"Value kept but may cause issues"} 
[2026-09-10 11:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789019617000,"timestamp_ms":1789019617000,"timestamp_seconds":1789019617,"priority":1,"record_length":96,"hex_timestamp":"000001a089e0f6e8"} 
[2026-09-10 11:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 11:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989016576001,"66":27930,"103":206,"85":37120,"24":3,"16":403916617349595136,"44":-4477985372962865152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989016576001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:26:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916617349595136,"km_value":403916617349595.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:26:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962865152,"description":"Unknown IO ID 44"} 
[2026-09-10 11:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989016576001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":3,"odometer":null,"unknown_44":-4477985372962865152}} 
[2026-09-10 11:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":178985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:26:57] local.INFO: GPS data processed {"connection_id":178985,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:26:57] local.INFO: Acknowledgment sent {"connection_id":178985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:27:04] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e06278012d1968c0071fee50003a011526..."} 
[2026-09-10 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e06278012d1968c0071fee50003a011526..."} 
[2026-09-10 11:27:04] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e06278012d1968c0071fee50003a011526..."} 
[2026-09-10 11:27:04] local.INFO: Packet analysis {"connection_id":176433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:27:04] local.INFO: Extracted packet for processing {"connection_id":176433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989006848001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019579000,"timestamp_ms":1789019579000,"timestamp_seconds":1789019579,"priority":1,"record_length":96,"hex_timestamp":"000001a089e06278"} 
[2026-09-10 11:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 11:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989006848001,"66":12591,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989006848001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:27:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989006848001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":176433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:27:04] local.INFO: GPS data processed {"connection_id":176433,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:27:04] local.INFO: Acknowledgment sent {"connection_id":176433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:27:20] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:27:20] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:27:20] local.INFO: IMEI packet received {"connection_id":176434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":176434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:27:24] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:27:24] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:27:24] local.INFO: IMEI packet received {"connection_id":176434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":176434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:27:25] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e148f0012cc1da8007572910001f013830..."} 
[2026-09-10 11:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e148f0012cc1da8007572910001f013830..."} 
[2026-09-10 11:27:25] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e148f0012cc1da8007572910001f013830..."} 
[2026-09-10 11:27:25] local.INFO: Packet analysis {"connection_id":176434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:27:25] local.INFO: Extracted packet for processing {"connection_id":176434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:27:25] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123152656,"longitude_deg":75.0901888,"latitude_deg":12.3152656,"altitude":31,"angle":312,"satellites":48,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989021952001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195480064,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019638000,"timestamp_ms":1789019638000,"timestamp_seconds":1789019638,"priority":1,"record_length":96,"hex_timestamp":"000001a089e148f0"} 
[2026-09-10 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-09-10 11:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 11:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989021952001,"66":27843,"103":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478196479195480064},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989021952001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:27:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195480064,"description":"Unknown IO ID 44"} 
[2026-09-10 11:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989021952001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195480064}} 
[2026-09-10 11:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":176434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:27:25] local.INFO: GPS data processed {"connection_id":176434,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:27:25] local.INFO: Acknowledgment sent {"connection_id":176434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:27:27] local.INFO: TCP Data received {"connection_id":178986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:27] local.INFO: Processing buffer {"connection_id":178986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:27] local.INFO: IMEI packet received {"connection_id":178986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":178986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:27:28] local.INFO: TCP Data received {"connection_id":178986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:28] local.INFO: Processing buffer {"connection_id":178986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:28] local.INFO: IMEI packet received {"connection_id":178986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":178986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:27:32] local.INFO: TCP Data received {"connection_id":178986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:32] local.INFO: Processing buffer {"connection_id":178986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:27:32] local.INFO: IMEI packet received {"connection_id":178986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":178986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:27:33] local.INFO: TCP Data received {"connection_id":178986,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e0b480012d1968c0071fee50003a011527..."} 
[2026-09-10 11:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e0b480012d1968c0071fee50003a011527..."} 
[2026-09-10 11:27:33] local.INFO: Processing buffer {"connection_id":178986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e0b480012d1968c0071fee50003a011527..."} 
[2026-09-10 11:27:33] local.INFO: Packet analysis {"connection_id":178986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:27:33] local.INFO: Extracted packet for processing {"connection_id":178986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989012224001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019600000,"timestamp_ms":1789019600000,"timestamp_seconds":1789019600,"priority":1,"record_length":96,"hex_timestamp":"000001a089e0b480"} 
[2026-09-10 11:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 11:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989012224001,"66":12645,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989012224001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:27:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989012224001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":178986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:27:33] local.INFO: GPS data processed {"connection_id":178986,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:27:33] local.INFO: Acknowledgment sent {"connection_id":178986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:27:39] local.INFO: TCP Data received {"connection_id":176435,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:27:39] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:27:39] local.INFO: IMEI packet received {"connection_id":176435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":176435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:27:44] local.INFO: TCP Data received {"connection_id":176435,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:27:44] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:27:44] local.INFO: IMEI packet received {"connection_id":176435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":176435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:27:46] local.INFO: TCP Data received {"connection_id":176435,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e0eb30012c5ff540089c39b0000f00c12f..."} 
[2026-09-10 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e0eb30012c5ff540089c39b0000f00c12f..."} 
[2026-09-10 11:27:46] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e0eb30012c5ff540089c39b0000f00c12f..."} 
[2026-09-10 11:27:46] local.INFO: Packet analysis {"connection_id":176435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:27:46] local.INFO: Extracted packet for processing {"connection_id":176435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e0"} 
[2026-09-10 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":744486208,"raw_latitude":144456112,"longitude_deg":74.4486208,"latitude_deg":14.4456112,"altitude":15,"angle":193,"satellites":47,"speed":49,"hex_longitude":"2c5ff540","hex_latitude":"089c39b0","is_valid_coordinates":true} 
[2026-09-10 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789019614000,"timestamp_ms":1789019614000,"timestamp_seconds":1789019614,"priority":1,"record_length":96,"hex_timestamp":"000001a089e0eb30"} 
[2026-09-10 11:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:27: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 11:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"208":206,"9":56064,"24":49,"16":3893920429768704},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16]} 
[2026-09-10 11:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 11:27:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 11:27:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:27:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_208":206,"unknown_9":56064,"ignition":49,"odometer":null}} 
[2026-09-10 11:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":176435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:27:46] local.INFO: GPS data processed {"connection_id":176435,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:27:46] local.INFO: Acknowledgment sent {"connection_id":176435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:27:56] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e19af8012cc1da8007572910001f01382e..."} 
[2026-09-10 11:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e19af8012cc1da8007572910001f01382e..."} 
[2026-09-10 11:27:56] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e19af8012cc1da8007572910001f01382e..."} 
[2026-09-10 11:27:56] local.INFO: Packet analysis {"connection_id":176434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:27:56] local.INFO: Extracted packet for processing {"connection_id":176434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:27:56] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123152656,"longitude_deg":75.0901888,"latitude_deg":12.3152656,"altitude":31,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-09-10 11:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989027328001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019659000,"timestamp_ms":1789019659000,"timestamp_seconds":1789019659,"priority":1,"record_length":96,"hex_timestamp":"000001a089e19af8"} 
[2026-09-10 11:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 11:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989027328001,"66":27843,"103":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989027328001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:27:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989027328001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":176434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:27:56] local.INFO: GPS data processed {"connection_id":176434,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:27:56] local.INFO: Acknowledgment sent {"connection_id":176434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:28:04] local.INFO: TCP Data received {"connection_id":178986,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e10688012d1968c0071fee50003a011528..."} 
[2026-09-10 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e10688012d1968c0071fee50003a011528..."} 
[2026-09-10 11:28:04] local.INFO: Processing buffer {"connection_id":178986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e10688012d1968c0071fee50003a011528..."} 
[2026-09-10 11:28:04] local.INFO: Packet analysis {"connection_id":178986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:28:04] local.INFO: Extracted packet for processing {"connection_id":178986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989017600001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019621000,"timestamp_ms":1789019621000,"timestamp_seconds":1789019621,"priority":1,"record_length":96,"hex_timestamp":"000001a089e10688"} 
[2026-09-10 11:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 11:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989017600001,"66":12613,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989017600001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:28:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989017600001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":178986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:28:04] local.INFO: GPS data processed {"connection_id":178986,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:28:04] local.INFO: Acknowledgment sent {"connection_id":178986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:28:18] local.INFO: TCP Data received {"connection_id":176435,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e44690012c5cc280089af260001800e12c..."} 
[2026-09-10 11:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e44690012c5cc280089af260001800e12c..."} 
[2026-09-10 11:28:18] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e44690012c5cc280089af260001800e12c..."} 
[2026-09-10 11:28:18] local.INFO: Packet analysis {"connection_id":176435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e4"} 
[2026-09-10 11:28:18] local.INFO: Extracted packet for processing {"connection_id":176435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e4"} 
[2026-09-10 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":744276608,"raw_latitude":144372320,"longitude_deg":74.4276608,"latitude_deg":14.437232,"altitude":24,"angle":225,"satellites":44,"speed":29,"hex_longitude":"2c5cc280","hex_latitude":"089af260","is_valid_coordinates":true} 
[2026-09-10 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989072384001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6699948907605659648,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789019834000,"timestamp_ms":1789019834000,"timestamp_seconds":1789019834,"priority":1,"record_length":96,"hex_timestamp":"000001a089e44690"} 
[2026-09-10 11:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 11:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989072384001,"66":28104,"163":206,"9":56064,"24":29,"16":3893920429768704,"44":6699948907605659648},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,44]} 
[2026-09-10 11:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989072384001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:28:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 11:28:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:28:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":6699948907605659648,"description":"Unknown IO ID 44"} 
[2026-09-10 11:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989072384001,"power":28104,"unknown_163":206,"unknown_9":56064,"ignition":29,"odometer":null,"unknown_44":6699948907605659648}} 
[2026-09-10 11:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":176435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:28:18] local.INFO: GPS data processed {"connection_id":176435,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:28:18] local.INFO: Acknowledgment sent {"connection_id":176435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:28:19] local.INFO: TCP Data received {"connection_id":178987,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:28:19] local.INFO: Processing buffer {"connection_id":178987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:28:19] local.INFO: IMEI packet received {"connection_id":178987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":178987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:28:24] local.INFO: TCP Data received {"connection_id":178987,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:28:24] local.INFO: Processing buffer {"connection_id":178987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:28:24] local.INFO: IMEI packet received {"connection_id":178987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":178987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:28:25] local.INFO: TCP Data received {"connection_id":178987,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e1ed00012cc1da8007572910001f01382d..."} 
[2026-09-10 11:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e1ed00012cc1da8007572910001f01382d..."} 
[2026-09-10 11:28:25] local.INFO: Processing buffer {"connection_id":178987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e1ed00012cc1da8007572910001f01382d..."} 
[2026-09-10 11:28:25] local.INFO: Packet analysis {"connection_id":178987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:28:25] local.INFO: Extracted packet for processing {"connection_id":178987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:28:25] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123152656,"longitude_deg":75.0901888,"latitude_deg":12.3152656,"altitude":31,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-09-10 11:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989032704001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019680000,"timestamp_ms":1789019680000,"timestamp_seconds":1789019680,"priority":1,"record_length":96,"hex_timestamp":"000001a089e1ed00"} 
[2026-09-10 11:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 11:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989032704001,"66":27745,"103":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989032704001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:28:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989032704001,"power":27745,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":178987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:28:25] local.INFO: GPS data processed {"connection_id":178987,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:28:25] local.INFO: Acknowledgment sent {"connection_id":178987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:28:31] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:31] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:31] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:28:32] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:32] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:32] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:28:37] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:37] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:28:37] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:28:38] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e15890012d1968c0071fee50003a011528..."} 
[2026-09-10 11:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e15890012d1968c0071fee50003a011528..."} 
[2026-09-10 11:28:38] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e15890012d1968c0071fee50003a011528..."} 
[2026-09-10 11:28:38] local.INFO: Packet analysis {"connection_id":176181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:28:38] local.INFO: Extracted packet for processing {"connection_id":176181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989022976001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789019642000,"timestamp_ms":1789019642000,"timestamp_seconds":1789019642,"priority":1,"record_length":96,"hex_timestamp":"000001a089e15890"} 
[2026-09-10 11:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:28: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-09-10 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 11:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989022976001,"66":12591,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989022976001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:28:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989022976001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":176181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:28:38] local.INFO: GPS data processed {"connection_id":176181,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:28:38] local.INFO: Acknowledgment sent {"connection_id":176181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:28:39] local.INFO: TCP Data received {"connection_id":176436,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:39] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:39] local.INFO: IMEI packet received {"connection_id":176436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":176436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:28:39] local.INFO: TCP Data received {"connection_id":176436,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:39] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:39] local.INFO: IMEI packet received {"connection_id":176436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":176436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:28:44] local.INFO: TCP Data received {"connection_id":176436,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:44] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:28:44] local.INFO: IMEI packet received {"connection_id":176436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":176436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:28:46] local.INFO: TCP Data received {"connection_id":176436,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e529200100000000000000000000000000..."} 
[2026-09-10 11:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e529200100000000000000000000000000..."} 
[2026-09-10 11:28:46] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e529200100000000000000000000000000..."} 
[2026-09-10 11:28:46] local.INFO: Packet analysis {"connection_id":176436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:28:46] local.INFO: Extracted packet for processing {"connection_id":176436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:28:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989077504001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6684045571418906624,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789019892000,"timestamp_ms":1789019892000,"timestamp_seconds":1789019892,"priority":1,"record_length":96,"hex_timestamp":"000001a089e52920"} 
[2026-09-10 11:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 11:28:46] 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-09-10 11:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":176436,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:28:46] local.INFO: GPS data processed {"connection_id":176436,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:28:46] local.INFO: Acknowledgment sent {"connection_id":176436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:28:56] local.INFO: TCP Data received {"connection_id":178987,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:28:56] local.INFO: Processing buffer {"connection_id":178987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:28:56] local.INFO: Packet analysis {"connection_id":178987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:28:56] local.INFO: Extracted packet for processing {"connection_id":178987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:28:56] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123152656,"longitude_deg":75.0901888,"latitude_deg":12.3152656,"altitude":31,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-09-10 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989038080001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019694000,"timestamp_ms":1789019694000,"timestamp_seconds":1789019694,"priority":1,"record_length":96,"hex_timestamp":"000001a089e223b0"} 
[2026-09-10 11:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 11:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989038080001,"66":27876,"103":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989038080001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:28:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:28:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989038080001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":178987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:28:56] local.INFO: GPS data processed {"connection_id":178987,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:28:56] local.INFO: Acknowledgment sent {"connection_id":178987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:29:09] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e1aa98012d1968c0071fee50003a011529..."} 
[2026-09-10 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e1aa98012d1968c0071fee50003a011529..."} 
[2026-09-10 11:29:09] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e1aa98012d1968c0071fee50003a011529..."} 
[2026-09-10 11:29:09] local.INFO: Packet analysis {"connection_id":176181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:29:09] local.INFO: Extracted packet for processing {"connection_id":176181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989028352001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29: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-09-10 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789019663000,"timestamp_ms":1789019663000,"timestamp_seconds":1789019663,"priority":1,"record_length":96,"hex_timestamp":"000001a089e1aa98"} 
[2026-09-10 11:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 11:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989028352001,"66":12591,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989028352001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:29:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989028352001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":176181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:29:09] local.INFO: GPS data processed {"connection_id":176181,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:29:09] local.INFO: Acknowledgment sent {"connection_id":176181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:29:17] local.INFO: TCP Data received {"connection_id":176436,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e4a450012c5ca100089ac660001100d32e..."} 
[2026-09-10 11:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e4a450012c5ca100089ac660001100d32e..."} 
[2026-09-10 11:29:17] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e4a450012c5ca100089ac660001100d32e..."} 
[2026-09-10 11:29:17] local.INFO: Packet analysis {"connection_id":176436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e4"} 
[2026-09-10 11:29:17] local.INFO: Extracted packet for processing {"connection_id":176436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e4"} 
[2026-09-10 11:29:17] local.INFO: GPS Element Parsed {"raw_longitude":744268032,"raw_latitude":144361056,"longitude_deg":74.4268032,"latitude_deg":14.4361056,"altitude":17,"angle":211,"satellites":46,"speed":16,"hex_longitude":"2c5ca100","hex_latitude":"089ac660","is_valid_coordinates":true} 
[2026-09-10 11:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789019858000,"timestamp_ms":1789019858000,"timestamp_seconds":1789019858,"priority":1,"record_length":96,"hex_timestamp":"000001a089e4a450"} 
[2026-09-10 11:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:29:17] 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-09-10 11:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 11:29:17] 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-09-10 11:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"163":206,"9":56064,"24":16,"16":3893920429768704},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-10 11:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 11:29:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 11:29:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:29:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_163":206,"unknown_9":56064,"ignition":16,"odometer":null}} 
[2026-09-10 11:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":176436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:29:18] local.INFO: GPS data processed {"connection_id":176436,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:29:18] local.INFO: Acknowledgment sent {"connection_id":176436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:29:24] local.INFO: TCP Data received {"connection_id":177602,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:29:24] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:29:24] local.INFO: IMEI packet received {"connection_id":177602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":177602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:29:27] local.INFO: TCP Data received {"connection_id":177603,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:29:27] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:29:27] local.INFO: IMEI packet received {"connection_id":177603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":177603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:29:29] local.INFO: TCP Data received {"connection_id":177602,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:29:29] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:29:29] local.INFO: IMEI packet received {"connection_id":177602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":177602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:29:30] local.INFO: TCP Data received {"connection_id":177602,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:29:30] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:29:30] local.INFO: Packet analysis {"connection_id":177602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:29:30] local.INFO: Extracted packet for processing {"connection_id":177602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123152656,"longitude_deg":75.0901888,"latitude_deg":12.3152656,"altitude":31,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-09-10 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989038080001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789019694000,"timestamp_ms":1789019694000,"timestamp_seconds":1789019694,"priority":1,"record_length":96,"hex_timestamp":"000001a089e223b0"} 
[2026-09-10 11:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11: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-09-10 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 11:29: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-09-10 11:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989038080001,"66":27876,"103":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989038080001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:29:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989038080001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":177602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:29:30] local.INFO: GPS data processed {"connection_id":177602,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:29:30] local.INFO: Acknowledgment sent {"connection_id":177602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:29:32] local.INFO: TCP Data received {"connection_id":177603,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:29:32] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:29:32] local.INFO: IMEI packet received {"connection_id":177603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":177603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:29:33] local.INFO: TCP Data received {"connection_id":177603,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e1fca0012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e1fca0012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:29:33] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e1fca0012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:29:33] local.INFO: Packet analysis {"connection_id":177603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:29:33] local.INFO: Extracted packet for processing {"connection_id":177603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e1"} 
[2026-09-10 11:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989033728001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019684000,"timestamp_ms":1789019684000,"timestamp_seconds":1789019684,"priority":1,"record_length":96,"hex_timestamp":"000001a089e1fca0"} 
[2026-09-10 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-09-10 11:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 11:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989033728001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989033728001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:29:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989033728001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":177603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:29:33] local.INFO: GPS data processed {"connection_id":177603,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:29:33] local.INFO: Acknowledgment sent {"connection_id":177603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:29:35] local.INFO: TCP Data received {"connection_id":177602,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:29:35] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:29:35] local.INFO: Packet analysis {"connection_id":177602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:29:35] local.INFO: Extracted packet for processing {"connection_id":177602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123152656,"longitude_deg":75.0901888,"latitude_deg":12.3152656,"altitude":31,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-09-10 11:29: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-09-10 11:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989038080001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789019694000,"timestamp_ms":1789019694000,"timestamp_seconds":1789019694,"priority":1,"record_length":96,"hex_timestamp":"000001a089e223b0"} 
[2026-09-10 11:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 11:29: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-09-10 11:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989038080001,"66":27876,"103":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989038080001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:29:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989038080001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":177602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:29:35] local.INFO: GPS data processed {"connection_id":177602,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:29:35] local.INFO: Acknowledgment sent {"connection_id":177602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:29:39] local.INFO: TCP Data received {"connection_id":176182,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:39] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:39] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:29:43] local.INFO: TCP Data received {"connection_id":176182,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:43] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:43] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:29:44] local.INFO: TCP Data received {"connection_id":176182,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:44] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:29:44] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:29:45] local.INFO: TCP Data received {"connection_id":176182,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e586e00100000000000000000000000000..."} 
[2026-09-10 11:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e586e00100000000000000000000000000..."} 
[2026-09-10 11:29:45] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e586e00100000000000000000000000000..."} 
[2026-09-10 11:29:45] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:29:45] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:29:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989083648001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6674616159696216064,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789019916000,"timestamp_ms":1789019916000,"timestamp_seconds":1789019916,"priority":1,"record_length":96,"hex_timestamp":"000001a089e586e0"} 
[2026-09-10 11:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 11:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:29:45] local.INFO: GPS data processed {"connection_id":176182,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:29:45] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:29:49] local.INFO: TCP Data received {"connection_id":176182,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e4fe28012c5c7c00089a8f50000d00d52e..."} 
[2026-09-10 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e4fe28012c5c7c00089a8f50000d00d52e..."} 
[2026-09-10 11:29:49] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e4fe28012c5c7c00089a8f50000d00d52e..."} 
[2026-09-10 11:29:49] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e4"} 
[2026-09-10 11:29:49] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e4"} 
[2026-09-10 11:29:49] local.INFO: GPS Element Parsed {"raw_longitude":744258560,"raw_latitude":144346960,"longitude_deg":74.425856,"latitude_deg":14.434696,"altitude":13,"angle":213,"satellites":46,"speed":31,"hex_longitude":"2c5c7c00","hex_latitude":"089a8f50","is_valid_coordinates":true} 
[2026-09-10 11:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:29:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789019881000,"timestamp_ms":1789019881000,"timestamp_seconds":1789019881,"priority":1,"record_length":96,"hex_timestamp":"000001a089e4fe28"} 
[2026-09-10 11:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 11:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"163":206,"9":56064,"24":31,"16":3893920429768704},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-10 11:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 11:29:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 11:29:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:29:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_163":206,"unknown_9":56064,"ignition":31,"odometer":null}} 
[2026-09-10 11:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:29:49] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:29:49] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:30:04] local.INFO: TCP Data received {"connection_id":177603,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e582f8012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e582f8012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:30:04] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e582f8012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:30:04] local.INFO: Packet analysis {"connection_id":177603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:30:04] local.INFO: Extracted packet for processing {"connection_id":177603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989092864001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019915000,"timestamp_ms":1789019915000,"timestamp_seconds":1789019915,"priority":1,"record_length":96,"hex_timestamp":"000001a089e582f8"} 
[2026-09-10 11:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989092864001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989092864001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:30:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989092864001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":177603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:30:04] local.INFO: GPS data processed {"connection_id":177603,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:30:04] local.INFO: Acknowledgment sent {"connection_id":177603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:30:19] local.INFO: TCP Data received {"connection_id":177604,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:30:19] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:30:19] local.INFO: IMEI packet received {"connection_id":177604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":177604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:30:21] local.INFO: TCP Data received {"connection_id":176182,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e55030012c5c5880089a5a60000e00d52e..."} 
[2026-09-10 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e55030012c5c5880089a5a60000e00d52e..."} 
[2026-09-10 11:30:21] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e55030012c5c5880089a5a60000e00d52e..."} 
[2026-09-10 11:30:21] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:30:21] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:30:21] local.INFO: GPS Element Parsed {"raw_longitude":744249472,"raw_latitude":144333408,"longitude_deg":74.4249472,"latitude_deg":14.4333408,"altitude":14,"angle":213,"satellites":46,"speed":27,"hex_longitude":"2c5c5880","hex_latitude":"089a5a60","is_valid_coordinates":true} 
[2026-09-10 11:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989089536001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6664201585554313216,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789019902000,"timestamp_ms":1789019902000,"timestamp_seconds":1789019902,"priority":1,"record_length":96,"hex_timestamp":"000001a089e55030"} 
[2026-09-10 11:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 11:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989089536001,"66":28202,"163":206,"9":56064,"24":27,"16":3893920429768704,"44":6664201585554313216},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,44]} 
[2026-09-10 11:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989089536001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:30:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 11:30:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":6664201585554313216,"description":"Unknown IO ID 44"} 
[2026-09-10 11:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989089536001,"power":28202,"unknown_163":206,"unknown_9":56064,"ignition":27,"odometer":null,"unknown_44":6664201585554313216}} 
[2026-09-10 11:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:30:21] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:30:21] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:30:24] local.INFO: TCP Data received {"connection_id":177604,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:30:24] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:30:24] local.INFO: IMEI packet received {"connection_id":177604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":177604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:30:25] local.INFO: TCP Data received {"connection_id":177604,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:30:25] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e223b0012cc1da8007572910001f01382d..."} 
[2026-09-10 11:30:25] local.INFO: Packet analysis {"connection_id":177604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:30:25] local.INFO: Extracted packet for processing {"connection_id":177604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e2"} 
[2026-09-10 11:30:25] local.INFO: GPS Element Parsed {"raw_longitude":750901888,"raw_latitude":123152656,"longitude_deg":75.0901888,"latitude_deg":12.3152656,"altitude":31,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2cc1da80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-09-10 11:30: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-09-10 11:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989038080001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019694000,"timestamp_ms":1789019694000,"timestamp_seconds":1789019694,"priority":1,"record_length":96,"hex_timestamp":"000001a089e223b0"} 
[2026-09-10 11:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 11:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989038080001,"66":27876,"103":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 11:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989038080001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:30:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989038080001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":177604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:30:25] local.INFO: GPS data processed {"connection_id":177604,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:30:25] local.INFO: Acknowledgment sent {"connection_id":177604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:30:27] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:30:27] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:30:27] local.INFO: IMEI packet received {"connection_id":177605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":177605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:30:32] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:30:32] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:30:32] local.INFO: IMEI packet received {"connection_id":177605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":177605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:30:33] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e5d500012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e5d500012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:30:33] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e5d500012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:30:33] local.INFO: Packet analysis {"connection_id":177605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:30:33] local.INFO: Extracted packet for processing {"connection_id":177605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989098240001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019936000,"timestamp_ms":1789019936000,"timestamp_seconds":1789019936,"priority":1,"record_length":96,"hex_timestamp":"000001a089e5d500"} 
[2026-09-10 11:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989098240001,"66":12439,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989098240001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:30:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989098240001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":177605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:30:33] local.INFO: GPS data processed {"connection_id":177605,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:30:33] local.INFO: Acknowledgment sent {"connection_id":177605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:30:41] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:41] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:41] local.INFO: IMEI packet received {"connection_id":177606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":177606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:30:44] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:44] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:44] local.INFO: IMEI packet received {"connection_id":177606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":177606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:30:49] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:49] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:30:49] local.INFO: IMEI packet received {"connection_id":177606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":177606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:30:50] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e632c00100000000000000000000000000..."} 
[2026-09-10 11:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e632c00100000000000000000000000000..."} 
[2026-09-10 11:30:50] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e632c00100000000000000000000000000..."} 
[2026-09-10 11:30:50] local.INFO: Packet analysis {"connection_id":177606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:30:50] local.INFO: Extracted packet for processing {"connection_id":177606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:30:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989094912001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6654209223877615616,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789019960000,"timestamp_ms":1789019960000,"timestamp_seconds":1789019960,"priority":1,"record_length":96,"hex_timestamp":"000001a089e632c0"} 
[2026-09-10 11:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11: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-09-10 11: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 11:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":177606,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:30:50] local.INFO: GPS data processed {"connection_id":177606,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:30:50] local.INFO: Acknowledgment sent {"connection_id":177606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:30:56] local.INFO: TCP Data received {"connection_id":177604,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:30:56] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:30:56] local.INFO: Packet analysis {"connection_id":177604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:30:56] local.INFO: Extracted packet for processing {"connection_id":177604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:30:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:30:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":177604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:30:56] local.INFO: GPS data processed {"connection_id":177604,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:30:56] local.INFO: Acknowledgment sent {"connection_id":177604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:31:04] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e62708012d1968c0071fee50003a011529..."} 
[2026-09-10 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e62708012d1968c0071fee50003a011529..."} 
[2026-09-10 11:31:04] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e62708012d1968c0071fee50003a011529..."} 
[2026-09-10 11:31:04] local.INFO: Packet analysis {"connection_id":177605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:04] local.INFO: Extracted packet for processing {"connection_id":177605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989103616001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019957000,"timestamp_ms":1789019957000,"timestamp_seconds":1789019957,"priority":1,"record_length":96,"hex_timestamp":"000001a089e62708"} 
[2026-09-10 11:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 11:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989103616001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989103616001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:31:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989103616001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":177605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:31:04] local.INFO: GPS data processed {"connection_id":177605,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:31:04] local.INFO: Acknowledgment sent {"connection_id":177605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:31:19] local.INFO: TCP Data received {"connection_id":178988,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:31:19] local.INFO: Processing buffer {"connection_id":178988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:31:19] local.INFO: IMEI packet received {"connection_id":178988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":178988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:31:24] local.INFO: TCP Data received {"connection_id":178988,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:31:24] local.INFO: Processing buffer {"connection_id":178988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:31:24] local.INFO: IMEI packet received {"connection_id":178988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":178988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:31:25] local.INFO: TCP Data received {"connection_id":178988,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:31:25] local.INFO: Processing buffer {"connection_id":178988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:31:25] local.INFO: Packet analysis {"connection_id":178988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:25] local.INFO: Extracted packet for processing {"connection_id":178988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:31:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":178988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:31:25] local.INFO: GPS data processed {"connection_id":178988,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:31:25] local.INFO: Acknowledgment sent {"connection_id":178988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:31:27] local.INFO: TCP Data received {"connection_id":178989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:31:27] local.INFO: Processing buffer {"connection_id":178989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:31:27] local.INFO: IMEI packet received {"connection_id":178989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":178989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:31:32] local.INFO: TCP Data received {"connection_id":178989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:31:32] local.INFO: Processing buffer {"connection_id":178989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:31:32] local.INFO: IMEI packet received {"connection_id":178989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":178989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:31:33] local.INFO: TCP Data received {"connection_id":178989,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e67910012d1968c0071fee50003a011529..."} 
[2026-09-10 11:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e67910012d1968c0071fee50003a011529..."} 
[2026-09-10 11:31:33] local.INFO: Processing buffer {"connection_id":178989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e67910012d1968c0071fee50003a011529..."} 
[2026-09-10 11:31:33] local.INFO: Packet analysis {"connection_id":178989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:33] local.INFO: Extracted packet for processing {"connection_id":178989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989108992001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789019978000,"timestamp_ms":1789019978000,"timestamp_seconds":1789019978,"priority":1,"record_length":96,"hex_timestamp":"000001a089e67910"} 
[2026-09-10 11:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989108992001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989108992001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:31:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989108992001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":178989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:31:33] local.INFO: GPS data processed {"connection_id":178989,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:31:33] local.INFO: Acknowledgment sent {"connection_id":178989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:31:43] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e5a620012c5c3c40089a2da0000d00d630..."} 
[2026-09-10 11:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e5a620012c5c3c40089a2da0000d00d630..."} 
[2026-09-10 11:31:43] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e5a620012c5c3c40089a2da0000d00d630..."} 
[2026-09-10 11:31:43] local.INFO: Packet analysis {"connection_id":177606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:31:43] local.INFO: Extracted packet for processing {"connection_id":177606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e5"} 
[2026-09-10 11:31:43] local.INFO: GPS Element Parsed {"raw_longitude":744242240,"raw_latitude":144321952,"longitude_deg":74.424224,"latitude_deg":14.4321952,"altitude":13,"angle":214,"satellites":48,"speed":16,"hex_longitude":"2c5c3c40","hex_latitude":"089a2da0","is_valid_coordinates":true} 
[2026-09-10 11:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789019924000,"timestamp_ms":1789019924000,"timestamp_seconds":1789019924,"priority":1,"record_length":96,"hex_timestamp":"000001a089e5a620"} 
[2026-09-10 11:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 11:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"163":206,"9":56064,"24":16,"16":3893920429768704},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-10 11:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 11:31:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 11:31:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:31:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_163":206,"unknown_9":56064,"ignition":16,"odometer":null}} 
[2026-09-10 11:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":177606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:31:44] local.INFO: GPS data processed {"connection_id":177606,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:31:44] local.INFO: Acknowledgment sent {"connection_id":177606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:31:47] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:47] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:47] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:31:49] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:49] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:49] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:31:49] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:49] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:49] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:31:54] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:54] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:31:54] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:31:55] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e688b00100000000000000000000000000..."} 
[2026-09-10 11:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e688b00100000000000000000000000000..."} 
[2026-09-10 11:31:55] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e688b00100000000000000000000000000..."} 
[2026-09-10 11:31:55] local.INFO: Packet analysis {"connection_id":176183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:55] local.INFO: Extracted packet for processing {"connection_id":176183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989100544001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6646257555782606848,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789019982000,"timestamp_ms":1789019982000,"timestamp_seconds":1789019982,"priority":1,"record_length":96,"hex_timestamp":"000001a089e688b0"} 
[2026-09-10 11:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 11:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":176183,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:31:55] local.INFO: GPS data processed {"connection_id":176183,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:31:55] local.INFO: Acknowledgment sent {"connection_id":176183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:31:56] local.INFO: TCP Data received {"connection_id":178988,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:31:56] local.INFO: Processing buffer {"connection_id":178988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:31:56] local.INFO: Packet analysis {"connection_id":178988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:56] local.INFO: Extracted packet for processing {"connection_id":178988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:31:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:31:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":178988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:31:56] local.INFO: GPS data processed {"connection_id":178988,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:31:56] local.INFO: Acknowledgment sent {"connection_id":178988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:32:04] local.INFO: TCP Data received {"connection_id":178989,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6cb18012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6cb18012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:32:04] local.INFO: Processing buffer {"connection_id":178989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6cb18012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:32:04] local.INFO: Packet analysis {"connection_id":178989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:32:04] local.INFO: Extracted packet for processing {"connection_id":178989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989114368001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789019999000,"timestamp_ms":1789019999000,"timestamp_seconds":1789019999,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6cb18"} 
[2026-09-10 11:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:32: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-09-10 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989114368001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989114368001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:32:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989114368001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":178989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:32:04] local.INFO: GPS data processed {"connection_id":178989,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:32:04] local.INFO: Acknowledgment sent {"connection_id":178989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:32:19] local.INFO: TCP Data received {"connection_id":177607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:32:19] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:32:19] local.INFO: IMEI packet received {"connection_id":177607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":177607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:32:24] local.INFO: TCP Data received {"connection_id":177607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:32:24] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:32:24] local.INFO: IMEI packet received {"connection_id":177607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":177607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:32:25] local.INFO: TCP Data received {"connection_id":177607,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:32:25] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:32:25] local.INFO: Packet analysis {"connection_id":177607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:32:25] local.INFO: Extracted packet for processing {"connection_id":177607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:32:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:32:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":177607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:32:25] local.INFO: GPS data processed {"connection_id":177607,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:32:25] local.INFO: Acknowledgment sent {"connection_id":177607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:32:27] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:32:27] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:32:27] local.INFO: IMEI packet received {"connection_id":176437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":176437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:32:32] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:32:32] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:32:32] local.INFO: IMEI packet received {"connection_id":176437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":176437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:32:33] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e71d20012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e71d20012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:32:33] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e71d20012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:32:33] local.INFO: Packet analysis {"connection_id":176437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e7"} 
[2026-09-10 11:32:33] local.INFO: Extracted packet for processing {"connection_id":176437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e7"} 
[2026-09-10 11:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119744001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020020000,"timestamp_ms":1789020020000,"timestamp_seconds":1789020020,"priority":1,"record_length":96,"hex_timestamp":"000001a089e71d20"} 
[2026-09-10 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-09-10 11:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119744001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119744001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:32:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119744001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":176437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:32:33] local.INFO: GPS data processed {"connection_id":176437,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:32:33] local.INFO: Acknowledgment sent {"connection_id":176437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:32:56] local.INFO: TCP Data received {"connection_id":177607,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:32:56] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:32:56] local.INFO: Packet analysis {"connection_id":177607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:32:56] local.INFO: Extracted packet for processing {"connection_id":177607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:32:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:32:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":177607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:32:56] local.INFO: GPS data processed {"connection_id":177607,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:32:56] local.INFO: Acknowledgment sent {"connection_id":177607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:33:04] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e76f28012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e76f28012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:33:04] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e76f28012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:33:04] local.INFO: Packet analysis {"connection_id":176437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e7"} 
[2026-09-10 11:33:04] local.INFO: Extracted packet for processing {"connection_id":176437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e7"} 
[2026-09-10 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989125120001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020041000,"timestamp_ms":1789020041000,"timestamp_seconds":1789020041,"priority":1,"record_length":96,"hex_timestamp":"000001a089e76f28"} 
[2026-09-10 11:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:33: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-09-10 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989125120001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989125120001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:33:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989125120001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":176437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:33:04] local.INFO: GPS data processed {"connection_id":176437,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:33:04] local.INFO: Acknowledgment sent {"connection_id":176437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:33:19] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:33:19] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:33:19] local.INFO: IMEI packet received {"connection_id":176184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":176184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:33:24] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:33:24] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:33:24] local.INFO: IMEI packet received {"connection_id":176184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":176184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:33:25] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:33:25] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:33:25] local.INFO: Packet analysis {"connection_id":176184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:33:25] local.INFO: Extracted packet for processing {"connection_id":176184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:33:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:33:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":176184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:33:25] local.INFO: GPS data processed {"connection_id":176184,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:33:25] local.INFO: Acknowledgment sent {"connection_id":176184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:33:27] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:33:27] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:33:27] local.INFO: IMEI packet received {"connection_id":177608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":177608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:33:32] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:33:32] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:33:32] local.INFO: IMEI packet received {"connection_id":177608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":177608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:33:33] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e7c130012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e7c130012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:33:33] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e7c130012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:33:33] local.INFO: Packet analysis {"connection_id":177608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e7"} 
[2026-09-10 11:33:33] local.INFO: Extracted packet for processing {"connection_id":177608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e7"} 
[2026-09-10 11:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989130496001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020062000,"timestamp_ms":1789020062000,"timestamp_seconds":1789020062,"priority":1,"record_length":96,"hex_timestamp":"000001a089e7c130"} 
[2026-09-10 11:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989130496001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989130496001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:33:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989130496001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":177608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:33:33] local.INFO: GPS data processed {"connection_id":177608,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:33:33] local.INFO: Acknowledgment sent {"connection_id":177608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:33:49] local.INFO: TCP Data received {"connection_id":178990,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:33:49] local.INFO: Processing buffer {"connection_id":178990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:33:49] local.INFO: IMEI packet received {"connection_id":178990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":178990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:33:51] local.INFO: TCP Data received {"connection_id":178990,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:33:51] local.INFO: Processing buffer {"connection_id":178990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:33:51] local.INFO: IMEI packet received {"connection_id":178990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":178990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:33:53] local.INFO: TCP Data received {"connection_id":178990,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e8c6e80100000000000000000000000000..."} 
[2026-09-10 11:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e8c6e80100000000000000000000000000..."} 
[2026-09-10 11:33:53] local.INFO: Processing buffer {"connection_id":178990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e8c6e80100000000000000000000000000..."} 
[2026-09-10 11:33:53] local.INFO: Packet analysis {"connection_id":178990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:33:53] local.INFO: Extracted packet for processing {"connection_id":178990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:33:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 11:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989138176001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6592073622748254208,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789020129000,"timestamp_ms":1789020129000,"timestamp_seconds":1789020129,"priority":1,"record_length":96,"hex_timestamp":"000001a089e8c6e8"} 
[2026-09-10 11:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 11:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":178990,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 11:33:53] local.INFO: GPS data processed {"connection_id":178990,"processed":0,"errors":0,"total":1} 
[2026-09-10 11:33:53] local.INFO: Acknowledgment sent {"connection_id":178990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:33:56] local.INFO: TCP Data received {"connection_id":176184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:33:56] local.INFO: Processing buffer {"connection_id":176184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:33:56] local.INFO: Packet analysis {"connection_id":176184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:33:56] local.INFO: Extracted packet for processing {"connection_id":176184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:33:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:33:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":176184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:33:56] local.INFO: GPS data processed {"connection_id":176184,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:33:56] local.INFO: Acknowledgment sent {"connection_id":176184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:34:04] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e81338012d1968c0071fee50003a011528..."} 
[2026-09-10 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e81338012d1968c0071fee50003a011528..."} 
[2026-09-10 11:34:04] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e81338012d1968c0071fee50003a011528..."} 
[2026-09-10 11:34:04] local.INFO: Packet analysis {"connection_id":177608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:34:04] local.INFO: Extracted packet for processing {"connection_id":177608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989135872001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020083000,"timestamp_ms":1789020083000,"timestamp_seconds":1789020083,"priority":1,"record_length":96,"hex_timestamp":"000001a089e81338"} 
[2026-09-10 11:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:34: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-09-10 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989135872001,"66":12504,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989135872001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:34:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989135872001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":177608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:34:04] local.INFO: GPS data processed {"connection_id":177608,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:34:04] local.INFO: Acknowledgment sent {"connection_id":177608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:34:24] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:34:24] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:34:24] local.INFO: IMEI packet received {"connection_id":176438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":176438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:34:28] local.INFO: TCP Data received {"connection_id":178991,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:28] local.INFO: Processing buffer {"connection_id":178991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:28] local.INFO: IMEI packet received {"connection_id":178991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":178991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:34:29] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:34:29] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:34:29] local.INFO: IMEI packet received {"connection_id":176438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":176438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:34:30] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:34:30] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:34:30] local.INFO: Packet analysis {"connection_id":176438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:34:30] local.INFO: Extracted packet for processing {"connection_id":176438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:34:30] 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-09-10 11:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:34:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":176438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:34:31] local.INFO: GPS data processed {"connection_id":176438,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:34:31] local.INFO: Acknowledgment sent {"connection_id":176438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:34:32] local.INFO: TCP Data received {"connection_id":178991,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:32] local.INFO: Processing buffer {"connection_id":178991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:32] local.INFO: IMEI packet received {"connection_id":178991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":178991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:34:35] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:34:35] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:34:35] local.INFO: Packet analysis {"connection_id":176438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:34:35] local.INFO: Extracted packet for processing {"connection_id":176438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:34: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-09-10 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:34: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-09-10 11:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:34:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:34:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":176438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:34:35] local.INFO: GPS data processed {"connection_id":176438,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:34:35] local.INFO: Acknowledgment sent {"connection_id":176438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:34:37] local.INFO: TCP Data received {"connection_id":178991,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:37] local.INFO: Processing buffer {"connection_id":178991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:34:37] local.INFO: IMEI packet received {"connection_id":178991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":178991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:34:38] local.INFO: TCP Data received {"connection_id":178991,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e86540012d1968c0071fee50003a011527..."} 
[2026-09-10 11:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e86540012d1968c0071fee50003a011527..."} 
[2026-09-10 11:34:38] local.INFO: Processing buffer {"connection_id":178991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e86540012d1968c0071fee50003a011527..."} 
[2026-09-10 11:34:38] local.INFO: Packet analysis {"connection_id":178991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:34:38] local.INFO: Extracted packet for processing {"connection_id":178991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989141248001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789020104000,"timestamp_ms":1789020104000,"timestamp_seconds":1789020104,"priority":1,"record_length":96,"hex_timestamp":"000001a089e86540"} 
[2026-09-10 11:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:34: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-09-10 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 11:34: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-09-10 11: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-09-10 11:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989141248001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989141248001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:34:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989141248001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":178991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:34:38] local.INFO: GPS data processed {"connection_id":178991,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:34:38] local.INFO: Acknowledgment sent {"connection_id":178991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:34:42] local.INFO: TCP Data received {"connection_id":178991,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e8b748012d1968c0071fee50003a011528..."} 
[2026-09-10 11:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e8b748012d1968c0071fee50003a011528..."} 
[2026-09-10 11:34:42] local.INFO: Processing buffer {"connection_id":178991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e8b748012d1968c0071fee50003a011528..."} 
[2026-09-10 11:34:42] local.INFO: Packet analysis {"connection_id":178991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:34:42] local.INFO: Extracted packet for processing {"connection_id":178991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989146624001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789020125000,"timestamp_ms":1789020125000,"timestamp_seconds":1789020125,"priority":1,"record_length":96,"hex_timestamp":"000001a089e8b748"} 
[2026-09-10 11:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989146624001,"66":12428,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989146624001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:34:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989146624001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":178991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:34:42] local.INFO: GPS data processed {"connection_id":178991,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:34:42] local.INFO: Acknowledgment sent {"connection_id":178991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:35:07] local.INFO: TCP Data received {"connection_id":178990,"ip":"117.224.7.114","data_length":795,"data_hex":"000000000000030f8e0a000001a089e84218012c5b50000898fac0001c00f22f..."} 
[2026-09-10 11:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e84218012c5b50000898fac0001c00f22f..."} 
[2026-09-10 11:35:07] local.INFO: Processing buffer {"connection_id":178990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e84218012c5b50000898fac0001c00f22f..."} 
[2026-09-10 11:35:07] local.INFO: Packet analysis {"connection_id":178990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:35:07] local.INFO: Extracted packet for processing {"connection_id":178990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e8"} 
[2026-09-10 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":744181760,"raw_latitude":144243392,"longitude_deg":74.418176,"latitude_deg":14.4243392,"altitude":28,"angle":242,"satellites":47,"speed":26,"hex_longitude":"2c5b5000","hex_latitude":"0898fac0","is_valid_coordinates":true} 
[2026-09-10 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,152,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 11:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789020095000,"timestamp_ms":1789020095000,"timestamp_seconds":1789020095,"priority":1,"record_length":96,"hex_timestamp":"000001a089e84218"} 
[2026-09-10 11:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:35: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 11:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 11:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.7.114","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 11:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 11:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"152":206,"9":56064,"24":26,"16":3893920429768704},"client_ip":"117.224.7.114","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,9,24,16]} 
[2026-09-10 11:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 11:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 11:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 11:35:07] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 11:35:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 11:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:35:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_152":206,"unknown_9":56064,"ignition":26,"odometer":null}} 
[2026-09-10 11:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":178990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:35:07] local.INFO: GPS data processed {"connection_id":178990,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:35:07] local.INFO: Acknowledgment sent {"connection_id":178990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:35:14] local.INFO: TCP Data received {"connection_id":176185,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:14] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:14] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:35:15] local.INFO: TCP Data received {"connection_id":176185,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:15] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:15] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:35:17] local.INFO: TCP Data received {"connection_id":176185,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:17] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:17] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:35:19] local.INFO: TCP Data received {"connection_id":177609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:35:19] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:35:19] local.INFO: IMEI packet received {"connection_id":177609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":177609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:35:24] local.INFO: TCP Data received {"connection_id":177609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:35:24] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:35:24] local.INFO: IMEI packet received {"connection_id":177609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":177609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:35:25] local.INFO: TCP Data received {"connection_id":177609,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:35:25] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e6c348012cc1d60007572870000f01382b..."} 
[2026-09-10 11:35:25] local.INFO: Packet analysis {"connection_id":177609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:35:25] local.INFO: Extracted packet for processing {"connection_id":177609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e6"} 
[2026-09-10 11:35:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":15,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989041664001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478126110451101696,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789019997000,"timestamp_ms":1789019997000,"timestamp_seconds":1789019997,"priority":1,"record_length":96,"hex_timestamp":"000001a089e6c348"} 
[2026-09-10 11:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 11:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989041664001,"66":26593,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4478126110451101696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989041664001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:35:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478126110451101696,"description":"Unknown IO ID 44"} 
[2026-09-10 11:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989041664001,"power":26593,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478126110451101696}} 
[2026-09-10 11:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":177609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:35:25] local.INFO: GPS data processed {"connection_id":177609,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:35:25] local.INFO: Acknowledgment sent {"connection_id":177609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:35:27] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:35:27] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:35:27] local.INFO: IMEI packet received {"connection_id":176186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":176186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:35:32] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:35:32] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:35:32] local.INFO: IMEI packet received {"connection_id":176186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":176186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:35:32] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e90950012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e90950012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:35:32] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e90950012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:35:32] local.INFO: Packet analysis {"connection_id":176186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:35:32] local.INFO: Extracted packet for processing {"connection_id":176186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989152000001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789020146000,"timestamp_ms":1789020146000,"timestamp_seconds":1789020146,"priority":1,"record_length":96,"hex_timestamp":"000001a089e90950"} 
[2026-09-10 11:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 11:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989152000001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989152000001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:35:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989152000001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":176186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:35:32] local.INFO: GPS data processed {"connection_id":176186,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:35:32] local.INFO: Acknowledgment sent {"connection_id":176186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:35:33] local.INFO: TCP Data received {"connection_id":176185,"ip":"117.224.7.114","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:33] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:35:33] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 11:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:35:33] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e95b58012d1968c0071fee50003a011527..."} 
[2026-09-10 11:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e95b58012d1968c0071fee50003a011527..."} 
[2026-09-10 11:35:33] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e95b58012d1968c0071fee50003a011527..."} 
[2026-09-10 11:35:33] local.INFO: Packet analysis {"connection_id":176186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:35:33] local.INFO: Extracted packet for processing {"connection_id":176186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989157376001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020167000,"timestamp_ms":1789020167000,"timestamp_seconds":1789020167,"priority":1,"record_length":96,"hex_timestamp":"000001a089e95b58"} 
[2026-09-10 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-09-10 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989157376001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989157376001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:35:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989157376001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":176186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:35:33] local.INFO: GPS data processed {"connection_id":176186,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:35:33] local.INFO: Acknowledgment sent {"connection_id":176186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:35:57] local.INFO: TCP Data received {"connection_id":177609,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:35:57] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:35:57] local.INFO: Packet analysis {"connection_id":177609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:35:57] local.INFO: Extracted packet for processing {"connection_id":177609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:35:57] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:35:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:35:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":177609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:35:57] local.INFO: GPS data processed {"connection_id":177609,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:35:57] local.INFO: Acknowledgment sent {"connection_id":177609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:36:04] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e9ad60012d1968c0071fee50003a011528..."} 
[2026-09-10 11:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e9ad60012d1968c0071fee50003a011528..."} 
[2026-09-10 11:36:04] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e9ad60012d1968c0071fee50003a011528..."} 
[2026-09-10 11:36:04] local.INFO: Packet analysis {"connection_id":176186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:36:04] local.INFO: Extracted packet for processing {"connection_id":176186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989162752001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020188000,"timestamp_ms":1789020188000,"timestamp_seconds":1789020188,"priority":1,"record_length":96,"hex_timestamp":"000001a089e9ad60"} 
[2026-09-10 11:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:36: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-09-10 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:36: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-09-10 11:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989162752001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989162752001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:36:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989162752001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":176186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:36:04] local.INFO: GPS data processed {"connection_id":176186,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:36:04] local.INFO: Acknowledgment sent {"connection_id":176186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:36:19] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:36:19] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:36:19] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:36:24] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:36:24] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:36:24] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:36:25] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:36:25] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:36:25] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:36:25] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:36:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:36:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:36:25] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:36:25] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:36:27] local.INFO: TCP Data received {"connection_id":178992,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:36:27] local.INFO: Processing buffer {"connection_id":178992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:36:27] local.INFO: IMEI packet received {"connection_id":178992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":178992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:36:32] local.INFO: TCP Data received {"connection_id":178992,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:36:32] local.INFO: Processing buffer {"connection_id":178992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:36:32] local.INFO: IMEI packet received {"connection_id":178992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":178992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:36:33] local.INFO: TCP Data received {"connection_id":178992,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089e9ff68012d1968c0071fee50003a011528..."} 
[2026-09-10 11:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089e9ff68012d1968c0071fee50003a011528..."} 
[2026-09-10 11:36:33] local.INFO: Processing buffer {"connection_id":178992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089e9ff68012d1968c0071fee50003a011528..."} 
[2026-09-10 11:36:33] local.INFO: Packet analysis {"connection_id":178992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:36:33] local.INFO: Extracted packet for processing {"connection_id":178992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089e9"} 
[2026-09-10 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989168128001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020209000,"timestamp_ms":1789020209000,"timestamp_seconds":1789020209,"priority":1,"record_length":96,"hex_timestamp":"000001a089e9ff68"} 
[2026-09-10 11:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989168128001,"66":12406,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989168128001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:36:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989168128001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":178992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:36:33] local.INFO: GPS data processed {"connection_id":178992,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:36:33] local.INFO: Acknowledgment sent {"connection_id":178992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:36:56] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:36:56] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:36:56] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:36:56] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:36:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:36:56] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:36:56] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:37:04] local.INFO: TCP Data received {"connection_id":178992,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ea5170012d1968c0071fee50003a011528..."} 
[2026-09-10 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ea5170012d1968c0071fee50003a011528..."} 
[2026-09-10 11:37:04] local.INFO: Processing buffer {"connection_id":178992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ea5170012d1968c0071fee50003a011528..."} 
[2026-09-10 11:37:04] local.INFO: Packet analysis {"connection_id":178992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ea"} 
[2026-09-10 11:37:04] local.INFO: Extracted packet for processing {"connection_id":178992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ea"} 
[2026-09-10 11:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989173504001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020230000,"timestamp_ms":1789020230000,"timestamp_seconds":1789020230,"priority":1,"record_length":96,"hex_timestamp":"000001a089ea5170"} 
[2026-09-10 11:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:37: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-09-10 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 11:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989173504001,"66":12428,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989173504001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:37:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989173504001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":178992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:37:04] local.INFO: GPS data processed {"connection_id":178992,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:37:04] local.INFO: Acknowledgment sent {"connection_id":178992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:37:19] local.INFO: TCP Data received {"connection_id":177610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:37:19] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:37:19] local.INFO: IMEI packet received {"connection_id":177610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":177610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:37:24] local.INFO: TCP Data received {"connection_id":177610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:37:24] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:37:24] local.INFO: IMEI packet received {"connection_id":177610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":177610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:37:25] local.INFO: TCP Data received {"connection_id":177610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:37:25] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:37:25] local.INFO: Packet analysis {"connection_id":177610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:37:25] local.INFO: Extracted packet for processing {"connection_id":177610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:37:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:37:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":177610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:37:25] local.INFO: GPS data processed {"connection_id":177610,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:37:25] local.INFO: Acknowledgment sent {"connection_id":177610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:37:27] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:37:27] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:37:27] local.INFO: IMEI packet received {"connection_id":176188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":176188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:37:32] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:37:32] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:37:32] local.INFO: IMEI packet received {"connection_id":176188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":176188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:37:33] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089eaa378012d1968c0071fee50003a011529..."} 
[2026-09-10 11:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eaa378012d1968c0071fee50003a011529..."} 
[2026-09-10 11:37:33] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eaa378012d1968c0071fee50003a011529..."} 
[2026-09-10 11:37:33] local.INFO: Packet analysis {"connection_id":176188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ea"} 
[2026-09-10 11:37:33] local.INFO: Extracted packet for processing {"connection_id":176188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ea"} 
[2026-09-10 11:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989178880001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020251000,"timestamp_ms":1789020251000,"timestamp_seconds":1789020251,"priority":1,"record_length":96,"hex_timestamp":"000001a089eaa378"} 
[2026-09-10 11:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 11:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989178880001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989178880001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:37:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989178880001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":176188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:37:33] local.INFO: GPS data processed {"connection_id":176188,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:37:33] local.INFO: Acknowledgment sent {"connection_id":176188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:37:56] local.INFO: TCP Data received {"connection_id":177610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:37:56] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:37:56] local.INFO: Packet analysis {"connection_id":177610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:37:56] local.INFO: Extracted packet for processing {"connection_id":177610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:37:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:37:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:37:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":177610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:37:56] local.INFO: GPS data processed {"connection_id":177610,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:37:56] local.INFO: Acknowledgment sent {"connection_id":177610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:38:04] local.INFO: TCP Data received {"connection_id":176188,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089eaf580012d1968c0071fee50003a011527..."} 
[2026-09-10 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eaf580012d1968c0071fee50003a011527..."} 
[2026-09-10 11:38:04] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eaf580012d1968c0071fee50003a011527..."} 
[2026-09-10 11:38:04] local.INFO: Packet analysis {"connection_id":176188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ea"} 
[2026-09-10 11:38:04] local.INFO: Extracted packet for processing {"connection_id":176188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ea"} 
[2026-09-10 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989184256001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020272000,"timestamp_ms":1789020272000,"timestamp_seconds":1789020272,"priority":1,"record_length":96,"hex_timestamp":"000001a089eaf580"} 
[2026-09-10 11:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:38: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-09-10 11:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:38: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-09-10 11:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989184256001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989184256001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:38:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989184256001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":176188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:38:04] local.INFO: GPS data processed {"connection_id":176188,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:38:04] local.INFO: Acknowledgment sent {"connection_id":176188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:38:19] local.INFO: TCP Data received {"connection_id":177611,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:38:19] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:38:19] local.INFO: IMEI packet received {"connection_id":177611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":177611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:38:24] local.INFO: TCP Data received {"connection_id":177611,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:38:24] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:38:24] local.INFO: IMEI packet received {"connection_id":177611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":177611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:38:25] local.INFO: TCP Data received {"connection_id":177611,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:38:25] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:38:25] local.INFO: Packet analysis {"connection_id":177611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:38:25] local.INFO: Extracted packet for processing {"connection_id":177611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:38:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":177611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:38:25] local.INFO: GPS data processed {"connection_id":177611,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:38:25] local.INFO: Acknowledgment sent {"connection_id":177611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:38:27] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:38:27] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:38:27] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:38:32] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:38:32] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:38:32] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:38:33] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb4788012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb4788012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:38:33] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb4788012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:38:33] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:38:33] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989189632001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020293000,"timestamp_ms":1789020293000,"timestamp_seconds":1789020293,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb4788"} 
[2026-09-10 11:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989189632001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989189632001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:38:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989189632001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:38:33] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:38:33] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:38:56] local.INFO: TCP Data received {"connection_id":177611,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:38:56] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:38:56] local.INFO: Packet analysis {"connection_id":177611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:38:56] local.INFO: Extracted packet for processing {"connection_id":177611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:38:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":177611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:38:56] local.INFO: GPS data processed {"connection_id":177611,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:38:56] local.INFO: Acknowledgment sent {"connection_id":177611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:39:04] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb9990012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb9990012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:39:04] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb9990012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:39:04] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:04] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989195008001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020314000,"timestamp_ms":1789020314000,"timestamp_seconds":1789020314,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb9990"} 
[2026-09-10 11:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:39: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-09-10 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:39: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-09-10 11: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-09-10 11:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989195008001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989195008001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:39:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989195008001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:39:04] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:39:04] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:39:24] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:39:24] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:39:24] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:39:27] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:39:27] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:39:27] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:39:29] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:39:29] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:39:29] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:39:30] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:39:30] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:39:30] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:30] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:39:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:39:30] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:39:30] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:39:32] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:39:32] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:39:32] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:39:33] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ebeb98012d1968c0071fee50003a011529..."} 
[2026-09-10 11:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ebeb98012d1968c0071fee50003a011529..."} 
[2026-09-10 11:39:33] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ebeb98012d1968c0071fee50003a011529..."} 
[2026-09-10 11:39:33] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:33] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989200384001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020335000,"timestamp_ms":1789020335000,"timestamp_seconds":1789020335,"priority":1,"record_length":96,"hex_timestamp":"000001a089ebeb98"} 
[2026-09-10 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-09-10 11:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989200384001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989200384001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:39:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989200384001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:39:33] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:39:33] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:39:35] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:39:35] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:39:35] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:35] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:39:35] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:39: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-09-10 11:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:39:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:39:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:39:35] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:39:35] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:40:04] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ec3da0012d1968c0071fee50003a011528..."} 
[2026-09-10 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ec3da0012d1968c0071fee50003a011528..."} 
[2026-09-10 11:40:04] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ec3da0012d1968c0071fee50003a011528..."} 
[2026-09-10 11:40:04] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ec"} 
[2026-09-10 11:40:04] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ec"} 
[2026-09-10 11:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989205760001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020356000,"timestamp_ms":1789020356000,"timestamp_seconds":1789020356,"priority":1,"record_length":96,"hex_timestamp":"000001a089ec3da0"} 
[2026-09-10 11:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:40: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-09-10 11:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:40: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-09-10 11:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989205760001,"66":11678,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989205760001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:40:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989205760001,"power":11678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:40:04] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:40:04] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:40:19] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:40:19] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:40:19] local.INFO: IMEI packet received {"connection_id":176441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":176441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:40:24] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:40:24] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:40:24] local.INFO: IMEI packet received {"connection_id":176441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":176441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:40:25] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:40:25] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eb5b10012cc1d60007572870000b01382a..."} 
[2026-09-10 11:40:25] local.INFO: Packet analysis {"connection_id":176441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:40:25] local.INFO: Extracted packet for processing {"connection_id":176441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089eb"} 
[2026-09-10 11:40:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020298000,"timestamp_ms":1789020298000,"timestamp_seconds":1789020298,"priority":1,"record_length":96,"hex_timestamp":"000001a089eb5b10"} 
[2026-09-10 11:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 11:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989119232001,"66":26321,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:40:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989119232001,"power":26321,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":176441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:40:25] local.INFO: GPS data processed {"connection_id":176441,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:40:25] local.INFO: Acknowledgment sent {"connection_id":176441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:40:27] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:40:27] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:40:27] local.INFO: IMEI packet received {"connection_id":176193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":176193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:40:32] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:40:32] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:40:32] local.INFO: IMEI packet received {"connection_id":176193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":176193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:40:33] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ec8fa8012d1968c0071fee50003a011528..."} 
[2026-09-10 11:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ec8fa8012d1968c0071fee50003a011528..."} 
[2026-09-10 11:40:33] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ec8fa8012d1968c0071fee50003a011528..."} 
[2026-09-10 11:40:33] local.INFO: Packet analysis {"connection_id":176193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ec"} 
[2026-09-10 11:40:33] local.INFO: Extracted packet for processing {"connection_id":176193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ec"} 
[2026-09-10 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989211136001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020377000,"timestamp_ms":1789020377000,"timestamp_seconds":1789020377,"priority":1,"record_length":96,"hex_timestamp":"000001a089ec8fa8"} 
[2026-09-10 11:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 11:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989211136001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989211136001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:40:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989211136001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":176193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:40:33] local.INFO: GPS data processed {"connection_id":176193,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:40:33] local.INFO: Acknowledgment sent {"connection_id":176193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:40:57] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:40:57] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:40:57] local.INFO: Packet analysis {"connection_id":176441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:40:57] local.INFO: Extracted packet for processing {"connection_id":176441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:40:57] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:40:57] 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-09-10 11:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:40:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:40:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":176441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:40:57] local.INFO: GPS data processed {"connection_id":176441,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:40:57] local.INFO: Acknowledgment sent {"connection_id":176441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:41:04] local.INFO: TCP Data received {"connection_id":176193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ece1b0012d1968c0071fee50003a011529..."} 
[2026-09-10 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ece1b0012d1968c0071fee50003a011529..."} 
[2026-09-10 11:41:04] local.INFO: Processing buffer {"connection_id":176193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ece1b0012d1968c0071fee50003a011529..."} 
[2026-09-10 11:41:04] local.INFO: Packet analysis {"connection_id":176193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ec"} 
[2026-09-10 11:41:04] local.INFO: Extracted packet for processing {"connection_id":176193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ec"} 
[2026-09-10 11:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989216512001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020398000,"timestamp_ms":1789020398000,"timestamp_seconds":1789020398,"priority":1,"record_length":96,"hex_timestamp":"000001a089ece1b0"} 
[2026-09-10 11:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:41: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-09-10 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:41: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-09-10 11:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989216512001,"66":12461,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989216512001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:41:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989216512001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":176193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:41:04] local.INFO: GPS data processed {"connection_id":176193,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:41:04] local.INFO: Acknowledgment sent {"connection_id":176193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:41:19] local.INFO: TCP Data received {"connection_id":178995,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:41:19] local.INFO: Processing buffer {"connection_id":178995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:41:19] local.INFO: IMEI packet received {"connection_id":178995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":178995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:41:24] local.INFO: TCP Data received {"connection_id":178995,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:41:24] local.INFO: Processing buffer {"connection_id":178995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:41:24] local.INFO: IMEI packet received {"connection_id":178995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":178995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:41:25] local.INFO: TCP Data received {"connection_id":178995,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:41:25] local.INFO: Processing buffer {"connection_id":178995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:41:25] local.INFO: Packet analysis {"connection_id":178995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:41:25] local.INFO: Extracted packet for processing {"connection_id":178995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:41:25] 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-09-10 11:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:41:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":178995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:41:25] local.INFO: GPS data processed {"connection_id":178995,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:41:25] local.INFO: Acknowledgment sent {"connection_id":178995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:41:27] local.INFO: TCP Data received {"connection_id":177612,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:27] local.INFO: Processing buffer {"connection_id":177612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:27] local.INFO: IMEI packet received {"connection_id":177612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":177612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:41:28] local.INFO: TCP Data received {"connection_id":177612,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:28] local.INFO: Processing buffer {"connection_id":177612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:28] local.INFO: IMEI packet received {"connection_id":177612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":177612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:41:32] local.INFO: TCP Data received {"connection_id":177612,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:32] local.INFO: Processing buffer {"connection_id":177612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:41:32] local.INFO: IMEI packet received {"connection_id":177612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":177612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:41:33] local.INFO: TCP Data received {"connection_id":177612,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ed33b8012d1968c0071fee50003a011529..."} 
[2026-09-10 11:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ed33b8012d1968c0071fee50003a011529..."} 
[2026-09-10 11:41:33] local.INFO: Processing buffer {"connection_id":177612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ed33b8012d1968c0071fee50003a011529..."} 
[2026-09-10 11:41:33] local.INFO: Packet analysis {"connection_id":177612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ed"} 
[2026-09-10 11:41:33] local.INFO: Extracted packet for processing {"connection_id":177612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ed"} 
[2026-09-10 11:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989221888001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020419000,"timestamp_ms":1789020419000,"timestamp_seconds":1789020419,"priority":1,"record_length":96,"hex_timestamp":"000001a089ed33b8"} 
[2026-09-10 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-09-10 11:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 11:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989221888001,"66":12428,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989221888001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:41:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989221888001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":177612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:41:33] local.INFO: GPS data processed {"connection_id":177612,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:41:33] local.INFO: Acknowledgment sent {"connection_id":177612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:41:56] local.INFO: TCP Data received {"connection_id":178995,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:41:56] local.INFO: Processing buffer {"connection_id":178995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:41:56] local.INFO: Packet analysis {"connection_id":178995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:41:56] local.INFO: Extracted packet for processing {"connection_id":178995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:41:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:41:56] 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-09-10 11:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:41:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:41:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":178995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:41:56] local.INFO: GPS data processed {"connection_id":178995,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:41:56] local.INFO: Acknowledgment sent {"connection_id":178995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:42:04] local.INFO: TCP Data received {"connection_id":177612,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ed85c0012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ed85c0012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:42:04] local.INFO: Processing buffer {"connection_id":177612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ed85c0012d1968c0071fee50003a01152a..."} 
[2026-09-10 11:42:04] local.INFO: Packet analysis {"connection_id":177612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ed"} 
[2026-09-10 11:42:04] local.INFO: Extracted packet for processing {"connection_id":177612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ed"} 
[2026-09-10 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989227264001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020440000,"timestamp_ms":1789020440000,"timestamp_seconds":1789020440,"priority":1,"record_length":96,"hex_timestamp":"000001a089ed85c0"} 
[2026-09-10 11:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:42: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-09-10 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 11:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989227264001,"66":12439,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989227264001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:42:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989227264001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":177612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:42:04] local.INFO: GPS data processed {"connection_id":177612,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:42:04] local.INFO: Acknowledgment sent {"connection_id":177612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:42:19] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:42:19] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:42:19] local.INFO: IMEI packet received {"connection_id":176442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":176442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:42:24] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:42:24] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:42:24] local.INFO: IMEI packet received {"connection_id":176442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":176442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:42:25] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:42:25] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:42:25] local.INFO: Packet analysis {"connection_id":176442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:42:25] local.INFO: Extracted packet for processing {"connection_id":176442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:42:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:42:25] 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-09-10 11:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:42:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":176442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:42:25] local.INFO: GPS data processed {"connection_id":176442,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:42:25] local.INFO: Acknowledgment sent {"connection_id":176442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:42:31] local.INFO: TCP Data received {"connection_id":178996,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:31] local.INFO: Processing buffer {"connection_id":178996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:31] local.INFO: IMEI packet received {"connection_id":178996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":178996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:42:32] local.INFO: TCP Data received {"connection_id":178996,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:32] local.INFO: Processing buffer {"connection_id":178996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:32] local.INFO: IMEI packet received {"connection_id":178996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":178996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:42:37] local.INFO: TCP Data received {"connection_id":178996,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:37] local.INFO: Processing buffer {"connection_id":178996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:42:37] local.INFO: IMEI packet received {"connection_id":178996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":178996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:42:38] local.INFO: TCP Data received {"connection_id":178996,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f10c18012d1968c0071fee50003a011528..."} 
[2026-09-10 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f10c18012d1968c0071fee50003a011528..."} 
[2026-09-10 11:42:38] local.INFO: Processing buffer {"connection_id":178996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f10c18012d1968c0071fee50003a011528..."} 
[2026-09-10 11:42:38] local.INFO: Packet analysis {"connection_id":178996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f1"} 
[2026-09-10 11:42:38] local.INFO: Extracted packet for processing {"connection_id":178996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f1"} 
[2026-09-10 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989286400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789020671000,"timestamp_ms":1789020671000,"timestamp_seconds":1789020671,"priority":1,"record_length":96,"hex_timestamp":"000001a089f10c18"} 
[2026-09-10 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-09-10 11:42: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-09-10 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":53,"data_length":795,"current_offset":136} 
[2026-09-10 11:42: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-09-10 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-09-10 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-09-10 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989286400001,"66":12406,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989286400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:42:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989286400001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":178996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:42:38] local.INFO: GPS data processed {"connection_id":178996,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:42:38] local.INFO: Acknowledgment sent {"connection_id":178996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:42:56] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:42:56] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:42:56] local.INFO: Packet analysis {"connection_id":176442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:42:56] local.INFO: Extracted packet for processing {"connection_id":176442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:42:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:42:56] 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-09-10 11:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:42:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":176442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:42:56] local.INFO: GPS data processed {"connection_id":176442,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:42:56] local.INFO: Acknowledgment sent {"connection_id":176442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:43:09] local.INFO: TCP Data received {"connection_id":178996,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f15e20012d1968c0071fee50003a011528..."} 
[2026-09-10 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f15e20012d1968c0071fee50003a011528..."} 
[2026-09-10 11:43:09] local.INFO: Processing buffer {"connection_id":178996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f15e20012d1968c0071fee50003a011528..."} 
[2026-09-10 11:43:09] local.INFO: Packet analysis {"connection_id":178996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f1"} 
[2026-09-10 11:43:09] local.INFO: Extracted packet for processing {"connection_id":178996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f1"} 
[2026-09-10 11:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989291776001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43: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-09-10 11:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789020692000,"timestamp_ms":1789020692000,"timestamp_seconds":1789020692,"priority":1,"record_length":96,"hex_timestamp":"000001a089f15e20"} 
[2026-09-10 11:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 11:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989291776001,"66":12406,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989291776001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:43:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989291776001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":178996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:43:09] local.INFO: GPS data processed {"connection_id":178996,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:43:09] local.INFO: Acknowledgment sent {"connection_id":178996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:43:19] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:43:19] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:43:19] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:43:24] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:43:24] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:43:24] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:43:25] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:43:25] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:43:25] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:43:25] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:43:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:43:25] 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-09-10 11: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-09-10 11:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:43:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:43:25] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:43:25] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:43:27] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:43:27] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:43:27] local.INFO: IMEI packet received {"connection_id":176195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":176195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:43:32] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:43:32] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:43:32] local.INFO: IMEI packet received {"connection_id":176195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":176195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:43:33] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f1b028012d1968c0071fee50003a011529..."} 
[2026-09-10 11:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f1b028012d1968c0071fee50003a011529..."} 
[2026-09-10 11:43:33] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f1b028012d1968c0071fee50003a011529..."} 
[2026-09-10 11:43:33] local.INFO: Packet analysis {"connection_id":176195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f1"} 
[2026-09-10 11:43:33] local.INFO: Extracted packet for processing {"connection_id":176195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f1"} 
[2026-09-10 11:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989297152001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020713000,"timestamp_ms":1789020713000,"timestamp_seconds":1789020713,"priority":1,"record_length":96,"hex_timestamp":"000001a089f1b028"} 
[2026-09-10 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-09-10 11:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 11:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989297152001,"66":12385,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989297152001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:43:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989297152001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":176195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:43:33] local.INFO: GPS data processed {"connection_id":176195,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:43:33] local.INFO: Acknowledgment sent {"connection_id":176195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:43:56] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:43:56] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:43:56] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:43:56] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:43:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:43:56] 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-09-10 11:43:56] 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-09-10 11:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:43:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:43:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:43:56] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:43:56] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:44:04] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f20230012d1968c0071fee50003a011527..."} 
[2026-09-10 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f20230012d1968c0071fee50003a011527..."} 
[2026-09-10 11:44:04] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f20230012d1968c0071fee50003a011527..."} 
[2026-09-10 11:44:04] local.INFO: Packet analysis {"connection_id":176195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f2"} 
[2026-09-10 11:44:04] local.INFO: Extracted packet for processing {"connection_id":176195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f2"} 
[2026-09-10 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989302528001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020734000,"timestamp_ms":1789020734000,"timestamp_seconds":1789020734,"priority":1,"record_length":96,"hex_timestamp":"000001a089f20230"} 
[2026-09-10 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-09-10 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 11:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989302528001,"66":12406,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989302528001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:44:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989302528001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":176195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:44:04] local.INFO: GPS data processed {"connection_id":176195,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:44:04] local.INFO: Acknowledgment sent {"connection_id":176195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:44:22] local.INFO: TCP Data received {"connection_id":178997,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:44:22] local.INFO: Processing buffer {"connection_id":178997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:44:22] local.INFO: IMEI packet received {"connection_id":178997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":178997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:44:24] local.INFO: TCP Data received {"connection_id":177613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:44:24] local.INFO: Processing buffer {"connection_id":177613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:44:24] local.INFO: IMEI packet received {"connection_id":177613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":177613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:44:27] local.INFO: TCP Data received {"connection_id":177614,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:44:27] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:44:27] local.INFO: IMEI packet received {"connection_id":177614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":177614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:44:29] local.INFO: TCP Data received {"connection_id":177613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:44:29] local.INFO: Processing buffer {"connection_id":177613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:44:29] local.INFO: IMEI packet received {"connection_id":177613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":177613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:44:30] local.INFO: TCP Data received {"connection_id":177613,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:44:30] local.INFO: Processing buffer {"connection_id":177613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:44:30] local.INFO: Packet analysis {"connection_id":177613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:44:30] local.INFO: Extracted packet for processing {"connection_id":177613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:44:30] 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-09-10 11:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:44:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":177613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:44:30] local.INFO: GPS data processed {"connection_id":177613,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:44:30] local.INFO: Acknowledgment sent {"connection_id":177613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:44:32] local.INFO: TCP Data received {"connection_id":177614,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:44:32] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:44:32] local.INFO: IMEI packet received {"connection_id":177614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":177614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:44:33] local.INFO: TCP Data received {"connection_id":177614,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f25438012d1968c0071fee50003a011528..."} 
[2026-09-10 11:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f25438012d1968c0071fee50003a011528..."} 
[2026-09-10 11:44:33] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f25438012d1968c0071fee50003a011528..."} 
[2026-09-10 11:44:33] local.INFO: Packet analysis {"connection_id":177614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f2"} 
[2026-09-10 11:44:33] local.INFO: Extracted packet for processing {"connection_id":177614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f2"} 
[2026-09-10 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 11:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989307904001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020755000,"timestamp_ms":1789020755000,"timestamp_seconds":1789020755,"priority":1,"record_length":96,"hex_timestamp":"000001a089f25438"} 
[2026-09-10 11:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 11:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989307904001,"66":12428,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989307904001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:44:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989307904001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":177614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:44:33] local.INFO: GPS data processed {"connection_id":177614,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:44:33] local.INFO: Acknowledgment sent {"connection_id":177614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:44:35] local.INFO: TCP Data received {"connection_id":177613,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:44:35] local.INFO: Processing buffer {"connection_id":177613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:44:35] local.INFO: Packet analysis {"connection_id":177613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:44:35] local.INFO: Extracted packet for processing {"connection_id":177613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 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-09-10 11:44: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-09-10 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:44:35] 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-09-10 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-09-10 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-09-10 11:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:44: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-09-10 11:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:44:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":177613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:44:35] local.INFO: GPS data processed {"connection_id":177613,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:44:35] local.INFO: Acknowledgment sent {"connection_id":177613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:44:49] local.INFO: TCP Data received {"connection_id":178998,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:44:49] local.INFO: Processing buffer {"connection_id":178998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:44:49] local.INFO: IMEI packet received {"connection_id":178998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":178998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:45:06] local.INFO: TCP Data received {"connection_id":177614,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f2a640012d1968c0071fee50003a011528..."} 
[2026-09-10 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f2a640012d1968c0071fee50003a011528..."} 
[2026-09-10 11:45:06] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f2a640012d1968c0071fee50003a011528..."} 
[2026-09-10 11:45:06] local.INFO: Packet analysis {"connection_id":177614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f2"} 
[2026-09-10 11:45:06] local.INFO: Extracted packet for processing {"connection_id":177614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f2"} 
[2026-09-10 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533136,"longitude_deg":75.6639936,"latitude_deg":11.9533136,"altitude":58,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989313280001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145594111000576,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359122432,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45: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-09-10 11:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789020776000,"timestamp_ms":1789020776000,"timestamp_seconds":1789020776,"priority":1,"record_length":96,"hex_timestamp":"000001a089f2a640"} 
[2026-09-10 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-09-10 11:45: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-09-10 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":140,"data_length":795,"current_offset":136} 
[2026-09-10 11:45: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-09-10 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-09-10 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-09-10 11:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:45: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-09-10 11:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989313280001,"66":12113,"101":206,"83":41984,"24":0,"16":19145594111000576,"45":1830924385359122432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989313280001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:45:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145594111000576,"km_value":19145594111000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359122432,"description":"Unknown IO ID 45"} 
[2026-09-10 11:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989313280001,"power":12113,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359122432}} 
[2026-09-10 11:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":177614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:45:06] local.INFO: GPS data processed {"connection_id":177614,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:45:06] local.INFO: Acknowledgment sent {"connection_id":177614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:45:19] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:45:19] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:45:19] local.INFO: IMEI packet received {"connection_id":176443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":176443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:45:24] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:45:24] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:45:24] local.INFO: IMEI packet received {"connection_id":176443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":176443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:45:25] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:45:25] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089eff2d8012cc1d60007572870000b01382a..."} 
[2026-09-10 11:45:25] local.INFO: Packet analysis {"connection_id":176443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:45:25] local.INFO: Extracted packet for processing {"connection_id":176443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ef"} 
[2026-09-10 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989196288001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020599000,"timestamp_ms":1789020599000,"timestamp_seconds":1789020599,"priority":1,"record_length":96,"hex_timestamp":"000001a089eff2d8"} 
[2026-09-10 11:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 11:45:25] 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-09-10 11:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989196288001,"66":26223,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989196288001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:45:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989196288001,"power":26223,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":176443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:45:25] local.INFO: GPS data processed {"connection_id":176443,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:45:25] local.INFO: Acknowledgment sent {"connection_id":176443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:45:27] local.INFO: TCP Data received {"connection_id":177615,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:45:27] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:45:27] local.INFO: IMEI packet received {"connection_id":177615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":177615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:45:32] local.INFO: TCP Data received {"connection_id":177615,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:45:32] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:45:32] local.INFO: IMEI packet received {"connection_id":177615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":177615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:45:33] local.INFO: TCP Data received {"connection_id":177615,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f41d40012d197a00071febf80039005629..."} 
[2026-09-10 11:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f41d40012d197a00071febf80039005629..."} 
[2026-09-10 11:45:33] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f41d40012d197a00071febf80039005629..."} 
[2026-09-10 11:45:33] local.INFO: Packet analysis {"connection_id":177615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:45:33] local.INFO: Extracted packet for processing {"connection_id":177615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756644352,"raw_latitude":119532536,"longitude_deg":75.6644352,"latitude_deg":11.9532536,"altitude":57,"angle":86,"satellites":41,"speed":13,"hex_longitude":"2d197a00","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989340928001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145817449299968,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832683603963451392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020872000,"timestamp_ms":1789020872000,"timestamp_seconds":1789020872,"priority":1,"record_length":96,"hex_timestamp":"000001a089f41d40"} 
[2026-09-10 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-09-10 11:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 11:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989340928001,"66":13852,"102":206,"83":41984,"24":13,"16":19145817449299968,"45":1832683603963451392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 11:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989340928001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:45:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 11:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145817449299968,"km_value":19145817449299.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832683603963451392,"description":"Unknown IO ID 45"} 
[2026-09-10 11:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989340928001,"power":13852,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1832683603963451392}} 
[2026-09-10 11:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":177615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:45:33] local.INFO: GPS data processed {"connection_id":177615,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:45:33] local.INFO: Acknowledgment sent {"connection_id":177615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:45:56] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:45:56] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:45:56] local.INFO: Packet analysis {"connection_id":176443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:45:56] local.INFO: Extracted packet for processing {"connection_id":176443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:45:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:45:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:45:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":176443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:45:56] local.INFO: GPS data processed {"connection_id":176443,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:45:56] local.INFO: Acknowledgment sent {"connection_id":176443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:46:04] local.INFO: TCP Data received {"connection_id":177615,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f4d0f0012d19d0c0071ffb380031004028..."} 
[2026-09-10 11:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f4d0f0012d19d0c0071ffb380031004028..."} 
[2026-09-10 11:46:04] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f4d0f0012d19d0c0071ffb380031004028..."} 
[2026-09-10 11:46:04] local.INFO: Packet analysis {"connection_id":177615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:04] local.INFO: Extracted packet for processing {"connection_id":177615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756666560,"raw_latitude":119536440,"longitude_deg":75.666656,"latitude_deg":11.953644,"altitude":49,"angle":64,"satellites":40,"speed":21,"hex_longitude":"2d19d0c0","hex_latitude":"071ffb38","is_valid_coordinates":true} 
[2026-09-10 11:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989354496001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19146955615633408,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620519251968,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789020918000,"timestamp_ms":1789020918000,"timestamp_seconds":1789020918,"priority":1,"record_length":96,"hex_timestamp":"000001a089f4d0f0"} 
[2026-09-10 11:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 11:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989354496001,"66":14211,"101":206,"83":41984,"24":21,"16":19146955615633408,"45":1859212620519251968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989354496001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:46:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19146955615633408,"km_value":19146955615633.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620519251968,"description":"Unknown IO ID 45"} 
[2026-09-10 11:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989354496001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1859212620519251968}} 
[2026-09-10 11:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":177615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:46:04] local.INFO: GPS data processed {"connection_id":177615,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:46:04] local.INFO: Acknowledgment sent {"connection_id":177615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:46:19] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:46:19] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:46:19] local.INFO: IMEI packet received {"connection_id":176197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":176197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:46:24] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:46:24] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:46:24] local.INFO: IMEI packet received {"connection_id":176197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":176197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:46:25] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:46:25] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:46:25] local.INFO: Packet analysis {"connection_id":176197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:25] local.INFO: Extracted packet for processing {"connection_id":176197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:46:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":176197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:46:25] local.INFO: GPS data processed {"connection_id":176197,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:46:25] local.INFO: Acknowledgment sent {"connection_id":176197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:46:27] local.INFO: TCP Data received {"connection_id":178999,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:46:27] local.INFO: Processing buffer {"connection_id":178999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:46:27] local.INFO: IMEI packet received {"connection_id":178999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":178999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:46:32] local.INFO: TCP Data received {"connection_id":178999,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:46:32] local.INFO: Processing buffer {"connection_id":178999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:46:32] local.INFO: IMEI packet received {"connection_id":178999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":178999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:46:33] local.INFO: TCP Data received {"connection_id":178999,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f4d8c0012d19d500071ffd900030003428..."} 
[2026-09-10 11:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f4d8c0012d19d500071ffd900030003428..."} 
[2026-09-10 11:46:33] local.INFO: Processing buffer {"connection_id":178999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f4d8c0012d19d500071ffd900030003428..."} 
[2026-09-10 11:46:33] local.INFO: Packet analysis {"connection_id":178999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:33] local.INFO: Extracted packet for processing {"connection_id":178999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756667648,"raw_latitude":119537040,"longitude_deg":75.6667648,"latitude_deg":11.953704,"altitude":48,"angle":52,"satellites":40,"speed":24,"hex_longitude":"2d19d500","hex_latitude":"071ffd90","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989355008001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19147015745175552,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860197782937876480,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789020920000,"timestamp_ms":1789020920000,"timestamp_seconds":1789020920,"priority":1,"record_length":96,"hex_timestamp":"000001a089f4d8c0"} 
[2026-09-10 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-09-10 11:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 11:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989355008001,"66":14157,"101":206,"83":41984,"24":24,"16":19147015745175552,"45":1860197782937876480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 11:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989355008001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:46:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 11:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19147015745175552,"km_value":19147015745175.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860197782937876480,"description":"Unknown IO ID 45"} 
[2026-09-10 11:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989355008001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1860197782937876480}} 
[2026-09-10 11:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":178999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:46:34] local.INFO: GPS data processed {"connection_id":178999,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:46:34] local.INFO: Acknowledgment sent {"connection_id":178999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:46:56] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:46:56] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:46:56] local.INFO: Packet analysis {"connection_id":176197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:56] local.INFO: Extracted packet for processing {"connection_id":176197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:46:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:46:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":176197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:46:56] local.INFO: GPS data processed {"connection_id":176197,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:46:56] local.INFO: Acknowledgment sent {"connection_id":176197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:47:05] local.INFO: TCP Data received {"connection_id":178999,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f5af98012d19ad40072086d8002f015b24..."} 
[2026-09-10 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f5af98012d19ad40072086d8002f015b24..."} 
[2026-09-10 11:47:05] local.INFO: Processing buffer {"connection_id":178999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f5af98012d19ad40072086d8002f015b24..."} 
[2026-09-10 11:47:05] local.INFO: Packet analysis {"connection_id":178999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f5"} 
[2026-09-10 11:47:05] local.INFO: Extracted packet for processing {"connection_id":178999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f5"} 
[2026-09-10 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119572184,"longitude_deg":75.6657472,"latitude_deg":11.9572184,"altitude":47,"angle":347,"satellites":36,"speed":35,"hex_longitude":"2d19ad40","hex_latitude":"072086d8","is_valid_coordinates":true} 
[2026-09-10 11:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989367296001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19148935595556864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646015428608,"note":"Value kept but may cause issues"} 
[2026-09-10 11: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-09-10 11:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789020975000,"timestamp_ms":1789020975000,"timestamp_seconds":1789020975,"priority":1,"record_length":96,"hex_timestamp":"000001a089f5af98"} 
[2026-09-10 11:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 11:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:47: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-09-10 11:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989367296001,"66":14298,"103":206,"83":41984,"24":35,"16":19148935595556864,"45":1853301646015428608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989367296001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:47:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19148935595556864,"km_value":19148935595556.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646015428608,"description":"Unknown IO ID 45"} 
[2026-09-10 11:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989367296001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1853301646015428608}} 
[2026-09-10 11:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":178999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:47:05] local.INFO: GPS data processed {"connection_id":178999,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:47:05] local.INFO: Acknowledgment sent {"connection_id":178999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:47:19] local.INFO: TCP Data received {"connection_id":179000,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:47:19] local.INFO: Processing buffer {"connection_id":179000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:47:19] local.INFO: IMEI packet received {"connection_id":179000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":179000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:47:24] local.INFO: TCP Data received {"connection_id":179000,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:47:24] local.INFO: Processing buffer {"connection_id":179000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:47:24] local.INFO: IMEI packet received {"connection_id":179000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":179000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:47:25] local.INFO: TCP Data received {"connection_id":179000,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:47:25] local.INFO: Processing buffer {"connection_id":179000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:47:25] local.INFO: Packet analysis {"connection_id":179000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:47:25] local.INFO: Extracted packet for processing {"connection_id":179000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:47:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:47:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":179000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:47:25] local.INFO: GPS data processed {"connection_id":179000,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:47:25] local.INFO: Acknowledgment sent {"connection_id":179000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:47:32] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:47:32] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:47:32] local.INFO: IMEI packet received {"connection_id":176445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":176445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:47:35] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:47:36] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:47:36] local.INFO: IMEI packet received {"connection_id":176445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":176445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:47:36] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f5bb50012d19acc0072091a00031000725..."} 
[2026-09-10 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f5bb50012d19acc0072091a00031000725..."} 
[2026-09-10 11:47:36] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f5bb50012d19acc0072091a00031000725..."} 
[2026-09-10 11:47:36] local.INFO: Packet analysis {"connection_id":176445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f5"} 
[2026-09-10 11:47:36] local.INFO: Extracted packet for processing {"connection_id":176445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f5"} 
[2026-09-10 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119574944,"longitude_deg":75.6657344,"latitude_deg":11.9574944,"altitude":49,"angle":7,"satellites":37,"speed":37,"hex_longitude":"2d19acc0","hex_latitude":"072091a0","is_valid_coordinates":true} 
[2026-09-10 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989369600001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19149068739543040,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273798656,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47: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-09-10 11:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789020978000,"timestamp_ms":1789020978000,"timestamp_seconds":1789020978,"priority":1,"record_length":96,"hex_timestamp":"000001a089f5bb50"} 
[2026-09-10 11:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 11:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:47: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-09-10 11:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989369600001,"66":14233,"103":206,"83":41984,"24":37,"16":19149068739543040,"45":1850205421273798656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989369600001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:47:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19149068739543040,"km_value":19149068739543.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273798656,"description":"Unknown IO ID 45"} 
[2026-09-10 11:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989369600001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850205421273798656}} 
[2026-09-10 11:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":176445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:47:36] local.INFO: GPS data processed {"connection_id":176445,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:47:36] local.INFO: Acknowledgment sent {"connection_id":176445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:47:37] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f5c320012d19af80072098580031001d26..."} 
[2026-09-10 11:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f5c320012d19af80072098580031001d26..."} 
[2026-09-10 11:47:37] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f5c320012d19af80072098580031001d26..."} 
[2026-09-10 11:47:37] local.INFO: Packet analysis {"connection_id":176445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f5"} 
[2026-09-10 11:47:37] local.INFO: Extracted packet for processing {"connection_id":176445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f5"} 
[2026-09-10 11:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119576664,"longitude_deg":75.6658048,"latitude_deg":11.9576664,"altitude":49,"angle":29,"satellites":38,"speed":37,"hex_longitude":"2d19af80","hex_latitude":"07209858","is_valid_coordinates":true} 
[2026-09-10 11:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989370368001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19149158933856256,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683786149888,"note":"Value kept but may cause issues"} 
[2026-09-10 11: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-09-10 11:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789020980000,"timestamp_ms":1789020980000,"timestamp_seconds":1789020980,"priority":1,"record_length":96,"hex_timestamp":"000001a089f5c320"} 
[2026-09-10 11:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:47: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-09-10 11: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":153,"data_length":795,"current_offset":136} 
[2026-09-10 11:47: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-09-10 11:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:47: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-09-10 11:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989370368001,"66":14265,"103":206,"83":41984,"24":37,"16":19149158933856256,"45":1850064683786149888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989370368001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:47:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19149158933856256,"km_value":19149158933856.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683786149888,"description":"Unknown IO ID 45"} 
[2026-09-10 11:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989370368001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850064683786149888}} 
[2026-09-10 11:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":176445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:47:37] local.INFO: GPS data processed {"connection_id":176445,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:47:37] local.INFO: Acknowledgment sent {"connection_id":176445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:47:56] local.INFO: TCP Data received {"connection_id":179000,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:47:56] local.INFO: Processing buffer {"connection_id":179000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:47:56] local.INFO: Packet analysis {"connection_id":179000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:47:56] local.INFO: Extracted packet for processing {"connection_id":179000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:47:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:47:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":179000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:47:56] local.INFO: GPS data processed {"connection_id":179000,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:47:56] local.INFO: Acknowledgment sent {"connection_id":179000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:48:08] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f6a5b0012d190a000720c9c00034012d27..."} 
[2026-09-10 11:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f6a5b0012d190a000720c9c00034012d27..."} 
[2026-09-10 11:48:08] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f6a5b0012d190a000720c9c00034012d27..."} 
[2026-09-10 11:48:08] local.INFO: Packet analysis {"connection_id":176445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:48:08] local.INFO: Extracted packet for processing {"connection_id":176445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756615680,"raw_latitude":119589312,"longitude_deg":75.661568,"latitude_deg":11.9589312,"altitude":52,"angle":301,"satellites":39,"speed":37,"hex_longitude":"2d190a00","hex_latitude":"0720c9c0","is_valid_coordinates":true} 
[2026-09-10 11:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989383424001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19151684374626304,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814035886769891328,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48: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-09-10 11:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789021038000,"timestamp_ms":1789021038000,"timestamp_seconds":1789021038,"priority":1,"record_length":96,"hex_timestamp":"000001a089f6a5b0"} 
[2026-09-10 11:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 11:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989383424001,"66":14407,"103":206,"83":41984,"24":37,"16":19151684374626304,"45":1814035886769891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989383424001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:48:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19151684374626304,"km_value":19151684374626.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814035886769891328,"description":"Unknown IO ID 45"} 
[2026-09-10 11:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989383424001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1814035886769891328}} 
[2026-09-10 11:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":176445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:48:08] local.INFO: GPS data processed {"connection_id":176445,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:48:08] local.INFO: Acknowledgment sent {"connection_id":176445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:48:24] local.INFO: TCP Data received {"connection_id":177616,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:48:24] local.INFO: Processing buffer {"connection_id":177616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:48:24] local.INFO: IMEI packet received {"connection_id":177616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":177616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:48:27] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:48:27] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:48:27] local.INFO: IMEI packet received {"connection_id":176198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":176198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:48:29] local.INFO: TCP Data received {"connection_id":177616,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:48:29] local.INFO: Processing buffer {"connection_id":177616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:48:29] local.INFO: IMEI packet received {"connection_id":177616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":177616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:48:30] local.INFO: TCP Data received {"connection_id":177616,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:48:30] local.INFO: Processing buffer {"connection_id":177616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:48:30] local.INFO: Packet analysis {"connection_id":177616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:48:30] local.INFO: Extracted packet for processing {"connection_id":177616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:48:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":177616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:48:30] local.INFO: GPS data processed {"connection_id":177616,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:48:30] local.INFO: Acknowledgment sent {"connection_id":177616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:48:32] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:48:32] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:48:32] local.INFO: IMEI packet received {"connection_id":176198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":176198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:48:34] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f6c4f0012d18f1400720db400036013d27..."} 
[2026-09-10 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f6c4f0012d18f1400720db400036013d27..."} 
[2026-09-10 11:48:34] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f6c4f0012d18f1400720db400036013d27..."} 
[2026-09-10 11:48:34] local.INFO: Packet analysis {"connection_id":176198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:48:34] local.INFO: Extracted packet for processing {"connection_id":176198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756609344,"raw_latitude":119593792,"longitude_deg":75.6609344,"latitude_deg":11.9593792,"altitude":54,"angle":317,"satellites":39,"speed":41,"hex_longitude":"2d18f140","hex_latitude":"0720db40","is_valid_coordinates":true} 
[2026-09-10 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989385728001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19152053741813760,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804254631330168832,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48: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-09-10 11:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789021046000,"timestamp_ms":1789021046000,"timestamp_seconds":1789021046,"priority":1,"record_length":96,"hex_timestamp":"000001a089f6c4f0"} 
[2026-09-10 11:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 11:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989385728001,"66":14135,"103":206,"83":41984,"24":41,"16":19152053741813760,"45":1804254631330168832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989385728001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:48:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19152053741813760,"km_value":19152053741813.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804254631330168832,"description":"Unknown IO ID 45"} 
[2026-09-10 11:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989385728001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1804254631330168832}} 
[2026-09-10 11:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":176198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:48:34] local.INFO: GPS data processed {"connection_id":176198,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:48:34] local.INFO: Acknowledgment sent {"connection_id":176198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:48:35] local.INFO: TCP Data received {"connection_id":177616,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:48:35] local.INFO: Processing buffer {"connection_id":177616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:48:35] local.INFO: Packet analysis {"connection_id":177616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:48:35] local.INFO: Extracted packet for processing {"connection_id":177616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:48: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-09-10 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:48: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-09-10 11:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:48:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":177616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:48:35] local.INFO: GPS data processed {"connection_id":177616,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:48:35] local.INFO: Acknowledgment sent {"connection_id":177616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:49:04] local.INFO: TCP Data received {"connection_id":176198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f6d0a8012d18ea800720e5300039014927..."} 
[2026-09-10 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f6d0a8012d18ea800720e5300039014927..."} 
[2026-09-10 11:49:04] local.INFO: Processing buffer {"connection_id":176198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f6d0a8012d18ea800720e5300039014927..."} 
[2026-09-10 11:49:04] local.INFO: Packet analysis {"connection_id":176198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:49:04] local.INFO: Extracted packet for processing {"connection_id":176198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756607616,"raw_latitude":119596336,"longitude_deg":75.6607616,"latitude_deg":11.9596336,"altitude":57,"angle":329,"satellites":39,"speed":41,"hex_longitude":"2d18ea80","hex_latitude":"0720e530","is_valid_coordinates":true} 
[2026-09-10 11:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989387776001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19152204065669120,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797288125657726976,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49: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-09-10 11:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021049000,"timestamp_ms":1789021049000,"timestamp_seconds":1789021049,"priority":1,"record_length":96,"hex_timestamp":"000001a089f6d0a8"} 
[2026-09-10 11:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 11:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989387776001,"66":13396,"103":206,"83":41984,"24":41,"16":19152204065669120,"45":1797288125657726976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989387776001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:49:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19152204065669120,"km_value":19152204065669.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797288125657726976,"description":"Unknown IO ID 45"} 
[2026-09-10 11:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989387776001,"power":13396,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1797288125657726976}} 
[2026-09-10 11:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":176198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:49:05] local.INFO: GPS data processed {"connection_id":176198,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:49:05] local.INFO: Acknowledgment sent {"connection_id":176198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:49:19] local.INFO: TCP Data received {"connection_id":177618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:49:19] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:49:19] local.INFO: IMEI packet received {"connection_id":177618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":177618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:49:24] local.INFO: TCP Data received {"connection_id":177618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:49:24] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:49:24] local.INFO: IMEI packet received {"connection_id":177618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":177618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:49:25] local.INFO: TCP Data received {"connection_id":177618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:49:25] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:49:25] local.INFO: Packet analysis {"connection_id":177618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:49:25] local.INFO: Extracted packet for processing {"connection_id":177618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:49:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:49:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":177618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:49:25] local.INFO: GPS data processed {"connection_id":177618,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:49:25] local.INFO: Acknowledgment sent {"connection_id":177618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:49:27] local.INFO: TCP Data received {"connection_id":179001,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:49:27] local.INFO: Processing buffer {"connection_id":179001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:49:27] local.INFO: IMEI packet received {"connection_id":179001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":179001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:49:32] local.INFO: TCP Data received {"connection_id":179001,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:49:32] local.INFO: Processing buffer {"connection_id":179001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:49:32] local.INFO: IMEI packet received {"connection_id":179001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":179001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:49:33] local.INFO: TCP Data received {"connection_id":179001,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f6e430012d18e0000720f530003c013c27..."} 
[2026-09-10 11:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f6e430012d18e0000720f530003c013c27..."} 
[2026-09-10 11:49:33] local.INFO: Processing buffer {"connection_id":179001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f6e430012d18e0000720f530003c013c27..."} 
[2026-09-10 11:49:33] local.INFO: Packet analysis {"connection_id":179001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:49:33] local.INFO: Extracted packet for processing {"connection_id":179001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f6"} 
[2026-09-10 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756604928,"raw_latitude":119600432,"longitude_deg":75.6604928,"latitude_deg":11.9600432,"altitude":60,"angle":316,"satellites":39,"speed":37,"hex_longitude":"2d18e000","hex_latitude":"0720f530","is_valid_coordinates":true} 
[2026-09-10 11:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989388544001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19152440288870400,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795388169565581312,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021054000,"timestamp_ms":1789021054000,"timestamp_seconds":1789021054,"priority":1,"record_length":96,"hex_timestamp":"000001a089f6e430"} 
[2026-09-10 11:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 11:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989388544001,"66":14428,"103":206,"83":41984,"24":37,"16":19152440288870400,"45":1795388169565581312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 11:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989388544001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:49:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 11:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19152440288870400,"km_value":19152440288870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795388169565581312,"description":"Unknown IO ID 45"} 
[2026-09-10 11:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989388544001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1795388169565581312}} 
[2026-09-10 11:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":179001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:49:33] local.INFO: GPS data processed {"connection_id":179001,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:49:33] local.INFO: Acknowledgment sent {"connection_id":179001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:49:56] local.INFO: TCP Data received {"connection_id":177618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:49:56] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:49:56] local.INFO: Packet analysis {"connection_id":177618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:49:56] local.INFO: Extracted packet for processing {"connection_id":177618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:49:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":177618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:49:56] local.INFO: GPS data processed {"connection_id":177618,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:49:56] local.INFO: Acknowledgment sent {"connection_id":177618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:50:04] local.INFO: TCP Data received {"connection_id":179001,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f83bf0012d18bf80072156b80040014527..."} 
[2026-09-10 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f83bf0012d18bf80072156b80040014527..."} 
[2026-09-10 11:50:04] local.INFO: Processing buffer {"connection_id":179001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f83bf0012d18bf80072156b80040014527..."} 
[2026-09-10 11:50:04] local.INFO: Packet analysis {"connection_id":179001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:50:04] local.INFO: Extracted packet for processing {"connection_id":179001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756596608,"raw_latitude":119625400,"longitude_deg":75.6596608,"latitude_deg":11.96254,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d18bf80","hex_latitude":"072156b8","is_valid_coordinates":true} 
[2026-09-10 11:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989406976001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19153767433764864,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783214376830304256,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50: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-09-10 11:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021142000,"timestamp_ms":1789021142000,"timestamp_seconds":1789021142,"priority":1,"record_length":96,"hex_timestamp":"000001a089f83bf0"} 
[2026-09-10 11:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 11:50: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-09-10 11:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989406976001,"66":14265,"106":206,"83":41984,"24":0,"16":19153767433764864,"45":1783214376830304256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989406976001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:50:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19153767433764864,"km_value":19153767433764.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783214376830304256,"description":"Unknown IO ID 45"} 
[2026-09-10 11:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989406976001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1783214376830304256}} 
[2026-09-10 11:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":179001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:50:04] local.INFO: GPS data processed {"connection_id":179001,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:50:04] local.INFO: Acknowledgment sent {"connection_id":179001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:50:19] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:50:19] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:50:19] local.INFO: IMEI packet received {"connection_id":176448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":176448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:50:24] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:50:24] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:50:24] local.INFO: IMEI packet received {"connection_id":176448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":176448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:50:25] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:50:25] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f48aa0012cc1d60007572870000b01382a..."} 
[2026-09-10 11:50:25] local.INFO: Packet analysis {"connection_id":176448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:50:25] local.INFO: Extracted packet for processing {"connection_id":176448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f4"} 
[2026-09-10 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":11,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989273344001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789020900000,"timestamp_ms":1789020900000,"timestamp_seconds":1789020900,"priority":1,"record_length":96,"hex_timestamp":"000001a089f48aa0"} 
[2026-09-10 11:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 11:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989273344001,"66":26136,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989273344001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:50:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989273344001,"power":26136,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":176448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:50:25] local.INFO: GPS data processed {"connection_id":176448,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:50:25] local.INFO: Acknowledgment sent {"connection_id":176448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:50:31] local.INFO: TCP Data received {"connection_id":177619,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:31] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:31] local.INFO: IMEI packet received {"connection_id":177619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":177619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:50:32] local.INFO: TCP Data received {"connection_id":177619,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:32] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:32] local.INFO: IMEI packet received {"connection_id":177619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":177619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:50:37] local.INFO: TCP Data received {"connection_id":177619,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:37] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:50:37] local.INFO: IMEI packet received {"connection_id":177619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":177619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:50:38] local.INFO: TCP Data received {"connection_id":177619,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f88a10012d18abc0072170f00045013726..."} 
[2026-09-10 11:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f88a10012d18abc0072170f00045013726..."} 
[2026-09-10 11:50:38] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f88a10012d18abc0072170f00045013726..."} 
[2026-09-10 11:50:38] local.INFO: Packet analysis {"connection_id":177619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:50:38] local.INFO: Extracted packet for processing {"connection_id":177619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119632112,"longitude_deg":75.6591552,"latitude_deg":11.9632112,"altitude":69,"angle":311,"satellites":38,"speed":24,"hex_longitude":"2d18abc0","hex_latitude":"072170f0","is_valid_coordinates":true} 
[2026-09-10 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989412352001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19154171160690688,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783284745574463488,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50: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-09-10 11:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789021162000,"timestamp_ms":1789021162000,"timestamp_seconds":1789021162,"priority":1,"record_length":96,"hex_timestamp":"000001a089f88a10"} 
[2026-09-10 11:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:50: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-09-10 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 11:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989412352001,"66":14363,"106":206,"83":41984,"24":24,"16":19154171160690688,"45":1783284745574463488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989412352001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:50:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19154171160690688,"km_value":19154171160690.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783284745574463488,"description":"Unknown IO ID 45"} 
[2026-09-10 11:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989412352001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1783284745574463488}} 
[2026-09-10 11:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":177619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:50:38] local.INFO: GPS data processed {"connection_id":177619,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:50:38] local.INFO: Acknowledgment sent {"connection_id":177619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:50:39] local.INFO: TCP Data received {"connection_id":176199,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:50:39] local.INFO: Processing buffer {"connection_id":176199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:50:39] local.INFO: IMEI packet received {"connection_id":176199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":176199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:50:56] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:50:56] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:50:56] local.INFO: Packet analysis {"connection_id":176448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:50:56] local.INFO: Extracted packet for processing {"connection_id":176448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:50:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:50:56] 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-09-10 11:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:50:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":176448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:50:56] local.INFO: GPS data processed {"connection_id":176448,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:50:56] local.INFO: Acknowledgment sent {"connection_id":176448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:51:09] local.INFO: TCP Data received {"connection_id":177619,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f891e0012d18a740072173a80046012927..."} 
[2026-09-10 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f891e0012d18a740072173a80046012927..."} 
[2026-09-10 11:51:09] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f891e0012d18a740072173a80046012927..."} 
[2026-09-10 11:51:09] local.INFO: Packet analysis {"connection_id":177619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:51:09] local.INFO: Extracted packet for processing {"connection_id":177619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:51:09] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119632808,"longitude_deg":75.65904,"latitude_deg":11.9632808,"altitude":70,"angle":297,"satellites":39,"speed":26,"hex_longitude":"2d18a740","hex_latitude":"072173a8","is_valid_coordinates":true} 
[2026-09-10 11:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989417472001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19154235585200128,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786146304,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51: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-09-10 11:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789021164000,"timestamp_ms":1789021164000,"timestamp_seconds":1789021164,"priority":1,"record_length":96,"hex_timestamp":"000001a089f891e0"} 
[2026-09-10 11:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 11:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989417472001,"66":14374,"106":206,"83":41984,"24":26,"16":19154235585200128,"45":1777725614786146304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 11:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989417472001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:51:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 11:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19154235585200128,"km_value":19154235585200.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786146304,"description":"Unknown IO ID 45"} 
[2026-09-10 11:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989417472001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1777725614786146304}} 
[2026-09-10 11:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":177619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:51:09] local.INFO: GPS data processed {"connection_id":177619,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:51:09] local.INFO: Acknowledgment sent {"connection_id":177619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:51:19] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:51:19] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:51:19] local.INFO: IMEI packet received {"connection_id":176200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":176200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:51:24] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:51:24] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:51:24] local.INFO: IMEI packet received {"connection_id":176200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":176200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:51:25] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:51:25] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:51:25] local.INFO: Packet analysis {"connection_id":176200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:51:25] local.INFO: Extracted packet for processing {"connection_id":176200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:51:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":176200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:51:25] local.INFO: GPS data processed {"connection_id":176200,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:51:25] local.INFO: Acknowledgment sent {"connection_id":176200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:51:25] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:25] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:25] local.INFO: IMEI packet received {"connection_id":176201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":176201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:51:27] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:27] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:27] local.INFO: IMEI packet received {"connection_id":176201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":176201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:51:32] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:32] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:51:32] local.INFO: IMEI packet received {"connection_id":176201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":176201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:51:33] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f8bcd8012d188600072181000047011f25..."} 
[2026-09-10 11:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f8bcd8012d188600072181000047011f25..."} 
[2026-09-10 11:51:33] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f8bcd8012d188600072181000047011f25..."} 
[2026-09-10 11:51:33] local.INFO: Packet analysis {"connection_id":176201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:51:33] local.INFO: Extracted packet for processing {"connection_id":176201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756581888,"raw_latitude":119636224,"longitude_deg":75.6581888,"latitude_deg":11.9636224,"altitude":71,"angle":287,"satellites":37,"speed":33,"hex_longitude":"2d188600","hex_latitude":"07218100","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989417984001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19154673671864320,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977391126528,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021175000,"timestamp_ms":1789021175000,"timestamp_seconds":1789021175,"priority":1,"record_length":96,"hex_timestamp":"000001a089f8bcd8"} 
[2026-09-10 11:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 11:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989417984001,"66":13906,"105":206,"83":41984,"24":33,"16":19154673671864320,"45":1776458977391126528},"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-09-10 11:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989417984001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:51:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19154673671864320,"km_value":19154673671864.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977391126528,"description":"Unknown IO ID 45"} 
[2026-09-10 11:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989417984001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1776458977391126528}} 
[2026-09-10 11:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":176201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:51:33] local.INFO: GPS data processed {"connection_id":176201,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:51:33] local.INFO: Acknowledgment sent {"connection_id":176201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:51:56] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:51:56] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:51:56] local.INFO: Packet analysis {"connection_id":176200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:51:56] local.INFO: Extracted packet for processing {"connection_id":176200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:51:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:51:56] 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-09-10 11:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:51:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":176200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:51:56] local.INFO: GPS data processed {"connection_id":176200,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:51:56] local.INFO: Acknowledgment sent {"connection_id":176200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:52:04] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f8c4a8012d187f80072181f80047011225..."} 
[2026-09-10 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f8c4a8012d187f80072181f80047011225..."} 
[2026-09-10 11:52:04] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f8c4a8012d187f80072181f80047011225..."} 
[2026-09-10 11:52:04] local.INFO: Packet analysis {"connection_id":176201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:52:04] local.INFO: Extracted packet for processing {"connection_id":176201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756580224,"raw_latitude":119636472,"longitude_deg":75.6580224,"latitude_deg":11.9636472,"altitude":71,"angle":274,"satellites":37,"speed":33,"hex_longitude":"2d187f80","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-09-10 11:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989420800001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19154755276242944,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767099934416371712,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52: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-09-10 11:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021177000,"timestamp_ms":1789021177000,"timestamp_seconds":1789021177,"priority":1,"record_length":96,"hex_timestamp":"000001a089f8c4a8"} 
[2026-09-10 11:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 11:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989420800001,"66":13972,"105":206,"83":41984,"24":33,"16":19154755276242944,"45":1767099934416371712},"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-09-10 11:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989420800001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19154755276242944,"km_value":19154755276242.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767099934416371712,"description":"Unknown IO ID 45"} 
[2026-09-10 11:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989420800001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1767099934416371712}} 
[2026-09-10 11:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":176201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:52:04] local.INFO: GPS data processed {"connection_id":176201,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:52:04] local.INFO: Acknowledgment sent {"connection_id":176201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:52:19] local.INFO: TCP Data received {"connection_id":179002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:52:19] local.INFO: Processing buffer {"connection_id":179002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:52:19] local.INFO: IMEI packet received {"connection_id":179002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":179002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:52:24] local.INFO: TCP Data received {"connection_id":179002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:52:24] local.INFO: Processing buffer {"connection_id":179002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:52:24] local.INFO: IMEI packet received {"connection_id":179002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":179002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:52:25] local.INFO: TCP Data received {"connection_id":179002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:52:25] local.INFO: Processing buffer {"connection_id":179002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:52:25] local.INFO: Packet analysis {"connection_id":179002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:52:25] local.INFO: Extracted packet for processing {"connection_id":179002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:52:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:52:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":179002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:52:25] local.INFO: GPS data processed {"connection_id":179002,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:52:25] local.INFO: Acknowledgment sent {"connection_id":179002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:52:27] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:27] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:27] local.INFO: IMEI packet received {"connection_id":176203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":176203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:52:28] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:28] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:28] local.INFO: IMEI packet received {"connection_id":176203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":176203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:52:32] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:32] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:52:32] local.INFO: IMEI packet received {"connection_id":176203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":176203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:52:33] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089f8e3e8012d186200072183080049011e25..."} 
[2026-09-10 11:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f8e3e8012d186200072183080049011e25..."} 
[2026-09-10 11:52:33] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f8e3e8012d186200072183080049011e25..."} 
[2026-09-10 11:52:33] local.INFO: Packet analysis {"connection_id":176203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:52:33] local.INFO: Extracted packet for processing {"connection_id":176203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f8"} 
[2026-09-10 11:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756572672,"raw_latitude":119636744,"longitude_deg":75.6572672,"latitude_deg":11.9636744,"altitude":73,"angle":286,"satellites":37,"speed":38,"hex_longitude":"2d186200","hex_latitude":"07218308","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989421312001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155116053495808,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765270347067815936,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021185000,"timestamp_ms":1789021185000,"timestamp_seconds":1789021185,"priority":1,"record_length":96,"hex_timestamp":"000001a089f8e3e8"} 
[2026-09-10 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-09-10 11:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 11:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989421312001,"66":13863,"105":206,"83":41984,"24":38,"16":19155116053495808,"45":1765270347067815936},"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-09-10 11:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989421312001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:52:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155116053495808,"km_value":19155116053495.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765270347067815936,"description":"Unknown IO ID 45"} 
[2026-09-10 11:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989421312001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1765270347067815936}} 
[2026-09-10 11:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":176203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:52:33] local.INFO: GPS data processed {"connection_id":176203,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:52:33] local.INFO: Acknowledgment sent {"connection_id":176203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:52:56] local.INFO: TCP Data received {"connection_id":179002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:52:56] local.INFO: Processing buffer {"connection_id":179002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:52:56] local.INFO: Packet analysis {"connection_id":179002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:52:56] local.INFO: Extracted packet for processing {"connection_id":179002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:52:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:52:56] 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-09-10 11: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-09-10 11:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:52:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":179002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:52:56] local.INFO: GPS data processed {"connection_id":179002,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:52:56] local.INFO: Acknowledgment sent {"connection_id":179002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:53:05] local.INFO: TCP Data received {"connection_id":176203,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fb1280012d1824000721b7900049015029..."} 
[2026-09-10 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fb1280012d1824000721b7900049015029..."} 
[2026-09-10 11:53:05] local.INFO: Processing buffer {"connection_id":176203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fb1280012d1824000721b7900049015029..."} 
[2026-09-10 11:53:05] local.INFO: Packet analysis {"connection_id":176203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:53:05] local.INFO: Extracted packet for processing {"connection_id":176203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650192,"longitude_deg":75.65568,"latitude_deg":11.9650192,"altitude":73,"angle":336,"satellites":41,"speed":11,"hex_longitude":"2d182400","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-09-10 11:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989459712001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156301464469504,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446407168,"note":"Value kept but may cause issues"} 
[2026-09-10 11: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-09-10 11:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789021328000,"timestamp_ms":1789021328000,"timestamp_seconds":1789021328,"priority":1,"record_length":96,"hex_timestamp":"000001a089fb1280"} 
[2026-09-10 11:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:53: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-09-10 11:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 11:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:53: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-09-10 11:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989459712001,"66":13243,"105":206,"83":41984,"24":11,"16":19156301464469504,"45":1739585755446407168},"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-09-10 11:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989459712001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156301464469504,"km_value":19156301464469.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446407168,"description":"Unknown IO ID 45"} 
[2026-09-10 11:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989459712001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1739585755446407168}} 
[2026-09-10 11:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":176203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:53:05] local.INFO: GPS data processed {"connection_id":176203,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:53:05] local.INFO: Acknowledgment sent {"connection_id":176203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:53:24] local.INFO: TCP Data received {"connection_id":177621,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:53:24] local.INFO: Processing buffer {"connection_id":177621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:53:24] local.INFO: IMEI packet received {"connection_id":177621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":177621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:53:27] local.INFO: TCP Data received {"connection_id":177622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:27] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:27] local.INFO: IMEI packet received {"connection_id":177622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":177622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:53:29] local.INFO: TCP Data received {"connection_id":177621,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:53:29] local.INFO: Processing buffer {"connection_id":177621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:53:29] local.INFO: IMEI packet received {"connection_id":177621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":177621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:53:30] local.INFO: TCP Data received {"connection_id":177622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:30] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:30] local.INFO: IMEI packet received {"connection_id":177622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":177622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:53:30] local.INFO: TCP Data received {"connection_id":177621,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:53:30] local.INFO: Processing buffer {"connection_id":177621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:53:30] local.INFO: Packet analysis {"connection_id":177621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:53:30] local.INFO: Extracted packet for processing {"connection_id":177621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:53:30] 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-09-10 11:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:53:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":177621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:53:30] local.INFO: GPS data processed {"connection_id":177621,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:53:30] local.INFO: Acknowledgment sent {"connection_id":177621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:53:32] local.INFO: TCP Data received {"connection_id":177622,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:32] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:53:32] local.INFO: IMEI packet received {"connection_id":177622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":177622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:53:33] local.INFO: TCP Data received {"connection_id":177622,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fb1668012d1823400721b8300049013528..."} 
[2026-09-10 11:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fb1668012d1823400721b8300049013528..."} 
[2026-09-10 11:53:33] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fb1668012d1823400721b8300049013528..."} 
[2026-09-10 11:53:33] local.INFO: Packet analysis {"connection_id":177622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:53:33] local.INFO: Extracted packet for processing {"connection_id":177622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":73,"angle":309,"satellites":40,"speed":7,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989459968001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156314349371392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702303232,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021329000,"timestamp_ms":1789021329000,"timestamp_seconds":1789021329,"priority":1,"record_length":96,"hex_timestamp":"000001a089fb1668"} 
[2026-09-10 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-09-10 11:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 11:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989459968001,"66":13243,"105":206,"83":41984,"24":7,"16":19156314349371392,"45":1739515386702303232},"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-09-10 11:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989459968001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:53:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156314349371392,"km_value":19156314349371.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702303232,"description":"Unknown IO ID 45"} 
[2026-09-10 11:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989459968001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739515386702303232}} 
[2026-09-10 11:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":177622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:53:33] local.INFO: GPS data processed {"connection_id":177622,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:53:33] local.INFO: Acknowledgment sent {"connection_id":177622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:53:35] local.INFO: TCP Data received {"connection_id":177621,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:53:35] local.INFO: Processing buffer {"connection_id":177621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:53:35] local.INFO: Packet analysis {"connection_id":177621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:53:35] local.INFO: Extracted packet for processing {"connection_id":177621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:53:35] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:53: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-09-10 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:53:35] 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-09-10 11: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-09-10 11:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:53: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-09-10 11:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:53:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":177621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:53:35] local.INFO: GPS data processed {"connection_id":177621,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:53:35] local.INFO: Acknowledgment sent {"connection_id":177621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:54:04] local.INFO: TCP Data received {"connection_id":177622,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fb1a50012d1822800721b8680049011729..."} 
[2026-09-10 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fb1a50012d1822800721b8680049011729..."} 
[2026-09-10 11:54:04] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fb1a50012d1822800721b8680049011729..."} 
[2026-09-10 11:54:04] local.INFO: Packet analysis {"connection_id":177622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:54:04] local.INFO: Extracted packet for processing {"connection_id":177622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119650408,"longitude_deg":75.6556416,"latitude_deg":11.9650408,"altitude":73,"angle":279,"satellites":41,"speed":5,"hex_longitude":"2d182280","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-09-10 11:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989460224001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156322939305984,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021330000,"timestamp_ms":1789021330000,"timestamp_seconds":1789021330,"priority":1,"record_length":96,"hex_timestamp":"000001a089fb1a50"} 
[2026-09-10 11:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 11:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989460224001,"66":13276,"105":206,"83":41984,"24":5,"16":19156322939305984,"45":1739304280469811200},"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-09-10 11:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989460224001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:54:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156322939305984,"km_value":19156322939305.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-10 11:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989460224001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-10 11:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":177622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:54:04] local.INFO: GPS data processed {"connection_id":177622,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:54:04] local.INFO: Acknowledgment sent {"connection_id":177622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:54:19] local.INFO: TCP Data received {"connection_id":179003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:54:19] local.INFO: Processing buffer {"connection_id":179003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:54:19] local.INFO: IMEI packet received {"connection_id":179003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":179003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:54:24] local.INFO: TCP Data received {"connection_id":179003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:54:24] local.INFO: Processing buffer {"connection_id":179003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:54:24] local.INFO: IMEI packet received {"connection_id":179003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":179003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:54:25] local.INFO: TCP Data received {"connection_id":179003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:54:25] local.INFO: Processing buffer {"connection_id":179003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:54:25] local.INFO: Packet analysis {"connection_id":179003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:54:25] local.INFO: Extracted packet for processing {"connection_id":179003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:54:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:54:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":179003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:54:25] local.INFO: GPS data processed {"connection_id":179003,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:54:25] local.INFO: Acknowledgment sent {"connection_id":179003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:54:27] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:54:27] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:54:27] local.INFO: IMEI packet received {"connection_id":177623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":177623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:54:32] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:54:32] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:54:32] local.INFO: IMEI packet received {"connection_id":177623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":177623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:54:33] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fb6c58012d1823400721b8780049011729..."} 
[2026-09-10 11:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fb6c58012d1823400721b8780049011729..."} 
[2026-09-10 11:54:33] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fb6c58012d1823400721b8780049011729..."} 
[2026-09-10 11:54:33] local.INFO: Packet analysis {"connection_id":177623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:54:33] local.INFO: Extracted packet for processing {"connection_id":177623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989460480001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237292544,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021351000,"timestamp_ms":1789021351000,"timestamp_seconds":1789021351,"priority":1,"record_length":96,"hex_timestamp":"000001a089fb6c58"} 
[2026-09-10 11:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 11:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989460480001,"66":13276,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739093174237292544},"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-09-10 11:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989460480001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:54:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237292544,"description":"Unknown IO ID 45"} 
[2026-09-10 11:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989460480001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237292544}} 
[2026-09-10 11:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":177623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:54:33] local.INFO: GPS data processed {"connection_id":177623,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:54:33] local.INFO: Acknowledgment sent {"connection_id":177623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:54:56] local.INFO: TCP Data received {"connection_id":179003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:54:56] local.INFO: Processing buffer {"connection_id":179003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:54:56] local.INFO: Packet analysis {"connection_id":179003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:54:56] local.INFO: Extracted packet for processing {"connection_id":179003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:54:56] 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-09-10 11:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:54:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":179003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:54:56] local.INFO: GPS data processed {"connection_id":179003,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:54:56] local.INFO: Acknowledgment sent {"connection_id":179003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:55:04] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fbbe60012d1823400721b878004901172a..."} 
[2026-09-10 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fbbe60012d1823400721b878004901172a..."} 
[2026-09-10 11:55:04] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fbbe60012d1823400721b878004901172a..."} 
[2026-09-10 11:55:04] local.INFO: Packet analysis {"connection_id":177623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:55:04] local.INFO: Extracted packet for processing {"connection_id":177623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fb"} 
[2026-09-10 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989465856001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021372000,"timestamp_ms":1789021372000,"timestamp_seconds":1789021372,"priority":1,"record_length":96,"hex_timestamp":"000001a089fbbe60"} 
[2026-09-10 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-09-10 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 11:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 11:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989465856001,"66":13156,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989465856001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989465856001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":177623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:55:04] local.INFO: GPS data processed {"connection_id":177623,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:55:04] local.INFO: Acknowledgment sent {"connection_id":177623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:55:19] local.INFO: TCP Data received {"connection_id":179005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:55:19] local.INFO: Processing buffer {"connection_id":179005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:55:19] local.INFO: IMEI packet received {"connection_id":179005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":179005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:55:24] local.INFO: TCP Data received {"connection_id":179005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:55:24] local.INFO: Processing buffer {"connection_id":179005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:55:24] local.INFO: IMEI packet received {"connection_id":179005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":179005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:55:25] local.INFO: TCP Data received {"connection_id":179005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:55:25] local.INFO: Processing buffer {"connection_id":179005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089f92268012cc1d60007572870001501382b..."} 
[2026-09-10 11:55:25] local.INFO: Packet analysis {"connection_id":179005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:55:25] local.INFO: Extracted packet for processing {"connection_id":179005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089f9"} 
[2026-09-10 11:55:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989350400001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021201000,"timestamp_ms":1789021201000,"timestamp_seconds":1789021201,"priority":1,"record_length":96,"hex_timestamp":"000001a089f92268"} 
[2026-09-10 11:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 11:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989350400001,"66":26060,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989350400001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:55:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989350400001,"power":26060,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":179005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:55:25] local.INFO: GPS data processed {"connection_id":179005,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:55:25] local.INFO: Acknowledgment sent {"connection_id":179005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:55:32] local.INFO: TCP Data received {"connection_id":176204,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:55:32] local.INFO: Processing buffer {"connection_id":176204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:55:32] local.INFO: IMEI packet received {"connection_id":176204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":176204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:55:36] local.INFO: TCP Data received {"connection_id":176204,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:55:36] local.INFO: Processing buffer {"connection_id":176204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:55:36] local.INFO: IMEI packet received {"connection_id":176204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":176204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:55:37] local.INFO: TCP Data received {"connection_id":176204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fc1068012d1823400721b878004901172b..."} 
[2026-09-10 11:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fc1068012d1823400721b878004901172b..."} 
[2026-09-10 11:55:37] local.INFO: Processing buffer {"connection_id":176204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fc1068012d1823400721b878004901172b..."} 
[2026-09-10 11:55:37] local.INFO: Packet analysis {"connection_id":176204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fc"} 
[2026-09-10 11:55:37] local.INFO: Extracted packet for processing {"connection_id":176204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fc"} 
[2026-09-10 11:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989471232001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55: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-09-10 11:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789021393000,"timestamp_ms":1789021393000,"timestamp_seconds":1789021393,"priority":1,"record_length":96,"hex_timestamp":"000001a089fc1068"} 
[2026-09-10 11:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:55: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-09-10 11: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":100,"data_length":795,"current_offset":136} 
[2026-09-10 11:55: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-09-10 11:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:55: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-09-10 11:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989471232001,"66":13102,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989471232001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:55:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989471232001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":176204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:55:37] local.INFO: GPS data processed {"connection_id":176204,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:55:37] local.INFO: Acknowledgment sent {"connection_id":176204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:55:38] local.INFO: TCP Data received {"connection_id":176204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fc6270012d1823400721b878004901172c..."} 
[2026-09-10 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fc6270012d1823400721b878004901172c..."} 
[2026-09-10 11:55:38] local.INFO: Processing buffer {"connection_id":176204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fc6270012d1823400721b878004901172c..."} 
[2026-09-10 11:55:38] local.INFO: Packet analysis {"connection_id":176204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fc"} 
[2026-09-10 11:55:38] local.INFO: Extracted packet for processing {"connection_id":176204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fc"} 
[2026-09-10 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989476608001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55: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-09-10 11:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789021414000,"timestamp_ms":1789021414000,"timestamp_seconds":1789021414,"priority":1,"record_length":96,"hex_timestamp":"000001a089fc6270"} 
[2026-09-10 11:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:55: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-09-10 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 11:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989476608001,"66":13135,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989476608001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:55:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989476608001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":176204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:55:38] local.INFO: GPS data processed {"connection_id":176204,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:55:38] local.INFO: Acknowledgment sent {"connection_id":176204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:55:56] local.INFO: TCP Data received {"connection_id":179005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:55:56] local.INFO: Processing buffer {"connection_id":179005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:55:56] local.INFO: Packet analysis {"connection_id":179005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:55:56] local.INFO: Extracted packet for processing {"connection_id":179005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:55:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:55:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":179005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:55:56] local.INFO: GPS data processed {"connection_id":179005,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:55:56] local.INFO: Acknowledgment sent {"connection_id":179005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:56:09] local.INFO: TCP Data received {"connection_id":176204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fcb478012d1823400721b878004901172c..."} 
[2026-09-10 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fcb478012d1823400721b878004901172c..."} 
[2026-09-10 11:56:09] local.INFO: Processing buffer {"connection_id":176204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fcb478012d1823400721b878004901172c..."} 
[2026-09-10 11:56:09] local.INFO: Packet analysis {"connection_id":176204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fc"} 
[2026-09-10 11:56:09] local.INFO: Extracted packet for processing {"connection_id":176204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fc"} 
[2026-09-10 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989481984001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56: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-09-10 11:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789021435000,"timestamp_ms":1789021435000,"timestamp_seconds":1789021435,"priority":1,"record_length":96,"hex_timestamp":"000001a089fcb478"} 
[2026-09-10 11:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":79,"data_length":795,"current_offset":136} 
[2026-09-10 11:56: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-09-10 11:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989481984001,"66":13091,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989481984001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:56:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989481984001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":176204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:56:09] local.INFO: GPS data processed {"connection_id":176204,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:56:09] local.INFO: Acknowledgment sent {"connection_id":176204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:56:19] local.INFO: TCP Data received {"connection_id":179006,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:56:19] local.INFO: Processing buffer {"connection_id":179006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:56:19] local.INFO: IMEI packet received {"connection_id":179006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":179006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:56:24] local.INFO: TCP Data received {"connection_id":179006,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:56:24] local.INFO: Processing buffer {"connection_id":179006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:56:24] local.INFO: IMEI packet received {"connection_id":179006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":179006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:56:25] local.INFO: TCP Data received {"connection_id":179006,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:56:25] local.INFO: Processing buffer {"connection_id":179006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:56:25] local.INFO: Packet analysis {"connection_id":179006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:56:25] local.INFO: Extracted packet for processing {"connection_id":179006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:56:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:56:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":179006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:56:25] local.INFO: GPS data processed {"connection_id":179006,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:56:25] local.INFO: Acknowledgment sent {"connection_id":179006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:56:27] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:56:27] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:56:27] local.INFO: IMEI packet received {"connection_id":176205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":176205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:56:32] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:56:32] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:56:32] local.INFO: IMEI packet received {"connection_id":176205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":176205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:56:33] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fd0680012d1823400721b878004901172c..."} 
[2026-09-10 11:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fd0680012d1823400721b878004901172c..."} 
[2026-09-10 11:56:33] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fd0680012d1823400721b878004901172c..."} 
[2026-09-10 11:56:33] local.INFO: Packet analysis {"connection_id":176205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:56:33] local.INFO: Extracted packet for processing {"connection_id":176205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989487360001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021456000,"timestamp_ms":1789021456000,"timestamp_seconds":1789021456,"priority":1,"record_length":96,"hex_timestamp":"000001a089fd0680"} 
[2026-09-10 11:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 11:56: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-09-10 11: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-09-10 11:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989487360001,"66":13048,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989487360001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:56:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989487360001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":176205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:56:33] local.INFO: GPS data processed {"connection_id":176205,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:56:33] local.INFO: Acknowledgment sent {"connection_id":176205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:56:44] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:56:44] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 11:56:44] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 11:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:56:56] local.INFO: TCP Data received {"connection_id":179006,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:56:56] local.INFO: Processing buffer {"connection_id":179006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:56:56] local.INFO: Packet analysis {"connection_id":179006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:56:56] local.INFO: Extracted packet for processing {"connection_id":179006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:56:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:56:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":179006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:56:56] local.INFO: GPS data processed {"connection_id":179006,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:56:56] local.INFO: Acknowledgment sent {"connection_id":179006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:57:04] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fd5888012d1823400721b878004901172b..."} 
[2026-09-10 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fd5888012d1823400721b878004901172b..."} 
[2026-09-10 11:57:04] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fd5888012d1823400721b878004901172b..."} 
[2026-09-10 11:57:04] local.INFO: Packet analysis {"connection_id":176205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:04] local.INFO: Extracted packet for processing {"connection_id":176205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989492736001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57: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-09-10 11:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021477000,"timestamp_ms":1789021477000,"timestamp_seconds":1789021477,"priority":1,"record_length":96,"hex_timestamp":"000001a089fd5888"} 
[2026-09-10 11:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-10 11:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989492736001,"66":12993,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989492736001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:57:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989492736001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":176205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:57:04] local.INFO: GPS data processed {"connection_id":176205,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:57:04] local.INFO: Acknowledgment sent {"connection_id":176205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:57:24] local.INFO: TCP Data received {"connection_id":177624,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:57:24] local.INFO: Processing buffer {"connection_id":177624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:57:24] local.INFO: IMEI packet received {"connection_id":177624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":177624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:57:27] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:57:27] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:57:27] local.INFO: IMEI packet received {"connection_id":177625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":177625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:57:29] local.INFO: TCP Data received {"connection_id":177624,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:57:29] local.INFO: Processing buffer {"connection_id":177624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:57:29] local.INFO: IMEI packet received {"connection_id":177624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":177624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:57:30] local.INFO: TCP Data received {"connection_id":177624,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:57:30] local.INFO: Processing buffer {"connection_id":177624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:57:30] local.INFO: Packet analysis {"connection_id":177624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:30] local.INFO: Extracted packet for processing {"connection_id":177624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:57:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":177624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:57:30] local.INFO: GPS data processed {"connection_id":177624,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:57:30] local.INFO: Acknowledgment sent {"connection_id":177624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:57:32] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:57:32] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:57:32] local.INFO: IMEI packet received {"connection_id":177625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":177625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:57:33] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdaa90012d1823400721b878004901172a..."} 
[2026-09-10 11:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdaa90012d1823400721b878004901172a..."} 
[2026-09-10 11:57:33] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdaa90012d1823400721b878004901172a..."} 
[2026-09-10 11:57:33] local.INFO: Packet analysis {"connection_id":177625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:33] local.INFO: Extracted packet for processing {"connection_id":177625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989498112001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021498000,"timestamp_ms":1789021498000,"timestamp_seconds":1789021498,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdaa90"} 
[2026-09-10 11:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-10 11:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989498112001,"66":12982,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989498112001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:57:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989498112001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":177625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:57:33] local.INFO: GPS data processed {"connection_id":177625,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:57:33] local.INFO: Acknowledgment sent {"connection_id":177625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:57:35] local.INFO: TCP Data received {"connection_id":177624,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:57:35] local.INFO: Processing buffer {"connection_id":177624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:57:35] local.INFO: Packet analysis {"connection_id":177624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:35] local.INFO: Extracted packet for processing {"connection_id":177624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:57:35] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:57: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-09-10 11:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:57:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:57:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":177624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:57:35] local.INFO: GPS data processed {"connection_id":177624,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:57:35] local.INFO: Acknowledgment sent {"connection_id":177624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:58:04] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdfc98012d1823400721b878004901172c..."} 
[2026-09-10 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdfc98012d1823400721b878004901172c..."} 
[2026-09-10 11:58:04] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdfc98012d1823400721b878004901172c..."} 
[2026-09-10 11:58:04] local.INFO: Packet analysis {"connection_id":177625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:58:04] local.INFO: Extracted packet for processing {"connection_id":177625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650424,"longitude_deg":75.6556608,"latitude_deg":11.9650424,"altitude":73,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-09-10 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989503488001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156353004077056,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58: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-09-10 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021519000,"timestamp_ms":1789021519000,"timestamp_seconds":1789021519,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdfc98"} 
[2026-09-10 11:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-10 11:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989503488001,"66":12993,"105":206,"83":41984,"24":0,"16":19156353004077056,"45":1739304280469829632},"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-09-10 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989503488001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:58:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156353004077056,"km_value":19156353004077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989503488001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":177625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:58:04] local.INFO: GPS data processed {"connection_id":177625,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:58:04] local.INFO: Acknowledgment sent {"connection_id":177625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:58:19] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:58:19] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:58:19] local.INFO: IMEI packet received {"connection_id":176207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":176207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:58:24] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:58:24] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:58:24] local.INFO: IMEI packet received {"connection_id":176207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:58:25] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:58:25] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:58:25] local.INFO: Packet analysis {"connection_id":176207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:58:25] local.INFO: Extracted packet for processing {"connection_id":176207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:58:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:58:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:58:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":176207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:58:25] local.INFO: GPS data processed {"connection_id":176207,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:58:25] local.INFO: Acknowledgment sent {"connection_id":176207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:58:27] local.INFO: TCP Data received {"connection_id":179007,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:58:27] local.INFO: Processing buffer {"connection_id":179007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:58:27] local.INFO: IMEI packet received {"connection_id":179007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":179007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:58:32] local.INFO: TCP Data received {"connection_id":179007,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:58:32] local.INFO: Processing buffer {"connection_id":179007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:58:32] local.INFO: IMEI packet received {"connection_id":179007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":179007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:58:33] local.INFO: TCP Data received {"connection_id":179007,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fe4ea0012d1823000721b6f0004601172c..."} 
[2026-09-10 11:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fe4ea0012d1823000721b6f0004601172c..."} 
[2026-09-10 11:58:33] local.INFO: Processing buffer {"connection_id":179007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fe4ea0012d1823000721b6f0004601172c..."} 
[2026-09-10 11:58:33] local.INFO: Packet analysis {"connection_id":179007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fe"} 
[2026-09-10 11:58:33] local.INFO: Extracted packet for processing {"connection_id":179007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fe"} 
[2026-09-10 11:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":70,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989508864001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156374478913536,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469829632,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021540000,"timestamp_ms":1789021540000,"timestamp_seconds":1789021540,"priority":1,"record_length":96,"hex_timestamp":"000001a089fe4ea0"} 
[2026-09-10 11:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-10 11:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989508864001,"66":12917,"105":206,"83":41984,"24":0,"16":19156374478913536,"45":1739304280469829632},"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-09-10 11:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989508864001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:58:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156374478913536,"km_value":19156374478913.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469829632,"description":"Unknown IO ID 45"} 
[2026-09-10 11:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989508864001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469829632}} 
[2026-09-10 11:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":179007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:58:33] local.INFO: GPS data processed {"connection_id":179007,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:58:33] local.INFO: Acknowledgment sent {"connection_id":179007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:58:56] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:58:56] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:58:56] local.INFO: Packet analysis {"connection_id":176207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:58:56] local.INFO: Extracted packet for processing {"connection_id":176207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11: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-09-10 11:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11: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-09-10 11:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:58:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":176207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:58:56] local.INFO: GPS data processed {"connection_id":176207,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:58:56] local.INFO: Acknowledgment sent {"connection_id":176207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:59:04] local.INFO: TCP Data received {"connection_id":179007,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fea0a8012d1823000721b6e8004601172c..."} 
[2026-09-10 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fea0a8012d1823000721b6e8004601172c..."} 
[2026-09-10 11:59:04] local.INFO: Processing buffer {"connection_id":179007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fea0a8012d1823000721b6e8004601172c..."} 
[2026-09-10 11:59:04] local.INFO: Packet analysis {"connection_id":179007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fe"} 
[2026-09-10 11:59:04] local.INFO: Extracted packet for processing {"connection_id":179007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fe"} 
[2026-09-10 11:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650024,"longitude_deg":75.6556544,"latitude_deg":11.9650024,"altitude":70,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-09-10 11:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989514240001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156374478913536,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021561000,"timestamp_ms":1789021561000,"timestamp_seconds":1789021561,"priority":1,"record_length":96,"hex_timestamp":"000001a089fea0a8"} 
[2026-09-10 11:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 11: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 11:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989514240001,"66":12950,"105":206,"83":41984,"24":0,"16":19156374478913536,"45":1739233911725551616},"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-09-10 11:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989514240001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:59:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156374478913536,"km_value":19156374478913.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-09-10 11:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989514240001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-09-10 11:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":179007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:59:05] local.INFO: GPS data processed {"connection_id":179007,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:59:05] local.INFO: Acknowledgment sent {"connection_id":179007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:59:19] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:59:19] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:59:19] local.INFO: IMEI packet received {"connection_id":176208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 11:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":176208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:59:24] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:59:24] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 11:59:24] local.INFO: IMEI packet received {"connection_id":176208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 11:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":176208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:59:25] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:59:25] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:59:25] local.INFO: Packet analysis {"connection_id":176208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:59:25] local.INFO: Extracted packet for processing {"connection_id":176208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:59:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:59:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":176208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:59:25] local.INFO: GPS data processed {"connection_id":176208,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:59:25] local.INFO: Acknowledgment sent {"connection_id":176208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:59:27] local.INFO: TCP Data received {"connection_id":177626,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:27] local.INFO: Processing buffer {"connection_id":177626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:27] local.INFO: IMEI packet received {"connection_id":177626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 11:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":177626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 11:59:27] local.INFO: TCP Data received {"connection_id":177626,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:27] local.INFO: Processing buffer {"connection_id":177626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:27] local.INFO: IMEI packet received {"connection_id":177626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":177626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:59:32] local.INFO: TCP Data received {"connection_id":177626,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:32] local.INFO: Processing buffer {"connection_id":177626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 11:59:32] local.INFO: IMEI packet received {"connection_id":177626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 11:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":177626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 11:59:33] local.INFO: TCP Data received {"connection_id":177626,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089fef2b0012d1822800721b580004701172b..."} 
[2026-09-10 11:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fef2b0012d1822800721b580004701172b..."} 
[2026-09-10 11:59:33] local.INFO: Processing buffer {"connection_id":177626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fef2b0012d1822800721b580004701172b..."} 
[2026-09-10 11:59:33] local.INFO: Packet analysis {"connection_id":177626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fe"} 
[2026-09-10 11:59:33] local.INFO: Extracted packet for processing {"connection_id":177626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fe"} 
[2026-09-10 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 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-09-10 11:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989519616001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725549568,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021582000,"timestamp_ms":1789021582000,"timestamp_seconds":1789021582,"priority":1,"record_length":96,"hex_timestamp":"000001a089fef2b0"} 
[2026-09-10 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-09-10 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 11:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 11:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 11:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 11:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 11:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989519616001,"66":12928,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739233911725549568},"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-09-10 11:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 11:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 11:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989519616001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:59:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 11:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 11:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725549568,"description":"Unknown IO ID 45"} 
[2026-09-10 11:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989519616001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725549568}} 
[2026-09-10 11:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":177626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:59:33] local.INFO: GPS data processed {"connection_id":177626,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:59:33] local.INFO: Acknowledgment sent {"connection_id":177626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 11:59:56] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:59:56] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 11:59:56] local.INFO: Packet analysis {"connection_id":176208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:59:56] local.INFO: Extracted packet for processing {"connection_id":176208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 11:59:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 11:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 11:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 11:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 11:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 11:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 11:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 11: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 11:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 11:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 11:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 11:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 11:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 11:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 11:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 11:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 11:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 11:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 11:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 11:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 11:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 11:59:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 11:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 11:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 11:59:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 11:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 11:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":176208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 11:59:56] local.INFO: GPS data processed {"connection_id":176208,"processed":1,"errors":0,"total":1} 
[2026-09-10 11:59:56] local.INFO: Acknowledgment sent {"connection_id":176208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:00:04] local.INFO: TCP Data received {"connection_id":177626,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ff44b8012d1822800721b580004701172c..."} 
[2026-09-10 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ff44b8012d1822800721b580004701172c..."} 
[2026-09-10 12:00:04] local.INFO: Processing buffer {"connection_id":177626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ff44b8012d1822800721b580004701172c..."} 
[2026-09-10 12:00:04] local.INFO: Packet analysis {"connection_id":177626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ff"} 
[2026-09-10 12:00:04] local.INFO: Extracted packet for processing {"connection_id":177626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ff"} 
[2026-09-10 12:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989524992001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021603000,"timestamp_ms":1789021603000,"timestamp_seconds":1789021603,"priority":1,"record_length":96,"hex_timestamp":"000001a089ff44b8"} 
[2026-09-10 12:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-10 12:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989524992001,"66":12917,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989524992001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:00:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989524992001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":177626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:00:04] local.INFO: GPS data processed {"connection_id":177626,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:00:04] local.INFO: Acknowledgment sent {"connection_id":177626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:00:19] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:00:19] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:00:19] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:00:24] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:00:24] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:00:24] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:00:25] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 12:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 12:00:25] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089fdba30012cc1d600075728700015013828..."} 
[2026-09-10 12:00:25] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 12:00:25] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089fd"} 
[2026-09-10 12:00:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":21,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 12:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021502000,"timestamp_ms":1789021502000,"timestamp_seconds":1789021502,"priority":1,"record_length":96,"hex_timestamp":"000001a089fdba30"} 
[2026-09-10 12:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 12:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 12:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989427456001,"66":26028,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 12:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:00:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 12:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989427456001,"power":26028,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 12:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:00:25] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:00:25] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:00:27] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:27] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:27] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:00:30] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:30] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:30] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:00:32] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:32] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:00:32] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:00:33] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ff96c0012d1822800721b580004701172c..."} 
[2026-09-10 12:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ff96c0012d1822800721b580004701172c..."} 
[2026-09-10 12:00:33] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ff96c0012d1822800721b580004701172c..."} 
[2026-09-10 12:00:33] local.INFO: Packet analysis {"connection_id":176452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ff"} 
[2026-09-10 12:00:33] local.INFO: Extracted packet for processing {"connection_id":176452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ff"} 
[2026-09-10 12:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989530368001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021624000,"timestamp_ms":1789021624000,"timestamp_seconds":1789021624,"priority":1,"record_length":96,"hex_timestamp":"000001a089ff96c0"} 
[2026-09-10 12:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 12:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989530368001,"66":12885,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989530368001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:00:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989530368001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":176452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:00:33] local.INFO: GPS data processed {"connection_id":176452,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:00:33] local.INFO: Acknowledgment sent {"connection_id":176452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:00:56] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:00:56] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:00:56] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:00:56] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":26,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 12:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989504512001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021803000,"timestamp_ms":1789021803000,"timestamp_seconds":1789021803,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0251f8"} 
[2026-09-10 12:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 12:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 12:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989504512001,"66":25995,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 12:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989504512001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:00:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 12:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:00:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989504512001,"power":25995,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 12:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:00:56] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:00:56] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:01:04] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a089ffe8c8012d1822800721b580004701172b..."} 
[2026-09-10 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a089ffe8c8012d1822800721b580004701172b..."} 
[2026-09-10 12:01:04] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a089ffe8c8012d1822800721b580004701172b..."} 
[2026-09-10 12:01:04] local.INFO: Packet analysis {"connection_id":176452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a089ff"} 
[2026-09-10 12:01:04] local.INFO: Extracted packet for processing {"connection_id":176452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a089ff"} 
[2026-09-10 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989535744001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021645000,"timestamp_ms":1789021645000,"timestamp_seconds":1789021645,"priority":1,"record_length":96,"hex_timestamp":"000001a089ffe8c8"} 
[2026-09-10 12:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 12:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989535744001,"66":12874,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989535744001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:01:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989535744001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":176452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:01:04] local.INFO: GPS data processed {"connection_id":176452,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:01:04] local.INFO: Acknowledgment sent {"connection_id":176452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:01:19] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:01:19] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:01:19] local.INFO: IMEI packet received {"connection_id":177627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":177627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:01:24] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:01:24] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:01:24] local.INFO: IMEI packet received {"connection_id":177627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":177627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:01:25] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:01:25] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:01:25] local.INFO: Packet analysis {"connection_id":177627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:01:25] local.INFO: Extracted packet for processing {"connection_id":177627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:01:25] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":26,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989504512001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789021803000,"timestamp_ms":1789021803000,"timestamp_seconds":1789021803,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0251f8"} 
[2026-09-10 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-09-10 12:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 12:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989504512001,"66":25995,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 12:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989504512001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:01:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 12:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989504512001,"power":25995,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 12:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":177627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:01:25] local.INFO: GPS data processed {"connection_id":177627,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:01:25] local.INFO: Acknowledgment sent {"connection_id":177627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:01:32] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:01:32] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:01:32] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:01:33] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:01:33] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:01:33] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:01:34] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a003ad0012d1822800721b580004701172c..."} 
[2026-09-10 12:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a003ad0012d1822800721b580004701172c..."} 
[2026-09-10 12:01:34] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a003ad0012d1822800721b580004701172c..."} 
[2026-09-10 12:01:34] local.INFO: Packet analysis {"connection_id":176211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a00"} 
[2026-09-10 12:01:34] local.INFO: Extracted packet for processing {"connection_id":176211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a00"} 
[2026-09-10 12:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989541120001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789021666000,"timestamp_ms":1789021666000,"timestamp_seconds":1789021666,"priority":1,"record_length":96,"hex_timestamp":"000001a08a003ad0"} 
[2026-09-10 12:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 12:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989541120001,"66":12863,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989541120001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:01:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989541120001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":176211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:01:34] local.INFO: GPS data processed {"connection_id":176211,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:01:34] local.INFO: Acknowledgment sent {"connection_id":176211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:01:38] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a008cd8012d1822800721b580004701172c..."} 
[2026-09-10 12:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a008cd8012d1822800721b580004701172c..."} 
[2026-09-10 12:01:38] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a008cd8012d1822800721b580004701172c..."} 
[2026-09-10 12:01:38] local.INFO: Packet analysis {"connection_id":176211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a00"} 
[2026-09-10 12:01:38] local.INFO: Extracted packet for processing {"connection_id":176211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a00"} 
[2026-09-10 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989546496001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01: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-09-10 12:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789021687000,"timestamp_ms":1789021687000,"timestamp_seconds":1789021687,"priority":1,"record_length":96,"hex_timestamp":"000001a08a008cd8"} 
[2026-09-10 12:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:01: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-09-10 12:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 12:01: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-09-10 12:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989546496001,"66":12841,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989546496001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989546496001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":176211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:01:38] local.INFO: GPS data processed {"connection_id":176211,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:01:38] local.INFO: Acknowledgment sent {"connection_id":176211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:01:56] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:01:56] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0251f8012cc1d60007572870001a013829..."} 
[2026-09-10 12:01:56] local.INFO: Packet analysis {"connection_id":177627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:01:56] local.INFO: Extracted packet for processing {"connection_id":177627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:01:56] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":26,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 12:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989504512001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789021803000,"timestamp_ms":1789021803000,"timestamp_seconds":1789021803,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0251f8"} 
[2026-09-10 12:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 12: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 12:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989504512001,"66":25995,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 12:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989504512001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:01:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 12:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:01:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989504512001,"power":25995,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 12:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":177627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:01:56] local.INFO: GPS data processed {"connection_id":177627,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:01:56] local.INFO: Acknowledgment sent {"connection_id":177627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:02:09] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a00dee0012d1822800721b5800047011729..."} 
[2026-09-10 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a00dee0012d1822800721b5800047011729..."} 
[2026-09-10 12:02:09] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a00dee0012d1822800721b5800047011729..."} 
[2026-09-10 12:02:09] local.INFO: Packet analysis {"connection_id":176211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a00"} 
[2026-09-10 12:02:09] local.INFO: Extracted packet for processing {"connection_id":176211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a00"} 
[2026-09-10 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989551872001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02: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-09-10 12:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789021708000,"timestamp_ms":1789021708000,"timestamp_seconds":1789021708,"priority":1,"record_length":96,"hex_timestamp":"000001a08a00dee0"} 
[2026-09-10 12:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 12:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989551872001,"66":12743,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989551872001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989551872001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":176211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:02:09] local.INFO: GPS data processed {"connection_id":176211,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:02:09] local.INFO: Acknowledgment sent {"connection_id":176211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:02:21] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:21] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:21] local.INFO: IMEI packet received {"connection_id":176453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":176453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:02:24] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:24] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:24] local.INFO: IMEI packet received {"connection_id":176453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":176453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:02:25] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:25] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:02:25] local.INFO: IMEI packet received {"connection_id":176453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":176453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:02:26] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a03d4b0012cc1d60007572870001a013828..."} 
[2026-09-10 12:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a03d4b0012cc1d60007572870001a013828..."} 
[2026-09-10 12:02:26] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a03d4b0012cc1d60007572870001a013828..."} 
[2026-09-10 12:02:26] local.INFO: Packet analysis {"connection_id":176453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a03"} 
[2026-09-10 12:02:26] local.INFO: Extracted packet for processing {"connection_id":176453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a03"} 
[2026-09-10 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":750900736,"raw_latitude":123152496,"longitude_deg":75.0900736,"latitude_deg":12.3152496,"altitude":26,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2cc1d600","hex_latitude":"07572870","is_valid_coordinates":true} 
[2026-09-10 12:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989581568001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789021902000,"timestamp_ms":1789021902000,"timestamp_seconds":1789021902,"priority":1,"record_length":96,"hex_timestamp":"000001a08a03d4b0"} 
[2026-09-10 12:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 12:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989581568001,"66":25941,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 12:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989581568001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:02:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 12:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989581568001,"power":25941,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 12:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":176453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:02:26] local.INFO: GPS data processed {"connection_id":176453,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:02:26] local.INFO: Acknowledgment sent {"connection_id":176453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:02:27] local.INFO: TCP Data received {"connection_id":179008,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:02:27] local.INFO: Processing buffer {"connection_id":179008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:02:27] local.INFO: IMEI packet received {"connection_id":179008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":179008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:02:32] local.INFO: TCP Data received {"connection_id":179008,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:02:32] local.INFO: Processing buffer {"connection_id":179008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:02:32] local.INFO: IMEI packet received {"connection_id":179008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":179008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:02:33] local.INFO: TCP Data received {"connection_id":179008,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0130e8012d1822800721b5800047011729..."} 
[2026-09-10 12:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0130e8012d1822800721b5800047011729..."} 
[2026-09-10 12:02:33] local.INFO: Processing buffer {"connection_id":179008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0130e8012d1822800721b5800047011729..."} 
[2026-09-10 12:02:33] local.INFO: Packet analysis {"connection_id":179008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a01"} 
[2026-09-10 12:02:33] local.INFO: Extracted packet for processing {"connection_id":179008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a01"} 
[2026-09-10 12:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989557248001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021729000,"timestamp_ms":1789021729000,"timestamp_seconds":1789021729,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0130e8"} 
[2026-09-10 12:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 12:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989557248001,"66":12558,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989557248001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:02:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989557248001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":179008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:02:33] local.INFO: GPS data processed {"connection_id":179008,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:02:33] local.INFO: Acknowledgment sent {"connection_id":179008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:02:35] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a03e838012cc1db00075734b8001a010c29..."} 
[2026-09-10 12:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a03e838012cc1db00075734b8001a010c29..."} 
[2026-09-10 12:02:35] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a03e838012cc1db00075734b8001a010c29..."} 
[2026-09-10 12:02:35] local.INFO: Packet analysis {"connection_id":176453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a03"} 
[2026-09-10 12:02:35] local.INFO: Extracted packet for processing {"connection_id":176453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a03"} 
[2026-09-10 12:02:35] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123155640,"longitude_deg":75.0902016,"latitude_deg":12.315564,"altitude":26,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2cc1db00","hex_latitude":"075734b8","is_valid_coordinates":true} 
[2026-09-10 12:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989606912001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789021907000,"timestamp_ms":1789021907000,"timestamp_seconds":1789021907,"priority":1,"record_length":96,"hex_timestamp":"000001a08a03e838"} 
[2026-09-10 12:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 12:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989606912001,"66":27745,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 12:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989606912001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:02:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 12:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989606912001,"power":27745,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 12:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":176453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:02:35] local.INFO: GPS data processed {"connection_id":176453,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:02:35] local.INFO: Acknowledgment sent {"connection_id":176453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:02:37] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a03e838012cc1db00075734b8001a010c29..."} 
[2026-09-10 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a03e838012cc1db00075734b8001a010c29..."} 
[2026-09-10 12:02:37] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a03e838012cc1db00075734b8001a010c29..."} 
[2026-09-10 12:02:37] local.INFO: Packet analysis {"connection_id":176453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a03"} 
[2026-09-10 12:02:37] local.INFO: Extracted packet for processing {"connection_id":176453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a03"} 
[2026-09-10 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123155640,"longitude_deg":75.0902016,"latitude_deg":12.315564,"altitude":26,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2cc1db00","hex_latitude":"075734b8","is_valid_coordinates":true} 
[2026-09-10 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989606912001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403916664594235392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479392747846340608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789021907000,"timestamp_ms":1789021907000,"timestamp_seconds":1789021907,"priority":1,"record_length":96,"hex_timestamp":"000001a08a03e838"} 
[2026-09-10 12:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 12:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989606912001,"66":27745,"104":206,"85":37120,"24":0,"16":403916664594235392,"44":-4479392747846340608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,44]} 
[2026-09-10 12:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989606912001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:02:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 12:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403916664594235392,"km_value":403916664594235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479392747846340608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989606912001,"power":27745,"unknown_104":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4479392747846340608}} 
[2026-09-10 12:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":176453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:02:37] local.INFO: GPS data processed {"connection_id":176453,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:02:37] local.INFO: Acknowledgment sent {"connection_id":176453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:03:04] local.INFO: TCP Data received {"connection_id":179008,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0182f0012d1822800721b580004701172b..."} 
[2026-09-10 12:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0182f0012d1822800721b580004701172b..."} 
[2026-09-10 12:03:04] local.INFO: Processing buffer {"connection_id":179008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0182f0012d1822800721b580004701172b..."} 
[2026-09-10 12:03:04] local.INFO: Packet analysis {"connection_id":179008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a01"} 
[2026-09-10 12:03:04] local.INFO: Extracted packet for processing {"connection_id":179008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a01"} 
[2026-09-10 12:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989562624001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03: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-09-10 12:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021750000,"timestamp_ms":1789021750000,"timestamp_seconds":1789021750,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0182f0"} 
[2026-09-10 12:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2315207864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385064418620800,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":137,"raw_value":4293445633,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3045064775,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,14,160,222,45,128,181,71,41,10,66,140,44,58,1,240,63,227,137,33,4,113,205,150,34,239,50,2,68,7,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 12:03:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116396116530692096,"timestamp_seconds":5116396116530692.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989562624001,"66":12798,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989562624001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:03:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989562624001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":179008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:03:04] local.INFO: GPS data processed {"connection_id":179008,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:03:04] local.INFO: Acknowledgment sent {"connection_id":179008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:03:19] local.INFO: TCP Data received {"connection_id":176454,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:03:19] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:03:19] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:03:27] local.INFO: TCP Data received {"connection_id":177628,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:03:27] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:03:27] local.INFO: IMEI packet received {"connection_id":177628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":177628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:03:28] local.INFO: TCP Data received {"connection_id":176454,"ip":"42.106.6.23","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:03:28] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:03:28] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:03:32] local.INFO: TCP Data received {"connection_id":177628,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:03:32] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:03:32] local.INFO: IMEI packet received {"connection_id":177628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":177628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:03:33] local.INFO: TCP Data received {"connection_id":177628,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a01d4f8012d1822800721b580004701172b..."} 
[2026-09-10 12:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a01d4f8012d1822800721b580004701172b..."} 
[2026-09-10 12:03:33] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a01d4f8012d1822800721b580004701172b..."} 
[2026-09-10 12:03:33] local.INFO: Packet analysis {"connection_id":177628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a01"} 
[2026-09-10 12:03:33] local.INFO: Extracted packet for processing {"connection_id":177628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a01"} 
[2026-09-10 12:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989568000001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021771000,"timestamp_ms":1789021771000,"timestamp_seconds":1789021771,"priority":1,"record_length":96,"hex_timestamp":"000001a08a01d4f8"} 
[2026-09-10 12:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 12:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989568000001,"66":12765,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989568000001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:03:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989568000001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":177628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:03:33] local.INFO: GPS data processed {"connection_id":177628,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:03:33] local.INFO: Acknowledgment sent {"connection_id":177628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:04:04] local.INFO: TCP Data received {"connection_id":177628,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a022700012d1822800721b580004701172c..."} 
[2026-09-10 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a022700012d1822800721b580004701172c..."} 
[2026-09-10 12:04:04] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a022700012d1822800721b580004701172c..."} 
[2026-09-10 12:04:04] local.INFO: Packet analysis {"connection_id":177628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:04:04] local.INFO: Extracted packet for processing {"connection_id":177628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989573376001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021792000,"timestamp_ms":1789021792000,"timestamp_seconds":1789021792,"priority":1,"record_length":96,"hex_timestamp":"000001a08a022700"} 
[2026-09-10 12:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 12:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989573376001,"66":12743,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989573376001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989573376001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":177628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:04:04] local.INFO: GPS data processed {"connection_id":177628,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:04:04] local.INFO: Acknowledgment sent {"connection_id":177628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:04:27] local.INFO: TCP Data received {"connection_id":177629,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:04:27] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:04:27] local.INFO: IMEI packet received {"connection_id":177629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":177629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:04:32] local.INFO: TCP Data received {"connection_id":177629,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:04:32] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:04:32] local.INFO: IMEI packet received {"connection_id":177629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":177629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:04:33] local.INFO: TCP Data received {"connection_id":177629,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a027908012d1822800721b580004701172c..."} 
[2026-09-10 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a027908012d1822800721b580004701172c..."} 
[2026-09-10 12:04:33] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a027908012d1822800721b580004701172c..."} 
[2026-09-10 12:04:33] local.INFO: Packet analysis {"connection_id":177629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:04:33] local.INFO: Extracted packet for processing {"connection_id":177629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989578752001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789021813000,"timestamp_ms":1789021813000,"timestamp_seconds":1789021813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a027908"} 
[2026-09-10 12:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 12:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989578752001,"66":12743,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989578752001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:04:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989578752001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":177629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:04:33] local.INFO: GPS data processed {"connection_id":177629,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:04:33] local.INFO: Acknowledgment sent {"connection_id":177629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:05:04] local.INFO: TCP Data received {"connection_id":177629,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a02cb10012d1822800721b580004701172d..."} 
[2026-09-10 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a02cb10012d1822800721b580004701172d..."} 
[2026-09-10 12:05:04] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a02cb10012d1822800721b580004701172d..."} 
[2026-09-10 12:05:04] local.INFO: Packet analysis {"connection_id":177629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:05:04] local.INFO: Extracted packet for processing {"connection_id":177629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a02"} 
[2026-09-10 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649664,"longitude_deg":75.6556416,"latitude_deg":11.9649664,"altitude":71,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 12:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989584128001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156404543684608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237102080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789021834000,"timestamp_ms":1789021834000,"timestamp_seconds":1789021834,"priority":1,"record_length":96,"hex_timestamp":"000001a08a02cb10"} 
[2026-09-10 12:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 12:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989584128001,"66":12722,"105":206,"83":41984,"24":0,"16":19156404543684608,"45":1739093174237102080},"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-09-10 12:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989584128001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156404543684608,"km_value":19156404543684.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237102080,"description":"Unknown IO ID 45"} 
[2026-09-10 12:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989584128001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237102080}} 
[2026-09-10 12:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":177629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:05:04] local.INFO: GPS data processed {"connection_id":177629,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:05:04] local.INFO: Acknowledgment sent {"connection_id":177629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:05:27] local.INFO: TCP Data received {"connection_id":179009,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:05:27] local.INFO: Processing buffer {"connection_id":179009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:05:27] local.INFO: IMEI packet received {"connection_id":179009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":179009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:05:32] local.INFO: TCP Data received {"connection_id":179009,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:05:32] local.INFO: Processing buffer {"connection_id":179009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:05:32] local.INFO: IMEI packet received {"connection_id":179009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":179009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:05:33] local.INFO: TCP Data received {"connection_id":179009,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a060348012d1820000721b160004a00d129..."} 
[2026-09-10 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a060348012d1820000721b160004a00d129..."} 
[2026-09-10 12:05:33] local.INFO: Processing buffer {"connection_id":179009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a060348012d1820000721b160004a00d129..."} 
[2026-09-10 12:05:33] local.INFO: Packet analysis {"connection_id":179009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:05:33] local.INFO: Extracted packet for processing {"connection_id":179009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":74,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989638144001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156464673226752,"note":"Value kept but may cause issues"} 
[2026-09-10 12:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-10 12:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022045000,"timestamp_ms":1789022045000,"timestamp_seconds":1789022045,"priority":1,"record_length":96,"hex_timestamp":"000001a08a060348"} 
[2026-09-10 12:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 12:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989638144001,"66":12591,"105":206,"83":41984,"24":0,"16":19156464673226752,"45":1738389486795055104},"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-09-10 12:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989638144001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156464673226752,"km_value":19156464673226.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-10 12:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989638144001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-10 12:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":179009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:05:33] local.INFO: GPS data processed {"connection_id":179009,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:05:33] local.INFO: Acknowledgment sent {"connection_id":179009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:06:04] local.INFO: TCP Data received {"connection_id":179009,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a065550012d1820000721b160004a00d12c..."} 
[2026-09-10 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a065550012d1820000721b160004a00d12c..."} 
[2026-09-10 12:06:04] local.INFO: Processing buffer {"connection_id":179009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a065550012d1820000721b160004a00d12c..."} 
[2026-09-10 12:06:04] local.INFO: Packet analysis {"connection_id":179009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:06:04] local.INFO: Extracted packet for processing {"connection_id":179009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648608,"longitude_deg":75.6555776,"latitude_deg":11.9648608,"altitude":74,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-09-10 12:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989643520001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156464673226752,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022066000,"timestamp_ms":1789022066000,"timestamp_seconds":1789022066,"priority":1,"record_length":96,"hex_timestamp":"000001a08a065550"} 
[2026-09-10 12:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989643520001,"66":12558,"105":206,"83":41984,"24":0,"16":19156464673226752,"45":1738389486795055104},"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-09-10 12:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989643520001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:06:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156464673226752,"km_value":19156464673226.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-10 12:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989643520001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-10 12:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":179009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:06:04] local.INFO: GPS data processed {"connection_id":179009,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:06:04] local.INFO: Acknowledgment sent {"connection_id":179009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:06:27] local.INFO: TCP Data received {"connection_id":177630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:06:27] local.INFO: Processing buffer {"connection_id":177630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:06:27] local.INFO: IMEI packet received {"connection_id":177630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":177630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:06:32] local.INFO: TCP Data received {"connection_id":177630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:06:32] local.INFO: Processing buffer {"connection_id":177630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:06:32] local.INFO: IMEI packet received {"connection_id":177630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":177630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:06:33] local.INFO: TCP Data received {"connection_id":177630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a068818012d181e400721ae50004900c22d..."} 
[2026-09-10 12:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a068818012d181e400721ae50004900c22d..."} 
[2026-09-10 12:06:33] local.INFO: Processing buffer {"connection_id":177630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a068818012d181e400721ae50004900c22d..."} 
[2026-09-10 12:06:33] local.INFO: Packet analysis {"connection_id":177630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:06:33] local.INFO: Extracted packet for processing {"connection_id":177630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647824,"longitude_deg":75.6555328,"latitude_deg":11.9647824,"altitude":73,"angle":194,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae50","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989648896001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795055104,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022079000,"timestamp_ms":1789022079000,"timestamp_seconds":1789022079,"priority":1,"record_length":96,"hex_timestamp":"000001a08a068818"} 
[2026-09-10 12:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2315544864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550304,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975858762,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-10 12:06:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,14,160,3,45,177,74,41,10,66,43,95,1,240,123,227,138,33,4,113,205,187,32,96,44,239,49,2,68,7,106,64,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 12:06:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332491945715433472,"timestamp_seconds":5332491945715433.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989648896001,"66":12526,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1738389486795055104},"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-09-10 12:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989648896001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:06:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795055104,"description":"Unknown IO ID 45"} 
[2026-09-10 12:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989648896001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795055104}} 
[2026-09-10 12:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":177630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:06:33] local.INFO: GPS data processed {"connection_id":177630,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:06:33] local.INFO: Acknowledgment sent {"connection_id":177630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:07:04] local.INFO: TCP Data received {"connection_id":177630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a06da20012d181e400721ae38004a00c22d..."} 
[2026-09-10 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a06da20012d181e400721ae38004a00c22d..."} 
[2026-09-10 12:07:04] local.INFO: Processing buffer {"connection_id":177630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a06da20012d181e400721ae38004a00c22d..."} 
[2026-09-10 12:07:04] local.INFO: Packet analysis {"connection_id":177630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:07:04] local.INFO: Extracted packet for processing {"connection_id":177630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a06"} 
[2026-09-10 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":74,"angle":194,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-10 12:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989652224001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585610752,"note":"Value kept but may cause issues"} 
[2026-09-10 12:07: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-09-10 12:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022100000,"timestamp_ms":1789022100000,"timestamp_seconds":1789022100,"priority":1,"record_length":96,"hex_timestamp":"000001a08a06da20"} 
[2026-09-10 12:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 12:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989652224001,"66":12591,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1737896905585610752},"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-09-10 12:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989652224001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:07:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585610752,"description":"Unknown IO ID 45"} 
[2026-09-10 12:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989652224001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585610752}} 
[2026-09-10 12:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":177630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:07:04] local.INFO: GPS data processed {"connection_id":177630,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:07:04] local.INFO: Acknowledgment sent {"connection_id":177630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:07:27] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:07:27] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:07:27] local.INFO: IMEI packet received {"connection_id":176456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":176456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:07:32] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:07:32] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:07:32] local.INFO: IMEI packet received {"connection_id":176456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":176456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:07:33] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a072c28012d181e400721ae38004a00c22a..."} 
[2026-09-10 12:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a072c28012d181e400721ae38004a00c22a..."} 
[2026-09-10 12:07:33] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a072c28012d181e400721ae38004a00c22a..."} 
[2026-09-10 12:07:33] local.INFO: Packet analysis {"connection_id":176456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a07"} 
[2026-09-10 12:07:33] local.INFO: Extracted packet for processing {"connection_id":176456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a07"} 
[2026-09-10 12:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":74,"angle":194,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989657600001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022121000,"timestamp_ms":1789022121000,"timestamp_seconds":1789022121,"priority":1,"record_length":96,"hex_timestamp":"000001a08a072c28"} 
[2026-09-10 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-09-10 12:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989657600001,"66":12580,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1737896905585604608},"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-09-10 12:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989657600001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-09-10 12:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989657600001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-09-10 12:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":176456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:07:33] local.INFO: GPS data processed {"connection_id":176456,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:07:33] local.INFO: Acknowledgment sent {"connection_id":176456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:08:04] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a077e30012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a077e30012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:08:04] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a077e30012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:08:04] local.INFO: Packet analysis {"connection_id":176456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a07"} 
[2026-09-10 12:08:04] local.INFO: Extracted packet for processing {"connection_id":176456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a07"} 
[2026-09-10 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":74,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989662976001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022142000,"timestamp_ms":1789022142000,"timestamp_seconds":1789022142,"priority":1,"record_length":96,"hex_timestamp":"000001a08a077e30"} 
[2026-09-10 12:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-10 12:08:04] 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-09-10 12: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-09-10 12:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989662976001,"66":12591,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1737896905585604608},"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-09-10 12:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989662976001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:08:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-09-10 12:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989662976001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-09-10 12:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":176456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:08:04] local.INFO: GPS data processed {"connection_id":176456,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:08:04] local.INFO: Acknowledgment sent {"connection_id":176456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:08:24] local.INFO: TCP Data received {"connection_id":179012,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:08:24] local.INFO: Processing buffer {"connection_id":179012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:08:24] local.INFO: IMEI packet received {"connection_id":179012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":179012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:08:26] local.INFO: TCP Data received {"connection_id":179012,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a091858012cc428400755c0b8001300482d..."} 
[2026-09-10 12:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a091858012cc428400755c0b8001300482d..."} 
[2026-09-10 12:08:26] local.INFO: Processing buffer {"connection_id":179012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a091858012cc428400755c0b8001300482d..."} 
[2026-09-10 12:08:26] local.INFO: Packet analysis {"connection_id":179012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:08:26] local.INFO: Extracted packet for processing {"connection_id":179012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":751052864,"raw_latitude":123060408,"longitude_deg":75.1052864,"latitude_deg":12.3060408,"altitude":19,"angle":72,"satellites":45,"speed":9,"hex_longitude":"2cc42840","hex_latitude":"0755c0b8","is_valid_coordinates":true} 
[2026-09-10 12:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989694720001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403926336860585984,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4312829930401400832,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789022247000,"timestamp_ms":1789022247000,"timestamp_seconds":1789022247,"priority":1,"record_length":96,"hex_timestamp":"000001a08a091858"} 
[2026-09-10 12:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":179012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":179012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":179012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989694720001,"66":27593,"160":206,"85":37120,"24":9,"16":403926336860585984,"44":-4312829930401400832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-10 12:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989694720001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:08:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 12:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403926336860585984,"km_value":403926336860586.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4312829930401400832,"description":"Unknown IO ID 44"} 
[2026-09-10 12:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989694720001,"power":27593,"unknown_160":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4312829930401400832}} 
[2026-09-10 12:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":179012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:08:26] local.INFO: GPS data processed {"connection_id":179012,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:08:26] local.INFO: Acknowledgment sent {"connection_id":179012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:08:27] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:08:27] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:08:27] local.INFO: IMEI packet received {"connection_id":176457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":176457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:08:32] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:08:32] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:08:32] local.INFO: IMEI packet received {"connection_id":176457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":176457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:08:33] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a07d038012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a07d038012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:08:33] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a07d038012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:08:33] local.INFO: Packet analysis {"connection_id":176457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a07"} 
[2026-09-10 12:08:33] local.INFO: Extracted packet for processing {"connection_id":176457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a07"} 
[2026-09-10 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":74,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989668352001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022163000,"timestamp_ms":1789022163000,"timestamp_seconds":1789022163,"priority":1,"record_length":96,"hex_timestamp":"000001a08a07d038"} 
[2026-09-10 12:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989668352001,"66":12548,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1737896905585604608},"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-09-10 12:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989668352001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:08:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-09-10 12:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989668352001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-09-10 12:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":176457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:08:33] local.INFO: GPS data processed {"connection_id":176457,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:08:33] local.INFO: Acknowledgment sent {"connection_id":176457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:08:57] local.INFO: TCP Data received {"connection_id":179012,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a092028012cc429c00755c180001200382d..."} 
[2026-09-10 12:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a092028012cc429c00755c180001200382d..."} 
[2026-09-10 12:08:57] local.INFO: Processing buffer {"connection_id":179012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a092028012cc429c00755c180001200382d..."} 
[2026-09-10 12:08:57] local.INFO: Packet analysis {"connection_id":179012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:08:57] local.INFO: Extracted packet for processing {"connection_id":179012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:08:57] local.INFO: GPS Element Parsed {"raw_longitude":751053248,"raw_latitude":123060608,"longitude_deg":75.1053248,"latitude_deg":12.3060608,"altitude":18,"angle":56,"satellites":45,"speed":8,"hex_longitude":"2cc429c0","hex_latitude":"0755c180","is_valid_coordinates":true} 
[2026-09-10 12:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989695232001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403926354040455168,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4312126242959607808,"note":"Value kept but may cause issues"} 
[2026-09-10 12:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789022249000,"timestamp_ms":1789022249000,"timestamp_seconds":1789022249,"priority":1,"record_length":96,"hex_timestamp":"000001a08a092028"} 
[2026-09-10 12:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:08: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-09-10 12:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 12:08:57] 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-09-10 12:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989695232001,"66":27593,"160":206,"85":37120,"24":8,"16":403926354040455168,"44":-4312126242959607808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-10 12:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989695232001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:08:57] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 12:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403926354040455168,"km_value":403926354040455.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:08:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4312126242959607808,"description":"Unknown IO ID 44"} 
[2026-09-10 12:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989695232001,"power":27593,"unknown_160":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4312126242959607808}} 
[2026-09-10 12:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":179012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:08:57] local.INFO: GPS data processed {"connection_id":179012,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:08:57] local.INFO: Acknowledgment sent {"connection_id":179012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:09:05] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a082240012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a082240012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:09:05] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a082240012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:09:05] local.INFO: Packet analysis {"connection_id":176457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a08"} 
[2026-09-10 12:09:05] local.INFO: Extracted packet for processing {"connection_id":176457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a08"} 
[2026-09-10 12:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":74,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-10 12:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989673728001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-09-10 12: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-09-10 12:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789022184000,"timestamp_ms":1789022184000,"timestamp_seconds":1789022184,"priority":1,"record_length":96,"hex_timestamp":"000001a08a082240"} 
[2026-09-10 12:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:09: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-09-10 12:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2315649864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2924478537,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 12:09:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,14,160,126,45,64,174,74,44,10,66,42,218,1,240,47,227,138,33,4,113,205,85,32,96,239,49,2,68,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 12:09:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332475453041016832,"timestamp_seconds":5332475453041017.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:09: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-09-10 12:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989673728001,"66":12548,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1737896905585604608},"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-09-10 12:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989673728001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-09-10 12:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989673728001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-09-10 12:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":176457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:09:05] local.INFO: GPS data processed {"connection_id":176457,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:09:05] local.INFO: Acknowledgment sent {"connection_id":176457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:09:19] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:19] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:19] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:09:20] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:20] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:20] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:09:29] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:29] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:29] local.INFO: IMEI packet received {"connection_id":176458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":176458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:09:32] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:32] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:32] local.INFO: IMEI packet received {"connection_id":176458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":176458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:09:32] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:32] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:09:32] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:09:34] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a092410012cc42a800755c2180012002c2c..."} 
[2026-09-10 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a092410012cc42a800755c2180012002c2c..."} 
[2026-09-10 12:09:34] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a092410012cc42a800755c2180012002c2c..."} 
[2026-09-10 12:09:34] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:09:34] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":751053440,"raw_latitude":123060760,"longitude_deg":75.105344,"latitude_deg":12.306076,"altitude":18,"angle":44,"satellites":44,"speed":9,"hex_longitude":"2cc42a80","hex_latitude":"0755c218","is_valid_coordinates":true} 
[2026-09-10 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989695744001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403926366925357056,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311704030494490624,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789022250000,"timestamp_ms":1789022250000,"timestamp_seconds":1789022250,"priority":1,"record_length":96,"hex_timestamp":"000001a08a092410"} 
[2026-09-10 12:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 12:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:09: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-09-10 12:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989695744001,"66":27832,"160":206,"85":37120,"24":9,"16":403926366925357056,"44":-4311704030494490624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-10 12:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989695744001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403926366925357056,"km_value":403926366925357.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311704030494490624,"description":"Unknown IO ID 44"} 
[2026-09-10 12:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989695744001,"power":27832,"unknown_160":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4311704030494490624}} 
[2026-09-10 12:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:09:34] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:09:34] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:09:34] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0927f8012cc42b400755c2f0001200182d..."} 
[2026-09-10 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0927f8012cc42b400755c2f0001200182d..."} 
[2026-09-10 12:09:34] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0927f8012cc42b400755c2f0001200182d..."} 
[2026-09-10 12:09:34] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:09:34] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a09"} 
[2026-09-10 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":751053632,"raw_latitude":123060976,"longitude_deg":75.1053632,"latitude_deg":12.3060976,"altitude":18,"angle":24,"satellites":45,"speed":10,"hex_longitude":"2cc42b40","hex_latitude":"0755c2f0","is_valid_coordinates":true} 
[2026-09-10 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989696000001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403926379810258944,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311492924261918720,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789022251000,"timestamp_ms":1789022251000,"timestamp_seconds":1789022251,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0927f8"} 
[2026-09-10 12:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 12:09:34] 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-09-10 12:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:09: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-09-10 12:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989696000001,"66":27832,"160":206,"85":37120,"24":10,"16":403926379810258944,"44":-4311492924261918720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-10 12:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989696000001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403926379810258944,"km_value":403926379810258.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311492924261918720,"description":"Unknown IO ID 44"} 
[2026-09-10 12:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989696000001,"power":27832,"unknown_160":206,"unknown_85":37120,"ignition":10,"odometer":null,"unknown_44":-4311492924261918720}} 
[2026-09-10 12:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:09:34] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:09:34] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:09:37] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:37] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:09:37] local.INFO: IMEI packet received {"connection_id":176458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":176458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:09:38] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a087448012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a087448012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:09:38] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a087448012d181e400721ae38004a00c22c..."} 
[2026-09-10 12:09:38] local.INFO: Packet analysis {"connection_id":176458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a08"} 
[2026-09-10 12:09:38] local.INFO: Extracted packet for processing {"connection_id":176458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a08"} 
[2026-09-10 12:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":74,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-10 12:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989679104001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09: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-09-10 12:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789022205000,"timestamp_ms":1789022205000,"timestamp_seconds":1789022205,"priority":1,"record_length":96,"hex_timestamp":"000001a08a087448"} 
[2026-09-10 12:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:09: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-09-10 12:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2315670864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2922905674,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,14,160,208,45,64,174,74,44,10,66,126,1,240,36,227,138,33,4,113,205,136,30,80,239,48,2,68,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 12:09:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332475453041016832,"timestamp_seconds":5332475453041017.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989679104001,"66":12548,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1737896905585604608},"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-09-10 12:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989679104001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:09:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-09-10 12:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989679104001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-09-10 12:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":176458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:09:38] local.INFO: GPS data processed {"connection_id":176458,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:09:38] local.INFO: Acknowledgment sent {"connection_id":176458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:09:43] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a08c650012d181e400721ae38004a00c22a..."} 
[2026-09-10 12:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a08c650012d181e400721ae38004a00c22a..."} 
[2026-09-10 12:09:43] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a08c650012d181e400721ae38004a00c22a..."} 
[2026-09-10 12:09:43] local.INFO: Packet analysis {"connection_id":176458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a08"} 
[2026-09-10 12:09:43] local.INFO: Extracted packet for processing {"connection_id":176458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a08"} 
[2026-09-10 12:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":74,"angle":194,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-10 12:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989684480001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156511917867008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789022226000,"timestamp_ms":1789022226000,"timestamp_seconds":1789022226,"priority":1,"record_length":96,"hex_timestamp":"000001a08a08c650"} 
[2026-09-10 12:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2315683864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2922905674,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 12:09:43] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 12:09:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,14,160,34,45,64,174,74,44,10,66,208,126,1,240,47,227,138,33,4,113,205,218,30,56,239,49,2,68,7,73,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 12:09:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332475453041016832,"timestamp_seconds":5332475453041017.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989684480001,"66":12548,"105":206,"83":41984,"24":0,"16":19156511917867008,"45":1737896905585604608},"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-09-10 12:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989684480001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:09:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156511917867008,"km_value":19156511917867.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-09-10 12:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989684480001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-09-10 12:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":176458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:09:43] local.INFO: GPS data processed {"connection_id":176458,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:09:43] local.INFO: Acknowledgment sent {"connection_id":176458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:10:24] local.INFO: TCP Data received {"connection_id":176459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:24] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:24] local.INFO: IMEI packet received {"connection_id":176459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":176459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:10:25] local.INFO: TCP Data received {"connection_id":176459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:25] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:25] local.INFO: IMEI packet received {"connection_id":176459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":176459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:10:27] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:10:27] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:10:27] local.INFO: IMEI packet received {"connection_id":176460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":176460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:10:29] local.INFO: TCP Data received {"connection_id":176459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:29] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:10:29] local.INFO: IMEI packet received {"connection_id":176459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":176459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:10:30] local.INFO: TCP Data received {"connection_id":176459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0aa2e0012cc41d400756e730001600252e..."} 
[2026-09-10 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0aa2e0012cc41d400756e730001600252e..."} 
[2026-09-10 12:10:30] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0aa2e0012cc41d400756e730001600252e..."} 
[2026-09-10 12:10:30] local.INFO: Packet analysis {"connection_id":176459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0a"} 
[2026-09-10 12:10:30] local.INFO: Extracted packet for processing {"connection_id":176459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0a"} 
[2026-09-10 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":751050048,"raw_latitude":123135792,"longitude_deg":75.1050048,"latitude_deg":12.3135792,"altitude":22,"angle":37,"satellites":46,"speed":24,"hex_longitude":"2cc41d40","hex_latitude":"0756e730","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989718528001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403930120726773760,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4318740904894806016,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789022348000,"timestamp_ms":1789022348000,"timestamp_seconds":1789022348,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0aa2e0"} 
[2026-09-10 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-09-10 12:10: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-09-10 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 12:10: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-09-10 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-09-10 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-09-10 12:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989718528001,"66":27821,"30":206,"85":37120,"24":24,"16":403930120726773760,"44":-4318740904894806016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-10 12:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989718528001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:10:30] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-10 12:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403930120726773760,"km_value":403930120726773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4318740904894806016,"description":"Unknown IO ID 44"} 
[2026-09-10 12:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989718528001,"power":27821,"unknown_30":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4318740904894806016}} 
[2026-09-10 12:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":176459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:10:30] local.INFO: GPS data processed {"connection_id":176459,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:10:30] local.INFO: Acknowledgment sent {"connection_id":176459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:10:32] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:10:32] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:10:32] local.INFO: IMEI packet received {"connection_id":176460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":176460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:10:33] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0b1040012d181d000721abd8004e01012d..."} 
[2026-09-10 12:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0b1040012d181d000721abd8004e01012d..."} 
[2026-09-10 12:10:33] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0b1040012d181d000721abd8004e01012d..."} 
[2026-09-10 12:10:33] local.INFO: Packet analysis {"connection_id":176460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0b"} 
[2026-09-10 12:10:33] local.INFO: Extracted packet for processing {"connection_id":176460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0b"} 
[2026-09-10 12:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647192,"longitude_deg":75.6555008,"latitude_deg":11.9647192,"altitude":78,"angle":257,"satellites":45,"speed":4,"hex_longitude":"2d181d00","hex_latitude":"0721abd8","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989728000001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156550572572672,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097107968,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022376000,"timestamp_ms":1789022376000,"timestamp_seconds":1789022376,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0b1040"} 
[2026-09-10 12:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:10: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-09-10 12: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 12:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989728000001,"66":13928,"105":206,"83":41984,"24":4,"16":19156550572572672,"45":1737756168097107968},"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-09-10 12:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989728000001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:10:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156550572572672,"km_value":19156550572572.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097107968,"description":"Unknown IO ID 45"} 
[2026-09-10 12:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989728000001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737756168097107968}} 
[2026-09-10 12:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":176460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:10:33] local.INFO: GPS data processed {"connection_id":176460,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:10:33] local.INFO: Acknowledgment sent {"connection_id":176460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:10:34] local.INFO: TCP Data received {"connection_id":176459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0ab668012cc423c00756f090001700162e..."} 
[2026-09-10 12:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0ab668012cc423c00756f090001700162e..."} 
[2026-09-10 12:10:34] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0ab668012cc423c00756f090001700162e..."} 
[2026-09-10 12:10:34] local.INFO: Packet analysis {"connection_id":176459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0a"} 
[2026-09-10 12:10:34] local.INFO: Extracted packet for processing {"connection_id":176459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0a"} 
[2026-09-10 12:10:34] local.INFO: GPS Element Parsed {"raw_longitude":751051712,"raw_latitude":123138192,"longitude_deg":75.1051712,"latitude_deg":12.3138192,"altitude":23,"angle":22,"satellites":46,"speed":25,"hex_longitude":"2cc423c0","hex_latitude":"0756f090","is_valid_coordinates":true} 
[2026-09-10 12:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989721088001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403930258165727232,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4315222467684126720,"note":"Value kept but may cause issues"} 
[2026-09-10 12:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789022353000,"timestamp_ms":1789022353000,"timestamp_seconds":1789022353,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0ab668"} 
[2026-09-10 12:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:10: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-09-10 12:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:10: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-09-10 12:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989721088001,"66":27821,"30":206,"85":37120,"24":25,"16":403930258165727232,"44":-4315222467684126720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-10 12:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989721088001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:10:34] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-10 12:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403930258165727232,"km_value":403930258165727.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4315222467684126720,"description":"Unknown IO ID 44"} 
[2026-09-10 12:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989721088001,"power":27821,"unknown_30":206,"unknown_85":37120,"ignition":25,"odometer":null,"unknown_44":-4315222467684126720}} 
[2026-09-10 12:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":176459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:10:34] local.INFO: GPS data processed {"connection_id":176459,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:10:34] local.INFO: Acknowledgment sent {"connection_id":176459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:11:04] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0b1428012d181cc00721abb8004e00f62c..."} 
[2026-09-10 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0b1428012d181cc00721abb8004e00f62c..."} 
[2026-09-10 12:11:04] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0b1428012d181cc00721abb8004e00f62c..."} 
[2026-09-10 12:11:04] local.INFO: Packet analysis {"connection_id":176460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0b"} 
[2026-09-10 12:11:04] local.INFO: Extracted packet for processing {"connection_id":176460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0b"} 
[2026-09-10 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647160,"longitude_deg":75.6554944,"latitude_deg":11.964716,"altitude":78,"angle":246,"satellites":44,"speed":2,"hex_longitude":"2d181cc0","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-09-10 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989728256001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156554867539968,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864560640,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022377000,"timestamp_ms":1789022377000,"timestamp_seconds":1789022377,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0b1428"} 
[2026-09-10 12:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 12:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989728256001,"66":13928,"105":206,"83":41984,"24":2,"16":19156554867539968,"45":1737545061864560640},"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-09-10 12:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989728256001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:11:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156554867539968,"km_value":19156554867539.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864560640,"description":"Unknown IO ID 45"} 
[2026-09-10 12:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989728256001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737545061864560640}} 
[2026-09-10 12:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":176460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:11:04] local.INFO: GPS data processed {"connection_id":176460,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:11:04] local.INFO: Acknowledgment sent {"connection_id":176460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:11:16] local.INFO: TCP Data received {"connection_id":179013,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:16] local.INFO: Processing buffer {"connection_id":179013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:16] local.INFO: IMEI packet received {"connection_id":179013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":179013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:11:19] local.INFO: TCP Data received {"connection_id":179013,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:19] local.INFO: Processing buffer {"connection_id":179013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:19] local.INFO: IMEI packet received {"connection_id":179013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":179013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:11:23] local.INFO: TCP Data received {"connection_id":179013,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:23] local.INFO: Processing buffer {"connection_id":179013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:11:23] local.INFO: IMEI packet received {"connection_id":179013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":179013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:11:24] local.INFO: TCP Data received {"connection_id":179013,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0ae548012cc4314007571140001b00142f..."} 
[2026-09-10 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0ae548012cc4314007571140001b00142f..."} 
[2026-09-10 12:11:24] local.INFO: Processing buffer {"connection_id":179013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0ae548012cc4314007571140001b00142f..."} 
[2026-09-10 12:11:24] local.INFO: Packet analysis {"connection_id":179013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0a"} 
[2026-09-10 12:11:24] local.INFO: Extracted packet for processing {"connection_id":179013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0a"} 
[2026-09-10 12:11:24] local.INFO: GPS Element Parsed {"raw_longitude":751055168,"raw_latitude":123146560,"longitude_deg":75.1055168,"latitude_deg":12.314656,"altitude":27,"angle":20,"satellites":47,"speed":34,"hex_longitude":"2cc43140","hex_latitude":"07571140","is_valid_coordinates":true} 
[2026-09-10 12:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989722368001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403930696252391424,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4313392880334893056,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789022365000,"timestamp_ms":1789022365000,"timestamp_seconds":1789022365,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0ae548"} 
[2026-09-10 12:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989722368001,"66":27865,"30":206,"85":37120,"24":34,"16":403930696252391424,"44":-4313392880334893056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-10 12:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989722368001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:11:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-10 12:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403930696252391424,"km_value":403930696252391.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4313392880334893056,"description":"Unknown IO ID 44"} 
[2026-09-10 12:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989722368001,"power":27865,"unknown_30":206,"unknown_85":37120,"ignition":34,"odometer":null,"unknown_44":-4313392880334893056}} 
[2026-09-10 12:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":179013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:11:24] local.INFO: GPS data processed {"connection_id":179013,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:11:24] local.INFO: Acknowledgment sent {"connection_id":179013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:11:26] local.INFO: TCP Data received {"connection_id":179014,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:26] local.INFO: Processing buffer {"connection_id":179014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:26] local.INFO: IMEI packet received {"connection_id":179014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":179014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:11:27] local.INFO: TCP Data received {"connection_id":179014,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:27] local.INFO: Processing buffer {"connection_id":179014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:27] local.INFO: IMEI packet received {"connection_id":179014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":179014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:11:31] local.INFO: TCP Data received {"connection_id":179014,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:31] local.INFO: Processing buffer {"connection_id":179014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:11:31] local.INFO: IMEI packet received {"connection_id":179014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":179014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:11:31] local.INFO: TCP Data received {"connection_id":179014,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0b1bf8012d181c800721ab78004f00e22d..."} 
[2026-09-10 12:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0b1bf8012d181c800721ab78004f00e22d..."} 
[2026-09-10 12:11:32] local.INFO: Processing buffer {"connection_id":179014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0b1bf8012d181c800721ab78004f00e22d..."} 
[2026-09-10 12:11:32] local.INFO: Packet analysis {"connection_id":179014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0b"} 
[2026-09-10 12:11:32] local.INFO: Extracted packet for processing {"connection_id":179014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0b"} 
[2026-09-10 12:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647096,"longitude_deg":75.655488,"latitude_deg":11.9647096,"altitude":79,"angle":226,"satellites":45,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ab78","is_valid_coordinates":true} 
[2026-09-10 12:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989728512001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19156559162507264,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120374784,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11: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-09-10 12:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789022379000,"timestamp_ms":1789022379000,"timestamp_seconds":1789022379,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0b1bf8"} 
[2026-09-10 12:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 12:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989728512001,"66":13993,"105":206,"83":41984,"24":0,"16":19156559162507264,"45":1737474693120374784},"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-09-10 12:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989728512001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:11:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19156559162507264,"km_value":19156559162507.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120374784,"description":"Unknown IO ID 45"} 
[2026-09-10 12:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989728512001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693120374784}} 
[2026-09-10 12:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":179014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:11:32] local.INFO: GPS data processed {"connection_id":179014,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:11:32] local.INFO: Acknowledgment sent {"connection_id":179014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:11:55] local.INFO: TCP Data received {"connection_id":179013,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0c5860012cc4acc007589390001d00162f..."} 
[2026-09-10 12:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0c5860012cc4acc007589390001d00162f..."} 
[2026-09-10 12:11:55] local.INFO: Processing buffer {"connection_id":179013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0c5860012cc4acc007589390001d00162f..."} 
[2026-09-10 12:11:55] local.INFO: Packet analysis {"connection_id":179013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:11:55] local.INFO: Extracted packet for processing {"connection_id":179013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":751086784,"raw_latitude":123245456,"longitude_deg":75.1086784,"latitude_deg":12.3245456,"altitude":29,"angle":22,"satellites":47,"speed":49,"hex_longitude":"2cc4acc0","hex_latitude":"07589390","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989747712001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403935747133931520,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4279334408127744000,"note":"Value kept but may cause issues"} 
[2026-09-10 12:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789022460000,"timestamp_ms":1789022460000,"timestamp_seconds":1789022460,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0c5860"} 
[2026-09-10 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-09-10 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989747712001,"66":27865,"130":206,"85":37120,"24":49,"16":403935747133931520,"44":-4279334408127744000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-10 12:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989747712001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:11:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 12:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403935747133931520,"km_value":403935747133931.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4279334408127744000,"description":"Unknown IO ID 44"} 
[2026-09-10 12:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989747712001,"power":27865,"unknown_130":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4279334408127744000}} 
[2026-09-10 12:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":179013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:11:55] local.INFO: GPS data processed {"connection_id":179013,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:11:55] local.INFO: Acknowledgment sent {"connection_id":179013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:12:02] local.INFO: TCP Data received {"connection_id":179014,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0c96e0012d1871c007218270004c00532b..."} 
[2026-09-10 12:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0c96e0012d1871c007218270004c00532b..."} 
[2026-09-10 12:12:02] local.INFO: Processing buffer {"connection_id":179014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0c96e0012d1871c007218270004c00532b..."} 
[2026-09-10 12:12:02] local.INFO: Packet analysis {"connection_id":179014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:02] local.INFO: Extracted packet for processing {"connection_id":179014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756576704,"raw_latitude":119636592,"longitude_deg":75.6576704,"latitude_deg":11.9636592,"altitude":76,"angle":83,"satellites":43,"speed":39,"hex_longitude":"2d1871c0","hex_latitude":"07218270","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989753088001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19157766048317440,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758092735161749504,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789022476000,"timestamp_ms":1789022476000,"timestamp_seconds":1789022476,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0c96e0"} 
[2026-09-10 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-09-10 12:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 12:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":179014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":179014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":179014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989753088001,"66":14298,"106":206,"83":41984,"24":39,"16":19157766048317440,"45":1758092735161749504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 12:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989753088001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:12:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 12:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19157766048317440,"km_value":19157766048317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758092735161749504,"description":"Unknown IO ID 45"} 
[2026-09-10 12:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989753088001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1758092735161749504}} 
[2026-09-10 12:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":179014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:12:03] local.INFO: GPS data processed {"connection_id":179014,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:12:03] local.INFO: Acknowledgment sent {"connection_id":179014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:12:19] local.INFO: TCP Data received {"connection_id":176461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:19] local.INFO: Processing buffer {"connection_id":176461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:19] local.INFO: IMEI packet received {"connection_id":176461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":176461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:12:19] local.INFO: TCP Data received {"connection_id":176461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:19] local.INFO: Processing buffer {"connection_id":176461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:19] local.INFO: IMEI packet received {"connection_id":176461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":176461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:12:21] local.INFO: TCP Data received {"connection_id":176461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:21] local.INFO: Processing buffer {"connection_id":176461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:21] local.INFO: IMEI packet received {"connection_id":176461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":176461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:12:24] local.INFO: TCP Data received {"connection_id":176461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:24] local.INFO: Processing buffer {"connection_id":176461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:12:24] local.INFO: IMEI packet received {"connection_id":176461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":176461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:12:25] local.INFO: TCP Data received {"connection_id":176461,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0c77a0012cc4ba800758b800001f00122b..."} 
[2026-09-10 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0c77a0012cc4ba800758b800001f00122b..."} 
[2026-09-10 12:12:25] local.INFO: Processing buffer {"connection_id":176461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0c77a0012cc4ba800758b800001f00122b..."} 
[2026-09-10 12:12:25] local.INFO: Packet analysis {"connection_id":176461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:25] local.INFO: Extracted packet for processing {"connection_id":176461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":751090304,"raw_latitude":123254784,"longitude_deg":75.1090304,"latitude_deg":12.3254784,"altitude":31,"angle":18,"satellites":43,"speed":49,"hex_longitude":"2cc4ba80","hex_latitude":"0758b800","is_valid_coordinates":true} 
[2026-09-10 12:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989749760001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403936228170268672,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4274830808498073600,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789022468000,"timestamp_ms":1789022468000,"timestamp_seconds":1789022468,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0c77a0"} 
[2026-09-10 12:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:12: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-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989749760001,"66":27821,"130":206,"85":37120,"24":49,"16":403936228170268672,"44":-4274830808498073600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-10 12:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989749760001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:12:25] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 12:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403936228170268672,"km_value":403936228170268.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4274830808498073600,"description":"Unknown IO ID 44"} 
[2026-09-10 12:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989749760001,"power":27821,"unknown_130":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4274830808498073600}} 
[2026-09-10 12:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":176461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:12:25] local.INFO: GPS data processed {"connection_id":176461,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:12:25] local.INFO: Acknowledgment sent {"connection_id":176461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:12:26] local.INFO: TCP Data received {"connection_id":176461,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0c96e0012cc4c6800758dbd0002100112d..."} 
[2026-09-10 12:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0c96e0012cc4c6800758dbd0002100112d..."} 
[2026-09-10 12:12:26] local.INFO: Processing buffer {"connection_id":176461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0c96e0012cc4c6800758dbd0002100112d..."} 
[2026-09-10 12:12:26] local.INFO: Packet analysis {"connection_id":176461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:26] local.INFO: Extracted packet for processing {"connection_id":176461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:26] local.INFO: GPS Element Parsed {"raw_longitude":751093376,"raw_latitude":123263952,"longitude_deg":75.1093376,"latitude_deg":12.3263952,"altitude":33,"angle":17,"satellites":45,"speed":47,"hex_longitude":"2cc4c680","hex_latitude":"0758dbd0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989751808001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403936696321703936,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4270960527565914112,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789022476000,"timestamp_ms":1789022476000,"timestamp_seconds":1789022476,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0c96e0"} 
[2026-09-10 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-09-10 12:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989751808001,"66":27876,"130":206,"85":37120,"24":47,"16":403936696321703936,"44":-4270960527565914112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-10 12:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989751808001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:12:26] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 12:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403936696321703936,"km_value":403936696321703.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:12:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4270960527565914112,"description":"Unknown IO ID 44"} 
[2026-09-10 12:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989751808001,"power":27876,"unknown_130":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4270960527565914112}} 
[2026-09-10 12:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":176461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:12:26] local.INFO: GPS data processed {"connection_id":176461,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:12:26] local.INFO: Acknowledgment sent {"connection_id":176461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:12:26] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:26] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:26] local.INFO: IMEI packet received {"connection_id":176214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":176214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:12:27] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:27] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:27] local.INFO: IMEI packet received {"connection_id":176214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":176214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:12:31] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:31] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:31] local.INFO: IMEI packet received {"connection_id":176214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":176214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:12:32] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:32] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:12:32] local.INFO: IMEI packet received {"connection_id":176214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":176214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:12:33] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0ca680012d1881c007218298004c006129..."} 
[2026-09-10 12:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0ca680012d1881c007218298004c006129..."} 
[2026-09-10 12:12:33] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0ca680012d1881c007218298004c006129..."} 
[2026-09-10 12:12:33] local.INFO: Packet analysis {"connection_id":176214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:33] local.INFO: Extracted packet for processing {"connection_id":176214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636632,"longitude_deg":75.65808,"latitude_deg":11.9636632,"altitude":76,"angle":97,"satellites":41,"speed":40,"hex_longitude":"2d1881c0","hex_latitude":"07218298","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989753856001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19157959321845760,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761400066138075136,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12: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-09-10 12:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022480000,"timestamp_ms":1789022480000,"timestamp_seconds":1789022480,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0ca680"} 
[2026-09-10 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-09-10 12:12: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-09-10 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 12:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989753856001,"66":13972,"106":206,"83":41984,"24":40,"16":19157959321845760,"45":1761400066138075136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 12:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989753856001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:12:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 12:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19157959321845760,"km_value":19157959321845.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761400066138075136,"description":"Unknown IO ID 45"} 
[2026-09-10 12:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989753856001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1761400066138075136}} 
[2026-09-10 12:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":176214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:12:33] local.INFO: GPS data processed {"connection_id":176214,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:12:33] local.INFO: Acknowledgment sent {"connection_id":176214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:12:38] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0cb238012d188d0007217f60004c006f2a..."} 
[2026-09-10 12:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0cb238012d188d0007217f60004c006f2a..."} 
[2026-09-10 12:12:38] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0cb238012d188d0007217f60004c006f2a..."} 
[2026-09-10 12:12:38] local.INFO: Packet analysis {"connection_id":176214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:38] local.INFO: Extracted packet for processing {"connection_id":176214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756583680,"raw_latitude":119635808,"longitude_deg":75.658368,"latitude_deg":11.9635808,"altitude":76,"angle":111,"satellites":42,"speed":40,"hex_longitude":"2d188d00","hex_latitude":"07217f60","is_valid_coordinates":true} 
[2026-09-10 12:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989754880001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19158105350733824,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665765455872,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12: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-09-10 12:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789022483000,"timestamp_ms":1789022483000,"timestamp_seconds":1789022483,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0cb238"} 
[2026-09-10 12:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:12: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-09-10 12:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 12:12: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-09-10 12:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989754880001,"66":13972,"106":206,"83":41984,"24":40,"16":19158105350733824,"45":1765903665765455872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 12:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989754880001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:12:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 12:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19158105350733824,"km_value":19158105350733.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665765455872,"description":"Unknown IO ID 45"} 
[2026-09-10 12:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989754880001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1765903665765455872}} 
[2026-09-10 12:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":176214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:12:38] local.INFO: GPS data processed {"connection_id":176214,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:12:38] local.INFO: Acknowledgment sent {"connection_id":176214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:12:57] local.INFO: TCP Data received {"connection_id":176461,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0cb620012cc4d1400758fe70002400112d..."} 
[2026-09-10 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0cb620012cc4d1400758fe70002400112d..."} 
[2026-09-10 12:12:57] local.INFO: Processing buffer {"connection_id":176461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0cb620012cc4d1400758fe70002400112d..."} 
[2026-09-10 12:12:57] local.INFO: Packet analysis {"connection_id":176461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:57] local.INFO: Extracted packet for processing {"connection_id":176461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:12:57] local.INFO: GPS Element Parsed {"raw_longitude":751096128,"raw_latitude":123272816,"longitude_deg":75.1096128,"latitude_deg":12.3272816,"altitude":36,"angle":17,"satellites":45,"speed":44,"hex_longitude":"2cc4d140","hex_latitude":"0758fe70","is_valid_coordinates":true} 
[2026-09-10 12:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989753856001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403937142998302720,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4267582827843039232,"note":"Value kept but may cause issues"} 
[2026-09-10 12:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789022484000,"timestamp_ms":1789022484000,"timestamp_seconds":1789022484,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0cb620"} 
[2026-09-10 12:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:12:57] 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-09-10 12:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989753856001,"66":27832,"130":206,"85":37120,"24":44,"16":403937142998302720,"44":-4267582827843039232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-10 12:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989753856001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:12:57] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 12:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403937142998302720,"km_value":403937142998302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:12:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4267582827843039232,"description":"Unknown IO ID 44"} 
[2026-09-10 12:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989753856001,"power":27832,"unknown_130":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4267582827843039232}} 
[2026-09-10 12:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":176461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:12:57] local.INFO: GPS data processed {"connection_id":176461,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:12:57] local.INFO: Acknowledgment sent {"connection_id":176461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:13:09] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0cdd30012d18ad8007217230004b008429..."} 
[2026-09-10 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0cdd30012d18ad8007217230004b008429..."} 
[2026-09-10 12:13:09] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0cdd30012d18ad8007217230004b008429..."} 
[2026-09-10 12:13:09] local.INFO: Packet analysis {"connection_id":176214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:13:09] local.INFO: Extracted packet for processing {"connection_id":176214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0c"} 
[2026-09-10 12:13:09] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119632432,"longitude_deg":75.6592,"latitude_deg":11.9632432,"altitude":75,"angle":132,"satellites":41,"speed":25,"hex_longitude":"2d18ad80","hex_latitude":"07217230","is_valid_coordinates":true} 
[2026-09-10 12:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989755648001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19158534847463424,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769070259253239808,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13: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-09-10 12:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789022494000,"timestamp_ms":1789022494000,"timestamp_seconds":1789022494,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0cdd30"} 
[2026-09-10 12:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:13: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-09-10 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 12:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989755648001,"66":14265,"106":206,"83":41984,"24":25,"16":19158534847463424,"45":1769070259253239808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 12:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989755648001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:13:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 12:13:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19158534847463424,"km_value":19158534847463.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769070259253239808,"description":"Unknown IO ID 45"} 
[2026-09-10 12:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989755648001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1769070259253239808}} 
[2026-09-10 12:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":176214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:13:09] local.INFO: GPS data processed {"connection_id":176214,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:13:09] local.INFO: Acknowledgment sent {"connection_id":176214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:13:21] local.INFO: TCP Data received {"connection_id":179015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:21] local.INFO: Processing buffer {"connection_id":179015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:21] local.INFO: IMEI packet received {"connection_id":179015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":179015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:13:21] local.INFO: TCP Data received {"connection_id":179015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:21] local.INFO: Processing buffer {"connection_id":179015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:21] local.INFO: IMEI packet received {"connection_id":179015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":179015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:13:24] local.INFO: TCP Data received {"connection_id":179015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:24] local.INFO: Processing buffer {"connection_id":179015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:13:24] local.INFO: IMEI packet received {"connection_id":179015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":179015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:13:25] local.INFO: TCP Data received {"connection_id":179015,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0da080012cc4a4000759e6b80033015f2a..."} 
[2026-09-10 12:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0da080012cc4a4000759e6b80033015f2a..."} 
[2026-09-10 12:13:25] local.INFO: Processing buffer {"connection_id":179015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0da080012cc4a4000759e6b80033015f2a..."} 
[2026-09-10 12:13:25] local.INFO: Packet analysis {"connection_id":179015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:13:25] local.INFO: Extracted packet for processing {"connection_id":179015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:13:25] local.INFO: GPS Element Parsed {"raw_longitude":751084544,"raw_latitude":123332280,"longitude_deg":75.1084544,"latitude_deg":12.333228,"altitude":51,"angle":351,"satellites":42,"speed":39,"hex_longitude":"2cc4a400","hex_latitude":"0759e6b8","is_valid_coordinates":true} 
[2026-09-10 12:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989768704001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403940243964690432,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4275534495919966208,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789022544000,"timestamp_ms":1789022544000,"timestamp_seconds":1789022544,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0da080"} 
[2026-09-10 12:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989768704001,"66":27843,"131":206,"85":37120,"24":39,"16":403940243964690432,"44":-4275534495919966208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-10 12:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989768704001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:13:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 12:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403940243964690432,"km_value":403940243964690.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4275534495919966208,"description":"Unknown IO ID 44"} 
[2026-09-10 12:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989768704001,"power":27843,"unknown_131":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4275534495919966208}} 
[2026-09-10 12:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":179015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:13:25] local.INFO: GPS data processed {"connection_id":179015,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:13:25] local.INFO: Acknowledgment sent {"connection_id":179015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:13:27] local.INFO: TCP Data received {"connection_id":177631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:27] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:27] local.INFO: IMEI packet received {"connection_id":177631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":177631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:13:30] local.INFO: TCP Data received {"connection_id":177631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:30] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:30] local.INFO: IMEI packet received {"connection_id":177631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":177631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:13:32] local.INFO: TCP Data received {"connection_id":177631,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:32] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:13:32] local.INFO: IMEI packet received {"connection_id":177631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":177631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:13:33] local.INFO: TCP Data received {"connection_id":177631,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0dbfc0012d1906000720cc880037007928..."} 
[2026-09-10 12:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0dbfc0012d1906000720cc880037007928..."} 
[2026-09-10 12:13:33] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0dbfc0012d1906000720cc880037007928..."} 
[2026-09-10 12:13:33] local.INFO: Packet analysis {"connection_id":177631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:13:33] local.INFO: Extracted packet for processing {"connection_id":177631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756614656,"raw_latitude":119590024,"longitude_deg":75.6614656,"latitude_deg":11.9590024,"altitude":55,"angle":121,"satellites":40,"speed":39,"hex_longitude":"2d190600","hex_latitude":"0720cc88","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989772032001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19160948619083776,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798906606773512192,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022552000,"timestamp_ms":1789022552000,"timestamp_seconds":1789022552,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0dbfc0"} 
[2026-09-10 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-09-10 12:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 12:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989772032001,"66":14233,"103":206,"83":41984,"24":39,"16":19160948619083776,"45":1798906606773512192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 12:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989772032001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:13:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 12:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19160948619083776,"km_value":19160948619083.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798906606773512192,"description":"Unknown IO ID 45"} 
[2026-09-10 12:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989772032001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1798906606773512192}} 
[2026-09-10 12:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":177631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:13:34] local.INFO: GPS data processed {"connection_id":177631,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:13:34] local.INFO: Acknowledgment sent {"connection_id":177631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:13:44] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:13:44] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:13:44] local.INFO: IMEI packet received {"connection_id":176215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":176215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:13:56] local.INFO: TCP Data received {"connection_id":179015,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0dc3a8012cc49e80075a0be80034016029..."} 
[2026-09-10 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0dc3a8012cc49e80075a0be80034016029..."} 
[2026-09-10 12:13:56] local.INFO: Processing buffer {"connection_id":179015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0dc3a8012cc49e80075a0be80034016029..."} 
[2026-09-10 12:13:56] local.INFO: Packet analysis {"connection_id":179015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:13:56] local.INFO: Extracted packet for processing {"connection_id":179015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:13:56] local.INFO: GPS Element Parsed {"raw_longitude":751083136,"raw_latitude":123341800,"longitude_deg":75.1083136,"latitude_deg":12.33418,"altitude":52,"angle":352,"satellites":41,"speed":44,"hex_longitude":"2cc49e80","hex_latitude":"075a0be8","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989771264001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403940707821158400,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4277293714522064896,"note":"Value kept but may cause issues"} 
[2026-09-10 12:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789022553000,"timestamp_ms":1789022553000,"timestamp_seconds":1789022553,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0dc3a8"} 
[2026-09-10 12:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989771264001,"66":27800,"34":206,"85":37120,"24":44,"16":403940707821158400,"44":-4277293714522064896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-10 12:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989771264001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:13:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-10 12:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403940707821158400,"km_value":403940707821158.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:13:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4277293714522064896,"description":"Unknown IO ID 44"} 
[2026-09-10 12:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989771264001,"power":27800,"unknown_34":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4277293714522064896}} 
[2026-09-10 12:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":179015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:13:56] local.INFO: GPS data processed {"connection_id":179015,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:13:56] local.INFO: Acknowledgment sent {"connection_id":179015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:14:04] local.INFO: TCP Data received {"connection_id":177631,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0e8ae0012d19bc400720a428003200b429..."} 
[2026-09-10 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0e8ae0012d19bc400720a428003200b429..."} 
[2026-09-10 12:14:04] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0e8ae0012d19bc400720a428003200b429..."} 
[2026-09-10 12:14:04] local.INFO: Packet analysis {"connection_id":177631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0e"} 
[2026-09-10 12:14:04] local.INFO: Extracted packet for processing {"connection_id":177631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0e"} 
[2026-09-10 12:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119579688,"longitude_deg":75.6661312,"latitude_deg":11.9579688,"altitude":50,"angle":180,"satellites":41,"speed":21,"hex_longitude":"2d19bc40","hex_latitude":"0720a428","is_valid_coordinates":true} 
[2026-09-10 12:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989786368001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19163340915867648,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926520832,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14: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-09-10 12:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022604000,"timestamp_ms":1789022604000,"timestamp_seconds":1789022604,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0e8ae0"} 
[2026-09-10 12:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 12:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989786368001,"66":13287,"103":206,"83":41984,"24":21,"16":19163340915867648,"45":1854427545926520832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 12:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989786368001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:14:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 12:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19163340915867648,"km_value":19163340915867.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926520832,"description":"Unknown IO ID 45"} 
[2026-09-10 12:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989786368001,"power":13287,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1854427545926520832}} 
[2026-09-10 12:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":177631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:14:05] local.INFO: GPS data processed {"connection_id":177631,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:14:05] local.INFO: Acknowledgment sent {"connection_id":177631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:14:19] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:14:19] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:14:19] local.INFO: IMEI packet received {"connection_id":176216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":176216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:14:23] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:14:23] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:14:23] local.INFO: IMEI packet received {"connection_id":176216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":176216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:14:25] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0de2e8012cc49980075a2f680033015e2b..."} 
[2026-09-10 12:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0de2e8012cc49980075a2f680033015e2b..."} 
[2026-09-10 12:14:25] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0de2e8012cc49980075a2f680033015e2b..."} 
[2026-09-10 12:14:25] local.INFO: Packet analysis {"connection_id":176216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:14:25] local.INFO: Extracted packet for processing {"connection_id":176216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0d"} 
[2026-09-10 12:14:25] local.INFO: GPS Element Parsed {"raw_longitude":751081856,"raw_latitude":123350888,"longitude_deg":75.1081856,"latitude_deg":12.3350888,"altitude":51,"angle":350,"satellites":43,"speed":46,"hex_longitude":"2cc49980","hex_latitude":"075a2f68","is_valid_coordinates":true} 
[2026-09-10 12:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989773568001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403941154497757184,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4278841826891536384,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789022561000,"timestamp_ms":1789022561000,"timestamp_seconds":1789022561,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0de2e8"} 
[2026-09-10 12:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:14: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-09-10 12:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989773568001,"66":27876,"34":206,"85":37120,"24":46,"16":403941154497757184,"44":-4278841826891536384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-10 12:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989773568001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:14:25] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-10 12:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403941154497757184,"km_value":403941154497757.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4278841826891536384,"description":"Unknown IO ID 44"} 
[2026-09-10 12:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989773568001,"power":27876,"unknown_34":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4278841826891536384}} 
[2026-09-10 12:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":176216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:14:25] local.INFO: GPS data processed {"connection_id":176216,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:14:25] local.INFO: Acknowledgment sent {"connection_id":176216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:14:32] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:14:32] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:14:32] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:14:38] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:14:38] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:14:38] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:14:38] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0e8ec8012d19bb400720a240003200cc29..."} 
[2026-09-10 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0e8ec8012d19bb400720a240003200cc29..."} 
[2026-09-10 12:14:38] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0e8ec8012d19bb400720a240003200cc29..."} 
[2026-09-10 12:14:38] local.INFO: Packet analysis {"connection_id":176462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0e"} 
[2026-09-10 12:14:38] local.INFO: Extracted packet for processing {"connection_id":176462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0e"} 
[2026-09-10 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579200,"longitude_deg":75.6661056,"latitude_deg":11.95792,"altitude":50,"angle":204,"satellites":41,"speed":20,"hex_longitude":"2d19bb40","hex_latitude":"0720a240","is_valid_coordinates":true} 
[2026-09-10 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989786624001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19163366685671424,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926379520,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789022605000,"timestamp_ms":1789022605000,"timestamp_seconds":1789022605,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0e8ec8"} 
[2026-09-10 12:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:14: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-09-10 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-10 12:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989786624001,"66":13287,"103":206,"83":41984,"24":20,"16":19163366685671424,"45":1854427545926379520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 12:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989786624001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:14:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 12:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19163366685671424,"km_value":19163366685671.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926379520,"description":"Unknown IO ID 45"} 
[2026-09-10 12:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989786624001,"power":13287,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1854427545926379520}} 
[2026-09-10 12:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":176462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:14:38] local.INFO: GPS data processed {"connection_id":176462,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:14:38] local.INFO: Acknowledgment sent {"connection_id":176462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:14:39] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0e92b0012d19b9c00720a088003200db29..."} 
[2026-09-10 12:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0e92b0012d19b9c00720a088003200db29..."} 
[2026-09-10 12:14:39] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0e92b0012d19b9c00720a088003200db29..."} 
[2026-09-10 12:14:39] local.INFO: Packet analysis {"connection_id":176462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0e"} 
[2026-09-10 12:14:39] local.INFO: Extracted packet for processing {"connection_id":176462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0e"} 
[2026-09-10 12:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119578760,"longitude_deg":75.6660672,"latitude_deg":11.957876,"altitude":50,"angle":219,"satellites":41,"speed":22,"hex_longitude":"2d19b9c0","hex_latitude":"0720a088","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989786880001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19163392455475200,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949543936,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789022606000,"timestamp_ms":1789022606000,"timestamp_seconds":1789022606,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0e92b0"} 
[2026-09-10 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-09-10 12:14: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-09-10 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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-10 12:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989786880001,"66":14254,"103":206,"83":41984,"24":22,"16":19163392455475200,"45":1854146070949543936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 12:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989786880001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:14:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 12:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19163392455475200,"km_value":19163392455475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949543936,"description":"Unknown IO ID 45"} 
[2026-09-10 12:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989786880001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854146070949543936}} 
[2026-09-10 12:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":176462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:14:39] local.INFO: GPS data processed {"connection_id":176462,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:14:39] local.INFO: Acknowledgment sent {"connection_id":176462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:14:58] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0f2b08012cc3af00075b74400022015e2f..."} 
[2026-09-10 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0f2b08012cc3af00075b74400022015e2f..."} 
[2026-09-10 12:14:58] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0f2b08012cc3af00075b74400022015e2f..."} 
[2026-09-10 12:14:58] local.INFO: Packet analysis {"connection_id":176216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:14:58] local.INFO: Extracted packet for processing {"connection_id":176216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:14:58] local.INFO: GPS Element Parsed {"raw_longitude":751021824,"raw_latitude":123434048,"longitude_deg":75.1021824,"latitude_deg":12.3434048,"altitude":34,"angle":350,"satellites":47,"speed":49,"hex_longitude":"2cc3af00","hex_latitude":"075b7440","is_valid_coordinates":true} 
[2026-09-10 12:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989796096001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403946192494395392,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344777340163635200,"note":"Value kept but may cause issues"} 
[2026-09-10 12:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789022645000,"timestamp_ms":1789022645000,"timestamp_seconds":1789022645,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0f2b08"} 
[2026-09-10 12:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:14: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-09-10 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989796096001,"66":27865,"35":206,"85":37120,"24":49,"16":403946192494395392,"44":-4344777340163635200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-10 12:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989796096001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:14:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-10 12:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403946192494395392,"km_value":403946192494395.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344777340163635200,"description":"Unknown IO ID 44"} 
[2026-09-10 12:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989796096001,"power":27865,"unknown_35":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4344777340163635200}} 
[2026-09-10 12:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":176216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:14:58] local.INFO: GPS data processed {"connection_id":176216,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:14:58] local.INFO: Acknowledgment sent {"connection_id":176216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:15:10] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0f7d10012d19edc0071ffbb8002a00692c..."} 
[2026-09-10 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0f7d10012d19edc0071ffbb8002a00692c..."} 
[2026-09-10 12:15:10] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0f7d10012d19edc0071ffbb8002a00692c..."} 
[2026-09-10 12:15:10] local.INFO: Packet analysis {"connection_id":176462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:10] local.INFO: Extracted packet for processing {"connection_id":176462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756673984,"raw_latitude":119536568,"longitude_deg":75.6673984,"latitude_deg":11.9536568,"altitude":42,"angle":105,"satellites":44,"speed":23,"hex_longitude":"2d19edc0","hex_latitude":"071ffbb8","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989802240001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19165737507618816,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869820792832,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789022666000,"timestamp_ms":1789022666000,"timestamp_seconds":1789022666,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0f7d10"} 
[2026-09-10 12:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:15: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-09-10 12: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 12:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989802240001,"66":14026,"101":206,"83":41984,"24":23,"16":19165737507618816,"45":1867656869820792832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989802240001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:15:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19165737507618816,"km_value":19165737507618.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869820792832,"description":"Unknown IO ID 45"} 
[2026-09-10 12:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989802240001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1867656869820792832}} 
[2026-09-10 12:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":176462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:15:10] local.INFO: GPS data processed {"connection_id":176462,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:15:10] local.INFO: Acknowledgment sent {"connection_id":176462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:15:19] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:15:19] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:15:19] local.INFO: IMEI packet received {"connection_id":176217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":176217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:15:24] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:15:24] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:15:24] local.INFO: IMEI packet received {"connection_id":176217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":176217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:15:26] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0f36c0012cc3ae40075b82c8002100042f..."} 
[2026-09-10 12:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0f36c0012cc3ae40075b82c8002100042f..."} 
[2026-09-10 12:15:26] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0f36c0012cc3ae40075b82c8002100042f..."} 
[2026-09-10 12:15:26] local.INFO: Packet analysis {"connection_id":176217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:26] local.INFO: Extracted packet for processing {"connection_id":176217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:26] local.INFO: GPS Element Parsed {"raw_longitude":751021632,"raw_latitude":123437768,"longitude_deg":75.1021632,"latitude_deg":12.3437768,"altitude":33,"angle":4,"satellites":47,"speed":49,"hex_longitude":"2cc3ae40","hex_latitude":"075b82c8","is_valid_coordinates":true} 
[2026-09-10 12:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989797120001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403946372883021824,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346255083790123008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789022648000,"timestamp_ms":1789022648000,"timestamp_seconds":1789022648,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0f36c0"} 
[2026-09-10 12:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989797120001,"66":27821,"35":206,"85":37120,"24":49,"16":403946372883021824,"44":-4346255083790123008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-10 12:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989797120001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:15:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-10 12:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403946372883021824,"km_value":403946372883021.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346255083790123008,"description":"Unknown IO ID 44"} 
[2026-09-10 12:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989797120001,"power":27821,"unknown_35":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4346255083790123008}} 
[2026-09-10 12:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":176217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:15:26] local.INFO: GPS data processed {"connection_id":176217,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:15:26] local.INFO: Acknowledgment sent {"connection_id":176217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:15:27] local.INFO: TCP Data received {"connection_id":177633,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:15:27] local.INFO: Processing buffer {"connection_id":177633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:15:27] local.INFO: IMEI packet received {"connection_id":177633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":177633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:15:29] local.INFO: TCP Data received {"connection_id":177633,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:15:29] local.INFO: Processing buffer {"connection_id":177633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:15:29] local.INFO: IMEI packet received {"connection_id":177633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":177633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:15:30] local.INFO: TCP Data received {"connection_id":177633,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0f80f8012d19f000071ffbb8002a00572c..."} 
[2026-09-10 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0f80f8012d19f000071ffbb8002a00572c..."} 
[2026-09-10 12:15:30] local.INFO: Processing buffer {"connection_id":177633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0f80f8012d19f000071ffbb8002a00572c..."} 
[2026-09-10 12:15:30] local.INFO: Packet analysis {"connection_id":177633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:30] local.INFO: Extracted packet for processing {"connection_id":177633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756674560,"raw_latitude":119536568,"longitude_deg":75.667456,"latitude_deg":11.9536568,"altitude":42,"angle":87,"satellites":44,"speed":25,"hex_longitude":"2d19f000","hex_latitude":"071ffbb8","is_valid_coordinates":true} 
[2026-09-10 12:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989802496001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19165767572389888,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868360557262518272,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789022667000,"timestamp_ms":1789022667000,"timestamp_seconds":1789022667,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0f80f8"} 
[2026-09-10 12:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 12:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989802496001,"66":14026,"101":206,"83":41984,"24":25,"16":19165767572389888,"45":1868360557262518272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989802496001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:15:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19165767572389888,"km_value":19165767572389.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868360557262518272,"description":"Unknown IO ID 45"} 
[2026-09-10 12:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989802496001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1868360557262518272}} 
[2026-09-10 12:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":177633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:15:30] local.INFO: GPS data processed {"connection_id":177633,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:15:30] local.INFO: Acknowledgment sent {"connection_id":177633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:15:33] local.INFO: TCP Data received {"connection_id":177633,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0f9098012d19fc00071ffc08002a00652c..."} 
[2026-09-10 12:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0f9098012d19fc00071ffc08002a00652c..."} 
[2026-09-10 12:15:33] local.INFO: Processing buffer {"connection_id":177633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0f9098012d19fc00071ffc08002a00652c..."} 
[2026-09-10 12:15:33] local.INFO: Packet analysis {"connection_id":177633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:33] local.INFO: Extracted packet for processing {"connection_id":177633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756677632,"raw_latitude":119536648,"longitude_deg":75.6677632,"latitude_deg":11.9536648,"altitude":42,"angle":101,"satellites":44,"speed":33,"hex_longitude":"2d19fc00","hex_latitude":"071ffc08","is_valid_coordinates":true} 
[2026-09-10 12:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989802752001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19165913601277952,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868993875960117248,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022671000,"timestamp_ms":1789022671000,"timestamp_seconds":1789022671,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0f9098"} 
[2026-09-10 12:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 12:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989802752001,"66":13319,"101":206,"83":41984,"24":33,"16":19165913601277952,"45":1868993875960117248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989802752001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:15:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19165913601277952,"km_value":19165913601277.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868993875960117248,"description":"Unknown IO ID 45"} 
[2026-09-10 12:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989802752001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1868993875960117248}} 
[2026-09-10 12:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":177633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:15:33] local.INFO: GPS data processed {"connection_id":177633,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:15:33] local.INFO: Acknowledgment sent {"connection_id":177633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:15:58] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0f5600012cc3b2c0075ba720002200072e..."} 
[2026-09-10 12:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0f5600012cc3b2c0075ba720002200072e..."} 
[2026-09-10 12:15:58] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0f5600012cc3b2c0075ba720002200072e..."} 
[2026-09-10 12:15:58] local.INFO: Packet analysis {"connection_id":176217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:58] local.INFO: Extracted packet for processing {"connection_id":176217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:15:58] local.INFO: GPS Element Parsed {"raw_longitude":751022784,"raw_latitude":123447072,"longitude_deg":75.1022784,"latitude_deg":12.3447072,"altitude":34,"angle":7,"satellites":46,"speed":44,"hex_longitude":"2cc3b2c0","hex_latitude":"075ba720","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989797888001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403946828149555200,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346466190021703680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789022656000,"timestamp_ms":1789022656000,"timestamp_seconds":1789022656,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0f5600"} 
[2026-09-10 12:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989797888001,"66":27995,"35":206,"85":37120,"24":44,"16":403946828149555200,"44":-4346466190021703680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-10 12:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989797888001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:15:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-10 12:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403946828149555200,"km_value":403946828149555.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346466190021703680,"description":"Unknown IO ID 44"} 
[2026-09-10 12:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989797888001,"power":27995,"unknown_35":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4346466190021703680}} 
[2026-09-10 12:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":176217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:15:58] local.INFO: GPS data processed {"connection_id":176217,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:15:58] local.INFO: Acknowledgment sent {"connection_id":176217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:16:05] local.INFO: TCP Data received {"connection_id":177633,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0fb7a8012d1a2000071ff0f8002b006b2b..."} 
[2026-09-10 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0fb7a8012d1a2000071ff0f8002b006b2b..."} 
[2026-09-10 12:16:05] local.INFO: Processing buffer {"connection_id":177633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0fb7a8012d1a2000071ff0f8002b006b2b..."} 
[2026-09-10 12:16:05] local.INFO: Packet analysis {"connection_id":177633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:16:05] local.INFO: Extracted packet for processing {"connection_id":177633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756686848,"raw_latitude":119533816,"longitude_deg":75.6686848,"latitude_deg":11.9533816,"altitude":43,"angle":107,"satellites":43,"speed":39,"hex_longitude":"2d1a2000","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-10 12:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989803776001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19166373162778624,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371575680665600,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16: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-09-10 12:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789022681000,"timestamp_ms":1789022681000,"timestamp_seconds":1789022681,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0fb7a8"} 
[2026-09-10 12:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:16: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-09-10 12:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2316261864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":1179943282768029696,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3221692424,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.WARNING: Large IO value detected {"io_id":15,"raw_value":5634004427059036167,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,23,160,128,45,251,42,44,10,66,125,192,121,64,1,240,33,227,138,32,4,113,205,27,97,225,168,41,239,55,2,68,7,30,5,15],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-10 12:16:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026530189248102400,"timestamp_seconds":3026530189248102.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:16: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-09-10 12:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989803776001,"66":14004,"101":206,"83":41984,"24":39,"16":19166373162778624,"45":1872371575680665600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989803776001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19166373162778624,"km_value":19166373162778.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371575680665600,"description":"Unknown IO ID 45"} 
[2026-09-10 12:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989803776001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1872371575680665600}} 
[2026-09-10 12:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":177633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:16:05] local.INFO: GPS data processed {"connection_id":177633,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:16:05] local.INFO: Acknowledgment sent {"connection_id":177633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:16:19] local.INFO: TCP Data received {"connection_id":179016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:16:19] local.INFO: Processing buffer {"connection_id":179016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:16:19] local.INFO: IMEI packet received {"connection_id":179016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":179016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:16:24] local.INFO: TCP Data received {"connection_id":179016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:16:24] local.INFO: Processing buffer {"connection_id":179016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:16:24] local.INFO: IMEI packet received {"connection_id":179016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":179016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:16:25] local.INFO: TCP Data received {"connection_id":179016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0f6d70012cc3b400075bbfe8002401642f..."} 
[2026-09-10 12:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0f6d70012cc3b400075bbfe8002401642f..."} 
[2026-09-10 12:16:25] local.INFO: Processing buffer {"connection_id":179016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0f6d70012cc3b400075bbfe8002401642f..."} 
[2026-09-10 12:16:25] local.INFO: Packet analysis {"connection_id":179016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:16:25] local.INFO: Extracted packet for processing {"connection_id":179016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:16:25] local.INFO: GPS Element Parsed {"raw_longitude":751023104,"raw_latitude":123453416,"longitude_deg":75.1023104,"latitude_deg":12.3453416,"altitude":36,"angle":356,"satellites":47,"speed":39,"hex_longitude":"2cc3b400","hex_latitude":"075bbfe8","is_valid_coordinates":true} 
[2026-09-10 12:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989799936001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403947137387200512,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4345199552624123904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789022662000,"timestamp_ms":1789022662000,"timestamp_seconds":1789022662,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0f6d70"} 
[2026-09-10 12:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:16: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-09-10 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 12:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989799936001,"66":28028,"76":206,"85":37120,"24":39,"16":403947137387200512,"44":-4345199552624123904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,85,24,16,44]} 
[2026-09-10 12:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989799936001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:16:25] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-10 12:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403947137387200512,"km_value":403947137387200.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4345199552624123904,"description":"Unknown IO ID 44"} 
[2026-09-10 12:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989799936001,"power":28028,"unknown_76":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4345199552624123904}} 
[2026-09-10 12:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":179016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:16:25] local.INFO: GPS data processed {"connection_id":179016,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:16:25] local.INFO: Acknowledgment sent {"connection_id":179016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:16:27] local.INFO: TCP Data received {"connection_id":179017,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:16:27] local.INFO: Processing buffer {"connection_id":179017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:16:27] local.INFO: IMEI packet received {"connection_id":179017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":179017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:16:33] local.INFO: TCP Data received {"connection_id":179017,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:16:33] local.INFO: Processing buffer {"connection_id":179017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:16:33] local.INFO: IMEI packet received {"connection_id":179017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":179017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:16:33] local.INFO: TCP Data received {"connection_id":179017,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0fdeb8012d1a4400071fe778002c006a2c..."} 
[2026-09-10 12:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0fdeb8012d1a4400071fe778002c006a2c..."} 
[2026-09-10 12:16:33] local.INFO: Processing buffer {"connection_id":179017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0fdeb8012d1a4400071fe778002c006a2c..."} 
[2026-09-10 12:16:33] local.INFO: Packet analysis {"connection_id":179017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:16:33] local.INFO: Extracted packet for processing {"connection_id":179017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756696064,"raw_latitude":119531384,"longitude_deg":75.6696064,"latitude_deg":11.9531384,"altitude":44,"angle":106,"satellites":44,"speed":34,"hex_longitude":"2d1a4400","hex_latitude":"071fe778","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989806336001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19166828429312000,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882504674841524224,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022691000,"timestamp_ms":1789022691000,"timestamp_seconds":1789022691,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0fdeb8"} 
[2026-09-10 12:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 12:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989806336001,"66":13993,"101":206,"83":41984,"24":34,"16":19166828429312000,"45":1882504674841524224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989806336001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:16:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19166828429312000,"km_value":19166828429312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882504674841524224,"description":"Unknown IO ID 45"} 
[2026-09-10 12:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989806336001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1882504674841524224}} 
[2026-09-10 12:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":179017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:16:33] local.INFO: GPS data processed {"connection_id":179017,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:16:33] local.INFO: Acknowledgment sent {"connection_id":179017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:16:57] local.INFO: TCP Data received {"connection_id":179016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a10ec40012cc30680075ce1b0000d01412d..."} 
[2026-09-10 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a10ec40012cc30680075ce1b0000d01412d..."} 
[2026-09-10 12:16:57] local.INFO: Processing buffer {"connection_id":179016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a10ec40012cc30680075ce1b0000d01412d..."} 
[2026-09-10 12:16:57] local.INFO: Packet analysis {"connection_id":179016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a10"} 
[2026-09-10 12:16:57] local.INFO: Extracted packet for processing {"connection_id":179016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a10"} 
[2026-09-10 12:16:57] local.INFO: GPS Element Parsed {"raw_longitude":750978688,"raw_latitude":123527600,"longitude_deg":75.0978688,"latitude_deg":12.35276,"altitude":13,"angle":321,"satellites":45,"speed":44,"hex_longitude":"2cc30680","hex_latitude":"075ce1b0","is_valid_coordinates":true} 
[2026-09-10 12:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989825536001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403951385109856256,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4391009605064110080,"note":"Value kept but may cause issues"} 
[2026-09-10 12:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789022760000,"timestamp_ms":1789022760000,"timestamp_seconds":1789022760,"priority":1,"record_length":96,"hex_timestamp":"000001a08a10ec40"} 
[2026-09-10 12:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989825536001,"66":27919,"175":206,"85":37120,"24":44,"16":403951385109856256,"44":-4391009605064110080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-09-10 12:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989825536001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:16:57] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-10 12:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403951385109856256,"km_value":403951385109856.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:16:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4391009605064110080,"description":"Unknown IO ID 44"} 
[2026-09-10 12:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989825536001,"power":27919,"unknown_175":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4391009605064110080}} 
[2026-09-10 12:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":179016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:16:57] local.INFO: GPS data processed {"connection_id":179016,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:16:57] local.INFO: Acknowledgment sent {"connection_id":179016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:17:04] local.INFO: TCP Data received {"connection_id":179017,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a0fea70012d1a4dc0071fe408002d00762b..."} 
[2026-09-10 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a0fea70012d1a4dc0071fe408002d00762b..."} 
[2026-09-10 12:17:04] local.INFO: Processing buffer {"connection_id":179017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a0fea70012d1a4dc0071fe408002d00762b..."} 
[2026-09-10 12:17:04] local.INFO: Packet analysis {"connection_id":179017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:17:04] local.INFO: Extracted packet for processing {"connection_id":179017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a0f"} 
[2026-09-10 12:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756698560,"raw_latitude":119530504,"longitude_deg":75.669856,"latitude_deg":11.9530504,"altitude":45,"angle":118,"satellites":43,"speed":34,"hex_longitude":"2d1a4dc0","hex_latitude":"071fe408","is_valid_coordinates":true} 
[2026-09-10 12:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989808896001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19166948688396288,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892637774002485248,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022694000,"timestamp_ms":1789022694000,"timestamp_seconds":1789022694,"priority":1,"record_length":96,"hex_timestamp":"000001a08a0fea70"} 
[2026-09-10 12:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 12:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989808896001,"66":14070,"101":206,"83":41984,"24":34,"16":19166948688396288,"45":1892637774002485248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989808896001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:17:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:17:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19166948688396288,"km_value":19166948688396.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892637774002485248,"description":"Unknown IO ID 45"} 
[2026-09-10 12:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989808896001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1892637774002485248}} 
[2026-09-10 12:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":179017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:17:04] local.INFO: GPS data processed {"connection_id":179017,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:17:04] local.INFO: Acknowledgment sent {"connection_id":179017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:17:19] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:19] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:19] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:17:21] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:21] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:21] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:17:24] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:24] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:17:24] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:17:25] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a10ffc8012cc2f700075cf100000e01332d..."} 
[2026-09-10 12:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a10ffc8012cc2f700075cf100000e01332d..."} 
[2026-09-10 12:17:25] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a10ffc8012cc2f700075cf100000e01332d..."} 
[2026-09-10 12:17:25] local.INFO: Packet analysis {"connection_id":176465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a10"} 
[2026-09-10 12:17:25] local.INFO: Extracted packet for processing {"connection_id":176465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a10"} 
[2026-09-10 12:17:25] local.INFO: GPS Element Parsed {"raw_longitude":750974720,"raw_latitude":123531520,"longitude_deg":75.097472,"latitude_deg":12.353152,"altitude":14,"angle":307,"satellites":45,"speed":43,"hex_longitude":"2cc2f700","hex_latitude":"075cf100","is_valid_coordinates":true} 
[2026-09-10 12:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989826560001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403951655692795904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4393683617341919232,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789022765000,"timestamp_ms":1789022765000,"timestamp_seconds":1789022765,"priority":1,"record_length":96,"hex_timestamp":"000001a08a10ffc8"} 
[2026-09-10 12:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 12:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989826560001,"66":27691,"175":206,"85":37120,"24":43,"16":403951655692795904,"44":-4393683617341919232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-09-10 12:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989826560001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:17:25] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-10 12:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403951655692795904,"km_value":403951655692795.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4393683617341919232,"description":"Unknown IO ID 44"} 
[2026-09-10 12:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989826560001,"power":27691,"unknown_175":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4393683617341919232}} 
[2026-09-10 12:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":176465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:17:25] local.INFO: GPS data processed {"connection_id":176465,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:17:25] local.INFO: Acknowledgment sent {"connection_id":176465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:17:26] local.INFO: TCP Data received {"connection_id":177634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:26] local.INFO: Processing buffer {"connection_id":177634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:26] local.INFO: IMEI packet received {"connection_id":177634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":177634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:17:27] local.INFO: TCP Data received {"connection_id":177634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:27] local.INFO: Processing buffer {"connection_id":177634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:27] local.INFO: IMEI packet received {"connection_id":177634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":177634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:17:30] local.INFO: TCP Data received {"connection_id":177634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:30] local.INFO: Processing buffer {"connection_id":177634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:17:30] local.INFO: IMEI packet received {"connection_id":177634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":177634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:17:31] local.INFO: TCP Data received {"connection_id":177634,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a119438012d1a9c80071f9df0003b008228..."} 
[2026-09-10 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a119438012d1a9c80071f9df0003b008228..."} 
[2026-09-10 12:17:31] local.INFO: Processing buffer {"connection_id":177634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a119438012d1a9c80071f9df0003b008228..."} 
[2026-09-10 12:17:31] local.INFO: Packet analysis {"connection_id":177634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a11"} 
[2026-09-10 12:17:31] local.INFO: Extracted packet for processing {"connection_id":177634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a11"} 
[2026-09-10 12:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756718720,"raw_latitude":119512560,"longitude_deg":75.671872,"latitude_deg":11.951256,"altitude":59,"angle":130,"satellites":40,"speed":37,"hex_longitude":"2d1a9c80","hex_latitude":"071f9df0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989835776001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19168348847734784,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912411391112871936,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789022803000,"timestamp_ms":1789022803000,"timestamp_seconds":1789022803,"priority":1,"record_length":96,"hex_timestamp":"000001a08a119438"} 
[2026-09-10 12:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 12:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989835776001,"66":14461,"101":206,"83":41984,"24":37,"16":19168348847734784,"45":1912411391112871936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989835776001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:17:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19168348847734784,"km_value":19168348847734.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912411391112871936,"description":"Unknown IO ID 45"} 
[2026-09-10 12:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989835776001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1912411391112871936}} 
[2026-09-10 12:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":177634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:17:31] local.INFO: GPS data processed {"connection_id":177634,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:17:31] local.INFO: Acknowledgment sent {"connection_id":177634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:17:56] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1122f0012cc2d500075d0388000f012a2c..."} 
[2026-09-10 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1122f0012cc2d500075d0388000f012a2c..."} 
[2026-09-10 12:17:56] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1122f0012cc2d500075d0388000f012a2c..."} 
[2026-09-10 12:17:56] local.INFO: Packet analysis {"connection_id":176465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a11"} 
[2026-09-10 12:17:56] local.INFO: Extracted packet for processing {"connection_id":176465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a11"} 
[2026-09-10 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":750966016,"raw_latitude":123536264,"longitude_deg":75.0966016,"latitude_deg":12.3536264,"altitude":15,"angle":298,"satellites":44,"speed":42,"hex_longitude":"2cc2d500","hex_latitude":"075d0388","is_valid_coordinates":true} 
[2026-09-10 12:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989827840001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403952128139198464,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398046479479930880,"note":"Value kept but may cause issues"} 
[2026-09-10 12:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789022774000,"timestamp_ms":1789022774000,"timestamp_seconds":1789022774,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1122f0"} 
[2026-09-10 12:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 12:17:56] 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-09-10 12:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989827840001,"66":27843,"175":206,"85":37120,"24":42,"16":403952128139198464,"44":-4398046479479930880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-09-10 12:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989827840001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:17:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-10 12:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403952128139198464,"km_value":403952128139198.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:17:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398046479479930880,"description":"Unknown IO ID 44"} 
[2026-09-10 12:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989827840001,"power":27843,"unknown_175":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4398046479479930880}} 
[2026-09-10 12:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":176465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:17:56] local.INFO: GPS data processed {"connection_id":176465,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:17:56] local.INFO: Acknowledgment sent {"connection_id":176465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:18:02] local.INFO: TCP Data received {"connection_id":177634,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a11e640012d1ac940071f84280038005b25..."} 
[2026-09-10 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a11e640012d1ac940071f84280038005b25..."} 
[2026-09-10 12:18:02] local.INFO: Processing buffer {"connection_id":177634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a11e640012d1ac940071f84280038005b25..."} 
[2026-09-10 12:18:02] local.INFO: Packet analysis {"connection_id":177634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a11"} 
[2026-09-10 12:18:02] local.INFO: Extracted packet for processing {"connection_id":177634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a11"} 
[2026-09-10 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756730176,"raw_latitude":119505960,"longitude_deg":75.6730176,"latitude_deg":11.950596,"altitude":56,"angle":91,"satellites":37,"speed":12,"hex_longitude":"2d1ac940","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989842688001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19169053222371328,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929933208410142720,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789022824000,"timestamp_ms":1789022824000,"timestamp_seconds":1789022824,"priority":1,"record_length":96,"hex_timestamp":"000001a08a11e640"} 
[2026-09-10 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-09-10 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 12:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989842688001,"66":13993,"101":206,"83":41984,"24":12,"16":19169053222371328,"45":1929933208410142720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989842688001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:18:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19169053222371328,"km_value":19169053222371.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929933208410142720,"description":"Unknown IO ID 45"} 
[2026-09-10 12:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989842688001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1929933208410142720}} 
[2026-09-10 12:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":177634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:18:02] local.INFO: GPS data processed {"connection_id":177634,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:18:02] local.INFO: Acknowledgment sent {"connection_id":177634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:18:24] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:18:24] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:18:24] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:18:25] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:18:25] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:18:25] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:18:26] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a121908012cc29ac0075df0880012002e2f..."} 
[2026-09-10 12:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a121908012cc29ac0075df0880012002e2f..."} 
[2026-09-10 12:18:26] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a121908012cc29ac0075df0880012002e2f..."} 
[2026-09-10 12:18:26] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:18:26] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:18:26] local.INFO: GPS Element Parsed {"raw_longitude":750951104,"raw_latitude":123596936,"longitude_deg":75.0951104,"latitude_deg":12.3596936,"altitude":18,"angle":46,"satellites":47,"speed":49,"hex_longitude":"2cc29ac0","hex_latitude":"075df088","is_valid_coordinates":true} 
[2026-09-10 12:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989844992001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403955684372119552,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428516145693327360,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789022837000,"timestamp_ms":1789022837000,"timestamp_seconds":1789022837,"priority":1,"record_length":96,"hex_timestamp":"000001a08a121908"} 
[2026-09-10 12:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989844992001,"66":27800,"208":206,"85":37120,"24":49,"16":403955684372119552,"44":-4428516145693327360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-10 12:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989844992001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:18:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 12:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403955684372119552,"km_value":403955684372119.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:18:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428516145693327360,"description":"Unknown IO ID 44"} 
[2026-09-10 12:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989844992001,"power":27800,"unknown_208":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4428516145693327360}} 
[2026-09-10 12:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:18:26] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:18:26] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:18:27] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:18:27] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:18:27] local.INFO: IMEI packet received {"connection_id":177635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":177635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:18:29] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a122c90012cc2aec0075dff200013003a2d..."} 
[2026-09-10 12:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a122c90012cc2aec0075dff200013003a2d..."} 
[2026-09-10 12:18:29] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a122c90012cc2aec0075dff200013003a2d..."} 
[2026-09-10 12:18:29] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:18:29] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:18:29] local.INFO: GPS Element Parsed {"raw_longitude":750956224,"raw_latitude":123600672,"longitude_deg":75.0956224,"latitude_deg":12.3600672,"altitude":19,"angle":58,"satellites":45,"speed":50,"hex_longitude":"2cc2aec0","hex_latitude":"075dff20","is_valid_coordinates":true} 
[2026-09-10 12:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989846272001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403955989314797568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424012546064742400,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789022842000,"timestamp_ms":1789022842000,"timestamp_seconds":1789022842,"priority":1,"record_length":96,"hex_timestamp":"000001a08a122c90"} 
[2026-09-10 12:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:18: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-09-10 12:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989846272001,"66":27865,"208":206,"85":37120,"24":50,"16":403955989314797568,"44":-4424012546064742400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-10 12:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989846272001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:18:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 12:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403955989314797568,"km_value":403955989314797.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424012546064742400,"description":"Unknown IO ID 44"} 
[2026-09-10 12:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989846272001,"power":27865,"unknown_208":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4424012546064742400}} 
[2026-09-10 12:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:18:29] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:18:29] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:18:32] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:18:32] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:18:32] local.INFO: IMEI packet received {"connection_id":177635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":177635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:18:33] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a120580012d1ad900071f85580035004f27..."} 
[2026-09-10 12:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a120580012d1ad900071f85580035004f27..."} 
[2026-09-10 12:18:33] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a120580012d1ad900071f85580035004f27..."} 
[2026-09-10 12:18:33] local.INFO: Packet analysis {"connection_id":177635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:18:33] local.INFO: Extracted packet for processing {"connection_id":177635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756734208,"raw_latitude":119506264,"longitude_deg":75.6734208,"latitude_deg":11.9506264,"altitude":53,"angle":79,"satellites":39,"speed":20,"hex_longitude":"2d1ad900","hex_latitude":"071f8558","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989842944001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19169246495899648,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930144314642671616,"note":"Value kept but may cause issues"} 
[2026-09-10 12:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022832000,"timestamp_ms":1789022832000,"timestamp_seconds":1789022832,"priority":1,"record_length":96,"hex_timestamp":"000001a08a120580"} 
[2026-09-10 12:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 12:18: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-09-10 12: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-09-10 12:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989842944001,"66":13102,"101":206,"83":41984,"24":20,"16":19169246495899648,"45":1930144314642671616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989842944001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:18:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19169246495899648,"km_value":19169246495899.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930144314642671616,"description":"Unknown IO ID 45"} 
[2026-09-10 12:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989842944001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1930144314642671616}} 
[2026-09-10 12:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":177635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:18:33] local.INFO: GPS data processed {"connection_id":177635,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:18:33] local.INFO: Acknowledgment sent {"connection_id":177635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:19:00] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a124bd0012cc2d140075e13200014003a2c..."} 
[2026-09-10 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a124bd0012cc2d140075e13200014003a2c..."} 
[2026-09-10 12:19:00] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a124bd0012cc2d140075e13200014003a2c..."} 
[2026-09-10 12:19:00] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:19:00] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:19:00] local.INFO: GPS Element Parsed {"raw_longitude":750965056,"raw_latitude":123605792,"longitude_deg":75.0965056,"latitude_deg":12.3605792,"altitude":20,"angle":58,"satellites":44,"speed":50,"hex_longitude":"2cc2d140","hex_latitude":"075e1320","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989847552001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403956474646102016,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4418383046529572864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789022850000,"timestamp_ms":1789022850000,"timestamp_seconds":1789022850,"priority":1,"record_length":96,"hex_timestamp":"000001a08a124bd0"} 
[2026-09-10 12:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:19: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-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:19: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-09-10 12: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-09-10 12:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989847552001,"66":27876,"208":206,"85":37120,"24":50,"16":403956474646102016,"44":-4418383046529572864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-10 12:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989847552001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:19:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 12:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403956474646102016,"km_value":403956474646102.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4418383046529572864,"description":"Unknown IO ID 44"} 
[2026-09-10 12:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989847552001,"power":27876,"unknown_208":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4418383046529572864}} 
[2026-09-10 12:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:19:00] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:19:00] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:19:04] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a130750012d1b4e80071f78d00033009029..."} 
[2026-09-10 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a130750012d1b4e80071f78d00033009029..."} 
[2026-09-10 12:19:04] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a130750012d1b4e80071f78d00033009029..."} 
[2026-09-10 12:19:04] local.INFO: Packet analysis {"connection_id":177635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:19:04] local.INFO: Extracted packet for processing {"connection_id":177635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756764288,"raw_latitude":119503056,"longitude_deg":75.6764288,"latitude_deg":11.9503056,"altitude":51,"angle":144,"satellites":41,"speed":22,"hex_longitude":"2d1b4e80","hex_latitude":"071f78d0","is_valid_coordinates":true} 
[2026-09-10 12:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989861376001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19170818453929984,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966806430358728704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022898000,"timestamp_ms":1789022898000,"timestamp_seconds":1789022898,"priority":1,"record_length":96,"hex_timestamp":"000001a08a130750"} 
[2026-09-10 12:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":27,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2316491864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":45057,"corrected_to":0} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":8417227918309206784,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2147950456,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.WARNING: Large IO value detected {"io_id":18,"raw_value":-3132252247594270713,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,27,160,251,45,64,125,50,41,10,66,247,128,42,243,1,240,218,227,138,31,4,113,205,19,228,65,40,239,56,2,68,7,21,18],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":247,"original":45057,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-10 12:19:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675080408540774400,"timestamp_seconds":3675080408540774.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989861376001,"66":14298,"101":206,"83":41984,"24":22,"16":19170818453929984,"45":1966806430358728704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989861376001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:19:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19170818453929984,"km_value":19170818453929.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966806430358728704,"description":"Unknown IO ID 45"} 
[2026-09-10 12:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989861376001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1966806430358728704}} 
[2026-09-10 12:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":177635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:19:04] local.INFO: GPS data processed {"connection_id":177635,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:19:04] local.INFO: Acknowledgment sent {"connection_id":177635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:19:04] local.INFO: TCP Data received {"connection_id":179019,"ip":"71.6.134.235","data_length":204,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-10 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179019,"packet_length":204,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-10 12:19:04] local.INFO: Processing buffer {"connection_id":179019,"buffer_length":204,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-10 12:19:04] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":179019,"buffer_length":204,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-10 12:19:19] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:19:19] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:19:19] local.INFO: IMEI packet received {"connection_id":176467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":176467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:19:22] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:19:22] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:19:22] local.INFO: IMEI packet received {"connection_id":176467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":176467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:19:23] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a126b10012cc2f200075e26200014003b2b..."} 
[2026-09-10 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a126b10012cc2f200075e26200014003b2b..."} 
[2026-09-10 12:19:23] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a126b10012cc2f200075e26200014003b2b..."} 
[2026-09-10 12:19:23] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:19:23] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":750973440,"raw_latitude":123610656,"longitude_deg":75.097344,"latitude_deg":12.3610656,"altitude":20,"angle":59,"satellites":43,"speed":42,"hex_longitude":"2cc2f200","hex_latitude":"075e2620","is_valid_coordinates":true} 
[2026-09-10 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989849600001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403956938502569984,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408672159831744512,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789022858000,"timestamp_ms":1789022858000,"timestamp_seconds":1789022858,"priority":1,"record_length":96,"hex_timestamp":"000001a08a126b10"} 
[2026-09-10 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:19: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-09-10 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:19:23] 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-09-10 12:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989849600001,"66":27821,"208":206,"85":37120,"24":42,"16":403956938502569984,"44":-4408672159831744512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-10 12:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989849600001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:19:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 12:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403956938502569984,"km_value":403956938502570.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408672159831744512,"description":"Unknown IO ID 44"} 
[2026-09-10 12:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989849600001,"power":27821,"unknown_208":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4408672159831744512}} 
[2026-09-10 12:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:19:23] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:19:23] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:19:24] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a128e38012cc312c0075e3ac0001600342e..."} 
[2026-09-10 12:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a128e38012cc312c0075e3ac0001600342e..."} 
[2026-09-10 12:19:24] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a128e38012cc312c0075e3ac0001600342e..."} 
[2026-09-10 12:19:24] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:19:24] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a12"} 
[2026-09-10 12:19:24] local.INFO: GPS Element Parsed {"raw_longitude":750981824,"raw_latitude":123615936,"longitude_deg":75.0981824,"latitude_deg":12.3615936,"altitude":22,"angle":52,"satellites":46,"speed":43,"hex_longitude":"2cc312c0","hex_latitude":"075e3ac0","is_valid_coordinates":true} 
[2026-09-10 12:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989851648001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403957410948972544,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4399453854343225344,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789022867000,"timestamp_ms":1789022867000,"timestamp_seconds":1789022867,"priority":1,"record_length":96,"hex_timestamp":"000001a08a128e38"} 
[2026-09-10 12:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989851648001,"66":27800,"208":206,"85":37120,"24":43,"16":403957410948972544,"44":-4399453854343225344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-10 12:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989851648001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:19:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 12:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403957410948972544,"km_value":403957410948972.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4399453854343225344,"description":"Unknown IO ID 44"} 
[2026-09-10 12:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989851648001,"power":27800,"unknown_208":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4399453854343225344}} 
[2026-09-10 12:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:19:24] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:19:24] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:19:27] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:27] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:27] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:19:30] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:30] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:30] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:19:32] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:32] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:19:32] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:19:33] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1316f0012d1b5340071f70980034009e26..."} 
[2026-09-10 12:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1316f0012d1b5340071f70980034009e26..."} 
[2026-09-10 12:19:33] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1316f0012d1b5340071f70980034009e26..."} 
[2026-09-10 12:19:33] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:19:33] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756765504,"raw_latitude":119500952,"longitude_deg":75.6765504,"latitude_deg":11.9500952,"altitude":52,"angle":158,"satellites":38,"speed":23,"hex_longitude":"2d1b5340","hex_latitude":"071f7098","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989861888001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19170938713014272,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967650855288623104,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789022902000,"timestamp_ms":1789022902000,"timestamp_seconds":1789022902,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1316f0"} 
[2026-09-10 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-09-10 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 12:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989861888001,"66":13319,"101":206,"83":41984,"24":23,"16":19170938713014272,"45":1967650855288623104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989861888001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:19:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19170938713014272,"km_value":19170938713014.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967650855288623104,"description":"Unknown IO ID 45"} 
[2026-09-10 12:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989861888001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1967650855288623104}} 
[2026-09-10 12:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:19:33] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:19:33] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:19:47] local.INFO: TCP Data received {"connection_id":176468,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:19:47] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:19:47] local.INFO: IMEI packet received {"connection_id":176468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":176468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:19:56] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a13caa0012cc32640075f8010001901602e..."} 
[2026-09-10 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a13caa0012cc32640075f8010001901602e..."} 
[2026-09-10 12:19:56] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a13caa0012cc32640075f8010001901602e..."} 
[2026-09-10 12:19:56] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:19:56] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":750986816,"raw_latitude":123699216,"longitude_deg":75.0986816,"latitude_deg":12.3699216,"altitude":25,"angle":352,"satellites":46,"speed":45,"hex_longitude":"2cc32640","hex_latitude":"075f8010","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989872640001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403961589952151552,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383269043162017792,"note":"Value kept but may cause issues"} 
[2026-09-10 12:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789022948000,"timestamp_ms":1789022948000,"timestamp_seconds":1789022948,"priority":1,"record_length":96,"hex_timestamp":"000001a08a13caa0"} 
[2026-09-10 12:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989872640001,"66":27843,"187":206,"85":37120,"24":45,"16":403961589952151552,"44":-4383269043162017792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-10 12:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989872640001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:19:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403961589952151552,"km_value":403961589952151.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:19:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383269043162017792,"description":"Unknown IO ID 44"} 
[2026-09-10 12:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989872640001,"power":27843,"unknown_187":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4383269043162017792}} 
[2026-09-10 12:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:19:56] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:19:56] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:20:04] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a13f598012d1b8180071f74780028004a23..."} 
[2026-09-10 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a13f598012d1b8180071f74780028004a23..."} 
[2026-09-10 12:20:04] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a13f598012d1b8180071f74780028004a23..."} 
[2026-09-10 12:20:04] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:20:04] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756777344,"raw_latitude":119501944,"longitude_deg":75.6777344,"latitude_deg":11.9501944,"altitude":40,"angle":74,"satellites":35,"speed":5,"hex_longitude":"2d1b8180","hex_latitude":"071f7478","is_valid_coordinates":true} 
[2026-09-10 12:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989876736001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19171565778239488,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981583866635442176,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789022959000,"timestamp_ms":1789022959000,"timestamp_seconds":1789022959,"priority":1,"record_length":96,"hex_timestamp":"000001a08a13f598"} 
[2026-09-10 12:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 12:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989876736001,"66":14004,"101":206,"83":41984,"24":5,"16":19171565778239488,"45":1981583866635442176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989876736001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:20:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19171565778239488,"km_value":19171565778239.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981583866635442176,"description":"Unknown IO ID 45"} 
[2026-09-10 12:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989876736001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1981583866635442176}} 
[2026-09-10 12:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:20:04] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:20:04] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:20:20] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:20:20] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:20:20] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:20:21] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:20:21] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:20:21] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:20:24] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:20:24] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:20:24] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:20:25] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a13e210012cc32500075f9ac8001900052f..."} 
[2026-09-10 12:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a13e210012cc32500075f9ac8001900052f..."} 
[2026-09-10 12:20:25] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08a..."} 
[2026-09-10 12:20:25] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:20:30] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a13edc8012cc32840075fa7c0001a00162f..."} 
[2026-09-10 12:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a13edc8012cc32840075fa7c0001a00162f..."} 
[2026-09-10 12:20:30] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08a13e210012cc32500075f9ac8001900052f..."} 
[2026-09-10 12:20:30] local.INFO: Packet analysis {"connection_id":176469,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:20:30] local.INFO: Extracted packet for processing {"connection_id":176469,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750986496,"raw_latitude":123706056,"longitude_deg":75.0986496,"latitude_deg":12.3706056,"altitude":25,"angle":5,"satellites":47,"speed":45,"hex_longitude":"2cc32500","hex_latitude":"075f9ac8","is_valid_coordinates":true} 
[2026-09-10 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989874688001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403961920664633344,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4384746786787422208,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789022954000,"timestamp_ms":1789022954000,"timestamp_seconds":1789022954,"priority":1,"record_length":96,"hex_timestamp":"000001a08a13e210"} 
[2026-09-10 12:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:20: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-09-10 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989874688001,"66":27843,"187":206,"85":37120,"24":45,"16":403961920664633344,"44":-4384746786787422208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989874688001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403961920664633344,"km_value":403961920664633.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4384746786787422208,"description":"Unknown IO ID 44"} 
[2026-09-10 12:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989874688001,"power":27843,"unknown_187":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4384746786787422208}} 
[2026-09-10 12:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":176469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:20:30] local.INFO: GPS data processed {"connection_id":176469,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:20:30] local.INFO: Acknowledgment sent {"connection_id":176469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:20:30] local.INFO: Packet analysis {"connection_id":176469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:20:30] local.INFO: Extracted packet for processing {"connection_id":176469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750987328,"raw_latitude":123709376,"longitude_deg":75.0987328,"latitude_deg":12.3709376,"altitude":26,"angle":22,"satellites":47,"speed":45,"hex_longitude":"2cc32840","hex_latitude":"075fa7c0","is_valid_coordinates":true} 
[2026-09-10 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989876224001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403962088168357888,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4385098630506559488,"note":"Value kept but may cause issues"} 
[2026-09-10 12:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789022957000,"timestamp_ms":1789022957000,"timestamp_seconds":1789022957,"priority":1,"record_length":96,"hex_timestamp":"000001a08a13edc8"} 
[2026-09-10 12:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:20: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-09-10 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989876224001,"66":27865,"187":206,"85":37120,"24":45,"16":403962088168357888,"44":-4385098630506559488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-10 12:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989876224001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403962088168357888,"km_value":403962088168357.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4385098630506559488,"description":"Unknown IO ID 44"} 
[2026-09-10 12:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989876224001,"power":27865,"unknown_187":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4385098630506559488}} 
[2026-09-10 12:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":176469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:20:30] local.INFO: GPS data processed {"connection_id":176469,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:20:30] local.INFO: Acknowledgment sent {"connection_id":176469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:21:01] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a13f980012cc32f00075fb338001a00252f..."} 
[2026-09-10 12:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a13f980012cc32f00075fb338001a00252f..."} 
[2026-09-10 12:21:01] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a13f980012cc32f00075fb338001a00252f..."} 
[2026-09-10 12:21:01] local.INFO: Packet analysis {"connection_id":176469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:21:01] local.INFO: Extracted packet for processing {"connection_id":176469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a13"} 
[2026-09-10 12:21:01] local.INFO: GPS Element Parsed {"raw_longitude":750989056,"raw_latitude":123712312,"longitude_deg":75.0989056,"latitude_deg":12.3712312,"altitude":26,"angle":37,"satellites":47,"speed":45,"hex_longitude":"2cc32f00","hex_latitude":"075fb338","is_valid_coordinates":true} 
[2026-09-10 12:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989876992001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403962255672082432,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4384183836831399936,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789022960000,"timestamp_ms":1789022960000,"timestamp_seconds":1789022960,"priority":1,"record_length":96,"hex_timestamp":"000001a08a13f980"} 
[2026-09-10 12:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:21: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-09-10 12:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:21: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-09-10 12:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989876992001,"66":27821,"187":206,"85":37120,"24":45,"16":403962255672082432,"44":-4384183836831399936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-10 12:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989876992001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:21:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403962255672082432,"km_value":403962255672082.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4384183836831399936,"description":"Unknown IO ID 44"} 
[2026-09-10 12:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989876992001,"power":27821,"unknown_187":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4384183836831399936}} 
[2026-09-10 12:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":176469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:21:01] local.INFO: GPS data processed {"connection_id":176469,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:21:01] local.INFO: Acknowledgment sent {"connection_id":176469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:21:19] local.INFO: TCP Data received {"connection_id":179020,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:19] local.INFO: Processing buffer {"connection_id":179020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:19] local.INFO: IMEI packet received {"connection_id":179020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":179020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:21:23] local.INFO: TCP Data received {"connection_id":179020,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:23] local.INFO: Processing buffer {"connection_id":179020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:23] local.INFO: IMEI packet received {"connection_id":179020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":179020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:21:24] local.INFO: TCP Data received {"connection_id":179020,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:24] local.INFO: Processing buffer {"connection_id":179020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:21:24] local.INFO: IMEI packet received {"connection_id":179020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":179020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:21:25] local.INFO: TCP Data received {"connection_id":179020,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a14ff38012cc32c0007606538003801632d..."} 
[2026-09-10 12:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a14ff38012cc32c0007606538003801632d..."} 
[2026-09-10 12:21:25] local.INFO: Processing buffer {"connection_id":179020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a14ff38012cc32c0007606538003801632d..."} 
[2026-09-10 12:21:25] local.INFO: Packet analysis {"connection_id":179020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a14"} 
[2026-09-10 12:21:25] local.INFO: Extracted packet for processing {"connection_id":179020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a14"} 
[2026-09-10 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":750988288,"raw_latitude":123757880,"longitude_deg":75.0988288,"latitude_deg":12.375788,"altitude":56,"angle":355,"satellites":45,"speed":28,"hex_longitude":"2cc32c00","hex_latitude":"07606538","is_valid_coordinates":true} 
[2026-09-10 12:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989892096001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403964888487034880,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980821288960,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789023027000,"timestamp_ms":1789023027000,"timestamp_seconds":1789023027,"priority":1,"record_length":96,"hex_timestamp":"000001a08a14ff38"} 
[2026-09-10 12:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989892096001,"66":27876,"179":206,"85":37120,"24":28,"16":403964888487034880,"44":-4381157980821288960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 12:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989892096001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:21:25] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 12:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403964888487034880,"km_value":403964888487034.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980821288960,"description":"Unknown IO ID 44"} 
[2026-09-10 12:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989892096001,"power":27876,"unknown_179":206,"unknown_85":37120,"ignition":28,"odometer":null,"unknown_44":-4381157980821288960}} 
[2026-09-10 12:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":179020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:21:25] local.INFO: GPS data processed {"connection_id":179020,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:21:25] local.INFO: Acknowledgment sent {"connection_id":179020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:21:30] local.INFO: TCP Data received {"connection_id":179020,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1512c0012cc32cc007607390003900072d..."} 
[2026-09-10 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1512c0012cc32cc007607390003900072d..."} 
[2026-09-10 12:21:30] local.INFO: Processing buffer {"connection_id":179020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1512c0012cc32cc007607390003900072d..."} 
[2026-09-10 12:21:30] local.INFO: Packet analysis {"connection_id":179020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:21:30] local.INFO: Extracted packet for processing {"connection_id":179020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750988480,"raw_latitude":123761552,"longitude_deg":75.098848,"latitude_deg":12.3761552,"altitude":57,"angle":7,"satellites":45,"speed":29,"hex_longitude":"2cc32cc0","hex_latitude":"07607390","is_valid_coordinates":true} 
[2026-09-10 12:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989894912001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403965068875661312,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383128305656317952,"note":"Value kept but may cause issues"} 
[2026-09-10 12:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789023032000,"timestamp_ms":1789023032000,"timestamp_seconds":1789023032,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1512c0"} 
[2026-09-10 12:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:21:30] 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-09-10 12:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989894912001,"66":27821,"179":206,"85":37120,"24":29,"16":403965068875661312,"44":-4383128305656317952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 12:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989894912001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:21:30] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 12:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403965068875661312,"km_value":403965068875661.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383128305656317952,"description":"Unknown IO ID 44"} 
[2026-09-10 12:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989894912001,"power":27821,"unknown_179":206,"unknown_85":37120,"ignition":29,"odometer":null,"unknown_44":-4383128305656317952}} 
[2026-09-10 12:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":179020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:21:30] local.INFO: GPS data processed {"connection_id":179020,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:21:30] local.INFO: Acknowledgment sent {"connection_id":179020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:22:01] local.INFO: TCP Data received {"connection_id":179020,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1541a0012cc3348007609668003f000d2d..."} 
[2026-09-10 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1541a0012cc3348007609668003f000d2d..."} 
[2026-09-10 12:22:01] local.INFO: Processing buffer {"connection_id":179020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1541a0012cc3348007609668003f000d2d..."} 
[2026-09-10 12:22:01] local.INFO: Packet analysis {"connection_id":179020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:22:01] local.INFO: Extracted packet for processing {"connection_id":179020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:22:01] local.INFO: GPS Element Parsed {"raw_longitude":750990464,"raw_latitude":123770472,"longitude_deg":75.0990464,"latitude_deg":12.3770472,"altitude":63,"angle":13,"satellites":45,"speed":31,"hex_longitude":"2cc33480","hex_latitude":"07609668","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989896192001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403965511257292800,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382917199422844928,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789023044000,"timestamp_ms":1789023044000,"timestamp_seconds":1789023044,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1541a0"} 
[2026-09-10 12:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:22: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-09-10 12: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-09-10 12:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":179020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":179020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":179020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:22: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-09-10 12:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989896192001,"66":27876,"179":206,"85":37120,"24":31,"16":403965511257292800,"44":-4382917199422844928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 12:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989896192001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:22:01] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 12:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403965511257292800,"km_value":403965511257292.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382917199422844928,"description":"Unknown IO ID 44"} 
[2026-09-10 12:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989896192001,"power":27876,"unknown_179":206,"unknown_85":37120,"ignition":31,"odometer":null,"unknown_44":-4382917199422844928}} 
[2026-09-10 12:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":179020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:22:01] local.INFO: GPS data processed {"connection_id":179020,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:22:01] local.INFO: Acknowledgment sent {"connection_id":179020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:22:19] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:19] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:19] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:22:22] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:22] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:22] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:22:24] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:24] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:22:24] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:22:25] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a155cf8012cc33b800760abe0004100192e..."} 
[2026-09-10 12:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a155cf8012cc33b800760abe0004100192e..."} 
[2026-09-10 12:22:25] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a155cf8012cc33b800760abe0004100192e..."} 
[2026-09-10 12:22:25] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:22:25] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:22:25] local.INFO: GPS Element Parsed {"raw_longitude":750992256,"raw_latitude":123775968,"longitude_deg":75.0992256,"latitude_deg":12.3775968,"altitude":65,"angle":25,"satellites":46,"speed":34,"hex_longitude":"2cc33b80","hex_latitude":"0760abe0","is_valid_coordinates":true} 
[2026-09-10 12:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989899264001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403965794725134336,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380735768351053824,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789023051000,"timestamp_ms":1789023051000,"timestamp_seconds":1789023051,"priority":1,"record_length":96,"hex_timestamp":"000001a08a155cf8"} 
[2026-09-10 12:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989899264001,"66":27865,"179":206,"85":37120,"24":34,"16":403965794725134336,"44":-4380735768351053824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 12:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989899264001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:22:25] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 12:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403965794725134336,"km_value":403965794725134.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380735768351053824,"description":"Unknown IO ID 44"} 
[2026-09-10 12:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989899264001,"power":27865,"unknown_179":206,"unknown_85":37120,"ignition":34,"odometer":null,"unknown_44":-4380735768351053824}} 
[2026-09-10 12:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:22:25] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:22:25] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:22:56] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a158408012cc350c00760cb880044002230..."} 
[2026-09-10 12:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a158408012cc350c00760cb880044002230..."} 
[2026-09-10 12:22:56] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a158408012cc350c00760cb880044002230..."} 
[2026-09-10 12:22:56] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:22:56] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":750997696,"raw_latitude":123784072,"longitude_deg":75.0997696,"latitude_deg":12.3784072,"altitude":68,"angle":34,"satellites":48,"speed":42,"hex_longitude":"2cc350c0","hex_latitude":"0760cb88","is_valid_coordinates":true} 
[2026-09-10 12:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989901056001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403966262876569600,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378765443512672256,"note":"Value kept but may cause issues"} 
[2026-09-10 12:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789023061000,"timestamp_ms":1789023061000,"timestamp_seconds":1789023061,"priority":1,"record_length":96,"hex_timestamp":"000001a08a158408"} 
[2026-09-10 12:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989901056001,"66":27876,"179":206,"85":37120,"24":42,"16":403966262876569600,"44":-4378765443512672256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 12:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989901056001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:22:56] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 12:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403966262876569600,"km_value":403966262876569.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378765443512672256,"description":"Unknown IO ID 44"} 
[2026-09-10 12:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989901056001,"power":27876,"unknown_179":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4378765443512672256}} 
[2026-09-10 12:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:22:56] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:22:56] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:23:21] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:21] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:21] local.INFO: IMEI packet received {"connection_id":176221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":176221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:23:25] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:25] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:25] local.INFO: IMEI packet received {"connection_id":176221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":176221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:23:29] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:29] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:23:29] local.INFO: IMEI packet received {"connection_id":176221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":176221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:23:31] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a159b78012cc35d800760e2200043001530..."} 
[2026-09-10 12:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a159b78012cc35d800760e2200043001530..."} 
[2026-09-10 12:23:31] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a159b78012cc35d800760e2200043001530..."} 
[2026-09-10 12:23:31] local.INFO: Packet analysis {"connection_id":176221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:23:31] local.INFO: Extracted packet for processing {"connection_id":176221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":751000960,"raw_latitude":123789856,"longitude_deg":75.100096,"latitude_deg":12.3789856,"altitude":67,"angle":21,"satellites":48,"speed":45,"hex_longitude":"2cc35d80","hex_latitude":"0760e220","is_valid_coordinates":true} 
[2026-09-10 12:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989903616001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403966584999116800,"note":"Value kept but may cause issues"} 
[2026-09-10 12:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4372784100255496192,"note":"Value kept but may cause issues"} 
[2026-09-10 12:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789023067000,"timestamp_ms":1789023067000,"timestamp_seconds":1789023067,"priority":1,"record_length":96,"hex_timestamp":"000001a08a159b78"} 
[2026-09-10 12:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:23: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-09-10 12:23: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-09-10 12:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989903616001,"66":27908,"179":206,"85":37120,"24":45,"16":403966584999116800,"44":-4372784100255496192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 12:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989903616001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:23:31] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 12:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403966584999116800,"km_value":403966584999116.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4372784100255496192,"description":"Unknown IO ID 44"} 
[2026-09-10 12:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989903616001,"power":27908,"unknown_179":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4372784100255496192}} 
[2026-09-10 12:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":176221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:23:31] local.INFO: GPS data processed {"connection_id":176221,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:23:31] local.INFO: Acknowledgment sent {"connection_id":176221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:23:32] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a15bab8012cc36700076105b00041000d2f..."} 
[2026-09-10 12:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a15bab8012cc36700076105b00041000d2f..."} 
[2026-09-10 12:23:32] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a15bab8012cc36700076105b00041000d2f..."} 
[2026-09-10 12:23:32] local.INFO: Packet analysis {"connection_id":176221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:23:32] local.INFO: Extracted packet for processing {"connection_id":176221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a15"} 
[2026-09-10 12:23:32] local.INFO: GPS Element Parsed {"raw_longitude":751003392,"raw_latitude":123798960,"longitude_deg":75.1003392,"latitude_deg":12.379896,"altitude":65,"angle":13,"satellites":47,"speed":49,"hex_longitude":"2cc36700","hex_latitude":"076105b0","is_valid_coordinates":true} 
[2026-09-10 12:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989905152001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403967040265650176,"note":"Value kept but may cause issues"} 
[2026-09-10 12:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4369195294300954624,"note":"Value kept but may cause issues"} 
[2026-09-10 12:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789023075000,"timestamp_ms":1789023075000,"timestamp_seconds":1789023075,"priority":1,"record_length":96,"hex_timestamp":"000001a08a15bab8"} 
[2026-09-10 12:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:23: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-09-10 12: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":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:23: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-09-10 12:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989905152001,"66":27930,"179":206,"85":37120,"24":49,"16":403967040265650176,"44":-4369195294300954624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-10 12:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989905152001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:23:32] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 12:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403967040265650176,"km_value":403967040265650.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4369195294300954624,"description":"Unknown IO ID 44"} 
[2026-09-10 12:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989905152001,"power":27930,"unknown_179":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4369195294300954624}} 
[2026-09-10 12:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":176221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:23:32] local.INFO: GPS data processed {"connection_id":176221,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:23:32] local.INFO: Acknowledgment sent {"connection_id":176221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:24:03] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a176480012cc39a0007628e60004801552c..."} 
[2026-09-10 12:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a176480012cc39a0007628e60004801552c..."} 
[2026-09-10 12:24:03] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a176480012cc39a0007628e60004801552c..."} 
[2026-09-10 12:24:03] local.INFO: Packet analysis {"connection_id":176221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a17"} 
[2026-09-10 12:24:03] local.INFO: Extracted packet for processing {"connection_id":176221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a17"} 
[2026-09-10 12:24:03] local.INFO: GPS Element Parsed {"raw_longitude":751016448,"raw_latitude":123899488,"longitude_deg":75.1016448,"latitude_deg":12.3899488,"altitude":72,"angle":341,"satellites":44,"speed":41,"hex_longitude":"2cc39a00","hex_latitude":"07628e60","is_valid_coordinates":true} 
[2026-09-10 12:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989933568001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403971996657909760,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350617945811531776,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789023184000,"timestamp_ms":1789023184000,"timestamp_seconds":1789023184,"priority":1,"record_length":96,"hex_timestamp":"000001a08a176480"} 
[2026-09-10 12:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:24: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-09-10 12:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:24: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-09-10 12:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989933568001,"66":27767,"2":206,"85":37120,"24":41,"16":403971996657909760,"44":-4350617945811531776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 12:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989933568001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403971996657909760,"km_value":403971996657909.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350617945811531776,"description":"Unknown IO ID 44"} 
[2026-09-10 12:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989933568001,"power":27767,"power_alt":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4350617945811531776}} 
[2026-09-10 12:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":176221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:24:03] local.INFO: GPS data processed {"connection_id":176221,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:24:03] local.INFO: Acknowledgment sent {"connection_id":176221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:24:19] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:24:19] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:24:19] local.INFO: IMEI packet received {"connection_id":177636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":177636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:24:23] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:24:23] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:24:23] local.INFO: IMEI packet received {"connection_id":177636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":177636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:24:24] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1783c0012cc38d400762afc00048015232..."} 
[2026-09-10 12:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1783c0012cc38d400762afc00048015232..."} 
[2026-09-10 12:24:24] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1783c0012cc38d400762afc00048015232..."} 
[2026-09-10 12:24:24] local.INFO: Packet analysis {"connection_id":177636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a17"} 
[2026-09-10 12:24:24] local.INFO: Extracted packet for processing {"connection_id":177636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a17"} 
[2026-09-10 12:24:24] local.INFO: GPS Element Parsed {"raw_longitude":751013184,"raw_latitude":123908032,"longitude_deg":75.1013184,"latitude_deg":12.3908032,"altitude":72,"angle":338,"satellites":50,"speed":47,"hex_longitude":"2cc38d40","hex_latitude":"0762afc0","is_valid_coordinates":true} 
[2026-09-10 12:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989935104001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403972439039541248,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4352166058181894144,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789023192000,"timestamp_ms":1789023192000,"timestamp_seconds":1789023192,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1783c0"} 
[2026-09-10 12:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 12:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989935104001,"66":27865,"2":206,"85":37120,"24":47,"16":403972439039541248,"44":-4352166058181894144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 12:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989935104001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403972439039541248,"km_value":403972439039541.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:24:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4352166058181894144,"description":"Unknown IO ID 44"} 
[2026-09-10 12:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989935104001,"power":27865,"power_alt":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4352166058181894144}} 
[2026-09-10 12:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":177636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:24:24] local.INFO: GPS data processed {"connection_id":177636,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:24:24] local.INFO: Acknowledgment sent {"connection_id":177636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:24:56] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a184328012cc2e10007632a68005501522f..."} 
[2026-09-10 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a184328012cc2e10007632a68005501522f..."} 
[2026-09-10 12:24:56] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a184328012cc2e10007632a68005501522f..."} 
[2026-09-10 12:24:56] local.INFO: Packet analysis {"connection_id":177636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:24:56] local.INFO: Extracted packet for processing {"connection_id":177636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":750969088,"raw_latitude":123939432,"longitude_deg":75.0969088,"latitude_deg":12.3939432,"altitude":85,"angle":338,"satellites":47,"speed":50,"hex_longitude":"2cc2e100","hex_latitude":"07632a68","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989949184001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403975299487760384,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402972291468513280,"note":"Value kept but may cause issues"} 
[2026-09-10 12:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789023241000,"timestamp_ms":1789023241000,"timestamp_seconds":1789023241,"priority":1,"record_length":96,"hex_timestamp":"000001a08a184328"} 
[2026-09-10 12:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 12:24:56] 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-09-10 12: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-09-10 12:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989949184001,"66":27821,"158":206,"85":37120,"24":50,"16":403975299487760384,"44":-4402972291468513280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989949184001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:24:56] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403975299487760384,"km_value":403975299487760.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402972291468513280,"description":"Unknown IO ID 44"} 
[2026-09-10 12:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989949184001,"power":27821,"unknown_158":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4402972291468513280}} 
[2026-09-10 12:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":177636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:24:56] local.INFO: GPS data processed {"connection_id":177636,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:24:56] local.INFO: Acknowledgment sent {"connection_id":177636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:25:19] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:19] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:19] local.INFO: IMEI packet received {"connection_id":177637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":177637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:25:21] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:21] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:21] local.INFO: IMEI packet received {"connection_id":177637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":177637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:25:24] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:24] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:25:24] local.INFO: IMEI packet received {"connection_id":177637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":177637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:25:25] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1856b0012cc2dac0076342d80055015d30..."} 
[2026-09-10 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1856b0012cc2dac0076342d80055015d30..."} 
[2026-09-10 12:25:25] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1856b0012cc2dac0076342d80055015d30..."} 
[2026-09-10 12:25:25] local.INFO: Packet analysis {"connection_id":177637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:25] local.INFO: Extracted packet for processing {"connection_id":177637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":750967488,"raw_latitude":123945688,"longitude_deg":75.0967488,"latitude_deg":12.3945688,"altitude":85,"angle":349,"satellites":48,"speed":52,"hex_longitude":"2cc2dac0","hex_latitude":"076342d8","is_valid_coordinates":true} 
[2026-09-10 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989949696001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403975613020372992,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4404238928863139840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789023246000,"timestamp_ms":1789023246000,"timestamp_seconds":1789023246,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1856b0"} 
[2026-09-10 12:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989949696001,"66":27800,"158":206,"85":37120,"24":52,"16":403975613020372992,"44":-4404238928863139840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989949696001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:25:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403975613020372992,"km_value":403975613020373.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4404238928863139840,"description":"Unknown IO ID 44"} 
[2026-09-10 12:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989949696001,"power":27800,"unknown_158":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4404238928863139840}} 
[2026-09-10 12:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":177637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:25:25] local.INFO: GPS data processed {"connection_id":177637,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:25:25] local.INFO: Acknowledgment sent {"connection_id":177637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:25:29] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a187208012cc2d540076366f00055016031..."} 
[2026-09-10 12:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a187208012cc2d540076366f00055016031..."} 
[2026-09-10 12:25:29] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a187208012cc2d540076366f00055016031..."} 
[2026-09-10 12:25:29] local.INFO: Packet analysis {"connection_id":177637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:29] local.INFO: Extracted packet for processing {"connection_id":177637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750966080,"raw_latitude":123954928,"longitude_deg":75.096608,"latitude_deg":12.3954928,"altitude":85,"angle":352,"satellites":49,"speed":53,"hex_longitude":"2cc2d540","hex_latitude":"076366f0","is_valid_coordinates":true} 
[2026-09-10 12:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989950976001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403976063991939072,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405998147465979904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789023253000,"timestamp_ms":1789023253000,"timestamp_seconds":1789023253,"priority":1,"record_length":96,"hex_timestamp":"000001a08a187208"} 
[2026-09-10 12:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:25: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-09-10 12:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989950976001,"66":27865,"158":206,"85":37120,"24":53,"16":403976063991939072,"44":-4405998147465979904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989950976001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:25:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403976063991939072,"km_value":403976063991939.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405998147465979904,"description":"Unknown IO ID 44"} 
[2026-09-10 12:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989950976001,"power":27865,"unknown_158":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4405998147465979904}} 
[2026-09-10 12:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":177637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:25:29] local.INFO: GPS data processed {"connection_id":177637,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:25:29] local.INFO: Acknowledgment sent {"connection_id":177637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:25:43] local.INFO: TCP Data received {"connection_id":177638,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:43] local.INFO: Processing buffer {"connection_id":177638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:43] local.INFO: IMEI packet received {"connection_id":177638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":177638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:25:48] local.INFO: TCP Data received {"connection_id":177638,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:48] local.INFO: Processing buffer {"connection_id":177638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:48] local.INFO: IMEI packet received {"connection_id":177638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":177638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:25:49] local.INFO: TCP Data received {"connection_id":177638,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:49] local.INFO: Processing buffer {"connection_id":177638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:25:49] local.INFO: IMEI packet received {"connection_id":177638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":177638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:25:51] local.INFO: TCP Data received {"connection_id":177638,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1856b0012c6866c0086c5f80001e00c32c..."} 
[2026-09-10 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1856b0012c6866c0086c5f80001e00c32c..."} 
[2026-09-10 12:25:51] local.INFO: Processing buffer {"connection_id":177638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1856b0012c6866c0086c5f80001e00c32c..."} 
[2026-09-10 12:25:51] local.INFO: Packet analysis {"connection_id":177638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:51] local.INFO: Extracted packet for processing {"connection_id":177638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:51] local.INFO: GPS Element Parsed {"raw_longitude":745039552,"raw_latitude":141320064,"longitude_deg":74.5039552,"latitude_deg":14.1320064,"altitude":30,"angle":195,"satellites":44,"speed":61,"hex_longitude":"2c6866c0","hex_latitude":"086c5f80","is_valid_coordinates":true} 
[2026-09-10 12:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789023246000,"timestamp_ms":1789023246000,"timestamp_seconds":1789023246,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1856b0"} 
[2026-09-10 12:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 12:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28202,"227":206,"9":56064,"24":61,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16]} 
[2026-09-10 12:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:25:51] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 12:25:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:25:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28202,"unknown_227":206,"unknown_9":56064,"ignition":61,"odometer":null}} 
[2026-09-10 12:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":177638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:25:51] local.INFO: GPS data processed {"connection_id":177638,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:25:51] local.INFO: Acknowledgment sent {"connection_id":177638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:25:54] local.INFO: TCP Data received {"connection_id":177638,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a18a8b8012c684b00086c0490001b00c42c..."} 
[2026-09-10 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a18a8b8012c684b00086c0490001b00c42c..."} 
[2026-09-10 12:25:54] local.INFO: Processing buffer {"connection_id":177638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a18a8b8012c684b00086c0490001b00c42c..."} 
[2026-09-10 12:25:54] local.INFO: Packet analysis {"connection_id":177638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:54] local.INFO: Extracted packet for processing {"connection_id":177638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a18"} 
[2026-09-10 12:25:54] local.INFO: GPS Element Parsed {"raw_longitude":745032448,"raw_latitude":141296784,"longitude_deg":74.5032448,"latitude_deg":14.1296784,"altitude":27,"angle":196,"satellites":44,"speed":0,"hex_longitude":"2c684b00","hex_latitude":"086c0490","is_valid_coordinates":true} 
[2026-09-10 12:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989950976001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7522911369979461632,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789023267000,"timestamp_ms":1789023267000,"timestamp_seconds":1789023267,"priority":1,"record_length":96,"hex_timestamp":"000001a08a18a8b8"} 
[2026-09-10 12:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989950976001,"66":27310,"227":206,"9":56064,"24":0,"16":3893920429768704,"44":7522911369979461632},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16,44]} 
[2026-09-10 12:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989950976001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:25:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 12:25:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:25:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":7522911369979461632,"description":"Unknown IO ID 44"} 
[2026-09-10 12:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989950976001,"power":27310,"unknown_227":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7522911369979461632}} 
[2026-09-10 12:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":177638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:25:54] local.INFO: GPS data processed {"connection_id":177638,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:25:54] local.INFO: Acknowledgment sent {"connection_id":177638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:25:59] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a195880012cc2d900076485b00054015630..."} 
[2026-09-10 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a195880012cc2d900076485b00054015630..."} 
[2026-09-10 12:25:59] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a195880012cc2d900076485b00054015630..."} 
[2026-09-10 12:25:59] local.INFO: Packet analysis {"connection_id":177637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:25:59] local.INFO: Extracted packet for processing {"connection_id":177637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":750967040,"raw_latitude":124028336,"longitude_deg":75.096704,"latitude_deg":12.4028336,"altitude":84,"angle":342,"satellites":48,"speed":52,"hex_longitude":"2cc2d900","hex_latitude":"076485b0","is_valid_coordinates":true} 
[2026-09-10 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989966080001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403979731894009856,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402761185214810112,"note":"Value kept but may cause issues"} 
[2026-09-10 12:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789023312000,"timestamp_ms":1789023312000,"timestamp_seconds":1789023312,"priority":1,"record_length":96,"hex_timestamp":"000001a08a195880"} 
[2026-09-10 12:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:25: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-09-10 12:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989966080001,"66":27865,"159":206,"85":37120,"24":52,"16":403979731894009856,"44":-4402761185214810112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 12:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989966080001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:25:59] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 12:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403979731894009856,"km_value":403979731894009.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:25:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402761185214810112,"description":"Unknown IO ID 44"} 
[2026-09-10 12:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989966080001,"power":27865,"unknown_159":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4402761185214810112}} 
[2026-09-10 12:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":177637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:25:59] local.INFO: GPS data processed {"connection_id":177637,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:25:59] local.INFO: Acknowledgment sent {"connection_id":177637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:26:19] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:26:19] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:26:19] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:26:30] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:26:30] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:26:30] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:26:30] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1973d8012cc2d2000764aad00051016331..."} 
[2026-09-10 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1973d8012cc2d2000764aad00051016331..."} 
[2026-09-10 12:26:30] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08a..."} 
[2026-09-10 12:26:30] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:26:31] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1973d8012cc2d2000764aad00051016331..."} 
[2026-09-10 12:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1973d8012cc2d2000764aad00051016331..."} 
[2026-09-10 12:26:31] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08a1973d8012cc2d2000764aad00051016331..."} 
[2026-09-10 12:26:31] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:31] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":750965248,"raw_latitude":124037840,"longitude_deg":75.0965248,"latitude_deg":12.403784,"altitude":81,"angle":355,"satellites":49,"speed":57,"hex_longitude":"2cc2d200","hex_latitude":"0764aad0","is_valid_coordinates":true} 
[2026-09-10 12:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989967872001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403980200045445120,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406490728654065664,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789023319000,"timestamp_ms":1789023319000,"timestamp_seconds":1789023319,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1973d8"} 
[2026-09-10 12:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:26: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-09-10 12:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989967872001,"66":27865,"210":206,"85":37120,"24":57,"16":403980200045445120,"44":-4406490728654065664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,44]} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989967872001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403980200045445120,"km_value":403980200045445.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406490728654065664,"description":"Unknown IO ID 44"} 
[2026-09-10 12:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989967872001,"power":27865,"unknown_210":206,"unknown_85":37120,"ignition":57,"odometer":null,"unknown_44":-4406490728654065664}} 
[2026-09-10 12:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:26:31] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:26:31] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:26:31] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:31] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":750965248,"raw_latitude":124037840,"longitude_deg":75.0965248,"latitude_deg":12.403784,"altitude":81,"angle":355,"satellites":49,"speed":57,"hex_longitude":"2cc2d200","hex_latitude":"0764aad0","is_valid_coordinates":true} 
[2026-09-10 12:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403980200045445120,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408461053488607232,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789023319000,"timestamp_ms":1789023319000,"timestamp_seconds":1789023319,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1973d8"} 
[2026-09-10 12:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:26: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-09-10 12:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989969664001,"66":27865,"210":206,"85":37120,"24":57,"16":403980200045445120,"44":-4408461053488607232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,44]} 
[2026-09-10 12:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403980200045445120,"km_value":403980200045445.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408461053488607232,"description":"Unknown IO ID 44"} 
[2026-09-10 12:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989969664001,"power":27865,"unknown_210":206,"unknown_85":37120,"ignition":57,"odometer":null,"unknown_44":-4408461053488607232}} 
[2026-09-10 12:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:26:31] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:26:31] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:26:32] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a198f30012cc2d2000764d2b0004f000030..."} 
[2026-09-10 12:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a198f30012cc2d2000764d2b0004f000030..."} 
[2026-09-10 12:26:32] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a198f30012cc2d2000764d2b0004f000030..."} 
[2026-09-10 12:26:32] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:32] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":750965248,"raw_latitude":124048048,"longitude_deg":75.0965248,"latitude_deg":12.4048048,"altitude":79,"angle":0,"satellites":48,"speed":56,"hex_longitude":"2cc2d200","hex_latitude":"0764d2b0","is_valid_coordinates":true} 
[2026-09-10 12:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403980693966684160,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408461053488607232,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789023326000,"timestamp_ms":1789023326000,"timestamp_seconds":1789023326,"priority":1,"record_length":96,"hex_timestamp":"000001a08a198f30"} 
[2026-09-10 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-09-10 12:26: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-09-10 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12: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-09-10 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-09-10 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-09-10 12:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989969664001,"66":27821,"210":206,"85":37120,"24":56,"16":403980693966684160,"44":-4408461053488607232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,44]} 
[2026-09-10 12:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:26:32] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-10 12:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403980693966684160,"km_value":403980693966684.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:26:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408461053488607232,"description":"Unknown IO ID 44"} 
[2026-09-10 12:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989969664001,"power":27821,"unknown_210":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4408461053488607232}} 
[2026-09-10 12:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:26:32] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:26:32] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:26:44] local.INFO: TCP Data received {"connection_id":176223,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:26:44] local.INFO: Processing buffer {"connection_id":176223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:26:44] local.INFO: IMEI packet received {"connection_id":176223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":176223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:26:49] local.INFO: TCP Data received {"connection_id":176223,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:26:49] local.INFO: Processing buffer {"connection_id":176223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:26:49] local.INFO: IMEI packet received {"connection_id":176223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":176223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:26:53] local.INFO: TCP Data received {"connection_id":176223,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1987600100000000000000000000000000..."} 
[2026-09-10 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1987600100000000000000000000000000..."} 
[2026-09-10 12:26:53] local.INFO: Processing buffer {"connection_id":176223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1987600100000000000000000000000000..."} 
[2026-09-10 12:26:53] local.INFO: Packet analysis {"connection_id":176223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:53] local.INFO: Extracted packet for processing {"connection_id":176223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:26:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989956352001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7515100439369781248,"note":"Value kept but may cause issues"} 
[2026-09-10 12:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789023324000,"timestamp_ms":1789023324000,"timestamp_seconds":1789023324,"priority":1,"record_length":96,"hex_timestamp":"000001a08a198760"} 
[2026-09-10 12:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:26: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-09-10 12:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 12:26:53] 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-09-10 12:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":176223,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:26:53] local.INFO: GPS data processed {"connection_id":176223,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:26:53] local.INFO: Acknowledgment sent {"connection_id":176223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:27:03] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a19aa88012cc2d1c00764f8700050016430..."} 
[2026-09-10 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a19aa88012cc2d1c00764f8700050016430..."} 
[2026-09-10 12:27:03] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a19aa88012cc2d1c00764f8700050016430..."} 
[2026-09-10 12:27:03] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:27:03] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":750965184,"raw_latitude":124057712,"longitude_deg":75.0965184,"latitude_deg":12.4057712,"altitude":80,"angle":356,"satellites":48,"speed":52,"hex_longitude":"2cc2d1c0","hex_latitude":"0764f870","is_valid_coordinates":true} 
[2026-09-10 12:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989971456001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403981162118119424,"note":"Value kept but may cause issues"} 
[2026-09-10 12:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408461053485993984,"note":"Value kept but may cause issues"} 
[2026-09-10 12:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789023333000,"timestamp_ms":1789023333000,"timestamp_seconds":1789023333,"priority":1,"record_length":96,"hex_timestamp":"000001a08a19aa88"} 
[2026-09-10 12:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:27: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-09-10 12:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:27: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-09-10 12:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989971456001,"66":27876,"210":206,"85":37120,"24":52,"16":403981162118119424,"44":-4408461053485993984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,44]} 
[2026-09-10 12:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989971456001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:27:03] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-10 12:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403981162118119424,"km_value":403981162118119.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408461053485993984,"description":"Unknown IO ID 44"} 
[2026-09-10 12:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989971456001,"power":27876,"unknown_210":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4408461053485993984}} 
[2026-09-10 12:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:27:03] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:27:03] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:27:24] local.INFO: TCP Data received {"connection_id":179021,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:24] local.INFO: Processing buffer {"connection_id":179021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:24] local.INFO: IMEI packet received {"connection_id":179021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":179021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:27:25] local.INFO: TCP Data received {"connection_id":179021,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:25] local.INFO: Processing buffer {"connection_id":179021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:25] local.INFO: IMEI packet received {"connection_id":179021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":179021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:27:31] local.INFO: TCP Data received {"connection_id":179021,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:31] local.INFO: Processing buffer {"connection_id":179021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:27:31] local.INFO: IMEI packet received {"connection_id":179021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":179021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:27:32] local.INFO: TCP Data received {"connection_id":179021,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a19be10012cc2ce00076510780051015830..."} 
[2026-09-10 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a19be10012cc2ce00076510780051015830..."} 
[2026-09-10 12:27:32] local.INFO: Processing buffer {"connection_id":179021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a19be10012cc2ce00076510780051015830..."} 
[2026-09-10 12:27:32] local.INFO: Packet analysis {"connection_id":179021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:27:32] local.INFO: Extracted packet for processing {"connection_id":179021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":750964224,"raw_latitude":124063864,"longitude_deg":75.0964224,"latitude_deg":12.4063864,"altitude":81,"angle":344,"satellites":48,"speed":46,"hex_longitude":"2cc2ce00","hex_latitude":"07651078","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989973248001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403981467060797440,"note":"Value kept but may cause issues"} 
[2026-09-10 12:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408531422227697664,"note":"Value kept but may cause issues"} 
[2026-09-10 12:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789023338000,"timestamp_ms":1789023338000,"timestamp_seconds":1789023338,"priority":1,"record_length":96,"hex_timestamp":"000001a08a19be10"} 
[2026-09-10 12:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:27: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-09-10 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:27: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-09-10 12: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-09-10 12:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989973248001,"66":27843,"210":206,"85":37120,"24":46,"16":403981467060797440,"44":-4408531422227697664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,44]} 
[2026-09-10 12:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989973248001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:27:32] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-10 12:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403981467060797440,"km_value":403981467060797.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408531422227697664,"description":"Unknown IO ID 44"} 
[2026-09-10 12:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989973248001,"power":27843,"unknown_210":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4408531422227697664}} 
[2026-09-10 12:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":179021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:27:32] local.INFO: GPS data processed {"connection_id":179021,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:27:32] local.INFO: Acknowledgment sent {"connection_id":179021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:27:39] local.INFO: TCP Data received {"connection_id":176224,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:27:39] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:27:39] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:27:44] local.INFO: TCP Data received {"connection_id":176224,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:27:44] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:27:44] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:27:45] local.INFO: TCP Data received {"connection_id":176224,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a191230012c681500086b5520001500c42f..."} 
[2026-09-10 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a191230012c681500086b5520001500c42f..."} 
[2026-09-10 12:27:45] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a191230012c681500086b5520001500c42f..."} 
[2026-09-10 12:27:45] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:27:45] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:27:45] local.INFO: GPS Element Parsed {"raw_longitude":745018624,"raw_latitude":141251872,"longitude_deg":74.5018624,"latitude_deg":14.1251872,"altitude":21,"angle":196,"satellites":47,"speed":58,"hex_longitude":"2c681500","hex_latitude":"086b5520","is_valid_coordinates":true} 
[2026-09-10 12:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:27:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789023294000,"timestamp_ms":1789023294000,"timestamp_seconds":1789023294,"priority":1,"record_length":96,"hex_timestamp":"000001a08a191230"} 
[2026-09-10 12:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27463,"227":206,"9":56064,"24":58,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16]} 
[2026-09-10 12:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:27:45] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 12:27:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:27:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27463,"unknown_227":206,"unknown_9":56064,"ignition":58,"odometer":null}} 
[2026-09-10 12:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:27:45] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:27:45] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:28:03] local.INFO: TCP Data received {"connection_id":179021,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1b0a18012cc1f180076651280056014530..."} 
[2026-09-10 12:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1b0a18012cc1f180076651280056014530..."} 
[2026-09-10 12:28:03] local.INFO: Processing buffer {"connection_id":179021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1b0a18012cc1f180076651280056014530..."} 
[2026-09-10 12:28:03] local.INFO: Packet analysis {"connection_id":179021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1b"} 
[2026-09-10 12:28:03] local.INFO: Extracted packet for processing {"connection_id":179021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1b"} 
[2026-09-10 12:28:03] local.INFO: GPS Element Parsed {"raw_longitude":750907776,"raw_latitude":124145960,"longitude_deg":75.0907776,"latitude_deg":12.414596,"altitude":86,"angle":325,"satellites":48,"speed":46,"hex_longitude":"2cc1f180","hex_latitude":"07665128","is_valid_coordinates":true} 
[2026-09-10 12:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989994240001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403986316078874624,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4466233792432832512,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789023423000,"timestamp_ms":1789023423000,"timestamp_seconds":1789023423,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1b0a18"} 
[2026-09-10 12:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-10 12:28:03] 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-09-10 12:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:28: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-09-10 12:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989994240001,"66":27995,"46":206,"85":37120,"24":46,"16":403986316078874624,"44":-4466233792432832512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-09-10 12:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989994240001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:28:03] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 12:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403986316078874624,"km_value":403986316078874.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4466233792432832512,"description":"Unknown IO ID 44"} 
[2026-09-10 12:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989994240001,"power":27995,"unknown_46":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4466233792432832512}} 
[2026-09-10 12:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":179021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:28:03] local.INFO: GPS data processed {"connection_id":179021,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:28:03] local.INFO: Acknowledgment sent {"connection_id":179021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:28:17] local.INFO: TCP Data received {"connection_id":176224,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1950b0012c680c00086afac0000e00ac30..."} 
[2026-09-10 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1950b0012c680c00086afac0000e00ac30..."} 
[2026-09-10 12:28:17] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1950b0012c680c00086afac0000e00ac30..."} 
[2026-09-10 12:28:17] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:28:17] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":745016320,"raw_latitude":141228736,"longitude_deg":74.501632,"latitude_deg":14.1228736,"altitude":14,"angle":172,"satellites":48,"speed":58,"hex_longitude":"2c680c00","hex_latitude":"086afac0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989963264001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7499900790615908352,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789023310000,"timestamp_ms":1789023310000,"timestamp_seconds":1789023310,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1950b0"} 
[2026-09-10 12:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 12:28:17] 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-09-10 12: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-09-10 12:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989963264001,"66":28137,"227":206,"9":56064,"24":58,"16":3893920429768704,"44":7499900790615908352},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16,44]} 
[2026-09-10 12:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989963264001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:28:17] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 12:28:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":7499900790615908352,"description":"Unknown IO ID 44"} 
[2026-09-10 12:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989963264001,"power":28137,"unknown_227":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7499900790615908352}} 
[2026-09-10 12:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:28:18] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:28:18] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:28:29] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:28:29] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:28:29] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:28:33] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:28:33] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:28:33] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:28:34] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1b2958012cc1d9c007666dd00057013c2e..."} 
[2026-09-10 12:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1b2958012cc1d9c007666dd00057013c2e..."} 
[2026-09-10 12:28:34] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1b2958012cc1d9c007666dd00057013c2e..."} 
[2026-09-10 12:28:34] local.INFO: Packet analysis {"connection_id":176225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1b"} 
[2026-09-10 12:28:34] local.INFO: Extracted packet for processing {"connection_id":176225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1b"} 
[2026-09-10 12:28:34] local.INFO: GPS Element Parsed {"raw_longitude":750901696,"raw_latitude":124153296,"longitude_deg":75.0901696,"latitude_deg":12.4153296,"altitude":87,"angle":316,"satellites":46,"speed":47,"hex_longitude":"2cc1d9c0","hex_latitude":"07666dd0","is_valid_coordinates":true} 
[2026-09-10 12:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989996288001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403986771345408000,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4471652185732470784,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789023431000,"timestamp_ms":1789023431000,"timestamp_seconds":1789023431,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1b2958"} 
[2026-09-10 12:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 12:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:28: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-09-10 12:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989996288001,"66":27767,"46":206,"85":37120,"24":47,"16":403986771345408000,"44":-4471652185732470784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-09-10 12:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989996288001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:28:34] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 12:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403986771345408000,"km_value":403986771345408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4471652185732470784,"description":"Unknown IO ID 44"} 
[2026-09-10 12:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989996288001,"power":27767,"unknown_46":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4471652185732470784}} 
[2026-09-10 12:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":176225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:28:34] local.INFO: GPS data processed {"connection_id":176225,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:28:34] local.INFO: Acknowledgment sent {"connection_id":176225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:28:43] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:28:43] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:28:43] local.INFO: IMEI packet received {"connection_id":177639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":177639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:28:49] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:28:49] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:28:49] local.INFO: IMEI packet received {"connection_id":177639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":177639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:28:50] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a19a2b8012c6818c0086a9f30000a00af30..."} 
[2026-09-10 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a19a2b8012c6818c0086a9f30000a00af30..."} 
[2026-09-10 12:28:50] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a19a2b8012c6818c0086a9f30000a00af30..."} 
[2026-09-10 12:28:50] local.INFO: Packet analysis {"connection_id":177639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:28:50] local.INFO: Extracted packet for processing {"connection_id":177639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a19"} 
[2026-09-10 12:28:50] local.INFO: GPS Element Parsed {"raw_longitude":745019584,"raw_latitude":141205296,"longitude_deg":74.5019584,"latitude_deg":14.1205296,"altitude":10,"angle":175,"satellites":48,"speed":0,"hex_longitude":"2c6818c0","hex_latitude":"086a9f30","is_valid_coordinates":true} 
[2026-09-10 12:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989967360001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7497367515819589632,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789023331000,"timestamp_ms":1789023331000,"timestamp_seconds":1789023331,"priority":1,"record_length":96,"hex_timestamp":"000001a08a19a2b8"} 
[2026-09-10 12:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:28: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-09-10 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457989967360001,"66":28148,"227":206,"9":56064,"24":0,"16":3893920429768704,"44":7497367515819589632},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16,44]} 
[2026-09-10 12:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457989967360001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:28:50] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 12:28:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":7497367515819589632,"description":"Unknown IO ID 44"} 
[2026-09-10 12:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457989967360001,"power":28148,"unknown_227":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7497367515819589632}} 
[2026-09-10 12:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":177639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:28:50] local.INFO: GPS data processed {"connection_id":177639,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:28:50] local.INFO: Acknowledgment sent {"connection_id":177639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:28:56] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1a81600100000000000000000000000000..."} 
[2026-09-10 12:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1a81600100000000000000000000000000..."} 
[2026-09-10 12:28:56] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1a81600100000000000000000000000000..."} 
[2026-09-10 12:28:56] local.INFO: Packet analysis {"connection_id":177639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1a"} 
[2026-09-10 12:28:56] local.INFO: Extracted packet for processing {"connection_id":177639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1a"} 
[2026-09-10 12:28:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457989972736001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7500956321766649856,"note":"Value kept but may cause issues"} 
[2026-09-10 12:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789023388000,"timestamp_ms":1789023388000,"timestamp_seconds":1789023388,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1a8160"} 
[2026-09-10 12:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 12:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":177639,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:28:56] local.INFO: GPS data processed {"connection_id":177639,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:28:56] local.INFO: Acknowledgment sent {"connection_id":177639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:29:39] local.INFO: TCP Data received {"connection_id":176226,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:29:39] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:29:39] local.INFO: IMEI packet received {"connection_id":176226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":176226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:29:44] local.INFO: TCP Data received {"connection_id":176226,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:29:44] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:29:44] local.INFO: IMEI packet received {"connection_id":176226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":176226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:29:45] local.INFO: TCP Data received {"connection_id":176226,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1a1018012c6823c00869eb10000c00b131..."} 
[2026-09-10 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1a1018012c6823c00869eb10000c00b131..."} 
[2026-09-10 12:29:45] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1a1018012c6823c00869eb10000c00b131..."} 
[2026-09-10 12:29:45] local.INFO: Packet analysis {"connection_id":176226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1a"} 
[2026-09-10 12:29:45] local.INFO: Extracted packet for processing {"connection_id":176226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1a"} 
[2026-09-10 12:29:45] local.INFO: GPS Element Parsed {"raw_longitude":745022400,"raw_latitude":141159184,"longitude_deg":74.50224,"latitude_deg":14.1159184,"altitude":12,"angle":177,"satellites":49,"speed":60,"hex_longitude":"2c6823c0","hex_latitude":"0869eb10","is_valid_coordinates":true} 
[2026-09-10 12:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:29:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789023359000,"timestamp_ms":1789023359000,"timestamp_seconds":1789023359,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1a1018"} 
[2026-09-10 12:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 12:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"227":206,"9":56064,"24":60,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16]} 
[2026-09-10 12:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:29:45] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 12:29:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:29:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_227":206,"unknown_9":56064,"ignition":60,"odometer":null}} 
[2026-09-10 12:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":176226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:29:45] local.INFO: GPS data processed {"connection_id":176226,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:29:45] local.INFO: Acknowledgment sent {"connection_id":176226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:29:52] local.INFO: TCP Data received {"connection_id":177640,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:52] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:52] local.INFO: IMEI packet received {"connection_id":177640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":177640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:29:54] local.INFO: TCP Data received {"connection_id":177640,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:54] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:54] local.INFO: IMEI packet received {"connection_id":177640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":177640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:29:59] local.INFO: TCP Data received {"connection_id":177640,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:59] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:29:59] local.INFO: IMEI packet received {"connection_id":177640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":177640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:30:00] local.INFO: TCP Data received {"connection_id":177640,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1c7d30012cc07e40076744c80049013332..."} 
[2026-09-10 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1c7d30012cc07e40076744c80049013332..."} 
[2026-09-10 12:30:00] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1c7d30012cc07e40076744c80049013332..."} 
[2026-09-10 12:30:00] local.INFO: Packet analysis {"connection_id":177640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1c"} 
[2026-09-10 12:30:00] local.INFO: Extracted packet for processing {"connection_id":177640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1c"} 
[2026-09-10 12:30:00] local.INFO: GPS Element Parsed {"raw_longitude":750812736,"raw_latitude":124208328,"longitude_deg":75.0812736,"latitude_deg":12.4208328,"altitude":73,"angle":307,"satellites":50,"speed":41,"hex_longitude":"2cc07e40","hex_latitude":"076744c8","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990018304001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403991774982307840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4567212940311291904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789023518000,"timestamp_ms":1789023518000,"timestamp_seconds":1789023518,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1c7d30"} 
[2026-09-10 12:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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":119,"data_length":795,"current_offset":136} 
[2026-09-10 12:30: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-09-10 12: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-09-10 12:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990018304001,"66":27876,"45":206,"85":37120,"24":41,"16":403991774982307840,"44":-4567212940311291904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16,44]} 
[2026-09-10 12:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990018304001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-10 12:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403991774982307840,"km_value":403991774982307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4567212940311291904,"description":"Unknown IO ID 44"} 
[2026-09-10 12:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990018304001,"power":27876,"unknown_45":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4567212940311291904}} 
[2026-09-10 12:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":177640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:30:00] local.INFO: GPS data processed {"connection_id":177640,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:30:00] local.INFO: Acknowledgment sent {"connection_id":177640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:30:17] local.INFO: TCP Data received {"connection_id":176226,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1d8ab80100000000000000000000000000..."} 
[2026-09-10 12:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1d8ab80100000000000000000000000000..."} 
[2026-09-10 12:30:17] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1d8ab80100000000000000000000000000..."} 
[2026-09-10 12:30:17] local.INFO: Packet analysis {"connection_id":176226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:30:17] local.INFO: Extracted packet for processing {"connection_id":176226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:30:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990023680001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7532340781602131968,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789023587000,"timestamp_ms":1789023587000,"timestamp_seconds":1789023587,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1d8ab8"} 
[2026-09-10 12:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":176226,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:30:17] local.INFO: GPS data processed {"connection_id":176226,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:30:17] local.INFO: Acknowledgment sent {"connection_id":176226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:30:24] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:30:24] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:30:24] local.INFO: IMEI packet received {"connection_id":176471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":176471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:30:27] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:30:27] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:30:27] local.INFO: IMEI packet received {"connection_id":176471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":176471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:30:28] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1ca058012cc0614007675b200049013730..."} 
[2026-09-10 12:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1ca058012cc0614007675b200049013730..."} 
[2026-09-10 12:30:28] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1ca058012cc0614007675b200049013730..."} 
[2026-09-10 12:30:28] local.INFO: Packet analysis {"connection_id":176471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1c"} 
[2026-09-10 12:30:28] local.INFO: Extracted packet for processing {"connection_id":176471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1c"} 
[2026-09-10 12:30:28] local.INFO: GPS Element Parsed {"raw_longitude":750805312,"raw_latitude":124214048,"longitude_deg":75.0805312,"latitude_deg":12.4214048,"altitude":73,"angle":311,"satellites":48,"speed":40,"hex_longitude":"2cc06140","hex_latitude":"07675b20","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990020608001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403992225953873920,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4576149770820335616,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789023527000,"timestamp_ms":1789023527000,"timestamp_seconds":1789023527,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1ca058"} 
[2026-09-10 12:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:30:28] 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-09-10 12: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-09-10 12:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990020608001,"66":27843,"45":206,"85":37120,"24":40,"16":403992225953873920,"44":-4576149770820335616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16,44]} 
[2026-09-10 12:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990020608001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-10 12:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 12:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403992225953873920,"km_value":403992225953873.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:30:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4576149770820335616,"description":"Unknown IO ID 44"} 
[2026-09-10 12:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990020608001,"power":27843,"unknown_45":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4576149770820335616}} 
[2026-09-10 12:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":176471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:30:28] local.INFO: GPS data processed {"connection_id":176471,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:30:28] local.INFO: Acknowledgment sent {"connection_id":176471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:30:37] local.INFO: TCP Data received {"connection_id":179022,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:37] local.INFO: Processing buffer {"connection_id":179022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:37] local.INFO: IMEI packet received {"connection_id":179022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":179022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:30:40] local.INFO: TCP Data received {"connection_id":179022,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:40] local.INFO: Processing buffer {"connection_id":179022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:40] local.INFO: IMEI packet received {"connection_id":179022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":179022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:30:43] local.INFO: TCP Data received {"connection_id":179022,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:43] local.INFO: Processing buffer {"connection_id":179022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:30:43] local.INFO: IMEI packet received {"connection_id":179022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":179022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:30:44] local.INFO: TCP Data received {"connection_id":179022,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1d1588012c6881400865d770000900b531..."} 
[2026-09-10 12:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1d1588012c6881400865d770000900b531..."} 
[2026-09-10 12:30:44] local.INFO: Processing buffer {"connection_id":179022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1d1588012c6881400865d770000900b531..."} 
[2026-09-10 12:30:44] local.INFO: Packet analysis {"connection_id":179022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:30:44] local.INFO: Extracted packet for processing {"connection_id":179022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:30:44] local.INFO: GPS Element Parsed {"raw_longitude":745046336,"raw_latitude":140892016,"longitude_deg":74.5046336,"latitude_deg":14.0892016,"altitude":9,"angle":181,"satellites":49,"speed":59,"hex_longitude":"2c688140","hex_latitude":"0865d770","is_valid_coordinates":true} 
[2026-09-10 12:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,205,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789023557000,"timestamp_ms":1789023557000,"timestamp_seconds":1789023557,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1d1588"} 
[2026-09-10 12:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"205":206,"9":56064,"24":59,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16]} 
[2026-09-10 12:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:30:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:30:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"cell_id":206,"unknown_9":56064,"ignition":59,"odometer":null}} 
[2026-09-10 12:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":179022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:30:44] local.INFO: GPS data processed {"connection_id":179022,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:30:44] local.INFO: Acknowledgment sent {"connection_id":179022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:30:59] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1cc380012cc04780076774c8004b014131..."} 
[2026-09-10 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1cc380012cc04780076774c8004b014131..."} 
[2026-09-10 12:30:59] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1cc380012cc04780076774c8004b014131..."} 
[2026-09-10 12:30:59] local.INFO: Packet analysis {"connection_id":176471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1c"} 
[2026-09-10 12:30:59] local.INFO: Extracted packet for processing {"connection_id":176471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1c"} 
[2026-09-10 12:30:59] local.INFO: GPS Element Parsed {"raw_longitude":750798720,"raw_latitude":124220616,"longitude_deg":75.079872,"latitude_deg":12.4220616,"altitude":75,"angle":321,"satellites":49,"speed":40,"hex_longitude":"2cc04780","hex_latitude":"076774c8","is_valid_coordinates":true} 
[2026-09-10 12:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990022912001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403992668335505408,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4584312545143480320,"note":"Value kept but may cause issues"} 
[2026-09-10 12:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789023536000,"timestamp_ms":1789023536000,"timestamp_seconds":1789023536,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1cc380"} 
[2026-09-10 12:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:30: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-09-10 12:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990022912001,"66":27908,"22":206,"85":37888,"24":40,"16":403992668335505408,"44":-4584312545143480320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-10 12:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990022912001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:30:59] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-10 12:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403992668335505408,"km_value":403992668335505.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:30:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4584312545143480320,"description":"Unknown IO ID 44"} 
[2026-09-10 12:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990022912001,"power":27908,"unknown_22":206,"unknown_85":37888,"ignition":40,"odometer":null,"unknown_44":-4584312545143480320}} 
[2026-09-10 12:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":176471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:30:59] local.INFO: GPS data processed {"connection_id":176471,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:30:59] local.INFO: Acknowledgment sent {"connection_id":176471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:31:16] local.INFO: TCP Data received {"connection_id":179022,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1d6790012c687e8008657f60000e00b431..."} 
[2026-09-10 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1d6790012c687e8008657f60000e00b431..."} 
[2026-09-10 12:31:16] local.INFO: Processing buffer {"connection_id":179022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1d6790012c687e8008657f60000e00b431..."} 
[2026-09-10 12:31:16] local.INFO: Packet analysis {"connection_id":179022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:31:16] local.INFO: Extracted packet for processing {"connection_id":179022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":745045632,"raw_latitude":140869472,"longitude_deg":74.5045632,"latitude_deg":14.0869472,"altitude":14,"angle":180,"satellites":49,"speed":0,"hex_longitude":"2c687e80","hex_latitude":"08657f60","is_valid_coordinates":true} 
[2026-09-10 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990030592001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7530370456752713728,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789023578000,"timestamp_ms":1789023578000,"timestamp_seconds":1789023578,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1d6790"} 
[2026-09-10 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 12:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990030592001,"66":28126,"205":206,"9":56064,"24":0,"16":3893920429768704,"44":7530370456752713728},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-10 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990030592001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:31:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":7530370456752713728,"description":"Unknown IO ID 44"} 
[2026-09-10 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990030592001,"power":28126,"cell_id":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7530370456752713728}} 
[2026-09-10 12:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":179022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:31:16] local.INFO: GPS data processed {"connection_id":179022,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:31:16] local.INFO: Acknowledgment sent {"connection_id":179022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:31:17] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:17] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:17] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:31:19] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:19] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:19] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:31:29] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:29] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:31:29] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:31:31] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1e1758012cbf544007688a10004b01312d..."} 
[2026-09-10 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1e1758012cbf544007688a10004b01312d..."} 
[2026-09-10 12:31:31] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1e1758012cbf544007688a10004b01312d..."} 
[2026-09-10 12:31:31] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:31:31] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":750736448,"raw_latitude":124291600,"longitude_deg":75.0736448,"latitude_deg":12.42916,"altitude":75,"angle":305,"satellites":45,"speed":48,"hex_longitude":"2cbf5440","hex_latitude":"07688a10","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990045440001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403997246770642944,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4651373958326468608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789023623000,"timestamp_ms":1789023623000,"timestamp_seconds":1789023623,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1e1758"} 
[2026-09-10 12:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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":97,"data_length":795,"current_offset":136} 
[2026-09-10 12:31: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-09-10 12: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-09-10 12:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990045440001,"66":27800,"22":206,"85":37888,"24":48,"16":403997246770642944,"44":-4651373958326468608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-10 12:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990045440001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:31:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-10 12:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403997246770642944,"km_value":403997246770642.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4651373958326468608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990045440001,"power":27800,"unknown_22":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4651373958326468608}} 
[2026-09-10 12:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:31:31] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:31:31] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:31:39] local.INFO: TCP Data received {"connection_id":177641,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:31:39] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:31:39] local.INFO: IMEI packet received {"connection_id":177641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":177641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:31:43] local.INFO: TCP Data received {"connection_id":177641,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:31:43] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:31:43] local.INFO: IMEI packet received {"connection_id":177641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":177641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:31:47] local.INFO: TCP Data received {"connection_id":177641,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1e46380100000000000000000000000000..."} 
[2026-09-10 12:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1e46380100000000000000000000000000..."} 
[2026-09-10 12:31:47] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1e46380100000000000000000000000000..."} 
[2026-09-10 12:31:47] local.INFO: Packet analysis {"connection_id":177641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:31:47] local.INFO: Extracted packet for processing {"connection_id":177641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990035968001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529596400560988160,"note":"Value kept but may cause issues"} 
[2026-09-10 12:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789023635000,"timestamp_ms":1789023635000,"timestamp_seconds":1789023635,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1e4638"} 
[2026-09-10 12:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 12:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":177641,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:31:47] local.INFO: GPS data processed {"connection_id":177641,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:31:47] local.INFO: Acknowledgment sent {"connection_id":177641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:32:04] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1e3698012cbf344007689c38004e01262f..."} 
[2026-09-10 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1e3698012cbf344007689c38004e01262f..."} 
[2026-09-10 12:32:04] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1e3698012cbf344007689c38004e01262f..."} 
[2026-09-10 12:32:04] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:32:04] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:32:04] local.INFO: GPS Element Parsed {"raw_longitude":750728256,"raw_latitude":124296248,"longitude_deg":75.0728256,"latitude_deg":12.4296248,"altitude":78,"angle":294,"satellites":47,"speed":46,"hex_longitude":"2cbf3440","hex_latitude":"07689c38","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990047488001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403997697742209024,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4660029313858793472,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789023631000,"timestamp_ms":1789023631000,"timestamp_seconds":1789023631,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1e3698"} 
[2026-09-10 12:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:32: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-09-10 12: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-09-10 12:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990047488001,"66":27843,"22":206,"85":37888,"24":46,"16":403997697742209024,"44":-4660029313858793472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-10 12:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990047488001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:32:04] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-10 12:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403997697742209024,"km_value":403997697742209.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4660029313858793472,"description":"Unknown IO ID 44"} 
[2026-09-10 12:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990047488001,"power":27843,"unknown_22":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4660029313858793472}} 
[2026-09-10 12:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:32:04] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:32:04] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:32:18] local.INFO: TCP Data received {"connection_id":177641,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1dd108012c687d400864cb60000e00b62e..."} 
[2026-09-10 12:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1dd108012c687d400864cb60000e00b62e..."} 
[2026-09-10 12:32:18] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1dd108012c687d400864cb60000e00b62e..."} 
[2026-09-10 12:32:18] local.INFO: Packet analysis {"connection_id":177641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:32:18] local.INFO: Extracted packet for processing {"connection_id":177641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1d"} 
[2026-09-10 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":745045312,"raw_latitude":140823392,"longitude_deg":74.5045312,"latitude_deg":14.0823392,"altitude":14,"angle":182,"satellites":46,"speed":57,"hex_longitude":"2c687d40","hex_latitude":"0864cb60","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,205,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789023605000,"timestamp_ms":1789023605000,"timestamp_seconds":1789023605,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1dd108"} 
[2026-09-10 12:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 12:32:18] 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-09-10 12: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-09-10 12:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28093,"205":206,"9":56064,"24":57,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16]} 
[2026-09-10 12:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:32:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:32:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28093,"cell_id":206,"unknown_9":56064,"ignition":57,"odometer":null}} 
[2026-09-10 12:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":177641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:32:18] local.INFO: GPS data processed {"connection_id":177641,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:32:18] local.INFO: Acknowledgment sent {"connection_id":177641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:32:29] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:29] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:29] local.INFO: IMEI packet received {"connection_id":176227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":176227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:32:29] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:29] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:29] local.INFO: IMEI packet received {"connection_id":176227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":176227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:32:34] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:34] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:32:34] local.INFO: IMEI packet received {"connection_id":176227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":176227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:32:35] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1e3698012cbf344007689c38004e01262f..."} 
[2026-09-10 12:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1e3698012cbf344007689c38004e01262f..."} 
[2026-09-10 12:32:35] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1e3698012cbf344007689c38004e01262f..."} 
[2026-09-10 12:32:35] local.INFO: Packet analysis {"connection_id":176227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:32:35] local.INFO: Extracted packet for processing {"connection_id":176227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:32:35] local.INFO: GPS Element Parsed {"raw_longitude":750728256,"raw_latitude":124296248,"longitude_deg":75.0728256,"latitude_deg":12.4296248,"altitude":78,"angle":294,"satellites":47,"speed":46,"hex_longitude":"2cbf3440","hex_latitude":"07689c38","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990049536001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403997697742209024,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4669036513112344576,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789023631000,"timestamp_ms":1789023631000,"timestamp_seconds":1789023631,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1e3698"} 
[2026-09-10 12:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:32: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-09-10 12: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-09-10 12:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990049536001,"66":27843,"22":206,"85":37888,"24":46,"16":403997697742209024,"44":-4669036513112344576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-10 12:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990049536001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:32:35] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-10 12:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403997697742209024,"km_value":403997697742209.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4669036513112344576,"description":"Unknown IO ID 44"} 
[2026-09-10 12:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990049536001,"power":27843,"unknown_22":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4669036513112344576}} 
[2026-09-10 12:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":176227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:32:35] local.INFO: GPS data processed {"connection_id":176227,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:32:35] local.INFO: Acknowledgment sent {"connection_id":176227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:32:38] local.INFO: TCP Data received {"connection_id":176228,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:32:38] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:32:38] local.INFO: IMEI packet received {"connection_id":176228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":176228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:32:45] local.INFO: TCP Data received {"connection_id":176228,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:32:45] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:32:45] local.INFO: IMEI packet received {"connection_id":176228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":176228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:32:50] local.INFO: TCP Data received {"connection_id":176228,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1e2310012c687dc0086480a0000c00b82f..."} 
[2026-09-10 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1e2310012c687dc0086480a0000c00b82f..."} 
[2026-09-10 12:32:50] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1e2310012c687dc0086480a0000c00b82f..."} 
[2026-09-10 12:32:50] local.INFO: Packet analysis {"connection_id":176228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:32:50] local.INFO: Extracted packet for processing {"connection_id":176228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:32:50] local.INFO: GPS Element Parsed {"raw_longitude":745045440,"raw_latitude":140804256,"longitude_deg":74.504544,"latitude_deg":14.0804256,"altitude":12,"angle":184,"satellites":47,"speed":0,"hex_longitude":"2c687dc0","hex_latitude":"086480a0","is_valid_coordinates":true} 
[2026-09-10 12:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990042880001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529244556828303360,"note":"Value kept but may cause issues"} 
[2026-09-10 12:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789023626000,"timestamp_ms":1789023626000,"timestamp_seconds":1789023626,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1e2310"} 
[2026-09-10 12:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:32: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-09-10 12:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-10 12:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990042880001,"66":28028,"205":206,"9":56064,"24":0,"16":3893920429768704,"44":7529244556828303360},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-10 12:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990042880001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:32:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529244556828303360,"description":"Unknown IO ID 44"} 
[2026-09-10 12:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990042880001,"power":28028,"cell_id":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7529244556828303360}} 
[2026-09-10 12:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":176228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:32:50] local.INFO: GPS data processed {"connection_id":176228,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:32:50] local.INFO: Acknowledgment sent {"connection_id":176228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:33:19] local.INFO: TCP Data received {"connection_id":177642,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:33:19] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:33:19] local.INFO: IMEI packet received {"connection_id":177642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":177642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:33:22] local.INFO: TCP Data received {"connection_id":177642,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:33:22] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:33:22] local.INFO: IMEI packet received {"connection_id":177642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":177642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:33:22] local.INFO: TCP Data received {"connection_id":176228,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1e7518012c687d00086440e0000a00b02e..."} 
[2026-09-10 12:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1e7518012c687d00086440e0000a00b02e..."} 
[2026-09-10 12:33:22] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1e7518012c687d00086440e0000a00b02e..."} 
[2026-09-10 12:33:22] local.INFO: Packet analysis {"connection_id":176228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:33:22] local.INFO: Extracted packet for processing {"connection_id":176228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:33:22] local.INFO: GPS Element Parsed {"raw_longitude":745045248,"raw_latitude":140787936,"longitude_deg":74.5045248,"latitude_deg":14.0787936,"altitude":10,"angle":176,"satellites":46,"speed":34,"hex_longitude":"2c687d00","hex_latitude":"086440e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990048256001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529385294311759872,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789023647000,"timestamp_ms":1789023647000,"timestamp_seconds":1789023647,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1e7518"} 
[2026-09-10 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-09-10 12:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 12:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990048256001,"66":28354,"205":206,"9":56064,"24":34,"16":3893920429768704,"44":7529385294311759872},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-10 12:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990048256001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:33:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529385294311759872,"description":"Unknown IO ID 44"} 
[2026-09-10 12:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990048256001,"power":28354,"cell_id":206,"unknown_9":56064,"ignition":34,"odometer":null,"unknown_44":7529385294311759872}} 
[2026-09-10 12:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":176228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:33:22] local.INFO: GPS data processed {"connection_id":176228,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:33:22] local.INFO: Acknowledgment sent {"connection_id":176228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:33:23] local.INFO: TCP Data received {"connection_id":177642,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1f9df8012cbde7c00769aef00047015b2e..."} 
[2026-09-10 12:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1f9df8012cbde7c00769aef00047015b2e..."} 
[2026-09-10 12:33:23] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1f9df8012cbde7c00769aef00047015b2e..."} 
[2026-09-10 12:33:23] local.INFO: Packet analysis {"connection_id":177642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:33:23] local.INFO: Extracted packet for processing {"connection_id":177642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:33:23] local.INFO: GPS Element Parsed {"raw_longitude":750643136,"raw_latitude":124366576,"longitude_deg":75.0643136,"latitude_deg":12.4366576,"altitude":71,"angle":347,"satellites":46,"speed":51,"hex_longitude":"2cbde7c0","hex_latitude":"0769aef0","is_valid_coordinates":true} 
[2026-09-10 12:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990071296001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404003281199693824,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4760234405550843904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789023723000,"timestamp_ms":1789023723000,"timestamp_seconds":1789023723,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1f9df8"} 
[2026-09-10 12:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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-09-10 12: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-09-10 12:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990071296001,"66":27832,"2":206,"85":37888,"24":51,"16":404003281199693824,"44":-4760234405550843904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 12:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990071296001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:33:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404003281199693824,"km_value":404003281199693.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:33:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4760234405550843904,"description":"Unknown IO ID 44"} 
[2026-09-10 12:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990071296001,"power":27832,"power_alt":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4760234405550843904}} 
[2026-09-10 12:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":177642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:33:23] local.INFO: GPS data processed {"connection_id":177642,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:33:23] local.INFO: Acknowledgment sent {"connection_id":177642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:33:43] local.INFO: TCP Data received {"connection_id":176473,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:43] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:43] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:33:50] local.INFO: TCP Data received {"connection_id":176473,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:50] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:50] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:33:51] local.INFO: TCP Data received {"connection_id":176473,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:51] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:51] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:33:52] local.INFO: TCP Data received {"connection_id":179023,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:33:52] local.INFO: Processing buffer {"connection_id":179023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:33:52] local.INFO: IMEI packet received {"connection_id":179023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":179023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:33:53] local.INFO: TCP Data received {"connection_id":176473,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:53] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:33:53] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:33:54] local.INFO: TCP Data received {"connection_id":177642,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1fbd38012cbddf400769d418004a015c30..."} 
[2026-09-10 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1fbd38012cbddf400769d418004a015c30..."} 
[2026-09-10 12:33:54] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1fbd38012cbddf400769d418004a015c30..."} 
[2026-09-10 12:33:54] local.INFO: Packet analysis {"connection_id":177642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:33:54] local.INFO: Extracted packet for processing {"connection_id":177642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:33:54] local.INFO: GPS Element Parsed {"raw_longitude":750640960,"raw_latitude":124376088,"longitude_deg":75.064096,"latitude_deg":12.4376088,"altitude":74,"angle":348,"satellites":48,"speed":45,"hex_longitude":"2cbddf40","hex_latitude":"0769d418","is_valid_coordinates":true} 
[2026-09-10 12:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990073088001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404003753646096384,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4762626942850633728,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789023731000,"timestamp_ms":1789023731000,"timestamp_seconds":1789023731,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1fbd38"} 
[2026-09-10 12:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:33: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-09-10 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 12:33:54] 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-09-10 12:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990073088001,"66":27876,"2":206,"85":37888,"24":45,"16":404003753646096384,"44":-4762626942850633728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 12:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990073088001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404003753646096384,"km_value":404003753646096.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:33:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4762626942850633728,"description":"Unknown IO ID 44"} 
[2026-09-10 12:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990073088001,"power":27876,"power_alt":206,"unknown_85":37888,"ignition":45,"odometer":null,"unknown_44":-4762626942850633728}} 
[2026-09-10 12:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":177642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:33:54] local.INFO: GPS data processed {"connection_id":177642,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:33:54] local.INFO: Acknowledgment sent {"connection_id":177642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:33:57] local.INFO: TCP Data received {"connection_id":179023,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:33:57] local.INFO: Processing buffer {"connection_id":179023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:33:57] local.INFO: IMEI packet received {"connection_id":179023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":179023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:33:58] local.INFO: TCP Data received {"connection_id":179023,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1ff000012d1b1d40071f7aa0003b012826..."} 
[2026-09-10 12:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1ff000012d1b1d40071f7aa0003b012826..."} 
[2026-09-10 12:33:58] local.INFO: Processing buffer {"connection_id":179023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1ff000012d1b1d40071f7aa0003b012826..."} 
[2026-09-10 12:33:58] local.INFO: Packet analysis {"connection_id":179023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:33:58] local.INFO: Extracted packet for processing {"connection_id":179023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756751680,"raw_latitude":119503520,"longitude_deg":75.675168,"latitude_deg":11.950352,"altitude":59,"angle":296,"satellites":38,"speed":23,"hex_longitude":"2d1b1d40","hex_latitude":"071f7aa0","is_valid_coordinates":true} 
[2026-09-10 12:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990076160001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19177617387159552,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959136237242857472,"note":"Value kept but may cause issues"} 
[2026-09-10 12:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789023744000,"timestamp_ms":1789023744000,"timestamp_seconds":1789023744,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1ff000"} 
[2026-09-10 12:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 12:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990076160001,"66":14374,"121":206,"28":31744,"24":23,"16":19177617387159552,"45":1959136237242857472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 12:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990076160001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:33:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 12:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 12:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19177617387159552,"km_value":19177617387159.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959136237242857472,"description":"Unknown IO ID 45"} 
[2026-09-10 12:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990076160001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1959136237242857472}} 
[2026-09-10 12:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":179023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:33:58] local.INFO: GPS data processed {"connection_id":179023,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:33:58] local.INFO: Acknowledgment sent {"connection_id":179023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:34:03] local.INFO: TCP Data received {"connection_id":176473,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1ec720012c6882400863fe90000900ae2f..."} 
[2026-09-10 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1ec720012c6882400863fe90000900ae2f..."} 
[2026-09-10 12:34:03] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1ec720012c6882400863fe90000900ae2f..."} 
[2026-09-10 12:34:03] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:34:03] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1e"} 
[2026-09-10 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":745046592,"raw_latitude":140770960,"longitude_deg":74.5046592,"latitude_deg":14.077096,"altitude":9,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2c688240","hex_latitude":"0863fe90","is_valid_coordinates":true} 
[2026-09-10 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990053632001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529174188075048960,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789023668000,"timestamp_ms":1789023668000,"timestamp_seconds":1789023668,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1ec720"} 
[2026-09-10 12:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-10 12:34: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-09-10 12:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990053632001,"66":27832,"205":206,"9":56064,"24":0,"16":3893920429768704,"44":7529174188075048960},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-10 12:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990053632001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:34:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529174188075048960,"description":"Unknown IO ID 44"} 
[2026-09-10 12:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990053632001,"power":27832,"cell_id":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7529174188075048960}} 
[2026-09-10 12:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:34:04] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:34:04] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:34:05] local.INFO: TCP Data received {"connection_id":176473,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1f1928012c6882400863fe90000900ae2f..."} 
[2026-09-10 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1f1928012c6882400863fe90000900ae2f..."} 
[2026-09-10 12:34:05] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1f1928012c6882400863fe90000900ae2f..."} 
[2026-09-10 12:34:05] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:34:05] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:34:05] local.INFO: GPS Element Parsed {"raw_longitude":745046592,"raw_latitude":140770960,"longitude_deg":74.5046592,"latitude_deg":14.077096,"altitude":9,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2c688240","hex_latitude":"0863fe90","is_valid_coordinates":true} 
[2026-09-10 12:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990059008001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7530651931698434048,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789023689000,"timestamp_ms":1789023689000,"timestamp_seconds":1789023689,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1f1928"} 
[2026-09-10 12:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:34: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-09-10 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 12:34: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-09-10 12:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990059008001,"66":28137,"205":206,"9":56064,"24":0,"16":3893920429768704,"44":7530651931698434048},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-10 12:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990059008001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:34:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":7530651931698434048,"description":"Unknown IO ID 44"} 
[2026-09-10 12:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990059008001,"power":28137,"cell_id":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7530651931698434048}} 
[2026-09-10 12:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:34:05] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:34:05] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:34:24] local.INFO: TCP Data received {"connection_id":179024,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:24] local.INFO: Processing buffer {"connection_id":179024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:24] local.INFO: IMEI packet received {"connection_id":179024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":179024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:34:26] local.INFO: TCP Data received {"connection_id":179024,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:26] local.INFO: Processing buffer {"connection_id":179024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:26] local.INFO: IMEI packet received {"connection_id":179024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":179024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:34:27] local.INFO: TCP Data received {"connection_id":179024,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:27] local.INFO: Processing buffer {"connection_id":179024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:27] local.INFO: IMEI packet received {"connection_id":179024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":179024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:34:28] local.INFO: TCP Data received {"connection_id":179025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:34:28] local.INFO: Processing buffer {"connection_id":179025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:34:28] local.INFO: IMEI packet received {"connection_id":179025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":179025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:34:29] local.INFO: TCP Data received {"connection_id":179024,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:29] local.INFO: Processing buffer {"connection_id":179024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:34:29] local.INFO: IMEI packet received {"connection_id":179024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":179024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:34:30] local.INFO: TCP Data received {"connection_id":179024,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2118e0012cbdac00076b5fa80045014a2d..."} 
[2026-09-10 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2118e0012cbdac00076b5fa80045014a2d..."} 
[2026-09-10 12:34:30] local.INFO: Processing buffer {"connection_id":179024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2118e0012cbdac00076b5fa80045014a2d..."} 
[2026-09-10 12:34:30] local.INFO: Packet analysis {"connection_id":179024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:34:30] local.INFO: Extracted packet for processing {"connection_id":179024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750627840,"raw_latitude":124477352,"longitude_deg":75.062784,"latitude_deg":12.4477352,"altitude":69,"angle":330,"satellites":45,"speed":47,"hex_longitude":"2cbdac00","hex_latitude":"076b5fa8","is_valid_coordinates":true} 
[2026-09-10 12:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990095616001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404008761577963520,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4774800735567245312,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789023820000,"timestamp_ms":1789023820000,"timestamp_seconds":1789023820,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2118e0"} 
[2026-09-10 12:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:34: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-09-10 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990095616001,"66":27919,"2":206,"85":37888,"24":47,"16":404008761577963520,"44":-4774800735567245312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 12:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990095616001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404008761577963520,"km_value":404008761577963.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4774800735567245312,"description":"Unknown IO ID 44"} 
[2026-09-10 12:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990095616001,"power":27919,"power_alt":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-4774800735567245312}} 
[2026-09-10 12:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":179024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:34:30] local.INFO: GPS data processed {"connection_id":179024,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:34:30] local.INFO: Acknowledgment sent {"connection_id":179024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:34:32] local.INFO: TCP Data received {"connection_id":179025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:34:32] local.INFO: Processing buffer {"connection_id":179025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:34:32] local.INFO: IMEI packet received {"connection_id":179025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":179025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:34:32] local.INFO: TCP Data received {"connection_id":176229,"ip":"71.6.134.235","data_length":241,"data_hex":"16030100ec010000e80303e6dfc3090f18775dac3ec67204f158d2210ab9765e..."} 
[2026-09-10 12:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":241,"packet_hex":"16030100ec010000e80303e6dfc3090f18775dac3ec67204f158d2210ab9765e..."} 
[2026-09-10 12:34:32] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":241,"buffer_hex":"16030100ec010000e80303e6dfc3090f18775dac3ec67204f158d2210ab9765e..."} 
[2026-09-10 12:34:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176229,"buffer_length":241,"first_bytes_hex":"16030100ec010000e80303e6dfc3090f"} 
[2026-09-10 12:34:33] local.INFO: TCP Data received {"connection_id":179025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a20f5b8012d1ac340071f8fd80039014028..."} 
[2026-09-10 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a20f5b8012d1ac340071f8fd80039014028..."} 
[2026-09-10 12:34:33] local.INFO: Processing buffer {"connection_id":179025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a20f5b8012d1ac340071f8fd80039014028..."} 
[2026-09-10 12:34:33] local.INFO: Packet analysis {"connection_id":179025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:34:33] local.INFO: Extracted packet for processing {"connection_id":179025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756728640,"raw_latitude":119508952,"longitude_deg":75.672864,"latitude_deg":11.9508952,"altitude":57,"angle":320,"satellites":40,"speed":19,"hex_longitude":"2d1ac340","hex_latitude":"071f8fd8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990095360001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19178888697479168,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939759781888,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789023811000,"timestamp_ms":1789023811000,"timestamp_seconds":1789023811,"priority":1,"record_length":96,"hex_timestamp":"000001a08a20f5b8"} 
[2026-09-10 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-09-10 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 12:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990095360001,"66":13961,"101":206,"83":41984,"24":19,"16":19178888697479168,"45":1928736939759781888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990095360001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:34:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19178888697479168,"km_value":19178888697479.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939759781888,"description":"Unknown IO ID 45"} 
[2026-09-10 12:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990095360001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1928736939759781888}} 
[2026-09-10 12:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":179025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:34:33] local.INFO: GPS data processed {"connection_id":179025,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:34:33] local.INFO: Acknowledgment sent {"connection_id":179025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:34:38] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:34:38] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:34:38] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:34:44] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:34:44] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:34:44] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:34:45] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1f6b30012c688b000863cd20000a00af30..."} 
[2026-09-10 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1f6b30012c688b000863cd20000a00af30..."} 
[2026-09-10 12:34:45] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1f6b30012c688b000863cd20000a00af30..."} 
[2026-09-10 12:34:45] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:34:45] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:34:45] local.INFO: GPS Element Parsed {"raw_longitude":745048832,"raw_latitude":140758304,"longitude_deg":74.5048832,"latitude_deg":14.0758304,"altitude":10,"angle":175,"satellites":48,"speed":0,"hex_longitude":"2c688b00","hex_latitude":"0863cd20","is_valid_coordinates":true} 
[2026-09-10 12:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990064384001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7530651931698434048,"note":"Value kept but may cause issues"} 
[2026-09-10 12:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789023710000,"timestamp_ms":1789023710000,"timestamp_seconds":1789023710,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1f6b30"} 
[2026-09-10 12:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990064384001,"66":28137,"205":206,"9":56064,"24":0,"16":3893920429768704,"44":7530651931698434048},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-10 12:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990064384001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:34:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":7530651931698434048,"description":"Unknown IO ID 44"} 
[2026-09-10 12:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990064384001,"power":28137,"cell_id":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7530651931698434048}} 
[2026-09-10 12:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:34:45] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:34:45] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:35:01] local.INFO: TCP Data received {"connection_id":179024,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a213820012cbd9500076b80600043013e2d..."} 
[2026-09-10 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a213820012cbd9500076b80600043013e2d..."} 
[2026-09-10 12:35:01] local.INFO: Processing buffer {"connection_id":179024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a213820012cbd9500076b80600043013e2d..."} 
[2026-09-10 12:35:01] local.INFO: Packet analysis {"connection_id":179024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:35:01] local.INFO: Extracted packet for processing {"connection_id":179024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":750621952,"raw_latitude":124485728,"longitude_deg":75.0621952,"latitude_deg":12.4485728,"altitude":67,"angle":318,"satellites":45,"speed":53,"hex_longitude":"2cbd9500","hex_latitude":"076b8060","is_valid_coordinates":true} 
[2026-09-10 12:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990097920001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404009255499202560,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4779445072680736768,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789023828000,"timestamp_ms":1789023828000,"timestamp_seconds":1789023828,"priority":1,"record_length":96,"hex_timestamp":"000001a08a213820"} 
[2026-09-10 12:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 12:35: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-09-10 12:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":179024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":179024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":179024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:35: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-09-10 12:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990097920001,"66":27919,"105":206,"85":37888,"24":53,"16":404009255499202560,"44":-4779445072680736768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990097920001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:35:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404009255499202560,"km_value":404009255499202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4779445072680736768,"description":"Unknown IO ID 44"} 
[2026-09-10 12:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990097920001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4779445072680736768}} 
[2026-09-10 12:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":179024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:35:01] local.INFO: GPS data processed {"connection_id":179024,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:35:01] local.INFO: Acknowledgment sent {"connection_id":179024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:35:04] local.INFO: TCP Data received {"connection_id":179025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a20f9a0012d1ac180071f91200039013128..."} 
[2026-09-10 12:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a20f9a0012d1ac180071f91200039013128..."} 
[2026-09-10 12:35:04] local.INFO: Processing buffer {"connection_id":179025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a20f9a0012d1ac180071f91200039013128..."} 
[2026-09-10 12:35:04] local.INFO: Packet analysis {"connection_id":179025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:35:04] local.INFO: Extracted packet for processing {"connection_id":179025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119509280,"longitude_deg":75.6728192,"latitude_deg":11.950928,"altitude":57,"angle":305,"satellites":40,"speed":19,"hex_longitude":"2d1ac180","hex_latitude":"071f9120","is_valid_coordinates":true} 
[2026-09-10 12:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990095616001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19178914467282944,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928455464783173632,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789023812000,"timestamp_ms":1789023812000,"timestamp_seconds":1789023812,"priority":1,"record_length":96,"hex_timestamp":"000001a08a20f9a0"} 
[2026-09-10 12:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 12:35: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-09-10 12:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990095616001,"66":13993,"101":206,"83":41984,"24":19,"16":19178914467282944,"45":1928455464783173632},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990095616001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:35:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19178914467282944,"km_value":19178914467282.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928455464783173632,"description":"Unknown IO ID 45"} 
[2026-09-10 12:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990095616001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1928455464783173632}} 
[2026-09-10 12:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":179025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:35:04] local.INFO: GPS data processed {"connection_id":179025,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:35:04] local.INFO: Acknowledgment sent {"connection_id":179025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:35:19] local.INFO: TCP Data received {"connection_id":179026,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:19] local.INFO: Processing buffer {"connection_id":179026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:19] local.INFO: IMEI packet received {"connection_id":179026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":179026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:35:20] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a1fbd38012c688e0008639c10000b00b330..."} 
[2026-09-10 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a1fbd38012c688e0008639c10000b00b330..."} 
[2026-09-10 12:35:20] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a1fbd38012c688e0008639c10000b00b330..."} 
[2026-09-10 12:35:20] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:35:20] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a1f"} 
[2026-09-10 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":745049600,"raw_latitude":140745744,"longitude_deg":74.50496,"latitude_deg":14.0745744,"altitude":11,"angle":179,"satellites":48,"speed":0,"hex_longitude":"2c688e00","hex_latitude":"08639c10","is_valid_coordinates":true} 
[2026-09-10 12:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990069760001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7533114837741412352,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789023731000,"timestamp_ms":1789023731000,"timestamp_seconds":1789023731,"priority":1,"record_length":96,"hex_timestamp":"000001a08a1fbd38"} 
[2026-09-10 12:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:35: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-09-10 12:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990069760001,"66":28256,"206":206,"9":56064,"24":0,"16":3893920429768704,"44":7533114837741412352},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-10 12:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990069760001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:35:20] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-10 12:35:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":7533114837741412352,"description":"Unknown IO ID 44"} 
[2026-09-10 12:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990069760001,"power":28256,"unknown_206":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7533114837741412352}} 
[2026-09-10 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:35:20] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:35:20] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:35:23] local.INFO: TCP Data received {"connection_id":179026,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:23] local.INFO: Processing buffer {"connection_id":179026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:23] local.INFO: IMEI packet received {"connection_id":179026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":179026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:35:24] local.INFO: TCP Data received {"connection_id":179026,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:24] local.INFO: Processing buffer {"connection_id":179026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:35:24] local.INFO: IMEI packet received {"connection_id":179026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":179026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:35:25] local.INFO: TCP Data received {"connection_id":179026,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a213820012cbd9500076b80600043013e2d..."} 
[2026-09-10 12:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a213820012cbd9500076b80600043013e2d..."} 
[2026-09-10 12:35:25] local.INFO: Processing buffer {"connection_id":179026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a213820012cbd9500076b80600043013e2d..."} 
[2026-09-10 12:35:25] local.INFO: Packet analysis {"connection_id":179026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:35:25] local.INFO: Extracted packet for processing {"connection_id":179026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:35:25] local.INFO: GPS Element Parsed {"raw_longitude":750621952,"raw_latitude":124485728,"longitude_deg":75.0621952,"latitude_deg":12.4485728,"altitude":67,"angle":318,"satellites":45,"speed":53,"hex_longitude":"2cbd9500","hex_latitude":"076b8060","is_valid_coordinates":true} 
[2026-09-10 12:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990099968001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404009255499202560,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4785918997142937600,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789023828000,"timestamp_ms":1789023828000,"timestamp_seconds":1789023828,"priority":1,"record_length":96,"hex_timestamp":"000001a08a213820"} 
[2026-09-10 12:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 12:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990099968001,"66":27919,"105":206,"85":37888,"24":53,"16":404009255499202560,"44":-4785918997142937600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990099968001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:35:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404009255499202560,"km_value":404009255499202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4785918997142937600,"description":"Unknown IO ID 44"} 
[2026-09-10 12:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990099968001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4785918997142937600}} 
[2026-09-10 12:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":179026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:35:25] local.INFO: GPS data processed {"connection_id":179026,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:35:25] local.INFO: Acknowledgment sent {"connection_id":179026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:35:27] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:35:27] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:35:27] local.INFO: IMEI packet received {"connection_id":176230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":176230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:35:32] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:35:32] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:35:32] local.INFO: IMEI packet received {"connection_id":176230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":176230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:35:33] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a210170012d1abe00071f92c80039012028..."} 
[2026-09-10 12:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a210170012d1abe00071f92c80039012028..."} 
[2026-09-10 12:35:33] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a210170012d1abe00071f92c80039012028..."} 
[2026-09-10 12:35:33] local.INFO: Packet analysis {"connection_id":176230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:35:33] local.INFO: Extracted packet for processing {"connection_id":176230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756727296,"raw_latitude":119509704,"longitude_deg":75.6727296,"latitude_deg":11.9509704,"altitude":57,"angle":288,"satellites":40,"speed":19,"hex_longitude":"2d1abe00","hex_latitude":"071f92c8","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990095872001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19178966006890496,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883574013952,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789023814000,"timestamp_ms":1789023814000,"timestamp_seconds":1789023814,"priority":1,"record_length":96,"hex_timestamp":"000001a08a210170"} 
[2026-09-10 12:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 12:35: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-09-10 12: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-09-10 12:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990095872001,"66":13993,"101":206,"83":41984,"24":19,"16":19178966006890496,"45":1927962883574013952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990095872001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:35:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19178966006890496,"km_value":19178966006890.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883574013952,"description":"Unknown IO ID 45"} 
[2026-09-10 12:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990095872001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1927962883574013952}} 
[2026-09-10 12:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":176230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:35:33] local.INFO: GPS data processed {"connection_id":176230,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:35:33] local.INFO: Acknowledgment sent {"connection_id":176230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:35:43] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:35:43] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:35:43] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:35:49] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:35:49] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:35:49] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:35:50] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a200f40012c68860008635690000700bc31..."} 
[2026-09-10 12:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a200f40012c68860008635690000700bc31..."} 
[2026-09-10 12:35:50] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a200f40012c68860008635690000700bc31..."} 
[2026-09-10 12:35:50] local.INFO: Packet analysis {"connection_id":176475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:35:50] local.INFO: Extracted packet for processing {"connection_id":176475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:35:50] local.INFO: GPS Element Parsed {"raw_longitude":745047552,"raw_latitude":140727952,"longitude_deg":74.5047552,"latitude_deg":14.0727952,"altitude":7,"angle":188,"satellites":49,"speed":41,"hex_longitude":"2c688600","hex_latitude":"08635690","is_valid_coordinates":true} 
[2026-09-10 12:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990075136001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7533959262668328960,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789023752000,"timestamp_ms":1789023752000,"timestamp_seconds":1789023752,"priority":1,"record_length":96,"hex_timestamp":"000001a08a200f40"} 
[2026-09-10 12:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:35: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-09-10 12:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 12:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990075136001,"66":28137,"206":206,"9":56064,"24":41,"16":3893920429768704,"44":7533959262668328960},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-10 12:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990075136001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:35:50] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-10 12:35:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":7533959262668328960,"description":"Unknown IO ID 44"} 
[2026-09-10 12:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990075136001,"power":28137,"unknown_206":206,"unknown_9":56064,"ignition":41,"odometer":null,"unknown_44":7533959262668328960}} 
[2026-09-10 12:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":176475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:35:50] local.INFO: GPS data processed {"connection_id":176475,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:35:50] local.INFO: Acknowledgment sent {"connection_id":176475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:35:56] local.INFO: TCP Data received {"connection_id":179026,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a224990012cbd1740076ccea00042015d2c..."} 
[2026-09-10 12:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a224990012cbd1740076ccea00042015d2c..."} 
[2026-09-10 12:35:56] local.INFO: Processing buffer {"connection_id":179026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a224990012cbd1740076ccea00042015d2c..."} 
[2026-09-10 12:35:56] local.INFO: Packet analysis {"connection_id":179026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:35:56] local.INFO: Extracted packet for processing {"connection_id":179026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:35:56] local.INFO: GPS Element Parsed {"raw_longitude":750589760,"raw_latitude":124571296,"longitude_deg":75.058976,"latitude_deg":12.4571296,"altitude":66,"angle":349,"satellites":44,"speed":51,"hex_longitude":"2cbd1740","hex_latitude":"076ccea0","is_valid_coordinates":true} 
[2026-09-10 12:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990116096001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404013808164536320,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819625625584420864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789023898000,"timestamp_ms":1789023898000,"timestamp_seconds":1789023898,"priority":1,"record_length":96,"hex_timestamp":"000001a08a224990"} 
[2026-09-10 12:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 12:35:56] 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-09-10 12:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990116096001,"66":27876,"105":206,"85":37888,"24":51,"16":404013808164536320,"44":-4819625625584420864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990116096001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:35:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404013808164536320,"km_value":404013808164536.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819625625584420864,"description":"Unknown IO ID 44"} 
[2026-09-10 12:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990116096001,"power":27876,"unknown_105":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4819625625584420864}} 
[2026-09-10 12:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":179026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:35:56] local.INFO: GPS data processed {"connection_id":179026,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:35:56] local.INFO: Acknowledgment sent {"connection_id":179026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:36:04] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a215378012d1ab680071f95300039011527..."} 
[2026-09-10 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a215378012d1ab680071f95300039011527..."} 
[2026-09-10 12:36:04] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a215378012d1ab680071f95300039011527..."} 
[2026-09-10 12:36:04] local.INFO: Packet analysis {"connection_id":176230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:36:04] local.INFO: Extracted packet for processing {"connection_id":176230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756725376,"raw_latitude":119510320,"longitude_deg":75.6725376,"latitude_deg":11.951032,"altitude":57,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1ab680","hex_latitude":"071f9530","is_valid_coordinates":true} 
[2026-09-10 12:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990096384001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179060496171008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926977721155635200,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789023835000,"timestamp_ms":1789023835000,"timestamp_seconds":1789023835,"priority":1,"record_length":96,"hex_timestamp":"000001a08a215378"} 
[2026-09-10 12:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 12:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990096384001,"66":14004,"101":206,"83":41984,"24":0,"16":19179060496171008,"45":1926977721155635200},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990096384001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:36:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179060496171008,"km_value":19179060496171.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926977721155635200,"description":"Unknown IO ID 45"} 
[2026-09-10 12:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990096384001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926977721155635200}} 
[2026-09-10 12:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":176230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:36:04] local.INFO: GPS data processed {"connection_id":176230,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:36:04] local.INFO: Acknowledgment sent {"connection_id":176230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:36:20] local.INFO: TCP Data received {"connection_id":177643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:20] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:20] local.INFO: IMEI packet received {"connection_id":177643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":177643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:36:25] local.INFO: TCP Data received {"connection_id":177643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:25] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:25] local.INFO: IMEI packet received {"connection_id":177643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":177643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:36:25] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a206148012c687bc008630aa0000700b62f..."} 
[2026-09-10 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a206148012c687bc008630aa0000700b62f..."} 
[2026-09-10 12:36:25] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a206148012c687bc008630aa0000700b62f..."} 
[2026-09-10 12:36:25] local.INFO: Packet analysis {"connection_id":176475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:36:25] local.INFO: Extracted packet for processing {"connection_id":176475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:36:25] local.INFO: GPS Element Parsed {"raw_longitude":745044928,"raw_latitude":140708512,"longitude_deg":74.5044928,"latitude_deg":14.0708512,"altitude":7,"angle":182,"satellites":47,"speed":0,"hex_longitude":"2c687bc0","hex_latitude":"08630aa0","is_valid_coordinates":true} 
[2026-09-10 12:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990080512001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7531707462850088960,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789023773000,"timestamp_ms":1789023773000,"timestamp_seconds":1789023773,"priority":1,"record_length":96,"hex_timestamp":"000001a08a206148"} 
[2026-09-10 12:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990080512001,"66":28202,"206":206,"9":56064,"24":0,"16":3893920429768704,"44":7531707462850088960},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-10 12:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990080512001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:36:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-10 12:36:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":7531707462850088960,"description":"Unknown IO ID 44"} 
[2026-09-10 12:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990080512001,"power":28202,"unknown_206":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7531707462850088960}} 
[2026-09-10 12:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":176475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:36:25] local.INFO: GPS data processed {"connection_id":176475,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:36:25] local.INFO: Acknowledgment sent {"connection_id":176475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:36:27] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:36:27] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:36:27] local.INFO: IMEI packet received {"connection_id":177644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":177644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:36:29] local.INFO: TCP Data received {"connection_id":177643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:29] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:36:29] local.INFO: IMEI packet received {"connection_id":177643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":177643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:36:30] local.INFO: TCP Data received {"connection_id":177643,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2264e8012cbd0f80076cf1080043015b2c..."} 
[2026-09-10 12:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2264e8012cbd0f80076cf1080043015b2c..."} 
[2026-09-10 12:36:30] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2264e8012cbd0f80076cf1080043015b2c..."} 
[2026-09-10 12:36:30] local.INFO: Packet analysis {"connection_id":177643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:36:30] local.INFO: Extracted packet for processing {"connection_id":177643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750587776,"raw_latitude":124580104,"longitude_deg":75.0587776,"latitude_deg":12.4580104,"altitude":67,"angle":347,"satellites":44,"speed":50,"hex_longitude":"2cbd0f80","hex_latitude":"076cf108","is_valid_coordinates":true} 
[2026-09-10 12:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990117888001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404014246251200512,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4821314475442397184,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789023905000,"timestamp_ms":1789023905000,"timestamp_seconds":1789023905,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2264e8"} 
[2026-09-10 12:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:36: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-09-10 12:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:36:30] 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-09-10 12:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990117888001,"66":27876,"105":206,"85":37888,"24":50,"16":404014246251200512,"44":-4821314475442397184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990117888001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:36:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404014246251200512,"km_value":404014246251200.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4821314475442397184,"description":"Unknown IO ID 44"} 
[2026-09-10 12:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990117888001,"power":27876,"unknown_105":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4821314475442397184}} 
[2026-09-10 12:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":177643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:36:30] local.INFO: GPS data processed {"connection_id":177643,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:36:30] local.INFO: Acknowledgment sent {"connection_id":177643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:36:31] local.INFO: TCP Data received {"connection_id":177643,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a228040012cbd06c0076d1298004501582d..."} 
[2026-09-10 12:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a228040012cbd06c0076d1298004501582d..."} 
[2026-09-10 12:36:31] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a228040012cbd06c0076d1298004501582d..."} 
[2026-09-10 12:36:31] local.INFO: Packet analysis {"connection_id":177643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:36:31] local.INFO: Extracted packet for processing {"connection_id":177643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:36:31] local.INFO: GPS Element Parsed {"raw_longitude":750585536,"raw_latitude":124588696,"longitude_deg":75.0585536,"latitude_deg":12.4588696,"altitude":69,"angle":344,"satellites":45,"speed":50,"hex_longitude":"2cbd06c0","hex_latitude":"076d1298","is_valid_coordinates":true} 
[2026-09-10 12:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990119680001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404014675747930112,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4823495906509649920,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789023912000,"timestamp_ms":1789023912000,"timestamp_seconds":1789023912,"priority":1,"record_length":96,"hex_timestamp":"000001a08a228040"} 
[2026-09-10 12:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:36: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-09-10 12:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990119680001,"66":27767,"105":206,"85":37888,"24":50,"16":404014675747930112,"44":-4823495906509649920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990119680001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:36:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404014675747930112,"km_value":404014675747930.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4823495906509649920,"description":"Unknown IO ID 44"} 
[2026-09-10 12:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990119680001,"power":27767,"unknown_105":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4823495906509649920}} 
[2026-09-10 12:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":177643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:36:31] local.INFO: GPS data processed {"connection_id":177643,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:36:31] local.INFO: Acknowledgment sent {"connection_id":177643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:36:32] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:36:32] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:36:32] local.INFO: IMEI packet received {"connection_id":177644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":177644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:36:33] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a21a580012d1ab680071f95300039011527..."} 
[2026-09-10 12:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a21a580012d1ab680071f95300039011527..."} 
[2026-09-10 12:36:33] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a21a580012d1ab680071f95300039011527..."} 
[2026-09-10 12:36:33] local.INFO: Packet analysis {"connection_id":177644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:36:33] local.INFO: Extracted packet for processing {"connection_id":177644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756725376,"raw_latitude":119510320,"longitude_deg":75.6725376,"latitude_deg":11.951032,"altitude":57,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d1ab680","hex_latitude":"071f9530","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990101760001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179060496171008,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830462976,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789023856000,"timestamp_ms":1789023856000,"timestamp_seconds":1789023856,"priority":1,"record_length":96,"hex_timestamp":"000001a08a21a580"} 
[2026-09-10 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-09-10 12:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 12:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990101760001,"66":13972,"101":206,"83":41984,"24":0,"16":19179060496171008,"45":1924866658830462976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990101760001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:36:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179060496171008,"km_value":19179060496171.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830462976,"description":"Unknown IO ID 45"} 
[2026-09-10 12:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990101760001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1924866658830462976}} 
[2026-09-10 12:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":177644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:36:33] local.INFO: GPS data processed {"connection_id":177644,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:36:33] local.INFO: Acknowledgment sent {"connection_id":177644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:36:43] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:43] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:43] local.INFO: IMEI packet received {"connection_id":177645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":177645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:36:49] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:49] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:49] local.INFO: IMEI packet received {"connection_id":177645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":177645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:36:49] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:49] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:36:49] local.INFO: IMEI packet received {"connection_id":177645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":177645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:36:51] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2097f8012c6882c00862ba30000800a82f..."} 
[2026-09-10 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2097f8012c6882c00862ba30000800a82f..."} 
[2026-09-10 12:36:51] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2097f8012c6882c00862ba30000800a82f..."} 
[2026-09-10 12:36:51] local.INFO: Packet analysis {"connection_id":177645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:36:51] local.INFO: Extracted packet for processing {"connection_id":177645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":745046720,"raw_latitude":140687920,"longitude_deg":74.504672,"latitude_deg":14.068792,"altitude":8,"angle":168,"satellites":47,"speed":50,"hex_longitude":"2c6882c0","hex_latitude":"0862ba30","is_valid_coordinates":true} 
[2026-09-10 12:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990085888001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7528822344333828096,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789023787000,"timestamp_ms":1789023787000,"timestamp_seconds":1789023787,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2097f8"} 
[2026-09-10 12:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990085888001,"66":28224,"206":206,"9":56064,"24":50,"16":3893920429768704,"44":7528822344333828096},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-10 12:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990085888001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:36:51] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-10 12:36:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":7528822344333828096,"description":"Unknown IO ID 44"} 
[2026-09-10 12:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990085888001,"power":28224,"unknown_206":206,"unknown_9":56064,"ignition":50,"odometer":null,"unknown_44":7528822344333828096}} 
[2026-09-10 12:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":177645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:36:51] local.INFO: GPS data processed {"connection_id":177645,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:36:51] local.INFO: Acknowledgment sent {"connection_id":177645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:36:54] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a20da60012c689f0008626680000a009c30..."} 
[2026-09-10 12:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a20da60012c689f0008626680000a009c30..."} 
[2026-09-10 12:36:54] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a20da60012c689f0008626680000a009c30..."} 
[2026-09-10 12:36:54] local.INFO: Packet analysis {"connection_id":177645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:36:54] local.INFO: Extracted packet for processing {"connection_id":177645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a20"} 
[2026-09-10 12:36:54] local.INFO: GPS Element Parsed {"raw_longitude":745053952,"raw_latitude":140666496,"longitude_deg":74.5053952,"latitude_deg":14.0666496,"altitude":10,"angle":156,"satellites":48,"speed":53,"hex_longitude":"2c689f00","hex_latitude":"08626680","is_valid_coordinates":true} 
[2026-09-10 12:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990089472001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7530792669165531136,"note":"Value kept but may cause issues"} 
[2026-09-10 12:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789023804000,"timestamp_ms":1789023804000,"timestamp_seconds":1789023804,"priority":1,"record_length":96,"hex_timestamp":"000001a08a20da60"} 
[2026-09-10 12:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 12:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990089472001,"66":28267,"206":206,"9":56064,"24":53,"16":3893920429768704,"44":7530792669165531136},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-10 12:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990089472001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:36:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-10 12:36:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:36:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":7530792669165531136,"description":"Unknown IO ID 44"} 
[2026-09-10 12:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990089472001,"power":28267,"unknown_206":206,"unknown_9":56064,"ignition":53,"odometer":null,"unknown_44":7530792669165531136}} 
[2026-09-10 12:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":177645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:36:54] local.INFO: GPS data processed {"connection_id":177645,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:36:54] local.INFO: Acknowledgment sent {"connection_id":177645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:37:04] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a21f788012d1ab640071f95b80036011527..."} 
[2026-09-10 12:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a21f788012d1ab640071f95b80036011527..."} 
[2026-09-10 12:37:04] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a21f788012d1ab640071f95b80036011527..."} 
[2026-09-10 12:37:04] local.INFO: Packet analysis {"connection_id":177644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:37:04] local.INFO: Extracted packet for processing {"connection_id":177644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a21"} 
[2026-09-10 12:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756725312,"raw_latitude":119510456,"longitude_deg":75.6725312,"latitude_deg":11.9510456,"altitude":54,"angle":277,"satellites":39,"speed":4,"hex_longitude":"2d1ab640","hex_latitude":"071f95b8","is_valid_coordinates":true} 
[2026-09-10 12:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990107136001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179069086105600,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830462976,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789023877000,"timestamp_ms":1789023877000,"timestamp_seconds":1789023877,"priority":1,"record_length":96,"hex_timestamp":"000001a08a21f788"} 
[2026-09-10 12:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 12:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990107136001,"66":14004,"101":206,"83":41984,"24":4,"16":19179069086105600,"45":1924866658830462976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990107136001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:37:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179069086105600,"km_value":19179069086105.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830462976,"description":"Unknown IO ID 45"} 
[2026-09-10 12:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990107136001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1924866658830462976}} 
[2026-09-10 12:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":177644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:37:04] local.INFO: GPS data processed {"connection_id":177644,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:37:04] local.INFO: Acknowledgment sent {"connection_id":177644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:37:14] local.INFO: TCP Data received {"connection_id":177643,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a229f80012cbcfcc0076d3858004701582d..."} 
[2026-09-10 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a229f80012cbcfcc0076d3858004701582d..."} 
[2026-09-10 12:37:14] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a229f80012cbcfcc0076d3858004701582d..."} 
[2026-09-10 12:37:14] local.INFO: Packet analysis {"connection_id":177643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:14] local.INFO: Extracted packet for processing {"connection_id":177643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":750582976,"raw_latitude":124598360,"longitude_deg":75.0582976,"latitude_deg":12.459836,"altitude":71,"angle":344,"satellites":45,"speed":48,"hex_longitude":"2cbcfcc0","hex_latitude":"076d3858","is_valid_coordinates":true} 
[2026-09-10 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990121472001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404015161079234560,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825958812553668608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789023920000,"timestamp_ms":1789023920000,"timestamp_seconds":1789023920,"priority":1,"record_length":96,"hex_timestamp":"000001a08a229f80"} 
[2026-09-10 12:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:37: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-09-10 12:37: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-09-10 12:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990121472001,"66":27767,"105":206,"85":37888,"24":48,"16":404015161079234560,"44":-4825958812553668608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990121472001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:37:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404015161079234560,"km_value":404015161079234.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:37:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825958812553668608,"description":"Unknown IO ID 44"} 
[2026-09-10 12:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990121472001,"power":27767,"unknown_105":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4825958812553668608}} 
[2026-09-10 12:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":177643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:37:14] local.INFO: GPS data processed {"connection_id":177643,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:37:14] local.INFO: Acknowledgment sent {"connection_id":177643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:37:20] local.INFO: TCP Data received {"connection_id":179027,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:37:20] local.INFO: Processing buffer {"connection_id":179027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:37:20] local.INFO: IMEI packet received {"connection_id":179027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":179027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:37:22] local.INFO: TCP Data received {"connection_id":179027,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:37:22] local.INFO: Processing buffer {"connection_id":179027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:37:22] local.INFO: IMEI packet received {"connection_id":179027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":179027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:37:23] local.INFO: TCP Data received {"connection_id":179027,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a22c690012cbcf4c0076d5a080047015c2d..."} 
[2026-09-10 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a22c690012cbcf4c0076d5a080047015c2d..."} 
[2026-09-10 12:37:23] local.INFO: Processing buffer {"connection_id":179027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a22c690012cbcf4c0076d5a080047015c2d..."} 
[2026-09-10 12:37:23] local.INFO: Packet analysis {"connection_id":179027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:23] local.INFO: Extracted packet for processing {"connection_id":179027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:23] local.INFO: GPS Element Parsed {"raw_longitude":750580928,"raw_latitude":124606984,"longitude_deg":75.0580928,"latitude_deg":12.4606984,"altitude":71,"angle":348,"satellites":45,"speed":19,"hex_longitude":"2cbcf4c0","hex_latitude":"076d5a08","is_valid_coordinates":true} 
[2026-09-10 12:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990123520001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404015590575964160,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828773562318301184,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789023930000,"timestamp_ms":1789023930000,"timestamp_seconds":1789023930,"priority":1,"record_length":96,"hex_timestamp":"000001a08a22c690"} 
[2026-09-10 12:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:37: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-09-10 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 12:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990123520001,"66":27865,"105":206,"85":37888,"24":19,"16":404015590575964160,"44":-4828773562318301184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990123520001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:37:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404015590575964160,"km_value":404015590575964.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:37:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828773562318301184,"description":"Unknown IO ID 44"} 
[2026-09-10 12:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990123520001,"power":27865,"unknown_105":206,"unknown_85":37888,"ignition":19,"odometer":null,"unknown_44":-4828773562318301184}} 
[2026-09-10 12:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":179027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:37:23] local.INFO: GPS data processed {"connection_id":179027,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:37:23] local.INFO: Acknowledgment sent {"connection_id":179027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:37:27] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:27] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:27] local.INFO: IMEI packet received {"connection_id":176231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":176231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:37:28] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:28] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:28] local.INFO: IMEI packet received {"connection_id":176231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":176231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:37:32] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:32] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:37:32] local.INFO: IMEI packet received {"connection_id":176231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":176231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:37:33] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a224990012d1aa580071f97f8003601142a..."} 
[2026-09-10 12:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a224990012d1aa580071f97f8003601142a..."} 
[2026-09-10 12:37:33] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a224990012d1aa580071f97f8003601142a..."} 
[2026-09-10 12:37:33] local.INFO: Packet analysis {"connection_id":176231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:33] local.INFO: Extracted packet for processing {"connection_id":176231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511032,"longitude_deg":75.6721024,"latitude_deg":11.9511032,"altitude":54,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f97f8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990112512001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179270949568512,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924796290086320128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789023898000,"timestamp_ms":1789023898000,"timestamp_seconds":1789023898,"priority":1,"record_length":96,"hex_timestamp":"000001a08a224990"} 
[2026-09-10 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-09-10 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 12:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990112512001,"66":13167,"101":206,"83":41984,"24":0,"16":19179270949568512,"45":1924796290086320128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990112512001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:37:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179270949568512,"km_value":19179270949568.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924796290086320128,"description":"Unknown IO ID 45"} 
[2026-09-10 12:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990112512001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1924796290086320128}} 
[2026-09-10 12:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":176231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:37:33] local.INFO: GPS data processed {"connection_id":176231,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:37:33] local.INFO: Acknowledgment sent {"connection_id":176231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:37:44] local.INFO: TCP Data received {"connection_id":177646,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:37:44] local.INFO: Processing buffer {"connection_id":177646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:37:44] local.INFO: IMEI packet received {"connection_id":177646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":177646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:37:49] local.INFO: TCP Data received {"connection_id":177646,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:37:49] local.INFO: Processing buffer {"connection_id":177646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:37:49] local.INFO: IMEI packet received {"connection_id":177646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":177646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:37:50] local.INFO: TCP Data received {"connection_id":177646,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2441780100000000000000000000000000..."} 
[2026-09-10 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2441780100000000000000000000000000..."} 
[2026-09-10 12:37:50] local.INFO: Processing buffer {"connection_id":177646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2441780100000000000000000000000000..."} 
[2026-09-10 12:37:50] local.INFO: Packet analysis {"connection_id":177646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:37:50] local.INFO: Extracted packet for processing {"connection_id":177646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:37:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990136320001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666252501651103744,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789024027000,"timestamp_ms":1789024027000,"timestamp_seconds":1789024027,"priority":1,"record_length":96,"hex_timestamp":"000001a08a244178"} 
[2026-09-10 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-09-10 12:37: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-09-10 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":177646,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:37:50] local.INFO: GPS data processed {"connection_id":177646,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:37:50] local.INFO: Acknowledgment sent {"connection_id":177646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:37:57] local.INFO: TCP Data received {"connection_id":179027,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a22f570012cbcef80076d7c90004801632e..."} 
[2026-09-10 12:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a22f570012cbcef80076d7c90004801632e..."} 
[2026-09-10 12:37:57] local.INFO: Processing buffer {"connection_id":179027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a22f570012cbcef80076d7c90004801632e..."} 
[2026-09-10 12:37:57] local.INFO: Packet analysis {"connection_id":179027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:57] local.INFO: Extracted packet for processing {"connection_id":179027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:37:57] local.INFO: GPS Element Parsed {"raw_longitude":750579584,"raw_latitude":124615824,"longitude_deg":75.0579584,"latitude_deg":12.4615824,"altitude":72,"angle":355,"satellites":46,"speed":39,"hex_longitude":"2cbcef80","hex_latitude":"076d7c90","is_valid_coordinates":true} 
[2026-09-10 12:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990126080001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404016024367661056,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831025362129778688,"note":"Value kept but may cause issues"} 
[2026-09-10 12:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789023942000,"timestamp_ms":1789023942000,"timestamp_seconds":1789023942,"priority":1,"record_length":96,"hex_timestamp":"000001a08a22f570"} 
[2026-09-10 12:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990126080001,"66":27800,"105":206,"85":37888,"24":39,"16":404016024367661056,"44":-4831025362129778688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-10 12:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990126080001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:37:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 12:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404016024367661056,"km_value":404016024367661.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:37:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831025362129778688,"description":"Unknown IO ID 44"} 
[2026-09-10 12:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990126080001,"power":27800,"unknown_105":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-4831025362129778688}} 
[2026-09-10 12:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":179027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:37:57] local.INFO: GPS data processed {"connection_id":179027,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:37:57] local.INFO: Acknowledgment sent {"connection_id":179027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:38:04] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a226100012d1aa400071f9850003601222a..."} 
[2026-09-10 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a226100012d1aa400071f9850003601222a..."} 
[2026-09-10 12:38:04] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a226100012d1aa400071f9850003601222a..."} 
[2026-09-10 12:38:04] local.INFO: Packet analysis {"connection_id":176231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:38:04] local.INFO: Extracted packet for processing {"connection_id":176231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756720640,"raw_latitude":119511120,"longitude_deg":75.672064,"latitude_deg":11.951112,"altitude":54,"angle":290,"satellites":42,"speed":8,"hex_longitude":"2d1aa400","hex_latitude":"071f9850","is_valid_coordinates":true} 
[2026-09-10 12:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990117888001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179292424404992,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226564096,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789023904000,"timestamp_ms":1789023904000,"timestamp_seconds":1789023904,"priority":1,"record_length":96,"hex_timestamp":"000001a08a226100"} 
[2026-09-10 12:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 12:38: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-09-10 12:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990117888001,"66":13167,"101":206,"83":41984,"24":8,"16":19179292424404992,"45":1920081584226564096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990117888001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:38:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179292424404992,"km_value":19179292424404.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226564096,"description":"Unknown IO ID 45"} 
[2026-09-10 12:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990117888001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1920081584226564096}} 
[2026-09-10 12:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":176231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:38:04] local.INFO: GPS data processed {"connection_id":176231,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:38:04] local.INFO: Acknowledgment sent {"connection_id":176231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:38:19] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:38:19] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:38:19] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:38:22] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:38:22] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:38:22] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:38:23] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a247440012cbced40076ee9000053000d2f..."} 
[2026-09-10 12:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a247440012cbced40076ee9000053000d2f..."} 
[2026-09-10 12:38:23] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a247440012cbced40076ee9000053000d2f..."} 
[2026-09-10 12:38:23] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:38:23] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:38:23] local.INFO: GPS Element Parsed {"raw_longitude":750579008,"raw_latitude":124709120,"longitude_deg":75.0579008,"latitude_deg":12.470912,"altitude":83,"angle":13,"satellites":47,"speed":44,"hex_longitude":"2cbced40","hex_latitude":"076ee900","is_valid_coordinates":true} 
[2026-09-10 12:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990151936001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404020585622929408,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4834684536803344384,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789024040000,"timestamp_ms":1789024040000,"timestamp_seconds":1789024040,"priority":1,"record_length":96,"hex_timestamp":"000001a08a247440"} 
[2026-09-10 12:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:38: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-09-10 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990151936001,"66":27876,"107":206,"85":37888,"24":44,"16":404020585622929408,"44":-4834684536803344384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-09-10 12:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990151936001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:38:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-10 12:38:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404020585622929408,"km_value":404020585622929.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:38:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4834684536803344384,"description":"Unknown IO ID 44"} 
[2026-09-10 12:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990151936001,"power":27876,"unknown_107":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4834684536803344384}} 
[2026-09-10 12:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:38:23] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:38:23] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:38:31] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:31] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:31] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:38:32] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:32] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:32] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:38:37] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:37] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:38:37] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:38:38] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2264e8012d1aa340071f98e8003601312a..."} 
[2026-09-10 12:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2264e8012d1aa340071f98e8003601312a..."} 
[2026-09-10 12:38:38] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2264e8012d1aa340071f98e8003601312a..."} 
[2026-09-10 12:38:38] local.INFO: Packet analysis {"connection_id":176232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:38:38] local.INFO: Extracted packet for processing {"connection_id":176232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756720448,"raw_latitude":119511272,"longitude_deg":75.6720448,"latitude_deg":11.9511272,"altitude":54,"angle":305,"satellites":42,"speed":12,"hex_longitude":"2d1aa340","hex_latitude":"071f98e8","is_valid_coordinates":true} 
[2026-09-10 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990119424001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179305309306880,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919659371761520640,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789023905000,"timestamp_ms":1789023905000,"timestamp_seconds":1789023905,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2264e8"} 
[2026-09-10 12:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:38: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-09-10 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 12:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990119424001,"66":13167,"101":206,"83":41984,"24":12,"16":19179305309306880,"45":1919659371761520640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990119424001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:38:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179305309306880,"km_value":19179305309306.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919659371761520640,"description":"Unknown IO ID 45"} 
[2026-09-10 12:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990119424001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1919659371761520640}} 
[2026-09-10 12:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":176232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:38:38] local.INFO: GPS data processed {"connection_id":176232,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:38:38] local.INFO: Acknowledgment sent {"connection_id":176232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:38:39] local.INFO: TCP Data received {"connection_id":179028,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:39] local.INFO: Processing buffer {"connection_id":179028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:39] local.INFO: IMEI packet received {"connection_id":179028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":179028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:38:40] local.INFO: TCP Data received {"connection_id":179028,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:40] local.INFO: Processing buffer {"connection_id":179028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:40] local.INFO: IMEI packet received {"connection_id":179028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":179028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:38:44] local.INFO: TCP Data received {"connection_id":179028,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:44] local.INFO: Processing buffer {"connection_id":179028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:38:44] local.INFO: IMEI packet received {"connection_id":179028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":179028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:38:45] local.INFO: TCP Data received {"connection_id":179028,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a23cc48012c6ab800085ebe00000700902e..."} 
[2026-09-10 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a23cc48012c6ab800085ebe00000700902e..."} 
[2026-09-10 12:38:45] local.INFO: Processing buffer {"connection_id":179028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a23cc48012c6ab800085ebe00000700902e..."} 
[2026-09-10 12:38:45] local.INFO: Packet analysis {"connection_id":179028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a23"} 
[2026-09-10 12:38:45] local.INFO: Extracted packet for processing {"connection_id":179028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a23"} 
[2026-09-10 12:38:45] local.INFO: GPS Element Parsed {"raw_longitude":745191424,"raw_latitude":140426752,"longitude_deg":74.5191424,"latitude_deg":14.0426752,"altitude":7,"angle":144,"satellites":46,"speed":58,"hex_longitude":"2c6ab800","hex_latitude":"085ebe00","is_valid_coordinates":true} 
[2026-09-10 12:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789023997000,"timestamp_ms":1789023997000,"timestamp_seconds":1789023997,"priority":1,"record_length":96,"hex_timestamp":"000001a08a23cc48"} 
[2026-09-10 12:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 12:38:45] 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-09-10 12:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":179028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":179028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":179028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28202,"187":206,"9":56064,"24":58,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16]} 
[2026-09-10 12:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:38:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:38:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:38:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28202,"unknown_187":206,"unknown_9":56064,"ignition":58,"odometer":null}} 
[2026-09-10 12:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":179028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:38:46] local.INFO: GPS data processed {"connection_id":179028,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:38:46] local.INFO: Acknowledgment sent {"connection_id":179028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:38:50] local.INFO: TCP Data received {"connection_id":179028,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a240ac8012c6af440085e7880000700802e..."} 
[2026-09-10 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a240ac8012c6af440085e7880000700802e..."} 
[2026-09-10 12:38:50] local.INFO: Processing buffer {"connection_id":179028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a240ac8012c6af440085e7880000700802e..."} 
[2026-09-10 12:38:50] local.INFO: Packet analysis {"connection_id":179028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:38:50] local.INFO: Extracted packet for processing {"connection_id":179028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:38:50] local.INFO: GPS Element Parsed {"raw_longitude":745206848,"raw_latitude":140408960,"longitude_deg":74.5206848,"latitude_deg":14.040896,"altitude":7,"angle":128,"satellites":46,"speed":58,"hex_longitude":"2c6af440","hex_latitude":"085e7880","is_valid_coordinates":true} 
[2026-09-10 12:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990143232001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7689896399684370432,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789024013000,"timestamp_ms":1789024013000,"timestamp_seconds":1789024013,"priority":1,"record_length":96,"hex_timestamp":"000001a08a240ac8"} 
[2026-09-10 12:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:38: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-09-10 12: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":179028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":179028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":179028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990143232001,"66":28256,"187":206,"9":56064,"24":58,"16":3893920429768704,"44":7689896399684370432},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-10 12:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990143232001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:38:50] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:38:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":7689896399684370432,"description":"Unknown IO ID 44"} 
[2026-09-10 12:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990143232001,"power":28256,"unknown_187":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7689896399684370432}} 
[2026-09-10 12:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":179028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:38:50] local.INFO: GPS data processed {"connection_id":179028,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:38:50] local.INFO: Acknowledgment sent {"connection_id":179028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:38:54] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a249380012cbcf980076f0a60005600182f..."} 
[2026-09-10 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a249380012cbcf980076f0a60005600182f..."} 
[2026-09-10 12:38:54] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a249380012cbcf980076f0a60005600182f..."} 
[2026-09-10 12:38:54] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:38:54] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:38:54] local.INFO: GPS Element Parsed {"raw_longitude":750582144,"raw_latitude":124717664,"longitude_deg":75.0582144,"latitude_deg":12.4717664,"altitude":86,"angle":24,"satellites":47,"speed":46,"hex_longitude":"2cbcf980","hex_latitude":"076f0a60","is_valid_coordinates":true} 
[2026-09-10 12:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990154240001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404021028004560896,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833136424428961792,"note":"Value kept but may cause issues"} 
[2026-09-10 12:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789024048000,"timestamp_ms":1789024048000,"timestamp_seconds":1789024048,"priority":1,"record_length":96,"hex_timestamp":"000001a08a249380"} 
[2026-09-10 12:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:38: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-09-10 12:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:38:54] 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-09-10 12:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990154240001,"66":27800,"107":206,"85":37888,"24":46,"16":404021028004560896,"44":-4833136424428961792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-09-10 12:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990154240001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:38:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-10 12:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404021028004560896,"km_value":404021028004560.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833136424428961792,"description":"Unknown IO ID 44"} 
[2026-09-10 12:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990154240001,"power":27800,"unknown_107":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4833136424428961792}} 
[2026-09-10 12:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:38:54] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:38:54] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:39:09] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a228428012d1a9600071fa4600037013c2a..."} 
[2026-09-10 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a228428012d1a9600071fa4600037013c2a..."} 
[2026-09-10 12:39:09] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a228428012d1a9600071fa4600037013c2a..."} 
[2026-09-10 12:39:09] local.INFO: Packet analysis {"connection_id":176232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:39:09] local.INFO: Extracted packet for processing {"connection_id":176232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":756717056,"raw_latitude":119514208,"longitude_deg":75.6717056,"latitude_deg":11.9514208,"altitude":55,"angle":316,"satellites":42,"speed":26,"hex_longitude":"2d1a9600","hex_latitude":"071fa460","is_valid_coordinates":true} 
[2026-09-10 12:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990119680001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179520057671680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919448265529026560,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39: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-09-10 12:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789023913000,"timestamp_ms":1789023913000,"timestamp_seconds":1789023913,"priority":1,"record_length":96,"hex_timestamp":"000001a08a228428"} 
[2026-09-10 12:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:39: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-09-10 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 12:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990119680001,"66":12374,"101":206,"83":41984,"24":26,"16":19179520057671680,"45":1919448265529026560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990119680001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:39:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179520057671680,"km_value":19179520057671.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919448265529026560,"description":"Unknown IO ID 45"} 
[2026-09-10 12:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990119680001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1919448265529026560}} 
[2026-09-10 12:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":176232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:39:09] local.INFO: GPS data processed {"connection_id":176232,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:39:09] local.INFO: Acknowledgment sent {"connection_id":176232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:39:19] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:19] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:19] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:39:20] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:20] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:20] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:39:22] local.INFO: TCP Data received {"connection_id":179028,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a245cd0012c6b3f00085e42300007007f2f..."} 
[2026-09-10 12:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a245cd0012c6b3f00085e42300007007f2f..."} 
[2026-09-10 12:39:22] local.INFO: Processing buffer {"connection_id":179028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a245cd0012c6b3f00085e42300007007f2f..."} 
[2026-09-10 12:39:22] local.INFO: Packet analysis {"connection_id":179028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:39:22] local.INFO: Extracted packet for processing {"connection_id":179028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:39:22] local.INFO: GPS Element Parsed {"raw_longitude":745225984,"raw_latitude":140395056,"longitude_deg":74.5225984,"latitude_deg":14.0395056,"altitude":7,"angle":127,"satellites":47,"speed":0,"hex_longitude":"2c6b3f00","hex_latitude":"085e4230","is_valid_coordinates":true} 
[2026-09-10 12:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990147328001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7706855267026632704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789024034000,"timestamp_ms":1789024034000,"timestamp_seconds":1789024034,"priority":1,"record_length":96,"hex_timestamp":"000001a08a245cd0"} 
[2026-09-10 12:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 12:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":179028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":179028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":179028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990147328001,"66":28126,"187":206,"9":56064,"24":0,"16":3893920429768704,"44":7706855267026632704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-10 12:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990147328001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:39:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:39:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:39:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":7706855267026632704,"description":"Unknown IO ID 44"} 
[2026-09-10 12:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990147328001,"power":28126,"unknown_187":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7706855267026632704}} 
[2026-09-10 12:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":179028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:39:23] local.INFO: GPS data processed {"connection_id":179028,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:39:23] local.INFO: Acknowledgment sent {"connection_id":179028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:39:24] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:24] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:39:24] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:39:25] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2556d0012cbcfa00076fdde0005f015f2e..."} 
[2026-09-10 12:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2556d0012cbcfa00076fdde0005f015f2e..."} 
[2026-09-10 12:39:25] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2556d0012cbcfa00076fdde0005f015f2e..."} 
[2026-09-10 12:39:25] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:39:25] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:39:25] local.INFO: GPS Element Parsed {"raw_longitude":750582272,"raw_latitude":124771808,"longitude_deg":75.0582272,"latitude_deg":12.4771808,"altitude":95,"angle":351,"satellites":46,"speed":44,"hex_longitude":"2cbcfa00","hex_latitude":"076fdde0","is_valid_coordinates":true} 
[2026-09-10 12:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990166784001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404023892747747328,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827788399857862656,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789024098000,"timestamp_ms":1789024098000,"timestamp_seconds":1789024098,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2556d0"} 
[2026-09-10 12:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990166784001,"66":27865,"61":206,"85":37888,"24":44,"16":404023892747747328,"44":-4827788399857862656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-10 12:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990166784001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:39:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 12:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404023892747747328,"km_value":404023892747747.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827788399857862656,"description":"Unknown IO ID 44"} 
[2026-09-10 12:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990166784001,"power":27865,"unknown_61":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4827788399857862656}} 
[2026-09-10 12:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:39:25] local.INFO: GPS data processed {"connection_id":176233,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:39:25] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:39:27] local.INFO: TCP Data received {"connection_id":177647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:39:27] local.INFO: Processing buffer {"connection_id":177647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:39:27] local.INFO: IMEI packet received {"connection_id":177647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":177647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:39:32] local.INFO: TCP Data received {"connection_id":177647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:39:32] local.INFO: Processing buffer {"connection_id":177647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:39:32] local.INFO: IMEI packet received {"connection_id":177647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":177647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:39:33] local.INFO: TCP Data received {"connection_id":177647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a22af20012d1a8ac0071fb040003800872a..."} 
[2026-09-10 12:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a22af20012d1a8ac0071fb040003800872a..."} 
[2026-09-10 12:39:33] local.INFO: Processing buffer {"connection_id":177647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a22af20012d1a8ac0071fb040003800872a..."} 
[2026-09-10 12:39:33] local.INFO: Packet analysis {"connection_id":177647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:39:33] local.INFO: Extracted packet for processing {"connection_id":177647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756714176,"raw_latitude":119517248,"longitude_deg":75.6714176,"latitude_deg":11.9517248,"altitude":56,"angle":135,"satellites":42,"speed":6,"hex_longitude":"2d1a8ac0","hex_latitude":"071fb040","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990121728001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179743395971072,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915718722088361984,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789023924000,"timestamp_ms":1789023924000,"timestamp_seconds":1789023924,"priority":1,"record_length":96,"hex_timestamp":"000001a08a22af20"} 
[2026-09-10 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-09-10 12:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 12:39:33] 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-09-10 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-09-10 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-09-10 12:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990121728001,"66":12037,"101":206,"83":41984,"24":6,"16":19179743395971072,"45":1915718722088361984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990121728001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:39:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179743395971072,"km_value":19179743395971.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915718722088361984,"description":"Unknown IO ID 45"} 
[2026-09-10 12:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990121728001,"power":12037,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1915718722088361984}} 
[2026-09-10 12:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":177647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:39:33] local.INFO: GPS data processed {"connection_id":177647,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:39:33] local.INFO: Acknowledgment sent {"connection_id":177647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:39:38] local.INFO: TCP Data received {"connection_id":176234,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:38] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:38] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:39:41] local.INFO: TCP Data received {"connection_id":176234,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:41] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:41] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:39:45] local.INFO: TCP Data received {"connection_id":176234,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:45] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:39:45] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:39:52] local.INFO: TCP Data received {"connection_id":176234,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a253b780100000000000000000000000000..."} 
[2026-09-10 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a253b780100000000000000000000000000..."} 
[2026-09-10 12:39:52] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a253b780100000000000000000000000000..."} 
[2026-09-10 12:39:52] local.INFO: Packet analysis {"connection_id":176234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:39:52] local.INFO: Extracted packet for processing {"connection_id":176234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990152704001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7727895521532194816,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789024091000,"timestamp_ms":1789024091000,"timestamp_seconds":1789024091,"priority":1,"record_length":96,"hex_timestamp":"000001a08a253b78"} 
[2026-09-10 12:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:39: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-09-10 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 12:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":176234,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:39:52] local.INFO: GPS data processed {"connection_id":176234,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:39:52] local.INFO: Acknowledgment sent {"connection_id":176234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:39:56] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a257610012cbcf540077000c80062015f2b..."} 
[2026-09-10 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a257610012cbcf540077000c80062015f2b..."} 
[2026-09-10 12:39:56] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a257610012cbcf540077000c80062015f2b..."} 
[2026-09-10 12:39:56] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:39:56] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":750581056,"raw_latitude":124780744,"longitude_deg":75.0581056,"latitude_deg":12.4780744,"altitude":98,"angle":351,"satellites":43,"speed":45,"hex_longitude":"2cbcf540","hex_latitude":"077000c8","is_valid_coordinates":true} 
[2026-09-10 12:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990169088001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404024326539444224,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4829547618459852800,"note":"Value kept but may cause issues"} 
[2026-09-10 12:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789024106000,"timestamp_ms":1789024106000,"timestamp_seconds":1789024106,"priority":1,"record_length":96,"hex_timestamp":"000001a08a257610"} 
[2026-09-10 12:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990169088001,"66":27876,"61":206,"85":37888,"24":45,"16":404024326539444224,"44":-4829547618459852800},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-10 12:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990169088001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:39:56] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 12:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404024326539444224,"km_value":404024326539444.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4829547618459852800,"description":"Unknown IO ID 44"} 
[2026-09-10 12:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990169088001,"power":27876,"unknown_61":206,"unknown_85":37888,"ignition":45,"odometer":null,"unknown_44":-4829547618459852800}} 
[2026-09-10 12:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:39:56] local.INFO: GPS data processed {"connection_id":176233,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:39:56] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:40:04] local.INFO: TCP Data received {"connection_id":177647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a22b6f0012d1a8b40071faf400039009e2a..."} 
[2026-09-10 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a22b6f0012d1a8b40071faf400039009e2a..."} 
[2026-09-10 12:40:04] local.INFO: Processing buffer {"connection_id":177647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a22b6f0012d1a8b40071faf400039009e2a..."} 
[2026-09-10 12:40:04] local.INFO: Packet analysis {"connection_id":177647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:40:04] local.INFO: Extracted packet for processing {"connection_id":177647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a22"} 
[2026-09-10 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516992,"longitude_deg":75.6714304,"latitude_deg":11.9516992,"altitude":57,"angle":158,"satellites":42,"speed":5,"hex_longitude":"2d1a8b40","hex_latitude":"071faf40","is_valid_coordinates":true} 
[2026-09-10 12:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990124544001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179756280872960,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912552128601145344,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789023926000,"timestamp_ms":1789023926000,"timestamp_seconds":1789023926,"priority":1,"record_length":96,"hex_timestamp":"000001a08a22b6f0"} 
[2026-09-10 12:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2317460864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2549612598,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-09-10 12:40:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2281778458,"corrected_to":0} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182135220338944,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2275777964220159271,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195312128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,35,160,132,45,164,55,42,10,66,100,64,152,54,97,1,240,111,227,138,31,4,113,205,247,182,184,39,239,2,68,7,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0},{"io_id":247,"original":2281778458,"validated":0}]} 
[2026-09-10 12:40:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035373880582733824,"timestamp_seconds":4035373880582734.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990124544001,"66":13156,"101":206,"83":41984,"24":5,"16":19179756280872960,"45":1912552128601145344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990124544001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:40:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179756280872960,"km_value":19179756280872.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912552128601145344,"description":"Unknown IO ID 45"} 
[2026-09-10 12:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990124544001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1912552128601145344}} 
[2026-09-10 12:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":177647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:40:04] local.INFO: GPS data processed {"connection_id":177647,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:40:04] local.INFO: Acknowledgment sent {"connection_id":177647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:40:24] local.INFO: TCP Data received {"connection_id":176234,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a24c648012c6bae80085dbcd0000900a030..."} 
[2026-09-10 12:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a24c648012c6bae80085dbcd0000900a030..."} 
[2026-09-10 12:40:24] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a24c648012c6bae80085dbcd0000900a030..."} 
[2026-09-10 12:40:24] local.INFO: Packet analysis {"connection_id":176234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:40:24] local.INFO: Extracted packet for processing {"connection_id":176234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a24"} 
[2026-09-10 12:40:24] local.INFO: GPS Element Parsed {"raw_longitude":745254528,"raw_latitude":140360912,"longitude_deg":74.5254528,"latitude_deg":14.0360912,"altitude":9,"angle":160,"satellites":48,"speed":58,"hex_longitude":"2c6bae80","hex_latitude":"085dbcd0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,187,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789024061000,"timestamp_ms":1789024061000,"timestamp_seconds":1789024061,"priority":1,"record_length":96,"hex_timestamp":"000001a08a24c648"} 
[2026-09-10 12:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:40: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-10 12:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"187":206,"9":56064,"24":58,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16]} 
[2026-09-10 12:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:40:24] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:40:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:40:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_187":206,"unknown_9":56064,"ignition":58,"odometer":null}} 
[2026-09-10 12:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":176234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:40:24] local.INFO: GPS data processed {"connection_id":176234,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:40:24] local.INFO: Acknowledgment sent {"connection_id":176234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:40:27] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:27] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:27] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:40:27] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:40:27] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:40:27] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:40:29] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:29] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:29] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:40:32] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:40:32] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:40:32] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:40:33] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:33] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:40:33] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:40:33] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2308f8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2308f8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:40:33] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2308f8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:40:33] local.INFO: Packet analysis {"connection_id":176477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a23"} 
[2026-09-10 12:40:33] local.INFO: Extracted packet for processing {"connection_id":176477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a23"} 
[2026-09-10 12:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990125056001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089435136,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789023947000,"timestamp_ms":1789023947000,"timestamp_seconds":1789023947,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2308f8"} 
[2026-09-10 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-09-10 12:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-10 12:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990125056001,"66":13102,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912692866089435136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990125056001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:40:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089435136,"description":"Unknown IO ID 45"} 
[2026-09-10 12:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990125056001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089435136}} 
[2026-09-10 12:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":176477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:40:33] local.INFO: GPS data processed {"connection_id":176477,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:40:33] local.INFO: Acknowledgment sent {"connection_id":176477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:40:37] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a268780012cbcce00077140200046001724..."} 
[2026-09-10 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a268780012cbcce00077140200046001724..."} 
[2026-09-10 12:40:37] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a268780012cbcce00077140200046001724..."} 
[2026-09-10 12:40:37] local.INFO: Packet analysis {"connection_id":176478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:40:37] local.INFO: Extracted packet for processing {"connection_id":176478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":750571008,"raw_latitude":124862496,"longitude_deg":75.0571008,"latitude_deg":12.4862496,"altitude":70,"angle":23,"satellites":36,"speed":39,"hex_longitude":"2cbcce00","hex_latitude":"07714020","is_valid_coordinates":true} 
[2026-09-10 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990188288001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404028372398637056,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842706573598603264,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789024176000,"timestamp_ms":1789024176000,"timestamp_seconds":1789024176,"priority":1,"record_length":96,"hex_timestamp":"000001a08a268780"} 
[2026-09-10 12:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:40: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-09-10 12:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990188288001,"66":27865,"158":206,"85":37888,"24":39,"16":404028372398637056,"44":-4842706573598603264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990188288001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404028372398637056,"km_value":404028372398637.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842706573598603264,"description":"Unknown IO ID 44"} 
[2026-09-10 12:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990188288001,"power":27865,"unknown_158":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-4842706573598603264}} 
[2026-09-10 12:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":176478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:40:37] local.INFO: GPS data processed {"connection_id":176478,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:40:37] local.INFO: Acknowledgment sent {"connection_id":176478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:40:44] local.INFO: TCP Data received {"connection_id":177648,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:40:44] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:40:44] local.INFO: IMEI packet received {"connection_id":177648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":177648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:40:49] local.INFO: TCP Data received {"connection_id":177648,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:40:49] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:40:49] local.INFO: IMEI packet received {"connection_id":177648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":177648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:40:51] local.INFO: TCP Data received {"connection_id":177648,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a251850012c6bc600085d65e0000700a42f..."} 
[2026-09-10 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a251850012c6bc600085d65e0000700a42f..."} 
[2026-09-10 12:40:51] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a251850012c6bc600085d65e0000700a42f..."} 
[2026-09-10 12:40:51] local.INFO: Packet analysis {"connection_id":177648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:40:51] local.INFO: Extracted packet for processing {"connection_id":177648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":745260544,"raw_latitude":140338656,"longitude_deg":74.5260544,"latitude_deg":14.0338656,"altitude":7,"angle":164,"satellites":47,"speed":0,"hex_longitude":"2c6bc600","hex_latitude":"085d65e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990159616001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7759279981426692096,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789024082000,"timestamp_ms":1789024082000,"timestamp_seconds":1789024082,"priority":1,"record_length":96,"hex_timestamp":"000001a08a251850"} 
[2026-09-10 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-09-10 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 12:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990159616001,"66":28224,"187":206,"9":56064,"24":0,"16":3893920429768704,"44":7759279981426692096},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-10 12:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990159616001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:40:51] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-10 12:40:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":7759279981426692096,"description":"Unknown IO ID 44"} 
[2026-09-10 12:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990159616001,"power":28224,"unknown_187":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7759279981426692096}} 
[2026-09-10 12:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":177648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:40:51] local.INFO: GPS data processed {"connection_id":177648,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:40:51] local.INFO: Acknowledgment sent {"connection_id":177648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:40:52] local.INFO: TCP Data received {"connection_id":177648,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a254348012c6bebc0085d18f0000600952c..."} 
[2026-09-10 12:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a254348012c6bebc0085d18f0000600952c..."} 
[2026-09-10 12:40:52] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a254348012c6bebc0085d18f0000600952c..."} 
[2026-09-10 12:40:52] local.INFO: Packet analysis {"connection_id":177648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:40:52] local.INFO: Extracted packet for processing {"connection_id":177648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":745270208,"raw_latitude":140318960,"longitude_deg":74.5270208,"latitude_deg":14.031896,"altitude":6,"angle":149,"satellites":44,"speed":49,"hex_longitude":"2c6bebc0","hex_latitude":"085d18f0","is_valid_coordinates":true} 
[2026-09-10 12:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990164992001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7765894643373694976,"note":"Value kept but may cause issues"} 
[2026-09-10 12:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789024093000,"timestamp_ms":1789024093000,"timestamp_seconds":1789024093,"priority":1,"record_length":96,"hex_timestamp":"000001a08a254348"} 
[2026-09-10 12:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 12:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990164992001,"66":28224,"186":206,"9":56064,"24":49,"16":3893920429768704,"44":7765894643373694976},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16,44]} 
[2026-09-10 12:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990164992001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:40:52] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-10 12:40:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":7765894643373694976,"description":"Unknown IO ID 44"} 
[2026-09-10 12:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990164992001,"power":28224,"unknown_186":206,"unknown_9":56064,"ignition":49,"odometer":null,"unknown_44":7765894643373694976}} 
[2026-09-10 12:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":177648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:40:52] local.INFO: GPS data processed {"connection_id":177648,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:40:52] local.INFO: Acknowledgment sent {"connection_id":177648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:41:04] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a268f50012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a268f50012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:41:04] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a268f50012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:41:04] local.INFO: Packet analysis {"connection_id":176477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:41:04] local.INFO: Extracted packet for processing {"connection_id":176477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990184192001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024178000,"timestamp_ms":1789024178000,"timestamp_seconds":1789024178,"priority":1,"record_length":96,"hex_timestamp":"000001a08a268f50"} 
[2026-09-10 12:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 12:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990184192001,"66":12885,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990184192001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:41:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990184192001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":176477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:41:04] local.INFO: GPS data processed {"connection_id":176477,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:41:04] local.INFO: Acknowledgment sent {"connection_id":176477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:41:17] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:17] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:17] local.INFO: IMEI packet received {"connection_id":177649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":177649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:41:19] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:19] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:19] local.INFO: IMEI packet received {"connection_id":177649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":177649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:41:20] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:20] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:20] local.INFO: IMEI packet received {"connection_id":177649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":177649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:41:24] local.INFO: TCP Data received {"connection_id":177648,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a259550012c6c15c0085cd0100006009b2e..."} 
[2026-09-10 12:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a259550012c6c15c0085cd0100006009b2e..."} 
[2026-09-10 12:41:24] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a259550012c6c15c0085cd0100006009b2e..."} 
[2026-09-10 12:41:24] local.INFO: Packet analysis {"connection_id":177648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:41:24] local.INFO: Extracted packet for processing {"connection_id":177648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a25"} 
[2026-09-10 12:41:24] local.INFO: GPS Element Parsed {"raw_longitude":745280960,"raw_latitude":140300304,"longitude_deg":74.528096,"latitude_deg":14.0300304,"altitude":6,"angle":155,"satellites":46,"speed":0,"hex_longitude":"2c6c15c0","hex_latitude":"085cd010","is_valid_coordinates":true} 
[2026-09-10 12:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990167808001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7776520323739480064,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789024114000,"timestamp_ms":1789024114000,"timestamp_seconds":1789024114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a259550"} 
[2026-09-10 12:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:41: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-09-10 12:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 12:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990167808001,"66":28202,"186":206,"9":56064,"24":0,"16":3893920429768704,"44":7776520323739480064},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16,44]} 
[2026-09-10 12:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990167808001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:41:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-10 12:41:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:41:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":7776520323739480064,"description":"Unknown IO ID 44"} 
[2026-09-10 12:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990167808001,"power":28202,"unknown_186":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7776520323739480064}} 
[2026-09-10 12:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":177648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:41:24] local.INFO: GPS data processed {"connection_id":177648,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:41:24] local.INFO: Acknowledgment sent {"connection_id":177648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:41:24] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:24] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:41:24] local.INFO: IMEI packet received {"connection_id":177649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":177649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:41:25] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a272f78012cbd0b0007714958003c002d2a..."} 
[2026-09-10 12:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a272f78012cbd0b0007714958003c002d2a..."} 
[2026-09-10 12:41:25] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a272f78012cbd0b0007714958003c002d2a..."} 
[2026-09-10 12:41:25] local.INFO: Packet analysis {"connection_id":177649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:41:25] local.INFO: Extracted packet for processing {"connection_id":177649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:41:25] local.INFO: GPS Element Parsed {"raw_longitude":750586624,"raw_latitude":124864856,"longitude_deg":75.0586624,"latitude_deg":12.4864856,"altitude":60,"angle":45,"satellites":42,"speed":15,"hex_longitude":"2cbd0b00","hex_latitude":"07714958","is_valid_coordinates":true} 
[2026-09-10 12:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990199552001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404029231392096256,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825536600018038784,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789024219000,"timestamp_ms":1789024219000,"timestamp_seconds":1789024219,"priority":1,"record_length":96,"hex_timestamp":"000001a08a272f78"} 
[2026-09-10 12:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990199552001,"66":27713,"158":206,"85":37888,"24":15,"16":404029231392096256,"44":-4825536600018038784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990199552001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:41:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404029231392096256,"km_value":404029231392096.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825536600018038784,"description":"Unknown IO ID 44"} 
[2026-09-10 12:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990199552001,"power":27713,"unknown_158":206,"unknown_85":37888,"ignition":15,"odometer":null,"unknown_44":-4825536600018038784}} 
[2026-09-10 12:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":177649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:41:25] local.INFO: GPS data processed {"connection_id":177649,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:41:25] local.INFO: Acknowledgment sent {"connection_id":177649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:41:28] local.INFO: TCP Data received {"connection_id":177650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:41:28] local.INFO: Processing buffer {"connection_id":177650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:41:28] local.INFO: IMEI packet received {"connection_id":177650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":177650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:41:32] local.INFO: TCP Data received {"connection_id":177650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:41:32] local.INFO: Processing buffer {"connection_id":177650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:41:32] local.INFO: IMEI packet received {"connection_id":177650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":177650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:41:33] local.INFO: TCP Data received {"connection_id":177650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a26e158012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a26e158012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:41:33] local.INFO: Processing buffer {"connection_id":177650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a26e158012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:41:33] local.INFO: Packet analysis {"connection_id":177650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:41:33] local.INFO: Extracted packet for processing {"connection_id":177650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990189568001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024199000,"timestamp_ms":1789024199000,"timestamp_seconds":1789024199,"priority":1,"record_length":96,"hex_timestamp":"000001a08a26e158"} 
[2026-09-10 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-09-10 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 12:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990189568001,"66":12863,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990189568001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:41:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990189568001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":177650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:41:33] local.INFO: GPS data processed {"connection_id":177650,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:41:33] local.INFO: Acknowledgment sent {"connection_id":177650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:41:38] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:41:38] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:41:38] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:41:44] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:41:44] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:41:44] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:41:46] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2673f80100000000000000000000000000..."} 
[2026-09-10 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2673f80100000000000000000000000000..."} 
[2026-09-10 12:41:46] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2673f80100000000000000000000000000..."} 
[2026-09-10 12:41:46] local.INFO: Packet analysis {"connection_id":176479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:41:46] local.INFO: Extracted packet for processing {"connection_id":176479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990173184001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7788342272756551680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789024171000,"timestamp_ms":1789024171000,"timestamp_seconds":1789024171,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2673f8"} 
[2026-09-10 12:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":176479,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:41:46] local.INFO: GPS data processed {"connection_id":176479,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:41:46] local.INFO: Acknowledgment sent {"connection_id":176479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:41:55] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a27fa98012cbc78c00771b250001501352b..."} 
[2026-09-10 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a27fa98012cbc78c00771b250001501352b..."} 
[2026-09-10 12:41:55] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a27fa98012cbc78c00771b250001501352b..."} 
[2026-09-10 12:41:55] local.INFO: Packet analysis {"connection_id":177649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:41:55] local.INFO: Extracted packet for processing {"connection_id":177649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":750549184,"raw_latitude":124891728,"longitude_deg":75.0549184,"latitude_deg":12.4891728,"altitude":21,"angle":309,"satellites":43,"speed":47,"hex_longitude":"2cbc78c0","hex_latitude":"0771b250","is_valid_coordinates":true} 
[2026-09-10 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990212864001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404031950106394624,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4863606090611451904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789024271000,"timestamp_ms":1789024271000,"timestamp_seconds":1789024271,"priority":1,"record_length":96,"hex_timestamp":"000001a08a27fa98"} 
[2026-09-10 12:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:41: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-09-10 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990212864001,"66":27876,"158":206,"85":37888,"24":47,"16":404031950106394624,"44":-4863606090611451904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990212864001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:41:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404031950106394624,"km_value":404031950106394.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4863606090611451904,"description":"Unknown IO ID 44"} 
[2026-09-10 12:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990212864001,"power":27876,"unknown_158":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-4863606090611451904}} 
[2026-09-10 12:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":177649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:41:55] local.INFO: GPS data processed {"connection_id":177649,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:41:55] local.INFO: Acknowledgment sent {"connection_id":177649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:42:04] local.INFO: TCP Data received {"connection_id":177650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a273360012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a273360012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:42:04] local.INFO: Processing buffer {"connection_id":177650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a273360012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:42:04] local.INFO: Packet analysis {"connection_id":177650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:42:04] local.INFO: Extracted packet for processing {"connection_id":177650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990194944001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024220000,"timestamp_ms":1789024220000,"timestamp_seconds":1789024220,"priority":1,"record_length":96,"hex_timestamp":"000001a08a273360"} 
[2026-09-10 12:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 12:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990194944001,"66":12798,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990194944001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:42:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990194944001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":177650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:42:04] local.INFO: GPS data processed {"connection_id":177650,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:42:04] local.INFO: Acknowledgment sent {"connection_id":177650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:42:19] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:19] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:19] local.INFO: IMEI packet received {"connection_id":176235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":176235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:42:21] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:21] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:21] local.INFO: IMEI packet received {"connection_id":176235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":176235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:42:22] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:22] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:42:22] local.INFO: IMEI packet received {"connection_id":176235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":176235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:42:27] local.INFO: TCP Data received {"connection_id":179029,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:42:27] local.INFO: Processing buffer {"connection_id":179029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:42:27] local.INFO: IMEI packet received {"connection_id":179029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":179029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:42:31] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a280268012cbc72c00771b978001301482b..."} 
[2026-09-10 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a280268012cbc72c00771b978001301482b..."} 
[2026-09-10 12:42:31] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a280268012cbc72c00771b978001301482b..."} 
[2026-09-10 12:42:31] local.INFO: Packet analysis {"connection_id":176235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:42:31] local.INFO: Extracted packet for processing {"connection_id":176235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:42:31] local.INFO: GPS Element Parsed {"raw_longitude":750547648,"raw_latitude":124893560,"longitude_deg":75.0547648,"latitude_deg":12.489356,"altitude":19,"angle":328,"satellites":43,"speed":48,"hex_longitude":"2cbc72c0","hex_latitude":"0771b978","is_valid_coordinates":true} 
[2026-09-10 12:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990213376001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404032066070511616,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4865928259169005568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789024273000,"timestamp_ms":1789024273000,"timestamp_seconds":1789024273,"priority":1,"record_length":96,"hex_timestamp":"000001a08a280268"} 
[2026-09-10 12:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:42: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-09-10 12:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990213376001,"66":27767,"158":206,"85":37888,"24":48,"16":404032066070511616,"44":-4865928259169005568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990213376001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:42:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404032066070511616,"km_value":404032066070511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4865928259169005568,"description":"Unknown IO ID 44"} 
[2026-09-10 12:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990213376001,"power":27767,"unknown_158":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4865928259169005568}} 
[2026-09-10 12:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":176235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:42:31] local.INFO: GPS data processed {"connection_id":176235,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:42:31] local.INFO: Acknowledgment sent {"connection_id":176235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:42:32] local.INFO: TCP Data received {"connection_id":179029,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:42:32] local.INFO: Processing buffer {"connection_id":179029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:42:32] local.INFO: IMEI packet received {"connection_id":179029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":179029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:42:33] local.INFO: TCP Data received {"connection_id":179029,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a278568012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a278568012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:42:33] local.INFO: Processing buffer {"connection_id":179029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a278568012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:42:33] local.INFO: Packet analysis {"connection_id":179029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:42:33] local.INFO: Extracted packet for processing {"connection_id":179029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990200320001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024241000,"timestamp_ms":1789024241000,"timestamp_seconds":1789024241,"priority":1,"record_length":96,"hex_timestamp":"000001a08a278568"} 
[2026-09-10 12:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 12:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990200320001,"66":12841,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990200320001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:42:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990200320001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":179029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:42:33] local.INFO: GPS data processed {"connection_id":179029,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:42:33] local.INFO: Acknowledgment sent {"connection_id":179029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:42:38] local.INFO: TCP Data received {"connection_id":179030,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:42:38] local.INFO: Processing buffer {"connection_id":179030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:42:38] local.INFO: IMEI packet received {"connection_id":179030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":179030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:42:45] local.INFO: TCP Data received {"connection_id":179030,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:42:45] local.INFO: Processing buffer {"connection_id":179030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:42:45] local.INFO: IMEI packet received {"connection_id":179030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":179030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:43:03] local.INFO: TCP Data received {"connection_id":179030,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:03] local.INFO: Processing buffer {"connection_id":179030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:03] local.INFO: IMEI packet received {"connection_id":179030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":179030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:43:04] local.INFO: TCP Data received {"connection_id":179029,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a27d770012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a27d770012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:43:04] local.INFO: Processing buffer {"connection_id":179029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a27d770012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:43:04] local.INFO: Packet analysis {"connection_id":179029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:43:04] local.INFO: Extracted packet for processing {"connection_id":179029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a27"} 
[2026-09-10 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990205696001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024262000,"timestamp_ms":1789024262000,"timestamp_seconds":1789024262,"priority":1,"record_length":96,"hex_timestamp":"000001a08a27d770"} 
[2026-09-10 12:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 12:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990205696001,"66":12722,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990205696001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990205696001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":179029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:04] local.INFO: GPS data processed {"connection_id":179029,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:04] local.INFO: Acknowledgment sent {"connection_id":179029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:43:05] local.INFO: TCP Data received {"connection_id":179030,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a260698012c6c59c0085c3eb0000900912f..."} 
[2026-09-10 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a260698012c6c59c0085c3eb0000900912f..."} 
[2026-09-10 12:43:05] local.INFO: Processing buffer {"connection_id":179030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a260698012c6c59c0085c3eb0000900912f..."} 
[2026-09-10 12:43:05] local.INFO: Packet analysis {"connection_id":179030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:43:05] local.INFO: Extracted packet for processing {"connection_id":179030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":745298368,"raw_latitude":140263088,"longitude_deg":74.5298368,"latitude_deg":14.0263088,"altitude":9,"angle":145,"satellites":47,"speed":38,"hex_longitude":"2c6c59c0","hex_latitude":"085c3eb0","is_valid_coordinates":true} 
[2026-09-10 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789024143000,"timestamp_ms":1789024143000,"timestamp_seconds":1789024143,"priority":1,"record_length":96,"hex_timestamp":"000001a08a260698"} 
[2026-09-10 12:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 12:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28245,"186":206,"9":56064,"24":38,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16]} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28245,"unknown_186":206,"unknown_9":56064,"ignition":38,"odometer":null}} 
[2026-09-10 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":179030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:05] local.INFO: GPS data processed {"connection_id":179030,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:05] local.INFO: Acknowledgment sent {"connection_id":179030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:43:05] local.INFO: TCP Data received {"connection_id":176235,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a280a38012cbc6f400771c2500012015a2d..."} 
[2026-09-10 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a280a38012cbc6f400771c2500012015a2d..."} 
[2026-09-10 12:43:05] local.INFO: Processing buffer {"connection_id":176235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a280a38012cbc6f400771c2500012015a2d..."} 
[2026-09-10 12:43:05] local.INFO: Packet analysis {"connection_id":176235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:05] local.INFO: Extracted packet for processing {"connection_id":176235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":750546752,"raw_latitude":124895824,"longitude_deg":75.0546752,"latitude_deg":12.4895824,"altitude":18,"angle":346,"satellites":45,"speed":49,"hex_longitude":"2cbc6f40","hex_latitude":"0771c250","is_valid_coordinates":true} 
[2026-09-10 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990213888001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404032186329595904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4867617109028800512,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789024275000,"timestamp_ms":1789024275000,"timestamp_seconds":1789024275,"priority":1,"record_length":96,"hex_timestamp":"000001a08a280a38"} 
[2026-09-10 12:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 12:43: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-09-10 12: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-09-10 12:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990213888001,"66":27800,"158":206,"85":37888,"24":49,"16":404032186329595904,"44":-4867617109028800512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990213888001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404032186329595904,"km_value":404032186329595.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4867617109028800512,"description":"Unknown IO ID 44"} 
[2026-09-10 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990213888001,"power":27800,"unknown_158":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4867617109028800512}} 
[2026-09-10 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":176235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:05] local.INFO: GPS data processed {"connection_id":176235,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:05] local.INFO: Acknowledgment sent {"connection_id":176235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:43:06] local.INFO: TCP Data received {"connection_id":179030,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a264ce8012c6c7200085c0ea0000900a330..."} 
[2026-09-10 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a264ce8012c6c7200085c0ea0000900a330..."} 
[2026-09-10 12:43:06] local.INFO: Processing buffer {"connection_id":179030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a264ce8012c6c7200085c0ea0000900a330..."} 
[2026-09-10 12:43:06] local.INFO: Packet analysis {"connection_id":179030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:43:06] local.INFO: Extracted packet for processing {"connection_id":179030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a26"} 
[2026-09-10 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":745304576,"raw_latitude":140250784,"longitude_deg":74.5304576,"latitude_deg":14.0250784,"altitude":9,"angle":163,"satellites":48,"speed":4,"hex_longitude":"2c6c7200","hex_latitude":"085c0ea0","is_valid_coordinates":true} 
[2026-09-10 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990180608001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7807482571163348992,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789024161000,"timestamp_ms":1789024161000,"timestamp_seconds":1789024161,"priority":1,"record_length":96,"hex_timestamp":"000001a08a264ce8"} 
[2026-09-10 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 12:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990180608001,"66":28234,"186":206,"9":56064,"24":4,"16":3893920429768704,"44":7807482571163348992},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16,44]} 
[2026-09-10 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990180608001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:06] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-10 12:43:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":7807482571163348992,"description":"Unknown IO ID 44"} 
[2026-09-10 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990180608001,"power":28234,"unknown_186":206,"unknown_9":56064,"ignition":4,"odometer":null,"unknown_44":7807482571163348992}} 
[2026-09-10 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":179030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:06] local.INFO: GPS data processed {"connection_id":179030,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:06] local.INFO: Acknowledgment sent {"connection_id":179030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:43:20] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:43:20] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:43:20] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:43:24] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:43:24] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:43:24] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:43:25] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a281dc0012cbc6cc00771d6e0001000052a..."} 
[2026-09-10 12:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a281dc0012cbc6cc00771d6e0001000052a..."} 
[2026-09-10 12:43:25] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a281dc0012cbc6cc00771d6e0001000052a..."} 
[2026-09-10 12:43:25] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:25] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:25] local.INFO: GPS Element Parsed {"raw_longitude":750546112,"raw_latitude":124901088,"longitude_deg":75.0546112,"latitude_deg":12.4901088,"altitude":16,"angle":5,"satellites":42,"speed":31,"hex_longitude":"2cbc6cc0","hex_latitude":"0771d6e0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990214400001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404032444027633664,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868602271446708224,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789024280000,"timestamp_ms":1789024280000,"timestamp_seconds":1789024280,"priority":1,"record_length":96,"hex_timestamp":"000001a08a281dc0"} 
[2026-09-10 12:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990214400001,"66":27800,"158":206,"85":37888,"24":31,"16":404032444027633664,"44":-4868602271446708224},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-10 12:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990214400001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 12:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 12:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404032444027633664,"km_value":404032444027633.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868602271446708224,"description":"Unknown IO ID 44"} 
[2026-09-10 12:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990214400001,"power":27800,"unknown_158":206,"unknown_85":37888,"ignition":31,"odometer":null,"unknown_44":-4868602271446708224}} 
[2026-09-10 12:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:25] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:25] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:43:27] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:43:27] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:43:27] local.INFO: IMEI packet received {"connection_id":176236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":176236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:43:32] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:43:32] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:43:32] local.INFO: IMEI packet received {"connection_id":176236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":176236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:43:33] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a282978012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a282978012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:43:33] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a282978012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:43:33] local.INFO: Packet analysis {"connection_id":176236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:33] local.INFO: Extracted packet for processing {"connection_id":176236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990211072001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024283000,"timestamp_ms":1789024283000,"timestamp_seconds":1789024283,"priority":1,"record_length":96,"hex_timestamp":"000001a08a282978"} 
[2026-09-10 12:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 12:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990211072001,"66":12765,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990211072001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990211072001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":176236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:33] local.INFO: GPS data processed {"connection_id":176236,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:33] local.INFO: Acknowledgment sent {"connection_id":176236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:43:39] local.INFO: TCP Data received {"connection_id":177651,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:39] local.INFO: Processing buffer {"connection_id":177651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:39] local.INFO: IMEI packet received {"connection_id":177651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":177651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:43:42] local.INFO: TCP Data received {"connection_id":177651,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:42] local.INFO: Processing buffer {"connection_id":177651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:42] local.INFO: IMEI packet received {"connection_id":177651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":177651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:43:43] local.INFO: TCP Data received {"connection_id":177651,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:43] local.INFO: Processing buffer {"connection_id":177651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:43:43] local.INFO: IMEI packet received {"connection_id":177651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":177651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:43:45] local.INFO: TCP Data received {"connection_id":177651,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a28e8e0012c6cad80085ade30001b00992f..."} 
[2026-09-10 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a28e8e0012c6cad80085ade30001b00992f..."} 
[2026-09-10 12:43:45] local.INFO: Processing buffer {"connection_id":177651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a28e8e0012c6cad80085ade30001b00992f..."} 
[2026-09-10 12:43:45] local.INFO: Packet analysis {"connection_id":177651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:45] local.INFO: Extracted packet for processing {"connection_id":177651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":745319808,"raw_latitude":140172848,"longitude_deg":74.5319808,"latitude_deg":14.0172848,"altitude":27,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2c6cad80","hex_latitude":"085ade30","is_valid_coordinates":true} 
[2026-09-10 12:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990223616001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7825215494675972096,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789024332000,"timestamp_ms":1789024332000,"timestamp_seconds":1789024332,"priority":1,"record_length":96,"hex_timestamp":"000001a08a28e8e0"} 
[2026-09-10 12:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 12:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990223616001,"66":28137,"186":206,"9":56064,"24":0,"16":3893920429768704,"44":7825215494675972096},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16,44]} 
[2026-09-10 12:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990223616001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:45] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-10 12:43:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":7825215494675972096,"description":"Unknown IO ID 44"} 
[2026-09-10 12:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990223616001,"power":28137,"unknown_186":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7825215494675972096}} 
[2026-09-10 12:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":177651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:45] local.INFO: GPS data processed {"connection_id":177651,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:45] local.INFO: Acknowledgment sent {"connection_id":177651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:43:56] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a29bfb8012cbc9b400772e9b0000c01422e..."} 
[2026-09-10 12:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a29bfb8012cbc9b400772e9b0000c01422e..."} 
[2026-09-10 12:43:56] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a29bfb8012cbc9b400772e9b0000c01422e..."} 
[2026-09-10 12:43:56] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:43:56] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:43:56] local.INFO: GPS Element Parsed {"raw_longitude":750558016,"raw_latitude":124971440,"longitude_deg":75.0558016,"latitude_deg":12.497144,"altitude":12,"angle":322,"satellites":46,"speed":46,"hex_longitude":"2cbc9b40","hex_latitude":"0772e9b0","is_valid_coordinates":true} 
[2026-09-10 12:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990241536001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404036275138461696,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4852347091523919872,"note":"Value kept but may cause issues"} 
[2026-09-10 12:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789024387000,"timestamp_ms":1789024387000,"timestamp_seconds":1789024387,"priority":1,"record_length":96,"hex_timestamp":"000001a08a29bfb8"} 
[2026-09-10 12:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990241536001,"66":27843,"131":206,"85":36608,"24":46,"16":404036275138461696,"44":-4852347091523919872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-10 12:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990241536001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:43:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 12:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404036275138461696,"km_value":404036275138461.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:43:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4852347091523919872,"description":"Unknown IO ID 44"} 
[2026-09-10 12:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990241536001,"power":27843,"unknown_131":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-4852347091523919872}} 
[2026-09-10 12:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:43:56] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:43:56] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:44:04] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a287b80012d1a8c40071fade00038009e2b..."} 
[2026-09-10 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a287b80012d1a8c40071fade00038009e2b..."} 
[2026-09-10 12:44:04] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a287b80012d1a8c40071fade00038009e2b..."} 
[2026-09-10 12:44:04] local.INFO: Packet analysis {"connection_id":176236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:44:04] local.INFO: Extracted packet for processing {"connection_id":176236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990216448001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024304000,"timestamp_ms":1789024304000,"timestamp_seconds":1789024304,"priority":1,"record_length":96,"hex_timestamp":"000001a08a287b80"} 
[2026-09-10 12:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 12:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990216448001,"66":12765,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990216448001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:44:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990216448001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":176236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:44:04] local.INFO: GPS data processed {"connection_id":176236,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:44:04] local.INFO: Acknowledgment sent {"connection_id":176236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:44:17] local.INFO: TCP Data received {"connection_id":177651,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a29c7880100000000000000000000000000..."} 
[2026-09-10 12:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a29c7880100000000000000000000000000..."} 
[2026-09-10 12:44:17] local.INFO: Processing buffer {"connection_id":177651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a29c7880100000000000000000000000000..."} 
[2026-09-10 12:44:17] local.INFO: Packet analysis {"connection_id":177651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:44:17] local.INFO: Extracted packet for processing {"connection_id":177651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:44:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990228992001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7831056100439764992,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789024389000,"timestamp_ms":1789024389000,"timestamp_seconds":1789024389,"priority":1,"record_length":96,"hex_timestamp":"000001a08a29c788"} 
[2026-09-10 12:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":177651,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:44:17] local.INFO: GPS data processed {"connection_id":177651,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:44:17] local.INFO: Acknowledgment sent {"connection_id":177651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:44:27] local.INFO: TCP Data received {"connection_id":177653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:27] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:27] local.INFO: IMEI packet received {"connection_id":177653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":177653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:44:27] local.INFO: TCP Data received {"connection_id":177652,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:44:27] local.INFO: Processing buffer {"connection_id":177652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:44:27] local.INFO: IMEI packet received {"connection_id":177652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":177652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:44:28] local.INFO: TCP Data received {"connection_id":177653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:28] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:28] local.INFO: IMEI packet received {"connection_id":177653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":177653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:44:32] local.INFO: TCP Data received {"connection_id":177653,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:32] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:44:32] local.INFO: IMEI packet received {"connection_id":177653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":177653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:44:32] local.INFO: TCP Data received {"connection_id":177652,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177652,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:44:32] local.INFO: Processing buffer {"connection_id":177652,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:44:32] local.INFO: IMEI packet received {"connection_id":177652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":177652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:44:32] local.INFO: TCP Data received {"connection_id":177653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a28cd88012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a28cd88012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:44:32] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a28cd88012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:44:32] local.INFO: Packet analysis {"connection_id":177653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:44:32] local.INFO: Extracted packet for processing {"connection_id":177653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a28"} 
[2026-09-10 12:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990221824001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789024325000,"timestamp_ms":1789024325000,"timestamp_seconds":1789024325,"priority":1,"record_length":96,"hex_timestamp":"000001a08a28cd88"} 
[2026-09-10 12:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 12:44: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-09-10 12:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990221824001,"66":12765,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990221824001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:44:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990221824001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":177653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:44:33] local.INFO: GPS data processed {"connection_id":177653,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:44:33] local.INFO: Acknowledgment sent {"connection_id":177653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:44:43] local.INFO: TCP Data received {"connection_id":177652,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:44:43] local.INFO: Processing buffer {"connection_id":177652,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 12:44:43] local.INFO: IMEI packet received {"connection_id":177652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":177652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:44:43] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:44:43] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:44:43] local.INFO: IMEI packet received {"connection_id":177654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":177654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:44:49] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:44:49] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:44:49] local.INFO: IMEI packet received {"connection_id":177654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":177654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:44:50] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2961f8012c6cea40085a6110001f00992e..."} 
[2026-09-10 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2961f8012c6cea40085a6110001f00992e..."} 
[2026-09-10 12:44:50] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2961f8012c6cea40085a6110001f00992e..."} 
[2026-09-10 12:44:50] local.INFO: Packet analysis {"connection_id":177654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:44:50] local.INFO: Extracted packet for processing {"connection_id":177654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:44:50] local.INFO: GPS Element Parsed {"raw_longitude":745335360,"raw_latitude":140140816,"longitude_deg":74.533536,"latitude_deg":14.0140816,"altitude":31,"angle":153,"satellites":46,"speed":41,"hex_longitude":"2c6cea40","hex_latitude":"085a6110","is_valid_coordinates":true} 
[2026-09-10 12:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:44:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,127,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789024363000,"timestamp_ms":1789024363000,"timestamp_seconds":1789024363,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2961f8"} 
[2026-09-10 12:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:44: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:44: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 12:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28126,"127":206,"9":56064,"24":41,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16]} 
[2026-09-10 12:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:44:50] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-10 12:44:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:44:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28126,"unknown_127":206,"unknown_9":56064,"ignition":41,"odometer":null}} 
[2026-09-10 12:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":177654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:44:50] local.INFO: GPS data processed {"connection_id":177654,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:44:50] local.INFO: Acknowledgment sent {"connection_id":177654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:45:04] local.INFO: TCP Data received {"connection_id":177653,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a291f90012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a291f90012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:45:04] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a291f90012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:45:04] local.INFO: Packet analysis {"connection_id":177653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:04] local.INFO: Extracted packet for processing {"connection_id":177653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990227200001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024346000,"timestamp_ms":1789024346000,"timestamp_seconds":1789024346,"priority":1,"record_length":96,"hex_timestamp":"000001a08a291f90"} 
[2026-09-10 12:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 12:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990227200001,"66":12689,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990227200001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:45:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990227200001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":177653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:45:04] local.INFO: GPS data processed {"connection_id":177653,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:45:04] local.INFO: Acknowledgment sent {"connection_id":177653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:45:22] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a29b400012c6d0a40085a1a60001f009c2e..."} 
[2026-09-10 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a29b400012c6d0a40085a1a60001f009c2e..."} 
[2026-09-10 12:45:22] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a29b400012c6d0a40085a1a60001f009c2e..."} 
[2026-09-10 12:45:22] local.INFO: Packet analysis {"connection_id":177654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:22] local.INFO: Extracted packet for processing {"connection_id":177654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:22] local.INFO: GPS Element Parsed {"raw_longitude":745343552,"raw_latitude":140122720,"longitude_deg":74.5343552,"latitude_deg":14.012272,"altitude":31,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2c6d0a40","hex_latitude":"085a1a60","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990236928001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7848155705266737152,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789024384000,"timestamp_ms":1789024384000,"timestamp_seconds":1789024384,"priority":1,"record_length":96,"hex_timestamp":"000001a08a29b400"} 
[2026-09-10 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-09-10 12:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 12:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990236928001,"66":28234,"127":206,"9":56064,"24":0,"16":3893920429768704,"44":7848155705266737152},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,44]} 
[2026-09-10 12:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990236928001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:45:22] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-10 12:45:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":7848155705266737152,"description":"Unknown IO ID 44"} 
[2026-09-10 12:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990236928001,"power":28234,"unknown_127":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7848155705266737152}} 
[2026-09-10 12:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":177654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:45:22] local.INFO: GPS data processed {"connection_id":177654,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:45:22] local.INFO: Acknowledgment sent {"connection_id":177654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:45:27] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:27] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:27] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:45:31] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:31] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:31] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:45:32] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:32] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:45:32] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:45:32] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a297198012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a297198012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:45:32] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a297198012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:45:32] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:32] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990232576001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789024367000,"timestamp_ms":1789024367000,"timestamp_seconds":1789024367,"priority":1,"record_length":96,"hex_timestamp":"000001a08a297198"} 
[2026-09-10 12:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 12:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990232576001,"66":12722,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990232576001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:45:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990232576001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:45:33] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:45:33] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:45:37] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a29c3a0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a29c3a0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:45:37] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a29c3a0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:45:37] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:37] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a29"} 
[2026-09-10 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990237952001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45: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-09-10 12:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789024388000,"timestamp_ms":1789024388000,"timestamp_seconds":1789024388,"priority":1,"record_length":96,"hex_timestamp":"000001a08a29c3a0"} 
[2026-09-10 12:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:45: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-09-10 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 12:45: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-09-10 12:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990237952001,"66":12678,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990237952001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990237952001,"power":12678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:45:38] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:45:38] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:45:38] local.INFO: TCP Data received {"connection_id":177655,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:45:38] local.INFO: Processing buffer {"connection_id":177655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:45:38] local.INFO: IMEI packet received {"connection_id":177655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":177655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:45:43] local.INFO: TCP Data received {"connection_id":177655,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:45:43] local.INFO: Processing buffer {"connection_id":177655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:45:43] local.INFO: IMEI packet received {"connection_id":177655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":177655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:45:45] local.INFO: TCP Data received {"connection_id":177655,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2a92a80100000000000000000000000000..."} 
[2026-09-10 12:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2a92a80100000000000000000000000000..."} 
[2026-09-10 12:45:45] local.INFO: Processing buffer {"connection_id":177655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2a92a80100000000000000000000000000..."} 
[2026-09-10 12:45:45] local.INFO: Packet analysis {"connection_id":177655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:45:45] local.INFO: Extracted packet for processing {"connection_id":177655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:45:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990242304001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7857162904516845568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789024441000,"timestamp_ms":1789024441000,"timestamp_seconds":1789024441,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2a92a8"} 
[2026-09-10 12:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 12:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":177655,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:45:45] local.INFO: GPS data processed {"connection_id":177655,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:45:45] local.INFO: Acknowledgment sent {"connection_id":177655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:46:09] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2a15a8012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2a15a8012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:46:09] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2a15a8012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:46:09] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:09] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990243328001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46: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-09-10 12:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789024409000,"timestamp_ms":1789024409000,"timestamp_seconds":1789024409,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2a15a8"} 
[2026-09-10 12:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 12:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990243328001,"66":12667,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990243328001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:46:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:46:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990243328001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:46:09] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:46:09] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:46:16] local.INFO: TCP Data received {"connection_id":177655,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2a2d18012c6d4b80085984000021009e2e..."} 
[2026-09-10 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2a2d18012c6d4b80085984000021009e2e..."} 
[2026-09-10 12:46:16] local.INFO: Processing buffer {"connection_id":177655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2a2d18012c6d4b80085984000021009e2e..."} 
[2026-09-10 12:46:16] local.INFO: Packet analysis {"connection_id":177655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:16] local.INFO: Extracted packet for processing {"connection_id":177655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":745360256,"raw_latitude":140084224,"longitude_deg":74.5360256,"latitude_deg":14.0084224,"altitude":33,"angle":158,"satellites":46,"speed":49,"hex_longitude":"2c6d4b80","hex_latitude":"08598400","is_valid_coordinates":true} 
[2026-09-10 12:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,127,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789024415000,"timestamp_ms":1789024415000,"timestamp_seconds":1789024415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2a2d18"} 
[2026-09-10 12:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"127":206,"9":56064,"24":49,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16]} 
[2026-09-10 12:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:46:16] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-10 12:46:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:46:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_127":206,"unknown_9":56064,"ignition":49,"odometer":null}} 
[2026-09-10 12:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":177655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:46:16] local.INFO: GPS data processed {"connection_id":177655,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:46:16] local.INFO: Acknowledgment sent {"connection_id":177655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:46:32] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:46:32] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:46:32] local.INFO: IMEI packet received {"connection_id":176482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":176482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:46:34] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:46:34] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:46:34] local.INFO: IMEI packet received {"connection_id":176482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":176482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:46:35] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2a67b0012d1a8c40071fade00038009e2b..."} 
[2026-09-10 12:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2a67b0012d1a8c40071fade00038009e2b..."} 
[2026-09-10 12:46:35] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2a67b0012d1a8c40071fade00038009e2b..."} 
[2026-09-10 12:46:35] local.INFO: Packet analysis {"connection_id":176482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:35] local.INFO: Extracted packet for processing {"connection_id":176482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990248704001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789024430000,"timestamp_ms":1789024430000,"timestamp_seconds":1789024430,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2a67b0"} 
[2026-09-10 12:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 12:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990248704001,"66":11069,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990248704001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:46:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990248704001,"power":11069,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":176482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:46:35] local.INFO: GPS data processed {"connection_id":176482,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:46:35] local.INFO: Acknowledgment sent {"connection_id":176482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:46:38] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2ab9b8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2ab9b8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:46:38] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2ab9b8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:46:38] local.INFO: Packet analysis {"connection_id":176482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:38] local.INFO: Extracted packet for processing {"connection_id":176482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990254080001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789024451000,"timestamp_ms":1789024451000,"timestamp_seconds":1789024451,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2ab9b8"} 
[2026-09-10 12:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-10 12:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990254080001,"66":12689,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990254080001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:46:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990254080001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":176482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:46:38] local.INFO: GPS data processed {"connection_id":176482,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:46:38] local.INFO: Acknowledgment sent {"connection_id":176482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:46:39] local.INFO: TCP Data received {"connection_id":179032,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:46:39] local.INFO: Processing buffer {"connection_id":179032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:46:39] local.INFO: IMEI packet received {"connection_id":179032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":179032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:46:44] local.INFO: TCP Data received {"connection_id":179032,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:46:44] local.INFO: Processing buffer {"connection_id":179032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:46:44] local.INFO: IMEI packet received {"connection_id":179032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":179032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:46:46] local.INFO: TCP Data received {"connection_id":179032,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2a7f20012c6d6c0008593d40002000992e..."} 
[2026-09-10 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2a7f20012c6d6c0008593d40002000992e..."} 
[2026-09-10 12:46:46] local.INFO: Processing buffer {"connection_id":179032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2a7f20012c6d6c0008593d40002000992e..."} 
[2026-09-10 12:46:46] local.INFO: Packet analysis {"connection_id":179032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:46] local.INFO: Extracted packet for processing {"connection_id":179032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":745368576,"raw_latitude":140066112,"longitude_deg":74.5368576,"latitude_deg":14.0066112,"altitude":32,"angle":153,"satellites":46,"speed":0,"hex_longitude":"2c6d6c00","hex_latitude":"08593d40","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990250240001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7875529146737360896,"note":"Value kept but may cause issues"} 
[2026-09-10 12:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789024436000,"timestamp_ms":1789024436000,"timestamp_seconds":1789024436,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2a7f20"} 
[2026-09-10 12:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":179032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":179032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":179032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990250240001,"66":28104,"127":206,"9":56064,"24":0,"16":3893920429768704,"44":7875529146737360896},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16,44]} 
[2026-09-10 12:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990250240001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:46:46] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-10 12:46:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":7875529146737360896,"description":"Unknown IO ID 44"} 
[2026-09-10 12:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990250240001,"power":28104,"unknown_127":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7875529146737360896}} 
[2026-09-10 12:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":179032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:46:46] local.INFO: GPS data processed {"connection_id":179032,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:46:46] local.INFO: Acknowledgment sent {"connection_id":179032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:47:09] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2b0bc0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2b0bc0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:47:09] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2b0bc0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:47:09] local.INFO: Packet analysis {"connection_id":176482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:09] local.INFO: Extracted packet for processing {"connection_id":176482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990259456001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47: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-09-10 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789024472000,"timestamp_ms":1789024472000,"timestamp_seconds":1789024472,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2b0bc0"} 
[2026-09-10 12:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 12:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990259456001,"66":12591,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990259456001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:47:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990259456001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":176482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:47:09] local.INFO: GPS data processed {"connection_id":176482,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:47:09] local.INFO: Acknowledgment sent {"connection_id":176482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:47:18] local.INFO: TCP Data received {"connection_id":179032,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2b5dc80100000000000000000000000000..."} 
[2026-09-10 12:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2b5dc80100000000000000000000000000..."} 
[2026-09-10 12:47:18] local.INFO: Processing buffer {"connection_id":179032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2b5dc80100000000000000000000000000..."} 
[2026-09-10 12:47:18] local.INFO: Packet analysis {"connection_id":179032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:18] local.INFO: Extracted packet for processing {"connection_id":179032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990255616001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7884677083475820544,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789024493000,"timestamp_ms":1789024493000,"timestamp_seconds":1789024493,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2b5dc8"} 
[2026-09-10 12:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:47: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-09-10 12:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 12:47:18] 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-09-10 12:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":179032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":179032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":179032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":179032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:47:18] local.INFO: GPS data processed {"connection_id":179032,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:47:18] local.INFO: Acknowledgment sent {"connection_id":179032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:47:27] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:47:27] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:47:27] local.INFO: IMEI packet received {"connection_id":176483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":176483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:47:32] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:47:32] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:47:32] local.INFO: IMEI packet received {"connection_id":176483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":176483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:47:33] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2b5dc8012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2b5dc8012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:47:33] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2b5dc8012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:47:33] local.INFO: Packet analysis {"connection_id":176483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:33] local.INFO: Extracted packet for processing {"connection_id":176483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990264832001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024493000,"timestamp_ms":1789024493000,"timestamp_seconds":1789024493,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2b5dc8"} 
[2026-09-10 12:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990264832001,"66":12667,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990264832001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:47:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990264832001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":176483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:47:33] local.INFO: GPS data processed {"connection_id":176483,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:47:33] local.INFO: Acknowledgment sent {"connection_id":176483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:47:44] local.INFO: TCP Data received {"connection_id":176238,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:47:44] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:47:44] local.INFO: IMEI packet received {"connection_id":176238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":176238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:47:45] local.INFO: TCP Data received {"connection_id":176238,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:47:45] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:47:45] local.INFO: IMEI packet received {"connection_id":176238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":176238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:47:46] local.INFO: TCP Data received {"connection_id":176238,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2af450012c6dccc00858bf90002300832d..."} 
[2026-09-10 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2af450012c6dccc00858bf90002300832d..."} 
[2026-09-10 12:47:46] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2af450012c6dccc00858bf90002300832d..."} 
[2026-09-10 12:47:46] local.INFO: Packet analysis {"connection_id":176238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:47:46] local.INFO: Extracted packet for processing {"connection_id":176238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2a"} 
[2026-09-10 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":745393344,"raw_latitude":140033936,"longitude_deg":74.5393344,"latitude_deg":14.0033936,"altitude":35,"angle":131,"satellites":45,"speed":43,"hex_longitude":"2c6dccc0","hex_latitude":"0858bf90","is_valid_coordinates":true} 
[2026-09-10 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,127,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789024466000,"timestamp_ms":1789024466000,"timestamp_seconds":1789024466,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2af450"} 
[2026-09-10 12:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28256,"127":206,"9":56064,"24":43,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,9,24,16]} 
[2026-09-10 12:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:47:46] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-10 12:47:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:47:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28256,"unknown_127":206,"unknown_9":56064,"ignition":43,"odometer":null}} 
[2026-09-10 12:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":176238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:47:46] local.INFO: GPS data processed {"connection_id":176238,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:47:46] local.INFO: Acknowledgment sent {"connection_id":176238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:47:49] local.INFO: TCP Data received {"connection_id":176238,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2bd2f80100000000000000000000000000..."} 
[2026-09-10 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2bd2f80100000000000000000000000000..."} 
[2026-09-10 12:47:50] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2bd2f80100000000000000000000000000..."} 
[2026-09-10 12:47:50] local.INFO: Packet analysis {"connection_id":176238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:50] local.INFO: Extracted packet for processing {"connection_id":176238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990263296001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7911909787464339456,"note":"Value kept but may cause issues"} 
[2026-09-10 12:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789024523000,"timestamp_ms":1789024523000,"timestamp_seconds":1789024523,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2bd2f8"} 
[2026-09-10 12:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:47: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-09-10 12: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 12:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":176238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:47:50] local.INFO: GPS data processed {"connection_id":176238,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:47:50] local.INFO: Acknowledgment sent {"connection_id":176238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:48:04] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2bafd0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2bafd0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:48:04] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2bafd0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:48:04] local.INFO: Packet analysis {"connection_id":176483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:48:04] local.INFO: Extracted packet for processing {"connection_id":176483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990270208001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024514000,"timestamp_ms":1789024514000,"timestamp_seconds":1789024514,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2bafd0"} 
[2026-09-10 12:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 12:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990270208001,"66":12667,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990270208001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:48:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990270208001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":176483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:48:04] local.INFO: GPS data processed {"connection_id":176483,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:48:04] local.INFO: Acknowledgment sent {"connection_id":176483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:48:27] local.INFO: TCP Data received {"connection_id":179033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:48:27] local.INFO: Processing buffer {"connection_id":179033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:48:27] local.INFO: IMEI packet received {"connection_id":179033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":179033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:48:32] local.INFO: TCP Data received {"connection_id":179033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:48:32] local.INFO: Processing buffer {"connection_id":179033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:48:32] local.INFO: IMEI packet received {"connection_id":179033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":179033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:48:33] local.INFO: TCP Data received {"connection_id":179033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2c01d8012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2c01d8012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:48:33] local.INFO: Processing buffer {"connection_id":179033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2c01d8012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:48:33] local.INFO: Packet analysis {"connection_id":179033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:48:33] local.INFO: Extracted packet for processing {"connection_id":179033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990275584001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024535000,"timestamp_ms":1789024535000,"timestamp_seconds":1789024535,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2c01d8"} 
[2026-09-10 12:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 12:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990275584001,"66":12537,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990275584001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:48:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990275584001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":179033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:48:33] local.INFO: GPS data processed {"connection_id":179033,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:48:33] local.INFO: Acknowledgment sent {"connection_id":179033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:48:38] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:48:38] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:48:38] local.INFO: IMEI packet received {"connection_id":176484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":176484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:48:44] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:48:44] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:48:44] local.INFO: IMEI packet received {"connection_id":176484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":176484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:48:46] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2b5dc8012c6df90008589bc00025007f2e..."} 
[2026-09-10 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2b5dc8012c6df90008589bc00025007f2e..."} 
[2026-09-10 12:48:46] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2b5dc8012c6df90008589bc00025007f2e..."} 
[2026-09-10 12:48:46] local.INFO: Packet analysis {"connection_id":176484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:48:46] local.INFO: Extracted packet for processing {"connection_id":176484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:48:46] local.INFO: GPS Element Parsed {"raw_longitude":745404672,"raw_latitude":140024768,"longitude_deg":74.5404672,"latitude_deg":14.0024768,"altitude":37,"angle":127,"satellites":46,"speed":27,"hex_longitude":"2c6df900","hex_latitude":"08589bc0","is_valid_coordinates":true} 
[2026-09-10 12:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:48:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,126,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789024493000,"timestamp_ms":1789024493000,"timestamp_seconds":1789024493,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2b5dc8"} 
[2026-09-10 12:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"126":206,"9":56064,"24":27,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16]} 
[2026-09-10 12:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:48:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-10 12:48:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:48:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_126":206,"unknown_9":56064,"ignition":27,"odometer":null}} 
[2026-09-10 12:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":176484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:48:46] local.INFO: GPS data processed {"connection_id":176484,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:48:46] local.INFO: Acknowledgment sent {"connection_id":176484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:49:04] local.INFO: TCP Data received {"connection_id":179033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2c53e0012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2c53e0012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:49:04] local.INFO: Processing buffer {"connection_id":179033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2c53e0012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:49:04] local.INFO: Packet analysis {"connection_id":179033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:49:04] local.INFO: Extracted packet for processing {"connection_id":179033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990280960001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024556000,"timestamp_ms":1789024556000,"timestamp_seconds":1789024556,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2c53e0"} 
[2026-09-10 12:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 12:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990280960001,"66":11243,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990280960001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:49:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990280960001,"power":11243,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":179033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:49:04] local.INFO: GPS data processed {"connection_id":179033,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:49:04] local.INFO: Acknowledgment sent {"connection_id":179033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:49:19] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2bafd0012c6e30c0085870a00025007f2d..."} 
[2026-09-10 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2bafd0012c6e30c0085870a00025007f2d..."} 
[2026-09-10 12:49:19] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2bafd0012c6e30c0085870a00025007f2d..."} 
[2026-09-10 12:49:19] local.INFO: Packet analysis {"connection_id":176484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:49:19] local.INFO: Extracted packet for processing {"connection_id":176484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2b"} 
[2026-09-10 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":745418944,"raw_latitude":140013728,"longitude_deg":74.5418944,"latitude_deg":14.0013728,"altitude":37,"angle":127,"satellites":45,"speed":0,"hex_longitude":"2c6e30c0","hex_latitude":"085870a0","is_valid_coordinates":true} 
[2026-09-10 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990270208001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7924365055181438976,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789024514000,"timestamp_ms":1789024514000,"timestamp_seconds":1789024514,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2bafd0"} 
[2026-09-10 12:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990270208001,"66":28137,"126":206,"9":56064,"24":0,"16":3893920429768704,"44":7924365055181438976},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,9,24,16,44]} 
[2026-09-10 12:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990270208001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:49:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":7924365055181438976,"description":"Unknown IO ID 44"} 
[2026-09-10 12:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990270208001,"power":28137,"unknown_126":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7924365055181438976}} 
[2026-09-10 12:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":176484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:49:19] local.INFO: GPS data processed {"connection_id":176484,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:49:19] local.INFO: Acknowledgment sent {"connection_id":176484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:49:27] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:49:27] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:49:27] local.INFO: IMEI packet received {"connection_id":177659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":177659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:49:32] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:49:32] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:49:32] local.INFO: IMEI packet received {"connection_id":177659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":177659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:49:33] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2ca5e8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2ca5e8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:49:33] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2ca5e8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:49:33] local.INFO: Packet analysis {"connection_id":177659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:49:33] local.INFO: Extracted packet for processing {"connection_id":177659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990286336001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024577000,"timestamp_ms":1789024577000,"timestamp_seconds":1789024577,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2ca5e8"} 
[2026-09-10 12:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 12:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990286336001,"66":12645,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990286336001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:49:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990286336001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":177659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:49:33] local.INFO: GPS data processed {"connection_id":177659,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:49:33] local.INFO: Acknowledgment sent {"connection_id":177659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:49:34] local.INFO: TCP Data received {"connection_id":177658,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:49:34] local.INFO: Processing buffer {"connection_id":177658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:49:34] local.INFO: IMEI packet received {"connection_id":177658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":177658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:49:35] local.INFO: TCP Data received {"connection_id":177658,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2e7aa8012cbbbd800774ded8004f01192c..."} 
[2026-09-10 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2e7aa8012cbbbd800774ded8004f01192c..."} 
[2026-09-10 12:49:35] local.INFO: Processing buffer {"connection_id":177658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2e7aa8012cbbbd800774ded8004f01192c..."} 
[2026-09-10 12:49:35] local.INFO: Packet analysis {"connection_id":177658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:49:35] local.INFO: Extracted packet for processing {"connection_id":177658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:49:35] local.INFO: GPS Element Parsed {"raw_longitude":750501248,"raw_latitude":125099736,"longitude_deg":75.0501248,"latitude_deg":12.5099736,"altitude":79,"angle":281,"satellites":44,"speed":51,"hex_longitude":"2cbbbd80","hex_latitude":"0774ded8","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990320384001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404048687593947136,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4907586555669460992,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789024697000,"timestamp_ms":1789024697000,"timestamp_seconds":1789024697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2e7aa8"} 
[2026-09-10 12:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:49: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-09-10 12: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-09-10 12:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990320384001,"66":27832,"93":206,"85":36608,"24":51,"16":404048687593947136,"44":-4907586555669460992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-10 12:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990320384001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:49:35] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 12:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404048687593947136,"km_value":404048687593947.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4907586555669460992,"description":"Unknown IO ID 44"} 
[2026-09-10 12:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990320384001,"power":27832,"unknown_93":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-4907586555669460992}} 
[2026-09-10 12:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":177658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:49:35] local.INFO: GPS data processed {"connection_id":177658,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:49:35] local.INFO: Acknowledgment sent {"connection_id":177658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:49:39] local.INFO: TCP Data received {"connection_id":177660,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:49:39] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:49:39] local.INFO: IMEI packet received {"connection_id":177660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":177660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:49:44] local.INFO: TCP Data received {"connection_id":177660,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:49:44] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:49:44] local.INFO: IMEI packet received {"connection_id":177660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":177660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:49:48] local.INFO: TCP Data received {"connection_id":177660,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2c01d8012c6e6c00085846400025007c30..."} 
[2026-09-10 12:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2c01d8012c6e6c00085846400025007c30..."} 
[2026-09-10 12:49:48] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2c01d8012c6e6c00085846400025007c30..."} 
[2026-09-10 12:49:48] local.INFO: Packet analysis {"connection_id":177660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:49:48] local.INFO: Extracted packet for processing {"connection_id":177660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:49:48] local.INFO: GPS Element Parsed {"raw_longitude":745434112,"raw_latitude":140002880,"longitude_deg":74.5434112,"latitude_deg":14.000288,"altitude":37,"angle":124,"satellites":48,"speed":0,"hex_longitude":"2c6e6c00","hex_latitude":"08584640","is_valid_coordinates":true} 
[2026-09-10 12:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990275584001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7940057285130231808,"note":"Value kept but may cause issues"} 
[2026-09-10 12:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789024535000,"timestamp_ms":1789024535000,"timestamp_seconds":1789024535,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2c01d8"} 
[2026-09-10 12:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990275584001,"66":28234,"117":206,"9":56064,"24":0,"16":3893920429768704,"44":7940057285130231808},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,44]} 
[2026-09-10 12:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990275584001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:49:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-10 12:49:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:49:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":7940057285130231808,"description":"Unknown IO ID 44"} 
[2026-09-10 12:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990275584001,"power":28234,"unknown_117":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7940057285130231808}} 
[2026-09-10 12:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":177660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:49:48] local.INFO: GPS data processed {"connection_id":177660,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:49:48] local.INFO: Acknowledgment sent {"connection_id":177660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:50:04] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2cf7f0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2cf7f0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:50:04] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2cf7f0012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:50:04] local.INFO: Packet analysis {"connection_id":177659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:50:04] local.INFO: Extracted packet for processing {"connection_id":177659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2c"} 
[2026-09-10 12:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990291712001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024598000,"timestamp_ms":1789024598000,"timestamp_seconds":1789024598,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2cf7f0"} 
[2026-09-10 12:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 12:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990291712001,"66":12591,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990291712001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:50:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990291712001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":177659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:50:04] local.INFO: GPS data processed {"connection_id":177659,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:50:04] local.INFO: Acknowledgment sent {"connection_id":177659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:50:19] local.INFO: TCP Data received {"connection_id":177661,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:19] local.INFO: Processing buffer {"connection_id":177661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:19] local.INFO: IMEI packet received {"connection_id":177661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":177661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:50:20] local.INFO: TCP Data received {"connection_id":177660,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2f5d38012c701c400856eb90001900412d..."} 
[2026-09-10 12:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2f5d38012c701c400856eb90001900412d..."} 
[2026-09-10 12:50:20] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2f5d38012c701c400856eb90001900412d..."} 
[2026-09-10 12:50:20] local.INFO: Packet analysis {"connection_id":177660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:20] local.INFO: Extracted packet for processing {"connection_id":177660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:20] local.INFO: GPS Element Parsed {"raw_longitude":745544768,"raw_latitude":139914128,"longitude_deg":74.5544768,"latitude_deg":13.9914128,"altitude":25,"angle":65,"satellites":45,"speed":32,"hex_longitude":"2c701c40","hex_latitude":"0856eb90","is_valid_coordinates":true} 
[2026-09-10 12:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990331904001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8061232262578012160,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789024755000,"timestamp_ms":1789024755000,"timestamp_seconds":1789024755,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2f5d38"} 
[2026-09-10 12:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 12:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990331904001,"66":28234,"115":206,"9":56064,"24":32,"16":3893920429768704,"44":8061232262578012160},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-10 12:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990331904001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:50:20] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 12:50:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8061232262578012160,"description":"Unknown IO ID 44"} 
[2026-09-10 12:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990331904001,"power":28234,"unknown_115":206,"unknown_9":56064,"ignition":32,"odometer":null,"unknown_44":8061232262578012160}} 
[2026-09-10 12:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":177660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:50:20] local.INFO: GPS data processed {"connection_id":177660,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:50:20] local.INFO: Acknowledgment sent {"connection_id":177660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:50:23] local.INFO: TCP Data received {"connection_id":177661,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:23] local.INFO: Processing buffer {"connection_id":177661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:23] local.INFO: IMEI packet received {"connection_id":177661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":177661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:50:24] local.INFO: TCP Data received {"connection_id":177661,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:24] local.INFO: Processing buffer {"connection_id":177661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:50:24] local.INFO: IMEI packet received {"connection_id":177661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":177661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:50:25] local.INFO: TCP Data received {"connection_id":177661,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2f97d0012cba28400774e610004701112b..."} 
[2026-09-10 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2f97d0012cba28400774e610004701112b..."} 
[2026-09-10 12:50:25] local.INFO: Processing buffer {"connection_id":177661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2f97d0012cba28400774e610004701112b..."} 
[2026-09-10 12:50:25] local.INFO: Packet analysis {"connection_id":177661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:25] local.INFO: Extracted packet for processing {"connection_id":177661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:25] local.INFO: GPS Element Parsed {"raw_longitude":750397504,"raw_latitude":125101584,"longitude_deg":75.0397504,"latitude_deg":12.5101584,"altitude":71,"angle":273,"satellites":43,"speed":59,"hex_longitude":"2cba2840","hex_latitude":"0774e610","is_valid_coordinates":true} 
[2026-09-10 12:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990339584001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404053613921435648,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5022639452399097856,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789024770000,"timestamp_ms":1789024770000,"timestamp_seconds":1789024770,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2f97d0"} 
[2026-09-10 12:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 12:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990339584001,"66":27767,"157":206,"85":36608,"24":59,"16":404053613921435648,"44":-5022639452399097856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,44]} 
[2026-09-10 12:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990339584001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:50:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 12:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404053613921435648,"km_value":404053613921435.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5022639452399097856,"description":"Unknown IO ID 44"} 
[2026-09-10 12:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990339584001,"power":27767,"unknown_157":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5022639452399097856}} 
[2026-09-10 12:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":177661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:50:25] local.INFO: GPS data processed {"connection_id":177661,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:50:25] local.INFO: Acknowledgment sent {"connection_id":177661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:50:25] local.INFO: TCP Data received {"connection_id":179034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:25] local.INFO: Processing buffer {"connection_id":179034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:25] local.INFO: IMEI packet received {"connection_id":179034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":179034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:50:28] local.INFO: TCP Data received {"connection_id":179034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:28] local.INFO: Processing buffer {"connection_id":179034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:28] local.INFO: IMEI packet received {"connection_id":179034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":179034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:50:32] local.INFO: TCP Data received {"connection_id":179034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:32] local.INFO: Processing buffer {"connection_id":179034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:50:32] local.INFO: IMEI packet received {"connection_id":179034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":179034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:50:33] local.INFO: TCP Data received {"connection_id":179034,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2d49f8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2d49f8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:50:33] local.INFO: Processing buffer {"connection_id":179034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2d49f8012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:50:33] local.INFO: Packet analysis {"connection_id":179034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2d"} 
[2026-09-10 12:50:33] local.INFO: Extracted packet for processing {"connection_id":179034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2d"} 
[2026-09-10 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990297088001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024619000,"timestamp_ms":1789024619000,"timestamp_seconds":1789024619,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2d49f8"} 
[2026-09-10 12:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990297088001,"66":12613,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990297088001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:50:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990297088001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":179034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:50:33] local.INFO: GPS data processed {"connection_id":179034,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:50:33] local.INFO: Acknowledgment sent {"connection_id":179034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:50:38] local.INFO: TCP Data received {"connection_id":176239,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:50:38] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:50:38] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:50:44] local.INFO: TCP Data received {"connection_id":176239,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:50:44] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:50:44] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:50:45] local.INFO: TCP Data received {"connection_id":176239,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2f5d38012c701c400856eb90001900412d..."} 
[2026-09-10 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2f5d38012c701c400856eb90001900412d..."} 
[2026-09-10 12:50:45] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2f5d38012c701c400856eb90001900412d..."} 
[2026-09-10 12:50:45] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:45] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:45] local.INFO: GPS Element Parsed {"raw_longitude":745544768,"raw_latitude":139914128,"longitude_deg":74.5544768,"latitude_deg":13.9914128,"altitude":25,"angle":65,"satellites":45,"speed":32,"hex_longitude":"2c701c40","hex_latitude":"0856eb90","is_valid_coordinates":true} 
[2026-09-10 12:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990337280001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8078402236158021632,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789024755000,"timestamp_ms":1789024755000,"timestamp_seconds":1789024755,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2f5d38"} 
[2026-09-10 12:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 12:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990337280001,"66":28234,"115":206,"9":56064,"24":32,"16":3893920429768704,"44":8078402236158021632},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-10 12:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990337280001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:50:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 12:50:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8078402236158021632,"description":"Unknown IO ID 44"} 
[2026-09-10 12:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990337280001,"power":28234,"unknown_115":206,"unknown_9":56064,"ignition":32,"odometer":null,"unknown_44":8078402236158021632}} 
[2026-09-10 12:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:50:45] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:50:45] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:50:56] local.INFO: TCP Data received {"connection_id":177661,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2fb328012cb9ff400774e8a0004701112b..."} 
[2026-09-10 12:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2fb328012cb9ff400774e8a0004701112b..."} 
[2026-09-10 12:50:56] local.INFO: Processing buffer {"connection_id":177661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2fb328012cb9ff400774e8a0004701112b..."} 
[2026-09-10 12:50:56] local.INFO: Packet analysis {"connection_id":177661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:56] local.INFO: Extracted packet for processing {"connection_id":177661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:50:56] local.INFO: GPS Element Parsed {"raw_longitude":750387008,"raw_latitude":125102240,"longitude_deg":75.0387008,"latitude_deg":12.510224,"altitude":71,"angle":273,"satellites":43,"speed":57,"hex_longitude":"2cb9ff40","hex_latitude":"0774e8a0","is_valid_coordinates":true} 
[2026-09-10 12:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990341120001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404054107842674688,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5032702182816346112,"note":"Value kept but may cause issues"} 
[2026-09-10 12:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789024777000,"timestamp_ms":1789024777000,"timestamp_seconds":1789024777,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2fb328"} 
[2026-09-10 12:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 12:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990341120001,"66":27800,"157":206,"85":36608,"24":57,"16":404054107842674688,"44":-5032702182816346112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,44]} 
[2026-09-10 12:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990341120001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404054107842674688,"km_value":404054107842674.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5032702182816346112,"description":"Unknown IO ID 44"} 
[2026-09-10 12:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990341120001,"power":27800,"unknown_157":206,"unknown_85":36608,"ignition":57,"odometer":null,"unknown_44":-5032702182816346112}} 
[2026-09-10 12:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":177661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:50:56] local.INFO: GPS data processed {"connection_id":177661,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:50:56] local.INFO: Acknowledgment sent {"connection_id":177661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:51:04] local.INFO: TCP Data received {"connection_id":179034,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2d9c00012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2d9c00012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:51:04] local.INFO: Processing buffer {"connection_id":179034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2d9c00012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:51:04] local.INFO: Packet analysis {"connection_id":179034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2d"} 
[2026-09-10 12:51:04] local.INFO: Extracted packet for processing {"connection_id":179034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2d"} 
[2026-09-10 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990302464001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024640000,"timestamp_ms":1789024640000,"timestamp_seconds":1789024640,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2d9c00"} 
[2026-09-10 12:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 12:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990302464001,"66":12580,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990302464001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:51:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990302464001,"power":12580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":179034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:51:04] local.INFO: GPS data processed {"connection_id":179034,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:51:04] local.INFO: Acknowledgment sent {"connection_id":179034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:51:17] local.INFO: TCP Data received {"connection_id":176239,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2faf40012c705e80085707a00016004b2c..."} 
[2026-09-10 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2faf40012c705e80085707a00016004b2c..."} 
[2026-09-10 12:51:17] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2faf40012c705e80085707a00016004b2c..."} 
[2026-09-10 12:51:17] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:17] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:17] local.INFO: GPS Element Parsed {"raw_longitude":745561728,"raw_latitude":139921312,"longitude_deg":74.5561728,"latitude_deg":13.9921312,"altitude":22,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2c705e80","hex_latitude":"085707a0","is_valid_coordinates":true} 
[2026-09-10 12:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990337280001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8078402236158021632,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789024776000,"timestamp_ms":1789024776000,"timestamp_seconds":1789024776,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2faf40"} 
[2026-09-10 12:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 12:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990337280001,"66":28137,"115":206,"9":56064,"24":0,"16":3893920429768704,"44":8078402236158021632},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-10 12:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990337280001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:51:17] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 12:51:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":8078402236158021632,"description":"Unknown IO ID 44"} 
[2026-09-10 12:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990337280001,"power":28137,"unknown_115":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8078402236158021632}} 
[2026-09-10 12:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:51:17] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:51:17] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:51:24] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:51:24] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:51:24] local.INFO: IMEI packet received {"connection_id":176240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":176240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:51:25] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:51:25] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:51:25] local.INFO: IMEI packet received {"connection_id":176240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":176240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:51:26] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2fce80012cb9d7c00774eb70004901122b..."} 
[2026-09-10 12:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2fce80012cb9d7c00774eb70004901122b..."} 
[2026-09-10 12:51:26] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2fce80012cb9d7c00774eb70004901122b..."} 
[2026-09-10 12:51:26] local.INFO: Packet analysis {"connection_id":176240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:26] local.INFO: Extracted packet for processing {"connection_id":176240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:26] local.INFO: GPS Element Parsed {"raw_longitude":750376896,"raw_latitude":125102960,"longitude_deg":75.0376896,"latitude_deg":12.510296,"altitude":73,"angle":274,"satellites":43,"speed":56,"hex_longitude":"2cb9d7c0","hex_latitude":"0774eb70","is_valid_coordinates":true} 
[2026-09-10 12:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990342912001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404054588879011840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5044242656861315072,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789024784000,"timestamp_ms":1789024784000,"timestamp_seconds":1789024784,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2fce80"} 
[2026-09-10 12:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990342912001,"66":27995,"159":206,"85":36608,"24":56,"16":404054588879011840,"44":-5044242656861315072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 12:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990342912001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:51:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 12:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404054588879011840,"km_value":404054588879011.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5044242656861315072,"description":"Unknown IO ID 44"} 
[2026-09-10 12:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990342912001,"power":27995,"unknown_159":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-5044242656861315072}} 
[2026-09-10 12:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":176240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:51:26] local.INFO: GPS data processed {"connection_id":176240,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:51:26] local.INFO: Acknowledgment sent {"connection_id":176240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:51:28] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:28] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:28] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:51:28] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:28] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:28] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:51:29] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2fe9d8012cb9b2000774ee28004b01112d..."} 
[2026-09-10 12:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2fe9d8012cb9b2000774ee28004b01112d..."} 
[2026-09-10 12:51:29] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2fe9d8012cb9b2000774ee28004b01112d..."} 
[2026-09-10 12:51:29] local.INFO: Packet analysis {"connection_id":176240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:29] local.INFO: Extracted packet for processing {"connection_id":176240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:29] local.INFO: GPS Element Parsed {"raw_longitude":750367232,"raw_latitude":125103656,"longitude_deg":75.0367232,"latitude_deg":12.5103656,"altitude":75,"angle":273,"satellites":45,"speed":53,"hex_longitude":"2cb9b200","hex_latitude":"0774ee28","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990344704001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404055048440512512,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5055360918441201664,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789024791000,"timestamp_ms":1789024791000,"timestamp_seconds":1789024791,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2fe9d8"} 
[2026-09-10 12:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:51: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-09-10 12: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":91,"data_length":795,"current_offset":136} 
[2026-09-10 12:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990344704001,"66":27952,"159":206,"85":36608,"24":53,"16":404055048440512512,"44":-5055360918441201664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 12:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990344704001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:51:29] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 12:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404055048440512512,"km_value":404055048440512.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5055360918441201664,"description":"Unknown IO ID 44"} 
[2026-09-10 12:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990344704001,"power":27952,"unknown_159":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-5055360918441201664}} 
[2026-09-10 12:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":176240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:51:30] local.INFO: GPS data processed {"connection_id":176240,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:51:30] local.INFO: Acknowledgment sent {"connection_id":176240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:51:32] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:32] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:51:32] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:51:33] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2dee08012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2dee08012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:51:33] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2dee08012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:51:33] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2d"} 
[2026-09-10 12:51:33] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2d"} 
[2026-09-10 12:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990307840001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024661000,"timestamp_ms":1789024661000,"timestamp_seconds":1789024661,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2dee08"} 
[2026-09-10 12:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-10 12:51:33] 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-09-10 12: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-09-10 12:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990307840001,"66":12591,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990307840001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:51:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990307840001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:51:33] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:51:33] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:51:38] local.INFO: TCP Data received {"connection_id":179035,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:38] local.INFO: Processing buffer {"connection_id":179035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:38] local.INFO: IMEI packet received {"connection_id":179035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":179035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:51:43] local.INFO: TCP Data received {"connection_id":179035,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:43] local.INFO: Processing buffer {"connection_id":179035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:43] local.INFO: IMEI packet received {"connection_id":179035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":179035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:51:43] local.INFO: TCP Data received {"connection_id":179035,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:43] local.INFO: Processing buffer {"connection_id":179035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:51:43] local.INFO: IMEI packet received {"connection_id":179035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":179035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:51:45] local.INFO: TCP Data received {"connection_id":179035,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2ff1a8012c70a740085703f0001000622c..."} 
[2026-09-10 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2ff1a8012c70a740085703f0001000622c..."} 
[2026-09-10 12:51:45] local.INFO: Processing buffer {"connection_id":179035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2ff1a8012c70a740085703f0001000622c..."} 
[2026-09-10 12:51:45] local.INFO: Packet analysis {"connection_id":179035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:45] local.INFO: Extracted packet for processing {"connection_id":179035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":745580352,"raw_latitude":139920368,"longitude_deg":74.5580352,"latitude_deg":13.9920368,"altitude":16,"angle":98,"satellites":44,"speed":46,"hex_longitude":"2c70a740","hex_latitude":"085703f0","is_valid_coordinates":true} 
[2026-09-10 12:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990342656001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8097049953366941696,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789024793000,"timestamp_ms":1789024793000,"timestamp_seconds":1789024793,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2ff1a8"} 
[2026-09-10 12:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":179035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":179035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":179035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990342656001,"66":28224,"115":206,"9":56064,"24":46,"16":3893920429768704,"44":8097049953366941696},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-10 12:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990342656001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:51:45] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 12:51:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:51:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8097049953366941696,"description":"Unknown IO ID 44"} 
[2026-09-10 12:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990342656001,"power":28224,"unknown_115":206,"unknown_9":56064,"ignition":46,"odometer":null,"unknown_44":8097049953366941696}} 
[2026-09-10 12:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":179035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:51:45] local.INFO: GPS data processed {"connection_id":179035,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:51:45] local.INFO: Acknowledgment sent {"connection_id":179035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:51:49] local.INFO: TCP Data received {"connection_id":179035,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a303410012c70f9800856f320000a00722d..."} 
[2026-09-10 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a303410012c70f9800856f320000a00722d..."} 
[2026-09-10 12:51:49] local.INFO: Processing buffer {"connection_id":179035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a303410012c70f9800856f320000a00722d..."} 
[2026-09-10 12:51:49] local.INFO: Packet analysis {"connection_id":179035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a30"} 
[2026-09-10 12:51:49] local.INFO: Extracted packet for processing {"connection_id":179035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a30"} 
[2026-09-10 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":745601408,"raw_latitude":139916064,"longitude_deg":74.5601408,"latitude_deg":13.9916064,"altitude":10,"angle":114,"satellites":45,"speed":47,"hex_longitude":"2c70f980","hex_latitude":"0856f320","is_valid_coordinates":true} 
[2026-09-10 12:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990347008001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8117527257922400256,"note":"Value kept but may cause issues"} 
[2026-09-10 12:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789024810000,"timestamp_ms":1789024810000,"timestamp_seconds":1789024810,"priority":1,"record_length":96,"hex_timestamp":"000001a08a303410"} 
[2026-09-10 12:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 12:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990347008001,"66":28137,"115":206,"9":56064,"24":47,"16":3893920429768704,"44":8117527257922400256},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-10 12:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990347008001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":8117527257922400256,"description":"Unknown IO ID 44"} 
[2026-09-10 12:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990347008001,"power":28137,"unknown_115":206,"unknown_9":56064,"ignition":47,"odometer":null,"unknown_44":8117527257922400256}} 
[2026-09-10 12:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":179035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:51:49] local.INFO: GPS data processed {"connection_id":179035,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:51:49] local.INFO: Acknowledgment sent {"connection_id":179035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:01] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a310ae8012cb82e4007755af8003a012f2c..."} 
[2026-09-10 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a310ae8012cb82e4007755af8003a012f2c..."} 
[2026-09-10 12:52:01] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a310ae8012cb82e4007755af8003a012f2c..."} 
[2026-09-10 12:52:01] local.INFO: Packet analysis {"connection_id":176240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:01] local.INFO: Extracted packet for processing {"connection_id":176240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:01] local.INFO: GPS Element Parsed {"raw_longitude":750267968,"raw_latitude":125131512,"longitude_deg":75.0267968,"latitude_deg":12.5131512,"altitude":58,"angle":303,"satellites":44,"speed":51,"hex_longitude":"2cb82e40","hex_latitude":"07755af8","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990363648001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404059970473033728,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5166332428003284992,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789024865000,"timestamp_ms":1789024865000,"timestamp_seconds":1789024865,"priority":1,"record_length":96,"hex_timestamp":"000001a08a310ae8"} 
[2026-09-10 12:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12: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":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:52: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-09-10 12: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-09-10 12:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:52: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-09-10 12:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990363648001,"66":27919,"224":206,"85":36608,"24":51,"16":404059970473033728,"44":-5166332428003284992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-10 12:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990363648001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:01] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 12:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404059970473033728,"km_value":404059970473033.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5166332428003284992,"description":"Unknown IO ID 44"} 
[2026-09-10 12:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990363648001,"power":27919,"unknown_224":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5166332428003284992}} 
[2026-09-10 12:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":176240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:01] local.INFO: GPS data processed {"connection_id":176240,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:01] local.INFO: Acknowledgment sent {"connection_id":176240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:04] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2e4010012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2e4010012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:52:04] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2e4010012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:52:04] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:52:04] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990313216001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024682000,"timestamp_ms":1789024682000,"timestamp_seconds":1789024682,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2e4010"} 
[2026-09-10 12:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990313216001,"66":12591,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990313216001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990313216001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:04] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:04] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:19] local.INFO: TCP Data received {"connection_id":177662,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:19] local.INFO: Processing buffer {"connection_id":177662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:19] local.INFO: IMEI packet received {"connection_id":177662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":177662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:52:19] local.INFO: TCP Data received {"connection_id":177662,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:19] local.INFO: Processing buffer {"connection_id":177662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:19] local.INFO: IMEI packet received {"connection_id":177662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":177662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:52:21] local.INFO: TCP Data received {"connection_id":179035,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a307678012c712fc00856bd00000b009b2e..."} 
[2026-09-10 12:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a307678012c712fc00856bd00000b009b2e..."} 
[2026-09-10 12:52:21] local.INFO: Processing buffer {"connection_id":179035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a307678012c712fc00856bd00000b009b2e..."} 
[2026-09-10 12:52:21] local.INFO: Packet analysis {"connection_id":179035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a30"} 
[2026-09-10 12:52:21] local.INFO: Extracted packet for processing {"connection_id":179035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a30"} 
[2026-09-10 12:52:21] local.INFO: GPS Element Parsed {"raw_longitude":745615296,"raw_latitude":139902208,"longitude_deg":74.5615296,"latitude_deg":13.9902208,"altitude":11,"angle":155,"satellites":46,"speed":47,"hex_longitude":"2c712fc0","hex_latitude":"0856bd00","is_valid_coordinates":true} 
[2026-09-10 12:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990351360001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8140678574755749888,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789024827000,"timestamp_ms":1789024827000,"timestamp_seconds":1789024827,"priority":1,"record_length":96,"hex_timestamp":"000001a08a307678"} 
[2026-09-10 12:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":179035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":179035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":179035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990351360001,"66":28224,"145":206,"9":56064,"24":47,"16":3893920429768704,"44":8140678574755749888},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-10 12:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990351360001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:52:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":8140678574755749888,"description":"Unknown IO ID 44"} 
[2026-09-10 12:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990351360001,"power":28224,"unknown_145":206,"unknown_9":56064,"ignition":47,"odometer":null,"unknown_44":8140678574755749888}} 
[2026-09-10 12:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":179035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:21] local.INFO: GPS data processed {"connection_id":179035,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:21] local.INFO: Acknowledgment sent {"connection_id":179035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:24] local.INFO: TCP Data received {"connection_id":177662,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:24] local.INFO: Processing buffer {"connection_id":177662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:52:24] local.INFO: IMEI packet received {"connection_id":177662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":177662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:52:25] local.INFO: TCP Data received {"connection_id":177662,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a312640012cb8104007756e500039012f2c..."} 
[2026-09-10 12:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a312640012cb8104007756e500039012f2c..."} 
[2026-09-10 12:52:25] local.INFO: Processing buffer {"connection_id":177662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a312640012cb8104007756e500039012f2c..."} 
[2026-09-10 12:52:25] local.INFO: Packet analysis {"connection_id":177662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:25] local.INFO: Extracted packet for processing {"connection_id":177662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:25] local.INFO: GPS Element Parsed {"raw_longitude":750260288,"raw_latitude":125136464,"longitude_deg":75.0260288,"latitude_deg":12.5136464,"altitude":57,"angle":303,"satellites":44,"speed":49,"hex_longitude":"2cb81040","hex_latitude":"07756e50","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990365440001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404060404264730624,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5175128521024276480,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789024872000,"timestamp_ms":1789024872000,"timestamp_seconds":1789024872,"priority":1,"record_length":96,"hex_timestamp":"000001a08a312640"} 
[2026-09-10 12:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 12:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990365440001,"66":27843,"224":206,"85":36608,"24":49,"16":404060404264730624,"44":-5175128521024276480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-10 12:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990365440001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:25] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 12:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404060404264730624,"km_value":404060404264730.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5175128521024276480,"description":"Unknown IO ID 44"} 
[2026-09-10 12:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990365440001,"power":27843,"unknown_224":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5175128521024276480}} 
[2026-09-10 12:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":177662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:25] local.INFO: GPS data processed {"connection_id":177662,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:25] local.INFO: Acknowledgment sent {"connection_id":177662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:26] local.INFO: TCP Data received {"connection_id":177662,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a314580012cb7ef4007758408003a012e2f..."} 
[2026-09-10 12:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a314580012cb7ef4007758408003a012e2f..."} 
[2026-09-10 12:52:26] local.INFO: Processing buffer {"connection_id":177662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a314580012cb7ef4007758408003a012e2f..."} 
[2026-09-10 12:52:26] local.INFO: Packet analysis {"connection_id":177662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:26] local.INFO: Extracted packet for processing {"connection_id":177662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:26] local.INFO: GPS Element Parsed {"raw_longitude":750251840,"raw_latitude":125142024,"longitude_deg":75.025184,"latitude_deg":12.5142024,"altitude":58,"angle":302,"satellites":47,"speed":51,"hex_longitude":"2cb7ef40","hex_latitude":"07758408","is_valid_coordinates":true} 
[2026-09-10 12:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990367232001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404060889596035072,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5183572770324328448,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789024880000,"timestamp_ms":1789024880000,"timestamp_seconds":1789024880,"priority":1,"record_length":96,"hex_timestamp":"000001a08a314580"} 
[2026-09-10 12:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990367232001,"66":27876,"224":206,"85":36608,"24":51,"16":404060889596035072,"44":-5183572770324328448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-10 12:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990367232001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:26] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 12:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404060889596035072,"km_value":404060889596035.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5183572770324328448,"description":"Unknown IO ID 44"} 
[2026-09-10 12:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990367232001,"power":27876,"unknown_224":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5183572770324328448}} 
[2026-09-10 12:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":177662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:26] local.INFO: GPS data processed {"connection_id":177662,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:26] local.INFO: Acknowledgment sent {"connection_id":177662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:27] local.INFO: TCP Data received {"connection_id":179036,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:52:27] local.INFO: Processing buffer {"connection_id":179036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:52:27] local.INFO: IMEI packet received {"connection_id":179036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":179036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:52:31] local.INFO: TCP Data received {"connection_id":179036,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:52:31] local.INFO: Processing buffer {"connection_id":179036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:52:31] local.INFO: IMEI packet received {"connection_id":179036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":179036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:52:32] local.INFO: TCP Data received {"connection_id":179036,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2e9218012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2e9218012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:52:32] local.INFO: Processing buffer {"connection_id":179036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2e9218012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:52:32] local.INFO: Packet analysis {"connection_id":179036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:52:32] local.INFO: Extracted packet for processing {"connection_id":179036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990318592001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789024703000,"timestamp_ms":1789024703000,"timestamp_seconds":1789024703,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2e9218"} 
[2026-09-10 12:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:52: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":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990318592001,"66":12591,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990318592001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990318592001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":179036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:32] local.INFO: GPS data processed {"connection_id":179036,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:32] local.INFO: Acknowledgment sent {"connection_id":179036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:44] local.INFO: TCP Data received {"connection_id":176242,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:52:44] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:52:44] local.INFO: IMEI packet received {"connection_id":176242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":176242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:52:49] local.INFO: TCP Data received {"connection_id":176242,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:52:49] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:52:49] local.INFO: IMEI packet received {"connection_id":176242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":176242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:52:50] local.INFO: TCP Data received {"connection_id":176242,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a30b8e0012c71348008566de0000900bb2a..."} 
[2026-09-10 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a30b8e0012c71348008566de0000900bb2a..."} 
[2026-09-10 12:52:50] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a30b8e0012c71348008566de0000900bb2a..."} 
[2026-09-10 12:52:50] local.INFO: Packet analysis {"connection_id":176242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a30"} 
[2026-09-10 12:52:50] local.INFO: Extracted packet for processing {"connection_id":176242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a30"} 
[2026-09-10 12:52:50] local.INFO: GPS Element Parsed {"raw_longitude":745616512,"raw_latitude":139881952,"longitude_deg":74.5616512,"latitude_deg":13.9881952,"altitude":9,"angle":187,"satellites":42,"speed":49,"hex_longitude":"2c713480","hex_latitude":"08566de0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990355712001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8155948592238755840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789024844000,"timestamp_ms":1789024844000,"timestamp_seconds":1789024844,"priority":1,"record_length":96,"hex_timestamp":"000001a08a30b8e0"} 
[2026-09-10 12:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:52: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-09-10 12: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 12:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990355712001,"66":28300,"145":206,"9":56064,"24":49,"16":3893920429768704,"44":8155948592238755840},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-10 12:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990355712001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:50] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:52:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8155948592238755840,"description":"Unknown IO ID 44"} 
[2026-09-10 12:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990355712001,"power":28300,"unknown_145":206,"unknown_9":56064,"ignition":49,"odometer":null,"unknown_44":8155948592238755840}} 
[2026-09-10 12:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":176242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:50] local.INFO: GPS data processed {"connection_id":176242,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:50] local.INFO: Acknowledgment sent {"connection_id":176242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:52:55] local.INFO: TCP Data received {"connection_id":176242,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a310ae8012c71278008562110000700bd2d..."} 
[2026-09-10 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a310ae8012c71278008562110000700bd2d..."} 
[2026-09-10 12:52:55] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a310ae8012c71278008562110000700bd2d..."} 
[2026-09-10 12:52:55] local.INFO: Packet analysis {"connection_id":176242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:55] local.INFO: Extracted packet for processing {"connection_id":176242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":745613184,"raw_latitude":139862288,"longitude_deg":74.5613184,"latitude_deg":13.9862288,"altitude":7,"angle":189,"satellites":45,"speed":0,"hex_longitude":"2c712780","hex_latitude":"08562110","is_valid_coordinates":true} 
[2026-09-10 12:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990360064001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8157285598372945920,"note":"Value kept but may cause issues"} 
[2026-09-10 12:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789024865000,"timestamp_ms":1789024865000,"timestamp_seconds":1789024865,"priority":1,"record_length":96,"hex_timestamp":"000001a08a310ae8"} 
[2026-09-10 12:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 12:52:55] 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-09-10 12:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990360064001,"66":28202,"145":206,"9":56064,"24":0,"16":3893920429768704,"44":8157285598372945920},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-10 12:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990360064001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:52:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:52:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8157285598372945920,"description":"Unknown IO ID 44"} 
[2026-09-10 12:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990360064001,"power":28202,"unknown_145":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8157285598372945920}} 
[2026-09-10 12:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":176242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:52:55] local.INFO: GPS data processed {"connection_id":176242,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:52:55] local.INFO: Acknowledgment sent {"connection_id":176242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:53:03] local.INFO: TCP Data received {"connection_id":179036,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2ee420012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2ee420012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:53:03] local.INFO: Processing buffer {"connection_id":179036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2ee420012d1a8c40071fade00038009e2a..."} 
[2026-09-10 12:53:03] local.INFO: Packet analysis {"connection_id":179036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:53:03] local.INFO: Extracted packet for processing {"connection_id":179036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2e"} 
[2026-09-10 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990323968001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789024724000,"timestamp_ms":1789024724000,"timestamp_seconds":1789024724,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2ee420"} 
[2026-09-10 12:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 12:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990323968001,"66":12548,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990323968001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:53:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990323968001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":179036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:53:04] local.INFO: GPS data processed {"connection_id":179036,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:53:04] local.INFO: Acknowledgment sent {"connection_id":179036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:53:07] local.INFO: TCP Data received {"connection_id":177662,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3160d8012cb7cfc007759500003c01282d..."} 
[2026-09-10 12:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3160d8012cb7cfc007759500003c01282d..."} 
[2026-09-10 12:53:07] local.INFO: Processing buffer {"connection_id":177662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3160d8012cb7cfc007759500003c01282d..."} 
[2026-09-10 12:53:07] local.INFO: Packet analysis {"connection_id":177662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:07] local.INFO: Extracted packet for processing {"connection_id":177662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:07] local.INFO: GPS Element Parsed {"raw_longitude":750243776,"raw_latitude":125146368,"longitude_deg":75.0243776,"latitude_deg":12.5146368,"altitude":60,"angle":296,"satellites":45,"speed":51,"hex_longitude":"2cb7cfc0","hex_latitude":"07759500","is_valid_coordinates":true} 
[2026-09-10 12:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990369280001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404061327682699264,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5192861444554356736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789024887000,"timestamp_ms":1789024887000,"timestamp_seconds":1789024887,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3160d8"} 
[2026-09-10 12:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12: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-09-10 12:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53: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-09-10 12:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990369280001,"66":27876,"224":206,"85":36608,"24":51,"16":404061327682699264,"44":-5192861444554356736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-10 12:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990369280001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:53:07] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 12:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404061327682699264,"km_value":404061327682699.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5192861444554356736,"description":"Unknown IO ID 44"} 
[2026-09-10 12:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990369280001,"power":27876,"unknown_224":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5192861444554356736}} 
[2026-09-10 12:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":177662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:53:07] local.INFO: GPS data processed {"connection_id":177662,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:53:07] local.INFO: Acknowledgment sent {"connection_id":177662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:53:19] local.INFO: TCP Data received {"connection_id":179037,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:19] local.INFO: Processing buffer {"connection_id":179037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:19] local.INFO: IMEI packet received {"connection_id":179037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":179037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:53:20] local.INFO: TCP Data received {"connection_id":179037,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:20] local.INFO: Processing buffer {"connection_id":179037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:20] local.INFO: IMEI packet received {"connection_id":179037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":179037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:53:24] local.INFO: TCP Data received {"connection_id":179037,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:24] local.INFO: Processing buffer {"connection_id":179037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:53:24] local.INFO: IMEI packet received {"connection_id":179037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":179037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:53:25] local.INFO: TCP Data received {"connection_id":179037,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a317c30012cb7af400775a2f8003f01252c..."} 
[2026-09-10 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a317c30012cb7af400775a2f8003f01252c..."} 
[2026-09-10 12:53:25] local.INFO: Processing buffer {"connection_id":179037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a317c30012cb7af400775a2f8003f01252c..."} 
[2026-09-10 12:53:25] local.INFO: Packet analysis {"connection_id":179037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:25] local.INFO: Extracted packet for processing {"connection_id":179037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":750235456,"raw_latitude":125149944,"longitude_deg":75.0235456,"latitude_deg":12.5149944,"altitude":63,"angle":293,"satellites":44,"speed":50,"hex_longitude":"2cb7af40","hex_latitude":"0775a2f8","is_valid_coordinates":true} 
[2026-09-10 12:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990371072001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404061757179428864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5201727906319630336,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789024894000,"timestamp_ms":1789024894000,"timestamp_seconds":1789024894,"priority":1,"record_length":96,"hex_timestamp":"000001a08a317c30"} 
[2026-09-10 12:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 12:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990371072001,"66":27887,"224":206,"85":36608,"24":50,"16":404061757179428864,"44":-5201727906319630336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-10 12:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990371072001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:53:25] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 12:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404061757179428864,"km_value":404061757179428.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5201727906319630336,"description":"Unknown IO ID 44"} 
[2026-09-10 12:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990371072001,"power":27887,"unknown_224":206,"unknown_85":36608,"ignition":50,"odometer":null,"unknown_44":-5201727906319630336}} 
[2026-09-10 12:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":179037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:53:25] local.INFO: GPS data processed {"connection_id":179037,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:53:25] local.INFO: Acknowledgment sent {"connection_id":179037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:53:26] local.INFO: TCP Data received {"connection_id":179037,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a319788012cb78e800775b030004001242d..."} 
[2026-09-10 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a319788012cb78e800775b030004001242d..."} 
[2026-09-10 12:53:26] local.INFO: Processing buffer {"connection_id":179037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a319788012cb78e800775b030004001242d..."} 
[2026-09-10 12:53:26] local.INFO: Packet analysis {"connection_id":179037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:26] local.INFO: Extracted packet for processing {"connection_id":179037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":750227072,"raw_latitude":125153328,"longitude_deg":75.0227072,"latitude_deg":12.5153328,"altitude":64,"angle":292,"satellites":45,"speed":51,"hex_longitude":"2cb78e80","hex_latitude":"0775b030","is_valid_coordinates":true} 
[2026-09-10 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990372864001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404062186676158464,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5210875843061811200,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789024901000,"timestamp_ms":1789024901000,"timestamp_seconds":1789024901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a319788"} 
[2026-09-10 12:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 12:53:26] 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-09-10 12:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":179037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":179037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":179037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990372864001,"66":27821,"224":206,"85":36608,"24":51,"16":404062186676158464,"44":-5210875843061811200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-10 12:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990372864001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:53:27] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 12:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404062186676158464,"km_value":404062186676158.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:53:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5210875843061811200,"description":"Unknown IO ID 44"} 
[2026-09-10 12:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990372864001,"power":27821,"unknown_224":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5210875843061811200}} 
[2026-09-10 12:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":179037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:53:27] local.INFO: GPS data processed {"connection_id":179037,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:53:27] local.INFO: Acknowledgment sent {"connection_id":179037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:53:27] local.INFO: TCP Data received {"connection_id":177663,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:53:27] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:53:27] local.INFO: IMEI packet received {"connection_id":177663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":177663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:53:32] local.INFO: TCP Data received {"connection_id":177663,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:53:32] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:53:32] local.INFO: IMEI packet received {"connection_id":177663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":177663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:53:33] local.INFO: TCP Data received {"connection_id":177663,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2f3628012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2f3628012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:53:33] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2f3628012d1a8c40071fade00038009e29..."} 
[2026-09-10 12:53:33] local.INFO: Packet analysis {"connection_id":177663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:53:33] local.INFO: Extracted packet for processing {"connection_id":177663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990329344001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024745000,"timestamp_ms":1789024745000,"timestamp_seconds":1789024745,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2f3628"} 
[2026-09-10 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-09-10 12:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2318202864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2917138488,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":73,"raw_value":4160826650,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,35,160,146,45,64,173,56,41,10,66,238,1,240,47,227,138,31,4,113,205,73,140,224,239,49,2,68,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-10 12:53:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035399169349779456,"timestamp_seconds":4035399169349779.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 12:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990329344001,"66":12548,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990329344001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:53:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990329344001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":177663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:53:33] local.INFO: GPS data processed {"connection_id":177663,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:53:33] local.INFO: Acknowledgment sent {"connection_id":177663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:53:39] local.INFO: TCP Data received {"connection_id":176243,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:53:39] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:53:39] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:53:51] local.INFO: TCP Data received {"connection_id":176243,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:53:51] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:53:51] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:53:52] local.INFO: TCP Data received {"connection_id":176243,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a315cf0012c7119800855da20000600bc2d..."} 
[2026-09-10 12:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a315cf0012c7119800855da20000600bc2d..."} 
[2026-09-10 12:53:52] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a315cf0012c7119800855da20000600bc2d..."} 
[2026-09-10 12:53:52] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:52] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:53:52] local.INFO: GPS Element Parsed {"raw_longitude":745609600,"raw_latitude":139844128,"longitude_deg":74.56096,"latitude_deg":13.9844128,"altitude":6,"angle":188,"satellites":45,"speed":0,"hex_longitude":"2c711980","hex_latitude":"0855da20","is_valid_coordinates":true} 
[2026-09-10 12:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990365440001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8153626423670673408,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789024886000,"timestamp_ms":1789024886000,"timestamp_seconds":1789024886,"priority":1,"record_length":96,"hex_timestamp":"000001a08a315cf0"} 
[2026-09-10 12:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990365440001,"66":28245,"145":206,"9":56064,"24":0,"16":3893920429768704,"44":8153626423670673408},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-10 12:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990365440001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:53:52] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:53:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8153626423670673408,"description":"Unknown IO ID 44"} 
[2026-09-10 12:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990365440001,"power":28245,"unknown_145":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8153626423670673408}} 
[2026-09-10 12:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:53:53] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:53:53] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:53:58] local.INFO: TCP Data received {"connection_id":179037,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a32e778012cb5cf000775f670004000f72d..."} 
[2026-09-10 12:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a32e778012cb5cf000775f670004000f72d..."} 
[2026-09-10 12:53:58] local.INFO: Processing buffer {"connection_id":179037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a32e778012cb5cf000775f670004000f72d..."} 
[2026-09-10 12:53:58] local.INFO: Packet analysis {"connection_id":179037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:53:58] local.INFO: Extracted packet for processing {"connection_id":179037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:53:58] local.INFO: GPS Element Parsed {"raw_longitude":750112512,"raw_latitude":125171312,"longitude_deg":75.0112512,"latitude_deg":12.5171312,"altitude":64,"angle":247,"satellites":45,"speed":56,"hex_longitude":"2cb5cf00","hex_latitude":"0775f670","is_valid_coordinates":true} 
[2026-09-10 12:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990395392001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404067907572596736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5338595113738233856,"note":"Value kept but may cause issues"} 
[2026-09-10 12:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789024987000,"timestamp_ms":1789024987000,"timestamp_seconds":1789024987,"priority":1,"record_length":96,"hex_timestamp":"000001a08a32e778"} 
[2026-09-10 12:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:53: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-09-10 12:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990395392001,"66":27832,"143":206,"85":36608,"24":56,"16":404067907572596736,"44":-5338595113738233856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-10 12:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990395392001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:53:58] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 12:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404067907572596736,"km_value":404067907572596.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5338595113738233856,"description":"Unknown IO ID 44"} 
[2026-09-10 12:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990395392001,"power":27832,"unknown_143":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-5338595113738233856}} 
[2026-09-10 12:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":179037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:53:58] local.INFO: GPS data processed {"connection_id":179037,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:53:58] local.INFO: Acknowledgment sent {"connection_id":179037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:54:04] local.INFO: TCP Data received {"connection_id":177663,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2f8830012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2f8830012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:54:04] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2f8830012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:54:04] local.INFO: Packet analysis {"connection_id":177663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:54:04] local.INFO: Extracted packet for processing {"connection_id":177663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990334720001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789024766000,"timestamp_ms":1789024766000,"timestamp_seconds":1789024766,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2f8830"} 
[2026-09-10 12:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2318223864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2917138488,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-10 12:54:04] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,35,160,228,45,64,173,56,42,10,66,146,41,1,240,47,227,138,31,4,113,205,156,140,224,36,239,49,2,68,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-10 12:54:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035399165054812160,"timestamp_seconds":4035399165054812.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990334720001,"66":12548,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990334720001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:54:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990334720001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":177663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:54:04] local.INFO: GPS data processed {"connection_id":177663,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:54:04] local.INFO: Acknowledgment sent {"connection_id":177663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:54:19] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:54:19] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:54:19] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:54:22] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:54:22] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:54:22] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:54:23] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a32fb00012cb5b6400775e8e8003f00eb2c..."} 
[2026-09-10 12:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a32fb00012cb5b6400775e8e8003f00eb2c..."} 
[2026-09-10 12:54:23] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a32fb00012cb5b6400775e8e8003f00eb2c..."} 
[2026-09-10 12:54:23] local.INFO: Packet analysis {"connection_id":176485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:54:23] local.INFO: Extracted packet for processing {"connection_id":176485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:54:23] local.INFO: GPS Element Parsed {"raw_longitude":750106176,"raw_latitude":125167848,"longitude_deg":75.0106176,"latitude_deg":12.5167848,"altitude":63,"angle":235,"satellites":44,"speed":57,"hex_longitude":"2cb5b640","hex_latitude":"0775e8e8","is_valid_coordinates":true} 
[2026-09-10 12:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990396672001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404068251169980416,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5346054200621633536,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789024992000,"timestamp_ms":1789024992000,"timestamp_seconds":1789024992,"priority":1,"record_length":96,"hex_timestamp":"000001a08a32fb00"} 
[2026-09-10 12:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:54: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-09-10 12:54: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":184,"data_length":795,"current_offset":136} 
[2026-09-10 12:54:23] 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-09-10 12:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990396672001,"66":27919,"143":206,"85":36608,"24":57,"16":404068251169980416,"44":-5346054200621633536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-10 12:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990396672001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:54:23] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 12:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404068251169980416,"km_value":404068251169980.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:54:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5346054200621633536,"description":"Unknown IO ID 44"} 
[2026-09-10 12:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990396672001,"power":27919,"unknown_143":206,"unknown_85":36608,"ignition":57,"odometer":null,"unknown_44":-5346054200621633536}} 
[2026-09-10 12:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":176485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:54:23] local.INFO: GPS data processed {"connection_id":176485,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:54:23] local.INFO: Acknowledgment sent {"connection_id":176485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:54:24] local.INFO: TCP Data received {"connection_id":176243,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a319b70012c7111c008559f60000900aa2d..."} 
[2026-09-10 12:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a319b70012c7111c008559f60000900aa2d..."} 
[2026-09-10 12:54:24] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a319b70012c7111c008559f60000900aa2d..."} 
[2026-09-10 12:54:24] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:54:24] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:54:24] local.INFO: GPS Element Parsed {"raw_longitude":745607616,"raw_latitude":139829088,"longitude_deg":74.5607616,"latitude_deg":13.9829088,"altitude":9,"angle":170,"satellites":45,"speed":31,"hex_longitude":"2c7111c0","hex_latitude":"08559f60","is_valid_coordinates":true} 
[2026-09-10 12:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990370816001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8149685773992075264,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789024902000,"timestamp_ms":1789024902000,"timestamp_seconds":1789024902,"priority":1,"record_length":96,"hex_timestamp":"000001a08a319b70"} 
[2026-09-10 12:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:54: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-09-10 12: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 12:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990370816001,"66":28234,"145":206,"9":56064,"24":31,"16":3893920429768704,"44":8149685773992075264},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-10 12:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990370816001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:54:24] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:54:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8149685773992075264,"description":"Unknown IO ID 44"} 
[2026-09-10 12:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990370816001,"power":28234,"unknown_145":206,"unknown_9":56064,"ignition":31,"odometer":null,"unknown_44":8149685773992075264}} 
[2026-09-10 12:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:54:24] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:54:24] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:54:27] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:54:27] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:54:27] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:54:32] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:54:32] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:54:32] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:54:33] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a2fda38012d1a8c40071fade00038009e22..."} 
[2026-09-10 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a2fda38012d1a8c40071fade00038009e22..."} 
[2026-09-10 12:54:33] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a2fda38012d1a8c40071fade00038009e22..."} 
[2026-09-10 12:54:33] local.INFO: Packet analysis {"connection_id":176244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:54:33] local.INFO: Extracted packet for processing {"connection_id":176244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a2f"} 
[2026-09-10 12:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990340096001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789024787000,"timestamp_ms":1789024787000,"timestamp_seconds":1789024787,"priority":1,"record_length":96,"hex_timestamp":"000001a08a2fda38"} 
[2026-09-10 12:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2318244864,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2917138488,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-10 12:54:33] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,35,160,54,45,64,173,56,41,10,66,228,42,146,1,240,47,227,138,31,4,113,205,238,140,224,239,49,2,68,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-10 12:54:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035399156464877568,"timestamp_seconds":4035399156464877.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 12:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990340096001,"66":12548,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990340096001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:54:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990340096001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":176244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:54:33] local.INFO: GPS data processed {"connection_id":176244,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:54:33] local.INFO: Acknowledgment sent {"connection_id":176244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:54:38] local.INFO: TCP Data received {"connection_id":179038,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:54:38] local.INFO: Processing buffer {"connection_id":179038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:54:38] local.INFO: IMEI packet received {"connection_id":179038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":179038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:54:43] local.INFO: TCP Data received {"connection_id":179038,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:54:43] local.INFO: Processing buffer {"connection_id":179038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:54:43] local.INFO: IMEI packet received {"connection_id":179038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":179038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:54:45] local.INFO: TCP Data received {"connection_id":179038,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a31e5a8012c713540085561e00009008a2d..."} 
[2026-09-10 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a31e5a8012c713540085561e00009008a2d..."} 
[2026-09-10 12:54:45] local.INFO: Processing buffer {"connection_id":179038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a31e5a8012c713540085561e00009008a2d..."} 
[2026-09-10 12:54:45] local.INFO: Packet analysis {"connection_id":179038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:54:45] local.INFO: Extracted packet for processing {"connection_id":179038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a31"} 
[2026-09-10 12:54:45] local.INFO: GPS Element Parsed {"raw_longitude":745616704,"raw_latitude":139813344,"longitude_deg":74.5616704,"latitude_deg":13.9813344,"altitude":9,"angle":138,"satellites":45,"speed":42,"hex_longitude":"2c713540","hex_latitude":"085561e0","is_valid_coordinates":true} 
[2026-09-10 12:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990374912001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8147504342918717440,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789024921000,"timestamp_ms":1789024921000,"timestamp_seconds":1789024921,"priority":1,"record_length":96,"hex_timestamp":"000001a08a31e5a8"} 
[2026-09-10 12:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 12:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":179038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":179038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":179038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990374912001,"66":28104,"145":206,"9":56064,"24":42,"16":3893920429768704,"44":8147504342918717440},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-10 12:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990374912001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:54:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:54:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:54:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8147504342918717440,"description":"Unknown IO ID 44"} 
[2026-09-10 12:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990374912001,"power":28104,"unknown_145":206,"unknown_9":56064,"ignition":42,"odometer":null,"unknown_44":8147504342918717440}} 
[2026-09-10 12:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":179038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:54:45] local.INFO: GPS data processed {"connection_id":179038,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:54:45] local.INFO: Acknowledgment sent {"connection_id":179038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:54:54] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a331658012cb595400775d188003d00ea2c..."} 
[2026-09-10 12:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a331658012cb595400775d188003d00ea2c..."} 
[2026-09-10 12:54:54] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a331658012cb595400775d188003d00ea2c..."} 
[2026-09-10 12:54:54] local.INFO: Packet analysis {"connection_id":176485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:54:54] local.INFO: Extracted packet for processing {"connection_id":176485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:54:54] local.INFO: GPS Element Parsed {"raw_longitude":750097728,"raw_latitude":125161864,"longitude_deg":75.0097728,"latitude_deg":12.5161864,"altitude":61,"angle":234,"satellites":44,"speed":59,"hex_longitude":"2cb59540","hex_latitude":"0775d188","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990397952001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404068749386186752,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5353020706296109056,"note":"Value kept but may cause issues"} 
[2026-09-10 12:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789024999000,"timestamp_ms":1789024999000,"timestamp_seconds":1789024999,"priority":1,"record_length":96,"hex_timestamp":"000001a08a331658"} 
[2026-09-10 12:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:54: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-09-10 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 12:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990397952001,"66":27919,"143":206,"85":36608,"24":59,"16":404068749386186752,"44":-5353020706296109056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-10 12:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990397952001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:54:54] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 12:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404068749386186752,"km_value":404068749386186.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:54:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5353020706296109056,"description":"Unknown IO ID 44"} 
[2026-09-10 12:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990397952001,"power":27919,"unknown_143":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5353020706296109056}} 
[2026-09-10 12:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":176485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:54:54] local.INFO: GPS data processed {"connection_id":176485,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:54:54] local.INFO: Acknowledgment sent {"connection_id":176485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:55:04] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a336090012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a336090012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:55:04] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a336090012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:55:04] local.INFO: Packet analysis {"connection_id":176244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:04] local.INFO: Extracted packet for processing {"connection_id":176244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990399232001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025018000,"timestamp_ms":1789025018000,"timestamp_seconds":1789025018,"priority":1,"record_length":96,"hex_timestamp":"000001a08a336090"} 
[2026-09-10 12:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990399232001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990399232001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990399232001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":176244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:55:04] local.INFO: GPS data processed {"connection_id":176244,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:55:04] local.INFO: Acknowledgment sent {"connection_id":176244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:55:16] local.INFO: TCP Data received {"connection_id":179038,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3237b0012c71750008552bc0000b00832b..."} 
[2026-09-10 12:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3237b0012c71750008552bc0000b00832b..."} 
[2026-09-10 12:55:16] local.INFO: Processing buffer {"connection_id":179038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3237b0012c71750008552bc0000b00832b..."} 
[2026-09-10 12:55:16] local.INFO: Packet analysis {"connection_id":179038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:55:16] local.INFO: Extracted packet for processing {"connection_id":179038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":745633024,"raw_latitude":139799488,"longitude_deg":74.5633024,"latitude_deg":13.9799488,"altitude":11,"angle":131,"satellites":43,"speed":0,"hex_longitude":"2c717500","hex_latitude":"08552bc0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990379776001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8157496704587915264,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789024942000,"timestamp_ms":1789024942000,"timestamp_seconds":1789024942,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3237b0"} 
[2026-09-10 12:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 12:55:16] 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-09-10 12: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-09-10 12:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990379776001,"66":28234,"146":206,"9":56064,"24":0,"16":3893920429768704,"44":8157496704587915264},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,9,24,16,44]} 
[2026-09-10 12:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990379776001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:55:16] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 12:55:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:55:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8157496704587915264,"description":"Unknown IO ID 44"} 
[2026-09-10 12:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990379776001,"power":28234,"unknown_146":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8157496704587915264}} 
[2026-09-10 12:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":179038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:55:16] local.INFO: GPS data processed {"connection_id":179038,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:55:16] local.INFO: Acknowledgment sent {"connection_id":179038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:55:20] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:55:20] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:55:20] local.INFO: IMEI packet received {"connection_id":177664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":177664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:55:24] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:55:24] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:55:24] local.INFO: IMEI packet received {"connection_id":177664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":177664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:55:25] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a33fcd0012cb4704007756a48002b01272c..."} 
[2026-09-10 12:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a33fcd0012cb4704007756a48002b01272c..."} 
[2026-09-10 12:55:25] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a33fcd0012cb4704007756a48002b01272c..."} 
[2026-09-10 12:55:25] local.INFO: Packet analysis {"connection_id":177664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:25] local.INFO: Extracted packet for processing {"connection_id":177664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:25] local.INFO: GPS Element Parsed {"raw_longitude":750022720,"raw_latitude":125135432,"longitude_deg":75.002272,"latitude_deg":12.5135432,"altitude":43,"angle":295,"satellites":44,"speed":56,"hex_longitude":"2cb47040","hex_latitude":"07756a48","is_valid_coordinates":true} 
[2026-09-10 12:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990413312001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404072984223940608,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5436689143132905472,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025058000,"timestamp_ms":1789025058000,"timestamp_seconds":1789025058,"priority":1,"record_length":96,"hex_timestamp":"000001a08a33fcd0"} 
[2026-09-10 12:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-10 12:55:25] 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-09-10 12:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990413312001,"66":27821,"145":206,"85":36608,"24":56,"16":404072984223940608,"44":-5436689143132905472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-10 12:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990413312001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:55:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404072984223940608,"km_value":404072984223940.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5436689143132905472,"description":"Unknown IO ID 44"} 
[2026-09-10 12:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990413312001,"power":27821,"unknown_145":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-5436689143132905472}} 
[2026-09-10 12:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":177664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:55:25] local.INFO: GPS data processed {"connection_id":177664,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:55:25] local.INFO: Acknowledgment sent {"connection_id":177664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:55:32] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:55:32] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:55:32] local.INFO: IMEI packet received {"connection_id":176486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":176486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:55:37] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:55:37] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:55:37] local.INFO: IMEI packet received {"connection_id":176486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":176486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:55:38] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a33b298012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a33b298012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:55:38] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a33b298012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:55:38] local.INFO: Packet analysis {"connection_id":176486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:38] local.INFO: Extracted packet for processing {"connection_id":176486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990404608001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789025039000,"timestamp_ms":1789025039000,"timestamp_seconds":1789025039,"priority":1,"record_length":96,"hex_timestamp":"000001a08a33b298"} 
[2026-09-10 12:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:55: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-09-10 12:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990404608001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990404608001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:55:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990404608001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:55:38] local.INFO: TCP Data received {"connection_id":176245,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:55:38] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:55:38] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":176486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:55:38] local.INFO: GPS data processed {"connection_id":176486,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:55:38] local.INFO: Acknowledgment sent {"connection_id":176486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:55:41] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3404a0012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3404a0012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:55:41] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3404a0012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:55:41] local.INFO: Packet analysis {"connection_id":176486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:55:41] local.INFO: Extracted packet for processing {"connection_id":176486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990409984001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789025060000,"timestamp_ms":1789025060000,"timestamp_seconds":1789025060,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3404a0"} 
[2026-09-10 12:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990409984001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990409984001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:55:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990409984001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":176486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:55:41] local.INFO: GPS data processed {"connection_id":176486,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:55:41] local.INFO: Acknowledgment sent {"connection_id":176486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:55:43] local.INFO: TCP Data received {"connection_id":176245,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:55:43] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:55:43] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:55:45] local.INFO: TCP Data received {"connection_id":176245,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3316580100000000000000000000000000..."} 
[2026-09-10 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3316580100000000000000000000000000..."} 
[2026-09-10 12:55:45] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3316580100000000000000000000000000..."} 
[2026-09-10 12:55:45] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:45] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:55:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990385152001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8175440734349672448,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789024999000,"timestamp_ms":1789024999000,"timestamp_seconds":1789024999,"priority":1,"record_length":96,"hex_timestamp":"000001a08a331658"} 
[2026-09-10 12:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 12:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:55:45] local.INFO: GPS data processed {"connection_id":176245,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:55:45] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:55:56] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a340c70012cb45bc0077571e8002b011b2b..."} 
[2026-09-10 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a340c70012cb45bc0077571e8002b011b2b..."} 
[2026-09-10 12:55:56] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a340c70012cb45bc0077571e8002b011b2b..."} 
[2026-09-10 12:55:56] local.INFO: Packet analysis {"connection_id":177664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:55:56] local.INFO: Extracted packet for processing {"connection_id":177664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":750017472,"raw_latitude":125137384,"longitude_deg":75.0017472,"latitude_deg":12.5137384,"altitude":43,"angle":283,"satellites":43,"speed":55,"hex_longitude":"2cb45bc0","hex_latitude":"077571e8","is_valid_coordinates":true} 
[2026-09-10 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990414848001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404073250511912960,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5444781548712081408,"note":"Value kept but may cause issues"} 
[2026-09-10 12:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025062000,"timestamp_ms":1789025062000,"timestamp_seconds":1789025062,"priority":1,"record_length":96,"hex_timestamp":"000001a08a340c70"} 
[2026-09-10 12:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990414848001,"66":27843,"145":206,"85":36608,"24":55,"16":404073250511912960,"44":-5444781548712081408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-10 12:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990414848001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:55:56] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404073250511912960,"km_value":404073250511912.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5444781548712081408,"description":"Unknown IO ID 44"} 
[2026-09-10 12:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990414848001,"power":27843,"unknown_145":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-5444781548712081408}} 
[2026-09-10 12:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":177664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:55:56] local.INFO: GPS data processed {"connection_id":177664,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:55:56] local.INFO: Acknowledgment sent {"connection_id":177664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:56:12] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3456a8012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3456a8012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:56:12] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3456a8012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:56:12] local.INFO: Packet analysis {"connection_id":176486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:12] local.INFO: Extracted packet for processing {"connection_id":176486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990415360001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789025081000,"timestamp_ms":1789025081000,"timestamp_seconds":1789025081,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3456a8"} 
[2026-09-10 12:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990415360001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990415360001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:56:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990415360001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":176486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:56:12] local.INFO: GPS data processed {"connection_id":176486,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:56:12] local.INFO: Acknowledgment sent {"connection_id":176486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:56:16] local.INFO: TCP Data received {"connection_id":176245,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a32b0c8012c7201400854c3b0000e00742b..."} 
[2026-09-10 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a32b0c8012c7201400854c3b0000e00742b..."} 
[2026-09-10 12:56:16] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a32b0c8012c7201400854c3b0000e00742b..."} 
[2026-09-10 12:56:16] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:56:16] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a32"} 
[2026-09-10 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":745668928,"raw_latitude":139772848,"longitude_deg":74.5668928,"latitude_deg":13.9772848,"altitude":14,"angle":116,"satellites":43,"speed":49,"hex_longitude":"2c720140","hex_latitude":"0854c3b0","is_valid_coordinates":true} 
[2026-09-10 12:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,146,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 12:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789024973000,"timestamp_ms":1789024973000,"timestamp_seconds":1789024973,"priority":1,"record_length":96,"hex_timestamp":"000001a08a32b0c8"} 
[2026-09-10 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-09-10 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 12:56:16] 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-09-10 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-09-10 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-09-10 12:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28191,"146":206,"9":56064,"24":49,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,9,24,16]} 
[2026-09-10 12:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 12:56:16] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 12:56:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:56:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28191,"unknown_146":206,"unknown_9":56064,"ignition":49,"odometer":null}} 
[2026-09-10 12:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:56:16] local.INFO: GPS data processed {"connection_id":176245,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:56:16] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:56:19] local.INFO: TCP Data received {"connection_id":179039,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:19] local.INFO: Processing buffer {"connection_id":179039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:19] local.INFO: IMEI packet received {"connection_id":179039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":179039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:56:20] local.INFO: TCP Data received {"connection_id":179039,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:20] local.INFO: Processing buffer {"connection_id":179039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:20] local.INFO: IMEI packet received {"connection_id":179039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":179039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:56:24] local.INFO: TCP Data received {"connection_id":179039,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:24] local.INFO: Processing buffer {"connection_id":179039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:56:24] local.INFO: IMEI packet received {"connection_id":179039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":179039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:56:25] local.INFO: TCP Data received {"connection_id":179039,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a341c10012cb4460007757480002a010e2b..."} 
[2026-09-10 12:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a341c10012cb4460007757480002a010e2b..."} 
[2026-09-10 12:56:25] local.INFO: Processing buffer {"connection_id":179039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a341c10012cb4460007757480002a010e2b..."} 
[2026-09-10 12:56:25] local.INFO: Packet analysis {"connection_id":179039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:25] local.INFO: Extracted packet for processing {"connection_id":179039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:25] local.INFO: GPS Element Parsed {"raw_longitude":750011904,"raw_latitude":125138048,"longitude_deg":75.0011904,"latitude_deg":12.5138048,"altitude":42,"angle":270,"satellites":43,"speed":53,"hex_longitude":"2cb44600","hex_latitude":"07757480","is_valid_coordinates":true} 
[2026-09-10 12:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990415872001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404073516799885312,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5450551785734150144,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025066000,"timestamp_ms":1789025066000,"timestamp_seconds":1789025066,"priority":1,"record_length":96,"hex_timestamp":"000001a08a341c10"} 
[2026-09-10 12:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 12:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990415872001,"66":27691,"145":206,"85":36608,"24":53,"16":404073516799885312,"44":-5450551785734150144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-10 12:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990415872001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:56:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 12:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404073516799885312,"km_value":404073516799885.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5450551785734150144,"description":"Unknown IO ID 44"} 
[2026-09-10 12:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990415872001,"power":27691,"unknown_145":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-5450551785734150144}} 
[2026-09-10 12:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":179039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:56:25] local.INFO: GPS data processed {"connection_id":179039,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:56:25] local.INFO: Acknowledgment sent {"connection_id":179039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:56:27] local.INFO: TCP Data received {"connection_id":179040,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:56:27] local.INFO: Processing buffer {"connection_id":179040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:56:27] local.INFO: IMEI packet received {"connection_id":179040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":179040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:56:32] local.INFO: TCP Data received {"connection_id":179040,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:56:32] local.INFO: Processing buffer {"connection_id":179040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:56:32] local.INFO: IMEI packet received {"connection_id":179040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":179040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:56:33] local.INFO: TCP Data received {"connection_id":179040,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a34a8b0012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a34a8b0012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:56:33] local.INFO: Processing buffer {"connection_id":179040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a34a8b0012d1a8c40071fade00038009e26..."} 
[2026-09-10 12:56:33] local.INFO: Packet analysis {"connection_id":179040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:33] local.INFO: Extracted packet for processing {"connection_id":179040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990420736001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025102000,"timestamp_ms":1789025102000,"timestamp_seconds":1789025102,"priority":1,"record_length":96,"hex_timestamp":"000001a08a34a8b0"} 
[2026-09-10 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-09-10 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990420736001,"66":12428,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990420736001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:56:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990420736001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":179040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:56:33] local.INFO: GPS data processed {"connection_id":179040,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:56:33] local.INFO: Acknowledgment sent {"connection_id":179040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:56:44] local.INFO: TCP Data received {"connection_id":176246,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:56:44] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:56:44] local.INFO: IMEI packet received {"connection_id":176246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:56:48] local.INFO: TCP Data received {"connection_id":176246,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:56:48] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:56:48] local.INFO: IMEI packet received {"connection_id":176246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":176246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:56:50] local.INFO: TCP Data received {"connection_id":176246,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3302d0012c724a400854a9b00013006c2a..."} 
[2026-09-10 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3302d0012c724a400854a9b00013006c2a..."} 
[2026-09-10 12:56:50] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3302d0012c724a400854a9b00013006c2a..."} 
[2026-09-10 12:56:50] local.INFO: Packet analysis {"connection_id":176246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:56:50] local.INFO: Extracted packet for processing {"connection_id":176246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":745687616,"raw_latitude":139766192,"longitude_deg":74.5687616,"latitude_deg":13.9766192,"altitude":19,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2c724a40","hex_latitude":"0854a9b0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990393088001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8214917599826522112,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789024994000,"timestamp_ms":1789024994000,"timestamp_seconds":1789024994,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3302d0"} 
[2026-09-10 12:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:56: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-09-10 12: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 12:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990393088001,"66":28202,"146":206,"9":56064,"24":0,"16":3893920429768704,"44":8214917599826522112},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,9,24,16,44]} 
[2026-09-10 12:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990393088001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:56:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 12:56:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8214917599826522112,"description":"Unknown IO ID 44"} 
[2026-09-10 12:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990393088001,"power":28202,"unknown_146":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8214917599826522112}} 
[2026-09-10 12:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":176246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793923,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:56:50] local.INFO: GPS data processed {"connection_id":176246,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:56:50] local.INFO: Acknowledgment sent {"connection_id":176246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:56:54] local.INFO: TCP Data received {"connection_id":176246,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a333d68012c728440085486f0001700832b..."} 
[2026-09-10 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a333d68012c728440085486f0001700832b..."} 
[2026-09-10 12:56:54] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a333d68012c728440085486f0001700832b..."} 
[2026-09-10 12:56:54] local.INFO: Packet analysis {"connection_id":176246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:56:54] local.INFO: Extracted packet for processing {"connection_id":176246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":745702464,"raw_latitude":139757296,"longitude_deg":74.5702464,"latitude_deg":13.9757296,"altitude":23,"angle":131,"satellites":43,"speed":38,"hex_longitude":"2c728440","hex_latitude":"085486f0","is_valid_coordinates":true} 
[2026-09-10 12:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990398464001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8235465273124696064,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789025009000,"timestamp_ms":1789025009000,"timestamp_seconds":1789025009,"priority":1,"record_length":96,"hex_timestamp":"000001a08a333d68"} 
[2026-09-10 12:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 12:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990398464001,"66":28104,"137":206,"9":56064,"24":38,"16":3893920429768704,"44":8235465273124696064},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-10 12:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990398464001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:56:54] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 12:56:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8235465273124696064,"description":"Unknown IO ID 44"} 
[2026-09-10 12:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990398464001,"power":28104,"unknown_137":206,"unknown_9":56064,"ignition":38,"odometer":null,"unknown_44":8235465273124696064}} 
[2026-09-10 12:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":176246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:56:54] local.INFO: GPS data processed {"connection_id":176246,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:56:54] local.INFO: Acknowledgment sent {"connection_id":176246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:56:56] local.INFO: TCP Data received {"connection_id":179039,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a342f98012cb42d40077571f0002901012c..."} 
[2026-09-10 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a342f98012cb42d40077571f0002901012c..."} 
[2026-09-10 12:56:56] local.INFO: Processing buffer {"connection_id":179039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a342f98012cb42d40077571f0002901012c..."} 
[2026-09-10 12:56:56] local.INFO: Packet analysis {"connection_id":179039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:56] local.INFO: Extracted packet for processing {"connection_id":179039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:56:56] local.INFO: GPS Element Parsed {"raw_longitude":750005568,"raw_latitude":125137392,"longitude_deg":75.0005568,"latitude_deg":12.5137392,"altitude":41,"angle":257,"satellites":44,"speed":47,"hex_longitude":"2cb42d40","hex_latitude":"077571f0","is_valid_coordinates":true} 
[2026-09-10 12:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990416896001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404073821742563328,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5456673866477436928,"note":"Value kept but may cause issues"} 
[2026-09-10 12:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025071000,"timestamp_ms":1789025071000,"timestamp_seconds":1789025071,"priority":1,"record_length":96,"hex_timestamp":"000001a08a342f98"} 
[2026-09-10 12:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 12:56:56] 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-09-10 12:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990416896001,"66":27745,"223":206,"85":36608,"24":47,"16":404073821742563328,"44":-5456673866477436928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-09-10 12:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990416896001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:56:56] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-10 12:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404073821742563328,"km_value":404073821742563.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5456673866477436928,"description":"Unknown IO ID 44"} 
[2026-09-10 12:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990416896001,"power":27745,"unknown_223":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-5456673866477436928}} 
[2026-09-10 12:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":179039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:56:56] local.INFO: GPS data processed {"connection_id":179039,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:56:56] local.INFO: Acknowledgment sent {"connection_id":179039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:57:04] local.INFO: TCP Data received {"connection_id":179040,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a34fab8012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a34fab8012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:57:04] local.INFO: Processing buffer {"connection_id":179040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a34fab8012d1a8c40071fade00038009e24..."} 
[2026-09-10 12:57:04] local.INFO: Packet analysis {"connection_id":179040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:57:04] local.INFO: Extracted packet for processing {"connection_id":179040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990426112001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025123000,"timestamp_ms":1789025123000,"timestamp_seconds":1789025123,"priority":1,"record_length":96,"hex_timestamp":"000001a08a34fab8"} 
[2026-09-10 12:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 12:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990426112001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990426112001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:57:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990426112001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":179040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:57:05] local.INFO: GPS data processed {"connection_id":179040,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:57:05] local.INFO: Acknowledgment sent {"connection_id":179040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:57:24] local.INFO: TCP Data received {"connection_id":177665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:24] local.INFO: Processing buffer {"connection_id":177665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:24] local.INFO: IMEI packet received {"connection_id":177665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":177665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:57:25] local.INFO: TCP Data received {"connection_id":176487,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:25] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:25] local.INFO: IMEI packet received {"connection_id":176487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":176487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:57:28] local.INFO: TCP Data received {"connection_id":176487,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:28] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:28] local.INFO: IMEI packet received {"connection_id":176487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":176487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:57:32] local.INFO: TCP Data received {"connection_id":176487,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:32] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:57:32] local.INFO: IMEI packet received {"connection_id":176487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":176487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:57:33] local.INFO: TCP Data received {"connection_id":176487,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a354cc0012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a354cc0012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:57:33] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a354cc0012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:57:33] local.INFO: Packet analysis {"connection_id":176487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a35"} 
[2026-09-10 12:57:33] local.INFO: Extracted packet for processing {"connection_id":176487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a35"} 
[2026-09-10 12:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990431488001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025144000,"timestamp_ms":1789025144000,"timestamp_seconds":1789025144,"priority":1,"record_length":96,"hex_timestamp":"000001a08a354cc0"} 
[2026-09-10 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-09-10 12:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990431488001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990431488001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:57:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990431488001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":176487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:57:33] local.INFO: GPS data processed {"connection_id":176487,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:57:33] local.INFO: Acknowledgment sent {"connection_id":176487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:57:37] local.INFO: TCP Data received {"connection_id":177665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:37] local.INFO: Processing buffer {"connection_id":177665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:37] local.INFO: IMEI packet received {"connection_id":177665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":177665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:57:38] local.INFO: TCP Data received {"connection_id":177665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:38] local.INFO: Processing buffer {"connection_id":177665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:57:38] local.INFO: IMEI packet received {"connection_id":177665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":177665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:57:39] local.INFO: TCP Data received {"connection_id":177665,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a360c28012cb356c007746c68002600d620..."} 
[2026-09-10 12:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a360c28012cb356c007746c68002600d620..."} 
[2026-09-10 12:57:39] local.INFO: Processing buffer {"connection_id":177665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a360c28012cb356c007746c68002600d620..."} 
[2026-09-10 12:57:39] local.INFO: Packet analysis {"connection_id":177665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:57:39] local.INFO: Extracted packet for processing {"connection_id":177665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:57:39] local.INFO: GPS Element Parsed {"raw_longitude":749950656,"raw_latitude":125070440,"longitude_deg":74.9950656,"latitude_deg":12.507044,"altitude":38,"angle":214,"satellites":32,"speed":22,"hex_longitude":"2cb356c0","hex_latitude":"07746c68","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990444800001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404078069465219072,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519724261275803648,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789025193000,"timestamp_ms":1789025193000,"timestamp_seconds":1789025193,"priority":1,"record_length":96,"hex_timestamp":"000001a08a360c28"} 
[2026-09-10 12:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":4,"data_length":795,"current_offset":136} 
[2026-09-10 12:57: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-09-10 12: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-09-10 12:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990444800001,"66":27865,"88":206,"85":36608,"24":22,"16":404078069465219072,"44":-5519724261275803648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 12:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990444800001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:57:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 12:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404078069465219072,"km_value":404078069465219.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:57:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5519724261275803648,"description":"Unknown IO ID 44"} 
[2026-09-10 12:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990444800001,"power":27865,"unknown_88":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-5519724261275803648}} 
[2026-09-10 12:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":177665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:57:39] local.INFO: GPS data processed {"connection_id":177665,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:57:39] local.INFO: Acknowledgment sent {"connection_id":177665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:57:39] local.INFO: TCP Data received {"connection_id":176247,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:39] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:39] local.INFO: IMEI packet received {"connection_id":176247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":176247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:57:40] local.INFO: TCP Data received {"connection_id":177665,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a362398012cb34d40077461d0002800e323..."} 
[2026-09-10 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a362398012cb34d40077461d0002800e323..."} 
[2026-09-10 12:57:40] local.INFO: Processing buffer {"connection_id":177665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a362398012cb34d40077461d0002800e323..."} 
[2026-09-10 12:57:40] local.INFO: Packet analysis {"connection_id":177665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:57:40] local.INFO: Extracted packet for processing {"connection_id":177665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749948224,"raw_latitude":125067728,"longitude_deg":74.9948224,"latitude_deg":12.5067728,"altitude":40,"angle":227,"satellites":35,"speed":25,"hex_longitude":"2cb34d40","hex_latitude":"077461d0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990449408001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404078245558878208,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5524016754672769024,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789025199000,"timestamp_ms":1789025199000,"timestamp_seconds":1789025199,"priority":1,"record_length":96,"hex_timestamp":"000001a08a362398"} 
[2026-09-10 12:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 12:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990449408001,"66":27800,"88":206,"85":36608,"24":25,"16":404078245558878208,"44":-5524016754672769024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 12:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990449408001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:57:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 12:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404078245558878208,"km_value":404078245558878.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5524016754672769024,"description":"Unknown IO ID 44"} 
[2026-09-10 12:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990449408001,"power":27800,"unknown_88":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5524016754672769024}} 
[2026-09-10 12:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":177665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:57:40] local.INFO: GPS data processed {"connection_id":177665,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:57:40] local.INFO: Acknowledgment sent {"connection_id":177665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:57:40] local.INFO: TCP Data received {"connection_id":176247,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:40] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:40] local.INFO: IMEI packet received {"connection_id":176247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":176247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:57:43] local.INFO: TCP Data received {"connection_id":176247,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:43] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:57:43] local.INFO: IMEI packet received {"connection_id":176247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:57:45] local.INFO: TCP Data received {"connection_id":176247,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3387a0012c72bb80085453700017008f2d..."} 
[2026-09-10 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3387a0012c72bb80085453700017008f2d..."} 
[2026-09-10 12:57:45] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3387a0012c72bb80085453700017008f2d..."} 
[2026-09-10 12:57:45] local.INFO: Packet analysis {"connection_id":176247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:57:45] local.INFO: Extracted packet for processing {"connection_id":176247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":745716608,"raw_latitude":139744112,"longitude_deg":74.5716608,"latitude_deg":13.9744112,"altitude":23,"angle":143,"satellites":45,"speed":45,"hex_longitude":"2c72bb80","hex_latitude":"08545370","is_valid_coordinates":true} 
[2026-09-10 12:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990402304001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8251790821771636736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789025028000,"timestamp_ms":1789025028000,"timestamp_seconds":1789025028,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3387a0"} 
[2026-09-10 12:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 12:57:45] 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-09-10 12:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990402304001,"66":28278,"137":206,"9":56064,"24":45,"16":3893920429768704,"44":8251790821771636736},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-10 12:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990402304001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:57:45] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 12:57:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8251790821771636736,"description":"Unknown IO ID 44"} 
[2026-09-10 12:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990402304001,"power":28278,"unknown_137":206,"unknown_9":56064,"ignition":45,"odometer":null,"unknown_44":8251790821771636736}} 
[2026-09-10 12:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":176247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:57:45] local.INFO: GPS data processed {"connection_id":176247,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:57:45] local.INFO: Acknowledgment sent {"connection_id":176247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:57:49] local.INFO: TCP Data received {"connection_id":176247,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a33d9a8012c72ea00085415900014008f2d..."} 
[2026-09-10 12:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a33d9a8012c72ea00085415900014008f2d..."} 
[2026-09-10 12:57:49] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a33d9a8012c72ea00085415900014008f2d..."} 
[2026-09-10 12:57:49] local.INFO: Packet analysis {"connection_id":176247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:57:49] local.INFO: Extracted packet for processing {"connection_id":176247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a33"} 
[2026-09-10 12:57:49] local.INFO: GPS Element Parsed {"raw_longitude":745728512,"raw_latitude":139728272,"longitude_deg":74.5728512,"latitude_deg":13.9728272,"altitude":20,"angle":143,"satellites":45,"speed":0,"hex_longitude":"2c72ea00","hex_latitude":"08541590","is_valid_coordinates":true} 
[2026-09-10 12:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990407168001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8267342314231525376,"note":"Value kept but may cause issues"} 
[2026-09-10 12:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789025049000,"timestamp_ms":1789025049000,"timestamp_seconds":1789025049,"priority":1,"record_length":96,"hex_timestamp":"000001a08a33d9a8"} 
[2026-09-10 12:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 12:57:49] 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-09-10 12:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990407168001,"66":28071,"137":206,"9":56064,"24":0,"16":3893920429768704,"44":8267342314231525376},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-10 12:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990407168001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:57:49] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 12:57:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":8267342314231525376,"description":"Unknown IO ID 44"} 
[2026-09-10 12:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990407168001,"power":28071,"unknown_137":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8267342314231525376}} 
[2026-09-10 12:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":176247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:57:49] local.INFO: GPS data processed {"connection_id":176247,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:57:49] local.INFO: Acknowledgment sent {"connection_id":176247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:58:04] local.INFO: TCP Data received {"connection_id":176487,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a359ec8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a359ec8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:58:04] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a359ec8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:58:04] local.INFO: Packet analysis {"connection_id":176487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a35"} 
[2026-09-10 12:58:04] local.INFO: Extracted packet for processing {"connection_id":176487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a35"} 
[2026-09-10 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990436864001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025165000,"timestamp_ms":1789025165000,"timestamp_seconds":1789025165,"priority":1,"record_length":96,"hex_timestamp":"000001a08a359ec8"} 
[2026-09-10 12:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990436864001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990436864001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:58:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990436864001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":176487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:58:04] local.INFO: GPS data processed {"connection_id":176487,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:58:04] local.INFO: Acknowledgment sent {"connection_id":176487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:58:21] local.INFO: TCP Data received {"connection_id":176247,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a342bb0012c72ea00085415900014008f2d..."} 
[2026-09-10 12:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a342bb0012c72ea00085415900014008f2d..."} 
[2026-09-10 12:58:21] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a342bb0012c72ea00085415900014008f2d..."} 
[2026-09-10 12:58:21] local.INFO: Packet analysis {"connection_id":176247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:58:21] local.INFO: Extracted packet for processing {"connection_id":176247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:58:21] local.INFO: GPS Element Parsed {"raw_longitude":745728512,"raw_latitude":139728272,"longitude_deg":74.5728512,"latitude_deg":13.9728272,"altitude":20,"angle":143,"satellites":45,"speed":0,"hex_longitude":"2c72ea00","hex_latitude":"08541590","is_valid_coordinates":true} 
[2026-09-10 12:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990412544001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8280430900644515840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789025070000,"timestamp_ms":1789025070000,"timestamp_seconds":1789025070,"priority":1,"record_length":96,"hex_timestamp":"000001a08a342bb0"} 
[2026-09-10 12:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 12:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990412544001,"66":28300,"137":206,"9":56064,"24":0,"16":3893920429768704,"44":8280430900644515840},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-10 12:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990412544001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:58:21] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 12:58:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":8280430900644515840,"description":"Unknown IO ID 44"} 
[2026-09-10 12:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990412544001,"power":28300,"unknown_137":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8280430900644515840}} 
[2026-09-10 12:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":176247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:58:21] local.INFO: GPS data processed {"connection_id":176247,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:58:21] local.INFO: Acknowledgment sent {"connection_id":176247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:58:24] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:58:24] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:58:24] local.INFO: IMEI packet received {"connection_id":177666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":177666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:58:27] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:58:27] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:58:27] local.INFO: IMEI packet received {"connection_id":177666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":177666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:58:27] local.INFO: TCP Data received {"connection_id":179041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:27] local.INFO: Processing buffer {"connection_id":179041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:27] local.INFO: IMEI packet received {"connection_id":179041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":179041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:58:28] local.INFO: TCP Data received {"connection_id":179041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:28] local.INFO: Processing buffer {"connection_id":179041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:28] local.INFO: IMEI packet received {"connection_id":179041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":179041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:58:28] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a364e90012cb3340007744f30002800ef22..."} 
[2026-09-10 12:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a364e90012cb3340007744f30002800ef22..."} 
[2026-09-10 12:58:28] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a364e90012cb3340007744f30002800ef22..."} 
[2026-09-10 12:58:28] local.INFO: Packet analysis {"connection_id":177666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:58:28] local.INFO: Extracted packet for processing {"connection_id":177666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:58:28] local.INFO: GPS Element Parsed {"raw_longitude":749941760,"raw_latitude":125062960,"longitude_deg":74.994176,"latitude_deg":12.506296,"altitude":40,"angle":239,"satellites":34,"speed":32,"hex_longitude":"2cb33400","hex_latitude":"07744f30","is_valid_coordinates":true} 
[2026-09-10 12:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990450944001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404078627810967552,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5526690766952214528,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789025210000,"timestamp_ms":1789025210000,"timestamp_seconds":1789025210,"priority":1,"record_length":96,"hex_timestamp":"000001a08a364e90"} 
[2026-09-10 12:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990450944001,"66":27832,"88":206,"85":36608,"24":32,"16":404078627810967552,"44":-5526690766952214528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 12:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990450944001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:58:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 12:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404078627810967552,"km_value":404078627810967.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5526690766952214528,"description":"Unknown IO ID 44"} 
[2026-09-10 12:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990450944001,"power":27832,"unknown_88":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5526690766952214528}} 
[2026-09-10 12:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":177666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:58:28] local.INFO: GPS data processed {"connection_id":177666,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:58:28] local.INFO: Acknowledgment sent {"connection_id":177666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:58:29] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a366600012cb3204007744680002300fc28..."} 
[2026-09-10 12:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a366600012cb3204007744680002300fc28..."} 
[2026-09-10 12:58:29] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a366600012cb3204007744680002300fc28..."} 
[2026-09-10 12:58:29] local.INFO: Packet analysis {"connection_id":177666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:58:29] local.INFO: Extracted packet for processing {"connection_id":177666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:58:29] local.INFO: GPS Element Parsed {"raw_longitude":749936704,"raw_latitude":125060736,"longitude_deg":74.9936704,"latitude_deg":12.5060736,"altitude":35,"angle":252,"satellites":40,"speed":37,"hex_longitude":"2cb32040","hex_latitude":"07744680","is_valid_coordinates":true} 
[2026-09-10 12:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990453760001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404078894098939904,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533798010115379200,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789025216000,"timestamp_ms":1789025216000,"timestamp_seconds":1789025216,"priority":1,"record_length":96,"hex_timestamp":"000001a08a366600"} 
[2026-09-10 12:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:58: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-09-10 12:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 12:58:29] 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-09-10 12:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990453760001,"66":27767,"88":206,"85":36608,"24":37,"16":404078894098939904,"44":-5533798010115379200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 12:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990453760001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:58:29] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 12:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404078894098939904,"km_value":404078894098939.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533798010115379200,"description":"Unknown IO ID 44"} 
[2026-09-10 12:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990453760001,"power":27767,"unknown_88":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-5533798010115379200}} 
[2026-09-10 12:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":177666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:58:29] local.INFO: GPS data processed {"connection_id":177666,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:58:29] local.INFO: Acknowledgment sent {"connection_id":177666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:58:32] local.INFO: TCP Data received {"connection_id":179041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:32] local.INFO: Processing buffer {"connection_id":179041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:58:32] local.INFO: IMEI packet received {"connection_id":179041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":179041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:58:33] local.INFO: TCP Data received {"connection_id":179041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a35f0d0012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a35f0d0012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:58:33] local.INFO: Processing buffer {"connection_id":179041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a35f0d0012d1a8c40071fade00038009e28..."} 
[2026-09-10 12:58:33] local.INFO: Packet analysis {"connection_id":179041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a35"} 
[2026-09-10 12:58:33] local.INFO: Extracted packet for processing {"connection_id":179041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a35"} 
[2026-09-10 12:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990442240001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025186000,"timestamp_ms":1789025186000,"timestamp_seconds":1789025186,"priority":1,"record_length":96,"hex_timestamp":"000001a08a35f0d0"} 
[2026-09-10 12:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12: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-09-10 12:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990442240001,"66":12504,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990442240001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:58:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990442240001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":179041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:58:33] local.INFO: GPS data processed {"connection_id":179041,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:58:33] local.INFO: Acknowledgment sent {"connection_id":179041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:58:38] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:38] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:38] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:58:41] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:41] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:41] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:58:43] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:43] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:58:43] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:58:45] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a347db8012c72ea00085415900014008f2d..."} 
[2026-09-10 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a347db8012c72ea00085415900014008f2d..."} 
[2026-09-10 12:58:45] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a347db8012c72ea00085415900014008f2d..."} 
[2026-09-10 12:58:45] local.INFO: Packet analysis {"connection_id":176488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:58:45] local.INFO: Extracted packet for processing {"connection_id":176488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":745728512,"raw_latitude":139728272,"longitude_deg":74.5728512,"latitude_deg":13.9728272,"altitude":20,"angle":143,"satellites":45,"speed":0,"hex_longitude":"2c72ea00","hex_latitude":"08541590","is_valid_coordinates":true} 
[2026-09-10 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990417920001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8280430900644515840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789025091000,"timestamp_ms":1789025091000,"timestamp_seconds":1789025091,"priority":1,"record_length":96,"hex_timestamp":"000001a08a347db8"} 
[2026-09-10 12:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 12:58:45] 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-09-10 12:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990417920001,"66":28050,"137":206,"9":56064,"24":0,"16":3893920429768704,"44":8280430900644515840},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-10 12:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990417920001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:58:45] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 12:58:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:58:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8280430900644515840,"description":"Unknown IO ID 44"} 
[2026-09-10 12:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990417920001,"power":28050,"unknown_137":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8280430900644515840}} 
[2026-09-10 12:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":176488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:58:45] local.INFO: GPS data processed {"connection_id":176488,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:58:45] local.INFO: Acknowledgment sent {"connection_id":176488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:04] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a375448012cb2490007748e08000e001224..."} 
[2026-09-10 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a375448012cb2490007748e08000e001224..."} 
[2026-09-10 12:59:04] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a375448012cb2490007748e08000e001224..."} 
[2026-09-10 12:59:04] local.INFO: Packet analysis {"connection_id":177666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:04] local.INFO: Extracted packet for processing {"connection_id":177666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":749881600,"raw_latitude":125079048,"longitude_deg":74.98816,"latitude_deg":12.5079048,"altitude":14,"angle":18,"satellites":36,"speed":11,"hex_longitude":"2cb24900","hex_latitude":"07748e08","is_valid_coordinates":true} 
[2026-09-10 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990470656001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404081758842126336,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5600014998382499840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025277000,"timestamp_ms":1789025277000,"timestamp_seconds":1789025277,"priority":1,"record_length":96,"hex_timestamp":"000001a08a375448"} 
[2026-09-10 12:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:59: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-09-10 12:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990470656001,"66":27800,"214":206,"85":36608,"24":11,"16":404081758842126336,"44":-5600014998382499840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990470656001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404081758842126336,"km_value":404081758842126.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5600014998382499840,"description":"Unknown IO ID 44"} 
[2026-09-10 12:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990470656001,"power":27800,"unknown_214":206,"unknown_85":36608,"ignition":11,"odometer":null,"unknown_44":-5600014998382499840}} 
[2026-09-10 12:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":177666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:59:04] local.INFO: GPS data processed {"connection_id":177666,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:59:04] local.INFO: Acknowledgment sent {"connection_id":177666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:04] local.INFO: TCP Data received {"connection_id":179041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3642d8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3642d8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:59:04] local.INFO: Processing buffer {"connection_id":179041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3642d8012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:59:04] local.INFO: Packet analysis {"connection_id":179041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:59:04] local.INFO: Extracted packet for processing {"connection_id":179041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990447616001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025207000,"timestamp_ms":1789025207000,"timestamp_seconds":1789025207,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3642d8"} 
[2026-09-10 12:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:59: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-09-10 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 12:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990447616001,"66":12461,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990447616001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990447616001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":179041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:59:04] local.INFO: GPS data processed {"connection_id":179041,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:59:04] local.INFO: Acknowledgment sent {"connection_id":179041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:16] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a34cfc0012c72ea00085415900014008f2d..."} 
[2026-09-10 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a34cfc0012c72ea00085415900014008f2d..."} 
[2026-09-10 12:59:16] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a34cfc0012c72ea00085415900014008f2d..."} 
[2026-09-10 12:59:16] local.INFO: Packet analysis {"connection_id":176488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:59:16] local.INFO: Extracted packet for processing {"connection_id":176488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a34"} 
[2026-09-10 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":745728512,"raw_latitude":139728272,"longitude_deg":74.5728512,"latitude_deg":13.9728272,"altitude":20,"angle":143,"satellites":45,"speed":0,"hex_longitude":"2c72ea00","hex_latitude":"08541590","is_valid_coordinates":true} 
[2026-09-10 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990423296001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8280430900644515840,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789025112000,"timestamp_ms":1789025112000,"timestamp_seconds":1789025112,"priority":1,"record_length":96,"hex_timestamp":"000001a08a34cfc0"} 
[2026-09-10 12:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 12:59:16] 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-09-10 12:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990423296001,"66":28354,"137":206,"9":56064,"24":0,"16":3893920429768704,"44":8280430900644515840},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-10 12:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990423296001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:59:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 12:59:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8280430900644515840,"description":"Unknown IO ID 44"} 
[2026-09-10 12:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990423296001,"power":28354,"unknown_137":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8280430900644515840}} 
[2026-09-10 12:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":176488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:59:17] local.INFO: GPS data processed {"connection_id":176488,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:59:17] local.INFO: Acknowledgment sent {"connection_id":176488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:17] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:17] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:17] local.INFO: IMEI packet received {"connection_id":176248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 12:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":176248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:59:19] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:19] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:19] local.INFO: IMEI packet received {"connection_id":176248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":176248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:59:24] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:24] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 12:59:24] local.INFO: IMEI packet received {"connection_id":176248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 12:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":176248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:59:25] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a375c18012cb24ac007749060000c002425..."} 
[2026-09-10 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a375c18012cb24ac007749060000c002425..."} 
[2026-09-10 12:59:25] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a375c18012cb24ac007749060000c002425..."} 
[2026-09-10 12:59:25] local.INFO: Packet analysis {"connection_id":176248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:25] local.INFO: Extracted packet for processing {"connection_id":176248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":749882048,"raw_latitude":125079648,"longitude_deg":74.9882048,"latitude_deg":12.5079648,"altitude":12,"angle":36,"satellites":37,"speed":15,"hex_longitude":"2cb24ac0","hex_latitude":"07749060","is_valid_coordinates":true} 
[2026-09-10 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-09-10 12:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990470912001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404081793201864704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599944629638264832,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025279000,"timestamp_ms":1789025279000,"timestamp_seconds":1789025279,"priority":1,"record_length":96,"hex_timestamp":"000001a08a375c18"} 
[2026-09-10 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-09-10 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 12:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 12:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990470912001,"66":27126,"214":206,"85":36608,"24":15,"16":404081793201864704,"44":-5599944629638264832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 12:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990470912001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:59:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 12:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404081793201864704,"km_value":404081793201864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599944629638264832,"description":"Unknown IO ID 44"} 
[2026-09-10 12:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990470912001,"power":27126,"unknown_214":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-5599944629638264832}} 
[2026-09-10 12:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":176248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:59:25] local.INFO: GPS data processed {"connection_id":176248,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:59:25] local.INFO: Acknowledgment sent {"connection_id":176248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:27] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:59:27] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:59:27] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 12:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:59:31] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:59:31] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 12:59:31] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 12:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:59:32] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3694e0012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3694e0012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:59:32] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3694e0012d1a8c40071fade00038009e27..."} 
[2026-09-10 12:59:32] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:59:32] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 12:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990452992001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789025228000,"timestamp_ms":1789025228000,"timestamp_seconds":1789025228,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3694e0"} 
[2026-09-10 12:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 12:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 12:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 12:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 12:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990452992001,"66":12406,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 12:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 12:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 12:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990452992001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:59:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 12:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 12:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 12:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990452992001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 12:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:59:32] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:59:32] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:44] local.INFO: TCP Data received {"connection_id":179042,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:59:44] local.INFO: Processing buffer {"connection_id":179042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:59:44] local.INFO: IMEI packet received {"connection_id":179042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 12:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":179042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 12:59:48] local.INFO: TCP Data received {"connection_id":179042,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:59:48] local.INFO: Processing buffer {"connection_id":179042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 12:59:48] local.INFO: IMEI packet received {"connection_id":179042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 12:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":179042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 12:59:50] local.INFO: TCP Data received {"connection_id":179042,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a37bdc0012c7365c00852ce00001500912b..."} 
[2026-09-10 12:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a37bdc0012c7365c00852ce00001500912b..."} 
[2026-09-10 12:59:50] local.INFO: Processing buffer {"connection_id":179042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a37bdc0012c7365c00852ce00001500912b..."} 
[2026-09-10 12:59:50] local.INFO: Packet analysis {"connection_id":179042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:50] local.INFO: Extracted packet for processing {"connection_id":179042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:50] local.INFO: GPS Element Parsed {"raw_longitude":745760192,"raw_latitude":139644416,"longitude_deg":74.5760192,"latitude_deg":13.9644416,"altitude":21,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2c7365c0","hex_latitude":"0852ce00","is_valid_coordinates":true} 
[2026-09-10 12: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-09-10 12:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990472448001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8302174842578841600,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789025304000,"timestamp_ms":1789025304000,"timestamp_seconds":1789025304,"priority":1,"record_length":96,"hex_timestamp":"000001a08a37bdc0"} 
[2026-09-10 12:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:59: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-09-10 12: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 12:59:50] 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-09-10 12:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":179042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":179042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":179042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990472448001,"66":28137,"135":206,"9":56064,"24":0,"16":3893920429768704,"44":8302174842578841600},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-10 12:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 12:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 12:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990472448001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:59:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 12:59:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 12:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8302174842578841600,"description":"Unknown IO ID 44"} 
[2026-09-10 12:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990472448001,"power":28137,"unknown_135":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8302174842578841600}} 
[2026-09-10 12:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":179042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:59:50] local.INFO: GPS data processed {"connection_id":179042,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:59:50] local.INFO: Acknowledgment sent {"connection_id":179042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:52] local.INFO: TCP Data received {"connection_id":179042,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a389c680100000000000000000000000000..."} 
[2026-09-10 12:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a389c680100000000000000000000000000..."} 
[2026-09-10 12:59:52] local.INFO: Processing buffer {"connection_id":179042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a389c680100000000000000000000000000..."} 
[2026-09-10 12:59:52] local.INFO: Packet analysis {"connection_id":179042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 12:59:52] local.INFO: Extracted packet for processing {"connection_id":179042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 12:59:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990477824001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8315263428990992384,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789025361000,"timestamp_ms":1789025361000,"timestamp_seconds":1789025361,"priority":1,"record_length":96,"hex_timestamp":"000001a08a389c68"} 
[2026-09-10 12:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:59: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-09-10 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 12:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":179042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":179042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":179042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 12:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 12:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 12:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":179042,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 12:59:52] local.INFO: GPS data processed {"connection_id":179042,"processed":0,"errors":0,"total":1} 
[2026-09-10 12:59:52] local.INFO: Acknowledgment sent {"connection_id":179042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 12:59:56] local.INFO: TCP Data received {"connection_id":176248,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a379a98012cb25f000774ae60001300212b..."} 
[2026-09-10 12:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a379a98012cb25f000774ae60001300212b..."} 
[2026-09-10 12:59:56] local.INFO: Processing buffer {"connection_id":176248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a379a98012cb25f000774ae60001300212b..."} 
[2026-09-10 12:59:56] local.INFO: Packet analysis {"connection_id":176248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:56] local.INFO: Extracted packet for processing {"connection_id":176248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":749887232,"raw_latitude":125087328,"longitude_deg":74.9887232,"latitude_deg":12.5087328,"altitude":19,"angle":33,"satellites":43,"speed":23,"hex_longitude":"2cb25f00","hex_latitude":"0774ae60","is_valid_coordinates":true} 
[2026-09-10 12:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 12:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990471424001,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404082239878463488,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599452048428867584,"note":"Value kept but may cause issues"} 
[2026-09-10 12:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 12:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025295000,"timestamp_ms":1789025295000,"timestamp_seconds":1789025295,"priority":1,"record_length":96,"hex_timestamp":"000001a08a379a98"} 
[2026-09-10 12:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 12: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 12:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 12:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 12:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 12:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 12:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 12:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 12:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 12:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 12:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 12:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990471424001,"66":27843,"214":206,"85":36608,"24":23,"16":404082239878463488,"44":-5599452048428867584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 12:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 12:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 12:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990471424001,"description":"Unknown IO ID 0"} 
[2026-09-10 12:59:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 12:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 12:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404082239878463488,"km_value":404082239878463.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 12:59:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599452048428867584,"description":"Unknown IO ID 44"} 
[2026-09-10 12:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990471424001,"power":27843,"unknown_214":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5599452048428867584}} 
[2026-09-10 12:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":176248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 12:59:56] local.INFO: GPS data processed {"connection_id":176248,"processed":1,"errors":0,"total":1} 
[2026-09-10 12:59:56] local.INFO: Acknowledgment sent {"connection_id":176248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:00:04] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a36e6e8012d1a8c40071fade00038009e26..."} 
[2026-09-10 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a36e6e8012d1a8c40071fade00038009e26..."} 
[2026-09-10 13:00:04] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a36e6e8012d1a8c40071fade00038009e26..."} 
[2026-09-10 13:00:04] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 13:00:04] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a36"} 
[2026-09-10 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516640,"longitude_deg":75.671456,"latitude_deg":11.951664,"altitude":56,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fade0","is_valid_coordinates":true} 
[2026-09-10 13:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990458368001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19179782050676736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066055680,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025249000,"timestamp_ms":1789025249000,"timestamp_seconds":1789025249,"priority":1,"record_length":96,"hex_timestamp":"000001a08a36e6e8"} 
[2026-09-10 13:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 13:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990458368001,"66":12461,"101":206,"83":41984,"24":0,"16":19179782050676736,"45":1912974341066055680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 13:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990458368001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:00:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 13:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19179782050676736,"km_value":19179782050676.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066055680,"description":"Unknown IO ID 45"} 
[2026-09-10 13:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990458368001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066055680}} 
[2026-09-10 13:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:00:04] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:00:04] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:00:19] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:00:19] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:00:19] local.INFO: IMEI packet received {"connection_id":177667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":177667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:00:23] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:00:23] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:00:23] local.INFO: IMEI packet received {"connection_id":177667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":177667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:00:24] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a37cd60012cb271000774ccf80018001e27..."} 
[2026-09-10 13:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a37cd60012cb271000774ccf80018001e27..."} 
[2026-09-10 13:00:24] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a37cd60012cb271000774ccf80018001e27..."} 
[2026-09-10 13:00:24] local.INFO: Packet analysis {"connection_id":177667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 13:00:24] local.INFO: Extracted packet for processing {"connection_id":177667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 13:00:24] local.INFO: GPS Element Parsed {"raw_longitude":749891840,"raw_latitude":125095160,"longitude_deg":74.989184,"latitude_deg":12.509516,"altitude":24,"angle":30,"satellites":39,"speed":32,"hex_longitude":"2cb27100","hex_latitude":"0774ccf8","is_valid_coordinates":true} 
[2026-09-10 13:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990475520001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404082677965127680,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5593752180148510720,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789025308000,"timestamp_ms":1789025308000,"timestamp_seconds":1789025308,"priority":1,"record_length":96,"hex_timestamp":"000001a08a37cd60"} 
[2026-09-10 13:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 13:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990475520001,"66":27995,"215":206,"85":36608,"24":32,"16":404082677965127680,"44":-5593752180148510720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990475520001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:00:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404082677965127680,"km_value":404082677965127.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:00:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5593752180148510720,"description":"Unknown IO ID 44"} 
[2026-09-10 13:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990475520001,"power":27995,"unknown_215":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5593752180148510720}} 
[2026-09-10 13:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":177667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:00:24] local.INFO: GPS data processed {"connection_id":177667,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:00:24] local.INFO: Acknowledgment sent {"connection_id":177667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:00:27] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:27] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:27] local.INFO: IMEI packet received {"connection_id":177668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":177668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:00:28] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:28] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:28] local.INFO: IMEI packet received {"connection_id":177668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":177668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:00:32] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:32] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:00:32] local.INFO: IMEI packet received {"connection_id":177668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":177668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:00:33] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a38ee70012d1a6240071fdbe0003b011422..."} 
[2026-09-10 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a38ee70012d1a6240071fdbe0003b011422..."} 
[2026-09-10 13:00:33] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a38ee70012d1a6240071fdbe0003b011422..."} 
[2026-09-10 13:00:33] local.INFO: Packet analysis {"connection_id":177668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:00:33] local.INFO: Extracted packet for processing {"connection_id":177668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756703808,"raw_latitude":119528416,"longitude_deg":75.6703808,"latitude_deg":11.9528416,"altitude":59,"angle":276,"satellites":34,"speed":35,"hex_longitude":"2d1a6240","hex_latitude":"071fdbe0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990497536001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19180576619626496,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902137554465673216,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025382000,"timestamp_ms":1789025382000,"timestamp_seconds":1789025382,"priority":1,"record_length":96,"hex_timestamp":"000001a08a38ee70"} 
[2026-09-10 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-09-10 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 13:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990497536001,"66":14189,"101":206,"83":41984,"24":35,"16":19180576619626496,"45":1902137554465673216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 13:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990497536001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:00:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 13:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19180576619626496,"km_value":19180576619626.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902137554465673216,"description":"Unknown IO ID 45"} 
[2026-09-10 13:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990497536001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1902137554465673216}} 
[2026-09-10 13:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":177668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:00:33] local.INFO: GPS data processed {"connection_id":177668,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:00:33] local.INFO: Acknowledgment sent {"connection_id":177668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:00:44] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:00:44] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:00:44] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:00:45] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.175.204","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:00:45] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:00:45] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:00:46] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a382f08012c73c7c008523d50001300972e..."} 
[2026-09-10 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a382f08012c73c7c008523d50001300972e..."} 
[2026-09-10 13:00:46] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a382f08012c73c7c008523d50001300972e..."} 
[2026-09-10 13:00:46] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:00:46] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":745785280,"raw_latitude":139607376,"longitude_deg":74.578528,"latitude_deg":13.9607376,"altitude":19,"angle":151,"satellites":46,"speed":55,"hex_longitude":"2c73c7c0","hex_latitude":"08523d50","is_valid_coordinates":true} 
[2026-09-10 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,135,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 13:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789025333000,"timestamp_ms":1789025333000,"timestamp_seconds":1789025333,"priority":1,"record_length":96,"hex_timestamp":"000001a08a382f08"} 
[2026-09-10 13:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 13:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"135":206,"9":56064,"24":55,"16":3893920429768704},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16]} 
[2026-09-10 13:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 13:00:46] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 13:00:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 13:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:00:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_135":206,"unknown_9":56064,"ignition":55,"odometer":null}} 
[2026-09-10 13:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:00:47] local.INFO: GPS data processed {"connection_id":176489,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:00:47] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:00:49] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.175.204","data_length":795,"data_hex":"000000000000030f8e0a000001a08a388110012c73f7800851f2f0001100922c..."} 
[2026-09-10 13:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a388110012c73f7800851f2f0001100922c..."} 
[2026-09-10 13:00:49] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a388110012c73f7800851f2f0001100922c..."} 
[2026-09-10 13:00:49] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:00:49] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:00:49] local.INFO: GPS Element Parsed {"raw_longitude":745797504,"raw_latitude":139588336,"longitude_deg":74.5797504,"latitude_deg":13.9588336,"altitude":17,"angle":146,"satellites":44,"speed":0,"hex_longitude":"2c73f780","hex_latitude":"0851f2f0","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990485248001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8342847976699154432,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789025354000,"timestamp_ms":1789025354000,"timestamp_seconds":1789025354,"priority":1,"record_length":96,"hex_timestamp":"000001a08a388110"} 
[2026-09-10 13:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 13:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.175.204","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990485248001,"66":27604,"135":206,"9":56064,"24":0,"16":3893920429768704,"44":8342847976699154432},"client_ip":"117.224.175.204","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-10 13:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990485248001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:00:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 13:00:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 13:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":8342847976699154432,"description":"Unknown IO ID 44"} 
[2026-09-10 13:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990485248001,"power":27604,"unknown_135":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8342847976699154432}} 
[2026-09-10 13:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:00:49] local.INFO: GPS data processed {"connection_id":176489,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:00:49] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:00:56] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a37f858012cb284800774eb78001c002128..."} 
[2026-09-10 13:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a37f858012cb284800774eb78001c002128..."} 
[2026-09-10 13:00:56] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a37f858012cb284800774eb78001c002128..."} 
[2026-09-10 13:00:56] local.INFO: Packet analysis {"connection_id":177667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 13:00:56] local.INFO: Extracted packet for processing {"connection_id":177667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a37"} 
[2026-09-10 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":749896832,"raw_latitude":125102968,"longitude_deg":74.9896832,"latitude_deg":12.5102968,"altitude":28,"angle":33,"satellites":40,"speed":29,"hex_longitude":"2cb28480","hex_latitude":"0774eb78","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990478848001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083124641726464,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588685630565713920,"note":"Value kept but may cause issues"} 
[2026-09-10 13:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025319000,"timestamp_ms":1789025319000,"timestamp_seconds":1789025319,"priority":1,"record_length":96,"hex_timestamp":"000001a08a37f858"} 
[2026-09-10 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-09-10 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 13:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990478848001,"66":27767,"215":206,"85":36608,"24":29,"16":404083124641726464,"44":-5588685630565713920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990478848001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:00:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083124641726464,"km_value":404083124641726.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:00:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588685630565713920,"description":"Unknown IO ID 44"} 
[2026-09-10 13:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990478848001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5588685630565713920}} 
[2026-09-10 13:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":177667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:00:56] local.INFO: GPS data processed {"connection_id":177667,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:00:56] local.INFO: Acknowledgment sent {"connection_id":177667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:01:05] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a38fa28012d1a5780071fde300039012523..."} 
[2026-09-10 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a38fa28012d1a5780071fde300039012523..."} 
[2026-09-10 13:01:05] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a38fa28012d1a5780071fde300039012523..."} 
[2026-09-10 13:01:05] local.INFO: Packet analysis {"connection_id":177668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:01:05] local.INFO: Extracted packet for processing {"connection_id":177668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756701056,"raw_latitude":119529008,"longitude_deg":75.6701056,"latitude_deg":11.9529008,"altitude":57,"angle":293,"satellites":35,"speed":35,"hex_longitude":"2d1a5780","hex_latitude":"071fde30","is_valid_coordinates":true} 
[2026-09-10 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990497792001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19180709763612672,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901152392047222784,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01: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-09-10 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789025385000,"timestamp_ms":1789025385000,"timestamp_seconds":1789025385,"priority":1,"record_length":96,"hex_timestamp":"000001a08a38fa28"} 
[2026-09-10 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 13:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990497792001,"66":14135,"101":206,"83":41984,"24":35,"16":19180709763612672,"45":1901152392047222784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990497792001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19180709763612672,"km_value":19180709763612.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901152392047222784,"description":"Unknown IO ID 45"} 
[2026-09-10 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990497792001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1901152392047222784}} 
[2026-09-10 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":177668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:01:05] local.INFO: GPS data processed {"connection_id":177668,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:01:05] local.INFO: Acknowledgment sent {"connection_id":177668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:01:20] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:01:20] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:01:20] local.INFO: IMEI packet received {"connection_id":176250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":176250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:01:25] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:01:25] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:01:25] local.INFO: IMEI packet received {"connection_id":176250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":176250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:01:27] local.INFO: TCP Data received {"connection_id":177669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:01:27] local.INFO: Processing buffer {"connection_id":177669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:01:27] local.INFO: IMEI packet received {"connection_id":177669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":177669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:01:27] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3836d8012cb29a00077508a0001d002c2a..."} 
[2026-09-10 13:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3836d8012cb29a00077508a0001d002c2a..."} 
[2026-09-10 13:01:27] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3836d8012cb29a00077508a0001d002c2a..."} 
[2026-09-10 13:01:27] local.INFO: Packet analysis {"connection_id":176250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:01:27] local.INFO: Extracted packet for processing {"connection_id":176250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:01:27] local.INFO: GPS Element Parsed {"raw_longitude":749902336,"raw_latitude":125110432,"longitude_deg":74.9902336,"latitude_deg":12.5110432,"altitude":29,"angle":44,"satellites":42,"speed":15,"hex_longitude":"2cb29a00","hex_latitude":"077508a0","is_valid_coordinates":true} 
[2026-09-10 13:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990481664001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083575613292544,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5583196868517857280,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789025335000,"timestamp_ms":1789025335000,"timestamp_seconds":1789025335,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3836d8"} 
[2026-09-10 13:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 13:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990481664001,"66":27800,"215":206,"85":36608,"24":15,"16":404083575613292544,"44":-5583196868517857280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990481664001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:01:27] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083575613292544,"km_value":404083575613292.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:01:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5583196868517857280,"description":"Unknown IO ID 44"} 
[2026-09-10 13:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990481664001,"power":27800,"unknown_215":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-5583196868517857280}} 
[2026-09-10 13:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":176250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:01:27] local.INFO: GPS data processed {"connection_id":176250,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:01:27] local.INFO: Acknowledgment sent {"connection_id":176250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:01:32] local.INFO: TCP Data received {"connection_id":177669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:01:32] local.INFO: Processing buffer {"connection_id":177669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:01:32] local.INFO: IMEI packet received {"connection_id":177669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":177669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:01:33] local.INFO: TCP Data received {"connection_id":177669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3901f8012d1a5140071fe1980039013026..."} 
[2026-09-10 13:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3901f8012d1a5140071fe1980039013026..."} 
[2026-09-10 13:01:33] local.INFO: Processing buffer {"connection_id":177669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3901f8012d1a5140071fe1980039013026..."} 
[2026-09-10 13:01:33] local.INFO: Packet analysis {"connection_id":177669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:01:33] local.INFO: Extracted packet for processing {"connection_id":177669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756699456,"raw_latitude":119529880,"longitude_deg":75.6699456,"latitude_deg":11.952988,"altitude":57,"angle":304,"satellites":38,"speed":37,"hex_longitude":"2d1a5140","hex_latitude":"071fe198","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990498560001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19180795662958592,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898126536047734784,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025387000,"timestamp_ms":1789025387000,"timestamp_seconds":1789025387,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3901f8"} 
[2026-09-10 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-09-10 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 13:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990498560001,"66":14157,"101":206,"83":41984,"24":37,"16":19180795662958592,"45":1898126536047734784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 13:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990498560001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:01:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 13:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19180795662958592,"km_value":19180795662958.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898126536047734784,"description":"Unknown IO ID 45"} 
[2026-09-10 13:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990498560001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1898126536047734784}} 
[2026-09-10 13:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":177669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:01:33] local.INFO: GPS data processed {"connection_id":177669,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:01:33] local.INFO: Acknowledgment sent {"connection_id":177669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:01:59] local.INFO: TCP Data received {"connection_id":176250,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3836d8012cb29a00077508a0001d002c2a..."} 
[2026-09-10 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3836d8012cb29a00077508a0001d002c2a..."} 
[2026-09-10 13:01:59] local.INFO: Processing buffer {"connection_id":176250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3836d8012cb29a00077508a0001d002c2a..."} 
[2026-09-10 13:01:59] local.INFO: Packet analysis {"connection_id":176250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:01:59] local.INFO: Extracted packet for processing {"connection_id":176250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:01:59] local.INFO: GPS Element Parsed {"raw_longitude":749902336,"raw_latitude":125110432,"longitude_deg":74.9902336,"latitude_deg":12.5110432,"altitude":29,"angle":44,"satellites":42,"speed":15,"hex_longitude":"2cb29a00","hex_latitude":"077508a0","is_valid_coordinates":true} 
[2026-09-10 13:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990485760001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083575613292544,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577145156516667392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789025335000,"timestamp_ms":1789025335000,"timestamp_seconds":1789025335,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3836d8"} 
[2026-09-10 13:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 13:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990485760001,"66":27800,"215":206,"85":36608,"24":15,"16":404083575613292544,"44":-5577145156516667392},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990485760001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:01:59] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083575613292544,"km_value":404083575613292.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577145156516667392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990485760001,"power":27800,"unknown_215":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-5577145156516667392}} 
[2026-09-10 13:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":176250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:01:59] local.INFO: GPS data processed {"connection_id":176250,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:01:59] local.INFO: Acknowledgment sent {"connection_id":176250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:02:05] local.INFO: TCP Data received {"connection_id":177669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3a2308012d19c78007202148002e00a329..."} 
[2026-09-10 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3a2308012d19c78007202148002e00a329..."} 
[2026-09-10 13:02:05] local.INFO: Processing buffer {"connection_id":177669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3a2308012d19c78007202148002e00a329..."} 
[2026-09-10 13:02:05] local.INFO: Packet analysis {"connection_id":177669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:02:05] local.INFO: Extracted packet for processing {"connection_id":177669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119546184,"longitude_deg":75.6664192,"latitude_deg":11.9546184,"altitude":46,"angle":163,"satellites":41,"speed":0,"hex_longitude":"2d19c780","hex_latitude":"07202148","is_valid_coordinates":true} 
[2026-09-10 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990512640001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19182930261704704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820708530176,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02: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-09-10 13:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789025461000,"timestamp_ms":1789025461000,"timestamp_seconds":1789025461,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3a2308"} 
[2026-09-10 13:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:02: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-09-10 13:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990512640001,"66":14265,"101":206,"83":41984,"24":0,"16":19182930261704704,"45":1856960820708530176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 13:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990512640001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:02:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 13:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19182930261704704,"km_value":19182930261704.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820708530176,"description":"Unknown IO ID 45"} 
[2026-09-10 13:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990512640001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856960820708530176}} 
[2026-09-10 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":177669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:02:05] local.INFO: GPS data processed {"connection_id":177669,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:02:05] local.INFO: Acknowledgment sent {"connection_id":177669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:02:20] local.INFO: TCP Data received {"connection_id":177670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:02:20] local.INFO: Processing buffer {"connection_id":177670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:02:20] local.INFO: IMEI packet received {"connection_id":177670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":177670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:02:25] local.INFO: TCP Data received {"connection_id":177670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:02:25] local.INFO: Processing buffer {"connection_id":177670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:02:25] local.INFO: IMEI packet received {"connection_id":177670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":177670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:02:26] local.INFO: TCP Data received {"connection_id":177670,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08a385618012cb2a14007751110001d001e28..."} 
[2026-09-10 13:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a385618012cb2a14007751110001d001e28..."} 
[2026-09-10 13:02:26] local.INFO: Processing buffer {"connection_id":177670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a385618012cb2a14007751110001d001e28..."} 
[2026-09-10 13:02:26] local.INFO: Packet analysis {"connection_id":177670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:02:26] local.INFO: Extracted packet for processing {"connection_id":177670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:02:26] local.INFO: GPS Element Parsed {"raw_longitude":749904192,"raw_latitude":125112592,"longitude_deg":74.9904192,"latitude_deg":12.5112592,"altitude":29,"angle":30,"satellites":40,"speed":5,"hex_longitude":"2cb2a140","hex_latitude":"07751110","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990485760001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083708757278720,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577145156516667392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789025343000,"timestamp_ms":1789025343000,"timestamp_seconds":1789025343,"priority":1,"record_length":96,"hex_timestamp":"000001a08a385618"} 
[2026-09-10 13:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 13:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:02:26] 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-09-10 13:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990485760001,"66":27767,"215":206,"85":36608,"24":5,"16":404083708757278720,"44":-5577145156516667392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990485760001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:02:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083708757278720,"km_value":404083708757278.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577145156516667392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990485760001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":5,"odometer":null,"unknown_44":-5577145156516667392}} 
[2026-09-10 13:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":177670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:02:26] local.INFO: GPS data processed {"connection_id":177670,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:02:26] local.INFO: Acknowledgment sent {"connection_id":177670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:02:30] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:30] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:30] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:02:32] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:32] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:32] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:02:33] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:33] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:02:33] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:02:34] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3a7510012d19c70007202188002f014827..."} 
[2026-09-10 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3a7510012d19c70007202188002f014827..."} 
[2026-09-10 13:02:34] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3a7510012d19c70007202188002f014827..."} 
[2026-09-10 13:02:34] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:02:34] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119546248,"longitude_deg":75.6664064,"latitude_deg":11.9546248,"altitude":47,"angle":328,"satellites":39,"speed":5,"hex_longitude":"2d19c700","hex_latitude":"07202188","is_valid_coordinates":true} 
[2026-09-10 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990518016001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19182938851639296,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139405797376,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02: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-09-10 13:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789025482000,"timestamp_ms":1789025482000,"timestamp_seconds":1789025482,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3a7510"} 
[2026-09-10 13:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990518016001,"66":13972,"103":206,"83":41984,"24":5,"16":19182938851639296,"45":1857594139405797376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990518016001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19182938851639296,"km_value":19182938851639.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139405797376,"description":"Unknown IO ID 45"} 
[2026-09-10 13:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990518016001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1857594139405797376}} 
[2026-09-10 13:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:02:34] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:02:34] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:02:34] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3a7510012d19c70007202188002f014827..."} 
[2026-09-10 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3a7510012d19c70007202188002f014827..."} 
[2026-09-10 13:02:34] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3a7510012d19c70007202188002f014827..."} 
[2026-09-10 13:02:34] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:02:34] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119546248,"longitude_deg":75.6664064,"latitude_deg":11.9546248,"altitude":47,"angle":328,"satellites":39,"speed":5,"hex_longitude":"2d19c700","hex_latitude":"07202188","is_valid_coordinates":true} 
[2026-09-10 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990523392001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19182938851639296,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857453401917458432,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02: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-09-10 13:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789025482000,"timestamp_ms":1789025482000,"timestamp_seconds":1789025482,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3a7510"} 
[2026-09-10 13:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 13:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990523392001,"66":13972,"103":206,"83":41984,"24":5,"16":19182938851639296,"45":1857453401917458432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990523392001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19182938851639296,"km_value":19182938851639.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857453401917458432,"description":"Unknown IO ID 45"} 
[2026-09-10 13:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990523392001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1857453401917458432}} 
[2026-09-10 13:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:02:34] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:02:34] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:02:41] local.INFO: TCP Data received {"connection_id":176252,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:41] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:41] local.INFO: IMEI packet received {"connection_id":176252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":176252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:02:44] local.INFO: TCP Data received {"connection_id":176252,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:44] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:44] local.INFO: IMEI packet received {"connection_id":176252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:02:49] local.INFO: TCP Data received {"connection_id":176252,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:49] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:02:49] local.INFO: IMEI packet received {"connection_id":176252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":176252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:02:51] local.INFO: TCP Data received {"connection_id":176252,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a38fe10012c7440c008514c60000a00982e..."} 
[2026-09-10 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a38fe10012c7440c008514c60000a00982e..."} 
[2026-09-10 13:02:51] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a38fe10012c7440c008514c60000a00982e..."} 
[2026-09-10 13:02:51] local.INFO: Packet analysis {"connection_id":176252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:02:51] local.INFO: Extracted packet for processing {"connection_id":176252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":745816256,"raw_latitude":139545696,"longitude_deg":74.5816256,"latitude_deg":13.9545696,"altitude":10,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2c7440c0","hex_latitude":"08514c60","is_valid_coordinates":true} 
[2026-09-10 13:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990493440001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8366632612221198336,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789025386000,"timestamp_ms":1789025386000,"timestamp_seconds":1789025386,"priority":1,"record_length":96,"hex_timestamp":"000001a08a38fe10"} 
[2026-09-10 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-09-10 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 13:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990493440001,"66":28202,"135":206,"9":56064,"24":0,"16":3893920429768704,"44":8366632612221198336},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-10 13:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990493440001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:02:51] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 13:02:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 13:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8366632612221198336,"description":"Unknown IO ID 44"} 
[2026-09-10 13:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990493440001,"power":28202,"unknown_135":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8366632612221198336}} 
[2026-09-10 13:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":176252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:02:51] local.INFO: GPS data processed {"connection_id":176252,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:02:51] local.INFO: Acknowledgment sent {"connection_id":176252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:02:57] local.INFO: TCP Data received {"connection_id":177670,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08a38a820012cb2a340077513c0001c001e28..."} 
[2026-09-10 13:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a38a820012cb2a340077513c0001c001e28..."} 
[2026-09-10 13:02:57] local.INFO: Processing buffer {"connection_id":177670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a38a820012cb2a340077513c0001c001e28..."} 
[2026-09-10 13:02:57] local.INFO: Packet analysis {"connection_id":177670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:02:57] local.INFO: Extracted packet for processing {"connection_id":177670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:02:57] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113280,"longitude_deg":74.9904704,"latitude_deg":12.511328,"altitude":28,"angle":30,"satellites":40,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"077513c0","is_valid_coordinates":true} 
[2026-09-10 13:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990487808001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575104462934962176,"note":"Value kept but may cause issues"} 
[2026-09-10 13:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789025364000,"timestamp_ms":1789025364000,"timestamp_seconds":1789025364,"priority":1,"record_length":96,"hex_timestamp":"000001a08a38a820"} 
[2026-09-10 13:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 13:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:02:57] 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-09-10 13:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990487808001,"66":27658,"215":206,"85":36608,"24":0,"16":404083756001918976,"44":-5575104462934962176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990487808001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:02:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:02:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575104462934962176,"description":"Unknown IO ID 44"} 
[2026-09-10 13:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990487808001,"power":27658,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5575104462934962176}} 
[2026-09-10 13:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":177670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:02:57] local.INFO: GPS data processed {"connection_id":177670,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:02:57] local.INFO: Acknowledgment sent {"connection_id":177670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:03:06] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3b3478012d19ab800720afa00037011f26..."} 
[2026-09-10 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3b3478012d19ab800720afa00037011f26..."} 
[2026-09-10 13:03:06] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3b3478012d19ab800720afa00037011f26..."} 
[2026-09-10 13:03:06] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3b"} 
[2026-09-10 13:03:06] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3b"} 
[2026-09-10 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119582624,"longitude_deg":75.6657024,"latitude_deg":11.9582624,"altitude":55,"angle":287,"satellites":38,"speed":25,"hex_longitude":"2d19ab80","hex_latitude":"0720afa0","is_valid_coordinates":true} 
[2026-09-10 13:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990534912001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19184910241628160,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221089931264,"note":"Value kept but may cause issues"} 
[2026-09-10 13: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-09-10 13:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789025531000,"timestamp_ms":1789025531000,"timestamp_seconds":1789025531,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3b3478"} 
[2026-09-10 13:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2319120864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-6016801265872797646,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6640276338789842954,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503892358397952,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634415706830951,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2147950743,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84752193441702033,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":14073788161335296,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,40,160,32,45,128,171,53,10,66,29,192,169,52,25,64,1,240,27,227,138,4,113,205,22,253,174,112,239,55,2,68,7,51,206,248,208],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-10 13:03:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819382505003745280,"timestamp_seconds":3819382505003745.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 13:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990534912001,"66":14265,"103":206,"83":41984,"24":25,"16":19184910241628160,"45":1852457221089931264},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990534912001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:03:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19184910241628160,"km_value":19184910241628.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221089931264,"description":"Unknown IO ID 45"} 
[2026-09-10 13:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990534912001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1852457221089931264}} 
[2026-09-10 13:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:03:06] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:03:06] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:03:19] local.INFO: TCP Data received {"connection_id":177671,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:03:19] local.INFO: Processing buffer {"connection_id":177671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:03:19] local.INFO: IMEI packet received {"connection_id":177671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":177671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:03:22] local.INFO: TCP Data received {"connection_id":176252,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a39dcb80100000000000000000000000000..."} 
[2026-09-10 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a39dcb80100000000000000000000000000..."} 
[2026-09-10 13:03:22] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a39dcb80100000000000000000000000000..."} 
[2026-09-10 13:03:22] local.INFO: Packet analysis {"connection_id":176252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:22] local.INFO: Extracted packet for processing {"connection_id":176252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 13:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990498816001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8376906448865353728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789025443000,"timestamp_ms":1789025443000,"timestamp_seconds":1789025443,"priority":1,"record_length":96,"hex_timestamp":"000001a08a39dcb8"} 
[2026-09-10 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-09-10 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 13:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":176252,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 13:03:22] local.INFO: GPS data processed {"connection_id":176252,"processed":0,"errors":0,"total":1} 
[2026-09-10 13:03:22] local.INFO: Acknowledgment sent {"connection_id":176252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:03:24] local.INFO: TCP Data received {"connection_id":177671,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:03:24] local.INFO: Processing buffer {"connection_id":177671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:03:24] local.INFO: IMEI packet received {"connection_id":177671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":177671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:03:25] local.INFO: TCP Data received {"connection_id":177671,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a38fa28012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a38fa28012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:03:25] local.INFO: Processing buffer {"connection_id":177671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a38fa28012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:03:25] local.INFO: Packet analysis {"connection_id":177671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:03:25] local.INFO: Extracted packet for processing {"connection_id":177671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a38"} 
[2026-09-10 13:03:25] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113280,"longitude_deg":74.9904704,"latitude_deg":12.511328,"altitude":28,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"077513c0","is_valid_coordinates":true} 
[2026-09-10 13:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990493184001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025385000,"timestamp_ms":1789025385000,"timestamp_seconds":1789025385,"priority":1,"record_length":96,"hex_timestamp":"000001a08a38fa28"} 
[2026-09-10 13:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 13:03:25] 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-09-10 13:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990493184001,"66":28006,"215":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990493184001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:03:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990493184001,"power":28006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":177671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:03:25] local.INFO: GPS data processed {"connection_id":177671,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:03:25] local.INFO: Acknowledgment sent {"connection_id":177671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:03:26] local.INFO: TCP Data received {"connection_id":177672,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:26] local.INFO: Processing buffer {"connection_id":177672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:26] local.INFO: IMEI packet received {"connection_id":177672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":177672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:03:27] local.INFO: TCP Data received {"connection_id":177672,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:27] local.INFO: Processing buffer {"connection_id":177672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:27] local.INFO: IMEI packet received {"connection_id":177672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":177672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:03:32] local.INFO: TCP Data received {"connection_id":177672,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:32] local.INFO: Processing buffer {"connection_id":177672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:03:32] local.INFO: IMEI packet received {"connection_id":177672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":177672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:03:33] local.INFO: TCP Data received {"connection_id":177672,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3b4800012d199d800720b1e00038011326..."} 
[2026-09-10 13:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3b4800012d199d800720b1e00038011326..."} 
[2026-09-10 13:03:33] local.INFO: Processing buffer {"connection_id":177672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3b4800012d199d800720b1e00038011326..."} 
[2026-09-10 13:03:33] local.INFO: Packet analysis {"connection_id":177672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3b"} 
[2026-09-10 13:03:33] local.INFO: Extracted packet for processing {"connection_id":177672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3b"} 
[2026-09-10 13:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756653440,"raw_latitude":119583200,"longitude_deg":75.665344,"latitude_deg":11.95832,"altitude":56,"angle":275,"satellites":38,"speed":31,"hex_longitude":"2d199d80","hex_latitude":"0720b1e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990535936001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19185082040320000,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849712840067227648,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025536000,"timestamp_ms":1789025536000,"timestamp_seconds":1789025536,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3b4800"} 
[2026-09-10 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-09-10 13:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990535936001,"66":14374,"103":206,"83":41984,"24":31,"16":19185082040320000,"45":1849712840067227648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990535936001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:03:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19185082040320000,"km_value":19185082040320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849712840067227648,"description":"Unknown IO ID 45"} 
[2026-09-10 13:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990535936001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1849712840067227648}} 
[2026-09-10 13:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":177672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:03:33] local.INFO: GPS data processed {"connection_id":177672,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:03:33] local.INFO: Acknowledgment sent {"connection_id":177672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:03:40] local.INFO: TCP Data received {"connection_id":179043,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:03:40] local.INFO: Processing buffer {"connection_id":179043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:03:40] local.INFO: IMEI packet received {"connection_id":179043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":179043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:03:42] local.INFO: TCP Data received {"connection_id":179043,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:03:42] local.INFO: Processing buffer {"connection_id":179043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:03:42] local.INFO: IMEI packet received {"connection_id":179043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":179043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:03:43] local.INFO: TCP Data received {"connection_id":179043,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a396f58012c7499400850d450001500812d..."} 
[2026-09-10 13:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a396f58012c7499400850d450001500812d..."} 
[2026-09-10 13:03:43] local.INFO: Processing buffer {"connection_id":179043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a396f58012c7499400850d450001500812d..."} 
[2026-09-10 13:03:43] local.INFO: Packet analysis {"connection_id":179043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:43] local.INFO: Extracted packet for processing {"connection_id":179043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:43] local.INFO: GPS Element Parsed {"raw_longitude":745838912,"raw_latitude":139514960,"longitude_deg":74.5838912,"latitude_deg":13.951496,"altitude":21,"angle":129,"satellites":45,"speed":37,"hex_longitude":"2c749940","hex_latitude":"0850d450","is_valid_coordinates":true} 
[2026-09-10 13:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,135,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 13:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789025415000,"timestamp_ms":1789025415000,"timestamp_seconds":1789025415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a396f58"} 
[2026-09-10 13:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 13:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"135":206,"9":56064,"24":37,"16":3893920429768704},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16]} 
[2026-09-10 13:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 13:03:43] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 13:03:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 13:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:03:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_135":206,"unknown_9":56064,"ignition":37,"odometer":null}} 
[2026-09-10 13:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":179043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:03:43] local.INFO: GPS data processed {"connection_id":179043,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:03:43] local.INFO: Acknowledgment sent {"connection_id":179043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:03:44] local.INFO: TCP Data received {"connection_id":179043,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a39c160012c74d2800850a8700018007f2e..."} 
[2026-09-10 13:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a39c160012c74d2800850a8700018007f2e..."} 
[2026-09-10 13:03:44] local.INFO: Processing buffer {"connection_id":179043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a39c160012c74d2800850a8700018007f2e..."} 
[2026-09-10 13:03:44] local.INFO: Packet analysis {"connection_id":179043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:44] local.INFO: Extracted packet for processing {"connection_id":179043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:44] local.INFO: GPS Element Parsed {"raw_longitude":745853568,"raw_latitude":139503728,"longitude_deg":74.5853568,"latitude_deg":13.9503728,"altitude":24,"angle":127,"satellites":46,"speed":0,"hex_longitude":"2c74d280","hex_latitude":"0850a870","is_valid_coordinates":true} 
[2026-09-10 13:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990506240001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8401816984296378368,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789025436000,"timestamp_ms":1789025436000,"timestamp_seconds":1789025436,"priority":1,"record_length":96,"hex_timestamp":"000001a08a39c160"} 
[2026-09-10 13:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 13:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990506240001,"66":28148,"135":206,"9":56064,"24":0,"16":3893920429768704,"44":8401816984296378368},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-10 13:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990506240001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:03:44] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 13:03:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 13:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":8401816984296378368,"description":"Unknown IO ID 44"} 
[2026-09-10 13:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990506240001,"power":28148,"unknown_135":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8401816984296378368}} 
[2026-09-10 13:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":179043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:03:45] local.INFO: GPS data processed {"connection_id":179043,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:03:45] local.INFO: Acknowledgment sent {"connection_id":179043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:03:56] local.INFO: TCP Data received {"connection_id":177671,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:03:56] local.INFO: Processing buffer {"connection_id":177671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:03:56] local.INFO: Packet analysis {"connection_id":177671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:56] local.INFO: Extracted packet for processing {"connection_id":177671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:03:56] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113280,"longitude_deg":74.9904704,"latitude_deg":12.511328,"altitude":28,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"077513c0","is_valid_coordinates":true} 
[2026-09-10 13:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990498560001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025391000,"timestamp_ms":1789025391000,"timestamp_seconds":1789025391,"priority":1,"record_length":96,"hex_timestamp":"000001a08a391198"} 
[2026-09-10 13:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:03:56] 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-09-10 13:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990498560001,"66":27745,"215":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990498560001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:03:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:03:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990498560001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":177671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:03:56] local.INFO: GPS data processed {"connection_id":177671,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:03:56] local.INFO: Acknowledgment sent {"connection_id":177671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:04:05] local.INFO: TCP Data received {"connection_id":177672,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3b6358012d1985400720b2300038010428..."} 
[2026-09-10 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3b6358012d1985400720b2300038010428..."} 
[2026-09-10 13:04:05] local.INFO: Processing buffer {"connection_id":177672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3b6358012d1985400720b2300038010428..."} 
[2026-09-10 13:04:05] local.INFO: Packet analysis {"connection_id":177672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3b"} 
[2026-09-10 13:04:05] local.INFO: Extracted packet for processing {"connection_id":177672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3b"} 
[2026-09-10 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119583280,"longitude_deg":75.6647232,"latitude_deg":11.958328,"altitude":56,"angle":260,"satellites":40,"speed":37,"hex_longitude":"2d198540","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-09-10 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990537216001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19185374098096128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845772190393425920,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04: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-09-10 13:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789025543000,"timestamp_ms":1789025543000,"timestamp_seconds":1789025543,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3b6358"} 
[2026-09-10 13:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 13:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990537216001,"66":14352,"103":206,"83":41984,"24":37,"16":19185374098096128,"45":1845772190393425920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990537216001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19185374098096128,"km_value":19185374098096.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845772190393425920,"description":"Unknown IO ID 45"} 
[2026-09-10 13:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990537216001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1845772190393425920}} 
[2026-09-10 13:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":177672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:04:05] local.INFO: GPS data processed {"connection_id":177672,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:04:05] local.INFO: Acknowledgment sent {"connection_id":177672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:04:21] local.INFO: TCP Data received {"connection_id":179043,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3a1368012c750e4008507b30001900802e..."} 
[2026-09-10 13:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3a1368012c750e4008507b30001900802e..."} 
[2026-09-10 13:04:21] local.INFO: Processing buffer {"connection_id":179043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3a1368012c750e4008507b30001900802e..."} 
[2026-09-10 13:04:21] local.INFO: Packet analysis {"connection_id":179043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:04:21] local.INFO: Extracted packet for processing {"connection_id":179043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3a"} 
[2026-09-10 13:04:21] local.INFO: GPS Element Parsed {"raw_longitude":745868864,"raw_latitude":139492144,"longitude_deg":74.5868864,"latitude_deg":13.9492144,"altitude":25,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2c750e40","hex_latitude":"08507b30","is_valid_coordinates":true} 
[2026-09-10 13:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990511616001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8417931426710188032,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789025457000,"timestamp_ms":1789025457000,"timestamp_seconds":1789025457,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3a1368"} 
[2026-09-10 13:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 13:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":179043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":179043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":179043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990511616001,"66":28126,"135":206,"9":56064,"24":0,"16":3893920429768704,"44":8417931426710188032},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-10 13:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990511616001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:04:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 13:04:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-10 13:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":8417931426710188032,"description":"Unknown IO ID 44"} 
[2026-09-10 13:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990511616001,"power":28126,"unknown_135":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8417931426710188032}} 
[2026-09-10 13:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":179043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:04:21] local.INFO: GPS data processed {"connection_id":179043,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:04:21] local.INFO: Acknowledgment sent {"connection_id":179043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:04:24] local.INFO: TCP Data received {"connection_id":177673,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:04:24] local.INFO: Processing buffer {"connection_id":177673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:04:24] local.INFO: IMEI packet received {"connection_id":177673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":177673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:04:27] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:04:27] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:04:27] local.INFO: IMEI packet received {"connection_id":177674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":177674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:04:30] local.INFO: TCP Data received {"connection_id":177673,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:04:30] local.INFO: Processing buffer {"connection_id":177673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:04:30] local.INFO: IMEI packet received {"connection_id":177673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":177673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:04:30] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:04:30] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:04:30] local.INFO: IMEI packet received {"connection_id":177674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":177674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:04:31] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3c6140012d18d0c0072128c80042015a26..."} 
[2026-09-10 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3c6140012d18d0c0072128c80042015a26..."} 
[2026-09-10 13:04:31] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3c6140012d18d0c0072128c80042015a26..."} 
[2026-09-10 13:04:31] local.INFO: Packet analysis {"connection_id":177674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3c"} 
[2026-09-10 13:04:31] local.INFO: Extracted packet for processing {"connection_id":177674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3c"} 
[2026-09-10 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119613640,"longitude_deg":75.6601024,"latitude_deg":11.961364,"altitude":66,"angle":346,"satellites":38,"speed":35,"hex_longitude":"2d18d0c0","hex_latitude":"072128c8","is_valid_coordinates":true} 
[2026-09-10 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990554368001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19188427819843584,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662736384,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789025608000,"timestamp_ms":1789025608000,"timestamp_seconds":1789025608,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3c6140"} 
[2026-09-10 13:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 13:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990554368001,"66":14374,"103":206,"83":41984,"24":35,"16":19188427819843584,"45":1788210557662736384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990554368001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19188427819843584,"km_value":19188427819843.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662736384,"description":"Unknown IO ID 45"} 
[2026-09-10 13:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990554368001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788210557662736384}} 
[2026-09-10 13:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":177674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:04:31] local.INFO: GPS data processed {"connection_id":177674,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:04:31] local.INFO: Acknowledgment sent {"connection_id":177674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:04:31] local.INFO: TCP Data received {"connection_id":177673,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:04:31] local.INFO: Processing buffer {"connection_id":177673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:04:31] local.INFO: Packet analysis {"connection_id":177673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:04:31] local.INFO: Extracted packet for processing {"connection_id":177673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113280,"longitude_deg":74.9904704,"latitude_deg":12.511328,"altitude":28,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"077513c0","is_valid_coordinates":true} 
[2026-09-10 13:04: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-09-10 13:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990498560001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789025391000,"timestamp_ms":1789025391000,"timestamp_seconds":1789025391,"priority":1,"record_length":96,"hex_timestamp":"000001a08a391198"} 
[2026-09-10 13:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:04:31] 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-09-10 13:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990498560001,"66":27745,"215":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990498560001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990498560001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":177673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:04:31] local.INFO: GPS data processed {"connection_id":177673,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:04:31] local.INFO: Acknowledgment sent {"connection_id":177673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:04:34] local.INFO: TCP Data received {"connection_id":177673,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:04:34] local.INFO: Processing buffer {"connection_id":177673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:04:34] local.INFO: Packet analysis {"connection_id":177673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:04:34] local.INFO: Extracted packet for processing {"connection_id":177673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:04:34] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113280,"longitude_deg":74.9904704,"latitude_deg":12.511328,"altitude":28,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"077513c0","is_valid_coordinates":true} 
[2026-09-10 13:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990498560001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789025391000,"timestamp_ms":1789025391000,"timestamp_seconds":1789025391,"priority":1,"record_length":96,"hex_timestamp":"000001a08a391198"} 
[2026-09-10 13:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:04: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-09-10 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:04:34] 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-09-10 13:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990498560001,"66":27745,"215":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990498560001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:04:34] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990498560001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":177673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:04:34] local.INFO: GPS data processed {"connection_id":177673,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:04:34] local.INFO: Acknowledgment sent {"connection_id":177673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:05:03] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3c6910012d18cd8007212f580042014726..."} 
[2026-09-10 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3c6910012d18cd8007212f580042014726..."} 
[2026-09-10 13:05:03] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3c6910012d18cd8007212f580042014726..."} 
[2026-09-10 13:05:03] local.INFO: Packet analysis {"connection_id":177674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3c"} 
[2026-09-10 13:05:03] local.INFO: Extracted packet for processing {"connection_id":177674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3c"} 
[2026-09-10 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119615320,"longitude_deg":75.6600192,"latitude_deg":11.961532,"altitude":66,"angle":327,"satellites":38,"speed":37,"hex_longitude":"2d18cd80","hex_latitude":"07212f58","is_valid_coordinates":true} 
[2026-09-10 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990555648001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19188518014156800,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919711744,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05: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-09-10 13:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789025610000,"timestamp_ms":1789025610000,"timestamp_seconds":1789025610,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3c6910"} 
[2026-09-10 13:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 13:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990555648001,"66":14363,"103":206,"83":41984,"24":37,"16":19188518014156800,"45":1788140188919711744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990555648001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19188518014156800,"km_value":19188518014156.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919711744,"description":"Unknown IO ID 45"} 
[2026-09-10 13:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990555648001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788140188919711744}} 
[2026-09-10 13:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":177674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:05:03] local.INFO: GPS data processed {"connection_id":177674,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:05:03] local.INFO: Acknowledgment sent {"connection_id":177674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:05:13] local.INFO: TCP Data received {"connection_id":179044,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:13] local.INFO: Processing buffer {"connection_id":179044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:13] local.INFO: IMEI packet received {"connection_id":179044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":179044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:05:19] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:05:19] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:05:19] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:05:23] local.INFO: TCP Data received {"connection_id":179044,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:23] local.INFO: Processing buffer {"connection_id":179044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:23] local.INFO: IMEI packet received {"connection_id":179044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":179044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:05:26] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:05:26] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:05:26] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:05:27] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:05:27] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:05:27] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:05:27] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:05:27] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113280,"longitude_deg":74.9904704,"latitude_deg":12.511328,"altitude":28,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"077513c0","is_valid_coordinates":true} 
[2026-09-10 13:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990498560001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789025391000,"timestamp_ms":1789025391000,"timestamp_seconds":1789025391,"priority":1,"record_length":96,"hex_timestamp":"000001a08a391198"} 
[2026-09-10 13:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:05:27] 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-09-10 13:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:05: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-09-10 13:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990498560001,"66":27745,"215":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990498560001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:05:27] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:05:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990498560001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:05:27] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:05:27] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:05:27] local.INFO: TCP Data received {"connection_id":177675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:27] local.INFO: Processing buffer {"connection_id":177675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:27] local.INFO: IMEI packet received {"connection_id":177675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":177675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:05:30] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:05:30] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a391198012cb2a340077513c0001c001e29..."} 
[2026-09-10 13:05:30] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:05:30] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a39"} 
[2026-09-10 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113280,"longitude_deg":74.9904704,"latitude_deg":12.511328,"altitude":28,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"077513c0","is_valid_coordinates":true} 
[2026-09-10 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990498560001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789025391000,"timestamp_ms":1789025391000,"timestamp_seconds":1789025391,"priority":1,"record_length":96,"hex_timestamp":"000001a08a391198"} 
[2026-09-10 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:05:30] 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-09-10 13:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990498560001,"66":27745,"215":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-10 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990498560001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:05:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-10 13:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990498560001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:05:30] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:05:30] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:05:30] local.INFO: TCP Data received {"connection_id":177675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:30] local.INFO: Processing buffer {"connection_id":177675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:30] local.INFO: IMEI packet received {"connection_id":177675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":177675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:05:31] local.INFO: TCP Data received {"connection_id":177675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:31] local.INFO: Processing buffer {"connection_id":177675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:05:31] local.INFO: IMEI packet received {"connection_id":177675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":177675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:05:32] local.INFO: TCP Data received {"connection_id":177675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3d43d0012d183d4007219248004d012626..."} 
[2026-09-10 13:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3d43d0012d183d4007219248004d012626..."} 
[2026-09-10 13:05:32] local.INFO: Processing buffer {"connection_id":177675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3d43d0012d183d4007219248004d012626..."} 
[2026-09-10 13:05:32] local.INFO: Packet analysis {"connection_id":177675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:05:32] local.INFO: Extracted packet for processing {"connection_id":177675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756563264,"raw_latitude":119640648,"longitude_deg":75.6563264,"latitude_deg":11.9640648,"altitude":77,"angle":294,"satellites":38,"speed":31,"hex_longitude":"2d183d40","hex_latitude":"07219248","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990567680001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19190884541136896,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756192779068977152,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789025666000,"timestamp_ms":1789025666000,"timestamp_seconds":1789025666,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3d43d0"} 
[2026-09-10 13:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 13:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990567680001,"66":14070,"107":206,"83":41984,"24":31,"16":19190884541136896,"45":1756192779068977152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990567680001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19190884541136896,"km_value":19190884541136.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756192779068977152,"description":"Unknown IO ID 45"} 
[2026-09-10 13:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990567680001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1756192779068977152}} 
[2026-09-10 13:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":177675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:05:32] local.INFO: GPS data processed {"connection_id":177675,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:05:32] local.INFO: Acknowledgment sent {"connection_id":177675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:05:32] local.INFO: TCP Data received {"connection_id":177675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3d5f28012d182ac007219af8004c013227..."} 
[2026-09-10 13:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3d5f28012d182ac007219af8004c013227..."} 
[2026-09-10 13:05:32] local.INFO: Processing buffer {"connection_id":177675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3d5f28012d182ac007219af8004c013227..."} 
[2026-09-10 13:05:32] local.INFO: Packet analysis {"connection_id":177675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:05:32] local.INFO: Extracted packet for processing {"connection_id":177675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119642872,"longitude_deg":75.6558528,"latitude_deg":11.9642872,"altitude":76,"angle":306,"satellites":39,"speed":21,"hex_longitude":"2d182ac0","hex_latitude":"07219af8","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990570496001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191133649240064,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746622629861804032,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789025673000,"timestamp_ms":1789025673000,"timestamp_seconds":1789025673,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3d5f28"} 
[2026-09-10 13:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 13:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990570496001,"66":14070,"107":206,"83":41984,"24":21,"16":19191133649240064,"45":1746622629861804032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-10 13:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990570496001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191133649240064,"km_value":19191133649240.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746622629861804032,"description":"Unknown IO ID 45"} 
[2026-09-10 13:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990570496001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1746622629861804032}} 
[2026-09-10 13:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":177675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:05:32] local.INFO: GPS data processed {"connection_id":177675,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:05:32] local.INFO: Acknowledgment sent {"connection_id":177675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:05:43] local.INFO: TCP Data received {"connection_id":176254,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:43] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:43] local.INFO: IMEI packet received {"connection_id":176254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":176254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:05:49] local.INFO: TCP Data received {"connection_id":176254,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:49] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:05:49] local.INFO: IMEI packet received {"connection_id":176254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":176254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:05:50] local.INFO: TCP Data received {"connection_id":176254,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3d4ba0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3d4ba0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:05:50] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3d4ba0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:05:50] local.INFO: Packet analysis {"connection_id":176254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:05:50] local.INFO: Extracted packet for processing {"connection_id":176254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:05:50] local.INFO: GPS Element Parsed {"raw_longitude":745966400,"raw_latitude":139340016,"longitude_deg":74.59664,"latitude_deg":13.9340016,"altitude":20,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2c768b40","hex_latitude":"084e28f0","is_valid_coordinates":true} 
[2026-09-10 13:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990565632001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8541991522653499392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789025668000,"timestamp_ms":1789025668000,"timestamp_seconds":1789025668,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3d4ba0"} 
[2026-09-10 13:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 13:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990565632001,"66":28234,"120":206,"9":53760,"24":0,"16":3893920429768704,"44":8541991522653499392},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,9,24,16,44]} 
[2026-09-10 13:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990565632001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:05:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 13:05:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8541991522653499392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990565632001,"power":28234,"unknown_120":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8541991522653499392}} 
[2026-09-10 13:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":176254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:05:50] local.INFO: GPS data processed {"connection_id":176254,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:05:50] local.INFO: Acknowledgment sent {"connection_id":176254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:01] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:01] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:01] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:01] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:01] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13: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-09-10 13: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-09-10 13: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-09-10 13:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:06: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-09-10 13:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:01] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:01] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:03] local.INFO: TCP Data received {"connection_id":177675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3d8a20012d181dc00721a558004b012525..."} 
[2026-09-10 13:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3d8a20012d181dc00721a558004b012525..."} 
[2026-09-10 13:06:03] local.INFO: Processing buffer {"connection_id":177675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3d8a20012d181dc00721a558004b012525..."} 
[2026-09-10 13:06:03] local.INFO: Packet analysis {"connection_id":177675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:03] local.INFO: Extracted packet for processing {"connection_id":177675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645528,"longitude_deg":75.65552,"latitude_deg":11.9645528,"altitude":75,"angle":293,"satellites":37,"speed":5,"hex_longitude":"2d181dc0","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-09-10 13:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990572288001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191339807670272,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793226240,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789025684000,"timestamp_ms":1789025684000,"timestamp_seconds":1789025684,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3d8a20"} 
[2026-09-10 13:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 13:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990572288001,"66":14461,"105":206,"83":41984,"24":5,"16":19191339807670272,"45":1741415342793226240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990572288001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191339807670272,"km_value":19191339807670.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793226240,"description":"Unknown IO ID 45"} 
[2026-09-10 13:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990572288001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741415342793226240}} 
[2026-09-10 13:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":177675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:03] local.INFO: GPS data processed {"connection_id":177675,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:03] local.INFO: Acknowledgment sent {"connection_id":177675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:19] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:06:19] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:06:19] local.INFO: IMEI packet received {"connection_id":176255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":176255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:06:22] local.INFO: TCP Data received {"connection_id":176254,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3d9da8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3d9da8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:22] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3d9da8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:22] local.INFO: Packet analysis {"connection_id":176254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:22] local.INFO: Extracted packet for processing {"connection_id":176254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":745966400,"raw_latitude":139340016,"longitude_deg":74.59664,"latitude_deg":13.9340016,"altitude":20,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2c768b40","hex_latitude":"084e28f0","is_valid_coordinates":true} 
[2026-09-10 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990571008001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8541991522653499392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789025689000,"timestamp_ms":1789025689000,"timestamp_seconds":1789025689,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3d9da8"} 
[2026-09-10 13:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 13:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990571008001,"66":28224,"13":206,"9":53760,"24":0,"16":3893920429768704,"44":8541991522653499392},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990571008001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:22] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:06:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":8541991522653499392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990571008001,"power":28224,"unknown_13":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8541991522653499392}} 
[2026-09-10 13:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":176254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:22] local.INFO: GPS data processed {"connection_id":176254,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:22] local.INFO: Acknowledgment sent {"connection_id":176254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:24] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:06:24] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:06:24] local.INFO: IMEI packet received {"connection_id":176255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":176255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:06:25] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:25] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:25] local.INFO: Packet analysis {"connection_id":176255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:25] local.INFO: Extracted packet for processing {"connection_id":176255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":176255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:25] local.INFO: GPS data processed {"connection_id":176255,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:25] local.INFO: Acknowledgment sent {"connection_id":176255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:27] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:27] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:27] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:06:29] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:29] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:29] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:06:32] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:32] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:06:32] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:06:33] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3da960012d181a800721a6e0004b013b27..."} 
[2026-09-10 13:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3da960012d181a800721a6e0004b013b27..."} 
[2026-09-10 13:06:33] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3da960012d181a800721a6e0004b013b27..."} 
[2026-09-10 13:06:33] local.INFO: Packet analysis {"connection_id":176256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:33] local.INFO: Extracted packet for processing {"connection_id":176256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119645920,"longitude_deg":75.6554368,"latitude_deg":11.964592,"altitude":75,"angle":315,"satellites":39,"speed":8,"hex_longitude":"2d181a80","hex_latitude":"0721a6e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990575104001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191382757343232,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096667648,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025692000,"timestamp_ms":1789025692000,"timestamp_seconds":1789025692,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3da960"} 
[2026-09-10 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-09-10 13:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 13:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990575104001,"66":13689,"105":206,"83":41984,"24":8,"16":19191382757343232,"45":1737756168096667648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990575104001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191382757343232,"km_value":19191382757343.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096667648,"description":"Unknown IO ID 45"} 
[2026-09-10 13:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990575104001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737756168096667648}} 
[2026-09-10 13:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":176256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:33] local.INFO: GPS data processed {"connection_id":176256,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:33] local.INFO: Acknowledgment sent {"connection_id":176256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:44] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:06:44] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:06:44] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:06:49] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:06:49] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:06:49] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:06:50] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3defb0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3defb0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:50] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3defb0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:50] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:50] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":745966400,"raw_latitude":139340016,"longitude_deg":74.59664,"latitude_deg":13.9340016,"altitude":20,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2c768b40","hex_latitude":"084e28f0","is_valid_coordinates":true} 
[2026-09-10 13:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990576384001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8541991522653499392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789025710000,"timestamp_ms":1789025710000,"timestamp_seconds":1789025710,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3defb0"} 
[2026-09-10 13:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:06: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-09-10 13:06: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 13:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990576384001,"66":28256,"13":206,"9":53760,"24":0,"16":3893920429768704,"44":8541991522653499392},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990576384001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:50] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:06:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":8541991522653499392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990576384001,"power":28256,"unknown_13":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8541991522653499392}} 
[2026-09-10 13:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:50] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:50] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:51] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3e41b8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3e41b8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:51] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3e41b8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:06:51] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:06:51] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":745966400,"raw_latitude":139340016,"longitude_deg":74.59664,"latitude_deg":13.9340016,"altitude":20,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2c768b40","hex_latitude":"084e28f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990581760001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8541991522653499392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789025731000,"timestamp_ms":1789025731000,"timestamp_seconds":1789025731,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3e41b8"} 
[2026-09-10 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-09-10 13:06: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-09-10 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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990581760001,"66":28137,"13":206,"9":53760,"24":0,"16":3893920429768704,"44":8541991522653499392},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990581760001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:51] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:06:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8541991522653499392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990581760001,"power":28137,"unknown_13":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8541991522653499392}} 
[2026-09-10 13:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:51] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:51] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:06:56] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:56] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:06:56] local.INFO: Packet analysis {"connection_id":176255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:56] local.INFO: Extracted packet for processing {"connection_id":176255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:06:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:06:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:06:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":176255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:06:56] local.INFO: GPS data processed {"connection_id":176255,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:06:56] local.INFO: Acknowledgment sent {"connection_id":176255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:07:04] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dad48012d181a000721a780004b015027..."} 
[2026-09-10 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dad48012d181a000721a780004b015027..."} 
[2026-09-10 13:07:04] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dad48012d181a000721a780004b015027..."} 
[2026-09-10 13:07:04] local.INFO: Packet analysis {"connection_id":176256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:04] local.INFO: Extracted packet for processing {"connection_id":176256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119646080,"longitude_deg":75.655424,"latitude_deg":11.964608,"altitude":75,"angle":336,"satellites":39,"speed":8,"hex_longitude":"2d181a00","hex_latitude":"0721a780","is_valid_coordinates":true} 
[2026-09-10 13:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990577152001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191391347277824,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422458368,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07: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-09-10 13:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025693000,"timestamp_ms":1789025693000,"timestamp_seconds":1789025693,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dad48"} 
[2026-09-10 13:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:07: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-09-10 13: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-10 13:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990577152001,"66":13689,"105":206,"83":41984,"24":8,"16":19191391347277824,"45":1736841374422458368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990577152001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:07:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191391347277824,"km_value":19191391347277.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422458368,"description":"Unknown IO ID 45"} 
[2026-09-10 13:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990577152001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1736841374422458368}} 
[2026-09-10 13:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":176256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:07:04] local.INFO: GPS data processed {"connection_id":176256,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:07:04] local.INFO: Acknowledgment sent {"connection_id":176256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:07:19] local.INFO: TCP Data received {"connection_id":179045,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:07:19] local.INFO: Processing buffer {"connection_id":179045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:07:19] local.INFO: IMEI packet received {"connection_id":179045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":179045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:07:23] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3e93c0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3e93c0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:07:23] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3e93c0012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:07:23] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:07:23] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":745966400,"raw_latitude":139340016,"longitude_deg":74.59664,"latitude_deg":13.9340016,"altitude":20,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2c768b40","hex_latitude":"084e28f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990587136001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8541991522653499392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789025752000,"timestamp_ms":1789025752000,"timestamp_seconds":1789025752,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3e93c0"} 
[2026-09-10 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-09-10 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 13:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990587136001,"66":28006,"13":206,"9":53760,"24":0,"16":3893920429768704,"44":8541991522653499392},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990587136001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:07:23] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:07:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:07:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":8541991522653499392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990587136001,"power":28006,"unknown_13":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8541991522653499392}} 
[2026-09-10 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:07:23] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:07:23] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:07:24] local.INFO: TCP Data received {"connection_id":179045,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:07:24] local.INFO: Processing buffer {"connection_id":179045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:07:24] local.INFO: IMEI packet received {"connection_id":179045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":179045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:07:25] local.INFO: TCP Data received {"connection_id":179045,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:07:25] local.INFO: Processing buffer {"connection_id":179045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:07:25] local.INFO: Packet analysis {"connection_id":179045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:25] local.INFO: Extracted packet for processing {"connection_id":179045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:07:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":179045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:07:25] local.INFO: GPS data processed {"connection_id":179045,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:07:25] local.INFO: Acknowledgment sent {"connection_id":179045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:07:27] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:07:27] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:07:27] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:07:32] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:07:32] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:07:32] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:07:33] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3db130012d181a000721a840004b000527..."} 
[2026-09-10 13:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3db130012d181a000721a840004b000527..."} 
[2026-09-10 13:07:33] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3db130012d181a000721a840004b000527..."} 
[2026-09-10 13:07:33] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:33] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119646272,"longitude_deg":75.655424,"latitude_deg":11.9646272,"altitude":75,"angle":5,"satellites":39,"speed":8,"hex_longitude":"2d181a00","hex_latitude":"0721a840","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990577408001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191404232179712,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934144000,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025694000,"timestamp_ms":1789025694000,"timestamp_seconds":1789025694,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3db130"} 
[2026-09-10 13:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-10 13:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990577408001,"66":14048,"105":206,"83":41984,"24":8,"16":19191404232179712,"45":1736700636934144000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990577408001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191404232179712,"km_value":19191404232179.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934144000,"description":"Unknown IO ID 45"} 
[2026-09-10 13:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990577408001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1736700636934144000}} 
[2026-09-10 13:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:07:33] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:07:33] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:07:36] local.INFO: TCP Data received {"connection_id":177676,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:36] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:36] local.INFO: IMEI packet received {"connection_id":177676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":177676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:07:39] local.INFO: TCP Data received {"connection_id":177676,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:39] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:39] local.INFO: IMEI packet received {"connection_id":177676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":177676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:07:44] local.INFO: TCP Data received {"connection_id":177676,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:44] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:07:44] local.INFO: IMEI packet received {"connection_id":177676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":177676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:07:48] local.INFO: TCP Data received {"connection_id":177676,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3ee5c8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3ee5c8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:07:48] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3ee5c8012c768b40084e28f00014009f2b..."} 
[2026-09-10 13:07:48] local.INFO: Packet analysis {"connection_id":177676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:07:48] local.INFO: Extracted packet for processing {"connection_id":177676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":745966400,"raw_latitude":139340016,"longitude_deg":74.59664,"latitude_deg":13.9340016,"altitude":20,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2c768b40","hex_latitude":"084e28f0","is_valid_coordinates":true} 
[2026-09-10 13:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990592512001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8541991522653499392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789025773000,"timestamp_ms":1789025773000,"timestamp_seconds":1789025773,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3ee5c8"} 
[2026-09-10 13:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990592512001,"66":27832,"13":206,"9":53760,"24":0,"16":3893920429768704,"44":8541991522653499392},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990592512001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:07:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:07:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:07:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":8541991522653499392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990592512001,"power":27832,"unknown_13":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8541991522653499392}} 
[2026-09-10 13:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":177676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:07:48] local.INFO: GPS data processed {"connection_id":177676,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:07:48] local.INFO: Acknowledgment sent {"connection_id":177676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:07:56] local.INFO: TCP Data received {"connection_id":179045,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:07:56] local.INFO: Processing buffer {"connection_id":179045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:07:56] local.INFO: Packet analysis {"connection_id":179045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:56] local.INFO: Extracted packet for processing {"connection_id":179045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:07:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:07:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":179045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:07:56] local.INFO: GPS data processed {"connection_id":179045,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:07:56] local.INFO: Acknowledgment sent {"connection_id":179045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:05] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3db518012d181a000721a8e0004b002427..."} 
[2026-09-10 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3db518012d181a000721a8e0004b002427..."} 
[2026-09-10 13:08:05] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3db518012d181a000721a8e0004b002427..."} 
[2026-09-10 13:08:05] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:08:05] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119646432,"longitude_deg":75.655424,"latitude_deg":11.9646432,"altitude":75,"angle":36,"satellites":39,"speed":5,"hex_longitude":"2d181a00","hex_latitude":"0721a8e0","is_valid_coordinates":true} 
[2026-09-10 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990577664001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191408527147008,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934193152,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08: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-09-10 13:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789025695000,"timestamp_ms":1789025695000,"timestamp_seconds":1789025695,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3db518"} 
[2026-09-10 13:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 13:08: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-09-10 13:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990577664001,"66":14048,"105":206,"83":41984,"24":5,"16":19191408527147008,"45":1736700636934193152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990577664001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191408527147008,"km_value":19191408527147.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934193152,"description":"Unknown IO ID 45"} 
[2026-09-10 13:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990577664001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1736700636934193152}} 
[2026-09-10 13:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:08:05] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:08:05] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:20] local.INFO: TCP Data received {"connection_id":177676,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3fc4700100000000000000000000000000..."} 
[2026-09-10 13:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3fc4700100000000000000000000000000..."} 
[2026-09-10 13:08:20] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3fc4700100000000000000000000000000..."} 
[2026-09-10 13:08:20] local.INFO: Packet analysis {"connection_id":177676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:08:20] local.INFO: Extracted packet for processing {"connection_id":177676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:08:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 13:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990597888001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8541991522653499392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789025830000,"timestamp_ms":1789025830000,"timestamp_seconds":1789025830,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3fc470"} 
[2026-09-10 13:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 13:08:20] 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-09-10 13:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":177676,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 13:08:20] local.INFO: GPS data processed {"connection_id":177676,"processed":0,"errors":0,"total":1} 
[2026-09-10 13:08:20] local.INFO: Acknowledgment sent {"connection_id":177676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:24] local.INFO: TCP Data received {"connection_id":179046,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:08:24] local.INFO: Processing buffer {"connection_id":179046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:08:24] local.INFO: IMEI packet received {"connection_id":179046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":179046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:08:29] local.INFO: TCP Data received {"connection_id":179046,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:08:29] local.INFO: Processing buffer {"connection_id":179046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:08:29] local.INFO: IMEI packet received {"connection_id":179046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":179046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:08:30] local.INFO: TCP Data received {"connection_id":179046,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:08:30] local.INFO: Processing buffer {"connection_id":179046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:08:30] local.INFO: Packet analysis {"connection_id":179046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:08:30] local.INFO: Extracted packet for processing {"connection_id":179046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:08: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-09-10 13:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:08: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-09-10 13:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:08:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":179046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:08:30] local.INFO: GPS data processed {"connection_id":179046,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:08:30] local.INFO: Acknowledgment sent {"connection_id":179046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:32] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:08:32] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:08:32] local.INFO: IMEI packet received {"connection_id":176258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":176258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:08:34] local.INFO: TCP Data received {"connection_id":179046,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:08:34] local.INFO: Processing buffer {"connection_id":179046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:08:34] local.INFO: Packet analysis {"connection_id":179046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:08:34] local.INFO: Extracted packet for processing {"connection_id":179046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:08:34] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08: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-09-10 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:08: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-09-10 13:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13: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-09-10 13:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:08:34] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":179046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:08:34] local.INFO: GPS data processed {"connection_id":179046,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:08:34] local.INFO: Acknowledgment sent {"connection_id":179046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:35] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:08:35] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:08:35] local.INFO: IMEI packet received {"connection_id":176258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":176258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:08:36] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3e0720012d181a800721a928004b002428..."} 
[2026-09-10 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3e0720012d181a800721a928004b002428..."} 
[2026-09-10 13:08:36] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3e0720012d181a800721a928004b002428..."} 
[2026-09-10 13:08:36] local.INFO: Packet analysis {"connection_id":176258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:08:36] local.INFO: Extracted packet for processing {"connection_id":176258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119646504,"longitude_deg":75.6554368,"latitude_deg":11.9646504,"altitude":75,"angle":36,"satellites":40,"speed":0,"hex_longitude":"2d181a80","hex_latitude":"0721a928","is_valid_coordinates":true} 
[2026-09-10 13:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990577920001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191417117081600,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934234112,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08: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-09-10 13:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789025716000,"timestamp_ms":1789025716000,"timestamp_seconds":1789025716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3e0720"} 
[2026-09-10 13:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08: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-09-10 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 13:08: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-09-10 13:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990577920001,"66":14428,"105":206,"83":41984,"24":0,"16":19191417117081600,"45":1736700636934234112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990577920001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191417117081600,"km_value":19191417117081.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934234112,"description":"Unknown IO ID 45"} 
[2026-09-10 13:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990577920001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736700636934234112}} 
[2026-09-10 13:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":176258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:08:36] local.INFO: GPS data processed {"connection_id":176258,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:08:36] local.INFO: Acknowledgment sent {"connection_id":176258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:37] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3e2278012d181cc00721aaa0004a003027..."} 
[2026-09-10 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3e2278012d181cc00721aaa0004a003027..."} 
[2026-09-10 13:08:37] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3e2278012d181cc00721aaa0004a003027..."} 
[2026-09-10 13:08:37] local.INFO: Packet analysis {"connection_id":176258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:08:37] local.INFO: Extracted packet for processing {"connection_id":176258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646880,"longitude_deg":75.6554944,"latitude_deg":11.964688,"altitude":74,"angle":48,"satellites":39,"speed":8,"hex_longitude":"2d181cc0","hex_latitude":"0721aaa0","is_valid_coordinates":true} 
[2026-09-10 13:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990583296001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191451476819968,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422607872,"note":"Value kept but may cause issues"} 
[2026-09-10 13: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-09-10 13:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789025723000,"timestamp_ms":1789025723000,"timestamp_seconds":1789025723,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3e2278"} 
[2026-09-10 13:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 13:08: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-09-10 13:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990583296001,"66":14157,"105":206,"83":41984,"24":8,"16":19191451476819968,"45":1736841374422607872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990583296001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:08:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191451476819968,"km_value":19191451476819.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422607872,"description":"Unknown IO ID 45"} 
[2026-09-10 13:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990583296001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1736841374422607872}} 
[2026-09-10 13:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":176258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:08:37] local.INFO: GPS data processed {"connection_id":176258,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:08:37] local.INFO: Acknowledgment sent {"connection_id":176258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:38] local.INFO: TCP Data received {"connection_id":176259,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:08:38] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:08:38] local.INFO: IMEI packet received {"connection_id":176259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":176259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:08:43] local.INFO: TCP Data received {"connection_id":176259,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:08:43] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:08:43] local.INFO: IMEI packet received {"connection_id":176259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":176259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:08:55] local.INFO: TCP Data received {"connection_id":176259,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3f3fa0012c7690c0084dee40001500ae2d..."} 
[2026-09-10 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3f3fa0012c7690c0084dee40001500ae2d..."} 
[2026-09-10 13:08:55] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3f3fa0012c7690c0084dee40001500ae2d..."} 
[2026-09-10 13:08:55] local.INFO: Packet analysis {"connection_id":176259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:08:55] local.INFO: Extracted packet for processing {"connection_id":176259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":745967808,"raw_latitude":139324992,"longitude_deg":74.5967808,"latitude_deg":13.9324992,"altitude":21,"angle":174,"satellites":45,"speed":28,"hex_longitude":"2c7690c0","hex_latitude":"084dee40","is_valid_coordinates":true} 
[2026-09-10 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,13,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 13:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789025796000,"timestamp_ms":1789025796000,"timestamp_seconds":1789025796,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3f3fa0"} 
[2026-09-10 13:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 13:08:55] 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-09-10 13:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27974,"13":206,"9":53760,"24":28,"16":3893920429768704},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16]} 
[2026-09-10 13:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 13:08:55] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:08:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:08:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27974,"unknown_13":206,"unknown_9":53760,"ignition":28,"odometer":null}} 
[2026-09-10 13:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":176259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:08:55] local.INFO: GPS data processed {"connection_id":176259,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:08:55] local.INFO: Acknowledgment sent {"connection_id":176259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:08:57] local.INFO: TCP Data received {"connection_id":176259,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a401e480100000000000000000000000000..."} 
[2026-09-10 13:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a401e480100000000000000000000000000..."} 
[2026-09-10 13:08:57] local.INFO: Processing buffer {"connection_id":176259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a401e480100000000000000000000000000..."} 
[2026-09-10 13:08:57] local.INFO: Packet analysis {"connection_id":176259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:08:57] local.INFO: Extracted packet for processing {"connection_id":176259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:08:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 13:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990603776001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8543539635021561856,"note":"Value kept but may cause issues"} 
[2026-09-10 13:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789025853000,"timestamp_ms":1789025853000,"timestamp_seconds":1789025853,"priority":1,"record_length":96,"hex_timestamp":"000001a08a401e48"} 
[2026-09-10 13:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 13:08:57] 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-09-10 13:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":176259,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 13:08:57] local.INFO: GPS data processed {"connection_id":176259,"processed":0,"errors":0,"total":1} 
[2026-09-10 13:08:57] local.INFO: Acknowledgment sent {"connection_id":176259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:09:08] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3e2a48012d181e000721abf8004a002327..."} 
[2026-09-10 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3e2a48012d181e000721abf8004a002327..."} 
[2026-09-10 13:09:08] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3e2a48012d181e000721abf8004a002327..."} 
[2026-09-10 13:09:08] local.INFO: Packet analysis {"connection_id":176258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:09:08] local.INFO: Extracted packet for processing {"connection_id":176258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647224,"longitude_deg":75.6555264,"latitude_deg":11.9647224,"altitude":74,"angle":35,"satellites":39,"speed":11,"hex_longitude":"2d181e00","hex_latitude":"0721abf8","is_valid_coordinates":true} 
[2026-09-10 13:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990585088001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191472951656448,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120303104,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09: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-09-10 13:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789025725000,"timestamp_ms":1789025725000,"timestamp_seconds":1789025725,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3e2a48"} 
[2026-09-10 13:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 13:09: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-09-10 13:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990585088001,"66":14135,"105":206,"83":41984,"24":11,"16":19191472951656448,"45":1737474693120303104},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990585088001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:09:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191472951656448,"km_value":19191472951656.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120303104,"description":"Unknown IO ID 45"} 
[2026-09-10 13:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990585088001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737474693120303104}} 
[2026-09-10 13:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":176258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:09:08] local.INFO: GPS data processed {"connection_id":176258,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:09:08] local.INFO: Acknowledgment sent {"connection_id":176258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:09:21] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:09:21] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:09:21] local.INFO: IMEI packet received {"connection_id":176491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":176491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:09:24] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:09:24] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:09:24] local.INFO: IMEI packet received {"connection_id":176491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":176491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:09:25] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:09:25] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:09:25] local.INFO: Packet analysis {"connection_id":176491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:09:25] local.INFO: Extracted packet for processing {"connection_id":176491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:09:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:09:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":176491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:09:25] local.INFO: GPS data processed {"connection_id":176491,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:09:25] local.INFO: Acknowledgment sent {"connection_id":176491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:09:27] local.INFO: TCP Data received {"connection_id":177677,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:09:27] local.INFO: Processing buffer {"connection_id":177677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:09:27] local.INFO: IMEI packet received {"connection_id":177677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":177677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:09:29] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:09:29] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:09:29] local.INFO: Packet analysis {"connection_id":176491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:09:29] local.INFO: Extracted packet for processing {"connection_id":176491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:09: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-09-10 13:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:09:29] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":176491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:09:29] local.INFO: GPS data processed {"connection_id":176491,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:09:29] local.INFO: Acknowledgment sent {"connection_id":176491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:09:32] local.INFO: TCP Data received {"connection_id":177677,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:09:32] local.INFO: Processing buffer {"connection_id":177677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:09:32] local.INFO: IMEI packet received {"connection_id":177677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":177677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:09:33] local.INFO: TCP Data received {"connection_id":177677,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3e3dd0012d1821000721b0c0004a015f28..."} 
[2026-09-10 13:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3e3dd0012d1821000721b0c0004a015f28..."} 
[2026-09-10 13:09:33] local.INFO: Processing buffer {"connection_id":177677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3e3dd0012d1821000721b0c0004a015f28..."} 
[2026-09-10 13:09:33] local.INFO: Packet analysis {"connection_id":177677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:09:33] local.INFO: Extracted packet for processing {"connection_id":177677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648448,"longitude_deg":75.6556032,"latitude_deg":11.9648448,"altitude":74,"angle":351,"satellites":40,"speed":6,"hex_longitude":"2d182100","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990585600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191541671133184,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841279488,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025730000,"timestamp_ms":1789025730000,"timestamp_seconds":1789025730,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3e3dd0"} 
[2026-09-10 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-09-10 13:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 13:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990585600001,"66":14396,"105":206,"83":41984,"24":6,"16":19191541671133184,"45":1737826536841279488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990585600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:09:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191541671133184,"km_value":19191541671133.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841279488,"description":"Unknown IO ID 45"} 
[2026-09-10 13:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990585600001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737826536841279488}} 
[2026-09-10 13:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":177677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:09:33] local.INFO: GPS data processed {"connection_id":177677,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:09:33] local.INFO: Acknowledgment sent {"connection_id":177677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:09:38] local.INFO: TCP Data received {"connection_id":176260,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:09:38] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:09:38] local.INFO: IMEI packet received {"connection_id":176260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":176260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:09:43] local.INFO: TCP Data received {"connection_id":176260,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:09:43] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:09:43] local.INFO: IMEI packet received {"connection_id":176260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":176260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:09:44] local.INFO: TCP Data received {"connection_id":176260,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3f9590012c769640084db130001700ac2c..."} 
[2026-09-10 13:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3f9590012c769640084db130001700ac2c..."} 
[2026-09-10 13:09:44] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3f9590012c769640084db130001700ac2c..."} 
[2026-09-10 13:09:44] local.INFO: Packet analysis {"connection_id":176260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:09:44] local.INFO: Extracted packet for processing {"connection_id":176260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":745969216,"raw_latitude":139309360,"longitude_deg":74.5969216,"latitude_deg":13.930936,"altitude":23,"angle":172,"satellites":44,"speed":26,"hex_longitude":"2c769640","hex_latitude":"084db130","is_valid_coordinates":true} 
[2026-09-10 13:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:09:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,13,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 13:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789025818000,"timestamp_ms":1789025818000,"timestamp_seconds":1789025818,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3f9590"} 
[2026-09-10 13:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 13:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"13":206,"9":53760,"24":26,"16":3893920429768704},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16]} 
[2026-09-10 13:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 13:09:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:09:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:09:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_13":206,"unknown_9":53760,"ignition":26,"odometer":null}} 
[2026-09-10 13:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":176260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:09:45] local.INFO: GPS data processed {"connection_id":176260,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:09:45] local.INFO: Acknowledgment sent {"connection_id":176260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:10:01] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:10:01] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:10:01] local.INFO: Packet analysis {"connection_id":176491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:10:01] local.INFO: Extracted packet for processing {"connection_id":176491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:10:01] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:10: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-09-10 13: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":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:10: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-09-10 13: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-09-10 13:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:10: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-09-10 13:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:10:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":176491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:10:01] local.INFO: GPS data processed {"connection_id":176491,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:10:01] local.INFO: Acknowledgment sent {"connection_id":176491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:10:04] local.INFO: TCP Data received {"connection_id":177677,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3e8fd8012d1820000721b138004a015f28..."} 
[2026-09-10 13:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3e8fd8012d1820000721b138004a015f28..."} 
[2026-09-10 13:10:04] local.INFO: Processing buffer {"connection_id":177677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3e8fd8012d1820000721b138004a015f28..."} 
[2026-09-10 13:10:04] local.INFO: Packet analysis {"connection_id":177677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:10:04] local.INFO: Extracted packet for processing {"connection_id":177677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648568,"longitude_deg":75.6555776,"latitude_deg":11.9648568,"altitude":74,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-09-10 13:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990586880001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191558851002368,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771724800,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025751000,"timestamp_ms":1789025751000,"timestamp_seconds":1789025751,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3e8fd8"} 
[2026-09-10 13:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:10: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-09-10 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 13:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990586880001,"66":13222,"105":206,"83":41984,"24":0,"16":19191558851002368,"45":1738670961771724800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990586880001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:10:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191558851002368,"km_value":19191558851002.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771724800,"description":"Unknown IO ID 45"} 
[2026-09-10 13:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990586880001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771724800}} 
[2026-09-10 13:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":177677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:10:04] local.INFO: GPS data processed {"connection_id":177677,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:10:04] local.INFO: Acknowledgment sent {"connection_id":177677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:10:16] local.INFO: TCP Data received {"connection_id":176260,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3fe798012c76a240084d6ae0001700ad2c..."} 
[2026-09-10 13:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3fe798012c76a240084d6ae0001700ad2c..."} 
[2026-09-10 13:10:16] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3fe798012c76a240084d6ae0001700ad2c..."} 
[2026-09-10 13:10:16] local.INFO: Packet analysis {"connection_id":176260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:10:16] local.INFO: Extracted packet for processing {"connection_id":176260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:10:16] local.INFO: GPS Element Parsed {"raw_longitude":745972288,"raw_latitude":139291360,"longitude_deg":74.5972288,"latitude_deg":13.929136,"altitude":23,"angle":173,"satellites":44,"speed":40,"hex_longitude":"2c76a240","hex_latitude":"084d6ae0","is_valid_coordinates":true} 
[2026-09-10 13:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990609408001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8545087747389468672,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789025839000,"timestamp_ms":1789025839000,"timestamp_seconds":1789025839,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3fe798"} 
[2026-09-10 13:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990609408001,"66":28137,"13":206,"9":53760,"24":40,"16":3893920429768704,"44":8545087747389468672},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990609408001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:10:16] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:10:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":8545087747389468672,"description":"Unknown IO ID 44"} 
[2026-09-10 13:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990609408001,"power":28137,"unknown_13":206,"unknown_9":53760,"ignition":40,"odometer":null,"unknown_44":8545087747389468672}} 
[2026-09-10 13:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":176260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:10:16] local.INFO: GPS data processed {"connection_id":176260,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:10:16] local.INFO: Acknowledgment sent {"connection_id":176260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:10:19] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:10:19] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:10:19] local.INFO: IMEI packet received {"connection_id":177678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":177678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:10:24] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:10:24] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:10:24] local.INFO: IMEI packet received {"connection_id":177678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":177678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:10:25] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:10:25] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3dbce8012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:10:25] local.INFO: Packet analysis {"connection_id":177678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:10:25] local.INFO: Extracted packet for processing {"connection_id":177678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3d"} 
[2026-09-10 13:10:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990500096001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981364736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025697000,"timestamp_ms":1789025697000,"timestamp_seconds":1789025697,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3dbce8"} 
[2026-09-10 13:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 13:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990500096001,"66":26539,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5574541512981364736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990500096001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:10:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981364736,"description":"Unknown IO ID 44"} 
[2026-09-10 13:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990500096001,"power":26539,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981364736}} 
[2026-09-10 13:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":177678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:10:25] local.INFO: GPS data processed {"connection_id":177678,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:10:25] local.INFO: Acknowledgment sent {"connection_id":177678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:10:27] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:10:27] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:10:27] local.INFO: IMEI packet received {"connection_id":177679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":177679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:10:32] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:10:32] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:10:32] local.INFO: IMEI packet received {"connection_id":177679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":177679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:10:33] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3ee1e0012d1820400721b080004b015f28..."} 
[2026-09-10 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3ee1e0012d1820400721b080004b015f28..."} 
[2026-09-10 13:10:33] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3ee1e0012d1820400721b080004b015f28..."} 
[2026-09-10 13:10:33] local.INFO: Packet analysis {"connection_id":177679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:10:33] local.INFO: Extracted packet for processing {"connection_id":177679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3e"} 
[2026-09-10 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648384,"longitude_deg":75.655584,"latitude_deg":11.9648384,"altitude":75,"angle":351,"satellites":40,"speed":2,"hex_longitude":"2d182040","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990592256001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191576030871552,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795044864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025772000,"timestamp_ms":1789025772000,"timestamp_seconds":1789025772,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3ee1e0"} 
[2026-09-10 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-09-10 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 13:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990592256001,"66":13135,"105":206,"83":41984,"24":2,"16":19191576030871552,"45":1738389486795044864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990592256001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:10:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191576030871552,"km_value":19191576030871.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795044864,"description":"Unknown IO ID 45"} 
[2026-09-10 13:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990592256001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738389486795044864}} 
[2026-09-10 13:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":177679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:10:33] local.INFO: GPS data processed {"connection_id":177679,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:10:33] local.INFO: Acknowledgment sent {"connection_id":177679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:10:41] local.INFO: TCP Data received {"connection_id":177680,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:41] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:41] local.INFO: IMEI packet received {"connection_id":177680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":177680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:10:44] local.INFO: TCP Data received {"connection_id":177680,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:44] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:44] local.INFO: IMEI packet received {"connection_id":177680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":177680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:10:49] local.INFO: TCP Data received {"connection_id":177680,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:49] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:10:49] local.INFO: IMEI packet received {"connection_id":177680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":177680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:10:51] local.INFO: TCP Data received {"connection_id":177680,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a402de8012c76a080084d1450001200ba2d..."} 
[2026-09-10 13:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a402de8012c76a080084d1450001200ba2d..."} 
[2026-09-10 13:10:51] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a402de8012c76a080084d1450001200ba2d..."} 
[2026-09-10 13:10:51] local.INFO: Packet analysis {"connection_id":177680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:10:51] local.INFO: Extracted packet for processing {"connection_id":177680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:10:51] local.INFO: GPS Element Parsed {"raw_longitude":745971840,"raw_latitude":139269200,"longitude_deg":74.597184,"latitude_deg":13.92692,"altitude":18,"angle":186,"satellites":45,"speed":58,"hex_longitude":"2c76a080","hex_latitude":"084d1450","is_valid_coordinates":true} 
[2026-09-10 13:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990614784001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8548465447105388544,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789025857000,"timestamp_ms":1789025857000,"timestamp_seconds":1789025857,"priority":1,"record_length":96,"hex_timestamp":"000001a08a402de8"} 
[2026-09-10 13:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:10: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-09-10 13: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 13:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990614784001,"66":27930,"13":206,"9":53760,"24":58,"16":3893920429768704,"44":8548465447105388544},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990614784001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:10:51] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:10:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8548465447105388544,"description":"Unknown IO ID 44"} 
[2026-09-10 13:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990614784001,"power":27930,"unknown_13":206,"unknown_9":53760,"ignition":58,"odometer":null,"unknown_44":8548465447105388544}} 
[2026-09-10 13:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":177680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:10:51] local.INFO: GPS data processed {"connection_id":177680,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:10:51] local.INFO: Acknowledgment sent {"connection_id":177680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:10:56] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:10:56] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:10:56] local.INFO: Packet analysis {"connection_id":177678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:10:56] local.INFO: Extracted packet for processing {"connection_id":177678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:10:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:10:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:10:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":177678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:10:56] local.INFO: GPS data processed {"connection_id":177678,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:10:56] local.INFO: Acknowledgment sent {"connection_id":177678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:11:04] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3f33e8012d1820000721b060004b015f27..."} 
[2026-09-10 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3f33e8012d1820000721b060004b015f27..."} 
[2026-09-10 13:11:04] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3f33e8012d1820000721b060004b015f27..."} 
[2026-09-10 13:11:04] local.INFO: Packet analysis {"connection_id":177679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:11:04] local.INFO: Extracted packet for processing {"connection_id":177679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648352,"longitude_deg":75.6555776,"latitude_deg":11.9648352,"altitude":75,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-09-10 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990597632001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191580325838848,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539175424,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789025793000,"timestamp_ms":1789025793000,"timestamp_seconds":1789025793,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3f33e8"} 
[2026-09-10 13:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:11: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-09-10 13:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 13:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990597632001,"66":13015,"105":206,"83":41984,"24":0,"16":19191580325838848,"45":1738459855539175424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990597632001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:11:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191580325838848,"km_value":19191580325838.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539175424,"description":"Unknown IO ID 45"} 
[2026-09-10 13:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990597632001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539175424}} 
[2026-09-10 13:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":177679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:11:04] local.INFO: GPS data processed {"connection_id":177679,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:11:04] local.INFO: Acknowledgment sent {"connection_id":177679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:11:19] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:11:19] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:11:19] local.INFO: IMEI packet received {"connection_id":176261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":176261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:11:23] local.INFO: TCP Data received {"connection_id":177680,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a406c68012c76a200084cb780000d009c2d..."} 
[2026-09-10 13:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a406c68012c76a200084cb780000d009c2d..."} 
[2026-09-10 13:11:23] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a406c68012c76a200084cb780000d009c2d..."} 
[2026-09-10 13:11:23] local.INFO: Packet analysis {"connection_id":177680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:11:23] local.INFO: Extracted packet for processing {"connection_id":177680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:11:23] local.INFO: GPS Element Parsed {"raw_longitude":745972224,"raw_latitude":139245440,"longitude_deg":74.5972224,"latitude_deg":13.924544,"altitude":13,"angle":156,"satellites":45,"speed":60,"hex_longitude":"2c76a200","hex_latitude":"084cb780","is_valid_coordinates":true} 
[2026-09-10 13:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990619392001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8547972865890471936,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789025873000,"timestamp_ms":1789025873000,"timestamp_seconds":1789025873,"priority":1,"record_length":96,"hex_timestamp":"000001a08a406c68"} 
[2026-09-10 13:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:11: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-09-10 13:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 13:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990619392001,"66":28126,"13":206,"9":53760,"24":60,"16":3893920429768704,"44":8547972865890471936},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990619392001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:11:23] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:11:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:11:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":8547972865890471936,"description":"Unknown IO ID 44"} 
[2026-09-10 13:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990619392001,"power":28126,"unknown_13":206,"unknown_9":53760,"ignition":60,"odometer":null,"unknown_44":8547972865890471936}} 
[2026-09-10 13:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":177680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:11:23] local.INFO: GPS data processed {"connection_id":177680,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:11:23] local.INFO: Acknowledgment sent {"connection_id":177680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:11:24] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:11:24] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:11:24] local.INFO: IMEI packet received {"connection_id":176261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":176261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:11:25] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:11:25] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:11:25] local.INFO: Packet analysis {"connection_id":176261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:11:25] local.INFO: Extracted packet for processing {"connection_id":176261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:11:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:11:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":176261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:11:25] local.INFO: GPS data processed {"connection_id":176261,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:11:25] local.INFO: Acknowledgment sent {"connection_id":176261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:11:27] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:11:27] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:11:27] local.INFO: IMEI packet received {"connection_id":177681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":177681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:11:32] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:11:32] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:11:32] local.INFO: IMEI packet received {"connection_id":177681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":177681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:11:33] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a3f85f0012d1820000721b060004b015f24..."} 
[2026-09-10 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a3f85f0012d1820000721b060004b015f24..."} 
[2026-09-10 13:11:33] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a3f85f0012d1820000721b060004b015f24..."} 
[2026-09-10 13:11:33] local.INFO: Packet analysis {"connection_id":177681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:11:33] local.INFO: Extracted packet for processing {"connection_id":177681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a3f"} 
[2026-09-10 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648352,"longitude_deg":75.6555776,"latitude_deg":11.9648352,"altitude":75,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990603008001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191580325838848,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794989568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789025814000,"timestamp_ms":1789025814000,"timestamp_seconds":1789025814,"priority":1,"record_length":96,"hex_timestamp":"000001a08a3f85f0"} 
[2026-09-10 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-09-10 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-10 13:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990603008001,"66":13004,"105":206,"83":41984,"24":0,"16":19191580325838848,"45":1738389486794989568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990603008001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:11:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191580325838848,"km_value":19191580325838.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794989568,"description":"Unknown IO ID 45"} 
[2026-09-10 13:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990603008001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794989568}} 
[2026-09-10 13:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":177681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:11:33] local.INFO: GPS data processed {"connection_id":177681,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:11:33] local.INFO: Acknowledgment sent {"connection_id":177681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:11:38] local.INFO: TCP Data received {"connection_id":177682,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:11:38] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:11:38] local.INFO: IMEI packet received {"connection_id":177682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":177682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:11:43] local.INFO: TCP Data received {"connection_id":177682,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:11:43] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:11:43] local.INFO: IMEI packet received {"connection_id":177682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":177682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:11:45] local.INFO: TCP Data received {"connection_id":177682,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a40aae8012c76ea80084c7bd0000600762d..."} 
[2026-09-10 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a40aae8012c76ea80084c7bd0000600762d..."} 
[2026-09-10 13:11:45] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a40aae8012c76ea80084c7bd0000600762d..."} 
[2026-09-10 13:11:45] local.INFO: Packet analysis {"connection_id":177682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:11:45] local.INFO: Extracted packet for processing {"connection_id":177682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:11:45] local.INFO: GPS Element Parsed {"raw_longitude":745990784,"raw_latitude":139230160,"longitude_deg":74.5990784,"latitude_deg":13.923016,"altitude":6,"angle":118,"satellites":45,"speed":59,"hex_longitude":"2c76ea80","hex_latitude":"084c7bd0","is_valid_coordinates":true} 
[2026-09-10 13:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990623488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8548395078349455360,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789025889000,"timestamp_ms":1789025889000,"timestamp_seconds":1789025889,"priority":1,"record_length":96,"hex_timestamp":"000001a08a40aae8"} 
[2026-09-10 13:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 13:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990623488001,"66":28104,"13":206,"9":53760,"24":59,"16":3893920429768704,"44":8548395078349455360},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-10 13:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990623488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:11:45] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 13:11:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8548395078349455360,"description":"Unknown IO ID 44"} 
[2026-09-10 13:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990623488001,"power":28104,"unknown_13":206,"unknown_9":53760,"ignition":59,"odometer":null,"unknown_44":8548395078349455360}} 
[2026-09-10 13:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":177682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:11:45] local.INFO: GPS data processed {"connection_id":177682,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:11:45] local.INFO: Acknowledgment sent {"connection_id":177682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:11:56] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:11:56] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:11:56] local.INFO: Packet analysis {"connection_id":176261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:11:56] local.INFO: Extracted packet for processing {"connection_id":176261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:11:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:11:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:11:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":176261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:11:56] local.INFO: GPS data processed {"connection_id":176261,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:11:56] local.INFO: Acknowledgment sent {"connection_id":176261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:04] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a430090012d181ec00721af58004d00d526..."} 
[2026-09-10 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a430090012d181ec00721af58004d00d526..."} 
[2026-09-10 13:12:04] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a430090012d181ec00721af58004d00d526..."} 
[2026-09-10 13:12:04] local.INFO: Packet analysis {"connection_id":177681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:04] local.INFO: Extracted packet for processing {"connection_id":177681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990661376001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12: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-09-10 13:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026042000,"timestamp_ms":1789026042000,"timestamp_seconds":1789026042,"priority":1,"record_length":96,"hex_timestamp":"000001a08a430090"} 
[2026-09-10 13:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12: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-09-10 13:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990661376001,"66":12798,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990661376001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:12:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990661376001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":177681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:12:04] local.INFO: GPS data processed {"connection_id":177681,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:12:04] local.INFO: Acknowledgment sent {"connection_id":177681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:17] local.INFO: TCP Data received {"connection_id":177682,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a40e968012c771d40084c37c0000a00aa2d..."} 
[2026-09-10 13:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a40e968012c771d40084c37c0000a00aa2d..."} 
[2026-09-10 13:12:17] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a40e968012c771d40084c37c0000a00aa2d..."} 
[2026-09-10 13:12:17] local.INFO: Packet analysis {"connection_id":177682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:12:17] local.INFO: Extracted packet for processing {"connection_id":177682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a40"} 
[2026-09-10 13:12:17] local.INFO: GPS Element Parsed {"raw_longitude":746003776,"raw_latitude":139212736,"longitude_deg":74.6003776,"latitude_deg":13.9212736,"altitude":10,"angle":170,"satellites":45,"speed":53,"hex_longitude":"2c771d40","hex_latitude":"084c37c0","is_valid_coordinates":true} 
[2026-09-10 13:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990627584001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8568802014157066240,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789025905000,"timestamp_ms":1789025905000,"timestamp_seconds":1789025905,"priority":1,"record_length":96,"hex_timestamp":"000001a08a40e968"} 
[2026-09-10 13:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:17] 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-09-10 13:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990627584001,"66":28050,"12":206,"9":53760,"24":53,"16":3893920429768704,"44":8568802014157066240},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-10 13:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990627584001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:12:17] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 13:12:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":8568802014157066240,"description":"Unknown IO ID 44"} 
[2026-09-10 13:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990627584001,"power":28050,"unknown_12":206,"unknown_9":53760,"ignition":53,"odometer":null,"unknown_44":8568802014157066240}} 
[2026-09-10 13:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":177682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:12:17] local.INFO: GPS data processed {"connection_id":177682,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:12:17] local.INFO: Acknowledgment sent {"connection_id":177682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:20] local.INFO: TCP Data received {"connection_id":179047,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:12:20] local.INFO: Processing buffer {"connection_id":179047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:12:20] local.INFO: IMEI packet received {"connection_id":179047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":179047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:12:24] local.INFO: TCP Data received {"connection_id":179047,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:12:24] local.INFO: Processing buffer {"connection_id":179047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:12:24] local.INFO: IMEI packet received {"connection_id":179047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":179047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:12:25] local.INFO: TCP Data received {"connection_id":179047,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:12:25] local.INFO: Processing buffer {"connection_id":179047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:12:25] local.INFO: Packet analysis {"connection_id":179047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:12:25] local.INFO: Extracted packet for processing {"connection_id":179047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:12:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:12:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":179047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:12:25] local.INFO: GPS data processed {"connection_id":179047,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:12:25] local.INFO: Acknowledgment sent {"connection_id":179047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:32] local.INFO: TCP Data received {"connection_id":176492,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:12:32] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:12:32] local.INFO: IMEI packet received {"connection_id":176492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":176492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:12:37] local.INFO: TCP Data received {"connection_id":176492,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:12:37] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:12:37] local.INFO: IMEI packet received {"connection_id":176492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":176492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:12:38] local.INFO: TCP Data received {"connection_id":176492,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a435298012d181ec00721af58004d00d525..."} 
[2026-09-10 13:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a435298012d181ec00721af58004d00d525..."} 
[2026-09-10 13:12:38] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a435298012d181ec00721af58004d00d525..."} 
[2026-09-10 13:12:38] local.INFO: Packet analysis {"connection_id":176492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:38] local.INFO: Extracted packet for processing {"connection_id":176492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990666752001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12: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-09-10 13:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789026063000,"timestamp_ms":1789026063000,"timestamp_seconds":1789026063,"priority":1,"record_length":96,"hex_timestamp":"000001a08a435298"} 
[2026-09-10 13:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990666752001,"66":12798,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990666752001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:12:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990666752001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":176492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:12:38] local.INFO: GPS data processed {"connection_id":176492,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:12:38] local.INFO: Acknowledgment sent {"connection_id":176492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:38] local.INFO: TCP Data received {"connection_id":176493,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:38] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:38] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:12:41] local.INFO: TCP Data received {"connection_id":176493,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:41] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:41] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:12:42] local.INFO: TCP Data received {"connection_id":176492,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a43a4a0012d181ec00721af58004d00d522..."} 
[2026-09-10 13:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a43a4a0012d181ec00721af58004d00d522..."} 
[2026-09-10 13:12:42] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a43a4a0012d181ec00721af58004d00d522..."} 
[2026-09-10 13:12:42] local.INFO: Packet analysis {"connection_id":176492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:42] local.INFO: Extracted packet for processing {"connection_id":176492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":34,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990672128001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12: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-09-10 13:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789026084000,"timestamp_ms":1789026084000,"timestamp_seconds":1789026084,"priority":1,"record_length":96,"hex_timestamp":"000001a08a43a4a0"} 
[2026-09-10 13:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990672128001,"66":12743,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990672128001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:12:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990672128001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":176492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:12:43] local.INFO: GPS data processed {"connection_id":176492,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:12:43] local.INFO: Acknowledgment sent {"connection_id":176492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:43] local.INFO: TCP Data received {"connection_id":176493,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:43] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:12:43] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:12:45] local.INFO: TCP Data received {"connection_id":176493,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4454680100000000000000000000000000..."} 
[2026-09-10 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4454680100000000000000000000000000..."} 
[2026-09-10 13:12:45] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4454680100000000000000000000000000..."} 
[2026-09-10 13:12:45] local.INFO: Packet analysis {"connection_id":176493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:12:45] local.INFO: Extracted packet for processing {"connection_id":176493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:12:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990674432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8704965534090919936,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789026129000,"timestamp_ms":1789026129000,"timestamp_seconds":1789026129,"priority":1,"record_length":96,"hex_timestamp":"000001a08a445468"} 
[2026-09-10 13:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":176493,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 13:12:45] local.INFO: GPS data processed {"connection_id":176493,"processed":0,"errors":0,"total":1} 
[2026-09-10 13:12:45] local.INFO: Acknowledgment sent {"connection_id":176493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:50] local.INFO: TCP Data received {"connection_id":176493,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a43eaf0012c7937000848f970000d00a82c..."} 
[2026-09-10 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a43eaf0012c7937000848f970000d00a82c..."} 
[2026-09-10 13:12:50] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a43eaf0012c7937000848f970000d00a82c..."} 
[2026-09-10 13:12:50] local.INFO: Packet analysis {"connection_id":176493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:50] local.INFO: Extracted packet for processing {"connection_id":176493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:12:50] local.INFO: GPS Element Parsed {"raw_longitude":746141440,"raw_latitude":139000176,"longitude_deg":74.614144,"latitude_deg":13.9000176,"altitude":13,"angle":168,"satellites":44,"speed":54,"hex_longitude":"2c793700","hex_latitude":"0848f970","is_valid_coordinates":true} 
[2026-09-10 13:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 13:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789026102000,"timestamp_ms":1789026102000,"timestamp_seconds":1789026102,"priority":1,"record_length":96,"hex_timestamp":"000001a08a43eaf0"} 
[2026-09-10 13:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"119":206,"9":53760,"24":54,"16":3893920429768704},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16]} 
[2026-09-10 13:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 13:12:50] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-10 13:12:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:12:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_119":206,"unknown_9":53760,"ignition":54,"odometer":null}} 
[2026-09-10 13:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":176493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:12:50] local.INFO: GPS data processed {"connection_id":176493,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:12:50] local.INFO: Acknowledgment sent {"connection_id":176493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:12:56] local.INFO: TCP Data received {"connection_id":179047,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:12:56] local.INFO: Processing buffer {"connection_id":179047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:12:56] local.INFO: Packet analysis {"connection_id":179047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:12:56] local.INFO: Extracted packet for processing {"connection_id":179047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:12:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:12:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:12:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":179047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:12:56] local.INFO: GPS data processed {"connection_id":179047,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:12:56] local.INFO: Acknowledgment sent {"connection_id":179047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:13:19] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:13:19] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:13:19] local.INFO: IMEI packet received {"connection_id":177683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":177683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:13:22] local.INFO: TCP Data received {"connection_id":176493,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a443cf8012c7940c00848a400000d00ab30..."} 
[2026-09-10 13:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a443cf8012c7940c00848a400000d00ab30..."} 
[2026-09-10 13:13:22] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a443cf8012c7940c00848a400000d00ab30..."} 
[2026-09-10 13:13:22] local.INFO: Packet analysis {"connection_id":176493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:13:22] local.INFO: Extracted packet for processing {"connection_id":176493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":746143936,"raw_latitude":138978304,"longitude_deg":74.6143936,"latitude_deg":13.8978304,"altitude":13,"angle":171,"satellites":48,"speed":0,"hex_longitude":"2c7940c0","hex_latitude":"0848a400","is_valid_coordinates":true} 
[2026-09-10 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990682112001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734450037892411392,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789026123000,"timestamp_ms":1789026123000,"timestamp_seconds":1789026123,"priority":1,"record_length":96,"hex_timestamp":"000001a08a443cf8"} 
[2026-09-10 13:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-10 13:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990682112001,"66":28104,"119":206,"9":53760,"24":0,"16":3893920429768704,"44":8734450037892411392},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-10 13:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990682112001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:13:22] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-10 13:13:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734450037892411392,"description":"Unknown IO ID 44"} 
[2026-09-10 13:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990682112001,"power":28104,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734450037892411392}} 
[2026-09-10 13:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":176493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:13:22] local.INFO: GPS data processed {"connection_id":176493,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:13:22] local.INFO: Acknowledgment sent {"connection_id":176493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:13:24] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:13:24] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:13:24] local.INFO: IMEI packet received {"connection_id":177683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":177683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:13:25] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:13:25] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:13:25] local.INFO: Packet analysis {"connection_id":177683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:13:25] local.INFO: Extracted packet for processing {"connection_id":177683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:13:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":177683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:13:25] local.INFO: GPS data processed {"connection_id":177683,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:13:25] local.INFO: Acknowledgment sent {"connection_id":177683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:13:26] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:26] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:26] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:13:27] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:27] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:27] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:13:32] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:32] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:13:32] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:13:33] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a43f6a8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a43f6a8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:13:33] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a43f6a8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:13:33] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:13:33] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a43"} 
[2026-09-10 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990677504001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026105000,"timestamp_ms":1789026105000,"timestamp_seconds":1789026105,"priority":1,"record_length":96,"hex_timestamp":"000001a08a43f6a8"} 
[2026-09-10 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-09-10 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 13:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990677504001,"66":12722,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990677504001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:13:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990677504001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:13:33] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:13:33] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:13:38] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:38] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:38] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:13:38] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:38] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:38] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:13:43] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:43] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:13:43] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:13:44] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4467f0012c79574008485ee0000e009d2f..."} 
[2026-09-10 13:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4467f0012c79574008485ee0000e009d2f..."} 
[2026-09-10 13:13:44] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4467f0012c79574008485ee0000e009d2f..."} 
[2026-09-10 13:13:44] local.INFO: Packet analysis {"connection_id":176494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:13:44] local.INFO: Extracted packet for processing {"connection_id":176494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:13:44] local.INFO: GPS Element Parsed {"raw_longitude":746149696,"raw_latitude":138960608,"longitude_deg":74.6149696,"latitude_deg":13.8960608,"altitude":14,"angle":157,"satellites":47,"speed":21,"hex_longitude":"2c795740","hex_latitude":"08485ee0","is_valid_coordinates":true} 
[2026-09-10 13:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990687488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8737194418909741056,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789026134000,"timestamp_ms":1789026134000,"timestamp_seconds":1789026134,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4467f0"} 
[2026-09-10 13:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 13:13:44] 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-09-10 13:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990687488001,"66":28006,"119":206,"9":53760,"24":21,"16":3893920429768704,"44":8737194418909741056},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-10 13:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990687488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:13:44] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-10 13:13:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":8737194418909741056,"description":"Unknown IO ID 44"} 
[2026-09-10 13:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990687488001,"power":28006,"unknown_119":206,"unknown_9":53760,"ignition":21,"odometer":null,"unknown_44":8737194418909741056}} 
[2026-09-10 13:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":176494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:13:44] local.INFO: GPS data processed {"connection_id":176494,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:13:44] local.INFO: Acknowledgment sent {"connection_id":176494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:13:57] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:13:57] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:13:57] local.INFO: Packet analysis {"connection_id":177683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:13:57] local.INFO: Extracted packet for processing {"connection_id":177683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:13:57] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:13:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:13:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":177683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:13:57] local.INFO: GPS data processed {"connection_id":177683,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:13:57] local.INFO: Acknowledgment sent {"connection_id":177683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:14:04] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4448b0012d181ec00721af58004d00d528..."} 
[2026-09-10 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4448b0012d181ec00721af58004d00d528..."} 
[2026-09-10 13:14:04] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4448b0012d181ec00721af58004d00d528..."} 
[2026-09-10 13:14:04] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:14:04] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990682880001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14: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-09-10 13:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026126000,"timestamp_ms":1789026126000,"timestamp_seconds":1789026126,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4448b0"} 
[2026-09-10 13:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:14: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-09-10 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 13:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990682880001,"66":12689,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990682880001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:14:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990682880001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:14:04] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:14:04] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:14:16] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4546980100000000000000000000000000..."} 
[2026-09-10 13:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4546980100000000000000000000000000..."} 
[2026-09-10 13:14:16] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4546980100000000000000000000000000..."} 
[2026-09-10 13:14:16] local.INFO: Packet analysis {"connection_id":176494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:14:16] local.INFO: Extracted packet for processing {"connection_id":176494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:14:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 13:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990690304001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8743527605881200640,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789026191000,"timestamp_ms":1789026191000,"timestamp_seconds":1789026191,"priority":1,"record_length":96,"hex_timestamp":"000001a08a454698"} 
[2026-09-10 13:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 13:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":176494,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 13:14:16] local.INFO: GPS data processed {"connection_id":176494,"processed":0,"errors":0,"total":1} 
[2026-09-10 13:14:16] local.INFO: Acknowledgment sent {"connection_id":176494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:14:19] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:14:19] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:14:19] local.INFO: IMEI packet received {"connection_id":177684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":177684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:14:24] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:14:24] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:14:24] local.INFO: IMEI packet received {"connection_id":177684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":177684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:14:25] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:14:25] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:14:25] local.INFO: Packet analysis {"connection_id":177684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:14:25] local.INFO: Extracted packet for processing {"connection_id":177684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:14:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:14:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":177684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:14:25] local.INFO: GPS data processed {"connection_id":177684,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:14:25] local.INFO: Acknowledgment sent {"connection_id":177684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:14:27] local.INFO: TCP Data received {"connection_id":179048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:14:27] local.INFO: Processing buffer {"connection_id":179048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:14:27] local.INFO: IMEI packet received {"connection_id":179048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":179048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:14:29] local.INFO: TCP Data received {"connection_id":179048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:14:29] local.INFO: Processing buffer {"connection_id":179048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:14:29] local.INFO: IMEI packet received {"connection_id":179048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":179048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:14:30] local.INFO: TCP Data received {"connection_id":179048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a449ab8012d181ec00721af58004d00d527..."} 
[2026-09-10 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a449ab8012d181ec00721af58004d00d527..."} 
[2026-09-10 13:14:30] local.INFO: Processing buffer {"connection_id":179048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a449ab8012d181ec00721af58004d00d527..."} 
[2026-09-10 13:14:30] local.INFO: Packet analysis {"connection_id":179048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:14:30] local.INFO: Extracted packet for processing {"connection_id":179048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990688256001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789026147000,"timestamp_ms":1789026147000,"timestamp_seconds":1789026147,"priority":1,"record_length":96,"hex_timestamp":"000001a08a449ab8"} 
[2026-09-10 13:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 13:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990688256001,"66":12743,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990688256001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:14:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990688256001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":179048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:14:30] local.INFO: GPS data processed {"connection_id":179048,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:14:30] local.INFO: Acknowledgment sent {"connection_id":179048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:14:38] local.INFO: TCP Data received {"connection_id":177685,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:14:38] local.INFO: Processing buffer {"connection_id":177685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:14:38] local.INFO: IMEI packet received {"connection_id":177685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":177685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:14:46] local.INFO: TCP Data received {"connection_id":177685,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:14:46] local.INFO: Processing buffer {"connection_id":177685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:14:46] local.INFO: IMEI packet received {"connection_id":177685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":177685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:14:48] local.INFO: TCP Data received {"connection_id":177685,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a44cd80012c796d4008482730000f009e2d..."} 
[2026-09-10 13:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a44cd80012c796d4008482730000f009e2d..."} 
[2026-09-10 13:14:48] local.INFO: Processing buffer {"connection_id":177685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a44cd80012c796d4008482730000f009e2d..."} 
[2026-09-10 13:14:48] local.INFO: Packet analysis {"connection_id":177685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:14:48] local.INFO: Extracted packet for processing {"connection_id":177685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:14:48] local.INFO: GPS Element Parsed {"raw_longitude":746155328,"raw_latitude":138946352,"longitude_deg":74.6155328,"latitude_deg":13.8946352,"altitude":15,"angle":158,"satellites":45,"speed":31,"hex_longitude":"2c796d40","hex_latitude":"08482730","is_valid_coordinates":true} 
[2026-09-10 13:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 13:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789026160000,"timestamp_ms":1789026160000,"timestamp_seconds":1789026160,"priority":1,"record_length":96,"hex_timestamp":"000001a08a44cd80"} 
[2026-09-10 13:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 13:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28126,"119":206,"9":53760,"24":31,"16":3893920429768704},"client_ip":"117.224.169.110","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16]} 
[2026-09-10 13:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 13:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 13:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 13:14:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-10 13:14:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-10 13:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:14:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28126,"unknown_119":206,"unknown_9":53760,"ignition":31,"odometer":null}} 
[2026-09-10 13:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":177685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:14:48] local.INFO: GPS data processed {"connection_id":177685,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:14:48] local.INFO: Acknowledgment sent {"connection_id":177685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:14:56] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:14:56] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:14:56] local.INFO: Packet analysis {"connection_id":177684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:14:56] local.INFO: Extracted packet for processing {"connection_id":177684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:14:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:14:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":177684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:14:56] local.INFO: GPS data processed {"connection_id":177684,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:14:56] local.INFO: Acknowledgment sent {"connection_id":177684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:15:00] local.INFO: TCP Data received {"connection_id":179048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a44ecc0012d181ec00721af58004d00d527..."} 
[2026-09-10 13:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a44ecc0012d181ec00721af58004d00d527..."} 
[2026-09-10 13:15:00] local.INFO: Processing buffer {"connection_id":179048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a44ecc0012d181ec00721af58004d00d527..."} 
[2026-09-10 13:15:00] local.INFO: Packet analysis {"connection_id":179048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:15:00] local.INFO: Extracted packet for processing {"connection_id":179048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a44"} 
[2026-09-10 13:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990693632001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789026168000,"timestamp_ms":1789026168000,"timestamp_seconds":1789026168,"priority":1,"record_length":96,"hex_timestamp":"000001a08a44ecc0"} 
[2026-09-10 13:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:15: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-09-10 13:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 13:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990693632001,"66":12722,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990693632001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:15:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990693632001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":179048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:15:00] local.INFO: GPS data processed {"connection_id":179048,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:15:00] local.INFO: Acknowledgment sent {"connection_id":179048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:15:19] local.INFO: TCP Data received {"connection_id":179049,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:15:19] local.INFO: Processing buffer {"connection_id":179049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:15:19] local.INFO: IMEI packet received {"connection_id":179049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":179049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:15:24] local.INFO: TCP Data received {"connection_id":179049,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:15:24] local.INFO: Processing buffer {"connection_id":179049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:15:24] local.INFO: IMEI packet received {"connection_id":179049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":179049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:15:25] local.INFO: TCP Data received {"connection_id":179049,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:15:25] local.INFO: Processing buffer {"connection_id":179049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4254b0012cb2a5c0077516980021001e2b..."} 
[2026-09-10 13:15:25] local.INFO: Packet analysis {"connection_id":179049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:15:25] local.INFO: Extracted packet for processing {"connection_id":179049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a42"} 
[2026-09-10 13:15:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990578432001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789025998000,"timestamp_ms":1789025998000,"timestamp_seconds":1789025998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4254b0"} 
[2026-09-10 13:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:15: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-10 13:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990578432001,"66":26267,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990578432001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:15:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:15:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990578432001,"power":26267,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":179049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:15:25] local.INFO: GPS data processed {"connection_id":179049,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:15:25] local.INFO: Acknowledgment sent {"connection_id":179049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:15:27] local.INFO: TCP Data received {"connection_id":177686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:15:27] local.INFO: Processing buffer {"connection_id":177686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:15:27] local.INFO: IMEI packet received {"connection_id":177686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":177686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:15:32] local.INFO: TCP Data received {"connection_id":177686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:15:32] local.INFO: Processing buffer {"connection_id":177686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:15:32] local.INFO: IMEI packet received {"connection_id":177686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":177686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:15:33] local.INFO: TCP Data received {"connection_id":177686,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a453ec8012d181ec00721af58004d00d525..."} 
[2026-09-10 13:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a453ec8012d181ec00721af58004d00d525..."} 
[2026-09-10 13:15:33] local.INFO: Processing buffer {"connection_id":177686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a453ec8012d181ec00721af58004d00d525..."} 
[2026-09-10 13:15:33] local.INFO: Packet analysis {"connection_id":177686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:15:33] local.INFO: Extracted packet for processing {"connection_id":177686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990699008001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026189000,"timestamp_ms":1789026189000,"timestamp_seconds":1789026189,"priority":1,"record_length":96,"hex_timestamp":"000001a08a453ec8"} 
[2026-09-10 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-09-10 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 13:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990699008001,"66":12722,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990699008001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:15:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990699008001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":177686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:15:33] local.INFO: GPS data processed {"connection_id":177686,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:15:33] local.INFO: Acknowledgment sent {"connection_id":177686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:15:56] local.INFO: TCP Data received {"connection_id":179049,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:15:56] local.INFO: Processing buffer {"connection_id":179049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:15:56] local.INFO: Packet analysis {"connection_id":179049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:15:56] local.INFO: Extracted packet for processing {"connection_id":179049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:15:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:15:56] 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-09-10 13:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:15:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:15:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":179049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:15:56] local.INFO: GPS data processed {"connection_id":179049,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:15:56] local.INFO: Acknowledgment sent {"connection_id":179049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:16:05] local.INFO: TCP Data received {"connection_id":177686,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4590d0012d181ec00721af58004d00d525..."} 
[2026-09-10 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4590d0012d181ec00721af58004d00d525..."} 
[2026-09-10 13:16:05] local.INFO: Processing buffer {"connection_id":177686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4590d0012d181ec00721af58004d00d525..."} 
[2026-09-10 13:16:05] local.INFO: Packet analysis {"connection_id":177686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:16:05] local.INFO: Extracted packet for processing {"connection_id":177686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990704384001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13: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-09-10 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789026210000,"timestamp_ms":1789026210000,"timestamp_seconds":1789026210,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4590d0"} 
[2026-09-10 13:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 13:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990704384001,"66":12689,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990704384001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990704384001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":177686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:16:05] local.INFO: GPS data processed {"connection_id":177686,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:16:05] local.INFO: Acknowledgment sent {"connection_id":177686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:16:19] local.INFO: TCP Data received {"connection_id":179050,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:16:19] local.INFO: Processing buffer {"connection_id":179050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:16:19] local.INFO: IMEI packet received {"connection_id":179050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":179050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:16:24] local.INFO: TCP Data received {"connection_id":179050,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:16:24] local.INFO: Processing buffer {"connection_id":179050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:16:24] local.INFO: IMEI packet received {"connection_id":179050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":179050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:16:25] local.INFO: TCP Data received {"connection_id":179050,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:16:25] local.INFO: Processing buffer {"connection_id":179050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:16:25] local.INFO: Packet analysis {"connection_id":179050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:16:25] local.INFO: Extracted packet for processing {"connection_id":179050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:16:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:16:25] 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-09-10 13:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:16:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":179050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:16:25] local.INFO: GPS data processed {"connection_id":179050,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:16:25] local.INFO: Acknowledgment sent {"connection_id":179050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:16:27] local.INFO: TCP Data received {"connection_id":179051,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:16:27] local.INFO: Processing buffer {"connection_id":179051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:16:27] local.INFO: IMEI packet received {"connection_id":179051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":179051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:16:32] local.INFO: TCP Data received {"connection_id":179051,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:16:32] local.INFO: Processing buffer {"connection_id":179051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:16:32] local.INFO: IMEI packet received {"connection_id":179051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":179051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:16:33] local.INFO: TCP Data received {"connection_id":179051,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a45e2d8012d181ec00721af58004d00d523..."} 
[2026-09-10 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a45e2d8012d181ec00721af58004d00d523..."} 
[2026-09-10 13:16:33] local.INFO: Processing buffer {"connection_id":179051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a45e2d8012d181ec00721af58004d00d523..."} 
[2026-09-10 13:16:33] local.INFO: Packet analysis {"connection_id":179051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:16:33] local.INFO: Extracted packet for processing {"connection_id":179051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a45"} 
[2026-09-10 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990709760001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026231000,"timestamp_ms":1789026231000,"timestamp_seconds":1789026231,"priority":1,"record_length":96,"hex_timestamp":"000001a08a45e2d8"} 
[2026-09-10 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-09-10 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 13:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990709760001,"66":12526,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990709760001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:16:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990709760001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":179051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:16:33] local.INFO: GPS data processed {"connection_id":179051,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:16:33] local.INFO: Acknowledgment sent {"connection_id":179051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:16:56] local.INFO: TCP Data received {"connection_id":179050,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:16:56] local.INFO: Processing buffer {"connection_id":179050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:16:56] local.INFO: Packet analysis {"connection_id":179050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:16:56] local.INFO: Extracted packet for processing {"connection_id":179050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:16:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:16:56] 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-09-10 13:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:16:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:16:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":179050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:16:56] local.INFO: GPS data processed {"connection_id":179050,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:16:56] local.INFO: Acknowledgment sent {"connection_id":179050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:17:04] local.INFO: TCP Data received {"connection_id":179051,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4634e0012d181ec00721af58004d00d526..."} 
[2026-09-10 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4634e0012d181ec00721af58004d00d526..."} 
[2026-09-10 13:17:04] local.INFO: Processing buffer {"connection_id":179051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4634e0012d181ec00721af58004d00d526..."} 
[2026-09-10 13:17:04] local.INFO: Packet analysis {"connection_id":179051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:04] local.INFO: Extracted packet for processing {"connection_id":179051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990715136001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17: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-09-10 13:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026252000,"timestamp_ms":1789026252000,"timestamp_seconds":1789026252,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4634e0"} 
[2026-09-10 13:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 13:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990715136001,"66":12667,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990715136001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:17:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:17:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990715136001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":179051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:17:04] local.INFO: GPS data processed {"connection_id":179051,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:17:04] local.INFO: Acknowledgment sent {"connection_id":179051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:17:19] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:17:19] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:17:19] local.INFO: IMEI packet received {"connection_id":176495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":176495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:17:24] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:17:24] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:17:24] local.INFO: IMEI packet received {"connection_id":176495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":176495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:17:25] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:17:25] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:17:25] local.INFO: Packet analysis {"connection_id":176495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:25] local.INFO: Extracted packet for processing {"connection_id":176495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 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-09-10 13:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:17:25] 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-09-10 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-09-10 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-09-10 13:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:17:25] 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-09-10 13:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:17:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":176495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:17:25] local.INFO: GPS data processed {"connection_id":176495,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:17:25] local.INFO: Acknowledgment sent {"connection_id":176495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:17:27] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:17:27] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:17:27] local.INFO: IMEI packet received {"connection_id":176496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":176496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:17:28] local.INFO: TCP Data received {"connection_id":177687,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:28] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:28] local.INFO: IMEI packet received {"connection_id":177687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":177687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:17:29] local.INFO: TCP Data received {"connection_id":177687,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:29] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:29] local.INFO: IMEI packet received {"connection_id":177687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":177687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:17:29] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:17:29] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:17:29] local.INFO: Packet analysis {"connection_id":176495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:29] local.INFO: Extracted packet for processing {"connection_id":176495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:29] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:17:29] 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-09-10 13:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:17:29] 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-09-10 13:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:17:29] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":176495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:17:29] local.INFO: GPS data processed {"connection_id":176495,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:17:29] local.INFO: Acknowledgment sent {"connection_id":176495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:17:32] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:17:32] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:17:32] local.INFO: IMEI packet received {"connection_id":176496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":176496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:17:33] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4686e8012d181ec00721af58004d00d525..."} 
[2026-09-10 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4686e8012d181ec00721af58004d00d525..."} 
[2026-09-10 13:17:33] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4686e8012d181ec00721af58004d00d525..."} 
[2026-09-10 13:17:33] local.INFO: Packet analysis {"connection_id":176496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:33] local.INFO: Extracted packet for processing {"connection_id":176496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990720512001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026273000,"timestamp_ms":1789026273000,"timestamp_seconds":1789026273,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4686e8"} 
[2026-09-10 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-09-10 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 13:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990720512001,"66":12689,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990720512001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:17:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990720512001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":176496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:17:33] local.INFO: GPS data processed {"connection_id":176496,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:17:33] local.INFO: Acknowledgment sent {"connection_id":176496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:17:33] local.INFO: TCP Data received {"connection_id":177687,"ip":"117.224.169.110","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:33] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:17:33] local.INFO: IMEI packet received {"connection_id":177687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 13:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":177687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:17:34] local.INFO: TCP Data received {"connection_id":177687,"ip":"117.224.169.110","data_length":795,"data_hex":"000000000000030f8e0a000001a08a47cf080100000000000000000000000000..."} 
[2026-09-10 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a47cf080100000000000000000000000000..."} 
[2026-09-10 13:17:34] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a47cf080100000000000000000000000000..."} 
[2026-09-10 13:17:34] local.INFO: Packet analysis {"connection_id":177687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:17:34] local.INFO: Extracted packet for processing {"connection_id":177687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732800001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8767804822600298496,"note":"Value kept but may cause issues"} 
[2026-09-10 13:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789026357000,"timestamp_ms":1789026357000,"timestamp_seconds":1789026357,"priority":1,"record_length":96,"hex_timestamp":"000001a08a47cf08"} 
[2026-09-10 13:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-10 13:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 13:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.110","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 13:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 13:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":177687,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 13:17:34] local.INFO: GPS data processed {"connection_id":177687,"processed":0,"errors":0,"total":1} 
[2026-09-10 13:17:34] local.INFO: Acknowledgment sent {"connection_id":177687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:18:01] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:01] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:01] local.INFO: Packet analysis {"connection_id":176495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:01] local.INFO: Extracted packet for processing {"connection_id":176495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:18: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-09-10 13:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:18: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-09-10 13:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:18:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":176495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:18:01] local.INFO: GPS data processed {"connection_id":176495,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:18:01] local.INFO: Acknowledgment sent {"connection_id":176495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:18:04] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46d8f0012d181ec00721af58004d00d527..."} 
[2026-09-10 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46d8f0012d181ec00721af58004d00d527..."} 
[2026-09-10 13:18:04] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46d8f0012d181ec00721af58004d00d527..."} 
[2026-09-10 13:18:04] local.INFO: Packet analysis {"connection_id":176496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:04] local.INFO: Extracted packet for processing {"connection_id":176496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990725888001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026294000,"timestamp_ms":1789026294000,"timestamp_seconds":1789026294,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46d8f0"} 
[2026-09-10 13:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 13:18: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-09-10 13:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990725888001,"66":12667,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990725888001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:18:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990725888001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":176496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:18:04] local.INFO: GPS data processed {"connection_id":176496,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:18:04] local.INFO: Acknowledgment sent {"connection_id":176496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:18:19] local.INFO: TCP Data received {"connection_id":179052,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:18:19] local.INFO: Processing buffer {"connection_id":179052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:18:19] local.INFO: IMEI packet received {"connection_id":179052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":179052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:18:24] local.INFO: TCP Data received {"connection_id":179052,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:18:24] local.INFO: Processing buffer {"connection_id":179052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:18:24] local.INFO: IMEI packet received {"connection_id":179052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":179052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:18:25] local.INFO: TCP Data received {"connection_id":179052,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:25] local.INFO: Processing buffer {"connection_id":179052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:25] local.INFO: Packet analysis {"connection_id":179052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:25] local.INFO: Extracted packet for processing {"connection_id":179052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:18:25] 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-09-10 13:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:18:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":179052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:18:25] local.INFO: GPS data processed {"connection_id":179052,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:18:25] local.INFO: Acknowledgment sent {"connection_id":179052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:18:27] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:18:27] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:18:27] local.INFO: IMEI packet received {"connection_id":176497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":176497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:18:32] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:18:32] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:18:32] local.INFO: IMEI packet received {"connection_id":176497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":176497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:18:33] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a472af8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a472af8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:18:33] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a472af8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:18:33] local.INFO: Packet analysis {"connection_id":176497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:18:33] local.INFO: Extracted packet for processing {"connection_id":176497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990731264001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026315000,"timestamp_ms":1789026315000,"timestamp_seconds":1789026315,"priority":1,"record_length":96,"hex_timestamp":"000001a08a472af8"} 
[2026-09-10 13:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 13:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990731264001,"66":12645,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990731264001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:18:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990731264001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":176497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:18:33] local.INFO: GPS data processed {"connection_id":176497,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:18:33] local.INFO: Acknowledgment sent {"connection_id":176497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:18:56] local.INFO: TCP Data received {"connection_id":179052,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:56] local.INFO: Processing buffer {"connection_id":179052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:18:56] local.INFO: Packet analysis {"connection_id":179052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:56] local.INFO: Extracted packet for processing {"connection_id":179052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:18:56] 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-09-10 13:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:18:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":179052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:18:56] local.INFO: GPS data processed {"connection_id":179052,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:18:56] local.INFO: Acknowledgment sent {"connection_id":179052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:19:04] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a477d00012d181ec00721af58004d00d526..."} 
[2026-09-10 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a477d00012d181ec00721af58004d00d526..."} 
[2026-09-10 13:19:04] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a477d00012d181ec00721af58004d00d526..."} 
[2026-09-10 13:19:04] local.INFO: Packet analysis {"connection_id":176497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:19:04] local.INFO: Extracted packet for processing {"connection_id":176497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990736640001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026336000,"timestamp_ms":1789026336000,"timestamp_seconds":1789026336,"priority":1,"record_length":96,"hex_timestamp":"000001a08a477d00"} 
[2026-09-10 13:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:19: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-09-10 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 13:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990736640001,"66":12548,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990736640001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:19:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990736640001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":176497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:19:04] local.INFO: GPS data processed {"connection_id":176497,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:19:04] local.INFO: Acknowledgment sent {"connection_id":176497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:19:19] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:19:19] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:19:19] local.INFO: IMEI packet received {"connection_id":177688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":177688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:19:24] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:19:24] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:19:24] local.INFO: IMEI packet received {"connection_id":177688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":177688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:19:25] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:19:25] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:19:25] local.INFO: Packet analysis {"connection_id":177688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:19:25] local.INFO: Extracted packet for processing {"connection_id":177688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:19:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:19:25] 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-09-10 13:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:19:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":177688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:19:25] local.INFO: GPS data processed {"connection_id":177688,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:19:25] local.INFO: Acknowledgment sent {"connection_id":177688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:19:27] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:19:27] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:19:27] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:19:32] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:19:32] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:19:32] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:19:33] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a47cf08012d181ec00721af58004d00d524..."} 
[2026-09-10 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a47cf08012d181ec00721af58004d00d524..."} 
[2026-09-10 13:19:33] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a47cf08012d181ec00721af58004d00d524..."} 
[2026-09-10 13:19:33] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:19:33] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a47"} 
[2026-09-10 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990742016001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026357000,"timestamp_ms":1789026357000,"timestamp_seconds":1789026357,"priority":1,"record_length":96,"hex_timestamp":"000001a08a47cf08"} 
[2026-09-10 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-09-10 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2319814864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780045,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,46,160,42,45,192,175,77,38,10,66,216,39,134,1,240,145,227,138,33,4,113,205,226,30,88,35,239,48,2,68,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 13:19:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548669100105924608,"timestamp_seconds":5548669100105925.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 13:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990742016001,"66":12548,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990742016001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:19:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990742016001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:19:33] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:19:33] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:19:56] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:19:56] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:19:56] local.INFO: Packet analysis {"connection_id":177688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:19:56] local.INFO: Extracted packet for processing {"connection_id":177688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 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-09-10 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:19:56] 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-09-10 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-09-10 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-09-10 13:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:19:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:19:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":177688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:19:56] local.INFO: GPS data processed {"connection_id":177688,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:19:56] local.INFO: Acknowledgment sent {"connection_id":177688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:19:59] local.INFO: TCP Data received {"connection_id":179053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:19:59] local.INFO: Processing buffer {"connection_id":179053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:19:59] local.INFO: IMEI packet received {"connection_id":179053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":179053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:20:04] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a482110012d181ec00721af58004d00d525..."} 
[2026-09-10 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a482110012d181ec00721af58004d00d525..."} 
[2026-09-10 13:20:04] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a482110012d181ec00721af58004d00d525..."} 
[2026-09-10 13:20:04] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a48"} 
[2026-09-10 13:20:04] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a48"} 
[2026-09-10 13:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990747392001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026378000,"timestamp_ms":1789026378000,"timestamp_seconds":1789026378,"priority":1,"record_length":96,"hex_timestamp":"000001a08a482110"} 
[2026-09-10 13:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:20: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-09-10 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2319835864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780045,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,46,160,125,45,192,175,77,38,10,66,42,216,1,240,123,227,138,33,4,113,205,52,30,88,239,49,2,68,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 13:20:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548669091515990016,"timestamp_seconds":5548669091515990.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 13:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990747392001,"66":12645,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990747392001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:20:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990747392001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:20:04] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:20:04] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:20:19] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:20:19] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:20:19] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:20:24] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:20:24] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:20:24] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:20:25] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:20:25] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a46ec78012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:20:25] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:20:25] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a46"} 
[2026-09-10 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990655488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026299000,"timestamp_ms":1789026299000,"timestamp_seconds":1789026299,"priority":1,"record_length":96,"hex_timestamp":"000001a08a46ec78"} 
[2026-09-10 13:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-10 13:20:25] 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-09-10 13:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990655488001,"66":26169,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990655488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:20:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:20:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990655488001,"power":26169,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:20:25] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:20:25] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:20:27] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:20:27] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:20:27] local.INFO: IMEI packet received {"connection_id":177690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":177690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:20:32] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:20:32] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:20:32] local.INFO: IMEI packet received {"connection_id":177690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":177690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:20:33] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a487318012d181ec00721af58004d00d526..."} 
[2026-09-10 13:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a487318012d181ec00721af58004d00d526..."} 
[2026-09-10 13:20:33] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a487318012d181ec00721af58004d00d526..."} 
[2026-09-10 13:20:33] local.INFO: Packet analysis {"connection_id":177690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a48"} 
[2026-09-10 13:20:33] local.INFO: Extracted packet for processing {"connection_id":177690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a48"} 
[2026-09-10 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990752768001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026399000,"timestamp_ms":1789026399000,"timestamp_seconds":1789026399,"priority":1,"record_length":96,"hex_timestamp":"000001a08a487318"} 
[2026-09-10 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-09-10 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 13:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990752768001,"66":12591,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990752768001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:20:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990752768001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":177690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:20:33] local.INFO: GPS data processed {"connection_id":177690,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:20:33] local.INFO: Acknowledgment sent {"connection_id":177690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:20:38] local.INFO: TCP Data received {"connection_id":177691,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:20:38] local.INFO: Processing buffer {"connection_id":177691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:20:38] local.INFO: IMEI packet received {"connection_id":177691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":177691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:20:56] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:20:56] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:20:56] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:20:56] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 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-09-10 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:20:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:20:56] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:20:56] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:21:04] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a48c520012d181ec00721af58004d00d527..."} 
[2026-09-10 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a48c520012d181ec00721af58004d00d527..."} 
[2026-09-10 13:21:04] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a48c520012d181ec00721af58004d00d527..."} 
[2026-09-10 13:21:04] local.INFO: Packet analysis {"connection_id":177690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a48"} 
[2026-09-10 13:21:04] local.INFO: Extracted packet for processing {"connection_id":177690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a48"} 
[2026-09-10 13:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990758144001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21: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-09-10 13:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026420000,"timestamp_ms":1789026420000,"timestamp_seconds":1789026420,"priority":1,"record_length":96,"hex_timestamp":"000001a08a48c520"} 
[2026-09-10 13:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 13:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990758144001,"66":12591,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990758144001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:21:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990758144001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":177690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:21:04] local.INFO: GPS data processed {"connection_id":177690,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:21:04] local.INFO: Acknowledgment sent {"connection_id":177690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:21:19] local.INFO: TCP Data received {"connection_id":179054,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:21:19] local.INFO: Processing buffer {"connection_id":179054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:21:19] local.INFO: IMEI packet received {"connection_id":179054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":179054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:21:24] local.INFO: TCP Data received {"connection_id":179054,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:21:24] local.INFO: Processing buffer {"connection_id":179054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:21:24] local.INFO: IMEI packet received {"connection_id":179054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":179054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:21:25] local.INFO: TCP Data received {"connection_id":179054,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:21:25] local.INFO: Processing buffer {"connection_id":179054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:21:25] local.INFO: Packet analysis {"connection_id":179054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:21:25] local.INFO: Extracted packet for processing {"connection_id":179054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:21:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":179054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:21:25] local.INFO: GPS data processed {"connection_id":179054,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:21:25] local.INFO: Acknowledgment sent {"connection_id":179054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:21:29] local.INFO: TCP Data received {"connection_id":176499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:29] local.INFO: Processing buffer {"connection_id":176499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:29] local.INFO: IMEI packet received {"connection_id":176499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":176499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:21:32] local.INFO: TCP Data received {"connection_id":176499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:32] local.INFO: Processing buffer {"connection_id":176499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:32] local.INFO: IMEI packet received {"connection_id":176499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":176499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:21:37] local.INFO: TCP Data received {"connection_id":176499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:37] local.INFO: Processing buffer {"connection_id":176499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:21:37] local.INFO: IMEI packet received {"connection_id":176499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":176499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:21:38] local.INFO: TCP Data received {"connection_id":176499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a491728012d181ec00721af58004d00d528..."} 
[2026-09-10 13:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a491728012d181ec00721af58004d00d528..."} 
[2026-09-10 13:21:38] local.INFO: Processing buffer {"connection_id":176499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a491728012d181ec00721af58004d00d528..."} 
[2026-09-10 13:21:38] local.INFO: Packet analysis {"connection_id":176499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a49"} 
[2026-09-10 13:21:38] local.INFO: Extracted packet for processing {"connection_id":176499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a49"} 
[2026-09-10 13:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990763520001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21: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-09-10 13:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789026441000,"timestamp_ms":1789026441000,"timestamp_seconds":1789026441,"priority":1,"record_length":96,"hex_timestamp":"000001a08a491728"} 
[2026-09-10 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-09-10 13:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 13:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990763520001,"66":12580,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990763520001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:21:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990763520001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":176499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:21:38] local.INFO: GPS data processed {"connection_id":176499,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:21:38] local.INFO: Acknowledgment sent {"connection_id":176499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:21:42] local.INFO: TCP Data received {"connection_id":176499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a496930012d181ec00721af58004d00d526..."} 
[2026-09-10 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a496930012d181ec00721af58004d00d526..."} 
[2026-09-10 13:21:42] local.INFO: Processing buffer {"connection_id":176499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a496930012d181ec00721af58004d00d526..."} 
[2026-09-10 13:21:42] local.INFO: Packet analysis {"connection_id":176499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a49"} 
[2026-09-10 13:21:42] local.INFO: Extracted packet for processing {"connection_id":176499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a49"} 
[2026-09-10 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990768896001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789026462000,"timestamp_ms":1789026462000,"timestamp_seconds":1789026462,"priority":1,"record_length":96,"hex_timestamp":"000001a08a496930"} 
[2026-09-10 13:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-10 13:21:42] 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-09-10 13:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990768896001,"66":12515,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990768896001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:21:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990768896001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":176499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:21:42] local.INFO: GPS data processed {"connection_id":176499,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:21:42] local.INFO: Acknowledgment sent {"connection_id":176499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:21:56] local.INFO: TCP Data received {"connection_id":179054,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:21:56] local.INFO: Processing buffer {"connection_id":179054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:21:56] local.INFO: Packet analysis {"connection_id":179054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:21:56] local.INFO: Extracted packet for processing {"connection_id":179054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:21:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:21:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":179054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:21:56] local.INFO: GPS data processed {"connection_id":179054,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:21:56] local.INFO: Acknowledgment sent {"connection_id":179054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:22:27] local.INFO: TCP Data received {"connection_id":179056,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:22:27] local.INFO: Processing buffer {"connection_id":179056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:22:27] local.INFO: IMEI packet received {"connection_id":179056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":179056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:22:28] local.INFO: TCP Data received {"connection_id":179055,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:22:28] local.INFO: Processing buffer {"connection_id":179055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:22:28] local.INFO: IMEI packet received {"connection_id":179055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":179055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:22:28] local.INFO: TCP Data received {"connection_id":179055,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:22:28] local.INFO: Processing buffer {"connection_id":179055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:22:28] local.INFO: IMEI packet received {"connection_id":179055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":179055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:22:29] local.INFO: TCP Data received {"connection_id":179055,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:22:29] local.INFO: Processing buffer {"connection_id":179055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:22:29] local.INFO: Packet analysis {"connection_id":179055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:22:29] local.INFO: Extracted packet for processing {"connection_id":179055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:22:29] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:22:29] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":179055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:22:29] local.INFO: GPS data processed {"connection_id":179055,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:22:29] local.INFO: Acknowledgment sent {"connection_id":179055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:22:32] local.INFO: TCP Data received {"connection_id":179056,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:22:32] local.INFO: Processing buffer {"connection_id":179056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:22:32] local.INFO: IMEI packet received {"connection_id":179056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":179056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:22:33] local.INFO: TCP Data received {"connection_id":179056,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a49bb38012d181ec00721af58004d00d527..."} 
[2026-09-10 13:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a49bb38012d181ec00721af58004d00d527..."} 
[2026-09-10 13:22:33] local.INFO: Processing buffer {"connection_id":179056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a49bb38012d181ec00721af58004d00d527..."} 
[2026-09-10 13:22:33] local.INFO: Packet analysis {"connection_id":179056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a49"} 
[2026-09-10 13:22:33] local.INFO: Extracted packet for processing {"connection_id":179056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a49"} 
[2026-09-10 13:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990774272001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026483000,"timestamp_ms":1789026483000,"timestamp_seconds":1789026483,"priority":1,"record_length":96,"hex_timestamp":"000001a08a49bb38"} 
[2026-09-10 13:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-10 13:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990774272001,"66":12558,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990774272001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:22:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990774272001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":179056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:22:33] local.INFO: GPS data processed {"connection_id":179056,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:22:33] local.INFO: Acknowledgment sent {"connection_id":179056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:22:36] local.INFO: TCP Data received {"connection_id":179055,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:22:36] local.INFO: Processing buffer {"connection_id":179055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:22:36] local.INFO: Packet analysis {"connection_id":179055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:22:36] local.INFO: Extracted packet for processing {"connection_id":179055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:22:36] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:22: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-09-10 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":179055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:22:36] local.INFO: GPS data processed {"connection_id":179055,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:22:36] local.INFO: Acknowledgment sent {"connection_id":179055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:23:04] local.INFO: TCP Data received {"connection_id":179056,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4a0d40012d181ec00721af58004d00d529..."} 
[2026-09-10 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4a0d40012d181ec00721af58004d00d529..."} 
[2026-09-10 13:23:04] local.INFO: Processing buffer {"connection_id":179056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4a0d40012d181ec00721af58004d00d529..."} 
[2026-09-10 13:23:04] local.INFO: Packet analysis {"connection_id":179056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4a"} 
[2026-09-10 13:23:04] local.INFO: Extracted packet for processing {"connection_id":179056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4a"} 
[2026-09-10 13:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990779648001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026504000,"timestamp_ms":1789026504000,"timestamp_seconds":1789026504,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4a0d40"} 
[2026-09-10 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-09-10 13:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2319961864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015064,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,46,160,45,192,175,77,38,10,66,23,40,197,1,240,47,227,138,33,4,113,205,30,88,37,239,49,2,68,7,106,74,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 13:23:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548669104400891904,"timestamp_seconds":5548669104400892.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 13:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990779648001,"66":12548,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990779648001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:23:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990779648001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":179056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:23:04] local.INFO: GPS data processed {"connection_id":179056,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:23:04] local.INFO: Acknowledgment sent {"connection_id":179056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:23:19] local.INFO: TCP Data received {"connection_id":177693,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:23:19] local.INFO: Processing buffer {"connection_id":177693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:23:19] local.INFO: IMEI packet received {"connection_id":177693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":177693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:23:24] local.INFO: TCP Data received {"connection_id":177693,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:23:24] local.INFO: Processing buffer {"connection_id":177693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:23:24] local.INFO: IMEI packet received {"connection_id":177693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":177693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:23:25] local.INFO: TCP Data received {"connection_id":177693,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:23:25] local.INFO: Processing buffer {"connection_id":177693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:23:25] local.INFO: Packet analysis {"connection_id":177693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:23:25] local.INFO: Extracted packet for processing {"connection_id":177693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:23:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":177693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:23:25] local.INFO: GPS data processed {"connection_id":177693,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:23:25] local.INFO: Acknowledgment sent {"connection_id":177693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:23:27] local.INFO: TCP Data received {"connection_id":179057,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:23:27] local.INFO: Processing buffer {"connection_id":179057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:23:27] local.INFO: IMEI packet received {"connection_id":179057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":179057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:23:32] local.INFO: TCP Data received {"connection_id":179057,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:23:32] local.INFO: Processing buffer {"connection_id":179057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:23:32] local.INFO: IMEI packet received {"connection_id":179057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":179057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:23:33] local.INFO: TCP Data received {"connection_id":179057,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4a5f48012d181ec00721af58004d00d528..."} 
[2026-09-10 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4a5f48012d181ec00721af58004d00d528..."} 
[2026-09-10 13:23:33] local.INFO: Processing buffer {"connection_id":179057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4a5f48012d181ec00721af58004d00d528..."} 
[2026-09-10 13:23:33] local.INFO: Packet analysis {"connection_id":179057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4a"} 
[2026-09-10 13:23:33] local.INFO: Extracted packet for processing {"connection_id":179057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4a"} 
[2026-09-10 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990785024001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026525000,"timestamp_ms":1789026525000,"timestamp_seconds":1789026525,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4a5f48"} 
[2026-09-10 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-09-10 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2319982864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780045,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,46,160,187,45,192,175,77,39,10,66,38,23,1,240,36,227,138,33,4,113,205,115,30,88,239,49,2,68,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 13:23:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548669112990826496,"timestamp_seconds":5548669112990826.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 13:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990785024001,"66":12515,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990785024001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:23:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990785024001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":179057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:23:33] local.INFO: GPS data processed {"connection_id":179057,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:23:33] local.INFO: Acknowledgment sent {"connection_id":179057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:23:56] local.INFO: TCP Data received {"connection_id":177693,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:23:56] local.INFO: Processing buffer {"connection_id":177693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:23:56] local.INFO: Packet analysis {"connection_id":177693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:23:56] local.INFO: Extracted packet for processing {"connection_id":177693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:23:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:23:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":177693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:23:56] local.INFO: GPS data processed {"connection_id":177693,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:23:56] local.INFO: Acknowledgment sent {"connection_id":177693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:24:04] local.INFO: TCP Data received {"connection_id":179057,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4de5a0012d181ec00721af58004d00d529..."} 
[2026-09-10 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4de5a0012d181ec00721af58004d00d529..."} 
[2026-09-10 13:24:04] local.INFO: Processing buffer {"connection_id":179057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4de5a0012d181ec00721af58004d00d529..."} 
[2026-09-10 13:24:04] local.INFO: Packet analysis {"connection_id":179057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4d"} 
[2026-09-10 13:24:04] local.INFO: Extracted packet for processing {"connection_id":179057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4d"} 
[2026-09-10 13:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990844160001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026756000,"timestamp_ms":1789026756000,"timestamp_seconds":1789026756,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4de5a0"} 
[2026-09-10 13:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 13:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990844160001,"66":12461,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990844160001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:24:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990844160001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":179057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:24:04] local.INFO: GPS data processed {"connection_id":179057,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:24:04] local.INFO: Acknowledgment sent {"connection_id":179057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:24:19] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:24:19] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:24:19] local.INFO: IMEI packet received {"connection_id":176500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":176500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:24:24] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:24:24] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:24:24] local.INFO: IMEI packet received {"connection_id":176500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":176500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:24:25] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:24:25] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:24:25] local.INFO: Packet analysis {"connection_id":176500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:24:25] local.INFO: Extracted packet for processing {"connection_id":176500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:24: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-09-10 13:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:24:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":176500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:24:25] local.INFO: GPS data processed {"connection_id":176500,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:24:25] local.INFO: Acknowledgment sent {"connection_id":176500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:24:27] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:24:27] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:24:27] local.INFO: IMEI packet received {"connection_id":176266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":176266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:24:32] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:24:32] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:24:32] local.INFO: IMEI packet received {"connection_id":176266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":176266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:24:33] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4e37a8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4e37a8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:24:33] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4e37a8012d181ec00721af58004d00d526..."} 
[2026-09-10 13:24:33] local.INFO: Packet analysis {"connection_id":176266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4e"} 
[2026-09-10 13:24:33] local.INFO: Extracted packet for processing {"connection_id":176266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4e"} 
[2026-09-10 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990849536001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026777000,"timestamp_ms":1789026777000,"timestamp_seconds":1789026777,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4e37a8"} 
[2026-09-10 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-09-10 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 13:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990849536001,"66":12461,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990849536001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:24:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990849536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":176266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:24:33] local.INFO: GPS data processed {"connection_id":176266,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:24:33] local.INFO: Acknowledgment sent {"connection_id":176266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:24:56] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:24:56] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:24:56] local.INFO: Packet analysis {"connection_id":176500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:24:56] local.INFO: Extracted packet for processing {"connection_id":176500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 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-09-10 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:24:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":176500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:24:56] local.INFO: GPS data processed {"connection_id":176500,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:24:56] local.INFO: Acknowledgment sent {"connection_id":176500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:25:04] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4e89b0012d181ec00721af58004d00d529..."} 
[2026-09-10 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4e89b0012d181ec00721af58004d00d529..."} 
[2026-09-10 13:25:04] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4e89b0012d181ec00721af58004d00d529..."} 
[2026-09-10 13:25:04] local.INFO: Packet analysis {"connection_id":176266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4e"} 
[2026-09-10 13:25:04] local.INFO: Extracted packet for processing {"connection_id":176266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4e"} 
[2026-09-10 13:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648088,"longitude_deg":75.6555456,"latitude_deg":11.9648088,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-10 13:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990854912001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191601800675328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026798000,"timestamp_ms":1789026798000,"timestamp_seconds":1789026798,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4e89b0"} 
[2026-09-10 13:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 13:25: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-09-10 13:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990854912001,"66":12439,"105":206,"83":41984,"24":0,"16":19191601800675328,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990854912001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:25:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191601800675328,"km_value":19191601800675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990854912001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":176266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:25:04] local.INFO: GPS data processed {"connection_id":176266,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:25:04] local.INFO: Acknowledgment sent {"connection_id":176266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:25:24] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:25:24] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:25:24] local.INFO: IMEI packet received {"connection_id":176267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":176267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:25:27] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:25:27] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:25:27] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:25:29] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:25:29] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:25:29] local.INFO: IMEI packet received {"connection_id":176267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":176267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:25:30] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:25:30] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:25:30] local.INFO: Packet analysis {"connection_id":176267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:25:30] local.INFO: Extracted packet for processing {"connection_id":176267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:25:30] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:25:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":176267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:25:30] local.INFO: GPS data processed {"connection_id":176267,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:25:30] local.INFO: Acknowledgment sent {"connection_id":176267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:25:32] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:25:32] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:25:32] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:25:33] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4edbb8012d181d400721ada0004800cf2a..."} 
[2026-09-10 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4edbb8012d181d400721ada0004800cf2a..."} 
[2026-09-10 13:25:33] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4edbb8012d181d400721ada0004800cf2a..."} 
[2026-09-10 13:25:33] local.INFO: Packet analysis {"connection_id":176268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4e"} 
[2026-09-10 13:25:33] local.INFO: Extracted packet for processing {"connection_id":176268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4e"} 
[2026-09-10 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647648,"longitude_deg":75.6555072,"latitude_deg":11.9647648,"altitude":72,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990860288001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191627570479104,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074033664,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026819000,"timestamp_ms":1789026819000,"timestamp_seconds":1789026819,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4edbb8"} 
[2026-09-10 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-09-10 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 13:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990860288001,"66":13928,"105":206,"83":41984,"24":0,"16":19191627570479104,"45":1738037643074033664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990860288001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:25:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191627570479104,"km_value":19191627570479.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074033664,"description":"Unknown IO ID 45"} 
[2026-09-10 13:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990860288001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074033664}} 
[2026-09-10 13:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":176268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:25:33] local.INFO: GPS data processed {"connection_id":176268,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:25:33] local.INFO: Acknowledgment sent {"connection_id":176268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:25:34] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:25:34] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4b8440012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:25:34] local.INFO: Packet analysis {"connection_id":176267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:25:34] local.INFO: Extracted packet for processing {"connection_id":176267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4b"} 
[2026-09-10 13:25:34] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990732544001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789026600000,"timestamp_ms":1789026600000,"timestamp_seconds":1789026600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4b8440"} 
[2026-09-10 13:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 13:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:25: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-09-10 13:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990732544001,"66":26082,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990732544001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:25:34] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990732544001,"power":26082,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":176267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:25:35] local.INFO: GPS data processed {"connection_id":176267,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:25:35] local.INFO: Acknowledgment sent {"connection_id":176267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:26:04] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4f2dc0012d181d400721ada0004800cf2a..."} 
[2026-09-10 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4f2dc0012d181d400721ada0004800cf2a..."} 
[2026-09-10 13:26:04] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4f2dc0012d181d400721ada0004800cf2a..."} 
[2026-09-10 13:26:04] local.INFO: Packet analysis {"connection_id":176268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4f"} 
[2026-09-10 13:26:04] local.INFO: Extracted packet for processing {"connection_id":176268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4f"} 
[2026-09-10 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647648,"longitude_deg":75.6555072,"latitude_deg":11.9647648,"altitude":72,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-09-10 13:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990865664001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191627570479104,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608855040,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26: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-09-10 13:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026840000,"timestamp_ms":1789026840000,"timestamp_seconds":1789026840,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4f2dc0"} 
[2026-09-10 13:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 13:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990865664001,"66":13939,"105":206,"83":41984,"24":0,"16":19191627570479104,"45":1737615430608855040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990865664001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:26:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191627570479104,"km_value":19191627570479.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608855040,"description":"Unknown IO ID 45"} 
[2026-09-10 13:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990865664001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608855040}} 
[2026-09-10 13:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":176268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:26:05] local.INFO: GPS data processed {"connection_id":176268,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:26:05] local.INFO: Acknowledgment sent {"connection_id":176268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:26:19] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:26:19] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:26:19] local.INFO: IMEI packet received {"connection_id":176502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":176502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:26:24] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:26:24] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:26:24] local.INFO: IMEI packet received {"connection_id":176502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":176502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:26:25] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:26:25] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:26:25] local.INFO: Packet analysis {"connection_id":176502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:26:25] local.INFO: Extracted packet for processing {"connection_id":176502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:26:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":176502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:26:25] local.INFO: GPS data processed {"connection_id":176502,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:26:25] local.INFO: Acknowledgment sent {"connection_id":176502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:26:27] local.INFO: TCP Data received {"connection_id":179058,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:27] local.INFO: Processing buffer {"connection_id":179058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:27] local.INFO: IMEI packet received {"connection_id":179058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":179058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:26:28] local.INFO: TCP Data received {"connection_id":179058,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:28] local.INFO: Processing buffer {"connection_id":179058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:28] local.INFO: IMEI packet received {"connection_id":179058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":179058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:26:32] local.INFO: TCP Data received {"connection_id":179058,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:32] local.INFO: Processing buffer {"connection_id":179058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:26:32] local.INFO: IMEI packet received {"connection_id":179058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":179058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:26:33] local.INFO: TCP Data received {"connection_id":179058,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a4f6c40012d181c800721ac78004900bf2b..."} 
[2026-09-10 13:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a4f6c40012d181c800721ac78004900bf2b..."} 
[2026-09-10 13:26:33] local.INFO: Processing buffer {"connection_id":179058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a4f6c40012d181c800721ac78004900bf2b..."} 
[2026-09-10 13:26:33] local.INFO: Packet analysis {"connection_id":179058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a4f"} 
[2026-09-10 13:26:33] local.INFO: Extracted packet for processing {"connection_id":179058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a4f"} 
[2026-09-10 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647352,"longitude_deg":75.655488,"latitude_deg":11.9647352,"altitude":73,"angle":191,"satellites":43,"speed":1,"hex_longitude":"2d181c80","hex_latitude":"0721ac78","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990871040001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19191649045315584,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608855040,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789026856000,"timestamp_ms":1789026856000,"timestamp_seconds":1789026856,"priority":1,"record_length":96,"hex_timestamp":"000001a08a4f6c40"} 
[2026-09-10 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-09-10 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-10 13:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990871040001,"66":13961,"105":206,"83":41984,"24":1,"16":19191649045315584,"45":1737615430608855040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990871040001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:26:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19191649045315584,"km_value":19191649045315.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608855040,"description":"Unknown IO ID 45"} 
[2026-09-10 13:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990871040001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737615430608855040}} 
[2026-09-10 13:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":179058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:26:33] local.INFO: GPS data processed {"connection_id":179058,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:26:33] local.INFO: Acknowledgment sent {"connection_id":179058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:26:56] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:26:56] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:26:56] local.INFO: IMEI packet received {"connection_id":176503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":176503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:26:56] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:26:56] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:26:56] local.INFO: Packet analysis {"connection_id":176502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:26:56] local.INFO: Extracted packet for processing {"connection_id":176502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:26:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:26:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:26:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":176502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:26:56] local.INFO: GPS data processed {"connection_id":176502,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:26:56] local.INFO: Acknowledgment sent {"connection_id":176502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:27:04] local.INFO: TCP Data received {"connection_id":179058,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5144e8012d18c70007213df0004200a429..."} 
[2026-09-10 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5144e8012d18c70007213df0004200a429..."} 
[2026-09-10 13:27:04] local.INFO: Processing buffer {"connection_id":179058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5144e8012d18c70007213df0004200a429..."} 
[2026-09-10 13:27:04] local.INFO: Packet analysis {"connection_id":179058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a51"} 
[2026-09-10 13:27:04] local.INFO: Extracted packet for processing {"connection_id":179058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a51"} 
[2026-09-10 13:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119619056,"longitude_deg":75.6598528,"latitude_deg":11.9619056,"altitude":66,"angle":164,"satellites":41,"speed":41,"hex_longitude":"2d18c700","hex_latitude":"07213df0","is_valid_coordinates":true} 
[2026-09-10 13:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990905600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19194350579744768,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433635840,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27: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-09-10 13:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789026977000,"timestamp_ms":1789026977000,"timestamp_seconds":1789026977,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5144e8"} 
[2026-09-10 13:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 13:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990905600001,"66":13156,"103":206,"83":41984,"24":41,"16":19194350579744768,"45":1784973595433635840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990905600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:27:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19194350579744768,"km_value":19194350579744.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433635840,"description":"Unknown IO ID 45"} 
[2026-09-10 13:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990905600001,"power":13156,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784973595433635840}} 
[2026-09-10 13:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":179058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:27:04] local.INFO: GPS data processed {"connection_id":179058,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:27:04] local.INFO: Acknowledgment sent {"connection_id":179058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:27:19] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:27:19] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:27:19] local.INFO: IMEI packet received {"connection_id":177694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":177694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:27:24] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:27:24] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:27:24] local.INFO: IMEI packet received {"connection_id":177694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":177694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:27:25] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:27:25] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:27:25] local.INFO: Packet analysis {"connection_id":177694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:27:25] local.INFO: Extracted packet for processing {"connection_id":177694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:27:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:27:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":177694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:27:25] local.INFO: GPS data processed {"connection_id":177694,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:27:25] local.INFO: Acknowledgment sent {"connection_id":177694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:27:31] local.INFO: TCP Data received {"connection_id":179059,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:31] local.INFO: Processing buffer {"connection_id":179059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:31] local.INFO: IMEI packet received {"connection_id":179059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":179059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:27:32] local.INFO: TCP Data received {"connection_id":179059,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:32] local.INFO: Processing buffer {"connection_id":179059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:32] local.INFO: IMEI packet received {"connection_id":179059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":179059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:27:37] local.INFO: TCP Data received {"connection_id":179059,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:37] local.INFO: Processing buffer {"connection_id":179059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:27:37] local.INFO: IMEI packet received {"connection_id":179059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":179059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:27:38] local.INFO: TCP Data received {"connection_id":179059,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a514cb8012d18ca40072136900041009629..."} 
[2026-09-10 13:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a514cb8012d18ca40072136900041009629..."} 
[2026-09-10 13:27:38] local.INFO: Processing buffer {"connection_id":179059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a514cb8012d18ca40072136900041009629..."} 
[2026-09-10 13:27:38] local.INFO: Packet analysis {"connection_id":179059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a51"} 
[2026-09-10 13:27:38] local.INFO: Extracted packet for processing {"connection_id":179059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a51"} 
[2026-09-10 13:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119617168,"longitude_deg":75.659936,"latitude_deg":11.9617168,"altitude":65,"angle":150,"satellites":41,"speed":41,"hex_longitude":"2d18ca40","hex_latitude":"07213690","is_valid_coordinates":true} 
[2026-09-10 13:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990906112001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19194453658959872,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898169344,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789026979000,"timestamp_ms":1789026979000,"timestamp_seconds":1789026979,"priority":1,"record_length":96,"hex_timestamp":"000001a08a514cb8"} 
[2026-09-10 13:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-10 13:27: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-09-10 13:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990906112001,"66":14363,"103":206,"83":41984,"24":41,"16":19194453658959872,"45":1785395807898169344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990906112001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:27:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19194453658959872,"km_value":19194453658959.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898169344,"description":"Unknown IO ID 45"} 
[2026-09-10 13:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990906112001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1785395807898169344}} 
[2026-09-10 13:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":179059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:27:38] local.INFO: GPS data processed {"connection_id":179059,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:27:38] local.INFO: Acknowledgment sent {"connection_id":179059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:27:56] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:27:56] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:27:56] local.INFO: Packet analysis {"connection_id":177694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:27:56] local.INFO: Extracted packet for processing {"connection_id":177694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:27:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":177694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:27:56] local.INFO: GPS data processed {"connection_id":177694,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:27:56] local.INFO: Acknowledgment sent {"connection_id":177694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:28:09] local.INFO: TCP Data received {"connection_id":179059,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a521008012d195fc00720ab28001f005522..."} 
[2026-09-10 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a521008012d195fc00720ab28001f005522..."} 
[2026-09-10 13:28:09] local.INFO: Processing buffer {"connection_id":179059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a521008012d195fc00720ab28001f005522..."} 
[2026-09-10 13:28:09] local.INFO: Packet analysis {"connection_id":179059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a52"} 
[2026-09-10 13:28:09] local.INFO: Extracted packet for processing {"connection_id":179059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a52"} 
[2026-09-10 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119581480,"longitude_deg":75.6637632,"latitude_deg":11.958148,"altitude":31,"angle":85,"satellites":34,"speed":37,"hex_longitude":"2d195fc0","hex_latitude":"0720ab28","is_valid_coordinates":true} 
[2026-09-10 13:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990918656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19197211027963904,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825154148348889088,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28: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-09-10 13:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789027029000,"timestamp_ms":1789027029000,"timestamp_seconds":1789027029,"priority":1,"record_length":96,"hex_timestamp":"000001a08a521008"} 
[2026-09-10 13:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 13:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990918656001,"66":14396,"103":206,"83":41984,"24":37,"16":19197211027963904,"45":1825154148348889088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990918656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19197211027963904,"km_value":19197211027963.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825154148348889088,"description":"Unknown IO ID 45"} 
[2026-09-10 13:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990918656001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1825154148348889088}} 
[2026-09-10 13:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":179059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:28:09] local.INFO: GPS data processed {"connection_id":179059,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:28:09] local.INFO: Acknowledgment sent {"connection_id":179059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:28:19] local.INFO: TCP Data received {"connection_id":179060,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:28:19] local.INFO: Processing buffer {"connection_id":179060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:28:19] local.INFO: IMEI packet received {"connection_id":179060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":179060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:28:24] local.INFO: TCP Data received {"connection_id":179060,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:28:24] local.INFO: Processing buffer {"connection_id":179060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:28:24] local.INFO: IMEI packet received {"connection_id":179060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":179060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:28:25] local.INFO: TCP Data received {"connection_id":179060,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:28:25] local.INFO: Processing buffer {"connection_id":179060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:28:25] local.INFO: Packet analysis {"connection_id":179060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:28:25] local.INFO: Extracted packet for processing {"connection_id":179060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:28:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:28:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":179060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:28:25] local.INFO: GPS data processed {"connection_id":179060,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:28:25] local.INFO: Acknowledgment sent {"connection_id":179060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:28:25] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:25] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:25] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:28:26] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:26] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:26] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:28:27] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:27] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:27] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:28:32] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:32] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:28:32] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:28:33] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a522390012d1970c00720adc00020004625..."} 
[2026-09-10 13:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a522390012d1970c00720adc00020004625..."} 
[2026-09-10 13:28:33] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a522390012d1970c00720adc00020004625..."} 
[2026-09-10 13:28:33] local.INFO: Packet analysis {"connection_id":176269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a52"} 
[2026-09-10 13:28:33] local.INFO: Extracted packet for processing {"connection_id":176269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a52"} 
[2026-09-10 13:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756641984,"raw_latitude":119582144,"longitude_deg":75.6641984,"latitude_deg":11.9582144,"altitude":32,"angle":70,"satellites":37,"speed":32,"hex_longitude":"2d1970c0","hex_latitude":"0720adc0","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990919424001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19197421481361408,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110581102592,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789027034000,"timestamp_ms":1789027034000,"timestamp_seconds":1789027034,"priority":1,"record_length":96,"hex_timestamp":"000001a08a522390"} 
[2026-09-10 13:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 13:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990919424001,"66":14363,"103":206,"83":41984,"24":32,"16":19197421481361408,"45":1828391110581102592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990919424001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:28:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19197421481361408,"km_value":19197421481361.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110581102592,"description":"Unknown IO ID 45"} 
[2026-09-10 13:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990919424001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1828391110581102592}} 
[2026-09-10 13:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":176269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:28:33] local.INFO: GPS data processed {"connection_id":176269,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:28:33] local.INFO: Acknowledgment sent {"connection_id":176269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:28:56] local.INFO: TCP Data received {"connection_id":179060,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:28:56] local.INFO: Processing buffer {"connection_id":179060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:28:56] local.INFO: Packet analysis {"connection_id":179060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:28:56] local.INFO: Extracted packet for processing {"connection_id":179060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:28:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:28:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:28:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":179060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:28:56] local.INFO: GPS data processed {"connection_id":179060,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:28:56] local.INFO: Acknowledgment sent {"connection_id":179060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:29:04] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a532178012d195ac00720a8d8002900c526..."} 
[2026-09-10 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a532178012d195ac00720a8d8002900c526..."} 
[2026-09-10 13:29:04] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a532178012d195ac00720a8d8002900c526..."} 
[2026-09-10 13:29:04] local.INFO: Packet analysis {"connection_id":176269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:29:04] local.INFO: Extracted packet for processing {"connection_id":176269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756636352,"raw_latitude":119580888,"longitude_deg":75.6636352,"latitude_deg":11.9580888,"altitude":41,"angle":197,"satellites":38,"speed":9,"hex_longitude":"2d195ac0","hex_latitude":"0720a8d8","is_valid_coordinates":true} 
[2026-09-10 13:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990937088001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19198022776782848,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827124473185810432,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29: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-09-10 13:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789027099000,"timestamp_ms":1789027099000,"timestamp_seconds":1789027099,"priority":1,"record_length":96,"hex_timestamp":"000001a08a532178"} 
[2026-09-10 13:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 13:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990937088001,"66":14396,"103":206,"83":41984,"24":9,"16":19198022776782848,"45":1827124473185810432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990937088001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:29:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:29:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19198022776782848,"km_value":19198022776782.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827124473185810432,"description":"Unknown IO ID 45"} 
[2026-09-10 13:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990937088001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1827124473185810432}} 
[2026-09-10 13:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":176269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:29:04] local.INFO: GPS data processed {"connection_id":176269,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:29:04] local.INFO: Acknowledgment sent {"connection_id":176269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:29:19] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:29:19] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:29:19] local.INFO: IMEI packet received {"connection_id":176505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":176505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:29:24] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:29:24] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:29:24] local.INFO: IMEI packet received {"connection_id":176505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":176505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:29:25] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:29:25] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:29:25] local.INFO: Packet analysis {"connection_id":176505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:29:25] local.INFO: Extracted packet for processing {"connection_id":176505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:29:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":176505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:29:25] local.INFO: GPS data processed {"connection_id":176505,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:29:25] local.INFO: Acknowledgment sent {"connection_id":176505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:29:27] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:29:27] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:29:27] local.INFO: IMEI packet received {"connection_id":176506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:29:31] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:29:31] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:29:31] local.INFO: IMEI packet received {"connection_id":176506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":176506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:29:32] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a532560012d195a800720a7b8002900b923..."} 
[2026-09-10 13:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a532560012d195a800720a7b8002900b923..."} 
[2026-09-10 13:29:32] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a532560012d195a800720a7b8002900b923..."} 
[2026-09-10 13:29:32] local.INFO: Packet analysis {"connection_id":176506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:29:32] local.INFO: Extracted packet for processing {"connection_id":176506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119580600,"longitude_deg":75.6636288,"latitude_deg":11.95806,"altitude":41,"angle":185,"satellites":35,"speed":12,"hex_longitude":"2d195a80","hex_latitude":"0720a7b8","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990937344001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19198039956652032,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826983735697397760,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789027100000,"timestamp_ms":1789027100000,"timestamp_seconds":1789027100,"priority":1,"record_length":96,"hex_timestamp":"000001a08a532560"} 
[2026-09-10 13:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 13:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990937344001,"66":13493,"103":206,"83":41984,"24":12,"16":19198039956652032,"45":1826983735697397760},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990937344001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:29:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19198039956652032,"km_value":19198039956652.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826983735697397760,"description":"Unknown IO ID 45"} 
[2026-09-10 13:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990937344001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1826983735697397760}} 
[2026-09-10 13:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":176506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:29:32] local.INFO: GPS data processed {"connection_id":176506,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:29:32] local.INFO: Acknowledgment sent {"connection_id":176506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:29:56] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:29:56] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:29:56] local.INFO: Packet analysis {"connection_id":176505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:29:56] local.INFO: Extracted packet for processing {"connection_id":176505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:29:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:29:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":176505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:29:56] local.INFO: GPS data processed {"connection_id":176505,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:29:56] local.INFO: Acknowledgment sent {"connection_id":176505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:30:03] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a53a648012d195c00072089100028009126..."} 
[2026-09-10 13:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a53a648012d195c00072089100028009126..."} 
[2026-09-10 13:30:03] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a53a648012d195c00072089100028009126..."} 
[2026-09-10 13:30:03] local.INFO: Packet analysis {"connection_id":176506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:30:03] local.INFO: Extracted packet for processing {"connection_id":176506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756636672,"raw_latitude":119572752,"longitude_deg":75.6636672,"latitude_deg":11.9572752,"altitude":40,"angle":145,"satellites":38,"speed":15,"hex_longitude":"2d195c00","hex_latitude":"07208910","is_valid_coordinates":true} 
[2026-09-10 13:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990942464001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19198559647694848,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092161376256,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30: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-09-10 13:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789027133000,"timestamp_ms":1789027133000,"timestamp_seconds":1789027133,"priority":1,"record_length":96,"hex_timestamp":"000001a08a53a648"} 
[2026-09-10 13:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 13:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990942464001,"66":14396,"103":206,"83":41984,"24":15,"16":19198559647694848,"45":1824380092161376256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990942464001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:30:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19198559647694848,"km_value":19198559647694.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092161376256,"description":"Unknown IO ID 45"} 
[2026-09-10 13:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990942464001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1824380092161376256}} 
[2026-09-10 13:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":176506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:30:03] local.INFO: GPS data processed {"connection_id":176506,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:30:03] local.INFO: Acknowledgment sent {"connection_id":176506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:30:24] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:30:24] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:30:24] local.INFO: IMEI packet received {"connection_id":176271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":176271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:30:27] local.INFO: TCP Data received {"connection_id":177695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:27] local.INFO: Processing buffer {"connection_id":177695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:27] local.INFO: IMEI packet received {"connection_id":177695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":177695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:30:29] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:30:29] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:30:29] local.INFO: IMEI packet received {"connection_id":176271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":176271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:30:29] local.INFO: TCP Data received {"connection_id":177695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:29] local.INFO: Processing buffer {"connection_id":177695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:29] local.INFO: IMEI packet received {"connection_id":177695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":177695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:30:30] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:30:30] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:30:30] local.INFO: Packet analysis {"connection_id":176271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:30:30] local.INFO: Extracted packet for processing {"connection_id":176271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:30:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:30:30] local.INFO: TCP Data received {"connection_id":177695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":176271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:30:30] local.INFO: GPS data processed {"connection_id":176271,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:30:30] local.INFO: Acknowledgment sent {"connection_id":176271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:30] local.INFO: Processing buffer {"connection_id":177695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:30:30] local.INFO: IMEI packet received {"connection_id":177695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":177695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:30:31] local.INFO: TCP Data received {"connection_id":177695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a53bdb8012d19614007207f480025009e25..."} 
[2026-09-10 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a53bdb8012d19614007207f480025009e25..."} 
[2026-09-10 13:30:31] local.INFO: Processing buffer {"connection_id":177695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a53bdb8012d19614007207f480025009e25..."} 
[2026-09-10 13:30:31] local.INFO: Packet analysis {"connection_id":177695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:30:31] local.INFO: Extracted packet for processing {"connection_id":177695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a53"} 
[2026-09-10 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756638016,"raw_latitude":119570248,"longitude_deg":75.6638016,"latitude_deg":11.9570248,"altitude":37,"angle":158,"satellites":37,"speed":21,"hex_longitude":"2d196140","hex_latitude":"07207f48","is_valid_coordinates":true} 
[2026-09-10 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990946048001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19198697086648320,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579416203264,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789027139000,"timestamp_ms":1789027139000,"timestamp_seconds":1789027139,"priority":1,"record_length":96,"hex_timestamp":"000001a08a53bdb8"} 
[2026-09-10 13:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 13:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990946048001,"66":14298,"103":206,"83":41984,"24":21,"16":19198697086648320,"45":1827335579416203264},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990946048001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19198697086648320,"km_value":19198697086648.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579416203264,"description":"Unknown IO ID 45"} 
[2026-09-10 13:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990946048001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1827335579416203264}} 
[2026-09-10 13:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":177695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:30:31] local.INFO: GPS data processed {"connection_id":177695,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:30:31] local.INFO: Acknowledgment sent {"connection_id":177695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:30:31] local.INFO: TCP Data received {"connection_id":177695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a540fc0012d196c00072067680024009c27..."} 
[2026-09-10 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a540fc0012d196c00072067680024009c27..."} 
[2026-09-10 13:30:31] local.INFO: Processing buffer {"connection_id":177695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a540fc0012d196c00072067680024009c27..."} 
[2026-09-10 13:30:31] local.INFO: Packet analysis {"connection_id":177695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:30:31] local.INFO: Extracted packet for processing {"connection_id":177695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119564136,"longitude_deg":75.6640768,"latitude_deg":11.9564136,"altitude":36,"angle":156,"satellites":39,"speed":0,"hex_longitude":"2d196c00","hex_latitude":"07206768","is_valid_coordinates":true} 
[2026-09-10 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990947584001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19199032094097408,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828813323043293184,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789027160000,"timestamp_ms":1789027160000,"timestamp_seconds":1789027160,"priority":1,"record_length":96,"hex_timestamp":"000001a08a540fc0"} 
[2026-09-10 13:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 13:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990947584001,"66":14070,"103":206,"83":41984,"24":0,"16":19199032094097408,"45":1828813323043293184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990947584001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19199032094097408,"km_value":19199032094097.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828813323043293184,"description":"Unknown IO ID 45"} 
[2026-09-10 13:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990947584001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828813323043293184}} 
[2026-09-10 13:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":177695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:30:31] local.INFO: GPS data processed {"connection_id":177695,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:30:31] local.INFO: Acknowledgment sent {"connection_id":177695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:30:34] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:30:34] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a501c08012cb2a5c0077516980021001e27..."} 
[2026-09-10 13:30:34] local.INFO: Packet analysis {"connection_id":176271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:30:34] local.INFO: Extracted packet for processing {"connection_id":176271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a50"} 
[2026-09-10 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990809600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789026901000,"timestamp_ms":1789026901000,"timestamp_seconds":1789026901,"priority":1,"record_length":96,"hex_timestamp":"000001a08a501c08"} 
[2026-09-10 13:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:30: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-09-10 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-10 13:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:30: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-09-10 13:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990809600001,"66":26006,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990809600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:30:34] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990809600001,"power":26006,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":176271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:30:34] local.INFO: GPS data processed {"connection_id":176271,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:30:34] local.INFO: Acknowledgment sent {"connection_id":176271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:31:02] local.INFO: TCP Data received {"connection_id":177695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54e2b0012d195ec007201b80003500b924..."} 
[2026-09-10 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54e2b0012d195ec007201b80003500b924..."} 
[2026-09-10 13:31:02] local.INFO: Processing buffer {"connection_id":177695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54e2b0012d195ec007201b80003500b924..."} 
[2026-09-10 13:31:02] local.INFO: Packet analysis {"connection_id":177695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:02] local.INFO: Extracted packet for processing {"connection_id":177695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756637376,"raw_latitude":119544704,"longitude_deg":75.6637376,"latitude_deg":11.9544704,"altitude":53,"angle":185,"satellites":36,"speed":14,"hex_longitude":"2d195ec0","hex_latitude":"07201b80","is_valid_coordinates":true} 
[2026-09-10 13:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990964480001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19200123015790592,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948154206208,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789027214000,"timestamp_ms":1789027214000,"timestamp_seconds":1789027214,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54e2b0"} 
[2026-09-10 13:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 13:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990964480001,"66":14113,"102":206,"83":41984,"24":14,"16":19200123015790592,"45":1827405948154206208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 13:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990964480001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:31:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 13:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19200123015790592,"km_value":19200123015790.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948154206208,"description":"Unknown IO ID 45"} 
[2026-09-10 13:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990964480001,"power":14113,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1827405948154206208}} 
[2026-09-10 13:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":177695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:31:02] local.INFO: GPS data processed {"connection_id":177695,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:31:02] local.INFO: Acknowledgment sent {"connection_id":177695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:31:19] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:31:19] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:31:19] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:31:24] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:31:24] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:31:24] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:31:25] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:31:25] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:31:25] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:25] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:31:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:31:25] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:31:25] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:31:27] local.INFO: TCP Data received {"connection_id":179063,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:31:27] local.INFO: Processing buffer {"connection_id":179063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:31:27] local.INFO: IMEI packet received {"connection_id":179063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":179063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:31:32] local.INFO: TCP Data received {"connection_id":179063,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:31:32] local.INFO: Processing buffer {"connection_id":179063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:31:32] local.INFO: IMEI packet received {"connection_id":179063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":179063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:31:33] local.INFO: TCP Data received {"connection_id":179063,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54f638012d195cc0072013b8003a00c621..."} 
[2026-09-10 13:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54f638012d195cc0072013b8003a00c621..."} 
[2026-09-10 13:31:33] local.INFO: Processing buffer {"connection_id":179063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54f638012d195cc0072013b8003a00c621..."} 
[2026-09-10 13:31:33] local.INFO: Packet analysis {"connection_id":179063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:33] local.INFO: Extracted packet for processing {"connection_id":179063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119542712,"longitude_deg":75.6636864,"latitude_deg":11.9542712,"altitude":58,"angle":198,"satellites":33,"speed":17,"hex_longitude":"2d195cc0","hex_latitude":"072013b8","is_valid_coordinates":true} 
[2026-09-10 13:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990966784001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19200221800038400,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635594977280,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789027219000,"timestamp_ms":1789027219000,"timestamp_seconds":1789027219,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54f638"} 
[2026-09-10 13:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:31: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-09-10 13:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 13:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990966784001,"66":14048,"102":206,"83":41984,"24":17,"16":19200221800038400,"45":1828109635594977280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 13:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990966784001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:31:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 13:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19200221800038400,"km_value":19200221800038.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635594977280,"description":"Unknown IO ID 45"} 
[2026-09-10 13:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990966784001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1828109635594977280}} 
[2026-09-10 13:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":179063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:31:33] local.INFO: GPS data processed {"connection_id":179063,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:31:33] local.INFO: Acknowledgment sent {"connection_id":179063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:31:56] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:31:56] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:31:56] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:56] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:31:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:31:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:31:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:31:56] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:31:56] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:32:04] local.INFO: TCP Data received {"connection_id":179063,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a55e098012d194e40071ff950003b014c24..."} 
[2026-09-10 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a55e098012d194e40071ff950003b014c24..."} 
[2026-09-10 13:32:04] local.INFO: Processing buffer {"connection_id":179063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a55e098012d194e40071ff950003b014c24..."} 
[2026-09-10 13:32:04] local.INFO: Packet analysis {"connection_id":179063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a55"} 
[2026-09-10 13:32:04] local.INFO: Extracted packet for processing {"connection_id":179063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a55"} 
[2026-09-10 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119535952,"longitude_deg":75.6633152,"latitude_deg":11.9535952,"altitude":59,"angle":332,"satellites":36,"speed":3,"hex_longitude":"2d194e40","hex_latitude":"071ff950","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990983168001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19200668476637184,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667221166080,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32: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-09-10 13:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789027279000,"timestamp_ms":1789027279000,"timestamp_seconds":1789027279,"priority":1,"record_length":96,"hex_timestamp":"000001a08a55e098"} 
[2026-09-10 13:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:32: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-09-10 13: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-10 13:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990983168001,"66":13939,"102":206,"83":41984,"24":3,"16":19200668476637184,"45":1823535667221166080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 13:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990983168001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:32:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 13:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19200668476637184,"km_value":19200668476637.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667221166080,"description":"Unknown IO ID 45"} 
[2026-09-10 13:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990983168001,"power":13939,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1823535667221166080}} 
[2026-09-10 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":179063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:32:05] local.INFO: GPS data processed {"connection_id":179063,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:32:05] local.INFO: Acknowledgment sent {"connection_id":179063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:32:19] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:32:19] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:32:19] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:32:24] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:32:24] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:32:24] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:32:25] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:32:25] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:32:25] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:32:25] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:32:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:32:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:32:25] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:32:25] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:32:27] local.INFO: TCP Data received {"connection_id":177697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:27] local.INFO: Processing buffer {"connection_id":177697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:27] local.INFO: IMEI packet received {"connection_id":177697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":177697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:32:27] local.INFO: TCP Data received {"connection_id":177697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:27] local.INFO: Processing buffer {"connection_id":177697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:27] local.INFO: IMEI packet received {"connection_id":177697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":177697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:32:28] local.INFO: TCP Data received {"connection_id":177697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:28] local.INFO: Processing buffer {"connection_id":177697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:28] local.INFO: IMEI packet received {"connection_id":177697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":177697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:32:32] local.INFO: TCP Data received {"connection_id":177697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:32] local.INFO: Processing buffer {"connection_id":177697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:32:32] local.INFO: IMEI packet received {"connection_id":177697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":177697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:32:33] local.INFO: TCP Data received {"connection_id":177697,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a55ec50012d194e00071ff9c8003b013b26..."} 
[2026-09-10 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a55ec50012d194e00071ff9c8003b013b26..."} 
[2026-09-10 13:32:33] local.INFO: Processing buffer {"connection_id":177697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a55ec50012d194e00071ff9c8003b013b26..."} 
[2026-09-10 13:32:33] local.INFO: Packet analysis {"connection_id":177697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a55"} 
[2026-09-10 13:32:33] local.INFO: Extracted packet for processing {"connection_id":177697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a55"} 
[2026-09-10 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119536072,"longitude_deg":75.6633088,"latitude_deg":11.9536072,"altitude":59,"angle":315,"satellites":38,"speed":2,"hex_longitude":"2d194e00","hex_latitude":"071ff9c8","is_valid_coordinates":true} 
[2026-09-10 13:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990983424001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19200677066571776,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298477010944,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789027282000,"timestamp_ms":1789027282000,"timestamp_seconds":1789027282,"priority":1,"record_length":96,"hex_timestamp":"000001a08a55ec50"} 
[2026-09-10 13:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:32: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-09-10 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-10 13:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990983424001,"66":13852,"102":206,"83":41984,"24":2,"16":19200677066571776,"45":1823465298477010944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-10 13:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990983424001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 13:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19200677066571776,"km_value":19200677066571.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298477010944,"description":"Unknown IO ID 45"} 
[2026-09-10 13:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990983424001,"power":13852,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1823465298477010944}} 
[2026-09-10 13:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":177697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:32:33] local.INFO: GPS data processed {"connection_id":177697,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:32:33] local.INFO: Acknowledgment sent {"connection_id":177697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:32:36] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:32:36] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:32:36] local.INFO: IMEI packet received {"connection_id":176274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":176274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:32:56] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:32:56] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:32:56] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:32:56] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:32:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:32:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:32:56] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:32:56] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:33:04] local.INFO: TCP Data received {"connection_id":177697,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a56c710012d196a80072034b80033003524..."} 
[2026-09-10 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a56c710012d196a80072034b80033003524..."} 
[2026-09-10 13:33:04] local.INFO: Processing buffer {"connection_id":177697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a56c710012d196a80072034b80033003524..."} 
[2026-09-10 13:33:04] local.INFO: Packet analysis {"connection_id":177697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a56"} 
[2026-09-10 13:33:04] local.INFO: Extracted packet for processing {"connection_id":177697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a56"} 
[2026-09-10 13:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119551160,"longitude_deg":75.6640384,"latitude_deg":11.955116,"altitude":51,"angle":53,"satellites":36,"speed":14,"hex_longitude":"2d196a80","hex_latitude":"072034b8","is_valid_coordinates":true} 
[2026-09-10 13:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990998272001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19201621959376896,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754107860992,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33: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-09-10 13:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789027338000,"timestamp_ms":1789027338000,"timestamp_seconds":1789027338,"priority":1,"record_length":96,"hex_timestamp":"000001a08a56c710"} 
[2026-09-10 13:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:33: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-09-10 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 13:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990998272001,"66":14243,"103":206,"83":41984,"24":14,"16":19201621959376896,"45":1830994754107860992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990998272001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:33:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19201621959376896,"km_value":19201621959376.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754107860992,"description":"Unknown IO ID 45"} 
[2026-09-10 13:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990998272001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1830994754107860992}} 
[2026-09-10 13:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":177697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:33:04] local.INFO: GPS data processed {"connection_id":177697,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:33:04] local.INFO: Acknowledgment sent {"connection_id":177697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:33:19] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:33:19] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:33:19] local.INFO: IMEI packet received {"connection_id":176507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":176507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:33:24] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:33:24] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:33:24] local.INFO: IMEI packet received {"connection_id":176507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":176507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:33:25] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:33:25] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:33:25] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:33:25] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:33:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:33:25] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:33:25] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:33:32] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:33:32] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:33:32] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:33:37] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:33:37] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:33:37] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:33:38] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a56caf8012d196b80072035d80033002224..."} 
[2026-09-10 13:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a56caf8012d196b80072035d80033002224..."} 
[2026-09-10 13:33:38] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a56caf8012d196b80072035d80033002224..."} 
[2026-09-10 13:33:38] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a56"} 
[2026-09-10 13:33:38] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a56"} 
[2026-09-10 13:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119551448,"longitude_deg":75.664064,"latitude_deg":11.9551448,"altitude":51,"angle":34,"satellites":36,"speed":14,"hex_longitude":"2d196b80","hex_latitude":"072035d8","is_valid_coordinates":true} 
[2026-09-10 13:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990998528001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19201639139246080,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966572980224,"note":"Value kept but may cause issues"} 
[2026-09-10 13: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-09-10 13:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789027339000,"timestamp_ms":1789027339000,"timestamp_seconds":1789027339,"priority":1,"record_length":96,"hex_timestamp":"000001a08a56caf8"} 
[2026-09-10 13:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:33: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-09-10 13:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 13:33: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-09-10 13:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990998528001,"66":14243,"103":206,"83":41984,"24":14,"16":19201639139246080,"45":1831416966572980224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990998528001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:33:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19201639139246080,"km_value":19201639139246.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966572980224,"description":"Unknown IO ID 45"} 
[2026-09-10 13:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990998528001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1831416966572980224}} 
[2026-09-10 13:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:33:38] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:33:38] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:33:42] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a56cee0012d196c00072037800032000d23..."} 
[2026-09-10 13:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a56cee0012d196c00072037800032000d23..."} 
[2026-09-10 13:33:42] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a56cee0012d196c00072037800032000d23..."} 
[2026-09-10 13:33:42] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a56"} 
[2026-09-10 13:33:42] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a56"} 
[2026-09-10 13:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119551872,"longitude_deg":75.6640768,"latitude_deg":11.9551872,"altitude":50,"angle":13,"satellites":35,"speed":16,"hex_longitude":"2d196c00","hex_latitude":"07203780","is_valid_coordinates":true} 
[2026-09-10 13:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990998784001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19201660614082560,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441549764608,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789027340000,"timestamp_ms":1789027340000,"timestamp_seconds":1789027340,"priority":1,"record_length":96,"hex_timestamp":"000001a08a56cee0"} 
[2026-09-10 13:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:33: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-09-10 13:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 13:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990998784001,"66":13406,"103":206,"83":41984,"24":16,"16":19201660614082560,"45":1831698441549764608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990998784001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:33:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19201660614082560,"km_value":19201660614082.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441549764608,"description":"Unknown IO ID 45"} 
[2026-09-10 13:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990998784001,"power":13406,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1831698441549764608}} 
[2026-09-10 13:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:33:43] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:33:43] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:33:56] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:33:56] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:33:56] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:33:56] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:33:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:33:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:33:56] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:33:56] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:34:24] local.INFO: TCP Data received {"connection_id":179064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:34:24] local.INFO: Processing buffer {"connection_id":179064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:34:24] local.INFO: IMEI packet received {"connection_id":179064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":179064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:34:27] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:34:27] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:34:27] local.INFO: IMEI packet received {"connection_id":176509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":176509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:34:29] local.INFO: TCP Data received {"connection_id":179064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:34:29] local.INFO: Processing buffer {"connection_id":179064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:34:29] local.INFO: IMEI packet received {"connection_id":179064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":179064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:34:30] local.INFO: TCP Data received {"connection_id":179064,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:34:30] local.INFO: Processing buffer {"connection_id":179064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:34:30] local.INFO: Packet analysis {"connection_id":179064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:34:30] local.INFO: Extracted packet for processing {"connection_id":179064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:34:30] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:34:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":179064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:34:30] local.INFO: GPS data processed {"connection_id":179064,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:34:30] local.INFO: Acknowledgment sent {"connection_id":179064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:34:32] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:34:32] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:34:32] local.INFO: IMEI packet received {"connection_id":176509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":176509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:34:33] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a57d880012d19518007209ab80025002725..."} 
[2026-09-10 13:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a57d880012d19518007209ab80025002725..."} 
[2026-09-10 13:34:33] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a57d880012d19518007209ab80025002725..."} 
[2026-09-10 13:34:33] local.INFO: Packet analysis {"connection_id":176509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a57"} 
[2026-09-10 13:34:33] local.INFO: Extracted packet for processing {"connection_id":176509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a57"} 
[2026-09-10 13:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119577272,"longitude_deg":75.6633984,"latitude_deg":11.9577272,"altitude":37,"angle":39,"satellites":37,"speed":8,"hex_longitude":"2d195180","hex_latitude":"07209ab8","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991016192001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19203009233813504,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354673494016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789027408000,"timestamp_ms":1789027408000,"timestamp_seconds":1789027408,"priority":1,"record_length":96,"hex_timestamp":"000001a08a57d880"} 
[2026-09-10 13:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:34: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-09-10 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 13:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991016192001,"66":14265,"103":206,"83":41984,"24":8,"16":19203009233813504,"45":1824239354673494016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991016192001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:34:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19203009233813504,"km_value":19203009233813.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354673494016,"description":"Unknown IO ID 45"} 
[2026-09-10 13:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991016192001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824239354673494016}} 
[2026-09-10 13:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":176509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:34:33] local.INFO: GPS data processed {"connection_id":176509,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:34:33] local.INFO: Acknowledgment sent {"connection_id":176509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:34:34] local.INFO: TCP Data received {"connection_id":179064,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:34:34] local.INFO: Processing buffer {"connection_id":179064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:34:34] local.INFO: Packet analysis {"connection_id":179064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:34:34] local.INFO: Extracted packet for processing {"connection_id":179064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:34:34] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13: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-09-10 13:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:34:34] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":179064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:34:34] local.INFO: GPS data processed {"connection_id":179064,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:34:34] local.INFO: Acknowledgment sent {"connection_id":179064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:35:04] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a57dc68012d1951c007209b400025003625..."} 
[2026-09-10 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a57dc68012d1951c007209b400025003625..."} 
[2026-09-10 13:35:04] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a57dc68012d1951c007209b400025003625..."} 
[2026-09-10 13:35:04] local.INFO: Packet analysis {"connection_id":176509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a57"} 
[2026-09-10 13:35:04] local.INFO: Extracted packet for processing {"connection_id":176509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a57"} 
[2026-09-10 13:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756634048,"raw_latitude":119577408,"longitude_deg":75.6634048,"latitude_deg":11.9577408,"altitude":37,"angle":54,"satellites":37,"speed":8,"hex_longitude":"2d1951c0","hex_latitude":"07209b40","is_valid_coordinates":true} 
[2026-09-10 13:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991016448001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19203017823748096,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092161898496,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35: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-09-10 13:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789027409000,"timestamp_ms":1789027409000,"timestamp_seconds":1789027409,"priority":1,"record_length":96,"hex_timestamp":"000001a08a57dc68"} 
[2026-09-10 13:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:35: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-09-10 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991016448001,"66":14265,"103":206,"83":41984,"24":8,"16":19203017823748096,"45":1824380092161898496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991016448001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:35:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19203017823748096,"km_value":19203017823748.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092161898496,"description":"Unknown IO ID 45"} 
[2026-09-10 13:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991016448001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824380092161898496}} 
[2026-09-10 13:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":176509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:35:04] local.INFO: GPS data processed {"connection_id":176509,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:35:04] local.INFO: Acknowledgment sent {"connection_id":176509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:35:19] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:35:19] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:35:19] local.INFO: IMEI packet received {"connection_id":177699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":177699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:35:24] local.INFO: TCP Data received {"connection_id":179065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:24] local.INFO: Processing buffer {"connection_id":179065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:24] local.INFO: IMEI packet received {"connection_id":179065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":179065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:35:24] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:35:24] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:35:24] local.INFO: IMEI packet received {"connection_id":177699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":177699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:35:25] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:35:25] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a54b3d0012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:35:25] local.INFO: Packet analysis {"connection_id":177699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:35:25] local.INFO: Extracted packet for processing {"connection_id":177699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a54"} 
[2026-09-10 13:35:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990886656001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027202000,"timestamp_ms":1789027202000,"timestamp_seconds":1789027202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a54b3d0"} 
[2026-09-10 13:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990886656001,"66":25952,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990886656001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:35:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990886656001,"power":25952,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":177699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:35:25] local.INFO: GPS data processed {"connection_id":177699,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:35:25] local.INFO: Acknowledgment sent {"connection_id":177699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:35:27] local.INFO: TCP Data received {"connection_id":179065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:27] local.INFO: Processing buffer {"connection_id":179065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:27] local.INFO: IMEI packet received {"connection_id":179065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":179065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:35:28] local.INFO: TCP Data received {"connection_id":179065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:28] local.INFO: Processing buffer {"connection_id":179065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:28] local.INFO: IMEI packet received {"connection_id":179065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":179065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:35:31] local.INFO: TCP Data received {"connection_id":179065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:31] local.INFO: Processing buffer {"connection_id":179065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:35:31] local.INFO: IMEI packet received {"connection_id":179065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":179065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:35:33] local.INFO: TCP Data received {"connection_id":179065,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a58d280012d18f1800720db800037014125..."} 
[2026-09-10 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a58d280012d18f1800720db800037014125..."} 
[2026-09-10 13:35:33] local.INFO: Processing buffer {"connection_id":179065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a58d280012d18f1800720db800037014125..."} 
[2026-09-10 13:35:33] local.INFO: Packet analysis {"connection_id":179065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a58"} 
[2026-09-10 13:35:33] local.INFO: Extracted packet for processing {"connection_id":179065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a58"} 
[2026-09-10 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756609408,"raw_latitude":119593856,"longitude_deg":75.6609408,"latitude_deg":11.9593856,"altitude":55,"angle":321,"satellites":37,"speed":31,"hex_longitude":"2d18f180","hex_latitude":"0720db80","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991030784001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19204705745895424,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043981780992,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789027472000,"timestamp_ms":1789027472000,"timestamp_seconds":1789027472,"priority":1,"record_length":96,"hex_timestamp":"000001a08a58d280"} 
[2026-09-10 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-09-10 13:35: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-09-10 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 13:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991030784001,"66":14004,"103":206,"83":41984,"24":31,"16":19204705745895424,"45":1802425043981780992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991030784001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:35:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19204705745895424,"km_value":19204705745895.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043981780992,"description":"Unknown IO ID 45"} 
[2026-09-10 13:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991030784001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1802425043981780992}} 
[2026-09-10 13:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":179065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:35:33] local.INFO: GPS data processed {"connection_id":179065,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:35:33] local.INFO: Acknowledgment sent {"connection_id":179065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:35:34] local.INFO: TCP Data received {"connection_id":179065,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a58e220012d18eac00720e6a00039014d24..."} 
[2026-09-10 13:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a58e220012d18eac00720e6a00039014d24..."} 
[2026-09-10 13:35:34] local.INFO: Processing buffer {"connection_id":179065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a58e220012d18eac00720e6a00039014d24..."} 
[2026-09-10 13:35:34] local.INFO: Packet analysis {"connection_id":179065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a58"} 
[2026-09-10 13:35:34] local.INFO: Extracted packet for processing {"connection_id":179065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a58"} 
[2026-09-10 13:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756607680,"raw_latitude":119596704,"longitude_deg":75.660768,"latitude_deg":11.9596704,"altitude":57,"angle":333,"satellites":36,"speed":33,"hex_longitude":"2d18eac0","hex_latitude":"0720e6a0","is_valid_coordinates":true} 
[2026-09-10 13:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991032832001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19204864659685376,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797358494401921024,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35: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-09-10 13:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789027476000,"timestamp_ms":1789027476000,"timestamp_seconds":1789027476,"priority":1,"record_length":96,"hex_timestamp":"000001a08a58e220"} 
[2026-09-10 13:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 13:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991032832001,"66":14080,"103":206,"83":41984,"24":33,"16":19204864659685376,"45":1797358494401921024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 13:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991032832001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:35:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 13:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19204864659685376,"km_value":19204864659685.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797358494401921024,"description":"Unknown IO ID 45"} 
[2026-09-10 13:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991032832001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1797358494401921024}} 
[2026-09-10 13:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":179065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:35:34] local.INFO: GPS data processed {"connection_id":179065,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:35:34] local.INFO: Acknowledgment sent {"connection_id":179065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:35:56] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:35:56] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:35:56] local.INFO: Packet analysis {"connection_id":177699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:35:56] local.INFO: Extracted packet for processing {"connection_id":177699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:35:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990963712001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027503000,"timestamp_ms":1789027503000,"timestamp_seconds":1789027503,"priority":1,"record_length":96,"hex_timestamp":"000001a08a594b98"} 
[2026-09-10 13:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990963712001,"66":25973,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990963712001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:35:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990963712001,"power":25973,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":177699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:35:56] local.INFO: GPS data processed {"connection_id":177699,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:35:56] local.INFO: Acknowledgment sent {"connection_id":177699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:36:05] local.INFO: TCP Data received {"connection_id":179065,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5991e8012d18ad4007217010004e013b24..."} 
[2026-09-10 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5991e8012d18ad4007217010004e013b24..."} 
[2026-09-10 13:36:05] local.INFO: Processing buffer {"connection_id":179065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5991e8012d18ad4007217010004e013b24..."} 
[2026-09-10 13:36:05] local.INFO: Packet analysis {"connection_id":179065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:05] local.INFO: Extracted packet for processing {"connection_id":179065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119631888,"longitude_deg":75.6591936,"latitude_deg":11.9631888,"altitude":78,"angle":315,"satellites":36,"speed":34,"hex_longitude":"2d18ad40","hex_latitude":"07217010","is_valid_coordinates":true} 
[2026-09-10 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991043072001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19206788805033984,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783425483062847488,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36: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-09-10 13:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789027521000,"timestamp_ms":1789027521000,"timestamp_seconds":1789027521,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5991e8"} 
[2026-09-10 13:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:36: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-09-10 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 13:36: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-09-10 13:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991043072001,"66":14374,"106":206,"83":41984,"24":34,"16":19206788805033984,"45":1783425483062847488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 13:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991043072001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:36:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 13:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19206788805033984,"km_value":19206788805033.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783425483062847488,"description":"Unknown IO ID 45"} 
[2026-09-10 13:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991043072001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1783425483062847488}} 
[2026-09-10 13:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":179065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:36:06] local.INFO: GPS data processed {"connection_id":179065,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:36:06] local.INFO: Acknowledgment sent {"connection_id":179065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:36:19] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:36:19] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:36:19] local.INFO: IMEI packet received {"connection_id":177700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":177700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:36:24] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:36:24] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:36:24] local.INFO: IMEI packet received {"connection_id":177700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":177700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:36:25] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:36:25] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:36:25] local.INFO: Packet analysis {"connection_id":177700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:25] local.INFO: Extracted packet for processing {"connection_id":177700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990963712001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027503000,"timestamp_ms":1789027503000,"timestamp_seconds":1789027503,"priority":1,"record_length":96,"hex_timestamp":"000001a08a594b98"} 
[2026-09-10 13:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990963712001,"66":25973,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990963712001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:36:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990963712001,"power":25973,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":177700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:36:25] local.INFO: GPS data processed {"connection_id":177700,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:36:25] local.INFO: Acknowledgment sent {"connection_id":177700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:36:27] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:36:27] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:36:27] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:36:32] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:36:32] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:36:32] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:36:33] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5999b8012d18a800072173f0004e012a24..."} 
[2026-09-10 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5999b8012d18a800072173f0004e012a24..."} 
[2026-09-10 13:36:33] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5999b8012d18a800072173f0004e012a24..."} 
[2026-09-10 13:36:33] local.INFO: Packet analysis {"connection_id":176511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:33] local.INFO: Extracted packet for processing {"connection_id":176511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119632880,"longitude_deg":75.6590592,"latitude_deg":11.963288,"altitude":78,"angle":298,"satellites":36,"speed":32,"hex_longitude":"2d18a800","hex_latitude":"072173f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991045376001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19206870409412608,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251154944,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36: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-09-10 13:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789027523000,"timestamp_ms":1789027523000,"timestamp_seconds":1789027523,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5999b8"} 
[2026-09-10 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-09-10 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 13:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991045376001,"66":14265,"106":206,"83":41984,"24":32,"16":19206870409412608,"45":1778147827251154944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 13:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991045376001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:36:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 13:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19206870409412608,"km_value":19206870409412.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251154944,"description":"Unknown IO ID 45"} 
[2026-09-10 13:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991045376001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1778147827251154944}} 
[2026-09-10 13:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":176511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:36:33] local.INFO: GPS data processed {"connection_id":176511,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:36:33] local.INFO: Acknowledgment sent {"connection_id":176511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:36:56] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:36:56] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:36:56] local.INFO: Packet analysis {"connection_id":177700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:56] local.INFO: Extracted packet for processing {"connection_id":177700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:36:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990963712001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027503000,"timestamp_ms":1789027503000,"timestamp_seconds":1789027503,"priority":1,"record_length":96,"hex_timestamp":"000001a08a594b98"} 
[2026-09-10 13:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990963712001,"66":25973,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990963712001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:36:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990963712001,"power":25973,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":177700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:36:56] local.INFO: GPS data processed {"connection_id":177700,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:36:56] local.INFO: Acknowledgment sent {"connection_id":177700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:37:04] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a59a188012d18a18007217620004e011b24..."} 
[2026-09-10 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a59a188012d18a18007217620004e011b24..."} 
[2026-09-10 13:37:04] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a59a188012d18a18007217620004e011b24..."} 
[2026-09-10 13:37:04] local.INFO: Packet analysis {"connection_id":176511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:37:04] local.INFO: Extracted packet for processing {"connection_id":176511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756588928,"raw_latitude":119633440,"longitude_deg":75.6588928,"latitude_deg":11.963344,"altitude":78,"angle":283,"satellites":36,"speed":35,"hex_longitude":"2d18a180","hex_latitude":"07217620","is_valid_coordinates":true} 
[2026-09-10 13:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991045888001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19206956308758528,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083623677952,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37: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-09-10 13:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789027525000,"timestamp_ms":1789027525000,"timestamp_seconds":1789027525,"priority":1,"record_length":96,"hex_timestamp":"000001a08a59a188"} 
[2026-09-10 13:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:37: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-09-10 13:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991045888001,"66":14211,"106":206,"83":41984,"24":35,"16":19206956308758528,"45":1776670083623677952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-10 13:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991045888001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-10 13:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19206956308758528,"km_value":19206956308758.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083623677952,"description":"Unknown IO ID 45"} 
[2026-09-10 13:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991045888001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1776670083623677952}} 
[2026-09-10 13:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":176511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:37:04] local.INFO: GPS data processed {"connection_id":176511,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:37:04] local.INFO: Acknowledgment sent {"connection_id":176511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:37:19] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:37:19] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:37:19] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:37:24] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:37:24] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:37:24] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:37:25] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:37:25] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:37:25] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:37:25] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:37:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990963712001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027503000,"timestamp_ms":1789027503000,"timestamp_seconds":1789027503,"priority":1,"record_length":96,"hex_timestamp":"000001a08a594b98"} 
[2026-09-10 13:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990963712001,"66":25973,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990963712001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:37:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990963712001,"power":25973,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:37:25] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:37:25] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:37:27] local.INFO: TCP Data received {"connection_id":179066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:27] local.INFO: Processing buffer {"connection_id":179066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:27] local.INFO: IMEI packet received {"connection_id":179066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":179066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:37:30] local.INFO: TCP Data received {"connection_id":179066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:30] local.INFO: Processing buffer {"connection_id":179066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:30] local.INFO: IMEI packet received {"connection_id":179066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":179066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:37:32] local.INFO: TCP Data received {"connection_id":179066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:32] local.INFO: Processing buffer {"connection_id":179066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:37:32] local.INFO: IMEI packet received {"connection_id":179066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":179066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:37:33] local.INFO: TCP Data received {"connection_id":179066,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5a93b8012d1823800721b438004f002226..."} 
[2026-09-10 13:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5a93b8012d1823800721b438004f002226..."} 
[2026-09-10 13:37:33] local.INFO: Processing buffer {"connection_id":179066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5a93b8012d1823800721b438004f002226..."} 
[2026-09-10 13:37:33] local.INFO: Packet analysis {"connection_id":179066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5a"} 
[2026-09-10 13:37:33] local.INFO: Extracted packet for processing {"connection_id":179066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5a"} 
[2026-09-10 13:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649336,"longitude_deg":75.6556672,"latitude_deg":11.9649336,"altitude":79,"angle":34,"satellites":38,"speed":23,"hex_longitude":"2d182380","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-09-10 13:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991060736001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19208897633976320,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096962560,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789027587000,"timestamp_ms":1789027587000,"timestamp_seconds":1789027587,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5a93b8"} 
[2026-09-10 13:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:37: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-09-10 13:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 13:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991060736001,"66":13939,"105":206,"83":41984,"24":23,"16":19208897633976320,"45":1737756168096962560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991060736001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:37:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19208897633976320,"km_value":19208897633976.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096962560,"description":"Unknown IO ID 45"} 
[2026-09-10 13:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991060736001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1737756168096962560}} 
[2026-09-10 13:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":179066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:37:33] local.INFO: GPS data processed {"connection_id":179066,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:37:33] local.INFO: Acknowledgment sent {"connection_id":179066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:37:37] local.INFO: TCP Data received {"connection_id":179066,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5ac680012d1836c00721d200004f002126..."} 
[2026-09-10 13:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5ac680012d1836c00721d200004f002126..."} 
[2026-09-10 13:37:37] local.INFO: Processing buffer {"connection_id":179066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5ac680012d1836c00721d200004f002126..."} 
[2026-09-10 13:37:37] local.INFO: Packet analysis {"connection_id":179066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5a"} 
[2026-09-10 13:37:37] local.INFO: Extracted packet for processing {"connection_id":179066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5a"} 
[2026-09-10 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756561600,"raw_latitude":119656960,"longitude_deg":75.65616,"latitude_deg":11.965696,"altitude":79,"angle":33,"satellites":38,"speed":30,"hex_longitude":"2d1836c0","hex_latitude":"0721d200","is_valid_coordinates":true} 
[2026-09-10 13:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991062272001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19209335720640512,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213728768,"note":"Value kept but may cause issues"} 
[2026-09-10 13: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-09-10 13:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789027600000,"timestamp_ms":1789027600000,"timestamp_seconds":1789027600,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5ac680"} 
[2026-09-10 13:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-10 13:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991062272001,"66":14048,"105":206,"83":41984,"24":30,"16":19209335720640512,"45":1739374649213728768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991062272001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:37:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19209335720640512,"km_value":19209335720640.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213728768,"description":"Unknown IO ID 45"} 
[2026-09-10 13:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991062272001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1739374649213728768}} 
[2026-09-10 13:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":179066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:37:37] local.INFO: GPS data processed {"connection_id":179066,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:37:37] local.INFO: Acknowledgment sent {"connection_id":179066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:37:56] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:37:56] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:37:56] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:37:56] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990963712001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027503000,"timestamp_ms":1789027503000,"timestamp_seconds":1789027503,"priority":1,"record_length":96,"hex_timestamp":"000001a08a594b98"} 
[2026-09-10 13:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990963712001,"66":25973,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990963712001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:37:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:37:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990963712001,"power":25973,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:37:56] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:37:56] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:38:08] local.INFO: TCP Data received {"connection_id":179067,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:38:08] local.INFO: Processing buffer {"connection_id":179067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:38:08] local.INFO: IMEI packet received {"connection_id":179067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":179067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:38:08] local.INFO: TCP Data received {"connection_id":179066,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5af178012d184b400721f0380050002127..."} 
[2026-09-10 13:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5af178012d184b400721f0380050002127..."} 
[2026-09-10 13:38:08] local.INFO: Processing buffer {"connection_id":179066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5af178012d184b400721f0380050002127..."} 
[2026-09-10 13:38:08] local.INFO: Packet analysis {"connection_id":179066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5a"} 
[2026-09-10 13:38:08] local.INFO: Extracted packet for processing {"connection_id":179066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5a"} 
[2026-09-10 13:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756566848,"raw_latitude":119664696,"longitude_deg":75.6566848,"latitude_deg":11.9664696,"altitude":80,"angle":33,"satellites":39,"speed":36,"hex_longitude":"2d184b40","hex_latitude":"0721f038","is_valid_coordinates":true} 
[2026-09-10 13:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991065600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19209786692206592,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744793042517360640,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38: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-09-10 13:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789027611000,"timestamp_ms":1789027611000,"timestamp_seconds":1789027611,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5af178"} 
[2026-09-10 13:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 13:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991065600001,"66":13472,"105":206,"83":41984,"24":36,"16":19209786692206592,"45":1744793042517360640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-10 13:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991065600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:38:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19209786692206592,"km_value":19209786692206.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744793042517360640,"description":"Unknown IO ID 45"} 
[2026-09-10 13:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991065600001,"power":13472,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1744793042517360640}} 
[2026-09-10 13:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":179066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:38:09] local.INFO: GPS data processed {"connection_id":179066,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:38:09] local.INFO: Acknowledgment sent {"connection_id":179066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:38:25] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:38:25] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:38:25] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:38:30] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:38:30] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:38:30] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:38:30] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:38:30] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:38:30] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:38:30] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990963712001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789027503000,"timestamp_ms":1789027503000,"timestamp_seconds":1789027503,"priority":1,"record_length":96,"hex_timestamp":"000001a08a594b98"} 
[2026-09-10 13:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:38: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-09-10 13:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990963712001,"66":25973,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990963712001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:38:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990963712001,"power":25973,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:38:30] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:38:30] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:38:34] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:38:34] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a594b98012cb2a5c0077516980021001e25..."} 
[2026-09-10 13:38:34] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:38:34] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a59"} 
[2026-09-10 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":37,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457990963712001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789027503000,"timestamp_ms":1789027503000,"timestamp_seconds":1789027503,"priority":1,"record_length":96,"hex_timestamp":"000001a08a594b98"} 
[2026-09-10 13:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:38: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-09-10 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 13:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:38: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-09-10 13:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457990963712001,"66":25973,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457990963712001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:38:34] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457990963712001,"power":25973,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:38:34] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:38:34] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:38:42] local.INFO: TCP Data received {"connection_id":179068,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:38:42] local.INFO: Processing buffer {"connection_id":179068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:38:42] local.INFO: IMEI packet received {"connection_id":179068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":179068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:38:47] local.INFO: TCP Data received {"connection_id":179068,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:38:47] local.INFO: Processing buffer {"connection_id":179068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:38:47] local.INFO: IMEI packet received {"connection_id":179068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":179068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:39:19] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:39:19] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:39:19] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:39:24] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:39:24] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:39:24] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:39:25] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5c7c00012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5c7c00012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:39:25] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5c7c00012cb2a5c0077516980021001e29..."} 
[2026-09-10 13:39:25] local.INFO: Packet analysis {"connection_id":176514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5c"} 
[2026-09-10 13:39:25] local.INFO: Extracted packet for processing {"connection_id":176514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5c"} 
[2026-09-10 13:39:25] local.INFO: GPS Element Parsed {"raw_longitude":749905344,"raw_latitude":125114008,"longitude_deg":74.9905344,"latitude_deg":12.5114008,"altitude":33,"angle":30,"satellites":41,"speed":0,"hex_longitude":"2cb2a5c0","hex_latitude":"07751698","is_valid_coordinates":true} 
[2026-09-10 13:39: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-09-10 13:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991040768001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027712000,"timestamp_ms":1789027712000,"timestamp_seconds":1789027712,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5c7c00"} 
[2026-09-10 13:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 13:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991040768001,"66":25941,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991040768001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:39:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991040768001,"power":25941,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":176514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:39:25] local.INFO: GPS data processed {"connection_id":176514,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:39:25] local.INFO: Acknowledgment sent {"connection_id":176514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:39:56] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5cdda8012cb2a640077516d80021001e2a..."} 
[2026-09-10 13:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5cdda8012cb2a640077516d80021001e2a..."} 
[2026-09-10 13:39:56] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5cdda8012cb2a640077516d80021001e2a..."} 
[2026-09-10 13:39:56] local.INFO: Packet analysis {"connection_id":176514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5c"} 
[2026-09-10 13:39:56] local.INFO: Extracted packet for processing {"connection_id":176514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5c"} 
[2026-09-10 13:39:56] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114072,"longitude_deg":74.9905472,"latitude_deg":12.5114072,"altitude":33,"angle":30,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516d8","is_valid_coordinates":true} 
[2026-09-10 13:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991094272001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573837825539401728,"note":"Value kept but may cause issues"} 
[2026-09-10 13:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027737000,"timestamp_ms":1789027737000,"timestamp_seconds":1789027737,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5cdda8"} 
[2026-09-10 13:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 13:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991094272001,"66":27593,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573837825539401728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991094272001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:39:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573837825539401728,"description":"Unknown IO ID 44"} 
[2026-09-10 13:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991094272001,"power":27593,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573837825539401728}} 
[2026-09-10 13:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":176514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:39:56] local.INFO: GPS data processed {"connection_id":176514,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:39:56] local.INFO: Acknowledgment sent {"connection_id":176514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:40:17] local.INFO: TCP Data received {"connection_id":177701,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:17] local.INFO: Processing buffer {"connection_id":177701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:17] local.INFO: IMEI packet received {"connection_id":177701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":177701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:40:19] local.INFO: TCP Data received {"connection_id":177701,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:19] local.INFO: Processing buffer {"connection_id":177701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:19] local.INFO: IMEI packet received {"connection_id":177701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":177701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:40:24] local.INFO: TCP Data received {"connection_id":177701,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:24] local.INFO: Processing buffer {"connection_id":177701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:40:24] local.INFO: IMEI packet received {"connection_id":177701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":177701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:40:25] local.INFO: TCP Data received {"connection_id":177701,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5d2fb0012cb2a640077516d80021001e27..."} 
[2026-09-10 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5d2fb0012cb2a640077516d80021001e27..."} 
[2026-09-10 13:40:25] local.INFO: Processing buffer {"connection_id":177701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5d2fb0012cb2a640077516d80021001e27..."} 
[2026-09-10 13:40:25] local.INFO: Packet analysis {"connection_id":177701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5d"} 
[2026-09-10 13:40:25] local.INFO: Extracted packet for processing {"connection_id":177701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5d"} 
[2026-09-10 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114072,"longitude_deg":74.9905472,"latitude_deg":12.5114072,"altitude":33,"angle":30,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516d8","is_valid_coordinates":true} 
[2026-09-10 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991100672001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051030016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027758000,"timestamp_ms":1789027758000,"timestamp_seconds":1789027758,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5d2fb0"} 
[2026-09-10 13:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 13:40:25] 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-09-10 13:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991100672001,"66":27615,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573697088051030016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991100672001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:40:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051030016,"description":"Unknown IO ID 44"} 
[2026-09-10 13:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991100672001,"power":27615,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051030016}} 
[2026-09-10 13:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":177701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:40:25] local.INFO: GPS data processed {"connection_id":177701,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:40:25] local.INFO: Acknowledgment sent {"connection_id":177701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:40:26] local.INFO: TCP Data received {"connection_id":177702,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:40:26] local.INFO: Processing buffer {"connection_id":177702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:40:26] local.INFO: IMEI packet received {"connection_id":177702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":177702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:40:27] local.INFO: TCP Data received {"connection_id":177702,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:40:27] local.INFO: Processing buffer {"connection_id":177702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:40:27] local.INFO: IMEI packet received {"connection_id":177702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":177702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:40:56] local.INFO: TCP Data received {"connection_id":177701,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5d81b8012cb2a640077516d80021001e28..."} 
[2026-09-10 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5d81b8012cb2a640077516d80021001e28..."} 
[2026-09-10 13:40:56] local.INFO: Processing buffer {"connection_id":177701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5d81b8012cb2a640077516d80021001e28..."} 
[2026-09-10 13:40:56] local.INFO: Packet analysis {"connection_id":177701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5d"} 
[2026-09-10 13:40:56] local.INFO: Extracted packet for processing {"connection_id":177701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5d"} 
[2026-09-10 13:40:56] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114072,"longitude_deg":74.9905472,"latitude_deg":12.5114072,"altitude":33,"angle":30,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516d8","is_valid_coordinates":true} 
[2026-09-10 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991106048001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:40:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051030016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027779000,"timestamp_ms":1789027779000,"timestamp_seconds":1789027779,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5d81b8"} 
[2026-09-10 13:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 13:40:56] 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-09-10 13:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991106048001,"66":27930,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573697088051030016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991106048001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:40:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:40:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051030016,"description":"Unknown IO ID 44"} 
[2026-09-10 13:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991106048001,"power":27930,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051030016}} 
[2026-09-10 13:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":177701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:40:56] local.INFO: GPS data processed {"connection_id":177701,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:40:56] local.INFO: Acknowledgment sent {"connection_id":177701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:41:19] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:41:19] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:41:19] local.INFO: IMEI packet received {"connection_id":176279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":176279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:41:24] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:41:24] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:41:24] local.INFO: IMEI packet received {"connection_id":176279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":176279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:41:25] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5dd3c0012cb2a640077516d80021001e2c..."} 
[2026-09-10 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5dd3c0012cb2a640077516d80021001e2c..."} 
[2026-09-10 13:41:25] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5dd3c0012cb2a640077516d80021001e2c..."} 
[2026-09-10 13:41:25] local.INFO: Packet analysis {"connection_id":176279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5d"} 
[2026-09-10 13:41:25] local.INFO: Extracted packet for processing {"connection_id":176279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5d"} 
[2026-09-10 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114072,"longitude_deg":74.9905472,"latitude_deg":12.5114072,"altitude":33,"angle":30,"satellites":44,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516d8","is_valid_coordinates":true} 
[2026-09-10 13:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991111424001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051030016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027800000,"timestamp_ms":1789027800000,"timestamp_seconds":1789027800,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5dd3c0"} 
[2026-09-10 13:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 13:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991111424001,"66":27767,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573697088051030016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991111424001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:41:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051030016,"description":"Unknown IO ID 44"} 
[2026-09-10 13:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991111424001,"power":27767,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051030016}} 
[2026-09-10 13:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":176279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:41:25] local.INFO: GPS data processed {"connection_id":176279,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:41:25] local.INFO: Acknowledgment sent {"connection_id":176279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:41:56] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5e25c8012cb2a640077516d80021001e2b..."} 
[2026-09-10 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5e25c8012cb2a640077516d80021001e2b..."} 
[2026-09-10 13:41:56] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5e25c8012cb2a640077516d80021001e2b..."} 
[2026-09-10 13:41:56] local.INFO: Packet analysis {"connection_id":176279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5e"} 
[2026-09-10 13:41:56] local.INFO: Extracted packet for processing {"connection_id":176279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5e"} 
[2026-09-10 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114072,"longitude_deg":74.9905472,"latitude_deg":12.5114072,"altitude":33,"angle":30,"satellites":43,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516d8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991116800001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083756001918976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:41:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051030016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027821000,"timestamp_ms":1789027821000,"timestamp_seconds":1789027821,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5e25c8"} 
[2026-09-10 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-09-10 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 13:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 13:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991116800001,"66":27800,"214":206,"85":36608,"24":0,"16":404083756001918976,"44":-5573697088051030016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991116800001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:41:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083756001918976,"km_value":404083756001919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:41:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051030016,"description":"Unknown IO ID 44"} 
[2026-09-10 13:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991116800001,"power":27800,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051030016}} 
[2026-09-10 13:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":176279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:41:56] local.INFO: GPS data processed {"connection_id":176279,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:41:56] local.INFO: Acknowledgment sent {"connection_id":176279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:42:19] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:19] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:19] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:42:23] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:23] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:23] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:42:24] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:24] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:42:24] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:42:24] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5e48f0012cb2a98007751740002400682a..."} 
[2026-09-10 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5e48f0012cb2a98007751740002400682a..."} 
[2026-09-10 13:42:24] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5e48f0012cb2a98007751740002400682a..."} 
[2026-09-10 13:42:24] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5e"} 
[2026-09-10 13:42:24] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5e"} 
[2026-09-10 13:42:24] local.INFO: GPS Element Parsed {"raw_longitude":749906304,"raw_latitude":125114176,"longitude_deg":74.9906304,"latitude_deg":12.5114176,"altitude":36,"angle":104,"satellites":42,"speed":3,"hex_longitude":"2cb2a980","hex_latitude":"07751740","is_valid_coordinates":true} 
[2026-09-10 13:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991122176001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083794656624640,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051030016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789027830000,"timestamp_ms":1789027830000,"timestamp_seconds":1789027830,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5e48f0"} 
[2026-09-10 13:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:42: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-09-10 13:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 13:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:42: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-09-10 13:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991122176001,"66":27843,"214":206,"85":36608,"24":3,"16":404083794656624640,"44":-5573697088051030016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991122176001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:42:24] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083794656624640,"km_value":404083794656624.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051030016,"description":"Unknown IO ID 44"} 
[2026-09-10 13:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991122176001,"power":27843,"unknown_214":206,"unknown_85":36608,"ignition":3,"odometer":null,"unknown_44":-5573697088051030016}} 
[2026-09-10 13:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:42:24] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:42:24] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:42:25] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5e4cd8012cb2a9c0077517580024004d2a..."} 
[2026-09-10 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5e4cd8012cb2a9c0077517580024004d2a..."} 
[2026-09-10 13:42:25] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5e4cd8012cb2a9c0077517580024004d2a..."} 
[2026-09-10 13:42:25] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5e"} 
[2026-09-10 13:42:25] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5e"} 
[2026-09-10 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":749906368,"raw_latitude":125114200,"longitude_deg":74.9906368,"latitude_deg":12.51142,"altitude":36,"angle":77,"satellites":42,"speed":3,"hex_longitude":"2cb2a9c0","hex_latitude":"07751758","is_valid_coordinates":true} 
[2026-09-10 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991124480001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404083798951591936,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572782294376693760,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027831000,"timestamp_ms":1789027831000,"timestamp_seconds":1789027831,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5e4cd8"} 
[2026-09-10 13:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:42: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-09-10 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 13:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991124480001,"66":27843,"214":206,"85":36608,"24":3,"16":404083798951591936,"44":-5572782294376693760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991124480001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:42:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404083798951591936,"km_value":404083798951591.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572782294376693760,"description":"Unknown IO ID 44"} 
[2026-09-10 13:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991124480001,"power":27843,"unknown_214":206,"unknown_85":36608,"ignition":3,"odometer":null,"unknown_44":-5572782294376693760}} 
[2026-09-10 13:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:42:25] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:42:25] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:42:56] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5fdb48012cb300400775f458001800322c..."} 
[2026-09-10 13:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5fdb48012cb300400775f458001800322c..."} 
[2026-09-10 13:42:56] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5fdb48012cb300400775f458001800322c..."} 
[2026-09-10 13:42:56] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5f"} 
[2026-09-10 13:42:56] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5f"} 
[2026-09-10 13:42:56] local.INFO: GPS Element Parsed {"raw_longitude":749928512,"raw_latitude":125170776,"longitude_deg":74.9928512,"latitude_deg":12.5170776,"altitude":24,"angle":50,"satellites":44,"speed":9,"hex_longitude":"2cb30040","hex_latitude":"0775f458","is_valid_coordinates":true} 
[2026-09-10 13:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991150592001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404086856968306688,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548505077620959232,"note":"Value kept but may cause issues"} 
[2026-09-10 13:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027933000,"timestamp_ms":1789027933000,"timestamp_seconds":1789027933,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5fdb48"} 
[2026-09-10 13:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 13:42:56] 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-09-10 13:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991150592001,"66":27691,"213":206,"85":36608,"24":9,"16":404086856968306688,"44":-5548505077620959232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-09-10 13:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991150592001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:42:56] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 13:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404086856968306688,"km_value":404086856968306.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548505077620959232,"description":"Unknown IO ID 44"} 
[2026-09-10 13:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991150592001,"power":27691,"unknown_213":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5548505077620959232}} 
[2026-09-10 13:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:42:56] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:42:56] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:43:19] local.INFO: TCP Data received {"connection_id":179069,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:43:19] local.INFO: Processing buffer {"connection_id":179069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:43:19] local.INFO: IMEI packet received {"connection_id":179069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":179069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:43:24] local.INFO: TCP Data received {"connection_id":179069,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:43:24] local.INFO: Processing buffer {"connection_id":179069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:43:24] local.INFO: IMEI packet received {"connection_id":179069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":179069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:43:25] local.INFO: TCP Data received {"connection_id":179069,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5fe700012cb301800775f5080019005c2c..."} 
[2026-09-10 13:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5fe700012cb301800775f5080019005c2c..."} 
[2026-09-10 13:43:25] local.INFO: Processing buffer {"connection_id":179069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5fe700012cb301800775f5080019005c2c..."} 
[2026-09-10 13:43:25] local.INFO: Packet analysis {"connection_id":179069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5f"} 
[2026-09-10 13:43:25] local.INFO: Extracted packet for processing {"connection_id":179069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5f"} 
[2026-09-10 13:43:25] local.INFO: GPS Element Parsed {"raw_longitude":749928832,"raw_latitude":125170952,"longitude_deg":74.9928832,"latitude_deg":12.5170952,"altitude":25,"angle":92,"satellites":44,"speed":5,"hex_longitude":"2cb30180","hex_latitude":"0775f508","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991150848001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404086874148175872,"note":"Value kept but may cause issues"} 
[2026-09-10 13:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548364340132554752,"note":"Value kept but may cause issues"} 
[2026-09-10 13:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789027936000,"timestamp_ms":1789027936000,"timestamp_seconds":1789027936,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5fe700"} 
[2026-09-10 13:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:43: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-09-10 13: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 13:43:25] 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-09-10 13: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-09-10 13:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991150848001,"66":27908,"213":206,"85":36608,"24":5,"16":404086874148175872,"44":-5548364340132554752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-09-10 13:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991150848001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:43:25] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 13:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404086874148175872,"km_value":404086874148175.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548364340132554752,"description":"Unknown IO ID 44"} 
[2026-09-10 13:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991150848001,"power":27908,"unknown_213":206,"unknown_85":36608,"ignition":5,"odometer":null,"unknown_44":-5548364340132554752}} 
[2026-09-10 13:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":179069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:43:25] local.INFO: GPS data processed {"connection_id":179069,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:43:25] local.INFO: Acknowledgment sent {"connection_id":179069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:43:45] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:43:45] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:43:45] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:43:56] local.INFO: TCP Data received {"connection_id":179069,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a5feae8012cb302000775f4d80019006b2b..."} 
[2026-09-10 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a5feae8012cb302000775f4d80019006b2b..."} 
[2026-09-10 13:43:56] local.INFO: Processing buffer {"connection_id":179069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a5feae8012cb302000775f4d80019006b2b..."} 
[2026-09-10 13:43:56] local.INFO: Packet analysis {"connection_id":179069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a5f"} 
[2026-09-10 13:43:56] local.INFO: Extracted packet for processing {"connection_id":179069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a5f"} 
[2026-09-10 13:43:56] local.INFO: GPS Element Parsed {"raw_longitude":749928960,"raw_latitude":125170904,"longitude_deg":74.992896,"latitude_deg":12.5170904,"altitude":25,"angle":107,"satellites":43,"speed":8,"hex_longitude":"2cb30200","hex_latitude":"0775f4d8","is_valid_coordinates":true} 
[2026-09-10 13:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991151616001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404086882738110464,"note":"Value kept but may cause issues"} 
[2026-09-10 13:43:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548012496411621376,"note":"Value kept but may cause issues"} 
[2026-09-10 13:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789027937000,"timestamp_ms":1789027937000,"timestamp_seconds":1789027937,"priority":1,"record_length":96,"hex_timestamp":"000001a08a5feae8"} 
[2026-09-10 13:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991151616001,"66":27908,"213":206,"85":36608,"24":8,"16":404086882738110464,"44":-5548012496411621376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-09-10 13:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991151616001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:43:56] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 13:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404086882738110464,"km_value":404086882738110.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:43:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548012496411621376,"description":"Unknown IO ID 44"} 
[2026-09-10 13:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991151616001,"power":27908,"unknown_213":206,"unknown_85":36608,"ignition":8,"odometer":null,"unknown_44":-5548012496411621376}} 
[2026-09-10 13:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":179069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:43:56] local.INFO: GPS data processed {"connection_id":179069,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:43:56] local.INFO: Acknowledgment sent {"connection_id":179069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:44:34] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:44:34] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:44:34] local.INFO: IMEI packet received {"connection_id":177703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":177703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:44:39] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:44:39] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:44:39] local.INFO: IMEI packet received {"connection_id":177703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":177703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:44:40] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a60d930012cb2f14007757888001700c42a..."} 
[2026-09-10 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a60d930012cb2f14007757888001700c42a..."} 
[2026-09-10 13:44:40] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a60d930012cb2f14007757888001700c42a..."} 
[2026-09-10 13:44:40] local.INFO: Packet analysis {"connection_id":177703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a60"} 
[2026-09-10 13:44:40] local.INFO: Extracted packet for processing {"connection_id":177703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a60"} 
[2026-09-10 13:44:40] local.INFO: GPS Element Parsed {"raw_longitude":749924672,"raw_latitude":125139080,"longitude_deg":74.9924672,"latitude_deg":12.513908,"altitude":23,"angle":196,"satellites":42,"speed":26,"hex_longitude":"2cb2f140","hex_latitude":"07757888","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991164416001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404088476170977280,"note":"Value kept but may cause issues"} 
[2026-09-10 13:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5550545771207931904,"note":"Value kept but may cause issues"} 
[2026-09-10 13:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789027998000,"timestamp_ms":1789027998000,"timestamp_seconds":1789027998,"priority":1,"record_length":96,"hex_timestamp":"000001a08a60d930"} 
[2026-09-10 13:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991164416001,"66":27713,"213":206,"85":36608,"24":26,"16":404088476170977280,"44":-5550545771207931904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-09-10 13:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991164416001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:44:40] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 13:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404088476170977280,"km_value":404088476170977.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5550545771207931904,"description":"Unknown IO ID 44"} 
[2026-09-10 13:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991164416001,"power":27713,"unknown_213":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5550545771207931904}} 
[2026-09-10 13:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":177703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:44:40] local.INFO: GPS data processed {"connection_id":177703,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:44:40] local.INFO: Acknowledgment sent {"connection_id":177703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:44:41] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a60ecb8012cb2ed4007756de8001b00cf2a..."} 
[2026-09-10 13:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a60ecb8012cb2ed4007756de8001b00cf2a..."} 
[2026-09-10 13:44:41] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a60ecb8012cb2ed4007756de8001b00cf2a..."} 
[2026-09-10 13:44:41] local.INFO: Packet analysis {"connection_id":177703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a60"} 
[2026-09-10 13:44:41] local.INFO: Extracted packet for processing {"connection_id":177703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a60"} 
[2026-09-10 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749923648,"raw_latitude":125136360,"longitude_deg":74.9923648,"latitude_deg":12.513636,"altitude":27,"angle":207,"satellites":42,"speed":20,"hex_longitude":"2cb2ed40","hex_latitude":"07756de8","is_valid_coordinates":true} 
[2026-09-10 13:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991167488001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404088617904898048,"note":"Value kept but may cause issues"} 
[2026-09-10 13:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5552586464791328768,"note":"Value kept but may cause issues"} 
[2026-09-10 13:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789028003000,"timestamp_ms":1789028003000,"timestamp_seconds":1789028003,"priority":1,"record_length":96,"hex_timestamp":"000001a08a60ecb8"} 
[2026-09-10 13:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 13:44: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-09-10 13:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991167488001,"66":27930,"213":206,"85":36608,"24":20,"16":404088617904898048,"44":-5552586464791328768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-09-10 13:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991167488001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404088617904898048,"km_value":404088617904898.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5552586464791328768,"description":"Unknown IO ID 44"} 
[2026-09-10 13:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991167488001,"power":27930,"unknown_213":206,"unknown_85":36608,"ignition":20,"odometer":null,"unknown_44":-5552586464791328768}} 
[2026-09-10 13:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":177703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:44:41] local.INFO: GPS data processed {"connection_id":177703,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:44:41] local.INFO: Acknowledgment sent {"connection_id":177703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:45:19] local.INFO: TCP Data received {"connection_id":179071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:19] local.INFO: Processing buffer {"connection_id":179071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:19] local.INFO: IMEI packet received {"connection_id":179071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":179071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:45:20] local.INFO: TCP Data received {"connection_id":179071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:20] local.INFO: Processing buffer {"connection_id":179071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:20] local.INFO: IMEI packet received {"connection_id":179071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":179071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:45:24] local.INFO: TCP Data received {"connection_id":179071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:24] local.INFO: Processing buffer {"connection_id":179071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:45:24] local.INFO: IMEI packet received {"connection_id":179071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":179071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:45:25] local.INFO: TCP Data received {"connection_id":179071,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a60f870012cb2e980077568e0001b00dd29..."} 
[2026-09-10 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a60f870012cb2e980077568e0001b00dd29..."} 
[2026-09-10 13:45:25] local.INFO: Processing buffer {"connection_id":179071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a60f870012cb2e980077568e0001b00dd29..."} 
[2026-09-10 13:45:25] local.INFO: Packet analysis {"connection_id":179071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a60"} 
[2026-09-10 13:45:25] local.INFO: Extracted packet for processing {"connection_id":179071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a60"} 
[2026-09-10 13:45:25] local.INFO: GPS Element Parsed {"raw_longitude":749922688,"raw_latitude":125135072,"longitude_deg":74.9922688,"latitude_deg":12.5135072,"altitude":27,"angle":221,"satellites":41,"speed":21,"hex_longitude":"2cb2e980","hex_latitude":"077568e0","is_valid_coordinates":true} 
[2026-09-10 13:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991168768001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404088695214309376,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5553712364698867712,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789028006000,"timestamp_ms":1789028006000,"timestamp_seconds":1789028006,"priority":1,"record_length":96,"hex_timestamp":"000001a08a60f870"} 
[2026-09-10 13:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:45: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-09-10 13:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 13:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991168768001,"66":27800,"214":206,"85":36608,"24":21,"16":404088695214309376,"44":-5553712364698867712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991168768001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:45:25] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404088695214309376,"km_value":404088695214309.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5553712364698867712,"description":"Unknown IO ID 44"} 
[2026-09-10 13:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991168768001,"power":27800,"unknown_214":206,"unknown_85":36608,"ignition":21,"odometer":null,"unknown_44":-5553712364698867712}} 
[2026-09-10 13:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":179071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:45:25] local.INFO: GPS data processed {"connection_id":179071,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:45:25] local.INFO: Acknowledgment sent {"connection_id":179071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:45:30] local.INFO: TCP Data received {"connection_id":179071,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a612b38012cb2d0c007754cb0001b00d924..."} 
[2026-09-10 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a612b38012cb2d0c007754cb0001b00d924..."} 
[2026-09-10 13:45:30] local.INFO: Processing buffer {"connection_id":179071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a612b38012cb2d0c007754cb0001b00d924..."} 
[2026-09-10 13:45:30] local.INFO: Packet analysis {"connection_id":179071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:45:30] local.INFO: Extracted packet for processing {"connection_id":179071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":749916352,"raw_latitude":125127856,"longitude_deg":74.9916352,"latitude_deg":12.5127856,"altitude":27,"angle":217,"satellites":36,"speed":35,"hex_longitude":"2cb2d0c0","hex_latitude":"07754cb0","is_valid_coordinates":true} 
[2026-09-10 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991169536001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404089154775810048,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5554767895861862400,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789028019000,"timestamp_ms":1789028019000,"timestamp_seconds":1789028019,"priority":1,"record_length":96,"hex_timestamp":"000001a08a612b38"} 
[2026-09-10 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:45: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-09-10 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 13:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991169536001,"66":27974,"214":206,"85":36608,"24":35,"16":404089154775810048,"44":-5554767895861862400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991169536001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:45:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404089154775810048,"km_value":404089154775810.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5554767895861862400,"description":"Unknown IO ID 44"} 
[2026-09-10 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991169536001,"power":27974,"unknown_214":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-5554767895861862400}} 
[2026-09-10 13:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":179071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:45:30] local.INFO: GPS data processed {"connection_id":179071,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:45:30] local.INFO: Acknowledgment sent {"connection_id":179071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:45:30] local.INFO: TCP Data received {"connection_id":179072,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:30] local.INFO: Processing buffer {"connection_id":179072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:30] local.INFO: IMEI packet received {"connection_id":179072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":179072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:45:30] local.INFO: TCP Data received {"connection_id":179072,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:30] local.INFO: Processing buffer {"connection_id":179072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:30] local.INFO: IMEI packet received {"connection_id":179072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":179072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:45:32] local.INFO: TCP Data received {"connection_id":179072,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:32] local.INFO: Processing buffer {"connection_id":179072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:45:32] local.INFO: IMEI packet received {"connection_id":179072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":179072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:45:33] local.INFO: TCP Data received {"connection_id":179072,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6238c0012d1a6d8007241ef8002c00c526..."} 
[2026-09-10 13:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6238c0012d1a6d8007241ef8002c00c526..."} 
[2026-09-10 13:45:33] local.INFO: Processing buffer {"connection_id":179072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6238c0012d1a6d8007241ef8002c00c526..."} 
[2026-09-10 13:45:33] local.INFO: Packet analysis {"connection_id":179072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:45:33] local.INFO: Extracted packet for processing {"connection_id":179072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756706688,"raw_latitude":119807736,"longitude_deg":75.6706688,"latitude_deg":11.9807736,"altitude":44,"angle":197,"satellites":38,"speed":19,"hex_longitude":"2d1a6d80","hex_latitude":"07241ef8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991188224001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19223985854087168,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904530091840663552,"note":"Value kept but may cause issues"} 
[2026-09-10 13:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028088000,"timestamp_ms":1789028088000,"timestamp_seconds":1789028088,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6238c0"} 
[2026-09-10 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-09-10 13:45: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-09-10 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 13:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991188224001,"66":14135,"43":206,"83":42752,"24":19,"16":19223985854087168,"45":1904530091840663552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991188224001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:45:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19223985854087168,"km_value":19223985854087.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904530091840663552,"description":"Unknown IO ID 45"} 
[2026-09-10 13:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991188224001,"power":14135,"unknown_43":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1904530091840663552}} 
[2026-09-10 13:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":179072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:45:33] local.INFO: GPS data processed {"connection_id":179072,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:45:33] local.INFO: Acknowledgment sent {"connection_id":179072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:46:01] local.INFO: TCP Data received {"connection_id":179071,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a615248012cb2bc8007753040001c00d726..."} 
[2026-09-10 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a615248012cb2bc8007753040001c00d726..."} 
[2026-09-10 13:46:01] local.INFO: Processing buffer {"connection_id":179071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a615248012cb2bc8007753040001c00d726..."} 
[2026-09-10 13:46:01] local.INFO: Packet analysis {"connection_id":179071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:46:01] local.INFO: Extracted packet for processing {"connection_id":179071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:46:01] local.INFO: GPS Element Parsed {"raw_longitude":749911168,"raw_latitude":125120576,"longitude_deg":74.9911168,"latitude_deg":12.5120576,"altitude":28,"angle":215,"satellites":38,"speed":34,"hex_longitude":"2cb2bc80","hex_latitude":"07753040","is_valid_coordinates":true} 
[2026-09-10 13:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991172864001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404089584272539648,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5561734401537298432,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789028029000,"timestamp_ms":1789028029000,"timestamp_seconds":1789028029,"priority":1,"record_length":96,"hex_timestamp":"000001a08a615248"} 
[2026-09-10 13:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 13:46: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-09-10 13:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":179071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":179071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":179071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:46: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-09-10 13:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991172864001,"66":27843,"214":206,"85":36608,"24":34,"16":404089584272539648,"44":-5561734401537298432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-10 13:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991172864001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:46:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-10 13:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404089584272539648,"km_value":404089584272539.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5561734401537298432,"description":"Unknown IO ID 44"} 
[2026-09-10 13:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991172864001,"power":27843,"unknown_214":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5561734401537298432}} 
[2026-09-10 13:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":179071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:46:01] local.INFO: GPS data processed {"connection_id":179071,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:46:01] local.INFO: Acknowledgment sent {"connection_id":179071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:46:04] local.INFO: TCP Data received {"connection_id":179072,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a624478012d1a6c4007241ba8002b00b526..."} 
[2026-09-10 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a624478012d1a6c4007241ba8002b00b526..."} 
[2026-09-10 13:46:04] local.INFO: Processing buffer {"connection_id":179072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a624478012d1a6c4007241ba8002b00b526..."} 
[2026-09-10 13:46:04] local.INFO: Packet analysis {"connection_id":179072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:46:04] local.INFO: Extracted packet for processing {"connection_id":179072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756706368,"raw_latitude":119806888,"longitude_deg":75.6706368,"latitude_deg":11.9806888,"altitude":43,"angle":181,"satellites":38,"speed":7,"hex_longitude":"2d1a6c40","hex_latitude":"07241ba8","is_valid_coordinates":true} 
[2026-09-10 13:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991190528001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224033098727424,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904318985606723584,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028091000,"timestamp_ms":1789028091000,"timestamp_seconds":1789028091,"priority":1,"record_length":96,"hex_timestamp":"000001a08a624478"} 
[2026-09-10 13:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:46: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-09-10 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 13:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991190528001,"66":14157,"43":206,"83":42752,"24":7,"16":19224033098727424,"45":1904318985606723584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991190528001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:46:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224033098727424,"km_value":19224033098727.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904318985606723584,"description":"Unknown IO ID 45"} 
[2026-09-10 13:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991190528001,"power":14157,"unknown_43":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1904318985606723584}} 
[2026-09-10 13:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":179072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:46:05] local.INFO: GPS data processed {"connection_id":179072,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:46:05] local.INFO: Acknowledgment sent {"connection_id":179072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:46:19] local.INFO: TCP Data received {"connection_id":177704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:46:19] local.INFO: Processing buffer {"connection_id":177704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:46:19] local.INFO: IMEI packet received {"connection_id":177704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":177704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:46:24] local.INFO: TCP Data received {"connection_id":177704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:46:24] local.INFO: Processing buffer {"connection_id":177704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:46:24] local.INFO: IMEI packet received {"connection_id":177704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":177704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:46:24] local.INFO: TCP Data received {"connection_id":177704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a618128012cb2a680077514c8001b00dc23..."} 
[2026-09-10 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a618128012cb2a680077514c8001b00dc23..."} 
[2026-09-10 13:46:24] local.INFO: Processing buffer {"connection_id":177704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a618128012cb2a680077514c8001b00dc23..."} 
[2026-09-10 13:46:24] local.INFO: Packet analysis {"connection_id":177704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:46:24] local.INFO: Extracted packet for processing {"connection_id":177704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113544,"longitude_deg":74.9905536,"latitude_deg":12.5113544,"altitude":27,"angle":220,"satellites":35,"speed":26,"hex_longitude":"2cb2a680","hex_latitude":"077514c8","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991175424001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404090018064236544,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5567434269817552896,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789028041000,"timestamp_ms":1789028041000,"timestamp_seconds":1789028041,"priority":1,"record_length":96,"hex_timestamp":"000001a08a618128"} 
[2026-09-10 13:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:46: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-09-10 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 13:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:46: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-09-10 13:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991175424001,"66":27908,"230":206,"85":36608,"24":26,"16":404090018064236544,"44":-5567434269817552896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-10 13:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991175424001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:46:24] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 13:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404090018064236544,"km_value":404090018064236.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:46:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5567434269817552896,"description":"Unknown IO ID 44"} 
[2026-09-10 13:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991175424001,"power":27908,"unknown_230":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5567434269817552896}} 
[2026-09-10 13:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":177704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:46:24] local.INFO: GPS data processed {"connection_id":177704,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:46:24] local.INFO: Acknowledgment sent {"connection_id":177704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:46:27] local.INFO: TCP Data received {"connection_id":179073,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:46:27] local.INFO: Processing buffer {"connection_id":179073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:46:27] local.INFO: IMEI packet received {"connection_id":179073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":179073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:46:32] local.INFO: TCP Data received {"connection_id":179073,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:46:32] local.INFO: Processing buffer {"connection_id":179073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:46:32] local.INFO: IMEI packet received {"connection_id":179073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":179073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:46:33] local.INFO: TCP Data received {"connection_id":179073,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a624860012d1a6cc007241af8002a009f26..."} 
[2026-09-10 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a624860012d1a6cc007241af8002a009f26..."} 
[2026-09-10 13:46:33] local.INFO: Processing buffer {"connection_id":179073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a624860012d1a6cc007241af8002a009f26..."} 
[2026-09-10 13:46:33] local.INFO: Packet analysis {"connection_id":179073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:46:33] local.INFO: Extracted packet for processing {"connection_id":179073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119806712,"longitude_deg":75.6706496,"latitude_deg":11.9806712,"altitude":42,"angle":159,"satellites":38,"speed":6,"hex_longitude":"2d1a6cc0","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991191296001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224041688662016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903967141885618176,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028092000,"timestamp_ms":1789028092000,"timestamp_seconds":1789028092,"priority":1,"record_length":96,"hex_timestamp":"000001a08a624860"} 
[2026-09-10 13:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:46: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-09-10 13: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 13:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991191296001,"66":14233,"43":206,"83":42752,"24":6,"16":19224041688662016,"45":1903967141885618176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991191296001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:46:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224041688662016,"km_value":19224041688662.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903967141885618176,"description":"Unknown IO ID 45"} 
[2026-09-10 13:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991191296001,"power":14233,"unknown_43":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1903967141885618176}} 
[2026-09-10 13:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":179073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:46:33] local.INFO: GPS data processed {"connection_id":179073,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:46:33] local.INFO: Acknowledgment sent {"connection_id":179073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:46:57] local.INFO: TCP Data received {"connection_id":177704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a61b3f0012cb28f000774f9d8001900d425..."} 
[2026-09-10 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a61b3f0012cb28f000774f9d8001900d425..."} 
[2026-09-10 13:46:57] local.INFO: Processing buffer {"connection_id":177704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a61b3f0012cb28f000774f9d8001900d425..."} 
[2026-09-10 13:46:57] local.INFO: Packet analysis {"connection_id":177704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:46:57] local.INFO: Extracted packet for processing {"connection_id":177704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a61"} 
[2026-09-10 13:46:57] local.INFO: GPS Element Parsed {"raw_longitude":749899520,"raw_latitude":125106648,"longitude_deg":74.989952,"latitude_deg":12.5106648,"altitude":25,"angle":212,"satellites":37,"speed":22,"hex_longitude":"2cb28f00","hex_latitude":"0774f9d8","is_valid_coordinates":true} 
[2026-09-10 13:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991178496001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404090460445868032,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306987520,"note":"Value kept but may cause issues"} 
[2026-09-10 13:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789028054000,"timestamp_ms":1789028054000,"timestamp_seconds":1789028054,"priority":1,"record_length":96,"hex_timestamp":"000001a08a61b3f0"} 
[2026-09-10 13:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:46: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-09-10 13:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991178496001,"66":27908,"230":206,"85":36608,"24":22,"16":404090460445868032,"44":-5573626719306987520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-10 13:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991178496001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:46:57] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 13:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404090460445868032,"km_value":404090460445868.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:46:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306987520,"description":"Unknown IO ID 44"} 
[2026-09-10 13:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991178496001,"power":27908,"unknown_230":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-5573626719306987520}} 
[2026-09-10 13:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":177704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:46:57] local.INFO: GPS data processed {"connection_id":177704,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:46:57] local.INFO: Acknowledgment sent {"connection_id":177704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:47:03] local.INFO: TCP Data received {"connection_id":179073,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a625030012d1a6d40072419f0002a008825..."} 
[2026-09-10 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a625030012d1a6d40072419f0002a008825..."} 
[2026-09-10 13:47:03] local.INFO: Processing buffer {"connection_id":179073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a625030012d1a6d40072419f0002a008825..."} 
[2026-09-10 13:47:03] local.INFO: Packet analysis {"connection_id":179073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:47:03] local.INFO: Extracted packet for processing {"connection_id":179073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756706624,"raw_latitude":119806448,"longitude_deg":75.6706624,"latitude_deg":11.9806448,"altitude":42,"angle":136,"satellites":37,"speed":7,"hex_longitude":"2d1a6d40","hex_latitude":"072419f0","is_valid_coordinates":true} 
[2026-09-10 13:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991191552001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224054573563904,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879373928448,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789028094000,"timestamp_ms":1789028094000,"timestamp_seconds":1789028094,"priority":1,"record_length":96,"hex_timestamp":"000001a08a625030"} 
[2026-09-10 13:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 13:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991191552001,"66":14157,"43":206,"83":42752,"24":7,"16":19224054573563904,"45":1904107879373928448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991191552001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:47:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224054573563904,"km_value":19224054573563.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879373928448,"description":"Unknown IO ID 45"} 
[2026-09-10 13:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991191552001,"power":14157,"unknown_43":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1904107879373928448}} 
[2026-09-10 13:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":179073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:47:04] local.INFO: GPS data processed {"connection_id":179073,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:47:04] local.INFO: Acknowledgment sent {"connection_id":179073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:47:27] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:47:27] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:47:27] local.INFO: IMEI packet received {"connection_id":176520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":176520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:47:29] local.INFO: TCP Data received {"connection_id":176521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:29] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:29] local.INFO: IMEI packet received {"connection_id":176521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":176521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:47:30] local.INFO: TCP Data received {"connection_id":176521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:30] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:30] local.INFO: IMEI packet received {"connection_id":176521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":176521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:47:32] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:47:32] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:47:32] local.INFO: IMEI packet received {"connection_id":176520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":176520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:47:33] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a62a238012d1a7540072412e80029008325..."} 
[2026-09-10 13:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a62a238012d1a7540072412e80029008325..."} 
[2026-09-10 13:47:33] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a62a238012d1a7540072412e80029008325..."} 
[2026-09-10 13:47:33] local.INFO: Packet analysis {"connection_id":176520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:47:33] local.INFO: Extracted packet for processing {"connection_id":176520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756708672,"raw_latitude":119804648,"longitude_deg":75.6708672,"latitude_deg":11.9804648,"altitude":41,"angle":131,"satellites":37,"speed":0,"hex_longitude":"2d1a7540","hex_latitude":"072412e8","is_valid_coordinates":true} 
[2026-09-10 13:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991192064001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224192012517376,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904248616862216192,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028115000,"timestamp_ms":1789028115000,"timestamp_seconds":1789028115,"priority":1,"record_length":96,"hex_timestamp":"000001a08a62a238"} 
[2026-09-10 13:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:47: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-09-10 13:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 13:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991192064001,"66":13961,"43":206,"83":42752,"24":0,"16":19224192012517376,"45":1904248616862216192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991192064001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:47:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224192012517376,"km_value":19224192012517.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904248616862216192,"description":"Unknown IO ID 45"} 
[2026-09-10 13:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991192064001,"power":13961,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1904248616862216192}} 
[2026-09-10 13:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":176520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:47:33] local.INFO: GPS data processed {"connection_id":176520,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:47:33] local.INFO: Acknowledgment sent {"connection_id":176520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:47:35] local.INFO: TCP Data received {"connection_id":176521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:35] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:47:35] local.INFO: IMEI packet received {"connection_id":176521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":176521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:47:36] local.INFO: TCP Data received {"connection_id":176521,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a63a7f0012cb2810007747c380013007028..."} 
[2026-09-10 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a63a7f0012cb2810007747c380013007028..."} 
[2026-09-10 13:47:36] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a63a7f0012cb2810007747c380013007028..."} 
[2026-09-10 13:47:36] local.INFO: Packet analysis {"connection_id":176521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:47:36] local.INFO: Extracted packet for processing {"connection_id":176521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":749895936,"raw_latitude":125074488,"longitude_deg":74.9895936,"latitude_deg":12.5074488,"altitude":19,"angle":112,"satellites":40,"speed":39,"hex_longitude":"2cb28100","hex_latitude":"07747c38","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991211776001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404092607929516032,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5593752180150820864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789028182000,"timestamp_ms":1789028182000,"timestamp_seconds":1789028182,"priority":1,"record_length":96,"hex_timestamp":"000001a08a63a7f0"} 
[2026-09-10 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-09-10 13:47: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-09-10 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:47: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-09-10 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-09-10 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-09-10 13:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991211776001,"66":27789,"231":206,"85":36608,"24":39,"16":404092607929516032,"44":-5593752180150820864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-10 13:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991211776001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:47:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 13:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404092607929516032,"km_value":404092607929516.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5593752180150820864,"description":"Unknown IO ID 44"} 
[2026-09-10 13:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991211776001,"power":27789,"unknown_231":206,"unknown_85":36608,"ignition":39,"odometer":null,"unknown_44":-5593752180150820864}} 
[2026-09-10 13:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":176521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:47:36] local.INFO: GPS data processed {"connection_id":176521,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:47:36] local.INFO: Acknowledgment sent {"connection_id":176521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:48:04] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a62b5c0012d1a758007241098002b00b427..."} 
[2026-09-10 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a62b5c0012d1a758007241098002b00b427..."} 
[2026-09-10 13:48:04] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a62b5c0012d1a758007241098002b00b427..."} 
[2026-09-10 13:48:04] local.INFO: Packet analysis {"connection_id":176520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:48:04] local.INFO: Extracted packet for processing {"connection_id":176520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119804056,"longitude_deg":75.6708736,"latitude_deg":11.9804056,"altitude":43,"angle":180,"satellites":39,"speed":7,"hex_longitude":"2d1a7580","hex_latitude":"07241098","is_valid_coordinates":true} 
[2026-09-10 13:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991197440001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224222077288448,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906500416675440640,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028120000,"timestamp_ms":1789028120000,"timestamp_seconds":1789028120,"priority":1,"record_length":96,"hex_timestamp":"000001a08a62b5c0"} 
[2026-09-10 13:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:48: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-09-10 13:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 13:48: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-09-10 13:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991197440001,"66":14265,"43":206,"83":42752,"24":7,"16":19224222077288448,"45":1906500416675440640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991197440001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:48:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224222077288448,"km_value":19224222077288.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906500416675440640,"description":"Unknown IO ID 45"} 
[2026-09-10 13:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991197440001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1906500416675440640}} 
[2026-09-10 13:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":176520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:48:04] local.INFO: GPS data processed {"connection_id":176520,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:48:04] local.INFO: Acknowledgment sent {"connection_id":176520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:48:19] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:48:19] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:48:19] local.INFO: IMEI packet received {"connection_id":176286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":176286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:48:24] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:48:24] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:48:24] local.INFO: IMEI packet received {"connection_id":176286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":176286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:48:26] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a63cf00012cb2a3c007746a88001a007528..."} 
[2026-09-10 13:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a63cf00012cb2a3c007746a88001a007528..."} 
[2026-09-10 13:48:26] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a63cf00012cb2a3c007746a88001a007528..."} 
[2026-09-10 13:48:26] local.INFO: Packet analysis {"connection_id":176286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:48:26] local.INFO: Extracted packet for processing {"connection_id":176286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":749904832,"raw_latitude":125069960,"longitude_deg":74.9904832,"latitude_deg":12.506996,"altitude":26,"angle":117,"satellites":40,"speed":41,"hex_longitude":"2cb2a3c0","hex_latitude":"07746a88","is_valid_coordinates":true} 
[2026-09-10 13:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991214592001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404093084670885888,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5584182030943635456,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789028192000,"timestamp_ms":1789028192000,"timestamp_seconds":1789028192,"priority":1,"record_length":96,"hex_timestamp":"000001a08a63cf00"} 
[2026-09-10 13:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 13:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991214592001,"66":27865,"88":206,"85":36608,"24":41,"16":404093084670885888,"44":-5584182030943635456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 13:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991214592001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:48:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 13:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404093084670885888,"km_value":404093084670885.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5584182030943635456,"description":"Unknown IO ID 44"} 
[2026-09-10 13:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991214592001,"power":27865,"unknown_88":206,"unknown_85":36608,"ignition":41,"odometer":null,"unknown_44":-5584182030943635456}} 
[2026-09-10 13:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":176286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:48:26] local.INFO: GPS data processed {"connection_id":176286,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:48:26] local.INFO: Acknowledgment sent {"connection_id":176286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:48:27] local.INFO: TCP Data received {"connection_id":179074,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:48:27] local.INFO: Processing buffer {"connection_id":179074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:48:27] local.INFO: IMEI packet received {"connection_id":179074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":179074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:48:32] local.INFO: TCP Data received {"connection_id":179074,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:48:32] local.INFO: Processing buffer {"connection_id":179074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:48:32] local.INFO: IMEI packet received {"connection_id":179074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":179074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:48:33] local.INFO: TCP Data received {"connection_id":179074,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08a62b9a8012d1a754007240fc0002c00c927..."} 
[2026-09-10 13:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a62b9a8012d1a754007240fc0002c00c927..."} 
[2026-09-10 13:48:33] local.INFO: Processing buffer {"connection_id":179074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a62b9a8012d1a754007240fc0002c00c927..."} 
[2026-09-10 13:48:33] local.INFO: Packet analysis {"connection_id":179074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:48:33] local.INFO: Extracted packet for processing {"connection_id":179074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756708672,"raw_latitude":119803840,"longitude_deg":75.6708672,"latitude_deg":11.980384,"altitude":44,"angle":201,"satellites":39,"speed":8,"hex_longitude":"2d1a7540","hex_latitude":"07240fc0","is_valid_coordinates":true} 
[2026-09-10 13:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991198720001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224230667223040,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906570785419466752,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028121000,"timestamp_ms":1789028121000,"timestamp_seconds":1789028121,"priority":1,"record_length":96,"hex_timestamp":"000001a08a62b9a8"} 
[2026-09-10 13:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:48: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-09-10 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991198720001,"66":14265,"43":206,"83":42752,"24":8,"16":19224230667223040,"45":1906570785419466752},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991198720001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:48:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224230667223040,"km_value":19224230667223.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906570785419466752,"description":"Unknown IO ID 45"} 
[2026-09-10 13:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991198720001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1906570785419466752}} 
[2026-09-10 13:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":179074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:48:33] local.INFO: GPS data processed {"connection_id":179074,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:48:33] local.INFO: Acknowledgment sent {"connection_id":179074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:48:57] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a63ee40012cb2c3c007745a18001c007428..."} 
[2026-09-10 13:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a63ee40012cb2c3c007745a18001c007428..."} 
[2026-09-10 13:48:57] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a63ee40012cb2c3c007745a18001c007428..."} 
[2026-09-10 13:48:57] local.INFO: Packet analysis {"connection_id":176286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:48:57] local.INFO: Extracted packet for processing {"connection_id":176286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:48:57] local.INFO: GPS Element Parsed {"raw_longitude":749913024,"raw_latitude":125065752,"longitude_deg":74.9913024,"latitude_deg":12.5065752,"altitude":28,"angle":116,"satellites":40,"speed":46,"hex_longitude":"2cb2c3c0","hex_latitude":"07745a18","is_valid_coordinates":true} 
[2026-09-10 13:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991217152001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404093522757550080,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574400775504099328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789028200000,"timestamp_ms":1789028200000,"timestamp_seconds":1789028200,"priority":1,"record_length":96,"hex_timestamp":"000001a08a63ee40"} 
[2026-09-10 13:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:48: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-09-10 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 13:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991217152001,"66":27800,"88":206,"85":36608,"24":46,"16":404093522757550080,"44":-5574400775504099328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 13:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991217152001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:48:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 13:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404093522757550080,"km_value":404093522757550.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:48:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574400775504099328,"description":"Unknown IO ID 44"} 
[2026-09-10 13:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991217152001,"power":27800,"unknown_88":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-5574400775504099328}} 
[2026-09-10 13:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":176286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:48:57] local.INFO: GPS data processed {"connection_id":176286,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:48:57] local.INFO: Acknowledgment sent {"connection_id":176286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:49:04] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:49:04] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:49:04] local.INFO: IMEI packet received {"connection_id":176287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":176287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:49:04] local.INFO: TCP Data received {"connection_id":179074,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08a62bd90012d1a74c007240ed8002c00da27..."} 
[2026-09-10 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a62bd90012d1a74c007240ed8002c00da27..."} 
[2026-09-10 13:49:04] local.INFO: Processing buffer {"connection_id":179074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a62bd90012d1a74c007240ed8002c00da27..."} 
[2026-09-10 13:49:04] local.INFO: Packet analysis {"connection_id":179074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:49:04] local.INFO: Extracted packet for processing {"connection_id":179074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119803608,"longitude_deg":75.6708544,"latitude_deg":11.9803608,"altitude":44,"angle":218,"satellites":39,"speed":12,"hex_longitude":"2d1a74c0","hex_latitude":"07240ed8","is_valid_coordinates":true} 
[2026-09-10 13:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991198976001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224243552124928,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906500416675233792,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028122000,"timestamp_ms":1789028122000,"timestamp_seconds":1789028122,"priority":1,"record_length":96,"hex_timestamp":"000001a08a62bd90"} 
[2026-09-10 13:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991198976001,"66":14298,"43":206,"83":42752,"24":12,"16":19224243552124928,"45":1906500416675233792},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991198976001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:49:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224243552124928,"km_value":19224243552124.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906500416675233792,"description":"Unknown IO ID 45"} 
[2026-09-10 13:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991198976001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1906500416675233792}} 
[2026-09-10 13:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":179074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:49:04] local.INFO: GPS data processed {"connection_id":179074,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:49:04] local.INFO: Acknowledgment sent {"connection_id":179074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:49:19] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:49:19] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:49:19] local.INFO: IMEI packet received {"connection_id":176288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":176288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:49:24] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:49:24] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:49:24] local.INFO: IMEI packet received {"connection_id":176288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":176288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:49:25] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6405b0012cb2de4007745030001e006626..."} 
[2026-09-10 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6405b0012cb2de4007745030001e006626..."} 
[2026-09-10 13:49:25] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6405b0012cb2de4007745030001e006626..."} 
[2026-09-10 13:49:25] local.INFO: Packet analysis {"connection_id":176288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a64"} 
[2026-09-10 13:49:25] local.INFO: Extracted packet for processing {"connection_id":176288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a64"} 
[2026-09-10 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":749919808,"raw_latitude":125063216,"longitude_deg":74.9919808,"latitude_deg":12.5063216,"altitude":30,"angle":102,"satellites":38,"speed":45,"hex_longitude":"2cb2de40","hex_latitude":"07745030","is_valid_coordinates":true} 
[2026-09-10 13:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991219200001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404093866354933760,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5565393576250435584,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789028206000,"timestamp_ms":1789028206000,"timestamp_seconds":1789028206,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6405b0"} 
[2026-09-10 13:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:49: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-09-10 13:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 13:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991219200001,"66":27713,"88":206,"85":36608,"24":45,"16":404093866354933760,"44":-5565393576250435584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 13:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991219200001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:49:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 13:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404093866354933760,"km_value":404093866354933.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5565393576250435584,"description":"Unknown IO ID 44"} 
[2026-09-10 13:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991219200001,"power":27713,"unknown_88":206,"unknown_85":36608,"ignition":45,"odometer":null,"unknown_44":-5565393576250435584}} 
[2026-09-10 13:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":176288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:49:25] local.INFO: GPS data processed {"connection_id":176288,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:49:25] local.INFO: Acknowledgment sent {"connection_id":176288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:49:27] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:49:27] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:49:27] local.INFO: IMEI packet received {"connection_id":176522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":176522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:49:32] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:49:32] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:49:32] local.INFO: IMEI packet received {"connection_id":176522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":176522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:49:33] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a62c560012d1a724007240cc0002d00e827..."} 
[2026-09-10 13:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a62c560012d1a724007240cc0002d00e827..."} 
[2026-09-10 13:49:33] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a62c560012d1a724007240cc0002d00e827..."} 
[2026-09-10 13:49:33] local.INFO: Packet analysis {"connection_id":176522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:49:33] local.INFO: Extracted packet for processing {"connection_id":176522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756707904,"raw_latitude":119803072,"longitude_deg":75.6707904,"latitude_deg":11.9803072,"altitude":45,"angle":232,"satellites":39,"speed":18,"hex_longitude":"2d1a7240","hex_latitude":"07240cc0","is_valid_coordinates":true} 
[2026-09-10 13:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991199232001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224286501797888,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679186819072,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028124000,"timestamp_ms":1789028124000,"timestamp_seconds":1789028124,"priority":1,"record_length":96,"hex_timestamp":"000001a08a62c560"} 
[2026-09-10 13:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:49: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-09-10 13:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 13:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991199232001,"66":13972,"43":206,"83":42752,"24":18,"16":19224286501797888,"45":1906359679186819072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991199232001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:49:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224286501797888,"km_value":19224286501797.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679186819072,"description":"Unknown IO ID 45"} 
[2026-09-10 13:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991199232001,"power":13972,"unknown_43":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1906359679186819072}} 
[2026-09-10 13:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":176522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:49:33] local.INFO: GPS data processed {"connection_id":176522,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:49:33] local.INFO: Acknowledgment sent {"connection_id":176522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:49:40] local.INFO: TCP Data received {"connection_id":177705,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:49:40] local.INFO: Processing buffer {"connection_id":177705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:49:40] local.INFO: IMEI packet received {"connection_id":177705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":177705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:49:57] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a65b360012cb386400774dc280028002925..."} 
[2026-09-10 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a65b360012cb386400774dc280028002925..."} 
[2026-09-10 13:49:57] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a65b360012cb386400774dc280028002925..."} 
[2026-09-10 13:49:57] local.INFO: Packet analysis {"connection_id":176288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a65"} 
[2026-09-10 13:49:57] local.INFO: Extracted packet for processing {"connection_id":176288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a65"} 
[2026-09-10 13:49:57] local.INFO: GPS Element Parsed {"raw_longitude":749962816,"raw_latitude":125099048,"longitude_deg":74.9962816,"latitude_deg":12.5099048,"altitude":40,"angle":41,"satellites":37,"speed":29,"hex_longitude":"2cb38640","hex_latitude":"0774dc28","is_valid_coordinates":true} 
[2026-09-10 13:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991244800001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404096808407531520,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5516839142761265152,"note":"Value kept but may cause issues"} 
[2026-09-10 13:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789028316000,"timestamp_ms":1789028316000,"timestamp_seconds":1789028316,"priority":1,"record_length":96,"hex_timestamp":"000001a08a65b360"} 
[2026-09-10 13:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:49: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-09-10 13:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 13:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991244800001,"66":27865,"225":206,"85":36608,"24":29,"16":404096808407531520,"44":-5516839142761265152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-10 13:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991244800001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:49:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 13:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404096808407531520,"km_value":404096808407531.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:49:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5516839142761265152,"description":"Unknown IO ID 44"} 
[2026-09-10 13:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991244800001,"power":27865,"unknown_225":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5516839142761265152}} 
[2026-09-10 13:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":176288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:49:57] local.INFO: GPS data processed {"connection_id":176288,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:49:57] local.INFO: Acknowledgment sent {"connection_id":176288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:50:04] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08a62e888012d1a62800723fee8002e00da27..."} 
[2026-09-10 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a62e888012d1a62800723fee8002e00da27..."} 
[2026-09-10 13:50:04] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a62e888012d1a62800723fee8002e00da27..."} 
[2026-09-10 13:50:04] local.INFO: Packet analysis {"connection_id":176522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:50:04] local.INFO: Extracted packet for processing {"connection_id":176522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a62"} 
[2026-09-10 13:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756703872,"raw_latitude":119799528,"longitude_deg":75.6703872,"latitude_deg":11.9799528,"altitude":46,"angle":218,"satellites":39,"speed":24,"hex_longitude":"2d1a6280","hex_latitude":"0723fee8","is_valid_coordinates":true} 
[2026-09-10 13:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991199744001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224544199835648,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905655991744905216,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028133000,"timestamp_ms":1789028133000,"timestamp_seconds":1789028133,"priority":1,"record_length":96,"hex_timestamp":"000001a08a62e888"} 
[2026-09-10 13:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:50: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-09-10 13:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 13:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:50: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-09-10 13:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991199744001,"66":13972,"43":206,"83":42752,"24":24,"16":19224544199835648,"45":1905655991744905216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-10 13:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991199744001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:50:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 13:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224544199835648,"km_value":19224544199835.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905655991744905216,"description":"Unknown IO ID 45"} 
[2026-09-10 13:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991199744001,"power":13972,"unknown_43":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1905655991744905216}} 
[2026-09-10 13:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":176522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:50:04] local.INFO: GPS data processed {"connection_id":176522,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:50:04] local.INFO: Acknowledgment sent {"connection_id":176522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:50:19] local.INFO: TCP Data received {"connection_id":177706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:50:19] local.INFO: Processing buffer {"connection_id":177706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:50:19] local.INFO: IMEI packet received {"connection_id":177706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":177706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:50:24] local.INFO: TCP Data received {"connection_id":177706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:50:24] local.INFO: Processing buffer {"connection_id":177706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:50:24] local.INFO: IMEI packet received {"connection_id":177706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":177706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:50:25] local.INFO: TCP Data received {"connection_id":177706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a65e628012cb39e800774f7880029002b21..."} 
[2026-09-10 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a65e628012cb39e800774f7880029002b21..."} 
[2026-09-10 13:50:25] local.INFO: Processing buffer {"connection_id":177706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a65e628012cb39e800774f7880029002b21..."} 
[2026-09-10 13:50:25] local.INFO: Packet analysis {"connection_id":177706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a65"} 
[2026-09-10 13:50:25] local.INFO: Extracted packet for processing {"connection_id":177706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a65"} 
[2026-09-10 13:50:25] local.INFO: GPS Element Parsed {"raw_longitude":749969024,"raw_latitude":125106056,"longitude_deg":74.9969024,"latitude_deg":12.5106056,"altitude":41,"angle":43,"satellites":33,"speed":22,"hex_longitude":"2cb39e80","hex_latitude":"0774f788","is_valid_coordinates":true} 
[2026-09-10 13:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991248896001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404097259379097600,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5510646693271689216,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789028329000,"timestamp_ms":1789028329000,"timestamp_seconds":1789028329,"priority":1,"record_length":96,"hex_timestamp":"000001a08a65e628"} 
[2026-09-10 13:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:50: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-09-10 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 13:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991248896001,"66":27865,"225":206,"85":36608,"24":22,"16":404097259379097600,"44":-5510646693271689216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-10 13:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991248896001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:50:25] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 13:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404097259379097600,"km_value":404097259379097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5510646693271689216,"description":"Unknown IO ID 44"} 
[2026-09-10 13:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991248896001,"power":27865,"unknown_225":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-5510646693271689216}} 
[2026-09-10 13:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":177706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:50:25] local.INFO: GPS data processed {"connection_id":177706,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:50:25] local.INFO: Acknowledgment sent {"connection_id":177706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:50:27] local.INFO: TCP Data received {"connection_id":179075,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:50:27] local.INFO: Processing buffer {"connection_id":179075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:50:27] local.INFO: IMEI packet received {"connection_id":179075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":179075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:50:32] local.INFO: TCP Data received {"connection_id":179075,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:50:32] local.INFO: Processing buffer {"connection_id":179075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:50:32] local.INFO: IMEI packet received {"connection_id":179075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":179075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:50:33] local.INFO: TCP Data received {"connection_id":179075,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:50:33] local.INFO: Processing buffer {"connection_id":179075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:50:33] local.INFO: Packet analysis {"connection_id":179075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:50:33] local.INFO: Extracted packet for processing {"connection_id":179075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756699648,"raw_latitude":119794064,"longitude_deg":75.6699648,"latitude_deg":11.9794064,"altitude":47,"angle":213,"satellites":37,"speed":33,"hex_longitude":"2d1a5200","hex_latitude":"0723e990","is_valid_coordinates":true} 
[2026-09-10 13:50: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-09-10 13:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991202048001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224874912317440,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901222760860805120,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028142000,"timestamp_ms":1789028142000,"timestamp_seconds":1789028142,"priority":1,"record_length":96,"hex_timestamp":"000001a08a630bb0"} 
[2026-09-10 13:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:50: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-09-10 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 13:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991202048001,"66":13863,"42":206,"83":42752,"24":33,"16":19224874912317440,"45":1901222760860805120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991202048001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:50:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224874912317440,"km_value":19224874912317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901222760860805120,"description":"Unknown IO ID 45"} 
[2026-09-10 13:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991202048001,"power":13863,"unknown_42":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1901222760860805120}} 
[2026-09-10 13:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":179075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:50:33] local.INFO: GPS data processed {"connection_id":179075,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:50:33] local.INFO: Acknowledgment sent {"connection_id":179075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:50:57] local.INFO: TCP Data received {"connection_id":177706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a662890012cb3b740077512980029002627..."} 
[2026-09-10 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a662890012cb3b740077512980029002627..."} 
[2026-09-10 13:50:57] local.INFO: Processing buffer {"connection_id":177706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a662890012cb3b740077512980029002627..."} 
[2026-09-10 13:50:57] local.INFO: Packet analysis {"connection_id":177706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a66"} 
[2026-09-10 13:50:57] local.INFO: Extracted packet for processing {"connection_id":177706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a66"} 
[2026-09-10 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":749975360,"raw_latitude":125112984,"longitude_deg":74.997536,"latitude_deg":12.5112984,"altitude":41,"angle":38,"satellites":39,"speed":26,"hex_longitude":"2cb3b740","hex_latitude":"07751298","is_valid_coordinates":true} 
[2026-09-10 13:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991252224001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404097710350663680,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5503820925084661760,"note":"Value kept but may cause issues"} 
[2026-09-10 13:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789028346000,"timestamp_ms":1789028346000,"timestamp_seconds":1789028346,"priority":1,"record_length":96,"hex_timestamp":"000001a08a662890"} 
[2026-09-10 13:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 13:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991252224001,"66":27930,"225":206,"85":36608,"24":26,"16":404097710350663680,"44":-5503820925084661760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-10 13:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991252224001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:50:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 13:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404097710350663680,"km_value":404097710350663.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:50:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5503820925084661760,"description":"Unknown IO ID 44"} 
[2026-09-10 13:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991252224001,"power":27930,"unknown_225":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5503820925084661760}} 
[2026-09-10 13:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":177706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:50:57] local.INFO: GPS data processed {"connection_id":177706,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:50:57] local.INFO: Acknowledgment sent {"connection_id":177706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:51:04] local.INFO: TCP Data received {"connection_id":179075,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:51:04] local.INFO: Processing buffer {"connection_id":179075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:51:04] local.INFO: Packet analysis {"connection_id":179075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:51:04] local.INFO: Extracted packet for processing {"connection_id":179075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756699648,"raw_latitude":119794064,"longitude_deg":75.6699648,"latitude_deg":11.9794064,"altitude":47,"angle":213,"satellites":37,"speed":33,"hex_longitude":"2d1a5200","hex_latitude":"0723e990","is_valid_coordinates":true} 
[2026-09-10 13:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991204352001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224874912317440,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896578423743680512,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028142000,"timestamp_ms":1789028142000,"timestamp_seconds":1789028142,"priority":1,"record_length":96,"hex_timestamp":"000001a08a630bb0"} 
[2026-09-10 13:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-10 13:51:04] 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-09-10 13:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991204352001,"66":13863,"42":206,"83":42752,"24":33,"16":19224874912317440,"45":1896578423743680512},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991204352001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:51:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224874912317440,"km_value":19224874912317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896578423743680512,"description":"Unknown IO ID 45"} 
[2026-09-10 13:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991204352001,"power":13863,"unknown_42":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1896578423743680512}} 
[2026-09-10 13:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":179075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:51:04] local.INFO: GPS data processed {"connection_id":179075,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:51:04] local.INFO: Acknowledgment sent {"connection_id":179075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:51:19] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:51:19] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:51:19] local.INFO: IMEI packet received {"connection_id":176523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":176523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:51:24] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:51:24] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:51:24] local.INFO: IMEI packet received {"connection_id":176523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":176523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:51:25] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a666710012cb3cd8007752e380028002529..."} 
[2026-09-10 13:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a666710012cb3cd8007752e380028002529..."} 
[2026-09-10 13:51:25] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a666710012cb3cd8007752e380028002529..."} 
[2026-09-10 13:51:25] local.INFO: Packet analysis {"connection_id":176523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a66"} 
[2026-09-10 13:51:25] local.INFO: Extracted packet for processing {"connection_id":176523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a66"} 
[2026-09-10 13:51:25] local.INFO: GPS Element Parsed {"raw_longitude":749981056,"raw_latitude":125120056,"longitude_deg":74.9981056,"latitude_deg":12.5120056,"altitude":40,"angle":37,"satellites":41,"speed":23,"hex_longitude":"2cb3cd80","hex_latitude":"07752e38","is_valid_coordinates":true} 
[2026-09-10 13:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991256576001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404098144142360576,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5496854419409299456,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789028362000,"timestamp_ms":1789028362000,"timestamp_seconds":1789028362,"priority":1,"record_length":96,"hex_timestamp":"000001a08a666710"} 
[2026-09-10 13:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:51: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-09-10 13:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 13:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991256576001,"66":27876,"223":206,"85":36608,"24":23,"16":404098144142360576,"44":-5496854419409299456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-09-10 13:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991256576001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:51:25] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-10 13:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404098144142360576,"km_value":404098144142360.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5496854419409299456,"description":"Unknown IO ID 44"} 
[2026-09-10 13:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991256576001,"power":27876,"unknown_223":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5496854419409299456}} 
[2026-09-10 13:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":176523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:51:25] local.INFO: GPS data processed {"connection_id":176523,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:51:25] local.INFO: Acknowledgment sent {"connection_id":176523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:51:27] local.INFO: TCP Data received {"connection_id":179076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:27] local.INFO: Processing buffer {"connection_id":179076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:27] local.INFO: IMEI packet received {"connection_id":179076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":179076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:51:30] local.INFO: TCP Data received {"connection_id":179076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:30] local.INFO: Processing buffer {"connection_id":179076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:30] local.INFO: IMEI packet received {"connection_id":179076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":179076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:51:32] local.INFO: TCP Data received {"connection_id":179076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:32] local.INFO: Processing buffer {"connection_id":179076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:51:32] local.INFO: IMEI packet received {"connection_id":179076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":179076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:51:32] local.INFO: TCP Data received {"connection_id":179076,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:51:32] local.INFO: Processing buffer {"connection_id":179076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a630bb0012d1a52000723e990002f00d525..."} 
[2026-09-10 13:51:32] local.INFO: Packet analysis {"connection_id":179076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:51:32] local.INFO: Extracted packet for processing {"connection_id":179076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a63"} 
[2026-09-10 13:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756699648,"raw_latitude":119794064,"longitude_deg":75.6699648,"latitude_deg":11.9794064,"altitude":47,"angle":213,"satellites":37,"speed":33,"hex_longitude":"2d1a5200","hex_latitude":"0723e990","is_valid_coordinates":true} 
[2026-09-10 13:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991204352001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224874912317440,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896578423743680512,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789028142000,"timestamp_ms":1789028142000,"timestamp_seconds":1789028142,"priority":1,"record_length":96,"hex_timestamp":"000001a08a630bb0"} 
[2026-09-10 13:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 13: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-10 13:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991204352001,"66":13863,"42":206,"83":42752,"24":33,"16":19224874912317440,"45":1896578423743680512},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991204352001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:51:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224874912317440,"km_value":19224874912317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896578423743680512,"description":"Unknown IO ID 45"} 
[2026-09-10 13:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991204352001,"power":13863,"unknown_42":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1896578423743680512}} 
[2026-09-10 13:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":179076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:51:32] local.INFO: GPS data processed {"connection_id":179076,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:51:32] local.INFO: Acknowledgment sent {"connection_id":179076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:51:57] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a66a978012cb3e44007754bf8002800242b..."} 
[2026-09-10 13:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a66a978012cb3e44007754bf8002800242b..."} 
[2026-09-10 13:51:57] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a66a978012cb3e44007754bf8002800242b..."} 
[2026-09-10 13:51:57] local.INFO: Packet analysis {"connection_id":176523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a66"} 
[2026-09-10 13:51:57] local.INFO: Extracted packet for processing {"connection_id":176523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a66"} 
[2026-09-10 13:51:57] local.INFO: GPS Element Parsed {"raw_longitude":749986880,"raw_latitude":125127672,"longitude_deg":74.998688,"latitude_deg":12.5127672,"altitude":40,"angle":36,"satellites":43,"speed":26,"hex_longitude":"2cb3e440","hex_latitude":"07754bf8","is_valid_coordinates":true} 
[2026-09-10 13:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991260672001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404098607998828544,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5490591601175676928,"note":"Value kept but may cause issues"} 
[2026-09-10 13:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789028379000,"timestamp_ms":1789028379000,"timestamp_seconds":1789028379,"priority":1,"record_length":96,"hex_timestamp":"000001a08a66a978"} 
[2026-09-10 13:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:51: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-09-10 13:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 13:51:57] 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-09-10 13:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991260672001,"66":27919,"223":206,"85":36608,"24":26,"16":404098607998828544,"44":-5490591601175676928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-09-10 13:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991260672001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:51:57] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-10 13:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404098607998828544,"km_value":404098607998828.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:51:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5490591601175676928,"description":"Unknown IO ID 44"} 
[2026-09-10 13:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991260672001,"power":27919,"unknown_223":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5490591601175676928}} 
[2026-09-10 13:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":176523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:51:57] local.INFO: GPS data processed {"connection_id":176523,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:51:57] local.INFO: Acknowledgment sent {"connection_id":176523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:52:04] local.INFO: TCP Data received {"connection_id":179076,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a682848012d1a1e000723add0003b011a27..."} 
[2026-09-10 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a682848012d1a1e000723add0003b011a27..."} 
[2026-09-10 13:52:04] local.INFO: Processing buffer {"connection_id":179076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a682848012d1a1e000723add0003b011a27..."} 
[2026-09-10 13:52:04] local.INFO: Packet analysis {"connection_id":179076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:04] local.INFO: Extracted packet for processing {"connection_id":179076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756686336,"raw_latitude":119778768,"longitude_deg":75.6686336,"latitude_deg":11.9778768,"altitude":59,"angle":282,"satellites":39,"speed":6,"hex_longitude":"2d1a1e00","hex_latitude":"0723add0","is_valid_coordinates":true} 
[2026-09-10 13:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991289600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224982286499840,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882082462439139328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028477000,"timestamp_ms":1789028477000,"timestamp_seconds":1789028477,"priority":1,"record_length":96,"hex_timestamp":"000001a08a682848"} 
[2026-09-10 13:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 13:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991289600001,"66":14298,"42":206,"83":42752,"24":6,"16":19224982286499840,"45":1882082462439139328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991289600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:52:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224982286499840,"km_value":19224982286499.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882082462439139328,"description":"Unknown IO ID 45"} 
[2026-09-10 13:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991289600001,"power":14298,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1882082462439139328}} 
[2026-09-10 13:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":179076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:52:04] local.INFO: GPS data processed {"connection_id":179076,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:52:04] local.INFO: Acknowledgment sent {"connection_id":179076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:52:24] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:52:24] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:52:24] local.INFO: IMEI packet received {"connection_id":177708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":177708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:52:26] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:52:26] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:52:26] local.INFO: IMEI packet received {"connection_id":177708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":177708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:52:27] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a680138012cb4c6c007754e08003000502a..."} 
[2026-09-10 13:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a680138012cb4c6c007754e08003000502a..."} 
[2026-09-10 13:52:27] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a680138012cb4c6c007754e08003000502a..."} 
[2026-09-10 13:52:27] local.INFO: Packet analysis {"connection_id":177708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:27] local.INFO: Extracted packet for processing {"connection_id":177708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:27] local.INFO: GPS Element Parsed {"raw_longitude":750044864,"raw_latitude":125128200,"longitude_deg":75.0044864,"latitude_deg":12.51282,"altitude":48,"angle":80,"satellites":42,"speed":11,"hex_longitude":"2cb4c6c0","hex_latitude":"07754e08","is_valid_coordinates":true} 
[2026-09-10 13:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991286272001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404101704670248960,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5423319081739784192,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789028467000,"timestamp_ms":1789028467000,"timestamp_seconds":1789028467,"priority":1,"record_length":96,"hex_timestamp":"000001a08a680138"} 
[2026-09-10 13:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:52: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-09-10 13:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 13:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991286272001,"66":27908,"145":206,"85":36608,"24":11,"16":404101704670248960,"44":-5423319081739784192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-10 13:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991286272001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:52:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 13:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404101704670248960,"km_value":404101704670248.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:52:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5423319081739784192,"description":"Unknown IO ID 44"} 
[2026-09-10 13:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991286272001,"power":27908,"unknown_145":206,"unknown_85":36608,"ignition":11,"odometer":null,"unknown_44":-5423319081739784192}} 
[2026-09-10 13:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":177708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:52:27] local.INFO: GPS data processed {"connection_id":177708,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:52:27] local.INFO: Acknowledgment sent {"connection_id":177708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:52:29] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a683bd0012cb4d480077552180030004429..."} 
[2026-09-10 13:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a683bd0012cb4d480077552180030004429..."} 
[2026-09-10 13:52:29] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a683bd0012cb4d480077552180030004429..."} 
[2026-09-10 13:52:29] local.INFO: Packet analysis {"connection_id":177708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:29] local.INFO: Extracted packet for processing {"connection_id":177708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:29] local.INFO: GPS Element Parsed {"raw_longitude":750048384,"raw_latitude":125129240,"longitude_deg":75.0048384,"latitude_deg":12.512924,"altitude":48,"angle":68,"satellites":41,"speed":6,"hex_longitude":"2cb4d480","hex_latitude":"07755218","is_valid_coordinates":true} 
[2026-09-10 13:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991287552001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404101876468940800,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5420433963228461056,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789028482000,"timestamp_ms":1789028482000,"timestamp_seconds":1789028482,"priority":1,"record_length":96,"hex_timestamp":"000001a08a683bd0"} 
[2026-09-10 13:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:52: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-09-10 13:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:52: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-09-10 13:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991287552001,"66":27865,"145":206,"85":36608,"24":6,"16":404101876468940800,"44":-5420433963228461056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-10 13:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991287552001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:52:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 13:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404101876468940800,"km_value":404101876468940.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5420433963228461056,"description":"Unknown IO ID 44"} 
[2026-09-10 13:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991287552001,"power":27865,"unknown_145":206,"unknown_85":36608,"ignition":6,"odometer":null,"unknown_44":-5420433963228461056}} 
[2026-09-10 13:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":177708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:52:29] local.INFO: GPS data processed {"connection_id":177708,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:52:29] local.INFO: Acknowledgment sent {"connection_id":177708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:52:32] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:32] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:32] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:52:34] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:34] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:34] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:52:37] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:37] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:52:37] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:52:45] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a682c30012d1a1d400723add8003a010627..."} 
[2026-09-10 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a682c30012d1a1d400723add8003a010627..."} 
[2026-09-10 13:52:45] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a682c30012d1a1d400723add8003a010627..."} 
[2026-09-10 13:52:45] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:45] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119778776,"longitude_deg":75.6686144,"latitude_deg":11.9778776,"altitude":58,"angle":262,"satellites":39,"speed":8,"hex_longitude":"2d1a1d40","hex_latitude":"0723add8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991290112001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19224986581467136,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881941724950810624,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789028478000,"timestamp_ms":1789028478000,"timestamp_seconds":1789028478,"priority":1,"record_length":96,"hex_timestamp":"000001a08a682c30"} 
[2026-09-10 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-09-10 13:52: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-09-10 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 13:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 13:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991290112001,"66":14298,"42":206,"83":42752,"24":8,"16":19224986581467136,"45":1881941724950810624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991290112001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:52:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19224986581467136,"km_value":19224986581467.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881941724950810624,"description":"Unknown IO ID 45"} 
[2026-09-10 13:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991290112001,"power":14298,"unknown_42":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1881941724950810624}} 
[2026-09-10 13:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:52:45] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:52:45] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:52:46] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a683400012d1a1b400723ad60003a00f727..."} 
[2026-09-10 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a683400012d1a1b400723ad60003a00f727..."} 
[2026-09-10 13:52:46] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a683400012d1a1b400723ad60003a00f727..."} 
[2026-09-10 13:52:46] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:46] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756685632,"raw_latitude":119778656,"longitude_deg":75.6685632,"latitude_deg":11.9778656,"altitude":58,"angle":247,"satellites":39,"speed":13,"hex_longitude":"2d1a1b40","hex_latitude":"0723ad60","is_valid_coordinates":true} 
[2026-09-10 13:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991290368001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19225012351270912,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881730618718279680,"note":"Value kept but may cause issues"} 
[2026-09-10 13:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789028480000,"timestamp_ms":1789028480000,"timestamp_seconds":1789028480,"priority":1,"record_length":96,"hex_timestamp":"000001a08a683400"} 
[2026-09-10 13:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 13:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991290368001,"66":14243,"42":206,"83":42752,"24":13,"16":19225012351270912,"45":1881730618718279680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991290368001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:52:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19225012351270912,"km_value":19225012351270.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881730618718279680,"description":"Unknown IO ID 45"} 
[2026-09-10 13:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991290368001,"power":14243,"unknown_42":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1881730618718279680}} 
[2026-09-10 13:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:52:46] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:52:46] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:53:00] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6866c8012cb4e40007755968003100382a..."} 
[2026-09-10 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6866c8012cb4e40007755968003100382a..."} 
[2026-09-10 13:53:00] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6866c8012cb4e40007755968003100382a..."} 
[2026-09-10 13:53:00] local.INFO: Packet analysis {"connection_id":177708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:00] local.INFO: Extracted packet for processing {"connection_id":177708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:00] local.INFO: GPS Element Parsed {"raw_longitude":750052352,"raw_latitude":125131112,"longitude_deg":75.0052352,"latitude_deg":12.5131112,"altitude":49,"angle":56,"satellites":42,"speed":24,"hex_longitude":"2cb4e400","hex_latitude":"07755968","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991291392001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404102086922338304,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5416563682298423296,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789028493000,"timestamp_ms":1789028493000,"timestamp_seconds":1789028493,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6866c8"} 
[2026-09-10 13:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:53: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-09-10 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 13:53: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-09-10 13: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-09-10 13:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991291392001,"66":28050,"143":206,"85":36608,"24":24,"16":404102086922338304,"44":-5416563682298423296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-10 13:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991291392001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:53:00] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 13:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404102086922338304,"km_value":404102086922338.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5416563682298423296,"description":"Unknown IO ID 44"} 
[2026-09-10 13:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991291392001,"power":28050,"unknown_143":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5416563682298423296}} 
[2026-09-10 13:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":177708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:53:00] local.INFO: GPS data processed {"connection_id":177708,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:53:00] local.INFO: Acknowledgment sent {"connection_id":177708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:53:24] local.INFO: TCP Data received {"connection_id":177709,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:53:24] local.INFO: Processing buffer {"connection_id":177709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:53:24] local.INFO: IMEI packet received {"connection_id":177709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":177709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:53:29] local.INFO: TCP Data received {"connection_id":177709,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:53:29] local.INFO: Processing buffer {"connection_id":177709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:53:29] local.INFO: IMEI packet received {"connection_id":177709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":177709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:53:30] local.INFO: TCP Data received {"connection_id":177709,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a68a160012cb5020007756fe0003600352b..."} 
[2026-09-10 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a68a160012cb5020007756fe0003600352b..."} 
[2026-09-10 13:53:30] local.INFO: Processing buffer {"connection_id":177709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a68a160012cb5020007756fe0003600352b..."} 
[2026-09-10 13:53:30] local.INFO: Packet analysis {"connection_id":177709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:30] local.INFO: Extracted packet for processing {"connection_id":177709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750060032,"raw_latitude":125136864,"longitude_deg":75.0060032,"latitude_deg":12.5136864,"altitude":54,"angle":53,"satellites":43,"speed":29,"hex_longitude":"2cb50200","hex_latitude":"07756fe0","is_valid_coordinates":true} 
[2026-09-10 13:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991294208001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404102546483838976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5412200820158928896,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789028508000,"timestamp_ms":1789028508000,"timestamp_seconds":1789028508,"priority":1,"record_length":96,"hex_timestamp":"000001a08a68a160"} 
[2026-09-10 13:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:53: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-09-10 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 13:53:30] 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-09-10 13:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991294208001,"66":27789,"143":206,"85":36608,"24":29,"16":404102546483838976,"44":-5412200820158928896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-10 13:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991294208001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:53:30] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 13:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404102546483838976,"km_value":404102546483839.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5412200820158928896,"description":"Unknown IO ID 44"} 
[2026-09-10 13:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991294208001,"power":27789,"unknown_143":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5412200820158928896}} 
[2026-09-10 13:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":177709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:53:30] local.INFO: GPS data processed {"connection_id":177709,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:53:30] local.INFO: Acknowledgment sent {"connection_id":177709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:53:37] local.INFO: TCP Data received {"connection_id":179078,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:53:37] local.INFO: Processing buffer {"connection_id":179078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:53:37] local.INFO: IMEI packet received {"connection_id":179078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":179078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:53:46] local.INFO: TCP Data received {"connection_id":179078,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:53:46] local.INFO: Processing buffer {"connection_id":179078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:53:46] local.INFO: IMEI packet received {"connection_id":179078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":179078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:53:48] local.INFO: TCP Data received {"connection_id":179078,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a685340012d1a0cc00723a9280038010326..."} 
[2026-09-10 13:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a685340012d1a0cc00723a9280038010326..."} 
[2026-09-10 13:53:48] local.INFO: Processing buffer {"connection_id":179078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a685340012d1a0cc00723a9280038010326..."} 
[2026-09-10 13:53:48] local.INFO: Packet analysis {"connection_id":179078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:48] local.INFO: Extracted packet for processing {"connection_id":179078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756681920,"raw_latitude":119777576,"longitude_deg":75.668192,"latitude_deg":11.9777576,"altitude":56,"angle":259,"satellites":38,"speed":24,"hex_longitude":"2d1a0cc0","hex_latitude":"0723a928","is_valid_coordinates":true} 
[2026-09-10 13:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991290880001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19225197034864640,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881167668764827648,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789028488000,"timestamp_ms":1789028488000,"timestamp_seconds":1789028488,"priority":1,"record_length":96,"hex_timestamp":"000001a08a685340"} 
[2026-09-10 13:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 13:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":179078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":179078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":179078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991290880001,"66":14135,"42":206,"83":42752,"24":24,"16":19225197034864640,"45":1881167668764827648},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991290880001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:53:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:53:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19225197034864640,"km_value":19225197034864.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881167668764827648,"description":"Unknown IO ID 45"} 
[2026-09-10 13:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991290880001,"power":14135,"unknown_42":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1881167668764827648}} 
[2026-09-10 13:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":179078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:53:48] local.INFO: GPS data processed {"connection_id":179078,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:53:48] local.INFO: Acknowledgment sent {"connection_id":179078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:53:49] local.INFO: TCP Data received {"connection_id":179078,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6891c0012d19e7800723a4b80037010626..."} 
[2026-09-10 13:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6891c0012d19e7800723a4b80037010626..."} 
[2026-09-10 13:53:49] local.INFO: Processing buffer {"connection_id":179078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6891c0012d19e7800723a4b80037010626..."} 
[2026-09-10 13:53:49] local.INFO: Packet analysis {"connection_id":179078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:49] local.INFO: Extracted packet for processing {"connection_id":179078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a68"} 
[2026-09-10 13:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756672384,"raw_latitude":119776440,"longitude_deg":75.6672384,"latitude_deg":11.977644,"altitude":55,"angle":262,"satellites":38,"speed":25,"hex_longitude":"2d19e780","hex_latitude":"0723a4b8","is_valid_coordinates":true} 
[2026-09-10 13:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991292928001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19225656596365312,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877086281602246656,"note":"Value kept but may cause issues"} 
[2026-09-10 13:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789028504000,"timestamp_ms":1789028504000,"timestamp_seconds":1789028504,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6891c0"} 
[2026-09-10 13:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:53: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-09-10 13:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 13:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991292928001,"66":14341,"42":206,"83":42752,"24":25,"16":19225656596365312,"45":1877086281602246656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-10 13:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991292928001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:53:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 13:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19225656596365312,"km_value":19225656596365.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877086281602246656,"description":"Unknown IO ID 45"} 
[2026-09-10 13:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991292928001,"power":14341,"unknown_42":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1877086281602246656}} 
[2026-09-10 13:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":179078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:53:49] local.INFO: GPS data processed {"connection_id":179078,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:53:49] local.INFO: Acknowledgment sent {"connection_id":179078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:54:01] local.INFO: TCP Data received {"connection_id":177709,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a69e1b0012cb60e00077607d80044005529..."} 
[2026-09-10 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a69e1b0012cb60e00077607d80044005529..."} 
[2026-09-10 13:54:01] local.INFO: Processing buffer {"connection_id":177709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a69e1b0012cb60e00077607d80044005529..."} 
[2026-09-10 13:54:01] local.INFO: Packet analysis {"connection_id":177709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a69"} 
[2026-09-10 13:54:01] local.INFO: Extracted packet for processing {"connection_id":177709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a69"} 
[2026-09-10 13:54:01] local.INFO: GPS Element Parsed {"raw_longitude":750128640,"raw_latitude":125175768,"longitude_deg":75.012864,"latitude_deg":12.5175768,"altitude":68,"angle":85,"satellites":41,"speed":59,"hex_longitude":"2cb60e00","hex_latitude":"077607d8","is_valid_coordinates":true} 
[2026-09-10 13:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991317248001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404106373299699712,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5339791382389012480,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789028590000,"timestamp_ms":1789028590000,"timestamp_seconds":1789028590,"priority":1,"record_length":96,"hex_timestamp":"000001a08a69e1b0"} 
[2026-09-10 13:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13: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-09-10 13:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:54: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-09-10 13:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991317248001,"66":27843,"225":206,"85":36608,"24":59,"16":404106373299699712,"44":-5339791382389012480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-10 13:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991317248001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:54:01] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 13:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404106373299699712,"km_value":404106373299699.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5339791382389012480,"description":"Unknown IO ID 44"} 
[2026-09-10 13:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991317248001,"power":27843,"unknown_225":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5339791382389012480}} 
[2026-09-10 13:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":177709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:54:01] local.INFO: GPS data processed {"connection_id":177709,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:54:01] local.INFO: Acknowledgment sent {"connection_id":177709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:54:20] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:20] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:20] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:54:20] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:20] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:20] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:54:24] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:24] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:54:24] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:54:25] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a69f920012cb631c007760b38004400552a..."} 
[2026-09-10 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a69f920012cb631c007760b38004400552a..."} 
[2026-09-10 13:54:25] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a69f920012cb631c007760b38004400552a..."} 
[2026-09-10 13:54:25] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a69"} 
[2026-09-10 13:54:25] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a69"} 
[2026-09-10 13:54:25] local.INFO: GPS Element Parsed {"raw_longitude":750137792,"raw_latitude":125176632,"longitude_deg":75.0137792,"latitude_deg":12.5176632,"altitude":68,"angle":85,"satellites":42,"speed":61,"hex_longitude":"2cb631c0","hex_latitude":"07760b38","is_valid_coordinates":true} 
[2026-09-10 13:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991319040001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404106807091396608,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5328321277087721472,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789028596000,"timestamp_ms":1789028596000,"timestamp_seconds":1789028596,"priority":1,"record_length":96,"hex_timestamp":"000001a08a69f920"} 
[2026-09-10 13:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:54: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-09-10 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 13:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991319040001,"66":27908,"225":206,"85":36608,"24":61,"16":404106807091396608,"44":-5328321277087721472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-10 13:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991319040001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:54:25] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 13:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404106807091396608,"km_value":404106807091396.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5328321277087721472,"description":"Unknown IO ID 44"} 
[2026-09-10 13:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991319040001,"power":27908,"unknown_225":206,"unknown_85":36608,"ignition":61,"odometer":null,"unknown_44":-5328321277087721472}} 
[2026-09-10 13:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:54:25] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:54:25] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:54:32] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:54:32] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:54:32] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:54:34] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:54:34] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:54:34] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:54:35] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6a2800012d18f6800722f6c0005a00f71f..."} 
[2026-09-10 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6a2800012d18f6800722f6c0005a00f71f..."} 
[2026-09-10 13:54:35] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6a2800012d18f6800722f6c0005a00f71f..."} 
[2026-09-10 13:54:35] local.INFO: Packet analysis {"connection_id":176293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:54:35] local.INFO: Extracted packet for processing {"connection_id":176293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756610688,"raw_latitude":119731904,"longitude_deg":75.6610688,"latitude_deg":11.9731904,"altitude":90,"angle":247,"satellites":31,"speed":33,"hex_longitude":"2d18f680","hex_latitude":"0722f6c0","is_valid_coordinates":true} 
[2026-09-10 13:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991323136001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19229543541768192,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800384350437115904,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789028608000,"timestamp_ms":1789028608000,"timestamp_seconds":1789028608,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6a2800"} 
[2026-09-10 13:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 13:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991323136001,"66":14298,"137":206,"83":42752,"24":33,"16":19229543541768192,"45":1800384350437115904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-10 13:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991323136001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:54:35] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 13:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-10 13:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19229543541768192,"km_value":19229543541768.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800384350437115904,"description":"Unknown IO ID 45"} 
[2026-09-10 13:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991323136001,"power":14298,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1800384350437115904}} 
[2026-09-10 13:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":176293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:54:35] local.INFO: GPS data processed {"connection_id":176293,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:54:35] local.INFO: Acknowledgment sent {"connection_id":176293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:54:57] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6a1090012cb6558007760dc8004300552a..."} 
[2026-09-10 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6a1090012cb6558007760dc8004300552a..."} 
[2026-09-10 13:54:57] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6a1090012cb6558007760dc8004300552a..."} 
[2026-09-10 13:54:57] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:54:57] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":750146944,"raw_latitude":125177288,"longitude_deg":75.0146944,"latitude_deg":12.5177288,"altitude":67,"angle":85,"satellites":42,"speed":59,"hex_longitude":"2cb65580","hex_latitude":"07760dc8","is_valid_coordinates":true} 
[2026-09-10 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991320576001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404107240883093504,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5318258546670094336,"note":"Value kept but may cause issues"} 
[2026-09-10 13:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789028602000,"timestamp_ms":1789028602000,"timestamp_seconds":1789028602,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6a1090"} 
[2026-09-10 13:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991320576001,"66":27876,"225":206,"85":36608,"24":59,"16":404107240883093504,"44":-5318258546670094336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-10 13:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991320576001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:54:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 13:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404107240883093504,"km_value":404107240883093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:54:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5318258546670094336,"description":"Unknown IO ID 44"} 
[2026-09-10 13:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991320576001,"power":27876,"unknown_225":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5318258546670094336}} 
[2026-09-10 13:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:54:57] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:54:57] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:54:59] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:54:59] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 13:54:59] local.INFO: IMEI packet received {"connection_id":176524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 13:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":176524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:55:06] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6ac440012d18a3c00722b610006c00a625..."} 
[2026-09-10 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6ac440012d18a3c00722b610006c00a625..."} 
[2026-09-10 13:55:06] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6ac440012d18a3c00722b610006c00a625..."} 
[2026-09-10 13:55:06] local.INFO: Packet analysis {"connection_id":176293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:55:06] local.INFO: Extracted packet for processing {"connection_id":176293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119715344,"longitude_deg":75.6589504,"latitude_deg":11.9715344,"altitude":108,"angle":166,"satellites":37,"speed":36,"hex_longitude":"2d18a3c0","hex_latitude":"0722b610","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991333120001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19231274413588480,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602529406976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55: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-09-10 13:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789028648000,"timestamp_ms":1789028648000,"timestamp_seconds":1789028648,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6ac440"} 
[2026-09-10 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-09-10 13:55: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-09-10 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 13:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991333120001,"66":12874,"105":206,"83":41984,"24":36,"16":19231274413588480,"45":1775051602529406976},"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-09-10 13:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991333120001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:55:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19231274413588480,"km_value":19231274413588.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602529406976,"description":"Unknown IO ID 45"} 
[2026-09-10 13:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991333120001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1775051602529406976}} 
[2026-09-10 13:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":176293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:55:06] local.INFO: GPS data processed {"connection_id":176293,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:55:06] local.INFO: Acknowledgment sent {"connection_id":176293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:55:19] local.INFO: TCP Data received {"connection_id":177710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:19] local.INFO: Processing buffer {"connection_id":177710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:19] local.INFO: IMEI packet received {"connection_id":177710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":177710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:55:22] local.INFO: TCP Data received {"connection_id":177710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:22] local.INFO: Processing buffer {"connection_id":177710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:22] local.INFO: IMEI packet received {"connection_id":177710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":177710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:55:24] local.INFO: TCP Data received {"connection_id":177710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:24] local.INFO: Processing buffer {"connection_id":177710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:55:24] local.INFO: IMEI packet received {"connection_id":177710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":177710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:55:24] local.INFO: TCP Data received {"connection_id":177710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b0a90012cb7b6400775a4f0004000702b..."} 
[2026-09-10 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b0a90012cb7b6400775a4f0004000702b..."} 
[2026-09-10 13:55:24] local.INFO: Processing buffer {"connection_id":177710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b0a90012cb7b6400775a4f0004000702b..."} 
[2026-09-10 13:55:24] local.INFO: Packet analysis {"connection_id":177710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:55:24] local.INFO: Extracted packet for processing {"connection_id":177710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:55:24] local.INFO: GPS Element Parsed {"raw_longitude":750237248,"raw_latitude":125150448,"longitude_deg":75.0237248,"latitude_deg":12.5150448,"altitude":64,"angle":112,"satellites":43,"speed":59,"hex_longitude":"2cb7b640","hex_latitude":"0775a4f0","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991336960001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404111823613198336,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5218334929943627776,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789028666000,"timestamp_ms":1789028666000,"timestamp_seconds":1789028666,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b0a90"} 
[2026-09-10 13:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:55: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-09-10 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 13:55:24] 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-09-10 13: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-09-10 13:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:55: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-09-10 13:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991336960001,"66":27908,"159":206,"85":36608,"24":59,"16":404111823613198336,"44":-5218334929943627776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 13:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991336960001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:55:24] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 13:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404111823613198336,"km_value":404111823613198.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5218334929943627776,"description":"Unknown IO ID 44"} 
[2026-09-10 13:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991336960001,"power":27908,"unknown_159":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5218334929943627776}} 
[2026-09-10 13:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":177710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:55:24] local.INFO: GPS data processed {"connection_id":177710,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:55:24] local.INFO: Acknowledgment sent {"connection_id":177710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:55:27] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:55:27] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:55:27] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:55:30] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:55:30] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:55:30] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:55:31] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6ae768012d18a94007229790006f00b228..."} 
[2026-09-10 13:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6ae768012d18a94007229790006f00b228..."} 
[2026-09-10 13:55:31] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6ae768012d18a94007229790006f00b228..."} 
[2026-09-10 13:55:31] local.INFO: Packet analysis {"connection_id":176525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:55:31] local.INFO: Extracted packet for processing {"connection_id":176525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119707536,"longitude_deg":75.6590912,"latitude_deg":11.9707536,"altitude":111,"angle":178,"satellites":40,"speed":31,"hex_longitude":"2d18a940","hex_latitude":"07229790","is_valid_coordinates":true} 
[2026-09-10 13:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991333888001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19231660960645120,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814993768448,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789028657000,"timestamp_ms":1789028657000,"timestamp_seconds":1789028657,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6ae768"} 
[2026-09-10 13:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 13:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991333888001,"66":12863,"105":206,"83":41984,"24":31,"16":19231660960645120,"45":1775473814993768448},"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-09-10 13:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991333888001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:55:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19231660960645120,"km_value":19231660960645.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814993768448,"description":"Unknown IO ID 45"} 
[2026-09-10 13:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991333888001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1775473814993768448}} 
[2026-09-10 13:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":176525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:55:31] local.INFO: GPS data processed {"connection_id":176525,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:55:31] local.INFO: Acknowledgment sent {"connection_id":176525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:55:55] local.INFO: TCP Data received {"connection_id":177710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b2200012cb7d740077596a8003f00742b..."} 
[2026-09-10 13:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b2200012cb7d740077596a8003f00742b..."} 
[2026-09-10 13:55:55] local.INFO: Processing buffer {"connection_id":177710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b2200012cb7d740077596a8003f00742b..."} 
[2026-09-10 13:55:55] local.INFO: Packet analysis {"connection_id":177710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:55:55] local.INFO: Extracted packet for processing {"connection_id":177710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:55:55] local.INFO: GPS Element Parsed {"raw_longitude":750245696,"raw_latitude":125146792,"longitude_deg":75.0245696,"latitude_deg":12.5146792,"altitude":63,"angle":116,"satellites":43,"speed":59,"hex_longitude":"2cb7d740","hex_latitude":"077596a8","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991338496001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404112257404895232,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5208905518224707584,"note":"Value kept but may cause issues"} 
[2026-09-10 13:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789028672000,"timestamp_ms":1789028672000,"timestamp_seconds":1789028672,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b2200"} 
[2026-09-10 13:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13: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-09-10 13:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991338496001,"66":27908,"159":206,"85":36608,"24":59,"16":404112257404895232,"44":-5208905518224707584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 13:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991338496001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:55:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 13:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404112257404895232,"km_value":404112257404895.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5208905518224707584,"description":"Unknown IO ID 44"} 
[2026-09-10 13:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991338496001,"power":27908,"unknown_159":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5208905518224707584}} 
[2026-09-10 13:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":177710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:55:55] local.INFO: GPS data processed {"connection_id":177710,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:55:55] local.INFO: Acknowledgment sent {"connection_id":177710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:56:02] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6afed8012d18a7c0072285a8006f00bd28..."} 
[2026-09-10 13:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6afed8012d18a7c0072285a8006f00bd28..."} 
[2026-09-10 13:56:02] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6afed8012d18a7c0072285a8006f00bd28..."} 
[2026-09-10 13:56:02] local.INFO: Packet analysis {"connection_id":176525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:56:02] local.INFO: Extracted packet for processing {"connection_id":176525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6a"} 
[2026-09-10 13:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119702952,"longitude_deg":75.6590528,"latitude_deg":11.9702952,"altitude":111,"angle":189,"satellites":40,"speed":31,"hex_longitude":"2d18a7c0","hex_latitude":"072285a8","is_valid_coordinates":true} 
[2026-09-10 13:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991336192001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19231884298944512,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927363678208,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56: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-09-10 13:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789028663000,"timestamp_ms":1789028663000,"timestamp_seconds":1789028663,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6afed8"} 
[2026-09-10 13:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 13:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991336192001,"66":12819,"105":206,"83":41984,"24":31,"16":19231884298944512,"45":1777021927363678208},"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-09-10 13:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991336192001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:56:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19231884298944512,"km_value":19231884298944.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927363678208,"description":"Unknown IO ID 45"} 
[2026-09-10 13:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991336192001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1777021927363678208}} 
[2026-09-10 13:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":176525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:56:02] local.INFO: GPS data processed {"connection_id":176525,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:56:02] local.INFO: Acknowledgment sent {"connection_id":176525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:56:19] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:19] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:19] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:56:23] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:23] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:23] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:56:24] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:24] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:56:24] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:56:24] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b3970012cb7f68007758540003d007a2b..."} 
[2026-09-10 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b3970012cb7f68007758540003d007a2b..."} 
[2026-09-10 13:56:24] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b3970012cb7f68007758540003d007a2b..."} 
[2026-09-10 13:56:24] local.INFO: Packet analysis {"connection_id":176526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:56:24] local.INFO: Extracted packet for processing {"connection_id":176526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:56:24] local.INFO: GPS Element Parsed {"raw_longitude":750253696,"raw_latitude":125142336,"longitude_deg":75.0253696,"latitude_deg":12.5142336,"altitude":61,"angle":122,"satellites":43,"speed":59,"hex_longitude":"2cb7f680","hex_latitude":"07758540","is_valid_coordinates":true} 
[2026-09-10 13:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991340032001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404112695491559424,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5199616843994191872,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789028678000,"timestamp_ms":1789028678000,"timestamp_seconds":1789028678,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b3970"} 
[2026-09-10 13:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:56: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-09-10 13:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991340032001,"66":27876,"159":206,"85":36608,"24":59,"16":404112695491559424,"44":-5199616843994191872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 13:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991340032001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:56:24] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 13:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404112695491559424,"km_value":404112695491559.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5199616843994191872,"description":"Unknown IO ID 44"} 
[2026-09-10 13:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991340032001,"power":27876,"unknown_159":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5199616843994191872}} 
[2026-09-10 13:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":176526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:56:24] local.INFO: GPS data processed {"connection_id":176526,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:56:24] local.INFO: Acknowledgment sent {"connection_id":176526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:56:25] local.INFO: TCP Data received {"connection_id":179081,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:25] local.INFO: Processing buffer {"connection_id":179081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:25] local.INFO: IMEI packet received {"connection_id":179081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":179081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:56:27] local.INFO: TCP Data received {"connection_id":179081,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:27] local.INFO: Processing buffer {"connection_id":179081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:27] local.INFO: IMEI packet received {"connection_id":179081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":179081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:56:29] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b50e0012cb8140007757200003b007b2d..."} 
[2026-09-10 13:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b50e0012cb8140007757200003b007b2d..."} 
[2026-09-10 13:56:29] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b50e0012cb8140007757200003b007b2d..."} 
[2026-09-10 13:56:29] local.INFO: Packet analysis {"connection_id":176526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:56:29] local.INFO: Extracted packet for processing {"connection_id":176526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:56:29] local.INFO: GPS Element Parsed {"raw_longitude":750261248,"raw_latitude":125137408,"longitude_deg":75.0261248,"latitude_deg":12.5137408,"altitude":59,"angle":123,"satellites":45,"speed":58,"hex_longitude":"2cb81400","hex_latitude":"07757200","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991341568001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404113124988289024,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5190820750973124608,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789028684000,"timestamp_ms":1789028684000,"timestamp_seconds":1789028684,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b50e0"} 
[2026-09-10 13:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13: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-09-10 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 13:56:29] 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-09-10 13: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-09-10 13:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991341568001,"66":27789,"159":206,"85":36608,"24":58,"16":404113124988289024,"44":-5190820750973124608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 13:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991341568001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:56:29] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 13:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404113124988289024,"km_value":404113124988289.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5190820750973124608,"description":"Unknown IO ID 44"} 
[2026-09-10 13:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991341568001,"power":27789,"unknown_159":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5190820750973124608}} 
[2026-09-10 13:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":176526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:56:29] local.INFO: GPS data processed {"connection_id":176526,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:56:29] local.INFO: Acknowledgment sent {"connection_id":176526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:56:32] local.INFO: TCP Data received {"connection_id":179081,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:32] local.INFO: Processing buffer {"connection_id":179081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:56:32] local.INFO: IMEI packet received {"connection_id":179081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":179081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:56:33] local.INFO: TCP Data received {"connection_id":179081,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b1648012d18a20007227218006c00ca27..."} 
[2026-09-10 13:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b1648012d18a20007227218006c00ca27..."} 
[2026-09-10 13:56:33] local.INFO: Processing buffer {"connection_id":179081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b1648012d18a20007227218006c00ca27..."} 
[2026-09-10 13:56:33] local.INFO: Packet analysis {"connection_id":179081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:56:33] local.INFO: Extracted packet for processing {"connection_id":179081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756589056,"raw_latitude":119697944,"longitude_deg":75.6589056,"latitude_deg":11.9697944,"altitude":108,"angle":202,"satellites":39,"speed":39,"hex_longitude":"2d18a200","hex_latitude":"07227218","is_valid_coordinates":true} 
[2026-09-10 13:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991337728001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19232137702014976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776599714897438720,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028669000,"timestamp_ms":1789028669000,"timestamp_seconds":1789028669,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b1648"} 
[2026-09-10 13:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:56: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-09-10 13:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2322234864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503893059502080,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":138,"raw_value":7671354204695869888,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3355967594,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6595804015427518488,"corrected_to":0} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957670389264813,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2520309350958944547,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755549765042417,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84751171239486207,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.WARNING: Large IO value detected {"io_id":112,"raw_value":27867011157598720,"note":"Value kept but may cause issues"} 
[2026-09-10 13:56:33] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,105,83,24,241,157,16,160,231,45,64,151,111,40,10,66,196,192,182,108,37,82,184,1,240,150,227,138,34,4,113,205,149,176,88,239,51,2,68,7,101,35,167,255,69,80,112],"length":625,"final_offset":755,"validated_count":47,"validation_warnings":[{"io_id":205,"original":6595804015427518488,"validated":0}]} 
[2026-09-10 13:56:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7998600917708374016,"timestamp_seconds":7998600917708374.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 13:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991337728001,"66":12548,"105":206,"83":41984,"24":39,"16":19232137702014976,"45":1776599714897438720},"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-09-10 13:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991337728001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:56:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19232137702014976,"km_value":19232137702014.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776599714897438720,"description":"Unknown IO ID 45"} 
[2026-09-10 13:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991337728001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1776599714897438720}} 
[2026-09-10 13:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":179081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:56:33] local.INFO: GPS data processed {"connection_id":179081,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:56:33] local.INFO: Acknowledgment sent {"connection_id":179081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:57:01] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6c8d48012cb9d3000774ef20004c005d2d..."} 
[2026-09-10 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6c8d48012cb9d3000774ef20004c005d2d..."} 
[2026-09-10 13:57:01] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6c8d48012cb9d3000774ef20004c005d2d..."} 
[2026-09-10 13:57:01] local.INFO: Packet analysis {"connection_id":176526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6c"} 
[2026-09-10 13:57:01] local.INFO: Extracted packet for processing {"connection_id":176526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6c"} 
[2026-09-10 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":750375680,"raw_latitude":125103904,"longitude_deg":75.037568,"latitude_deg":12.5103904,"altitude":76,"angle":93,"satellites":45,"speed":61,"hex_longitude":"2cb9d300","hex_latitude":"0774ef20","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991362304001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404118841589760000,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5067112498718476288,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789028765000,"timestamp_ms":1789028765000,"timestamp_seconds":1789028765,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6c8d48"} 
[2026-09-10 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-09-10 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-09-10 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":173,"data_length":795,"current_offset":136} 
[2026-09-10 13:57: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-09-10 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-09-10 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-09-10 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:57: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-09-10 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991362304001,"66":27767,"19":206,"85":36608,"24":61,"16":404118841589760000,"44":-5067112498718476288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-09-10 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991362304001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:57:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 13:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404118841589760000,"km_value":404118841589760,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5067112498718476288,"description":"Unknown IO ID 44"} 
[2026-09-10 13:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991362304001,"power":27767,"unknown_19":206,"unknown_85":36608,"ignition":61,"odometer":null,"unknown_44":-5067112498718476288}} 
[2026-09-10 13:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":176526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:57:01] local.INFO: GPS data processed {"connection_id":176526,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:57:01] local.INFO: Acknowledgment sent {"connection_id":176526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:57:04] local.INFO: TCP Data received {"connection_id":179081,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b3588012d188f40072251d0006500d325..."} 
[2026-09-10 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b3588012d188f40072251d0006500d325..."} 
[2026-09-10 13:57:04] local.INFO: Processing buffer {"connection_id":179081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b3588012d188f40072251d0006500d325..."} 
[2026-09-10 13:57:04] local.INFO: Packet analysis {"connection_id":179081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:57:04] local.INFO: Extracted packet for processing {"connection_id":179081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756584256,"raw_latitude":119689680,"longitude_deg":75.6584256,"latitude_deg":11.968968,"altitude":101,"angle":211,"satellites":37,"speed":55,"hex_longitude":"2d188f40","hex_latitude":"072251d0","is_valid_coordinates":true} 
[2026-09-10 13:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991339264001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19232597263515648,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774981233780070400,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57: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-09-10 13:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028677000,"timestamp_ms":1789028677000,"timestamp_seconds":1789028677,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b3588"} 
[2026-09-10 13:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:57: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-09-10 13:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2322240864,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184237596877,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3234857067,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":37,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604650,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:04] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,160,254,45,192,133,111,40,10,66,231,64,151,196,1,240,74,227,82,138,34,4,113,205,37,176,163,8,38,239,50,2,68,7,104,106],"length":485,"final_offset":615,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-10 13:57:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7782442424951308288,"timestamp_seconds":7782442424951308.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 13:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991339264001,"66":11721,"105":206,"83":41984,"24":55,"16":19232597263515648,"45":1774981233780070400},"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-09-10 13:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991339264001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:57:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19232597263515648,"km_value":19232597263515.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774981233780070400,"description":"Unknown IO ID 45"} 
[2026-09-10 13:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991339264001,"power":11721,"unknown_105":206,"unknown_83":41984,"ignition":55,"odometer":null,"unknown_45":1774981233780070400}} 
[2026-09-10 13:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":179081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:57:04] local.INFO: GPS data processed {"connection_id":179081,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:57:04] local.INFO: Acknowledgment sent {"connection_id":179081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:57:19] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:19] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:19] local.INFO: IMEI packet received {"connection_id":177712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":177712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:57:22] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:22] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:22] local.INFO: IMEI packet received {"connection_id":177712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":177712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:57:24] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:24] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:57:24] local.INFO: IMEI packet received {"connection_id":177712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":177712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:57:24] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6ca4b8012cb9f8000774eca8004b005e2d..."} 
[2026-09-10 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6ca4b8012cb9f8000774eca8004b005e2d..."} 
[2026-09-10 13:57:24] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6ca4b8012cb9f8000774eca8004b005e2d..."} 
[2026-09-10 13:57:24] local.INFO: Packet analysis {"connection_id":177712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6c"} 
[2026-09-10 13:57:24] local.INFO: Extracted packet for processing {"connection_id":177712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6c"} 
[2026-09-10 13:57:24] local.INFO: GPS Element Parsed {"raw_longitude":750385152,"raw_latitude":125103272,"longitude_deg":75.0385152,"latitude_deg":12.5103272,"altitude":75,"angle":94,"satellites":45,"speed":61,"hex_longitude":"2cb9f800","hex_latitude":"0774eca8","is_valid_coordinates":true} 
[2026-09-10 13:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991363840001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404119292561326080,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5056697924580335616,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789028771000,"timestamp_ms":1789028771000,"timestamp_seconds":1789028771,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6ca4b8"} 
[2026-09-10 13:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 13:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:57: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-09-10 13:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991363840001,"66":27821,"19":206,"85":36608,"24":61,"16":404119292561326080,"44":-5056697924580335616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-09-10 13:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991363840001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:57:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 13:57:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404119292561326080,"km_value":404119292561326.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5056697924580335616,"description":"Unknown IO ID 44"} 
[2026-09-10 13:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991363840001,"power":27821,"unknown_19":206,"unknown_85":36608,"ignition":61,"odometer":null,"unknown_44":-5056697924580335616}} 
[2026-09-10 13:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":177712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:57:24] local.INFO: GPS data processed {"connection_id":177712,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:57:24] local.INFO: Acknowledgment sent {"connection_id":177712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:57:27] local.INFO: TCP Data received {"connection_id":179082,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:27] local.INFO: Processing buffer {"connection_id":179082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:27] local.INFO: IMEI packet received {"connection_id":179082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":179082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:57:28] local.INFO: TCP Data received {"connection_id":179082,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:28] local.INFO: Processing buffer {"connection_id":179082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:28] local.INFO: IMEI packet received {"connection_id":179082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":179082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:57:32] local.INFO: TCP Data received {"connection_id":179082,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:32] local.INFO: Processing buffer {"connection_id":179082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:57:32] local.INFO: IMEI packet received {"connection_id":179082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":179082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:57:33] local.INFO: TCP Data received {"connection_id":179082,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b50e0012d187ac007223320005e00d426..."} 
[2026-09-10 13:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b50e0012d187ac007223320005e00d426..."} 
[2026-09-10 13:57:33] local.INFO: Processing buffer {"connection_id":179082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b50e0012d187ac007223320005e00d426..."} 
[2026-09-10 13:57:33] local.INFO: Packet analysis {"connection_id":179082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:57:33] local.INFO: Extracted packet for processing {"connection_id":179082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756579008,"raw_latitude":119681824,"longitude_deg":75.6579008,"latitude_deg":11.9681824,"altitude":94,"angle":212,"satellites":38,"speed":48,"hex_longitude":"2d187ac0","hex_latitude":"07223320","is_valid_coordinates":true} 
[2026-09-10 13:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991341312001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19233052530049024,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769703577964630016,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028684000,"timestamp_ms":1789028684000,"timestamp_seconds":1789028684,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b50e0"} 
[2026-09-10 13:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 13:57:33] 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-09-10 13:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991341312001,"66":12363,"105":206,"83":41984,"24":48,"16":19233052530049024,"45":1769703577964630016},"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-09-10 13:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991341312001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:57:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19233052530049024,"km_value":19233052530049.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769703577964630016,"description":"Unknown IO ID 45"} 
[2026-09-10 13:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991341312001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1769703577964630016}} 
[2026-09-10 13:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":179082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:57:33] local.INFO: GPS data processed {"connection_id":179082,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:57:33] local.INFO: Acknowledgment sent {"connection_id":179082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:57:59] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6cbc28012cba1bc00774ea20004a005e2c..."} 
[2026-09-10 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6cbc28012cba1bc00774ea20004a005e2c..."} 
[2026-09-10 13:57:59] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6cbc28012cba1bc00774ea20004a005e2c..."} 
[2026-09-10 13:57:59] local.INFO: Packet analysis {"connection_id":177712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6c"} 
[2026-09-10 13:57:59] local.INFO: Extracted packet for processing {"connection_id":177712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6c"} 
[2026-09-10 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":750394304,"raw_latitude":125102624,"longitude_deg":75.0394304,"latitude_deg":12.5102624,"altitude":74,"angle":94,"satellites":44,"speed":58,"hex_longitude":"2cba1bc0","hex_latitude":"0774ea20","is_valid_coordinates":true} 
[2026-09-10 13:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991365376001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404119726353022976,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5046283350442203136,"note":"Value kept but may cause issues"} 
[2026-09-10 13:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789028777000,"timestamp_ms":1789028777000,"timestamp_seconds":1789028777,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6cbc28"} 
[2026-09-10 13:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:57: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":173,"data_length":795,"current_offset":136} 
[2026-09-10 13:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991365376001,"66":27865,"93":206,"85":36608,"24":58,"16":404119726353022976,"44":-5046283350442203136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-10 13:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991365376001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:57:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 13:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404119726353022976,"km_value":404119726353023.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:57:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5046283350442203136,"description":"Unknown IO ID 44"} 
[2026-09-10 13:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991365376001,"power":27865,"unknown_93":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5046283350442203136}} 
[2026-09-10 13:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":177712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:57:59] local.INFO: GPS data processed {"connection_id":177712,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:57:59] local.INFO: Acknowledgment sent {"connection_id":177712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:58:04] local.INFO: TCP Data received {"connection_id":179082,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6b7020012d1866c0072215a0005600d726..."} 
[2026-09-10 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6b7020012d1866c0072215a0005600d726..."} 
[2026-09-10 13:58:04] local.INFO: Processing buffer {"connection_id":179082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6b7020012d1866c0072215a0005600d726..."} 
[2026-09-10 13:58:04] local.INFO: Packet analysis {"connection_id":179082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:58:04] local.INFO: Extracted packet for processing {"connection_id":179082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6b"} 
[2026-09-10 13:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119674272,"longitude_deg":75.6573888,"latitude_deg":11.9674272,"altitude":86,"angle":215,"satellites":38,"speed":43,"hex_longitude":"2d1866c0","hex_latitude":"072215a0","is_valid_coordinates":true} 
[2026-09-10 13:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991343104001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19233494911680512,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763933340940050432,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58: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-09-10 13:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028692000,"timestamp_ms":1789028692000,"timestamp_seconds":1789028692,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6b7020"} 
[2026-09-10 13:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:58: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-09-10 13:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-10 13:58:04] 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-09-10 13:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991343104001,"66":12287,"105":206,"83":41984,"24":43,"16":19233494911680512,"45":1763933340940050432},"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-09-10 13:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991343104001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:58:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19233494911680512,"km_value":19233494911680.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763933340940050432,"description":"Unknown IO ID 45"} 
[2026-09-10 13:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991343104001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1763933340940050432}} 
[2026-09-10 13:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":179082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:58:04] local.INFO: GPS data processed {"connection_id":179082,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:58:04] local.INFO: Acknowledgment sent {"connection_id":179082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:58:24] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:24] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:24] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:58:24] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:24] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:24] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:58:27] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:58:27] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:58:27] local.INFO: IMEI packet received {"connection_id":177714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":177714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:58:28] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:28] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:58:28] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:58:29] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6dd950012cbbc5c00774e138005100642d..."} 
[2026-09-10 13:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6dd950012cbbc5c00774e138005100642d..."} 
[2026-09-10 13:58:29] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6dd950012cbbc5c00774e138005100642d..."} 
[2026-09-10 13:58:29] local.INFO: Packet analysis {"connection_id":176294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:58:29] local.INFO: Extracted packet for processing {"connection_id":176294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:58:29] local.INFO: GPS Element Parsed {"raw_longitude":750503360,"raw_latitude":125100344,"longitude_deg":75.050336,"latitude_deg":12.5100344,"altitude":81,"angle":100,"satellites":45,"speed":56,"hex_longitude":"2cbbc5c0","hex_latitude":"0774e138","is_valid_coordinates":true} 
[2026-09-10 13:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991383808001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404124901788614656,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4927641647759157248,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789028850000,"timestamp_ms":1789028850000,"timestamp_seconds":1789028850,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6dd950"} 
[2026-09-10 13:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:58: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-09-10 13:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 13:58: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-09-10 13:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991383808001,"66":27800,"93":206,"85":36608,"24":56,"16":404124901788614656,"44":-4927641647759157248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-10 13:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991383808001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:58:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 13:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404124901788614656,"km_value":404124901788614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4927641647759157248,"description":"Unknown IO ID 44"} 
[2026-09-10 13:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991383808001,"power":27800,"unknown_93":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-4927641647759157248}} 
[2026-09-10 13:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":176294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:58:29] local.INFO: GPS data processed {"connection_id":176294,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:58:29] local.INFO: Acknowledgment sent {"connection_id":176294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:58:30] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6df4a8012cbbeb000774d9d8005200652d..."} 
[2026-09-10 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6df4a8012cbbeb000774d9d8005200652d..."} 
[2026-09-10 13:58:30] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6df4a8012cbbeb000774d9d8005200652d..."} 
[2026-09-10 13:58:30] local.INFO: Packet analysis {"connection_id":176294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:58:30] local.INFO: Extracted packet for processing {"connection_id":176294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":750512896,"raw_latitude":125098456,"longitude_deg":75.0512896,"latitude_deg":12.5098456,"altitude":82,"angle":101,"satellites":45,"speed":51,"hex_longitude":"2cbbeb00","hex_latitude":"0774d9d8","is_valid_coordinates":true} 
[2026-09-10 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991385600001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404125361350115328,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4916312279946807296,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789028857000,"timestamp_ms":1789028857000,"timestamp_seconds":1789028857,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6df4a8"} 
[2026-09-10 13:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 13:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991385600001,"66":27887,"92":206,"85":36608,"24":51,"16":404125361350115328,"44":-4916312279946807296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-09-10 13:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991385600001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:58:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-10 13:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404125361350115328,"km_value":404125361350115.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4916312279946807296,"description":"Unknown IO ID 44"} 
[2026-09-10 13:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991385600001,"power":27887,"unknown_92":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-4916312279946807296}} 
[2026-09-10 13:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":176294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:58:30] local.INFO: GPS data processed {"connection_id":176294,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:58:30] local.INFO: Acknowledgment sent {"connection_id":176294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:58:32] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:58:32] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:58:32] local.INFO: IMEI packet received {"connection_id":177714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":177714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:58:33] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6de120012d181cc00721ad40004800d127..."} 
[2026-09-10 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6de120012d181cc00721ad40004800d127..."} 
[2026-09-10 13:58:33] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6de120012d181cc00721ad40004800d127..."} 
[2026-09-10 13:58:33] local.INFO: Packet analysis {"connection_id":177714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:58:33] local.INFO: Extracted packet for processing {"connection_id":177714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647552,"longitude_deg":75.6554944,"latitude_deg":11.9647552,"altitude":72,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ad40","is_valid_coordinates":true} 
[2026-09-10 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-09-10 13:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991380736001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19235075459645440,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120475136,"note":"Value kept but may cause issues"} 
[2026-09-10 13:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028852000,"timestamp_ms":1789028852000,"timestamp_seconds":1789028852,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6de120"} 
[2026-09-10 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-09-10 13:58: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-09-10 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-10 13:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 13:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991380736001,"66":13972,"105":206,"83":41984,"24":0,"16":19235075459645440,"45":1737474693120475136},"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-09-10 13:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991380736001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:58:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19235075459645440,"km_value":19235075459645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120475136,"description":"Unknown IO ID 45"} 
[2026-09-10 13:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991380736001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693120475136}} 
[2026-09-10 13:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":177714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:58:33] local.INFO: GPS data processed {"connection_id":177714,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:58:33] local.INFO: Acknowledgment sent {"connection_id":177714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:59:00] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6e13e8012cbc0fc00774d270005300682e..."} 
[2026-09-10 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6e13e8012cbc0fc00774d270005300682e..."} 
[2026-09-10 13:59:00] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6e13e8012cbc0fc00774d270005300682e..."} 
[2026-09-10 13:59:00] local.INFO: Packet analysis {"connection_id":176294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:00] local.INFO: Extracted packet for processing {"connection_id":176294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:00] local.INFO: GPS Element Parsed {"raw_longitude":750522304,"raw_latitude":125096560,"longitude_deg":75.0522304,"latitude_deg":12.509656,"altitude":83,"angle":104,"satellites":46,"speed":40,"hex_longitude":"2cbc0fc0","hex_latitude":"0774d270","is_valid_coordinates":true} 
[2026-09-10 13:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991387392001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404125816616648704,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4905827337064818688,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789028865000,"timestamp_ms":1789028865000,"timestamp_seconds":1789028865,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6e13e8"} 
[2026-09-10 13:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:59: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-09-10 13:59: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":239,"data_length":795,"current_offset":136} 
[2026-09-10 13:59:00] 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-09-10 13:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991387392001,"66":27821,"92":206,"85":36608,"24":40,"16":404125816616648704,"44":-4905827337064818688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-09-10 13:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991387392001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:59:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-10 13:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404125816616648704,"km_value":404125816616648.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4905827337064818688,"description":"Unknown IO ID 44"} 
[2026-09-10 13:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991387392001,"power":27821,"unknown_92":206,"unknown_85":36608,"ignition":40,"odometer":null,"unknown_44":-4905827337064818688}} 
[2026-09-10 13:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":176294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:59:00] local.INFO: GPS data processed {"connection_id":176294,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:59:00] local.INFO: Acknowledgment sent {"connection_id":176294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:59:04] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6dfc78012d181dc00721ab18004a008927..."} 
[2026-09-10 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6dfc78012d181dc00721ab18004a008927..."} 
[2026-09-10 13:59:04] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6dfc78012d181dc00721ab18004a008927..."} 
[2026-09-10 13:59:04] local.INFO: Packet analysis {"connection_id":177714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:59:04] local.INFO: Extracted packet for processing {"connection_id":177714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6d"} 
[2026-09-10 13:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647000,"longitude_deg":75.65552,"latitude_deg":11.9647,"altitude":74,"angle":137,"satellites":39,"speed":7,"hex_longitude":"2d181dc0","hex_latitude":"0721ab18","is_valid_coordinates":true} 
[2026-09-10 13:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991386112001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19235109819383808,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120475136,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028859000,"timestamp_ms":1789028859000,"timestamp_seconds":1789028859,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6dfc78"} 
[2026-09-10 13:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 13:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991386112001,"66":13928,"105":206,"83":41984,"24":7,"16":19235109819383808,"45":1737474693120475136},"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-09-10 13:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991386112001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:59:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19235109819383808,"km_value":19235109819383.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120475136,"description":"Unknown IO ID 45"} 
[2026-09-10 13:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991386112001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737474693120475136}} 
[2026-09-10 13:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":177714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:59:04] local.INFO: GPS data processed {"connection_id":177714,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:59:04] local.INFO: Acknowledgment sent {"connection_id":177714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:59:19] local.INFO: TCP Data received {"connection_id":176527,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:19] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:19] local.INFO: IMEI packet received {"connection_id":176527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 13:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":176527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:59:20] local.INFO: TCP Data received {"connection_id":176527,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:20] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:20] local.INFO: IMEI packet received {"connection_id":176527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":176527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:59:24] local.INFO: TCP Data received {"connection_id":176527,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:24] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 13:59:24] local.INFO: IMEI packet received {"connection_id":176527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 13:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":176527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:59:25] local.INFO: TCP Data received {"connection_id":176527,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6ecb80012cbc654007746f20004f00c92d..."} 
[2026-09-10 13:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6ecb80012cbc654007746f20004f00c92d..."} 
[2026-09-10 13:59:25] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6ecb80012cbc654007746f20004f00c92d..."} 
[2026-09-10 13:59:25] local.INFO: Packet analysis {"connection_id":176527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:25] local.INFO: Extracted packet for processing {"connection_id":176527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":750544192,"raw_latitude":125071136,"longitude_deg":75.0544192,"latitude_deg":12.5071136,"altitude":79,"angle":201,"satellites":45,"speed":47,"hex_longitude":"2cbc6540","hex_latitude":"07746f20","is_valid_coordinates":true} 
[2026-09-10 13:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991400704001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404127800891539456,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4870502227493750784,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789028912000,"timestamp_ms":1789028912000,"timestamp_seconds":1789028912,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6ecb80"} 
[2026-09-10 13:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 13:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991400704001,"66":27800,"72":206,"85":36608,"24":47,"16":404127800891539456,"44":-4870502227493750784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-10 13:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991400704001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:59:25] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-10 13:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404127800891539456,"km_value":404127800891539.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4870502227493750784,"description":"Unknown IO ID 44"} 
[2026-09-10 13:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991400704001,"power":27800,"unknown_72":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-4870502227493750784}} 
[2026-09-10 13:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":176527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:59:25] local.INFO: GPS data processed {"connection_id":176527,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:59:25] local.INFO: Acknowledgment sent {"connection_id":176527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:59:27] local.INFO: TCP Data received {"connection_id":179083,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:59:27] local.INFO: Processing buffer {"connection_id":179083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:59:27] local.INFO: IMEI packet received {"connection_id":179083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 13:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":179083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 13:59:29] local.INFO: TCP Data received {"connection_id":176527,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6ed350012cbc6140077466e0004f00d42d..."} 
[2026-09-10 13:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6ed350012cbc6140077466e0004f00d42d..."} 
[2026-09-10 13:59:29] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6ed350012cbc6140077466e0004f00d42d..."} 
[2026-09-10 13:59:29] local.INFO: Packet analysis {"connection_id":176527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:29] local.INFO: Extracted packet for processing {"connection_id":176527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:29] local.INFO: GPS Element Parsed {"raw_longitude":750543168,"raw_latitude":125069024,"longitude_deg":75.0543168,"latitude_deg":12.5069024,"altitude":79,"angle":212,"satellites":45,"speed":46,"hex_longitude":"2cbc6140","hex_latitude":"077466e0","is_valid_coordinates":true} 
[2026-09-10 13: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-09-10 13:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991401472001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404127916855656448,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4871417021168934912,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789028914000,"timestamp_ms":1789028914000,"timestamp_seconds":1789028914,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6ed350"} 
[2026-09-10 13:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:59: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-09-10 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 13:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 13:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 13:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 13:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991401472001,"66":27745,"72":206,"85":36608,"24":46,"16":404127916855656448,"44":-4871417021168934912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-10 13:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 13:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 13:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991401472001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:59:29] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-10 13:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 13:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404127916855656448,"km_value":404127916855656.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4871417021168934912,"description":"Unknown IO ID 44"} 
[2026-09-10 13:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991401472001,"power":27745,"unknown_72":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-4871417021168934912}} 
[2026-09-10 13:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":176527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:59:30] local.INFO: GPS data processed {"connection_id":176527,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:59:30] local.INFO: Acknowledgment sent {"connection_id":176527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 13:59:32] local.INFO: TCP Data received {"connection_id":179083,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:59:32] local.INFO: Processing buffer {"connection_id":179083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 13:59:32] local.INFO: IMEI packet received {"connection_id":179083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 13:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":179083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 13:59:33] local.INFO: TCP Data received {"connection_id":179083,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6e0060012d181e400721aa50004a009627..."} 
[2026-09-10 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6e0060012d181e400721aa50004a009627..."} 
[2026-09-10 13:59:33] local.INFO: Processing buffer {"connection_id":179083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6e0060012d181e400721aa50004a009627..."} 
[2026-09-10 13:59:33] local.INFO: Packet analysis {"connection_id":179083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:33] local.INFO: Extracted packet for processing {"connection_id":179083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 13:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646800,"longitude_deg":75.6555328,"latitude_deg":11.96468,"altitude":74,"angle":150,"satellites":39,"speed":10,"hex_longitude":"2d181e40","hex_latitude":"0721aa50","is_valid_coordinates":true} 
[2026-09-10 13:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 13:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991387904001,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19235122704285696,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097044480,"note":"Value kept but may cause issues"} 
[2026-09-10 13:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 13:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028860000,"timestamp_ms":1789028860000,"timestamp_seconds":1789028860,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6e0060"} 
[2026-09-10 13:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 13:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 13:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 13:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 13:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 13:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 13:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 13:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 13:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 13:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 13:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 13:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 13:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991387904001,"66":13439,"105":206,"83":41984,"24":10,"16":19235122704285696,"45":1737756168097044480},"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-09-10 13:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 13:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 13:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991387904001,"description":"Unknown IO ID 0"} 
[2026-09-10 13:59:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 13:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 13:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19235122704285696,"km_value":19235122704285.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 13:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097044480,"description":"Unknown IO ID 45"} 
[2026-09-10 13:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991387904001,"power":13439,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737756168097044480}} 
[2026-09-10 13:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":179083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 13:59:33] local.INFO: GPS data processed {"connection_id":179083,"processed":1,"errors":0,"total":1} 
[2026-09-10 13:59:33] local.INFO: Acknowledgment sent {"connection_id":179083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:00:00] local.INFO: TCP Data received {"connection_id":176527,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6ef290012cbc4a0007744ba0004b00de2c..."} 
[2026-09-10 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6ef290012cbc4a0007744ba0004b00de2c..."} 
[2026-09-10 14:00:00] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6ef290012cbc4a0007744ba0004b00de2c..."} 
[2026-09-10 14:00:00] local.INFO: Packet analysis {"connection_id":176527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 14:00:00] local.INFO: Extracted packet for processing {"connection_id":176527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6e"} 
[2026-09-10 14:00:00] local.INFO: GPS Element Parsed {"raw_longitude":750537216,"raw_latitude":125062048,"longitude_deg":75.0537216,"latitude_deg":12.5062048,"altitude":75,"angle":222,"satellites":44,"speed":42,"hex_longitude":"2cbc4a00","hex_latitude":"07744ba0","is_valid_coordinates":true} 
[2026-09-10 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991401984001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404128354942320640,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4872542921076318208,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789028922000,"timestamp_ms":1789028922000,"timestamp_seconds":1789028922,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6ef290"} 
[2026-09-10 14:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:00: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-09-10 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 14:00: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-09-10 14:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991401984001,"66":27821,"72":206,"85":36608,"24":42,"16":404128354942320640,"44":-4872542921076318208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-10 14:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991401984001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:00:00] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-10 14:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 14:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404128354942320640,"km_value":404128354942320.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:00:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4872542921076318208,"description":"Unknown IO ID 44"} 
[2026-09-10 14:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991401984001,"power":27821,"unknown_72":206,"unknown_85":36608,"ignition":42,"odometer":null,"unknown_44":-4872542921076318208}} 
[2026-09-10 14:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":176527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:00:00] local.INFO: GPS data processed {"connection_id":176527,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:00:00] local.INFO: Acknowledgment sent {"connection_id":176527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:00:05] local.INFO: TCP Data received {"connection_id":179083,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6f8700012d18d8800720fe30003f009627..."} 
[2026-09-10 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6f8700012d18d8800720fe30003f009627..."} 
[2026-09-10 14:00:05] local.INFO: Processing buffer {"connection_id":179083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6f8700012d18d8800720fe30003f009627..."} 
[2026-09-10 14:00:05] local.INFO: Packet analysis {"connection_id":179083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:00:05] local.INFO: Extracted packet for processing {"connection_id":179083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756603008,"raw_latitude":119602736,"longitude_deg":75.6603008,"latitude_deg":11.9602736,"altitude":63,"angle":150,"satellites":39,"speed":40,"hex_longitude":"2d18d880","hex_latitude":"0720fe30","is_valid_coordinates":true} 
[2026-09-10 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991412736001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19238623102631936,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359682048,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00: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-09-10 14:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789028960000,"timestamp_ms":1789028960000,"timestamp_seconds":1789028960,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6f8700"} 
[2026-09-10 14:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 14:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14: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-09-10 14:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991412736001,"66":14265,"103":206,"83":41984,"24":40,"16":19238623102631936,"45":1788843876359682048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 14:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991412736001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:00:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 14:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19238623102631936,"km_value":19238623102631.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359682048,"description":"Unknown IO ID 45"} 
[2026-09-10 14:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991412736001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1788843876359682048}} 
[2026-09-10 14:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":179083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:00:05] local.INFO: GPS data processed {"connection_id":179083,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:00:05] local.INFO: Acknowledgment sent {"connection_id":179083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:00:19] local.INFO: TCP Data received {"connection_id":176528,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:00:19] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:00:19] local.INFO: IMEI packet received {"connection_id":176528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":176528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:00:23] local.INFO: TCP Data received {"connection_id":176528,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:00:23] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:00:23] local.INFO: IMEI packet received {"connection_id":176528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":176528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:00:24] local.INFO: TCP Data received {"connection_id":176528,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6f7f30012cbc51000773ec00004900732a..."} 
[2026-09-10 14:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6f7f30012cbc51000773ec00004900732a..."} 
[2026-09-10 14:00:24] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6f7f30012cbc51000773ec00004900732a..."} 
[2026-09-10 14:00:24] local.INFO: Packet analysis {"connection_id":176528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:00:24] local.INFO: Extracted packet for processing {"connection_id":176528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:00:24] local.INFO: GPS Element Parsed {"raw_longitude":750539008,"raw_latitude":125037568,"longitude_deg":75.0539008,"latitude_deg":12.5037568,"altitude":73,"angle":115,"satellites":42,"speed":47,"hex_longitude":"2cbc5100","hex_latitude":"0773ec00","is_valid_coordinates":true} 
[2026-09-10 14:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991411200001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404130158828584960,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4887179619872198656,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789028958000,"timestamp_ms":1789028958000,"timestamp_seconds":1789028958,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6f7f30"} 
[2026-09-10 14:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:00: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-09-10 14:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991411200001,"66":27658,"72":206,"85":36608,"24":47,"16":404130158828584960,"44":-4887179619872198656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-10 14:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991411200001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:00:24] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-10 14:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 14:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404130158828584960,"km_value":404130158828584.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:00:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4887179619872198656,"description":"Unknown IO ID 44"} 
[2026-09-10 14:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991411200001,"power":27658,"unknown_72":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-4887179619872198656}} 
[2026-09-10 14:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":176528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:00:24] local.INFO: GPS data processed {"connection_id":176528,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:00:24] local.INFO: Acknowledgment sent {"connection_id":176528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:00:27] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:27] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:27] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:00:30] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:30] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:30] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:00:32] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:32] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:00:32] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:00:33] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6f8ed0012d18de000720f858003e008527..."} 
[2026-09-10 14:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6f8ed0012d18de000720f858003e008527..."} 
[2026-09-10 14:00:33] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6f8ed0012d18de000720f858003e008527..."} 
[2026-09-10 14:00:33] local.INFO: Packet analysis {"connection_id":176529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:00:33] local.INFO: Extracted packet for processing {"connection_id":176529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119601240,"longitude_deg":75.6604416,"latitude_deg":11.960124,"altitude":62,"angle":133,"satellites":39,"speed":40,"hex_longitude":"2d18de00","hex_latitude":"0720f858","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991413760001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19238721886879744,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790321619986427904,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789028962000,"timestamp_ms":1789028962000,"timestamp_seconds":1789028962,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6f8ed0"} 
[2026-09-10 14:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:00: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-09-10 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 14:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991413760001,"66":14254,"103":206,"83":41984,"24":40,"16":19238721886879744,"45":1790321619986427904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 14:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991413760001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:00:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 14:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19238721886879744,"km_value":19238721886879.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790321619986427904,"description":"Unknown IO ID 45"} 
[2026-09-10 14:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991413760001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1790321619986427904}} 
[2026-09-10 14:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":176529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:00:33] local.INFO: GPS data processed {"connection_id":176529,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:00:33] local.INFO: Acknowledgment sent {"connection_id":176529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:00:38] local.INFO: TCP Data received {"connection_id":177716,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:00:38] local.INFO: Processing buffer {"connection_id":177716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:00:38] local.INFO: IMEI packet received {"connection_id":177716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":177716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:00:55] local.INFO: TCP Data received {"connection_id":176528,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a704e38012cbc25c0077355d0003300ea2e..."} 
[2026-09-10 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a704e38012cbc25c0077355d0003300ea2e..."} 
[2026-09-10 14:00:55] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a704e38012cbc25c0077355d0003300ea2e..."} 
[2026-09-10 14:00:55] local.INFO: Packet analysis {"connection_id":176528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a70"} 
[2026-09-10 14:00:55] local.INFO: Extracted packet for processing {"connection_id":176528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a70"} 
[2026-09-10 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":750527936,"raw_latitude":124999120,"longitude_deg":75.0527936,"latitude_deg":12.499912,"altitude":51,"angle":234,"satellites":46,"speed":28,"hex_longitude":"2cbc25c0","hex_latitude":"077355d0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991426304001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404132744398897152,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4887812938580582400,"note":"Value kept but may cause issues"} 
[2026-09-10 14:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789029011000,"timestamp_ms":1789029011000,"timestamp_seconds":1789029011,"priority":1,"record_length":96,"hex_timestamp":"000001a08a704e38"} 
[2026-09-10 14:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 14:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991426304001,"66":27332,"131":206,"85":36608,"24":28,"16":404132744398897152,"44":-4887812938580582400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-10 14:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991426304001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:00:55] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 14:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 14:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404132744398897152,"km_value":404132744398897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4887812938580582400,"description":"Unknown IO ID 44"} 
[2026-09-10 14:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991426304001,"power":27332,"unknown_131":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-4887812938580582400}} 
[2026-09-10 14:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":176528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:00:55] local.INFO: GPS data processed {"connection_id":176528,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:00:55] local.INFO: Acknowledgment sent {"connection_id":176528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:01:04] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a6f9a88012d18e5c00720ef90003d009125..."} 
[2026-09-10 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a6f9a88012d18e5c00720ef90003d009125..."} 
[2026-09-10 14:01:04] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a6f9a88012d18e5c00720ef90003d009125..."} 
[2026-09-10 14:01:04] local.INFO: Packet analysis {"connection_id":176529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:01:04] local.INFO: Extracted packet for processing {"connection_id":176529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a6f"} 
[2026-09-10 14:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756606400,"raw_latitude":119598992,"longitude_deg":75.66064,"latitude_deg":11.9598992,"altitude":61,"angle":145,"satellites":37,"speed":40,"hex_longitude":"2d18e5c0","hex_latitude":"0720ef90","is_valid_coordinates":true} 
[2026-09-10 14:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991414272001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19238863620800512,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732357953536,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01: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-09-10 14:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789028965000,"timestamp_ms":1789028965000,"timestamp_seconds":1789028965,"priority":1,"record_length":96,"hex_timestamp":"000001a08a6f9a88"} 
[2026-09-10 14:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 14:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991414272001,"66":13276,"103":206,"83":41984,"24":40,"16":19238863620800512,"45":1791869732357953536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-10 14:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991414272001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:01:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 14:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19238863620800512,"km_value":19238863620800.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732357953536,"description":"Unknown IO ID 45"} 
[2026-09-10 14:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991414272001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1791869732357953536}} 
[2026-09-10 14:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":176529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:01:04] local.INFO: GPS data processed {"connection_id":176529,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:01:04] local.INFO: Acknowledgment sent {"connection_id":176529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:01:19] local.INFO: TCP Data received {"connection_id":177717,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:01:19] local.INFO: Processing buffer {"connection_id":177717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:01:19] local.INFO: IMEI packet received {"connection_id":177717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":177717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:01:24] local.INFO: TCP Data received {"connection_id":177717,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:01:24] local.INFO: Processing buffer {"connection_id":177717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:01:24] local.INFO: IMEI packet received {"connection_id":177717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":177717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:01:25] local.INFO: TCP Data received {"connection_id":177717,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a709870012cbc14c007732f180030010f2d..."} 
[2026-09-10 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a709870012cbc14c007732f180030010f2d..."} 
[2026-09-10 14:01:25] local.INFO: Processing buffer {"connection_id":177717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a709870012cbc14c007732f180030010f2d..."} 
[2026-09-10 14:01:25] local.INFO: Packet analysis {"connection_id":177717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a70"} 
[2026-09-10 14:01:25] local.INFO: Extracted packet for processing {"connection_id":177717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a70"} 
[2026-09-10 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":750523584,"raw_latitude":124989208,"longitude_deg":75.0523584,"latitude_deg":12.4989208,"altitude":48,"angle":271,"satellites":45,"speed":26,"hex_longitude":"2cbc14c0","hex_latitude":"07732f18","is_valid_coordinates":true} 
[2026-09-10 14:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991431424001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404133328514449408,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4893301700629145600,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789029030000,"timestamp_ms":1789029030000,"timestamp_seconds":1789029030,"priority":1,"record_length":96,"hex_timestamp":"000001a08a709870"} 
[2026-09-10 14:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-10 14:01:25] 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-09-10 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-09-10 14:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991431424001,"66":27343,"131":206,"85":36608,"24":26,"16":404133328514449408,"44":-4893301700629145600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-10 14:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991431424001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:01:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 14:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 14:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404133328514449408,"km_value":404133328514449.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4893301700629145600,"description":"Unknown IO ID 44"} 
[2026-09-10 14:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991431424001,"power":27343,"unknown_131":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-4893301700629145600}} 
[2026-09-10 14:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":177717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:01:25] local.INFO: GPS data processed {"connection_id":177717,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:01:25] local.INFO: Acknowledgment sent {"connection_id":177717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:01:28] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:28] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:28] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:01:29] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:29] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:29] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:01:30] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:30] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:30] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:01:32] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:32] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:01:32] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:01:57] local.INFO: TCP Data received {"connection_id":177717,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a709c58012cbc124007732f800030011c2c..."} 
[2026-09-10 14:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a709c58012cbc124007732f800030011c2c..."} 
[2026-09-10 14:01:57] local.INFO: Processing buffer {"connection_id":177717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a709c58012cbc124007732f800030011c2c..."} 
[2026-09-10 14:01:57] local.INFO: Packet analysis {"connection_id":177717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a70"} 
[2026-09-10 14:01:57] local.INFO: Extracted packet for processing {"connection_id":177717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a70"} 
[2026-09-10 14:01:57] local.INFO: GPS Element Parsed {"raw_longitude":750522944,"raw_latitude":124989312,"longitude_deg":75.0522944,"latitude_deg":12.4989312,"altitude":48,"angle":284,"satellites":44,"speed":27,"hex_longitude":"2cbc1240","hex_latitude":"07732f80","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991431680001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404133362874187776,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4894075756815116288,"note":"Value kept but may cause issues"} 
[2026-09-10 14:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789029031000,"timestamp_ms":1789029031000,"timestamp_seconds":1789029031,"priority":1,"record_length":96,"hex_timestamp":"000001a08a709c58"} 
[2026-09-10 14:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 14:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991431680001,"66":27343,"131":206,"85":36608,"24":27,"16":404133362874187776,"44":-4894075756815116288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-10 14:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991431680001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:01:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 14:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 14:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404133362874187776,"km_value":404133362874187.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:01:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4894075756815116288,"description":"Unknown IO ID 44"} 
[2026-09-10 14:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991431680001,"power":27343,"unknown_131":206,"unknown_85":36608,"ignition":27,"odometer":null,"unknown_44":-4894075756815116288}} 
[2026-09-10 14:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":177717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:01:57] local.INFO: GPS data processed {"connection_id":177717,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:01:57] local.INFO: Acknowledgment sent {"connection_id":177717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:02:24] local.INFO: TCP Data received {"connection_id":179084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:24] local.INFO: Processing buffer {"connection_id":179084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:24] local.INFO: IMEI packet received {"connection_id":179084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":179084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:02:25] local.INFO: TCP Data received {"connection_id":179084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:25] local.INFO: Processing buffer {"connection_id":179084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:25] local.INFO: IMEI packet received {"connection_id":179084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":179084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:02:29] local.INFO: TCP Data received {"connection_id":179084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:29] local.INFO: Processing buffer {"connection_id":179084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:02:29] local.INFO: IMEI packet received {"connection_id":179084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":179084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:02:30] local.INFO: TCP Data received {"connection_id":179084,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a716390012cbbd80007730da8001b009f2c..."} 
[2026-09-10 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a716390012cbbd80007730da8001b009f2c..."} 
[2026-09-10 14:02:30] local.INFO: Processing buffer {"connection_id":179084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a716390012cbbd80007730da8001b009f2c..."} 
[2026-09-10 14:02:30] local.INFO: Packet analysis {"connection_id":179084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a71"} 
[2026-09-10 14:02:30] local.INFO: Extracted packet for processing {"connection_id":179084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a71"} 
[2026-09-10 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750508032,"raw_latitude":124980648,"longitude_deg":75.0508032,"latitude_deg":12.4980648,"altitude":27,"angle":159,"satellites":44,"speed":30,"hex_longitude":"2cbbd800","hex_latitude":"07730da8","is_valid_coordinates":true} 
[2026-09-10 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991444736001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404134732968755200,"note":"Value kept but may cause issues"} 
[2026-09-10 14:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4911386467884820480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789029082000,"timestamp_ms":1789029082000,"timestamp_seconds":1789029082,"priority":1,"record_length":96,"hex_timestamp":"000001a08a716390"} 
[2026-09-10 14:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:02: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-09-10 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 14:02: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-09-10 14:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991444736001,"66":27865,"131":206,"85":36608,"24":30,"16":404134732968755200,"44":-4911386467884820480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-10 14:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991444736001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:02:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 14:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-10 14:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404134732968755200,"km_value":404134732968755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4911386467884820480,"description":"Unknown IO ID 44"} 
[2026-09-10 14:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991444736001,"power":27865,"unknown_131":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-4911386467884820480}} 
[2026-09-10 14:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":179084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:02:30] local.INFO: GPS data processed {"connection_id":179084,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:02:30] local.INFO: Acknowledgment sent {"connection_id":179084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:03:00] local.INFO: TCP Data received {"connection_id":179084,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a723298012cbc95000772f058000d007f2e..."} 
[2026-09-10 14:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a723298012cbc95000772f058000d007f2e..."} 
[2026-09-10 14:03:00] local.INFO: Processing buffer {"connection_id":179084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a723298012cbc95000772f058000d007f2e..."} 
[2026-09-10 14:03:00] local.INFO: Packet analysis {"connection_id":179084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a72"} 
[2026-09-10 14:03:00] local.INFO: Extracted packet for processing {"connection_id":179084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a72"} 
[2026-09-10 14:03:00] local.INFO: GPS Element Parsed {"raw_longitude":750556416,"raw_latitude":124973144,"longitude_deg":75.0556416,"latitude_deg":12.4973144,"altitude":13,"angle":127,"satellites":46,"speed":43,"hex_longitude":"2cbc9500","hex_latitude":"0772f058","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991458048001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404137151035342848,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4860087653381142528,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789029135000,"timestamp_ms":1789029135000,"timestamp_seconds":1789029135,"priority":1,"record_length":96,"hex_timestamp":"000001a08a723298"} 
[2026-09-10 14:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:03: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-09-10 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:03: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-09-10 14: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-09-10 14:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991458048001,"66":27876,"159":206,"85":37888,"24":43,"16":404137151035342848,"44":-4860087653381142528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 14:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991458048001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:03:00] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 14:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404137151035342848,"km_value":404137151035342.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4860087653381142528,"description":"Unknown IO ID 44"} 
[2026-09-10 14:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991458048001,"power":27876,"unknown_159":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4860087653381142528}} 
[2026-09-10 14:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":179084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:03:00] local.INFO: GPS data processed {"connection_id":179084,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:03:00] local.INFO: Acknowledgment sent {"connection_id":179084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:03:19] local.INFO: TCP Data received {"connection_id":179085,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:03:19] local.INFO: Processing buffer {"connection_id":179085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:03:19] local.INFO: IMEI packet received {"connection_id":179085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":179085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:03:24] local.INFO: TCP Data received {"connection_id":179085,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:03:24] local.INFO: Processing buffer {"connection_id":179085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:03:24] local.INFO: IMEI packet received {"connection_id":179085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":179085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:03:25] local.INFO: TCP Data received {"connection_id":179085,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a723a68012cbc9b400772ea48000d008c2d..."} 
[2026-09-10 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a723a68012cbc9b400772ea48000d008c2d..."} 
[2026-09-10 14:03:25] local.INFO: Processing buffer {"connection_id":179085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a723a68012cbc9b400772ea48000d008c2d..."} 
[2026-09-10 14:03:25] local.INFO: Packet analysis {"connection_id":179085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a72"} 
[2026-09-10 14:03:25] local.INFO: Extracted packet for processing {"connection_id":179085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a72"} 
[2026-09-10 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":750558016,"raw_latitude":124971592,"longitude_deg":75.0558016,"latitude_deg":12.4971592,"altitude":13,"angle":140,"satellites":45,"speed":44,"hex_longitude":"2cbc9b40","hex_latitude":"0772ea48","is_valid_coordinates":true} 
[2026-09-10 14:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991458560001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404137258409525248,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4857976591056087040,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789029137000,"timestamp_ms":1789029137000,"timestamp_seconds":1789029137,"priority":1,"record_length":96,"hex_timestamp":"000001a08a723a68"} 
[2026-09-10 14:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:03: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-09-10 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 14:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991458560001,"66":27876,"159":206,"85":37888,"24":44,"16":404137258409525248,"44":-4857976591056087040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 14:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991458560001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:03:25] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 14:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404137258409525248,"km_value":404137258409525.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4857976591056087040,"description":"Unknown IO ID 44"} 
[2026-09-10 14:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991458560001,"power":27876,"unknown_159":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4857976591056087040}} 
[2026-09-10 14:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":179085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:03:25] local.INFO: GPS data processed {"connection_id":179085,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:03:25] local.INFO: Acknowledgment sent {"connection_id":179085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:03:56] local.INFO: TCP Data received {"connection_id":179085,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a724a08012cbca4400772dc00000d00992d..."} 
[2026-09-10 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a724a08012cbca4400772dc00000d00992d..."} 
[2026-09-10 14:03:56] local.INFO: Processing buffer {"connection_id":179085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a724a08012cbca4400772dc00000d00992d..."} 
[2026-09-10 14:03:56] local.INFO: Packet analysis {"connection_id":179085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a72"} 
[2026-09-10 14:03:56] local.INFO: Extracted packet for processing {"connection_id":179085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a72"} 
[2026-09-10 14:03:56] local.INFO: GPS Element Parsed {"raw_longitude":750560320,"raw_latitude":124967936,"longitude_deg":75.056032,"latitude_deg":12.4967936,"altitude":13,"angle":153,"satellites":45,"speed":43,"hex_longitude":"2cbca440","hex_latitude":"0772dc00","is_valid_coordinates":true} 
[2026-09-10 14:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991459072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404137468862922752,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4856217372452042752,"note":"Value kept but may cause issues"} 
[2026-09-10 14:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789029141000,"timestamp_ms":1789029141000,"timestamp_seconds":1789029141,"priority":1,"record_length":96,"hex_timestamp":"000001a08a724a08"} 
[2026-09-10 14:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 14:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991459072001,"66":27800,"159":206,"85":37888,"24":43,"16":404137468862922752,"44":-4856217372452042752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 14:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991459072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:03:56] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 14:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404137468862922752,"km_value":404137468862922.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:03:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4856217372452042752,"description":"Unknown IO ID 44"} 
[2026-09-10 14:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991459072001,"power":27800,"unknown_159":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4856217372452042752}} 
[2026-09-10 14:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":179085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:03:56] local.INFO: GPS data processed {"connection_id":179085,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:03:56] local.INFO: Acknowledgment sent {"connection_id":179085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:04:20] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:20] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:20] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:04:22] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:22] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:22] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:04:24] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:24] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:24] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:04:24] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:24] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:04:24] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:05:58] local.INFO: TCP Data received {"connection_id":176533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:05:58] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:05:58] local.INFO: IMEI packet received {"connection_id":176533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":176533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:06:37] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:06:37] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:06:37] local.INFO: IMEI packet received {"connection_id":176300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":176300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:06:38] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a74f988012d1ac180071f92380036007824..."} 
[2026-09-10 14:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a74f988012d1ac180071f92380036007824..."} 
[2026-09-10 14:06:38] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a74f988012d1ac180071f92380036007824..."} 
[2026-09-10 14:06:38] local.INFO: Packet analysis {"connection_id":176300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a74"} 
[2026-09-10 14:06:38] local.INFO: Extracted packet for processing {"connection_id":176300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a74"} 
[2026-09-10 14:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756728192,"raw_latitude":119509560,"longitude_deg":75.6728192,"latitude_deg":11.950956,"altitude":54,"angle":120,"satellites":36,"speed":30,"hex_longitude":"2d1ac180","hex_latitude":"071f9238","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991503616001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19250039125704704,"note":"Value kept but may cause issues"} 
[2026-09-10 14:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921207484133371904,"note":"Value kept but may cause issues"} 
[2026-09-10 14:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789029317000,"timestamp_ms":1789029317000,"timestamp_seconds":1789029317,"priority":1,"record_length":96,"hex_timestamp":"000001a08a74f988"} 
[2026-09-10 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-09-10 14:06: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-09-10 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 14:06: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-09-10 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-09-10 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-09-10 14:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991503616001,"66":13917,"101":206,"83":41984,"24":30,"16":19250039125704704,"45":1921207484133371904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 14:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991503616001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:06:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19250039125704704,"km_value":19250039125704.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921207484133371904,"description":"Unknown IO ID 45"} 
[2026-09-10 14:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991503616001,"power":13917,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1921207484133371904}} 
[2026-09-10 14:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":176300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:06:38] local.INFO: GPS data processed {"connection_id":176300,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:06:38] local.INFO: Acknowledgment sent {"connection_id":176300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:06:38] local.INFO: TCP Data received {"connection_id":179087,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:06:38] local.INFO: Processing buffer {"connection_id":179087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:06:38] local.INFO: IMEI packet received {"connection_id":179087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":179087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:07:09] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a760ee0012d1afb80071f8c500036005325..."} 
[2026-09-10 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a760ee0012d1afb80071f8c500036005325..."} 
[2026-09-10 14:07:09] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a760ee0012d1afb80071f8c500036005325..."} 
[2026-09-10 14:07:09] local.INFO: Packet analysis {"connection_id":176300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:07:09] local.INFO: Extracted packet for processing {"connection_id":176300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":756743040,"raw_latitude":119508048,"longitude_deg":75.674304,"latitude_deg":11.9508048,"altitude":54,"angle":83,"satellites":37,"speed":24,"hex_longitude":"2d1afb80","hex_latitude":"071f8c50","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991522048001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19250932478902272,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941051469990426624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07: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-09-10 14:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789029388000,"timestamp_ms":1789029388000,"timestamp_seconds":1789029388,"priority":1,"record_length":96,"hex_timestamp":"000001a08a760ee0"} 
[2026-09-10 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-09-10 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 14:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991522048001,"66":14265,"101":206,"83":41984,"24":24,"16":19250932478902272,"45":1941051469990426624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 14:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991522048001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:07:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:07:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19250932478902272,"km_value":19250932478902.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941051469990426624,"description":"Unknown IO ID 45"} 
[2026-09-10 14:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991522048001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1941051469990426624}} 
[2026-09-10 14:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":176300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:07:09] local.INFO: GPS data processed {"connection_id":176300,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:07:09] local.INFO: Acknowledgment sent {"connection_id":176300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:07:29] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:29] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:29] local.INFO: IMEI packet received {"connection_id":176535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":176535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:07:32] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:32] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:32] local.INFO: IMEI packet received {"connection_id":176535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":176535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:07:37] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:37] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:07:37] local.INFO: IMEI packet received {"connection_id":176535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":176535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:07:38] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7612c8012d1afdc0071f8c180036006425..."} 
[2026-09-10 14:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7612c8012d1afdc0071f8c180036006425..."} 
[2026-09-10 14:07:38] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7612c8012d1afdc0071f8c180036006425..."} 
[2026-09-10 14:07:38] local.INFO: Packet analysis {"connection_id":176535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:07:38] local.INFO: Extracted packet for processing {"connection_id":176535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119507992,"longitude_deg":75.6743616,"latitude_deg":11.9507992,"altitude":54,"angle":100,"satellites":37,"speed":24,"hex_longitude":"2d1afdc0","hex_latitude":"071f8c18","is_valid_coordinates":true} 
[2026-09-10 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991523328001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19250962543673344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944288432222916608,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789029389000,"timestamp_ms":1789029389000,"timestamp_seconds":1789029389,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7612c8"} 
[2026-09-10 14:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:07: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-09-10 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 14:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991523328001,"66":14265,"101":206,"83":41984,"24":24,"16":19250962543673344,"45":1944288432222916608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 14:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991523328001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:07:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19250962543673344,"km_value":19250962543673.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944288432222916608,"description":"Unknown IO ID 45"} 
[2026-09-10 14:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991523328001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1944288432222916608}} 
[2026-09-10 14:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":176535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:07:38] local.INFO: GPS data processed {"connection_id":176535,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:07:38] local.INFO: Acknowledgment sent {"connection_id":176535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:07:42] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7616b0012d1affc0071f8b280037007326..."} 
[2026-09-10 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7616b0012d1affc0071f8b280037007326..."} 
[2026-09-10 14:07:42] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7616b0012d1affc0071f8b280037007326..."} 
[2026-09-10 14:07:42] local.INFO: Packet analysis {"connection_id":176535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:07:42] local.INFO: Extracted packet for processing {"connection_id":176535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119507752,"longitude_deg":75.6744128,"latitude_deg":11.9507752,"altitude":55,"angle":115,"satellites":38,"speed":25,"hex_longitude":"2d1affc0","hex_latitude":"071f8b28","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991523584001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19250988313477120,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944921750920501248,"note":"Value kept but may cause issues"} 
[2026-09-10 14:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789029390000,"timestamp_ms":1789029390000,"timestamp_seconds":1789029390,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7616b0"} 
[2026-09-10 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-09-10 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 14:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991523584001,"66":13374,"101":206,"83":41984,"24":25,"16":19250988313477120,"45":1944921750920501248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 14:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991523584001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:07:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19250988313477120,"km_value":19250988313477.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944921750920501248,"description":"Unknown IO ID 45"} 
[2026-09-10 14:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991523584001,"power":13374,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1944921750920501248}} 
[2026-09-10 14:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":176535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:07:42] local.INFO: GPS data processed {"connection_id":176535,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:07:42] local.INFO: Acknowledgment sent {"connection_id":176535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:08:26] local.INFO: TCP Data received {"connection_id":179090,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:26] local.INFO: Processing buffer {"connection_id":179090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:26] local.INFO: IMEI packet received {"connection_id":179090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":179090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:08:27] local.INFO: TCP Data received {"connection_id":179090,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:27] local.INFO: Processing buffer {"connection_id":179090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:27] local.INFO: IMEI packet received {"connection_id":179090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":179090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:08:32] local.INFO: TCP Data received {"connection_id":179090,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:32] local.INFO: Processing buffer {"connection_id":179090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:08:32] local.INFO: IMEI packet received {"connection_id":179090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":179090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:08:33] local.INFO: TCP Data received {"connection_id":179090,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a76ed88012d1b5580071f6cf8003d008923..."} 
[2026-09-10 14:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a76ed88012d1b5580071f6cf8003d008923..."} 
[2026-09-10 14:08:33] local.INFO: Processing buffer {"connection_id":179090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a76ed88012d1b5580071f6cf8003d008923..."} 
[2026-09-10 14:08:33] local.INFO: Packet analysis {"connection_id":179090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:08:33] local.INFO: Extracted packet for processing {"connection_id":179090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a76"} 
[2026-09-10 14:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756766080,"raw_latitude":119500024,"longitude_deg":75.676608,"latitude_deg":11.9500024,"altitude":61,"angle":137,"satellites":35,"speed":14,"hex_longitude":"2d1b5580","hex_latitude":"071f6cf8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991537152001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19252242443927552,"note":"Value kept but may cause issues"} 
[2026-09-10 14:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968987861427566592,"note":"Value kept but may cause issues"} 
[2026-09-10 14:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789029445000,"timestamp_ms":1789029445000,"timestamp_seconds":1789029445,"priority":1,"record_length":96,"hex_timestamp":"000001a08a76ed88"} 
[2026-09-10 14:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 14:08: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-09-10 14: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-09-10 14:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991537152001,"66":13646,"101":206,"83":41984,"24":14,"16":19252242443927552,"45":1968987861427566592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 14:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991537152001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:08:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19252242443927552,"km_value":19252242443927.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968987861427566592,"description":"Unknown IO ID 45"} 
[2026-09-10 14:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991537152001,"power":13646,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1968987861427566592}} 
[2026-09-10 14:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":179090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:08:33] local.INFO: GPS data processed {"connection_id":179090,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:08:33] local.INFO: Acknowledgment sent {"connection_id":179090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:09:04] local.INFO: TCP Data received {"connection_id":179090,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08a77bc90012d1b8ac0071f77000046006121..."} 
[2026-09-10 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a77bc90012d1b8ac0071f77000046006121..."} 
[2026-09-10 14:09:04] local.INFO: Processing buffer {"connection_id":179090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a77bc90012d1b8ac0071f77000046006121..."} 
[2026-09-10 14:09:04] local.INFO: Packet analysis {"connection_id":179090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a77"} 
[2026-09-10 14:09:04] local.INFO: Extracted packet for processing {"connection_id":179090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a77"} 
[2026-09-10 14:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756779712,"raw_latitude":119502592,"longitude_deg":75.6779712,"latitude_deg":11.9502592,"altitude":70,"angle":97,"satellites":33,"speed":8,"hex_longitude":"2d1b8ac0","hex_latitude":"071f7700","is_valid_coordinates":true} 
[2026-09-10 14:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991550976001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19252925343727616,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984187510170251264,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789029498000,"timestamp_ms":1789029498000,"timestamp_seconds":1789029498,"priority":1,"record_length":96,"hex_timestamp":"000001a08a77bc90"} 
[2026-09-10 14:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 14:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991550976001,"66":14450,"101":206,"83":41984,"24":8,"16":19252925343727616,"45":1984187510170251264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-10 14:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991550976001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:09:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-10 14:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19252925343727616,"km_value":19252925343727.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984187510170251264,"description":"Unknown IO ID 45"} 
[2026-09-10 14:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991550976001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1984187510170251264}} 
[2026-09-10 14:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":179090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:09:04] local.INFO: GPS data processed {"connection_id":179090,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:09:04] local.INFO: Acknowledgment sent {"connection_id":179090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:09:26] local.INFO: TCP Data received {"connection_id":179091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:09:26] local.INFO: Processing buffer {"connection_id":179091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:09:26] local.INFO: IMEI packet received {"connection_id":179091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":179091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:09:27] local.INFO: TCP Data received {"connection_id":179091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a77a908012cbcef80076ee0f0005200bf31..."} 
[2026-09-10 14:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a77a908012cbcef80076ee0f0005200bf31..."} 
[2026-09-10 14:09:27] local.INFO: Processing buffer {"connection_id":179091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a77a908012cbcef80076ee0f0005200bf31..."} 
[2026-09-10 14:09:27] local.INFO: Packet analysis {"connection_id":179091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a77"} 
[2026-09-10 14:09:27] local.INFO: Extracted packet for processing {"connection_id":179091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a77"} 
[2026-09-10 14:09:27] local.INFO: GPS Element Parsed {"raw_longitude":750579584,"raw_latitude":124707056,"longitude_deg":75.0579584,"latitude_deg":12.4707056,"altitude":82,"angle":191,"satellites":49,"speed":62,"hex_longitude":"2cbcef80","hex_latitude":"076ee0f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991550208001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404153089658978304,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4832503105731891200,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789029493000,"timestamp_ms":1789029493000,"timestamp_seconds":1789029493,"priority":1,"record_length":96,"hex_timestamp":"000001a08a77a908"} 
[2026-09-10 14:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 14:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":179091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":179091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":179091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991550208001,"66":27865,"133":206,"85":37888,"24":62,"16":404153089658978304,"44":-4832503105731891200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-09-10 14:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991550208001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:09:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-10 14:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404153089658978304,"km_value":404153089658978.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4832503105731891200,"description":"Unknown IO ID 44"} 
[2026-09-10 14:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991550208001,"power":27865,"unknown_133":206,"unknown_85":37888,"ignition":62,"odometer":null,"unknown_44":-4832503105731891200}} 
[2026-09-10 14:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":179091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:09:27] local.INFO: GPS data processed {"connection_id":179091,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:09:27] local.INFO: Acknowledgment sent {"connection_id":179091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:09:59] local.INFO: TCP Data received {"connection_id":179091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a787810012cbcf3c0076da930004600b529..."} 
[2026-09-10 14:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a787810012cbcf3c0076da930004600b529..."} 
[2026-09-10 14:09:59] local.INFO: Processing buffer {"connection_id":179091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a787810012cbcf3c0076da930004600b529..."} 
[2026-09-10 14:09:59] local.INFO: Packet analysis {"connection_id":179091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a78"} 
[2026-09-10 14:09:59] local.INFO: Extracted packet for processing {"connection_id":179091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a78"} 
[2026-09-10 14:09:59] local.INFO: GPS Element Parsed {"raw_longitude":750580672,"raw_latitude":124627248,"longitude_deg":75.0580672,"latitude_deg":12.4627248,"altitude":70,"angle":181,"satellites":41,"speed":59,"hex_longitude":"2cbcf3c0","hex_latitude":"076da930","is_valid_coordinates":true} 
[2026-09-10 14:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991562240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404156998079217664,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830532780913074176,"note":"Value kept but may cause issues"} 
[2026-09-10 14:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789029546000,"timestamp_ms":1789029546000,"timestamp_seconds":1789029546,"priority":1,"record_length":96,"hex_timestamp":"000001a08a787810"} 
[2026-09-10 14:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 14:09: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-09-10 14:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991562240001,"66":27908,"3":206,"85":37888,"24":59,"16":404156998079217664,"44":-4830532780913074176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-10 14:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991562240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:09:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 14:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404156998079217664,"km_value":404156998079217.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830532780913074176,"description":"Unknown IO ID 44"} 
[2026-09-10 14:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991562240001,"power":27908,"unknown_3":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4830532780913074176}} 
[2026-09-10 14:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":179091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:09:59] local.INFO: GPS data processed {"connection_id":179091,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:09:59] local.INFO: Acknowledgment sent {"connection_id":179091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:10:19] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:19] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:19] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:10:20] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:20] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:20] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:10:24] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:24] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:10:24] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:10:24] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a788f80012cbcf440076d8620004700b22c..."} 
[2026-09-10 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a788f80012cbcf440076d8620004700b22c..."} 
[2026-09-10 14:10:24] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a788f80012cbcf440076d8620004700b22c..."} 
[2026-09-10 14:10:24] local.INFO: Packet analysis {"connection_id":176538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a78"} 
[2026-09-10 14:10:24] local.INFO: Extracted packet for processing {"connection_id":176538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a78"} 
[2026-09-10 14:10:24] local.INFO: GPS Element Parsed {"raw_longitude":750580800,"raw_latitude":124618272,"longitude_deg":75.05808,"latitude_deg":12.4618272,"altitude":71,"angle":178,"satellites":44,"speed":59,"hex_longitude":"2cbcf440","hex_latitude":"076d8620","is_valid_coordinates":true} 
[2026-09-10 14:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991563776001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404157431870914560,"note":"Value kept but may cause issues"} 
[2026-09-10 14:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831306837101301760,"note":"Value kept but may cause issues"} 
[2026-09-10 14:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789029552000,"timestamp_ms":1789029552000,"timestamp_seconds":1789029552,"priority":1,"record_length":96,"hex_timestamp":"000001a08a788f80"} 
[2026-09-10 14:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:10: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-09-10 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991563776001,"66":28050,"3":206,"85":37888,"24":59,"16":404157431870914560,"44":-4831306837101301760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-10 14:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991563776001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:10:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 14:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404157431870914560,"km_value":404157431870914.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831306837101301760,"description":"Unknown IO ID 44"} 
[2026-09-10 14:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991563776001,"power":28050,"unknown_3":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4831306837101301760}} 
[2026-09-10 14:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":176538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:10:24] local.INFO: GPS data processed {"connection_id":176538,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:10:24] local.INFO: Acknowledgment sent {"connection_id":176538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:10:59] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a78a6f0012cbcf800076d6340004700ab2f..."} 
[2026-09-10 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a78a6f0012cbcf800076d6340004700ab2f..."} 
[2026-09-10 14:10:59] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a78a6f0012cbcf800076d6340004700ab2f..."} 
[2026-09-10 14:10:59] local.INFO: Packet analysis {"connection_id":176538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a78"} 
[2026-09-10 14:10:59] local.INFO: Extracted packet for processing {"connection_id":176538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a78"} 
[2026-09-10 14:10:59] local.INFO: GPS Element Parsed {"raw_longitude":750581760,"raw_latitude":124609344,"longitude_deg":75.058176,"latitude_deg":12.4609344,"altitude":71,"angle":171,"satellites":47,"speed":59,"hex_longitude":"2cbcf800","hex_latitude":"076d6340","is_valid_coordinates":true} 
[2026-09-10 14:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991565312001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404157865662611456,"note":"Value kept but may cause issues"} 
[2026-09-10 14:10:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831166099615244288,"note":"Value kept but may cause issues"} 
[2026-09-10 14:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789029558000,"timestamp_ms":1789029558000,"timestamp_seconds":1789029558,"priority":1,"record_length":96,"hex_timestamp":"000001a08a78a6f0"} 
[2026-09-10 14:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:10: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":146,"data_length":795,"current_offset":136} 
[2026-09-10 14:10:59] 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-09-10 14:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991565312001,"66":27843,"3":206,"85":37888,"24":59,"16":404157865662611456,"44":-4831166099615244288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-10 14:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991565312001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:10:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 14:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404157865662611456,"km_value":404157865662611.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:10:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831166099615244288,"description":"Unknown IO ID 44"} 
[2026-09-10 14:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991565312001,"power":27843,"unknown_3":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4831166099615244288}} 
[2026-09-10 14:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":176538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:10:59] local.INFO: GPS data processed {"connection_id":176538,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:10:59] local.INFO: Acknowledgment sent {"connection_id":176538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:11:19] local.INFO: TCP Data received {"connection_id":179092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:19] local.INFO: Processing buffer {"connection_id":179092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:19] local.INFO: IMEI packet received {"connection_id":179092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":179092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:11:22] local.INFO: TCP Data received {"connection_id":179092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:22] local.INFO: Processing buffer {"connection_id":179092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:22] local.INFO: IMEI packet received {"connection_id":179092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":179092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:11:24] local.INFO: TCP Data received {"connection_id":179092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:24] local.INFO: Processing buffer {"connection_id":179092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:11:24] local.INFO: IMEI packet received {"connection_id":179092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":179092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:11:25] local.INFO: TCP Data received {"connection_id":179092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a79b090012cbd4a00076be178003d009d2f..."} 
[2026-09-10 14:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a79b090012cbd4a00076be178003d009d2f..."} 
[2026-09-10 14:11:25] local.INFO: Processing buffer {"connection_id":179092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a79b090012cbd4a00076be178003d009d2f..."} 
[2026-09-10 14:11:25] local.INFO: Packet analysis {"connection_id":179092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a79"} 
[2026-09-10 14:11:25] local.INFO: Extracted packet for processing {"connection_id":179092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a79"} 
[2026-09-10 14:11:25] local.INFO: GPS Element Parsed {"raw_longitude":750602752,"raw_latitude":124510584,"longitude_deg":75.0602752,"latitude_deg":12.4510584,"altitude":61,"angle":157,"satellites":47,"speed":58,"hex_longitude":"2cbd4a00","hex_latitude":"076be178","is_valid_coordinates":true} 
[2026-09-10 14:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991582720001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404162761925328896,"note":"Value kept but may cause issues"} 
[2026-09-10 14:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4810196213875699712,"note":"Value kept but may cause issues"} 
[2026-09-10 14:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789029626000,"timestamp_ms":1789029626000,"timestamp_seconds":1789029626,"priority":1,"record_length":96,"hex_timestamp":"000001a08a79b090"} 
[2026-09-10 14:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:11: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-09-10 14:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 14:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991582720001,"66":27821,"2":206,"85":37888,"24":58,"16":404162761925328896,"44":-4810196213875699712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 14:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991582720001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404162761925328896,"km_value":404162761925328.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4810196213875699712,"description":"Unknown IO ID 44"} 
[2026-09-10 14:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991582720001,"power":27821,"power_alt":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4810196213875699712}} 
[2026-09-10 14:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":179092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:11:25] local.INFO: GPS data processed {"connection_id":179092,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:11:25] local.INFO: Acknowledgment sent {"connection_id":179092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:11:58] local.INFO: TCP Data received {"connection_id":179092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a79c800012cbd5b40076bc328003f009030..."} 
[2026-09-10 14:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a79c800012cbd5b40076bc328003f009030..."} 
[2026-09-10 14:11:58] local.INFO: Processing buffer {"connection_id":179092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a79c800012cbd5b40076bc328003f009030..."} 
[2026-09-10 14:11:58] local.INFO: Packet analysis {"connection_id":179092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a79"} 
[2026-09-10 14:11:58] local.INFO: Extracted packet for processing {"connection_id":179092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a79"} 
[2026-09-10 14:11:58] local.INFO: GPS Element Parsed {"raw_longitude":750607168,"raw_latitude":124502824,"longitude_deg":75.0607168,"latitude_deg":12.4502824,"altitude":63,"angle":144,"satellites":48,"speed":59,"hex_longitude":"2cbd5b40","hex_latitude":"076bc328","is_valid_coordinates":true} 
[2026-09-10 14:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991584256001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404163195717025792,"note":"Value kept but may cause issues"} 
[2026-09-10 14:11:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4807029620389873664,"note":"Value kept but may cause issues"} 
[2026-09-10 14:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789029632000,"timestamp_ms":1789029632000,"timestamp_seconds":1789029632,"priority":1,"record_length":96,"hex_timestamp":"000001a08a79c800"} 
[2026-09-10 14:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991584256001,"66":27919,"2":206,"85":37888,"24":59,"16":404163195717025792,"44":-4807029620389873664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 14:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991584256001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404163195717025792,"km_value":404163195717025.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:11:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4807029620389873664,"description":"Unknown IO ID 44"} 
[2026-09-10 14:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991584256001,"power":27919,"power_alt":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4807029620389873664}} 
[2026-09-10 14:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":179092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:11:58] local.INFO: GPS data processed {"connection_id":179092,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:11:58] local.INFO: Acknowledgment sent {"connection_id":179092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:12:08] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:12:08] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:12:08] local.INFO: IMEI packet received {"connection_id":176302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":176302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:12:24] local.INFO: TCP Data received {"connection_id":176539,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:24] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:24] local.INFO: IMEI packet received {"connection_id":176539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":176539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:12:25] local.INFO: TCP Data received {"connection_id":176539,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:25] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:25] local.INFO: IMEI packet received {"connection_id":176539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":176539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:12:29] local.INFO: TCP Data received {"connection_id":176539,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:29] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:12:29] local.INFO: IMEI packet received {"connection_id":176539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":176539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:12:30] local.INFO: TCP Data received {"connection_id":176539,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7aa6a8012cbdc700076aa028004600b630..."} 
[2026-09-10 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7aa6a8012cbdc700076aa028004600b630..."} 
[2026-09-10 14:12:30] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7aa6a8012cbdc700076aa028004600b630..."} 
[2026-09-10 14:12:30] local.INFO: Packet analysis {"connection_id":176539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7a"} 
[2026-09-10 14:12:30] local.INFO: Extracted packet for processing {"connection_id":176539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7a"} 
[2026-09-10 14:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750634752,"raw_latitude":124428328,"longitude_deg":75.0634752,"latitude_deg":12.4428328,"altitude":70,"angle":182,"satellites":48,"speed":59,"hex_longitude":"2cbdc700","hex_latitude":"076aa028","is_valid_coordinates":true} 
[2026-09-10 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991598848001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404167250166153216,"note":"Value kept but may cause issues"} 
[2026-09-10 14:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771493404598927360,"note":"Value kept but may cause issues"} 
[2026-09-10 14:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789029689000,"timestamp_ms":1789029689000,"timestamp_seconds":1789029689,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7aa6a8"} 
[2026-09-10 14:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:12: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-09-10 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 14:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991598848001,"66":26713,"2":206,"85":37888,"24":59,"16":404167250166153216,"44":-4771493404598927360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 14:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991598848001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404167250166153216,"km_value":404167250166153.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771493404598927360,"description":"Unknown IO ID 44"} 
[2026-09-10 14:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991598848001,"power":26713,"power_alt":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4771493404598927360}} 
[2026-09-10 14:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":176539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:12:30] local.INFO: GPS data processed {"connection_id":176539,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:12:30] local.INFO: Acknowledgment sent {"connection_id":176539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:12:39] local.INFO: TCP Data received {"connection_id":179093,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:12:39] local.INFO: Processing buffer {"connection_id":179093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:12:39] local.INFO: IMEI packet received {"connection_id":179093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":179093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:13:02] local.INFO: TCP Data received {"connection_id":176539,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7abe18012cbdc680076a7d40004600b42f..."} 
[2026-09-10 14:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7abe18012cbdc680076a7d40004600b42f..."} 
[2026-09-10 14:13:02] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7abe18012cbdc680076a7d40004600b42f..."} 
[2026-09-10 14:13:02] local.INFO: Packet analysis {"connection_id":176539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7a"} 
[2026-09-10 14:13:02] local.INFO: Extracted packet for processing {"connection_id":176539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7a"} 
[2026-09-10 14:13:02] local.INFO: GPS Element Parsed {"raw_longitude":750634624,"raw_latitude":124419392,"longitude_deg":75.0634624,"latitude_deg":12.4419392,"altitude":70,"angle":180,"satellites":47,"speed":59,"hex_longitude":"2cbdc680","hex_latitude":"076a7d40","is_valid_coordinates":true} 
[2026-09-10 14:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991600384001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404167683957850112,"note":"Value kept but may cause issues"} 
[2026-09-10 14:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771845248322099200,"note":"Value kept but may cause issues"} 
[2026-09-10 14:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789029695000,"timestamp_ms":1789029695000,"timestamp_seconds":1789029695,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7abe18"} 
[2026-09-10 14:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:13: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-09-10 14:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-09-10 14:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14: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-09-10 14:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991600384001,"66":26832,"101":206,"85":37888,"24":59,"16":404167683957850112,"44":-4771845248322099200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 14:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991600384001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:13:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404167683957850112,"km_value":404167683957850.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771845248322099200,"description":"Unknown IO ID 44"} 
[2026-09-10 14:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991600384001,"power":26832,"unknown_101":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4771845248322099200}} 
[2026-09-10 14:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":176539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:13:02] local.INFO: GPS data processed {"connection_id":176539,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:13:02] local.INFO: Acknowledgment sent {"connection_id":176539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:13:19] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:19] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:19] local.INFO: IMEI packet received {"connection_id":177723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":177723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:13:19] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:19] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:19] local.INFO: IMEI packet received {"connection_id":177723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":177723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:13:24] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:24] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:13:24] local.INFO: IMEI packet received {"connection_id":177723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":177723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:13:32] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7ad588012cbdc800076a5a48004500ad2f..."} 
[2026-09-10 14:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7ad588012cbdc800076a5a48004500ad2f..."} 
[2026-09-10 14:13:32] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7ad588012cbdc800076a5a48004500ad2f..."} 
[2026-09-10 14:13:32] local.INFO: Packet analysis {"connection_id":177723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7a"} 
[2026-09-10 14:13:32] local.INFO: Extracted packet for processing {"connection_id":177723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7a"} 
[2026-09-10 14:13:32] local.INFO: GPS Element Parsed {"raw_longitude":750635008,"raw_latitude":124410440,"longitude_deg":75.0635008,"latitude_deg":12.441044,"altitude":69,"angle":173,"satellites":47,"speed":59,"hex_longitude":"2cbdc800","hex_latitude":"076a5a48","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991601920001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404168117749547008,"note":"Value kept but may cause issues"} 
[2026-09-10 14:13:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771985985812742144,"note":"Value kept but may cause issues"} 
[2026-09-10 14:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789029701000,"timestamp_ms":1789029701000,"timestamp_seconds":1789029701,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7ad588"} 
[2026-09-10 14:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:13: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-09-10 14: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-10 14:13:32] 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-09-10 14: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-09-10 14:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:13: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-09-10 14:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991601920001,"66":27865,"101":206,"85":37888,"24":59,"16":404168117749547008,"44":-4771985985812742144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 14:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991601920001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:13:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 14:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404168117749547008,"km_value":404168117749547.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:13:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771985985812742144,"description":"Unknown IO ID 44"} 
[2026-09-10 14:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991601920001,"power":27865,"unknown_101":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4771985985812742144}} 
[2026-09-10 14:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":177723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:13:32] local.INFO: GPS data processed {"connection_id":177723,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:13:32] local.INFO: Acknowledgment sent {"connection_id":177723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:14:03] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7c2190012cbeb9c00768c1e80048006f30..."} 
[2026-09-10 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7c2190012cbeb9c00768c1e80048006f30..."} 
[2026-09-10 14:14:03] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7c2190012cbeb9c00768c1e80048006f30..."} 
[2026-09-10 14:14:03] local.INFO: Packet analysis {"connection_id":177723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:03] local.INFO: Extracted packet for processing {"connection_id":177723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":750696896,"raw_latitude":124305896,"longitude_deg":75.0696896,"latitude_deg":12.4305896,"altitude":72,"angle":111,"satellites":48,"speed":59,"hex_longitude":"2cbeb9c0","hex_latitude":"0768c1e8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991623936001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404174242372911104,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4710765178406320128,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789029786000,"timestamp_ms":1789029786000,"timestamp_seconds":1789029786,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7c2190"} 
[2026-09-10 14:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:14: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-09-10 14:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14: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-09-10 14:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991623936001,"66":27865,"22":206,"85":37888,"24":59,"16":404174242372911104,"44":-4710765178406320128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-10 14:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991623936001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:14:03] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-10 14:14:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404174242372911104,"km_value":404174242372911.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4710765178406320128,"description":"Unknown IO ID 44"} 
[2026-09-10 14:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991623936001,"power":27865,"unknown_22":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4710765178406320128}} 
[2026-09-10 14:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":177723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:14:03] local.INFO: GPS data processed {"connection_id":177723,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:14:03] local.INFO: Acknowledgment sent {"connection_id":177723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:14:37] local.INFO: TCP Data received {"connection_id":179095,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:14:37] local.INFO: Processing buffer {"connection_id":179095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:14:37] local.INFO: IMEI packet received {"connection_id":179095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":179095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:14:55] local.INFO: TCP Data received {"connection_id":179095,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 14:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179095,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 14:14:55] local.INFO: Processing buffer {"connection_id":179095,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 14:14:55] local.INFO: IMEI packet received {"connection_id":179095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":179095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:14:56] local.INFO: TCP Data received {"connection_id":179095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7c3ce8012cbee1400768b758004b006730..."} 
[2026-09-10 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7c3ce8012cbee1400768b758004b006730..."} 
[2026-09-10 14:14:56] local.INFO: Processing buffer {"connection_id":179095,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08a..."} 
[2026-09-10 14:14:56] local.INFO: IMEI packet received {"connection_id":179095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":179095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:14:57] local.INFO: TCP Data received {"connection_id":179095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7c5840012cbf08800768ae58004d006730..."} 
[2026-09-10 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7c5840012cbf08800768ae58004d006730..."} 
[2026-09-10 14:14:57] local.INFO: Processing buffer {"connection_id":179095,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08a7c3ce8012cbee1400768b758004b006730..."} 
[2026-09-10 14:14:57] local.INFO: Packet analysis {"connection_id":179095,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:57] local.INFO: Extracted packet for processing {"connection_id":179095,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":750707008,"raw_latitude":124303192,"longitude_deg":75.0707008,"latitude_deg":12.4303192,"altitude":75,"angle":103,"satellites":48,"speed":58,"hex_longitude":"2cbee140","hex_latitude":"0768b758","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991625216001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404174740589117440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4703517197756930048,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789029793000,"timestamp_ms":1789029793000,"timestamp_seconds":1789029793,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7c3ce8"} 
[2026-09-10 14:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:14: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-09-10 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 14:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991625216001,"66":27800,"227":206,"85":37888,"24":58,"16":404174740589117440,"44":-4703517197756930048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991625216001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404174740589117440,"km_value":404174740589117.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4703517197756930048,"description":"Unknown IO ID 44"} 
[2026-09-10 14:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991625216001,"power":27800,"unknown_227":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4703517197756930048}} 
[2026-09-10 14:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":179095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:14:57] local.INFO: GPS data processed {"connection_id":179095,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:14:57] local.INFO: Acknowledgment sent {"connection_id":179095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:14:57] local.INFO: Packet analysis {"connection_id":179095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:57] local.INFO: Extracted packet for processing {"connection_id":179095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":750717056,"raw_latitude":124300888,"longitude_deg":75.0717056,"latitude_deg":12.4300888,"altitude":77,"angle":103,"satellites":48,"speed":58,"hex_longitude":"2cbf0880","hex_latitude":"0768ae58","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991627008001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404175230215389184,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4692398936177551360,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789029800000,"timestamp_ms":1789029800000,"timestamp_seconds":1789029800,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7c5840"} 
[2026-09-10 14:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:14: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-09-10 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 14:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991627008001,"66":27908,"227":206,"85":37888,"24":58,"16":404175230215389184,"44":-4692398936177551360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-10 14:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991627008001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404175230215389184,"km_value":404175230215389.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4692398936177551360,"description":"Unknown IO ID 44"} 
[2026-09-10 14:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991627008001,"power":27908,"unknown_227":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4692398936177551360}} 
[2026-09-10 14:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":179095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:14:57] local.INFO: GPS data processed {"connection_id":179095,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:14:57] local.INFO: Acknowledgment sent {"connection_id":179095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:14:58] local.INFO: TCP Data received {"connection_id":179095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7c7398012cbf30400768a298004d00712f..."} 
[2026-09-10 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7c7398012cbf30400768a298004d00712f..."} 
[2026-09-10 14:14:58] local.INFO: Processing buffer {"connection_id":179095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7c7398012cbf30400768a298004d00712f..."} 
[2026-09-10 14:14:58] local.INFO: Packet analysis {"connection_id":179095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:58] local.INFO: Extracted packet for processing {"connection_id":179095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7c"} 
[2026-09-10 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":750727232,"raw_latitude":124297880,"longitude_deg":75.0727232,"latitude_deg":12.429788,"altitude":77,"angle":113,"satellites":47,"speed":59,"hex_longitude":"2cbf3040","hex_latitude":"0768a298","is_valid_coordinates":true} 
[2026-09-10 14:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991628800001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404175732726562816,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4681351043342247936,"note":"Value kept but may cause issues"} 
[2026-09-10 14:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789029807000,"timestamp_ms":1789029807000,"timestamp_seconds":1789029807,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7c7398"} 
[2026-09-10 14:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991628800001,"66":27713,"227":206,"85":37888,"24":59,"16":404175732726562816,"44":-4681351043342247936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-10 14:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991628800001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:14:58] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 14:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-10 14:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404175732726562816,"km_value":404175732726562.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4681351043342247936,"description":"Unknown IO ID 44"} 
[2026-09-10 14:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991628800001,"power":27713,"unknown_227":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4681351043342247936}} 
[2026-09-10 14:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":179095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:14:58] local.INFO: GPS data processed {"connection_id":179095,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:14:58] local.INFO: Acknowledgment sent {"connection_id":179095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:15:19] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:19] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:19] local.INFO: IMEI packet received {"connection_id":176304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":176304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:15:19] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:19] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:19] local.INFO: IMEI packet received {"connection_id":176304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":176304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:15:24] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:24] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:15:24] local.INFO: IMEI packet received {"connection_id":176304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":176304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:15:24] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7d5df8012cc021000767c198005000962f..."} 
[2026-09-10 14:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7d5df8012cc021000767c198005000962f..."} 
[2026-09-10 14:15:24] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7d5df8012cc021000767c198005000962f..."} 
[2026-09-10 14:15:24] local.INFO: Packet analysis {"connection_id":176304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:15:24] local.INFO: Extracted packet for processing {"connection_id":176304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:15:24] local.INFO: GPS Element Parsed {"raw_longitude":750788864,"raw_latitude":124240280,"longitude_deg":75.0788864,"latitude_deg":12.424028,"altitude":80,"angle":150,"satellites":47,"speed":58,"hex_longitude":"2cc02100","hex_latitude":"0767c198","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991645952001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404179812945494016,"note":"Value kept but may cause issues"} 
[2026-09-10 14:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4602397312390424576,"note":"Value kept but may cause issues"} 
[2026-09-10 14:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789029867000,"timestamp_ms":1789029867000,"timestamp_seconds":1789029867,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7d5df8"} 
[2026-09-10 14:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 14:15:24] 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-09-10 14: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-09-10 14:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991645952001,"66":27691,"45":206,"85":37120,"24":58,"16":404179812945494016,"44":-4602397312390424576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16,44]} 
[2026-09-10 14:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991645952001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-10 14:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404179812945494016,"km_value":404179812945494.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4602397312390424576,"description":"Unknown IO ID 44"} 
[2026-09-10 14:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991645952001,"power":27691,"unknown_45":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4602397312390424576}} 
[2026-09-10 14:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":176304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:15:24] local.INFO: GPS data processed {"connection_id":176304,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:15:24] local.INFO: Acknowledgment sent {"connection_id":176304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:15:56] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7d7950012cc0338007679e70004e009930..."} 
[2026-09-10 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7d7950012cc0338007679e70004e009930..."} 
[2026-09-10 14:15:56] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7d7950012cc0338007679e70004e009930..."} 
[2026-09-10 14:15:56] local.INFO: Packet analysis {"connection_id":176304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:15:56] local.INFO: Extracted packet for processing {"connection_id":176304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":750793600,"raw_latitude":124231280,"longitude_deg":75.07936,"latitude_deg":12.423128,"altitude":78,"angle":153,"satellites":48,"speed":58,"hex_longitude":"2cc03380","hex_latitude":"07679e70","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991645952001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404180302571765760,"note":"Value kept but may cause issues"} 
[2026-09-10 14:15:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4602397312390424576,"note":"Value kept but may cause issues"} 
[2026-09-10 14:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789029874000,"timestamp_ms":1789029874000,"timestamp_seconds":1789029874,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7d7950"} 
[2026-09-10 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-09-10 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 14:15:56] 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-09-10 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-09-10 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-09-10 14:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991645952001,"66":27876,"45":206,"85":37120,"24":58,"16":404180302571765760,"44":-4602397312390424576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16,44]} 
[2026-09-10 14:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991645952001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-10 14:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404180302571765760,"km_value":404180302571765.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:15:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4602397312390424576,"description":"Unknown IO ID 44"} 
[2026-09-10 14:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991645952001,"power":27876,"unknown_45":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4602397312390424576}} 
[2026-09-10 14:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":176304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:15:56] local.INFO: GPS data processed {"connection_id":176304,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:15:56] local.INFO: Acknowledgment sent {"connection_id":176304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:16:19] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:19] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:19] local.INFO: IMEI packet received {"connection_id":177725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":177725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:16:22] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:22] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:22] local.INFO: IMEI packet received {"connection_id":177725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":177725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:16:24] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:24] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:16:24] local.INFO: IMEI packet received {"connection_id":177725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":177725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:16:25] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7d94a8012cc048c007677bf8004b008f2e..."} 
[2026-09-10 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7d94a8012cc048c007677bf8004b008f2e..."} 
[2026-09-10 14:16:25] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7d94a8012cc048c007677bf8004b008f2e..."} 
[2026-09-10 14:16:25] local.INFO: Packet analysis {"connection_id":177725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:16:25] local.INFO: Extracted packet for processing {"connection_id":177725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:16:25] local.INFO: GPS Element Parsed {"raw_longitude":750799040,"raw_latitude":124222456,"longitude_deg":75.079904,"latitude_deg":12.4222456,"altitude":75,"angle":143,"satellites":46,"speed":59,"hex_longitude":"2cc048c0","hex_latitude":"07677bf8","is_valid_coordinates":true} 
[2026-09-10 14:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991647744001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404180800787972096,"note":"Value kept but may cause issues"} 
[2026-09-10 14:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4597190025323581440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789029881000,"timestamp_ms":1789029881000,"timestamp_seconds":1789029881,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7d94a8"} 
[2026-09-10 14:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:16: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-09-10 14:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 14:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991647744001,"66":27604,"45":206,"85":37120,"24":59,"16":404180800787972096,"44":-4597190025323581440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16,44]} 
[2026-09-10 14:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991647744001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-10 14:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404180800787972096,"km_value":404180800787972.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4597190025323581440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991647744001,"power":27604,"unknown_45":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4597190025323581440}} 
[2026-09-10 14:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":177725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:16:25] local.INFO: GPS data processed {"connection_id":177725,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:16:25] local.INFO: Acknowledgment sent {"connection_id":177725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:16:29] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7dac18012cc060c007676218004a00822e..."} 
[2026-09-10 14:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7dac18012cc060c007676218004a00822e..."} 
[2026-09-10 14:16:29] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7dac18012cc060c007676218004a00822e..."} 
[2026-09-10 14:16:29] local.INFO: Packet analysis {"connection_id":177725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:16:29] local.INFO: Extracted packet for processing {"connection_id":177725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7d"} 
[2026-09-10 14:16:29] local.INFO: GPS Element Parsed {"raw_longitude":750805184,"raw_latitude":124215832,"longitude_deg":75.0805184,"latitude_deg":12.4215832,"altitude":74,"angle":130,"satellites":46,"speed":59,"hex_longitude":"2cc060c0","hex_latitude":"07676218","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991649536001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404181238874636288,"note":"Value kept but may cause issues"} 
[2026-09-10 14:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4591208682070738944,"note":"Value kept but may cause issues"} 
[2026-09-10 14:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789029887000,"timestamp_ms":1789029887000,"timestamp_seconds":1789029887,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7dac18"} 
[2026-09-10 14:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 14:16:29] 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-09-10 14: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-09-10 14:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991649536001,"66":27865,"45":206,"85":37120,"24":59,"16":404181238874636288,"44":-4591208682070738944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16,44]} 
[2026-09-10 14:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991649536001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-10 14:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404181238874636288,"km_value":404181238874636.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4591208682070738944,"description":"Unknown IO ID 44"} 
[2026-09-10 14:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991649536001,"power":27865,"unknown_45":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4591208682070738944}} 
[2026-09-10 14:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":177725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:16:29] local.INFO: GPS data processed {"connection_id":177725,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:16:29] local.INFO: Acknowledgment sent {"connection_id":177725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:17:00] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7edcc8012cc1c24007668a08005600802f..."} 
[2026-09-10 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7edcc8012cc1c24007668a08005600802f..."} 
[2026-09-10 14:17:00] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7edcc8012cc1c24007668a08005600802f..."} 
[2026-09-10 14:17:00] local.INFO: Packet analysis {"connection_id":177725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7e"} 
[2026-09-10 14:17:00] local.INFO: Extracted packet for processing {"connection_id":177725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7e"} 
[2026-09-10 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":750895680,"raw_latitude":124160520,"longitude_deg":75.089568,"latitude_deg":12.416052,"altitude":86,"angle":128,"satellites":47,"speed":56,"hex_longitude":"2cc1c240","hex_latitude":"07668a08","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991669248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404186302641078272,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4494029446375839744,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789029965000,"timestamp_ms":1789029965000,"timestamp_seconds":1789029965,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7edcc8"} 
[2026-09-10 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-09-10 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-09-10 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":217,"data_length":795,"current_offset":136} 
[2026-09-10 14:17: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-09-10 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-09-10 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-09-10 14:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991669248001,"66":27908,"211":206,"85":37120,"24":56,"16":404186302641078272,"44":-4494029446375839744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-10 14:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991669248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:17:00] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-10 14:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404186302641078272,"km_value":404186302641078.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4494029446375839744,"description":"Unknown IO ID 44"} 
[2026-09-10 14:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991669248001,"power":27908,"unknown_211":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4494029446375839744}} 
[2026-09-10 14:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":177725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:17:00] local.INFO: GPS data processed {"connection_id":177725,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:17:00] local.INFO: Acknowledgment sent {"connection_id":177725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:17:19] local.INFO: TCP Data received {"connection_id":179097,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:19] local.INFO: Processing buffer {"connection_id":179097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:19] local.INFO: IMEI packet received {"connection_id":179097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":179097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:17:20] local.INFO: TCP Data received {"connection_id":179097,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:20] local.INFO: Processing buffer {"connection_id":179097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:20] local.INFO: IMEI packet received {"connection_id":179097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":179097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:17:24] local.INFO: TCP Data received {"connection_id":179097,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:24] local.INFO: Processing buffer {"connection_id":179097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:17:24] local.INFO: IMEI packet received {"connection_id":179097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":179097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:17:25] local.INFO: TCP Data received {"connection_id":179097,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7ef820012cc1e0c007666eb8005600892f..."} 
[2026-09-10 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7ef820012cc1e0c007666eb8005600892f..."} 
[2026-09-10 14:17:25] local.INFO: Processing buffer {"connection_id":179097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7ef820012cc1e0c007666eb8005600892f..."} 
[2026-09-10 14:17:25] local.INFO: Packet analysis {"connection_id":179097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7e"} 
[2026-09-10 14:17:25] local.INFO: Extracted packet for processing {"connection_id":179097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7e"} 
[2026-09-10 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":750903488,"raw_latitude":124153528,"longitude_deg":75.0903488,"latitude_deg":12.4153528,"altitude":86,"angle":137,"satellites":47,"speed":61,"hex_longitude":"2cc1e0c0","hex_latitude":"07666eb8","is_valid_coordinates":true} 
[2026-09-10 14:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991671040001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404186805152251904,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4484951878378321920,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789029972000,"timestamp_ms":1789029972000,"timestamp_seconds":1789029972,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7ef820"} 
[2026-09-10 14:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:17: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-09-10 14:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991671040001,"66":27745,"211":206,"85":37120,"24":61,"16":404186805152251904,"44":-4484951878378321920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-10 14:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991671040001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:17:25] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-10 14:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404186805152251904,"km_value":404186805152251.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4484951878378321920,"description":"Unknown IO ID 44"} 
[2026-09-10 14:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991671040001,"power":27745,"unknown_211":206,"unknown_85":37120,"ignition":61,"odometer":null,"unknown_44":-4484951878378321920}} 
[2026-09-10 14:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":179097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:17:25] local.INFO: GPS data processed {"connection_id":179097,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:17:25] local.INFO: Acknowledgment sent {"connection_id":179097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:17:56] local.INFO: TCP Data received {"connection_id":179097,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7fee38012cc27fc007658b90005400772e..."} 
[2026-09-10 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7fee38012cc27fc007658b90005400772e..."} 
[2026-09-10 14:17:56] local.INFO: Processing buffer {"connection_id":179097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7fee38012cc27fc007658b90005400772e..."} 
[2026-09-10 14:17:56] local.INFO: Packet analysis {"connection_id":179097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7f"} 
[2026-09-10 14:17:56] local.INFO: Extracted packet for processing {"connection_id":179097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7f"} 
[2026-09-10 14:17:56] local.INFO: GPS Element Parsed {"raw_longitude":750944192,"raw_latitude":124095376,"longitude_deg":75.0944192,"latitude_deg":12.4095376,"altitude":84,"angle":119,"satellites":46,"speed":11,"hex_longitude":"2cc27fc0","hex_latitude":"07658b90","is_valid_coordinates":true} 
[2026-09-10 14:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991686400001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404190279780794368,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4435764126214002688,"note":"Value kept but may cause issues"} 
[2026-09-10 14:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030035000,"timestamp_ms":1789030035000,"timestamp_seconds":1789030035,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7fee38"} 
[2026-09-10 14:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991686400001,"66":27865,"209":206,"85":37120,"24":11,"16":404190279780794368,"44":-4435764126214002688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 14:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991686400001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:17:56] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 14:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404190279780794368,"km_value":404190279780794.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:17:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4435764126214002688,"description":"Unknown IO ID 44"} 
[2026-09-10 14:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991686400001,"power":27865,"unknown_209":206,"unknown_85":37120,"ignition":11,"odometer":null,"unknown_44":-4435764126214002688}} 
[2026-09-10 14:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":179097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:17:56] local.INFO: GPS data processed {"connection_id":179097,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:17:56] local.INFO: Acknowledgment sent {"connection_id":179097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:18:16] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:18:16] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:18:16] local.INFO: IMEI packet received {"connection_id":176306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":176306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:18:22] local.INFO: TCP Data received {"connection_id":179098,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:22] local.INFO: Processing buffer {"connection_id":179098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:22] local.INFO: IMEI packet received {"connection_id":179098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":179098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:18:24] local.INFO: TCP Data received {"connection_id":179098,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:24] local.INFO: Processing buffer {"connection_id":179098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:24] local.INFO: IMEI packet received {"connection_id":179098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":179098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:18:30] local.INFO: TCP Data received {"connection_id":179098,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:30] local.INFO: Processing buffer {"connection_id":179098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:18:30] local.INFO: IMEI packet received {"connection_id":179098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":179098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:18:32] local.INFO: TCP Data received {"connection_id":179098,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7ff220012cc280c007658b180054006b2e..."} 
[2026-09-10 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7ff220012cc280c007658b180054006b2e..."} 
[2026-09-10 14:18:32] local.INFO: Processing buffer {"connection_id":179098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7ff220012cc280c007658b180054006b2e..."} 
[2026-09-10 14:18:32] local.INFO: Packet analysis {"connection_id":179098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7f"} 
[2026-09-10 14:18:32] local.INFO: Extracted packet for processing {"connection_id":179098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7f"} 
[2026-09-10 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":750944448,"raw_latitude":124095256,"longitude_deg":75.0944448,"latitude_deg":12.4095256,"altitude":84,"angle":107,"satellites":46,"speed":10,"hex_longitude":"2cc280c0","hex_latitude":"07658b18","is_valid_coordinates":true} 
[2026-09-10 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991688960001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404190288370728960,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431612370308329472,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789030036000,"timestamp_ms":1789030036000,"timestamp_seconds":1789030036,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7ff220"} 
[2026-09-10 14:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:18: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-09-10 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 14:18: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-09-10 14:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:18: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-09-10 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991688960001,"66":27865,"209":206,"85":37120,"24":10,"16":404190288370728960,"44":-4431612370308329472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991688960001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404190288370728960,"km_value":404190288370728.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431612370308329472,"description":"Unknown IO ID 44"} 
[2026-09-10 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991688960001,"power":27865,"unknown_209":206,"unknown_85":37120,"ignition":10,"odometer":null,"unknown_44":-4431612370308329472}} 
[2026-09-10 14:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":179098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:18:32] local.INFO: GPS data processed {"connection_id":179098,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:18:32] local.INFO: Acknowledgment sent {"connection_id":179098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:18:32] local.INFO: TCP Data received {"connection_id":179098,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a7ff608012cc2818007658af80054005e2f..."} 
[2026-09-10 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a7ff608012cc2818007658af80054005e2f..."} 
[2026-09-10 14:18:32] local.INFO: Processing buffer {"connection_id":179098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a7ff608012cc2818007658af80054005e2f..."} 
[2026-09-10 14:18:32] local.INFO: Packet analysis {"connection_id":179098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a7f"} 
[2026-09-10 14:18:32] local.INFO: Extracted packet for processing {"connection_id":179098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a7f"} 
[2026-09-10 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":750944640,"raw_latitude":124095224,"longitude_deg":75.094464,"latitude_deg":12.4095224,"altitude":84,"angle":94,"satellites":47,"speed":9,"hex_longitude":"2cc28180","hex_latitude":"07658af8","is_valid_coordinates":true} 
[2026-09-10 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991689216001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404190301255630848,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431330895331649536,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789030037000,"timestamp_ms":1789030037000,"timestamp_seconds":1789030037,"priority":1,"record_length":96,"hex_timestamp":"000001a08a7ff608"} 
[2026-09-10 14:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:18: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-09-10 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 14:18: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-09-10 14:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:18: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-09-10 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991689216001,"66":27865,"209":206,"85":37120,"24":9,"16":404190301255630848,"44":-4431330895331649536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991689216001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404190301255630848,"km_value":404190301255630.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431330895331649536,"description":"Unknown IO ID 44"} 
[2026-09-10 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991689216001,"power":27865,"unknown_209":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4431330895331649536}} 
[2026-09-10 14:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":179098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:18:32] local.INFO: GPS data processed {"connection_id":179098,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:18:32] local.INFO: Acknowledgment sent {"connection_id":179098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:18:40] local.INFO: TCP Data received {"connection_id":177726,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:40] local.INFO: Processing buffer {"connection_id":177726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:40] local.INFO: IMEI packet received {"connection_id":177726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":177726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:18:41] local.INFO: TCP Data received {"connection_id":177726,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:41] local.INFO: Processing buffer {"connection_id":177726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:41] local.INFO: IMEI packet received {"connection_id":177726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:18:42] local.INFO: TCP Data received {"connection_id":177726,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:42] local.INFO: Processing buffer {"connection_id":177726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:42] local.INFO: IMEI packet received {"connection_id":177726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":177726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:18:47] local.INFO: TCP Data received {"connection_id":177726,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:47] local.INFO: Processing buffer {"connection_id":177726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:18:47] local.INFO: IMEI packet received {"connection_id":177726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":177726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:18:48] local.INFO: TCP Data received {"connection_id":177726,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a804428012d1b0d80071f8360003c012622..."} 
[2026-09-10 14:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a804428012d1b0d80071f8360003c012622..."} 
[2026-09-10 14:18:48] local.INFO: Processing buffer {"connection_id":177726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a804428012d1b0d80071f8360003c012622..."} 
[2026-09-10 14:18:48] local.INFO: Packet analysis {"connection_id":177726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:18:48] local.INFO: Extracted packet for processing {"connection_id":177726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756747648,"raw_latitude":119505760,"longitude_deg":75.6747648,"latitude_deg":11.950576,"altitude":60,"angle":294,"satellites":34,"speed":0,"hex_longitude":"2d1b0d80","hex_latitude":"071f8360","is_valid_coordinates":true} 
[2026-09-10 14:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991689216001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19258745024413696,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955054850080821248,"note":"Value kept but may cause issues"} 
[2026-09-10 14:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789030057000,"timestamp_ms":1789030057000,"timestamp_seconds":1789030057,"priority":1,"record_length":96,"hex_timestamp":"000001a08a804428"} 
[2026-09-10 14:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 14:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991689216001,"66":14374,"121":206,"28":31744,"24":0,"16":19258745024413696,"45":1955054850080821248},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991689216001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19258745024413696,"km_value":19258745024413.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955054850080821248,"description":"Unknown IO ID 45"} 
[2026-09-10 14:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991689216001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1955054850080821248}} 
[2026-09-10 14:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":177726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:18:48] local.INFO: GPS data processed {"connection_id":177726,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:18:48] local.INFO: Acknowledgment sent {"connection_id":177726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:19:04] local.INFO: TCP Data received {"connection_id":179098,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a80d0c8012cc2988007665b90004b00162b..."} 
[2026-09-10 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a80d0c8012cc2988007665b90004b00162b..."} 
[2026-09-10 14:19:04] local.INFO: Processing buffer {"connection_id":179098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a80d0c8012cc2988007665b90004b00162b..."} 
[2026-09-10 14:19:04] local.INFO: Packet analysis {"connection_id":179098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:19:04] local.INFO: Extracted packet for processing {"connection_id":179098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":750950528,"raw_latitude":124148624,"longitude_deg":75.0950528,"latitude_deg":12.4148624,"altitude":75,"angle":22,"satellites":43,"speed":45,"hex_longitude":"2cc29880","hex_latitude":"07665b90","is_valid_coordinates":true} 
[2026-09-10 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991702784001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404193114459209728,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4425912502017406976,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789030093000,"timestamp_ms":1789030093000,"timestamp_seconds":1789030093,"priority":1,"record_length":96,"hex_timestamp":"000001a08a80d0c8"} 
[2026-09-10 14:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:19: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-09-10 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 14:19: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-09-10 14:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19: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-09-10 14:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991702784001,"66":27691,"209":206,"85":37120,"24":45,"16":404193114459209728,"44":-4425912502017406976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 14:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991702784001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:19:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 14:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404193114459209728,"km_value":404193114459209.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4425912502017406976,"description":"Unknown IO ID 44"} 
[2026-09-10 14:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991702784001,"power":27691,"unknown_209":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4425912502017406976}} 
[2026-09-10 14:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":179098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:19:04] local.INFO: GPS data processed {"connection_id":179098,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:19:04] local.INFO: Acknowledgment sent {"connection_id":179098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:19:18] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:18] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:18] local.INFO: IMEI packet received {"connection_id":176540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":176540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:19:19] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:19] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:19] local.INFO: IMEI packet received {"connection_id":176540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":176540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:19:20] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:20] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:20] local.INFO: IMEI packet received {"connection_id":176540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":176540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:19:22] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:22] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:19:22] local.INFO: IMEI packet received {"connection_id":176540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":176540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:19:23] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a80e450012cc2a48007666fb0004c00222d..."} 
[2026-09-10 14:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a80e450012cc2a48007666fb0004c00222d..."} 
[2026-09-10 14:19:23] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a80e450012cc2a48007666fb0004c00222d..."} 
[2026-09-10 14:19:23] local.INFO: Packet analysis {"connection_id":176540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:19:23] local.INFO: Extracted packet for processing {"connection_id":176540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:19:23] local.INFO: GPS Element Parsed {"raw_longitude":750953600,"raw_latitude":124153776,"longitude_deg":75.09536,"latitude_deg":12.4153776,"altitude":76,"angle":34,"satellites":45,"speed":48,"hex_longitude":"2cc2a480","hex_latitude":"07666fb0","is_valid_coordinates":true} 
[2026-09-10 14:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991703808001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404193402222018560,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424645864621109248,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789030098000,"timestamp_ms":1789030098000,"timestamp_seconds":1789030098,"priority":1,"record_length":96,"hex_timestamp":"000001a08a80e450"} 
[2026-09-10 14:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:19: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-09-10 14:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 14:19:23] 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-09-10 14:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991703808001,"66":27908,"209":206,"85":37120,"24":48,"16":404193402222018560,"44":-4424645864621109248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 14:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991703808001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:19:23] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 14:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404193402222018560,"km_value":404193402222018.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424645864621109248,"description":"Unknown IO ID 44"} 
[2026-09-10 14:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991703808001,"power":27908,"unknown_209":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4424645864621109248}} 
[2026-09-10 14:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":176540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:19:23] local.INFO: GPS data processed {"connection_id":176540,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:19:23] local.INFO: Acknowledgment sent {"connection_id":176540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:19:24] local.INFO: TCP Data received {"connection_id":179099,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:24] local.INFO: Processing buffer {"connection_id":179099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:24] local.INFO: IMEI packet received {"connection_id":179099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":179099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:19:24] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a80f3f0012cc2b20007667e80004c00302c..."} 
[2026-09-10 14:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a80f3f0012cc2b20007667e80004c00302c..."} 
[2026-09-10 14:19:24] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a80f3f0012cc2b20007667e80004c00302c..."} 
[2026-09-10 14:19:24] local.INFO: Packet analysis {"connection_id":176540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:19:24] local.INFO: Extracted packet for processing {"connection_id":176540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a80"} 
[2026-09-10 14:19:24] local.INFO: GPS Element Parsed {"raw_longitude":750957056,"raw_latitude":124157568,"longitude_deg":75.0957056,"latitude_deg":12.4157568,"altitude":76,"angle":48,"satellites":44,"speed":52,"hex_longitude":"2cc2b200","hex_latitude":"07667e80","is_valid_coordinates":true} 
[2026-09-10 14:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991705088001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404193651330121728,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421268164899262464,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789030102000,"timestamp_ms":1789030102000,"timestamp_seconds":1789030102,"priority":1,"record_length":96,"hex_timestamp":"000001a08a80f3f0"} 
[2026-09-10 14:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:19: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-09-10 14:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991705088001,"66":27908,"209":206,"85":37120,"24":52,"16":404193651330121728,"44":-4421268164899262464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 14:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991705088001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:19:24] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 14:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404193651330121728,"km_value":404193651330121.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421268164899262464,"description":"Unknown IO ID 44"} 
[2026-09-10 14:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991705088001,"power":27908,"unknown_209":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4421268164899262464}} 
[2026-09-10 14:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":176540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:19:24] local.INFO: GPS data processed {"connection_id":176540,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:19:24] local.INFO: Acknowledgment sent {"connection_id":176540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:19:25] local.INFO: TCP Data received {"connection_id":179099,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:25] local.INFO: Processing buffer {"connection_id":179099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:25] local.INFO: IMEI packet received {"connection_id":179099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":179099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:19:26] local.INFO: TCP Data received {"connection_id":179099,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:26] local.INFO: Processing buffer {"connection_id":179099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:26] local.INFO: IMEI packet received {"connection_id":179099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":179099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:19:27] local.INFO: TCP Data received {"connection_id":179099,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:27] local.INFO: Processing buffer {"connection_id":179099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:19:27] local.INFO: IMEI packet received {"connection_id":179099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":179099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:19:55] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a810f48012cc2d04007669628004d00362e..."} 
[2026-09-10 14:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a810f48012cc2d04007669628004d00362e..."} 
[2026-09-10 14:19:55] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a810f48012cc2d04007669628004d00362e..."} 
[2026-09-10 14:19:55] local.INFO: Packet analysis {"connection_id":176540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a81"} 
[2026-09-10 14:19:55] local.INFO: Extracted packet for processing {"connection_id":176540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a81"} 
[2026-09-10 14:19:55] local.INFO: GPS Element Parsed {"raw_longitude":750964800,"raw_latitude":124163624,"longitude_deg":75.09648,"latitude_deg":12.4163624,"altitude":77,"angle":54,"satellites":46,"speed":58,"hex_longitude":"2cc2d040","hex_latitude":"07669628","is_valid_coordinates":true} 
[2026-09-10 14:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991706112001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404194119481556992,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4417468252712697856,"note":"Value kept but may cause issues"} 
[2026-09-10 14:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789030109000,"timestamp_ms":1789030109000,"timestamp_seconds":1789030109,"priority":1,"record_length":96,"hex_timestamp":"000001a08a810f48"} 
[2026-09-10 14:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991706112001,"66":27843,"88":206,"85":37120,"24":58,"16":404194119481556992,"44":-4417468252712697856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 14:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991706112001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:19:55] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 14:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404194119481556992,"km_value":404194119481557.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4417468252712697856,"description":"Unknown IO ID 44"} 
[2026-09-10 14:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991706112001,"power":27843,"unknown_88":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4417468252712697856}} 
[2026-09-10 14:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":176540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:19:55] local.INFO: GPS data processed {"connection_id":176540,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:19:55] local.INFO: Acknowledgment sent {"connection_id":176540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:20:08] local.INFO: TCP Data received {"connection_id":176541,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:20:08] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:20:08] local.INFO: IMEI packet received {"connection_id":176541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":176541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:20:23] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:23] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:23] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:20:24] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:24] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:24] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:20:29] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:29] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:20:29] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:20:30] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a81d680012cc3760007675dc8005a00122e..."} 
[2026-09-10 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a81d680012cc3760007675dc8005a00122e..."} 
[2026-09-10 14:20:30] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a81d680012cc3760007675dc8005a00122e..."} 
[2026-09-10 14:20:30] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a81"} 
[2026-09-10 14:20:30] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a81"} 
[2026-09-10 14:20:30] local.INFO: GPS Element Parsed {"raw_longitude":751007232,"raw_latitude":124214728,"longitude_deg":75.1007232,"latitude_deg":12.4214728,"altitude":90,"angle":18,"satellites":46,"speed":59,"hex_longitude":"2cc37600","hex_latitude":"07675dc8","is_valid_coordinates":true} 
[2026-09-10 14:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991719168001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404197465261080576,"note":"Value kept but may cause issues"} 
[2026-09-10 14:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4365747225729898496,"note":"Value kept but may cause issues"} 
[2026-09-10 14:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789030160000,"timestamp_ms":1789030160000,"timestamp_seconds":1789030160,"priority":1,"record_length":96,"hex_timestamp":"000001a08a81d680"} 
[2026-09-10 14:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:20: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-09-10 14:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 14:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991719168001,"66":27876,"88":206,"85":37120,"24":59,"16":404197465261080576,"44":-4365747225729898496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 14:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991719168001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:20:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 14:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404197465261080576,"km_value":404197465261080.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4365747225729898496,"description":"Unknown IO ID 44"} 
[2026-09-10 14:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991719168001,"power":27876,"unknown_88":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4365747225729898496}} 
[2026-09-10 14:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:20:30] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:20:30] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:21:01] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a81edf0012cc3814007677fd0005a000e2d..."} 
[2026-09-10 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a81edf0012cc3814007677fd0005a000e2d..."} 
[2026-09-10 14:21:01] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a81edf0012cc3814007677fd0005a000e2d..."} 
[2026-09-10 14:21:01] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a81"} 
[2026-09-10 14:21:01] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a81"} 
[2026-09-10 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":751010112,"raw_latitude":124223440,"longitude_deg":75.1010112,"latitude_deg":12.422344,"altitude":90,"angle":14,"satellites":45,"speed":59,"hex_longitude":"2cc38140","hex_latitude":"07677fd0","is_valid_coordinates":true} 
[2026-09-10 14:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991720960001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404197911937679360,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4362299157262776320,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789030166000,"timestamp_ms":1789030166000,"timestamp_seconds":1789030166,"priority":1,"record_length":96,"hex_timestamp":"000001a08a81edf0"} 
[2026-09-10 14:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":228,"data_length":795,"current_offset":136} 
[2026-09-10 14:21: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-09-10 14:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:21: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-09-10 14:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991720960001,"66":27843,"88":206,"85":37120,"24":59,"16":404197911937679360,"44":-4362299157262776320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 14:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991720960001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:21:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 14:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404197911937679360,"km_value":404197911937679.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4362299157262776320,"description":"Unknown IO ID 44"} 
[2026-09-10 14:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991720960001,"power":27843,"unknown_88":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4362299157262776320}} 
[2026-09-10 14:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:21:01] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:21:01] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:21:19] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:21:19] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:21:19] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:21:24] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:21:24] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:21:24] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:21:25] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a820d30012cc38a400767a3380058000a2a..."} 
[2026-09-10 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a820d30012cc38a400767a3380058000a2a..."} 
[2026-09-10 14:21:25] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a820d30012cc38a400767a3380058000a2a..."} 
[2026-09-10 14:21:25] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:21:25] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:21:25] local.INFO: GPS Element Parsed {"raw_longitude":751012416,"raw_latitude":124232504,"longitude_deg":75.1012416,"latitude_deg":12.4232504,"altitude":88,"angle":10,"satellites":42,"speed":30,"hex_longitude":"2cc38a40","hex_latitude":"0767a338","is_valid_coordinates":true} 
[2026-09-10 14:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991722496001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404198362909245440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4359132563772551168,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030174000,"timestamp_ms":1789030174000,"timestamp_seconds":1789030174,"priority":1,"record_length":96,"hex_timestamp":"000001a08a820d30"} 
[2026-09-10 14:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:21: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-09-10 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 14:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991722496001,"66":27615,"88":206,"85":37120,"24":30,"16":404198362909245440,"44":-4359132563772551168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 14:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991722496001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:21:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 14:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404198362909245440,"km_value":404198362909245.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4359132563772551168,"description":"Unknown IO ID 44"} 
[2026-09-10 14:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991722496001,"power":27615,"unknown_88":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4359132563772551168}} 
[2026-09-10 14:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:21:25] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:21:25] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:21:56] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8218e8012cc38b400767ac58005701652d..."} 
[2026-09-10 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8218e8012cc38b400767ac58005701652d..."} 
[2026-09-10 14:21:56] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8218e8012cc38b400767ac58005701652d..."} 
[2026-09-10 14:21:56] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:21:56] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:21:56] local.INFO: GPS Element Parsed {"raw_longitude":751012672,"raw_latitude":124234840,"longitude_deg":75.1012672,"latitude_deg":12.423484,"altitude":87,"angle":357,"satellites":45,"speed":33,"hex_longitude":"2cc38b40","hex_latitude":"0767ac58","is_valid_coordinates":true} 
[2026-09-10 14:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991724544001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404198478873362432,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356599288979834880,"note":"Value kept but may cause issues"} 
[2026-09-10 14:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030177000,"timestamp_ms":1789030177000,"timestamp_seconds":1789030177,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8218e8"} 
[2026-09-10 14:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 14:21:56] 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-09-10 14:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991724544001,"66":27691,"88":206,"85":37120,"24":33,"16":404198478873362432,"44":-4356599288979834880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 14:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991724544001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:21:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 14:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404198478873362432,"km_value":404198478873362.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:21:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356599288979834880,"description":"Unknown IO ID 44"} 
[2026-09-10 14:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991724544001,"power":27691,"unknown_88":206,"unknown_85":37120,"ignition":33,"odometer":null,"unknown_44":-4356599288979834880}} 
[2026-09-10 14:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:21:56] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:21:56] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:22:19] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:22:19] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:22:19] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:22:24] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:22:24] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:22:24] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:22:25] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8220b8012cc389c00767b300005601502e..."} 
[2026-09-10 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8220b8012cc389c00767b300005601502e..."} 
[2026-09-10 14:22:25] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8220b8012cc389c00767b300005601502e..."} 
[2026-09-10 14:22:25] local.INFO: Packet analysis {"connection_id":176545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:22:25] local.INFO: Extracted packet for processing {"connection_id":176545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":751012288,"raw_latitude":124236544,"longitude_deg":75.1012288,"latitude_deg":12.4236544,"altitude":86,"angle":336,"satellites":46,"speed":37,"hex_longitude":"2cc389c0","hex_latitude":"0767b300","is_valid_coordinates":true} 
[2026-09-10 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991725312001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404198564772708352,"note":"Value kept but may cause issues"} 
[2026-09-10 14:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356317814002526208,"note":"Value kept but may cause issues"} 
[2026-09-10 14:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030179000,"timestamp_ms":1789030179000,"timestamp_seconds":1789030179,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8220b8"} 
[2026-09-10 14:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:22: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-09-10 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 14:22:25] 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-09-10 14:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991725312001,"66":27745,"88":206,"85":37120,"24":37,"16":404198564772708352,"44":-4356317814002526208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 14:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991725312001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:22:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 14:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404198564772708352,"km_value":404198564772708.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356317814002526208,"description":"Unknown IO ID 44"} 
[2026-09-10 14:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991725312001,"power":27745,"unknown_88":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4356317814002526208}} 
[2026-09-10 14:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":176545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:22:25] local.INFO: GPS data processed {"connection_id":176545,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:22:25] local.INFO: Acknowledgment sent {"connection_id":176545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:22:56] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a822c70012cc383000767bd38005501422f..."} 
[2026-09-10 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a822c70012cc383000767bd38005501422f..."} 
[2026-09-10 14:22:56] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a822c70012cc383000767bd38005501422f..."} 
[2026-09-10 14:22:56] local.INFO: Packet analysis {"connection_id":176545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:22:56] local.INFO: Extracted packet for processing {"connection_id":176545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:22:56] local.INFO: GPS Element Parsed {"raw_longitude":751010560,"raw_latitude":124239160,"longitude_deg":75.101056,"latitude_deg":12.423916,"altitude":85,"angle":322,"satellites":47,"speed":44,"hex_longitude":"2cc38300","hex_latitude":"0767bd38","is_valid_coordinates":true} 
[2026-09-10 14:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991725824001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404198715096563712,"note":"Value kept but may cause issues"} 
[2026-09-10 14:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356740026467155968,"note":"Value kept but may cause issues"} 
[2026-09-10 14:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030182000,"timestamp_ms":1789030182000,"timestamp_seconds":1789030182,"priority":1,"record_length":96,"hex_timestamp":"000001a08a822c70"} 
[2026-09-10 14:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 14:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991725824001,"66":27647,"88":206,"85":37120,"24":44,"16":404198715096563712,"44":-4356740026467155968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 14:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991725824001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:22:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 14:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404198715096563712,"km_value":404198715096563.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356740026467155968,"description":"Unknown IO ID 44"} 
[2026-09-10 14:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991725824001,"power":27647,"unknown_88":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4356740026467155968}} 
[2026-09-10 14:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":176545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:22:56] local.INFO: GPS data processed {"connection_id":176545,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:22:56] local.INFO: Acknowledgment sent {"connection_id":176545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:23:24] local.INFO: TCP Data received {"connection_id":179102,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:23:24] local.INFO: Processing buffer {"connection_id":179102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:23:24] local.INFO: IMEI packet received {"connection_id":179102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":179102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:23:29] local.INFO: TCP Data received {"connection_id":179102,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:23:29] local.INFO: Processing buffer {"connection_id":179102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:23:29] local.INFO: IMEI packet received {"connection_id":179102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":179102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:23:30] local.INFO: TCP Data received {"connection_id":179102,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a823828012cc379400767c6e8005401342e..."} 
[2026-09-10 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a823828012cc379400767c6e8005401342e..."} 
[2026-09-10 14:23:30] local.INFO: Processing buffer {"connection_id":179102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a823828012cc379400767c6e8005401342e..."} 
[2026-09-10 14:23:30] local.INFO: Packet analysis {"connection_id":179102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:23:30] local.INFO: Extracted packet for processing {"connection_id":179102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":751008064,"raw_latitude":124241640,"longitude_deg":75.1008064,"latitude_deg":12.424164,"altitude":84,"angle":308,"satellites":46,"speed":48,"hex_longitude":"2cc37940","hex_latitude":"0767c6e8","is_valid_coordinates":true} 
[2026-09-10 14:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991726592001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404198882600288256,"note":"Value kept but may cause issues"} 
[2026-09-10 14:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4358639982559283200,"note":"Value kept but may cause issues"} 
[2026-09-10 14:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789030185000,"timestamp_ms":1789030185000,"timestamp_seconds":1789030185,"priority":1,"record_length":96,"hex_timestamp":"000001a08a823828"} 
[2026-09-10 14:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:23: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-09-10 14:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 14:23:30] 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-09-10 14:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991726592001,"66":26658,"89":206,"85":37120,"24":48,"16":404198882600288256,"44":-4358639982559283200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991726592001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:23:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404198882600288256,"km_value":404198882600288.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4358639982559283200,"description":"Unknown IO ID 44"} 
[2026-09-10 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991726592001,"power":26658,"unknown_89":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4358639982559283200}} 
[2026-09-10 14:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":179102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:23:30] local.INFO: GPS data processed {"connection_id":179102,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:23:30] local.INFO: Acknowledgment sent {"connection_id":179102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:23:34] local.INFO: TCP Data received {"connection_id":179102,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a825380012cc35f400767deb80056013c2e..."} 
[2026-09-10 14:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a825380012cc35f400767deb80056013c2e..."} 
[2026-09-10 14:23:34] local.INFO: Processing buffer {"connection_id":179102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a825380012cc35f400767deb80056013c2e..."} 
[2026-09-10 14:23:34] local.INFO: Packet analysis {"connection_id":179102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:23:34] local.INFO: Extracted packet for processing {"connection_id":179102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:23:34] local.INFO: GPS Element Parsed {"raw_longitude":751001408,"raw_latitude":124247736,"longitude_deg":75.1001408,"latitude_deg":12.4247736,"altitude":86,"angle":316,"satellites":46,"speed":51,"hex_longitude":"2cc35f40","hex_latitude":"0767deb8","is_valid_coordinates":true} 
[2026-09-10 14:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991727360001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404199316391985152,"note":"Value kept but may cause issues"} 
[2026-09-10 14:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361384363581577216,"note":"Value kept but may cause issues"} 
[2026-09-10 14:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030192000,"timestamp_ms":1789030192000,"timestamp_seconds":1789030192,"priority":1,"record_length":96,"hex_timestamp":"000001a08a825380"} 
[2026-09-10 14:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 14:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:23: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-09-10 14:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991727360001,"66":27332,"89":206,"85":37120,"24":51,"16":404199316391985152,"44":-4361384363581577216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991727360001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:23:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:23:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404199316391985152,"km_value":404199316391985.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:23:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361384363581577216,"description":"Unknown IO ID 44"} 
[2026-09-10 14:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991727360001,"power":27332,"unknown_89":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4361384363581577216}} 
[2026-09-10 14:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":179102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:23:34] local.INFO: GPS data processed {"connection_id":179102,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:23:34] local.INFO: Acknowledgment sent {"connection_id":179102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:24:19] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:24:19] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:24:19] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:24:24] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:24:24] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:24:24] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:24:25] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a826708012cc34f400767f250005701492f..."} 
[2026-09-10 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a826708012cc34f400767f250005701492f..."} 
[2026-09-10 14:24:25] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a826708012cc34f400767f250005701492f..."} 
[2026-09-10 14:24:25] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:24:25] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:24:25] local.INFO: GPS Element Parsed {"raw_longitude":750997312,"raw_latitude":124252752,"longitude_deg":75.0997312,"latitude_deg":12.4252752,"altitude":87,"angle":329,"satellites":47,"speed":50,"hex_longitude":"2cc34f40","hex_latitude":"0767f250","is_valid_coordinates":true} 
[2026-09-10 14:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991729152001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404199629924597760,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4368702712974493696,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030197000,"timestamp_ms":1789030197000,"timestamp_seconds":1789030197,"priority":1,"record_length":96,"hex_timestamp":"000001a08a826708"} 
[2026-09-10 14:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14: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-09-10 14: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 14:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991729152001,"66":28028,"89":206,"85":37120,"24":50,"16":404199629924597760,"44":-4368702712974493696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991729152001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:24:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404199629924597760,"km_value":404199629924597.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4368702712974493696,"description":"Unknown IO ID 44"} 
[2026-09-10 14:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991729152001,"power":28028,"unknown_89":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4368702712974493696}} 
[2026-09-10 14:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:24:25] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:24:25] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:24:32] local.INFO: TCP Data received {"connection_id":176546,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:24:32] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:24:32] local.INFO: IMEI packet received {"connection_id":176546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":176546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:24:37] local.INFO: TCP Data received {"connection_id":176546,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:24:37] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:24:37] local.INFO: IMEI packet received {"connection_id":176546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":176546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:24:38] local.INFO: TCP Data received {"connection_id":176546,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a84b4e0012d19e900071ffd30002d012f26..."} 
[2026-09-10 14:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a84b4e0012d19e900071ffd30002d012f26..."} 
[2026-09-10 14:24:38] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a84b4e0012d19e900071ffd30002d012f26..."} 
[2026-09-10 14:24:38] local.INFO: Packet analysis {"connection_id":176546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:24:38] local.INFO: Extracted packet for processing {"connection_id":176546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756672768,"raw_latitude":119536944,"longitude_deg":75.6672768,"latitude_deg":11.9536944,"altitude":45,"angle":303,"satellites":38,"speed":25,"hex_longitude":"2d19e900","hex_latitude":"071ffd30","is_valid_coordinates":true} 
[2026-09-10 14:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991768832001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19262975567200256,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867586501076582400,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24: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-09-10 14:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789030348000,"timestamp_ms":1789030348000,"timestamp_seconds":1789030348,"priority":1,"record_length":96,"hex_timestamp":"000001a08a84b4e0"} 
[2026-09-10 14:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:24: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-09-10 14:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-10 14:24: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-09-10 14:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991768832001,"66":13048,"121":206,"28":31744,"24":25,"16":19262975567200256,"45":1867586501076582400},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991768832001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:24:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19262975567200256,"km_value":19262975567200.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867586501076582400,"description":"Unknown IO ID 45"} 
[2026-09-10 14:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991768832001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1867586501076582400}} 
[2026-09-10 14:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":176546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:24:38] local.INFO: GPS data processed {"connection_id":176546,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:24:38] local.INFO: Acknowledgment sent {"connection_id":176546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:24:43] local.INFO: TCP Data received {"connection_id":176546,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a84b8c8012d19e700071ffef0002e013b26..."} 
[2026-09-10 14:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a84b8c8012d19e700071ffef0002e013b26..."} 
[2026-09-10 14:24:43] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a84b8c8012d19e700071ffef0002e013b26..."} 
[2026-09-10 14:24:43] local.INFO: Packet analysis {"connection_id":176546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:24:43] local.INFO: Extracted packet for processing {"connection_id":176546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:24:43] local.INFO: GPS Element Parsed {"raw_longitude":756672256,"raw_latitude":119537392,"longitude_deg":75.6672256,"latitude_deg":11.9537392,"altitude":46,"angle":315,"satellites":38,"speed":26,"hex_longitude":"2d19e700","hex_latitude":"071ffef0","is_valid_coordinates":true} 
[2026-09-10 14:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991769088001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19263005631971328,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867023551123238912,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24: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-09-10 14:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789030349000,"timestamp_ms":1789030349000,"timestamp_seconds":1789030349,"priority":1,"record_length":96,"hex_timestamp":"000001a08a84b8c8"} 
[2026-09-10 14:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:24: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-09-10 14:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-10 14:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991769088001,"66":13048,"121":206,"28":31744,"24":26,"16":19263005631971328,"45":1867023551123238912},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991769088001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:24:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19263005631971328,"km_value":19263005631971.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867023551123238912,"description":"Unknown IO ID 45"} 
[2026-09-10 14:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991769088001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1867023551123238912}} 
[2026-09-10 14:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":176546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:24:43] local.INFO: GPS data processed {"connection_id":176546,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:24:43] local.INFO: Acknowledgment sent {"connection_id":176546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:24:56] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8272c0012cc349000767ffb0005901562c..."} 
[2026-09-10 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8272c0012cc349000767ffb0005901562c..."} 
[2026-09-10 14:24:56] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8272c0012cc349000767ffb0005901562c..."} 
[2026-09-10 14:24:56] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:24:56] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":750995712,"raw_latitude":124256176,"longitude_deg":75.0995712,"latitude_deg":12.4256176,"altitude":89,"angle":342,"satellites":44,"speed":49,"hex_longitude":"2cc34900","hex_latitude":"0767ffb0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991730432001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404199810313224192,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4373206312600580096,"note":"Value kept but may cause issues"} 
[2026-09-10 14:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030200000,"timestamp_ms":1789030200000,"timestamp_seconds":1789030200,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8272c0"} 
[2026-09-10 14:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 14:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991730432001,"66":27908,"89":206,"85":37120,"24":49,"16":404199810313224192,"44":-4373206312600580096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991730432001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:24:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404199810313224192,"km_value":404199810313224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4373206312600580096,"description":"Unknown IO ID 44"} 
[2026-09-10 14:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991730432001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4373206312600580096}} 
[2026-09-10 14:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:24:56] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:24:56] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:25:19] local.INFO: TCP Data received {"connection_id":179103,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:25:19] local.INFO: Processing buffer {"connection_id":179103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:25:19] local.INFO: IMEI packet received {"connection_id":179103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":179103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:25:24] local.INFO: TCP Data received {"connection_id":179103,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:25:24] local.INFO: Processing buffer {"connection_id":179103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:25:24] local.INFO: IMEI packet received {"connection_id":179103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":179103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:25:24] local.INFO: TCP Data received {"connection_id":179103,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a829200012cc340c007682578005c015f2a..."} 
[2026-09-10 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a829200012cc340c007682578005c015f2a..."} 
[2026-09-10 14:25:24] local.INFO: Processing buffer {"connection_id":179103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a829200012cc340c007682578005c015f2a..."} 
[2026-09-10 14:25:24] local.INFO: Packet analysis {"connection_id":179103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:25:24] local.INFO: Extracted packet for processing {"connection_id":179103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:25:24] local.INFO: GPS Element Parsed {"raw_longitude":750993600,"raw_latitude":124265848,"longitude_deg":75.09936,"latitude_deg":12.4265848,"altitude":92,"angle":351,"satellites":42,"speed":49,"hex_longitude":"2cc340c0","hex_latitude":"07682578","is_valid_coordinates":true} 
[2026-09-10 14:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991731200001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4374965531204145152,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789030208000,"timestamp_ms":1789030208000,"timestamp_seconds":1789030208,"priority":1,"record_length":96,"hex_timestamp":"000001a08a829200"} 
[2026-09-10 14:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:25: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-09-10 14:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991731200001,"66":27071,"89":206,"85":37120,"24":49,"16":404200291349561344,"44":-4374965531204145152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991731200001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:25:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:25:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4374965531204145152,"description":"Unknown IO ID 44"} 
[2026-09-10 14:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991731200001,"power":27071,"unknown_89":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4374965531204145152}} 
[2026-09-10 14:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":179103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:25:24] local.INFO: GPS data processed {"connection_id":179103,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:25:24] local.INFO: Acknowledgment sent {"connection_id":179103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:25:25] local.INFO: TCP Data received {"connection_id":177727,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:25] local.INFO: Processing buffer {"connection_id":177727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:25] local.INFO: IMEI packet received {"connection_id":177727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":177727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:25:27] local.INFO: TCP Data received {"connection_id":177727,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:27] local.INFO: Processing buffer {"connection_id":177727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:27] local.INFO: IMEI packet received {"connection_id":177727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":177727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:25:32] local.INFO: TCP Data received {"connection_id":177727,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:32] local.INFO: Processing buffer {"connection_id":177727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:25:32] local.INFO: IMEI packet received {"connection_id":177727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":177727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:25:33] local.INFO: TCP Data received {"connection_id":177727,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a84bcb0012d19e54007200138002e014626..."} 
[2026-09-10 14:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a84bcb0012d19e54007200138002e014626..."} 
[2026-09-10 14:25:33] local.INFO: Processing buffer {"connection_id":177727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a84bcb0012d19e54007200138002e014626..."} 
[2026-09-10 14:25:33] local.INFO: Packet analysis {"connection_id":177727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:25:33] local.INFO: Extracted packet for processing {"connection_id":177727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756671808,"raw_latitude":119537976,"longitude_deg":75.6671808,"latitude_deg":11.9537976,"altitude":46,"angle":326,"satellites":38,"speed":28,"hex_longitude":"2d19e540","hex_latitude":"07200138","is_valid_coordinates":true} 
[2026-09-10 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991769344001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19263039991709696,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866460601169932288,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789030350000,"timestamp_ms":1789030350000,"timestamp_seconds":1789030350,"priority":1,"record_length":96,"hex_timestamp":"000001a08a84bcb0"} 
[2026-09-10 14:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-10 14:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991769344001,"66":12156,"121":206,"28":31744,"24":28,"16":19263039991709696,"45":1866460601169932288},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991769344001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:25:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19263039991709696,"km_value":19263039991709.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866460601169932288,"description":"Unknown IO ID 45"} 
[2026-09-10 14:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991769344001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1866460601169932288}} 
[2026-09-10 14:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":177727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:25:34] local.INFO: GPS data processed {"connection_id":177727,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:25:34] local.INFO: Acknowledgment sent {"connection_id":177727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:25:55] local.INFO: TCP Data received {"connection_id":179103,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a829200012cc340c007682578005c015f2a..."} 
[2026-09-10 14:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a829200012cc340c007682578005c015f2a..."} 
[2026-09-10 14:25:55] local.INFO: Processing buffer {"connection_id":179103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a829200012cc340c007682578005c015f2a..."} 
[2026-09-10 14:25:55] local.INFO: Packet analysis {"connection_id":179103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:25:55] local.INFO: Extracted packet for processing {"connection_id":179103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a82"} 
[2026-09-10 14:25:55] local.INFO: GPS Element Parsed {"raw_longitude":750993600,"raw_latitude":124265848,"longitude_deg":75.09936,"latitude_deg":12.4265848,"altitude":92,"angle":351,"satellites":42,"speed":49,"hex_longitude":"2cc340c0","hex_latitude":"07682578","is_valid_coordinates":true} 
[2026-09-10 14:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789030208000,"timestamp_ms":1789030208000,"timestamp_seconds":1789030208,"priority":1,"record_length":96,"hex_timestamp":"000001a08a829200"} 
[2026-09-10 14:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:25: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-09-10 14:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":27071,"89":206,"85":37120,"24":49,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:25:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:25:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":27071,"unknown_89":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":179103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:25:55] local.INFO: GPS data processed {"connection_id":179103,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:25:55] local.INFO: Acknowledgment sent {"connection_id":179103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:26:05] local.INFO: TCP Data received {"connection_id":177727,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a84c868012d19e04007200870002e013a26..."} 
[2026-09-10 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a84c868012d19e04007200870002e013a26..."} 
[2026-09-10 14:26:05] local.INFO: Processing buffer {"connection_id":177727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a84c868012d19e04007200870002e013a26..."} 
[2026-09-10 14:26:05] local.INFO: Packet analysis {"connection_id":177727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:26:05] local.INFO: Extracted packet for processing {"connection_id":177727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a84"} 
[2026-09-10 14:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756670528,"raw_latitude":119539824,"longitude_deg":75.6670528,"latitude_deg":11.9539824,"altitude":46,"angle":314,"satellites":38,"speed":31,"hex_longitude":"2d19e040","hex_latitude":"07200870","is_valid_coordinates":true} 
[2026-09-10 14:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991769600001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19263151660859392,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865968019960838144,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26: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-09-10 14:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789030353000,"timestamp_ms":1789030353000,"timestamp_seconds":1789030353,"priority":1,"record_length":96,"hex_timestamp":"000001a08a84c868"} 
[2026-09-10 14:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":124,"data_length":795,"current_offset":136} 
[2026-09-10 14:26: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-09-10 14:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991769600001,"66":13004,"121":206,"28":31744,"24":31,"16":19263151660859392,"45":1865968019960838144},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991769600001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:26:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19263151660859392,"km_value":19263151660859.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865968019960838144,"description":"Unknown IO ID 45"} 
[2026-09-10 14:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991769600001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1865968019960838144}} 
[2026-09-10 14:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":177727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:26:05] local.INFO: GPS data processed {"connection_id":177727,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:26:05] local.INFO: Acknowledgment sent {"connection_id":177727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:26:20] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:26:20] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:26:20] local.INFO: IMEI packet received {"connection_id":176547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":176547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:26:24] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:26:24] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:26:24] local.INFO: IMEI packet received {"connection_id":176547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":176547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:26:25] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:26:25] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:26:25] local.INFO: Packet analysis {"connection_id":176547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:26:25] local.INFO: Extracted packet for processing {"connection_id":176547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:26:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":176547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:26:25] local.INFO: GPS data processed {"connection_id":176547,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:26:25] local.INFO: Acknowledgment sent {"connection_id":176547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:26:26] local.INFO: TCP Data received {"connection_id":176548,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:26] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:26] local.INFO: IMEI packet received {"connection_id":176548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":176548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:26:27] local.INFO: TCP Data received {"connection_id":176548,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:27] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:27] local.INFO: IMEI packet received {"connection_id":176548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":176548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:26:29] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:26:29] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:26:29] local.INFO: IMEI packet received {"connection_id":176310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":176310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:26:32] local.INFO: TCP Data received {"connection_id":176548,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:32] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:26:32] local.INFO: IMEI packet received {"connection_id":176548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":176548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:26:33] local.INFO: TCP Data received {"connection_id":176548,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8777e8012d19c600072022a8002d014523..."} 
[2026-09-10 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8777e8012d19c600072022a8002d014523..."} 
[2026-09-10 14:26:33] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8777e8012d19c600072022a8002d014523..."} 
[2026-09-10 14:26:33] local.INFO: Packet analysis {"connection_id":176548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:26:33] local.INFO: Extracted packet for processing {"connection_id":176548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546536,"longitude_deg":75.6663808,"latitude_deg":11.9546536,"altitude":45,"angle":325,"satellites":35,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"072022a8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991810048001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19263615517327360,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940821504,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789030529000,"timestamp_ms":1789030529000,"timestamp_seconds":1789030529,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8777e8"} 
[2026-09-10 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-09-10 14:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 14:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991810048001,"66":14233,"121":206,"28":31744,"24":0,"16":19263615517327360,"45":1857171926940821504},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991810048001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:26:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19263615517327360,"km_value":19263615517327.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940821504,"description":"Unknown IO ID 45"} 
[2026-09-10 14:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991810048001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1857171926940821504}} 
[2026-09-10 14:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":176548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:26:34] local.INFO: GPS data processed {"connection_id":176548,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:26:34] local.INFO: Acknowledgment sent {"connection_id":176548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:26:56] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:26:56] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:26:56] local.INFO: Packet analysis {"connection_id":176547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:26:56] local.INFO: Extracted packet for processing {"connection_id":176547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:26:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:26:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:26:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":176547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:26:56] local.INFO: GPS data processed {"connection_id":176547,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:26:56] local.INFO: Acknowledgment sent {"connection_id":176547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:27:06] local.INFO: TCP Data received {"connection_id":176548,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a884ad8012d19de4007200830002e00c026..."} 
[2026-09-10 14:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a884ad8012d19de4007200830002e00c026..."} 
[2026-09-10 14:27:06] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a884ad8012d19de4007200830002e00c026..."} 
[2026-09-10 14:27:06] local.INFO: Packet analysis {"connection_id":176548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a88"} 
[2026-09-10 14:27:06] local.INFO: Extracted packet for processing {"connection_id":176548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a88"} 
[2026-09-10 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119539760,"longitude_deg":75.6670016,"latitude_deg":11.953976,"altitude":46,"angle":192,"satellites":38,"speed":14,"hex_longitude":"2d19de40","hex_latitude":"07200830","is_valid_coordinates":true} 
[2026-09-10 14:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991828992001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19264100848631808,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868588032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789030583000,"timestamp_ms":1789030583000,"timestamp_seconds":1789030583,"priority":1,"record_length":96,"hex_timestamp":"000001a08a884ad8"} 
[2026-09-10 14:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 14:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991828992001,"66":14265,"121":206,"28":31744,"24":14,"16":19264100848631808,"45":1864068063868588032},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991828992001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19264100848631808,"km_value":19264100848631.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868588032,"description":"Unknown IO ID 45"} 
[2026-09-10 14:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991828992001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1864068063868588032}} 
[2026-09-10 14:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":176548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:27:06] local.INFO: GPS data processed {"connection_id":176548,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:27:06] local.INFO: Acknowledgment sent {"connection_id":176548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:27:19] local.INFO: TCP Data received {"connection_id":177728,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:27:19] local.INFO: Processing buffer {"connection_id":177728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:27:19] local.INFO: IMEI packet received {"connection_id":177728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":177728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:27:24] local.INFO: TCP Data received {"connection_id":177728,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:27:24] local.INFO: Processing buffer {"connection_id":177728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:27:24] local.INFO: IMEI packet received {"connection_id":177728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":177728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:27:25] local.INFO: TCP Data received {"connection_id":177728,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:27:25] local.INFO: Processing buffer {"connection_id":177728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:27:25] local.INFO: Packet analysis {"connection_id":177728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:27:25] local.INFO: Extracted packet for processing {"connection_id":177728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:27:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:27:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":177728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:27:25] local.INFO: GPS data processed {"connection_id":177728,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:27:25] local.INFO: Acknowledgment sent {"connection_id":177728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:27:32] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:27:32] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:27:32] local.INFO: IMEI packet received {"connection_id":176549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":176549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:27:35] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:27:35] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:27:35] local.INFO: IMEI packet received {"connection_id":176549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":176549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:27:36] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a884ec0012d19dd40072006b8002e00ce26..."} 
[2026-09-10 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a884ec0012d19dd40072006b8002e00ce26..."} 
[2026-09-10 14:27:36] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a884ec0012d19dd40072006b8002e00ce26..."} 
[2026-09-10 14:27:36] local.INFO: Packet analysis {"connection_id":176549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a88"} 
[2026-09-10 14:27:36] local.INFO: Extracted packet for processing {"connection_id":176549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a88"} 
[2026-09-10 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119539384,"longitude_deg":75.666976,"latitude_deg":11.9539384,"altitude":46,"angle":206,"satellites":38,"speed":16,"hex_longitude":"2d19dd40","hex_latitude":"072006b8","is_valid_coordinates":true} 
[2026-09-10 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991829248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19264122323468288,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124320256,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27: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-09-10 14:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789030584000,"timestamp_ms":1789030584000,"timestamp_seconds":1789030584,"priority":1,"record_length":96,"hex_timestamp":"000001a08a884ec0"} 
[2026-09-10 14:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:27: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-09-10 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 14:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991829248001,"66":14265,"121":206,"28":31744,"24":16,"16":19264122323468288,"45":1863997695124320256},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991829248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:27:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19264122323468288,"km_value":19264122323468.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124320256,"description":"Unknown IO ID 45"} 
[2026-09-10 14:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991829248001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1863997695124320256}} 
[2026-09-10 14:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":176549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:27:36] local.INFO: GPS data processed {"connection_id":176549,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:27:36] local.INFO: Acknowledgment sent {"connection_id":176549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:27:56] local.INFO: TCP Data received {"connection_id":177728,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:27:56] local.INFO: Processing buffer {"connection_id":177728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:27:56] local.INFO: Packet analysis {"connection_id":177728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:27:56] local.INFO: Extracted packet for processing {"connection_id":177728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:27:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:27:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":177728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:27:56] local.INFO: GPS data processed {"connection_id":177728,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:27:56] local.INFO: Acknowledgment sent {"connection_id":177728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:28:09] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a890e28012d198c00071ff0d8003b010724..."} 
[2026-09-10 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a890e28012d198c00071ff0d8003b010724..."} 
[2026-09-10 14:28:09] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a890e28012d198c00071ff0d8003b010724..."} 
[2026-09-10 14:28:09] local.INFO: Packet analysis {"connection_id":176549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:28:09] local.INFO: Extracted packet for processing {"connection_id":176549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119533784,"longitude_deg":75.664896,"latitude_deg":11.9533784,"altitude":59,"angle":263,"satellites":36,"speed":17,"hex_longitude":"2d198c00","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-09-10 14:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991839744001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265239014965248,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171492864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789030633000,"timestamp_ms":1789030633000,"timestamp_seconds":1789030633,"priority":1,"record_length":96,"hex_timestamp":"000001a08a890e28"} 
[2026-09-10 14:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:28: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-09-10 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 14:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991839744001,"66":14374,"130":206,"28":31744,"24":17,"16":19265239014965248,"45":1845279609171492864},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991839744001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265239014965248,"km_value":19265239014965.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171492864,"description":"Unknown IO ID 45"} 
[2026-09-10 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991839744001,"power":14374,"unknown_130":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1845279609171492864}} 
[2026-09-10 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":176549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:28:09] local.INFO: GPS data processed {"connection_id":176549,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:28:09] local.INFO: Acknowledgment sent {"connection_id":176549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:28:19] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:28:19] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:28:19] local.INFO: IMEI packet received {"connection_id":177729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":177729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:28:24] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:28:24] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:28:24] local.INFO: IMEI packet received {"connection_id":177729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":177729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:28:25] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:28:25] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:28:25] local.INFO: Packet analysis {"connection_id":177729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:28:25] local.INFO: Extracted packet for processing {"connection_id":177729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:28:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":177729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:28:25] local.INFO: GPS data processed {"connection_id":177729,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:28:25] local.INFO: Acknowledgment sent {"connection_id":177729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:28:26] local.INFO: TCP Data received {"connection_id":177730,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:26] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:26] local.INFO: IMEI packet received {"connection_id":177730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":177730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:28:27] local.INFO: TCP Data received {"connection_id":177730,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:27] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:27] local.INFO: IMEI packet received {"connection_id":177730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":177730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:28:31] local.INFO: TCP Data received {"connection_id":177730,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:31] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:31] local.INFO: IMEI packet received {"connection_id":177730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":177730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:28:32] local.INFO: TCP Data received {"connection_id":177730,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:32] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:28:32] local.INFO: IMEI packet received {"connection_id":177730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":177730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:28:33] local.INFO: TCP Data received {"connection_id":177730,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8921b0012d198480071fefa8003c00f226..."} 
[2026-09-10 14:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8921b0012d198480071fefa8003c00f226..."} 
[2026-09-10 14:28:33] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8921b0012d198480071fefa8003c00f226..."} 
[2026-09-10 14:28:33] local.INFO: Packet analysis {"connection_id":177730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:28:33] local.INFO: Extracted packet for processing {"connection_id":177730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756647040,"raw_latitude":119533480,"longitude_deg":75.664704,"latitude_deg":11.953348,"altitude":60,"angle":242,"satellites":38,"speed":11,"hex_longitude":"2d198480","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-09-10 14:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991842048001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265333504245760,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378288338944,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789030638000,"timestamp_ms":1789030638000,"timestamp_seconds":1789030638,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8921b0"} 
[2026-09-10 14:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 14:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991842048001,"66":14428,"130":206,"28":31744,"24":11,"16":19265333504245760,"45":1840846378288338944},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 14:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991842048001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:28:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 14:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265333504245760,"km_value":19265333504245.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378288338944,"description":"Unknown IO ID 45"} 
[2026-09-10 14:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991842048001,"power":14428,"unknown_130":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1840846378288338944}} 
[2026-09-10 14:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":177730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:28:33] local.INFO: GPS data processed {"connection_id":177730,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:28:33] local.INFO: Acknowledgment sent {"connection_id":177730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:28:35] local.INFO: TCP Data received {"connection_id":177730,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a892598012d198380071fef30003c00e625..."} 
[2026-09-10 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a892598012d198380071fef30003c00e625..."} 
[2026-09-10 14:28:35] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a892598012d198380071fef30003c00e625..."} 
[2026-09-10 14:28:35] local.INFO: Packet analysis {"connection_id":177730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:28:35] local.INFO: Extracted packet for processing {"connection_id":177730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533360,"longitude_deg":75.6646784,"latitude_deg":11.953336,"altitude":60,"angle":230,"satellites":37,"speed":8,"hex_longitude":"2d198380","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-09-10 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991843328001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265342094180352,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838735315962931200,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789030639000,"timestamp_ms":1789030639000,"timestamp_seconds":1789030639,"priority":1,"record_length":96,"hex_timestamp":"000001a08a892598"} 
[2026-09-10 14:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:28: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-09-10 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 14:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991843328001,"66":14428,"130":206,"28":31744,"24":8,"16":19265342094180352,"45":1838735315962931200},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 14:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991843328001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:28:35] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 14:28:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265342094180352,"km_value":19265342094180.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838735315962931200,"description":"Unknown IO ID 45"} 
[2026-09-10 14:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991843328001,"power":14428,"unknown_130":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1838735315962931200}} 
[2026-09-10 14:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":177730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:28:36] local.INFO: GPS data processed {"connection_id":177730,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:28:36] local.INFO: Acknowledgment sent {"connection_id":177730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:28:56] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:28:56] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:28:56] local.INFO: Packet analysis {"connection_id":177729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:28:56] local.INFO: Extracted packet for processing {"connection_id":177729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:28:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:28:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:28:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":177729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:28:56] local.INFO: GPS data processed {"connection_id":177729,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:28:56] local.INFO: Acknowledgment sent {"connection_id":177729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:29:07] local.INFO: TCP Data received {"connection_id":177730,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8977a0012d198280071fee80003c00e425..."} 
[2026-09-10 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8977a0012d198280071fee80003c00e425..."} 
[2026-09-10 14:29:07] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8977a0012d198280071fee80003c00e425..."} 
[2026-09-10 14:29:07] local.INFO: Packet analysis {"connection_id":177730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:29:07] local.INFO: Extracted packet for processing {"connection_id":177730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":119533184,"longitude_deg":75.6646528,"latitude_deg":11.9533184,"altitude":60,"angle":228,"satellites":37,"speed":0,"hex_longitude":"2d198280","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-10 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991843584001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265363569016832,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986189824,"note":"Value kept but may cause issues"} 
[2026-09-10 14: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-09-10 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789030660000,"timestamp_ms":1789030660000,"timestamp_seconds":1789030660,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8977a0"} 
[2026-09-10 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 14:29: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-09-10 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991843584001,"66":12961,"121":206,"28":31744,"24":0,"16":19265363569016832,"45":1838453840986189824},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991843584001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:29:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265363569016832,"km_value":19265363569016.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986189824,"description":"Unknown IO ID 45"} 
[2026-09-10 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991843584001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838453840986189824}} 
[2026-09-10 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":177730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:29:07] local.INFO: GPS data processed {"connection_id":177730,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:29:07] local.INFO: Acknowledgment sent {"connection_id":177730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:29:24] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:29:24] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:29:24] local.INFO: IMEI packet received {"connection_id":176550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":176550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:29:27] local.INFO: TCP Data received {"connection_id":177731,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:29:27] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:29:27] local.INFO: IMEI packet received {"connection_id":177731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":177731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:29:30] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:29:30] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:29:30] local.INFO: IMEI packet received {"connection_id":176550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":176550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:29:31] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:29:31] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:29:31] local.INFO: Packet analysis {"connection_id":176550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:29:31] local.INFO: Extracted packet for processing {"connection_id":176550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:29:31] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:29: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-09-10 14:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:29:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":176550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:29:31] local.INFO: GPS data processed {"connection_id":176550,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:29:31] local.INFO: Acknowledgment sent {"connection_id":176550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:29:32] local.INFO: TCP Data received {"connection_id":177731,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:29:32] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:29:32] local.INFO: IMEI packet received {"connection_id":177731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":177731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:29:34] local.INFO: TCP Data received {"connection_id":177731,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a898b28012d198100071fed78003c00ef24..."} 
[2026-09-10 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a898b28012d198100071fed78003c00ef24..."} 
[2026-09-10 14:29:34] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a898b28012d198100071fed78003c00ef24..."} 
[2026-09-10 14:29:34] local.INFO: Packet analysis {"connection_id":177731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:29:34] local.INFO: Extracted packet for processing {"connection_id":177731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756646144,"raw_latitude":119532920,"longitude_deg":75.6646144,"latitude_deg":11.953292,"altitude":60,"angle":239,"satellites":36,"speed":4,"hex_longitude":"2d198100","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991848960001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265385043853312,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172366009434112,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030665000,"timestamp_ms":1789030665000,"timestamp_seconds":1789030665,"priority":1,"record_length":96,"hex_timestamp":"000001a08a898b28"} 
[2026-09-10 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-09-10 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 14:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991848960001,"66":13167,"121":206,"28":31744,"24":4,"16":19265385043853312,"45":1838172366009434112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991848960001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265385043853312,"km_value":19265385043853.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172366009434112,"description":"Unknown IO ID 45"} 
[2026-09-10 14:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991848960001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1838172366009434112}} 
[2026-09-10 14:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":177731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:29:34] local.INFO: GPS data processed {"connection_id":177731,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:29:34] local.INFO: Acknowledgment sent {"connection_id":177731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:29:34] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:29:34] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:29:34] local.INFO: Packet analysis {"connection_id":176550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:29:34] local.INFO: Extracted packet for processing {"connection_id":176550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 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-09-10 14:29: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-09-10 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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:29: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-09-10 14:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":176550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:29:34] local.INFO: GPS data processed {"connection_id":176550,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:29:34] local.INFO: Acknowledgment sent {"connection_id":176550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:30:05] local.INFO: TCP Data received {"connection_id":177731,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8996e0012d197e00071febf8003c00fc25..."} 
[2026-09-10 14:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8996e0012d197e00071febf8003c00fc25..."} 
[2026-09-10 14:30:05] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8996e0012d197e00071febf8003c00fc25..."} 
[2026-09-10 14:30:05] local.INFO: Packet analysis {"connection_id":177731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:30:05] local.INFO: Extracted packet for processing {"connection_id":177731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532536,"longitude_deg":75.6645376,"latitude_deg":11.9532536,"altitude":60,"angle":252,"satellites":37,"speed":16,"hex_longitude":"2d197e00","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-09-10 14:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991850240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265423698558976,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837750153544300544,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30: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-09-10 14:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789030668000,"timestamp_ms":1789030668000,"timestamp_seconds":1789030668,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8996e0"} 
[2026-09-10 14:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 14:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991850240001,"66":13135,"121":206,"28":31744,"24":16,"16":19265423698558976,"45":1837750153544300544},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991850240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:30:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265423698558976,"km_value":19265423698558.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837750153544300544,"description":"Unknown IO ID 45"} 
[2026-09-10 14:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991850240001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1837750153544300544}} 
[2026-09-10 14:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":177731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:30:06] local.INFO: GPS data processed {"connection_id":177731,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:30:06] local.INFO: Acknowledgment sent {"connection_id":177731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:30:19] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:30:19] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:30:19] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:30:24] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:30:24] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:30:24] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:30:25] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:30:25] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a873580012cc33340076855f0005b015f29..."} 
[2026-09-10 14:30:25] local.INFO: Packet analysis {"connection_id":176311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:30:25] local.INFO: Extracted packet for processing {"connection_id":176311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a87"} 
[2026-09-10 14:30:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991733248001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377287699759532032,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030512000,"timestamp_ms":1789030512000,"timestamp_seconds":1789030512,"priority":1,"record_length":96,"hex_timestamp":"000001a08a873580"} 
[2026-09-10 14:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 14:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:30: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-09-10 14:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991733248001,"66":26571,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4377287699759532032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991733248001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:30:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377287699759532032,"description":"Unknown IO ID 44"} 
[2026-09-10 14:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991733248001,"power":26571,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4377287699759532032}} 
[2026-09-10 14:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":176311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:30:25] local.INFO: GPS data processed {"connection_id":176311,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:30:25] local.INFO: Acknowledgment sent {"connection_id":176311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:30:32] local.INFO: TCP Data received {"connection_id":176312,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:30:32] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:30:32] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:30:37] local.INFO: TCP Data received {"connection_id":176312,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:30:37] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:30:37] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:30:38] local.INFO: TCP Data received {"connection_id":176312,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a89a680012d197800071feaf0003d010f24..."} 
[2026-09-10 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a89a680012d197800071feaf0003d010f24..."} 
[2026-09-10 14:30:38] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a89a680012d197800071feaf0003d010f24..."} 
[2026-09-10 14:30:38] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:30:38] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756643840,"raw_latitude":119532272,"longitude_deg":75.664384,"latitude_deg":11.9532272,"altitude":61,"angle":271,"satellites":36,"speed":14,"hex_longitude":"2d197800","hex_latitude":"071feaf0","is_valid_coordinates":true} 
[2026-09-10 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991851008001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265501007970304,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614070272,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30: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-09-10 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789030672000,"timestamp_ms":1789030672000,"timestamp_seconds":1789030672,"priority":1,"record_length":96,"hex_timestamp":"000001a08a89a680"} 
[2026-09-10 14:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 14:30: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-09-10 14:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991851008001,"66":13135,"121":206,"28":31744,"24":14,"16":19265501007970304,"45":1836905728614070272},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991851008001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265501007970304,"km_value":19265501007970.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614070272,"description":"Unknown IO ID 45"} 
[2026-09-10 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991851008001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1836905728614070272}} 
[2026-09-10 14:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:30:38] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:30:38] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:30:56] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:30:56] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:30:56] local.INFO: Packet analysis {"connection_id":176311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:30:56] local.INFO: Extracted packet for processing {"connection_id":176311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:30:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:30:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:30:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":176311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:30:56] local.INFO: GPS data processed {"connection_id":176311,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:30:56] local.INFO: Acknowledgment sent {"connection_id":176311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:31:09] local.INFO: TCP Data received {"connection_id":176312,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a89ba08012d197040071fec48003d011b24..."} 
[2026-09-10 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a89ba08012d197040071fec48003d011b24..."} 
[2026-09-10 14:31:09] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a89ba08012d197040071fec48003d011b24..."} 
[2026-09-10 14:31:09] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:31:09] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a89"} 
[2026-09-10 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756641856,"raw_latitude":119532616,"longitude_deg":75.6641856,"latitude_deg":11.9532616,"altitude":61,"angle":283,"satellites":36,"speed":16,"hex_longitude":"2d197040","hex_latitude":"071fec48","is_valid_coordinates":true} 
[2026-09-10 14:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991852032001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265595497250816,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835216878753738752,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31: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-09-10 14:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789030677000,"timestamp_ms":1789030677000,"timestamp_seconds":1789030677,"priority":1,"record_length":96,"hex_timestamp":"000001a08a89ba08"} 
[2026-09-10 14:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 14:31: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-09-10 14:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991852032001,"66":12548,"121":206,"28":31744,"24":16,"16":19265595497250816,"45":1835216878753738752},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991852032001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:31:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265595497250816,"km_value":19265595497250.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835216878753738752,"description":"Unknown IO ID 45"} 
[2026-09-10 14:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991852032001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1835216878753738752}} 
[2026-09-10 14:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:31:09] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:31:09] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:31:19] local.INFO: TCP Data received {"connection_id":179106,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:31:19] local.INFO: Processing buffer {"connection_id":179106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:31:19] local.INFO: IMEI packet received {"connection_id":179106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":179106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:31:24] local.INFO: TCP Data received {"connection_id":179106,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:31:24] local.INFO: Processing buffer {"connection_id":179106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:31:24] local.INFO: IMEI packet received {"connection_id":179106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":179106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:31:25] local.INFO: TCP Data received {"connection_id":179106,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:31:25] local.INFO: Processing buffer {"connection_id":179106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:31:25] local.INFO: Packet analysis {"connection_id":179106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:31:25] local.INFO: Extracted packet for processing {"connection_id":179106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:31: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-09-10 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:31: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-09-10 14:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:31:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":179106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:31:25] local.INFO: GPS data processed {"connection_id":179106,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:31:25] local.INFO: Acknowledgment sent {"connection_id":179106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:31:28] local.INFO: TCP Data received {"connection_id":176551,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:31:28] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:31:28] local.INFO: IMEI packet received {"connection_id":176551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":176551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:31:32] local.INFO: TCP Data received {"connection_id":176551,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:31:32] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:31:32] local.INFO: IMEI packet received {"connection_id":176551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":176551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:31:34] local.INFO: TCP Data received {"connection_id":176551,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8a0c10012d196840071fede8003f011d23..."} 
[2026-09-10 14:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8a0c10012d196840071fede8003f011d23..."} 
[2026-09-10 14:31:34] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8a0c10012d196840071fede8003f011d23..."} 
[2026-09-10 14:31:34] local.INFO: Packet analysis {"connection_id":176551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8a"} 
[2026-09-10 14:31:34] local.INFO: Extracted packet for processing {"connection_id":176551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8a"} 
[2026-09-10 14:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991853312001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833035447684319232,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030698000,"timestamp_ms":1789030698000,"timestamp_seconds":1789030698,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8a0c10"} 
[2026-09-10 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-09-10 14:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2324242864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184320237773,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2306318337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001366076,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2147950575,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":11,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9079030227044132864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,113,160,166,45,234,61,36,10,66,150,235,60,37,139,1,240,111,138,31,4,205,131,48,239,56,130,2,68,7,11,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:31:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824552724135936,"timestamp_seconds":4395824552724136.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 14:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991853312001,"66":13102,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1833035447684319232},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991853312001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:31:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833035447684319232,"description":"Unknown IO ID 45"} 
[2026-09-10 14:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991853312001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833035447684319232}} 
[2026-09-10 14:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":176551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:31:34] local.INFO: GPS data processed {"connection_id":176551,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:31:34] local.INFO: Acknowledgment sent {"connection_id":176551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:31:56] local.INFO: TCP Data received {"connection_id":179106,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:31:56] local.INFO: Processing buffer {"connection_id":179106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:31:56] local.INFO: Packet analysis {"connection_id":179106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:31:56] local.INFO: Extracted packet for processing {"connection_id":179106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:31:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:31:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":179106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:31:56] local.INFO: GPS data processed {"connection_id":179106,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:31:56] local.INFO: Acknowledgment sent {"connection_id":179106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:32:05] local.INFO: TCP Data received {"connection_id":176551,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8a5e18012d196840071fede8003f011d24..."} 
[2026-09-10 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8a5e18012d196840071fede8003f011d24..."} 
[2026-09-10 14:32:05] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8a5e18012d196840071fede8003f011d24..."} 
[2026-09-10 14:32:05] local.INFO: Packet analysis {"connection_id":176551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8a"} 
[2026-09-10 14:32:05] local.INFO: Extracted packet for processing {"connection_id":176551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8a"} 
[2026-09-10 14:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991858688001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789030719000,"timestamp_ms":1789030719000,"timestamp_seconds":1789030719,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8a5e18"} 
[2026-09-10 14:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 14: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-09-10 14:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991858688001,"66":13037,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991858688001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991858688001,"power":13037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":176551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:32:05] local.INFO: GPS data processed {"connection_id":176551,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:32:05] local.INFO: Acknowledgment sent {"connection_id":176551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:32:19] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:32:19] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:32:19] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:32:24] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:32:24] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:32:24] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:32:25] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:32:25] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:32:25] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:32:25] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:32:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:32: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-09-10 14:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:32: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-09-10 14:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:32:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:32:25] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:32:25] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:32:26] local.INFO: TCP Data received {"connection_id":176313,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:26] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:26] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:32:27] local.INFO: TCP Data received {"connection_id":176313,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:27] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:27] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:32:32] local.INFO: TCP Data received {"connection_id":176313,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:32] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:32:32] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:32:33] local.INFO: TCP Data received {"connection_id":176313,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8ab020012d196840071fede8003f011d24..."} 
[2026-09-10 14:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8ab020012d196840071fede8003f011d24..."} 
[2026-09-10 14:32:33] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8ab020012d196840071fede8003f011d24..."} 
[2026-09-10 14:32:33] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8a"} 
[2026-09-10 14:32:33] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8a"} 
[2026-09-10 14:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991864064001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789030740000,"timestamp_ms":1789030740000,"timestamp_seconds":1789030740,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8ab020"} 
[2026-09-10 14:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-10 14:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991864064001,"66":13059,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991864064001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:32:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:32:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991864064001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:32:33] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:32:33] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:32:56] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:32:56] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:32:56] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:32:56] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:32:56] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:32:56] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:33:04] local.INFO: TCP Data received {"connection_id":176313,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8b0228012d196840071fede8003f011d26..."} 
[2026-09-10 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8b0228012d196840071fede8003f011d26..."} 
[2026-09-10 14:33:04] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8b0228012d196840071fede8003f011d26..."} 
[2026-09-10 14:33:04] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:04] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991869440001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789030761000,"timestamp_ms":1789030761000,"timestamp_seconds":1789030761,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8b0228"} 
[2026-09-10 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-09-10 14:33: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-09-10 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":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164824800743,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490436,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2324269864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2309390337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3941597245,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:33:04] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,114,160,94,45,64,237,63,36,10,66,12,35,186,1,240,4,113,138,31,205,14,150,126,248,37,239,51,2,68,7,60],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:33:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941939822198784,"timestamp_seconds":4539941939822199.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991869440001,"66":13015,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991869440001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:33:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991869440001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:33:04] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:33:04] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:33:19] local.INFO: TCP Data received {"connection_id":179107,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:33:19] local.INFO: Processing buffer {"connection_id":179107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:33:19] local.INFO: IMEI packet received {"connection_id":179107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":179107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:33:24] local.INFO: TCP Data received {"connection_id":179107,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:33:24] local.INFO: Processing buffer {"connection_id":179107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:33:24] local.INFO: IMEI packet received {"connection_id":179107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":179107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:33:25] local.INFO: TCP Data received {"connection_id":179107,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:33:25] local.INFO: Processing buffer {"connection_id":179107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:33:25] local.INFO: Packet analysis {"connection_id":179107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:25] local.INFO: Extracted packet for processing {"connection_id":179107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:33: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-09-10 14:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:33: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-09-10 14:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:33:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":179107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:33:25] local.INFO: GPS data processed {"connection_id":179107,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:33:25] local.INFO: Acknowledgment sent {"connection_id":179107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:33:27] local.INFO: TCP Data received {"connection_id":177732,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:27] local.INFO: Processing buffer {"connection_id":177732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:27] local.INFO: IMEI packet received {"connection_id":177732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":177732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:33:29] local.INFO: TCP Data received {"connection_id":177732,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:29] local.INFO: Processing buffer {"connection_id":177732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:29] local.INFO: IMEI packet received {"connection_id":177732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":177732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:33:32] local.INFO: TCP Data received {"connection_id":177732,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:32] local.INFO: Processing buffer {"connection_id":177732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:33:32] local.INFO: IMEI packet received {"connection_id":177732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":177732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:33:34] local.INFO: TCP Data received {"connection_id":177732,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8b5430012d196840071fede8003f011d25..."} 
[2026-09-10 14:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8b5430012d196840071fede8003f011d25..."} 
[2026-09-10 14:33:34] local.INFO: Processing buffer {"connection_id":177732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8b5430012d196840071fede8003f011d25..."} 
[2026-09-10 14:33:34] local.INFO: Packet analysis {"connection_id":177732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:34] local.INFO: Extracted packet for processing {"connection_id":177732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991874816001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030782000,"timestamp_ms":1789030782000,"timestamp_seconds":1789030782,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8b5430"} 
[2026-09-10 14:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-10 14:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991874816001,"66":12993,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991874816001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:33:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:33:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991874816001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":177732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:33:34] local.INFO: GPS data processed {"connection_id":177732,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:33:34] local.INFO: Acknowledgment sent {"connection_id":177732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:33:56] local.INFO: TCP Data received {"connection_id":179107,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:33:56] local.INFO: Processing buffer {"connection_id":179107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:33:56] local.INFO: Packet analysis {"connection_id":179107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:56] local.INFO: Extracted packet for processing {"connection_id":179107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:33:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":179107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:33:56] local.INFO: GPS data processed {"connection_id":179107,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:33:56] local.INFO: Acknowledgment sent {"connection_id":179107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:34:03] local.INFO: TCP Data received {"connection_id":177733,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:34:03] local.INFO: Processing buffer {"connection_id":177733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:34:03] local.INFO: IMEI packet received {"connection_id":177733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":177733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:34:06] local.INFO: TCP Data received {"connection_id":177732,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8ba638012d196840071fede8003f011d23..."} 
[2026-09-10 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8ba638012d196840071fede8003f011d23..."} 
[2026-09-10 14:34:06] local.INFO: Processing buffer {"connection_id":177732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8ba638012d196840071fede8003f011d23..."} 
[2026-09-10 14:34:06] local.INFO: Packet analysis {"connection_id":177732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:06] local.INFO: Extracted packet for processing {"connection_id":177732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991880192001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34: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-09-10 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789030803000,"timestamp_ms":1789030803000,"timestamp_seconds":1789030803,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8ba638"} 
[2026-09-10 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-09-10 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-10 14:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991880192001,"66":12939,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991880192001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:34:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991880192001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":177732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:34:06] local.INFO: GPS data processed {"connection_id":177732,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:34:06] local.INFO: Acknowledgment sent {"connection_id":177732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:34:24] local.INFO: TCP Data received {"connection_id":179108,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:34:24] local.INFO: Processing buffer {"connection_id":179108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:34:24] local.INFO: IMEI packet received {"connection_id":179108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":179108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:34:27] local.INFO: TCP Data received {"connection_id":176553,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:34:27] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:34:27] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:34:29] local.INFO: TCP Data received {"connection_id":179108,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:34:29] local.INFO: Processing buffer {"connection_id":179108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:34:29] local.INFO: IMEI packet received {"connection_id":179108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":179108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:34:30] local.INFO: TCP Data received {"connection_id":179108,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:34:30] local.INFO: Processing buffer {"connection_id":179108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:34:30] local.INFO: Packet analysis {"connection_id":179108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:30] local.INFO: Extracted packet for processing {"connection_id":179108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:34: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-09-10 14:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":179108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:34:30] local.INFO: GPS data processed {"connection_id":179108,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:34:30] local.INFO: Acknowledgment sent {"connection_id":179108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:34:32] local.INFO: TCP Data received {"connection_id":176553,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:34:32] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:34:32] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:34:34] local.INFO: TCP Data received {"connection_id":176553,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bf840012d196840071fede8003f011d24..."} 
[2026-09-10 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bf840012d196840071fede8003f011d24..."} 
[2026-09-10 14:34:34] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bf840012d196840071fede8003f011d24..."} 
[2026-09-10 14:34:34] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:34] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991885568001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030824000,"timestamp_ms":1789030824000,"timestamp_seconds":1789030824,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bf840"} 
[2026-09-10 14:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":139,"data_length":795,"current_offset":136} 
[2026-09-10 14:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991885568001,"66":12961,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991885568001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991885568001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:34:34] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:34:34] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:34:34] local.INFO: TCP Data received {"connection_id":179108,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:34:34] local.INFO: Processing buffer {"connection_id":179108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:34:34] local.INFO: Packet analysis {"connection_id":179108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:34] local.INFO: Extracted packet for processing {"connection_id":179108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:34: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-09-10 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:34: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-09-10 14:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":179108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:34:34] local.INFO: GPS data processed {"connection_id":179108,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:34:34] local.INFO: Acknowledgment sent {"connection_id":179108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:35:06] local.INFO: TCP Data received {"connection_id":176553,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8c4a48012d196840071fede8003f011d26..."} 
[2026-09-10 14:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8c4a48012d196840071fede8003f011d26..."} 
[2026-09-10 14:35:06] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8c4a48012d196840071fede8003f011d26..."} 
[2026-09-10 14:35:06] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8c"} 
[2026-09-10 14:35:06] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8c"} 
[2026-09-10 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991890944001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35: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-09-10 14:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789030845000,"timestamp_ms":1789030845000,"timestamp_seconds":1789030845,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8c4a48"} 
[2026-09-10 14:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 14:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991890944001,"66":12950,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991890944001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:35:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991890944001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:35:06] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:35:06] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:35:19] local.INFO: TCP Data received {"connection_id":179109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:35:19] local.INFO: Processing buffer {"connection_id":179109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:35:19] local.INFO: IMEI packet received {"connection_id":179109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":179109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:35:24] local.INFO: TCP Data received {"connection_id":179109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:35:24] local.INFO: Processing buffer {"connection_id":179109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:35:24] local.INFO: IMEI packet received {"connection_id":179109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":179109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:35:25] local.INFO: TCP Data received {"connection_id":179109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:35:25] local.INFO: Processing buffer {"connection_id":179109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8bcd48012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:35:25] local.INFO: Packet analysis {"connection_id":179109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:35:25] local.INFO: Extracted packet for processing {"connection_id":179109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8b"} 
[2026-09-10 14:35:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991811072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789030813000,"timestamp_ms":1789030813000,"timestamp_seconds":1789030813,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8bcd48"} 
[2026-09-10 14:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:35: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-09-10 14:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 14:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991811072001,"66":26321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991811072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:35:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991811072001,"power":26321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":179109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:35:25] local.INFO: GPS data processed {"connection_id":179109,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:35:25] local.INFO: Acknowledgment sent {"connection_id":179109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:35:32] local.INFO: TCP Data received {"connection_id":176554,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:35:32] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:35:32] local.INFO: IMEI packet received {"connection_id":176554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":176554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:35:35] local.INFO: TCP Data received {"connection_id":176554,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:35:35] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:35:35] local.INFO: IMEI packet received {"connection_id":176554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":176554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:35:36] local.INFO: TCP Data received {"connection_id":176554,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8c9c50012d196840071fede8003f011d25..."} 
[2026-09-10 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8c9c50012d196840071fede8003f011d25..."} 
[2026-09-10 14:35:36] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8c9c50012d196840071fede8003f011d25..."} 
[2026-09-10 14:35:36] local.INFO: Packet analysis {"connection_id":176554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8c"} 
[2026-09-10 14:35:36] local.INFO: Extracted packet for processing {"connection_id":176554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8c"} 
[2026-09-10 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991896320001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35: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-09-10 14:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789030866000,"timestamp_ms":1789030866000,"timestamp_seconds":1789030866,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8c9c50"} 
[2026-09-10 14:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991896320001,"66":12852,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991896320001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:35:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991896320001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":176554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:35:37] local.INFO: GPS data processed {"connection_id":176554,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:35:37] local.INFO: Acknowledgment sent {"connection_id":176554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:35:38] local.INFO: TCP Data received {"connection_id":176554,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8cee58012d196840071fede8003f011d26..."} 
[2026-09-10 14:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8cee58012d196840071fede8003f011d26..."} 
[2026-09-10 14:35:38] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8cee58012d196840071fede8003f011d26..."} 
[2026-09-10 14:35:38] local.INFO: Packet analysis {"connection_id":176554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8c"} 
[2026-09-10 14:35:38] local.INFO: Extracted packet for processing {"connection_id":176554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8c"} 
[2026-09-10 14:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991901696001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35: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-09-10 14:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789030887000,"timestamp_ms":1789030887000,"timestamp_seconds":1789030887,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8cee58"} 
[2026-09-10 14:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 14:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991901696001,"66":12863,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991901696001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:35:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991901696001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":176554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:35:38] local.INFO: GPS data processed {"connection_id":176554,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:35:38] local.INFO: Acknowledgment sent {"connection_id":176554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:35:56] local.INFO: TCP Data received {"connection_id":179109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:35:56] local.INFO: Processing buffer {"connection_id":179109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:35:56] local.INFO: Packet analysis {"connection_id":179109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:35:56] local.INFO: Extracted packet for processing {"connection_id":179109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:35:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:35:56] 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-09-10 14:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:35:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":179109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:35:56] local.INFO: GPS data processed {"connection_id":179109,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:35:56] local.INFO: Acknowledgment sent {"connection_id":179109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:36:10] local.INFO: TCP Data received {"connection_id":176554,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8d4060012d196840071fede8003f011d25..."} 
[2026-09-10 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8d4060012d196840071fede8003f011d25..."} 
[2026-09-10 14:36:10] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8d4060012d196840071fede8003f011d25..."} 
[2026-09-10 14:36:10] local.INFO: Packet analysis {"connection_id":176554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8d"} 
[2026-09-10 14:36:10] local.INFO: Extracted packet for processing {"connection_id":176554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8d"} 
[2026-09-10 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991907072001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36: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-09-10 14:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789030908000,"timestamp_ms":1789030908000,"timestamp_seconds":1789030908,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8d4060"} 
[2026-09-10 14:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 14:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991907072001,"66":12852,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991907072001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:36:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991907072001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":176554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:36:10] local.INFO: GPS data processed {"connection_id":176554,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:36:10] local.INFO: Acknowledgment sent {"connection_id":176554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:36:19] local.INFO: TCP Data received {"connection_id":179110,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:36:19] local.INFO: Processing buffer {"connection_id":179110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:36:19] local.INFO: IMEI packet received {"connection_id":179110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":179110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:36:24] local.INFO: TCP Data received {"connection_id":179110,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:36:24] local.INFO: Processing buffer {"connection_id":179110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:36:24] local.INFO: IMEI packet received {"connection_id":179110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":179110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:36:25] local.INFO: TCP Data received {"connection_id":179110,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:36:25] local.INFO: Processing buffer {"connection_id":179110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:36:25] local.INFO: Packet analysis {"connection_id":179110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:36:25] local.INFO: Extracted packet for processing {"connection_id":179110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:36:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:36: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-09-10 14: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:36:25] 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-09-10 14:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:36:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":179110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:36:25] local.INFO: GPS data processed {"connection_id":179110,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:36:25] local.INFO: Acknowledgment sent {"connection_id":179110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:36:27] local.INFO: TCP Data received {"connection_id":176315,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:36:27] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:36:27] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:36:32] local.INFO: TCP Data received {"connection_id":176315,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:36:32] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:36:32] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:36:34] local.INFO: TCP Data received {"connection_id":176315,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8d9268012d196840071fede8003f011d24..."} 
[2026-09-10 14:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8d9268012d196840071fede8003f011d24..."} 
[2026-09-10 14:36:34] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8d9268012d196840071fede8003f011d24..."} 
[2026-09-10 14:36:34] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8d"} 
[2026-09-10 14:36:34] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8d"} 
[2026-09-10 14:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991912448001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789030929000,"timestamp_ms":1789030929000,"timestamp_seconds":1789030929,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8d9268"} 
[2026-09-10 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-09-10 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-09-10 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 14:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991912448001,"66":12841,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991912448001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:36:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991912448001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:36:34] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:36:34] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:36:56] local.INFO: TCP Data received {"connection_id":179110,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:36:56] local.INFO: Processing buffer {"connection_id":179110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:36:56] local.INFO: Packet analysis {"connection_id":179110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:36:56] local.INFO: Extracted packet for processing {"connection_id":179110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:36:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:36:56] 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-09-10 14: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-09-10 14:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:36:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":179110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:36:56] local.INFO: GPS data processed {"connection_id":179110,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:36:56] local.INFO: Acknowledgment sent {"connection_id":179110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:37:05] local.INFO: TCP Data received {"connection_id":176315,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8de470012d196840071fede8003f011d26..."} 
[2026-09-10 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8de470012d196840071fede8003f011d26..."} 
[2026-09-10 14:37:05] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8de470012d196840071fede8003f011d26..."} 
[2026-09-10 14:37:05] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8d"} 
[2026-09-10 14:37:05] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8d"} 
[2026-09-10 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991917824001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37: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-09-10 14:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789030950000,"timestamp_ms":1789030950000,"timestamp_seconds":1789030950,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8de470"} 
[2026-09-10 14:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:37: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-09-10 14: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":41,"data_length":795,"current_offset":136} 
[2026-09-10 14:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991917824001,"66":12841,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991917824001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991917824001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:37:05] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:37:05] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:37:17] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:37:17] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:37:17] local.INFO: IMEI packet received {"connection_id":176316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":176316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:37:19] local.INFO: TCP Data received {"connection_id":179111,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:37:19] local.INFO: Processing buffer {"connection_id":179111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:37:19] local.INFO: IMEI packet received {"connection_id":179111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":179111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:37:24] local.INFO: TCP Data received {"connection_id":179111,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:37:24] local.INFO: Processing buffer {"connection_id":179111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:37:24] local.INFO: IMEI packet received {"connection_id":179111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":179111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:37:25] local.INFO: TCP Data received {"connection_id":179111,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:37:25] local.INFO: Processing buffer {"connection_id":179111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:37:25] local.INFO: Packet analysis {"connection_id":179111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:37:25] local.INFO: Extracted packet for processing {"connection_id":179111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:37:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:37: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-09-10 14:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:37:25] 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-09-10 14:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:37:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":179111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:37:25] local.INFO: GPS data processed {"connection_id":179111,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:37:25] local.INFO: Acknowledgment sent {"connection_id":179111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:37:27] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:37:27] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:37:27] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:37:32] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:37:32] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:37:32] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:37:33] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a8e3678012d196840071fede8003f011d28..."} 
[2026-09-10 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a8e3678012d196840071fede8003f011d28..."} 
[2026-09-10 14:37:33] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a8e3678012d196840071fede8003f011d28..."} 
[2026-09-10 14:37:33] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a8e"} 
[2026-09-10 14:37:33] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a8e"} 
[2026-09-10 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991923200001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789030971000,"timestamp_ms":1789030971000,"timestamp_seconds":1789030971,"priority":1,"record_length":96,"hex_timestamp":"000001a08a8e3678"} 
[2026-09-10 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-09-10 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 14:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991923200001,"66":12722,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991923200001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:37:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991923200001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:37:33] local.INFO: GPS data processed {"connection_id":176317,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:37:33] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:37:56] local.INFO: TCP Data received {"connection_id":179111,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:37:56] local.INFO: Processing buffer {"connection_id":179111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:37:56] local.INFO: Packet analysis {"connection_id":179111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:37:56] local.INFO: Extracted packet for processing {"connection_id":179111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:37:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:37:56] 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-09-10 14:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:37:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:37:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":179111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:37:56] local.INFO: GPS data processed {"connection_id":179111,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:37:56] local.INFO: Acknowledgment sent {"connection_id":179111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:38:05] local.INFO: TCP Data received {"connection_id":176317,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a91bcd0012d196840071fede8003f011d29..."} 
[2026-09-10 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a91bcd0012d196840071fede8003f011d29..."} 
[2026-09-10 14:38:05] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a91bcd0012d196840071fede8003f011d29..."} 
[2026-09-10 14:38:05] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a91"} 
[2026-09-10 14:38:05] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a91"} 
[2026-09-10 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991982336001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38: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-09-10 14:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789031202000,"timestamp_ms":1789031202000,"timestamp_seconds":1789031202,"priority":1,"record_length":96,"hex_timestamp":"000001a08a91bcd0"} 
[2026-09-10 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-09-10 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 14:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991982336001,"66":12689,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991982336001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991982336001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:38:05] local.INFO: GPS data processed {"connection_id":176317,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:38:05] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:38:19] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:38:19] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:38:19] local.INFO: IMEI packet received {"connection_id":177734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":177734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:38:24] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:38:24] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:38:24] local.INFO: IMEI packet received {"connection_id":177734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":177734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:38:25] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:38:25] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:38:25] local.INFO: Packet analysis {"connection_id":177734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:38:25] local.INFO: Extracted packet for processing {"connection_id":177734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:38:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:38: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-09-10 14:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:38:25] 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-09-10 14:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:38:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":177734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:38:25] local.INFO: GPS data processed {"connection_id":177734,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:38:25] local.INFO: Acknowledgment sent {"connection_id":177734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:38:27] local.INFO: TCP Data received {"connection_id":177735,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:38:27] local.INFO: Processing buffer {"connection_id":177735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:38:27] local.INFO: IMEI packet received {"connection_id":177735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":177735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:38:32] local.INFO: TCP Data received {"connection_id":177735,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:38:32] local.INFO: Processing buffer {"connection_id":177735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:38:32] local.INFO: IMEI packet received {"connection_id":177735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":177735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:38:33] local.INFO: TCP Data received {"connection_id":177735,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a920ed8012d196840071fede8003f011d29..."} 
[2026-09-10 14:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a920ed8012d196840071fede8003f011d29..."} 
[2026-09-10 14:38:33] local.INFO: Processing buffer {"connection_id":177735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a920ed8012d196840071fede8003f011d29..."} 
[2026-09-10 14:38:33] local.INFO: Packet analysis {"connection_id":177735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a92"} 
[2026-09-10 14:38:33] local.INFO: Extracted packet for processing {"connection_id":177735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a92"} 
[2026-09-10 14:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991987712001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789031223000,"timestamp_ms":1789031223000,"timestamp_seconds":1789031223,"priority":1,"record_length":96,"hex_timestamp":"000001a08a920ed8"} 
[2026-09-10 14:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 14:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991987712001,"66":12689,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991987712001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:38:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:38:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991987712001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":177735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:38:33] local.INFO: GPS data processed {"connection_id":177735,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:38:33] local.INFO: Acknowledgment sent {"connection_id":177735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:38:56] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:38:56] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:38:56] local.INFO: Packet analysis {"connection_id":177734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:38:56] local.INFO: Extracted packet for processing {"connection_id":177734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:38:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:38:56] 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-09-10 14:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:38:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":177734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:38:56] local.INFO: GPS data processed {"connection_id":177734,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:38:56] local.INFO: Acknowledgment sent {"connection_id":177734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:39:05] local.INFO: TCP Data received {"connection_id":177735,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9260e0012d196840071fede8003f011d26..."} 
[2026-09-10 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9260e0012d196840071fede8003f011d26..."} 
[2026-09-10 14:39:05] local.INFO: Processing buffer {"connection_id":177735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9260e0012d196840071fede8003f011d26..."} 
[2026-09-10 14:39:05] local.INFO: Packet analysis {"connection_id":177735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a92"} 
[2026-09-10 14:39:05] local.INFO: Extracted packet for processing {"connection_id":177735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a92"} 
[2026-09-10 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991993088001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39: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-09-10 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789031244000,"timestamp_ms":1789031244000,"timestamp_seconds":1789031244,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9260e0"} 
[2026-09-10 14:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:39: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-09-10 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 14:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991993088001,"66":12613,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991993088001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991993088001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":177735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:39:05] local.INFO: GPS data processed {"connection_id":177735,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:39:05] local.INFO: Acknowledgment sent {"connection_id":177735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:39:19] local.INFO: TCP Data received {"connection_id":179112,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:39:19] local.INFO: Processing buffer {"connection_id":179112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:39:19] local.INFO: IMEI packet received {"connection_id":179112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":179112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:39:24] local.INFO: TCP Data received {"connection_id":179112,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:39:24] local.INFO: Processing buffer {"connection_id":179112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:39:24] local.INFO: IMEI packet received {"connection_id":179112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":179112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:39:25] local.INFO: TCP Data received {"connection_id":179112,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:39:25] local.INFO: Processing buffer {"connection_id":179112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:39:25] local.INFO: Packet analysis {"connection_id":179112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:39:25] local.INFO: Extracted packet for processing {"connection_id":179112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:39:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:39: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-09-10 14:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:39:25] 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-09-10 14:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:39:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":179112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:39:25] local.INFO: GPS data processed {"connection_id":179112,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:39:25] local.INFO: Acknowledgment sent {"connection_id":179112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:39:32] local.INFO: TCP Data received {"connection_id":176319,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:39:32] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:39:32] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:39:37] local.INFO: TCP Data received {"connection_id":176319,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:39:37] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:39:37] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:39:38] local.INFO: TCP Data received {"connection_id":176319,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a92b2e8012d196840071fede8003f011d29..."} 
[2026-09-10 14:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a92b2e8012d196840071fede8003f011d29..."} 
[2026-09-10 14:39:38] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a92b2e8012d196840071fede8003f011d29..."} 
[2026-09-10 14:39:38] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a92"} 
[2026-09-10 14:39:38] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a92"} 
[2026-09-10 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991998464001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14: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-09-10 14:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789031265000,"timestamp_ms":1789031265000,"timestamp_seconds":1789031265,"priority":1,"record_length":96,"hex_timestamp":"000001a08a92b2e8"} 
[2026-09-10 14:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 14:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991998464001,"66":12613,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991998464001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991998464001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:39:38] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:39:38] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:39:56] local.INFO: TCP Data received {"connection_id":179112,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:39:56] local.INFO: Processing buffer {"connection_id":179112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:39:56] local.INFO: Packet analysis {"connection_id":179112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:39:56] local.INFO: Extracted packet for processing {"connection_id":179112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:39:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:39:56] 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-09-10 14:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:39:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":179112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:39:56] local.INFO: GPS data processed {"connection_id":179112,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:39:56] local.INFO: Acknowledgment sent {"connection_id":179112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:40:11] local.INFO: TCP Data received {"connection_id":176319,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9304f0012d196840071fede8003f011d28..."} 
[2026-09-10 14:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9304f0012d196840071fede8003f011d28..."} 
[2026-09-10 14:40:11] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9304f0012d196840071fede8003f011d28..."} 
[2026-09-10 14:40:11] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:40:11] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992003840001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40: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-09-10 14:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789031286000,"timestamp_ms":1789031286000,"timestamp_seconds":1789031286,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9304f0"} 
[2026-09-10 14:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:40: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-09-10 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 14:40: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-09-10 14: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-09-10 14:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992003840001,"66":12613,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992003840001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:40:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992003840001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:40:11] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:40:11] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:40:24] local.INFO: TCP Data received {"connection_id":179113,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:40:24] local.INFO: Processing buffer {"connection_id":179113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:40:24] local.INFO: IMEI packet received {"connection_id":179113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":179113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:40:27] local.INFO: TCP Data received {"connection_id":176320,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:27] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:27] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:40:29] local.INFO: TCP Data received {"connection_id":176320,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:29] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:29] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:40:29] local.INFO: TCP Data received {"connection_id":179113,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:40:29] local.INFO: Processing buffer {"connection_id":179113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:40:29] local.INFO: IMEI packet received {"connection_id":179113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":179113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:40:30] local.INFO: TCP Data received {"connection_id":179113,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:40:30] local.INFO: Processing buffer {"connection_id":179113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:40:30] local.INFO: Packet analysis {"connection_id":179113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:40:30] local.INFO: Extracted packet for processing {"connection_id":179113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:40:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:40:30] 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-09-10 14:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:40: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-09-10 14:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:40:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":179113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:40:30] local.INFO: GPS data processed {"connection_id":179113,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:40:30] local.INFO: Acknowledgment sent {"connection_id":179113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:40:32] local.INFO: TCP Data received {"connection_id":176320,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:32] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:40:32] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:40:33] local.INFO: TCP Data received {"connection_id":176320,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9356f8012d196840071fede8003f011d29..."} 
[2026-09-10 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9356f8012d196840071fede8003f011d29..."} 
[2026-09-10 14:40:33] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9356f8012d196840071fede8003f011d29..."} 
[2026-09-10 14:40:33] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:40:33] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992009216001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789031307000,"timestamp_ms":1789031307000,"timestamp_seconds":1789031307,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9356f8"} 
[2026-09-10 14:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 14:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992009216001,"66":12645,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992009216001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:40:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992009216001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:40:33] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:40:33] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:40:34] local.INFO: TCP Data received {"connection_id":179113,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:40:34] local.INFO: Processing buffer {"connection_id":179113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a906510012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:40:34] local.INFO: Packet analysis {"connection_id":179113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:40:34] local.INFO: Extracted packet for processing {"connection_id":179113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a90"} 
[2026-09-10 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991888128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789031114000,"timestamp_ms":1789031114000,"timestamp_seconds":1789031114,"priority":1,"record_length":96,"hex_timestamp":"000001a08a906510"} 
[2026-09-10 14:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:40: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-09-10 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-10 14:40:34] 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-09-10 14:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:40: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-09-10 14:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991888128001,"66":26169,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991888128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:40:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:40:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991888128001,"power":26169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":179113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:40:34] local.INFO: GPS data processed {"connection_id":179113,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:40:34] local.INFO: Acknowledgment sent {"connection_id":179113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:40:38] local.INFO: TCP Data received {"connection_id":176320,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a93a900012d196840071fede8003f011d28..."} 
[2026-09-10 14:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a93a900012d196840071fede8003f011d28..."} 
[2026-09-10 14:40:38] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a93a900012d196840071fede8003f011d28..."} 
[2026-09-10 14:40:38] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:40:38] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992014592001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 14:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789031328000,"timestamp_ms":1789031328000,"timestamp_seconds":1789031328,"priority":1,"record_length":96,"hex_timestamp":"000001a08a93a900"} 
[2026-09-10 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-09-10 14:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 14:40: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-09-10 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-09-10 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-09-10 14:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992014592001,"66":12635,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992014592001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992014592001,"power":12635,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:40:38] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:40:38] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:41:10] local.INFO: TCP Data received {"connection_id":176320,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a93fb08012d196840071fede8003f011d29..."} 
[2026-09-10 14:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a93fb08012d196840071fede8003f011d29..."} 
[2026-09-10 14:41:10] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a93fb08012d196840071fede8003f011d29..."} 
[2026-09-10 14:41:10] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:41:10] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a93"} 
[2026-09-10 14:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992019968001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41: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-09-10 14:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789031349000,"timestamp_ms":1789031349000,"timestamp_seconds":1789031349,"priority":1,"record_length":96,"hex_timestamp":"000001a08a93fb08"} 
[2026-09-10 14:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:41: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-09-10 14: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 14:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992019968001,"66":12613,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992019968001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:41:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992019968001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:41:11] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:41:11] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:41:19] local.INFO: TCP Data received {"connection_id":179114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:41:19] local.INFO: Processing buffer {"connection_id":179114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:41:19] local.INFO: IMEI packet received {"connection_id":179114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":179114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:41:24] local.INFO: TCP Data received {"connection_id":179114,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:41:24] local.INFO: Processing buffer {"connection_id":179114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:41:24] local.INFO: IMEI packet received {"connection_id":179114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":179114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:41:25] local.INFO: TCP Data received {"connection_id":179114,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:41:25] local.INFO: Processing buffer {"connection_id":179114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:41:25] local.INFO: Packet analysis {"connection_id":179114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:41:25] local.INFO: Extracted packet for processing {"connection_id":179114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:41:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:41:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":179114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:41:25] local.INFO: GPS data processed {"connection_id":179114,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:41:25] local.INFO: Acknowledgment sent {"connection_id":179114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:41:27] local.INFO: TCP Data received {"connection_id":176321,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:41:27] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:41:27] local.INFO: IMEI packet received {"connection_id":176321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":176321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:41:32] local.INFO: TCP Data received {"connection_id":176321,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:41:32] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:41:32] local.INFO: IMEI packet received {"connection_id":176321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":176321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:41:33] local.INFO: TCP Data received {"connection_id":176321,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a944d10012d196840071fede8003f011d28..."} 
[2026-09-10 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a944d10012d196840071fede8003f011d28..."} 
[2026-09-10 14:41:33] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a944d10012d196840071fede8003f011d28..."} 
[2026-09-10 14:41:33] local.INFO: Packet analysis {"connection_id":176321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:41:33] local.INFO: Extracted packet for processing {"connection_id":176321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992025344001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789031370000,"timestamp_ms":1789031370000,"timestamp_seconds":1789031370,"priority":1,"record_length":96,"hex_timestamp":"000001a08a944d10"} 
[2026-09-10 14:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:41: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-09-10 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 14:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992025344001,"66":12548,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992025344001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:41:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992025344001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":176321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:41:33] local.INFO: GPS data processed {"connection_id":176321,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:41:33] local.INFO: Acknowledgment sent {"connection_id":176321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:41:56] local.INFO: TCP Data received {"connection_id":179114,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:41:56] local.INFO: Processing buffer {"connection_id":179114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:41:56] local.INFO: Packet analysis {"connection_id":179114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:41:56] local.INFO: Extracted packet for processing {"connection_id":179114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:41:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:41:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:41:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":179114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:41:56] local.INFO: GPS data processed {"connection_id":179114,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:41:56] local.INFO: Acknowledgment sent {"connection_id":179114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:42:05] local.INFO: TCP Data received {"connection_id":176321,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a949f18012d196840071fede8003f011d27..."} 
[2026-09-10 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a949f18012d196840071fede8003f011d27..."} 
[2026-09-10 14:42:05] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a949f18012d196840071fede8003f011d27..."} 
[2026-09-10 14:42:05] local.INFO: Packet analysis {"connection_id":176321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:05] local.INFO: Extracted packet for processing {"connection_id":176321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992030720001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42: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-09-10 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789031391000,"timestamp_ms":1789031391000,"timestamp_seconds":1789031391,"priority":1,"record_length":96,"hex_timestamp":"000001a08a949f18"} 
[2026-09-10 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:42: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-09-10 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2324848864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2466574337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,114,160,251,45,64,237,63,41,10,66,169,40,86,1,240,101,138,31,4,113,205,178,104,232,239,49,2,68,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:42:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941957002067968,"timestamp_seconds":4539941957002068.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992030720001,"66":12537,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992030720001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992030720001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":176321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:42:05] local.INFO: GPS data processed {"connection_id":176321,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:42:05] local.INFO: Acknowledgment sent {"connection_id":176321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:42:19] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:42:19] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:42:19] local.INFO: IMEI packet received {"connection_id":176556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":176556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:42:24] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:42:24] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:42:24] local.INFO: IMEI packet received {"connection_id":176556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":176556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:42:25] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:42:25] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:42:25] local.INFO: Packet analysis {"connection_id":176556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:25] local.INFO: Extracted packet for processing {"connection_id":176556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:42:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":176556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:42:25] local.INFO: GPS data processed {"connection_id":176556,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:42:25] local.INFO: Acknowledgment sent {"connection_id":176556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:42:32] local.INFO: TCP Data received {"connection_id":179115,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:42:32] local.INFO: Processing buffer {"connection_id":179115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:42:32] local.INFO: IMEI packet received {"connection_id":179115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":179115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:42:35] local.INFO: TCP Data received {"connection_id":179115,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:42:35] local.INFO: Processing buffer {"connection_id":179115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:42:35] local.INFO: IMEI packet received {"connection_id":179115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":179115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:42:36] local.INFO: TCP Data received {"connection_id":179115,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94f120012d196840071fede8003f011d27..."} 
[2026-09-10 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94f120012d196840071fede8003f011d27..."} 
[2026-09-10 14:42:36] local.INFO: Processing buffer {"connection_id":179115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94f120012d196840071fede8003f011d27..."} 
[2026-09-10 14:42:36] local.INFO: Packet analysis {"connection_id":179115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:36] local.INFO: Extracted packet for processing {"connection_id":179115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992036096001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42: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-09-10 14:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789031412000,"timestamp_ms":1789031412000,"timestamp_seconds":1789031412,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94f120"} 
[2026-09-10 14:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 14:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992036096001,"66":12591,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992036096001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:42:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992036096001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":179115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:42:36] local.INFO: GPS data processed {"connection_id":179115,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:42:36] local.INFO: Acknowledgment sent {"connection_id":179115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:42:56] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:42:56] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:42:56] local.INFO: Packet analysis {"connection_id":176556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:56] local.INFO: Extracted packet for processing {"connection_id":176556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:42:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:42:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":176556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:42:56] local.INFO: GPS data processed {"connection_id":176556,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:42:56] local.INFO: Acknowledgment sent {"connection_id":176556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:43:08] local.INFO: TCP Data received {"connection_id":179115,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a954328012d196840071fede8003f011d29..."} 
[2026-09-10 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a954328012d196840071fede8003f011d29..."} 
[2026-09-10 14:43:08] local.INFO: Processing buffer {"connection_id":179115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a954328012d196840071fede8003f011d29..."} 
[2026-09-10 14:43:08] local.INFO: Packet analysis {"connection_id":179115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a95"} 
[2026-09-10 14:43:08] local.INFO: Extracted packet for processing {"connection_id":179115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a95"} 
[2026-09-10 14:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992041472001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43: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-09-10 14:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789031433000,"timestamp_ms":1789031433000,"timestamp_seconds":1789031433,"priority":1,"record_length":96,"hex_timestamp":"000001a08a954328"} 
[2026-09-10 14:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 14:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992041472001,"66":12548,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992041472001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:43:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:43:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992041472001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":179115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:43:08] local.INFO: GPS data processed {"connection_id":179115,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:43:08] local.INFO: Acknowledgment sent {"connection_id":179115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:43:19] local.INFO: TCP Data received {"connection_id":179116,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:43:19] local.INFO: Processing buffer {"connection_id":179116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:43:19] local.INFO: IMEI packet received {"connection_id":179116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":179116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:43:24] local.INFO: TCP Data received {"connection_id":179116,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:43:24] local.INFO: Processing buffer {"connection_id":179116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:43:24] local.INFO: IMEI packet received {"connection_id":179116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":179116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:43:25] local.INFO: TCP Data received {"connection_id":179116,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:43:25] local.INFO: Processing buffer {"connection_id":179116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:43:25] local.INFO: Packet analysis {"connection_id":179116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:43:25] local.INFO: Extracted packet for processing {"connection_id":179116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:43:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:43:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":179116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:43:25] local.INFO: GPS data processed {"connection_id":179116,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:43:25] local.INFO: Acknowledgment sent {"connection_id":179116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:43:28] local.INFO: TCP Data received {"connection_id":179117,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:43:28] local.INFO: Processing buffer {"connection_id":179117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:43:28] local.INFO: IMEI packet received {"connection_id":179117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":179117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:43:32] local.INFO: TCP Data received {"connection_id":179117,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:43:32] local.INFO: Processing buffer {"connection_id":179117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:43:32] local.INFO: IMEI packet received {"connection_id":179117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":179117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:43:33] local.INFO: TCP Data received {"connection_id":179117,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a959530012d196840071fede8003f011d28..."} 
[2026-09-10 14:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a959530012d196840071fede8003f011d28..."} 
[2026-09-10 14:43:33] local.INFO: Processing buffer {"connection_id":179117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a959530012d196840071fede8003f011d28..."} 
[2026-09-10 14:43:33] local.INFO: Packet analysis {"connection_id":179117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a95"} 
[2026-09-10 14:43:33] local.INFO: Extracted packet for processing {"connection_id":179117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a95"} 
[2026-09-10 14:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992046848001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789031454000,"timestamp_ms":1789031454000,"timestamp_seconds":1789031454,"priority":1,"record_length":96,"hex_timestamp":"000001a08a959530"} 
[2026-09-10 14:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:43: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-09-10 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2324911864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2482702337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:43:33] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,114,160,45,64,237,63,39,10,66,159,77,1,240,4,138,31,113,205,169,104,232,40,239,49,2,68,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:43:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941961297035264,"timestamp_seconds":4539941961297035.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 14:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992046848001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992046848001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:43:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992046848001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":179117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:43:33] local.INFO: GPS data processed {"connection_id":179117,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:43:33] local.INFO: Acknowledgment sent {"connection_id":179117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:43:56] local.INFO: TCP Data received {"connection_id":179116,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:43:56] local.INFO: Processing buffer {"connection_id":179116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:43:56] local.INFO: Packet analysis {"connection_id":179116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:43:56] local.INFO: Extracted packet for processing {"connection_id":179116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:43:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:43:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":179116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:43:56] local.INFO: GPS data processed {"connection_id":179116,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:43:56] local.INFO: Acknowledgment sent {"connection_id":179116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:44:05] local.INFO: TCP Data received {"connection_id":179117,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a95e738012d196840071fede8003f011d26..."} 
[2026-09-10 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a95e738012d196840071fede8003f011d26..."} 
[2026-09-10 14:44:05] local.INFO: Processing buffer {"connection_id":179117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a95e738012d196840071fede8003f011d26..."} 
[2026-09-10 14:44:05] local.INFO: Packet analysis {"connection_id":179117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a95"} 
[2026-09-10 14:44:05] local.INFO: Extracted packet for processing {"connection_id":179117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a95"} 
[2026-09-10 14:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992052224001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44: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-09-10 14:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789031475000,"timestamp_ms":1789031475000,"timestamp_seconds":1789031475,"priority":1,"record_length":96,"hex_timestamp":"000001a08a95e738"} 
[2026-09-10 14:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:44: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-09-10 14:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992052224001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992052224001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992052224001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":179117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:44:05] local.INFO: GPS data processed {"connection_id":179117,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:44:05] local.INFO: Acknowledgment sent {"connection_id":179117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:44:19] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:44:19] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:44:19] local.INFO: IMEI packet received {"connection_id":176558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":176558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:44:24] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:44:24] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:44:24] local.INFO: IMEI packet received {"connection_id":176558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":176558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:44:25] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:44:25] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:44:25] local.INFO: Packet analysis {"connection_id":176558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:44:25] local.INFO: Extracted packet for processing {"connection_id":176558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:44:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":176558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:44:25] local.INFO: GPS data processed {"connection_id":176558,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:44:25] local.INFO: Acknowledgment sent {"connection_id":176558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:44:26] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:44:26] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:44:26] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:44:27] local.INFO: TCP Data received {"connection_id":177736,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:44:27] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:44:27] local.INFO: IMEI packet received {"connection_id":177736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":177736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:44:32] local.INFO: TCP Data received {"connection_id":177736,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:44:32] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:44:32] local.INFO: IMEI packet received {"connection_id":177736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":177736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:44:34] local.INFO: TCP Data received {"connection_id":177736,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a963940012d196840071fede8003f011d27..."} 
[2026-09-10 14:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a963940012d196840071fede8003f011d27..."} 
[2026-09-10 14:44:34] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a963940012d196840071fede8003f011d27..."} 
[2026-09-10 14:44:34] local.INFO: Packet analysis {"connection_id":177736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a96"} 
[2026-09-10 14:44:34] local.INFO: Extracted packet for processing {"connection_id":177736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a96"} 
[2026-09-10 14:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992057600001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789031496000,"timestamp_ms":1789031496000,"timestamp_seconds":1789031496,"priority":1,"record_length":96,"hex_timestamp":"000001a08a963940"} 
[2026-09-10 14:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992057600001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992057600001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:44:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992057600001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":177736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:44:34] local.INFO: GPS data processed {"connection_id":177736,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:44:34] local.INFO: Acknowledgment sent {"connection_id":177736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:44:56] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:44:56] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:44:56] local.INFO: Packet analysis {"connection_id":176558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:44:56] local.INFO: Extracted packet for processing {"connection_id":176558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:44:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:44:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:44:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":176558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:44:56] local.INFO: GPS data processed {"connection_id":176558,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:44:56] local.INFO: Acknowledgment sent {"connection_id":176558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:45:06] local.INFO: TCP Data received {"connection_id":177736,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a968b48012d196840071fede8003f011d27..."} 
[2026-09-10 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a968b48012d196840071fede8003f011d27..."} 
[2026-09-10 14:45:06] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a968b48012d196840071fede8003f011d27..."} 
[2026-09-10 14:45:06] local.INFO: Packet analysis {"connection_id":177736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a96"} 
[2026-09-10 14:45:06] local.INFO: Extracted packet for processing {"connection_id":177736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a96"} 
[2026-09-10 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992062976001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45: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-09-10 14:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789031517000,"timestamp_ms":1789031517000,"timestamp_seconds":1789031517,"priority":1,"record_length":96,"hex_timestamp":"000001a08a968b48"} 
[2026-09-10 14:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:45: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-09-10 14: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":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:45: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-09-10 14:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992062976001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992062976001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992062976001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":177736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:45:06] local.INFO: GPS data processed {"connection_id":177736,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:45:06] local.INFO: Acknowledgment sent {"connection_id":177736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:45:24] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:45:24] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:45:24] local.INFO: IMEI packet received {"connection_id":177738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":177738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:45:27] local.INFO: TCP Data received {"connection_id":176322,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:45:27] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:45:27] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:45:29] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:45:29] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:45:29] local.INFO: IMEI packet received {"connection_id":177738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":177738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:45:30] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:45:30] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:45:30] local.INFO: Packet analysis {"connection_id":177738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:45:30] local.INFO: Extracted packet for processing {"connection_id":177738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:45:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":177738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:45:30] local.INFO: GPS data processed {"connection_id":177738,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:45:30] local.INFO: Acknowledgment sent {"connection_id":177738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:45:32] local.INFO: TCP Data received {"connection_id":176322,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:45:32] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:45:32] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:45:33] local.INFO: TCP Data received {"connection_id":176322,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a96dd50012d196840071fede8003f011d28..."} 
[2026-09-10 14:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a96dd50012d196840071fede8003f011d28..."} 
[2026-09-10 14:45:33] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a96dd50012d196840071fede8003f011d28..."} 
[2026-09-10 14:45:33] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a96"} 
[2026-09-10 14:45:33] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a96"} 
[2026-09-10 14:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992068352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789031538000,"timestamp_ms":1789031538000,"timestamp_seconds":1789031538,"priority":1,"record_length":96,"hex_timestamp":"000001a08a96dd50"} 
[2026-09-10 14:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:45: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-09-10 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992068352001,"66":12548,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992068352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:45:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992068352001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:45:33] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:45:33] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:45:34] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:45:34] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a94fcd8012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:45:34] local.INFO: Packet analysis {"connection_id":177738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:45:34] local.INFO: Extracted packet for processing {"connection_id":177738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a94"} 
[2026-09-10 14:45:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457991965184001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789031415000,"timestamp_ms":1789031415000,"timestamp_seconds":1789031415,"priority":1,"record_length":96,"hex_timestamp":"000001a08a94fcd8"} 
[2026-09-10 14:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-10 14:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:45: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-09-10 14:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457991965184001,"66":26115,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457991965184001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:45:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:45:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:45:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457991965184001,"power":26115,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":177738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:45:34] local.INFO: GPS data processed {"connection_id":177738,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:45:34] local.INFO: Acknowledgment sent {"connection_id":177738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:46:05] local.INFO: TCP Data received {"connection_id":176322,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a972f58012d196840071fede8003f011d29..."} 
[2026-09-10 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a972f58012d196840071fede8003f011d29..."} 
[2026-09-10 14:46:05] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a972f58012d196840071fede8003f011d29..."} 
[2026-09-10 14:46:05] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a97"} 
[2026-09-10 14:46:05] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a97"} 
[2026-09-10 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992073728001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46: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-09-10 14:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789031559000,"timestamp_ms":1789031559000,"timestamp_seconds":1789031559,"priority":1,"record_length":96,"hex_timestamp":"000001a08a972f58"} 
[2026-09-10 14:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:46: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-09-10 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2325016864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2509582337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:46:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,114,160,139,45,64,237,63,39,10,66,57,231,1,240,216,138,31,4,113,205,67,104,232,41,239,49,2,68,7],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:46:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941957002067968,"timestamp_seconds":4539941957002068.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 14:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992073728001,"66":12548,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992073728001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992073728001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:46:05] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:46:05] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:46:19] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:46:19] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:46:19] local.INFO: IMEI packet received {"connection_id":177739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":177739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:46:24] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:46:24] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:46:24] local.INFO: IMEI packet received {"connection_id":177739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":177739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:46:25] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:46:25] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:46:25] local.INFO: Packet analysis {"connection_id":177739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:46:25] local.INFO: Extracted packet for processing {"connection_id":177739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:46:25] 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-09-10 14:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:46:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":177739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:46:25] local.INFO: GPS data processed {"connection_id":177739,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:46:25] local.INFO: Acknowledgment sent {"connection_id":177739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:46:32] local.INFO: TCP Data received {"connection_id":179118,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:46:32] local.INFO: Processing buffer {"connection_id":179118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:46:32] local.INFO: IMEI packet received {"connection_id":179118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":179118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:46:37] local.INFO: TCP Data received {"connection_id":179118,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:46:37] local.INFO: Processing buffer {"connection_id":179118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:46:37] local.INFO: IMEI packet received {"connection_id":179118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":179118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:46:38] local.INFO: TCP Data received {"connection_id":179118,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a978160012d196840071fede8003f011d27..."} 
[2026-09-10 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a978160012d196840071fede8003f011d27..."} 
[2026-09-10 14:46:38] local.INFO: Processing buffer {"connection_id":179118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a978160012d196840071fede8003f011d27..."} 
[2026-09-10 14:46:38] local.INFO: Packet analysis {"connection_id":179118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a97"} 
[2026-09-10 14:46:38] local.INFO: Extracted packet for processing {"connection_id":179118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a97"} 
[2026-09-10 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992079104001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46: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-09-10 14:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789031580000,"timestamp_ms":1789031580000,"timestamp_seconds":1789031580,"priority":1,"record_length":96,"hex_timestamp":"000001a08a978160"} 
[2026-09-10 14:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2325037864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2514958337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,114,160,221,45,64,237,63,40,10,66,139,39,57,1,240,216,138,31,4,113,205,149,104,232,239,48,2,68,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:46:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941961297035264,"timestamp_seconds":4539941961297035.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 14:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992079104001,"66":12548,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992079104001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992079104001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":179118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:46:39] local.INFO: GPS data processed {"connection_id":179118,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:46:39] local.INFO: Acknowledgment sent {"connection_id":179118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:46:43] local.INFO: TCP Data received {"connection_id":179118,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a97d368012d196840071fede8003f011d27..."} 
[2026-09-10 14:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a97d368012d196840071fede8003f011d27..."} 
[2026-09-10 14:46:43] local.INFO: Processing buffer {"connection_id":179118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a97d368012d196840071fede8003f011d27..."} 
[2026-09-10 14:46:43] local.INFO: Packet analysis {"connection_id":179118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a97"} 
[2026-09-10 14:46:43] local.INFO: Extracted packet for processing {"connection_id":179118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a97"} 
[2026-09-10 14:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992084480001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46: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-09-10 14:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789031601000,"timestamp_ms":1789031601000,"timestamp_seconds":1789031601,"priority":1,"record_length":96,"hex_timestamp":"000001a08a97d368"} 
[2026-09-10 14:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2325058864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184191328461,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2520334337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931367,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:43] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,114,160,47,45,64,237,63,41,10,66,221,40,139,1,240,216,138,31,4,113,205,231,104,232,38,239,48,2,68,7],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:46:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941952707100672,"timestamp_seconds":4539941952707101.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 14:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992084480001,"66":12548,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992084480001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:46:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992084480001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":179118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:46:43] local.INFO: GPS data processed {"connection_id":179118,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:46:43] local.INFO: Acknowledgment sent {"connection_id":179118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:46:56] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:46:56] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:46:56] local.INFO: Packet analysis {"connection_id":177739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:46:56] local.INFO: Extracted packet for processing {"connection_id":177739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:46:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:46:56] 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-09-10 14: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-09-10 14:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:46:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":177739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:46:56] local.INFO: GPS data processed {"connection_id":177739,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:46:56] local.INFO: Acknowledgment sent {"connection_id":177739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:47:19] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:47:19] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:47:19] local.INFO: IMEI packet received {"connection_id":176559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":176559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:47:24] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:47:24] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:47:24] local.INFO: IMEI packet received {"connection_id":176559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":176559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:47:25] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:47:25] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:47:25] local.INFO: Packet analysis {"connection_id":176559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:47:25] local.INFO: Extracted packet for processing {"connection_id":176559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:47:25] 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-09-10 14:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:47:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":176559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:47:25] local.INFO: GPS data processed {"connection_id":176559,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:47:25] local.INFO: Acknowledgment sent {"connection_id":176559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:47:27] local.INFO: TCP Data received {"connection_id":176323,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:47:27] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:47:27] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:47:29] local.INFO: TCP Data received {"connection_id":176323,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:47:29] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:47:29] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:47:30] local.INFO: TCP Data received {"connection_id":176323,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a982570012d196840071fede8003f011d29..."} 
[2026-09-10 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a982570012d196840071fede8003f011d29..."} 
[2026-09-10 14:47:30] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a982570012d196840071fede8003f011d29..."} 
[2026-09-10 14:47:30] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a98"} 
[2026-09-10 14:47:30] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a98"} 
[2026-09-10 14:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992089856001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789031622000,"timestamp_ms":1789031622000,"timestamp_seconds":1789031622,"priority":1,"record_length":96,"hex_timestamp":"000001a08a982570"} 
[2026-09-10 14:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2325079864,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2525710337,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931367,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,114,160,129,45,64,237,63,39,10,66,47,41,221,1,240,4,138,31,113,205,57,104,232,239,48,2,68,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 14:47:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941952707100672,"timestamp_seconds":4539941952707101.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 14:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992089856001,"66":12526,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992089856001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:47:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992089856001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:47:30] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:47:30] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:47:56] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:47:56] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:47:56] local.INFO: Packet analysis {"connection_id":176559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:47:56] local.INFO: Extracted packet for processing {"connection_id":176559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:47:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:47:56] 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-09-10 14:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:47:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":176559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:47:56] local.INFO: GPS data processed {"connection_id":176559,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:47:56] local.INFO: Acknowledgment sent {"connection_id":176559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:48:01] local.INFO: TCP Data received {"connection_id":176323,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a987778012d196840071fede8003f011d29..."} 
[2026-09-10 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a987778012d196840071fede8003f011d29..."} 
[2026-09-10 14:48:01] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a987778012d196840071fede8003f011d29..."} 
[2026-09-10 14:48:01] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a98"} 
[2026-09-10 14:48:01] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a98"} 
[2026-09-10 14:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992095232001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789031643000,"timestamp_ms":1789031643000,"timestamp_seconds":1789031643,"priority":1,"record_length":96,"hex_timestamp":"000001a08a987778"} 
[2026-09-10 14:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 14:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992095232001,"66":12526,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992095232001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:48:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:48:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992095232001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:48:01] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:48:01] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:48:19] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:48:19] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:48:19] local.INFO: IMEI packet received {"connection_id":177741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":177741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:48:24] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:48:24] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:48:24] local.INFO: IMEI packet received {"connection_id":177741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":177741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:48:25] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:48:25] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:48:25] local.INFO: Packet analysis {"connection_id":177741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:48:25] local.INFO: Extracted packet for processing {"connection_id":177741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:48:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:48:25] 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-09-10 14:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:48:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:48:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":177741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:48:25] local.INFO: GPS data processed {"connection_id":177741,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:48:25] local.INFO: Acknowledgment sent {"connection_id":177741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:48:27] local.INFO: TCP Data received {"connection_id":177742,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:48:27] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:48:27] local.INFO: IMEI packet received {"connection_id":177742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":177742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:48:27] local.INFO: TCP Data received {"connection_id":179119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:48:27] local.INFO: Processing buffer {"connection_id":179119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:48:27] local.INFO: IMEI packet received {"connection_id":179119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":179119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:48:32] local.INFO: TCP Data received {"connection_id":177742,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:48:32] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:48:32] local.INFO: IMEI packet received {"connection_id":177742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":177742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:48:33] local.INFO: TCP Data received {"connection_id":177742,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a98c980012d196840071fede8003f011d27..."} 
[2026-09-10 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a98c980012d196840071fede8003f011d27..."} 
[2026-09-10 14:48:33] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a98c980012d196840071fede8003f011d27..."} 
[2026-09-10 14:48:33] local.INFO: Packet analysis {"connection_id":177742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a98"} 
[2026-09-10 14:48:33] local.INFO: Extracted packet for processing {"connection_id":177742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a98"} 
[2026-09-10 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992100608001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789031664000,"timestamp_ms":1789031664000,"timestamp_seconds":1789031664,"priority":1,"record_length":96,"hex_timestamp":"000001a08a98c980"} 
[2026-09-10 14:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 14:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992100608001,"66":12526,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992100608001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:48:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992100608001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":177742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:48:34] local.INFO: GPS data processed {"connection_id":177742,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:48:34] local.INFO: Acknowledgment sent {"connection_id":177742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:48:43] local.INFO: TCP Data received {"connection_id":179120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:48:43] local.INFO: Processing buffer {"connection_id":179120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:48:43] local.INFO: IMEI packet received {"connection_id":179120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":179120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:48:56] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:48:56] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:48:56] local.INFO: Packet analysis {"connection_id":177741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:48:56] local.INFO: Extracted packet for processing {"connection_id":177741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:48:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:48:56] 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-09-10 14:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:48:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":177741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:48:56] local.INFO: GPS data processed {"connection_id":177741,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:48:56] local.INFO: Acknowledgment sent {"connection_id":177741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:49:05] local.INFO: TCP Data received {"connection_id":177742,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a991b88012d196840071fede8003f011d28..."} 
[2026-09-10 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a991b88012d196840071fede8003f011d28..."} 
[2026-09-10 14:49:05] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a991b88012d196840071fede8003f011d28..."} 
[2026-09-10 14:49:05] local.INFO: Packet analysis {"connection_id":177742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:05] local.INFO: Extracted packet for processing {"connection_id":177742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992105984001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49: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-09-10 14:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789031685000,"timestamp_ms":1789031685000,"timestamp_seconds":1789031685,"priority":1,"record_length":96,"hex_timestamp":"000001a08a991b88"} 
[2026-09-10 14:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:49: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-09-10 14:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 14:49: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-09-10 14:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992105984001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992105984001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992105984001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":177742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:49:05] local.INFO: GPS data processed {"connection_id":177742,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:49:05] local.INFO: Acknowledgment sent {"connection_id":177742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:49:19] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:49:19] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:49:19] local.INFO: IMEI packet received {"connection_id":176560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":176560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:49:24] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:49:24] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:49:24] local.INFO: IMEI packet received {"connection_id":176560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":176560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:49:25] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:49:25] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:49:25] local.INFO: Packet analysis {"connection_id":176560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:25] local.INFO: Extracted packet for processing {"connection_id":176560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:49:25] 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-09-10 14:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:49:25] 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-09-10 14:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:49:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":176560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:49:25] local.INFO: GPS data processed {"connection_id":176560,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:49:25] local.INFO: Acknowledgment sent {"connection_id":176560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:49:30] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:49:30] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:49:30] local.INFO: IMEI packet received {"connection_id":176561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":176561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:49:36] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:49:36] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:49:36] local.INFO: IMEI packet received {"connection_id":176561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":176561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:49:37] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a996d90012d196840071fede8003f011d28..."} 
[2026-09-10 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a996d90012d196840071fede8003f011d28..."} 
[2026-09-10 14:49:37] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a996d90012d196840071fede8003f011d28..."} 
[2026-09-10 14:49:37] local.INFO: Packet analysis {"connection_id":176561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:37] local.INFO: Extracted packet for processing {"connection_id":176561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992111360001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49: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-09-10 14:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789031706000,"timestamp_ms":1789031706000,"timestamp_seconds":1789031706,"priority":1,"record_length":96,"hex_timestamp":"000001a08a996d90"} 
[2026-09-10 14:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:49: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-09-10 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:49: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-09-10 14:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992111360001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992111360001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:49:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992111360001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":176561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:49:37] local.INFO: GPS data processed {"connection_id":176561,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:49:37] local.INFO: Acknowledgment sent {"connection_id":176561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:49:38] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a99bf98012d196840071fede8003f011d27..."} 
[2026-09-10 14:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a99bf98012d196840071fede8003f011d27..."} 
[2026-09-10 14:49:38] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a99bf98012d196840071fede8003f011d27..."} 
[2026-09-10 14:49:38] local.INFO: Packet analysis {"connection_id":176561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:38] local.INFO: Extracted packet for processing {"connection_id":176561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992116736001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49: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-09-10 14:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789031727000,"timestamp_ms":1789031727000,"timestamp_seconds":1789031727,"priority":1,"record_length":96,"hex_timestamp":"000001a08a99bf98"} 
[2026-09-10 14:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:49: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-09-10 14:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992116736001,"66":12526,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992116736001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:49:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992116736001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":176561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:49:39] local.INFO: GPS data processed {"connection_id":176561,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:49:39] local.INFO: Acknowledgment sent {"connection_id":176561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:49:56] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:49:56] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:49:56] local.INFO: Packet analysis {"connection_id":176560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:56] local.INFO: Extracted packet for processing {"connection_id":176560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:49:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:49:56] 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-09-10 14:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:49:56] 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-09-10 14:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:49:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":176560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:49:56] local.INFO: GPS data processed {"connection_id":176560,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:49:56] local.INFO: Acknowledgment sent {"connection_id":176560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:50:15] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9a11a0012d196840071fede8003f011d27..."} 
[2026-09-10 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9a11a0012d196840071fede8003f011d27..."} 
[2026-09-10 14:50:15] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9a11a0012d196840071fede8003f011d27..."} 
[2026-09-10 14:50:15] local.INFO: Packet analysis {"connection_id":176561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9a"} 
[2026-09-10 14:50:15] local.INFO: Extracted packet for processing {"connection_id":176561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9a"} 
[2026-09-10 14:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992122112001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50: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-09-10 14:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789031748000,"timestamp_ms":1789031748000,"timestamp_seconds":1789031748,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9a11a0"} 
[2026-09-10 14:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 14:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992122112001,"66":12526,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992122112001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:50:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992122112001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":176561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:50:15] local.INFO: GPS data processed {"connection_id":176561,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:50:15] local.INFO: Acknowledgment sent {"connection_id":176561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:50:24] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:50:24] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:50:24] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:50:27] local.INFO: TCP Data received {"connection_id":177744,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:50:27] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:50:27] local.INFO: IMEI packet received {"connection_id":177744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":177744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:50:29] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:50:29] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:50:29] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:50:30] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:50:30] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9994a0012cc33340076855f0005b015f2b..."} 
[2026-09-10 14:50:30] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:50:30] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a99"} 
[2026-09-10 14:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992042240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789031716000,"timestamp_ms":1789031716000,"timestamp_seconds":1789031716,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9994a0"} 
[2026-09-10 14:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 14:50: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-09-10 14:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992042240001,"66":26060,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992042240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:50:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992042240001,"power":26060,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:50:30] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:50:30] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:50:33] local.INFO: TCP Data received {"connection_id":177744,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:50:33] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:50:33] local.INFO: IMEI packet received {"connection_id":177744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":177744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:50:34] local.INFO: TCP Data received {"connection_id":177744,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9a63a8012d196840071fede8003f011d28..."} 
[2026-09-10 14:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9a63a8012d196840071fede8003f011d28..."} 
[2026-09-10 14:50:34] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9a63a8012d196840071fede8003f011d28..."} 
[2026-09-10 14:50:34] local.INFO: Packet analysis {"connection_id":177744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9a"} 
[2026-09-10 14:50:34] local.INFO: Extracted packet for processing {"connection_id":177744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9a"} 
[2026-09-10 14:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992127488001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789031769000,"timestamp_ms":1789031769000,"timestamp_seconds":1789031769,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9a63a8"} 
[2026-09-10 14:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 14:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992127488001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992127488001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:50:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992127488001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":177744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:50:34] local.INFO: GPS data processed {"connection_id":177744,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:50:34] local.INFO: Acknowledgment sent {"connection_id":177744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:51:01] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:01] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:01] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:51:01] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:51:01] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 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-09-10 14:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:51: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-09-10 14:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:51:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:51:01] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:51:01] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:51:06] local.INFO: TCP Data received {"connection_id":177744,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9ab5b0012d196840071fede8003f011d29..."} 
[2026-09-10 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9ab5b0012d196840071fede8003f011d29..."} 
[2026-09-10 14:51:06] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9ab5b0012d196840071fede8003f011d29..."} 
[2026-09-10 14:51:06] local.INFO: Packet analysis {"connection_id":177744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9a"} 
[2026-09-10 14:51:06] local.INFO: Extracted packet for processing {"connection_id":177744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9a"} 
[2026-09-10 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992132864001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51: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-09-10 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789031790000,"timestamp_ms":1789031790000,"timestamp_seconds":1789031790,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9ab5b0"} 
[2026-09-10 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:51: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-09-10 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:51: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-09-10 14:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992132864001,"66":12526,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992132864001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992132864001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":177744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:51:06] local.INFO: GPS data processed {"connection_id":177744,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:51:06] local.INFO: Acknowledgment sent {"connection_id":177744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:51:19] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:51:19] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:51:19] local.INFO: IMEI packet received {"connection_id":176562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":176562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:51:24] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:51:24] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:51:24] local.INFO: IMEI packet received {"connection_id":176562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":176562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:51:25] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:25] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:25] local.INFO: Packet analysis {"connection_id":176562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:51:25] local.INFO: Extracted packet for processing {"connection_id":176562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:51:25] 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-09-10 14:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:51:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":176562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:51:25] local.INFO: GPS data processed {"connection_id":176562,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:51:25] local.INFO: Acknowledgment sent {"connection_id":176562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:51:32] local.INFO: TCP Data received {"connection_id":177745,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:51:32] local.INFO: Processing buffer {"connection_id":177745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:51:32] local.INFO: IMEI packet received {"connection_id":177745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":177745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:51:37] local.INFO: TCP Data received {"connection_id":177745,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:51:37] local.INFO: Processing buffer {"connection_id":177745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:51:37] local.INFO: IMEI packet received {"connection_id":177745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":177745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:51:39] local.INFO: TCP Data received {"connection_id":177745,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9b07b8012d196840071fede8003f011d28..."} 
[2026-09-10 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9b07b8012d196840071fede8003f011d28..."} 
[2026-09-10 14:51:39] local.INFO: Processing buffer {"connection_id":177745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9b07b8012d196840071fede8003f011d28..."} 
[2026-09-10 14:51:39] local.INFO: Packet analysis {"connection_id":177745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9b"} 
[2026-09-10 14:51:39] local.INFO: Extracted packet for processing {"connection_id":177745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9b"} 
[2026-09-10 14:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992138240001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 14:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789031811000,"timestamp_ms":1789031811000,"timestamp_seconds":1789031811,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9b07b8"} 
[2026-09-10 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-09-10 14:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 14:51: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-09-10 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-09-10 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-09-10 14:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992138240001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992138240001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:51:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992138240001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":177745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:51:39] local.INFO: GPS data processed {"connection_id":177745,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:51:39] local.INFO: Acknowledgment sent {"connection_id":177745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:51:41] local.INFO: TCP Data received {"connection_id":177745,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9b59c0012d196840071fede8003f011d28..."} 
[2026-09-10 14:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9b59c0012d196840071fede8003f011d28..."} 
[2026-09-10 14:51:41] local.INFO: Processing buffer {"connection_id":177745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9b59c0012d196840071fede8003f011d28..."} 
[2026-09-10 14:51:41] local.INFO: Packet analysis {"connection_id":177745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9b"} 
[2026-09-10 14:51:41] local.INFO: Extracted packet for processing {"connection_id":177745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9b"} 
[2026-09-10 14:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992143616001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51: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-09-10 14:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789031832000,"timestamp_ms":1789031832000,"timestamp_seconds":1789031832,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9b59c0"} 
[2026-09-10 14:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:51: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-09-10 14:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992143616001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992143616001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992143616001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":177745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:51:42] local.INFO: GPS data processed {"connection_id":177745,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:51:42] local.INFO: Acknowledgment sent {"connection_id":177745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:51:56] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:56] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:51:56] local.INFO: Packet analysis {"connection_id":176562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:51:56] local.INFO: Extracted packet for processing {"connection_id":176562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:51:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":176562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:51:56] local.INFO: GPS data processed {"connection_id":176562,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:51:56] local.INFO: Acknowledgment sent {"connection_id":176562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:52:19] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:52:19] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:52:19] local.INFO: IMEI packet received {"connection_id":176325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":176325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:52:24] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:52:24] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:52:24] local.INFO: IMEI packet received {"connection_id":176325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":176325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:52:25] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:52:25] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:52:25] local.INFO: Packet analysis {"connection_id":176325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:52:25] local.INFO: Extracted packet for processing {"connection_id":176325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:52:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":176325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:52:25] local.INFO: GPS data processed {"connection_id":176325,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:52:25] local.INFO: Acknowledgment sent {"connection_id":176325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:52:27] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:52:27] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:52:27] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:52:32] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:52:32] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:52:32] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:52:33] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9ee018012d196840071fede8003f011d28..."} 
[2026-09-10 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9ee018012d196840071fede8003f011d28..."} 
[2026-09-10 14:52:33] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9ee018012d196840071fede8003f011d28..."} 
[2026-09-10 14:52:33] local.INFO: Packet analysis {"connection_id":176563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:52:33] local.INFO: Extracted packet for processing {"connection_id":176563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992202752001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032063000,"timestamp_ms":1789032063000,"timestamp_seconds":1789032063,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9ee018"} 
[2026-09-10 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-09-10 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 14:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992202752001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992202752001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:52:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992202752001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":176563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:52:33] local.INFO: GPS data processed {"connection_id":176563,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:52:33] local.INFO: Acknowledgment sent {"connection_id":176563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:52:56] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:52:56] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:52:56] local.INFO: Packet analysis {"connection_id":176325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:52:56] local.INFO: Extracted packet for processing {"connection_id":176325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:52:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:52:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":176325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:52:56] local.INFO: GPS data processed {"connection_id":176325,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:52:56] local.INFO: Acknowledgment sent {"connection_id":176325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:53:05] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9f3220012d196840071fede8003f011d27..."} 
[2026-09-10 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9f3220012d196840071fede8003f011d27..."} 
[2026-09-10 14:53:05] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9f3220012d196840071fede8003f011d27..."} 
[2026-09-10 14:53:05] local.INFO: Packet analysis {"connection_id":176563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9f"} 
[2026-09-10 14:53:05] local.INFO: Extracted packet for processing {"connection_id":176563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9f"} 
[2026-09-10 14:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992208128001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53: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-09-10 14:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789032084000,"timestamp_ms":1789032084000,"timestamp_seconds":1789032084,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9f3220"} 
[2026-09-10 14:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:53: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-09-10 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992208128001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992208128001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992208128001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":176563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:53:05] local.INFO: GPS data processed {"connection_id":176563,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:53:05] local.INFO: Acknowledgment sent {"connection_id":176563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:53:19] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:53:19] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:53:19] local.INFO: IMEI packet received {"connection_id":177746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":177746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:53:24] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:53:24] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:53:24] local.INFO: IMEI packet received {"connection_id":177746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":177746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:53:25] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:53:25] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:53:25] local.INFO: Packet analysis {"connection_id":177746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:53:25] local.INFO: Extracted packet for processing {"connection_id":177746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:53:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:53:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":177746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:53:25] local.INFO: GPS data processed {"connection_id":177746,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:53:25] local.INFO: Acknowledgment sent {"connection_id":177746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:53:26] local.INFO: TCP Data received {"connection_id":179123,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:26] local.INFO: Processing buffer {"connection_id":179123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:26] local.INFO: IMEI packet received {"connection_id":179123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":179123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:53:27] local.INFO: TCP Data received {"connection_id":179123,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:27] local.INFO: Processing buffer {"connection_id":179123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:27] local.INFO: IMEI packet received {"connection_id":179123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":179123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:53:32] local.INFO: TCP Data received {"connection_id":179123,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:32] local.INFO: Processing buffer {"connection_id":179123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:53:32] local.INFO: IMEI packet received {"connection_id":179123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":179123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:53:33] local.INFO: TCP Data received {"connection_id":179123,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9f8428012d196840071fede8003f011d26..."} 
[2026-09-10 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9f8428012d196840071fede8003f011d26..."} 
[2026-09-10 14:53:33] local.INFO: Processing buffer {"connection_id":179123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9f8428012d196840071fede8003f011d26..."} 
[2026-09-10 14:53:33] local.INFO: Packet analysis {"connection_id":179123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9f"} 
[2026-09-10 14:53:33] local.INFO: Extracted packet for processing {"connection_id":179123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9f"} 
[2026-09-10 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992213504001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032105000,"timestamp_ms":1789032105000,"timestamp_seconds":1789032105,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9f8428"} 
[2026-09-10 14:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992213504001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992213504001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992213504001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":179123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:53:33] local.INFO: GPS data processed {"connection_id":179123,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:53:33] local.INFO: Acknowledgment sent {"connection_id":179123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:53:56] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:53:56] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:53:56] local.INFO: Packet analysis {"connection_id":177746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:53:56] local.INFO: Extracted packet for processing {"connection_id":177746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 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-09-10 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:53:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:53:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":177746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:53:56] local.INFO: GPS data processed {"connection_id":177746,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:53:56] local.INFO: Acknowledgment sent {"connection_id":177746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:54:05] local.INFO: TCP Data received {"connection_id":179123,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9fd630012d196840071fede8003f011d26..."} 
[2026-09-10 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9fd630012d196840071fede8003f011d26..."} 
[2026-09-10 14:54:05] local.INFO: Processing buffer {"connection_id":179123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9fd630012d196840071fede8003f011d26..."} 
[2026-09-10 14:54:05] local.INFO: Packet analysis {"connection_id":179123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9f"} 
[2026-09-10 14:54:05] local.INFO: Extracted packet for processing {"connection_id":179123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9f"} 
[2026-09-10 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992218880001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54: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-09-10 14:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789032126000,"timestamp_ms":1789032126000,"timestamp_seconds":1789032126,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9fd630"} 
[2026-09-10 14:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:54: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-09-10 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992218880001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992218880001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992218880001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":179123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:54:05] local.INFO: GPS data processed {"connection_id":179123,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:54:05] local.INFO: Acknowledgment sent {"connection_id":179123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:54:24] local.INFO: TCP Data received {"connection_id":176564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:54:24] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:54:24] local.INFO: IMEI packet received {"connection_id":176564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":176564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:54:27] local.INFO: TCP Data received {"connection_id":176565,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:27] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:27] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:54:29] local.INFO: TCP Data received {"connection_id":176565,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:29] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:29] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:54:29] local.INFO: TCP Data received {"connection_id":176564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:54:29] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:54:29] local.INFO: IMEI packet received {"connection_id":176564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":176564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:54:30] local.INFO: TCP Data received {"connection_id":176564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:54:30] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:54:30] local.INFO: Packet analysis {"connection_id":176564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:54:30] local.INFO: Extracted packet for processing {"connection_id":176564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:54:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":176564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:54:30] local.INFO: GPS data processed {"connection_id":176564,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:54:30] local.INFO: Acknowledgment sent {"connection_id":176564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:54:32] local.INFO: TCP Data received {"connection_id":176565,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:32] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:54:32] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:54:33] local.INFO: TCP Data received {"connection_id":176565,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa02838012d196840071fede8003f011d27..."} 
[2026-09-10 14:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa02838012d196840071fede8003f011d27..."} 
[2026-09-10 14:54:33] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa02838012d196840071fede8003f011d27..."} 
[2026-09-10 14:54:33] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa0"} 
[2026-09-10 14:54:33] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa0"} 
[2026-09-10 14:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992224256001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032147000,"timestamp_ms":1789032147000,"timestamp_seconds":1789032147,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa02838"} 
[2026-09-10 14:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992224256001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992224256001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:54:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:54:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992224256001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:54:33] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:54:33] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:54:34] local.INFO: TCP Data received {"connection_id":176564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:54:34] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:54:34] local.INFO: Packet analysis {"connection_id":176564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:54:34] local.INFO: Extracted packet for processing {"connection_id":176564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:54:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:54: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-09-10 14:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:54:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":176564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:54:34] local.INFO: GPS data processed {"connection_id":176564,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:54:34] local.INFO: Acknowledgment sent {"connection_id":176564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:55:05] local.INFO: TCP Data received {"connection_id":176565,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa07a40012d196840071fede8003f011d27..."} 
[2026-09-10 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa07a40012d196840071fede8003f011d27..."} 
[2026-09-10 14:55:05] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa07a40012d196840071fede8003f011d27..."} 
[2026-09-10 14:55:05] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa0"} 
[2026-09-10 14:55:05] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa0"} 
[2026-09-10 14:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992229632001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55: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-09-10 14:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789032168000,"timestamp_ms":1789032168000,"timestamp_seconds":1789032168,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa07a40"} 
[2026-09-10 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-09-10 14:55: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-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992229632001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992229632001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992229632001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:55:05] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:55:05] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:55:13] local.INFO: TCP Data received {"connection_id":177747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:55:13] local.INFO: Processing buffer {"connection_id":177747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:55:13] local.INFO: IMEI packet received {"connection_id":177747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":177747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:55:19] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:55:19] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:55:19] local.INFO: IMEI packet received {"connection_id":177748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":177748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:55:24] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:55:24] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:55:24] local.INFO: IMEI packet received {"connection_id":177748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":177748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:55:25] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:55:25] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:55:25] local.INFO: Packet analysis {"connection_id":177748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:55:25] local.INFO: Extracted packet for processing {"connection_id":177748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:55:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:55: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-09-10 14:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:55:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":177748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:55:25] local.INFO: GPS data processed {"connection_id":177748,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:55:25] local.INFO: Acknowledgment sent {"connection_id":177748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:55:30] local.INFO: TCP Data received {"connection_id":179124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:55:30] local.INFO: Processing buffer {"connection_id":179124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 14:55:30] local.INFO: IMEI packet received {"connection_id":179124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":179124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:55:32] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:32] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:32] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:55:32] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:32] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:32] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:55:37] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:37] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:55:37] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:55:38] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa0cc48012d196840071fede8003f011d26..."} 
[2026-09-10 14:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa0cc48012d196840071fede8003f011d26..."} 
[2026-09-10 14:55:38] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa0cc48012d196840071fede8003f011d26..."} 
[2026-09-10 14:55:38] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa0"} 
[2026-09-10 14:55:38] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa0"} 
[2026-09-10 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992235008001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55: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-09-10 14:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789032189000,"timestamp_ms":1789032189000,"timestamp_seconds":1789032189,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa0cc48"} 
[2026-09-10 14:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992235008001,"66":12504,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992235008001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:55:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992235008001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:55:38] local.INFO: GPS data processed {"connection_id":176566,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:55:38] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:55:43] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa11e50012d196840071fede8003f011d26..."} 
[2026-09-10 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa11e50012d196840071fede8003f011d26..."} 
[2026-09-10 14:55:43] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa11e50012d196840071fede8003f011d26..."} 
[2026-09-10 14:55:43] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa1"} 
[2026-09-10 14:55:43] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa1"} 
[2026-09-10 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992240384001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55: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-09-10 14:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789032210000,"timestamp_ms":1789032210000,"timestamp_seconds":1789032210,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa11e50"} 
[2026-09-10 14:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:55: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-09-10 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 14:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992240384001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992240384001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:55:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992240384001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:55:43] local.INFO: GPS data processed {"connection_id":176566,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:55:43] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:55:56] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:55:56] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08a9e2c68012cc33340076855f0005b015f26..."} 
[2026-09-10 14:55:56] local.INFO: Packet analysis {"connection_id":177748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:55:56] local.INFO: Extracted packet for processing {"connection_id":177748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08a9e"} 
[2026-09-10 14:55:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992119296001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032017000,"timestamp_ms":1789032017000,"timestamp_seconds":1789032017,"priority":1,"record_length":96,"hex_timestamp":"000001a08a9e2c68"} 
[2026-09-10 14:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 14:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992119296001,"66":26006,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992119296001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:55:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992119296001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":177748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:55:56] local.INFO: GPS data processed {"connection_id":177748,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:55:56] local.INFO: Acknowledgment sent {"connection_id":177748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:56:19] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:56:19] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:56:19] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:56:24] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:56:24] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:56:24] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:56:25] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:56:25] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:56:25] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:56:25] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:56:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 14:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:56:25] 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-09-10 14:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:56:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:56:25] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:56:25] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:56:27] local.INFO: TCP Data received {"connection_id":176326,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:56:27] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:56:27] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:56:32] local.INFO: TCP Data received {"connection_id":176326,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:56:32] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:56:32] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:56:33] local.INFO: TCP Data received {"connection_id":176326,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa17058012d196840071fede8003f011d26..."} 
[2026-09-10 14:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa17058012d196840071fede8003f011d26..."} 
[2026-09-10 14:56:33] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa17058012d196840071fede8003f011d26..."} 
[2026-09-10 14:56:33] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa1"} 
[2026-09-10 14:56:33] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa1"} 
[2026-09-10 14:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992245760001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032231000,"timestamp_ms":1789032231000,"timestamp_seconds":1789032231,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa17058"} 
[2026-09-10 14:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992245760001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992245760001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:56:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992245760001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:56:33] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:56:33] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:56:56] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:56:56] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:56:56] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:56:56] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:56:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 14:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:56:56] 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-09-10 14:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:56:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:56:56] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:56:56] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:57:05] local.INFO: TCP Data received {"connection_id":176326,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa1c260012d196840071fede8003f011d27..."} 
[2026-09-10 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa1c260012d196840071fede8003f011d27..."} 
[2026-09-10 14:57:05] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa1c260012d196840071fede8003f011d27..."} 
[2026-09-10 14:57:05] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa1"} 
[2026-09-10 14:57:05] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa1"} 
[2026-09-10 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992251136001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57: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-09-10 14:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789032252000,"timestamp_ms":1789032252000,"timestamp_seconds":1789032252,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa1c260"} 
[2026-09-10 14:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:57: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-09-10 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 14:57: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-09-10 14:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992251136001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992251136001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992251136001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:57:05] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:57:05] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:57:19] local.INFO: TCP Data received {"connection_id":179125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:57:19] local.INFO: Processing buffer {"connection_id":179125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:57:19] local.INFO: IMEI packet received {"connection_id":179125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":179125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:57:24] local.INFO: TCP Data received {"connection_id":179125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:57:24] local.INFO: Processing buffer {"connection_id":179125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:57:24] local.INFO: IMEI packet received {"connection_id":179125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":179125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:57:25] local.INFO: TCP Data received {"connection_id":179125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:57:25] local.INFO: Processing buffer {"connection_id":179125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:57:25] local.INFO: Packet analysis {"connection_id":179125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:57:25] local.INFO: Extracted packet for processing {"connection_id":179125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:57:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 14:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:57:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":179125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:57:25] local.INFO: GPS data processed {"connection_id":179125,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:57:25] local.INFO: Acknowledgment sent {"connection_id":179125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:57:27] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:57:27] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:57:27] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:57:32] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:57:32] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:57:32] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:57:33] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa21468012d196840071fede8003f011d28..."} 
[2026-09-10 14:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa21468012d196840071fede8003f011d28..."} 
[2026-09-10 14:57:33] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa21468012d196840071fede8003f011d28..."} 
[2026-09-10 14:57:33] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:57:33] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992256512001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032273000,"timestamp_ms":1789032273000,"timestamp_seconds":1789032273,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa21468"} 
[2026-09-10 14:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992256512001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992256512001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:57:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992256512001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:57:34] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:57:34] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:57:56] local.INFO: TCP Data received {"connection_id":179125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:57:56] local.INFO: Processing buffer {"connection_id":179125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:57:56] local.INFO: Packet analysis {"connection_id":179125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:57:56] local.INFO: Extracted packet for processing {"connection_id":179125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:57:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 14:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:57:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":179125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:57:56] local.INFO: GPS data processed {"connection_id":179125,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:57:56] local.INFO: Acknowledgment sent {"connection_id":179125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:58:05] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa26670012d196840071fede8003f011d27..."} 
[2026-09-10 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa26670012d196840071fede8003f011d27..."} 
[2026-09-10 14:58:05] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa26670012d196840071fede8003f011d27..."} 
[2026-09-10 14:58:05] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:05] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992261888001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58: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-09-10 14:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789032294000,"timestamp_ms":1789032294000,"timestamp_seconds":1789032294,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa26670"} 
[2026-09-10 14:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:58: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-09-10 14:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992261888001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992261888001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992261888001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:58:05] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:58:05] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:58:19] local.INFO: TCP Data received {"connection_id":177749,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:58:19] local.INFO: Processing buffer {"connection_id":177749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:58:19] local.INFO: IMEI packet received {"connection_id":177749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":177749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:58:24] local.INFO: TCP Data received {"connection_id":177749,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:58:24] local.INFO: Processing buffer {"connection_id":177749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:58:24] local.INFO: IMEI packet received {"connection_id":177749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":177749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:58:25] local.INFO: TCP Data received {"connection_id":177749,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:58:25] local.INFO: Processing buffer {"connection_id":177749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:58:25] local.INFO: Packet analysis {"connection_id":177749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:25] local.INFO: Extracted packet for processing {"connection_id":177749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 14:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:58:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:58:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":177749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:58:25] local.INFO: GPS data processed {"connection_id":177749,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:58:25] local.INFO: Acknowledgment sent {"connection_id":177749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:58:32] local.INFO: TCP Data received {"connection_id":179126,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:58:32] local.INFO: Processing buffer {"connection_id":179126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:58:32] local.INFO: IMEI packet received {"connection_id":179126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":179126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:58:37] local.INFO: TCP Data received {"connection_id":179126,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:58:37] local.INFO: Processing buffer {"connection_id":179126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:58:37] local.INFO: IMEI packet received {"connection_id":179126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":179126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:58:38] local.INFO: TCP Data received {"connection_id":179126,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2b878012d196840071fede8003f011d25..."} 
[2026-09-10 14:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2b878012d196840071fede8003f011d25..."} 
[2026-09-10 14:58:38] local.INFO: Processing buffer {"connection_id":179126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2b878012d196840071fede8003f011d25..."} 
[2026-09-10 14:58:38] local.INFO: Packet analysis {"connection_id":179126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:38] local.INFO: Extracted packet for processing {"connection_id":179126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992267264001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14: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-09-10 14:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789032315000,"timestamp_ms":1789032315000,"timestamp_seconds":1789032315,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2b878"} 
[2026-09-10 14:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 14:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992267264001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992267264001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992267264001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":179126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:58:38] local.INFO: GPS data processed {"connection_id":179126,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:58:38] local.INFO: Acknowledgment sent {"connection_id":179126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:58:41] local.INFO: TCP Data received {"connection_id":179126,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa30a80012d196840071fede8003f011d28..."} 
[2026-09-10 14:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa30a80012d196840071fede8003f011d28..."} 
[2026-09-10 14:58:41] local.INFO: Processing buffer {"connection_id":179126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa30a80012d196840071fede8003f011d28..."} 
[2026-09-10 14:58:41] local.INFO: Packet analysis {"connection_id":179126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa3"} 
[2026-09-10 14:58:41] local.INFO: Extracted packet for processing {"connection_id":179126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa3"} 
[2026-09-10 14:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992272640001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58: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-09-10 14:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789032336000,"timestamp_ms":1789032336000,"timestamp_seconds":1789032336,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa30a80"} 
[2026-09-10 14:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14: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-09-10 14:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 14:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":179126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":179126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":179126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992272640001,"66":12015,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992272640001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:58:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992272640001,"power":12015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":179126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:58:42] local.INFO: GPS data processed {"connection_id":179126,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:58:42] local.INFO: Acknowledgment sent {"connection_id":179126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:58:56] local.INFO: TCP Data received {"connection_id":177749,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:58:56] local.INFO: Processing buffer {"connection_id":177749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:58:56] local.INFO: Packet analysis {"connection_id":177749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:56] local.INFO: Extracted packet for processing {"connection_id":177749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:58:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 14:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 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-09-10 14:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 14:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:58:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":177749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:58:56] local.INFO: GPS data processed {"connection_id":177749,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:58:56] local.INFO: Acknowledgment sent {"connection_id":177749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:59:24] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:59:24] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:59:24] local.INFO: IMEI packet received {"connection_id":176328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 14:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":176328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:59:27] local.INFO: TCP Data received {"connection_id":176570,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:59:27] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:59:27] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 14:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 14:59:29] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:59:29] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 14:59:29] local.INFO: IMEI packet received {"connection_id":176328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 14:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":176328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:59:30] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:59:30] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:59:30] local.INFO: Packet analysis {"connection_id":176328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:59:30] local.INFO: Extracted packet for processing {"connection_id":176328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 14:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:59:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":176328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:59:30] local.INFO: GPS data processed {"connection_id":176328,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:59:30] local.INFO: Acknowledgment sent {"connection_id":176328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:59:32] local.INFO: TCP Data received {"connection_id":176570,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:59:32] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 14:59:32] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 14:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 14:59:33] local.INFO: TCP Data received {"connection_id":176570,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa35c88012d196840071fede8003f011d28..."} 
[2026-09-10 14:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa35c88012d196840071fede8003f011d28..."} 
[2026-09-10 14:59:33] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa35c88012d196840071fede8003f011d28..."} 
[2026-09-10 14:59:33] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa3"} 
[2026-09-10 14:59:33] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa3"} 
[2026-09-10 14:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992278016001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032357000,"timestamp_ms":1789032357000,"timestamp_seconds":1789032357,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa35c88"} 
[2026-09-10 14:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 14:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992278016001,"66":11830,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992278016001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:59:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:59:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992278016001,"power":11830,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:59:33] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:59:33] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:59:34] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:59:34] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 14:59:34] local.INFO: Packet analysis {"connection_id":176328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:59:34] local.INFO: Extracted packet for processing {"connection_id":176328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 14:59:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 14: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-09-10 14:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 14:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 14:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 14:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14: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-09-10 14:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 14: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-09-10 14:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 14:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 14:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 14:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 14:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 14:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:59:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 14:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 14:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 14:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 14:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":176328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:59:34] local.INFO: GPS data processed {"connection_id":176328,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:59:34] local.INFO: Acknowledgment sent {"connection_id":176328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 14:59:38] local.INFO: TCP Data received {"connection_id":176570,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa3ae90012d196840071fede8003f011d29..."} 
[2026-09-10 14:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa3ae90012d196840071fede8003f011d29..."} 
[2026-09-10 14:59:38] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa3ae90012d196840071fede8003f011d29..."} 
[2026-09-10 14:59:38] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa3"} 
[2026-09-10 14:59:38] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa3"} 
[2026-09-10 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 14:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 14:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992283392001,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 14:59: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-09-10 14:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789032378000,"timestamp_ms":1789032378000,"timestamp_seconds":1789032378,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa3ae90"} 
[2026-09-10 14:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 14:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-10 14:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 14:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 14:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 14:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 14:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 14:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 14:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 14:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 14:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 14:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992283392001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 14:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 14:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 14:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992283392001,"description":"Unknown IO ID 0"} 
[2026-09-10 14:59:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 14:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 14:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 14:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 14:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992283392001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 14:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 14:59:38] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-10 14:59:38] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:00:10] local.INFO: TCP Data received {"connection_id":176570,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa40098012d196840071fede8003f011d28..."} 
[2026-09-10 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa40098012d196840071fede8003f011d28..."} 
[2026-09-10 15:00:10] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa40098012d196840071fede8003f011d28..."} 
[2026-09-10 15:00:10] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:00:10] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992288768001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00: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-09-10 15:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789032399000,"timestamp_ms":1789032399000,"timestamp_seconds":1789032399,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa40098"} 
[2026-09-10 15:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:00: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-09-10 15:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992288768001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992288768001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:00:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:00:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992288768001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:00:10] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:00:10] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:00:19] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:00:19] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:00:19] local.INFO: IMEI packet received {"connection_id":176329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":176329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:00:24] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:00:24] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:00:24] local.INFO: IMEI packet received {"connection_id":176329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":176329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:00:25] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:00:25] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:00:25] local.INFO: Packet analysis {"connection_id":176329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 15:00:25] local.INFO: Extracted packet for processing {"connection_id":176329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 15:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 15:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:00:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":176329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:00:25] local.INFO: GPS data processed {"connection_id":176329,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:00:25] local.INFO: Acknowledgment sent {"connection_id":176329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:00:26] local.INFO: TCP Data received {"connection_id":177750,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:26] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:26] local.INFO: IMEI packet received {"connection_id":177750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":177750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:00:27] local.INFO: TCP Data received {"connection_id":177750,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:27] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:27] local.INFO: IMEI packet received {"connection_id":177750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":177750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:00:32] local.INFO: TCP Data received {"connection_id":177750,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:32] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:00:32] local.INFO: IMEI packet received {"connection_id":177750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":177750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:00:33] local.INFO: TCP Data received {"connection_id":177750,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa452a0012d196840071fede8003f011d28..."} 
[2026-09-10 15:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa452a0012d196840071fede8003f011d28..."} 
[2026-09-10 15:00:33] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa452a0012d196840071fede8003f011d28..."} 
[2026-09-10 15:00:33] local.INFO: Packet analysis {"connection_id":177750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:00:33] local.INFO: Extracted packet for processing {"connection_id":177750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992294144001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032420000,"timestamp_ms":1789032420000,"timestamp_seconds":1789032420,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa452a0"} 
[2026-09-10 15:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992294144001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992294144001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:00:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992294144001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":177750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:00:33] local.INFO: GPS data processed {"connection_id":177750,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:00:33] local.INFO: Acknowledgment sent {"connection_id":177750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:00:38] local.INFO: TCP Data received {"connection_id":177750,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa4a4a8012d196840071fede8003f011d29..."} 
[2026-09-10 15:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa4a4a8012d196840071fede8003f011d29..."} 
[2026-09-10 15:00:38] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa4a4a8012d196840071fede8003f011d29..."} 
[2026-09-10 15:00:38] local.INFO: Packet analysis {"connection_id":177750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:00:38] local.INFO: Extracted packet for processing {"connection_id":177750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992299520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 15:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789032441000,"timestamp_ms":1789032441000,"timestamp_seconds":1789032441,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa4a4a8"} 
[2026-09-10 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-09-10 15:00: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-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992299520001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992299520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:00:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992299520001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":177750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:00:38] local.INFO: GPS data processed {"connection_id":177750,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:00:38] local.INFO: Acknowledgment sent {"connection_id":177750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:00:56] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:00:56] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa2c430012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:00:56] local.INFO: Packet analysis {"connection_id":176329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 15:00:56] local.INFO: Extracted packet for processing {"connection_id":176329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa2"} 
[2026-09-10 15:00:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992196352001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032318000,"timestamp_ms":1789032318000,"timestamp_seconds":1789032318,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa2c430"} 
[2026-09-10 15:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 15:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992196352001,"66":25995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992196352001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:00:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:00:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992196352001,"power":25995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":176329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:00:56] local.INFO: GPS data processed {"connection_id":176329,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:00:56] local.INFO: Acknowledgment sent {"connection_id":176329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:01:09] local.INFO: TCP Data received {"connection_id":177750,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa4f6b0012d196840071fede8003f011d28..."} 
[2026-09-10 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa4f6b0012d196840071fede8003f011d28..."} 
[2026-09-10 15:01:09] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa4f6b0012d196840071fede8003f011d28..."} 
[2026-09-10 15:01:09] local.INFO: Packet analysis {"connection_id":177750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:01:09] local.INFO: Extracted packet for processing {"connection_id":177750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa4"} 
[2026-09-10 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992304896001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01: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-09-10 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789032462000,"timestamp_ms":1789032462000,"timestamp_seconds":1789032462,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa4f6b0"} 
[2026-09-10 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-09-10 15:01: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-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992304896001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992304896001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:01:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992304896001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":177750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:01:09] local.INFO: GPS data processed {"connection_id":177750,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:01:09] local.INFO: Acknowledgment sent {"connection_id":177750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:01:19] local.INFO: TCP Data received {"connection_id":179128,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:01:19] local.INFO: Processing buffer {"connection_id":179128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:01:19] local.INFO: IMEI packet received {"connection_id":179128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":179128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:01:24] local.INFO: TCP Data received {"connection_id":179128,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:01:24] local.INFO: Processing buffer {"connection_id":179128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:01:24] local.INFO: IMEI packet received {"connection_id":179128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":179128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:01:25] local.INFO: TCP Data received {"connection_id":179128,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:01:25] local.INFO: Processing buffer {"connection_id":179128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:01:25] local.INFO: Packet analysis {"connection_id":179128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:01:25] local.INFO: Extracted packet for processing {"connection_id":179128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:01:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:01:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":179128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:01:25] local.INFO: GPS data processed {"connection_id":179128,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:01:25] local.INFO: Acknowledgment sent {"connection_id":179128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:01:27] local.INFO: TCP Data received {"connection_id":176330,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:27] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:27] local.INFO: IMEI packet received {"connection_id":176330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":176330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:01:29] local.INFO: TCP Data received {"connection_id":176330,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:29] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:29] local.INFO: IMEI packet received {"connection_id":176330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":176330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:01:32] local.INFO: TCP Data received {"connection_id":176330,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:32] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:01:32] local.INFO: IMEI packet received {"connection_id":176330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":176330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:01:35] local.INFO: TCP Data received {"connection_id":176330,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa548b8012d196840071fede8003f011d27..."} 
[2026-09-10 15:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa548b8012d196840071fede8003f011d27..."} 
[2026-09-10 15:01:35] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa548b8012d196840071fede8003f011d27..."} 
[2026-09-10 15:01:35] local.INFO: Packet analysis {"connection_id":176330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa5"} 
[2026-09-10 15:01:35] local.INFO: Extracted packet for processing {"connection_id":176330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa5"} 
[2026-09-10 15:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992310272001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789032483000,"timestamp_ms":1789032483000,"timestamp_seconds":1789032483,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa548b8"} 
[2026-09-10 15:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:01: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-09-10 15:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992310272001,"66":12319,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992310272001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:01:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:01:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992310272001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":176330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:01:35] local.INFO: GPS data processed {"connection_id":176330,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:01:35] local.INFO: Acknowledgment sent {"connection_id":176330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:01:38] local.INFO: TCP Data received {"connection_id":176330,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa59ac0012d196840071fede8003f011d28..."} 
[2026-09-10 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa59ac0012d196840071fede8003f011d28..."} 
[2026-09-10 15:01:38] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa59ac0012d196840071fede8003f011d28..."} 
[2026-09-10 15:01:38] local.INFO: Packet analysis {"connection_id":176330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa5"} 
[2026-09-10 15:01:38] local.INFO: Extracted packet for processing {"connection_id":176330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa5"} 
[2026-09-10 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992315648001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01: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-09-10 15:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789032504000,"timestamp_ms":1789032504000,"timestamp_seconds":1789032504,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa59ac0"} 
[2026-09-10 15:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 15:01:38] 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-09-10 15:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992315648001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992315648001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992315648001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:01:38] local.INFO: TCP Data received {"connection_id":179127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:01:38] local.INFO: Processing buffer {"connection_id":179127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:01:38] local.INFO: IMEI packet received {"connection_id":179127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":179127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":176330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:01:38] local.INFO: GPS data processed {"connection_id":176330,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:01:38] local.INFO: Acknowledgment sent {"connection_id":176330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:01:56] local.INFO: TCP Data received {"connection_id":179128,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:01:56] local.INFO: Processing buffer {"connection_id":179128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:01:56] local.INFO: Packet analysis {"connection_id":179128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:01:56] local.INFO: Extracted packet for processing {"connection_id":179128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:01:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:01:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:01:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":179128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:01:56] local.INFO: GPS data processed {"connection_id":179128,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:01:56] local.INFO: Acknowledgment sent {"connection_id":179128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:02:04] local.INFO: TCP Data received {"connection_id":176571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:02:04] local.INFO: Processing buffer {"connection_id":176571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:02:04] local.INFO: IMEI packet received {"connection_id":176571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":176571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:02:10] local.INFO: TCP Data received {"connection_id":176330,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa5ecc8012d196840071fede8003f011d27..."} 
[2026-09-10 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa5ecc8012d196840071fede8003f011d27..."} 
[2026-09-10 15:02:10] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa5ecc8012d196840071fede8003f011d27..."} 
[2026-09-10 15:02:10] local.INFO: Packet analysis {"connection_id":176330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa5"} 
[2026-09-10 15:02:10] local.INFO: Extracted packet for processing {"connection_id":176330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa5"} 
[2026-09-10 15:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992321024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02: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-09-10 15:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789032525000,"timestamp_ms":1789032525000,"timestamp_seconds":1789032525,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa5ecc8"} 
[2026-09-10 15:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:02: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-09-10 15:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992321024001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992321024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:02:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992321024001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":176330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:02:10] local.INFO: GPS data processed {"connection_id":176330,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:02:10] local.INFO: Acknowledgment sent {"connection_id":176330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:02:19] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:02:19] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:02:19] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:02:24] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:02:24] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:02:24] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:02:25] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:02:25] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:02:25] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:02:25] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:02:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:02:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:02:25] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:02:25] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:02:32] local.INFO: TCP Data received {"connection_id":177751,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:32] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:32] local.INFO: IMEI packet received {"connection_id":177751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":177751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:02:33] local.INFO: TCP Data received {"connection_id":177751,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:33] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:33] local.INFO: IMEI packet received {"connection_id":177751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":177751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:02:37] local.INFO: TCP Data received {"connection_id":177751,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:37] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:02:37] local.INFO: IMEI packet received {"connection_id":177751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":177751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:02:38] local.INFO: TCP Data received {"connection_id":177751,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa63ed0012d196840071fede8003f011d29..."} 
[2026-09-10 15:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa63ed0012d196840071fede8003f011d29..."} 
[2026-09-10 15:02:38] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa63ed0012d196840071fede8003f011d29..."} 
[2026-09-10 15:02:38] local.INFO: Packet analysis {"connection_id":177751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa6"} 
[2026-09-10 15:02:38] local.INFO: Extracted packet for processing {"connection_id":177751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa6"} 
[2026-09-10 15:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992326400001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02: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-09-10 15:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789032546000,"timestamp_ms":1789032546000,"timestamp_seconds":1789032546,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa63ed0"} 
[2026-09-10 15:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:02: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-09-10 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992326400001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992326400001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:02:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992326400001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":177751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:02:39] local.INFO: GPS data processed {"connection_id":177751,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:02:39] local.INFO: Acknowledgment sent {"connection_id":177751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:02:43] local.INFO: TCP Data received {"connection_id":177751,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa690d8012d196840071fede8003f011d29..."} 
[2026-09-10 15:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa690d8012d196840071fede8003f011d29..."} 
[2026-09-10 15:02:43] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa690d8012d196840071fede8003f011d29..."} 
[2026-09-10 15:02:43] local.INFO: Packet analysis {"connection_id":177751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa6"} 
[2026-09-10 15:02:43] local.INFO: Extracted packet for processing {"connection_id":177751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa6"} 
[2026-09-10 15:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992331776001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02: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-09-10 15:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789032567000,"timestamp_ms":1789032567000,"timestamp_seconds":1789032567,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa690d8"} 
[2026-09-10 15:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:02: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-09-10 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:02: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-09-10 15:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992331776001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992331776001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:02:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992331776001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":177751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:02:43] local.INFO: GPS data processed {"connection_id":177751,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:02:43] local.INFO: Acknowledgment sent {"connection_id":177751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:02:56] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:02:56] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:02:56] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:02:56] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:02:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:02:56] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:02:56] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:03:19] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:03:19] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:03:19] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:03:24] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:03:24] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:03:24] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:03:25] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:03:25] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:03:25] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:03:25] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:03:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:03:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:03:25] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:03:25] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:03:27] local.INFO: TCP Data received {"connection_id":176332,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:03:27] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:03:27] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:03:32] local.INFO: TCP Data received {"connection_id":176332,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:03:32] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:03:32] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:03:39] local.INFO: TCP Data received {"connection_id":176332,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa6e2e0012d196840071fede8003f011d29..."} 
[2026-09-10 15:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa6e2e0012d196840071fede8003f011d29..."} 
[2026-09-10 15:03:39] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa6e2e0012d196840071fede8003f011d29..."} 
[2026-09-10 15:03:39] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa6"} 
[2026-09-10 15:03:39] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa6"} 
[2026-09-10 15:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992337152001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03: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-09-10 15:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789032588000,"timestamp_ms":1789032588000,"timestamp_seconds":1789032588,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa6e2e0"} 
[2026-09-10 15:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992337152001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992337152001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:03:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:03:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992337152001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:03:39] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:03:39] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:03:56] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:03:56] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:03:56] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:03:56] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:03:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:03:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:03:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:03:56] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:03:56] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:04:24] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:04:24] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:04:24] local.INFO: IMEI packet received {"connection_id":176574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":176574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:04:27] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:04:27] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:04:27] local.INFO: IMEI packet received {"connection_id":176575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":176575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:04:29] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:04:29] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:04:29] local.INFO: IMEI packet received {"connection_id":176574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":176574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:04:30] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:04:30] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:04:30] local.INFO: Packet analysis {"connection_id":176574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:04:30] local.INFO: Extracted packet for processing {"connection_id":176574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:04:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":176574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:04:30] local.INFO: GPS data processed {"connection_id":176574,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:04:30] local.INFO: Acknowledgment sent {"connection_id":176574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:04:32] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:04:32] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:04:32] local.INFO: IMEI packet received {"connection_id":176575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":176575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:04:33] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa734e8012d196840071fede8003f011d28..."} 
[2026-09-10 15:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa734e8012d196840071fede8003f011d28..."} 
[2026-09-10 15:04:33] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa734e8012d196840071fede8003f011d28..."} 
[2026-09-10 15:04:33] local.INFO: Packet analysis {"connection_id":176575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:04:33] local.INFO: Extracted packet for processing {"connection_id":176575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992342528001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032609000,"timestamp_ms":1789032609000,"timestamp_seconds":1789032609,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa734e8"} 
[2026-09-10 15:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992342528001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992342528001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:04:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992342528001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":176575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:04:33] local.INFO: GPS data processed {"connection_id":176575,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:04:33] local.INFO: Acknowledgment sent {"connection_id":176575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:04:34] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:04:34] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:04:34] local.INFO: Packet analysis {"connection_id":176574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:04:34] local.INFO: Extracted packet for processing {"connection_id":176574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:04: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-09-10 15:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:04: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-09-10 15:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:04:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":176574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:04:34] local.INFO: GPS data processed {"connection_id":176574,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:04:34] local.INFO: Acknowledgment sent {"connection_id":176574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:05:05] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa786f0012d196840071fede8003f011d27..."} 
[2026-09-10 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa786f0012d196840071fede8003f011d27..."} 
[2026-09-10 15:05:05] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa786f0012d196840071fede8003f011d27..."} 
[2026-09-10 15:05:05] local.INFO: Packet analysis {"connection_id":176575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:05] local.INFO: Extracted packet for processing {"connection_id":176575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992347904001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05: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-09-10 15:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789032630000,"timestamp_ms":1789032630000,"timestamp_seconds":1789032630,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa786f0"} 
[2026-09-10 15:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:05: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-09-10 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992347904001,"66":12461,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992347904001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992347904001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":176575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:05:05] local.INFO: GPS data processed {"connection_id":176575,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:05:05] local.INFO: Acknowledgment sent {"connection_id":176575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:05:19] local.INFO: TCP Data received {"connection_id":177752,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:05:19] local.INFO: Processing buffer {"connection_id":177752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:05:19] local.INFO: IMEI packet received {"connection_id":177752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":177752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:05:24] local.INFO: TCP Data received {"connection_id":177752,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:05:24] local.INFO: Processing buffer {"connection_id":177752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:05:24] local.INFO: IMEI packet received {"connection_id":177752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":177752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:05:25] local.INFO: TCP Data received {"connection_id":177752,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:05:25] local.INFO: Processing buffer {"connection_id":177752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:05:25] local.INFO: Packet analysis {"connection_id":177752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:25] local.INFO: Extracted packet for processing {"connection_id":177752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:05:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":177752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:05:25] local.INFO: GPS data processed {"connection_id":177752,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:05:25] local.INFO: Acknowledgment sent {"connection_id":177752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:05:27] local.INFO: TCP Data received {"connection_id":176576,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:05:27] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:05:27] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:05:32] local.INFO: TCP Data received {"connection_id":176576,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:05:32] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:05:32] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:05:33] local.INFO: TCP Data received {"connection_id":176576,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa7d8f8012d196840071fede8003f011d29..."} 
[2026-09-10 15:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa7d8f8012d196840071fede8003f011d29..."} 
[2026-09-10 15:05:33] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa7d8f8012d196840071fede8003f011d29..."} 
[2026-09-10 15:05:33] local.INFO: Packet analysis {"connection_id":176576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:33] local.INFO: Extracted packet for processing {"connection_id":176576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992353280001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032651000,"timestamp_ms":1789032651000,"timestamp_seconds":1789032651,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa7d8f8"} 
[2026-09-10 15:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 15:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992353280001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992353280001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:05:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992353280001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":176576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:05:33] local.INFO: GPS data processed {"connection_id":176576,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:05:33] local.INFO: Acknowledgment sent {"connection_id":176576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:05:56] local.INFO: TCP Data received {"connection_id":177752,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:05:56] local.INFO: Processing buffer {"connection_id":177752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aa75bf8012cc33340076855f0005b015f2b..."} 
[2026-09-10 15:05:56] local.INFO: Packet analysis {"connection_id":177752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:56] local.INFO: Extracted packet for processing {"connection_id":177752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aa7"} 
[2026-09-10 15:05:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992273408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032619000,"timestamp_ms":1789032619000,"timestamp_seconds":1789032619,"priority":1,"record_length":96,"hex_timestamp":"000001a08aa75bf8"} 
[2026-09-10 15:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 15:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992273408001,"66":25875,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992273408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:05:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992273408001,"power":25875,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":177752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:05:56] local.INFO: GPS data processed {"connection_id":177752,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:05:56] local.INFO: Acknowledgment sent {"connection_id":177752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:06:04] local.INFO: TCP Data received {"connection_id":176576,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aab5f50012d196840071fede8003f011d27..."} 
[2026-09-10 15:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aab5f50012d196840071fede8003f011d27..."} 
[2026-09-10 15:06:04] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aab5f50012d196840071fede8003f011d27..."} 
[2026-09-10 15:06:04] local.INFO: Packet analysis {"connection_id":176576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:04] local.INFO: Extracted packet for processing {"connection_id":176576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992412416001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06: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-09-10 15:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789032882000,"timestamp_ms":1789032882000,"timestamp_seconds":1789032882,"priority":1,"record_length":96,"hex_timestamp":"000001a08aab5f50"} 
[2026-09-10 15:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992412416001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992412416001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:06:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992412416001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":176576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:06:05] local.INFO: GPS data processed {"connection_id":176576,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:06:05] local.INFO: Acknowledgment sent {"connection_id":176576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:06:19] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:06:19] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:06:19] local.INFO: IMEI packet received {"connection_id":177753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":177753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:06:24] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:06:24] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:06:24] local.INFO: IMEI packet received {"connection_id":177753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":177753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:06:25] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:06:25] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:06:25] local.INFO: Packet analysis {"connection_id":177753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:25] local.INFO: Extracted packet for processing {"connection_id":177753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"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,44]} 
[2026-09-10 15:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:06:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":177753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:06:25] local.INFO: GPS data processed {"connection_id":177753,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:06:25] local.INFO: Acknowledgment sent {"connection_id":177753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:06:32] local.INFO: TCP Data received {"connection_id":177754,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:06:32] local.INFO: Processing buffer {"connection_id":177754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:06:32] local.INFO: IMEI packet received {"connection_id":177754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":177754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:06:37] local.INFO: TCP Data received {"connection_id":177754,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:06:37] local.INFO: Processing buffer {"connection_id":177754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:06:37] local.INFO: IMEI packet received {"connection_id":177754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":177754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:06:38] local.INFO: TCP Data received {"connection_id":177754,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabb158012d196840071fede8003f011d26..."} 
[2026-09-10 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabb158012d196840071fede8003f011d26..."} 
[2026-09-10 15:06:38] local.INFO: Processing buffer {"connection_id":177754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabb158012d196840071fede8003f011d26..."} 
[2026-09-10 15:06:38] local.INFO: Packet analysis {"connection_id":177754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:38] local.INFO: Extracted packet for processing {"connection_id":177754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992417792001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789032903000,"timestamp_ms":1789032903000,"timestamp_seconds":1789032903,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabb158"} 
[2026-09-10 15:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992417792001,"66":12439,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992417792001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:06:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992417792001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":177754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:06:38] local.INFO: GPS data processed {"connection_id":177754,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:06:38] local.INFO: Acknowledgment sent {"connection_id":177754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:06:43] local.INFO: TCP Data received {"connection_id":177754,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aac0360012d196840071fede8003f011d29..."} 
[2026-09-10 15:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aac0360012d196840071fede8003f011d29..."} 
[2026-09-10 15:06:43] local.INFO: Processing buffer {"connection_id":177754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aac0360012d196840071fede8003f011d29..."} 
[2026-09-10 15:06:43] local.INFO: Packet analysis {"connection_id":177754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:06:43] local.INFO: Extracted packet for processing {"connection_id":177754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992423168001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06: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-09-10 15:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789032924000,"timestamp_ms":1789032924000,"timestamp_seconds":1789032924,"priority":1,"record_length":96,"hex_timestamp":"000001a08aac0360"} 
[2026-09-10 15:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 15:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992423168001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992423168001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:06:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992423168001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":177754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:06:43] local.INFO: GPS data processed {"connection_id":177754,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:06:43] local.INFO: Acknowledgment sent {"connection_id":177754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:06:50] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:06:50] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:06:50] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:06:56] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:06:56] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:06:56] local.INFO: Packet analysis {"connection_id":177753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:56] local.INFO: Extracted packet for processing {"connection_id":177753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"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,44]} 
[2026-09-10 15:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:06:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":177753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:06:56] local.INFO: GPS data processed {"connection_id":177753,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:06:56] local.INFO: Acknowledgment sent {"connection_id":177753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:07:19] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:07:19] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:07:19] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:07:24] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:07:24] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:07:24] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:07:25] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:07:25] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:07:25] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:07:25] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:07:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:07:25] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:07:25] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:07:26] local.INFO: TCP Data received {"connection_id":176335,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:26] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:26] local.INFO: IMEI packet received {"connection_id":176335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":176335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:07:27] local.INFO: TCP Data received {"connection_id":176335,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:27] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:27] local.INFO: IMEI packet received {"connection_id":176335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":176335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:07:32] local.INFO: TCP Data received {"connection_id":176335,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:32] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:07:32] local.INFO: IMEI packet received {"connection_id":176335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":176335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:07:33] local.INFO: TCP Data received {"connection_id":176335,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aac5568012d196840071fede8003f011d27..."} 
[2026-09-10 15:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aac5568012d196840071fede8003f011d27..."} 
[2026-09-10 15:07:33] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aac5568012d196840071fede8003f011d27..."} 
[2026-09-10 15:07:33] local.INFO: Packet analysis {"connection_id":176335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:07:33] local.INFO: Extracted packet for processing {"connection_id":176335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992428544001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789032945000,"timestamp_ms":1789032945000,"timestamp_seconds":1789032945,"priority":1,"record_length":96,"hex_timestamp":"000001a08aac5568"} 
[2026-09-10 15:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992428544001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992428544001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:07:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:07:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992428544001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":176335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:07:33] local.INFO: GPS data processed {"connection_id":176335,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:07:33] local.INFO: Acknowledgment sent {"connection_id":176335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:07:46] local.INFO: TCP Data received {"connection_id":176336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:07:46] local.INFO: Processing buffer {"connection_id":176336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:07:46] local.INFO: IMEI packet received {"connection_id":176336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":176336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:07:56] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:07:56] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:07:56] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:07:56] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:07:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:07:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:07:56] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:07:56] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:08:05] local.INFO: TCP Data received {"connection_id":176335,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aaca770012d196840071fede8003f011d27..."} 
[2026-09-10 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aaca770012d196840071fede8003f011d27..."} 
[2026-09-10 15:08:05] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aaca770012d196840071fede8003f011d27..."} 
[2026-09-10 15:08:05] local.INFO: Packet analysis {"connection_id":176335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:08:05] local.INFO: Extracted packet for processing {"connection_id":176335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992433920001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08: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-09-10 15:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789032966000,"timestamp_ms":1789032966000,"timestamp_seconds":1789032966,"priority":1,"record_length":96,"hex_timestamp":"000001a08aaca770"} 
[2026-09-10 15:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:08: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-09-10 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:08: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-09-10 15:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992433920001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992433920001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992433920001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":176335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:08:05] local.INFO: GPS data processed {"connection_id":176335,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:08:05] local.INFO: Acknowledgment sent {"connection_id":176335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:08:24] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:08:24] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:08:24] local.INFO: IMEI packet received {"connection_id":177755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":177755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:08:27] local.INFO: TCP Data received {"connection_id":177756,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:27] local.INFO: Processing buffer {"connection_id":177756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:27] local.INFO: IMEI packet received {"connection_id":177756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":177756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:08:29] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:08:29] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:08:29] local.INFO: IMEI packet received {"connection_id":177755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":177755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:08:30] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:08:30] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:08:30] local.INFO: Packet analysis {"connection_id":177755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:08:30] local.INFO: Extracted packet for processing {"connection_id":177755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:08:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":177755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:08:30] local.INFO: GPS data processed {"connection_id":177755,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:08:30] local.INFO: Acknowledgment sent {"connection_id":177755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:08:32] local.INFO: TCP Data received {"connection_id":177756,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:32] local.INFO: Processing buffer {"connection_id":177756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:32] local.INFO: IMEI packet received {"connection_id":177756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":177756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:08:33] local.INFO: TCP Data received {"connection_id":177756,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:33] local.INFO: Processing buffer {"connection_id":177756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:33] local.INFO: IMEI packet received {"connection_id":177756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":177756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:08:37] local.INFO: TCP Data received {"connection_id":177756,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:37] local.INFO: Processing buffer {"connection_id":177756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:08:37] local.INFO: IMEI packet received {"connection_id":177756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":177756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:08:38] local.INFO: TCP Data received {"connection_id":177756,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aacf978012d196840071fede8003f011d28..."} 
[2026-09-10 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aacf978012d196840071fede8003f011d28..."} 
[2026-09-10 15:08:39] local.INFO: Processing buffer {"connection_id":177756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aacf978012d196840071fede8003f011d28..."} 
[2026-09-10 15:08:39] local.INFO: Packet analysis {"connection_id":177756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:08:39] local.INFO: Extracted packet for processing {"connection_id":177756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aac"} 
[2026-09-10 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992439296001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:08: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-09-10 15:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789032987000,"timestamp_ms":1789032987000,"timestamp_seconds":1789032987,"priority":1,"record_length":96,"hex_timestamp":"000001a08aacf978"} 
[2026-09-10 15:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:08:39] 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-09-10 15:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992439296001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992439296001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:08:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:08:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992439296001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":177756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:08:39] local.INFO: GPS data processed {"connection_id":177756,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:08:39] local.INFO: Acknowledgment sent {"connection_id":177756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:09:01] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:01] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:01] local.INFO: Packet analysis {"connection_id":177755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:09:01] local.INFO: Extracted packet for processing {"connection_id":177755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:09:01] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 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-09-10 15:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:09: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-09-10 15:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:09:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":177755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:09:01] local.INFO: GPS data processed {"connection_id":177755,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:09:01] local.INFO: Acknowledgment sent {"connection_id":177755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:09:11] local.INFO: TCP Data received {"connection_id":177756,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aad4b80012d196840071fede8003f011d27..."} 
[2026-09-10 15:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aad4b80012d196840071fede8003f011d27..."} 
[2026-09-10 15:09:11] local.INFO: Processing buffer {"connection_id":177756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aad4b80012d196840071fede8003f011d27..."} 
[2026-09-10 15:09:11] local.INFO: Packet analysis {"connection_id":177756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aad"} 
[2026-09-10 15:09:11] local.INFO: Extracted packet for processing {"connection_id":177756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aad"} 
[2026-09-10 15:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992444672001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09: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-09-10 15:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789033008000,"timestamp_ms":1789033008000,"timestamp_seconds":1789033008,"priority":1,"record_length":96,"hex_timestamp":"000001a08aad4b80"} 
[2026-09-10 15:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:09: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-09-10 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992444672001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992444672001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:09:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992444672001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":177756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:09:11] local.INFO: GPS data processed {"connection_id":177756,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:09:11] local.INFO: Acknowledgment sent {"connection_id":177756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:09:19] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:09:19] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:09:19] local.INFO: IMEI packet received {"connection_id":176579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":176579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:09:24] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:09:24] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:09:24] local.INFO: IMEI packet received {"connection_id":176579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":176579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:09:25] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:25] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:25] local.INFO: Packet analysis {"connection_id":176579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:09:25] local.INFO: Extracted packet for processing {"connection_id":176579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:09:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":176579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:09:25] local.INFO: GPS data processed {"connection_id":176579,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:09:25] local.INFO: Acknowledgment sent {"connection_id":176579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:09:27] local.INFO: TCP Data received {"connection_id":179130,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:09:27] local.INFO: Processing buffer {"connection_id":179130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:09:27] local.INFO: IMEI packet received {"connection_id":179130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":179130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:09:32] local.INFO: TCP Data received {"connection_id":179130,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:09:32] local.INFO: Processing buffer {"connection_id":179130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:09:32] local.INFO: IMEI packet received {"connection_id":179130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":179130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:09:33] local.INFO: TCP Data received {"connection_id":179130,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aad9d88012d196840071fede8003f011d28..."} 
[2026-09-10 15:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aad9d88012d196840071fede8003f011d28..."} 
[2026-09-10 15:09:33] local.INFO: Processing buffer {"connection_id":179130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aad9d88012d196840071fede8003f011d28..."} 
[2026-09-10 15:09:33] local.INFO: Packet analysis {"connection_id":179130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aad"} 
[2026-09-10 15:09:33] local.INFO: Extracted packet for processing {"connection_id":179130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aad"} 
[2026-09-10 15:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992450048001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033029000,"timestamp_ms":1789033029000,"timestamp_seconds":1789033029,"priority":1,"record_length":96,"hex_timestamp":"000001a08aad9d88"} 
[2026-09-10 15:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992450048001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992450048001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:09:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992450048001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":179130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:09:33] local.INFO: GPS data processed {"connection_id":179130,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:09:33] local.INFO: Acknowledgment sent {"connection_id":179130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:09:56] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:56] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:09:56] local.INFO: Packet analysis {"connection_id":176579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:09:56] local.INFO: Extracted packet for processing {"connection_id":176579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:09:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:09:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:09:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":176579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:09:56] local.INFO: GPS data processed {"connection_id":176579,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:09:56] local.INFO: Acknowledgment sent {"connection_id":176579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:10:05] local.INFO: TCP Data received {"connection_id":179130,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aadef90012d196840071fede8003f011d27..."} 
[2026-09-10 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aadef90012d196840071fede8003f011d27..."} 
[2026-09-10 15:10:05] local.INFO: Processing buffer {"connection_id":179130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aadef90012d196840071fede8003f011d27..."} 
[2026-09-10 15:10:05] local.INFO: Packet analysis {"connection_id":179130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aad"} 
[2026-09-10 15:10:05] local.INFO: Extracted packet for processing {"connection_id":179130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aad"} 
[2026-09-10 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992455424001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10: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-09-10 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789033050000,"timestamp_ms":1789033050000,"timestamp_seconds":1789033050,"priority":1,"record_length":96,"hex_timestamp":"000001a08aadef90"} 
[2026-09-10 15:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:10: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-09-10 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:10: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-09-10 15:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992455424001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992455424001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992455424001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":179130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:10:05] local.INFO: GPS data processed {"connection_id":179130,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:10:05] local.INFO: Acknowledgment sent {"connection_id":179130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:10:19] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:10:19] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:10:19] local.INFO: IMEI packet received {"connection_id":176581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":176581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:10:24] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:10:24] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:10:24] local.INFO: IMEI packet received {"connection_id":176581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":176581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:10:25] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:10:25] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:10:25] local.INFO: Packet analysis {"connection_id":176581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:10:25] local.INFO: Extracted packet for processing {"connection_id":176581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:10:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:10:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":176581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:10:25] local.INFO: GPS data processed {"connection_id":176581,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:10:25] local.INFO: Acknowledgment sent {"connection_id":176581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:10:27] local.INFO: TCP Data received {"connection_id":177757,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:10:27] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:10:27] local.INFO: IMEI packet received {"connection_id":177757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":177757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:10:32] local.INFO: TCP Data received {"connection_id":177757,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:10:32] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:10:32] local.INFO: IMEI packet received {"connection_id":177757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":177757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:10:33] local.INFO: TCP Data received {"connection_id":177757,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aae4198012d196840071fede8003f011d27..."} 
[2026-09-10 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aae4198012d196840071fede8003f011d27..."} 
[2026-09-10 15:10:33] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aae4198012d196840071fede8003f011d27..."} 
[2026-09-10 15:10:33] local.INFO: Packet analysis {"connection_id":177757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aae"} 
[2026-09-10 15:10:33] local.INFO: Extracted packet for processing {"connection_id":177757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aae"} 
[2026-09-10 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992460800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033071000,"timestamp_ms":1789033071000,"timestamp_seconds":1789033071,"priority":1,"record_length":96,"hex_timestamp":"000001a08aae4198"} 
[2026-09-10 15:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992460800001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992460800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:10:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:10:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992460800001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":177757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:10:33] local.INFO: GPS data processed {"connection_id":177757,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:10:33] local.INFO: Acknowledgment sent {"connection_id":177757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:10:56] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:10:56] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aabf3c0012cc33340076855f0005b015f25..."} 
[2026-09-10 15:10:56] local.INFO: Packet analysis {"connection_id":176581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:10:56] local.INFO: Extracted packet for processing {"connection_id":176581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aab"} 
[2026-09-10 15:10:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992350464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789032920000,"timestamp_ms":1789032920000,"timestamp_seconds":1789032920,"priority":1,"record_length":96,"hex_timestamp":"000001a08aabf3c0"} 
[2026-09-10 15:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 15:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992350464001,"66":25962,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992350464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:10:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:10:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992350464001,"power":25962,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":176581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:10:56] local.INFO: GPS data processed {"connection_id":176581,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:10:56] local.INFO: Acknowledgment sent {"connection_id":176581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:11:05] local.INFO: TCP Data received {"connection_id":177757,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aae93a0012d196840071fede8003f011d27..."} 
[2026-09-10 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aae93a0012d196840071fede8003f011d27..."} 
[2026-09-10 15:11:05] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aae93a0012d196840071fede8003f011d27..."} 
[2026-09-10 15:11:05] local.INFO: Packet analysis {"connection_id":177757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aae"} 
[2026-09-10 15:11:05] local.INFO: Extracted packet for processing {"connection_id":177757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aae"} 
[2026-09-10 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992466176001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11: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-09-10 15:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789033092000,"timestamp_ms":1789033092000,"timestamp_seconds":1789033092,"priority":1,"record_length":96,"hex_timestamp":"000001a08aae93a0"} 
[2026-09-10 15:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:11: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-09-10 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:11: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-09-10 15:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992466176001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992466176001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992466176001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":177757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:11:05] local.INFO: GPS data processed {"connection_id":177757,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:11:05] local.INFO: Acknowledgment sent {"connection_id":177757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:11:24] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:11:24] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:11:24] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:11:29] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:11:29] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:11:29] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:11:30] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:11:30] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:11:30] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:11:30] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:11:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:11:30] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:11:30] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:11:32] local.INFO: TCP Data received {"connection_id":179131,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:11:32] local.INFO: Processing buffer {"connection_id":179131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:11:32] local.INFO: IMEI packet received {"connection_id":179131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":179131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:11:34] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:11:34] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:11:34] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:11:34] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:11: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-09-10 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:11:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:11:34] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:11:34] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:11:37] local.INFO: TCP Data received {"connection_id":179131,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:11:37] local.INFO: Processing buffer {"connection_id":179131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:11:37] local.INFO: IMEI packet received {"connection_id":179131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":179131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:11:38] local.INFO: TCP Data received {"connection_id":179131,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aaee5a8012d196840071fede8003f011d27..."} 
[2026-09-10 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aaee5a8012d196840071fede8003f011d27..."} 
[2026-09-10 15:11:38] local.INFO: Processing buffer {"connection_id":179131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aaee5a8012d196840071fede8003f011d27..."} 
[2026-09-10 15:11:38] local.INFO: Packet analysis {"connection_id":179131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aae"} 
[2026-09-10 15:11:38] local.INFO: Extracted packet for processing {"connection_id":179131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aae"} 
[2026-09-10 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992471552001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789033113000,"timestamp_ms":1789033113000,"timestamp_seconds":1789033113,"priority":1,"record_length":96,"hex_timestamp":"000001a08aaee5a8"} 
[2026-09-10 15:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:11: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-09-10 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992471552001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992471552001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992471552001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":179131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:11:38] local.INFO: GPS data processed {"connection_id":179131,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:11:38] local.INFO: Acknowledgment sent {"connection_id":179131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:12:10] local.INFO: TCP Data received {"connection_id":179131,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aaf37b0012d196840071fede8003f011d26..."} 
[2026-09-10 15:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aaf37b0012d196840071fede8003f011d26..."} 
[2026-09-10 15:12:10] local.INFO: Processing buffer {"connection_id":179131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aaf37b0012d196840071fede8003f011d26..."} 
[2026-09-10 15:12:10] local.INFO: Packet analysis {"connection_id":179131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aaf"} 
[2026-09-10 15:12:10] local.INFO: Extracted packet for processing {"connection_id":179131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aaf"} 
[2026-09-10 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992476928001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12: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-09-10 15:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789033134000,"timestamp_ms":1789033134000,"timestamp_seconds":1789033134,"priority":1,"record_length":96,"hex_timestamp":"000001a08aaf37b0"} 
[2026-09-10 15:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:12: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-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:12: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-09-10 15: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-09-10 15:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":179131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":179131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":179131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992476928001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992476928001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:12:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:12:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992476928001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":179131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:12:10] local.INFO: GPS data processed {"connection_id":179131,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:12:10] local.INFO: Acknowledgment sent {"connection_id":179131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:12:19] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:12:19] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:12:19] local.INFO: IMEI packet received {"connection_id":176340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":176340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:12:24] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:12:24] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:12:24] local.INFO: IMEI packet received {"connection_id":176340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":176340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:12:25] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:12:25] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:12:25] local.INFO: Packet analysis {"connection_id":176340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:12:25] local.INFO: Extracted packet for processing {"connection_id":176340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:12:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":176340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:12:25] local.INFO: GPS data processed {"connection_id":176340,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:12:25] local.INFO: Acknowledgment sent {"connection_id":176340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:12:27] local.INFO: TCP Data received {"connection_id":176341,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:12:27] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:12:27] local.INFO: IMEI packet received {"connection_id":176341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":176341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:12:32] local.INFO: TCP Data received {"connection_id":176341,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:12:32] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:12:32] local.INFO: IMEI packet received {"connection_id":176341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":176341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:12:33] local.INFO: TCP Data received {"connection_id":176341,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aaf89b8012d196840071fede8003f011d25..."} 
[2026-09-10 15:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aaf89b8012d196840071fede8003f011d25..."} 
[2026-09-10 15:12:33] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aaf89b8012d196840071fede8003f011d25..."} 
[2026-09-10 15:12:33] local.INFO: Packet analysis {"connection_id":176341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aaf"} 
[2026-09-10 15:12:33] local.INFO: Extracted packet for processing {"connection_id":176341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aaf"} 
[2026-09-10 15:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992482304001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033155000,"timestamp_ms":1789033155000,"timestamp_seconds":1789033155,"priority":1,"record_length":96,"hex_timestamp":"000001a08aaf89b8"} 
[2026-09-10 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-09-10 15:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992482304001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992482304001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:12:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:12:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992482304001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":176341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:12:33] local.INFO: GPS data processed {"connection_id":176341,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:12:33] local.INFO: Acknowledgment sent {"connection_id":176341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:12:51] local.INFO: TCP Data received {"connection_id":177758,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:12:51] local.INFO: Processing buffer {"connection_id":177758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:12:51] local.INFO: IMEI packet received {"connection_id":177758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":177758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:12:56] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:12:56] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:12:56] local.INFO: Packet analysis {"connection_id":176340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:12:56] local.INFO: Extracted packet for processing {"connection_id":176340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:12:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:12:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":176340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:12:56] local.INFO: GPS data processed {"connection_id":176340,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:12:56] local.INFO: Acknowledgment sent {"connection_id":176340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:13:04] local.INFO: TCP Data received {"connection_id":176341,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aafdbc0012d196840071fede8003f011d28..."} 
[2026-09-10 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aafdbc0012d196840071fede8003f011d28..."} 
[2026-09-10 15:13:04] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aafdbc0012d196840071fede8003f011d28..."} 
[2026-09-10 15:13:04] local.INFO: Packet analysis {"connection_id":176341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aaf"} 
[2026-09-10 15:13:04] local.INFO: Extracted packet for processing {"connection_id":176341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aaf"} 
[2026-09-10 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992487680001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13: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-09-10 15:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789033176000,"timestamp_ms":1789033176000,"timestamp_seconds":1789033176,"priority":1,"record_length":96,"hex_timestamp":"000001a08aafdbc0"} 
[2026-09-10 15:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992487680001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992487680001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:13:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992487680001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":176341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:13:04] local.INFO: GPS data processed {"connection_id":176341,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:13:04] local.INFO: Acknowledgment sent {"connection_id":176341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:13:18] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:18] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:18] local.INFO: IMEI packet received {"connection_id":179132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":179132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:13:19] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:19] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:19] local.INFO: IMEI packet received {"connection_id":179132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":179132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:13:19] local.INFO: TCP Data received {"connection_id":177759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:13:19] local.INFO: Processing buffer {"connection_id":177759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:13:19] local.INFO: IMEI packet received {"connection_id":177759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":177759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:13:23] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:23] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:13:23] local.INFO: IMEI packet received {"connection_id":179132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":179132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:13:24] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:13:24] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:13:24] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:13:24] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:13: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-09-10 15:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:13:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:13:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:13:24] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:13:24] local.ERROR: GPS data processing failed {"connection_id":179132,"error":"No valid data to process"} 
[2026-09-10 15:13:24] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:13:24] local.INFO: TCP Data received {"connection_id":177759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:13:24] local.INFO: Processing buffer {"connection_id":177759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:13:24] local.INFO: IMEI packet received {"connection_id":177759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":177759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:13:25] local.INFO: TCP Data received {"connection_id":177759,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:13:25] local.INFO: Processing buffer {"connection_id":177759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:13:25] local.INFO: Packet analysis {"connection_id":177759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:13:25] local.INFO: Extracted packet for processing {"connection_id":177759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:13:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":177759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:13:25] local.INFO: GPS data processed {"connection_id":177759,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:13:25] local.INFO: Acknowledgment sent {"connection_id":177759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:13:27] local.INFO: TCP Data received {"connection_id":176582,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:13:27] local.INFO: Processing buffer {"connection_id":176582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:13:27] local.INFO: IMEI packet received {"connection_id":176582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":176582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:13:32] local.INFO: TCP Data received {"connection_id":176582,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:13:32] local.INFO: Processing buffer {"connection_id":176582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:13:32] local.INFO: IMEI packet received {"connection_id":176582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":176582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:13:33] local.INFO: TCP Data received {"connection_id":176582,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab02dc8012d196840071fede8003f011d25..."} 
[2026-09-10 15:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab02dc8012d196840071fede8003f011d25..."} 
[2026-09-10 15:13:33] local.INFO: Processing buffer {"connection_id":176582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab02dc8012d196840071fede8003f011d25..."} 
[2026-09-10 15:13:33] local.INFO: Packet analysis {"connection_id":176582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:13:33] local.INFO: Extracted packet for processing {"connection_id":176582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992493056001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033197000,"timestamp_ms":1789033197000,"timestamp_seconds":1789033197,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab02dc8"} 
[2026-09-10 15:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992493056001,"66":11363,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992493056001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:13:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992493056001,"power":11363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":176582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:13:33] local.INFO: GPS data processed {"connection_id":176582,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:13:33] local.INFO: Acknowledgment sent {"connection_id":176582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:13:56] local.INFO: TCP Data received {"connection_id":177759,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:13:56] local.INFO: Processing buffer {"connection_id":177759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:13:56] local.INFO: Packet analysis {"connection_id":177759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:13:56] local.INFO: Extracted packet for processing {"connection_id":177759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:13:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 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-09-10 15:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:13:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:13:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":177759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:13:56] local.INFO: GPS data processed {"connection_id":177759,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:13:56] local.INFO: Acknowledgment sent {"connection_id":177759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:13:56] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:13:56] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:13:56] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:13:56] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:13:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:13:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:13:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:13:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:13:56] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:13:56] local.ERROR: GPS data processing failed {"connection_id":179132,"error":"No valid data to process"} 
[2026-09-10 15:13:56] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:14:05] local.INFO: TCP Data received {"connection_id":176582,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab07fd0012d196840071fede8003f011d27..."} 
[2026-09-10 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab07fd0012d196840071fede8003f011d27..."} 
[2026-09-10 15:14:05] local.INFO: Processing buffer {"connection_id":176582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab07fd0012d196840071fede8003f011d27..."} 
[2026-09-10 15:14:05] local.INFO: Packet analysis {"connection_id":176582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:05] local.INFO: Extracted packet for processing {"connection_id":176582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992498432001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14: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-09-10 15:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789033218000,"timestamp_ms":1789033218000,"timestamp_seconds":1789033218,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab07fd0"} 
[2026-09-10 15:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":44,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-10 15:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1309,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992498432001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992498432001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:14:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992498432001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":176582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:14:05] local.INFO: GPS data processed {"connection_id":176582,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:14:05] local.INFO: Acknowledgment sent {"connection_id":176582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:14:19] local.INFO: TCP Data received {"connection_id":179133,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:14:19] local.INFO: Processing buffer {"connection_id":179133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:14:19] local.INFO: IMEI packet received {"connection_id":179133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":179133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:14:24] local.INFO: TCP Data received {"connection_id":179133,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:14:24] local.INFO: Processing buffer {"connection_id":179133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:14:24] local.INFO: IMEI packet received {"connection_id":179133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":179133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:14:25] local.INFO: TCP Data received {"connection_id":179133,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:14:25] local.INFO: Processing buffer {"connection_id":179133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:14:25] local.INFO: Packet analysis {"connection_id":179133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:25] local.INFO: Extracted packet for processing {"connection_id":179133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:14:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":179133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:14:25] local.INFO: GPS data processed {"connection_id":179133,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:14:25] local.INFO: Acknowledgment sent {"connection_id":179133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:14:26] local.INFO: TCP Data received {"connection_id":176342,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:26] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:26] local.INFO: IMEI packet received {"connection_id":176342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":176342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:14:27] local.INFO: TCP Data received {"connection_id":176342,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:27] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:27] local.INFO: IMEI packet received {"connection_id":176342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":176342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:14:28] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-10 15:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-10 15:14:28] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-10 15:14:28] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:14:28] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:14: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-09-10 15:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:14:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:14:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:14:28] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:14:28] local.ERROR: GPS data processing failed {"connection_id":179132,"error":"No valid data to process"} 
[2026-09-10 15:14:28] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:14:32] local.INFO: TCP Data received {"connection_id":176342,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:32] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:14:32] local.INFO: IMEI packet received {"connection_id":176342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":176342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:14:36] local.INFO: TCP Data received {"connection_id":176342,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab0d1d8012d196840071fede8003f011d27..."} 
[2026-09-10 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab0d1d8012d196840071fede8003f011d27..."} 
[2026-09-10 15:14:36] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab0d1d8012d196840071fede8003f011d27..."} 
[2026-09-10 15:14:36] local.INFO: Packet analysis {"connection_id":176342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:36] local.INFO: Extracted packet for processing {"connection_id":176342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992503808001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14: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-09-10 15:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789033239000,"timestamp_ms":1789033239000,"timestamp_seconds":1789033239,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab0d1d8"} 
[2026-09-10 15:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15: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-09-10 15: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-09-10 15: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-09-10 15:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992503808001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992503808001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992503808001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":176342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:14:36] local.INFO: GPS data processed {"connection_id":176342,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:14:36] local.INFO: Acknowledgment sent {"connection_id":176342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:14:56] local.INFO: TCP Data received {"connection_id":179133,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:14:56] local.INFO: Processing buffer {"connection_id":179133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:14:56] local.INFO: Packet analysis {"connection_id":179133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:56] local.INFO: Extracted packet for processing {"connection_id":179133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:14:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:14:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":179133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:14:56] local.INFO: GPS data processed {"connection_id":179133,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:14:56] local.INFO: Acknowledgment sent {"connection_id":179133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:14:59] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-10 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-10 15:14:59] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-10 15:14:59] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:14:59] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:14:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:14:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:14:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:14:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:14:59] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:14:59] local.ERROR: GPS data processing failed {"connection_id":179132,"error":"No valid data to process"} 
[2026-09-10 15:14:59] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:15:09] local.INFO: TCP Data received {"connection_id":176342,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab123e0012d196840071fede8003f011d27..."} 
[2026-09-10 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab123e0012d196840071fede8003f011d27..."} 
[2026-09-10 15:15:09] local.INFO: Processing buffer {"connection_id":176342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab123e0012d196840071fede8003f011d27..."} 
[2026-09-10 15:15:09] local.INFO: Packet analysis {"connection_id":176342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab1"} 
[2026-09-10 15:15:09] local.INFO: Extracted packet for processing {"connection_id":176342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab1"} 
[2026-09-10 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992509184001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15: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-09-10 15:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789033260000,"timestamp_ms":1789033260000,"timestamp_seconds":1789033260,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab123e0"} 
[2026-09-10 15:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992509184001,"66":12363,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992509184001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:15:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:15:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992509184001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":176342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:15:09] local.INFO: GPS data processed {"connection_id":176342,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:15:09] local.INFO: Acknowledgment sent {"connection_id":176342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:15:19] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:15:19] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:15:19] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:15:24] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:15:24] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:15:24] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:15:25] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:15:25] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:15:25] local.INFO: Packet analysis {"connection_id":176584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:15:25] local.INFO: Extracted packet for processing {"connection_id":176584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:15:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:15:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:15:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":176584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:15:25] local.INFO: GPS data processed {"connection_id":176584,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:15:25] local.INFO: Acknowledgment sent {"connection_id":176584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:15:31] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab483280100000000000000000000000000..."} 
[2026-09-10 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab483280100000000000000000000000000..."} 
[2026-09-10 15:15:31] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab483280100000000000000000000000000..."} 
[2026-09-10 15:15:31] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab4"} 
[2026-09-10 15:15:31] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab4"} 
[2026-09-10 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789033481000,"timestamp_ms":1789033481000,"timestamp_seconds":1789033481,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab48328"} 
[2026-09-10 15:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-10 15:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:15:31] local.INFO: GPS data processed {"connection_id":179132,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:15:31] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:15:32] local.INFO: TCP Data received {"connection_id":176344,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:15:32] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:15:32] local.INFO: IMEI packet received {"connection_id":176344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":176344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:15:37] local.INFO: TCP Data received {"connection_id":176344,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:15:37] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:15:37] local.INFO: IMEI packet received {"connection_id":176344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":176344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:15:38] local.INFO: TCP Data received {"connection_id":176344,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab175e8012d196840071fede8003f011d26..."} 
[2026-09-10 15:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab175e8012d196840071fede8003f011d26..."} 
[2026-09-10 15:15:38] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab175e8012d196840071fede8003f011d26..."} 
[2026-09-10 15:15:38] local.INFO: Packet analysis {"connection_id":176344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab1"} 
[2026-09-10 15:15:38] local.INFO: Extracted packet for processing {"connection_id":176344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab1"} 
[2026-09-10 15:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992514560001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789033281000,"timestamp_ms":1789033281000,"timestamp_seconds":1789033281,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab175e8"} 
[2026-09-10 15:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:15: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-09-10 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-10 15:15:38] 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-09-10 15:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992514560001,"66":11656,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992514560001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:15:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992514560001,"power":11656,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":176344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:15:38] local.INFO: GPS data processed {"connection_id":176344,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:15:38] local.INFO: Acknowledgment sent {"connection_id":176344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:15:56] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:15:56] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab08b88012cc33340076855f0005b015f29..."} 
[2026-09-10 15:15:56] local.INFO: Packet analysis {"connection_id":176584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:15:56] local.INFO: Extracted packet for processing {"connection_id":176584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab0"} 
[2026-09-10 15:15:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992427520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033221000,"timestamp_ms":1789033221000,"timestamp_seconds":1789033221,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab08b88"} 
[2026-09-10 15:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 15:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992427520001,"66":25919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992427520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:15:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:15:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992427520001,"power":25919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":176584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:15:56] local.INFO: GPS data processed {"connection_id":176584,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:15:56] local.INFO: Acknowledgment sent {"connection_id":176584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:16:02] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab4d5300100000000000000000000000000..."} 
[2026-09-10 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab4d5300100000000000000000000000000..."} 
[2026-09-10 15:16:02] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab4d5300100000000000000000000000000..."} 
[2026-09-10 15:16:02] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab4"} 
[2026-09-10 15:16:02] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab4"} 
[2026-09-10 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789033502000,"timestamp_ms":1789033502000,"timestamp_seconds":1789033502,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab4d530"} 
[2026-09-10 15:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 15:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:16:02] local.INFO: GPS data processed {"connection_id":179132,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:16:02] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:16:11] local.INFO: TCP Data received {"connection_id":176344,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab1c7f0012d196840071fede8003f011d27..."} 
[2026-09-10 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab1c7f0012d196840071fede8003f011d27..."} 
[2026-09-10 15:16:11] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab1c7f0012d196840071fede8003f011d27..."} 
[2026-09-10 15:16:11] local.INFO: Packet analysis {"connection_id":176344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab1"} 
[2026-09-10 15:16:11] local.INFO: Extracted packet for processing {"connection_id":176344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab1"} 
[2026-09-10 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992519936001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16: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-09-10 15:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789033302000,"timestamp_ms":1789033302000,"timestamp_seconds":1789033302,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab1c7f0"} 
[2026-09-10 15:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:16: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-09-10 15: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-10 15:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992519936001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992519936001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:16:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992519936001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":176344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:16:11] local.INFO: GPS data processed {"connection_id":176344,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:16:11] local.INFO: Acknowledgment sent {"connection_id":176344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:16:24] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:16:24] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:16:24] local.INFO: IMEI packet received {"connection_id":177760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":177760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:16:29] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:16:29] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:16:29] local.INFO: IMEI packet received {"connection_id":177760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":177760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:16:30] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:16:30] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:16:30] local.INFO: Packet analysis {"connection_id":177760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:16:30] local.INFO: Extracted packet for processing {"connection_id":177760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:16:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":177760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:16:30] local.INFO: GPS data processed {"connection_id":177760,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:16:30] local.INFO: Acknowledgment sent {"connection_id":177760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:16:32] local.INFO: TCP Data received {"connection_id":176585,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:32] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:32] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:16:33] local.INFO: TCP Data received {"connection_id":176585,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:33] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:33] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:16:34] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab527380100000000000000000000000000..."} 
[2026-09-10 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab527380100000000000000000000000000..."} 
[2026-09-10 15:16:34] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab527380100000000000000000000000000..."} 
[2026-09-10 15:16:34] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:16:34] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789033523000,"timestamp_ms":1789033523000,"timestamp_seconds":1789033523,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52738"} 
[2026-09-10 15:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 15:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:16:34] local.INFO: GPS data processed {"connection_id":179132,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:16:34] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:16:34] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:16:34] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:16:34] local.INFO: Packet analysis {"connection_id":177760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:16:34] local.INFO: Extracted packet for processing {"connection_id":177760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:16:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":177760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:16:34] local.INFO: GPS data processed {"connection_id":177760,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:16:34] local.INFO: Acknowledgment sent {"connection_id":177760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:16:37] local.INFO: TCP Data received {"connection_id":176585,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:37] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:16:37] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:16:38] local.INFO: TCP Data received {"connection_id":176585,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab219f8012d196840071fede8003f011d25..."} 
[2026-09-10 15:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab219f8012d196840071fede8003f011d25..."} 
[2026-09-10 15:16:38] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab219f8012d196840071fede8003f011d25..."} 
[2026-09-10 15:16:38] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab2"} 
[2026-09-10 15:16:38] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab2"} 
[2026-09-10 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992525312001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16: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-09-10 15:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789033323000,"timestamp_ms":1789033323000,"timestamp_seconds":1789033323,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab219f8"} 
[2026-09-10 15:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:16: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-09-10 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:16: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-09-10 15:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992525312001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992525312001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:16:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992525312001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:16:38] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:16:38] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:16:42] local.INFO: TCP Data received {"connection_id":176585,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab26c00012d196840071fede8003f011d26..."} 
[2026-09-10 15:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab26c00012d196840071fede8003f011d26..."} 
[2026-09-10 15:16:42] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab26c00012d196840071fede8003f011d26..."} 
[2026-09-10 15:16:42] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab2"} 
[2026-09-10 15:16:42] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab2"} 
[2026-09-10 15:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992530688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:16: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-09-10 15:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789033344000,"timestamp_ms":1789033344000,"timestamp_seconds":1789033344,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab26c00"} 
[2026-09-10 15:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:16: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-09-10 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992530688001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992530688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:16:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992530688001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:16:42] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:16:42] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:17:11] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab579400100000000000000000000000000..."} 
[2026-09-10 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab579400100000000000000000000000000..."} 
[2026-09-10 15:17:11] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab579400100000000000000000000000000..."} 
[2026-09-10 15:17:11] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:11] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789033544000,"timestamp_ms":1789033544000,"timestamp_seconds":1789033544,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab57940"} 
[2026-09-10 15:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:17: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3431707731684229120,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636704924390853,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1438974158,"corrected_to":0} 
[2026-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684420096,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3891335477931855360,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:11] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,110,87,24,241,157,16,96,160,213,10,66,197,131,173,1,240,40,227,4,113,205,9,239,2,53,208,46],"length":577,"final_offset":707,"validated_count":28,"validation_warnings":[{"io_id":205,"original":1438974158,"validated":0}]} 
[2026-09-10 15:17:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:17:11] local.INFO: GPS data processed {"connection_id":179132,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:17:11] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:17:19] local.INFO: TCP Data received {"connection_id":179136,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:17:19] local.INFO: Processing buffer {"connection_id":179136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:17:19] local.INFO: IMEI packet received {"connection_id":179136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":179136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:17:24] local.INFO: TCP Data received {"connection_id":179136,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:17:24] local.INFO: Processing buffer {"connection_id":179136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:17:24] local.INFO: IMEI packet received {"connection_id":179136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":179136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:17:25] local.INFO: TCP Data received {"connection_id":179136,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:17:25] local.INFO: Processing buffer {"connection_id":179136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:17:25] local.INFO: Packet analysis {"connection_id":179136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:25] local.INFO: Extracted packet for processing {"connection_id":179136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:17:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":179136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:17:25] local.INFO: GPS data processed {"connection_id":179136,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:17:25] local.INFO: Acknowledgment sent {"connection_id":179136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:17:27] local.INFO: TCP Data received {"connection_id":176345,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:17:27] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:17:27] local.INFO: IMEI packet received {"connection_id":176345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":176345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:17:32] local.INFO: TCP Data received {"connection_id":176345,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:17:32] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:17:32] local.INFO: IMEI packet received {"connection_id":176345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":176345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:17:34] local.INFO: TCP Data received {"connection_id":176345,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab2be08012d196840071fede8003f011d24..."} 
[2026-09-10 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab2be08012d196840071fede8003f011d24..."} 
[2026-09-10 15:17:34] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab2be08012d196840071fede8003f011d24..."} 
[2026-09-10 15:17:34] local.INFO: Packet analysis {"connection_id":176345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab2"} 
[2026-09-10 15:17:34] local.INFO: Extracted packet for processing {"connection_id":176345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab2"} 
[2026-09-10 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992536064001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789033365000,"timestamp_ms":1789033365000,"timestamp_seconds":1789033365,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab2be08"} 
[2026-09-10 15:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992536064001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992536064001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:17:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:17:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992536064001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":176345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:17:34] local.INFO: GPS data processed {"connection_id":176345,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:17:34] local.INFO: Acknowledgment sent {"connection_id":176345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:17:44] local.INFO: TCP Data received {"connection_id":179132,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab5b7c0012d7c6c0005ec34b00022010c04..."} 
[2026-09-10 15:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab5b7c0012d7c6c0005ec34b00022010c04..."} 
[2026-09-10 15:17:44] local.INFO: Processing buffer {"connection_id":179132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab5b7c0012d7c6c0005ec34b00022010c04..."} 
[2026-09-10 15:17:44] local.INFO: Packet analysis {"connection_id":179132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:44] local.INFO: Extracted packet for processing {"connection_id":179132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763128832,"raw_latitude":99366064,"longitude_deg":76.3128832,"latitude_deg":9.9366064,"altitude":34,"angle":268,"satellites":4,"speed":25,"hex_longitude":"2d7c6c00","hex_latitude":"05ec34b0","is_valid_coordinates":true} 
[2026-09-10 15:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710079748964352,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789033560000,"timestamp_ms":1789033560000,"timestamp_seconds":1789033560,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab5b7c0"} 
[2026-09-10 15:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:17:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 15:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13906,"110":206,"87":13824,"24":25,"16":130710079748964352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16]} 
[2026-09-10 15:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 15:17:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 15:17:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710079748964352,"km_value":130710079748964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:17:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13906,"unknown_110":206,"unknown_87":13824,"ignition":25,"odometer":null}} 
[2026-09-10 15:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":179132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:17:44] local.INFO: GPS data processed {"connection_id":179132,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:17:44] local.INFO: Acknowledgment sent {"connection_id":179132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:17:56] local.INFO: TCP Data received {"connection_id":179136,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:17:56] local.INFO: Processing buffer {"connection_id":179136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:17:56] local.INFO: Packet analysis {"connection_id":179136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:56] local.INFO: Extracted packet for processing {"connection_id":179136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:17:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:17:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":179136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:17:56] local.INFO: GPS data processed {"connection_id":179136,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:17:56] local.INFO: Acknowledgment sent {"connection_id":179136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:05] local.INFO: TCP Data received {"connection_id":176345,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab64460012d196840071fede8003f011d25..."} 
[2026-09-10 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab64460012d196840071fede8003f011d25..."} 
[2026-09-10 15:18:05] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab64460012d196840071fede8003f011d25..."} 
[2026-09-10 15:18:05] local.INFO: Packet analysis {"connection_id":176345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:05] local.INFO: Extracted packet for processing {"connection_id":176345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992595200001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18: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-09-10 15:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789033596000,"timestamp_ms":1789033596000,"timestamp_seconds":1789033596,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab64460"} 
[2026-09-10 15:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:18: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-09-10 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 15:18: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-09-10 15:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992595200001,"66":12298,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992595200001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992595200001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":176345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:05] local.INFO: GPS data processed {"connection_id":176345,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:05] local.INFO: Acknowledgment sent {"connection_id":176345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:13] local.INFO: TCP Data received {"connection_id":177761,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:18:13] local.INFO: Processing buffer {"connection_id":177761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:18:13] local.INFO: IMEI packet received {"connection_id":177761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":177761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:18:16] local.INFO: TCP Data received {"connection_id":177761,"ip":"42.106.6.53","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177761,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 15:18:16] local.INFO: Processing buffer {"connection_id":177761,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 15:18:16] local.INFO: IMEI packet received {"connection_id":177761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":177761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:18:18] local.INFO: TCP Data received {"connection_id":177761,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab5c760012d7c61c005ec34180014010c07..."} 
[2026-09-10 15:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab5c760012d7c61c005ec34180014010c07..."} 
[2026-09-10 15:18:18] local.INFO: Processing buffer {"connection_id":177761,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a08a..."} 
[2026-09-10 15:18:18] local.INFO: IMEI packet received {"connection_id":177761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":177761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:18:19] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:18:19] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:18:19] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:18:20] local.INFO: TCP Data received {"connection_id":177761,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab5f640012d7c3e0005ec33900013010c0a..."} 
[2026-09-10 15:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab5f640012d7c3e0005ec33900013010c0a..."} 
[2026-09-10 15:18:20] local.INFO: Processing buffer {"connection_id":177761,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08ab5c760012d7c61c005ec34180014010c07..."} 
[2026-09-10 15:18:20] local.INFO: Packet analysis {"connection_id":177761,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:20] local.INFO: Extracted packet for processing {"connection_id":177761,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763126208,"raw_latitude":99365912,"longitude_deg":76.3126208,"latitude_deg":9.9365912,"altitude":20,"angle":268,"satellites":7,"speed":27,"hex_longitude":"2d7c61c0","hex_latitude":"05ec3418","is_valid_coordinates":true} 
[2026-09-10 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992591360001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710200008048640,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965540983625527296,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18: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-09-10 15:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789033564000,"timestamp_ms":1789033564000,"timestamp_seconds":1789033564,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab5c760"} 
[2026-09-10 15:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 15:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992591360001,"66":13613,"110":206,"87":13824,"24":27,"16":130710200008048640,"45":8965540983625527296},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992591360001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710200008048640,"km_value":130710200008048.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965540983625527296,"description":"Unknown IO ID 45"} 
[2026-09-10 15:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992591360001,"power":13613,"unknown_110":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8965540983625527296}} 
[2026-09-10 15:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":177761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:20] local.INFO: GPS data processed {"connection_id":177761,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:20] local.INFO: Acknowledgment sent {"connection_id":177761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:20] local.INFO: Packet analysis {"connection_id":177761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:20] local.INFO: Extracted packet for processing {"connection_id":177761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99365776,"longitude_deg":76.3117056,"latitude_deg":9.9365776,"altitude":19,"angle":268,"satellites":10,"speed":30,"hex_longitude":"2d7c3e00","hex_latitude":"05ec3390","is_valid_coordinates":true} 
[2026-09-10 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992592384001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130710638094712832,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962655865114204160,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789033576000,"timestamp_ms":1789033576000,"timestamp_seconds":1789033576,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab5f640"} 
[2026-09-10 15:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-10 15:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992592384001,"66":13765,"198":206,"87":13824,"24":30,"16":130710638094712832,"45":8962655865114204160},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992592384001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130710638094712832,"km_value":130710638094712.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962655865114204160,"description":"Unknown IO ID 45"} 
[2026-09-10 15:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992592384001,"power":13765,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8962655865114204160}} 
[2026-09-10 15:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":177761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:20] local.INFO: GPS data processed {"connection_id":177761,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:20] local.INFO: Acknowledgment sent {"connection_id":177761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:22] local.INFO: TCP Data received {"connection_id":177761,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab62520012d7c180005ec32280013010c0c..."} 
[2026-09-10 15:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab62520012d7c180005ec32280013010c0c..."} 
[2026-09-10 15:18:22] local.INFO: Processing buffer {"connection_id":177761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab62520012d7c180005ec32280013010c0c..."} 
[2026-09-10 15:18:22] local.INFO: Packet analysis {"connection_id":177761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:22] local.INFO: Extracted packet for processing {"connection_id":177761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763107328,"raw_latitude":99365416,"longitude_deg":76.3107328,"latitude_deg":9.9365416,"altitude":19,"angle":268,"satellites":12,"speed":32,"hex_longitude":"2d7c1800","hex_latitude":"05ec3228","is_valid_coordinates":true} 
[2026-09-10 15:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992595456001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130711106246148096,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134696763392,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789033588000,"timestamp_ms":1789033588000,"timestamp_seconds":1789033588,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab62520"} 
[2026-09-10 15:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 15:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992595456001,"66":13559,"198":206,"87":13824,"24":32,"16":130711106246148096,"45":8952593134696763392},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992595456001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:22] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:18:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130711106246148096,"km_value":130711106246148.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134696763392,"description":"Unknown IO ID 45"} 
[2026-09-10 15:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992595456001,"power":13559,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8952593134696763392}} 
[2026-09-10 15:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":177761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:22] local.INFO: GPS data processed {"connection_id":177761,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:22] local.INFO: Acknowledgment sent {"connection_id":177761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:24] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:18:24] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:18:24] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:18:25] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:18:25] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:18:25] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:25] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 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-09-10 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:25] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:25] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:27] local.INFO: TCP Data received {"connection_id":176588,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:18:27] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:18:27] local.INFO: IMEI packet received {"connection_id":176588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":176588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:18:30] local.INFO: TCP Data received {"connection_id":176587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:18:30] local.INFO: Processing buffer {"connection_id":176587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:18:30] local.INFO: IMEI packet received {"connection_id":176587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":176587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:18:32] local.INFO: TCP Data received {"connection_id":176588,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:18:32] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:18:32] local.INFO: IMEI packet received {"connection_id":176588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":176588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:18:35] local.INFO: TCP Data received {"connection_id":176588,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab69668012d196840071fede8003f011d25..."} 
[2026-09-10 15:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab69668012d196840071fede8003f011d25..."} 
[2026-09-10 15:18:35] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab69668012d196840071fede8003f011d25..."} 
[2026-09-10 15:18:35] local.INFO: Packet analysis {"connection_id":176588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:35] local.INFO: Extracted packet for processing {"connection_id":176588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992600576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18: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-09-10 15:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789033617000,"timestamp_ms":1789033617000,"timestamp_seconds":1789033617,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab69668"} 
[2026-09-10 15:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":114,"raw_value":864691128455135233,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8452123831779387032,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390463235850525,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":63,"raw_value":80257751757881344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3036430337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 15:18:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,114,160,242,45,64,237,63,36,10,66,78,1,240,97,138,31,4,113,205,170,104,232,35,239,48,2,68,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 15:18:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941944117166080,"timestamp_seconds":4539941944117166.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992600576001,"66":11254,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992600576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992600576001,"power":11254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":176588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:35] local.INFO: GPS data processed {"connection_id":176588,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:35] local.INFO: Acknowledgment sent {"connection_id":176588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:54] local.INFO: TCP Data received {"connection_id":177761,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab65bd0012d7bf30005ec2f98001201060d..."} 
[2026-09-10 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab65bd0012d7bf30005ec2f98001201060d..."} 
[2026-09-10 15:18:54] local.INFO: Processing buffer {"connection_id":177761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab65bd0012d7bf30005ec2f98001201060d..."} 
[2026-09-10 15:18:54] local.INFO: Packet analysis {"connection_id":177761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:54] local.INFO: Extracted packet for processing {"connection_id":177761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763097856,"raw_latitude":99364760,"longitude_deg":76.3097856,"latitude_deg":9.936476,"altitude":18,"angle":262,"satellites":13,"speed":25,"hex_longitude":"2d7bf300","hex_latitude":"05ec2f98","is_valid_coordinates":true} 
[2026-09-10 15:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992598528001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130711557217714176,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941897085581666304,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18: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-09-10 15:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789033602000,"timestamp_ms":1789033602000,"timestamp_seconds":1789033602,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab65bd0"} 
[2026-09-10 15:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:18:54] 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-09-10 15:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 15:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992598528001,"66":13820,"198":206,"87":13824,"24":25,"16":130711557217714176,"45":8941897085581666304},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992598528001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:18:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130711557217714176,"km_value":130711557217714.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941897085581666304,"description":"Unknown IO ID 45"} 
[2026-09-10 15:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992598528001,"power":13820,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8941897085581666304}} 
[2026-09-10 15:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":177761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:54] local.INFO: GPS data processed {"connection_id":177761,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:54] local.INFO: Acknowledgment sent {"connection_id":177761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:18:56] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:18:56] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:18:56] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:56] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:18:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:18:56] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:18:56] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:19:07] local.INFO: TCP Data received {"connection_id":176588,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab6e870012d196840071fede8003f011d24..."} 
[2026-09-10 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab6e870012d196840071fede8003f011d24..."} 
[2026-09-10 15:19:07] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab6e870012d196840071fede8003f011d24..."} 
[2026-09-10 15:19:07] local.INFO: Packet analysis {"connection_id":176588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:19:07] local.INFO: Extracted packet for processing {"connection_id":176588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992605952001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19: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-09-10 15:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789033638000,"timestamp_ms":1789033638000,"timestamp_seconds":1789033638,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab6e870"} 
[2026-09-10 15:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 15:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992605952001,"66":12287,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992605952001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992605952001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":176588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:19:07] local.INFO: GPS data processed {"connection_id":176588,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:19:07] local.INFO: Acknowledgment sent {"connection_id":176588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:19:19] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:19:19] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:19:19] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:19:24] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:19:24] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:19:24] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:19:25] local.INFO: TCP Data received {"connection_id":177761,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab69280012d7bcec005ec27b8001300fe0d..."} 
[2026-09-10 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab69280012d7bcec005ec27b8001300fe0d..."} 
[2026-09-10 15:19:25] local.INFO: Processing buffer {"connection_id":177761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab69280012d7bcec005ec27b8001300fe0d..."} 
[2026-09-10 15:19:25] local.INFO: Packet analysis {"connection_id":177761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:19:25] local.INFO: Extracted packet for processing {"connection_id":177761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763088576,"raw_latitude":99362744,"longitude_deg":76.3088576,"latitude_deg":9.9362744,"altitude":19,"angle":254,"satellites":13,"speed":30,"hex_longitude":"2d7bcec0","hex_latitude":"05ec27b8","is_valid_coordinates":true} 
[2026-09-10 15:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992602112001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130712012484247552,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931482511443204096,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19: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-09-10 15:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033616000,"timestamp_ms":1789033616000,"timestamp_seconds":1789033616,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab69280"} 
[2026-09-10 15:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 15:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992602112001,"66":13798,"198":206,"87":13824,"24":30,"16":130712012484247552,"45":8931482511443204096},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992602112001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130712012484247552,"km_value":130712012484247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931482511443204096,"description":"Unknown IO ID 45"} 
[2026-09-10 15:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992602112001,"power":13798,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8931482511443204096}} 
[2026-09-10 15:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":177761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:19:25] local.INFO: GPS data processed {"connection_id":177761,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:19:25] local.INFO: Acknowledgment sent {"connection_id":177761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:19:25] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:19:25] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:19:25] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:19:25] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:19:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:19:25] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:19:25] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:19:27] local.INFO: TCP Data received {"connection_id":179137,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:19:27] local.INFO: Processing buffer {"connection_id":179137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:19:27] local.INFO: IMEI packet received {"connection_id":179137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":179137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:19:32] local.INFO: TCP Data received {"connection_id":179137,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:19:32] local.INFO: Processing buffer {"connection_id":179137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:19:32] local.INFO: IMEI packet received {"connection_id":179137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":179137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:19:33] local.INFO: TCP Data received {"connection_id":179137,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab73a78012d196840071fede8003f011d24..."} 
[2026-09-10 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab73a78012d196840071fede8003f011d24..."} 
[2026-09-10 15:19:33] local.INFO: Processing buffer {"connection_id":179137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab73a78012d196840071fede8003f011d24..."} 
[2026-09-10 15:19:33] local.INFO: Packet analysis {"connection_id":179137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:19:33] local.INFO: Extracted packet for processing {"connection_id":179137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992611328001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033659000,"timestamp_ms":1789033659000,"timestamp_seconds":1789033659,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab73a78"} 
[2026-09-10 15:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 15:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992611328001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992611328001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:19:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992611328001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":179137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:19:33] local.INFO: GPS data processed {"connection_id":179137,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:19:33] local.INFO: Acknowledgment sent {"connection_id":179137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:19:57] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:19:57] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:19:57] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:19:57] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:19:57] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:19:57] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:19:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:19:57] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:19:57] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:19:58] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:19:58] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:19:58] local.INFO: IMEI packet received {"connection_id":177762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":177762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:20:02] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:20:02] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:20:02] local.INFO: IMEI packet received {"connection_id":177762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":177762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:20:03] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab6bd78012d7bad0005ec1da0001200fc0f..."} 
[2026-09-10 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab6bd78012d7bad0005ec1da0001200fc0f..."} 
[2026-09-10 15:20:03] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab6bd78012d7bad0005ec1da0001200fc0f..."} 
[2026-09-10 15:20:03] local.INFO: Packet analysis {"connection_id":177762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:20:03] local.INFO: Extracted packet for processing {"connection_id":177762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763079936,"raw_latitude":99360160,"longitude_deg":76.3079936,"latitude_deg":9.936016,"altitude":18,"angle":252,"satellites":15,"speed":32,"hex_longitude":"2d7bad00","hex_latitude":"05ec1da0","is_valid_coordinates":true} 
[2026-09-10 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992605696001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130712441980977152,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921279043536926720,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20: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-09-10 15:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789033627000,"timestamp_ms":1789033627000,"timestamp_seconds":1789033627,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab6bd78"} 
[2026-09-10 15:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:20:03] 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-09-10 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 15:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992605696001,"66":13798,"198":206,"87":13824,"24":32,"16":130712441980977152,"45":8921279043536926720},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992605696001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:20:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130712441980977152,"km_value":130712441980977.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921279043536926720,"description":"Unknown IO ID 45"} 
[2026-09-10 15:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992605696001,"power":13798,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8921279043536926720}} 
[2026-09-10 15:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":177762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:20:03] local.INFO: GPS data processed {"connection_id":177762,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:20:03] local.INFO: Acknowledgment sent {"connection_id":177762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:20:08] local.INFO: TCP Data received {"connection_id":179137,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab78c80012d196840071fede8003f011d26..."} 
[2026-09-10 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab78c80012d196840071fede8003f011d26..."} 
[2026-09-10 15:20:08] local.INFO: Processing buffer {"connection_id":179137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab78c80012d196840071fede8003f011d26..."} 
[2026-09-10 15:20:08] local.INFO: Packet analysis {"connection_id":179137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:20:08] local.INFO: Extracted packet for processing {"connection_id":179137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992616704001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20: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-09-10 15:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789033680000,"timestamp_ms":1789033680000,"timestamp_seconds":1789033680,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab78c80"} 
[2026-09-10 15:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:20: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-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:20: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-09-10 15:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992616704001,"66":11678,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992616704001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:20:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992616704001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":179137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:20:08] local.INFO: GPS data processed {"connection_id":179137,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:20:08] local.INFO: Acknowledgment sent {"connection_id":179137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:20:19] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:20:19] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:20:19] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:20:24] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:20:24] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:20:24] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:20:25] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:20:25] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:20:25] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:20:25] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:20:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:20:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:20:25] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:20:25] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:20:32] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:20:32] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:20:32] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:20:35] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab6e870012d7b8ac005ec13f0001400fc0f..."} 
[2026-09-10 15:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab6e870012d7b8ac005ec13f0001400fc0f..."} 
[2026-09-10 15:20:35] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab6e870012d7b8ac005ec13f0001400fc0f..."} 
[2026-09-10 15:20:35] local.INFO: Packet analysis {"connection_id":177762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:20:35] local.INFO: Extracted packet for processing {"connection_id":177762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab6"} 
[2026-09-10 15:20:35] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":99357680,"longitude_deg":76.3071168,"latitude_deg":9.935768,"altitude":20,"angle":252,"satellites":15,"speed":31,"hex_longitude":"2d7b8ac0","hex_latitude":"05ec13f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992608512001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130712880067641344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911779263072280576,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789033638000,"timestamp_ms":1789033638000,"timestamp_seconds":1789033638,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab6e870"} 
[2026-09-10 15:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-10 15:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992608512001,"66":13906,"198":206,"87":13824,"24":31,"16":130712880067641344,"45":8911779263072280576},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992608512001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:20:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:20:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130712880067641344,"km_value":130712880067641.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911779263072280576,"description":"Unknown IO ID 45"} 
[2026-09-10 15:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992608512001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8911779263072280576}} 
[2026-09-10 15:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":177762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:20:35] local.INFO: GPS data processed {"connection_id":177762,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:20:35] local.INFO: Acknowledgment sent {"connection_id":177762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:20:37] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:20:37] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:20:37] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:20:38] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab7de88012d196840071fede8003f011d23..."} 
[2026-09-10 15:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab7de88012d196840071fede8003f011d23..."} 
[2026-09-10 15:20:38] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab7de88012d196840071fede8003f011d23..."} 
[2026-09-10 15:20:38] local.INFO: Packet analysis {"connection_id":176590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:20:38] local.INFO: Extracted packet for processing {"connection_id":176590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992622080001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20: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-09-10 15:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789033701000,"timestamp_ms":1789033701000,"timestamp_seconds":1789033701,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab7de88"} 
[2026-09-10 15:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 15:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992622080001,"66":12178,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992622080001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:20:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992622080001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":176590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:20:38] local.INFO: GPS data processed {"connection_id":176590,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:20:38] local.INFO: Acknowledgment sent {"connection_id":176590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:20:43] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab83090012d196840071fede8003f011d25..."} 
[2026-09-10 15:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab83090012d196840071fede8003f011d25..."} 
[2026-09-10 15:20:43] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab83090012d196840071fede8003f011d25..."} 
[2026-09-10 15:20:43] local.INFO: Packet analysis {"connection_id":176590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab8"} 
[2026-09-10 15:20:43] local.INFO: Extracted packet for processing {"connection_id":176590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab8"} 
[2026-09-10 15:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992627456001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20: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-09-10 15:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789033722000,"timestamp_ms":1789033722000,"timestamp_seconds":1789033722,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab83090"} 
[2026-09-10 15:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 15:20:43] 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-09-10 15:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992627456001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992627456001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:20:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992627456001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":176590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:20:43] local.INFO: GPS data processed {"connection_id":176590,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:20:43] local.INFO: Acknowledgment sent {"connection_id":176590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:20:56] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:20:56] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab52350012cc33340076855f0005b015f28..."} 
[2026-09-10 15:20:56] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:20:56] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab5"} 
[2026-09-10 15:20:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992504576001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033522000,"timestamp_ms":1789033522000,"timestamp_seconds":1789033522,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab52350"} 
[2026-09-10 15:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 15:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992504576001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992504576001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:20:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992504576001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:20:56] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:20:56] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:20:59] local.INFO: TCP Data received {"connection_id":179138,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:20:59] local.INFO: Processing buffer {"connection_id":179138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:20:59] local.INFO: IMEI packet received {"connection_id":179138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":179138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:21:03] local.INFO: TCP Data received {"connection_id":179138,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:21:03] local.INFO: Processing buffer {"connection_id":179138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:21:03] local.INFO: IMEI packet received {"connection_id":179138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":179138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:21:05] local.INFO: TCP Data received {"connection_id":179138,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab73690012d7b6bc005ec0ae0001300f812..."} 
[2026-09-10 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab73690012d7b6bc005ec0ae0001300f812..."} 
[2026-09-10 15:21:05] local.INFO: Processing buffer {"connection_id":179138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab73690012d7b6bc005ec0ae0001300f812..."} 
[2026-09-10 15:21:05] local.INFO: Packet analysis {"connection_id":179138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:21:05] local.INFO: Extracted packet for processing {"connection_id":179138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763063232,"raw_latitude":99355360,"longitude_deg":76.3063232,"latitude_deg":9.935536,"altitude":19,"angle":248,"satellites":18,"speed":0,"hex_longitude":"2d7b6bc0","hex_latitude":"05ec0ae0","is_valid_coordinates":true} 
[2026-09-10 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992611328001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130713275204632576,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745119305728,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789033658000,"timestamp_ms":1789033658000,"timestamp_seconds":1789033658,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab73690"} 
[2026-09-10 15:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 15:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992611328001,"66":13906,"198":206,"87":13824,"24":0,"16":130713275204632576,"45":8902138745119305728},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992611328001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:21:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:21:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130713275204632576,"km_value":130713275204632.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745119305728,"description":"Unknown IO ID 45"} 
[2026-09-10 15:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992611328001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8902138745119305728}} 
[2026-09-10 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":179138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:21:05] local.INFO: GPS data processed {"connection_id":179138,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:21:05] local.INFO: Acknowledgment sent {"connection_id":179138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:21:24] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:21:24] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:21:24] local.INFO: IMEI packet received {"connection_id":176348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":176348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:21:27] local.INFO: TCP Data received {"connection_id":176349,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:27] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:27] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:21:27] local.INFO: TCP Data received {"connection_id":176349,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:27] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:27] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:21:29] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:21:29] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:21:29] local.INFO: IMEI packet received {"connection_id":176348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":176348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:21:30] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:21:30] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:21:30] local.INFO: Packet analysis {"connection_id":176348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:21:30] local.INFO: Extracted packet for processing {"connection_id":176348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:21:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":176348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:21:30] local.INFO: GPS data processed {"connection_id":176348,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:21:30] local.INFO: Acknowledgment sent {"connection_id":176348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:21:32] local.INFO: TCP Data received {"connection_id":176349,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:32] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:21:32] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:21:33] local.INFO: TCP Data received {"connection_id":176349,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab88298012d196840071fede8003f011d24..."} 
[2026-09-10 15:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab88298012d196840071fede8003f011d24..."} 
[2026-09-10 15:21:33] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab88298012d196840071fede8003f011d24..."} 
[2026-09-10 15:21:33] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab8"} 
[2026-09-10 15:21:33] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab8"} 
[2026-09-10 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992632832001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033743000,"timestamp_ms":1789033743000,"timestamp_seconds":1789033743,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab88298"} 
[2026-09-10 15:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992632832001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992632832001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:21:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992632832001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:21:33] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:21:33] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:21:34] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:21:34] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:21:34] local.INFO: Packet analysis {"connection_id":176348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:21:34] local.INFO: Extracted packet for processing {"connection_id":176348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:21: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-09-10 15:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:21:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:21:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":176348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:21:34] local.INFO: GPS data processed {"connection_id":176348,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:21:34] local.INFO: Acknowledgment sent {"connection_id":176348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:21:36] local.INFO: TCP Data received {"connection_id":179138,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab78898012d7b644005ec0840001200f914..."} 
[2026-09-10 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab78898012d7b644005ec0840001200f914..."} 
[2026-09-10 15:21:36] local.INFO: Processing buffer {"connection_id":179138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab78898012d7b644005ec0840001200f914..."} 
[2026-09-10 15:21:36] local.INFO: Packet analysis {"connection_id":179138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:21:36] local.INFO: Extracted packet for processing {"connection_id":179138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763061312,"raw_latitude":99354688,"longitude_deg":76.3061312,"latitude_deg":9.9354688,"altitude":18,"angle":249,"satellites":20,"speed":5,"hex_longitude":"2d7b6440","hex_latitude":"05ec0840","is_valid_coordinates":true} 
[2026-09-10 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992616448001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130713373988880384,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893413020840681472,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789033679000,"timestamp_ms":1789033679000,"timestamp_seconds":1789033679,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab78898"} 
[2026-09-10 15:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 15:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992616448001,"66":13820,"198":206,"87":13824,"24":5,"16":130713373988880384,"45":8893413020840681472},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 15:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992616448001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:21:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 15:21:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130713373988880384,"km_value":130713373988880.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893413020840681472,"description":"Unknown IO ID 45"} 
[2026-09-10 15:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992616448001,"power":13820,"unknown_198":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8893413020840681472}} 
[2026-09-10 15:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":179138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:21:36] local.INFO: GPS data processed {"connection_id":179138,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:21:36] local.INFO: Acknowledgment sent {"connection_id":179138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:21:38] local.INFO: TCP Data received {"connection_id":176349,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab8d4a0012d196840071fede8003f011d25..."} 
[2026-09-10 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab8d4a0012d196840071fede8003f011d25..."} 
[2026-09-10 15:21:38] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab8d4a0012d196840071fede8003f011d25..."} 
[2026-09-10 15:21:38] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab8"} 
[2026-09-10 15:21:38] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab8"} 
[2026-09-10 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992638208001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789033764000,"timestamp_ms":1789033764000,"timestamp_seconds":1789033764,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab8d4a0"} 
[2026-09-10 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-09-10 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:21: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-09-10 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-09-10 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-09-10 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992638208001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992638208001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992638208001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:21:38] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:21:38] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:03] local.INFO: TCP Data received {"connection_id":177763,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:03] local.INFO: Processing buffer {"connection_id":177763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:03] local.INFO: IMEI packet received {"connection_id":177763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":177763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:22:08] local.INFO: TCP Data received {"connection_id":177763,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:08] local.INFO: Processing buffer {"connection_id":177763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:08] local.INFO: IMEI packet received {"connection_id":177763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":177763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:22:09] local.INFO: TCP Data received {"connection_id":177763,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab7daa0012d7b610005ec06e8001200f615..."} 
[2026-09-10 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab7daa0012d7b610005ec06e8001200f615..."} 
[2026-09-10 15:22:09] local.INFO: Processing buffer {"connection_id":177763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab7daa0012d7b610005ec06e8001200f615..."} 
[2026-09-10 15:22:09] local.INFO: Packet analysis {"connection_id":177763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:22:09] local.INFO: Extracted packet for processing {"connection_id":177763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab7"} 
[2026-09-10 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763060480,"raw_latitude":99354344,"longitude_deg":76.306048,"latitude_deg":9.9354344,"altitude":18,"angle":246,"satellites":21,"speed":0,"hex_longitude":"2d7b6100","hex_latitude":"05ec06e8","is_valid_coordinates":true} 
[2026-09-10 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992621824001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130713425528487936,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891301958515179520,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789033700000,"timestamp_ms":1789033700000,"timestamp_seconds":1789033700,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab7daa0"} 
[2026-09-10 15:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 15:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992621824001,"66":13765,"10":206,"87":13824,"24":0,"16":130713425528487936,"45":8891301958515179520},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992621824001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130713425528487936,"km_value":130713425528487.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891301958515179520,"description":"Unknown IO ID 45"} 
[2026-09-10 15:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992621824001,"power":13765,"unknown_10":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8891301958515179520}} 
[2026-09-10 15:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":177763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:22:09] local.INFO: GPS data processed {"connection_id":177763,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:22:09] local.INFO: Acknowledgment sent {"connection_id":177763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:09] local.INFO: TCP Data received {"connection_id":176349,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab926a8012d196840071fede8003f011d26..."} 
[2026-09-10 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab926a8012d196840071fede8003f011d26..."} 
[2026-09-10 15:22:09] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab926a8012d196840071fede8003f011d26..."} 
[2026-09-10 15:22:09] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:09] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992643584001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22: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-09-10 15:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789033785000,"timestamp_ms":1789033785000,"timestamp_seconds":1789033785,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab926a8"} 
[2026-09-10 15:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992643584001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992643584001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992643584001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:22:10] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:22:10] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:19] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:22:19] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:22:19] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:22:24] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:22:24] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:22:24] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:22:25] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:22:25] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:22:25] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:25] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:22:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:22:25] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:22:25] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:27] local.INFO: TCP Data received {"connection_id":177764,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:27] local.INFO: Processing buffer {"connection_id":177764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:27] local.INFO: IMEI packet received {"connection_id":177764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":177764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:22:29] local.INFO: TCP Data received {"connection_id":177764,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:29] local.INFO: Processing buffer {"connection_id":177764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:29] local.INFO: IMEI packet received {"connection_id":177764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":177764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:22:32] local.INFO: TCP Data received {"connection_id":177764,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:32] local.INFO: Processing buffer {"connection_id":177764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:22:32] local.INFO: IMEI packet received {"connection_id":177764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":177764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:22:33] local.INFO: TCP Data received {"connection_id":177764,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab978b0012d196840071fede8003f011d25..."} 
[2026-09-10 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab978b0012d196840071fede8003f011d25..."} 
[2026-09-10 15:22:33] local.INFO: Processing buffer {"connection_id":177764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab978b0012d196840071fede8003f011d25..."} 
[2026-09-10 15:22:33] local.INFO: Packet analysis {"connection_id":177764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:33] local.INFO: Extracted packet for processing {"connection_id":177764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992648960001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033806000,"timestamp_ms":1789033806000,"timestamp_seconds":1789033806,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab978b0"} 
[2026-09-10 15:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992648960001,"66":12319,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992648960001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:22:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:22:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992648960001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":177764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:22:33] local.INFO: GPS data processed {"connection_id":177764,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:22:33] local.INFO: Acknowledgment sent {"connection_id":177764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:38] local.INFO: TCP Data received {"connection_id":177764,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9cab8012d196840071fede8003f011d26..."} 
[2026-09-10 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9cab8012d196840071fede8003f011d26..."} 
[2026-09-10 15:22:38] local.INFO: Processing buffer {"connection_id":177764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9cab8012d196840071fede8003f011d26..."} 
[2026-09-10 15:22:38] local.INFO: Packet analysis {"connection_id":177764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:38] local.INFO: Extracted packet for processing {"connection_id":177764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992654336001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 15:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789033827000,"timestamp_ms":1789033827000,"timestamp_seconds":1789033827,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9cab8"} 
[2026-09-10 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-09-10 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 15:22:38] 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-09-10 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-09-10 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-09-10 15:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992654336001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992654336001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992654336001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":177764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:22:38] local.INFO: GPS data processed {"connection_id":177764,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:22:38] local.INFO: Acknowledgment sent {"connection_id":177764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:40] local.INFO: TCP Data received {"connection_id":177763,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abafb68012d7aaa4005ebb0f0000c00fa20..."} 
[2026-09-10 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abafb68012d7aaa4005ebb0f0000c00fa20..."} 
[2026-09-10 15:22:40] local.INFO: Processing buffer {"connection_id":177763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abafb68012d7aaa4005ebb0f0000c00fa20..."} 
[2026-09-10 15:22:40] local.INFO: Packet analysis {"connection_id":177763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:22:40] local.INFO: Extracted packet for processing {"connection_id":177763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763013696,"raw_latitude":99332336,"longitude_deg":76.3013696,"latitude_deg":9.9332336,"altitude":12,"angle":250,"satellites":32,"speed":2,"hex_longitude":"2d7aaa40","hex_latitude":"05ebb0f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992674304001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130715908019585024,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839088350329632768,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789033905000,"timestamp_ms":1789033905000,"timestamp_seconds":1789033905,"priority":1,"record_length":96,"hex_timestamp":"000001a08abafb68"} 
[2026-09-10 15:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 15:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992674304001,"66":13830,"98":206,"87":13824,"24":2,"16":130715908019585024,"45":8839088350329632768},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-10 15:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992674304001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:22:40] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 15:22:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130715908019585024,"km_value":130715908019585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839088350329632768,"description":"Unknown IO ID 45"} 
[2026-09-10 15:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992674304001,"power":13830,"unknown_98":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8839088350329632768}} 
[2026-09-10 15:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":177763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:22:40] local.INFO: GPS data processed {"connection_id":177763,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:22:40] local.INFO: Acknowledgment sent {"connection_id":177763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:56] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:22:56] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:22:56] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:56] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:22:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:22:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:22:56] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:22:56] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:22:58] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:58] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:58] local.INFO: IMEI packet received {"connection_id":177765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":177765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:22:58] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:58] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:22:58] local.INFO: IMEI packet received {"connection_id":177765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":177765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:23:03] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:03] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:03] local.INFO: IMEI packet received {"connection_id":177765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":177765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:23:03] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abb4d70012d7aa40005ebae58000c00fa20..."} 
[2026-09-10 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abb4d70012d7aa40005ebae58000c00fa20..."} 
[2026-09-10 15:23:03] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abb4d70012d7aa40005ebae58000c00fa20..."} 
[2026-09-10 15:23:03] local.INFO: Packet analysis {"connection_id":177765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:23:03] local.INFO: Extracted packet for processing {"connection_id":177765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763012096,"raw_latitude":99331672,"longitude_deg":76.3012096,"latitude_deg":9.9331672,"altitude":12,"angle":250,"satellites":32,"speed":11,"hex_longitude":"2d7aa400","hex_latitude":"05ebae58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992679680001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130715993918930944,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838947612841275392,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789033926000,"timestamp_ms":1789033926000,"timestamp_seconds":1789033926,"priority":1,"record_length":96,"hex_timestamp":"000001a08abb4d70"} 
[2026-09-10 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-09-10 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1407383489282048,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627122652160,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2327404864,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3116558337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3532128272,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024900,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":4035556747379738091,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-7493969984639991792,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:03] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,98,87,24,241,157,16,101,160,169,45,192,176,13,29,10,66,189,12,30,17,128,1,240,110,227,100,138,235,4,113,205,112,245,224,27,239,52,2,208,5,15,215],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-09-10 15:23:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864966143801163776,"timestamp_seconds":864966143801163.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 15:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992679680001,"66":13852,"98":206,"87":13824,"24":11,"16":130715993918930944,"45":8838947612841275392},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-10 15:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992679680001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:23:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 15:23:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130715993918930944,"km_value":130715993918930.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838947612841275392,"description":"Unknown IO ID 45"} 
[2026-09-10 15:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992679680001,"power":13852,"unknown_98":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8838947612841275392}} 
[2026-09-10 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":177765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:23:03] local.INFO: GPS data processed {"connection_id":177765,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:23:03] local.INFO: Acknowledgment sent {"connection_id":177765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:23:10] local.INFO: TCP Data received {"connection_id":177764,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aba1cc0012d196840071fede8003f011d26..."} 
[2026-09-10 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aba1cc0012d196840071fede8003f011d26..."} 
[2026-09-10 15:23:10] local.INFO: Processing buffer {"connection_id":177764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aba1cc0012d196840071fede8003f011d26..."} 
[2026-09-10 15:23:10] local.INFO: Packet analysis {"connection_id":177764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:23:10] local.INFO: Extracted packet for processing {"connection_id":177764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992659712001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23: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-09-10 15:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789033848000,"timestamp_ms":1789033848000,"timestamp_seconds":1789033848,"priority":1,"record_length":96,"hex_timestamp":"000001a08aba1cc0"} 
[2026-09-10 15:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:23: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-09-10 15:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:23: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-09-10 15:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992659712001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992659712001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:23:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992659712001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":177764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:23:10] local.INFO: GPS data processed {"connection_id":177764,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:23:10] local.INFO: Acknowledgment sent {"connection_id":177764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:23:19] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:23:19] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:23:19] local.INFO: IMEI packet received {"connection_id":176351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":176351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:23:24] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:23:24] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:23:24] local.INFO: IMEI packet received {"connection_id":176351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":176351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:23:25] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:23:25] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:23:25] local.INFO: Packet analysis {"connection_id":176351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:23:25] local.INFO: Extracted packet for processing {"connection_id":176351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:23:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":176351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:23:25] local.INFO: GPS data processed {"connection_id":176351,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:23:25] local.INFO: Acknowledgment sent {"connection_id":176351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:23:28] local.INFO: TCP Data received {"connection_id":176352,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:23:28] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:23:28] local.INFO: IMEI packet received {"connection_id":176352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":176352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:23:32] local.INFO: TCP Data received {"connection_id":176352,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:23:32] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:23:32] local.INFO: IMEI packet received {"connection_id":176352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":176352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:23:33] local.INFO: TCP Data received {"connection_id":176352,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aba6ec8012d196840071fede8003f011d26..."} 
[2026-09-10 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aba6ec8012d196840071fede8003f011d26..."} 
[2026-09-10 15:23:33] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aba6ec8012d196840071fede8003f011d26..."} 
[2026-09-10 15:23:33] local.INFO: Packet analysis {"connection_id":176352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:23:33] local.INFO: Extracted packet for processing {"connection_id":176352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992665088001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033869000,"timestamp_ms":1789033869000,"timestamp_seconds":1789033869,"priority":1,"record_length":96,"hex_timestamp":"000001a08aba6ec8"} 
[2026-09-10 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-09-10 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992665088001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992665088001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:23:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:23:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992665088001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":176352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:23:33] local.INFO: GPS data processed {"connection_id":176352,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:23:33] local.INFO: Acknowledgment sent {"connection_id":176352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:23:34] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abb97a8012d7a830005eba258000a00f81f..."} 
[2026-09-10 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abb97a8012d7a830005eba258000a00f81f..."} 
[2026-09-10 15:23:34] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abb97a8012d7a830005eba258000a00f81f..."} 
[2026-09-10 15:23:34] local.INFO: Packet analysis {"connection_id":177765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:23:34] local.INFO: Extracted packet for processing {"connection_id":177765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763003648,"raw_latitude":99328600,"longitude_deg":76.3003648,"latitude_deg":9.93286,"altitude":10,"angle":248,"satellites":31,"speed":14,"hex_longitude":"2d7a8300","hex_latitude":"05eba258","is_valid_coordinates":true} 
[2026-09-10 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992685056001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130716423415660544,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837188394236663808,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789033945000,"timestamp_ms":1789033945000,"timestamp_seconds":1789033945,"priority":1,"record_length":96,"hex_timestamp":"000001a08abb97a8"} 
[2026-09-10 15:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-10 15:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992685056001,"66":13820,"99":206,"87":13824,"24":14,"16":130716423415660544,"45":8837188394236663808},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992685056001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:23:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:23:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130716423415660544,"km_value":130716423415660.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837188394236663808,"description":"Unknown IO ID 45"} 
[2026-09-10 15:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992685056001,"power":13820,"unknown_99":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8837188394236663808}} 
[2026-09-10 15:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":177765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:23:34] local.INFO: GPS data processed {"connection_id":177765,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:23:34] local.INFO: Acknowledgment sent {"connection_id":177765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:23:56] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:23:56] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:23:56] local.INFO: Packet analysis {"connection_id":176351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:23:56] local.INFO: Extracted packet for processing {"connection_id":176351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:23:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":176351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:23:56] local.INFO: GPS data processed {"connection_id":176351,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:23:56] local.INFO: Acknowledgment sent {"connection_id":176351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:23:58] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:58] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:58] local.INFO: IMEI packet received {"connection_id":176592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":176592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:23:58] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:58] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:23:58] local.INFO: IMEI packet received {"connection_id":176592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":176592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:24:03] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:24:03] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:24:03] local.INFO: IMEI packet received {"connection_id":176592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":176592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:24:04] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abbe9b0012d7a77c005eb9e78000a00fd20..."} 
[2026-09-10 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abbe9b0012d7a77c005eb9e78000a00fd20..."} 
[2026-09-10 15:24:04] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abbe9b0012d7a77c005eb9e78000a00fd20..."} 
[2026-09-10 15:24:04] local.INFO: Packet analysis {"connection_id":176592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:24:04] local.INFO: Extracted packet for processing {"connection_id":176592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763000768,"raw_latitude":99327608,"longitude_deg":76.3000768,"latitude_deg":9.9327608,"altitude":10,"angle":253,"satellites":32,"speed":0,"hex_longitude":"2d7a77c0","hex_latitude":"05eb9e78","is_valid_coordinates":true} 
[2026-09-10 15:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992689920001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130716569444548608,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827899720004425728,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789033966000,"timestamp_ms":1789033966000,"timestamp_seconds":1789033966,"priority":1,"record_length":96,"hex_timestamp":"000001a08abbe9b0"} 
[2026-09-10 15:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 15:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992689920001,"66":13559,"161":206,"87":13824,"24":0,"16":130716569444548608,"45":8827899720004425728},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-10 15:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992689920001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:24:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 15:24:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130716569444548608,"km_value":130716569444548.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827899720004425728,"description":"Unknown IO ID 45"} 
[2026-09-10 15:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992689920001,"power":13559,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8827899720004425728}} 
[2026-09-10 15:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":176592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:24:04] local.INFO: GPS data processed {"connection_id":176592,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:24:04] local.INFO: Acknowledgment sent {"connection_id":176592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:24:05] local.INFO: TCP Data received {"connection_id":176352,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abac0d0012d196840071fede8003f011d26..."} 
[2026-09-10 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abac0d0012d196840071fede8003f011d26..."} 
[2026-09-10 15:24:05] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abac0d0012d196840071fede8003f011d26..."} 
[2026-09-10 15:24:05] local.INFO: Packet analysis {"connection_id":176352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:24:05] local.INFO: Extracted packet for processing {"connection_id":176352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aba"} 
[2026-09-10 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992670464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789033890000,"timestamp_ms":1789033890000,"timestamp_seconds":1789033890,"priority":1,"record_length":96,"hex_timestamp":"000001a08abac0d0"} 
[2026-09-10 15:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:24: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-09-10 15:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:24: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-09-10 15:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992670464001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992670464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992670464001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":176352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:24:05] local.INFO: GPS data processed {"connection_id":176352,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:24:05] local.INFO: Acknowledgment sent {"connection_id":176352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:24:11] local.INFO: TCP Data received {"connection_id":176353,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:24:11] local.INFO: Processing buffer {"connection_id":176353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:24:11] local.INFO: IMEI packet received {"connection_id":176353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":176353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:24:19] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:24:19] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:24:19] local.INFO: IMEI packet received {"connection_id":177766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":177766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:24:24] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:24:24] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:24:24] local.INFO: IMEI packet received {"connection_id":177766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":177766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:24:25] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:24:25] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:24:25] local.INFO: Packet analysis {"connection_id":177766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:24:25] local.INFO: Extracted packet for processing {"connection_id":177766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 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-09-10 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:24:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":177766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:24:25] local.INFO: GPS data processed {"connection_id":177766,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:24:25] local.INFO: Acknowledgment sent {"connection_id":177766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:24:27] local.INFO: TCP Data received {"connection_id":176593,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:24:27] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:24:27] local.INFO: IMEI packet received {"connection_id":176593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":176593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:24:32] local.INFO: TCP Data received {"connection_id":176593,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:24:32] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:24:32] local.INFO: IMEI packet received {"connection_id":176593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":176593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:24:33] local.INFO: TCP Data received {"connection_id":176593,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abb12d8012d196840071fede8003f011d24..."} 
[2026-09-10 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abb12d8012d196840071fede8003f011d24..."} 
[2026-09-10 15:24:33] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abb12d8012d196840071fede8003f011d24..."} 
[2026-09-10 15:24:33] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:24:33] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992675840001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033911000,"timestamp_ms":1789033911000,"timestamp_seconds":1789033911,"priority":1,"record_length":96,"hex_timestamp":"000001a08abb12d8"} 
[2026-09-10 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-09-10 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992675840001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992675840001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:24:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992675840001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:24:33] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:24:33] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:24:35] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abc0cd8012d7a764005eb9e88000b010a1f..."} 
[2026-09-10 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abc0cd8012d7a764005eb9e88000b010a1f..."} 
[2026-09-10 15:24:35] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abc0cd8012d7a764005eb9e88000b010a1f..."} 
[2026-09-10 15:24:35] local.INFO: Packet analysis {"connection_id":176592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:24:35] local.INFO: Extracted packet for processing {"connection_id":176592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":763000384,"raw_latitude":99327624,"longitude_deg":76.3000384,"latitude_deg":9.9327624,"altitude":11,"angle":266,"satellites":31,"speed":5,"hex_longitude":"2d7a7640","hex_latitude":"05eb9e88","is_valid_coordinates":true} 
[2026-09-10 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992695296001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130716586624417792,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824733126516176896,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789033975000,"timestamp_ms":1789033975000,"timestamp_seconds":1789033975,"priority":1,"record_length":96,"hex_timestamp":"000001a08abc0cd8"} 
[2026-09-10 15:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 15:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992695296001,"66":13852,"161":206,"87":13824,"24":5,"16":130716586624417792,"45":8824733126516176896},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-10 15:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992695296001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:24:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 15:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130716586624417792,"km_value":130716586624417.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824733126516176896,"description":"Unknown IO ID 45"} 
[2026-09-10 15:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992695296001,"power":13852,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8824733126516176896}} 
[2026-09-10 15:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":176592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:24:35] local.INFO: GPS data processed {"connection_id":176592,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:24:35] local.INFO: Acknowledgment sent {"connection_id":176592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:24:39] local.INFO: TCP Data received {"connection_id":177767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:24:39] local.INFO: Processing buffer {"connection_id":177767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:24:39] local.INFO: IMEI packet received {"connection_id":177767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":177767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:24:56] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:24:56] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:24:56] local.INFO: Packet analysis {"connection_id":177766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:24:56] local.INFO: Extracted packet for processing {"connection_id":177766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:24:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:24:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":177766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:24:56] local.INFO: GPS data processed {"connection_id":177766,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:24:56] local.INFO: Acknowledgment sent {"connection_id":177766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:03] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:03] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:03] local.INFO: IMEI packet received {"connection_id":176354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":176354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:25:06] local.INFO: TCP Data received {"connection_id":176593,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abb64e0012d196840071fede8003f011d26..."} 
[2026-09-10 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abb64e0012d196840071fede8003f011d26..."} 
[2026-09-10 15:25:06] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abb64e0012d196840071fede8003f011d26..."} 
[2026-09-10 15:25:06] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:25:06] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992681216001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25: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-09-10 15:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789033932000,"timestamp_ms":1789033932000,"timestamp_seconds":1789033932,"priority":1,"record_length":96,"hex_timestamp":"000001a08abb64e0"} 
[2026-09-10 15:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:25: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-09-10 15:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992681216001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992681216001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:25:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992681216001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:25:06] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:25:06] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:07] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:07] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:07] local.INFO: IMEI packet received {"connection_id":176354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":176354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:25:08] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abd8f90012d7a27c005ebeeb80004014e1f..."} 
[2026-09-10 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abd8f90012d7a27c005ebeeb80004014e1f..."} 
[2026-09-10 15:25:08] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abd8f90012d7a27c005ebeeb80004014e1f..."} 
[2026-09-10 15:25:08] local.INFO: Packet analysis {"connection_id":176354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:25:08] local.INFO: Extracted packet for processing {"connection_id":176354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762980288,"raw_latitude":99348152,"longitude_deg":76.2980288,"latitude_deg":9.9348152,"altitude":4,"angle":334,"satellites":31,"speed":21,"hex_longitude":"2d7a27c0","hex_latitude":"05ebeeb8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992718592001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130718304611336192,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806648359265630208,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789034074000,"timestamp_ms":1789034074000,"timestamp_seconds":1789034074,"priority":1,"record_length":96,"hex_timestamp":"000001a08abd8f90"} 
[2026-09-10 15:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 15:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992718592001,"66":13472,"163":206,"87":13824,"24":21,"16":130718304611336192,"45":8806648359265630208},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992718592001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:25:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 15:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130718304611336192,"km_value":130718304611336.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806648359265630208,"description":"Unknown IO ID 45"} 
[2026-09-10 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992718592001,"power":13472,"unknown_163":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8806648359265630208}} 
[2026-09-10 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":176354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:25:08] local.INFO: GPS data processed {"connection_id":176354,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:25:08] local.INFO: Acknowledgment sent {"connection_id":176354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:09] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abdce10012d7a19c005ec0f480006015620..."} 
[2026-09-10 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abdce10012d7a19c005ec0f480006015620..."} 
[2026-09-10 15:25:09] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abdce10012d7a19c005ec0f480006015620..."} 
[2026-09-10 15:25:09] local.INFO: Packet analysis {"connection_id":176354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:25:09] local.INFO: Extracted packet for processing {"connection_id":176354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99356488,"longitude_deg":76.2976704,"latitude_deg":9.9356488,"altitude":6,"angle":342,"satellites":32,"speed":12,"hex_longitude":"2d7a19c0","hex_latitude":"05ec0f48","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992722944001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130718742698000384,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802215128384583680,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789034090000,"timestamp_ms":1789034090000,"timestamp_seconds":1789034090,"priority":1,"record_length":96,"hex_timestamp":"000001a08abdce10"} 
[2026-09-10 15:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 15:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992722944001,"66":13656,"163":206,"87":13824,"24":12,"16":130718742698000384,"45":8802215128384583680},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-10 15:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992722944001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:25:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 15:25:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130718742698000384,"km_value":130718742698000.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802215128384583680,"description":"Unknown IO ID 45"} 
[2026-09-10 15:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992722944001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8802215128384583680}} 
[2026-09-10 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":176354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:25:09] local.INFO: GPS data processed {"connection_id":176354,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:25:09] local.INFO: Acknowledgment sent {"connection_id":176354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:19] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:25:19] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:25:19] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:25:24] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:25:24] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:25:24] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:25:25] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:25:25] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:25:25] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:25:25] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:25:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:25:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:25:25] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:25:25] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:32] local.INFO: TCP Data received {"connection_id":177768,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:25:32] local.INFO: Processing buffer {"connection_id":177768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:25:32] local.INFO: IMEI packet received {"connection_id":177768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":177768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:25:37] local.INFO: TCP Data received {"connection_id":177768,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:25:37] local.INFO: Processing buffer {"connection_id":177768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:25:37] local.INFO: IMEI packet received {"connection_id":177768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":177768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:25:38] local.INFO: TCP Data received {"connection_id":177768,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abbb6e8012d196840071fede8003f011d25..."} 
[2026-09-10 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abbb6e8012d196840071fede8003f011d25..."} 
[2026-09-10 15:25:38] local.INFO: Processing buffer {"connection_id":177768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abbb6e8012d196840071fede8003f011d25..."} 
[2026-09-10 15:25:38] local.INFO: Packet analysis {"connection_id":177768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:25:38] local.INFO: Extracted packet for processing {"connection_id":177768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abb"} 
[2026-09-10 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992686592001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789033953000,"timestamp_ms":1789033953000,"timestamp_seconds":1789033953,"priority":1,"record_length":96,"hex_timestamp":"000001a08abbb6e8"} 
[2026-09-10 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:25: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-09-10 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992686592001,"66":11406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992686592001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:25:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992686592001,"power":11406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":177768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:25:38] local.INFO: GPS data processed {"connection_id":177768,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:25:38] local.INFO: Acknowledgment sent {"connection_id":177768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:40] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe08a8012d7a108005ec25300006014a20..."} 
[2026-09-10 15:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe08a8012d7a108005ec25300006014a20..."} 
[2026-09-10 15:25:40] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe08a8012d7a108005ec25300006014a20..."} 
[2026-09-10 15:25:40] local.INFO: Packet analysis {"connection_id":176354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:25:40] local.INFO: Extracted packet for processing {"connection_id":176354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:25:40] local.INFO: GPS Element Parsed {"raw_longitude":762974336,"raw_latitude":99362096,"longitude_deg":76.2974336,"latitude_deg":9.9362096,"altitude":6,"angle":330,"satellites":32,"speed":11,"hex_longitude":"2d7a1080","hex_latitude":"05ec2530","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992727040001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130719039050743808,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478712768512,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789034105000,"timestamp_ms":1789034105000,"timestamp_seconds":1789034105,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe08a8"} 
[2026-09-10 15:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:25: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-09-10 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 15:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992727040001,"66":13504,"99":206,"87":13824,"24":11,"16":130719039050743808,"45":8798274478712768512},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992727040001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:25:40] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:25:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130719039050743808,"km_value":130719039050743.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478712768512,"description":"Unknown IO ID 45"} 
[2026-09-10 15:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992727040001,"power":13504,"unknown_99":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8798274478712768512}} 
[2026-09-10 15:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":176354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:25:40] local.INFO: GPS data processed {"connection_id":176354,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:25:40] local.INFO: Acknowledgment sent {"connection_id":176354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:47] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:25:47] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:25:47] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:25:50] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:25:50] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:25:50] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:25:56] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:25:56] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ab9bb18012cc33340076855f0005b015f24..."} 
[2026-09-10 15:25:56] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:25:56] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ab9"} 
[2026-09-10 15:25:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":36,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992581632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789033823000,"timestamp_ms":1789033823000,"timestamp_seconds":1789033823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ab9bb18"} 
[2026-09-10 15:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992581632001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992581632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:25:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:25:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992581632001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:25:56] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:25:56] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:25:58] local.INFO: TCP Data received {"connection_id":176357,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:58] local.INFO: Processing buffer {"connection_id":176357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:25:58] local.INFO: IMEI packet received {"connection_id":176357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":176357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:26:01] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:26:01] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:26:01] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:26:03] local.INFO: TCP Data received {"connection_id":176357,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:03] local.INFO: Processing buffer {"connection_id":176357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:03] local.INFO: IMEI packet received {"connection_id":176357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":176357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:26:04] local.INFO: TCP Data received {"connection_id":176357,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe27e8012d7a0d4005ec2a700007015721..."} 
[2026-09-10 15:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe27e8012d7a0d4005ec2a700007015721..."} 
[2026-09-10 15:26:04] local.INFO: Processing buffer {"connection_id":176357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe27e8012d7a0d4005ec2a700007015721..."} 
[2026-09-10 15:26:04] local.INFO: Packet analysis {"connection_id":176357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:04] local.INFO: Extracted packet for processing {"connection_id":176357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:04] local.INFO: GPS Element Parsed {"raw_longitude":762973504,"raw_latitude":99363440,"longitude_deg":76.2973504,"latitude_deg":9.936344,"altitude":7,"angle":343,"satellites":33,"speed":7,"hex_longitude":"2d7a0d40","hex_latitude":"05ec2a70","is_valid_coordinates":true} 
[2026-09-10 15:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992730880001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130719116360155136,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795670835179630592,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789034113000,"timestamp_ms":1789034113000,"timestamp_seconds":1789034113,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe27e8"} 
[2026-09-10 15:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-10 15:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992730880001,"66":13678,"99":206,"87":13824,"24":7,"16":130719116360155136,"45":8795670835179630592},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992730880001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:26:04] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:26:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130719116360155136,"km_value":130719116360155.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795670835179630592,"description":"Unknown IO ID 45"} 
[2026-09-10 15:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992730880001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8795670835179630592}} 
[2026-09-10 15:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":176357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:26:04] local.INFO: GPS data processed {"connection_id":176357,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:26:04] local.INFO: Acknowledgment sent {"connection_id":176357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:26:08] local.INFO: TCP Data received {"connection_id":176357,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe2bd0012d7a0c8005ec2b380007014921..."} 
[2026-09-10 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe2bd0012d7a0c8005ec2b380007014921..."} 
[2026-09-10 15:26:08] local.INFO: Processing buffer {"connection_id":176357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe2bd0012d7a0c8005ec2b380007014921..."} 
[2026-09-10 15:26:08] local.INFO: Packet analysis {"connection_id":176357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:08] local.INFO: Extracted packet for processing {"connection_id":176357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":99363640,"longitude_deg":76.2973312,"latitude_deg":9.936364,"altitude":7,"angle":329,"satellites":33,"speed":9,"hex_longitude":"2d7a0c80","hex_latitude":"05ec2b38","is_valid_coordinates":true} 
[2026-09-10 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992732928001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130719129245057024,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794756041505665024,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789034114000,"timestamp_ms":1789034114000,"timestamp_seconds":1789034114,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe2bd0"} 
[2026-09-10 15:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 15:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992732928001,"66":13580,"99":206,"87":13824,"24":9,"16":130719129245057024,"45":8794756041505665024},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992732928001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:26:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:26:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130719129245057024,"km_value":130719129245057.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794756041505665024,"description":"Unknown IO ID 45"} 
[2026-09-10 15:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992732928001,"power":13580,"unknown_99":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8794756041505665024}} 
[2026-09-10 15:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":176357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:26:08] local.INFO: GPS data processed {"connection_id":176357,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:26:08] local.INFO: Acknowledgment sent {"connection_id":176357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:26:10] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:26:10] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:26:10] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:26:10] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:10] 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-09-10 15:26:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:26:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 15:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 15:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:26:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:26:10] local.ERROR: GPS data processing failed {"connection_id":176356,"error":"No valid data to process"} 
[2026-09-10 15:26:10] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:26:10] local.INFO: TCP Data received {"connection_id":177768,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abc08f0012d196840071fede8003f011d24..."} 
[2026-09-10 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abc08f0012d196840071fede8003f011d24..."} 
[2026-09-10 15:26:10] local.INFO: Processing buffer {"connection_id":177768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abc08f0012d196840071fede8003f011d24..."} 
[2026-09-10 15:26:10] local.INFO: Packet analysis {"connection_id":177768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:26:10] local.INFO: Extracted packet for processing {"connection_id":177768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992691968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26: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-09-10 15:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789033974000,"timestamp_ms":1789033974000,"timestamp_seconds":1789033974,"priority":1,"record_length":96,"hex_timestamp":"000001a08abc08f0"} 
[2026-09-10 15:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:26: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-09-10 15: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-09-10 15:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992691968001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992691968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:26:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992691968001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":177768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:26:10] local.INFO: GPS data processed {"connection_id":177768,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:26:10] local.INFO: Acknowledgment sent {"connection_id":177768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:26:15] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:26:15] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:26:15] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:26:15] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:26: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-09-10 15:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:15] 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-09-10 15:26:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:26:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 15:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 15:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:26:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:26:15] local.ERROR: GPS data processing failed {"connection_id":176356,"error":"No valid data to process"} 
[2026-09-10 15:26:15] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:26:24] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:26:24] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:26:24] local.INFO: IMEI packet received {"connection_id":177769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":177769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:26:27] local.INFO: TCP Data received {"connection_id":179140,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:26:27] local.INFO: Processing buffer {"connection_id":179140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:26:27] local.INFO: IMEI packet received {"connection_id":179140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":179140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:26:29] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:26:29] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:26:29] local.INFO: IMEI packet received {"connection_id":177769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":177769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:26:30] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:26:30] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:26:30] local.INFO: Packet analysis {"connection_id":177769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:30] local.INFO: Extracted packet for processing {"connection_id":177769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:26:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":177769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:26:30] local.INFO: GPS data processed {"connection_id":177769,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:26:30] local.INFO: Acknowledgment sent {"connection_id":177769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:26:32] local.INFO: TCP Data received {"connection_id":179140,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:26:32] local.INFO: Processing buffer {"connection_id":179140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:26:32] local.INFO: IMEI packet received {"connection_id":179140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":179140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:26:33] local.INFO: TCP Data received {"connection_id":179140,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abc5af8012d196840071fede8003f011d24..."} 
[2026-09-10 15:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abc5af8012d196840071fede8003f011d24..."} 
[2026-09-10 15:26:33] local.INFO: Processing buffer {"connection_id":179140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abc5af8012d196840071fede8003f011d24..."} 
[2026-09-10 15:26:33] local.INFO: Packet analysis {"connection_id":179140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:26:33] local.INFO: Extracted packet for processing {"connection_id":179140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992697344001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789033995000,"timestamp_ms":1789033995000,"timestamp_seconds":1789033995,"priority":1,"record_length":96,"hex_timestamp":"000001a08abc5af8"} 
[2026-09-10 15:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:26:33] 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-09-10 15:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992697344001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992697344001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:26:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992697344001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":179140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:26:33] local.INFO: GPS data processed {"connection_id":179140,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:26:33] local.INFO: Acknowledgment sent {"connection_id":179140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:26:39] local.INFO: TCP Data received {"connection_id":176357,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe3788012d7a0b0005ec2e180007015521..."} 
[2026-09-10 15:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe3788012d7a0b0005ec2e180007015521..."} 
[2026-09-10 15:26:39] local.INFO: Processing buffer {"connection_id":176357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe3788012d7a0b0005ec2e180007015521..."} 
[2026-09-10 15:26:39] local.INFO: Packet analysis {"connection_id":176357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:39] local.INFO: Extracted packet for processing {"connection_id":176357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:26:39] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":99364376,"longitude_deg":76.2972928,"latitude_deg":9.9364376,"altitude":7,"angle":341,"satellites":33,"speed":8,"hex_longitude":"2d7a0b00","hex_latitude":"05ec2e18","is_valid_coordinates":true} 
[2026-09-10 15:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992733184001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130719167899762688,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935273183232,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789034117000,"timestamp_ms":1789034117000,"timestamp_seconds":1789034117,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe3788"} 
[2026-09-10 15:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:26: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-09-10 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632486,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2327640864,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5557442013189636106,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3180302337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4005036036,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621510051,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147871693,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916724313542231,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3954571264,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":122,"raw_value":5818657227981979657,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,99,87,24,241,157,16,104,160,39,45,64,42,7,33,10,66,8,128,37,6,32,206,192,1,240,88,227,138,235,4,113,205,21,77,55,248,239,53,163,2,208,5,122,54],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-09-10 15:26:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504765039325544448,"timestamp_seconds":504765039325544.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992733184001,"66":13461,"99":206,"87":13824,"24":8,"16":130719167899762688,"45":8794544935273183232},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992733184001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:26:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:26:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130719167899762688,"km_value":130719167899762.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935273183232,"description":"Unknown IO ID 45"} 
[2026-09-10 15:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992733184001,"power":13461,"unknown_99":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8794544935273183232}} 
[2026-09-10 15:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":176357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:26:39] local.INFO: GPS data processed {"connection_id":176357,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:26:39] local.INFO: Acknowledgment sent {"connection_id":176357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:26:55] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:26:55] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:26:55] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:26:55] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:26:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:26:55] 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-09-10 15:26:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:26:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 15:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-10 15:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:26:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:26:55] local.ERROR: GPS data processing failed {"connection_id":176356,"error":"No valid data to process"} 
[2026-09-10 15:26:55] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:26:56] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:56] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:56] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:26:57] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:57] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:57] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:26:58] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:58] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:58] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:26:58] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:58] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:26:58] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:27:01] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:01] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:01] local.INFO: Packet analysis {"connection_id":177769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:27:01] local.INFO: Extracted packet for processing {"connection_id":177769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:27:01] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:27: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-09-10 15: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-09-10 15:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:27:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":177769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:27:01] local.INFO: GPS data processed {"connection_id":177769,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:27:01] local.INFO: Acknowledgment sent {"connection_id":177769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:27:06] local.INFO: TCP Data received {"connection_id":179140,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abcad00012d196840071fede8003f011d25..."} 
[2026-09-10 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abcad00012d196840071fede8003f011d25..."} 
[2026-09-10 15:27:06] local.INFO: Processing buffer {"connection_id":179140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abcad00012d196840071fede8003f011d25..."} 
[2026-09-10 15:27:06] local.INFO: Packet analysis {"connection_id":179140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:27:06] local.INFO: Extracted packet for processing {"connection_id":179140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992702720001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789034016000,"timestamp_ms":1789034016000,"timestamp_seconds":1789034016,"priority":1,"record_length":96,"hex_timestamp":"000001a08abcad00"} 
[2026-09-10 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-09-10 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:27: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-09-10 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-09-10 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-09-10 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992702720001,"66":11624,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992702720001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992702720001,"power":11624,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":179140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:27:06] local.INFO: GPS data processed {"connection_id":179140,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:27:06] local.INFO: Acknowledgment sent {"connection_id":179140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:27:19] local.INFO: TCP Data received {"connection_id":177770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:27:19] local.INFO: Processing buffer {"connection_id":177770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:27:19] local.INFO: IMEI packet received {"connection_id":177770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":177770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:27:24] local.INFO: TCP Data received {"connection_id":177770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:27:24] local.INFO: Processing buffer {"connection_id":177770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:27:24] local.INFO: IMEI packet received {"connection_id":177770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":177770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:27:25] local.INFO: TCP Data received {"connection_id":177770,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:25] local.INFO: Processing buffer {"connection_id":177770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:25] local.INFO: Packet analysis {"connection_id":177770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:27:25] local.INFO: Extracted packet for processing {"connection_id":177770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:27:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":177770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:27:25] local.INFO: GPS data processed {"connection_id":177770,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:27:25] local.INFO: Acknowledgment sent {"connection_id":177770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:27:28] local.INFO: TCP Data received {"connection_id":179142,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:27:28] local.INFO: Processing buffer {"connection_id":179142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:27:28] local.INFO: IMEI packet received {"connection_id":179142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":179142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:27:28] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08abf4ce00100000000000000000000000000..."} 
[2026-09-10 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abf4ce00100000000000000000000000000..."} 
[2026-09-10 15:27:28] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abf4ce00100000000000000000000000000..."} 
[2026-09-10 15:27:28] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:27:28] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:27: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-09-10 15:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:28] 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-09-10 15:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789034188000,"timestamp_ms":1789034188000,"timestamp_seconds":1789034188,"priority":1,"record_length":96,"hex_timestamp":"000001a08abf4ce0"} 
[2026-09-10 15:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:27:28] 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-09-10 15:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 15:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:27:28] local.INFO: GPS data processed {"connection_id":176356,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:27:28] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:27:32] local.INFO: TCP Data received {"connection_id":179142,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:27:32] local.INFO: Processing buffer {"connection_id":179142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:27:32] local.INFO: IMEI packet received {"connection_id":179142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":179142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:27:33] local.INFO: TCP Data received {"connection_id":179142,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abcff08012d196840071fede8003f011d25..."} 
[2026-09-10 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abcff08012d196840071fede8003f011d25..."} 
[2026-09-10 15:27:33] local.INFO: Processing buffer {"connection_id":179142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abcff08012d196840071fede8003f011d25..."} 
[2026-09-10 15:27:33] local.INFO: Packet analysis {"connection_id":179142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:27:33] local.INFO: Extracted packet for processing {"connection_id":179142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abc"} 
[2026-09-10 15:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992708096001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034037000,"timestamp_ms":1789034037000,"timestamp_seconds":1789034037,"priority":1,"record_length":96,"hex_timestamp":"000001a08abcff08"} 
[2026-09-10 15:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-10 15:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992708096001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992708096001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:27:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:27:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992708096001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":179142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:27:33] local.INFO: GPS data processed {"connection_id":179142,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:27:33] local.INFO: Acknowledgment sent {"connection_id":179142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:27:56] local.INFO: TCP Data received {"connection_id":177770,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:56] local.INFO: Processing buffer {"connection_id":177770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:27:56] local.INFO: Packet analysis {"connection_id":177770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:27:56] local.INFO: Extracted packet for processing {"connection_id":177770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:27:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:27:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":177770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:27:56] local.INFO: GPS data processed {"connection_id":177770,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:27:56] local.INFO: Acknowledgment sent {"connection_id":177770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:28:00] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08abf9ee80100000000000000000000000000..."} 
[2026-09-10 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abf9ee80100000000000000000000000000..."} 
[2026-09-10 15:28:00] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abf9ee80100000000000000000000000000..."} 
[2026-09-10 15:28:00] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:28:00] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:00] 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-09-10 15:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789034209000,"timestamp_ms":1789034209000,"timestamp_seconds":1789034209,"priority":1,"record_length":96,"hex_timestamp":"000001a08abf9ee8"} 
[2026-09-10 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-09-10 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 15:28: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-09-10 15: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-09-10 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-09-10 15:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:28:00] local.INFO: GPS data processed {"connection_id":176356,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:28:00] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:28:05] local.INFO: TCP Data received {"connection_id":179142,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abd5110012d196840071fede8003f011d25..."} 
[2026-09-10 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abd5110012d196840071fede8003f011d25..."} 
[2026-09-10 15:28:05] local.INFO: Processing buffer {"connection_id":179142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abd5110012d196840071fede8003f011d25..."} 
[2026-09-10 15:28:05] local.INFO: Packet analysis {"connection_id":179142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:28:05] local.INFO: Extracted packet for processing {"connection_id":179142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992713472001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789034058000,"timestamp_ms":1789034058000,"timestamp_seconds":1789034058,"priority":1,"record_length":96,"hex_timestamp":"000001a08abd5110"} 
[2026-09-10 15:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:28: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-09-10 15:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992713472001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992713472001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:28:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992713472001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":179142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:28:05] local.INFO: GPS data processed {"connection_id":179142,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:28:05] local.INFO: Acknowledgment sent {"connection_id":179142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:28:19] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:28:19] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:28:19] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:28:24] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:28:24] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:28:24] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:28:25] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:28:25] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:28:25] local.INFO: Packet analysis {"connection_id":176596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:28:25] local.INFO: Extracted packet for processing {"connection_id":176596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:28:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":176596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:28:25] local.INFO: GPS data processed {"connection_id":176596,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:28:25] local.INFO: Acknowledgment sent {"connection_id":176596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:28:26] local.INFO: TCP Data received {"connection_id":176360,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:26] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:26] local.INFO: IMEI packet received {"connection_id":176360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":176360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:28:27] local.INFO: TCP Data received {"connection_id":176360,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:27] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:27] local.INFO: IMEI packet received {"connection_id":176360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":176360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:28:32] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08abff0f00100000000000000000000000000..."} 
[2026-09-10 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abff0f00100000000000000000000000000..."} 
[2026-09-10 15:28:32] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abff0f00100000000000000000000000000..."} 
[2026-09-10 15:28:32] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:28:32] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:32] 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-09-10 15:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789034230000,"timestamp_ms":1789034230000,"timestamp_seconds":1789034230,"priority":1,"record_length":96,"hex_timestamp":"000001a08abff0f0"} 
[2026-09-10 15:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 15:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:28:32] local.INFO: GPS data processed {"connection_id":176356,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:28:32] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:28:32] local.INFO: TCP Data received {"connection_id":176360,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:32] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:28:32] local.INFO: IMEI packet received {"connection_id":176360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":176360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:28:33] local.INFO: TCP Data received {"connection_id":176360,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abda318012d196840071fede8003f011d26..."} 
[2026-09-10 15:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abda318012d196840071fede8003f011d26..."} 
[2026-09-10 15:28:33] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abda318012d196840071fede8003f011d26..."} 
[2026-09-10 15:28:33] local.INFO: Packet analysis {"connection_id":176360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:28:33] local.INFO: Extracted packet for processing {"connection_id":176360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992718848001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034079000,"timestamp_ms":1789034079000,"timestamp_seconds":1789034079,"priority":1,"record_length":96,"hex_timestamp":"000001a08abda318"} 
[2026-09-10 15:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992718848001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992718848001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:28:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992718848001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":176360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:28:33] local.INFO: GPS data processed {"connection_id":176360,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:28:33] local.INFO: Acknowledgment sent {"connection_id":176360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:28:56] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:28:56] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:28:56] local.INFO: Packet analysis {"connection_id":176596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:28:56] local.INFO: Extracted packet for processing {"connection_id":176596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:28:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:28:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:28:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":176596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:28:56] local.INFO: GPS data processed {"connection_id":176596,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:28:56] local.INFO: Acknowledgment sent {"connection_id":176596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:29:07] local.INFO: TCP Data received {"connection_id":176360,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abdf520012d196840071fede8003f011d24..."} 
[2026-09-10 15:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abdf520012d196840071fede8003f011d24..."} 
[2026-09-10 15:29:07] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abdf520012d196840071fede8003f011d24..."} 
[2026-09-10 15:29:07] local.INFO: Packet analysis {"connection_id":176360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:29:07] local.INFO: Extracted packet for processing {"connection_id":176360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abd"} 
[2026-09-10 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992724224001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789034100000,"timestamp_ms":1789034100000,"timestamp_seconds":1789034100,"priority":1,"record_length":96,"hex_timestamp":"000001a08abdf520"} 
[2026-09-10 15:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992724224001,"66":12298,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992724224001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:29:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992724224001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":176360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:29:07] local.INFO: GPS data processed {"connection_id":176360,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:29:07] local.INFO: Acknowledgment sent {"connection_id":176360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:29:08] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac042f80100000000000000000000000000..."} 
[2026-09-10 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac042f80100000000000000000000000000..."} 
[2026-09-10 15:29:08] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac042f80100000000000000000000000000..."} 
[2026-09-10 15:29:08] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac0"} 
[2026-09-10 15:29:08] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac0"} 
[2026-09-10 15:29:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:08] 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-09-10 15:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789034251000,"timestamp_ms":1789034251000,"timestamp_seconds":1789034251,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac042f8"} 
[2026-09-10 15:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:29:08] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 15:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:29:08] local.INFO: GPS data processed {"connection_id":176356,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:29:08] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:29:19] local.INFO: TCP Data received {"connection_id":177772,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:29:19] local.INFO: Processing buffer {"connection_id":177772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:29:19] local.INFO: IMEI packet received {"connection_id":177772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":177772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:29:24] local.INFO: TCP Data received {"connection_id":177772,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:29:24] local.INFO: Processing buffer {"connection_id":177772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:29:24] local.INFO: IMEI packet received {"connection_id":177772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":177772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:29:25] local.INFO: TCP Data received {"connection_id":177772,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:29:25] local.INFO: Processing buffer {"connection_id":177772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:29:25] local.INFO: Packet analysis {"connection_id":177772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:25] local.INFO: Extracted packet for processing {"connection_id":177772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:29:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":177772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:29:25] local.INFO: GPS data processed {"connection_id":177772,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:29:25] local.INFO: Acknowledgment sent {"connection_id":177772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:29:29] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:29] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:29] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:29:32] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:32] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:32] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:29:37] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:37] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:29:37] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:29:38] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe4728012d196840071fede8003f011d25..."} 
[2026-09-10 15:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe4728012d196840071fede8003f011d25..."} 
[2026-09-10 15:29:38] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe4728012d196840071fede8003f011d25..."} 
[2026-09-10 15:29:38] local.INFO: Packet analysis {"connection_id":176597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:38] local.INFO: Extracted packet for processing {"connection_id":176597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992729600001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789034121000,"timestamp_ms":1789034121000,"timestamp_seconds":1789034121,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe4728"} 
[2026-09-10 15:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":114,"raw_value":864691128455135233,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8449959168262203032,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390463235850525,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":63,"raw_value":80259950781136896,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169419982,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3165454337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 15:29:38] local.WARNING: Large IO value detected {"io_id":90,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,114,160,163,45,64,237,63,38,10,66,81,37,255,1,240,97,138,31,4,113,205,90,104,232,36,239,48,2,68,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 15:29:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941939822198784,"timestamp_seconds":4539941939822199.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992729600001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992729600001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992729600001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":176597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:29:39] local.INFO: GPS data processed {"connection_id":176597,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:29:39] local.INFO: Acknowledgment sent {"connection_id":176597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:29:41] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac095000100000000000000000000000000..."} 
[2026-09-10 15:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac095000100000000000000000000000000..."} 
[2026-09-10 15:29:41] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac095000100000000000000000000000000..."} 
[2026-09-10 15:29:41] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac0"} 
[2026-09-10 15:29:41] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac0"} 
[2026-09-10 15:29:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:41] 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-09-10 15:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789034272000,"timestamp_ms":1789034272000,"timestamp_seconds":1789034272,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac09500"} 
[2026-09-10 15:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:29:41] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 15:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:29:41] local.INFO: GPS data processed {"connection_id":176356,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:29:41] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:29:43] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe9930012d196840071fede8003f011d26..."} 
[2026-09-10 15:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe9930012d196840071fede8003f011d26..."} 
[2026-09-10 15:29:43] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe9930012d196840071fede8003f011d26..."} 
[2026-09-10 15:29:43] local.INFO: Packet analysis {"connection_id":176597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:43] local.INFO: Extracted packet for processing {"connection_id":176597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992734976001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29: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-09-10 15:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789034142000,"timestamp_ms":1789034142000,"timestamp_seconds":1789034142,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe9930"} 
[2026-09-10 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-09-10 15:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992734976001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992734976001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:29:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992734976001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":176597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:29:43] local.INFO: GPS data processed {"connection_id":176597,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:29:43] local.INFO: Acknowledgment sent {"connection_id":176597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:29:56] local.INFO: TCP Data received {"connection_id":177772,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:29:56] local.INFO: Processing buffer {"connection_id":177772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:29:56] local.INFO: Packet analysis {"connection_id":177772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:56] local.INFO: Extracted packet for processing {"connection_id":177772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:29:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:29:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":177772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:29:56] local.INFO: GPS data processed {"connection_id":177772,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:29:56] local.INFO: Acknowledgment sent {"connection_id":177772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:30:00] local.INFO: TCP Data received {"connection_id":179143,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:30:00] local.INFO: Processing buffer {"connection_id":179143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:30:00] local.INFO: IMEI packet received {"connection_id":179143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":179143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:30:13] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac0e7080100000000000000000000000000..."} 
[2026-09-10 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac0e7080100000000000000000000000000..."} 
[2026-09-10 15:30:13] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac0e7080100000000000000000000000000..."} 
[2026-09-10 15:30:13] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac0"} 
[2026-09-10 15:30:13] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac0"} 
[2026-09-10 15:30:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:13] 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-09-10 15:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789034293000,"timestamp_ms":1789034293000,"timestamp_seconds":1789034293,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac0e708"} 
[2026-09-10 15:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 15:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:30:13] local.INFO: GPS data processed {"connection_id":176356,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:30:13] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:30:19] local.INFO: TCP Data received {"connection_id":179145,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:30:19] local.INFO: Processing buffer {"connection_id":179145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:30:19] local.INFO: IMEI packet received {"connection_id":179145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":179145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:30:24] local.INFO: TCP Data received {"connection_id":179145,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:30:24] local.INFO: Processing buffer {"connection_id":179145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:30:24] local.INFO: IMEI packet received {"connection_id":179145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":179145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:30:25] local.INFO: TCP Data received {"connection_id":179145,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:30:25] local.INFO: Processing buffer {"connection_id":179145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:30:25] local.INFO: Packet analysis {"connection_id":179145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:30:25] local.INFO: Extracted packet for processing {"connection_id":179145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:30:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:30:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":179145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:30:25] local.INFO: GPS data processed {"connection_id":179145,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:30:25] local.INFO: Acknowledgment sent {"connection_id":179145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:30:27] local.INFO: TCP Data received {"connection_id":177773,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:30:27] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:30:27] local.INFO: IMEI packet received {"connection_id":177773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":177773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:30:32] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:30:32] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:30:32] local.INFO: IMEI packet received {"connection_id":177774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":177774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:30:32] local.INFO: TCP Data received {"connection_id":177773,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:30:32] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:30:32] local.INFO: IMEI packet received {"connection_id":177773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":177773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:30:33] local.INFO: TCP Data received {"connection_id":177773,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abeeb38012d196840071fede8003f011d25..."} 
[2026-09-10 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abeeb38012d196840071fede8003f011d25..."} 
[2026-09-10 15:30:33] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abeeb38012d196840071fede8003f011d25..."} 
[2026-09-10 15:30:33] local.INFO: Packet analysis {"connection_id":177773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:30:33] local.INFO: Extracted packet for processing {"connection_id":177773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992740352001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034163000,"timestamp_ms":1789034163000,"timestamp_seconds":1789034163,"priority":1,"record_length":96,"hex_timestamp":"000001a08abeeb38"} 
[2026-09-10 15:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992740352001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992740352001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:30:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:30:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992740352001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":177773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:30:33] local.INFO: GPS data processed {"connection_id":177773,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:30:33] local.INFO: Acknowledgment sent {"connection_id":177773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:30:37] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:30:37] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:30:37] local.INFO: IMEI packet received {"connection_id":177774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":177774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:30:38] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac139100100000000000000000000000000..."} 
[2026-09-10 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac139100100000000000000000000000000..."} 
[2026-09-10 15:30:38] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac139100100000000000000000000000000..."} 
[2026-09-10 15:30:38] local.INFO: Packet analysis {"connection_id":177774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac1"} 
[2026-09-10 15:30:38] local.INFO: Extracted packet for processing {"connection_id":177774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac1"} 
[2026-09-10 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:38] 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-09-10 15:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789034314000,"timestamp_ms":1789034314000,"timestamp_seconds":1789034314,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac13910"} 
[2026-09-10 15:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":177774,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:30:38] local.INFO: GPS data processed {"connection_id":177774,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:30:38] local.INFO: Acknowledgment sent {"connection_id":177774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:30:56] local.INFO: TCP Data received {"connection_id":179145,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:30:56] local.INFO: Processing buffer {"connection_id":179145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abe52e0012cc33340076855f0005b015f29..."} 
[2026-09-10 15:30:56] local.INFO: Packet analysis {"connection_id":179145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:30:56] local.INFO: Extracted packet for processing {"connection_id":179145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abe"} 
[2026-09-10 15:30:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992658688001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034124000,"timestamp_ms":1789034124000,"timestamp_seconds":1789034124,"priority":1,"record_length":96,"hex_timestamp":"000001a08abe52e0"} 
[2026-09-10 15:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992658688001,"66":25941,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992658688001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:30:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:30:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992658688001,"power":25941,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":179145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:30:56] local.INFO: GPS data processed {"connection_id":179145,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:30:56] local.INFO: Acknowledgment sent {"connection_id":179145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:31:05] local.INFO: TCP Data received {"connection_id":177773,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abf3d40012d196840071fede8003f011d25..."} 
[2026-09-10 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abf3d40012d196840071fede8003f011d25..."} 
[2026-09-10 15:31:05] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abf3d40012d196840071fede8003f011d25..."} 
[2026-09-10 15:31:05] local.INFO: Packet analysis {"connection_id":177773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:31:05] local.INFO: Extracted packet for processing {"connection_id":177773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992745728001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789034184000,"timestamp_ms":1789034184000,"timestamp_seconds":1789034184,"priority":1,"record_length":96,"hex_timestamp":"000001a08abf3d40"} 
[2026-09-10 15:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:31: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-09-10 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:31: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-09-10 15:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992745728001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992745728001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992745728001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":177773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:31:05] local.INFO: GPS data processed {"connection_id":177773,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:31:05] local.INFO: Acknowledgment sent {"connection_id":177773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:31:09] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac18b180100000000000000000000000000..."} 
[2026-09-10 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac18b180100000000000000000000000000..."} 
[2026-09-10 15:31:09] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac18b180100000000000000000000000000..."} 
[2026-09-10 15:31:09] local.INFO: Packet analysis {"connection_id":177774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac1"} 
[2026-09-10 15:31:09] local.INFO: Extracted packet for processing {"connection_id":177774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac1"} 
[2026-09-10 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:09] 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-09-10 15:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789034335000,"timestamp_ms":1789034335000,"timestamp_seconds":1789034335,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac18b18"} 
[2026-09-10 15:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 15:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":177774,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:31:09] local.INFO: GPS data processed {"connection_id":177774,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:31:09] local.INFO: Acknowledgment sent {"connection_id":177774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:31:13] local.INFO: TCP Data received {"connection_id":176363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:31:13] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:31:13] local.INFO: IMEI packet received {"connection_id":176363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":176363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:31:24] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:31:24] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:31:24] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:31:27] local.INFO: TCP Data received {"connection_id":179146,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:31:27] local.INFO: Processing buffer {"connection_id":179146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:31:27] local.INFO: IMEI packet received {"connection_id":179146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":179146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:31:29] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:31:29] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:31:29] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:31:30] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:31:30] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:31:30] local.INFO: Packet analysis {"connection_id":176598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:31:30] local.INFO: Extracted packet for processing {"connection_id":176598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:31:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":176598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:31:30] local.INFO: GPS data processed {"connection_id":176598,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:31:30] local.INFO: Acknowledgment sent {"connection_id":176598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:31:32] local.INFO: TCP Data received {"connection_id":179146,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:31:32] local.INFO: Processing buffer {"connection_id":179146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:31:32] local.INFO: IMEI packet received {"connection_id":179146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":179146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:31:33] local.INFO: TCP Data received {"connection_id":179146,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08abf8f48012d196840071fede8003f011d24..."} 
[2026-09-10 15:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08abf8f48012d196840071fede8003f011d24..."} 
[2026-09-10 15:31:33] local.INFO: Processing buffer {"connection_id":179146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08abf8f48012d196840071fede8003f011d24..."} 
[2026-09-10 15:31:33] local.INFO: Packet analysis {"connection_id":179146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:31:33] local.INFO: Extracted packet for processing {"connection_id":179146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08abf"} 
[2026-09-10 15:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992751104001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034205000,"timestamp_ms":1789034205000,"timestamp_seconds":1789034205,"priority":1,"record_length":96,"hex_timestamp":"000001a08abf8f48"} 
[2026-09-10 15:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992751104001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992751104001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:31:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992751104001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":179146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:31:33] local.INFO: GPS data processed {"connection_id":179146,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:31:33] local.INFO: Acknowledgment sent {"connection_id":179146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:31:34] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:31:34] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:31:34] local.INFO: Packet analysis {"connection_id":176598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:31:34] local.INFO: Extracted packet for processing {"connection_id":176598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:31: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-09-10 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:31:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:31:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":176598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:31:34] local.INFO: GPS data processed {"connection_id":176598,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:31:34] local.INFO: Acknowledgment sent {"connection_id":176598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:31:40] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac1dd200100000000000000000000000000..."} 
[2026-09-10 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac1dd200100000000000000000000000000..."} 
[2026-09-10 15:31:40] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac1dd200100000000000000000000000000..."} 
[2026-09-10 15:31:40] local.INFO: Packet analysis {"connection_id":177774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac1"} 
[2026-09-10 15:31:40] local.INFO: Extracted packet for processing {"connection_id":177774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac1"} 
[2026-09-10 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:31:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789034356000,"timestamp_ms":1789034356000,"timestamp_seconds":1789034356,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac1dd20"} 
[2026-09-10 15:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 15:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":177774,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:31:40] local.INFO: GPS data processed {"connection_id":177774,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:31:40] local.INFO: Acknowledgment sent {"connection_id":177774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:03] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:32:03] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:32:03] local.INFO: IMEI packet received {"connection_id":176365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":176365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:32:04] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac40000012d7a148005ec7f200009012025..."} 
[2026-09-10 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac40000012d7a148005ec7f200009012025..."} 
[2026-09-10 15:32:04] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac40000012d7a148005ec7f200009012025..."} 
[2026-09-10 15:32:04] local.INFO: Packet analysis {"connection_id":176365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:32:04] local.INFO: Extracted packet for processing {"connection_id":176365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385120,"longitude_deg":76.297536,"latitude_deg":9.938512,"altitude":9,"angle":288,"satellites":37,"speed":2,"hex_longitude":"2d7a1480","hex_latitude":"05ec7f20","is_valid_coordinates":true} 
[2026-09-10 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992830464001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722552333991936,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841324886016,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789034496000,"timestamp_ms":1789034496000,"timestamp_seconds":1789034496,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac40000"} 
[2026-09-10 15:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 15:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992830464001,"66":13102,"100":206,"87":13824,"24":2,"16":130722552333991936,"45":8797007841324886016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992830464001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:32:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:32:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722552333991936,"km_value":130722552333991.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841324886016,"description":"Unknown IO ID 45"} 
[2026-09-10 15:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992830464001,"power":13102,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8797007841324886016}} 
[2026-09-10 15:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":176365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:32:04] local.INFO: GPS data processed {"connection_id":176365,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:32:04] local.INFO: Acknowledgment sent {"connection_id":176365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:05] local.INFO: TCP Data received {"connection_id":179146,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac315a0012d196840071fede8003f011d24..."} 
[2026-09-10 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac315a0012d196840071fede8003f011d24..."} 
[2026-09-10 15:32:05] local.INFO: Processing buffer {"connection_id":179146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac315a0012d196840071fede8003f011d24..."} 
[2026-09-10 15:32:05] local.INFO: Packet analysis {"connection_id":179146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac3"} 
[2026-09-10 15:32:05] local.INFO: Extracted packet for processing {"connection_id":179146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac3"} 
[2026-09-10 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992810240001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789034436000,"timestamp_ms":1789034436000,"timestamp_seconds":1789034436,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac315a0"} 
[2026-09-10 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:32: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-09-10 15:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992810240001,"66":11830,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992810240001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992810240001,"power":11830,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":179146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:32:05] local.INFO: GPS data processed {"connection_id":179146,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:32:05] local.INFO: Acknowledgment sent {"connection_id":179146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:11] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac22f280100000000000000000000000000..."} 
[2026-09-10 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac22f280100000000000000000000000000..."} 
[2026-09-10 15:32:11] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac22f280100000000000000000000000000..."} 
[2026-09-10 15:32:11] local.INFO: Packet analysis {"connection_id":177774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:32:11] local.INFO: Extracted packet for processing {"connection_id":177774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142258107482112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:11] 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-09-10 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789034377000,"timestamp_ms":1789034377000,"timestamp_seconds":1789034377,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac22f28"} 
[2026-09-10 15:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 15:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":177774,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:32:11] local.INFO: GPS data processed {"connection_id":177774,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:32:11] local.INFO: Acknowledgment sent {"connection_id":177774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:19] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:32:19] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:32:19] local.INFO: IMEI packet received {"connection_id":177775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":177775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:32:24] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:32:24] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:32:24] local.INFO: IMEI packet received {"connection_id":177775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":177775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:32:25] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:32:25] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:32:25] local.INFO: Packet analysis {"connection_id":177775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:32:25] local.INFO: Extracted packet for processing {"connection_id":177775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:32:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:32:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":177775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:32:25] local.INFO: GPS data processed {"connection_id":177775,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:32:25] local.INFO: Acknowledgment sent {"connection_id":177775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:27] local.INFO: TCP Data received {"connection_id":179147,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:32:27] local.INFO: Processing buffer {"connection_id":179147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:32:27] local.INFO: IMEI packet received {"connection_id":179147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":179147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:32:32] local.INFO: TCP Data received {"connection_id":179147,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:32:32] local.INFO: Processing buffer {"connection_id":179147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:32:32] local.INFO: IMEI packet received {"connection_id":179147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":179147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:32:33] local.INFO: TCP Data received {"connection_id":179147,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac367a8012d196840071fede8003f011d22..."} 
[2026-09-10 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac367a8012d196840071fede8003f011d22..."} 
[2026-09-10 15:32:33] local.INFO: Processing buffer {"connection_id":179147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac367a8012d196840071fede8003f011d22..."} 
[2026-09-10 15:32:33] local.INFO: Packet analysis {"connection_id":179147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac3"} 
[2026-09-10 15:32:33] local.INFO: Extracted packet for processing {"connection_id":179147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac3"} 
[2026-09-10 15:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992815616001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034457000,"timestamp_ms":1789034457000,"timestamp_seconds":1789034457,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac367a8"} 
[2026-09-10 15:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-10 15:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992815616001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992815616001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:32:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:32:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992815616001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":179147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:32:33] local.INFO: GPS data processed {"connection_id":179147,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:32:33] local.INFO: Acknowledgment sent {"connection_id":179147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:35] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac407d0012d7a13c005ec7f20000a00fd25..."} 
[2026-09-10 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac407d0012d7a13c005ec7f20000a00fd25..."} 
[2026-09-10 15:32:35] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac407d0012d7a13c005ec7f20000a00fd25..."} 
[2026-09-10 15:32:35] local.INFO: Packet analysis {"connection_id":176365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:32:35] local.INFO: Extracted packet for processing {"connection_id":176365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385120,"longitude_deg":76.2975168,"latitude_deg":9.938512,"altitude":10,"angle":253,"satellites":37,"speed":5,"hex_longitude":"2d7a13c0","hex_latitude":"05ec7f20","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992830976001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722565218893824,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092367360,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789034498000,"timestamp_ms":1789034498000,"timestamp_seconds":1789034498,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac407d0"} 
[2026-09-10 15:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 15:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992830976001,"66":13472,"100":206,"87":13824,"24":5,"16":130722565218893824,"45":8796796735092367360},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992830976001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:32:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722565218893824,"km_value":130722565218893.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092367360,"description":"Unknown IO ID 45"} 
[2026-09-10 15:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992830976001,"power":13472,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8796796735092367360}} 
[2026-09-10 15:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":176365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:32:35] local.INFO: GPS data processed {"connection_id":176365,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:32:35] local.INFO: Acknowledgment sent {"connection_id":176365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:42] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac4d2f0012d0b6f40070345f80017007909..."} 
[2026-09-10 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac4d2f0012d0b6f40070345f80017007909..."} 
[2026-09-10 15:32:42] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac4d2f0012d0b6f40070345f80017007909..."} 
[2026-09-10 15:32:42] local.INFO: Packet analysis {"connection_id":177774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:32:42] local.INFO: Extracted packet for processing {"connection_id":177774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":755724096,"raw_latitude":117655032,"longitude_deg":75.5724096,"latitude_deg":11.7655032,"altitude":23,"angle":121,"satellites":9,"speed":3,"hex_longitude":"2d0b6f40","hex_latitude":"070345f8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992844544001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142275287351296,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823877286951790592,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789034550000,"timestamp_ms":1789034550000,"timestamp_seconds":1789034550,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac4d2f0"} 
[2026-09-10 15:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 15:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992844544001,"66":14450,"17":206,"94":11008,"24":3,"16":31142275287351296,"45":823877286951790592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 15:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992844544001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:32:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31142275287351296,"km_value":31142275287351.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":823877286951790592,"description":"Unknown IO ID 45"} 
[2026-09-10 15:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992844544001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":823877286951790592}} 
[2026-09-10 15:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":177774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:32:43] local.INFO: GPS data processed {"connection_id":177774,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:32:43] local.INFO: Acknowledgment sent {"connection_id":177774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:32:56] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:32:56] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:32:56] local.INFO: Packet analysis {"connection_id":177775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:32:56] local.INFO: Extracted packet for processing {"connection_id":177775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:32:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:32:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":177775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:32:56] local.INFO: GPS data processed {"connection_id":177775,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:32:56] local.INFO: Acknowledgment sent {"connection_id":177775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:03] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:03] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:03] local.INFO: IMEI packet received {"connection_id":176366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":176366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:33:05] local.INFO: TCP Data received {"connection_id":179147,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac3b9b0012d196840071fede8003f011d24..."} 
[2026-09-10 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac3b9b0012d196840071fede8003f011d24..."} 
[2026-09-10 15:33:05] local.INFO: Processing buffer {"connection_id":179147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac3b9b0012d196840071fede8003f011d24..."} 
[2026-09-10 15:33:05] local.INFO: Packet analysis {"connection_id":179147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac3"} 
[2026-09-10 15:33:05] local.INFO: Extracted packet for processing {"connection_id":179147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac3"} 
[2026-09-10 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992820992001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33: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-09-10 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789034478000,"timestamp_ms":1789034478000,"timestamp_seconds":1789034478,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac3b9b0"} 
[2026-09-10 15:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:33: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-09-10 15:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992820992001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992820992001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:33:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992820992001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":179147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:33:05] local.INFO: GPS data processed {"connection_id":179147,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:33:05] local.INFO: Acknowledgment sent {"connection_id":179147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:08] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:08] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:08] local.INFO: IMEI packet received {"connection_id":176366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":176366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:33:09] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac41388012d7a128005ec7ed0000a010b24..."} 
[2026-09-10 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac41388012d7a128005ec7ed0000a010b24..."} 
[2026-09-10 15:33:09] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac41388012d7a128005ec7ed0000a010b24..."} 
[2026-09-10 15:33:09] local.INFO: Packet analysis {"connection_id":176366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:33:09] local.INFO: Extracted packet for processing {"connection_id":176366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99385040,"longitude_deg":76.2974848,"latitude_deg":9.938504,"altitude":10,"angle":267,"satellites":36,"speed":3,"hex_longitude":"2d7a1280","hex_latitude":"05ec7ed0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992831488001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722578103795712,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859834368,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789034501000,"timestamp_ms":1789034501000,"timestamp_seconds":1789034501,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac41388"} 
[2026-09-10 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-09-10 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 15:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992831488001,"66":13646,"100":206,"87":13824,"24":3,"16":130722578103795712,"45":8796585628859834368},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992831488001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722578103795712,"km_value":130722578103795.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859834368,"description":"Unknown IO ID 45"} 
[2026-09-10 15:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992831488001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8796585628859834368}} 
[2026-09-10 15:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":176366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:33:09] local.INFO: GPS data processed {"connection_id":176366,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:33:09] local.INFO: Acknowledgment sent {"connection_id":176366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:14] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac42af8012d7a12c005ec7ed0000a004825..."} 
[2026-09-10 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac42af8012d7a12c005ec7ed0000a004825..."} 
[2026-09-10 15:33:14] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac42af8012d7a12c005ec7ed0000a004825..."} 
[2026-09-10 15:33:14] local.INFO: Packet analysis {"connection_id":176366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:33:14] local.INFO: Extracted packet for processing {"connection_id":176366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:33:14] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":99385040,"longitude_deg":76.2974912,"latitude_deg":9.938504,"altitude":10,"angle":72,"satellites":37,"speed":2,"hex_longitude":"2d7a12c0","hex_latitude":"05ec7ed0","is_valid_coordinates":true} 
[2026-09-10 15:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992832256001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722590988697600,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785138925568,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789034507000,"timestamp_ms":1789034507000,"timestamp_seconds":1789034507,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac42af8"} 
[2026-09-10 15:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 15:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992832256001,"66":13580,"100":206,"87":13824,"24":2,"16":130722590988697600,"45":8796233785138925568},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992832256001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:33:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:33:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722590988697600,"km_value":130722590988697.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785138925568,"description":"Unknown IO ID 45"} 
[2026-09-10 15:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992832256001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8796233785138925568}} 
[2026-09-10 15:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":176366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:33:14] local.INFO: GPS data processed {"connection_id":176366,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:33:14] local.INFO: Acknowledgment sent {"connection_id":176366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:19] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:33:19] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:33:19] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:33:24] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:33:24] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:33:24] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:33:25] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:33:25] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:33:25] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:33:25] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:33:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:33:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:33:25] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:33:25] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:27] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:33:27] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:33:27] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:33:27] local.INFO: TCP Data received {"connection_id":179148,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:33:27] local.INFO: Processing buffer {"connection_id":179148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:33:27] local.INFO: IMEI packet received {"connection_id":179148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":179148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:33:32] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:33:32] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:33:32] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:33:32] local.INFO: TCP Data received {"connection_id":179148,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:33:32] local.INFO: Processing buffer {"connection_id":179148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:33:32] local.INFO: IMEI packet received {"connection_id":179148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":179148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:33:32] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac54438012d0b86c0070350d00014003809..."} 
[2026-09-10 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac54438012d0b86c0070350d00014003809..."} 
[2026-09-10 15:33:32] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac54438012d0b86c0070350d00014003809..."} 
[2026-09-10 15:33:32] local.INFO: Packet analysis {"connection_id":176601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:33:32] local.INFO: Extracted packet for processing {"connection_id":176601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":755730112,"raw_latitude":117657808,"longitude_deg":75.5730112,"latitude_deg":11.7657808,"altitude":20,"angle":56,"satellites":9,"speed":12,"hex_longitude":"2d0b86c0","hex_latitude":"070350d0","is_valid_coordinates":true} 
[2026-09-10 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992851968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142666129375232,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830351211416786944,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33: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-09-10 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789034579000,"timestamp_ms":1789034579000,"timestamp_seconds":1789034579,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac54438"} 
[2026-09-10 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992851968001,"66":14439,"17":206,"94":11008,"24":12,"16":31142666129375232,"45":830351211416786944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992851968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:33:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31142666129375232,"km_value":31142666129375.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":830351211416786944,"description":"Unknown IO ID 45"} 
[2026-09-10 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992851968001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":830351211416786944}} 
[2026-09-10 15:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":176601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:33:33] local.INFO: GPS data processed {"connection_id":176601,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:33:33] local.INFO: Acknowledgment sent {"connection_id":176601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:33] local.INFO: TCP Data received {"connection_id":179148,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac40bb8012d196840071fede8003f011d24..."} 
[2026-09-10 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac40bb8012d196840071fede8003f011d24..."} 
[2026-09-10 15:33:33] local.INFO: Processing buffer {"connection_id":179148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac40bb8012d196840071fede8003f011d24..."} 
[2026-09-10 15:33:33] local.INFO: Packet analysis {"connection_id":179148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:33:33] local.INFO: Extracted packet for processing {"connection_id":179148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992826368001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034499000,"timestamp_ms":1789034499000,"timestamp_seconds":1789034499,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac40bb8"} 
[2026-09-10 15:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992826368001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992826368001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:33:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:33:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992826368001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":179148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:33:33] local.INFO: GPS data processed {"connection_id":179148,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:33:33] local.INFO: Acknowledgment sent {"connection_id":179148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:56] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:33:56] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:33:56] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:33:56] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:33:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:33:56] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:33:56] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:33:58] local.INFO: TCP Data received {"connection_id":176367,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:58] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:33:58] local.INFO: IMEI packet received {"connection_id":176367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":176367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:34:03] local.INFO: TCP Data received {"connection_id":176367,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:34:03] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:34:03] local.INFO: IMEI packet received {"connection_id":176367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":176367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:34:04] local.INFO: TCP Data received {"connection_id":176367,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac432c8012d7a130005ec7ef0000a005525..."} 
[2026-09-10 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac432c8012d7a130005ec7ef0000a005525..."} 
[2026-09-10 15:34:04] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac432c8012d7a130005ec7ef0000a005525..."} 
[2026-09-10 15:34:04] local.INFO: Packet analysis {"connection_id":176367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:04] local.INFO: Extracted packet for processing {"connection_id":176367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385072,"longitude_deg":76.2974976,"latitude_deg":9.9385072,"altitude":10,"angle":85,"satellites":37,"speed":2,"hex_longitude":"2d7a1300","hex_latitude":"05ec7ef0","is_valid_coordinates":true} 
[2026-09-10 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992833792001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722595283664896,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153883103232,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789034509000,"timestamp_ms":1789034509000,"timestamp_seconds":1789034509,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac432c8"} 
[2026-09-10 15:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632491,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2328081864,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3428523546010189824,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3287822337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124332132,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639533184470615,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967815680,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1657331176201781256,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,107,160,19,45,128,126,10,36,66,7,192,127,37,1,240,46,227,138,236,4,113,205,189,22,239,52,2,208,5,8,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-10 15:34:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720655264130400256,"timestamp_seconds":720655264130400.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992833792001,"66":13820,"100":206,"87":13824,"24":2,"16":130722595283664896,"45":8796304153883103232},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992833792001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722595283664896,"km_value":130722595283664.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153883103232,"description":"Unknown IO ID 45"} 
[2026-09-10 15:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992833792001,"power":13820,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8796304153883103232}} 
[2026-09-10 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":176367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:04] local.INFO: GPS data processed {"connection_id":176367,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:04] local.INFO: Acknowledgment sent {"connection_id":176367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:04] local.INFO: TCP Data received {"connection_id":179148,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac45dc0012d196840071fede8003f011d25..."} 
[2026-09-10 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac45dc0012d196840071fede8003f011d25..."} 
[2026-09-10 15:34:04] local.INFO: Processing buffer {"connection_id":179148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac45dc0012d196840071fede8003f011d25..."} 
[2026-09-10 15:34:04] local.INFO: Packet analysis {"connection_id":179148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:04] local.INFO: Extracted packet for processing {"connection_id":179148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992831744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34: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-09-10 15:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789034520000,"timestamp_ms":1789034520000,"timestamp_seconds":1789034520,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac45dc0"} 
[2026-09-10 15:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992831744001,"66":12319,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992831744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992831744001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":179148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:05] local.INFO: GPS data processed {"connection_id":179148,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:05] local.INFO: Acknowledgment sent {"connection_id":179148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:09] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac54820012d0b8800070351080014004b09..."} 
[2026-09-10 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac54820012d0b8800070351080014004b09..."} 
[2026-09-10 15:34:09] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac54820012d0b8800070351080014004b09..."} 
[2026-09-10 15:34:09] local.INFO: Packet analysis {"connection_id":176601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:34:09] local.INFO: Extracted packet for processing {"connection_id":176601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:34:09] local.INFO: GPS Element Parsed {"raw_longitude":755730432,"raw_latitude":117657864,"longitude_deg":75.5730432,"latitude_deg":11.7657864,"altitude":20,"angle":75,"satellites":9,"speed":11,"hex_longitude":"2d0b8800","hex_latitude":"07035108","is_valid_coordinates":true} 
[2026-09-10 15:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992852224001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31142679014277120,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830562317649367040,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34: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-09-10 15:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789034580000,"timestamp_ms":1789034580000,"timestamp_seconds":1789034580,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac54820"} 
[2026-09-10 15:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34: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-09-10 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992852224001,"66":14515,"17":206,"94":11008,"24":11,"16":31142679014277120,"45":830562317649367040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 15:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992852224001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31142679014277120,"km_value":31142679014277.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":830562317649367040,"description":"Unknown IO ID 45"} 
[2026-09-10 15:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992852224001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":830562317649367040}} 
[2026-09-10 15:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":176601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:09] local.INFO: GPS data processed {"connection_id":176601,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:09] local.INFO: Acknowledgment sent {"connection_id":176601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:19] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:34:19] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:34:19] local.INFO: IMEI packet received {"connection_id":176602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":176602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:34:24] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:34:24] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:34:24] local.INFO: IMEI packet received {"connection_id":176602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":176602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:34:25] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:34:25] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:34:25] local.INFO: Packet analysis {"connection_id":176602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:34:25] local.INFO: Extracted packet for processing {"connection_id":176602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":176602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:25] local.INFO: GPS data processed {"connection_id":176602,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:25] local.INFO: Acknowledgment sent {"connection_id":176602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:27] local.INFO: TCP Data received {"connection_id":176368,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:34:27] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:34:27] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:34:32] local.INFO: TCP Data received {"connection_id":176368,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:34:32] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:34:32] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:34:33] local.INFO: TCP Data received {"connection_id":176368,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac4afc8012d196840071fede8003f011d25..."} 
[2026-09-10 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac4afc8012d196840071fede8003f011d25..."} 
[2026-09-10 15:34:33] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac4afc8012d196840071fede8003f011d25..."} 
[2026-09-10 15:34:33] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:33] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992837120001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034541000,"timestamp_ms":1789034541000,"timestamp_seconds":1789034541,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac4afc8"} 
[2026-09-10 15:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:33] 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-09-10 15: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-09-10 15:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992837120001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992837120001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992837120001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:33] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:33] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:35] local.INFO: TCP Data received {"connection_id":176367,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac43e80012d7a140005ec7ed0000a006224..."} 
[2026-09-10 15:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac43e80012d7a140005ec7ed0000a006224..."} 
[2026-09-10 15:34:35] local.INFO: Processing buffer {"connection_id":176367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac43e80012d7a140005ec7ed0000a006224..."} 
[2026-09-10 15:34:35] local.INFO: Packet analysis {"connection_id":176367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:35] local.INFO: Extracted packet for processing {"connection_id":176367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:34:35] local.INFO: GPS Element Parsed {"raw_longitude":762975232,"raw_latitude":99385040,"longitude_deg":76.2975232,"latitude_deg":9.938504,"altitude":10,"angle":98,"satellites":36,"speed":2,"hex_longitude":"2d7a1400","hex_latitude":"05ec7ed0","is_valid_coordinates":true} 
[2026-09-10 15:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992834304001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722603873599488,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627289088,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789034512000,"timestamp_ms":1789034512000,"timestamp_seconds":1789034512,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac43e80"} 
[2026-09-10 15:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992834304001,"66":13678,"100":206,"87":13824,"24":2,"16":130722603873599488,"45":8796374522627289088},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992834304001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:34:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722603873599488,"km_value":130722603873599.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627289088,"description":"Unknown IO ID 45"} 
[2026-09-10 15:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992834304001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8796374522627289088}} 
[2026-09-10 15:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":176367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:35] local.INFO: GPS data processed {"connection_id":176367,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:35] local.INFO: Acknowledgment sent {"connection_id":176367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:36] local.INFO: TCP Data received {"connection_id":179150,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:36] local.INFO: Processing buffer {"connection_id":179150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:36] local.INFO: IMEI packet received {"connection_id":179150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":179150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:34:37] local.INFO: TCP Data received {"connection_id":179150,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:38] local.INFO: Processing buffer {"connection_id":179150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:38] local.INFO: IMEI packet received {"connection_id":179150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":179150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:34:42] local.INFO: TCP Data received {"connection_id":179150,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:42] local.INFO: Processing buffer {"connection_id":179150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:34:42] local.INFO: IMEI packet received {"connection_id":179150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":179150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:34:43] local.INFO: TCP Data received {"connection_id":179150,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac68488012d0bf70007035ac8000600630b..."} 
[2026-09-10 15:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac68488012d0bf70007035ac8000600630b..."} 
[2026-09-10 15:34:43] local.INFO: Processing buffer {"connection_id":179150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac68488012d0bf70007035ac8000600630b..."} 
[2026-09-10 15:34:43] local.INFO: Packet analysis {"connection_id":179150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:34:43] local.INFO: Extracted packet for processing {"connection_id":179150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:34:43] local.INFO: GPS Element Parsed {"raw_longitude":755758848,"raw_latitude":117660360,"longitude_deg":75.5758848,"latitude_deg":11.766036,"altitude":6,"angle":99,"satellites":11,"speed":17,"hex_longitude":"2d0bf700","hex_latitude":"07035ac8","is_valid_coordinates":true} 
[2026-09-10 15:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992871424001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31144057698779136,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857795021646663680,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789034661000,"timestamp_ms":1789034661000,"timestamp_seconds":1789034661,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac68488"} 
[2026-09-10 15:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992871424001,"66":14515,"17":206,"94":11008,"24":17,"16":31144057698779136,"45":857795021646663680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-10 15:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992871424001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31144057698779136,"km_value":31144057698779.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":857795021646663680,"description":"Unknown IO ID 45"} 
[2026-09-10 15:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992871424001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":857795021646663680}} 
[2026-09-10 15:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":179150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:44] local.INFO: GPS data processed {"connection_id":179150,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:44] local.INFO: Acknowledgment sent {"connection_id":179150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:56] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:34:56] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:34:56] local.INFO: Packet analysis {"connection_id":176602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:34:56] local.INFO: Extracted packet for processing {"connection_id":176602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:34:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:34:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":176602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:34:56] local.INFO: GPS data processed {"connection_id":176602,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:34:56] local.INFO: Acknowledgment sent {"connection_id":176602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:34:58] local.INFO: TCP Data received {"connection_id":177776,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:34:58] local.INFO: Processing buffer {"connection_id":177776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:34:58] local.INFO: IMEI packet received {"connection_id":177776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":177776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:35:03] local.INFO: TCP Data received {"connection_id":177776,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:35:03] local.INFO: Processing buffer {"connection_id":177776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:35:03] local.INFO: IMEI packet received {"connection_id":177776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":177776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:35:04] local.INFO: TCP Data received {"connection_id":177776,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac44268012d7a140005ec7eb8000a007523..."} 
[2026-09-10 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac44268012d7a140005ec7eb8000a007523..."} 
[2026-09-10 15:35:04] local.INFO: Processing buffer {"connection_id":177776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac44268012d7a140005ec7eb8000a007523..."} 
[2026-09-10 15:35:04] local.INFO: Packet analysis {"connection_id":177776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:35:04] local.INFO: Extracted packet for processing {"connection_id":177776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":762975232,"raw_latitude":99385016,"longitude_deg":76.2975232,"latitude_deg":9.9385016,"altitude":10,"angle":117,"satellites":35,"speed":1,"hex_longitude":"2d7a1400","hex_latitude":"05ec7eb8","is_valid_coordinates":true} 
[2026-09-10 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992835072001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722608168566784,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796655997603991552,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789034513000,"timestamp_ms":1789034513000,"timestamp_seconds":1789034513,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac44268"} 
[2026-09-10 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 15:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992835072001,"66":13678,"100":206,"87":13824,"24":1,"16":130722608168566784,"45":8796655997603991552},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992835072001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722608168566784,"km_value":130722608168566.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796655997603991552,"description":"Unknown IO ID 45"} 
[2026-09-10 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992835072001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8796655997603991552}} 
[2026-09-10 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":177776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:35:04] local.INFO: GPS data processed {"connection_id":177776,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:35:04] local.INFO: Acknowledgment sent {"connection_id":177776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:35:05] local.INFO: TCP Data received {"connection_id":176368,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac501d0012d196840071fede8003f011d26..."} 
[2026-09-10 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac501d0012d196840071fede8003f011d26..."} 
[2026-09-10 15:35:05] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac501d0012d196840071fede8003f011d26..."} 
[2026-09-10 15:35:05] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:35:05] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992842496001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789034562000,"timestamp_ms":1789034562000,"timestamp_seconds":1789034562,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac501d0"} 
[2026-09-10 15:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:35: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-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:35: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-09-10 15:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992842496001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992842496001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992842496001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:35:05] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:35:05] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:35:19] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:35:19] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:35:19] local.INFO: IMEI packet received {"connection_id":176603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":176603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:35:24] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:35:24] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:35:24] local.INFO: IMEI packet received {"connection_id":176603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":176603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:35:25] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:35:25] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:35:25] local.INFO: Packet analysis {"connection_id":176603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:35:25] local.INFO: Extracted packet for processing {"connection_id":176603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:35:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:35:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":176603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:35:25] local.INFO: GPS data processed {"connection_id":176603,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:35:25] local.INFO: Acknowledgment sent {"connection_id":176603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:35:26] local.INFO: TCP Data received {"connection_id":179151,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:26] local.INFO: Processing buffer {"connection_id":179151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:26] local.INFO: IMEI packet received {"connection_id":179151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":179151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:35:27] local.INFO: TCP Data received {"connection_id":179151,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:27] local.INFO: Processing buffer {"connection_id":179151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:27] local.INFO: IMEI packet received {"connection_id":179151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":179151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:35:27] local.INFO: TCP Data received {"connection_id":179151,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:27] local.INFO: Processing buffer {"connection_id":179151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:27] local.INFO: IMEI packet received {"connection_id":179151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":179151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:35:30] local.INFO: TCP Data received {"connection_id":179151,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:30] local.INFO: Processing buffer {"connection_id":179151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:35:30] local.INFO: IMEI packet received {"connection_id":179151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":179151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:35:32] local.INFO: TCP Data received {"connection_id":177777,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:35:32] local.INFO: Processing buffer {"connection_id":177777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:35:32] local.INFO: IMEI packet received {"connection_id":177777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":177777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:35:35] local.INFO: TCP Data received {"connection_id":177776,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac44a38012d7a144005ec7e70000a008425..."} 
[2026-09-10 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac44a38012d7a144005ec7e70000a008425..."} 
[2026-09-10 15:35:35] local.INFO: Processing buffer {"connection_id":177776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac44a38012d7a144005ec7e70000a008425..."} 
[2026-09-10 15:35:35] local.INFO: Packet analysis {"connection_id":177776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:35:35] local.INFO: Extracted packet for processing {"connection_id":177776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":762975296,"raw_latitude":99384944,"longitude_deg":76.2975296,"latitude_deg":9.9384944,"altitude":10,"angle":132,"satellites":37,"speed":2,"hex_longitude":"2d7a1440","hex_latitude":"05ec7e70","is_valid_coordinates":true} 
[2026-09-10 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992835328001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722612463534080,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796655997603985408,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789034515000,"timestamp_ms":1789034515000,"timestamp_seconds":1789034515,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac44a38"} 
[2026-09-10 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 15:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992835328001,"66":13450,"100":206,"87":13824,"24":2,"16":130722612463534080,"45":8796655997603985408},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992835328001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722612463534080,"km_value":130722612463534.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796655997603985408,"description":"Unknown IO ID 45"} 
[2026-09-10 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992835328001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8796655997603985408}} 
[2026-09-10 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":177776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:35:35] local.INFO: GPS data processed {"connection_id":177776,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:35:35] local.INFO: Acknowledgment sent {"connection_id":177776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:35:37] local.INFO: TCP Data received {"connection_id":177777,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:35:37] local.INFO: Processing buffer {"connection_id":177777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:35:37] local.INFO: IMEI packet received {"connection_id":177777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":177777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:35:39] local.INFO: TCP Data received {"connection_id":177777,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac553d8012d196840071fede8003f011d24..."} 
[2026-09-10 15:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac553d8012d196840071fede8003f011d24..."} 
[2026-09-10 15:35:39] local.INFO: Processing buffer {"connection_id":177777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac553d8012d196840071fede8003f011d24..."} 
[2026-09-10 15:35:39] local.INFO: Packet analysis {"connection_id":177777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:35:39] local.INFO: Extracted packet for processing {"connection_id":177777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992847872001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35: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-09-10 15:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789034583000,"timestamp_ms":1789034583000,"timestamp_seconds":1789034583,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac553d8"} 
[2026-09-10 15:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:35: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-09-10 15: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-09-10 15:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992847872001,"66":11602,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992847872001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:35:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992847872001,"power":11602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":177777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:35:39] local.INFO: GPS data processed {"connection_id":177777,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:35:39] local.INFO: Acknowledgment sent {"connection_id":177777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:35:43] local.INFO: TCP Data received {"connection_id":177777,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac5a5e0012d196840071fede8003f011d26..."} 
[2026-09-10 15:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac5a5e0012d196840071fede8003f011d26..."} 
[2026-09-10 15:35:43] local.INFO: Processing buffer {"connection_id":177777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac5a5e0012d196840071fede8003f011d26..."} 
[2026-09-10 15:35:43] local.INFO: Packet analysis {"connection_id":177777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:35:43] local.INFO: Extracted packet for processing {"connection_id":177777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992853248001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35: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-09-10 15:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789034604000,"timestamp_ms":1789034604000,"timestamp_seconds":1789034604,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac5a5e0"} 
[2026-09-10 15:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 15:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992853248001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992853248001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:35:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992853248001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":177777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:35:43] local.INFO: GPS data processed {"connection_id":177777,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:35:43] local.INFO: Acknowledgment sent {"connection_id":177777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:35:56] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:35:56] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac2eaa8012cc33340076855f0005b015f29..."} 
[2026-09-10 15:35:56] local.INFO: Packet analysis {"connection_id":176603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:35:56] local.INFO: Extracted packet for processing {"connection_id":176603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac2"} 
[2026-09-10 15:35:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992735744001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034425000,"timestamp_ms":1789034425000,"timestamp_seconds":1789034425,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac2eaa8"} 
[2026-09-10 15:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 15:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992735744001,"66":25854,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992735744001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:35:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992735744001,"power":25854,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":176603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:35:56] local.INFO: GPS data processed {"connection_id":176603,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:35:56] local.INFO: Acknowledgment sent {"connection_id":176603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:35:58] local.INFO: TCP Data received {"connection_id":179153,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:35:58] local.INFO: Processing buffer {"connection_id":179153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:35:58] local.INFO: IMEI packet received {"connection_id":179153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":179153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:36:03] local.INFO: TCP Data received {"connection_id":179153,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:36:03] local.INFO: Processing buffer {"connection_id":179153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:36:03] local.INFO: IMEI packet received {"connection_id":179153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":179153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:36:05] local.INFO: TCP Data received {"connection_id":179153,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac49c40012d7a150005ec7dd0000a008123..."} 
[2026-09-10 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac49c40012d7a150005ec7dd0000a008123..."} 
[2026-09-10 15:36:05] local.INFO: Processing buffer {"connection_id":179153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac49c40012d7a150005ec7dd0000a008123..."} 
[2026-09-10 15:36:05] local.INFO: Packet analysis {"connection_id":179153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:36:05] local.INFO: Extracted packet for processing {"connection_id":179153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac4"} 
[2026-09-10 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99384784,"longitude_deg":76.2975488,"latitude_deg":9.9384784,"altitude":10,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec7dd0","is_valid_coordinates":true} 
[2026-09-10 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992835840001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796726366348144640,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789034536000,"timestamp_ms":1789034536000,"timestamp_seconds":1789034536,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac49c40"} 
[2026-09-10 15:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:36: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-09-10 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 15:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992835840001,"66":13504,"100":206,"87":13824,"24":0,"16":130722625348435968,"45":8796726366348144640},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-10 15:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992835840001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:36:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:36:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722625348435968,"km_value":130722625348435.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796726366348144640,"description":"Unknown IO ID 45"} 
[2026-09-10 15:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992835840001,"power":13504,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796726366348144640}} 
[2026-09-10 15:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":179153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:36:05] local.INFO: GPS data processed {"connection_id":179153,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:36:05] local.INFO: Acknowledgment sent {"connection_id":179153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:36:24] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:36:24] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:36:24] local.INFO: IMEI packet received {"connection_id":176369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":176369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:36:29] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:36:29] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:36:29] local.INFO: IMEI packet received {"connection_id":176369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":176369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:36:30] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:36:30] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:36:30] local.INFO: Packet analysis {"connection_id":176369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:36:30] local.INFO: Extracted packet for processing {"connection_id":176369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:36: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-09-10 15:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:36:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":176369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:36:30] local.INFO: GPS data processed {"connection_id":176369,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:36:30] local.INFO: Acknowledgment sent {"connection_id":176369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:36:30] local.INFO: TCP Data received {"connection_id":176370,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:36:30] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:36:30] local.INFO: IMEI packet received {"connection_id":176370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":176370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:36:30] local.INFO: TCP Data received {"connection_id":176370,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:36:30] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:36:30] local.INFO: IMEI packet received {"connection_id":176370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":176370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:36:32] local.INFO: TCP Data received {"connection_id":176370,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac5f7e8012d196840071fede8003f011d25..."} 
[2026-09-10 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac5f7e8012d196840071fede8003f011d25..."} 
[2026-09-10 15:36:32] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac5f7e8012d196840071fede8003f011d25..."} 
[2026-09-10 15:36:32] local.INFO: Packet analysis {"connection_id":176370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:36:32] local.INFO: Extracted packet for processing {"connection_id":176370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac5"} 
[2026-09-10 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992858624001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789034625000,"timestamp_ms":1789034625000,"timestamp_seconds":1789034625,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac5f7e8"} 
[2026-09-10 15:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992858624001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992858624001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:36:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992858624001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":176370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:36:32] local.INFO: GPS data processed {"connection_id":176370,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:36:32] local.INFO: Acknowledgment sent {"connection_id":176370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:36:33] local.INFO: TCP Data received {"connection_id":176370,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac649f0012d196840071fede8003f011d26..."} 
[2026-09-10 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac649f0012d196840071fede8003f011d26..."} 
[2026-09-10 15:36:33] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac649f0012d196840071fede8003f011d26..."} 
[2026-09-10 15:36:33] local.INFO: Packet analysis {"connection_id":176370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:36:33] local.INFO: Extracted packet for processing {"connection_id":176370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992864000001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034646000,"timestamp_ms":1789034646000,"timestamp_seconds":1789034646,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac649f0"} 
[2026-09-10 15:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992864000001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992864000001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:36:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992864000001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":176370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:36:33] local.INFO: GPS data processed {"connection_id":176370,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:36:33] local.INFO: Acknowledgment sent {"connection_id":176370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:36:34] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:36:34] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:36:34] local.INFO: Packet analysis {"connection_id":176369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:36:34] local.INFO: Extracted packet for processing {"connection_id":176369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:36: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-09-10 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:36:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":176369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:36:34] local.INFO: GPS data processed {"connection_id":176369,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:36:34] local.INFO: Acknowledgment sent {"connection_id":176369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:37:01] local.INFO: TCP Data received {"connection_id":176605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:37:01] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:37:01] local.INFO: IMEI packet received {"connection_id":176605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":176605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:37:06] local.INFO: TCP Data received {"connection_id":176370,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac69bf8012d196840071fede8003f011d25..."} 
[2026-09-10 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac69bf8012d196840071fede8003f011d25..."} 
[2026-09-10 15:37:06] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac69bf8012d196840071fede8003f011d25..."} 
[2026-09-10 15:37:06] local.INFO: Packet analysis {"connection_id":176370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:37:06] local.INFO: Extracted packet for processing {"connection_id":176370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992869376001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37: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-09-10 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789034667000,"timestamp_ms":1789034667000,"timestamp_seconds":1789034667,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac69bf8"} 
[2026-09-10 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-09-10 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:37: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-09-10 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-09-10 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-09-10 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992869376001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992869376001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992869376001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":176370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:37:06] local.INFO: GPS data processed {"connection_id":176370,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:37:06] local.INFO: Acknowledgment sent {"connection_id":176370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:37:19] local.INFO: TCP Data received {"connection_id":177778,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:37:19] local.INFO: Processing buffer {"connection_id":177778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:37:19] local.INFO: IMEI packet received {"connection_id":177778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":177778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:37:24] local.INFO: TCP Data received {"connection_id":177778,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:37:24] local.INFO: Processing buffer {"connection_id":177778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:37:24] local.INFO: IMEI packet received {"connection_id":177778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":177778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:37:25] local.INFO: TCP Data received {"connection_id":177778,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:37:25] local.INFO: Processing buffer {"connection_id":177778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:37:25] local.INFO: Packet analysis {"connection_id":177778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:37:25] local.INFO: Extracted packet for processing {"connection_id":177778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:37:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:37:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":177778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:37:25] local.INFO: GPS data processed {"connection_id":177778,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:37:25] local.INFO: Acknowledgment sent {"connection_id":177778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:37:27] local.INFO: TCP Data received {"connection_id":179155,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:37:27] local.INFO: Processing buffer {"connection_id":179155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:37:27] local.INFO: IMEI packet received {"connection_id":179155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":179155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:37:32] local.INFO: TCP Data received {"connection_id":179155,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:37:32] local.INFO: Processing buffer {"connection_id":179155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:37:32] local.INFO: IMEI packet received {"connection_id":179155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":179155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:37:34] local.INFO: TCP Data received {"connection_id":179155,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac6ee00012d196840071fede8003f011d26..."} 
[2026-09-10 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac6ee00012d196840071fede8003f011d26..."} 
[2026-09-10 15:37:34] local.INFO: Processing buffer {"connection_id":179155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac6ee00012d196840071fede8003f011d26..."} 
[2026-09-10 15:37:34] local.INFO: Packet analysis {"connection_id":179155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:37:34] local.INFO: Extracted packet for processing {"connection_id":179155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac6"} 
[2026-09-10 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992874752001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789034688000,"timestamp_ms":1789034688000,"timestamp_seconds":1789034688,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac6ee00"} 
[2026-09-10 15:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992874752001,"66":12428,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992874752001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:37:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:37:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992874752001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":179155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:37:34] local.INFO: GPS data processed {"connection_id":179155,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:37:34] local.INFO: Acknowledgment sent {"connection_id":179155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:37:56] local.INFO: TCP Data received {"connection_id":177778,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:37:56] local.INFO: Processing buffer {"connection_id":177778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:37:56] local.INFO: Packet analysis {"connection_id":177778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:37:56] local.INFO: Extracted packet for processing {"connection_id":177778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:37:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:37:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:37:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":177778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:37:56] local.INFO: GPS data processed {"connection_id":177778,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:37:56] local.INFO: Acknowledgment sent {"connection_id":177778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:38:06] local.INFO: TCP Data received {"connection_id":179155,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac74008012d196840071fede8003f011d25..."} 
[2026-09-10 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac74008012d196840071fede8003f011d25..."} 
[2026-09-10 15:38:06] local.INFO: Processing buffer {"connection_id":179155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac74008012d196840071fede8003f011d25..."} 
[2026-09-10 15:38:06] local.INFO: Packet analysis {"connection_id":179155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:06] local.INFO: Extracted packet for processing {"connection_id":179155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992880128001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38: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-09-10 15:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789034709000,"timestamp_ms":1789034709000,"timestamp_seconds":1789034709,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac74008"} 
[2026-09-10 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-09-10 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 15:38: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-09-10 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-09-10 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-09-10 15:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992880128001,"66":11297,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992880128001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:38:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992880128001,"power":11297,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":179155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:38:06] local.INFO: GPS data processed {"connection_id":179155,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:38:06] local.INFO: Acknowledgment sent {"connection_id":179155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:38:19] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:38:19] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:38:19] local.INFO: IMEI packet received {"connection_id":176372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":176372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:38:24] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:38:24] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:38:24] local.INFO: IMEI packet received {"connection_id":176372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":176372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:38:25] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:38:25] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:38:25] local.INFO: Packet analysis {"connection_id":176372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:25] local.INFO: Extracted packet for processing {"connection_id":176372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:38:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":176372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:38:25] local.INFO: GPS data processed {"connection_id":176372,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:38:25] local.INFO: Acknowledgment sent {"connection_id":176372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:38:27] local.INFO: TCP Data received {"connection_id":176607,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:38:27] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:38:27] local.INFO: IMEI packet received {"connection_id":176607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":176607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:38:32] local.INFO: TCP Data received {"connection_id":176607,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:38:32] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:38:32] local.INFO: IMEI packet received {"connection_id":176607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":176607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:38:33] local.INFO: TCP Data received {"connection_id":176607,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac79210012d196840071fede8003f011d25..."} 
[2026-09-10 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac79210012d196840071fede8003f011d25..."} 
[2026-09-10 15:38:33] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac79210012d196840071fede8003f011d25..."} 
[2026-09-10 15:38:33] local.INFO: Packet analysis {"connection_id":176607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:33] local.INFO: Extracted packet for processing {"connection_id":176607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992885504001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034730000,"timestamp_ms":1789034730000,"timestamp_seconds":1789034730,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac79210"} 
[2026-09-10 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-09-10 15:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 15:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992885504001,"66":11613,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992885504001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:38:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:38:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992885504001,"power":11613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":176607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:38:33] local.INFO: GPS data processed {"connection_id":176607,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:38:33] local.INFO: Acknowledgment sent {"connection_id":176607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:38:56] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:38:56] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:38:56] local.INFO: Packet analysis {"connection_id":176372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:56] local.INFO: Extracted packet for processing {"connection_id":176372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:38:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:38:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":176372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:38:56] local.INFO: GPS data processed {"connection_id":176372,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:38:56] local.INFO: Acknowledgment sent {"connection_id":176372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:39:05] local.INFO: TCP Data received {"connection_id":176607,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac7e418012d196840071fede8003f011d25..."} 
[2026-09-10 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac7e418012d196840071fede8003f011d25..."} 
[2026-09-10 15:39:05] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac7e418012d196840071fede8003f011d25..."} 
[2026-09-10 15:39:05] local.INFO: Packet analysis {"connection_id":176607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:39:05] local.INFO: Extracted packet for processing {"connection_id":176607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39: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-09-10 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789034751000,"timestamp_ms":1789034751000,"timestamp_seconds":1789034751,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac7e418"} 
[2026-09-10 15:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-10 15:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992890880001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992890880001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":176607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:39:06] local.INFO: GPS data processed {"connection_id":176607,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:39:06] local.INFO: Acknowledgment sent {"connection_id":176607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:39:19] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:39:19] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:39:19] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:39:24] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:39:24] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:39:24] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:39:25] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:39:25] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:39:25] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:39:25] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:39:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:39:25] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:39:25] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:39:27] local.INFO: TCP Data received {"connection_id":176375,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:39:27] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:39:27] local.INFO: IMEI packet received {"connection_id":176375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":176375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:39:32] local.INFO: TCP Data received {"connection_id":176375,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:39:32] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:39:32] local.INFO: IMEI packet received {"connection_id":176375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":176375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:39:34] local.INFO: TCP Data received {"connection_id":176375,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac83620012d196840071fede8003f011d24..."} 
[2026-09-10 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac83620012d196840071fede8003f011d24..."} 
[2026-09-10 15:39:34] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac83620012d196840071fede8003f011d24..."} 
[2026-09-10 15:39:34] local.INFO: Packet analysis {"connection_id":176375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac8"} 
[2026-09-10 15:39:34] local.INFO: Extracted packet for processing {"connection_id":176375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac8"} 
[2026-09-10 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992896256001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789034772000,"timestamp_ms":1789034772000,"timestamp_seconds":1789034772,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac83620"} 
[2026-09-10 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992896256001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992896256001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:39:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:39:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992896256001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":176375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:39:34] local.INFO: GPS data processed {"connection_id":176375,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:39:34] local.INFO: Acknowledgment sent {"connection_id":176375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:39:56] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:39:56] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:39:56] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:39:56] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 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-09-10 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:39:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:39:56] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:39:56] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:40:06] local.INFO: TCP Data received {"connection_id":176375,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac88828012d196840071fede8003f011d24..."} 
[2026-09-10 15:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac88828012d196840071fede8003f011d24..."} 
[2026-09-10 15:40:06] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac88828012d196840071fede8003f011d24..."} 
[2026-09-10 15:40:06] local.INFO: Packet analysis {"connection_id":176375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac8"} 
[2026-09-10 15:40:06] local.INFO: Extracted packet for processing {"connection_id":176375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac8"} 
[2026-09-10 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992901632001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789034793000,"timestamp_ms":1789034793000,"timestamp_seconds":1789034793,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac88828"} 
[2026-09-10 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-09-10 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:40: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-09-10 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-09-10 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-09-10 15:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992901632001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992901632001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992901632001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":176375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:40:06] local.INFO: GPS data processed {"connection_id":176375,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:40:06] local.INFO: Acknowledgment sent {"connection_id":176375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:40:19] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:40:19] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:40:19] local.INFO: IMEI packet received {"connection_id":176610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":176610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:40:24] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:40:24] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:40:24] local.INFO: IMEI packet received {"connection_id":176610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":176610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:40:25] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:40:25] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:40:25] local.INFO: Packet analysis {"connection_id":176610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:40:25] local.INFO: Extracted packet for processing {"connection_id":176610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:40:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":176610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:40:25] local.INFO: GPS data processed {"connection_id":176610,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:40:25] local.INFO: Acknowledgment sent {"connection_id":176610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:40:32] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:40:32] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:40:32] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:40:32] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:40:32] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:40:32] local.INFO: IMEI packet received {"connection_id":177779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":177779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:40:34] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:40:34] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:40:34] local.INFO: IMEI packet received {"connection_id":177779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":177779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:40:35] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acbef40012d0cad8007044338001d001610..."} 
[2026-09-10 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acbef40012d0cad8007044338001d001610..."} 
[2026-09-10 15:40:35] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acbef40012d0cad8007044338001d001610..."} 
[2026-09-10 15:40:35] local.INFO: Packet analysis {"connection_id":177779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:40:35] local.INFO: Extracted packet for processing {"connection_id":177779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":755805568,"raw_latitude":117719864,"longitude_deg":75.5805568,"latitude_deg":11.7719864,"altitude":29,"angle":22,"satellites":16,"speed":34,"hex_longitude":"2d0cad80","hex_latitude":"07044338","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992961280001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31149301853847552,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909093836165261312,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789035016000,"timestamp_ms":1789035016000,"timestamp_seconds":1789035016,"priority":1,"record_length":96,"hex_timestamp":"000001a08acbef40"} 
[2026-09-10 15:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 15:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992961280001,"66":14548,"16":31149301853847552,"94":11008,"24":34,"45":909093836165261312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 15:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992961280001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31149301853847552,"km_value":31149301853847.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:40:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":909093836165261312,"description":"Unknown IO ID 45"} 
[2026-09-10 15:40:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457992961280001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":909093836165261312}} 
[2026-09-10 15:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":177779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:40:35] local.INFO: GPS data processed {"connection_id":177779,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:40:35] local.INFO: Acknowledgment sent {"connection_id":177779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:40:37] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:40:37] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:40:37] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:40:37] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc0e80012d0cb60007045df0001d000910..."} 
[2026-09-10 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc0e80012d0cb60007045df0001d000910..."} 
[2026-09-10 15:40:37] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc0e80012d0cb60007045df0001d000910..."} 
[2026-09-10 15:40:37] local.INFO: Packet analysis {"connection_id":177779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:40:37] local.INFO: Extracted packet for processing {"connection_id":177779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":755807744,"raw_latitude":117726704,"longitude_deg":75.5807744,"latitude_deg":11.7726704,"altitude":29,"angle":9,"satellites":16,"speed":33,"hex_longitude":"2d0cb600","hex_latitude":"07045df0","is_valid_coordinates":true} 
[2026-09-10 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992964096001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31149649746198528,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913527067050719232,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789035024000,"timestamp_ms":1789035024000,"timestamp_seconds":1789035024,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc0e80"} 
[2026-09-10 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:40: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-09-10 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 15:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992964096001,"66":14450,"16":31149649746198528,"94":11008,"24":33,"45":913527067050719232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992964096001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31149649746198528,"km_value":31149649746198.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:40:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":913527067050719232,"description":"Unknown IO ID 45"} 
[2026-09-10 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457992964096001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":913527067050719232}} 
[2026-09-10 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":177779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794610,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:40:37] local.INFO: GPS data processed {"connection_id":177779,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:40:37] local.INFO: Acknowledgment sent {"connection_id":177779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:40:38] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac8da30012d196840071fede8003f011d25..."} 
[2026-09-10 15:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac8da30012d196840071fede8003f011d25..."} 
[2026-09-10 15:40:38] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac8da30012d196840071fede8003f011d25..."} 
[2026-09-10 15:40:38] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac8"} 
[2026-09-10 15:40:38] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac8"} 
[2026-09-10 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992907008001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789034814000,"timestamp_ms":1789034814000,"timestamp_seconds":1789034814,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac8da30"} 
[2026-09-10 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-09-10 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:40:38] 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-09-10 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-09-10 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-09-10 15:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992907008001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992907008001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992907008001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:40:38] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:40:38] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:40:41] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac92c38012d196840071fede8003f011d25..."} 
[2026-09-10 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac92c38012d196840071fede8003f011d25..."} 
[2026-09-10 15:40:41] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac92c38012d196840071fede8003f011d25..."} 
[2026-09-10 15:40:41] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac9"} 
[2026-09-10 15:40:41] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac9"} 
[2026-09-10 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992912384001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40: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-09-10 15:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789034835000,"timestamp_ms":1789034835000,"timestamp_seconds":1789034835,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac92c38"} 
[2026-09-10 15:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:40: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-09-10 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992912384001,"66":12254,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992912384001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:40:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992912384001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:40:41] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:40:41] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:40:56] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:40:56] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac78270012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:40:56] local.INFO: Packet analysis {"connection_id":176610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:40:56] local.INFO: Extracted packet for processing {"connection_id":176610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac7"} 
[2026-09-10 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992812800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789034726000,"timestamp_ms":1789034726000,"timestamp_seconds":1789034726,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac78270"} 
[2026-09-10 15:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 15:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992812800001,"66":25897,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992812800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:40:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:40:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992812800001,"power":25897,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":176610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:40:56] local.INFO: GPS data processed {"connection_id":176610,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:40:56] local.INFO: Acknowledgment sent {"connection_id":176610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:41:08] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc2dc0012d0cb98007047960001e016711..."} 
[2026-09-10 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc2dc0012d0cb98007047960001e016711..."} 
[2026-09-10 15:41:08] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc2dc0012d0cb98007047960001e016711..."} 
[2026-09-10 15:41:08] local.INFO: Packet analysis {"connection_id":177779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:08] local.INFO: Extracted packet for processing {"connection_id":177779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117733728,"longitude_deg":75.580864,"latitude_deg":11.7733728,"altitude":30,"angle":359,"satellites":17,"speed":32,"hex_longitude":"2d0cb980","hex_latitude":"07047960","is_valid_coordinates":true} 
[2026-09-10 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966144001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31149993343582208,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915919604354510848,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789035032000,"timestamp_ms":1789035032000,"timestamp_seconds":1789035032,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc2dc0"} 
[2026-09-10 15:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:41: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-09-10 15:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 15:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966144001,"66":14515,"16":31149993343582208,"94":11008,"24":32,"45":915919604354510848},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 15:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966144001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31149993343582208,"km_value":31149993343582.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":915919604354510848,"description":"Unknown IO ID 45"} 
[2026-09-10 15:41:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457992966144001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":915919604354510848}} 
[2026-09-10 15:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":177779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:41:09] local.INFO: GPS data processed {"connection_id":177779,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:41:09] local.INFO: Acknowledgment sent {"connection_id":177779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:41:24] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:24] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:24] local.INFO: IMEI packet received {"connection_id":176612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":176612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:41:24] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:41:24] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:41:24] local.INFO: IMEI packet received {"connection_id":176376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":176376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:41:27] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:27] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:27] local.INFO: IMEI packet received {"connection_id":176612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":176612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:41:28] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:28] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:41:28] local.INFO: IMEI packet received {"connection_id":176612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":176612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:41:28] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc3d60012d0cb80007048500001e015b11..."} 
[2026-09-10 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc3d60012d0cb80007048500001e015b11..."} 
[2026-09-10 15:41:28] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc3d60012d0cb80007048500001e015b11..."} 
[2026-09-10 15:41:28] local.INFO: Packet analysis {"connection_id":176612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:28] local.INFO: Extracted packet for processing {"connection_id":176612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117736704,"longitude_deg":75.5808256,"latitude_deg":11.7736704,"altitude":30,"angle":347,"satellites":17,"speed":28,"hex_longitude":"2d0cb800","hex_latitude":"07048500","is_valid_coordinates":true} 
[2026-09-10 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992968192001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31150139372470272,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916904766774796288,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789035036000,"timestamp_ms":1789035036000,"timestamp_seconds":1789035036,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc3d60"} 
[2026-09-10 15:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 15:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992968192001,"66":14537,"16":31150139372470272,"94":11008,"24":28,"45":916904766774796288},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-10 15:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992968192001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31150139372470272,"km_value":31150139372470.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:41:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 15:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":916904766774796288,"description":"Unknown IO ID 45"} 
[2026-09-10 15:41:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457992968192001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":916904766774796288}} 
[2026-09-10 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":176612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:41:28] local.INFO: GPS data processed {"connection_id":176612,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:41:28] local.INFO: Acknowledgment sent {"connection_id":176612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:41:29] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:41:29] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:41:29] local.INFO: IMEI packet received {"connection_id":176376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":176376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:41:30] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:41:30] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:41:30] local.INFO: Packet analysis {"connection_id":176376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:30] local.INFO: Extracted packet for processing {"connection_id":176376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:41:30] 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-09-10 15: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-09-10 15:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:41:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":176376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:41:30] local.INFO: GPS data processed {"connection_id":176376,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:41:30] local.INFO: Acknowledgment sent {"connection_id":176376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:41:34] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:41:34] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:41:34] local.INFO: Packet analysis {"connection_id":176376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:34] local.INFO: Extracted packet for processing {"connection_id":176376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:41:34] 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-09-10 15:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:41: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-09-10 15:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:41:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:41:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:41:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":176376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:41:34] local.INFO: GPS data processed {"connection_id":176376,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:41:34] local.INFO: Acknowledgment sent {"connection_id":176376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:41:35] local.INFO: TCP Data received {"connection_id":177780,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:41:35] local.INFO: Processing buffer {"connection_id":177780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:41:35] local.INFO: IMEI packet received {"connection_id":177780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":177780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:41:37] local.INFO: TCP Data received {"connection_id":177780,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:41:37] local.INFO: Processing buffer {"connection_id":177780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:41:37] local.INFO: IMEI packet received {"connection_id":177780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":177780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:41:38] local.INFO: TCP Data received {"connection_id":177780,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac97e40012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac97e40012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:38] local.INFO: Processing buffer {"connection_id":177780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac97e40012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:38] local.INFO: Packet analysis {"connection_id":177780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac9"} 
[2026-09-10 15:41:38] local.INFO: Extracted packet for processing {"connection_id":177780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac9"} 
[2026-09-10 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992917760001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41: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-09-10 15:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789034856000,"timestamp_ms":1789034856000,"timestamp_seconds":1789034856,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac97e40"} 
[2026-09-10 15:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 15:41:38] 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-09-10 15:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992917760001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992917760001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992917760001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":177780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:41:38] local.INFO: GPS data processed {"connection_id":177780,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:41:38] local.INFO: Acknowledgment sent {"connection_id":177780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:41:44] local.INFO: TCP Data received {"connection_id":177780,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ac9d048012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ac9d048012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:44] local.INFO: Processing buffer {"connection_id":177780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ac9d048012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:44] local.INFO: Packet analysis {"connection_id":177780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ac9"} 
[2026-09-10 15:41:44] local.INFO: Extracted packet for processing {"connection_id":177780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ac9"} 
[2026-09-10 15:41:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992923136001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41: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-09-10 15:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789034877000,"timestamp_ms":1789034877000,"timestamp_seconds":1789034877,"priority":1,"record_length":96,"hex_timestamp":"000001a08ac9d048"} 
[2026-09-10 15:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992923136001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992923136001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:41:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:41:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992923136001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":177780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:41:44] local.INFO: GPS data processed {"connection_id":177780,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:41:44] local.INFO: Acknowledgment sent {"connection_id":177780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:41:45] local.INFO: TCP Data received {"connection_id":177780,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aca2250012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aca2250012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:45] local.INFO: Processing buffer {"connection_id":177780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aca2250012d196840071fede8003f011d25..."} 
[2026-09-10 15:41:45] local.INFO: Packet analysis {"connection_id":177780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aca"} 
[2026-09-10 15:41:45] local.INFO: Extracted packet for processing {"connection_id":177780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aca"} 
[2026-09-10 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992928512001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:41: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-09-10 15:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789034898000,"timestamp_ms":1789034898000,"timestamp_seconds":1789034898,"priority":1,"record_length":96,"hex_timestamp":"000001a08aca2250"} 
[2026-09-10 15:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992928512001,"66":12287,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992928512001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:41:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992928512001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":177780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:41:45] local.INFO: GPS data processed {"connection_id":177780,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:41:45] local.INFO: Acknowledgment sent {"connection_id":177780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:42:01] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acd3b48012d0c25000704c6280020010112..."} 
[2026-09-10 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acd3b48012d0c25000704c6280020010112..."} 
[2026-09-10 15:42:01] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acd3b48012d0c25000704c6280020010112..."} 
[2026-09-10 15:42:01] local.INFO: Packet analysis {"connection_id":176612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:42:01] local.INFO: Extracted packet for processing {"connection_id":176612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":755770624,"raw_latitude":117753384,"longitude_deg":75.5770624,"latitude_deg":11.7753384,"altitude":32,"angle":257,"satellites":18,"speed":41,"hex_longitude":"2d0c2500","hex_latitude":"0704c628","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992983296001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31152531669254144,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885309200644425728,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789035101000,"timestamp_ms":1789035101000,"timestamp_seconds":1789035101,"priority":1,"record_length":96,"hex_timestamp":"000001a08acd3b48"} 
[2026-09-10 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-09-10 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 15:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992983296001,"66":14515,"95":206,"94":10240,"24":41,"16":31152531669254144,"45":885309200644425728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-10 15:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992983296001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:42:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 15:42:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31152531669254144,"km_value":31152531669254.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":885309200644425728,"description":"Unknown IO ID 45"} 
[2026-09-10 15:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992983296001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":885309200644425728}} 
[2026-09-10 15:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":176612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:42:01] local.INFO: GPS data processed {"connection_id":176612,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:42:01] local.INFO: Acknowledgment sent {"connection_id":176612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:42:19] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:42:19] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:42:19] local.INFO: IMEI packet received {"connection_id":176377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":176377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:42:24] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:42:24] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:42:24] local.INFO: IMEI packet received {"connection_id":176377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":176377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:42:25] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:42:25] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:42:25] local.INFO: Packet analysis {"connection_id":176377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:42:25] local.INFO: Extracted packet for processing {"connection_id":176377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:42:25] 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-09-10 15:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:42:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":176377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:42:25] local.INFO: GPS data processed {"connection_id":176377,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:42:25] local.INFO: Acknowledgment sent {"connection_id":176377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:42:26] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:26] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:26] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:42:27] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:27] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:27] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:42:27] local.INFO: TCP Data received {"connection_id":176379,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:27] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:27] local.INFO: IMEI packet received {"connection_id":176379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":176379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:42:28] local.INFO: TCP Data received {"connection_id":176379,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:28] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:28] local.INFO: IMEI packet received {"connection_id":176379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":176379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:42:28] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:28] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:28] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:42:31] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:31] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:42:31] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:42:31] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acd5e70012d0c01000704bf580020010512..."} 
[2026-09-10 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acd5e70012d0c01000704bf580020010512..."} 
[2026-09-10 15:42:31] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acd5e70012d0c01000704bf580020010512..."} 
[2026-09-10 15:42:31] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:42:31] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":755761408,"raw_latitude":117751640,"longitude_deg":75.5761408,"latitude_deg":11.775164,"altitude":32,"angle":261,"satellites":18,"speed":36,"hex_longitude":"2d0c0100","hex_latitude":"0704bf58","is_valid_coordinates":true} 
[2026-09-10 15:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992985856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31152978345852928,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875105732738295808,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42: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-09-10 15:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789035110000,"timestamp_ms":1789035110000,"timestamp_seconds":1789035110,"priority":1,"record_length":96,"hex_timestamp":"000001a08acd5e70"} 
[2026-09-10 15:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 15:42: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-09-10 15:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992985856001,"66":14515,"95":206,"94":10240,"24":36,"16":31152978345852928,"45":875105732738295808},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-10 15:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992985856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:42:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 15:42:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31152978345852928,"km_value":31152978345852.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":875105732738295808,"description":"Unknown IO ID 45"} 
[2026-09-10 15:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992985856001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":875105732738295808}} 
[2026-09-10 15:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794623,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:42:32] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:42:32] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:42:32] local.INFO: TCP Data received {"connection_id":176379,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:32] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:42:32] local.INFO: IMEI packet received {"connection_id":176379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":176379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:42:33] local.INFO: TCP Data received {"connection_id":176379,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aca7458012d196840071fede8003f011d24..."} 
[2026-09-10 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aca7458012d196840071fede8003f011d24..."} 
[2026-09-10 15:42:33] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aca7458012d196840071fede8003f011d24..."} 
[2026-09-10 15:42:33] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aca"} 
[2026-09-10 15:42:33] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aca"} 
[2026-09-10 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992933888001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789034919000,"timestamp_ms":1789034919000,"timestamp_seconds":1789034919,"priority":1,"record_length":96,"hex_timestamp":"000001a08aca7458"} 
[2026-09-10 15:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 15:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992933888001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992933888001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:42:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992933888001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:42:33] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:42:33] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:42:38] local.INFO: TCP Data received {"connection_id":176379,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acac660012d196840071fede8003f011d26..."} 
[2026-09-10 15:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acac660012d196840071fede8003f011d26..."} 
[2026-09-10 15:42:38] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acac660012d196840071fede8003f011d26..."} 
[2026-09-10 15:42:38] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aca"} 
[2026-09-10 15:42:38] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aca"} 
[2026-09-10 15:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992939264001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42: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-09-10 15:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789034940000,"timestamp_ms":1789034940000,"timestamp_seconds":1789034940,"priority":1,"record_length":96,"hex_timestamp":"000001a08acac660"} 
[2026-09-10 15:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:42:38] 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-09-10 15: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-09-10 15:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992939264001,"66":11471,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992939264001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992939264001,"power":11471,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:42:38] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:42:38] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:42:56] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:42:56] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:42:56] local.INFO: Packet analysis {"connection_id":176377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:42:56] local.INFO: Extracted packet for processing {"connection_id":176377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:42:56] 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-09-10 15:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:42:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":176377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:42:56] local.INFO: GPS data processed {"connection_id":176377,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:42:56] local.INFO: Acknowledgment sent {"connection_id":176377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:43:02] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ace3d18012d0b61000704cd000017015712..."} 
[2026-09-10 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ace3d18012d0b61000704cd000017015712..."} 
[2026-09-10 15:43:02] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ace3d18012d0b61000704cd000017015712..."} 
[2026-09-10 15:43:02] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:43:02] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755720448,"raw_latitude":117755136,"longitude_deg":75.5720448,"latitude_deg":11.7755136,"altitude":23,"angle":343,"satellites":18,"speed":16,"hex_longitude":"2d0b6100","hex_latitude":"0704cd00","is_valid_coordinates":true} 
[2026-09-10 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993002240001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31155082879827968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820218112279988224,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789035167000,"timestamp_ms":1789035167000,"timestamp_seconds":1789035167,"priority":1,"record_length":96,"hex_timestamp":"000001a08ace3d18"} 
[2026-09-10 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-10 15:43:02] 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-09-10 15:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993002240001,"66":14537,"96":206,"94":10240,"24":16,"16":31155082879827968,"45":820218112279988224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-10 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993002240001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:43:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 15:43:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31155082879827968,"km_value":31155082879827.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":820218112279988224,"description":"Unknown IO ID 45"} 
[2026-09-10 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993002240001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":820218112279988224}} 
[2026-09-10 15:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:43:03] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:43:03] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:43:09] local.INFO: TCP Data received {"connection_id":176379,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acb1868012d196840071fede8003f011d26..."} 
[2026-09-10 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acb1868012d196840071fede8003f011d26..."} 
[2026-09-10 15:43:09] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acb1868012d196840071fede8003f011d26..."} 
[2026-09-10 15:43:09] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:43:09] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992944640001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43: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-09-10 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789034961000,"timestamp_ms":1789034961000,"timestamp_seconds":1789034961,"priority":1,"record_length":96,"hex_timestamp":"000001a08acb1868"} 
[2026-09-10 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 15:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992944640001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992944640001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:43:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992944640001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:43:10] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:43:10] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:43:26] local.INFO: TCP Data received {"connection_id":177781,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 15:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177781,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 15:43:26] local.INFO: Processing buffer {"connection_id":177781,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 15:43:26] local.INFO: IMEI packet received {"connection_id":177781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":177781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:43:27] local.INFO: TCP Data received {"connection_id":176613,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:27] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:27] local.INFO: IMEI packet received {"connection_id":176613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":176613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:43:28] local.INFO: TCP Data received {"connection_id":179157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:43:28] local.INFO: Processing buffer {"connection_id":179157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:43:28] local.INFO: IMEI packet received {"connection_id":179157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":179157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:43:29] local.INFO: TCP Data received {"connection_id":176613,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:29] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:29] local.INFO: IMEI packet received {"connection_id":176613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":176613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:43:32] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:43:32] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:43:32] local.INFO: IMEI packet received {"connection_id":177782,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":177782,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:43:32] local.INFO: TCP Data received {"connection_id":176613,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:32] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:43:32] local.INFO: IMEI packet received {"connection_id":176613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":176613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:43:34] local.INFO: TCP Data received {"connection_id":179157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:43:34] local.INFO: Processing buffer {"connection_id":179157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:43:34] local.INFO: IMEI packet received {"connection_id":179157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":179157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:43:35] local.INFO: TCP Data received {"connection_id":179157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:43:35] local.INFO: Processing buffer {"connection_id":179157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:43:35] local.INFO: Packet analysis {"connection_id":179157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:43:35] local.INFO: Extracted packet for processing {"connection_id":179157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:43:35] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:43:35] 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-09-10 15:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:43:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:43:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":179157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:43:35] local.INFO: GPS data processed {"connection_id":179157,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:43:35] local.INFO: Acknowledgment sent {"connection_id":179157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:43:38] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:43:38] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:43:38] local.INFO: IMEI packet received {"connection_id":177782,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":177782,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:43:39] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ace4cb8012d0b5f800704d6280017016312..."} 
[2026-09-10 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ace4cb8012d0b5f800704d6280017016312..."} 
[2026-09-10 15:43:39] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ace4cb8012d0b5f800704d6280017016312..."} 
[2026-09-10 15:43:39] local.INFO: Packet analysis {"connection_id":177782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:43:39] local.INFO: Extracted packet for processing {"connection_id":177782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":755720064,"raw_latitude":117757480,"longitude_deg":75.5720064,"latitude_deg":11.775748,"altitude":23,"angle":355,"satellites":18,"speed":25,"hex_longitude":"2d0b5f80","hex_latitude":"0704d628","is_valid_coordinates":true} 
[2026-09-10 15:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993002752001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31155194548977664,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637303455744,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789035171000,"timestamp_ms":1789035171000,"timestamp_seconds":1789035171,"priority":1,"record_length":96,"hex_timestamp":"000001a08ace4cb8"} 
[2026-09-10 15:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 15:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993002752001,"66":14461,"96":206,"94":10240,"24":25,"16":31155194548977664,"45":819936637303455744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-10 15:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993002752001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:43:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 15:43:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31155194548977664,"km_value":31155194548977.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637303455744,"description":"Unknown IO ID 45"} 
[2026-09-10 15:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993002752001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":819936637303455744}} 
[2026-09-10 15:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":177782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:43:39] local.INFO: GPS data processed {"connection_id":177782,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:43:39] local.INFO: Acknowledgment sent {"connection_id":177782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:43:43] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ace6fe0012d0b5cc00704ec700015015512..."} 
[2026-09-10 15:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ace6fe0012d0b5cc00704ec700015015512..."} 
[2026-09-10 15:43:43] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ace6fe0012d0b5cc00704ec700015015512..."} 
[2026-09-10 15:43:43] local.INFO: Packet analysis {"connection_id":177782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:43:43] local.INFO: Extracted packet for processing {"connection_id":177782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:43:43] local.INFO: GPS Element Parsed {"raw_longitude":755719360,"raw_latitude":117763184,"longitude_deg":75.571936,"latitude_deg":11.7763184,"altitude":21,"angle":341,"satellites":18,"speed":11,"hex_longitude":"2d0b5cc0","hex_latitude":"0704ec70","is_valid_coordinates":true} 
[2026-09-10 15:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993003776001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31155473721851904,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819514424838989824,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789035180000,"timestamp_ms":1789035180000,"timestamp_seconds":1789035180,"priority":1,"record_length":96,"hex_timestamp":"000001a08ace6fe0"} 
[2026-09-10 15:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:43: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-09-10 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 15:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993003776001,"66":14439,"96":206,"94":10240,"24":11,"16":31155473721851904,"45":819514424838989824},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993003776001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31155473721851904,"km_value":31155473721851.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":819514424838989824,"description":"Unknown IO ID 45"} 
[2026-09-10 15:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993003776001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":819514424838989824}} 
[2026-09-10 15:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":177782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794631,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:43:43] local.INFO: GPS data processed {"connection_id":177782,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:43:43] local.INFO: Acknowledgment sent {"connection_id":177782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:43:43] local.INFO: TCP Data received {"connection_id":176613,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acb6a70012d196840071fede8003f011d26..."} 
[2026-09-10 15:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acb6a70012d196840071fede8003f011d26..."} 
[2026-09-10 15:43:43] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acb6a70012d196840071fede8003f011d26..."} 
[2026-09-10 15:43:43] local.INFO: Packet analysis {"connection_id":176613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:43:43] local.INFO: Extracted packet for processing {"connection_id":176613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992950016001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43: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-09-10 15:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789034982000,"timestamp_ms":1789034982000,"timestamp_seconds":1789034982,"priority":1,"record_length":96,"hex_timestamp":"000001a08acb6a70"} 
[2026-09-10 15:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992950016001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992950016001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992950016001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":176613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:43:43] local.INFO: GPS data processed {"connection_id":176613,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:43:43] local.INFO: Acknowledgment sent {"connection_id":176613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:43:44] local.INFO: TCP Data received {"connection_id":176613,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acbbc78012d196840071fede8003f011d24..."} 
[2026-09-10 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acbbc78012d196840071fede8003f011d24..."} 
[2026-09-10 15:43:44] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acbbc78012d196840071fede8003f011d24..."} 
[2026-09-10 15:43:44] local.INFO: Packet analysis {"connection_id":176613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:43:44] local.INFO: Extracted packet for processing {"connection_id":176613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acb"} 
[2026-09-10 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992955392001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:43: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-09-10 15:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789035003000,"timestamp_ms":1789035003000,"timestamp_seconds":1789035003,"priority":1,"record_length":96,"hex_timestamp":"000001a08acbbc78"} 
[2026-09-10 15:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992955392001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992955392001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:43:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992955392001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":176613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:43:44] local.INFO: GPS data processed {"connection_id":176613,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:43:44] local.INFO: Acknowledgment sent {"connection_id":176613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:44:19] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:44:19] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:44:19] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:44:24] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:44:24] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:44:24] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:44:25] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:44:25] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:44:25] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:44:25] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:44:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:44:25] 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-09-10 15:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:44:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:44:25] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:44:25] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:44:27] local.INFO: TCP Data received {"connection_id":179160,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:44:27] local.INFO: Processing buffer {"connection_id":179160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:44:27] local.INFO: IMEI packet received {"connection_id":179160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":179160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:44:27] local.INFO: TCP Data received {"connection_id":179159,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179159,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:44:27] local.INFO: Processing buffer {"connection_id":179159,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:44:27] local.INFO: IMEI packet received {"connection_id":179159,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":179159,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:44:32] local.INFO: TCP Data received {"connection_id":179160,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:44:32] local.INFO: Processing buffer {"connection_id":179160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:44:32] local.INFO: IMEI packet received {"connection_id":179160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":179160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:44:32] local.INFO: TCP Data received {"connection_id":179159,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179159,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:44:32] local.INFO: Processing buffer {"connection_id":179159,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:44:32] local.INFO: IMEI packet received {"connection_id":179159,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":179159,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:44:34] local.INFO: TCP Data received {"connection_id":179160,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc0e80012d196840071fede8003f011d25..."} 
[2026-09-10 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc0e80012d196840071fede8003f011d25..."} 
[2026-09-10 15:44:34] local.INFO: Processing buffer {"connection_id":179160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc0e80012d196840071fede8003f011d25..."} 
[2026-09-10 15:44:34] local.INFO: Packet analysis {"connection_id":179160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:44:34] local.INFO: Extracted packet for processing {"connection_id":179160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992960768001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789035024000,"timestamp_ms":1789035024000,"timestamp_seconds":1789035024,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc0e80"} 
[2026-09-10 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992960768001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992960768001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:44:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992960768001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":179160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:44:34] local.INFO: GPS data processed {"connection_id":179160,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:44:34] local.INFO: Acknowledgment sent {"connection_id":179160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:44:35] local.INFO: TCP Data received {"connection_id":179159,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acebe00012d0b5c800704ed000015015513..."} 
[2026-09-10 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acebe00012d0b5c800704ed000015015513..."} 
[2026-09-10 15:44:35] local.INFO: Processing buffer {"connection_id":179159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acebe00012d0b5c800704ed000015015513..."} 
[2026-09-10 15:44:35] local.INFO: Packet analysis {"connection_id":179159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:44:35] local.INFO: Extracted packet for processing {"connection_id":179159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":755719296,"raw_latitude":117763328,"longitude_deg":75.5719296,"latitude_deg":11.7763328,"altitude":21,"angle":341,"satellites":19,"speed":0,"hex_longitude":"2d0b5c80","hex_latitude":"0704ed00","is_valid_coordinates":true} 
[2026-09-10 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993006080001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31155486606753792,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818740368654495744,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789035200000,"timestamp_ms":1789035200000,"timestamp_seconds":1789035200,"priority":1,"record_length":96,"hex_timestamp":"000001a08acebe00"} 
[2026-09-10 15:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 15:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993006080001,"66":14548,"96":206,"94":10240,"24":0,"16":31155486606753792,"45":818740368654495744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-10 15:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993006080001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:44:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 15:44:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31155486606753792,"km_value":31155486606753.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":818740368654495744,"description":"Unknown IO ID 45"} 
[2026-09-10 15:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993006080001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":818740368654495744}} 
[2026-09-10 15:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":179159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:44:35] local.INFO: GPS data processed {"connection_id":179159,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:44:35] local.INFO: Acknowledgment sent {"connection_id":179159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:44:56] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:44:56] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:44:56] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:44:56] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:44:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:44:56] 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-09-10 15:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:44:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:44:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:44:56] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:44:56] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:45:06] local.INFO: TCP Data received {"connection_id":179160,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc6088012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc6088012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:06] local.INFO: Processing buffer {"connection_id":179160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc6088012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:06] local.INFO: Packet analysis {"connection_id":179160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:45:06] local.INFO: Extracted packet for processing {"connection_id":179160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966144001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45: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-09-10 15:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789035045000,"timestamp_ms":1789035045000,"timestamp_seconds":1789035045,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc6088"} 
[2026-09-10 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-09-10 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:45: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-09-10 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-09-10 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-09-10 15:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966144001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966144001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966144001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":179160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:45:06] local.INFO: GPS data processed {"connection_id":179160,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:45:06] local.INFO: Acknowledgment sent {"connection_id":179160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:45:14] local.INFO: TCP Data received {"connection_id":179159,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08acf1008012d0b5c800704ed000015015517..."} 
[2026-09-10 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acf1008012d0b5c800704ed000015015517..."} 
[2026-09-10 15:45:14] local.INFO: Processing buffer {"connection_id":179159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acf1008012d0b5c800704ed000015015517..."} 
[2026-09-10 15:45:14] local.INFO: Packet analysis {"connection_id":179159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acf"} 
[2026-09-10 15:45:14] local.INFO: Extracted packet for processing {"connection_id":179159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acf"} 
[2026-09-10 15:45:14] local.INFO: GPS Element Parsed {"raw_longitude":755719296,"raw_latitude":117763328,"longitude_deg":75.5719296,"latitude_deg":11.7763328,"altitude":21,"angle":341,"satellites":23,"speed":0,"hex_longitude":"2d0b5c80","hex_latitude":"0704ed00","is_valid_coordinates":true} 
[2026-09-10 15:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993011200001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31155486606753792,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818669999910354944,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789035221000,"timestamp_ms":1789035221000,"timestamp_seconds":1789035221,"priority":1,"record_length":96,"hex_timestamp":"000001a08acf1008"} 
[2026-09-10 15:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 15:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":179159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":179159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":179159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993011200001,"66":14450,"96":206,"94":10240,"24":0,"16":31155486606753792,"45":818669999910354944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-10 15:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993011200001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:45:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 15:45:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31155486606753792,"km_value":31155486606753.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":818669999910354944,"description":"Unknown IO ID 45"} 
[2026-09-10 15:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993011200001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":818669999910354944}} 
[2026-09-10 15:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":179159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:45:14] local.INFO: GPS data processed {"connection_id":179159,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:45:14] local.INFO: Acknowledgment sent {"connection_id":179159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:45:16] local.INFO: TCP Data received {"connection_id":179159,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad05058012d0b3f80070552b0001c014017..."} 
[2026-09-10 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad05058012d0b3f80070552b0001c014017..."} 
[2026-09-10 15:45:16] local.INFO: Processing buffer {"connection_id":179159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad05058012d0b3f80070552b0001c014017..."} 
[2026-09-10 15:45:16] local.INFO: Packet analysis {"connection_id":179159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:45:16] local.INFO: Extracted packet for processing {"connection_id":179159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":755711872,"raw_latitude":117789360,"longitude_deg":75.5711872,"latitude_deg":11.778936,"altitude":28,"angle":320,"satellites":23,"speed":19,"hex_longitude":"2d0b3f80","hex_latitude":"070552b0","is_valid_coordinates":true} 
[2026-09-10 15:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993037312001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31157324852756480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810859069313193984,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789035303000,"timestamp_ms":1789035303000,"timestamp_seconds":1789035303,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad05058"} 
[2026-09-10 15:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":57,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:45:16] 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-09-10 15:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993037312001,"66":14678,"96":206,"94":10240,"24":19,"16":31157324852756480,"45":810859069313193984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-10 15:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993037312001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:45:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 15:45:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31157324852756480,"km_value":31157324852756.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":810859069313193984,"description":"Unknown IO ID 45"} 
[2026-09-10 15:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993037312001,"power":14678,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":810859069313193984}} 
[2026-09-10 15:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":179159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:45:16] local.INFO: GPS data processed {"connection_id":179159,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:45:16] local.ERROR: TCP Connection error {"connection_id":179159,"code":2,"message":"client closed"} 
[2026-09-10 15:45:16] local.INFO: Acknowledgment sent {"connection_id":179159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:45:24] local.INFO: TCP Data received {"connection_id":177784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:45:24] local.INFO: Processing buffer {"connection_id":177784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:45:24] local.INFO: IMEI packet received {"connection_id":177784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":177784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:45:27] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:45:27] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:45:27] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:45:29] local.INFO: TCP Data received {"connection_id":177784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:45:29] local.INFO: Processing buffer {"connection_id":177784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:45:29] local.INFO: IMEI packet received {"connection_id":177784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":177784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:45:30] local.INFO: TCP Data received {"connection_id":177784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:45:30] local.INFO: Processing buffer {"connection_id":177784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:45:30] local.INFO: Packet analysis {"connection_id":177784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:45:30] local.INFO: Extracted packet for processing {"connection_id":177784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:45:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:45:30] 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-09-10 15:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:45:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":177784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:45:30] local.INFO: GPS data processed {"connection_id":177784,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:45:30] local.INFO: Acknowledgment sent {"connection_id":177784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:45:31] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:45:31] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:45:31] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:45:32] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad05440012d0b3e00070553e8001c012f17..."} 
[2026-09-10 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad05440012d0b3e00070553e8001c012f17..."} 
[2026-09-10 15:45:32] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad05440012d0b3e00070553e8001c012f17..."} 
[2026-09-10 15:45:32] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:45:32] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":755711488,"raw_latitude":117789672,"longitude_deg":75.5711488,"latitude_deg":11.7789672,"altitude":28,"angle":303,"satellites":23,"speed":21,"hex_longitude":"2d0b3e00","hex_latitude":"070553e8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993037568001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31157350622560256,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810507225592410112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789035304000,"timestamp_ms":1789035304000,"timestamp_seconds":1789035304,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad05440"} 
[2026-09-10 15:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993037568001,"66":14678,"96":206,"94":10240,"24":21,"16":31157350622560256,"45":810507225592410112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-10 15:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993037568001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:45:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 15:45:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31157350622560256,"km_value":31157350622560.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":810507225592410112,"description":"Unknown IO ID 45"} 
[2026-09-10 15:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993037568001,"power":14678,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":810507225592410112}} 
[2026-09-10 15:45:32] local.INFO: TCP Data received {"connection_id":179161,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:45:32] local.INFO: Processing buffer {"connection_id":179161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:45:32] local.INFO: IMEI packet received {"connection_id":179161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":179161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:45:32] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:45:32] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:45:35] local.INFO: TCP Data received {"connection_id":179161,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:45:35] local.INFO: Processing buffer {"connection_id":179161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:45:35] local.INFO: IMEI packet received {"connection_id":179161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":179161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:45:36] local.INFO: TCP Data received {"connection_id":179161,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08accb290012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08accb290012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:36] local.INFO: Processing buffer {"connection_id":179161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08accb290012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:36] local.INFO: Packet analysis {"connection_id":179161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:45:36] local.INFO: Extracted packet for processing {"connection_id":179161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992971520001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789035066000,"timestamp_ms":1789035066000,"timestamp_seconds":1789035066,"priority":1,"record_length":96,"hex_timestamp":"000001a08accb290"} 
[2026-09-10 15:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:45: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-09-10 15:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992971520001,"66":12287,"71":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 15:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992971520001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:45:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 15:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992971520001,"power":12287,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":179161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:45:36] local.INFO: GPS data processed {"connection_id":179161,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:45:36] local.INFO: Acknowledgment sent {"connection_id":179161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:45:38] local.INFO: TCP Data received {"connection_id":179161,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acd0498012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acd0498012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:38] local.INFO: Processing buffer {"connection_id":179161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acd0498012d196840071fede8003f011d26..."} 
[2026-09-10 15:45:38] local.INFO: Packet analysis {"connection_id":179161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:45:38] local.INFO: Extracted packet for processing {"connection_id":179161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992976896001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:45: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-09-10 15:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789035087000,"timestamp_ms":1789035087000,"timestamp_seconds":1789035087,"priority":1,"record_length":96,"hex_timestamp":"000001a08acd0498"} 
[2026-09-10 15:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 15:45: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-09-10 15:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992976896001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992976896001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992976896001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":179161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:45:38] local.INFO: GPS data processed {"connection_id":179161,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:45:38] local.INFO: Acknowledgment sent {"connection_id":179161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:46:01] local.INFO: TCP Data received {"connection_id":177784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:01] local.INFO: Processing buffer {"connection_id":177784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acc1a38012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:01] local.INFO: Packet analysis {"connection_id":177784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:46:01] local.INFO: Extracted packet for processing {"connection_id":177784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acc"} 
[2026-09-10 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992889856001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789035027000,"timestamp_ms":1789035027000,"timestamp_seconds":1789035027,"priority":1,"record_length":96,"hex_timestamp":"000001a08acc1a38"} 
[2026-09-10 15:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":41,"data_length":795,"current_offset":136} 
[2026-09-10 15:46: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-09-10 15:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992889856001,"66":25908,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992889856001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:46:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992889856001,"power":25908,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":177784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:46:01] local.INFO: GPS data processed {"connection_id":177784,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:46:01] local.INFO: Acknowledgment sent {"connection_id":177784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:46:03] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad113a8012d0b0b8007059ab8001f011117..."} 
[2026-09-10 15:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad113a8012d0b0b8007059ab8001f011117..."} 
[2026-09-10 15:46:03] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad113a8012d0b0b8007059ab8001f011117..."} 
[2026-09-10 15:46:03] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad1"} 
[2026-09-10 15:46:03] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad1"} 
[2026-09-10 15:46:03] local.INFO: GPS Element Parsed {"raw_longitude":755698560,"raw_latitude":117807800,"longitude_deg":75.569856,"latitude_deg":11.78078,"altitude":31,"angle":273,"satellites":23,"speed":23,"hex_longitude":"2d0b0b80","hex_latitude":"07059ab8","is_valid_coordinates":true} 
[2026-09-10 15:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993048064001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31158763666800640,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801500026342428672,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789035353000,"timestamp_ms":1789035353000,"timestamp_seconds":1789035353,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad113a8"} 
[2026-09-10 15:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993048064001,"66":14450,"153":206,"94":10240,"24":23,"16":31158763666800640,"45":801500026342428672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 15:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993048064001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:46:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 15:46:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31158763666800640,"km_value":31158763666800.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":801500026342428672,"description":"Unknown IO ID 45"} 
[2026-09-10 15:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993048064001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":801500026342428672}} 
[2026-09-10 15:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:46:04] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:46:04] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:46:09] local.INFO: TCP Data received {"connection_id":179161,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acd56a0012d196840071fede8003f011d26..."} 
[2026-09-10 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acd56a0012d196840071fede8003f011d26..."} 
[2026-09-10 15:46:09] local.INFO: Processing buffer {"connection_id":179161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acd56a0012d196840071fede8003f011d26..."} 
[2026-09-10 15:46:09] local.INFO: Packet analysis {"connection_id":179161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:46:09] local.INFO: Extracted packet for processing {"connection_id":179161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992982272001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46: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-09-10 15:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789035108000,"timestamp_ms":1789035108000,"timestamp_seconds":1789035108,"priority":1,"record_length":96,"hex_timestamp":"000001a08acd56a0"} 
[2026-09-10 15:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992982272001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992982272001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:46:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992982272001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":179161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:46:09] local.INFO: GPS data processed {"connection_id":179161,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:46:09] local.INFO: Acknowledgment sent {"connection_id":179161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:46:19] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:46:19] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:46:19] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:46:24] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:46:24] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:46:24] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:46:25] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:25] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:25] local.INFO: Packet analysis {"connection_id":176382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:46:25] local.INFO: Extracted packet for processing {"connection_id":176382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:46: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-09-10 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:46:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":176382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:46:25] local.INFO: GPS data processed {"connection_id":176382,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:46:25] local.INFO: Acknowledgment sent {"connection_id":176382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:46:25] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:25] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:25] local.INFO: IMEI packet received {"connection_id":176383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":176383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:46:26] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:26] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:26] local.INFO: IMEI packet received {"connection_id":176383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":176383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:46:27] local.INFO: TCP Data received {"connection_id":179163,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:46:27] local.INFO: Processing buffer {"connection_id":179163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:46:27] local.INFO: IMEI packet received {"connection_id":179163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":179163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:46:27] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:27] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:27] local.INFO: IMEI packet received {"connection_id":176383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":176383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:46:27] local.INFO: TCP Data received {"connection_id":176383,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:27] local.INFO: Processing buffer {"connection_id":176383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:46:27] local.INFO: IMEI packet received {"connection_id":176383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":176383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:46:32] local.INFO: TCP Data received {"connection_id":179163,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:46:32] local.INFO: Processing buffer {"connection_id":179163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:46:32] local.INFO: IMEI packet received {"connection_id":179163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":179163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:46:33] local.INFO: TCP Data received {"connection_id":179163,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acda8a8012d196840071fede8003f011d25..."} 
[2026-09-10 15:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acda8a8012d196840071fede8003f011d25..."} 
[2026-09-10 15:46:33] local.INFO: Processing buffer {"connection_id":179163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acda8a8012d196840071fede8003f011d25..."} 
[2026-09-10 15:46:33] local.INFO: Packet analysis {"connection_id":179163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:46:33] local.INFO: Extracted packet for processing {"connection_id":179163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992987648001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035129000,"timestamp_ms":1789035129000,"timestamp_seconds":1789035129,"priority":1,"record_length":96,"hex_timestamp":"000001a08acda8a8"} 
[2026-09-10 15:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992987648001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992987648001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:46:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992987648001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":179163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:46:34] local.INFO: GPS data processed {"connection_id":179163,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:46:34] local.INFO: Acknowledgment sent {"connection_id":179163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:46:56] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:56] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:46:56] local.INFO: Packet analysis {"connection_id":176382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:46:56] local.INFO: Extracted packet for processing {"connection_id":176382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:46:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:46:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":176382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:46:56] local.INFO: GPS data processed {"connection_id":176382,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:46:56] local.INFO: Acknowledgment sent {"connection_id":176382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:47:05] local.INFO: TCP Data received {"connection_id":179163,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08acdfab0012d196840071fede8003f011d23..."} 
[2026-09-10 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08acdfab0012d196840071fede8003f011d23..."} 
[2026-09-10 15:47:05] local.INFO: Processing buffer {"connection_id":179163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08acdfab0012d196840071fede8003f011d23..."} 
[2026-09-10 15:47:05] local.INFO: Packet analysis {"connection_id":179163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:47:05] local.INFO: Extracted packet for processing {"connection_id":179163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08acd"} 
[2026-09-10 15:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992993024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789035150000,"timestamp_ms":1789035150000,"timestamp_seconds":1789035150,"priority":1,"record_length":96,"hex_timestamp":"000001a08acdfab0"} 
[2026-09-10 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-09-10 15:47: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-09-10 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:47: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-09-10 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-09-10 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-09-10 15:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992993024001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992993024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992993024001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":179163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:47:05] local.INFO: GPS data processed {"connection_id":179163,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:47:05] local.INFO: Acknowledgment sent {"connection_id":179163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:47:19] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:47:19] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:47:19] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:47:24] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:47:24] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:47:24] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:47:24] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:47:24] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:47:24] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:47:24] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:47:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:47:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:47:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:47:24] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:47:24] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:47:27] local.INFO: TCP Data received {"connection_id":179164,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:47:27] local.INFO: Processing buffer {"connection_id":179164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:47:27] local.INFO: IMEI packet received {"connection_id":179164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":179164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:47:32] local.INFO: TCP Data received {"connection_id":179164,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:47:32] local.INFO: Processing buffer {"connection_id":179164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:47:32] local.INFO: IMEI packet received {"connection_id":179164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":179164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:47:33] local.INFO: TCP Data received {"connection_id":179164,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ace4cb8012d196840071fede8003f011d25..."} 
[2026-09-10 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ace4cb8012d196840071fede8003f011d25..."} 
[2026-09-10 15:47:33] local.INFO: Processing buffer {"connection_id":179164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ace4cb8012d196840071fede8003f011d25..."} 
[2026-09-10 15:47:33] local.INFO: Packet analysis {"connection_id":179164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:47:33] local.INFO: Extracted packet for processing {"connection_id":179164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ace"} 
[2026-09-10 15:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992998400001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035171000,"timestamp_ms":1789035171000,"timestamp_seconds":1789035171,"priority":1,"record_length":96,"hex_timestamp":"000001a08ace4cb8"} 
[2026-09-10 15:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992998400001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992998400001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:47:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992998400001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":179164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:47:33] local.INFO: GPS data processed {"connection_id":179164,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:47:33] local.INFO: Acknowledgment sent {"connection_id":179164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:47:55] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:47:55] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:47:55] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:47:55] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:47:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:47:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:47:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:47:55] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:47:55] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:48:05] local.INFO: TCP Data received {"connection_id":179164,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad1d310012d196840071fede8003f011d25..."} 
[2026-09-10 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad1d310012d196840071fede8003f011d25..."} 
[2026-09-10 15:48:05] local.INFO: Processing buffer {"connection_id":179164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad1d310012d196840071fede8003f011d25..."} 
[2026-09-10 15:48:05] local.INFO: Packet analysis {"connection_id":179164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad1"} 
[2026-09-10 15:48:05] local.INFO: Extracted packet for processing {"connection_id":179164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad1"} 
[2026-09-10 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993057536001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48: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-09-10 15:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789035402000,"timestamp_ms":1789035402000,"timestamp_seconds":1789035402,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad1d310"} 
[2026-09-10 15:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:48: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-09-10 15:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993057536001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993057536001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:48:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993057536001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":179164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:48:05] local.INFO: GPS data processed {"connection_id":179164,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:48:05] local.INFO: Acknowledgment sent {"connection_id":179164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:48:19] local.INFO: TCP Data received {"connection_id":177785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:48:19] local.INFO: Processing buffer {"connection_id":177785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:48:19] local.INFO: IMEI packet received {"connection_id":177785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":177785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:48:24] local.INFO: TCP Data received {"connection_id":177785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:48:24] local.INFO: Processing buffer {"connection_id":177785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:48:24] local.INFO: IMEI packet received {"connection_id":177785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":177785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:48:24] local.INFO: TCP Data received {"connection_id":177785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:48:24] local.INFO: Processing buffer {"connection_id":177785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:48:24] local.INFO: Packet analysis {"connection_id":177785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:48:24] local.INFO: Extracted packet for processing {"connection_id":177785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:48:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:48:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":177785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:48:24] local.INFO: GPS data processed {"connection_id":177785,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:48:24] local.INFO: Acknowledgment sent {"connection_id":177785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:48:32] local.INFO: TCP Data received {"connection_id":176617,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:48:32] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:48:32] local.INFO: IMEI packet received {"connection_id":176617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":176617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:48:37] local.INFO: TCP Data received {"connection_id":176617,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:48:37] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:48:37] local.INFO: IMEI packet received {"connection_id":176617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":176617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:48:38] local.INFO: TCP Data received {"connection_id":176617,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad22518012d196840071fede8003f011d23..."} 
[2026-09-10 15:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad22518012d196840071fede8003f011d23..."} 
[2026-09-10 15:48:38] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad22518012d196840071fede8003f011d23..."} 
[2026-09-10 15:48:38] local.INFO: Packet analysis {"connection_id":176617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad2"} 
[2026-09-10 15:48:38] local.INFO: Extracted packet for processing {"connection_id":176617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad2"} 
[2026-09-10 15:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993062912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789035423000,"timestamp_ms":1789035423000,"timestamp_seconds":1789035423,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad22518"} 
[2026-09-10 15:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993062912001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993062912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:48:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993062912001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":176617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:48:39] local.INFO: GPS data processed {"connection_id":176617,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:48:39] local.INFO: Acknowledgment sent {"connection_id":176617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:48:43] local.INFO: TCP Data received {"connection_id":176617,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad27720012d196840071fede8003f011d27..."} 
[2026-09-10 15:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad27720012d196840071fede8003f011d27..."} 
[2026-09-10 15:48:43] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad27720012d196840071fede8003f011d27..."} 
[2026-09-10 15:48:43] local.INFO: Packet analysis {"connection_id":176617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad2"} 
[2026-09-10 15:48:43] local.INFO: Extracted packet for processing {"connection_id":176617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad2"} 
[2026-09-10 15:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993068288001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48: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-09-10 15:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789035444000,"timestamp_ms":1789035444000,"timestamp_seconds":1789035444,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad27720"} 
[2026-09-10 15:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:48: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-09-10 15: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-09-10 15:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993068288001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993068288001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:48:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993068288001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":176617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:48:43] local.INFO: GPS data processed {"connection_id":176617,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:48:43] local.INFO: Acknowledgment sent {"connection_id":176617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:48:43] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:48:43] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:48:43] local.INFO: IMEI packet received {"connection_id":176386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":176386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:48:55] local.INFO: TCP Data received {"connection_id":177785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:48:55] local.INFO: Processing buffer {"connection_id":177785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:48:55] local.INFO: Packet analysis {"connection_id":177785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:48:55] local.INFO: Extracted packet for processing {"connection_id":177785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:48:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:48:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:48:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":177785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:48:55] local.INFO: GPS data processed {"connection_id":177785,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:48:55] local.INFO: Acknowledgment sent {"connection_id":177785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:49:18] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:49:18] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:49:18] local.INFO: IMEI packet received {"connection_id":176387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":176387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:49:24] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:49:24] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:49:24] local.INFO: IMEI packet received {"connection_id":176387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":176387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:49:24] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:49:24] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:49:24] local.INFO: Packet analysis {"connection_id":176387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:49:24] local.INFO: Extracted packet for processing {"connection_id":176387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:49:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:49:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:49:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:49:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":176387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:49:24] local.INFO: GPS data processed {"connection_id":176387,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:49:24] local.INFO: Acknowledgment sent {"connection_id":176387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:49:26] local.INFO: TCP Data received {"connection_id":176388,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:26] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:26] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:49:27] local.INFO: TCP Data received {"connection_id":176388,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:27] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:27] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:49:32] local.INFO: TCP Data received {"connection_id":176388,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:32] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:49:32] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:49:42] local.INFO: TCP Data received {"connection_id":176388,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad2c928012d196840071fede8003f011d25..."} 
[2026-09-10 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad2c928012d196840071fede8003f011d25..."} 
[2026-09-10 15:49:42] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad2c928012d196840071fede8003f011d25..."} 
[2026-09-10 15:49:42] local.INFO: Packet analysis {"connection_id":176388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad2"} 
[2026-09-10 15:49:42] local.INFO: Extracted packet for processing {"connection_id":176388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad2"} 
[2026-09-10 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993073664001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49: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-09-10 15:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789035465000,"timestamp_ms":1789035465000,"timestamp_seconds":1789035465,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad2c928"} 
[2026-09-10 15:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993073664001,"66":11656,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993073664001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:49:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993073664001,"power":11656,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":176388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:49:42] local.INFO: GPS data processed {"connection_id":176388,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:49:42] local.INFO: Acknowledgment sent {"connection_id":176388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:49:55] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:49:55] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:49:55] local.INFO: Packet analysis {"connection_id":176387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:49:55] local.INFO: Extracted packet for processing {"connection_id":176387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:49:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:49:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":176387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:49:55] local.INFO: GPS data processed {"connection_id":176387,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:49:55] local.INFO: Acknowledgment sent {"connection_id":176387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:50:18] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:50:18] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:50:18] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:50:24] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:50:24] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:50:24] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:50:24] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:50:24] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:50:24] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:50:24] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 15:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:50:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:50:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:50:24] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:50:24] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:50:27] local.INFO: TCP Data received {"connection_id":176390,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:27] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:27] local.INFO: IMEI packet received {"connection_id":176390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":176390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:50:29] local.INFO: TCP Data received {"connection_id":176390,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:29] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:29] local.INFO: IMEI packet received {"connection_id":176390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":176390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:50:32] local.INFO: TCP Data received {"connection_id":176390,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:32] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:50:32] local.INFO: IMEI packet received {"connection_id":176390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":176390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:50:33] local.INFO: TCP Data received {"connection_id":176390,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad31b30012d196840071fede8003f011d26..."} 
[2026-09-10 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad31b30012d196840071fede8003f011d26..."} 
[2026-09-10 15:50:33] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad31b30012d196840071fede8003f011d26..."} 
[2026-09-10 15:50:33] local.INFO: Packet analysis {"connection_id":176390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad3"} 
[2026-09-10 15:50:33] local.INFO: Extracted packet for processing {"connection_id":176390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad3"} 
[2026-09-10 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993079040001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035486000,"timestamp_ms":1789035486000,"timestamp_seconds":1789035486,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad31b30"} 
[2026-09-10 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-09-10 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-10 15:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993079040001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993079040001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:50:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993079040001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":176390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:50:33] local.INFO: GPS data processed {"connection_id":176390,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:50:33] local.INFO: Acknowledgment sent {"connection_id":176390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:50:55] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:50:55] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad0b200012cc33340076855f0005b015f2a..."} 
[2026-09-10 15:50:55] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:50:55] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad0"} 
[2026-09-10 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":42,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457992966912001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035328000,"timestamp_ms":1789035328000,"timestamp_seconds":1789035328,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad0b200"} 
[2026-09-10 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-09-10 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 15:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457992966912001,"66":25843,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457992966912001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:50:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457992966912001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:50:55] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:50:55] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:51:04] local.INFO: TCP Data received {"connection_id":176390,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad36d38012d196840071fede8003f011d26..."} 
[2026-09-10 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad36d38012d196840071fede8003f011d26..."} 
[2026-09-10 15:51:04] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad36d38012d196840071fede8003f011d26..."} 
[2026-09-10 15:51:04] local.INFO: Packet analysis {"connection_id":176390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad3"} 
[2026-09-10 15:51:04] local.INFO: Extracted packet for processing {"connection_id":176390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad3"} 
[2026-09-10 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993084416001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51: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-09-10 15:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789035507000,"timestamp_ms":1789035507000,"timestamp_seconds":1789035507,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad36d38"} 
[2026-09-10 15:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 15:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993084416001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993084416001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:51:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993084416001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":176390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:51:04] local.INFO: GPS data processed {"connection_id":176390,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:51:04] local.INFO: Acknowledgment sent {"connection_id":176390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:51:19] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:51:19] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:51:19] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:51:23] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:51:23] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:51:23] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:51:24] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:51:24] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:51:24] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:24] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:51:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:51:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:51:24] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:51:24] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:51:27] local.INFO: TCP Data received {"connection_id":177787,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:51:27] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:51:27] local.INFO: IMEI packet received {"connection_id":177787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":177787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:51:32] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:51:32] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:51:32] local.INFO: IMEI packet received {"connection_id":176619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":176619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:51:32] local.INFO: TCP Data received {"connection_id":177787,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:51:32] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:51:32] local.INFO: IMEI packet received {"connection_id":177787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":177787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:51:33] local.INFO: TCP Data received {"connection_id":177787,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad3bf40012d196840071fede8003f011d26..."} 
[2026-09-10 15:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad3bf40012d196840071fede8003f011d26..."} 
[2026-09-10 15:51:33] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad3bf40012d196840071fede8003f011d26..."} 
[2026-09-10 15:51:33] local.INFO: Packet analysis {"connection_id":177787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad3"} 
[2026-09-10 15:51:33] local.INFO: Extracted packet for processing {"connection_id":177787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad3"} 
[2026-09-10 15:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993089792001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035528000,"timestamp_ms":1789035528000,"timestamp_seconds":1789035528,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad3bf40"} 
[2026-09-10 15:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993089792001,"66":12298,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993089792001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:51:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:51:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993089792001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":177787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:51:33] local.INFO: GPS data processed {"connection_id":177787,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:51:33] local.INFO: Acknowledgment sent {"connection_id":177787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:51:35] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:51:35] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:51:35] local.INFO: IMEI packet received {"connection_id":176619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":176619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:51:35] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad578a8012d0a8640070613c80010013017..."} 
[2026-09-10 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad578a8012d0a8640070613c80010013017..."} 
[2026-09-10 15:51:35] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad578a8012d0a8640070613c80010013017..."} 
[2026-09-10 15:51:35] local.INFO: Packet analysis {"connection_id":176619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:35] local.INFO: Extracted packet for processing {"connection_id":176619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:35] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117838792,"longitude_deg":75.5664448,"latitude_deg":11.7838792,"altitude":16,"angle":304,"satellites":23,"speed":2,"hex_longitude":"2d0a8640","hex_latitude":"070613c8","is_valid_coordinates":true} 
[2026-09-10 15:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121536001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31162465928609792,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758504723657768960,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789035641000,"timestamp_ms":1789035641000,"timestamp_seconds":1789035641,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad578a8"} 
[2026-09-10 15:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 15:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121536001,"66":14363,"153":206,"94":10240,"24":2,"16":31162465928609792,"45":758504723657768960},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 15:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121536001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:51:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 15:51:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31162465928609792,"km_value":31162465928609.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":758504723657768960,"description":"Unknown IO ID 45"} 
[2026-09-10 15:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121536001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":758504723657768960}} 
[2026-09-10 15:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":176619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:51:35] local.INFO: GPS data processed {"connection_id":176619,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:51:35] local.INFO: Acknowledgment sent {"connection_id":176619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:51:37] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad58460012d0a85c0070614000010011e17..."} 
[2026-09-10 15:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad58460012d0a85c0070614000010011e17..."} 
[2026-09-10 15:51:37] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad58460012d0a85c0070614000010011e17..."} 
[2026-09-10 15:51:37] local.INFO: Packet analysis {"connection_id":176619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:37] local.INFO: Extracted packet for processing {"connection_id":176619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:37] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117838848,"longitude_deg":75.566432,"latitude_deg":11.7838848,"altitude":16,"angle":286,"satellites":23,"speed":2,"hex_longitude":"2d0a85c0","hex_latitude":"07061400","is_valid_coordinates":true} 
[2026-09-10 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993124096001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31162474518544384,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986169415680,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789035644000,"timestamp_ms":1789035644000,"timestamp_seconds":1789035644,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad58460"} 
[2026-09-10 15:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:51: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-09-10 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 15:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993124096001,"66":14396,"153":206,"94":10240,"24":2,"16":31162474518544384,"45":758363986169415680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 15:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993124096001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:51:37] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 15:51:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31162474518544384,"km_value":31162474518544.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986169415680,"description":"Unknown IO ID 45"} 
[2026-09-10 15:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993124096001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":758363986169415680}} 
[2026-09-10 15:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":176619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:51:37] local.INFO: GPS data processed {"connection_id":176619,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:51:37] local.INFO: Acknowledgment sent {"connection_id":176619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:51:55] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:51:55] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:51:55] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:55] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:51:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:51:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:51:55] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:51:55] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:52:05] local.INFO: TCP Data received {"connection_id":177787,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad41148012d196840071fede8003f011d25..."} 
[2026-09-10 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad41148012d196840071fede8003f011d25..."} 
[2026-09-10 15:52:05] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad41148012d196840071fede8003f011d25..."} 
[2026-09-10 15:52:05] local.INFO: Packet analysis {"connection_id":177787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad4"} 
[2026-09-10 15:52:05] local.INFO: Extracted packet for processing {"connection_id":177787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad4"} 
[2026-09-10 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993095168001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52: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-09-10 15:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789035549000,"timestamp_ms":1789035549000,"timestamp_seconds":1789035549,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad41148"} 
[2026-09-10 15:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":114,"raw_value":864691128455135233,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8443825954963515032,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390463235850525,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":63,"raw_value":80261050292764672,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979445424160974,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3531022337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 15:52:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,114,160,109,45,64,237,63,38,10,66,27,201,1,240,136,138,31,4,113,205,37,104,232,35,239,48,2,68,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 15:52:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941948412133376,"timestamp_seconds":4539941948412133.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993095168001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993095168001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993095168001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":177787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:52:05] local.INFO: GPS data processed {"connection_id":177787,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:52:05] local.INFO: Acknowledgment sent {"connection_id":177787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:52:08] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad59fb8012d0a8040070616280011012b16..."} 
[2026-09-10 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad59fb8012d0a8040070616280011012b16..."} 
[2026-09-10 15:52:08] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad59fb8012d0a8040070616280011012b16..."} 
[2026-09-10 15:52:08] local.INFO: Packet analysis {"connection_id":176619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:52:08] local.INFO: Extracted packet for processing {"connection_id":176619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":755662912,"raw_latitude":117839400,"longitude_deg":75.5662912,"latitude_deg":11.78394,"altitude":17,"angle":299,"satellites":22,"speed":13,"hex_longitude":"2d0a8040","hex_latitude":"07061628","is_valid_coordinates":true} 
[2026-09-10 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993124864001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31162543238021120,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758223248681074688,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789035651000,"timestamp_ms":1789035651000,"timestamp_seconds":1789035651,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad59fb8"} 
[2026-09-10 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 15:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993124864001,"66":14374,"153":206,"94":10240,"24":13,"16":31162543238021120,"45":758223248681074688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993124864001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:52:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 15:52:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31162543238021120,"km_value":31162543238021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":758223248681074688,"description":"Unknown IO ID 45"} 
[2026-09-10 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993124864001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":758223248681074688}} 
[2026-09-10 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":176619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:52:08] local.INFO: GPS data processed {"connection_id":176619,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:52:08] local.INFO: Acknowledgment sent {"connection_id":176619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:52:13] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:13] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:13] local.INFO: IMEI packet received {"connection_id":176620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":176620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:52:14] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:14] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:14] local.INFO: IMEI packet received {"connection_id":176620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":176620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:52:17] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:18] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:52:18] local.INFO: IMEI packet received {"connection_id":176620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:52:19] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:52:19] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-10 15:52:19] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:52:19] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-10 15:52:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:52:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:52:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:52:19] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:52:19] local.ERROR: GPS data processing failed {"connection_id":176620,"error":"No valid data to process"} 
[2026-09-10 15:52:19] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:52:19] local.INFO: TCP Data received {"connection_id":177788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:52:19] local.INFO: Processing buffer {"connection_id":177788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:52:19] local.INFO: IMEI packet received {"connection_id":177788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":177788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:52:24] local.INFO: TCP Data received {"connection_id":177788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:52:24] local.INFO: Processing buffer {"connection_id":177788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:52:24] local.INFO: IMEI packet received {"connection_id":177788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":177788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:52:25] local.INFO: TCP Data received {"connection_id":177788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:52:25] local.INFO: Processing buffer {"connection_id":177788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:52:25] local.INFO: Packet analysis {"connection_id":177788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:52:25] local.INFO: Extracted packet for processing {"connection_id":177788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:52:25] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:52: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-09-10 15:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:52:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":177788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:52:25] local.INFO: GPS data processed {"connection_id":177788,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:52:25] local.INFO: Acknowledgment sent {"connection_id":177788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:52:25] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:25] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:25] local.INFO: IMEI packet received {"connection_id":177789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":177789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:52:26] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:26] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:26] local.INFO: IMEI packet received {"connection_id":177789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":177789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:52:27] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:27] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:27] local.INFO: IMEI packet received {"connection_id":177789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":177789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:52:32] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:32] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:52:32] local.INFO: IMEI packet received {"connection_id":177789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":177789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:52:32] local.INFO: TCP Data received {"connection_id":177790,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:52:32] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:52:32] local.INFO: IMEI packet received {"connection_id":177790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":177790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:52:32] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad6f778012d0a74000705e370001200d317..."} 
[2026-09-10 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad6f778012d0a74000705e370001200d317..."} 
[2026-09-10 15:52:32] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad6f778012d0a74000705e370001200d317..."} 
[2026-09-10 15:52:32] local.INFO: Packet analysis {"connection_id":177789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:52:32] local.INFO: Extracted packet for processing {"connection_id":177789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:52:32] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117826416,"longitude_deg":75.5659776,"latitude_deg":11.7826416,"altitude":18,"angle":211,"satellites":23,"speed":11,"hex_longitude":"2d0a7400","hex_latitude":"0705e370","is_valid_coordinates":true} 
[2026-09-10 15:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993148672001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31163350691872768,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911562330112,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789035739000,"timestamp_ms":1789035739000,"timestamp_seconds":1789035739,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad6f778"} 
[2026-09-10 15:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:52: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-09-10 15:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 15:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993148672001,"66":14363,"153":206,"94":10240,"24":11,"16":31163350691872768,"45":753578911562330112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 15:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993148672001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:52:32] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 15:52:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31163350691872768,"km_value":31163350691872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911562330112,"description":"Unknown IO ID 45"} 
[2026-09-10 15:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993148672001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753578911562330112}} 
[2026-09-10 15:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":177789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:52:32] local.INFO: GPS data processed {"connection_id":177789,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:52:32] local.INFO: Acknowledgment sent {"connection_id":177789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:52:35] local.INFO: TCP Data received {"connection_id":177790,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:52:35] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:52:35] local.INFO: IMEI packet received {"connection_id":177790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":177790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:52:37] local.INFO: TCP Data received {"connection_id":177790,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad46350012d196840071fede8003f011d26..."} 
[2026-09-10 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad46350012d196840071fede8003f011d26..."} 
[2026-09-10 15:52:37] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad46350012d196840071fede8003f011d26..."} 
[2026-09-10 15:52:37] local.INFO: Packet analysis {"connection_id":177790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad4"} 
[2026-09-10 15:52:37] local.INFO: Extracted packet for processing {"connection_id":177790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad4"} 
[2026-09-10 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993100544001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52: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-09-10 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789035570000,"timestamp_ms":1789035570000,"timestamp_seconds":1789035570,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad46350"} 
[2026-09-10 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:52: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-09-10 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:52: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-09-10 15:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993100544001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993100544001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993100544001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":177790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:52:37] local.INFO: GPS data processed {"connection_id":177790,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:52:37] local.INFO: Acknowledgment sent {"connection_id":177790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:52:38] local.INFO: TCP Data received {"connection_id":177790,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad4b558012d196840071fede8003f011d27..."} 
[2026-09-10 15:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad4b558012d196840071fede8003f011d27..."} 
[2026-09-10 15:52:38] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad4b558012d196840071fede8003f011d27..."} 
[2026-09-10 15:52:38] local.INFO: Packet analysis {"connection_id":177790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad4"} 
[2026-09-10 15:52:38] local.INFO: Extracted packet for processing {"connection_id":177790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad4"} 
[2026-09-10 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993105920001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52: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-09-10 15:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789035591000,"timestamp_ms":1789035591000,"timestamp_seconds":1789035591,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad4b558"} 
[2026-09-10 15:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:52: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-09-10 15:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993105920001,"66":11178,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993105920001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993105920001,"power":11178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":177790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:52:38] local.INFO: GPS data processed {"connection_id":177790,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:52:38] local.INFO: Acknowledgment sent {"connection_id":177790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:52:50] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:52:50] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-10 15:52:50] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:52:50] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-10 15:52:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:52:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:52:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 15:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-10 15:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 15:52:50] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 15:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 15:52:50] local.ERROR: GPS data processing failed {"connection_id":176620,"error":"No valid data to process"} 
[2026-09-10 15:52:50] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 15:52:56] local.INFO: TCP Data received {"connection_id":177788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:52:56] local.INFO: Processing buffer {"connection_id":177788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:52:56] local.INFO: Packet analysis {"connection_id":177788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:52:56] local.INFO: Extracted packet for processing {"connection_id":177788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:52:56] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:52:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":177788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:52:56] local.INFO: GPS data processed {"connection_id":177788,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:52:56] local.INFO: Acknowledgment sent {"connection_id":177788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:53:06] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad70718012d0a72400705dfc0001300be16..."} 
[2026-09-10 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad70718012d0a72400705dfc0001300be16..."} 
[2026-09-10 15:53:06] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad70718012d0a72400705dfc0001300be16..."} 
[2026-09-10 15:53:06] local.INFO: Packet analysis {"connection_id":177789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:53:06] local.INFO: Extracted packet for processing {"connection_id":177789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825472,"longitude_deg":75.5659328,"latitude_deg":11.7825472,"altitude":19,"angle":190,"satellites":22,"speed":10,"hex_longitude":"2d0a7240","hex_latitude":"0705dfc0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993149184001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31163402231480320,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067841277952,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789035743000,"timestamp_ms":1789035743000,"timestamp_seconds":1789035743,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad70718"} 
[2026-09-10 15:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15: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-09-10 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 15:53: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-09-10 15: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-09-10 15:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993149184001,"66":14407,"153":206,"94":10240,"24":10,"16":31163402231480320,"45":753227067841277952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 15:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993149184001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:53:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 15:53:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31163402231480320,"km_value":31163402231480.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067841277952,"description":"Unknown IO ID 45"} 
[2026-09-10 15:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993149184001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753227067841277952}} 
[2026-09-10 15:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":177789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:53:06] local.INFO: GPS data processed {"connection_id":177789,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:53:06] local.INFO: Acknowledgment sent {"connection_id":177789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:53:10] local.INFO: TCP Data received {"connection_id":177790,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad50760012d196840071fede8003f011d26..."} 
[2026-09-10 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad50760012d196840071fede8003f011d26..."} 
[2026-09-10 15:53:10] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad50760012d196840071fede8003f011d26..."} 
[2026-09-10 15:53:10] local.INFO: Packet analysis {"connection_id":177790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:10] local.INFO: Extracted packet for processing {"connection_id":177790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993111296001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53: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-09-10 15:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789035612000,"timestamp_ms":1789035612000,"timestamp_seconds":1789035612,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad50760"} 
[2026-09-10 15:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-10 15:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993111296001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993111296001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:53:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993111296001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":177790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:53:10] local.INFO: GPS data processed {"connection_id":177790,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:53:10] local.INFO: Acknowledgment sent {"connection_id":177790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:53:25] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad780300100000000000000000000000000..."} 
[2026-09-10 15:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad780300100000000000000000000000000..."} 
[2026-09-10 15:53:25] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad780300100000000000000000000000000..."} 
[2026-09-10 15:53:25] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:53:25] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:53:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789035774000,"timestamp_ms":1789035774000,"timestamp_seconds":1789035774,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad78030"} 
[2026-09-10 15:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 15:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:53:25] 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-09-10 15:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:53:25] local.INFO: GPS data processed {"connection_id":176620,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:53:25] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:53:27] local.INFO: TCP Data received {"connection_id":179166,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:53:27] local.INFO: Processing buffer {"connection_id":179166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:53:27] local.INFO: IMEI packet received {"connection_id":179166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":179166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:53:30] local.INFO: TCP Data received {"connection_id":179167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:53:30] local.INFO: Processing buffer {"connection_id":179167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:53:30] local.INFO: IMEI packet received {"connection_id":179167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":179167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:53:32] local.INFO: TCP Data received {"connection_id":179166,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:53:32] local.INFO: Processing buffer {"connection_id":179166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:53:32] local.INFO: IMEI packet received {"connection_id":179166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":179166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:53:34] local.INFO: TCP Data received {"connection_id":179167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:53:34] local.INFO: Processing buffer {"connection_id":179167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:53:34] local.INFO: IMEI packet received {"connection_id":179167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":179167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:53:35] local.INFO: TCP Data received {"connection_id":179167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:53:35] local.INFO: Processing buffer {"connection_id":179167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:53:35] local.INFO: Packet analysis {"connection_id":179167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:35] local.INFO: Extracted packet for processing {"connection_id":179167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:35] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:53: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-09-10 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":179167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:53:35] local.INFO: GPS data processed {"connection_id":179167,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:53:35] local.INFO: Acknowledgment sent {"connection_id":179167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:53:35] local.INFO: TCP Data received {"connection_id":179166,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad55968012d196840071fede8003f011d27..."} 
[2026-09-10 15:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad55968012d196840071fede8003f011d27..."} 
[2026-09-10 15:53:35] local.INFO: Processing buffer {"connection_id":179166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad55968012d196840071fede8003f011d27..."} 
[2026-09-10 15:53:35] local.INFO: Packet analysis {"connection_id":179166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:35] local.INFO: Extracted packet for processing {"connection_id":179166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993116672001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53: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-09-10 15:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789035633000,"timestamp_ms":1789035633000,"timestamp_seconds":1789035633,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad55968"} 
[2026-09-10 15:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993116672001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993116672001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993116672001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":179166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:53:35] local.INFO: GPS data processed {"connection_id":179166,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:53:35] local.INFO: Acknowledgment sent {"connection_id":179166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:53:39] local.INFO: TCP Data received {"connection_id":179167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:53:39] local.INFO: Processing buffer {"connection_id":179167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:53:39] local.INFO: Packet analysis {"connection_id":179167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:39] local.INFO: Extracted packet for processing {"connection_id":179167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:53: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-09-10 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":179167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":179167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":179167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:53: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-09-10 15:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:53:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:53:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":179167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:53:39] local.INFO: GPS data processed {"connection_id":179167,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:53:39] local.INFO: Acknowledgment sent {"connection_id":179167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:53:57] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:53:57] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:53:57] local.INFO: IMEI packet received {"connection_id":176393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":176393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:53:57] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad7d2380100000000000000000000000000..."} 
[2026-09-10 15:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad7d2380100000000000000000000000000..."} 
[2026-09-10 15:53:57] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad7d2380100000000000000000000000000..."} 
[2026-09-10 15:53:57] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:53:57] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:53:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:53:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789035795000,"timestamp_ms":1789035795000,"timestamp_seconds":1789035795,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad7d238"} 
[2026-09-10 15:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 15:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:53: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-09-10 15:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:53:57] local.INFO: GPS data processed {"connection_id":176620,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:53:57] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:54:02] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:02] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:02] local.INFO: IMEI packet received {"connection_id":176393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":176393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:54:03] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad80cd0012d0a4f8007057ba80015013517..."} 
[2026-09-10 15:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad80cd0012d0a4f8007057ba80015013517..."} 
[2026-09-10 15:54:03] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad80cd0012d0a4f8007057ba80015013517..."} 
[2026-09-10 15:54:03] local.INFO: Packet analysis {"connection_id":176393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:54:03] local.INFO: Extracted packet for processing {"connection_id":176393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:54:03] local.INFO: GPS Element Parsed {"raw_longitude":755650432,"raw_latitude":117799848,"longitude_deg":75.5650432,"latitude_deg":11.7799848,"altitude":21,"angle":309,"satellites":23,"speed":15,"hex_longitude":"2d0a4f80","hex_latitude":"07057ba8","is_valid_coordinates":true} 
[2026-09-10 15:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993167104001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31165012844216320,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743234706161184768,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789035810000,"timestamp_ms":1789035810000,"timestamp_seconds":1789035810,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad80cd0"} 
[2026-09-10 15:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 15:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993167104001,"66":14450,"153":206,"94":10240,"24":15,"16":31165012844216320,"45":743234706161184768},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-10 15:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993167104001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:54:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 15:54:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31165012844216320,"km_value":31165012844216.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":743234706161184768,"description":"Unknown IO ID 45"} 
[2026-09-10 15:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993167104001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":743234706161184768}} 
[2026-09-10 15:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":176393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:54:03] local.INFO: GPS data processed {"connection_id":176393,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:54:03] local.INFO: Acknowledgment sent {"connection_id":176393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:54:07] local.INFO: TCP Data received {"connection_id":179166,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad5ab70012d196840071fede8003f011d24..."} 
[2026-09-10 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad5ab70012d196840071fede8003f011d24..."} 
[2026-09-10 15:54:07] local.INFO: Processing buffer {"connection_id":179166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad5ab70012d196840071fede8003f011d24..."} 
[2026-09-10 15:54:07] local.INFO: Packet analysis {"connection_id":179166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:07] local.INFO: Extracted packet for processing {"connection_id":179166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15: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-09-10 15:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789035654000,"timestamp_ms":1789035654000,"timestamp_seconds":1789035654,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad5ab70"} 
[2026-09-10 15:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 15:54: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-09-10 15:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":179166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":179166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":179166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993122048001,"66":11254,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:54:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993122048001,"power":11254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":179166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:54:07] local.INFO: GPS data processed {"connection_id":179166,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:54:07] local.INFO: Acknowledgment sent {"connection_id":179166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:54:19] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:54:19] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:54:19] local.INFO: IMEI packet received {"connection_id":177791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":177791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:54:23] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:54:23] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:54:23] local.INFO: IMEI packet received {"connection_id":177791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":177791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:54:24] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:54:24] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:54:24] local.INFO: Packet analysis {"connection_id":177791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:24] local.INFO: Extracted packet for processing {"connection_id":177791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:54:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":177791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:54:24] local.INFO: GPS data processed {"connection_id":177791,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:54:24] local.INFO: Acknowledgment sent {"connection_id":177791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:54:27] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:27] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:27] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:54:27] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:27] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:27] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:54:27] local.INFO: TCP Data received {"connection_id":176622,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:54:27] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:54:27] local.INFO: IMEI packet received {"connection_id":176622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":176622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:54:28] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:28] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:28] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:54:28] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad824400100000000000000000000000000..."} 
[2026-09-10 15:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad824400100000000000000000000000000..."} 
[2026-09-10 15:54:28] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad824400100000000000000000000000000..."} 
[2026-09-10 15:54:28] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:54:28] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:54: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-09-10 15:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789035816000,"timestamp_ms":1789035816000,"timestamp_seconds":1789035816,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad82440"} 
[2026-09-10 15:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 15:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:54:28] 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-09-10 15:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:54:28] local.INFO: GPS data processed {"connection_id":176620,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:54:28] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:54:29] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:29] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:54:29] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 15:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:54:32] local.INFO: TCP Data received {"connection_id":176622,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:54:32] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:54:32] local.INFO: IMEI packet received {"connection_id":176622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":176622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:54:33] local.INFO: TCP Data received {"connection_id":176622,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad5fd78012d196840071fede8003f011d24..."} 
[2026-09-10 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad5fd78012d196840071fede8003f011d24..."} 
[2026-09-10 15:54:33] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad5fd78012d196840071fede8003f011d24..."} 
[2026-09-10 15:54:33] local.INFO: Packet analysis {"connection_id":176622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:33] local.INFO: Extracted packet for processing {"connection_id":176622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993127424001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035675000,"timestamp_ms":1789035675000,"timestamp_seconds":1789035675,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad5fd78"} 
[2026-09-10 15:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 15:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993127424001,"66":10776,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993127424001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:54:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:54:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993127424001,"power":10776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":176622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:54:33] local.INFO: GPS data processed {"connection_id":176622,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:54:33] local.INFO: Acknowledgment sent {"connection_id":176622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:54:55] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:54:55] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:54:55] local.INFO: Packet analysis {"connection_id":177791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:55] local.INFO: Extracted packet for processing {"connection_id":177791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 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-09-10 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":177791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:54:55] local.INFO: GPS data processed {"connection_id":177791,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:54:55] local.INFO: Acknowledgment sent {"connection_id":177791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:54:59] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad876480100000000000000000000000000..."} 
[2026-09-10 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad876480100000000000000000000000000..."} 
[2026-09-10 15:54:59] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad876480100000000000000000000000000..."} 
[2026-09-10 15:54:59] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:54:59] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:54:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789035837000,"timestamp_ms":1789035837000,"timestamp_seconds":1789035837,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad87648"} 
[2026-09-10 15:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:54:59] 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-09-10 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 15:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:54: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-09-10 15:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:54:59] local.INFO: GPS data processed {"connection_id":176620,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:54:59] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:55:04] local.INFO: TCP Data received {"connection_id":176622,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad64f80012d196840071fede8003f011d24..."} 
[2026-09-10 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad64f80012d196840071fede8003f011d24..."} 
[2026-09-10 15:55:04] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad64f80012d196840071fede8003f011d24..."} 
[2026-09-10 15:55:04] local.INFO: Packet analysis {"connection_id":176622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:55:04] local.INFO: Extracted packet for processing {"connection_id":176622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993132800001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55: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-09-10 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789035696000,"timestamp_ms":1789035696000,"timestamp_seconds":1789035696,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad64f80"} 
[2026-09-10 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:55: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-09-10 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4972255480777945206,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490432,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399850244639744,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":114,"raw_value":864691128455135233,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8443284789084219032,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513390463235850525,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":237,"raw_value":-1729312982893789184,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":63,"raw_value":80262149804392448,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939410126,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3568654337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 15:55:04] local.WARNING: Large IO value detected {"io_id":17,"raw_value":5188477832853980959,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,114,160,171,45,64,237,63,36,10,66,89,39,7,1,240,97,138,31,4,113,205,99,104,232,38,239,48,2,17],"length":630,"final_offset":760,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 15:55:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941939822198784,"timestamp_seconds":4539941939822199.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993132800001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993132800001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:55:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993132800001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":176622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:55:04] local.INFO: GPS data processed {"connection_id":176622,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:55:04] local.INFO: Acknowledgment sent {"connection_id":176622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:55:10] local.INFO: TCP Data received {"connection_id":177792,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:55:10] local.INFO: Processing buffer {"connection_id":177792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 15:55:10] local.INFO: IMEI packet received {"connection_id":177792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 15:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":177792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:55:18] local.INFO: TCP Data received {"connection_id":179169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:55:18] local.INFO: Processing buffer {"connection_id":179169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:55:18] local.INFO: IMEI packet received {"connection_id":179169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":179169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:55:24] local.INFO: TCP Data received {"connection_id":179169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:55:24] local.INFO: Processing buffer {"connection_id":179169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:55:24] local.INFO: IMEI packet received {"connection_id":179169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":179169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:55:24] local.INFO: TCP Data received {"connection_id":179169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:55:24] local.INFO: Processing buffer {"connection_id":179169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:55:24] local.INFO: Packet analysis {"connection_id":179169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:55:24] local.INFO: Extracted packet for processing {"connection_id":179169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:55:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:55:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":179169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:55:24] local.INFO: GPS data processed {"connection_id":179169,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:55:24] local.INFO: Acknowledgment sent {"connection_id":179169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:55:27] local.INFO: TCP Data received {"connection_id":177793,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:55:27] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:55:27] local.INFO: IMEI packet received {"connection_id":177793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":177793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:55:30] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad8c8500100000000000000000000000000..."} 
[2026-09-10 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad8c8500100000000000000000000000000..."} 
[2026-09-10 15:55:30] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad8c8500100000000000000000000000000..."} 
[2026-09-10 15:55:30] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:55:30] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:55: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-09-10 15:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789035858000,"timestamp_ms":1789035858000,"timestamp_seconds":1789035858,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad8c850"} 
[2026-09-10 15:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 15:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:55:30] 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-09-10 15:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:55:30] local.INFO: GPS data processed {"connection_id":176620,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:55:30] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:55:32] local.INFO: TCP Data received {"connection_id":177793,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:55:32] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:55:32] local.INFO: IMEI packet received {"connection_id":177793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":177793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:55:33] local.INFO: TCP Data received {"connection_id":177793,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad6a188012d196840071fede8003f011d25..."} 
[2026-09-10 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad6a188012d196840071fede8003f011d25..."} 
[2026-09-10 15:55:33] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad6a188012d196840071fede8003f011d25..."} 
[2026-09-10 15:55:33] local.INFO: Packet analysis {"connection_id":177793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:55:33] local.INFO: Extracted packet for processing {"connection_id":177793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993138176001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035717000,"timestamp_ms":1789035717000,"timestamp_seconds":1789035717,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad6a188"} 
[2026-09-10 15:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:55:33] 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-09-10 15: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-09-10 15:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993138176001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993138176001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:55:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993138176001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":177793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:55:33] local.INFO: GPS data processed {"connection_id":177793,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:55:33] local.INFO: Acknowledgment sent {"connection_id":177793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:55:55] local.INFO: TCP Data received {"connection_id":179169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:55:55] local.INFO: Processing buffer {"connection_id":179169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad549c8012cc33340076855f0005b015f27..."} 
[2026-09-10 15:55:55] local.INFO: Packet analysis {"connection_id":179169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:55:55] local.INFO: Extracted packet for processing {"connection_id":179169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad5"} 
[2026-09-10 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993043968001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035629000,"timestamp_ms":1789035629000,"timestamp_seconds":1789035629,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad549c8"} 
[2026-09-10 15:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 15:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993043968001,"66":24647,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993043968001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:55:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993043968001,"power":24647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":179169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:55:55] local.INFO: GPS data processed {"connection_id":179169,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:55:55] local.INFO: Acknowledgment sent {"connection_id":179169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:56:01] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad91a580100000000000000000000000000..."} 
[2026-09-10 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad91a580100000000000000000000000000..."} 
[2026-09-10 15:56:01] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad91a580100000000000000000000000000..."} 
[2026-09-10 15:56:01] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:01] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789035879000,"timestamp_ms":1789035879000,"timestamp_seconds":1789035879,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad91a58"} 
[2026-09-10 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-09-10 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 15:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:56:01] 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-09-10 15:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:56:01] local.INFO: GPS data processed {"connection_id":176620,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:56:01] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:56:05] local.INFO: TCP Data received {"connection_id":177793,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad6f390012d196840071fede8003f011d24..."} 
[2026-09-10 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad6f390012d196840071fede8003f011d24..."} 
[2026-09-10 15:56:05] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad6f390012d196840071fede8003f011d24..."} 
[2026-09-10 15:56:05] local.INFO: Packet analysis {"connection_id":177793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:56:05] local.INFO: Extracted packet for processing {"connection_id":177793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad6"} 
[2026-09-10 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993143552001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56: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-09-10 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789035738000,"timestamp_ms":1789035738000,"timestamp_seconds":1789035738,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad6f390"} 
[2026-09-10 15:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:56: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-09-10 15:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993143552001,"66":12319,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993143552001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993143552001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":177793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:56:05] local.INFO: GPS data processed {"connection_id":177793,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:56:05] local.INFO: Acknowledgment sent {"connection_id":177793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:56:19] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:56:19] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:56:19] local.INFO: IMEI packet received {"connection_id":176396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":176396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:56:24] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:56:24] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:56:24] local.INFO: IMEI packet received {"connection_id":176396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":176396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:56:24] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:56:24] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:56:24] local.INFO: Packet analysis {"connection_id":176396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:24] local.INFO: Extracted packet for processing {"connection_id":176396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 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-09-10 15:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:56:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":176396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:56:24] local.INFO: GPS data processed {"connection_id":176396,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:56:24] local.INFO: Acknowledgment sent {"connection_id":176396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:56:27] local.INFO: TCP Data received {"connection_id":176398,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:56:27] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:56:27] local.INFO: IMEI packet received {"connection_id":176398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":176398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:56:31] local.INFO: TCP Data received {"connection_id":176398,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:56:31] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:56:31] local.INFO: IMEI packet received {"connection_id":176398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":176398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:56:32] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad96c600100000000000000000000000000..."} 
[2026-09-10 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad96c600100000000000000000000000000..."} 
[2026-09-10 15:56:32] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad96c600100000000000000000000000000..."} 
[2026-09-10 15:56:32] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:32] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789035900000,"timestamp_ms":1789035900000,"timestamp_seconds":1789035900,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad96c60"} 
[2026-09-10 15:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 15:56: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-09-10 15: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-09-10 15:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:56:32] 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-09-10 15:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:56:32] local.INFO: GPS data processed {"connection_id":176620,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:56:32] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:56:33] local.INFO: TCP Data received {"connection_id":176398,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad74598012d196840071fede8003f011d25..."} 
[2026-09-10 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad74598012d196840071fede8003f011d25..."} 
[2026-09-10 15:56:33] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad74598012d196840071fede8003f011d25..."} 
[2026-09-10 15:56:33] local.INFO: Packet analysis {"connection_id":176398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:56:33] local.INFO: Extracted packet for processing {"connection_id":176398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993148928001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035759000,"timestamp_ms":1789035759000,"timestamp_seconds":1789035759,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad74598"} 
[2026-09-10 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-09-10 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 15:56:33] 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-09-10 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-09-10 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-09-10 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993148928001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993148928001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:56:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993148928001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":176398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:56:33] local.INFO: GPS data processed {"connection_id":176398,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:56:33] local.INFO: Acknowledgment sent {"connection_id":176398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:56:52] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:52] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:52] local.INFO: IMEI packet received {"connection_id":176399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":176399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:56:53] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:53] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:53] local.INFO: IMEI packet received {"connection_id":176399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":176399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:56:55] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:55] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:55] local.INFO: IMEI packet received {"connection_id":176399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":176399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:56:55] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:56:55] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:56:55] local.INFO: Packet analysis {"connection_id":176396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:55] local.INFO: Extracted packet for processing {"connection_id":176396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 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-09-10 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:56:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":176396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:56:55] local.INFO: GPS data processed {"connection_id":176396,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:56:55] local.INFO: Acknowledgment sent {"connection_id":176396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:56:57] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:57] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:56:57] local.INFO: IMEI packet received {"connection_id":176399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":176399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:56:58] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9be680100000000000000000000000000..."} 
[2026-09-10 15:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9be680100000000000000000000000000..."} 
[2026-09-10 15:56:58] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9be680100000000000000000000000000..."} 
[2026-09-10 15:56:58] local.INFO: Packet analysis {"connection_id":176399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:58] local.INFO: Extracted packet for processing {"connection_id":176399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:56:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789035921000,"timestamp_ms":1789035921000,"timestamp_seconds":1789035921,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9be68"} 
[2026-09-10 15:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 15:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:56:58] 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-09-10 15:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":176399,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 15:56:58] local.INFO: GPS data processed {"connection_id":176399,"processed":0,"errors":0,"total":1} 
[2026-09-10 15:56:58] local.INFO: Acknowledgment sent {"connection_id":176399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:57:05] local.INFO: TCP Data received {"connection_id":176398,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad797a0012d196840071fede8003f011d24..."} 
[2026-09-10 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad797a0012d196840071fede8003f011d24..."} 
[2026-09-10 15:57:05] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad797a0012d196840071fede8003f011d24..."} 
[2026-09-10 15:57:05] local.INFO: Packet analysis {"connection_id":176398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:57:05] local.INFO: Extracted packet for processing {"connection_id":176398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993154304001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57: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-09-10 15:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789035780000,"timestamp_ms":1789035780000,"timestamp_seconds":1789035780,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad797a0"} 
[2026-09-10 15:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:57: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-09-10 15:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993154304001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993154304001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993154304001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":176398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:57:05] local.INFO: GPS data processed {"connection_id":176398,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:57:05] local.INFO: Acknowledgment sent {"connection_id":176398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:57:18] local.INFO: TCP Data received {"connection_id":179170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:57:18] local.INFO: Processing buffer {"connection_id":179170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:57:18] local.INFO: IMEI packet received {"connection_id":179170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":179170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:57:24] local.INFO: TCP Data received {"connection_id":179170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:57:24] local.INFO: Processing buffer {"connection_id":179170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:57:24] local.INFO: IMEI packet received {"connection_id":179170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":179170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:57:24] local.INFO: TCP Data received {"connection_id":179170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:57:24] local.INFO: Processing buffer {"connection_id":179170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:57:24] local.INFO: Packet analysis {"connection_id":179170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:57:24] local.INFO: Extracted packet for processing {"connection_id":179170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:57:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 15:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:57:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:57:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":179170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:57:24] local.INFO: GPS data processed {"connection_id":179170,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:57:24] local.INFO: Acknowledgment sent {"connection_id":179170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:57:29] local.INFO: TCP Data received {"connection_id":179171,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:29] local.INFO: Processing buffer {"connection_id":179171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:29] local.INFO: IMEI packet received {"connection_id":179171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":179171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:57:32] local.INFO: TCP Data received {"connection_id":179171,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:32] local.INFO: Processing buffer {"connection_id":179171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:32] local.INFO: IMEI packet received {"connection_id":179171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":179171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:57:34] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9ed48012d7a0fc005ec24900000009709..."} 
[2026-09-10 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9ed48012d7a0fc005ec24900000009709..."} 
[2026-09-10 15:57:34] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9ed48012d7a0fc005ec24900000009709..."} 
[2026-09-10 15:57:34] local.INFO: Packet analysis {"connection_id":176399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:57:34] local.INFO: Extracted packet for processing {"connection_id":176399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99361936,"longitude_deg":76.2974144,"latitude_deg":9.9361936,"altitude":0,"angle":151,"satellites":9,"speed":10,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec2490","is_valid_coordinates":true} 
[2026-09-10 15:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130722625348435968,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 15:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789035933000,"timestamp_ms":1789035933000,"timestamp_seconds":1789035933,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9ed48"} 
[2026-09-10 15:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 15:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:57:34] 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-09-10 15:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12667,"100":206,"87":13824,"24":10,"16":130722625348435968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16]} 
[2026-09-10 15:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 15:57:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 15:57:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130722625348435968,"km_value":130722625348435.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:57:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12667,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null}} 
[2026-09-10 15:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":176399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:57:34] local.INFO: GPS data processed {"connection_id":176399,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:57:34] local.INFO: Acknowledgment sent {"connection_id":176399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:57:37] local.INFO: TCP Data received {"connection_id":179171,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:37] local.INFO: Processing buffer {"connection_id":179171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:57:37] local.INFO: IMEI packet received {"connection_id":179171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":179171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:57:38] local.INFO: TCP Data received {"connection_id":179171,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad7e9a8012d196840071fede8003f011d24..."} 
[2026-09-10 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad7e9a8012d196840071fede8003f011d24..."} 
[2026-09-10 15:57:38] local.INFO: Processing buffer {"connection_id":179171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad7e9a8012d196840071fede8003f011d24..."} 
[2026-09-10 15:57:38] local.INFO: Packet analysis {"connection_id":179171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:57:38] local.INFO: Extracted packet for processing {"connection_id":179171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad7"} 
[2026-09-10 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993159680001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57: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-09-10 15:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789035801000,"timestamp_ms":1789035801000,"timestamp_seconds":1789035801,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad7e9a8"} 
[2026-09-10 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-09-10 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:57: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-09-10 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-09-10 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-09-10 15:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993159680001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993159680001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:57:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:57:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993159680001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":179171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:57:38] local.INFO: GPS data processed {"connection_id":179171,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:57:38] local.INFO: Acknowledgment sent {"connection_id":179171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:57:43] local.INFO: TCP Data received {"connection_id":179171,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad83bb0012d196840071fede8003f011d25..."} 
[2026-09-10 15:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad83bb0012d196840071fede8003f011d25..."} 
[2026-09-10 15:57:43] local.INFO: Processing buffer {"connection_id":179171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad83bb0012d196840071fede8003f011d25..."} 
[2026-09-10 15:57:43] local.INFO: Packet analysis {"connection_id":179171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:57:43] local.INFO: Extracted packet for processing {"connection_id":179171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993165056001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57: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-09-10 15:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789035822000,"timestamp_ms":1789035822000,"timestamp_seconds":1789035822,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad83bb0"} 
[2026-09-10 15:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:57: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-09-10 15:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993165056001,"66":12319,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993165056001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993165056001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":179171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:57:43] local.INFO: GPS data processed {"connection_id":179171,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:57:43] local.INFO: Acknowledgment sent {"connection_id":179171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:57:55] local.INFO: TCP Data received {"connection_id":179170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:57:55] local.INFO: Processing buffer {"connection_id":179170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:57:55] local.INFO: Packet analysis {"connection_id":179170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:57:55] local.INFO: Extracted packet for processing {"connection_id":179170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:57:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 15:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:57:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:57:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":179170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:57:55] local.INFO: GPS data processed {"connection_id":179170,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:57:55] local.INFO: Acknowledgment sent {"connection_id":179170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:58:06] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adbd1a8012d7abe8005ebbc18000000410d..."} 
[2026-09-10 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adbd1a8012d7abe8005ebbc18000000410d..."} 
[2026-09-10 15:58:06] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adbd1a8012d7abe8005ebbc18000000410d..."} 
[2026-09-10 15:58:06] local.INFO: Packet analysis {"connection_id":176399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adb"} 
[2026-09-10 15:58:06] local.INFO: Extracted packet for processing {"connection_id":176399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adb"} 
[2026-09-10 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763018880,"raw_latitude":99335192,"longitude_deg":76.301888,"latitude_deg":9.9335192,"altitude":0,"angle":65,"satellites":13,"speed":26,"hex_longitude":"2d7abe80","hex_latitude":"05ebbc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993227776001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130725962538024960,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834936594423056384,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789036057000,"timestamp_ms":1789036057000,"timestamp_seconds":1789036057,"priority":1,"record_length":96,"hex_timestamp":"000001a08adbd1a8"} 
[2026-09-10 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-09-10 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 15:58: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-09-10 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-09-10 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-09-10 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993227776001,"66":13319,"99":206,"87":13824,"24":26,"16":130725962538024960,"45":8834936594423056384},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993227776001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:58:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:58:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130725962538024960,"km_value":130725962538024.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834936594423056384,"description":"Unknown IO ID 45"} 
[2026-09-10 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993227776001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8834936594423056384}} 
[2026-09-10 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":176399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:58:06] local.INFO: GPS data processed {"connection_id":176399,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:58:06] local.INFO: Acknowledgment sent {"connection_id":176399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:58:19] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:58:19] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:58:19] local.INFO: IMEI packet received {"connection_id":176623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":176623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:58:24] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:58:24] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:58:24] local.INFO: IMEI packet received {"connection_id":176623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:58:24] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:58:24] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:58:24] local.INFO: Packet analysis {"connection_id":176623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:58:24] local.INFO: Extracted packet for processing {"connection_id":176623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:58:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 15:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:58:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:58:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":176623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:58:24] local.INFO: GPS data processed {"connection_id":176623,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:58:24] local.INFO: Acknowledgment sent {"connection_id":176623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:58:27] local.INFO: TCP Data received {"connection_id":179172,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:58:27] local.INFO: Processing buffer {"connection_id":179172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:58:27] local.INFO: IMEI packet received {"connection_id":179172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":179172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:58:32] local.INFO: TCP Data received {"connection_id":179172,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:58:32] local.INFO: Processing buffer {"connection_id":179172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:58:32] local.INFO: IMEI packet received {"connection_id":179172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":179172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:58:33] local.INFO: TCP Data received {"connection_id":179172,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad88db8012d196840071fede8003f011d22..."} 
[2026-09-10 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad88db8012d196840071fede8003f011d22..."} 
[2026-09-10 15:58:33] local.INFO: Processing buffer {"connection_id":179172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad88db8012d196840071fede8003f011d22..."} 
[2026-09-10 15:58:33] local.INFO: Packet analysis {"connection_id":179172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:58:33] local.INFO: Extracted packet for processing {"connection_id":179172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993170432001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035843000,"timestamp_ms":1789035843000,"timestamp_seconds":1789035843,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad88db8"} 
[2026-09-10 15:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 15:58:33] 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-09-10 15: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-09-10 15:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993170432001,"66":12374,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993170432001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:58:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993170432001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":179172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:58:33] local.INFO: GPS data processed {"connection_id":179172,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:58:33] local.INFO: Acknowledgment sent {"connection_id":179172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:58:37] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adbfca0012d7ae04005ebcb800000003f10..."} 
[2026-09-10 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adbfca0012d7ae04005ebcb800000003f10..."} 
[2026-09-10 15:58:37] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adbfca0012d7ae04005ebcb800000003f10..."} 
[2026-09-10 15:58:37] local.INFO: Packet analysis {"connection_id":176399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adb"} 
[2026-09-10 15:58:37] local.INFO: Extracted packet for processing {"connection_id":176399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adb"} 
[2026-09-10 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763027520,"raw_latitude":99339136,"longitude_deg":76.302752,"latitude_deg":9.9339136,"altitude":0,"angle":63,"satellites":16,"speed":31,"hex_longitude":"2d7ae040","hex_latitude":"05ebcb80","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993230592001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130726417804558336,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844647481120397312,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789036068000,"timestamp_ms":1789036068000,"timestamp_seconds":1789036068,"priority":1,"record_length":96,"hex_timestamp":"000001a08adbfca0"} 
[2026-09-10 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-09-10 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2329610864,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070381,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3676942337,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-6714867044399969280,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952799744,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-2907072264630878203,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,99,87,24,241,157,16,110,160,166,45,175,12,10,66,161,119,192,163,11,109,53,1,240,51,227,138,235,4,113,205,33,82,96,239,2,208,5,7,248,218],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-09-10 15:58:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":71524092084224,"timestamp_seconds":71524092084.224,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:58:37] 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-09-10 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993230592001,"66":13374,"99":206,"87":13824,"24":31,"16":130726417804558336,"45":8844647481120397312},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993230592001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130726417804558336,"km_value":130726417804558.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844647481120397312,"description":"Unknown IO ID 45"} 
[2026-09-10 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993230592001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8844647481120397312}} 
[2026-09-10 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":176399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:58:37] local.INFO: GPS data processed {"connection_id":176399,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:58:37] local.INFO: Acknowledgment sent {"connection_id":176399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:58:52] local.INFO: TCP Data received {"connection_id":177795,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:58:52] local.INFO: Processing buffer {"connection_id":177795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:58:52] local.INFO: IMEI packet received {"connection_id":177795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 15:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":177795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:58:55] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:58:55] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:58:55] local.INFO: Packet analysis {"connection_id":176623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:58:55] local.INFO: Extracted packet for processing {"connection_id":176623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 15:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:58:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":176623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:58:55] local.INFO: GPS data processed {"connection_id":176623,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:58:55] local.INFO: Acknowledgment sent {"connection_id":176623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:58:57] local.INFO: TCP Data received {"connection_id":177795,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:58:57] local.INFO: Processing buffer {"connection_id":177795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 15:58:57] local.INFO: IMEI packet received {"connection_id":177795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 15:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":177795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:58:58] local.INFO: TCP Data received {"connection_id":177795,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adc2798012d7b028005ebdc180005004012..."} 
[2026-09-10 15:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adc2798012d7b028005ebdc180005004012..."} 
[2026-09-10 15:58:58] local.INFO: Processing buffer {"connection_id":177795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adc2798012d7b028005ebdc180005004012..."} 
[2026-09-10 15:58:58] local.INFO: Packet analysis {"connection_id":177795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 15:58:58] local.INFO: Extracted packet for processing {"connection_id":177795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 15:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763036288,"raw_latitude":99343384,"longitude_deg":76.3036288,"latitude_deg":9.9343384,"altitude":5,"angle":64,"satellites":18,"speed":31,"hex_longitude":"2d7b0280","hex_latitude":"05ebdc18","is_valid_coordinates":true} 
[2026-09-10 15:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993233408001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130726885955993600,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854147261585391616,"note":"Value kept but may cause issues"} 
[2026-09-10 15:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789036079000,"timestamp_ms":1789036079000,"timestamp_seconds":1789036079,"priority":1,"record_length":96,"hex_timestamp":"000001a08adc2798"} 
[2026-09-10 15:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 15:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:58:58] 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-09-10 15:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993233408001,"66":13102,"99":206,"87":13824,"24":31,"16":130726885955993600,"45":8854147261585391616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993233408001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:58:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130726885955993600,"km_value":130726885955993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854147261585391616,"description":"Unknown IO ID 45"} 
[2026-09-10 15:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993233408001,"power":13102,"unknown_99":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8854147261585391616}} 
[2026-09-10 15:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":177795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:58:59] local.INFO: GPS data processed {"connection_id":177795,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:58:59] local.INFO: Acknowledgment sent {"connection_id":177795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:59:05] local.INFO: TCP Data received {"connection_id":179172,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad8dfc0012d196840071fede8003f011d24..."} 
[2026-09-10 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad8dfc0012d196840071fede8003f011d24..."} 
[2026-09-10 15:59:05] local.INFO: Processing buffer {"connection_id":179172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad8dfc0012d196840071fede8003f011d24..."} 
[2026-09-10 15:59:05] local.INFO: Packet analysis {"connection_id":179172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:59:05] local.INFO: Extracted packet for processing {"connection_id":179172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad8"} 
[2026-09-10 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993175808001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59: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-09-10 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789035864000,"timestamp_ms":1789035864000,"timestamp_seconds":1789035864,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad8dfc0"} 
[2026-09-10 15:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 15:59: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-09-10 15:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993175808001,"66":12385,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993175808001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993175808001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":179172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:59:05] local.INFO: GPS data processed {"connection_id":179172,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:59:05] local.INFO: Acknowledgment sent {"connection_id":179172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:59:18] local.INFO: TCP Data received {"connection_id":179174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:59:18] local.INFO: Processing buffer {"connection_id":179174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:59:18] local.INFO: IMEI packet received {"connection_id":179174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 15:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":179174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:59:24] local.INFO: TCP Data received {"connection_id":179174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:59:24] local.INFO: Processing buffer {"connection_id":179174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 15:59:24] local.INFO: IMEI packet received {"connection_id":179174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 15:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":179174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:59:24] local.INFO: TCP Data received {"connection_id":179174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:59:24] local.INFO: Processing buffer {"connection_id":179174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:59:24] local.INFO: Packet analysis {"connection_id":179174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:59:24] local.INFO: Extracted packet for processing {"connection_id":179174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:59:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 15:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:59:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":179174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:59:24] local.INFO: GPS data processed {"connection_id":179174,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:59:24] local.INFO: Acknowledgment sent {"connection_id":179174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:59:27] local.INFO: TCP Data received {"connection_id":177796,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:59:27] local.INFO: Processing buffer {"connection_id":177796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:59:27] local.INFO: IMEI packet received {"connection_id":177796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":177796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:59:31] local.INFO: TCP Data received {"connection_id":177797,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:59:31] local.INFO: Processing buffer {"connection_id":177797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 15:59:31] local.INFO: IMEI packet received {"connection_id":177797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 15:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":177797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 15:59:31] local.INFO: TCP Data received {"connection_id":177797,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08add3908012d09bec007050320001800631c..."} 
[2026-09-10 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08add3908012d09bec007050320001800631c..."} 
[2026-09-10 15:59:31] local.INFO: Processing buffer {"connection_id":177797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08add3908012d09bec007050320001800631c..."} 
[2026-09-10 15:59:31] local.INFO: Packet analysis {"connection_id":177797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 15:59:31] local.INFO: Extracted packet for processing {"connection_id":177797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":755613376,"raw_latitude":117768992,"longitude_deg":75.5613376,"latitude_deg":11.7768992,"altitude":24,"angle":99,"satellites":28,"speed":3,"hex_longitude":"2d09bec0","hex_latitude":"07050320","is_valid_coordinates":true} 
[2026-09-10 15: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-09-10 15:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993251072001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31168685041254400,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701787515832737792,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789036149000,"timestamp_ms":1789036149000,"timestamp_seconds":1789036149,"priority":1,"record_length":96,"hex_timestamp":"000001a08add3908"} 
[2026-09-10 15:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 15:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15: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-09-10 15:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 15:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 15:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 15:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993251072001,"66":14515,"179":206,"94":10240,"24":3,"16":31168685041254400,"45":701787515832737792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-09-10 15:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 15:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 15:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993251072001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:59:31] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 15:59:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 15:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31168685041254400,"km_value":31168685041254.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":701787515832737792,"description":"Unknown IO ID 45"} 
[2026-09-10 15:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993251072001,"power":14515,"unknown_179":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":701787515832737792}} 
[2026-09-10 15:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":177797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:59:32] local.INFO: GPS data processed {"connection_id":177797,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:59:32] local.INFO: Acknowledgment sent {"connection_id":177797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:59:32] local.INFO: TCP Data received {"connection_id":177796,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:59:32] local.INFO: Processing buffer {"connection_id":177796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 15:59:32] local.INFO: IMEI packet received {"connection_id":177796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 15:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":177796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 15:59:33] local.INFO: TCP Data received {"connection_id":177796,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad931c8012d196840071fede8003f011d24..."} 
[2026-09-10 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad931c8012d196840071fede8003f011d24..."} 
[2026-09-10 15:59:33] local.INFO: Processing buffer {"connection_id":177796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad931c8012d196840071fede8003f011d24..."} 
[2026-09-10 15:59:33] local.INFO: Packet analysis {"connection_id":177796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:59:33] local.INFO: Extracted packet for processing {"connection_id":177796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 15:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993181184001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789035885000,"timestamp_ms":1789035885000,"timestamp_seconds":1789035885,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad931c8"} 
[2026-09-10 15:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 15:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 15:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 15:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 15:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993181184001,"66":12406,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 15:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 15:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 15:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993181184001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:59:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 15:59:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 15:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 15:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993181184001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 15:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":177796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:59:33] local.INFO: GPS data processed {"connection_id":177796,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:59:33] local.INFO: Acknowledgment sent {"connection_id":177796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:59:50] local.INFO: TCP Data received {"connection_id":177795,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adc5678012d7b240005ebeca80008003f15..."} 
[2026-09-10 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adc5678012d7b240005ebeca80008003f15..."} 
[2026-09-10 15:59:50] local.INFO: Processing buffer {"connection_id":177795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adc5678012d7b240005ebeca80008003f15..."} 
[2026-09-10 15:59:50] local.INFO: Packet analysis {"connection_id":177795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 15:59:50] local.INFO: Extracted packet for processing {"connection_id":177795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":99347624,"longitude_deg":76.3044864,"latitude_deg":9.9347624,"altitude":8,"angle":63,"satellites":21,"speed":31,"hex_longitude":"2d7b2400","hex_latitude":"05ebeca8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 15:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993236224001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130727345517494272,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863787779538819072,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789036091000,"timestamp_ms":1789036091000,"timestamp_seconds":1789036091,"priority":1,"record_length":96,"hex_timestamp":"000001a08adc5678"} 
[2026-09-10 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-09-10 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 15:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 15:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 15:59:50] 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-09-10 15:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 15:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 15:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993236224001,"66":13678,"99":206,"87":13824,"24":31,"16":130727345517494272,"45":8863787779538819072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 15:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 15:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 15:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993236224001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:59:50] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 15:59:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 15:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130727345517494272,"km_value":130727345517494.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863787779538819072,"description":"Unknown IO ID 45"} 
[2026-09-10 15:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993236224001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8863787779538819072}} 
[2026-09-10 15:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":177795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:59:50] local.INFO: GPS data processed {"connection_id":177795,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:59:50] local.INFO: Acknowledgment sent {"connection_id":177795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 15:59:55] local.INFO: TCP Data received {"connection_id":179174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:59:55] local.INFO: Processing buffer {"connection_id":179174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 15:59:55] local.INFO: Packet analysis {"connection_id":179174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:59:55] local.INFO: Extracted packet for processing {"connection_id":179174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 15:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 15:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 15:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 15:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 15:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 15:59: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 15:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 15:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 15:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 15:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 15:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 15:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 15:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 15:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 15:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 15:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 15:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 15:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 15:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 15:59:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 15:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 15:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 15:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 15:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 15:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":179174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 15:59:55] local.INFO: GPS data processed {"connection_id":179174,"processed":1,"errors":0,"total":1} 
[2026-09-10 15:59:55] local.INFO: Acknowledgment sent {"connection_id":179174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:02] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:02] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:02] local.INFO: IMEI packet received {"connection_id":176401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":176401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:00:02] local.INFO: TCP Data received {"connection_id":177797,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08addf0a0012d09d4000704c9f0001d00671b..."} 
[2026-09-10 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08addf0a0012d09d4000704c9f0001d00671b..."} 
[2026-09-10 16:00:02] local.INFO: Processing buffer {"connection_id":177797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08addf0a0012d09d4000704c9f0001d00671b..."} 
[2026-09-10 16:00:02] local.INFO: Packet analysis {"connection_id":177797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:02] local.INFO: Extracted packet for processing {"connection_id":177797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:02] local.INFO: GPS Element Parsed {"raw_longitude":755618816,"raw_latitude":117754352,"longitude_deg":75.5618816,"latitude_deg":11.7754352,"altitude":29,"angle":103,"satellites":27,"speed":5,"hex_longitude":"2d09d400","hex_latitude":"0704c9f0","is_valid_coordinates":true} 
[2026-09-10 16:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993265408001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31169544034713600,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707768859084101632,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789036196000,"timestamp_ms":1789036196000,"timestamp_seconds":1789036196,"priority":1,"record_length":96,"hex_timestamp":"000001a08addf0a0"} 
[2026-09-10 16:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3659183302967296,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633056057344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2329767864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":63488,"corrected_to":0} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3716622337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008219854,"corrected_to":0} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2684431625,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147943677,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-2305816618130931706,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3152740352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1729713251911993093,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,179,94,24,241,157,16,188,160,225,45,203,29,27,10,66,221,64,193,1,240,103,227,138,4,113,205,7,115,201,232,239,56,2,110,13,96],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":203,"original":63488,"validated":0},{"io_id":205,"original":2008219854,"validated":0}]} 
[2026-09-10 16:00:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089813279576162304,"timestamp_seconds":2089813279576162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993265408001,"66":14537,"179":206,"94":10240,"24":5,"16":31169544034713600,"45":707768859084101632},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-09-10 16:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993265408001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 16:00:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31169544034713600,"km_value":31169544034713.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":707768859084101632,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993265408001,"power":14537,"unknown_179":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":707768859084101632}} 
[2026-09-10 16:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":177797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:03] local.INFO: GPS data processed {"connection_id":177797,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:03] local.INFO: Acknowledgment sent {"connection_id":177797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:05] local.INFO: TCP Data received {"connection_id":177796,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08adcb820012d196840071fede8003f011d25..."} 
[2026-09-10 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adcb820012d196840071fede8003f011d25..."} 
[2026-09-10 16:00:05] local.INFO: Processing buffer {"connection_id":177796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adcb820012d196840071fede8003f011d25..."} 
[2026-09-10 16:00:05] local.INFO: Packet analysis {"connection_id":177796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 16:00:05] local.INFO: Extracted packet for processing {"connection_id":177796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993240320001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00: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-09-10 16:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789036116000,"timestamp_ms":1789036116000,"timestamp_seconds":1789036116,"priority":1,"record_length":96,"hex_timestamp":"000001a08adcb820"} 
[2026-09-10 16:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993240320001,"66":12341,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993240320001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993240320001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 16:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":177796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:05] local.INFO: GPS data processed {"connection_id":177796,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:05] local.INFO: Acknowledgment sent {"connection_id":177796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:06] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:06] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:06] local.INFO: IMEI packet received {"connection_id":176401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":176401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:00:07] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adc8940012d7b448005ebfd10000b004015..."} 
[2026-09-10 16:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adc8940012d7b448005ebfd10000b004015..."} 
[2026-09-10 16:00:07] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adc8940012d7b448005ebfd10000b004015..."} 
[2026-09-10 16:00:07] local.INFO: Packet analysis {"connection_id":176401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 16:00:07] local.INFO: Extracted packet for processing {"connection_id":176401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 16:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":99351824,"longitude_deg":76.3053184,"latitude_deg":9.9351824,"altitude":11,"angle":64,"satellites":21,"speed":28,"hex_longitude":"2d7b4480","hex_latitude":"05ebfd10","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993239296001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130727792194093056,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191259711488,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789036104000,"timestamp_ms":1789036104000,"timestamp_seconds":1789036104,"priority":1,"record_length":96,"hex_timestamp":"000001a08adc8940"} 
[2026-09-10 16:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:00:07] 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-09-10 16:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993239296001,"66":13243,"99":206,"87":13824,"24":28,"16":130727792194093056,"45":8873217191259711488},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 16:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993239296001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:07] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 16:00:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130727792194093056,"km_value":130727792194093.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191259711488,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993239296001,"power":13243,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8873217191259711488}} 
[2026-09-10 16:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":176401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:07] local.INFO: GPS data processed {"connection_id":176401,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:07] local.INFO: Acknowledgment sent {"connection_id":176401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:18] local.INFO: TCP Data received {"connection_id":179175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:00:18] local.INFO: Processing buffer {"connection_id":179175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:00:18] local.INFO: IMEI packet received {"connection_id":179175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":179175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:00:24] local.INFO: TCP Data received {"connection_id":179175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:00:24] local.INFO: Processing buffer {"connection_id":179175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:00:24] local.INFO: IMEI packet received {"connection_id":179175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":179175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:00:24] local.INFO: TCP Data received {"connection_id":179175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 16:00:24] local.INFO: Processing buffer {"connection_id":179175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 16:00:24] local.INFO: Packet analysis {"connection_id":179175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 16:00:24] local.INFO: Extracted packet for processing {"connection_id":179175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 16:00:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 16:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 16:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 16:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":179175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:24] local.INFO: GPS data processed {"connection_id":179175,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:24] local.INFO: Acknowledgment sent {"connection_id":179175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:27] local.INFO: TCP Data received {"connection_id":176624,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:00:27] local.INFO: Processing buffer {"connection_id":176624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:00:27] local.INFO: IMEI packet received {"connection_id":176624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":176624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:00:30] local.INFO: TCP Data received {"connection_id":176402,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:30] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:30] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:00:32] local.INFO: TCP Data received {"connection_id":176624,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:00:32] local.INFO: Processing buffer {"connection_id":176624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:00:32] local.INFO: IMEI packet received {"connection_id":176624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":176624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:00:32] local.INFO: TCP Data received {"connection_id":176402,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:32] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:32] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:00:32] local.INFO: TCP Data received {"connection_id":176624,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08addf488012d09d4800704ca00001d00551b..."} 
[2026-09-10 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08addf488012d09d4800704ca00001d00551b..."} 
[2026-09-10 16:00:32] local.INFO: Processing buffer {"connection_id":176624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08addf488012d09d4800704ca00001d00551b..."} 
[2026-09-10 16:00:32] local.INFO: Packet analysis {"connection_id":176624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:32] local.INFO: Extracted packet for processing {"connection_id":176624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:32] local.INFO: GPS Element Parsed {"raw_longitude":755618944,"raw_latitude":117754368,"longitude_deg":75.5618944,"latitude_deg":11.7754368,"altitude":29,"angle":85,"satellites":27,"speed":7,"hex_longitude":"2d09d480","hex_latitude":"0704ca00","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993266176001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31169552624648192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708191071549124608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789036197000,"timestamp_ms":1789036197000,"timestamp_seconds":1789036197,"priority":1,"record_length":96,"hex_timestamp":"000001a08addf488"} 
[2026-09-10 16:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993266176001,"66":14515,"179":206,"94":10240,"24":7,"16":31169552624648192,"45":708191071549124608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-09-10 16:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993266176001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:32] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 16:00:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31169552624648192,"km_value":31169552624648.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":708191071549124608,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993266176001,"power":14515,"unknown_179":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":708191071549124608}} 
[2026-09-10 16:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":176624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:32] local.INFO: GPS data processed {"connection_id":176624,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:32] local.INFO: Acknowledgment sent {"connection_id":176624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:36] local.INFO: TCP Data received {"connection_id":176402,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:36] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:00:36] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:00:43] local.INFO: TCP Data received {"connection_id":176402,"ip":"117.224.200.161","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a08a..."} 
[2026-09-10 16:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a08a..."} 
[2026-09-10 16:00:43] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a08a..."} 
[2026-09-10 16:00:43] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:00:45] local.INFO: TCP Data received {"connection_id":176402,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08add5c30012d196840071fede8003f011d25..."} 
[2026-09-10 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08add5c30012d196840071fede8003f011d25..."} 
[2026-09-10 16:00:45] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08add0a28012d196840071fede8003f011d25..."} 
[2026-09-10 16:00:45] local.INFO: Packet analysis {"connection_id":176402,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:45] local.INFO: Extracted packet for processing {"connection_id":176402,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993245696001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00: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-09-10 16:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789036137000,"timestamp_ms":1789036137000,"timestamp_seconds":1789036137,"priority":1,"record_length":96,"hex_timestamp":"000001a08add0a28"} 
[2026-09-10 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-09-10 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993245696001,"66":8982,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993245696001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993245696001,"power":8982,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 16:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":176402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:45] local.INFO: GPS data processed {"connection_id":176402,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:45] local.INFO: Acknowledgment sent {"connection_id":176402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:45] local.INFO: Packet analysis {"connection_id":176402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:45] local.INFO: Extracted packet for processing {"connection_id":176402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993251072001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00: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-09-10 16:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789036158000,"timestamp_ms":1789036158000,"timestamp_seconds":1789036158,"priority":1,"record_length":96,"hex_timestamp":"000001a08add5c30"} 
[2026-09-10 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-09-10 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":35,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867803250,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503893598535680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2099803326261493770,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3686926337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991404607,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630167984203641,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":232,"raw_value":17734148202430464,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194903040,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84751903531409389,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7512012012170772543,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2234011809227001372,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,114,160,184,45,64,237,63,37,10,66,102,38,20,1,240,53,138,31,4,113,205,112,104,232,239,69,248,2,25,48,124],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-09-10 16:00:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941944117166080,"timestamp_seconds":4539941944117166.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 16:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993251072001,"66":13102,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993251072001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993251072001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 16:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":176402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:45] local.INFO: GPS data processed {"connection_id":176402,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:45] local.INFO: Acknowledgment sent {"connection_id":176402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:47] local.INFO: TCP Data received {"connection_id":176402,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08addae38012d196840071fede8003f011d24..."} 
[2026-09-10 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08addae38012d196840071fede8003f011d24..."} 
[2026-09-10 16:00:47] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08addae38012d196840071fede8003f011d24..."} 
[2026-09-10 16:00:47] local.INFO: Packet analysis {"connection_id":176402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:47] local.INFO: Extracted packet for processing {"connection_id":176402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533032,"longitude_deg":75.6639808,"latitude_deg":11.9533032,"altitude":63,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-09-10 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993256448001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19265694281498624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870740480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789036179000,"timestamp_ms":1789036179000,"timestamp_seconds":1789036179,"priority":1,"record_length":96,"hex_timestamp":"000001a08addae38"} 
[2026-09-10 16:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993256448001,"66":14080,"121":206,"28":31744,"24":0,"16":19265694281498624,"45":1830783647870740480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993256448001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19265694281498624,"km_value":19265694281498.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870740480,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993256448001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870740480}} 
[2026-09-10 16:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":176402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:48] local.INFO: GPS data processed {"connection_id":176402,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:48] local.INFO: Acknowledgment sent {"connection_id":176402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:53] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:53] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:53] local.INFO: IMEI packet received {"connection_id":177798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":177798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:00:55] local.INFO: TCP Data received {"connection_id":179175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 16:00:55] local.INFO: Processing buffer {"connection_id":179175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ad9e190012cc33340076855f0005b015f25..."} 
[2026-09-10 16:00:55] local.INFO: Packet analysis {"connection_id":179175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 16:00:55] local.INFO: Extracted packet for processing {"connection_id":179175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ad9"} 
[2026-09-10 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993121024001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789035930000,"timestamp_ms":1789035930000,"timestamp_seconds":1789035930,"priority":1,"record_length":96,"hex_timestamp":"000001a08ad9e190"} 
[2026-09-10 16:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 16: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993121024001,"66":25321,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993121024001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993121024001,"power":25321,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":179175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:55] local.INFO: GPS data processed {"connection_id":179175,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:55] local.INFO: Acknowledgment sent {"connection_id":179175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:00:56] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:56] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:00:56] local.INFO: IMEI packet received {"connection_id":177798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":177798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:00:58] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adcbc08012d7b674005ec0af8000e004615..."} 
[2026-09-10 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adcbc08012d7b674005ec0af8000e004615..."} 
[2026-09-10 16:00:58] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adcbc08012d7b674005ec0af8000e004615..."} 
[2026-09-10 16:00:58] local.INFO: Packet analysis {"connection_id":177798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 16:00:58] local.INFO: Extracted packet for processing {"connection_id":177798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adc"} 
[2026-09-10 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":99355384,"longitude_deg":76.306208,"latitude_deg":9.9355384,"altitude":14,"angle":70,"satellites":21,"speed":29,"hex_longitude":"2d7b6740","hex_latitude":"05ec0af8","is_valid_coordinates":true} 
[2026-09-10 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993242624001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130728247460626432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365128003883008,"note":"Value kept but may cause issues"} 
[2026-09-10 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789036117000,"timestamp_ms":1789036117000,"timestamp_seconds":1789036117,"priority":1,"record_length":96,"hex_timestamp":"000001a08adcbc08"} 
[2026-09-10 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 16:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:00:58] 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-09-10 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993242624001,"66":13276,"99":206,"87":13824,"24":29,"16":130728247460626432,"45":8882365128003883008},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993242624001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130728247460626432,"km_value":130728247460626.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365128003883008,"description":"Unknown IO ID 45"} 
[2026-09-10 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993242624001,"power":13276,"unknown_99":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8882365128003883008}} 
[2026-09-10 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":177798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:00:58] local.INFO: GPS data processed {"connection_id":177798,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:00:58] local.INFO: Acknowledgment sent {"connection_id":177798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:01:04] local.INFO: TCP Data received {"connection_id":176624,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08adecb60012d0a5d800704e4b8002100751a..."} 
[2026-09-10 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adecb60012d0a5d800704e4b8002100751a..."} 
[2026-09-10 16:01:04] local.INFO: Processing buffer {"connection_id":176624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adecb60012d0a5d800704e4b8002100751a..."} 
[2026-09-10 16:01:04] local.INFO: Packet analysis {"connection_id":176624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:04] local.INFO: Extracted packet for processing {"connection_id":176624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":755654016,"raw_latitude":117761208,"longitude_deg":75.5654016,"latitude_deg":11.7761208,"altitude":33,"angle":117,"satellites":26,"speed":19,"hex_longitude":"2d0a5d80","hex_latitude":"0704e4b8","is_valid_coordinates":true} 
[2026-09-10 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993280000001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31171377985748992,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745979087174418432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789036252000,"timestamp_ms":1789036252000,"timestamp_seconds":1789036252,"priority":1,"record_length":96,"hex_timestamp":"000001a08adecb60"} 
[2026-09-10 16:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 16:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993280000001,"66":14515,"177":206,"94":10240,"24":19,"16":31171377985748992,"45":745979087174418432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-10 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993280000001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:01:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 16:01:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31171377985748992,"km_value":31171377985748.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":745979087174418432,"description":"Unknown IO ID 45"} 
[2026-09-10 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993280000001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":745979087174418432}} 
[2026-09-10 16:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":176624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:01:04] local.INFO: GPS data processed {"connection_id":176624,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:01:04] local.INFO: Acknowledgment sent {"connection_id":176624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:01:18] local.INFO: TCP Data received {"connection_id":179176,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:01:18] local.INFO: Processing buffer {"connection_id":179176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:01:18] local.INFO: IMEI packet received {"connection_id":179176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":179176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:01:24] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:01:24] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:01:24] local.INFO: IMEI packet received {"connection_id":176403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":176403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:01:26] local.INFO: TCP Data received {"connection_id":176625,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:26] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:26] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:01:27] local.INFO: TCP Data received {"connection_id":176625,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:27] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:27] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:28] local.INFO: TCP Data received {"connection_id":176626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:28] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:28] local.INFO: IMEI packet received {"connection_id":176626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":176626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:01:29] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:01:29] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:01:29] local.INFO: IMEI packet received {"connection_id":176403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":176403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:29] local.INFO: TCP Data received {"connection_id":176626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:29] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:29] local.INFO: IMEI packet received {"connection_id":176626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":176626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:30] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:01:30] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:01:30] local.INFO: Packet analysis {"connection_id":176403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:30] local.INFO: Extracted packet for processing {"connection_id":176403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 16:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993198080001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789036231000,"timestamp_ms":1789036231000,"timestamp_seconds":1789036231,"priority":1,"record_length":96,"hex_timestamp":"000001a08ade7958"} 
[2026-09-10 16:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 16:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 16:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993198080001,"66":25756,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993198080001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:01:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993198080001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":176403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:01:30] local.INFO: GPS data processed {"connection_id":176403,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:01:30] local.INFO: Acknowledgment sent {"connection_id":176403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:01:30] local.INFO: TCP Data received {"connection_id":176626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:30] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:30] local.INFO: IMEI packet received {"connection_id":176626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":176626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:30] local.INFO: TCP Data received {"connection_id":176625,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:30] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:01:30] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:31] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08add0e10012d7b800005ec12b80011004e16..."} 
[2026-09-10 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08add0e10012d7b800005ec12b80011004e16..."} 
[2026-09-10 16:01:31] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08add0e10012d7b800005ec12b80011004e16..."} 
[2026-09-10 16:01:31] local.INFO: Packet analysis {"connection_id":177798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:01:31] local.INFO: Extracted packet for processing {"connection_id":177798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":99357368,"longitude_deg":76.3068416,"latitude_deg":9.9357368,"altitude":17,"angle":78,"satellites":22,"speed":0,"hex_longitude":"2d7b8000","hex_latitude":"05ec12b8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993245952001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130728565288206336,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383445489664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789036138000,"timestamp_ms":1789036138000,"timestamp_seconds":1789036138,"priority":1,"record_length":96,"hex_timestamp":"000001a08add0e10"} 
[2026-09-10 16:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 16:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:01: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-09-10 16:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993245952001,"66":13580,"99":206,"87":13824,"24":0,"16":130728565288206336,"45":8892146383445489664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 16:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993245952001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130728565288206336,"km_value":130728565288206.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383445489664,"description":"Unknown IO ID 45"} 
[2026-09-10 16:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993245952001,"power":13580,"unknown_99":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8892146383445489664}} 
[2026-09-10 16:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":177798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:01:31] local.INFO: GPS data processed {"connection_id":177798,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:01:31] local.INFO: Acknowledgment sent {"connection_id":177798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:01:31] local.INFO: TCP Data received {"connection_id":176625,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ade4690012d1986c0071ff0f8003a005725..."} 
[2026-09-10 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ade4690012d1986c0071ff0f8003a005725..."} 
[2026-09-10 16:01:31] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ade4690012d1986c0071ff0f8003a005725..."} 
[2026-09-10 16:01:31] local.INFO: Packet analysis {"connection_id":176625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:31] local.INFO: Extracted packet for processing {"connection_id":176625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756647616,"raw_latitude":119533816,"longitude_deg":75.6647616,"latitude_deg":11.9533816,"altitude":58,"angle":87,"satellites":37,"speed":17,"hex_longitude":"2d1986c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993271296001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19266093713457152,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472242092032,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789036218000,"timestamp_ms":1789036218000,"timestamp_seconds":1789036218,"priority":1,"record_length":96,"hex_timestamp":"000001a08ade4690"} 
[2026-09-10 16:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 16:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993271296001,"66":14037,"121":206,"28":31744,"24":17,"16":19266093713457152,"45":1838383472242092032},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993271296001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19266093713457152,"km_value":19266093713457.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472242092032,"description":"Unknown IO ID 45"} 
[2026-09-10 16:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993271296001,"power":14037,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1838383472242092032}} 
[2026-09-10 16:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":176625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:01:31] local.INFO: GPS data processed {"connection_id":176625,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:01:31] local.INFO: Acknowledgment sent {"connection_id":176625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:01:34] local.INFO: TCP Data received {"connection_id":176403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:01:34] local.INFO: Processing buffer {"connection_id":176403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:01:34] local.INFO: Packet analysis {"connection_id":176403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:34] local.INFO: Extracted packet for processing {"connection_id":176403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993198080001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036231000,"timestamp_ms":1789036231000,"timestamp_seconds":1789036231,"priority":1,"record_length":96,"hex_timestamp":"000001a08ade7958"} 
[2026-09-10 16:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 16:01: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-09-10 16:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16: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-09-10 16:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993198080001,"66":25756,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993198080001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:01:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:01:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993198080001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":176403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:01:34] local.INFO: GPS data processed {"connection_id":176403,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:01:34] local.INFO: Acknowledgment sent {"connection_id":176403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:01:37] local.INFO: TCP Data received {"connection_id":176626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:37] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:01:37] local.INFO: IMEI packet received {"connection_id":176626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":176626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:53] local.INFO: TCP Data received {"connection_id":177799,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:53] local.INFO: Processing buffer {"connection_id":177799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:53] local.INFO: IMEI packet received {"connection_id":177799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":177799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:01:53] local.INFO: TCP Data received {"connection_id":177799,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:53] local.INFO: Processing buffer {"connection_id":177799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:53] local.INFO: IMEI packet received {"connection_id":177799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":177799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:57] local.INFO: TCP Data received {"connection_id":177799,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:57] local.INFO: Processing buffer {"connection_id":177799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:01:57] local.INFO: IMEI packet received {"connection_id":177799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":177799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:01:59] local.INFO: TCP Data received {"connection_id":177799,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08add6018012d7b94c005ec18b00011004718..."} 
[2026-09-10 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08add6018012d7b94c005ec18b00011004718..."} 
[2026-09-10 16:01:59] local.INFO: Processing buffer {"connection_id":177799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08add6018012d7b94c005ec18b00011004718..."} 
[2026-09-10 16:01:59] local.INFO: Packet analysis {"connection_id":177799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:01:59] local.INFO: Extracted packet for processing {"connection_id":177799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08add"} 
[2026-09-10 16:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763073728,"raw_latitude":99358896,"longitude_deg":76.3073728,"latitude_deg":9.9358896,"altitude":17,"angle":71,"satellites":24,"speed":23,"hex_longitude":"2d7b94c0","hex_latitude":"05ec18b0","is_valid_coordinates":true} 
[2026-09-10 16:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993251328001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130728835871145984,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899112889119586304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789036159000,"timestamp_ms":1789036159000,"timestamp_seconds":1789036159,"priority":1,"record_length":96,"hex_timestamp":"000001a08add6018"} 
[2026-09-10 16:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632494,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2329661864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3427641737684713472,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3693582337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3692560389,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145771107,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2684431738,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3954972672,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-7205752893972414464,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4179114858341413289,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-09-10 16:01:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,99,87,24,241,157,16,112,160,188,45,64,10,14,21,66,137,128,253,11,86,1,240,110,227,111,138,235,4,113,205,31,252,224,239,52,2,208,5,26,122,51,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-09-10 16:01:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225064955041021952,"timestamp_seconds":1225064955041022.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:01: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-09-10 16:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993251328001,"66":13624,"99":206,"87":13824,"24":23,"16":130728835871145984,"45":8899112889119586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-10 16:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993251328001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:01:59] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-10 16:01:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130728835871145984,"km_value":130728835871145.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899112889119586304,"description":"Unknown IO ID 45"} 
[2026-09-10 16:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993251328001,"power":13624,"unknown_99":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8899112889119586304}} 
[2026-09-10 16:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":177799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:01:59] local.INFO: GPS data processed {"connection_id":177799,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:01:59] local.INFO: Acknowledgment sent {"connection_id":177799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:02:02] local.INFO: TCP Data received {"connection_id":176625,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08adf30f0012d19da0007200c58002d012225..."} 
[2026-09-10 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adf30f0012d19da0007200c58002d012225..."} 
[2026-09-10 16:02:02] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adf30f0012d19da0007200c58002d012225..."} 
[2026-09-10 16:02:02] local.INFO: Packet analysis {"connection_id":176625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:02] local.INFO: Extracted packet for processing {"connection_id":176625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756668928,"raw_latitude":119540824,"longitude_deg":75.6668928,"latitude_deg":11.9540824,"altitude":45,"angle":290,"satellites":37,"speed":16,"hex_longitude":"2d19da00","hex_latitude":"07200c58","is_valid_coordinates":true} 
[2026-09-10 16:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993286656001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19267382203645952,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863645851403622400,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789036278000,"timestamp_ms":1789036278000,"timestamp_seconds":1789036278,"priority":1,"record_length":96,"hex_timestamp":"000001a08adf30f0"} 
[2026-09-10 16:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 16:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993286656001,"66":13939,"121":206,"28":31744,"24":16,"16":19267382203645952,"45":1863645851403622400},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993286656001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:02:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19267382203645952,"km_value":19267382203645.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863645851403622400,"description":"Unknown IO ID 45"} 
[2026-09-10 16:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993286656001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1863645851403622400}} 
[2026-09-10 16:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":176625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:02:02] local.INFO: GPS data processed {"connection_id":176625,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:02:02] local.INFO: Acknowledgment sent {"connection_id":176625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:02:18] local.INFO: TCP Data received {"connection_id":179177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:02:18] local.INFO: Processing buffer {"connection_id":179177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:02:18] local.INFO: IMEI packet received {"connection_id":179177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":179177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:02:24] local.INFO: TCP Data received {"connection_id":179177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:02:24] local.INFO: Processing buffer {"connection_id":179177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:02:24] local.INFO: IMEI packet received {"connection_id":179177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":179177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:02:24] local.INFO: TCP Data received {"connection_id":179177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:02:24] local.INFO: Processing buffer {"connection_id":179177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:02:24] local.INFO: Packet analysis {"connection_id":179177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:02:24] local.INFO: Extracted packet for processing {"connection_id":179177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993198080001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036231000,"timestamp_ms":1789036231000,"timestamp_seconds":1789036231,"priority":1,"record_length":96,"hex_timestamp":"000001a08ade7958"} 
[2026-09-10 16:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 16:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993198080001,"66":25756,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993198080001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:02:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993198080001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":179177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:02:24] local.INFO: GPS data processed {"connection_id":179177,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:02:24] local.INFO: Acknowledgment sent {"connection_id":179177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:02:27] local.INFO: TCP Data received {"connection_id":176627,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:27] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:27] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:02:28] local.INFO: TCP Data received {"connection_id":176627,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:28] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:28] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:02:30] local.INFO: TCP Data received {"connection_id":177799,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adfb5c0012d7d1ac005ec3df0000a005719..."} 
[2026-09-10 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adfb5c0012d7d1ac005ec3df0000a005719..."} 
[2026-09-10 16:02:30] local.INFO: Processing buffer {"connection_id":177799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adfb5c0012d7d1ac005ec3df0000a005719..."} 
[2026-09-10 16:02:30] local.INFO: Packet analysis {"connection_id":177799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:30] local.INFO: Extracted packet for processing {"connection_id":177799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99368432,"longitude_deg":76.3173568,"latitude_deg":9.9368432,"altitude":10,"angle":87,"satellites":25,"speed":5,"hex_longitude":"2d7d1ac0","hex_latitude":"05ec3df0","is_valid_coordinates":true} 
[2026-09-10 16:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993290752001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130733654824452096,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005440061574707200,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789036312000,"timestamp_ms":1789036312000,"timestamp_seconds":1789036312,"priority":1,"record_length":96,"hex_timestamp":"000001a08adfb5c0"} 
[2026-09-10 16:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 16:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:02:30] 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-09-10 16:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993290752001,"66":13189,"110":206,"87":13824,"24":5,"16":130733654824452096,"45":9005440061574707200},"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-09-10 16:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993290752001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:02:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130733654824452096,"km_value":130733654824452.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005440061574707200,"description":"Unknown IO ID 45"} 
[2026-09-10 16:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993290752001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9005440061574707200}} 
[2026-09-10 16:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":177799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:02:30] local.INFO: GPS data processed {"connection_id":177799,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:02:30] local.INFO: Acknowledgment sent {"connection_id":177799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:02:32] local.INFO: TCP Data received {"connection_id":176627,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:32] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:02:32] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:02:34] local.INFO: TCP Data received {"connection_id":176627,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08adf3ca8012d19d50007200f40002d012e25..."} 
[2026-09-10 16:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adf3ca8012d19d50007200f40002d012e25..."} 
[2026-09-10 16:02:34] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adf3ca8012d19d50007200f40002d012e25..."} 
[2026-09-10 16:02:34] local.INFO: Packet analysis {"connection_id":176627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:34] local.INFO: Extracted packet for processing {"connection_id":176627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756667648,"raw_latitude":119541568,"longitude_deg":75.6667648,"latitude_deg":11.9541568,"altitude":45,"angle":302,"satellites":37,"speed":23,"hex_longitude":"2d19d500","hex_latitude":"07200f40","is_valid_coordinates":true} 
[2026-09-10 16:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993287168001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19267455218089984,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862801426473572352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036281000,"timestamp_ms":1789036281000,"timestamp_seconds":1789036281,"priority":1,"record_length":96,"hex_timestamp":"000001a08adf3ca8"} 
[2026-09-10 16:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-10 16:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993287168001,"66":13559,"121":206,"28":31744,"24":23,"16":19267455218089984,"45":1862801426473572352},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993287168001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:02:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:02:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19267455218089984,"km_value":19267455218089.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862801426473572352,"description":"Unknown IO ID 45"} 
[2026-09-10 16:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993287168001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1862801426473572352}} 
[2026-09-10 16:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":176627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:02:34] local.INFO: GPS data processed {"connection_id":176627,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:02:34] local.INFO: Acknowledgment sent {"connection_id":176627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:02:43] local.INFO: TCP Data received {"connection_id":176404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:02:43] local.INFO: Processing buffer {"connection_id":176404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:02:43] local.INFO: IMEI packet received {"connection_id":176404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":176404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:02:52] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:52] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:52] local.INFO: IMEI packet received {"connection_id":176405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":176405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:02:54] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:54] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:54] local.INFO: IMEI packet received {"connection_id":176405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":176405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:02:55] local.INFO: TCP Data received {"connection_id":179177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:02:55] local.INFO: Processing buffer {"connection_id":179177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ade7958012cc33340076855f0005b015f29..."} 
[2026-09-10 16:02:55] local.INFO: Packet analysis {"connection_id":179177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:02:55] local.INFO: Extracted packet for processing {"connection_id":179177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ade"} 
[2026-09-10 16:02:55] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 16:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993198080001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789036231000,"timestamp_ms":1789036231000,"timestamp_seconds":1789036231,"priority":1,"record_length":96,"hex_timestamp":"000001a08ade7958"} 
[2026-09-10 16:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 16:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 16:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993198080001,"66":25756,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993198080001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:02:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:02:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993198080001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":179177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:02:55] local.INFO: GPS data processed {"connection_id":179177,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:02:55] local.INFO: Acknowledgment sent {"connection_id":179177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:02:57] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:57] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:02:57] local.INFO: IMEI packet received {"connection_id":176405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":176405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:02:59] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08adff058012d7d1c0005ec42180008010e19..."} 
[2026-09-10 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08adff058012d7d1c0005ec42180008010e19..."} 
[2026-09-10 16:02:59] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08adff058012d7d1c0005ec42180008010e19..."} 
[2026-09-10 16:02:59] local.INFO: Packet analysis {"connection_id":176405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:59] local.INFO: Extracted packet for processing {"connection_id":176405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08adf"} 
[2026-09-10 16:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99369496,"longitude_deg":76.3173888,"latitude_deg":9.9369496,"altitude":8,"angle":270,"satellites":25,"speed":7,"hex_longitude":"2d7d1c00","hex_latitude":"05ec4218","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993295872001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130733740723798016,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735806320640,"note":"Value kept but may cause issues"} 
[2026-09-10 16:02: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-09-10 16:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789036327000,"timestamp_ms":1789036327000,"timestamp_seconds":1789036327,"priority":1,"record_length":96,"hex_timestamp":"000001a08adff058"} 
[2026-09-10 16:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 16:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:02: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-09-10 16:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993295872001,"66":12863,"110":206,"87":13824,"24":7,"16":130733740723798016,"45":9014728735806320640},"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-09-10 16:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993295872001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:02:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:02:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130733740723798016,"km_value":130733740723798.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735806320640,"description":"Unknown IO ID 45"} 
[2026-09-10 16:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993295872001,"power":12863,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9014728735806320640}} 
[2026-09-10 16:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":176405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:02:59] local.INFO: GPS data processed {"connection_id":176405,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:02:59] local.INFO: Acknowledgment sent {"connection_id":176405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:03:06] local.INFO: TCP Data received {"connection_id":176627,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae003e0012d19b8400720a9900032013e26..."} 
[2026-09-10 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae003e0012d19b8400720a9900032013e26..."} 
[2026-09-10 16:03:06] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae003e0012d19b8400720a9900032013e26..."} 
[2026-09-10 16:03:06] local.INFO: Packet analysis {"connection_id":176627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:06] local.INFO: Extracted packet for processing {"connection_id":176627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581072,"longitude_deg":75.6660288,"latitude_deg":11.9581072,"altitude":50,"angle":318,"satellites":38,"speed":17,"hex_longitude":"2d19b840","hex_latitude":"0720a990","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993300736001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19269538277228544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740683264,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03: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-09-10 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789036332000,"timestamp_ms":1789036332000,"timestamp_seconds":1789036332,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae003e0"} 
[2026-09-10 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-09-10 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 16:03: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-09-10 16:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993300736001,"66":14189,"121":206,"28":31744,"24":17,"16":19269538277228544,"45":1853653489740683264},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993300736001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19269538277228544,"km_value":19269538277228.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740683264,"description":"Unknown IO ID 45"} 
[2026-09-10 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993300736001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1853653489740683264}} 
[2026-09-10 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":176627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:03:06] local.INFO: GPS data processed {"connection_id":176627,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:03:06] local.INFO: Acknowledgment sent {"connection_id":176627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:03:19] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:03:19] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:03:19] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:03:22] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:03:22] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:03:22] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:03:23] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae080e0012cc33340076855f0005b015f27..."} 
[2026-09-10 16:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae080e0012cc33340076855f0005b015f27..."} 
[2026-09-10 16:03:23] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae080e0012cc33340076855f0005b015f27..."} 
[2026-09-10 16:03:23] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:23] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":124278256,"longitude_deg":75.0990144,"latitude_deg":12.4278256,"altitude":91,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2cc33340","hex_latitude":"076855f0","is_valid_coordinates":true} 
[2026-09-10 16:03: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-09-10 16:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993275136001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789036364000,"timestamp_ms":1789036364000,"timestamp_seconds":1789036364,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae080e0"} 
[2026-09-10 16:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 16:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 16:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993275136001,"66":25832,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993275136001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:03:23] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:03:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993275136001,"power":25832,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:03:23] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:03:23] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:03:27] local.INFO: TCP Data received {"connection_id":176406,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:03:27] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:03:27] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:03:31] local.INFO: TCP Data received {"connection_id":176405,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae03a90012d7cf7c005ec40e00009010a18..."} 
[2026-09-10 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae03a90012d7cf7c005ec40e00009010a18..."} 
[2026-09-10 16:03:31] local.INFO: Processing buffer {"connection_id":176405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae03a90012d7cf7c005ec40e00009010a18..."} 
[2026-09-10 16:03:31] local.INFO: Packet analysis {"connection_id":176405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:31] local.INFO: Extracted packet for processing {"connection_id":176405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763164608,"raw_latitude":99369184,"longitude_deg":76.3164608,"latitude_deg":9.9369184,"altitude":9,"angle":266,"satellites":24,"speed":13,"hex_longitude":"2d7cf7c0","hex_latitude":"05ec40e0","is_valid_coordinates":true} 
[2026-09-10 16:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993299712001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130734187400396800,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527481344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03: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-09-10 16:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789036346000,"timestamp_ms":1789036346000,"timestamp_seconds":1789036346,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae03a90"} 
[2026-09-10 16:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 16:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:03: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-09-10 16:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993299712001,"66":13319,"110":206,"87":13824,"24":13,"16":130734187400396800,"45":9015080579527481344},"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-09-10 16:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993299712001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:03:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:03:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130734187400396800,"km_value":130734187400396.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527481344,"description":"Unknown IO ID 45"} 
[2026-09-10 16:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993299712001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9015080579527481344}} 
[2026-09-10 16:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":176405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:03:31] local.INFO: GPS data processed {"connection_id":176405,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:03:31] local.INFO: Acknowledgment sent {"connection_id":176405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:03:32] local.INFO: TCP Data received {"connection_id":176406,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:03:32] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:03:32] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:03:34] local.INFO: TCP Data received {"connection_id":176406,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae007c8012d19b6400720aa980032012926..."} 
[2026-09-10 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae007c8012d19b6400720aa980032012926..."} 
[2026-09-10 16:03:34] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae007c8012d19b6400720aa980032012926..."} 
[2026-09-10 16:03:34] local.INFO: Packet analysis {"connection_id":176406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:34] local.INFO: Extracted packet for processing {"connection_id":176406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119581336,"longitude_deg":75.6659776,"latitude_deg":11.9581336,"altitude":50,"angle":297,"satellites":38,"speed":23,"hex_longitude":"2d19b640","hex_latitude":"0720aa98","is_valid_coordinates":true} 
[2026-09-10 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993300992001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19269568341999616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019891200,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036333000,"timestamp_ms":1789036333000,"timestamp_seconds":1789036333,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae007c8"} 
[2026-09-10 16:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 16:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993300992001,"66":14189,"121":206,"28":31744,"24":23,"16":19269568341999616,"45":1853301646019891200},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993300992001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:03:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:03:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19269568341999616,"km_value":19269568341999.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019891200,"description":"Unknown IO ID 45"} 
[2026-09-10 16:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993300992001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1853301646019891200}} 
[2026-09-10 16:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":176406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:03:34] local.INFO: GPS data processed {"connection_id":176406,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:03:34] local.INFO: Acknowledgment sent {"connection_id":176406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:03:52] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:52] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:52] local.INFO: IMEI packet received {"connection_id":177801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":177801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:03:53] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae08c98012cc330c007685740005b00c327..."} 
[2026-09-10 16:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae08c98012cc330c007685740005b00c327..."} 
[2026-09-10 16:03:53] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae08c98012cc330c007685740005b00c327..."} 
[2026-09-10 16:03:53] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:53] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124278592,"longitude_deg":75.0989504,"latitude_deg":12.4278592,"altitude":91,"angle":195,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685740","is_valid_coordinates":true} 
[2026-09-10 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993309184001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087611941949440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789036367000,"timestamp_ms":1789036367000,"timestamp_seconds":1789036367,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae08c98"} 
[2026-09-10 16:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:03: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-09-10 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 16:03:53] 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-09-10 16:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993309184001,"66":23049,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381087611941949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993309184001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:03:53] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:03:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087611941949440,"description":"Unknown IO ID 44"} 
[2026-09-10 16:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993309184001,"power":23049,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381087611941949440}} 
[2026-09-10 16:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:03:53] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:03:53] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:03:55] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:55] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:55] local.INFO: IMEI packet received {"connection_id":177801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":177801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:03:58] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:58] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:03:58] local.INFO: IMEI packet received {"connection_id":177801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":177801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:03:59] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae080e0012d7cd30005ec4060000c010d19..."} 
[2026-09-10 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae080e0012d7cd30005ec4060000c010d19..."} 
[2026-09-10 16:03:59] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae080e0012d7cd30005ec4060000c010d19..."} 
[2026-09-10 16:03:59] local.INFO: Packet analysis {"connection_id":177801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:59] local.INFO: Extracted packet for processing {"connection_id":177801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763155200,"raw_latitude":99369056,"longitude_deg":76.31552,"latitude_deg":9.9369056,"altitude":12,"angle":269,"satellites":25,"speed":38,"hex_longitude":"2d7cd300","hex_latitude":"05ec4060","is_valid_coordinates":true} 
[2026-09-10 16:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993304576001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130734638371962880,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004877111621640192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03: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-09-10 16:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789036364000,"timestamp_ms":1789036364000,"timestamp_seconds":1789036364,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae080e0"} 
[2026-09-10 16:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2329858864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13456838,"corrected_to":0} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3744782337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3949656933339174912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070421,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963074560,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6888254335190630395,"note":"Value kept but may cause issues"} 
[2026-09-10 16:03:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,118,160,240,45,66,8,25,10,117,181,192,61,103,1,203,227,138,236,4,113,205,30,2,178,184,239,51,198,208,5,14,21,220,222],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13456838,"validated":0},{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-10 16:03:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648810919514406912,"timestamp_seconds":648810919514406.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:03: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-09-10 16:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993304576001,"66":12961,"110":206,"87":13824,"24":38,"16":130734638371962880,"45":9004877111621640192},"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-09-10 16:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993304576001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:03:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:03:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130734638371962880,"km_value":130734638371962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004877111621640192,"description":"Unknown IO ID 45"} 
[2026-09-10 16:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993304576001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":9004877111621640192}} 
[2026-09-10 16:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":177801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:03:59] local.INFO: GPS data processed {"connection_id":177801,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:03:59] local.INFO: Acknowledgment sent {"connection_id":177801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:04:06] local.INFO: TCP Data received {"connection_id":176406,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae01b50012d19aa000720af280034011d26..."} 
[2026-09-10 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae01b50012d19aa000720af280034011d26..."} 
[2026-09-10 16:04:06] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae01b50012d19aa000720af280034011d26..."} 
[2026-09-10 16:04:06] local.INFO: Packet analysis {"connection_id":176406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:04:06] local.INFO: Extracted packet for processing {"connection_id":176406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119582504,"longitude_deg":75.665664,"latitude_deg":11.9582504,"altitude":52,"angle":285,"satellites":38,"speed":27,"hex_longitude":"2d19aa00","hex_latitude":"0720af28","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993301248001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19269727255789568,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696066537472,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789036338000,"timestamp_ms":1789036338000,"timestamp_seconds":1789036338,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae01b50"} 
[2026-09-10 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-09-10 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 16:04: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-09-10 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-09-10 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-09-10 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993301248001,"66":14211,"121":206,"28":31744,"24":27,"16":19269727255789568,"45":1852738696066537472},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993301248001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:04:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19269727255789568,"km_value":19269727255789.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696066537472,"description":"Unknown IO ID 45"} 
[2026-09-10 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993301248001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1852738696066537472}} 
[2026-09-10 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":176406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:04:06] local.INFO: GPS data processed {"connection_id":176406,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:04:06] local.INFO: Acknowledgment sent {"connection_id":176406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:04:19] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:19] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:19] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:04:22] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:22] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:22] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:04:23] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:23] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:04:23] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:04:23] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae0dea0012cc330c007685740005b00c327..."} 
[2026-09-10 16:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae0dea0012cc330c007685740005b00c327..."} 
[2026-09-10 16:04:23] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae0dea0012cc330c007685740005b00c327..."} 
[2026-09-10 16:04:23] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:04:23] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:04:23] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124278592,"longitude_deg":75.0989504,"latitude_deg":12.4278592,"altitude":91,"angle":195,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685740","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993309952001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383640064,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789036388000,"timestamp_ms":1789036388000,"timestamp_seconds":1789036388,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae0dea0"} 
[2026-09-10 16:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":90,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-10 16:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993309952001,"66":27995,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381791299383640064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993309952001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:04:23] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:04:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:04:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383640064,"description":"Unknown IO ID 44"} 
[2026-09-10 16:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993309952001,"power":27995,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383640064}} 
[2026-09-10 16:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:04:23] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:04:23] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:04:24] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae130a8012cc330c007685740005b00c327..."} 
[2026-09-10 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae130a8012cc330c007685740005b00c327..."} 
[2026-09-10 16:04:24] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae130a8012cc330c007685740005b00c327..."} 
[2026-09-10 16:04:24] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:04:24] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:04:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124278592,"longitude_deg":75.0989504,"latitude_deg":12.4278592,"altitude":91,"angle":195,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685740","is_valid_coordinates":true} 
[2026-09-10 16:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993315328001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200291349561344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383640064,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036409000,"timestamp_ms":1789036409000,"timestamp_seconds":1789036409,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae130a8"} 
[2026-09-10 16:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 16:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993315328001,"66":27919,"89":206,"85":37120,"24":0,"16":404200291349561344,"44":-4381791299383640064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993315328001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:04:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200291349561344,"km_value":404200291349561.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:04:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383640064,"description":"Unknown IO ID 44"} 
[2026-09-10 16:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993315328001,"power":27919,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383640064}} 
[2026-09-10 16:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:04:24] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:04:24] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:04:27] local.INFO: TCP Data received {"connection_id":177803,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:27] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:27] local.INFO: IMEI packet received {"connection_id":177803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":177803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:04:28] local.INFO: TCP Data received {"connection_id":177803,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:28] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:28] local.INFO: IMEI packet received {"connection_id":177803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":177803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:04:31] local.INFO: TCP Data received {"connection_id":177803,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:31] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:04:31] local.INFO: IMEI packet received {"connection_id":177803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":177803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:04:32] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae1c518012d7bed4005ec20b0000500a419..."} 
[2026-09-10 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae1c518012d7bed4005ec20b0000500a419..."} 
[2026-09-10 16:04:32] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae1c518012d7bed4005ec20b0000500a419..."} 
[2026-09-10 16:04:32] local.INFO: Packet analysis {"connection_id":177801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:04:32] local.INFO: Extracted packet for processing {"connection_id":177801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763096384,"raw_latitude":99360944,"longitude_deg":76.3096384,"latitude_deg":9.9360944,"altitude":5,"angle":164,"satellites":25,"speed":29,"hex_longitude":"2d7bed40","hex_latitude":"05ec20b0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993329408001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130737773698088960,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655443245056,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789036447000,"timestamp_ms":1789036447000,"timestamp_seconds":1789036447,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae1c518"} 
[2026-09-10 16:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 16:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:04:32] 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-09-10 16:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993329408001,"66":12798,"198":206,"87":13824,"24":29,"16":130737773698088960,"45":8928456655443245056},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 16:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993329408001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130737773698088960,"km_value":130737773698088.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655443245056,"description":"Unknown IO ID 45"} 
[2026-09-10 16:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993329408001,"power":12798,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8928456655443245056}} 
[2026-09-10 16:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":177801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:04:32] local.INFO: GPS data processed {"connection_id":177801,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:04:32] local.INFO: Acknowledgment sent {"connection_id":177801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:04:32] local.INFO: TCP Data received {"connection_id":177803,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae04a30012d198f800720b2c80037011024..."} 
[2026-09-10 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae04a30012d198f800720b2c80037011024..."} 
[2026-09-10 16:04:32] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae04a30012d198f800720b2c80037011024..."} 
[2026-09-10 16:04:32] local.INFO: Packet analysis {"connection_id":177803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:04:32] local.INFO: Extracted packet for processing {"connection_id":177803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae0"} 
[2026-09-10 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756649856,"raw_latitude":119583432,"longitude_deg":75.6649856,"latitude_deg":11.9583432,"altitude":55,"angle":272,"satellites":36,"speed":12,"hex_longitude":"2d198f80","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993302528001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19270049378336768,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627602130944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789036350000,"timestamp_ms":1789036350000,"timestamp_seconds":1789036350,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae04a30"} 
[2026-09-10 16:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 16:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993302528001,"66":14211,"121":206,"28":31744,"24":12,"16":19270049378336768,"45":1849290627602130944},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993302528001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19270049378336768,"km_value":19270049378336.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627602130944,"description":"Unknown IO ID 45"} 
[2026-09-10 16:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993302528001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1849290627602130944}} 
[2026-09-10 16:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":177803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:04:32] local.INFO: GPS data processed {"connection_id":177803,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:04:32] local.INFO: Acknowledgment sent {"connection_id":177803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:04:52] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:04:52] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:04:52] local.INFO: IMEI packet received {"connection_id":176408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":176408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:04:57] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:04:57] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:04:57] local.INFO: IMEI packet received {"connection_id":176408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":176408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:04:58] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae1ec28012d7bf18005ec1140000200b41a..."} 
[2026-09-10 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae1ec28012d7bf18005ec1140000200b41a..."} 
[2026-09-10 16:04:58] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae1ec28012d7bf18005ec1140000200b41a..."} 
[2026-09-10 16:04:58] local.INFO: Packet analysis {"connection_id":176408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:04:58] local.INFO: Extracted packet for processing {"connection_id":176408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763097472,"raw_latitude":99356992,"longitude_deg":76.3097472,"latitude_deg":9.9356992,"altitude":2,"angle":180,"satellites":26,"speed":7,"hex_longitude":"2d7bf180","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-09-10 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993330432001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130737971266584576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929864030326140928,"note":"Value kept but may cause issues"} 
[2026-09-10 16:04: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-09-10 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789036457000,"timestamp_ms":1789036457000,"timestamp_seconds":1789036457,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae1ec28"} 
[2026-09-10 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 16:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:04:58] 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-09-10 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993330432001,"66":13222,"198":206,"87":13824,"24":7,"16":130737971266584576,"45":8929864030326140928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993330432001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:04:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 16:04:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130737971266584576,"km_value":130737971266584.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929864030326140928,"description":"Unknown IO ID 45"} 
[2026-09-10 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993330432001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8929864030326140928}} 
[2026-09-10 16:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":176408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:04:58] local.INFO: GPS data processed {"connection_id":176408,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:04:58] local.INFO: Acknowledgment sent {"connection_id":176408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:01] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae19250012cc33940076858c0005e00ba28..."} 
[2026-09-10 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae19250012cc33940076858c0005e00ba28..."} 
[2026-09-10 16:05:01] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae19250012cc33940076858c0005e00ba28..."} 
[2026-09-10 16:05:01] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:01] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750991680,"raw_latitude":124278976,"longitude_deg":75.099168,"latitude_deg":12.4278976,"altitude":94,"angle":186,"satellites":40,"speed":9,"hex_longitude":"2cc33940","hex_latitude":"076858c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993326848001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200445968384000,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379469130825623552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789036434000,"timestamp_ms":1789036434000,"timestamp_seconds":1789036434,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae19250"} 
[2026-09-10 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-09-10 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:05: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-09-10 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-09-10 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-09-10 16:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16: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-09-10 16:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993326848001,"66":27876,"89":206,"85":37120,"24":9,"16":404200445968384000,"44":-4379469130825623552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993326848001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200445968384000,"km_value":404200445968384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379469130825623552,"description":"Unknown IO ID 44"} 
[2026-09-10 16:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993326848001,"power":27876,"unknown_89":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4379469130825623552}} 
[2026-09-10 16:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:01] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:01] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:03] local.INFO: TCP Data received {"connection_id":177803,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae1f010012d18cec007212e180044014624..."} 
[2026-09-10 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae1f010012d18cec007212e180044014624..."} 
[2026-09-10 16:05:03] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae1f010012d18cec007212e180044014624..."} 
[2026-09-10 16:05:03] local.INFO: Packet analysis {"connection_id":177803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:03] local.INFO: Extracted packet for processing {"connection_id":177803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756600512,"raw_latitude":119615000,"longitude_deg":75.6600512,"latitude_deg":11.9615,"altitude":68,"angle":326,"satellites":36,"speed":32,"hex_longitude":"2d18cec0","hex_latitude":"07212e18","is_valid_coordinates":true} 
[2026-09-10 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993332992001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19273292078645248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431522304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789036458000,"timestamp_ms":1789036458000,"timestamp_seconds":1789036458,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae1f010"} 
[2026-09-10 16:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 16:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993332992001,"66":14189,"121":206,"28":31744,"24":32,"16":19273292078645248,"45":1787999451431522304},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993332992001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:05:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19273292078645248,"km_value":19273292078645.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431522304,"description":"Unknown IO ID 45"} 
[2026-09-10 16:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993332992001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1787999451431522304}} 
[2026-09-10 16:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":177803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:03] local.INFO: GPS data processed {"connection_id":177803,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:03] local.INFO: Acknowledgment sent {"connection_id":177803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:18] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:18] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:18] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:05:22] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:22] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:22] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:23] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:23] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:05:23] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:24] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae19e08012cc3398007685508005e00a928..."} 
[2026-09-10 16:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae19e08012cc3398007685508005e00a928..."} 
[2026-09-10 16:05:24] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae19e08012cc3398007685508005e00a928..."} 
[2026-09-10 16:05:24] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:24] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:24] local.INFO: GPS Element Parsed {"raw_longitude":750991744,"raw_latitude":124278024,"longitude_deg":75.0991744,"latitude_deg":12.4278024,"altitude":94,"angle":169,"satellites":40,"speed":15,"hex_longitude":"2cc33980","hex_latitude":"07685508","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993327104001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200493213024256,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379398762081501184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036437000,"timestamp_ms":1789036437000,"timestamp_seconds":1789036437,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae19e08"} 
[2026-09-10 16:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:05:24] 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-09-10 16: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-09-10 16:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993327104001,"66":27876,"89":206,"85":37120,"24":15,"16":404200493213024256,"44":-4379398762081501184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993327104001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200493213024256,"km_value":404200493213024.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379398762081501184,"description":"Unknown IO ID 44"} 
[2026-09-10 16:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993327104001,"power":27876,"unknown_89":206,"unknown_85":37120,"ignition":15,"odometer":null,"unknown_44":-4379398762081501184}} 
[2026-09-10 16:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:24] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:24] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:26] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae1d8a0012cc33ec007683250005e00a928..."} 
[2026-09-10 16:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae1d8a0012cc33ec007683250005e00a928..."} 
[2026-09-10 16:05:26] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae1d8a0012cc33ec007683250005e00a928..."} 
[2026-09-10 16:05:26] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:26] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":750993088,"raw_latitude":124269136,"longitude_deg":75.0993088,"latitude_deg":12.4269136,"altitude":94,"angle":169,"satellites":40,"speed":35,"hex_longitude":"2cc33ec0","hex_latitude":"07683250","is_valid_coordinates":true} 
[2026-09-10 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993327872001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404200931299688448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379328393337567232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789036452000,"timestamp_ms":1789036452000,"timestamp_seconds":1789036452,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae1d8a0"} 
[2026-09-10 16:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:05: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-09-10 16:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993327872001,"66":27995,"89":206,"85":37120,"24":35,"16":404200931299688448,"44":-4379328393337567232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993327872001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404200931299688448,"km_value":404200931299688.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379328393337567232,"description":"Unknown IO ID 44"} 
[2026-09-10 16:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993327872001,"power":27995,"unknown_89":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4379328393337567232}} 
[2026-09-10 16:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:26] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:26] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:32] local.INFO: TCP Data received {"connection_id":176410,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:05:32] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:05:32] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:05:33] local.INFO: TCP Data received {"connection_id":176410,"ip":"117.224.200.161","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-10 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-10 16:05:33] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-10 16:05:33] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:34] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae1f3f8012d7bf1c005ec0ee0000100a819..."} 
[2026-09-10 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae1f3f8012d7bf1c005ec0ee0000100a819..."} 
[2026-09-10 16:05:34] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae1f3f8012d7bf1c005ec0ee0000100a819..."} 
[2026-09-10 16:05:34] local.INFO: Packet analysis {"connection_id":176408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:34] local.INFO: Extracted packet for processing {"connection_id":176408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763097536,"raw_latitude":99356384,"longitude_deg":76.3097536,"latitude_deg":9.9356384,"altitude":1,"angle":168,"satellites":25,"speed":15,"hex_longitude":"2d7bf1c0","hex_latitude":"05ec0ee0","is_valid_coordinates":true} 
[2026-09-10 16:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993332992001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130738001331355648,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931060298976149504,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036459000,"timestamp_ms":1789036459000,"timestamp_seconds":1789036459,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae1f3f8"} 
[2026-09-10 16:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:05: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-09-10 16:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:05:34] 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-09-10 16:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993332992001,"66":12961,"198":206,"87":13824,"24":15,"16":130738001331355648,"45":8931060298976149504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-10 16:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993332992001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 16:05:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130738001331355648,"km_value":130738001331355.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931060298976149504,"description":"Unknown IO ID 45"} 
[2026-09-10 16:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993332992001,"power":12961,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8931060298976149504}} 
[2026-09-10 16:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":176408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:34] local.INFO: GPS data processed {"connection_id":176408,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:34] local.INFO: Acknowledgment sent {"connection_id":176408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:34] local.INFO: TCP Data received {"connection_id":176410,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:05:34] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-10 16:05:34] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:35] local.INFO: TCP Data received {"connection_id":176410,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae20398012d18c60007213be80044015523..."} 
[2026-09-10 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae20398012d18c60007213be80044015523..."} 
[2026-09-10 16:05:35] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a08a..."} 
[2026-09-10 16:05:35] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:37] local.INFO: TCP Data received {"connection_id":176410,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae20b68012d18c4c0072142480045016224..."} 
[2026-09-10 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae20b68012d18c4c0072142480045016224..."} 
[2026-09-10 16:05:37] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08ae20398012d18c60007213be80044015523..."} 
[2026-09-10 16:05:37] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:05:37] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119618536,"longitude_deg":75.6598272,"latitude_deg":11.9618536,"altitude":68,"angle":341,"satellites":35,"speed":33,"hex_longitude":"2d18c600","hex_latitude":"07213be8","is_valid_coordinates":true} 
[2026-09-10 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993333248001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19273493942108160,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787577238966638592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05: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-09-10 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789036463000,"timestamp_ms":1789036463000,"timestamp_seconds":1789036463,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae20398"} 
[2026-09-10 16:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05: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-09-10 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 16:05: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-09-10 16:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993333248001,"66":14233,"121":206,"28":31744,"24":33,"16":19273493942108160,"45":1787577238966638592},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993333248001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19273493942108160,"km_value":19273493942108.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787577238966638592,"description":"Unknown IO ID 45"} 
[2026-09-10 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993333248001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1787577238966638592}} 
[2026-09-10 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:37] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:37] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:37] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:05:37] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119620168,"longitude_deg":75.6597952,"latitude_deg":11.9620168,"altitude":69,"angle":354,"satellites":36,"speed":32,"hex_longitude":"2d18c4c0","hex_latitude":"07214248","is_valid_coordinates":true} 
[2026-09-10 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993334528001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19273575546486784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332921325568,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05: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-09-10 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789036465000,"timestamp_ms":1789036465000,"timestamp_seconds":1789036465,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae20b68"} 
[2026-09-10 16:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05: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-09-10 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 16:05: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-09-10 16:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993334528001,"66":13580,"121":206,"28":31744,"24":32,"16":19273575546486784,"45":1785114332921325568},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993334528001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19273575546486784,"km_value":19273575546486.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332921325568,"description":"Unknown IO ID 45"} 
[2026-09-10 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993334528001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1785114332921325568}} 
[2026-09-10 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:37] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:37] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:43] local.INFO: TCP Data received {"connection_id":176410,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae21ef0012d18c2c0072151c00047015724..."} 
[2026-09-10 16:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae21ef0012d18c2c0072151c00047015724..."} 
[2026-09-10 16:05:43] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae21ef0012d18c2c0072151c00047015724..."} 
[2026-09-10 16:05:43] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:05:43] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:05:43] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624128,"longitude_deg":75.659744,"latitude_deg":11.9624128,"altitude":71,"angle":343,"satellites":36,"speed":29,"hex_longitude":"2d18c2c0","hex_latitude":"072151c0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993335040001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19273768820015104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200855040,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05: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-09-10 16:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789036470000,"timestamp_ms":1789036470000,"timestamp_seconds":1789036470,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae21ef0"} 
[2026-09-10 16:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867803256,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2287820772564008895,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2330046864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4045639977701212170,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3788558337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638478745921401,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-6701129851476062692,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:43] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,160,3,45,59,68,35,10,66,240,192,46,36,120,236,64,1,153,138,33,4,113,205,32,197,211,72,239,55,2,7,65,27,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 16:05:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972363370354180096,"timestamp_seconds":4972363370354180.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993335040001,"66":14265,"121":206,"28":31744,"24":29,"16":19273768820015104,"45":1784762489200855040},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993335040001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19273768820015104,"km_value":19273768820015.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200855040,"description":"Unknown IO ID 45"} 
[2026-09-10 16:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993335040001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784762489200855040}} 
[2026-09-10 16:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:43] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:43] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:52] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:52] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:52] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:05:53] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:53] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:53] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:54] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:54] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:54] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:58] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:58] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:05:58] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:05:59] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae1ffb0012cc345c007680d28005c00a627..."} 
[2026-09-10 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae1ffb0012cc345c007680d28005c00a627..."} 
[2026-09-10 16:05:59] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae1ffb0012cc345c007680d28005c00a627..."} 
[2026-09-10 16:05:59] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:59] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae1"} 
[2026-09-10 16:05:59] local.INFO: GPS Element Parsed {"raw_longitude":750994880,"raw_latitude":124259624,"longitude_deg":75.099488,"latitude_deg":12.4259624,"altitude":92,"angle":166,"satellites":39,"speed":44,"hex_longitude":"2cc345c0","hex_latitude":"07680d28","is_valid_coordinates":true} 
[2026-09-10 16:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993331712001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404201399451123712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377850649712111616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789036462000,"timestamp_ms":1789036462000,"timestamp_seconds":1789036462,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae1ffb0"} 
[2026-09-10 16:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 16:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993331712001,"66":28028,"89":206,"85":37120,"24":44,"16":404201399451123712,"44":-4377850649712111616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-10 16:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993331712001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404201399451123712,"km_value":404201399451123.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377850649712111616,"description":"Unknown IO ID 44"} 
[2026-09-10 16:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993331712001,"power":28028,"unknown_89":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4377850649712111616}} 
[2026-09-10 16:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:59] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:59] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:05:59] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae343e8012d7c32c005eb11d00000009819..."} 
[2026-09-10 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae343e8012d7c32c005eb11d00000009819..."} 
[2026-09-10 16:05:59] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae343e8012d7c32c005eb11d00000009819..."} 
[2026-09-10 16:05:59] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:05:59] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":99291600,"longitude_deg":76.3114176,"latitude_deg":9.92916,"altitude":0,"angle":152,"satellites":25,"speed":26,"hex_longitude":"2d7c32c0","hex_latitude":"05eb11d0","is_valid_coordinates":true} 
[2026-09-10 16:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993354496001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130741274096435200,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948652485004494848,"note":"Value kept but may cause issues"} 
[2026-09-10 16:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789036545000,"timestamp_ms":1789036545000,"timestamp_seconds":1789036545,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae343e8"} 
[2026-09-10 16:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 16:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:05: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-09-10 16:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993354496001,"66":13678,"8":206,"87":13824,"24":26,"16":130741274096435200,"45":8948652485004494848},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993354496001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130741274096435200,"km_value":130741274096435.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948652485004494848,"description":"Unknown IO ID 45"} 
[2026-09-10 16:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993354496001,"power":13678,"unknown_8":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8948652485004494848}} 
[2026-09-10 16:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:05:59] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:05:59] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:06:27] local.INFO: TCP Data received {"connection_id":176413,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:06:27] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:06:27] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:06:29] local.INFO: TCP Data received {"connection_id":176413,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:06:29] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:06:29] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:06:30] local.INFO: TCP Data received {"connection_id":176413,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae226c0012d18c000072156f80048014225..."} 
[2026-09-10 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae226c0012d18c000072156f80048014225..."} 
[2026-09-10 16:06:30] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae226c0012d18c000072156f80048014225..."} 
[2026-09-10 16:06:30] local.INFO: Packet analysis {"connection_id":176413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:06:30] local.INFO: Extracted packet for processing {"connection_id":176413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119625464,"longitude_deg":75.6596736,"latitude_deg":11.9625464,"altitude":72,"angle":322,"satellites":37,"speed":30,"hex_longitude":"2d18c000","hex_latitude":"072156f8","is_valid_coordinates":true} 
[2026-09-10 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993336320001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19273841834459136,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248447488,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789036472000,"timestamp_ms":1789036472000,"timestamp_seconds":1789036472,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae226c0"} 
[2026-09-10 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:06: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-09-10 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993336320001,"66":14233,"121":206,"28":31744,"24":30,"16":19273841834459136,"45":1784199539248447488},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993336320001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19273841834459136,"km_value":19273841834459.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248447488,"description":"Unknown IO ID 45"} 
[2026-09-10 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993336320001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784199539248447488}} 
[2026-09-10 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":176413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:06:30] local.INFO: GPS data processed {"connection_id":176413,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:06:30] local.INFO: Acknowledgment sent {"connection_id":176413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:06:30] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae347d0012d7c344005eb0f980000008c19..."} 
[2026-09-10 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae347d0012d7c344005eb0f980000008c19..."} 
[2026-09-10 16:06:30] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae347d0012d7c344005eb0f980000008c19..."} 
[2026-09-10 16:06:30] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:06:30] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":99291032,"longitude_deg":76.311456,"latitude_deg":9.9291032,"altitude":0,"angle":140,"satellites":25,"speed":27,"hex_longitude":"2d7c3440","hex_latitude":"05eb0f98","is_valid_coordinates":true} 
[2026-09-10 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993355520001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130741308456173568,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541189779456,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789036546000,"timestamp_ms":1789036546000,"timestamp_seconds":1789036546,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae347d0"} 
[2026-09-10 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:06:30] 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-09-10 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993355520001,"66":13678,"8":206,"87":13824,"24":27,"16":130741308456173568,"45":8949426541189779456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993355520001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130741308456173568,"km_value":130741308456173.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541189779456,"description":"Unknown IO ID 45"} 
[2026-09-10 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993355520001,"power":13678,"unknown_8":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8949426541189779456}} 
[2026-09-10 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:06:30] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:06:30] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:06:31] local.INFO: TCP Data received {"connection_id":177804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:31] local.INFO: Processing buffer {"connection_id":177804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:31] local.INFO: IMEI packet received {"connection_id":177804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":177804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:06:33] local.INFO: TCP Data received {"connection_id":177804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:33] local.INFO: Processing buffer {"connection_id":177804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:33] local.INFO: IMEI packet received {"connection_id":177804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":177804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:06:38] local.INFO: TCP Data received {"connection_id":177804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:38] local.INFO: Processing buffer {"connection_id":177804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:06:38] local.INFO: IMEI packet received {"connection_id":177804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":177804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:06:38] local.INFO: TCP Data received {"connection_id":177804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae2f1e0012cc35e4007671848005d00c427..."} 
[2026-09-10 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae2f1e0012cc35e4007671848005d00c427..."} 
[2026-09-10 16:06:38] local.INFO: Processing buffer {"connection_id":177804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae2f1e0012cc35e4007671848005d00c427..."} 
[2026-09-10 16:06:38] local.INFO: Packet analysis {"connection_id":177804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:06:38] local.INFO: Extracted packet for processing {"connection_id":177804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae2"} 
[2026-09-10 16:06:38] local.INFO: GPS Element Parsed {"raw_longitude":751001152,"raw_latitude":124196936,"longitude_deg":75.1001152,"latitude_deg":12.4196936,"altitude":93,"angle":196,"satellites":39,"speed":45,"hex_longitude":"2cc35e40","hex_latitude":"07671848","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993348096001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404204822540058624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4365395382008862720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789036524000,"timestamp_ms":1789036524000,"timestamp_seconds":1789036524,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae2f1e0"} 
[2026-09-10 16:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 16:06: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-09-10 16: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-09-10 16:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:06: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-09-10 16:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993348096001,"66":28006,"88":206,"85":37120,"24":45,"16":404204822540058624,"44":-4365395382008862720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 16:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993348096001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:06:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 16:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404204822540058624,"km_value":404204822540058.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:06:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4365395382008862720,"description":"Unknown IO ID 44"} 
[2026-09-10 16:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993348096001,"power":28006,"unknown_88":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4365395382008862720}} 
[2026-09-10 16:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":177804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:06:38] local.INFO: GPS data processed {"connection_id":177804,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:06:38] local.INFO: Acknowledgment sent {"connection_id":177804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:06:39] local.INFO: TCP Data received {"connection_id":177804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae30180012cc35880076709c8005c00d426..."} 
[2026-09-10 16:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae30180012cc35880076709c8005c00d426..."} 
[2026-09-10 16:06:39] local.INFO: Processing buffer {"connection_id":177804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae30180012cc35880076709c8005c00d426..."} 
[2026-09-10 16:06:39] local.INFO: Packet analysis {"connection_id":177804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:06:39] local.INFO: Extracted packet for processing {"connection_id":177804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":750999680,"raw_latitude":124193224,"longitude_deg":75.099968,"latitude_deg":12.4193224,"altitude":92,"angle":212,"satellites":38,"speed":34,"hex_longitude":"2cc35880","hex_latitude":"076709c8","is_valid_coordinates":true} 
[2026-09-10 16:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993350144001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404205015813586944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4368984187964209152,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789036528000,"timestamp_ms":1789036528000,"timestamp_seconds":1789036528,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae30180"} 
[2026-09-10 16:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 16:06:39] 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-09-10 16:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:06: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-09-10 16:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993350144001,"66":27865,"88":206,"85":37120,"24":34,"16":404205015813586944,"44":-4368984187964209152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-10 16:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993350144001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:06:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 16:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404205015813586944,"km_value":404205015813586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:06:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4368984187964209152,"description":"Unknown IO ID 44"} 
[2026-09-10 16:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993350144001,"power":27865,"unknown_88":206,"unknown_85":37120,"ignition":34,"odometer":null,"unknown_44":-4368984187964209152}} 
[2026-09-10 16:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":177804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:06:39] local.INFO: GPS data processed {"connection_id":177804,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:06:39] local.INFO: Acknowledgment sent {"connection_id":177804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:06:52] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:06:52] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:06:52] local.INFO: IMEI packet received {"connection_id":176414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":176414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:06:57] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:06:57] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:06:57] local.INFO: IMEI packet received {"connection_id":176414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":176414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:06:58] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae35b58012d7c3c4005eb0528000000a519..."} 
[2026-09-10 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae35b58012d7c3c4005eb0528000000a519..."} 
[2026-09-10 16:06:58] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae35b58012d7c3c4005eb0528000000a519..."} 
[2026-09-10 16:06:58] local.INFO: Packet analysis {"connection_id":176414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:06:58] local.INFO: Extracted packet for processing {"connection_id":176414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763116608,"raw_latitude":99288360,"longitude_deg":76.3116608,"latitude_deg":9.928836,"altitude":0,"angle":165,"satellites":25,"speed":25,"hex_longitude":"2d7c3c40","hex_latitude":"05eb0528","is_valid_coordinates":true} 
[2026-09-10 16:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993355776001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130741475959898112,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753654700032,"note":"Value kept but may cause issues"} 
[2026-09-10 16:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789036551000,"timestamp_ms":1789036551000,"timestamp_seconds":1789036551,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae35b58"} 
[2026-09-10 16:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 16:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:06:58] 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-09-10 16:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993355776001,"66":13765,"8":206,"87":13824,"24":25,"16":130741475959898112,"45":8949848753654700032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993355776001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:06:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130741475959898112,"km_value":130741475959898.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753654700032,"description":"Unknown IO ID 45"} 
[2026-09-10 16:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993355776001,"power":13765,"unknown_8":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8949848753654700032}} 
[2026-09-10 16:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":176414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:06:58] local.INFO: GPS data processed {"connection_id":176414,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:06:58] local.INFO: Acknowledgment sent {"connection_id":176414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:01] local.INFO: TCP Data received {"connection_id":176413,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae3b530012d181fc00721ae70004b002826..."} 
[2026-09-10 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae3b530012d181fc00721ae70004b002826..."} 
[2026-09-10 16:07:01] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae3b530012d181fc00721ae70004b002826..."} 
[2026-09-10 16:07:01] local.INFO: Packet analysis {"connection_id":176413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:01] local.INFO: Extracted packet for processing {"connection_id":176413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647856,"longitude_deg":75.6555712,"latitude_deg":11.9647856,"altitude":75,"angle":40,"satellites":38,"speed":9,"hex_longitude":"2d181fc0","hex_latitude":"0721ae70","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993361920001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276259901046784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097062912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789036574000,"timestamp_ms":1789036574000,"timestamp_seconds":1789036574,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae3b530"} 
[2026-09-10 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-09-10 16:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988423929,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503893753987072,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2330138864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3814414337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2750414922,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84750607525028243,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.WARNING: Large IO value detected {"io_id":144,"raw_value":21674823662967552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,28,24,241,158,16,123,160,157,45,192,169,75,37,10,66,153,168,74,149,1,240,185,138,33,4,113,205,13,64,41,35,239,55,2,68,7,76,9,206,176,144],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-10 16:07:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404349398573056000,"timestamp_seconds":5404349398573056,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 16:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993361920001,"66":14048,"120":206,"28":31744,"24":9,"16":19276259901046784,"45":1737756168097062912},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993361920001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:07:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276259901046784,"km_value":19276259901046.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097062912,"description":"Unknown IO ID 45"} 
[2026-09-10 16:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993361920001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737756168097062912}} 
[2026-09-10 16:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":176413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:02] local.INFO: GPS data processed {"connection_id":176413,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:02] local.INFO: Acknowledgment sent {"connection_id":176413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:02] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:02] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:02] local.INFO: IMEI packet received {"connection_id":176630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":176630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:07:07] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:07] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:07] local.INFO: IMEI packet received {"connection_id":176630,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":176630,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:07:08] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae416d8012d0c3b8007057df8002000031c..."} 
[2026-09-10 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae416d8012d0c3b8007057df8002000031c..."} 
[2026-09-10 16:07:08] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae416d8012d0c3b8007057df8002000031c..."} 
[2026-09-10 16:07:08] local.INFO: Packet analysis {"connection_id":176630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:08] local.INFO: Extracted packet for processing {"connection_id":176630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:08] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117800440,"longitude_deg":75.5776384,"latitude_deg":11.780044,"altitude":32,"angle":3,"satellites":28,"speed":5,"hex_longitude":"2d0c3b80","hex_latitude":"07057df8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993366784001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31181368079679488,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919726290944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789036599000,"timestamp_ms":1789036599000,"timestamp_seconds":1789036599,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae416d8"} 
[2026-09-10 16:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176630,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993366784001,"66":14537,"164":206,"94":10240,"24":5,"16":31181368079679488,"45":881438919726290944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993366784001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:08] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:07:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31181368079679488,"km_value":31181368079679.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919726290944,"description":"Unknown IO ID 45"} 
[2026-09-10 16:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993366784001,"power":14537,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":881438919726290944}} 
[2026-09-10 16:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":176630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:08] local.INFO: GPS data processed {"connection_id":176630,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:08] local.INFO: Acknowledgment sent {"connection_id":176630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:18] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:18] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:18] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:07:20] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:20] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:20] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:07:23] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:23] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:07:23] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:07:24] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae3c4d0012cc2a30007666d50004d00d627..."} 
[2026-09-10 16:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae3c4d0012cc2a30007666d50004d00d627..."} 
[2026-09-10 16:07:24] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae3c4d0012cc2a30007666d50004d00d627..."} 
[2026-09-10 16:07:24] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:24] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:24] local.INFO: GPS Element Parsed {"raw_longitude":750953216,"raw_latitude":124153168,"longitude_deg":75.0953216,"latitude_deg":12.4153168,"altitude":77,"angle":214,"satellites":39,"speed":50,"hex_longitude":"2cc2a300","hex_latitude":"07666d50","is_valid_coordinates":true} 
[2026-09-10 16:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993362944001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404208013700759552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4418031202666254336,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036578000,"timestamp_ms":1789036578000,"timestamp_seconds":1789036578,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae3c4d0"} 
[2026-09-10 16:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:24] 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-09-10 16:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993362944001,"66":27919,"211":206,"85":37120,"24":50,"16":404208013700759552,"44":-4418031202666254336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-10 16:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993362944001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:24] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-10 16:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404208013700759552,"km_value":404208013700759.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4418031202666254336,"description":"Unknown IO ID 44"} 
[2026-09-10 16:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993362944001,"power":27919,"unknown_211":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4418031202666254336}} 
[2026-09-10 16:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:24] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:24] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:25] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae3d470012cc2994007665be0004d00cb26..."} 
[2026-09-10 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae3d470012cc2994007665be0004d00cb26..."} 
[2026-09-10 16:07:25] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae3d470012cc2994007665be0004d00cb26..."} 
[2026-09-10 16:07:25] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:25] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:25] local.INFO: GPS Element Parsed {"raw_longitude":750950720,"raw_latitude":124148704,"longitude_deg":75.095072,"latitude_deg":12.4148704,"altitude":77,"angle":203,"satellites":38,"speed":51,"hex_longitude":"2cc29940","hex_latitude":"07665be0","is_valid_coordinates":true} 
[2026-09-10 16:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993363968001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404208262808862720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421690377364484096,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789036582000,"timestamp_ms":1789036582000,"timestamp_seconds":1789036582,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae3d470"} 
[2026-09-10 16:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993363968001,"66":27908,"211":206,"85":37120,"24":51,"16":404208262808862720,"44":-4421690377364484096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-10 16:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993363968001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:25] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-10 16:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404208262808862720,"km_value":404208262808862.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421690377364484096,"description":"Unknown IO ID 44"} 
[2026-09-10 16:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993363968001,"power":27908,"unknown_211":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4421690377364484096}} 
[2026-09-10 16:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:25] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:25] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:27] local.INFO: TCP Data received {"connection_id":179181,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:07:27] local.INFO: Processing buffer {"connection_id":179181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:07:27] local.INFO: IMEI packet received {"connection_id":179181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":179181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:07:29] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae48820012d7c7d0005ead0a80000004b1a..."} 
[2026-09-10 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae48820012d7c7d0005ead0a80000004b1a..."} 
[2026-09-10 16:07:29] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae48820012d7c7d0005ead0a80000004b1a..."} 
[2026-09-10 16:07:29] local.INFO: Packet analysis {"connection_id":176414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:29] local.INFO: Extracted packet for processing {"connection_id":176414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763133184,"raw_latitude":99274920,"longitude_deg":76.3133184,"latitude_deg":9.927492,"altitude":0,"angle":75,"satellites":26,"speed":0,"hex_longitude":"2d7c7d00","hex_latitude":"05ead0a8","is_valid_coordinates":true} 
[2026-09-10 16:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993371648001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130743047917928448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962444758857879552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789036628000,"timestamp_ms":1789036628000,"timestamp_seconds":1789036628,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae48820"} 
[2026-09-10 16:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2330178864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818505,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3820814337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3313500162,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-09-10 16:07:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3938859008,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:29] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,10,87,24,241,157,16,125,160,235,45,64,199,2,66,8,216,198,25,192,128,1,240,9,227,138,234,4,113,205,7,185,63,208,239,50,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-09-10 16:07:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":81475531177984,"timestamp_seconds":81475531177.984,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:07:29] 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-09-10 16:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993371648001,"66":13526,"8":206,"87":13824,"24":0,"16":130743047917928448,"45":8962444758857879552},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993371648001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:07:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130743047917928448,"km_value":130743047917928.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962444758857879552,"description":"Unknown IO ID 45"} 
[2026-09-10 16:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993371648001,"power":13526,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8962444758857879552}} 
[2026-09-10 16:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":176414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:29] local.INFO: GPS data processed {"connection_id":176414,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:29] local.INFO: Acknowledgment sent {"connection_id":176414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:31] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:31] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:31] local.INFO: IMEI packet received {"connection_id":176632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":176632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:07:32] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:32] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:32] local.INFO: IMEI packet received {"connection_id":176632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":176632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:07:32] local.INFO: TCP Data received {"connection_id":179181,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:07:32] local.INFO: Processing buffer {"connection_id":179181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:07:32] local.INFO: IMEI packet received {"connection_id":179181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":179181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:07:33] local.INFO: TCP Data received {"connection_id":179181,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae3d470012d1823800721b488004b001826..."} 
[2026-09-10 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae3d470012d1823800721b488004b001826..."} 
[2026-09-10 16:07:33] local.INFO: Processing buffer {"connection_id":179181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae3d470012d1823800721b488004b001826..."} 
[2026-09-10 16:07:33] local.INFO: Packet analysis {"connection_id":179181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:33] local.INFO: Extracted packet for processing {"connection_id":179181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649416,"longitude_deg":75.6556672,"latitude_deg":11.9649416,"altitude":75,"angle":24,"satellites":38,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-09-10 16:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993362944001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276350095360000,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050684928,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036582000,"timestamp_ms":1789036582000,"timestamp_seconds":1789036582,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae3d470"} 
[2026-09-10 16:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993362944001,"66":13222,"120":206,"28":31744,"24":8,"16":19276350095360000,"45":1738319118050684928},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993362944001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:07:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276350095360000,"km_value":19276350095360,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050684928,"description":"Unknown IO ID 45"} 
[2026-09-10 16:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993362944001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738319118050684928}} 
[2026-09-10 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":179181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:34] local.INFO: GPS data processed {"connection_id":179181,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:34] local.INFO: Acknowledgment sent {"connection_id":179181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:38] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:38] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:07:38] local.INFO: IMEI packet received {"connection_id":176632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":176632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:07:39] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae41ac0012d0c3bc007057e98002000181c..."} 
[2026-09-10 16:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae41ac0012d0c3bc007057e98002000181c..."} 
[2026-09-10 16:07:39] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae41ac0012d0c3bc007057e98002000181c..."} 
[2026-09-10 16:07:39] local.INFO: Packet analysis {"connection_id":176632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:39] local.INFO: Extracted packet for processing {"connection_id":176632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:39] local.INFO: GPS Element Parsed {"raw_longitude":755776448,"raw_latitude":117800600,"longitude_deg":75.5776448,"latitude_deg":11.78006,"altitude":32,"angle":24,"satellites":28,"speed":8,"hex_longitude":"2d0c3bc0","hex_latitude":"07057e98","is_valid_coordinates":true} 
[2026-09-10 16:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993369344001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31181376669614080,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919726331904,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789036600000,"timestamp_ms":1789036600000,"timestamp_seconds":1789036600,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae41ac0"} 
[2026-09-10 16:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993369344001,"66":14537,"164":206,"94":10240,"24":8,"16":31181376669614080,"45":881438919726331904},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993369344001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:07:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31181376669614080,"km_value":31181376669614.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919726331904,"description":"Unknown IO ID 45"} 
[2026-09-10 16:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993369344001,"power":14537,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":881438919726331904}} 
[2026-09-10 16:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":176632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:40] local.INFO: GPS data processed {"connection_id":176632,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:40] local.INFO: Acknowledgment sent {"connection_id":176632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:56] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae49f90012cc28f4007658f48005300ee27..."} 
[2026-09-10 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae49f90012cc28f4007658f48005300ee27..."} 
[2026-09-10 16:07:56] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae49f90012cc28f4007658f48005300ee27..."} 
[2026-09-10 16:07:56] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:56] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:07:56] local.INFO: GPS Element Parsed {"raw_longitude":750948160,"raw_latitude":124096328,"longitude_deg":75.094816,"latitude_deg":12.4096328,"altitude":83,"angle":238,"satellites":39,"speed":11,"hex_longitude":"2cc28f40","hex_latitude":"07658f48","is_valid_coordinates":true} 
[2026-09-10 16:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993378048001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404210921393618944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426968033192312832,"note":"Value kept but may cause issues"} 
[2026-09-10 16:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789036634000,"timestamp_ms":1789036634000,"timestamp_seconds":1789036634,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae49f90"} 
[2026-09-10 16:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:07: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-09-10 16:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993378048001,"66":27887,"211":206,"85":37120,"24":11,"16":404210921393618944,"44":-4426968033192312832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-10 16:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993378048001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:07:56] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-10 16:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404210921393618944,"km_value":404210921393618.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426968033192312832,"description":"Unknown IO ID 44"} 
[2026-09-10 16:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993378048001,"power":27887,"unknown_211":206,"unknown_85":37120,"ignition":11,"odometer":null,"unknown_44":-4426968033192312832}} 
[2026-09-10 16:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:07:56] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:07:56] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:07:57] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:07:57] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:07:57] local.INFO: IMEI packet received {"connection_id":176415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":176415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:08:00] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:00] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:00] local.INFO: IMEI packet received {"connection_id":176415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":176415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:01] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae4a760012d7c7ec005ead1600000003a1a..."} 
[2026-09-10 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae4a760012d7c7ec005ead1600000003a1a..."} 
[2026-09-10 16:08:01] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae4a760012d7c7ec005ead1600000003a1a..."} 
[2026-09-10 16:08:01] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:01] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":99275104,"longitude_deg":76.3133632,"latitude_deg":9.9275104,"altitude":0,"angle":58,"satellites":26,"speed":10,"hex_longitude":"2d7c7ec0","hex_latitude":"05ead160","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993376768001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130743069392764928,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970326058206275584,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789036636000,"timestamp_ms":1789036636000,"timestamp_seconds":1789036636,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae4a760"} 
[2026-09-10 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-09-10 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08:01] 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-09-10 16:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993376768001,"66":13493,"8":206,"87":13824,"24":10,"16":130743069392764928,"45":8970326058206275584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993376768001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:08:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130743069392764928,"km_value":130743069392764.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970326058206275584,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993376768001,"power":13493,"unknown_8":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8970326058206275584}} 
[2026-09-10 16:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:01] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:01] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:02] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae4ca88012d7c88c005ead7000000004619..."} 
[2026-09-10 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae4ca88012d7c88c005ead7000000004619..."} 
[2026-09-10 16:08:02] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae4ca88012d7c88c005ead7000000004619..."} 
[2026-09-10 16:08:02] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:02] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763136192,"raw_latitude":99276544,"longitude_deg":76.3136192,"latitude_deg":9.9276544,"altitude":0,"angle":70,"satellites":25,"speed":6,"hex_longitude":"2d7c88c0","hex_latitude":"05ead700","is_valid_coordinates":true} 
[2026-09-10 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993378816001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130743215421652992,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639415566336,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789036645000,"timestamp_ms":1789036645000,"timestamp_seconds":1789036645,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae4ca88"} 
[2026-09-10 16:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08:02] 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-09-10 16:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993378816001,"66":13504,"8":206,"87":13824,"24":6,"16":130743215421652992,"45":8970818639415566336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993378816001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130743215421652992,"km_value":130743215421652.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639415566336,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993378816001,"power":13504,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8970818639415566336}} 
[2026-09-10 16:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:02] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:02] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:05] local.INFO: TCP Data received {"connection_id":179181,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae3d858012d1824000721b560004c000a26..."} 
[2026-09-10 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae3d858012d1824000721b560004c000a26..."} 
[2026-09-10 16:08:05] local.INFO: Processing buffer {"connection_id":179181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae3d858012d1824000721b560004c000a26..."} 
[2026-09-10 16:08:05] local.INFO: Packet analysis {"connection_id":179181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:08:05] local.INFO: Extracted packet for processing {"connection_id":179181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649632,"longitude_deg":75.65568,"latitude_deg":11.9649632,"altitude":76,"angle":10,"satellites":38,"speed":8,"hex_longitude":"2d182400","hex_latitude":"0721b560","is_valid_coordinates":true} 
[2026-09-10 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993364992001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276362980261888,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213749248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08: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-09-10 16:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789036583000,"timestamp_ms":1789036583000,"timestamp_seconds":1789036583,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae3d858"} 
[2026-09-10 16:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993364992001,"66":13222,"120":206,"28":31744,"24":8,"16":19276362980261888,"45":1739374649213749248},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993364992001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276362980261888,"km_value":19276362980261.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213749248,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993364992001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1739374649213749248}} 
[2026-09-10 16:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":179181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:05] local.INFO: GPS data processed {"connection_id":179181,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:05] local.INFO: Acknowledgment sent {"connection_id":179181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:18] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:18] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:18] local.INFO: IMEI packet received {"connection_id":176416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":176416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:08:20] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:20] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:20] local.INFO: IMEI packet received {"connection_id":176416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":176416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:21] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:21] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:08:21] local.INFO: IMEI packet received {"connection_id":176416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":176416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:21] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae4a378012cc28e4007658ed8005300f927..."} 
[2026-09-10 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae4a378012cc28e4007658ed8005300f927..."} 
[2026-09-10 16:08:21] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae4a378012cc28e4007658ed8005300f927..."} 
[2026-09-10 16:08:21] local.INFO: Packet analysis {"connection_id":176416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:21] local.INFO: Extracted packet for processing {"connection_id":176416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:21] local.INFO: GPS Element Parsed {"raw_longitude":750947904,"raw_latitude":124096216,"longitude_deg":75.0947904,"latitude_deg":12.4096216,"altitude":83,"angle":249,"satellites":39,"speed":9,"hex_longitude":"2cc28e40","hex_latitude":"07658ed8","is_valid_coordinates":true} 
[2026-09-10 16:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993378304001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404210938573488128,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427249508169070592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789036635000,"timestamp_ms":1789036635000,"timestamp_seconds":1789036635,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae4a378"} 
[2026-09-10 16:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:21] 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-09-10 16:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993378304001,"66":27887,"211":206,"85":37120,"24":9,"16":404210938573488128,"44":-4427249508169070592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-10 16:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993378304001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:21] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-10 16:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404210938573488128,"km_value":404210938573488.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427249508169070592,"description":"Unknown IO ID 44"} 
[2026-09-10 16:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993378304001,"power":27887,"unknown_211":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4427249508169070592}} 
[2026-09-10 16:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":176416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:21] local.INFO: GPS data processed {"connection_id":176416,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:21] local.INFO: Acknowledgment sent {"connection_id":176416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:26] local.INFO: TCP Data received {"connection_id":179182,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:26] local.INFO: Processing buffer {"connection_id":179182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:26] local.INFO: IMEI packet received {"connection_id":179182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":179182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:08:27] local.INFO: TCP Data received {"connection_id":179182,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:27] local.INFO: Processing buffer {"connection_id":179182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:27] local.INFO: IMEI packet received {"connection_id":179182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":179182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:31] local.INFO: TCP Data received {"connection_id":179182,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:31] local.INFO: Processing buffer {"connection_id":179182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:08:31] local.INFO: IMEI packet received {"connection_id":179182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":179182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:33] local.INFO: TCP Data received {"connection_id":179182,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae3dc40012d1824000721b620004c015926..."} 
[2026-09-10 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae3dc40012d1824000721b620004c015926..."} 
[2026-09-10 16:08:33] local.INFO: Processing buffer {"connection_id":179182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae3dc40012d1824000721b620004c015926..."} 
[2026-09-10 16:08:33] local.INFO: Packet analysis {"connection_id":179182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:08:33] local.INFO: Extracted packet for processing {"connection_id":179182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae3"} 
[2026-09-10 16:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649824,"longitude_deg":75.65568,"latitude_deg":11.9649824,"altitude":76,"angle":345,"satellites":38,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b620","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993365248001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276371570196480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702159872,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036584000,"timestamp_ms":1789036584000,"timestamp_seconds":1789036584,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae3dc40"} 
[2026-09-10 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-09-10 16:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993365248001,"66":13254,"120":206,"28":31744,"24":6,"16":19276371570196480,"45":1739515386702159872},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993365248001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:08:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276371570196480,"km_value":19276371570196.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702159872,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993365248001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739515386702159872}} 
[2026-09-10 16:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":179182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:33] local.INFO: GPS data processed {"connection_id":179182,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:33] local.INFO: Acknowledgment sent {"connection_id":179182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:34] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae518a8012d7c8d0005ead7d80000004717..."} 
[2026-09-10 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae518a8012d7c8d0005ead7d80000004717..."} 
[2026-09-10 16:08:34] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae518a8012d7c8d0005ead7d80000004717..."} 
[2026-09-10 16:08:34] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:34] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":99276760,"longitude_deg":76.313728,"latitude_deg":9.927676,"altitude":0,"angle":71,"satellites":23,"speed":13,"hex_longitude":"2d7c8d00","hex_latitude":"05ead7d8","is_valid_coordinates":true} 
[2026-09-10 16:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993381120001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130743266961260544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973633389183041536,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036665000,"timestamp_ms":1789036665000,"timestamp_seconds":1789036665,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae518a8"} 
[2026-09-10 16:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08: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-09-10 16: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08:34] 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-09-10 16:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993381120001,"66":12972,"8":206,"87":13824,"24":13,"16":130743266961260544,"45":8973633389183041536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993381120001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:08:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130743266961260544,"km_value":130743266961260.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973633389183041536,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993381120001,"power":12972,"unknown_8":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8973633389183041536}} 
[2026-09-10 16:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:34] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:34] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:38] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae42290012d0c3d00070580400020002d1d..."} 
[2026-09-10 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae42290012d0c3d00070580400020002d1d..."} 
[2026-09-10 16:08:38] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae42290012d0c3d00070580400020002d1d..."} 
[2026-09-10 16:08:38] local.INFO: Packet analysis {"connection_id":176632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:38] local.INFO: Extracted packet for processing {"connection_id":176632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117801024,"longitude_deg":75.5776768,"latitude_deg":11.7801024,"altitude":32,"angle":45,"satellites":29,"speed":12,"hex_longitude":"2d0c3d00","hex_latitude":"07058040","is_valid_coordinates":true} 
[2026-09-10 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993369600001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31181402439417856,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288470550528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789036602000,"timestamp_ms":1789036602000,"timestamp_seconds":1789036602,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae42290"} 
[2026-09-10 16:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993369600001,"66":14407,"164":206,"94":10240,"24":12,"16":31181402439417856,"45":881509288470550528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993369600001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31181402439417856,"km_value":31181402439417.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288470550528,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993369600001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":881509288470550528}} 
[2026-09-10 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":176632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794778,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:38] local.INFO: GPS data processed {"connection_id":176632,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:38] local.INFO: Acknowledgment sent {"connection_id":176632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:40] local.INFO: TCP Data received {"connection_id":177805,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:08:40] local.INFO: Processing buffer {"connection_id":177805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:08:40] local.INFO: IMEI packet received {"connection_id":177805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":177805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:08:42] local.INFO: TCP Data received {"connection_id":177806,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:42] local.INFO: Processing buffer {"connection_id":177806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:42] local.INFO: IMEI packet received {"connection_id":177806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":177806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:08:42] local.INFO: TCP Data received {"connection_id":177806,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:42] local.INFO: Processing buffer {"connection_id":177806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:42] local.INFO: IMEI packet received {"connection_id":177806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":177806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:43] local.INFO: TCP Data received {"connection_id":179183,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:08:43] local.INFO: Processing buffer {"connection_id":179183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:08:43] local.INFO: IMEI packet received {"connection_id":179183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":179183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:08:47] local.INFO: TCP Data received {"connection_id":177806,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:47] local.INFO: Processing buffer {"connection_id":177806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:08:47] local.INFO: IMEI packet received {"connection_id":177806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":177806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:48] local.INFO: TCP Data received {"connection_id":177806,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae5cc58012d0c510007058658002201381c..."} 
[2026-09-10 16:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae5cc58012d0c510007058658002201381c..."} 
[2026-09-10 16:08:48] local.INFO: Processing buffer {"connection_id":177806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae5cc58012d0c510007058658002201381c..."} 
[2026-09-10 16:08:48] local.INFO: Packet analysis {"connection_id":177806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:48] local.INFO: Extracted packet for processing {"connection_id":177806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":755781888,"raw_latitude":117802584,"longitude_deg":75.5781888,"latitude_deg":11.7802584,"altitude":34,"angle":312,"satellites":28,"speed":1,"hex_longitude":"2d0c5100","hex_latitude":"07058658","is_valid_coordinates":true} 
[2026-09-10 16:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993395712001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31181776101572608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887983212935456768,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789036711000,"timestamp_ms":1789036711000,"timestamp_seconds":1789036711,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae5cc58"} 
[2026-09-10 16:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993395712001,"66":14515,"164":206,"94":10240,"24":1,"16":31181776101572608,"45":887983212935456768},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993395712001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:48] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:08:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31181776101572608,"km_value":31181776101572.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":887983212935456768,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993395712001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":887983212935456768}} 
[2026-09-10 16:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":177806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:48] local.INFO: GPS data processed {"connection_id":177806,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:48] local.INFO: Acknowledgment sent {"connection_id":177806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:52] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae53bd0012cc274c007658fd00053008327..."} 
[2026-09-10 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae53bd0012cc274c007658fd00053008327..."} 
[2026-09-10 16:08:52] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae53bd0012cc274c007658fd00053008327..."} 
[2026-09-10 16:08:52] local.INFO: Packet analysis {"connection_id":176416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:52] local.INFO: Extracted packet for processing {"connection_id":176416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":750941376,"raw_latitude":124096464,"longitude_deg":75.0941376,"latitude_deg":12.4096464,"altitude":83,"angle":131,"satellites":39,"speed":26,"hex_longitude":"2cc274c0","hex_latitude":"07658fd0","is_valid_coordinates":true} 
[2026-09-10 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993387520001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404211647243091968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4436890026121029632,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789036674000,"timestamp_ms":1789036674000,"timestamp_seconds":1789036674,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae53bd0"} 
[2026-09-10 16:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993387520001,"66":27974,"209":206,"85":37120,"24":26,"16":404211647243091968,"44":-4436890026121029632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 16:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993387520001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:52] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 16:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404211647243091968,"km_value":404211647243091.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4436890026121029632,"description":"Unknown IO ID 44"} 
[2026-09-10 16:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993387520001,"power":27974,"unknown_209":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4436890026121029632}} 
[2026-09-10 16:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":176416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:52] local.INFO: GPS data processed {"connection_id":176416,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:52] local.INFO: Acknowledgment sent {"connection_id":176416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:08:52] local.INFO: TCP Data received {"connection_id":179184,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:52] local.INFO: Processing buffer {"connection_id":179184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:52] local.INFO: IMEI packet received {"connection_id":179184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":179184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:08:57] local.INFO: TCP Data received {"connection_id":179184,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:57] local.INFO: Processing buffer {"connection_id":179184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:08:57] local.INFO: IMEI packet received {"connection_id":179184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":179184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:08:59] local.INFO: TCP Data received {"connection_id":179184,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae54f58012d7caf8005eae3f80000004819..."} 
[2026-09-10 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae54f58012d7caf8005eae3f80000004819..."} 
[2026-09-10 16:08:59] local.INFO: Processing buffer {"connection_id":179184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae54f58012d7caf8005eae3f80000004819..."} 
[2026-09-10 16:08:59] local.INFO: Packet analysis {"connection_id":179184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:59] local.INFO: Extracted packet for processing {"connection_id":179184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763146112,"raw_latitude":99279864,"longitude_deg":76.3146112,"latitude_deg":9.9279864,"altitude":0,"angle":72,"satellites":25,"speed":33,"hex_longitude":"2d7caf80","hex_latitude":"05eae3f8","is_valid_coordinates":true} 
[2026-09-10 16:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993386240001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130743717932826624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657834117120,"note":"Value kept but may cause issues"} 
[2026-09-10 16:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789036679000,"timestamp_ms":1789036679000,"timestamp_seconds":1789036679,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae54f58"} 
[2026-09-10 16:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 16:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:08: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-09-10 16:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993386240001,"66":13015,"8":206,"87":13824,"24":33,"16":130743717932826624,"45":8974829657834117120},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993386240001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:08:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:08:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130743717932826624,"km_value":130743717932826.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657834117120,"description":"Unknown IO ID 45"} 
[2026-09-10 16:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993386240001,"power":13015,"unknown_8":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8974829657834117120}} 
[2026-09-10 16:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":179184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:08:59] local.INFO: GPS data processed {"connection_id":179184,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:08:59] local.INFO: Acknowledgment sent {"connection_id":179184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:03] local.INFO: TCP Data received {"connection_id":179184,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae57668012d7ccb0005eae9e00001005419..."} 
[2026-09-10 16:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae57668012d7ccb0005eae9e00001005419..."} 
[2026-09-10 16:09:03] local.INFO: Processing buffer {"connection_id":179184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae57668012d7ccb0005eae9e00001005419..."} 
[2026-09-10 16:09:03] local.INFO: Packet analysis {"connection_id":179184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:03] local.INFO: Extracted packet for processing {"connection_id":179184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763153152,"raw_latitude":99281376,"longitude_deg":76.3153152,"latitude_deg":9.9281376,"altitude":1,"angle":84,"satellites":25,"speed":24,"hex_longitude":"2d7ccb00","hex_latitude":"05eae9e0","is_valid_coordinates":true} 
[2026-09-10 16:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993389824001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130744061530210304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984540544531429376,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789036689000,"timestamp_ms":1789036689000,"timestamp_seconds":1789036689,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae57668"} 
[2026-09-10 16:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:09:03] 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-09-10 16:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993389824001,"66":13852,"8":206,"87":13824,"24":24,"16":130744061530210304,"45":8984540544531429376},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993389824001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:09:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130744061530210304,"km_value":130744061530210.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984540544531429376,"description":"Unknown IO ID 45"} 
[2026-09-10 16:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993389824001,"power":13852,"unknown_8":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8984540544531429376}} 
[2026-09-10 16:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":179184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:03] local.INFO: GPS data processed {"connection_id":179184,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:03] local.INFO: Acknowledgment sent {"connection_id":179184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:04] local.INFO: TCP Data received {"connection_id":179182,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae42e48012d1823000721b7a0004c015926..."} 
[2026-09-10 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae42e48012d1823000721b7a0004c015926..."} 
[2026-09-10 16:09:04] local.INFO: Processing buffer {"connection_id":179182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae42e48012d1823000721b7a0004c015926..."} 
[2026-09-10 16:09:04] local.INFO: Packet analysis {"connection_id":179182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:09:04] local.INFO: Extracted packet for processing {"connection_id":179182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650208,"longitude_deg":75.6556544,"latitude_deg":11.9650208,"altitude":76,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-09-10 16:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993365504001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276435994705920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702209024,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09: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-09-10 16:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789036605000,"timestamp_ms":1789036605000,"timestamp_seconds":1789036605,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae42e48"} 
[2026-09-10 16:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09: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-09-10 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993365504001,"66":13222,"120":206,"28":31744,"24":0,"16":19276435994705920,"45":1739515386702209024},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993365504001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276435994705920,"km_value":19276435994705.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702209024,"description":"Unknown IO ID 45"} 
[2026-09-10 16:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993365504001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702209024}} 
[2026-09-10 16:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":179182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:04] local.INFO: GPS data processed {"connection_id":179182,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:04] local.INFO: Acknowledgment sent {"connection_id":179182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:17] local.INFO: TCP Data received {"connection_id":176633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:17] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:17] local.INFO: IMEI packet received {"connection_id":176633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":176633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:09:18] local.INFO: TCP Data received {"connection_id":176633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:18] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:18] local.INFO: IMEI packet received {"connection_id":176633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":176633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:24] local.INFO: TCP Data received {"connection_id":176633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:24] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:09:24] local.INFO: IMEI packet received {"connection_id":176633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":176633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:24] local.INFO: TCP Data received {"connection_id":176633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae566c8012cc28d80076576880054008c29..."} 
[2026-09-10 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae566c8012cc28d80076576880054008c29..."} 
[2026-09-10 16:09:24] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae566c8012cc28d80076576880054008c29..."} 
[2026-09-10 16:09:24] local.INFO: Packet analysis {"connection_id":176633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:24] local.INFO: Extracted packet for processing {"connection_id":176633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":750947712,"raw_latitude":124089992,"longitude_deg":75.0947712,"latitude_deg":12.4089992,"altitude":84,"angle":140,"satellites":41,"speed":40,"hex_longitude":"2cc28d80","hex_latitude":"07657688","is_valid_coordinates":true} 
[2026-09-10 16:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993388544001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404212081034788864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4434708595051868160,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036685000,"timestamp_ms":1789036685000,"timestamp_seconds":1789036685,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae566c8"} 
[2026-09-10 16:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993388544001,"66":27876,"209":206,"85":37120,"24":40,"16":404212081034788864,"44":-4434708595051868160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-10 16:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993388544001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:24] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 16:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404212081034788864,"km_value":404212081034788.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4434708595051868160,"description":"Unknown IO ID 44"} 
[2026-09-10 16:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993388544001,"power":27876,"unknown_209":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4434708595051868160}} 
[2026-09-10 16:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":176633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:24] local.INFO: GPS data processed {"connection_id":176633,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:24] local.INFO: Acknowledgment sent {"connection_id":176633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:25] local.INFO: TCP Data received {"connection_id":177807,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:25] local.INFO: Processing buffer {"connection_id":177807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:25] local.INFO: IMEI packet received {"connection_id":177807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":177807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:09:26] local.INFO: TCP Data received {"connection_id":177807,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:26] local.INFO: Processing buffer {"connection_id":177807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:26] local.INFO: IMEI packet received {"connection_id":177807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":177807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:26] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:26] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:26] local.INFO: IMEI packet received {"connection_id":176634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":176634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:09:27] local.INFO: TCP Data received {"connection_id":177807,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:27] local.INFO: Processing buffer {"connection_id":177807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:27] local.INFO: IMEI packet received {"connection_id":177807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":177807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:29] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:29] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:29] local.INFO: IMEI packet received {"connection_id":176634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":176634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:32] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:32] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:09:32] local.INFO: IMEI packet received {"connection_id":176634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":176634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:32] local.INFO: TCP Data received {"connection_id":177807,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:32] local.INFO: Processing buffer {"connection_id":177807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:09:32] local.INFO: IMEI packet received {"connection_id":177807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":177807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:33] local.INFO: TCP Data received {"connection_id":177807,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae69390012d0c168007059268001701561d..."} 
[2026-09-10 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae69390012d0c168007059268001701561d..."} 
[2026-09-10 16:09:33] local.INFO: Processing buffer {"connection_id":177807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae69390012d0c168007059268001701561d..."} 
[2026-09-10 16:09:33] local.INFO: Packet analysis {"connection_id":177807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:09:33] local.INFO: Extracted packet for processing {"connection_id":177807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":755766912,"raw_latitude":117805672,"longitude_deg":75.5766912,"latitude_deg":11.7805672,"altitude":23,"angle":342,"satellites":29,"speed":11,"hex_longitude":"2d0c1680","hex_latitude":"07059268","is_valid_coordinates":true} 
[2026-09-10 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993410816001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31182587850391552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871094714333480960,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036762000,"timestamp_ms":1789036762000,"timestamp_seconds":1789036762,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae69390"} 
[2026-09-10 16:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993410816001,"66":14548,"164":206,"94":10240,"24":11,"16":31182587850391552,"45":871094714333480960},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993410816001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31182587850391552,"km_value":31182587850391.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":871094714333480960,"description":"Unknown IO ID 45"} 
[2026-09-10 16:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993410816001,"power":14548,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":871094714333480960}} 
[2026-09-10 16:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":177807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:33] local.INFO: GPS data processed {"connection_id":177807,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:33] local.INFO: Acknowledgment sent {"connection_id":177807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:33] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae48050012d1823400721b888004b015925..."} 
[2026-09-10 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae48050012d1823400721b888004b015925..."} 
[2026-09-10 16:09:33] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae48050012d1823400721b888004b015925..."} 
[2026-09-10 16:09:33] local.INFO: Packet analysis {"connection_id":176634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:09:33] local.INFO: Extracted packet for processing {"connection_id":176634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993370880001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725596672,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036626000,"timestamp_ms":1789036626000,"timestamp_seconds":1789036626,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae48050"} 
[2026-09-10 16:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993370880001,"66":13080,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739233911725596672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993370880001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725596672,"description":"Unknown IO ID 45"} 
[2026-09-10 16:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993370880001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725596672}} 
[2026-09-10 16:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":176634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:33] local.INFO: GPS data processed {"connection_id":176634,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:33] local.INFO: Acknowledgment sent {"connection_id":176634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:35] local.INFO: TCP Data received {"connection_id":179184,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae5c870012d7ce38005eaec88000c00581a..."} 
[2026-09-10 16:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae5c870012d7ce38005eaec88000c00581a..."} 
[2026-09-10 16:09:35] local.INFO: Processing buffer {"connection_id":179184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae5c870012d7ce38005eaec88000c00581a..."} 
[2026-09-10 16:09:35] local.INFO: Packet analysis {"connection_id":179184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:35] local.INFO: Extracted packet for processing {"connection_id":179184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763159424,"raw_latitude":99282056,"longitude_deg":76.3159424,"latitude_deg":9.9282056,"altitude":12,"angle":88,"satellites":26,"speed":0,"hex_longitude":"2d7ce380","hex_latitude":"05eaec88","is_valid_coordinates":true} 
[2026-09-10 16:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993392384001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130744362177921024,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106391359488,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789036710000,"timestamp_ms":1789036710000,"timestamp_seconds":1789036710,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae5c870"} 
[2026-09-10 16:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:09:35] 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-09-10 16:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993392384001,"66":13504,"8":206,"87":13824,"24":0,"16":130744362177921024,"45":8992281106391359488},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993392384001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:09:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130744362177921024,"km_value":130744362177921.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106391359488,"description":"Unknown IO ID 45"} 
[2026-09-10 16:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993392384001,"power":13504,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8992281106391359488}} 
[2026-09-10 16:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":179184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:35] local.INFO: GPS data processed {"connection_id":179184,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:35] local.INFO: Acknowledgment sent {"connection_id":179184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:52] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:09:52] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:09:52] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:09:55] local.INFO: TCP Data received {"connection_id":176633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae589f0012cc2a600076558800054008d28..."} 
[2026-09-10 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae589f0012cc2a600076558800054008d28..."} 
[2026-09-10 16:09:55] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae589f0012cc2a600076558800054008d28..."} 
[2026-09-10 16:09:55] local.INFO: Packet analysis {"connection_id":176633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:55] local.INFO: Extracted packet for processing {"connection_id":176633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:55] local.INFO: GPS Element Parsed {"raw_longitude":750953984,"raw_latitude":124082304,"longitude_deg":75.0953984,"latitude_deg":12.4082304,"altitude":84,"angle":141,"satellites":40,"speed":46,"hex_longitude":"2cc2a600","hex_latitude":"07655880","is_valid_coordinates":true} 
[2026-09-10 16:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993391360001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404212557776158720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427742089379936256,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789036694000,"timestamp_ms":1789036694000,"timestamp_seconds":1789036694,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae589f0"} 
[2026-09-10 16:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993391360001,"66":26876,"159":206,"85":37120,"24":46,"16":404212557776158720,"44":-4427742089379936256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 16:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993391360001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 16:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404212557776158720,"km_value":404212557776158.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427742089379936256,"description":"Unknown IO ID 44"} 
[2026-09-10 16:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993391360001,"power":26876,"unknown_159":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4427742089379936256}} 
[2026-09-10 16:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":176633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:55] local.INFO: GPS data processed {"connection_id":176633,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:55] local.INFO: Acknowledgment sent {"connection_id":176633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:09:57] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:09:57] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:09:57] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:09:59] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae5e7b0012d7ce4c005eaecd0000e004a17..."} 
[2026-09-10 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae5e7b0012d7ce4c005eaecd0000e004a17..."} 
[2026-09-10 16:09:59] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae5e7b0012d7ce4c005eaecd0000e004a17..."} 
[2026-09-10 16:09:59] local.INFO: Packet analysis {"connection_id":176417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:59] local.INFO: Extracted packet for processing {"connection_id":176417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763159744,"raw_latitude":99282128,"longitude_deg":76.3159744,"latitude_deg":9.9282128,"altitude":14,"angle":74,"satellites":23,"speed":7,"hex_longitude":"2d7ce4c0","hex_latitude":"05eaecd0","is_valid_coordinates":true} 
[2026-09-10 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993397760001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130744392242692096,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999177243320944640,"note":"Value kept but may cause issues"} 
[2026-09-10 16:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789036718000,"timestamp_ms":1789036718000,"timestamp_seconds":1789036718,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae5e7b0"} 
[2026-09-10 16:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-10 16:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:09: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-09-10 16:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993397760001,"66":13689,"8":206,"87":13824,"24":7,"16":130744392242692096,"45":8999177243320944640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-10 16:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993397760001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:09:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 16:09:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130744392242692096,"km_value":130744392242692.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999177243320944640,"description":"Unknown IO ID 45"} 
[2026-09-10 16:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993397760001,"power":13689,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8999177243320944640}} 
[2026-09-10 16:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":176417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:09:59] local.INFO: GPS data processed {"connection_id":176417,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:09:59] local.INFO: Acknowledgment sent {"connection_id":176417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:10:05] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae4d258012d1823400721b888004b015925..."} 
[2026-09-10 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae4d258012d1823400721b888004b015925..."} 
[2026-09-10 16:10:05] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae4d258012d1823400721b888004b015925..."} 
[2026-09-10 16:10:05] local.INFO: Packet analysis {"connection_id":176634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:10:05] local.INFO: Extracted packet for processing {"connection_id":176634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae4"} 
[2026-09-10 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993376256001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10: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-09-10 16:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789036647000,"timestamp_ms":1789036647000,"timestamp_seconds":1789036647,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae4d258"} 
[2026-09-10 16:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 16:10: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-09-10 16:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993376256001,"66":13015,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993376256001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:10:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993376256001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":176634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:10:06] local.INFO: GPS data processed {"connection_id":176634,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:10:06] local.INFO: Acknowledgment sent {"connection_id":176634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:10:18] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:10:18] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:10:18] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:10:23] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:10:23] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:10:23] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:10:23] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae69b60012cc2f0800763f070005200c32a..."} 
[2026-09-10 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae69b60012cc2f0800763f070005200c32a..."} 
[2026-09-10 16:10:23] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae69b60012cc2f0800763f070005200c32a..."} 
[2026-09-10 16:10:23] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:10:23] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:10:23] local.INFO: GPS Element Parsed {"raw_longitude":750973056,"raw_latitude":123990128,"longitude_deg":75.0973056,"latitude_deg":12.3990128,"altitude":82,"angle":195,"satellites":42,"speed":60,"hex_longitude":"2cc2f080","hex_latitude":"0763f070","is_valid_coordinates":true} 
[2026-09-10 16:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993409792001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404217269355282432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4397694635639044096,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789036764000,"timestamp_ms":1789036764000,"timestamp_seconds":1789036764,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae69b60"} 
[2026-09-10 16:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 16:10:23] 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-09-10 16:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993409792001,"66":27974,"3":206,"85":37120,"24":60,"16":404217269355282432,"44":-4397694635639044096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-10 16:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993409792001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:10:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 16:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404217269355282432,"km_value":404217269355282.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:10:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4397694635639044096,"description":"Unknown IO ID 44"} 
[2026-09-10 16:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993409792001,"power":27974,"unknown_3":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4397694635639044096}} 
[2026-09-10 16:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:10:23] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:10:23] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:10:26] local.INFO: TCP Data received {"connection_id":179185,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:10:27] local.INFO: Processing buffer {"connection_id":179185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:10:27] local.INFO: IMEI packet received {"connection_id":179185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":179185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:10:30] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae756e0012d7d234005eafd50000c009f19..."} 
[2026-09-10 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae756e0012d7d234005eafd50000c009f19..."} 
[2026-09-10 16:10:30] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae756e0012d7d234005eafd50000c009f19..."} 
[2026-09-10 16:10:30] local.INFO: Packet analysis {"connection_id":176417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:10:30] local.INFO: Extracted packet for processing {"connection_id":176417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":99286352,"longitude_deg":76.3175744,"latitude_deg":9.9286352,"altitude":12,"angle":159,"satellites":25,"speed":5,"hex_longitude":"2d7d2340","hex_latitude":"05eafd50","is_valid_coordinates":true} 
[2026-09-10 16:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993423616001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130745216876412928,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166854844416,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789036812000,"timestamp_ms":1789036812000,"timestamp_seconds":1789036812,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae756e0"} 
[2026-09-10 16:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 16:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:10:30] 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-09-10 16:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993423616001,"66":13472,"158":206,"87":13824,"24":5,"16":130745216876412928,"45":9016910166854844416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993423616001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:10:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130745216876412928,"km_value":130745216876412.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166854844416,"description":"Unknown IO ID 45"} 
[2026-09-10 16:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993423616001,"power":13472,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9016910166854844416}} 
[2026-09-10 16:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":176417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:10:30] local.INFO: GPS data processed {"connection_id":176417,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:10:30] local.INFO: Acknowledgment sent {"connection_id":176417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:10:32] local.INFO: TCP Data received {"connection_id":179185,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:10:32] local.INFO: Processing buffer {"connection_id":179185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:10:32] local.INFO: IMEI packet received {"connection_id":179185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":179185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:10:34] local.INFO: TCP Data received {"connection_id":179185,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae52460012d1823400721b888004b015926..."} 
[2026-09-10 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae52460012d1823400721b888004b015926..."} 
[2026-09-10 16:10:34] local.INFO: Processing buffer {"connection_id":179185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae52460012d1823400721b888004b015926..."} 
[2026-09-10 16:10:34] local.INFO: Packet analysis {"connection_id":179185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:10:34] local.INFO: Extracted packet for processing {"connection_id":179185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993381632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036668000,"timestamp_ms":1789036668000,"timestamp_seconds":1789036668,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae52460"} 
[2026-09-10 16:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-10 16:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993381632001,"66":12961,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993381632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:10:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:10:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993381632001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":179185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:10:34] local.INFO: GPS data processed {"connection_id":179185,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:10:34] local.INFO: Acknowledgment sent {"connection_id":179185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:10:52] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:10:52] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:10:52] local.INFO: IMEI packet received {"connection_id":177809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":177809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:10:54] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae6b6b8012cc2e3800763caf0005200c52a..."} 
[2026-09-10 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae6b6b8012cc2e3800763caf0005200c52a..."} 
[2026-09-10 16:10:54] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae6b6b8012cc2e3800763caf0005200c52a..."} 
[2026-09-10 16:10:54] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:10:54] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:10:54] local.INFO: GPS Element Parsed {"raw_longitude":750969728,"raw_latitude":123980528,"longitude_deg":75.0969728,"latitude_deg":12.3980528,"altitude":82,"angle":197,"satellites":42,"speed":56,"hex_longitude":"2cc2e380","hex_latitude":"0763caf0","is_valid_coordinates":true} 
[2026-09-10 16:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993411584001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404217758981554176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4399876066711146496,"note":"Value kept but may cause issues"} 
[2026-09-10 16:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789036771000,"timestamp_ms":1789036771000,"timestamp_seconds":1789036771,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae6b6b8"} 
[2026-09-10 16:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 16:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993411584001,"66":27995,"3":206,"85":37120,"24":56,"16":404217758981554176,"44":-4399876066711146496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-10 16:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993411584001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:10:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 16:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404217758981554176,"km_value":404217758981554.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:10:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4399876066711146496,"description":"Unknown IO ID 44"} 
[2026-09-10 16:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993411584001,"power":27995,"unknown_3":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4399876066711146496}} 
[2026-09-10 16:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:10:54] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:10:54] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:10:58] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:10:58] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:10:58] local.INFO: IMEI packet received {"connection_id":177809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":177809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:11:00] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae785c0012d7d234005eafc00000b00c51a..."} 
[2026-09-10 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae785c0012d7d234005eafc00000b00c51a..."} 
[2026-09-10 16:11:00] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae785c0012d7d234005eafc00000b00c51a..."} 
[2026-09-10 16:11:00] local.INFO: Packet analysis {"connection_id":177809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:00] local.INFO: Extracted packet for processing {"connection_id":177809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":99286016,"longitude_deg":76.3175744,"latitude_deg":9.9286016,"altitude":11,"angle":197,"satellites":26,"speed":5,"hex_longitude":"2d7d2340","hex_latitude":"05eafc00","is_valid_coordinates":true} 
[2026-09-10 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993423872001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130745238351249408,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121273087348736,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789036824000,"timestamp_ms":1789036824000,"timestamp_seconds":1789036824,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae785c0"} 
[2026-09-10 16:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 16:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993423872001,"66":12798,"158":206,"87":13824,"24":5,"16":130745238351249408,"45":9017121273087348736},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993423872001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:11:00] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:11:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130745238351249408,"km_value":130745238351249.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121273087348736,"description":"Unknown IO ID 45"} 
[2026-09-10 16:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993423872001,"power":12798,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9017121273087348736}} 
[2026-09-10 16:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":177809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:11:00] local.INFO: GPS data processed {"connection_id":177809,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:11:00] local.INFO: Acknowledgment sent {"connection_id":177809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:11:05] local.INFO: TCP Data received {"connection_id":179185,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae57668012d1823400721b888004b015927..."} 
[2026-09-10 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae57668012d1823400721b888004b015927..."} 
[2026-09-10 16:11:05] local.INFO: Processing buffer {"connection_id":179185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae57668012d1823400721b888004b015927..."} 
[2026-09-10 16:11:05] local.INFO: Packet analysis {"connection_id":179185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:11:05] local.INFO: Extracted packet for processing {"connection_id":179185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993387008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11: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-09-10 16:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789036689000,"timestamp_ms":1789036689000,"timestamp_seconds":1789036689,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae57668"} 
[2026-09-10 16:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 16:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993387008001,"66":12885,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993387008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:11:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993387008001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":179185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:11:05] local.INFO: GPS data processed {"connection_id":179185,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:11:05] local.INFO: Acknowledgment sent {"connection_id":179185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:11:19] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:19] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:19] local.INFO: IMEI packet received {"connection_id":176419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":176419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:11:19] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:19] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:19] local.INFO: IMEI packet received {"connection_id":176419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":176419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:11:23] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:23] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:11:23] local.INFO: IMEI packet received {"connection_id":176419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":176419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:11:24] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae781d8012cc35b000762ffb00050006c2a..."} 
[2026-09-10 16:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae781d8012cc35b000762ffb00050006c2a..."} 
[2026-09-10 16:11:24] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae781d8012cc35b000762ffb00050006c2a..."} 
[2026-09-10 16:11:24] local.INFO: Packet analysis {"connection_id":176419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:24] local.INFO: Extracted packet for processing {"connection_id":176419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:24] local.INFO: GPS Element Parsed {"raw_longitude":751000320,"raw_latitude":123928496,"longitude_deg":75.100032,"latitude_deg":12.3928496,"altitude":80,"angle":108,"satellites":42,"speed":62,"hex_longitude":"2cc35b00","hex_latitude":"0762ffb0","is_valid_coordinates":true} 
[2026-09-10 16:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993425408001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404221401113821184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378554337240770560,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036823000,"timestamp_ms":1789036823000,"timestamp_seconds":1789036823,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae781d8"} 
[2026-09-10 16:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:11: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-09-10 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993425408001,"66":27865,"2":206,"85":37120,"24":62,"16":404221401113821184,"44":-4378554337240770560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 16:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993425408001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404221401113821184,"km_value":404221401113821.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378554337240770560,"description":"Unknown IO ID 44"} 
[2026-09-10 16:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993425408001,"power":27865,"power_alt":206,"unknown_85":37120,"ignition":62,"odometer":null,"unknown_44":-4378554337240770560}} 
[2026-09-10 16:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":176419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:11:24] local.INFO: GPS data processed {"connection_id":176419,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:11:24] local.INFO: Acknowledgment sent {"connection_id":176419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:11:26] local.INFO: TCP Data received {"connection_id":179186,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:11:26] local.INFO: Processing buffer {"connection_id":179186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:11:26] local.INFO: IMEI packet received {"connection_id":179186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":179186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:11:31] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae78d90012d7d230005eaf9c8000c00b71a..."} 
[2026-09-10 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae78d90012d7d230005eaf9c8000c00b71a..."} 
[2026-09-10 16:11:31] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae78d90012d7d230005eaf9c8000c00b71a..."} 
[2026-09-10 16:11:31] local.INFO: Packet analysis {"connection_id":177809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:31] local.INFO: Extracted packet for processing {"connection_id":177809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763175680,"raw_latitude":99285448,"longitude_deg":76.317568,"latitude_deg":9.9285448,"altitude":12,"angle":183,"satellites":26,"speed":15,"hex_longitude":"2d7d2300","hex_latitude":"05eaf9c8","is_valid_coordinates":true} 
[2026-09-10 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993426944001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130745264121053184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121273087262720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789036826000,"timestamp_ms":1789036826000,"timestamp_seconds":1789036826,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae78d90"} 
[2026-09-10 16:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 16:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:11: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-09-10 16:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993426944001,"66":12798,"158":206,"87":13824,"24":15,"16":130745264121053184,"45":9017121273087262720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993426944001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:11:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:11:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130745264121053184,"km_value":130745264121053.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121273087262720,"description":"Unknown IO ID 45"} 
[2026-09-10 16:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993426944001,"power":12798,"unknown_158":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9017121273087262720}} 
[2026-09-10 16:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":177809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:11:32] local.INFO: GPS data processed {"connection_id":177809,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:11:32] local.INFO: Acknowledgment sent {"connection_id":177809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:11:32] local.INFO: TCP Data received {"connection_id":179186,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:11:32] local.INFO: Processing buffer {"connection_id":179186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:11:32] local.INFO: IMEI packet received {"connection_id":179186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":179186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:11:33] local.INFO: TCP Data received {"connection_id":179186,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae5c870012d1823400721b888004b015927..."} 
[2026-09-10 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae5c870012d1823400721b888004b015927..."} 
[2026-09-10 16:11:33] local.INFO: Processing buffer {"connection_id":179186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae5c870012d1823400721b888004b015927..."} 
[2026-09-10 16:11:33] local.INFO: Packet analysis {"connection_id":179186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:11:33] local.INFO: Extracted packet for processing {"connection_id":179186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae5"} 
[2026-09-10 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993392384001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036710000,"timestamp_ms":1789036710000,"timestamp_seconds":1789036710,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae5c870"} 
[2026-09-10 16:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 16:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993392384001,"66":12874,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993392384001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:11:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993392384001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":179186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:11:33] local.INFO: GPS data processed {"connection_id":179186,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:11:33] local.INFO: Acknowledgment sent {"connection_id":179186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:11:55] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae789a8012cc366400762faa8004f00782a..."} 
[2026-09-10 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae789a8012cc366400762faa8004f00782a..."} 
[2026-09-10 16:11:55] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae789a8012cc366400762faa8004f00782a..."} 
[2026-09-10 16:11:55] local.INFO: Packet analysis {"connection_id":176419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:55] local.INFO: Extracted packet for processing {"connection_id":176419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":751003200,"raw_latitude":123927208,"longitude_deg":75.10032,"latitude_deg":12.3927208,"altitude":79,"angle":120,"satellites":42,"speed":62,"hex_longitude":"2cc36640","hex_latitude":"0762faa8","is_valid_coordinates":true} 
[2026-09-10 16:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993426688001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404221551437676544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4369898981707239424,"note":"Value kept but may cause issues"} 
[2026-09-10 16:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789036825000,"timestamp_ms":1789036825000,"timestamp_seconds":1789036825,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae789a8"} 
[2026-09-10 16:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993426688001,"66":27767,"2":206,"85":37120,"24":62,"16":404221551437676544,"44":-4369898981707239424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 16:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993426688001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404221551437676544,"km_value":404221551437676.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4369898981707239424,"description":"Unknown IO ID 44"} 
[2026-09-10 16:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993426688001,"power":27767,"power_alt":206,"unknown_85":37120,"ignition":62,"odometer":null,"unknown_44":-4369898981707239424}} 
[2026-09-10 16:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":176419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:11:55] local.INFO: GPS data processed {"connection_id":176419,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:11:55] local.INFO: Acknowledgment sent {"connection_id":176419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:11:59] local.INFO: TCP Data received {"connection_id":177810,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:11:59] local.INFO: Processing buffer {"connection_id":177810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:11:59] local.INFO: IMEI packet received {"connection_id":177810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":177810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:12:05] local.INFO: TCP Data received {"connection_id":179186,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae61a78012d1823400721b888004b015927..."} 
[2026-09-10 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae61a78012d1823400721b888004b015927..."} 
[2026-09-10 16:12:05] local.INFO: Processing buffer {"connection_id":179186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae61a78012d1823400721b888004b015927..."} 
[2026-09-10 16:12:05] local.INFO: Packet analysis {"connection_id":179186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:12:05] local.INFO: Extracted packet for processing {"connection_id":179186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993397760001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12: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-09-10 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789036731000,"timestamp_ms":1789036731000,"timestamp_seconds":1789036731,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae61a78"} 
[2026-09-10 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 16:12: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-09-10 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993397760001,"66":12776,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993397760001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993397760001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":179186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:05] local.INFO: GPS data processed {"connection_id":179186,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:05] local.INFO: Acknowledgment sent {"connection_id":179186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:07] local.INFO: TCP Data received {"connection_id":179187,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:07] local.INFO: Processing buffer {"connection_id":179187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:07] local.INFO: IMEI packet received {"connection_id":179187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":179187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:12:10] local.INFO: TCP Data received {"connection_id":179187,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:10] local.INFO: Processing buffer {"connection_id":179187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:10] local.INFO: IMEI packet received {"connection_id":179187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":179187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:18] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:12:18] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:12:18] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:12:24] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:12:24] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:12:24] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:24] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae79178012cc370400762f340004e00842a..."} 
[2026-09-10 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae79178012cc370400762f340004e00842a..."} 
[2026-09-10 16:12:24] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae79178012cc370400762f340004e00842a..."} 
[2026-09-10 16:12:24] local.INFO: Packet analysis {"connection_id":176635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:24] local.INFO: Extracted packet for processing {"connection_id":176635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:24] local.INFO: GPS Element Parsed {"raw_longitude":751005760,"raw_latitude":123925312,"longitude_deg":75.100576,"latitude_deg":12.3925312,"altitude":78,"angle":132,"satellites":42,"speed":62,"hex_longitude":"2cc37040","hex_latitude":"0762f340","is_valid_coordinates":true} 
[2026-09-10 16:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993427200001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404221706056499200,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366732388219574272,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036827000,"timestamp_ms":1789036827000,"timestamp_seconds":1789036827,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae79178"} 
[2026-09-10 16:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12: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-09-10 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 16:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993427200001,"66":27930,"2":206,"85":37120,"24":62,"16":404221706056499200,"44":-4366732388219574272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-10 16:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993427200001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404221706056499200,"km_value":404221706056499.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366732388219574272,"description":"Unknown IO ID 44"} 
[2026-09-10 16:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993427200001,"power":27930,"power_alt":206,"unknown_85":37120,"ignition":62,"odometer":null,"unknown_44":-4366732388219574272}} 
[2026-09-10 16:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":176635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:24] local.INFO: GPS data processed {"connection_id":176635,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:24] local.INFO: Acknowledgment sent {"connection_id":176635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:27] local.INFO: TCP Data received {"connection_id":177810,"ip":"42.106.6.45","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 16:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177810,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 16:12:27] local.INFO: Processing buffer {"connection_id":177810,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 16:12:27] local.INFO: IMEI packet received {"connection_id":177810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":177810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:28] local.INFO: TCP Data received {"connection_id":177810,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae79d30012d7d224005eaf428000c00c219..."} 
[2026-09-10 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae79d30012d7d224005eaf428000c00c219..."} 
[2026-09-10 16:12:28] local.INFO: Processing buffer {"connection_id":177810,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a08a..."} 
[2026-09-10 16:12:28] local.INFO: IMEI packet received {"connection_id":177810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":177810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:29] local.INFO: TCP Data received {"connection_id":177810,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae7a500012d7d220005eaf000000c00b719..."} 
[2026-09-10 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae7a500012d7d220005eaf000000c00b719..."} 
[2026-09-10 16:12:29] local.INFO: Processing buffer {"connection_id":177810,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08ae79d30012d7d224005eaf428000c00c219..."} 
[2026-09-10 16:12:29] local.INFO: Packet analysis {"connection_id":177810,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:29] local.INFO: Extracted packet for processing {"connection_id":177810,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":99284008,"longitude_deg":76.3175488,"latitude_deg":9.9284008,"altitude":12,"angle":194,"satellites":25,"speed":16,"hex_longitude":"2d7d2240","hex_latitude":"05eaf428","is_valid_coordinates":true} 
[2026-09-10 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993427456001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130745337135497216,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050904342939648,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12: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-09-10 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789036830000,"timestamp_ms":1789036830000,"timestamp_seconds":1789036830,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae79d30"} 
[2026-09-10 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:29] 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-09-10 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993427456001,"66":13602,"158":206,"87":13824,"24":16,"16":130745337135497216,"45":9017050904342939648},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993427456001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130745337135497216,"km_value":130745337135497.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050904342939648,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993427456001,"power":13602,"unknown_158":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9017050904342939648}} 
[2026-09-10 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":177810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:29] local.INFO: GPS data processed {"connection_id":177810,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:29] local.INFO: Acknowledgment sent {"connection_id":177810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:29] local.INFO: Packet analysis {"connection_id":177810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:29] local.INFO: Extracted packet for processing {"connection_id":177810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":99282944,"longitude_deg":76.3175424,"latitude_deg":9.9282944,"altitude":12,"angle":183,"satellites":25,"speed":25,"hex_longitude":"2d7d2200","hex_latitude":"05eaf000","is_valid_coordinates":true} 
[2026-09-10 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993428480001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130745388675104768,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839798110038016,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12: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-09-10 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789036832000,"timestamp_ms":1789036832000,"timestamp_seconds":1789036832,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae7a500"} 
[2026-09-10 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:29] 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-09-10 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993428480001,"66":13254,"158":206,"87":13824,"24":25,"16":130745388675104768,"45":9016839798110038016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993428480001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130745388675104768,"km_value":130745388675104.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839798110038016,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993428480001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9016839798110038016}} 
[2026-09-10 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":177810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:29] local.INFO: GPS data processed {"connection_id":177810,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:29] local.INFO: Acknowledgment sent {"connection_id":177810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:30] local.INFO: TCP Data received {"connection_id":177810,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae7d7c8012d7d208005eacad8000800b719..."} 
[2026-09-10 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae7d7c8012d7d208005eacad8000800b719..."} 
[2026-09-10 16:12:30] local.INFO: Processing buffer {"connection_id":177810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae7d7c8012d7d208005eacad8000800b719..."} 
[2026-09-10 16:12:30] local.INFO: Packet analysis {"connection_id":177810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:30] local.INFO: Extracted packet for processing {"connection_id":177810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99273432,"longitude_deg":76.317504,"latitude_deg":9.9273432,"altitude":8,"angle":183,"satellites":25,"speed":28,"hex_longitude":"2d7d2080","hex_latitude":"05eacad8","is_valid_coordinates":true} 
[2026-09-10 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993428992001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130745852531572736,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016769429365587968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789036845000,"timestamp_ms":1789036845000,"timestamp_seconds":1789036845,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae7d7c8"} 
[2026-09-10 16:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 16:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:30] 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-09-10 16:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993428992001,"66":13613,"158":206,"87":13824,"24":28,"16":130745852531572736,"45":9016769429365587968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993428992001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:12:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130745852531572736,"km_value":130745852531572.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016769429365587968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993428992001,"power":13613,"unknown_158":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9016769429365587968}} 
[2026-09-10 16:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":177810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:30] local.INFO: GPS data processed {"connection_id":177810,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:30] local.INFO: Acknowledgment sent {"connection_id":177810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:32] local.INFO: TCP Data received {"connection_id":176421,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:12:32] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:12:32] local.INFO: IMEI packet received {"connection_id":176421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":176421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:12:37] local.INFO: TCP Data received {"connection_id":179188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:37] local.INFO: Processing buffer {"connection_id":179188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:37] local.INFO: IMEI packet received {"connection_id":179188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":179188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:12:37] local.INFO: TCP Data received {"connection_id":176421,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:12:37] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:12:37] local.INFO: IMEI packet received {"connection_id":176421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":176421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:38] local.INFO: TCP Data received {"connection_id":176421,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae66c80012d1823400721b888004b015927..."} 
[2026-09-10 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae66c80012d1823400721b888004b015927..."} 
[2026-09-10 16:12:38] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae66c80012d1823400721b888004b015927..."} 
[2026-09-10 16:12:38] local.INFO: Packet analysis {"connection_id":176421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:12:38] local.INFO: Extracted packet for processing {"connection_id":176421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993403136001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12: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-09-10 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789036752000,"timestamp_ms":1789036752000,"timestamp_seconds":1789036752,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae66c80"} 
[2026-09-10 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 16:12: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-09-10 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993403136001,"66":12798,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993403136001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993403136001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":176421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:38] local.INFO: GPS data processed {"connection_id":176421,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:38] local.INFO: Acknowledgment sent {"connection_id":176421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:39] local.INFO: TCP Data received {"connection_id":176421,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae6be88012d1823400721b888004b015927..."} 
[2026-09-10 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae6be88012d1823400721b888004b015927..."} 
[2026-09-10 16:12:39] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae6be88012d1823400721b888004b015927..."} 
[2026-09-10 16:12:39] local.INFO: Packet analysis {"connection_id":176421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:12:39] local.INFO: Extracted packet for processing {"connection_id":176421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae6"} 
[2026-09-10 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993408512001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12: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-09-10 16:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789036773000,"timestamp_ms":1789036773000,"timestamp_seconds":1789036773,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae6be88"} 
[2026-09-10 16:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 16:12: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-09-10 16: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-09-10 16:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993408512001,"66":12776,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993408512001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993408512001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":176421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:39] local.INFO: GPS data processed {"connection_id":176421,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:39] local.INFO: Acknowledgment sent {"connection_id":176421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:42] local.INFO: TCP Data received {"connection_id":179188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:42] local.INFO: Processing buffer {"connection_id":179188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:12:42] local.INFO: IMEI packet received {"connection_id":179188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":179188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:43] local.INFO: TCP Data received {"connection_id":179188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae87020012d0c3d0007062f20001701631c..."} 
[2026-09-10 16:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae87020012d0c3d0007062f20001701631c..."} 
[2026-09-10 16:12:43] local.INFO: Processing buffer {"connection_id":179188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae87020012d0c3d0007062f20001701631c..."} 
[2026-09-10 16:12:43] local.INFO: Packet analysis {"connection_id":179188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:12:43] local.INFO: Extracted packet for processing {"connection_id":179188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:12:43] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117845792,"longitude_deg":75.5776768,"latitude_deg":11.7845792,"altitude":23,"angle":355,"satellites":28,"speed":14,"hex_longitude":"2d0c3d00","hex_latitude":"07062f20","is_valid_coordinates":true} 
[2026-09-10 16:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993442048001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31184709564235776,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132202909696,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789036884000,"timestamp_ms":1789036884000,"timestamp_seconds":1789036884,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae87020"} 
[2026-09-10 16:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993442048001,"66":14439,"164":206,"94":10240,"24":14,"16":31184709564235776,"45":881861132202909696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993442048001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:43] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:12:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31184709564235776,"km_value":31184709564235.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132202909696,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993442048001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":881861132202909696}} 
[2026-09-10 16:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":179188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:43] local.INFO: GPS data processed {"connection_id":179188,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:43] local.INFO: Acknowledgment sent {"connection_id":179188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:52] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:52] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:52] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:12:55] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae8fcc0012cc3798007616dc8004000b22b..."} 
[2026-09-10 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae8fcc0012cc3798007616dc8004000b22b..."} 
[2026-09-10 16:12:55] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae8fcc0012cc3798007616dc8004000b22b..."} 
[2026-09-10 16:12:55] local.INFO: Packet analysis {"connection_id":176635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:12:55] local.INFO: Extracted packet for processing {"connection_id":176635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:12:55] local.INFO: GPS Element Parsed {"raw_longitude":751008128,"raw_latitude":123825608,"longitude_deg":75.1008128,"latitude_deg":12.3825608,"altitude":64,"angle":178,"satellites":43,"speed":54,"hex_longitude":"2cc37980","hex_latitude":"07616dc8","is_valid_coordinates":true} 
[2026-09-10 16:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993449728001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404226744053137408,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361313994941585408,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789036920000,"timestamp_ms":1789036920000,"timestamp_seconds":1789036920,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae8fcc0"} 
[2026-09-10 16:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993449728001,"66":27930,"189":206,"85":37120,"24":54,"16":404226744053137408,"44":-4361313994941585408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,44]} 
[2026-09-10 16:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993449728001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:55] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 16:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404226744053137408,"km_value":404226744053137.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361313994941585408,"description":"Unknown IO ID 44"} 
[2026-09-10 16:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993449728001,"power":27930,"unknown_189":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4361313994941585408}} 
[2026-09-10 16:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":176635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:55] local.INFO: GPS data processed {"connection_id":176635,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:55] local.INFO: Acknowledgment sent {"connection_id":176635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:12:56] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:56] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:56] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:57] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:57] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:12:57] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:12:58] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae80e78012d7d1f0005eaa740000600b71a..."} 
[2026-09-10 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae80e78012d7d1f0005eaa740000600b71a..."} 
[2026-09-10 16:12:58] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae80e78012d7d1f0005eaa740000600b71a..."} 
[2026-09-10 16:12:58] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:12:58] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99264320,"longitude_deg":76.3174656,"latitude_deg":9.926432,"altitude":6,"angle":183,"satellites":26,"speed":34,"hex_longitude":"2d7d1f00","hex_latitude":"05eaa740","is_valid_coordinates":true} 
[2026-09-10 16:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993432320001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130746294913204224,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216898086912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789036859000,"timestamp_ms":1789036859000,"timestamp_seconds":1789036859,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae80e78"} 
[2026-09-10 16:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:12: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-09-10 16:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-10 16:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:12:58] 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-09-10 16:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993432320001,"66":13765,"158":206,"87":13824,"24":34,"16":130746294913204224,"45":9016347216898086912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993432320001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130746294913204224,"km_value":130746294913204.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216898086912,"description":"Unknown IO ID 45"} 
[2026-09-10 16:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993432320001,"power":13765,"unknown_158":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9016347216898086912}} 
[2026-09-10 16:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:12:58] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:12:58] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:03] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae85c98012d7d1dc005ea8590000700bc1a..."} 
[2026-09-10 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae85c98012d7d1dc005ea8590000700bc1a..."} 
[2026-09-10 16:13:03] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae85c98012d7d1dc005ea8590000700bc1a..."} 
[2026-09-10 16:13:03] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:13:03] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99255696,"longitude_deg":76.3174336,"latitude_deg":9.9255696,"altitude":7,"angle":188,"satellites":26,"speed":8,"hex_longitude":"2d7d1dc0","hex_latitude":"05ea8590","is_valid_coordinates":true} 
[2026-09-10 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993435904001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130746715819999232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004430688256,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13: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-09-10 16:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789036879000,"timestamp_ms":1789036879000,"timestamp_seconds":1789036879,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae85c98"} 
[2026-09-10 16:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:13:03] 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-09-10 16:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993435904001,"66":12689,"158":206,"87":13824,"24":8,"16":130746715819999232,"45":9015925004430688256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-10 16:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993435904001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:03] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 16:13:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130746715819999232,"km_value":130746715819999.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004430688256,"description":"Unknown IO ID 45"} 
[2026-09-10 16:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993435904001,"power":12689,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015925004430688256}} 
[2026-09-10 16:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:03] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:03] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:11] local.INFO: TCP Data received {"connection_id":176421,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae71090012d1823400721b888004b015927..."} 
[2026-09-10 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae71090012d1823400721b888004b015927..."} 
[2026-09-10 16:13:11] local.INFO: Processing buffer {"connection_id":176421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae71090012d1823400721b888004b015927..."} 
[2026-09-10 16:13:11] local.INFO: Packet analysis {"connection_id":176421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:13:11] local.INFO: Extracted packet for processing {"connection_id":176421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993413888001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13: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-09-10 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789036794000,"timestamp_ms":1789036794000,"timestamp_seconds":1789036794,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae71090"} 
[2026-09-10 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993413888001,"66":12722,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993413888001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993413888001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":176421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:11] local.INFO: GPS data processed {"connection_id":176421,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:11] local.INFO: Acknowledgment sent {"connection_id":176421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:24] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:24] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:24] local.INFO: IMEI packet received {"connection_id":176423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":176423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:13:26] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:26] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:26] local.INFO: IMEI packet received {"connection_id":176423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":176423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:13:27] local.INFO: TCP Data received {"connection_id":179189,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:13:27] local.INFO: Processing buffer {"connection_id":179189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:13:27] local.INFO: IMEI packet received {"connection_id":179189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":179189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:13:29] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:29] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:13:29] local.INFO: IMEI packet received {"connection_id":176423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":176423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:13:29] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae91818012cc37a40076148c8004100b729..."} 
[2026-09-10 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae91818012cc37a40076148c8004100b729..."} 
[2026-09-10 16:13:29] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae91818012cc37a40076148c8004100b729..."} 
[2026-09-10 16:13:29] local.INFO: Packet analysis {"connection_id":176423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:13:29] local.INFO: Extracted packet for processing {"connection_id":176423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:13:29] local.INFO: GPS Element Parsed {"raw_longitude":751008320,"raw_latitude":123816136,"longitude_deg":75.100832,"latitude_deg":12.3816136,"altitude":65,"angle":183,"satellites":41,"speed":50,"hex_longitude":"2cc37a40","hex_latitude":"076148c8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993451520001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404227203614638080,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361313994943903744,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789036927000,"timestamp_ms":1789036927000,"timestamp_seconds":1789036927,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae91818"} 
[2026-09-10 16:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993451520001,"66":27919,"189":206,"85":37120,"24":50,"16":404227203614638080,"44":-4361313994943903744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,44]} 
[2026-09-10 16:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993451520001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:29] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 16:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404227203614638080,"km_value":404227203614638.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361313994943903744,"description":"Unknown IO ID 44"} 
[2026-09-10 16:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993451520001,"power":27919,"unknown_189":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4361313994943903744}} 
[2026-09-10 16:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":176423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:29] local.INFO: GPS data processed {"connection_id":176423,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:29] local.INFO: Acknowledgment sent {"connection_id":176423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:31] local.INFO: TCP Data received {"connection_id":179189,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:13:31] local.INFO: Processing buffer {"connection_id":179189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:13:31] local.INFO: IMEI packet received {"connection_id":179189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":179189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:13:32] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:13:32] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:13:32] local.INFO: IMEI packet received {"connection_id":177811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":177811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:13:32] local.INFO: TCP Data received {"connection_id":179189,"ip":"117.224.200.161","data_length":93,"data_hex":"00000000000000518e01000001a08ae76298012d1823400721b888004b015927..."} 
[2026-09-10 16:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179189,"packet_length":93,"packet_hex":"00000000000000518e01000001a08ae76298012d1823400721b888004b015927..."} 
[2026-09-10 16:13:32] local.INFO: Processing buffer {"connection_id":179189,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a08ae76298012d1823400721b888004b015927..."} 
[2026-09-10 16:13:32] local.INFO: Packet analysis {"connection_id":179189,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a08ae7"} 
[2026-09-10 16:13:32] local.INFO: Extracted packet for processing {"connection_id":179189,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a08ae7"} 
[2026-09-10 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16: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":93,"current_offset":40} 
[2026-09-10 16:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:13:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:32] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 16:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179189,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-10 16:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179189,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-10 16:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179189,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-10 16:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 16:13:32] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 16:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":179189,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 16:13:32] local.ERROR: GPS data processing failed {"connection_id":179189,"error":"No valid data to process"} 
[2026-09-10 16:13:32] local.INFO: Acknowledgment sent {"connection_id":179189,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 16:13:34] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea3158012d7cb6c005e9bea8000701051a..."} 
[2026-09-10 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea3158012d7cb6c005e9bea8000701051a..."} 
[2026-09-10 16:13:34] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea3158012d7cb6c005e9bea8000701051a..."} 
[2026-09-10 16:13:34] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:13:34] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763147968,"raw_latitude":99204776,"longitude_deg":76.3147968,"latitude_deg":9.9204776,"altitude":7,"angle":261,"satellites":26,"speed":23,"hex_longitude":"2d7cb6c0","hex_latitude":"05e9bea8","is_valid_coordinates":true} 
[2026-09-10 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993471232001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130750396606971904,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987918244232742912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036999000,"timestamp_ms":1789036999000,"timestamp_seconds":1789036999,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea3158"} 
[2026-09-10 16:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2330592864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1584572172427539328,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3185049605,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-10 16:13:34] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3221612989,"corrected_to":0} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241563799637591,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2224095232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1604530512469077480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,192,87,24,241,157,16,132,160,33,45,189,6,25,10,66,29,18,64,1,240,248,227,138,233,4,113,205,15,202,144,239,51,2,208,5,13,54,141],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":202,"original":3221612989,"validated":0}]} 
[2026-09-10 16:13:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504705631338496000,"timestamp_seconds":504705631338496,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:13:34] 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-09-10 16:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993471232001,"66":13363,"192":206,"87":13824,"24":23,"16":130750396606971904,"45":8987918244232742912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-10 16:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993471232001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 16:13:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130750396606971904,"km_value":130750396606971.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987918244232742912,"description":"Unknown IO ID 45"} 
[2026-09-10 16:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993471232001,"power":13363,"unknown_192":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8987918244232742912}} 
[2026-09-10 16:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:34] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:34] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:35] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:13:36] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:13:36] local.INFO: IMEI packet received {"connection_id":177811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":177811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:13:36] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae8aea0012d0c3b8007064518001300091c..."} 
[2026-09-10 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae8aea0012d0c3b8007064518001300091c..."} 
[2026-09-10 16:13:36] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae8aea0012d0c3b8007064518001300091c..."} 
[2026-09-10 16:13:36] local.INFO: Packet analysis {"connection_id":177811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:13:36] local.INFO: Extracted packet for processing {"connection_id":177811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117851416,"longitude_deg":75.5776384,"latitude_deg":11.7851416,"altitude":19,"angle":9,"satellites":28,"speed":13,"hex_longitude":"2d0c3b80","hex_latitude":"07064518","is_valid_coordinates":true} 
[2026-09-10 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993442304001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31184984442142720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132203008000,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789036900000,"timestamp_ms":1789036900000,"timestamp_seconds":1789036900,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae8aea0"} 
[2026-09-10 16:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:13: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-09-10 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993442304001,"66":14450,"164":206,"94":10240,"24":13,"16":31184984442142720,"45":881861132203008000},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993442304001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31184984442142720,"km_value":31184984442142.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132203008000,"description":"Unknown IO ID 45"} 
[2026-09-10 16:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993442304001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":881861132203008000}} 
[2026-09-10 16:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":177811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:36] local.INFO: GPS data processed {"connection_id":177811,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:36] local.INFO: Acknowledgment sent {"connection_id":177811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:37] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae8be40012d0c3d8007064c88001100141d..."} 
[2026-09-10 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae8be40012d0c3d8007064c88001100141d..."} 
[2026-09-10 16:13:37] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae8be40012d0c3d8007064c88001100141d..."} 
[2026-09-10 16:13:37] local.INFO: Packet analysis {"connection_id":177811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:13:37] local.INFO: Extracted packet for processing {"connection_id":177811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":755776896,"raw_latitude":117853320,"longitude_deg":75.5776896,"latitude_deg":11.785332,"altitude":17,"angle":20,"satellites":29,"speed":20,"hex_longitude":"2d0c3d80","hex_latitude":"07064c88","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993446400001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31185078931423232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919739381760,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789036904000,"timestamp_ms":1789036904000,"timestamp_seconds":1789036904,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae8be40"} 
[2026-09-10 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-09-10 16:13: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-09-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993446400001,"66":14439,"164":206,"94":10240,"24":20,"16":31185078931423232,"45":881438919739381760},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-10 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993446400001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 16:13:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31185078931423232,"km_value":31185078931423.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919739381760,"description":"Unknown IO ID 45"} 
[2026-09-10 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993446400001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":881438919739381760}} 
[2026-09-10 16:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":177811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794816,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:37] local.INFO: GPS data processed {"connection_id":177811,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:37] local.INFO: Acknowledgment sent {"connection_id":177811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:38] local.INFO: TCP Data received {"connection_id":179189,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae7b888012d1823400721b888004b015925..."} 
[2026-09-10 16:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae7b888012d1823400721b888004b015925..."} 
[2026-09-10 16:13:38] local.INFO: Processing buffer {"connection_id":179189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae7b888012d1823400721b888004b015925..."} 
[2026-09-10 16:13:38] local.INFO: Packet analysis {"connection_id":179189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:13:38] local.INFO: Extracted packet for processing {"connection_id":179189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae7"} 
[2026-09-10 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993424640001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13: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-09-10 16:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789036837000,"timestamp_ms":1789036837000,"timestamp_seconds":1789036837,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae7b888"} 
[2026-09-10 16:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993424640001,"66":12591,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993424640001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993424640001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":179189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:38] local.INFO: GPS data processed {"connection_id":179189,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:38] local.INFO: Acknowledgment sent {"connection_id":179189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:13:51] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:51] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:51] local.INFO: IMEI packet received {"connection_id":176637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":176637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:13:53] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:53] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:53] local.INFO: IMEI packet received {"connection_id":176637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":176637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:13:58] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:58] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:13:58] local.INFO: IMEI packet received {"connection_id":176637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":176637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:13:59] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea5480012d7ca24005e9bb40000800f419..."} 
[2026-09-10 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea5480012d7ca24005e9bb40000800f419..."} 
[2026-09-10 16:13:59] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea5480012d7ca24005e9bb40000800f419..."} 
[2026-09-10 16:13:59] local.INFO: Packet analysis {"connection_id":176637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:13:59] local.INFO: Extracted packet for processing {"connection_id":176637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763142720,"raw_latitude":99203904,"longitude_deg":76.314272,"latitude_deg":9.9203904,"altitude":8,"angle":244,"satellites":25,"speed":17,"hex_longitude":"2d7ca240","hex_latitude":"05e9bb40","is_valid_coordinates":true} 
[2026-09-10 16:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993471744001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130750650010042368,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986581238093359104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789037008000,"timestamp_ms":1789037008000,"timestamp_seconds":1789037008,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea5480"} 
[2026-09-10 16:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 16:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:13: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-09-10 16:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993471744001,"66":13319,"192":206,"87":13824,"24":17,"16":130750650010042368,"45":8986581238093359104},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-10 16:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993471744001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:13:59] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 16:13:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130750650010042368,"km_value":130750650010042.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986581238093359104,"description":"Unknown IO ID 45"} 
[2026-09-10 16:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993471744001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8986581238093359104}} 
[2026-09-10 16:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":176637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:13:59] local.INFO: GPS data processed {"connection_id":176637,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:13:59] local.INFO: Acknowledgment sent {"connection_id":176637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:00] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea2988012cc36700075fe0f0002100bb2a..."} 
[2026-09-10 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea2988012cc36700075fe0f0002100bb2a..."} 
[2026-09-10 16:14:00] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea2988012cc36700075fe0f0002100bb2a..."} 
[2026-09-10 16:14:00] local.INFO: Packet analysis {"connection_id":176423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:00] local.INFO: Extracted packet for processing {"connection_id":176423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":751003392,"raw_latitude":123724016,"longitude_deg":75.1003392,"latitude_deg":12.3724016,"altitude":33,"angle":187,"satellites":42,"speed":52,"hex_longitude":"2cc36700","hex_latitude":"075fe0f0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993470720001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404231975323303936,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366662019526733824,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789036997000,"timestamp_ms":1789036997000,"timestamp_seconds":1789036997,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea2988"} 
[2026-09-10 16:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:14: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-09-10 16: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-09-10 16:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993470720001,"66":27908,"207":206,"85":37120,"24":52,"16":404231975323303936,"44":-4366662019526733824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-09-10 16:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993470720001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 16:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404231975323303936,"km_value":404231975323303.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366662019526733824,"description":"Unknown IO ID 44"} 
[2026-09-10 16:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993470720001,"power":27908,"unknown_207":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4366662019526733824}} 
[2026-09-10 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":176423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:00] local.INFO: GPS data processed {"connection_id":176423,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:00] local.INFO: Acknowledgment sent {"connection_id":176423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:08] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea8748012d0c3c00070645280014004e20..."} 
[2026-09-10 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea8748012d0c3c00070645280014004e20..."} 
[2026-09-10 16:14:08] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea8748012d0c3c00070645280014004e20..."} 
[2026-09-10 16:14:08] local.INFO: Packet analysis {"connection_id":177811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:08] local.INFO: Extracted packet for processing {"connection_id":177811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:08] local.INFO: GPS Element Parsed {"raw_longitude":755776512,"raw_latitude":117851432,"longitude_deg":75.5776512,"latitude_deg":11.7851432,"altitude":20,"angle":78,"satellites":32,"speed":0,"hex_longitude":"2d0c3c00","hex_latitude":"07064528","is_valid_coordinates":true} 
[2026-09-10 16:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993476608001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31185370989199360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483551232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789037021000,"timestamp_ms":1789037021000,"timestamp_seconds":1789037021,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea8748"} 
[2026-09-10 16:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 16:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993476608001,"66":14646,"220":206,"94":10240,"24":0,"16":31185370989199360,"45":881509288483551232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-10 16:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993476608001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:08] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 16:14:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31185370989199360,"km_value":31185370989199.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483551232,"description":"Unknown IO ID 45"} 
[2026-09-10 16:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993476608001,"power":14646,"unknown_220":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":881509288483551232}} 
[2026-09-10 16:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":177811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794820,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:08] local.INFO: GPS data processed {"connection_id":177811,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:08] local.INFO: Acknowledgment sent {"connection_id":177811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:09] local.INFO: TCP Data received {"connection_id":179189,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae80a90012d1823400721b888004b015927..."} 
[2026-09-10 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae80a90012d1823400721b888004b015927..."} 
[2026-09-10 16:14:09] local.INFO: Processing buffer {"connection_id":179189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae80a90012d1823400721b888004b015927..."} 
[2026-09-10 16:14:09] local.INFO: Packet analysis {"connection_id":179189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:14:09] local.INFO: Extracted packet for processing {"connection_id":179189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789036858000,"timestamp_ms":1789036858000,"timestamp_seconds":1789036858,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae80a90"} 
[2026-09-10 16:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 16:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993430272001,"66":12645,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993430272001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":179189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:09] local.INFO: GPS data processed {"connection_id":179189,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:09] local.INFO: Acknowledgment sent {"connection_id":179189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:18] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:14:18] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:14:18] local.INFO: IMEI packet received {"connection_id":176424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":176424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:14:23] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:23] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:23] local.INFO: IMEI packet received {"connection_id":176639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":176639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:14:23] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:14:23] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:14:23] local.INFO: IMEI packet received {"connection_id":176424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":176424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:14:24] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea3158012cc363c0075fd6d0001f00ce2b..."} 
[2026-09-10 16:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea3158012cc363c0075fd6d0001f00ce2b..."} 
[2026-09-10 16:14:24] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea3158012cc363c0075fd6d0001f00ce2b..."} 
[2026-09-10 16:14:24] local.INFO: Packet analysis {"connection_id":176424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:24] local.INFO: Extracted packet for processing {"connection_id":176424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:24] local.INFO: GPS Element Parsed {"raw_longitude":751002560,"raw_latitude":123721424,"longitude_deg":75.100256,"latitude_deg":12.3721424,"altitude":31,"angle":206,"satellites":43,"speed":55,"hex_longitude":"2cc363c0","hex_latitude":"075fd6d0","is_valid_coordinates":true} 
[2026-09-10 16:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993471232001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404232104172322816,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366521282039058432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789036999000,"timestamp_ms":1789036999000,"timestamp_seconds":1789036999,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea3158"} 
[2026-09-10 16:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14: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-09-10 16:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993471232001,"66":27930,"207":206,"85":37120,"24":55,"16":404232104172322816,"44":-4366521282039058432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-09-10 16:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993471232001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:24] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 16:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404232104172322816,"km_value":404232104172322.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366521282039058432,"description":"Unknown IO ID 44"} 
[2026-09-10 16:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993471232001,"power":27930,"unknown_207":206,"unknown_85":37120,"ignition":55,"odometer":null,"unknown_44":-4366521282039058432}} 
[2026-09-10 16:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":176424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:24] local.INFO: GPS data processed {"connection_id":176424,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:24] local.INFO: Acknowledgment sent {"connection_id":176424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:27] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:27] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:27] local.INFO: IMEI packet received {"connection_id":176639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":176639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:14:27] local.INFO: TCP Data received {"connection_id":179190,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:14:27] local.INFO: Processing buffer {"connection_id":179190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:14:27] local.INFO: IMEI packet received {"connection_id":179190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":179190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:14:30] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:30] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:14:30] local.INFO: IMEI packet received {"connection_id":176639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":176639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:14:30] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea6038012d7c9e8005e9b9f0000701011a..."} 
[2026-09-10 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea6038012d7c9e8005e9b9f0000701011a..."} 
[2026-09-10 16:14:30] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea6038012d7c9e8005e9b9f0000701011a..."} 
[2026-09-10 16:14:30] local.INFO: Packet analysis {"connection_id":176637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:30] local.INFO: Extracted packet for processing {"connection_id":176637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763141760,"raw_latitude":99203568,"longitude_deg":76.314176,"latitude_deg":9.9203568,"altitude":7,"angle":257,"satellites":26,"speed":5,"hex_longitude":"2d7c9e80","hex_latitude":"05e9b9f0","is_valid_coordinates":true} 
[2026-09-10 16:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993474048001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130750697254682624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980811001070567424,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789037011000,"timestamp_ms":1789037011000,"timestamp_seconds":1789037011,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea6038"} 
[2026-09-10 16:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2330594864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3927822337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-4787326382400792320,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802134,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2224750592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.WARNING: Large IO value detected {"io_id":234,"raw_value":740843433581264901,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,192,87,24,241,157,16,133,160,49,45,190,7,26,10,66,132,41,128,25,33,1,240,227,138,233,4,113,205,20,18,199,239,50,2,208,5,15,35,234],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-09-10 16:14:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576729140515897344,"timestamp_seconds":576729140515897.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:14:30] 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-09-10 16:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993474048001,"66":12809,"192":206,"87":13824,"24":5,"16":130750697254682624,"45":8980811001070567424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-10 16:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993474048001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:30] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 16:14:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130750697254682624,"km_value":130750697254682.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980811001070567424,"description":"Unknown IO ID 45"} 
[2026-09-10 16:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993474048001,"power":12809,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8980811001070567424}} 
[2026-09-10 16:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":176637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:30] local.INFO: GPS data processed {"connection_id":176637,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:30] local.INFO: Acknowledgment sent {"connection_id":176637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:31] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea8f18012d0c3cc0070644e00014006f20..."} 
[2026-09-10 16:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea8f18012d0c3cc0070644e00014006f20..."} 
[2026-09-10 16:14:31] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea8f18012d0c3cc0070644e00014006f20..."} 
[2026-09-10 16:14:31] local.INFO: Packet analysis {"connection_id":176639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:31] local.INFO: Extracted packet for processing {"connection_id":176639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:31] local.INFO: GPS Element Parsed {"raw_longitude":755776704,"raw_latitude":117851360,"longitude_deg":75.5776704,"latitude_deg":11.785136,"altitude":20,"angle":111,"satellites":32,"speed":4,"hex_longitude":"2d0c3cc0","hex_latitude":"070644e0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993477376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31185379579133952,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881579657227741184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789037023000,"timestamp_ms":1789037023000,"timestamp_seconds":1789037023,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea8f18"} 
[2026-09-10 16:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-10 16:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993477376001,"66":14439,"220":206,"94":10240,"24":4,"16":31185379579133952,"45":881579657227741184},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-10 16:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993477376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:31] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 16:14:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31185379579133952,"km_value":31185379579133.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":881579657227741184,"description":"Unknown IO ID 45"} 
[2026-09-10 16:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993477376001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":881579657227741184}} 
[2026-09-10 16:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":176639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:31] local.INFO: GPS data processed {"connection_id":176639,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:31] local.INFO: Acknowledgment sent {"connection_id":176639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:32] local.INFO: TCP Data received {"connection_id":179190,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:14:32] local.INFO: Processing buffer {"connection_id":179190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:14:32] local.INFO: IMEI packet received {"connection_id":179190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":179190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:14:33] local.INFO: TCP Data received {"connection_id":179190,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae85c98012d1823400721b888004b015928..."} 
[2026-09-10 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae85c98012d1823400721b888004b015928..."} 
[2026-09-10 16:14:33] local.INFO: Processing buffer {"connection_id":179190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae85c98012d1823400721b888004b015928..."} 
[2026-09-10 16:14:33] local.INFO: Packet analysis {"connection_id":179190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:14:33] local.INFO: Extracted packet for processing {"connection_id":179190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993435648001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036879000,"timestamp_ms":1789036879000,"timestamp_seconds":1789036879,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae85c98"} 
[2026-09-10 16:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 16:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993435648001,"66":12645,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993435648001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993435648001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":179190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:33] local.INFO: GPS data processed {"connection_id":179190,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:33] local.INFO: Acknowledgment sent {"connection_id":179190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:52] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:14:52] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:14:52] local.INFO: IMEI packet received {"connection_id":177812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":177812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:14:53] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:14:53] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:14:53] local.INFO: IMEI packet received {"connection_id":177812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":177812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:14:54] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeadd38012cc33dc0075ef180001500af27..."} 
[2026-09-10 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeadd38012cc33dc0075ef180001500af27..."} 
[2026-09-10 16:14:54] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeadd38012cc33dc0075ef180001500af27..."} 
[2026-09-10 16:14:54] local.INFO: Packet analysis {"connection_id":176424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:54] local.INFO: Extracted packet for processing {"connection_id":176424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":750992832,"raw_latitude":123662720,"longitude_deg":75.0992832,"latitude_deg":12.366272,"altitude":21,"angle":175,"satellites":39,"speed":59,"hex_longitude":"2cc33dc0","hex_latitude":"075ef180","is_valid_coordinates":true} 
[2026-09-10 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993481472001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404235278153154560,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379328393492801536,"note":"Value kept but may cause issues"} 
[2026-09-10 16:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789037043000,"timestamp_ms":1789037043000,"timestamp_seconds":1789037043,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeadd38"} 
[2026-09-10 16:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:14: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-09-10 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 16:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993481472001,"66":27984,"233":206,"85":37120,"24":59,"16":404235278153154560,"44":-4379328393492801536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-10 16:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993481472001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:14:54] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-10 16:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404235278153154560,"km_value":404235278153154.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:14:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379328393492801536,"description":"Unknown IO ID 44"} 
[2026-09-10 16:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993481472001,"power":27984,"unknown_233":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4379328393492801536}} 
[2026-09-10 16:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":176424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:14:54] local.INFO: GPS data processed {"connection_id":176424,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:14:54] local.INFO: Acknowledgment sent {"connection_id":176424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:14:58] local.INFO: TCP Data received {"connection_id":177813,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:14:58] local.INFO: Processing buffer {"connection_id":177813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:14:58] local.INFO: IMEI packet received {"connection_id":177813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":177813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:15:01] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeadd38012d0c514007063ea80015006b1f..."} 
[2026-09-10 16:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeadd38012d0c514007063ea80015006b1f..."} 
[2026-09-10 16:15:01] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeadd38012d0c514007063ea80015006b1f..."} 
[2026-09-10 16:15:01] local.INFO: Packet analysis {"connection_id":176639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:01] local.INFO: Extracted packet for processing {"connection_id":176639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:01] local.INFO: GPS Element Parsed {"raw_longitude":755781952,"raw_latitude":117849768,"longitude_deg":75.5781952,"latitude_deg":11.7849768,"altitude":21,"angle":107,"satellites":31,"speed":0,"hex_longitude":"2d0c5140","hex_latitude":"07063ea8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993477888001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31185641572139008,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881790763460255744,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789037043000,"timestamp_ms":1789037043000,"timestamp_seconds":1789037043,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeadd38"} 
[2026-09-10 16:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176639,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993477888001,"66":14428,"220":206,"94":10240,"24":0,"16":31185641572139008,"45":881790763460255744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-10 16:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993477888001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 16:15:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31185641572139008,"km_value":31185641572139.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":881790763460255744,"description":"Unknown IO ID 45"} 
[2026-09-10 16:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993477888001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":881790763460255744}} 
[2026-09-10 16:15:02] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:02] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:02] local.INFO: IMEI packet received {"connection_id":177812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":177812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":176639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:02] local.INFO: GPS data processed {"connection_id":176639,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:02] local.INFO: Acknowledgment sent {"connection_id":176639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:04] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea73c0012d7c9b0005e9b9680006010d1a..."} 
[2026-09-10 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea73c0012d7c9b0005e9b9680006010d1a..."} 
[2026-09-10 16:15:04] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea73c0012d7c9b0005e9b9680006010d1a..."} 
[2026-09-10 16:15:04] local.INFO: Packet analysis {"connection_id":177812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:04] local.INFO: Extracted packet for processing {"connection_id":177812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763140864,"raw_latitude":99203432,"longitude_deg":76.3140864,"latitude_deg":9.9203432,"altitude":6,"angle":269,"satellites":26,"speed":9,"hex_longitude":"2d7c9b00","hex_latitude":"05e9b968","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993474816001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130750744499322880,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979755469907816448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789037016000,"timestamp_ms":1789037016000,"timestamp_seconds":1789037016,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea73c0"} 
[2026-09-10 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-09-10 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1080863910736692224,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2330595864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1581273637544212224,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3185049606,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070422,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2225930240,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1603888397678472168,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234979831263657,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,192,87,24,241,157,16,133,160,84,45,64,187,8,25,10,66,49,190,7,26,132,41,128,1,240,9,227,138,233,4,113,205,19,29,72,239,51,2,208,5,18,50,54,155],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-09-10 16:15:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504685844423311360,"timestamp_seconds":504685844423311.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 16:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:15:04] 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-09-10 16:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993474816001,"66":13559,"192":206,"87":13824,"24":9,"16":130750744499322880,"45":8979755469907816448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-10 16:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993474816001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130750744499322880,"km_value":130750744499322.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979755469907816448,"description":"Unknown IO ID 45"} 
[2026-09-10 16:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993474816001,"power":13559,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8979755469907816448}} 
[2026-09-10 16:15:04] local.INFO: TCP Data received {"connection_id":179190,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae8aea0012d1823400721b888004b015927..."} 
[2026-09-10 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae8aea0012d1823400721b888004b015927..."} 
[2026-09-10 16:15:04] local.INFO: Processing buffer {"connection_id":179190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae8aea0012d1823400721b888004b015927..."} 
[2026-09-10 16:15:04] local.INFO: Packet analysis {"connection_id":179190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:15:04] local.INFO: Extracted packet for processing {"connection_id":179190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae8"} 
[2026-09-10 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993441024001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15: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-09-10 16:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789036900000,"timestamp_ms":1789036900000,"timestamp_seconds":1789036900,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae8aea0"} 
[2026-09-10 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-09-10 16:15: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-09-10 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 16:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993441024001,"66":13243,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993441024001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993441024001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":177812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:05] local.INFO: GPS data processed {"connection_id":177812,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:05] local.INFO: Acknowledgment sent {"connection_id":177812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":179190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:05] local.INFO: GPS data processed {"connection_id":179190,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:05] local.INFO: Acknowledgment sent {"connection_id":179190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:18] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:18] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:18] local.INFO: IMEI packet received {"connection_id":176425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":176425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:15:22] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:22] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:22] local.INFO: IMEI packet received {"connection_id":176425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":176425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:15:23] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:23] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:15:23] local.INFO: IMEI packet received {"connection_id":176425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":176425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:15:24] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeaf4a8012cc33f40075ecea0001500b728..."} 
[2026-09-10 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeaf4a8012cc33f40075ecea0001500b728..."} 
[2026-09-10 16:15:24] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeaf4a8012cc33f40075ecea0001500b728..."} 
[2026-09-10 16:15:24] local.INFO: Packet analysis {"connection_id":176425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:24] local.INFO: Extracted packet for processing {"connection_id":176425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":750993216,"raw_latitude":123653792,"longitude_deg":75.0993216,"latitude_deg":12.3653792,"altitude":21,"angle":183,"satellites":40,"speed":59,"hex_longitude":"2cc33f40","hex_latitude":"075ecea0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993483008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404235711944851456,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378132124844064768,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037049000,"timestamp_ms":1789037049000,"timestamp_seconds":1789037049,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeaf4a8"} 
[2026-09-10 16:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:15: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-09-10 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 16:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993483008001,"66":28006,"233":206,"85":37120,"24":59,"16":404235711944851456,"44":-4378132124844064768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-10 16:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993483008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:24] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-10 16:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404235711944851456,"km_value":404235711944851.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378132124844064768,"description":"Unknown IO ID 44"} 
[2026-09-10 16:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993483008001,"power":28006,"unknown_233":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4378132124844064768}} 
[2026-09-10 16:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":176425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:24] local.INFO: GPS data processed {"connection_id":176425,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:24] local.INFO: Acknowledgment sent {"connection_id":176425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:26] local.INFO: TCP Data received {"connection_id":176426,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:26] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:26] local.INFO: IMEI packet received {"connection_id":176426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":176426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:15:26] local.INFO: TCP Data received {"connection_id":176426,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:26] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:26] local.INFO: IMEI packet received {"connection_id":176426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":176426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:15:27] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:15:27] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:15:27] local.INFO: IMEI packet received {"connection_id":176640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":176640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:15:29] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeb0c18012cc33b00075eabe0001500be27..."} 
[2026-09-10 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeb0c18012cc33b00075eabe0001500be27..."} 
[2026-09-10 16:15:29] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeb0c18012cc33b00075eabe0001500be27..."} 
[2026-09-10 16:15:29] local.INFO: Packet analysis {"connection_id":176425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:15:29] local.INFO: Extracted packet for processing {"connection_id":176425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:15:29] local.INFO: GPS Element Parsed {"raw_longitude":750992128,"raw_latitude":123644896,"longitude_deg":75.0992128,"latitude_deg":12.3644896,"altitude":21,"angle":190,"satellites":39,"speed":59,"hex_longitude":"2cc33b00","hex_latitude":"075eabe0","is_valid_coordinates":true} 
[2026-09-10 16:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993484544001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404236145736548352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377709912381284352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789037055000,"timestamp_ms":1789037055000,"timestamp_seconds":1789037055,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeb0c18"} 
[2026-09-10 16:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:15: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-09-10 16:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 16:15:29] 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-09-10 16:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993484544001,"66":27767,"233":206,"85":37120,"24":59,"16":404236145736548352,"44":-4377709912381284352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-10 16:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993484544001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:29] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-10 16:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404236145736548352,"km_value":404236145736548.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377709912381284352,"description":"Unknown IO ID 44"} 
[2026-09-10 16:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993484544001,"power":27767,"unknown_233":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4377709912381284352}} 
[2026-09-10 16:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":176425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:29] local.INFO: GPS data processed {"connection_id":176425,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:29] local.INFO: Acknowledgment sent {"connection_id":176425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:32] local.INFO: TCP Data received {"connection_id":176426,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:32] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:15:32] local.INFO: IMEI packet received {"connection_id":176426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":176426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:15:32] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:15:32] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:15:32] local.INFO: IMEI packet received {"connection_id":176640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":176640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:15:32] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeb0c18012d0c51c007063dd80015008720..."} 
[2026-09-10 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeb0c18012d0c51c007063dd80015008720..."} 
[2026-09-10 16:15:32] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeb0c18012d0c51c007063dd80015008720..."} 
[2026-09-10 16:15:32] local.INFO: Packet analysis {"connection_id":176640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:15:32] local.INFO: Extracted packet for processing {"connection_id":176640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:15:32] local.INFO: GPS Element Parsed {"raw_longitude":755782080,"raw_latitude":117849560,"longitude_deg":75.578208,"latitude_deg":11.784956,"altitude":21,"angle":135,"satellites":32,"speed":2,"hex_longitude":"2d0c51c0","hex_latitude":"07063dd8","is_valid_coordinates":true} 
[2026-09-10 16:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993483008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31185658752008192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887561000482416640,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789037055000,"timestamp_ms":1789037055000,"timestamp_seconds":1789037055,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeb0c18"} 
[2026-09-10 16:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993483008001,"66":14559,"220":206,"94":10240,"24":2,"16":31185658752008192,"45":887561000482416640},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-10 16:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993483008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:32] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 16:15:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31185658752008192,"km_value":31185658752008.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":887561000482416640,"description":"Unknown IO ID 45"} 
[2026-09-10 16:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993483008001,"power":14559,"unknown_220":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":887561000482416640}} 
[2026-09-10 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":176640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:33] local.INFO: GPS data processed {"connection_id":176640,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:33] local.INFO: Acknowledgment sent {"connection_id":176640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:33] local.INFO: TCP Data received {"connection_id":176426,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae900a8012d1823400721b888004b015928..."} 
[2026-09-10 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae900a8012d1823400721b888004b015928..."} 
[2026-09-10 16:15:33] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae900a8012d1823400721b888004b015928..."} 
[2026-09-10 16:15:33] local.INFO: Packet analysis {"connection_id":176426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:15:33] local.INFO: Extracted packet for processing {"connection_id":176426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650440,"longitude_deg":75.6556608,"latitude_deg":11.965044,"altitude":75,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-10 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993446400001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276448879607808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036921000,"timestamp_ms":1789036921000,"timestamp_seconds":1789036921,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae900a8"} 
[2026-09-10 16:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 16:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993446400001,"66":12885,"120":206,"28":31744,"24":0,"16":19276448879607808,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993446400001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276448879607808,"km_value":19276448879607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993446400001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":176426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:33] local.INFO: GPS data processed {"connection_id":176426,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:33] local.INFO: Acknowledgment sent {"connection_id":176426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:36] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aea9eb8012d7c95c005e9b8e8000501021a..."} 
[2026-09-10 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aea9eb8012d7c95c005e9b8e8000501021a..."} 
[2026-09-10 16:15:36] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aea9eb8012d7c95c005e9b8e8000501021a..."} 
[2026-09-10 16:15:36] local.INFO: Packet analysis {"connection_id":177812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:36] local.INFO: Extracted packet for processing {"connection_id":177812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aea"} 
[2026-09-10 16:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763139520,"raw_latitude":99203304,"longitude_deg":76.313952,"latitude_deg":9.9203304,"altitude":5,"angle":258,"satellites":26,"speed":9,"hex_longitude":"2d7c95c0","hex_latitude":"05e9b8e8","is_valid_coordinates":true} 
[2026-09-10 16:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993476096001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130750808923832320,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978770307489294336,"note":"Value kept but may cause issues"} 
[2026-09-10 16:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789037027000,"timestamp_ms":1789037027000,"timestamp_seconds":1789037027,"priority":1,"record_length":96,"hex_timestamp":"000001a08aea9eb8"} 
[2026-09-10 16:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:15: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-09-10 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 16:15: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-09-10 16:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993476096001,"66":13374,"192":206,"87":13824,"24":9,"16":130750808923832320,"45":8978770307489294336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-10 16:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993476096001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130750808923832320,"km_value":130750808923832.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978770307489294336,"description":"Unknown IO ID 45"} 
[2026-09-10 16:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993476096001,"power":13374,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8978770307489294336}} 
[2026-09-10 16:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":177812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:15:36] local.INFO: GPS data processed {"connection_id":177812,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:15:36] local.INFO: Acknowledgment sent {"connection_id":177812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:15:57] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:57] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:57] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:15:58] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:58] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:15:58] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:16:02] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:02] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:02] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:16:04] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aebeea8012d7c51c005e98318000000ff19..."} 
[2026-09-10 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aebeea8012d7c51c005e98318000000ff19..."} 
[2026-09-10 16:16:04] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aebeea8012d7c51c005e98318000000ff19..."} 
[2026-09-10 16:16:04] local.INFO: Packet analysis {"connection_id":176641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:16:04] local.INFO: Extracted packet for processing {"connection_id":176641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763122112,"raw_latitude":99189528,"longitude_deg":76.3122112,"latitude_deg":9.9189528,"altitude":0,"angle":255,"satellites":25,"speed":0,"hex_longitude":"2d7c51c0","hex_latitude":"05e98318","is_valid_coordinates":true} 
[2026-09-10 16:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993495552001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130752088824086528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964063239953174528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789037113000,"timestamp_ms":1789037113000,"timestamp_seconds":1789037113,"priority":1,"record_length":96,"hex_timestamp":"000001a08aebeea8"} 
[2026-09-10 16:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 16:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:16:04] 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-09-10 16:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993495552001,"66":13374,"9":206,"87":13824,"24":0,"16":130752088824086528,"45":8964063239953174528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 16:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993495552001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130752088824086528,"km_value":130752088824086.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964063239953174528,"description":"Unknown IO ID 45"} 
[2026-09-10 16:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993495552001,"power":13374,"unknown_9":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8964063239953174528}} 
[2026-09-10 16:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":176641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:04] local.INFO: GPS data processed {"connection_id":176641,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:04] local.INFO: Acknowledgment sent {"connection_id":176641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:04] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeb13e8012d0c52c007063d080015007c20..."} 
[2026-09-10 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeb13e8012d0c52c007063d080015007c20..."} 
[2026-09-10 16:16:04] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeb13e8012d0c52c007063d080015007c20..."} 
[2026-09-10 16:16:04] local.INFO: Packet analysis {"connection_id":176640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:16:04] local.INFO: Extracted packet for processing {"connection_id":176640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:16:04] local.INFO: GPS Element Parsed {"raw_longitude":755782336,"raw_latitude":117849352,"longitude_deg":75.5782336,"latitude_deg":11.7849352,"altitude":21,"angle":124,"satellites":32,"speed":8,"hex_longitude":"2d0c52c0","hex_latitude":"07063d08","is_valid_coordinates":true} 
[2026-09-10 16:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993486080001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31185675931877376,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887701737970718720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789037057000,"timestamp_ms":1789037057000,"timestamp_seconds":1789037057,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeb13e8"} 
[2026-09-10 16:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 16:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993486080001,"66":14363,"220":206,"94":10240,"24":8,"16":31185675931877376,"45":887701737970718720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-10 16:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993486080001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31185675931877376,"km_value":31185675931877.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":887701737970718720,"description":"Unknown IO ID 45"} 
[2026-09-10 16:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993486080001,"power":14363,"unknown_220":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":887701737970718720}} 
[2026-09-10 16:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":176640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:04] local.INFO: GPS data processed {"connection_id":176640,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:04] local.INFO: Acknowledgment sent {"connection_id":176640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:05] local.INFO: TCP Data received {"connection_id":176426,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae91c00012d1823000721b760004a00b928..."} 
[2026-09-10 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae91c00012d1823000721b760004a00b928..."} 
[2026-09-10 16:16:05] local.INFO: Processing buffer {"connection_id":176426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae91c00012d1823000721b760004a00b928..."} 
[2026-09-10 16:16:05] local.INFO: Packet analysis {"connection_id":176426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:16:05] local.INFO: Extracted packet for processing {"connection_id":176426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650144,"longitude_deg":75.6556544,"latitude_deg":11.9650144,"altitude":74,"angle":185,"satellites":40,"speed":2,"hex_longitude":"2d182300","hex_latitude":"0721b760","is_valid_coordinates":true} 
[2026-09-10 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993451776001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276461764509696,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469833728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16: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-09-10 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789036928000,"timestamp_ms":1789036928000,"timestamp_seconds":1789036928,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae91c00"} 
[2026-09-10 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 16:16: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-09-10 16:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993451776001,"66":12841,"120":206,"28":31744,"24":2,"16":19276461764509696,"45":1739304280469833728},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993451776001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276461764509696,"km_value":19276461764509.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469833728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993451776001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739304280469833728}} 
[2026-09-10 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":176426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:05] local.INFO: GPS data processed {"connection_id":176426,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:05] local.INFO: Acknowledgment sent {"connection_id":176426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:08] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aec40b0012d7c46c005e97f20000000f718..."} 
[2026-09-10 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aec40b0012d7c46c005e97f20000000f718..."} 
[2026-09-10 16:16:08] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aec40b0012d7c46c005e97f20000000f718..."} 
[2026-09-10 16:16:08] local.INFO: Packet analysis {"connection_id":176641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:16:08] local.INFO: Extracted packet for processing {"connection_id":176641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763119296,"raw_latitude":99188512,"longitude_deg":76.3119296,"latitude_deg":9.9188512,"altitude":0,"angle":247,"satellites":24,"speed":23,"hex_longitude":"2d7c46c0","hex_latitude":"05e97f20","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993500928001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130752234852974592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958152265441679360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789037134000,"timestamp_ms":1789037134000,"timestamp_seconds":1789037134,"priority":1,"record_length":96,"hex_timestamp":"000001a08aec40b0"} 
[2026-09-10 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":62,"data_length":795,"current_offset":136} 
[2026-09-10 16:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:16:08] 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-09-10 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993500928001,"66":13396,"9":206,"87":13824,"24":23,"16":130752234852974592,"45":8958152265441679360},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 16:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993500928001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 16:16:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130752234852974592,"km_value":130752234852974.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958152265441679360,"description":"Unknown IO ID 45"} 
[2026-09-10 16:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993500928001,"power":13396,"unknown_9":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8958152265441679360}} 
[2026-09-10 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":176641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:09] local.INFO: GPS data processed {"connection_id":176641,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:09] local.INFO: Acknowledgment sent {"connection_id":176641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:19] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:16:19] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:16:19] local.INFO: IMEI packet received {"connection_id":177814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":177814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:16:24] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:16:24] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:16:24] local.INFO: IMEI packet received {"connection_id":177814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":177814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:16:25] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aebeac0012cc28180075dc928001300c828..."} 
[2026-09-10 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aebeac0012cc28180075dc928001300c828..."} 
[2026-09-10 16:16:25] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aebeac0012cc28180075dc928001300c828..."} 
[2026-09-10 16:16:25] local.INFO: Packet analysis {"connection_id":177814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:16:25] local.INFO: Extracted packet for processing {"connection_id":177814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aeb"} 
[2026-09-10 16:16:25] local.INFO: GPS Element Parsed {"raw_longitude":750944640,"raw_latitude":123586856,"longitude_deg":75.094464,"latitude_deg":12.3586856,"altitude":19,"angle":200,"satellites":40,"speed":58,"hex_longitude":"2cc28180","hex_latitude":"075dc928","is_valid_coordinates":true} 
[2026-09-10 16:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993499648001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404239972552409088,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428093933228316672,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789037112000,"timestamp_ms":1789037112000,"timestamp_seconds":1789037112,"priority":1,"record_length":96,"hex_timestamp":"000001a08aebeac0"} 
[2026-09-10 16:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16: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-09-10 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 16:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993499648001,"66":27865,"255":206,"85":37120,"24":58,"16":404239972552409088,"44":-4428093933228316672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-10 16:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993499648001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:25] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-10 16:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404239972552409088,"km_value":404239972552409.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428093933228316672,"description":"Unknown IO ID 44"} 
[2026-09-10 16:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993499648001,"power":27865,"unknown_255":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4428093933228316672}} 
[2026-09-10 16:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":177814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:25] local.INFO: GPS data processed {"connection_id":177814,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:25] local.INFO: Acknowledgment sent {"connection_id":177814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:27] local.INFO: TCP Data received {"connection_id":177815,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:27] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:27] local.INFO: IMEI packet received {"connection_id":177815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":177815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:16:27] local.INFO: TCP Data received {"connection_id":179191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:16:27] local.INFO: Processing buffer {"connection_id":179191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:16:27] local.INFO: IMEI packet received {"connection_id":179191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":179191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:16:29] local.INFO: TCP Data received {"connection_id":177815,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:29] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:29] local.INFO: IMEI packet received {"connection_id":177815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":177815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:16:30] local.INFO: TCP Data received {"connection_id":179191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:16:30] local.INFO: Processing buffer {"connection_id":179191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:16:30] local.INFO: IMEI packet received {"connection_id":179191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":179191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:16:31] local.INFO: TCP Data received {"connection_id":179191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08aecb9c8012d0cb9800705c908001a00a120..."} 
[2026-09-10 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aecb9c8012d0cb9800705c908001a00a120..."} 
[2026-09-10 16:16:31] local.INFO: Processing buffer {"connection_id":179191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aecb9c8012d0cb9800705c908001a00a120..."} 
[2026-09-10 16:16:31] local.INFO: Packet analysis {"connection_id":179191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:16:31] local.INFO: Extracted packet for processing {"connection_id":179191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117819656,"longitude_deg":75.580864,"latitude_deg":11.7819656,"altitude":26,"angle":161,"satellites":32,"speed":14,"hex_longitude":"2d0cb980","hex_latitude":"0705c908","is_valid_coordinates":true} 
[2026-09-10 16:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993513472001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31187608667160576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916412185587808256,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789037165000,"timestamp_ms":1789037165000,"timestamp_seconds":1789037165,"priority":1,"record_length":96,"hex_timestamp":"000001a08aecb9c8"} 
[2026-09-10 16:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:16: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-09-10 16:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993513472001,"66":14167,"220":206,"94":10240,"24":14,"16":31187608667160576,"45":916412185587808256},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-10 16:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993513472001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:31] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 16:16:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31187608667160576,"km_value":31187608667160.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":916412185587808256,"description":"Unknown IO ID 45"} 
[2026-09-10 16:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993513472001,"power":14167,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":916412185587808256}} 
[2026-09-10 16:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":179191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:31] local.INFO: GPS data processed {"connection_id":179191,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:31] local.INFO: Acknowledgment sent {"connection_id":179191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:32] local.INFO: TCP Data received {"connection_id":177815,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:32] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:16:32] local.INFO: IMEI packet received {"connection_id":177815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":177815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:16:34] local.INFO: TCP Data received {"connection_id":177815,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae93b40012d1822c00721b5d8004a00c528..."} 
[2026-09-10 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae93b40012d1822c00721b5d8004a00c528..."} 
[2026-09-10 16:16:34] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae93b40012d1822c00721b5d8004a00c528..."} 
[2026-09-10 16:16:34] local.INFO: Packet analysis {"connection_id":177815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:16:34] local.INFO: Extracted packet for processing {"connection_id":177815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649752,"longitude_deg":75.655648,"latitude_deg":11.9649752,"altitude":74,"angle":197,"satellites":40,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b5d8","is_valid_coordinates":true} 
[2026-09-10 16:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993453568001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276483239346176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725580288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789036936000,"timestamp_ms":1789036936000,"timestamp_seconds":1789036936,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae93b40"} 
[2026-09-10 16:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 16:16: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-09-10 16:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993453568001,"66":12863,"120":206,"28":31744,"24":2,"16":19276483239346176,"45":1739233911725580288},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993453568001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:16:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276483239346176,"km_value":19276483239346.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725580288,"description":"Unknown IO ID 45"} 
[2026-09-10 16:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993453568001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739233911725580288}} 
[2026-09-10 16:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":177815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:34] local.INFO: GPS data processed {"connection_id":177815,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:34] local.INFO: Acknowledgment sent {"connection_id":177815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:53] local.INFO: TCP Data received {"connection_id":179192,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:53] local.INFO: Processing buffer {"connection_id":179192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:53] local.INFO: IMEI packet received {"connection_id":179192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":179192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:16:56] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aecae10012cc30000075ceb30000d008428..."} 
[2026-09-10 16:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aecae10012cc30000075ceb30000d008428..."} 
[2026-09-10 16:16:56] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aecae10012cc30000075ceb30000d008428..."} 
[2026-09-10 16:16:56] local.INFO: Packet analysis {"connection_id":177814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:16:56] local.INFO: Extracted packet for processing {"connection_id":177814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:16:56] local.INFO: GPS Element Parsed {"raw_longitude":750977024,"raw_latitude":123530032,"longitude_deg":75.0977024,"latitude_deg":12.3530032,"altitude":13,"angle":132,"satellites":40,"speed":58,"hex_longitude":"2cc30000","hex_latitude":"075ceb30","is_valid_coordinates":true} 
[2026-09-10 16:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993512704001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404243520195395584,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4399383485619021824,"note":"Value kept but may cause issues"} 
[2026-09-10 16:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789037162000,"timestamp_ms":1789037162000,"timestamp_seconds":1789037162,"priority":1,"record_length":96,"hex_timestamp":"000001a08aecae10"} 
[2026-09-10 16:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 16:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993512704001,"66":27876,"255":206,"85":37120,"24":58,"16":404243520195395584,"44":-4399383485619021824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-10 16:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993512704001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:16:56] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-10 16:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404243520195395584,"km_value":404243520195395.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:16:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4399383485619021824,"description":"Unknown IO ID 44"} 
[2026-09-10 16:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993512704001,"power":27876,"unknown_255":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4399383485619021824}} 
[2026-09-10 16:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":177814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:16:56] local.INFO: GPS data processed {"connection_id":177814,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:16:56] local.INFO: Acknowledgment sent {"connection_id":177814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:16:58] local.INFO: TCP Data received {"connection_id":179192,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:58] local.INFO: Processing buffer {"connection_id":179192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:16:58] local.INFO: IMEI packet received {"connection_id":179192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":179192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:00] local.INFO: TCP Data received {"connection_id":179192,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aec92b8012d7c270005e972c0000000f917..."} 
[2026-09-10 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aec92b8012d7c270005e972c0000000f917..."} 
[2026-09-10 16:17:00] local.INFO: Processing buffer {"connection_id":179192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aec92b8012d7c270005e972c0000000f917..."} 
[2026-09-10 16:17:00] local.INFO: Packet analysis {"connection_id":179192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:00] local.INFO: Extracted packet for processing {"connection_id":179192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":99185344,"longitude_deg":76.3111168,"latitude_deg":9.9185344,"altitude":0,"angle":249,"satellites":23,"speed":23,"hex_longitude":"2d7c2700","hex_latitude":"05e972c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993506304001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130752651464802304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955056040697602048,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789037155000,"timestamp_ms":1789037155000,"timestamp_seconds":1789037155,"priority":1,"record_length":96,"hex_timestamp":"000001a08aec92b8"} 
[2026-09-10 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-09-10 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 16:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 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-09-10 16:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993506304001,"66":13396,"9":206,"87":13824,"24":23,"16":130752651464802304,"45":8955056040697602048},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 16:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993506304001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 16:17:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130752651464802304,"km_value":130752651464802.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955056040697602048,"description":"Unknown IO ID 45"} 
[2026-09-10 16:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993506304001,"power":13396,"unknown_9":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8955056040697602048}} 
[2026-09-10 16:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":179192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:00] local.INFO: GPS data processed {"connection_id":179192,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:00] local.INFO: Acknowledgment sent {"connection_id":179192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:01] local.INFO: TCP Data received {"connection_id":179191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08aed7d18012d0cefc00705d3380018003520..."} 
[2026-09-10 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aed7d18012d0cefc00705d3380018003520..."} 
[2026-09-10 16:17:01] local.INFO: Processing buffer {"connection_id":179191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aed7d18012d0cefc00705d3380018003520..."} 
[2026-09-10 16:17:01] local.INFO: Packet analysis {"connection_id":179191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:17:01] local.INFO: Extracted packet for processing {"connection_id":179191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":755822528,"raw_latitude":117822264,"longitude_deg":75.5822528,"latitude_deg":11.7822264,"altitude":24,"angle":53,"satellites":32,"speed":22,"hex_longitude":"2d0cefc0","hex_latitude":"0705d338","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993526784001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31188678114017280,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931682203074670592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789037215000,"timestamp_ms":1789037215000,"timestamp_seconds":1789037215,"priority":1,"record_length":96,"hex_timestamp":"000001a08aed7d18"} 
[2026-09-10 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-09-10 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 16:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":179191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":179191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":179191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993526784001,"66":13754,"220":206,"94":10240,"24":22,"16":31188678114017280,"45":931682203074670592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-10 16:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993526784001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-10 16:17:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31188678114017280,"km_value":31188678114017.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":931682203074670592,"description":"Unknown IO ID 45"} 
[2026-09-10 16:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993526784001,"power":13754,"unknown_220":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":931682203074670592}} 
[2026-09-10 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":179191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:02] local.INFO: GPS data processed {"connection_id":179191,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:02] local.INFO: Acknowledgment sent {"connection_id":179191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:05] local.INFO: TCP Data received {"connection_id":177815,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae952b0012d1821c00721b470004a00d428..."} 
[2026-09-10 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae952b0012d1821c00721b470004a00d428..."} 
[2026-09-10 16:17:05] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae952b0012d1821c00721b470004a00d428..."} 
[2026-09-10 16:17:05] local.INFO: Packet analysis {"connection_id":177815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:17:05] local.INFO: Extracted packet for processing {"connection_id":177815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649392,"longitude_deg":75.6556224,"latitude_deg":11.9649392,"altitude":74,"angle":212,"satellites":40,"speed":3,"hex_longitude":"2d1821c0","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-09-10 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993455616001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276504714182656,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981302272,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17: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-09-10 16:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789036942000,"timestamp_ms":1789036942000,"timestamp_seconds":1789036942,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae952b0"} 
[2026-09-10 16:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 16:17: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-09-10 16:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993455616001,"66":12863,"120":206,"28":31744,"24":3,"16":19276504714182656,"45":1739163542981302272},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993455616001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276504714182656,"km_value":19276504714182.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981302272,"description":"Unknown IO ID 45"} 
[2026-09-10 16:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993455616001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1739163542981302272}} 
[2026-09-10 16:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":177815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:05] local.INFO: GPS data processed {"connection_id":177815,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:05] local.INFO: Acknowledgment sent {"connection_id":177815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:08] local.INFO: TCP Data received {"connection_id":179192,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeccd50012d7c048005e965d0000400f91a..."} 
[2026-09-10 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeccd50012d7c048005e965d0000400f91a..."} 
[2026-09-10 16:17:08] local.INFO: Processing buffer {"connection_id":179192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeccd50012d7c048005e965d0000400f91a..."} 
[2026-09-10 16:17:08] local.INFO: Packet analysis {"connection_id":179192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:08] local.INFO: Extracted packet for processing {"connection_id":179192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":99182032,"longitude_deg":76.3102336,"latitude_deg":9.9182032,"altitude":4,"angle":249,"satellites":26,"speed":29,"hex_longitude":"2d7c0480","hex_latitude":"05e965d0","is_valid_coordinates":true} 
[2026-09-10 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993511680001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130753102436368384,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210186227712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789037170000,"timestamp_ms":1789037170000,"timestamp_seconds":1789037170,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeccd50"} 
[2026-09-10 16:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 16:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:08] 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-09-10 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993511680001,"66":13243,"9":206,"87":13824,"24":29,"16":130753102436368384,"45":8946119210186227712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993511680001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 16:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130753102436368384,"km_value":130753102436368.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210186227712,"description":"Unknown IO ID 45"} 
[2026-09-10 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993511680001,"power":13243,"unknown_9":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8946119210186227712}} 
[2026-09-10 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":179192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:08] local.INFO: GPS data processed {"connection_id":179192,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:08] local.INFO: Acknowledgment sent {"connection_id":179192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:24] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:24] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:24] local.INFO: IMEI packet received {"connection_id":177816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":177816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:17:26] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:26] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:26] local.INFO: IMEI packet received {"connection_id":177816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":177816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:27] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:27] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:27] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:17:27] local.INFO: TCP Data received {"connection_id":179193,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:17:27] local.INFO: Processing buffer {"connection_id":179193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:17:27] local.INFO: IMEI packet received {"connection_id":179193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":179193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:17:29] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:29] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:17:29] local.INFO: IMEI packet received {"connection_id":177816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":177816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:30] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aecb9c8012cc30b80075cde00000c009227..."} 
[2026-09-10 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aecb9c8012cc30b80075cde00000c009227..."} 
[2026-09-10 16:17:30] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aecb9c8012cc30b80075cde00000c009227..."} 
[2026-09-10 16:17:30] local.INFO: Packet analysis {"connection_id":177816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:30] local.INFO: Extracted packet for processing {"connection_id":177816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750979968,"raw_latitude":123526656,"longitude_deg":75.0979968,"latitude_deg":12.3526656,"altitude":12,"angle":146,"satellites":39,"speed":59,"hex_longitude":"2cc30b80","hex_latitude":"075cde00","is_valid_coordinates":true} 
[2026-09-10 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993513472001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404243739238727680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4395513204689915904,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789037165000,"timestamp_ms":1789037165000,"timestamp_seconds":1789037165,"priority":1,"record_length":96,"hex_timestamp":"000001a08aecb9c8"} 
[2026-09-10 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:17: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-09-10 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:17:30] 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-09-10 16:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993513472001,"66":27843,"255":206,"85":37120,"24":59,"16":404243739238727680,"44":-4395513204689915904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-10 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993513472001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:30] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-10 16:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404243739238727680,"km_value":404243739238727.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4395513204689915904,"description":"Unknown IO ID 44"} 
[2026-09-10 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993513472001,"power":27843,"unknown_255":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4395513204689915904}} 
[2026-09-10 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":177816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:30] local.INFO: GPS data processed {"connection_id":177816,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:30] local.INFO: Acknowledgment sent {"connection_id":177816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:32] local.INFO: TCP Data received {"connection_id":179193,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:17:32] local.INFO: Processing buffer {"connection_id":179193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:17:32] local.INFO: IMEI packet received {"connection_id":179193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":179193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:33] local.INFO: TCP Data received {"connection_id":179193,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ae9a8a0012d1821c00721b410004a00cc27..."} 
[2026-09-10 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ae9a8a0012d1821c00721b410004a00cc27..."} 
[2026-09-10 16:17:33] local.INFO: Processing buffer {"connection_id":179193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ae9a8a0012d1821c00721b410004a00cc27..."} 
[2026-09-10 16:17:33] local.INFO: Packet analysis {"connection_id":179193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:17:33] local.INFO: Extracted packet for processing {"connection_id":179193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ae9"} 
[2026-09-10 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649296,"longitude_deg":75.6556224,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-10 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993457152001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276513304117248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004499456,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789036964000,"timestamp_ms":1789036964000,"timestamp_seconds":1789036964,"priority":1,"record_length":96,"hex_timestamp":"000001a08ae9a8a0"} 
[2026-09-10 16:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 16:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993457152001,"66":12841,"120":206,"28":31744,"24":0,"16":19276513304117248,"45":1738882068004499456},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993457152001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:17:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276513304117248,"km_value":19276513304117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004499456,"description":"Unknown IO ID 45"} 
[2026-09-10 16:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993457152001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004499456}} 
[2026-09-10 16:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":179193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:33] local.INFO: GPS data processed {"connection_id":179193,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:33] local.INFO: Acknowledgment sent {"connection_id":179193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:34] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aecd138012cc31ac0075cbee8000a009e28..."} 
[2026-09-10 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aecd138012cc31ac0075cbee8000a009e28..."} 
[2026-09-10 16:17:34] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aecd138012cc31ac0075cbee8000a009e28..."} 
[2026-09-10 16:17:34] local.INFO: Packet analysis {"connection_id":177816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:34] local.INFO: Extracted packet for processing {"connection_id":177816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":750983872,"raw_latitude":123518696,"longitude_deg":75.0983872,"latitude_deg":12.3518696,"altitude":10,"angle":158,"satellites":40,"speed":58,"hex_longitude":"2cc31ac0","hex_latitude":"075cbee8","is_valid_coordinates":true} 
[2026-09-10 16:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993514240001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404244164440489984,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4392276242458607616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789037171000,"timestamp_ms":1789037171000,"timestamp_seconds":1789037171,"priority":1,"record_length":96,"hex_timestamp":"000001a08aecd138"} 
[2026-09-10 16:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16: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-09-10 16:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:17: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-09-10 16:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993514240001,"66":27321,"255":206,"85":37120,"24":58,"16":404244164440489984,"44":-4392276242458607616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-10 16:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993514240001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-10 16:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404244164440489984,"km_value":404244164440490.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4392276242458607616,"description":"Unknown IO ID 44"} 
[2026-09-10 16:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993514240001,"power":27321,"unknown_255":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4392276242458607616}} 
[2026-09-10 16:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":177816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:34] local.INFO: GPS data processed {"connection_id":177816,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:34] local.INFO: Acknowledgment sent {"connection_id":177816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:34] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:34] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:34] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:35] local.INFO: TCP Data received {"connection_id":179192,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aece8a8012d7bf38005e96100000301081a..."} 
[2026-09-10 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aece8a8012d7bf38005e96100000301081a..."} 
[2026-09-10 16:17:35] local.INFO: Processing buffer {"connection_id":179192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aece8a8012d7bf38005e96100000301081a..."} 
[2026-09-10 16:17:35] local.INFO: Packet analysis {"connection_id":179192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:35] local.INFO: Extracted packet for processing {"connection_id":179192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763097984,"raw_latitude":99180800,"longitude_deg":76.3097984,"latitude_deg":9.91808,"altitude":3,"angle":264,"satellites":26,"speed":22,"hex_longitude":"2d7bf380","hex_latitude":"05e96100","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993515520001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130753321479700480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323488862208,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789037177000,"timestamp_ms":1789037177000,"timestamp_seconds":1789037177,"priority":1,"record_length":96,"hex_timestamp":"000001a08aece8a8"} 
[2026-09-10 16:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 16:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:35] 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-09-10 16:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993515520001,"66":12743,"9":206,"87":13824,"24":22,"16":130753321479700480,"45":8936408323488862208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 16:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993515520001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 16:17:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130753321479700480,"km_value":130753321479700.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323488862208,"description":"Unknown IO ID 45"} 
[2026-09-10 16:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993515520001,"power":12743,"unknown_9":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8936408323488862208}} 
[2026-09-10 16:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":179192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:35] local.INFO: GPS data processed {"connection_id":179192,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:35] local.INFO: Acknowledgment sent {"connection_id":179192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:17:35] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:35] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:35] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:36] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:36] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:17:36] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:52] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:17:52] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:17:52] local.INFO: IMEI packet received {"connection_id":176642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":176642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:17:57] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:17:57] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:17:57] local.INFO: IMEI packet received {"connection_id":176642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":176642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:17:58] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aed1f58012d7bd0c005e95a78000401031a..."} 
[2026-09-10 16:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aed1f58012d7bd0c005e95a78000401031a..."} 
[2026-09-10 16:17:58] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aed1f58012d7bd0c005e95a78000401031a..."} 
[2026-09-10 16:17:58] local.INFO: Packet analysis {"connection_id":176642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:17:58] local.INFO: Extracted packet for processing {"connection_id":176642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763089088,"raw_latitude":99179128,"longitude_deg":76.3089088,"latitude_deg":9.9179128,"altitude":4,"angle":259,"satellites":26,"speed":29,"hex_longitude":"2d7bd0c0","hex_latitude":"05e95a78","is_valid_coordinates":true} 
[2026-09-10 16:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993517312001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130753755271397376,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931623248884465664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789037191000,"timestamp_ms":1789037191000,"timestamp_seconds":1789037191,"priority":1,"record_length":96,"hex_timestamp":"000001a08aed1f58"} 
[2026-09-10 16:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 16:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:17:58] 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-09-10 16:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993517312001,"66":13341,"9":206,"87":13824,"24":29,"16":130753755271397376,"45":8931623248884465664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-10 16:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993517312001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:17:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-10 16:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130753755271397376,"km_value":130753755271397.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931623248884465664,"description":"Unknown IO ID 45"} 
[2026-09-10 16:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993517312001,"power":13341,"unknown_9":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8931623248884465664}} 
[2026-09-10 16:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":176642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:17:58] local.INFO: GPS data processed {"connection_id":176642,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:17:58] local.INFO: Acknowledgment sent {"connection_id":176642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:18:05] local.INFO: TCP Data received {"connection_id":179193,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aed2b10012d1821c00721b410004a00cc29..."} 
[2026-09-10 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aed2b10012d1821c00721b410004a00cc29..."} 
[2026-09-10 16:18:05] local.INFO: Processing buffer {"connection_id":179193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aed2b10012d1821c00721b410004a00cc29..."} 
[2026-09-10 16:18:05] local.INFO: Packet analysis {"connection_id":179193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:18:05] local.INFO: Extracted packet for processing {"connection_id":179193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649296,"longitude_deg":75.6556224,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-10 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993516288001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276513304117248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004474880,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18: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-09-10 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789037194000,"timestamp_ms":1789037194000,"timestamp_seconds":1789037194,"priority":1,"record_length":96,"hex_timestamp":"000001a08aed2b10"} 
[2026-09-10 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 16:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993516288001,"66":12645,"120":206,"28":31744,"24":0,"16":19276513304117248,"45":1738882068004474880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993516288001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276513304117248,"km_value":19276513304117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004474880,"description":"Unknown IO ID 45"} 
[2026-09-10 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993516288001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004474880}} 
[2026-09-10 16:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":179193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:18:05] local.INFO: GPS data processed {"connection_id":179193,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:18:05] local.INFO: Acknowledgment sent {"connection_id":179193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:18:19] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:19] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:19] local.INFO: IMEI packet received {"connection_id":177817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":177817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:18:21] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:21] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:21] local.INFO: IMEI packet received {"connection_id":177817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":177817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:18:24] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:24] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:18:24] local.INFO: IMEI packet received {"connection_id":177817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":177817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:18:24] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aecec90012cc328c0075c9bf8000b009d2a..."} 
[2026-09-10 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aecec90012cc328c0075c9bf8000b009d2a..."} 
[2026-09-10 16:18:24] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aecec90012cc328c0075c9bf8000b009d2a..."} 
[2026-09-10 16:18:24] local.INFO: Packet analysis {"connection_id":177817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:18:24] local.INFO: Extracted packet for processing {"connection_id":177817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aec"} 
[2026-09-10 16:18:24] local.INFO: GPS Element Parsed {"raw_longitude":750987456,"raw_latitude":123509752,"longitude_deg":75.0987456,"latitude_deg":12.3509752,"altitude":11,"angle":157,"satellites":42,"speed":42,"hex_longitude":"2cc328c0","hex_latitude":"075c9bf8","is_valid_coordinates":true} 
[2026-09-10 16:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993515776001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404244632591925248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4387983749065807872,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037178000,"timestamp_ms":1789037178000,"timestamp_seconds":1789037178,"priority":1,"record_length":96,"hex_timestamp":"000001a08aecec90"} 
[2026-09-10 16:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:18: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-09-10 16: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:18:24] 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-09-10 16: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-09-10 16:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993515776001,"66":27908,"255":206,"85":37120,"24":42,"16":404244632591925248,"44":-4387983749065807872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-10 16:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993515776001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:18:24] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-10 16:18:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404244632591925248,"km_value":404244632591925.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:18:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4387983749065807872,"description":"Unknown IO ID 44"} 
[2026-09-10 16:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993515776001,"power":27908,"unknown_255":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4387983749065807872}} 
[2026-09-10 16:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":177817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:18:24] local.INFO: GPS data processed {"connection_id":177817,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:18:24] local.INFO: Acknowledgment sent {"connection_id":177817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:18:26] local.INFO: TCP Data received {"connection_id":179194,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:18:26] local.INFO: Processing buffer {"connection_id":179194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:18:26] local.INFO: IMEI packet received {"connection_id":179194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":179194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:18:29] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aee7b00012d7b634005e93050000600ee1a..."} 
[2026-09-10 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aee7b00012d7b634005e93050000600ee1a..."} 
[2026-09-10 16:18:29] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aee7b00012d7b634005e93050000600ee1a..."} 
[2026-09-10 16:18:29] local.INFO: Packet analysis {"connection_id":176642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:18:29] local.INFO: Extracted packet for processing {"connection_id":176642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763061056,"raw_latitude":99168336,"longitude_deg":76.3061056,"latitude_deg":9.9168336,"altitude":6,"angle":238,"satellites":26,"speed":2,"hex_longitude":"2d7b6340","hex_latitude":"05e93050","is_valid_coordinates":true} 
[2026-09-10 16:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993538816001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130755215560278016,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895805558095169536,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789037280000,"timestamp_ms":1789037280000,"timestamp_seconds":1789037280,"priority":1,"record_length":96,"hex_timestamp":"000001a08aee7b00"} 
[2026-09-10 16:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 16:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:18:29] 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-09-10 16:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993538816001,"66":13526,"201":206,"87":13824,"24":2,"16":130755215560278016,"45":8895805558095169536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993538816001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:18:29] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:18:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130755215560278016,"km_value":130755215560278.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895805558095169536,"description":"Unknown IO ID 45"} 
[2026-09-10 16:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993538816001,"power":13526,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8895805558095169536}} 
[2026-09-10 16:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":176642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:18:30] local.INFO: GPS data processed {"connection_id":176642,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:18:30] local.INFO: Acknowledgment sent {"connection_id":176642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:18:32] local.INFO: TCP Data received {"connection_id":179194,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:18:32] local.INFO: Processing buffer {"connection_id":179194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:18:32] local.INFO: IMEI packet received {"connection_id":179194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":179194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:18:33] local.INFO: TCP Data received {"connection_id":179194,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aed7d18012d1821c00721b410004a00cc29..."} 
[2026-09-10 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aed7d18012d1821c00721b410004a00cc29..."} 
[2026-09-10 16:18:33] local.INFO: Processing buffer {"connection_id":179194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aed7d18012d1821c00721b410004a00cc29..."} 
[2026-09-10 16:18:33] local.INFO: Packet analysis {"connection_id":179194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:18:33] local.INFO: Extracted packet for processing {"connection_id":179194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649296,"longitude_deg":75.6556224,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993521664001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276513304117248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004474880,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037215000,"timestamp_ms":1789037215000,"timestamp_seconds":1789037215,"priority":1,"record_length":96,"hex_timestamp":"000001a08aed7d18"} 
[2026-09-10 16:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 16:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993521664001,"66":12613,"120":206,"28":31744,"24":0,"16":19276513304117248,"45":1738882068004474880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993521664001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:18:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:18:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276513304117248,"km_value":19276513304117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004474880,"description":"Unknown IO ID 45"} 
[2026-09-10 16:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993521664001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004474880}} 
[2026-09-10 16:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":179194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:18:33] local.INFO: GPS data processed {"connection_id":179194,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:18:33] local.INFO: Acknowledgment sent {"connection_id":179194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:18:53] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:18:53] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:18:53] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:18:55] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aee6778012cc3c040075b4d40002300902a..."} 
[2026-09-10 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aee6778012cc3c040075b4d40002300902a..."} 
[2026-09-10 16:18:55] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aee6778012cc3c040075b4d40002300902a..."} 
[2026-09-10 16:18:55] local.INFO: Packet analysis {"connection_id":177817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:18:55] local.INFO: Extracted packet for processing {"connection_id":177817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":751026240,"raw_latitude":123424064,"longitude_deg":75.102624,"latitude_deg":12.3424064,"altitude":35,"angle":144,"satellites":42,"speed":50,"hex_longitude":"2cc3c040","hex_latitude":"075b4d40","is_valid_coordinates":true} 
[2026-09-10 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993541376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404249374235820032,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344073652722030592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789037275000,"timestamp_ms":1789037275000,"timestamp_seconds":1789037275,"priority":1,"record_length":96,"hex_timestamp":"000001a08aee6778"} 
[2026-09-10 16:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 16:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993541376001,"66":27615,"35":206,"85":37120,"24":50,"16":404249374235820032,"44":-4344073652722030592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-10 16:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993541376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:18:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-10 16:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404249374235820032,"km_value":404249374235820.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344073652722030592,"description":"Unknown IO ID 44"} 
[2026-09-10 16:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993541376001,"power":27615,"unknown_35":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4344073652722030592}} 
[2026-09-10 16:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":177817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:18:55] local.INFO: GPS data processed {"connection_id":177817,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:18:55] local.INFO: Acknowledgment sent {"connection_id":177817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:18:58] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:18:58] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:18:58] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:18:59] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aee7ee8012d7b634005e93030000500df1a..."} 
[2026-09-10 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aee7ee8012d7b634005e93030000500df1a..."} 
[2026-09-10 16:18:59] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aee7ee8012d7b634005e93030000500df1a..."} 
[2026-09-10 16:18:59] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:18:59] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763061056,"raw_latitude":99168304,"longitude_deg":76.3061056,"latitude_deg":9.9168304,"altitude":5,"angle":223,"satellites":26,"speed":1,"hex_longitude":"2d7b6340","hex_latitude":"05e93030","is_valid_coordinates":true} 
[2026-09-10 16:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993543680001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130755215560278016,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891020483490762752,"note":"Value kept but may cause issues"} 
[2026-09-10 16:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789037281000,"timestamp_ms":1789037281000,"timestamp_seconds":1789037281,"priority":1,"record_length":96,"hex_timestamp":"000001a08aee7ee8"} 
[2026-09-10 16:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:18: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-09-10 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 16:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:18: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-09-10 16:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993543680001,"66":13526,"201":206,"87":13824,"24":1,"16":130755215560278016,"45":8891020483490762752},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993543680001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:18:59] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:18:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130755215560278016,"km_value":130755215560278.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891020483490762752,"description":"Unknown IO ID 45"} 
[2026-09-10 16:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993543680001,"power":13526,"unknown_201":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8891020483490762752}} 
[2026-09-10 16:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:18:59] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:18:59] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:19:05] local.INFO: TCP Data received {"connection_id":179194,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aedcf20012d1821c00721b410004a00cc2a..."} 
[2026-09-10 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aedcf20012d1821c00721b410004a00cc2a..."} 
[2026-09-10 16:19:05] local.INFO: Processing buffer {"connection_id":179194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aedcf20012d1821c00721b410004a00cc2a..."} 
[2026-09-10 16:19:05] local.INFO: Packet analysis {"connection_id":179194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:19:05] local.INFO: Extracted packet for processing {"connection_id":179194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aed"} 
[2026-09-10 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649296,"longitude_deg":75.6556224,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993527040001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276513304117248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004474880,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19: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-09-10 16:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789037236000,"timestamp_ms":1789037236000,"timestamp_seconds":1789037236,"priority":1,"record_length":96,"hex_timestamp":"000001a08aedcf20"} 
[2026-09-10 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-09-10 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 16:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993527040001,"66":12667,"120":206,"28":31744,"24":0,"16":19276513304117248,"45":1738882068004474880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993527040001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:19:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276513304117248,"km_value":19276513304117.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004474880,"description":"Unknown IO ID 45"} 
[2026-09-10 16:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993527040001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004474880}} 
[2026-09-10 16:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":179194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:19:05] local.INFO: GPS data processed {"connection_id":179194,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:19:05] local.INFO: Acknowledgment sent {"connection_id":179194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:19:18] local.INFO: TCP Data received {"connection_id":177818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:19:18] local.INFO: Processing buffer {"connection_id":177818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:19:18] local.INFO: IMEI packet received {"connection_id":177818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":177818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:19:24] local.INFO: TCP Data received {"connection_id":177818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:19:24] local.INFO: Processing buffer {"connection_id":177818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:19:24] local.INFO: IMEI packet received {"connection_id":177818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":177818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:19:25] local.INFO: TCP Data received {"connection_id":177818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aee86b8012cc3dbc0075b30400028008729..."} 
[2026-09-10 16:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aee86b8012cc3dbc0075b30400028008729..."} 
[2026-09-10 16:19:25] local.INFO: Processing buffer {"connection_id":177818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aee86b8012cc3dbc0075b30400028008729..."} 
[2026-09-10 16:19:25] local.INFO: Packet analysis {"connection_id":177818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:25] local.INFO: Extracted packet for processing {"connection_id":177818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:25] local.INFO: GPS Element Parsed {"raw_longitude":751033280,"raw_latitude":123416640,"longitude_deg":75.103328,"latitude_deg":12.341664,"altitude":40,"angle":135,"satellites":41,"speed":49,"hex_longitude":"2cc3dbc0","hex_latitude":"075b3040","is_valid_coordinates":true} 
[2026-09-10 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993542400001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404249863862091776,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4341399640444420096,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789037283000,"timestamp_ms":1789037283000,"timestamp_seconds":1789037283,"priority":1,"record_length":96,"hex_timestamp":"000001a08aee86b8"} 
[2026-09-10 16:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:19: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-09-10 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 16:19:25] 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-09-10 16:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993542400001,"66":27832,"35":206,"85":37120,"24":49,"16":404249863862091776,"44":-4341399640444420096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-10 16:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993542400001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:19:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-10 16:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404249863862091776,"km_value":404249863862091.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4341399640444420096,"description":"Unknown IO ID 44"} 
[2026-09-10 16:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993542400001,"power":27832,"unknown_35":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4341399640444420096}} 
[2026-09-10 16:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":177818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:19:25] local.INFO: GPS data processed {"connection_id":177818,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:19:25] local.INFO: Acknowledgment sent {"connection_id":177818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:19:30] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeec538012d7b628005e92f580004007215..."} 
[2026-09-10 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeec538012d7b628005e92f580004007215..."} 
[2026-09-10 16:19:30] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeec538012d7b628005e92f580004007215..."} 
[2026-09-10 16:19:30] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:30] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763060864,"raw_latitude":99168088,"longitude_deg":76.3060864,"latitude_deg":9.9168088,"altitude":4,"angle":114,"satellites":21,"speed":1,"hex_longitude":"2d7b6280","hex_latitude":"05e92f58","is_valid_coordinates":true} 
[2026-09-10 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993543936001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130755232740147200,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891020483490754560,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789037299000,"timestamp_ms":1789037299000,"timestamp_seconds":1789037299,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeec538"} 
[2026-09-10 16:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 16:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:19:30] 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-09-10 16:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993543936001,"66":12624,"201":206,"87":13824,"24":1,"16":130755232740147200,"45":8891020483490754560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993543936001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:19:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:19:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130755232740147200,"km_value":130755232740147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891020483490754560,"description":"Unknown IO ID 45"} 
[2026-09-10 16:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993543936001,"power":12624,"unknown_201":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8891020483490754560}} 
[2026-09-10 16:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:19:30] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:19:30] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:19:32] local.INFO: TCP Data received {"connection_id":176430,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:19:32] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:19:32] local.INFO: IMEI packet received {"connection_id":176430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":176430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:19:37] local.INFO: TCP Data received {"connection_id":176430,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:19:37] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:19:37] local.INFO: IMEI packet received {"connection_id":176430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":176430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:19:38] local.INFO: TCP Data received {"connection_id":176430,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aee2128012d1821400721b308004a00d329..."} 
[2026-09-10 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aee2128012d1821400721b308004a00d329..."} 
[2026-09-10 16:19:38] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aee2128012d1821400721b308004a00d329..."} 
[2026-09-10 16:19:38] local.INFO: Packet analysis {"connection_id":176430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:38] local.INFO: Extracted packet for processing {"connection_id":176430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993532416001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004474880,"note":"Value kept but may cause issues"} 
[2026-09-10 16: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-09-10 16:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789037257000,"timestamp_ms":1789037257000,"timestamp_seconds":1789037257,"priority":1,"record_length":96,"hex_timestamp":"000001a08aee2128"} 
[2026-09-10 16:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 16:19: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-09-10 16:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993532416001,"66":11721,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738882068004474880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993532416001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:19:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004474880,"description":"Unknown IO ID 45"} 
[2026-09-10 16:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993532416001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004474880}} 
[2026-09-10 16:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":176430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:19:38] local.INFO: GPS data processed {"connection_id":176430,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:19:38] local.INFO: Acknowledgment sent {"connection_id":176430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:19:39] local.INFO: TCP Data received {"connection_id":176430,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aee7330012d1821400721b308004a00d326..."} 
[2026-09-10 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aee7330012d1821400721b308004a00d326..."} 
[2026-09-10 16:19:39] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aee7330012d1821400721b308004a00d326..."} 
[2026-09-10 16:19:39] local.INFO: Packet analysis {"connection_id":176430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:39] local.INFO: Extracted packet for processing {"connection_id":176430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993537792001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16: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-09-10 16:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789037278000,"timestamp_ms":1789037278000,"timestamp_seconds":1789037278,"priority":1,"record_length":96,"hex_timestamp":"000001a08aee7330"} 
[2026-09-10 16:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 16:19: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-09-10 16: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-09-10 16:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993537792001,"66":11678,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993537792001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:19:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993537792001,"power":11678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":176430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:19:39] local.INFO: GPS data processed {"connection_id":176430,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:19:39] local.INFO: Acknowledgment sent {"connection_id":176430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:19:52] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:52] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:52] local.INFO: IMEI packet received {"connection_id":177819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":177819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:19:54] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:54] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:54] local.INFO: IMEI packet received {"connection_id":177819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":177819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:19:56] local.INFO: TCP Data received {"connection_id":177818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeea5f8012cc3f7c0075b13f0002b008929..."} 
[2026-09-10 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeea5f8012cc3f7c0075b13f0002b008929..."} 
[2026-09-10 16:19:56] local.INFO: Processing buffer {"connection_id":177818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeea5f8012cc3f7c0075b13f0002b008929..."} 
[2026-09-10 16:19:56] local.INFO: Packet analysis {"connection_id":177818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:56] local.INFO: Extracted packet for processing {"connection_id":177818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":751040448,"raw_latitude":123409392,"longitude_deg":75.1040448,"latitude_deg":12.3409392,"altitude":43,"angle":137,"satellites":41,"speed":50,"hex_longitude":"2cc3f7c0","hex_latitude":"075b13f0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993544448001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404250353488363520,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4333659078586777600,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789037291000,"timestamp_ms":1789037291000,"timestamp_seconds":1789037291,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeea5f8"} 
[2026-09-10 16:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 16:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993544448001,"66":27930,"34":206,"85":37120,"24":50,"16":404250353488363520,"44":-4333659078586777600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-10 16:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993544448001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:19:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-10 16:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404250353488363520,"km_value":404250353488363.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:19:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4333659078586777600,"description":"Unknown IO ID 44"} 
[2026-09-10 16:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993544448001,"power":27930,"unknown_34":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4333659078586777600}} 
[2026-09-10 16:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":177818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:19:56] local.INFO: GPS data processed {"connection_id":177818,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:19:56] local.INFO: Acknowledgment sent {"connection_id":177818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:19:57] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:57] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:19:57] local.INFO: IMEI packet received {"connection_id":177819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":177819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:19:58] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aefda90012d7b58c005e89938000000b51a..."} 
[2026-09-10 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aefda90012d7b58c005e89938000000b51a..."} 
[2026-09-10 16:19:58] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aefda90012d7b58c005e89938000000b51a..."} 
[2026-09-10 16:19:58] local.INFO: Packet analysis {"connection_id":177819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:19:58] local.INFO: Extracted packet for processing {"connection_id":177819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":99129656,"longitude_deg":76.3058368,"latitude_deg":9.9129656,"altitude":0,"angle":181,"satellites":26,"speed":52,"hex_longitude":"2d7b58c0","hex_latitude":"05e89938","is_valid_coordinates":true} 
[2026-09-10 16:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993564928001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130757393108697088,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887290940041826304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789037370000,"timestamp_ms":1789037370000,"timestamp_seconds":1789037370,"priority":1,"record_length":96,"hex_timestamp":"000001a08aefda90"} 
[2026-09-10 16:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:19: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-09-10 16:19: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":178,"data_length":795,"current_offset":136} 
[2026-09-10 16:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:19:58] 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-09-10 16:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993564928001,"66":12906,"201":206,"87":13824,"24":52,"16":130757393108697088,"45":8887290940041826304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993564928001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:19:58] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:19:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130757393108697088,"km_value":130757393108697.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887290940041826304,"description":"Unknown IO ID 45"} 
[2026-09-10 16:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993564928001,"power":12906,"unknown_201":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":8887290940041826304}} 
[2026-09-10 16:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":177819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:19:58] local.INFO: GPS data processed {"connection_id":177819,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:19:58] local.INFO: Acknowledgment sent {"connection_id":177819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:20:11] local.INFO: TCP Data received {"connection_id":176430,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeec538012d1821400721b308004a00d326..."} 
[2026-09-10 16:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeec538012d1821400721b308004a00d326..."} 
[2026-09-10 16:20:11] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeec538012d1821400721b308004a00d326..."} 
[2026-09-10 16:20:11] local.INFO: Packet analysis {"connection_id":176430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:20:11] local.INFO: Extracted packet for processing {"connection_id":176430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aee"} 
[2026-09-10 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993543168001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16: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-09-10 16:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789037299000,"timestamp_ms":1789037299000,"timestamp_seconds":1789037299,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeec538"} 
[2026-09-10 16:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 16:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993543168001,"66":12645,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993543168001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:20:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993543168001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":176430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:20:11] local.INFO: GPS data processed {"connection_id":176430,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:20:11] local.INFO: Acknowledgment sent {"connection_id":176430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:20:21] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:21] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:21] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:20:24] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:24] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:24] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:20:26] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:26] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:20:26] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:20:27] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aef9058012cc49e80075a1628003100aa2b..."} 
[2026-09-10 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aef9058012cc49e80075a1628003100aa2b..."} 
[2026-09-10 16:20:27] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aef9058012cc49e80075a1628003100aa2b..."} 
[2026-09-10 16:20:27] local.INFO: Packet analysis {"connection_id":176431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:27] local.INFO: Extracted packet for processing {"connection_id":176431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":751083136,"raw_latitude":123344424,"longitude_deg":75.1083136,"latitude_deg":12.3344424,"altitude":49,"angle":170,"satellites":43,"speed":54,"hex_longitude":"2cc49e80","hex_latitude":"075a1628","is_valid_coordinates":true} 
[2026-09-10 16:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993560064001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404254201779060736,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4280460308004544512,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789037351000,"timestamp_ms":1789037351000,"timestamp_seconds":1789037351,"priority":1,"record_length":96,"hex_timestamp":"000001a08aef9058"} 
[2026-09-10 16:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:20: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-09-10 16:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993560064001,"66":27843,"131":206,"85":37120,"24":54,"16":404254201779060736,"44":-4280460308004544512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-10 16:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993560064001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404254201779060736,"km_value":404254201779060.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:20:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4280460308004544512,"description":"Unknown IO ID 44"} 
[2026-09-10 16:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993560064001,"power":27843,"unknown_131":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4280460308004544512}} 
[2026-09-10 16:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":176431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:20:27] local.INFO: GPS data processed {"connection_id":176431,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:20:27] local.INFO: Acknowledgment sent {"connection_id":176431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:20:27] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:20:27] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:20:27] local.INFO: IMEI packet received {"connection_id":176644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":176644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:20:29] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08aefabb0012cc4a3400759f160003100ab28..."} 
[2026-09-10 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aefabb0012cc4a3400759f160003100ab28..."} 
[2026-09-10 16:20:29] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aefabb0012cc4a3400759f160003100ab28..."} 
[2026-09-10 16:20:29] local.INFO: Packet analysis {"connection_id":176431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:29] local.INFO: Extracted packet for processing {"connection_id":176431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:29] local.INFO: GPS Element Parsed {"raw_longitude":751084352,"raw_latitude":123335008,"longitude_deg":75.1084352,"latitude_deg":12.3335008,"altitude":49,"angle":171,"satellites":40,"speed":54,"hex_longitude":"2cc4a340","hex_latitude":"0759f160","is_valid_coordinates":true} 
[2026-09-10 16:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993561856001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404254665635528704,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4278841826890864640,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789037358000,"timestamp_ms":1789037358000,"timestamp_seconds":1789037358,"priority":1,"record_length":96,"hex_timestamp":"000001a08aefabb0"} 
[2026-09-10 16:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:20: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-09-10 16:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993561856001,"66":27800,"130":206,"85":37120,"24":54,"16":404254665635528704,"44":-4278841826890864640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-10 16:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993561856001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:20:29] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404254665635528704,"km_value":404254665635528.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4278841826890864640,"description":"Unknown IO ID 44"} 
[2026-09-10 16:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993561856001,"power":27800,"unknown_130":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4278841826890864640}} 
[2026-09-10 16:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":176431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:20:29] local.INFO: GPS data processed {"connection_id":176431,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:20:29] local.INFO: Acknowledgment sent {"connection_id":176431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:20:31] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:20:31] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:20:31] local.INFO: IMEI packet received {"connection_id":176644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":176644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:20:33] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aef1740012d1821400721b308004a00d327..."} 
[2026-09-10 16:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aef1740012d1821400721b308004a00d327..."} 
[2026-09-10 16:20:33] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aef1740012d1821400721b308004a00d327..."} 
[2026-09-10 16:20:33] local.INFO: Packet analysis {"connection_id":176644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:33] local.INFO: Extracted packet for processing {"connection_id":176644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993548544001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037320000,"timestamp_ms":1789037320000,"timestamp_seconds":1789037320,"priority":1,"record_length":96,"hex_timestamp":"000001a08aef1740"} 
[2026-09-10 16:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 16:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993548544001,"66":12613,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993548544001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:20:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:20:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993548544001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":176644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:20:33] local.INFO: GPS data processed {"connection_id":176644,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:20:33] local.INFO: Acknowledgment sent {"connection_id":176644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:20:38] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aef6948012d1821400721b308004a00d326..."} 
[2026-09-10 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aef6948012d1821400721b308004a00d326..."} 
[2026-09-10 16:20:38] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aef6948012d1821400721b308004a00d326..."} 
[2026-09-10 16:20:38] local.INFO: Packet analysis {"connection_id":176644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:38] local.INFO: Extracted packet for processing {"connection_id":176644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993553920001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16: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-09-10 16:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789037341000,"timestamp_ms":1789037341000,"timestamp_seconds":1789037341,"priority":1,"record_length":96,"hex_timestamp":"000001a08aef6948"} 
[2026-09-10 16:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 16:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993553920001,"66":12591,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993553920001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993553920001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":176644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:20:38] local.INFO: GPS data processed {"connection_id":176644,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:20:38] local.INFO: Acknowledgment sent {"connection_id":176644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:20:42] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08aeff5e8012d7b59c005e87360000100b01a..."} 
[2026-09-10 16:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aeff5e8012d7b59c005e87360000100b01a..."} 
[2026-09-10 16:20:42] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aeff5e8012d7b59c005e87360000100b01a..."} 
[2026-09-10 16:20:42] local.INFO: Packet analysis {"connection_id":177819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:42] local.INFO: Extracted packet for processing {"connection_id":177819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763058624,"raw_latitude":99119968,"longitude_deg":76.3058624,"latitude_deg":9.9119968,"altitude":1,"angle":176,"satellites":26,"speed":55,"hex_longitude":"2d7b59c0","hex_latitude":"05e87360","is_valid_coordinates":true} 
[2026-09-10 16:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993566720001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130757861260132352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996225398784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789037377000,"timestamp_ms":1789037377000,"timestamp_seconds":1789037377,"priority":1,"record_length":96,"hex_timestamp":"000001a08aeff5e8"} 
[2026-09-10 16:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 16:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:20:42] 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-09-10 16:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993566720001,"66":12526,"201":206,"87":13824,"24":55,"16":130757861260132352,"45":8888064996225398784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993566720001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:20:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:20:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130757861260132352,"km_value":130757861260132.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996225398784,"description":"Unknown IO ID 45"} 
[2026-09-10 16:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993566720001,"power":12526,"unknown_201":206,"unknown_87":13824,"ignition":55,"odometer":null,"unknown_45":8888064996225398784}} 
[2026-09-10 16:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":177819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:20:42] local.INFO: GPS data processed {"connection_id":177819,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:20:42] local.INFO: Acknowledgment sent {"connection_id":177819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:20:57] local.INFO: TCP Data received {"connection_id":179195,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:20:57] local.INFO: Processing buffer {"connection_id":179195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:20:57] local.INFO: IMEI packet received {"connection_id":179195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":179195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:21:01] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af06f00012cc4d3400758f0d8002400c629..."} 
[2026-09-10 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af06f00012cc4d3400758f0d8002400c629..."} 
[2026-09-10 16:21:01] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af06f00012cc4d3400758f0d8002400c629..."} 
[2026-09-10 16:21:01] local.INFO: Packet analysis {"connection_id":176431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:01] local.INFO: Extracted packet for processing {"connection_id":176431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:01] local.INFO: GPS Element Parsed {"raw_longitude":751096640,"raw_latitude":123269336,"longitude_deg":75.109664,"latitude_deg":12.3269336,"altitude":36,"angle":198,"satellites":41,"speed":59,"hex_longitude":"2cc4d340","hex_latitude":"0758f0d8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993574912001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404258088724463616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4260968165886773248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789037408000,"timestamp_ms":1789037408000,"timestamp_seconds":1789037408,"priority":1,"record_length":96,"hex_timestamp":"000001a08af06f00"} 
[2026-09-10 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-09-10 16:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:21: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-09-10 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-09-10 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-09-10 16:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:21: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-09-10 16:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993574912001,"66":27908,"29":206,"85":37120,"24":59,"16":404258088724463616,"44":-4260968165886773248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-10 16:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993574912001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:01] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-10 16:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404258088724463616,"km_value":404258088724463.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4260968165886773248,"description":"Unknown IO ID 44"} 
[2026-09-10 16:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993574912001,"power":27908,"unknown_29":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4260968165886773248}} 
[2026-09-10 16:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":176431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:01] local.INFO: GPS data processed {"connection_id":176431,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:01] local.INFO: Acknowledgment sent {"connection_id":176431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:21:03] local.INFO: TCP Data received {"connection_id":179195,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:03] local.INFO: Processing buffer {"connection_id":179195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:03] local.INFO: IMEI packet received {"connection_id":179195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":179195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:21:04] local.INFO: TCP Data received {"connection_id":179195,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af01910012d7b5dc005e84f40000400b217..."} 
[2026-09-10 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af01910012d7b5dc005e84f40000400b217..."} 
[2026-09-10 16:21:04] local.INFO: Processing buffer {"connection_id":179195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af01910012d7b5dc005e84f40000400b217..."} 
[2026-09-10 16:21:04] local.INFO: Packet analysis {"connection_id":179195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:04] local.INFO: Extracted packet for processing {"connection_id":179195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763059648,"raw_latitude":99110720,"longitude_deg":76.3059648,"latitude_deg":9.911072,"altitude":4,"angle":178,"satellites":23,"speed":29,"hex_longitude":"2d7b5dc0","hex_latitude":"05e84f40","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993568512001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130758312231698432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888346471199629312,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789037386000,"timestamp_ms":1789037386000,"timestamp_seconds":1789037386,"priority":1,"record_length":96,"hex_timestamp":"000001a08af01910"} 
[2026-09-10 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-09-10 16:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 16:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:21:04] 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-09-10 16:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993568512001,"66":13135,"201":206,"87":13824,"24":29,"16":130758312231698432,"45":8888346471199629312},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993568512001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:04] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:21:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130758312231698432,"km_value":130758312231698.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888346471199629312,"description":"Unknown IO ID 45"} 
[2026-09-10 16:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993568512001,"power":13135,"unknown_201":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8888346471199629312}} 
[2026-09-10 16:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":179195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:04] local.INFO: GPS data processed {"connection_id":179195,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:04] local.INFO: Acknowledgment sent {"connection_id":179195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:21:09] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aefbb50012d1821400721b308004a00d326..."} 
[2026-09-10 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aefbb50012d1821400721b308004a00d326..."} 
[2026-09-10 16:21:09] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aefbb50012d1821400721b308004a00d326..."} 
[2026-09-10 16:21:09] local.INFO: Packet analysis {"connection_id":176644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:21:09] local.INFO: Extracted packet for processing {"connection_id":176644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aef"} 
[2026-09-10 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993559296001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789037362000,"timestamp_ms":1789037362000,"timestamp_seconds":1789037362,"priority":1,"record_length":96,"hex_timestamp":"000001a08aefbb50"} 
[2026-09-10 16:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:21: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-09-10 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 16:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993559296001,"66":12645,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993559296001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993559296001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":176644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:09] local.INFO: GPS data processed {"connection_id":176644,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:09] local.INFO: Acknowledgment sent {"connection_id":176644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:21:17] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:17] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:17] local.INFO: IMEI packet received {"connection_id":177821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":177821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:21:19] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:19] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:19] local.INFO: IMEI packet received {"connection_id":177821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":177821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:21:24] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:24] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:21:24] local.INFO: IMEI packet received {"connection_id":177821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":177821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:21:25] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af08670012cc4c7c00758cf40002200c62a..."} 
[2026-09-10 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af08670012cc4c7c00758cf40002200c62a..."} 
[2026-09-10 16:21:25] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af08670012cc4c7c00758cf40002200c62a..."} 
[2026-09-10 16:21:25] local.INFO: Packet analysis {"connection_id":177821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:25] local.INFO: Extracted packet for processing {"connection_id":177821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:25] local.INFO: GPS Element Parsed {"raw_longitude":751093696,"raw_latitude":123260736,"longitude_deg":75.1093696,"latitude_deg":12.3260736,"altitude":34,"angle":198,"satellites":42,"speed":60,"hex_longitude":"2cc4c7c0","hex_latitude":"0758cf40","is_valid_coordinates":true} 
[2026-09-10 16:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993576448001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404258526811127808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4263994021888600064,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789037414000,"timestamp_ms":1789037414000,"timestamp_seconds":1789037414,"priority":1,"record_length":96,"hex_timestamp":"000001a08af08670"} 
[2026-09-10 16:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:21: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-09-10 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993576448001,"66":27800,"29":206,"85":37120,"24":60,"16":404258526811127808,"44":-4263994021888600064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-10 16:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993576448001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-10 16:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404258526811127808,"km_value":404258526811127.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4263994021888600064,"description":"Unknown IO ID 44"} 
[2026-09-10 16:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993576448001,"power":27800,"unknown_29":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4263994021888600064}} 
[2026-09-10 16:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":177821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:25] local.INFO: GPS data processed {"connection_id":177821,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:25] local.INFO: Acknowledgment sent {"connection_id":177821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:21:26] local.INFO: TCP Data received {"connection_id":176433,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:21:26] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:21:26] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:21:32] local.INFO: TCP Data received {"connection_id":176433,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:21:32] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:21:32] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:21:33] local.INFO: TCP Data received {"connection_id":176433,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af00d58012d1821400721b308004a00d327..."} 
[2026-09-10 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af00d58012d1821400721b308004a00d327..."} 
[2026-09-10 16:21:33] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af00d58012d1821400721b308004a00d327..."} 
[2026-09-10 16:21:33] local.INFO: Packet analysis {"connection_id":176433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:33] local.INFO: Extracted packet for processing {"connection_id":176433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993564672001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037383000,"timestamp_ms":1789037383000,"timestamp_seconds":1789037383,"priority":1,"record_length":96,"hex_timestamp":"000001a08af00d58"} 
[2026-09-10 16:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 16:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993564672001,"66":14135,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993564672001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993564672001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":176433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:33] local.INFO: GPS data processed {"connection_id":176433,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:33] local.INFO: Acknowledgment sent {"connection_id":176433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:21:35] local.INFO: TCP Data received {"connection_id":179195,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af03080012d7b5ac005e83bc0000500bd18..."} 
[2026-09-10 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af03080012d7b5ac005e83bc0000500bd18..."} 
[2026-09-10 16:21:35] local.INFO: Processing buffer {"connection_id":179195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af03080012d7b5ac005e83bc0000500bd18..."} 
[2026-09-10 16:21:35] local.INFO: Packet analysis {"connection_id":179195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:35] local.INFO: Extracted packet for processing {"connection_id":179195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:35] local.INFO: GPS Element Parsed {"raw_longitude":763058880,"raw_latitude":99105728,"longitude_deg":76.305888,"latitude_deg":9.9105728,"altitude":5,"angle":189,"satellites":24,"speed":36,"hex_longitude":"2d7b5ac0","hex_latitude":"05e83bc0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993570816001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130758557044834304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889472371104104448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789037392000,"timestamp_ms":1789037392000,"timestamp_seconds":1789037392,"priority":1,"record_length":96,"hex_timestamp":"000001a08af03080"} 
[2026-09-10 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-09-10 16:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 16:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:21:35] 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-09-10 16:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993570816001,"66":12765,"201":206,"87":13824,"24":36,"16":130758557044834304,"45":8889472371104104448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993570816001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:21:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130758557044834304,"km_value":130758557044834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889472371104104448,"description":"Unknown IO ID 45"} 
[2026-09-10 16:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993570816001,"power":12765,"unknown_201":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8889472371104104448}} 
[2026-09-10 16:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":179195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:35] local.INFO: GPS data processed {"connection_id":179195,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:35] local.INFO: Acknowledgment sent {"connection_id":179195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:21:51] local.INFO: TCP Data received {"connection_id":177822,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:21:51] local.INFO: Processing buffer {"connection_id":177822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:21:51] local.INFO: IMEI packet received {"connection_id":177822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":177822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:21:52] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:52] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:52] local.INFO: IMEI packet received {"connection_id":177823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":177823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:21:55] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af09de0012cc4bc000758ad50001f00c629..."} 
[2026-09-10 16:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af09de0012cc4bc000758ad50001f00c629..."} 
[2026-09-10 16:21:55] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af09de0012cc4bc000758ad50001f00c629..."} 
[2026-09-10 16:21:55] local.INFO: Packet analysis {"connection_id":177821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:55] local.INFO: Extracted packet for processing {"connection_id":177821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:55] local.INFO: GPS Element Parsed {"raw_longitude":751090688,"raw_latitude":123252048,"longitude_deg":75.1090688,"latitude_deg":12.3252048,"altitude":31,"angle":198,"satellites":41,"speed":60,"hex_longitude":"2cc4bc00","hex_latitude":"0758ad50","is_valid_coordinates":true} 
[2026-09-10 16:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993577984001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404258973487726592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4267230984122974208,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789037420000,"timestamp_ms":1789037420000,"timestamp_seconds":1789037420,"priority":1,"record_length":96,"hex_timestamp":"000001a08af09de0"} 
[2026-09-10 16:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 16:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993577984001,"66":27767,"29":206,"85":37120,"24":60,"16":404258973487726592,"44":-4267230984122974208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-10 16:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993577984001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:55] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-10 16:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404258973487726592,"km_value":404258973487726.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4267230984122974208,"description":"Unknown IO ID 44"} 
[2026-09-10 16:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993577984001,"power":27767,"unknown_29":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4267230984122974208}} 
[2026-09-10 16:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":177821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:55] local.INFO: GPS data processed {"connection_id":177821,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:55] local.INFO: Acknowledgment sent {"connection_id":177821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:21:57] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:57] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:21:57] local.INFO: IMEI packet received {"connection_id":177823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":177823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:21:58] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af04bd8012d7b598005e82300000500b118..."} 
[2026-09-10 16:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af04bd8012d7b598005e82300000500b118..."} 
[2026-09-10 16:21:58] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af04bd8012d7b598005e82300000500b118..."} 
[2026-09-10 16:21:58] local.INFO: Packet analysis {"connection_id":177823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:58] local.INFO: Extracted packet for processing {"connection_id":177823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99099392,"longitude_deg":76.305856,"latitude_deg":9.9099392,"altitude":5,"angle":177,"satellites":24,"speed":29,"hex_longitude":"2d7b5980","hex_latitude":"05e82300","is_valid_coordinates":true} 
[2026-09-10 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993572352001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130758866282479616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888627946172694528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789037399000,"timestamp_ms":1789037399000,"timestamp_seconds":1789037399,"priority":1,"record_length":96,"hex_timestamp":"000001a08af04bd8"} 
[2026-09-10 16:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 16:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:21:58] 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-09-10 16:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993572352001,"66":12374,"201":206,"87":13824,"24":29,"16":130758866282479616,"45":8888627946172694528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993572352001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:21:58] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130758866282479616,"km_value":130758866282479.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888627946172694528,"description":"Unknown IO ID 45"} 
[2026-09-10 16:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993572352001,"power":12374,"unknown_201":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8888627946172694528}} 
[2026-09-10 16:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":177823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:21:58] local.INFO: GPS data processed {"connection_id":177823,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:21:58] local.INFO: Acknowledgment sent {"connection_id":177823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:22:04] local.INFO: TCP Data received {"connection_id":176433,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af05f60012d1821400721b308004a00d327..."} 
[2026-09-10 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af05f60012d1821400721b308004a00d327..."} 
[2026-09-10 16:22:04] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af05f60012d1821400721b308004a00d327..."} 
[2026-09-10 16:22:04] local.INFO: Packet analysis {"connection_id":176433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:22:04] local.INFO: Extracted packet for processing {"connection_id":176433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649032,"longitude_deg":75.6556096,"latitude_deg":11.9649032,"altitude":74,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-10 16:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993570048001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276530483986432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22: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-09-10 16:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789037404000,"timestamp_ms":1789037404000,"timestamp_seconds":1789037404,"priority":1,"record_length":96,"hex_timestamp":"000001a08af05f60"} 
[2026-09-10 16:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-10 16:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993570048001,"66":14037,"120":206,"28":31744,"24":0,"16":19276530483986432,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993570048001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:22:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276530483986432,"km_value":19276530483986.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993570048001,"power":14037,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":176433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:22:05] local.INFO: GPS data processed {"connection_id":176433,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:22:05] local.INFO: Acknowledgment sent {"connection_id":176433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:22:19] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:19] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:19] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:22:20] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:20] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:20] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:22:24] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:24] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:22:24] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:22:25] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af1af50012cc443c007574a28001e00b129..."} 
[2026-09-10 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af1af50012cc443c007574a28001e00b129..."} 
[2026-09-10 16:22:25] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af1af50012cc443c007574a28001e00b129..."} 
[2026-09-10 16:22:25] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af1"} 
[2026-09-10 16:22:25] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af1"} 
[2026-09-10 16:22:25] local.INFO: GPS Element Parsed {"raw_longitude":751059904,"raw_latitude":123161128,"longitude_deg":75.1059904,"latitude_deg":12.3161128,"altitude":30,"angle":177,"satellites":41,"speed":40,"hex_longitude":"2cc443c0","hex_latitude":"07574a28","is_valid_coordinates":true} 
[2026-09-10 16:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993596928001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404263633527242752,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304244943585370112,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789037490000,"timestamp_ms":1789037490000,"timestamp_seconds":1789037490,"priority":1,"record_length":96,"hex_timestamp":"000001a08af1af50"} 
[2026-09-10 16:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:22: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-09-10 16:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993596928001,"66":27865,"159":206,"85":37120,"24":40,"16":404263633527242752,"44":-4304244943585370112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 16:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993596928001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:22:25] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 16:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404263633527242752,"km_value":404263633527242.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304244943585370112,"description":"Unknown IO ID 44"} 
[2026-09-10 16:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993596928001,"power":27865,"unknown_159":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4304244943585370112}} 
[2026-09-10 16:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:22:25] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:22:25] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:22:26] local.INFO: TCP Data received {"connection_id":176434,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:26] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:26] local.INFO: IMEI packet received {"connection_id":176434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":176434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:22:30] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af099f8012d7b5d4005e807a8000400b118..."} 
[2026-09-10 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af099f8012d7b5d4005e807a8000400b118..."} 
[2026-09-10 16:22:30] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af099f8012d7b5d4005e807a8000400b118..."} 
[2026-09-10 16:22:30] local.INFO: Packet analysis {"connection_id":177823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:22:30] local.INFO: Extracted packet for processing {"connection_id":177823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763059520,"raw_latitude":99092392,"longitude_deg":76.305952,"latitude_deg":9.9092392,"altitude":4,"angle":177,"satellites":24,"speed":26,"hex_longitude":"2d7b5d40","hex_latitude":"05e807a8","is_valid_coordinates":true} 
[2026-09-10 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993574144001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130759209879863296,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102450184192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789037419000,"timestamp_ms":1789037419000,"timestamp_seconds":1789037419,"priority":1,"record_length":96,"hex_timestamp":"000001a08af099f8"} 
[2026-09-10 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 16:22:30] 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-09-10 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:22:30] 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-09-10 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993574144001,"66":12765,"201":206,"87":13824,"24":26,"16":130759209879863296,"45":8888276102450184192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-10 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993574144001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:22:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 16:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130759209879863296,"km_value":130759209879863.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102450184192,"description":"Unknown IO ID 45"} 
[2026-09-10 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993574144001,"power":12765,"unknown_201":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8888276102450184192}} 
[2026-09-10 16:22:30] local.INFO: TCP Data received {"connection_id":176434,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:30] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:30] local.INFO: IMEI packet received {"connection_id":176434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":176434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":177823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:22:30] local.INFO: GPS data processed {"connection_id":177823,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:22:30] local.INFO: Acknowledgment sent {"connection_id":177823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:22:31] local.INFO: TCP Data received {"connection_id":176434,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:31] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:22:31] local.INFO: IMEI packet received {"connection_id":176434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":176434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:22:36] local.INFO: TCP Data received {"connection_id":176434,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af08670012d1820c00721b118004e00c229..."} 
[2026-09-10 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af08670012d1820c00721b118004e00c229..."} 
[2026-09-10 16:22:36] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af08670012d1820c00721b118004e00c229..."} 
[2026-09-10 16:22:36] local.INFO: Packet analysis {"connection_id":176434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:22:36] local.INFO: Extracted packet for processing {"connection_id":176434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648536,"longitude_deg":75.6555968,"latitude_deg":11.9648536,"altitude":78,"angle":194,"satellites":41,"speed":4,"hex_longitude":"2d1820c0","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-09-10 16:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993575424001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276556253790208,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516051968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789037414000,"timestamp_ms":1789037414000,"timestamp_seconds":1789037414,"priority":1,"record_length":96,"hex_timestamp":"000001a08af08670"} 
[2026-09-10 16:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-09-10 16:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993575424001,"66":13993,"122":206,"28":31744,"24":4,"16":19276556253790208,"45":1738741330516051968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993575424001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:22:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276556253790208,"km_value":19276556253790.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516051968,"description":"Unknown IO ID 45"} 
[2026-09-10 16:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993575424001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738741330516051968}} 
[2026-09-10 16:22:36] local.INFO: TCP Data received {"connection_id":179196,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:22:37] local.INFO: Processing buffer {"connection_id":179196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:22:37] local.INFO: IMEI packet received {"connection_id":179196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":179196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":176434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:22:37] local.INFO: GPS data processed {"connection_id":176434,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:22:37] local.INFO: Acknowledgment sent {"connection_id":176434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:22:37] local.INFO: TCP Data received {"connection_id":179196,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af214e0012d0da2c00705cd38001500211e..."} 
[2026-09-10 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af214e0012d0da2c00705cd38001500211e..."} 
[2026-09-10 16:22:37] local.INFO: Processing buffer {"connection_id":179196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af214e0012d0da2c00705cd38001500211e..."} 
[2026-09-10 16:22:37] local.INFO: Packet analysis {"connection_id":179196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:22:37] local.INFO: Extracted packet for processing {"connection_id":179196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117820728,"longitude_deg":75.5868352,"latitude_deg":11.7820728,"altitude":21,"angle":33,"satellites":30,"speed":8,"hex_longitude":"2d0da2c0","hex_latitude":"0705cd38","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993603840001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31192298771447808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067626418176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789037516000,"timestamp_ms":1789037516000,"timestamp_seconds":1789037516,"priority":1,"record_length":96,"hex_timestamp":"000001a08af214e0"} 
[2026-09-10 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-09-10 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:22: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-09-10 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-09-10 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-09-10 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993603840001,"66":14428,"167":206,"94":11008,"24":8,"16":31192298771447808,"45":982418067626418176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993603840001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31192298771447808,"km_value":31192298771447.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067626418176,"description":"Unknown IO ID 45"} 
[2026-09-10 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993603840001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":982418067626418176}} 
[2026-09-10 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":179196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:22:37] local.INFO: GPS data processed {"connection_id":179196,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:22:37] local.INFO: Acknowledgment sent {"connection_id":179196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:22:43] local.INFO: TCP Data received {"connection_id":176435,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:22:43] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:22:43] local.INFO: IMEI packet received {"connection_id":176435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:22:49] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:49] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:49] local.INFO: IMEI packet received {"connection_id":177824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":177824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:22:52] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:52] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:52] local.INFO: IMEI packet received {"connection_id":177824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":177824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:22:52] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:52] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:52] local.INFO: IMEI packet received {"connection_id":177824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":177824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:22:56] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af1bb08012cc4430007573f18001e00c12a..."} 
[2026-09-10 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af1bb08012cc4430007573f18001e00c12a..."} 
[2026-09-10 16:22:56] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af1bb08012cc4430007573f18001e00c12a..."} 
[2026-09-10 16:22:56] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af1"} 
[2026-09-10 16:22:56] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af1"} 
[2026-09-10 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":751059712,"raw_latitude":123158296,"longitude_deg":75.1059712,"latitude_deg":12.3158296,"altitude":30,"angle":193,"satellites":42,"speed":37,"hex_longitude":"2cc44300","hex_latitude":"07573f18","is_valid_coordinates":true} 
[2026-09-10 16:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993597440001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404263770966196224,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304385681074280448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789037493000,"timestamp_ms":1789037493000,"timestamp_seconds":1789037493,"priority":1,"record_length":96,"hex_timestamp":"000001a08af1bb08"} 
[2026-09-10 16:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993597440001,"66":27821,"159":206,"85":37120,"24":37,"16":404263770966196224,"44":-4304385681074280448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-10 16:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993597440001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:22:56] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 16:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404263770966196224,"km_value":404263770966196.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304385681074280448,"description":"Unknown IO ID 44"} 
[2026-09-10 16:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993597440001,"power":27821,"unknown_159":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4304385681074280448}} 
[2026-09-10 16:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:22:56] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:22:56] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:22:57] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:57] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:22:57] local.INFO: IMEI packet received {"connection_id":177824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":177824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:22:59] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af2b8f0012d7b7bc005e724a8000600a61b..."} 
[2026-09-10 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af2b8f0012d7b7bc005e724a8000600a61b..."} 
[2026-09-10 16:22:59] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af2b8f0012d7b7bc005e724a8000600a61b..."} 
[2026-09-10 16:22:59] local.INFO: Packet analysis {"connection_id":177824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:22:59] local.INFO: Extracted packet for processing {"connection_id":177824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763067328,"raw_latitude":99034280,"longitude_deg":76.3067328,"latitude_deg":9.903428,"altitude":6,"angle":166,"satellites":27,"speed":29,"hex_longitude":"2d7b7bc0","hex_latitude":"05e724a8","is_valid_coordinates":true} 
[2026-09-10 16:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993609728001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130762087507951616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614247669760,"note":"Value kept but may cause issues"} 
[2026-09-10 16:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789037558000,"timestamp_ms":1789037558000,"timestamp_seconds":1789037558,"priority":1,"record_length":96,"hex_timestamp":"000001a08af2b8f0"} 
[2026-09-10 16:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:22: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-09-10 16:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 16:22: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-09-10 16:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:22: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-09-10 16:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993609728001,"66":13222,"96":206,"87":13824,"24":29,"16":130762087507951616,"45":8896579614247669760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 16:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993609728001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:22:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 16:22:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130762087507951616,"km_value":130762087507951.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614247669760,"description":"Unknown IO ID 45"} 
[2026-09-10 16:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993609728001,"power":13222,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8896579614247669760}} 
[2026-09-10 16:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":177824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:22:59] local.INFO: GPS data processed {"connection_id":177824,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:22:59] local.INFO: Acknowledgment sent {"connection_id":177824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:23:08] local.INFO: TCP Data received {"connection_id":176434,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af09610012d181ec00721acf8004e00cf29..."} 
[2026-09-10 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af09610012d181ec00721acf8004e00cf29..."} 
[2026-09-10 16:23:08] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af09610012d181ec00721acf8004e00cf29..."} 
[2026-09-10 16:23:08] local.INFO: Packet analysis {"connection_id":176434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:23:08] local.INFO: Extracted packet for processing {"connection_id":176434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af0"} 
[2026-09-10 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647480,"longitude_deg":75.6555456,"latitude_deg":11.964748,"altitude":78,"angle":207,"satellites":41,"speed":18,"hex_longitude":"2d181ec0","hex_latitude":"0721acf8","is_valid_coordinates":true} 
[2026-09-10 16:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993577984001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19276612088365056,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027569664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789037418000,"timestamp_ms":1789037418000,"timestamp_seconds":1789037418,"priority":1,"record_length":96,"hex_timestamp":"000001a08af09610"} 
[2026-09-10 16:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:23: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-09-10 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 16:23: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-09-10 16: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-09-10 16:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993577984001,"66":13972,"122":206,"28":31744,"24":18,"16":19276612088365056,"45":1738600593027569664},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993577984001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19276612088365056,"km_value":19276612088365.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027569664,"description":"Unknown IO ID 45"} 
[2026-09-10 16:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993577984001,"power":13972,"unknown_122":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1738600593027569664}} 
[2026-09-10 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":176434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:23:08] local.INFO: GPS data processed {"connection_id":176434,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:23:08] local.INFO: Acknowledgment sent {"connection_id":176434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:23:08] local.INFO: TCP Data received {"connection_id":179196,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af2fb58012d0e4fc00705cd00001a00511e..."} 
[2026-09-10 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af2fb58012d0e4fc00705cd00001a00511e..."} 
[2026-09-10 16:23:08] local.INFO: Processing buffer {"connection_id":179196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af2fb58012d0e4fc00705cd00001a00511e..."} 
[2026-09-10 16:23:08] local.INFO: Packet analysis {"connection_id":179196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:23:08] local.INFO: Extracted packet for processing {"connection_id":179196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":755912640,"raw_latitude":117820672,"longitude_deg":75.591264,"latitude_deg":11.7820672,"altitude":26,"angle":81,"satellites":30,"speed":13,"hex_longitude":"2d0e4fc0","hex_latitude":"0705cd00","is_valid_coordinates":true} 
[2026-09-10 16:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993618176001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31194424780259328,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1028439226318673920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789037575000,"timestamp_ms":1789037575000,"timestamp_seconds":1789037575,"priority":1,"record_length":96,"hex_timestamp":"000001a08af2fb58"} 
[2026-09-10 16:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993618176001,"66":14461,"167":206,"94":11008,"24":13,"16":31194424780259328,"45":1028439226318673920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-10 16:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993618176001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31194424780259328,"km_value":31194424780259.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1028439226318673920,"description":"Unknown IO ID 45"} 
[2026-09-10 16:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993618176001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":1028439226318673920}} 
[2026-09-10 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":179196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:23:08] local.INFO: GPS data processed {"connection_id":179196,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:23:08] local.INFO: Acknowledgment sent {"connection_id":179196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:23:20] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:20] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:20] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:23:20] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:20] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:20] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:23:24] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:24] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:23:24] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:23:25] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af1de30012cc4388007571bd0001d00c627..."} 
[2026-09-10 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af1de30012cc4388007571bd0001d00c627..."} 
[2026-09-10 16:23:25] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af1de30012cc4388007571bd0001d00c627..."} 
[2026-09-10 16:23:25] local.INFO: Packet analysis {"connection_id":176646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af1"} 
[2026-09-10 16:23:25] local.INFO: Extracted packet for processing {"connection_id":176646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af1"} 
[2026-09-10 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":751057024,"raw_latitude":123149264,"longitude_deg":75.1057024,"latitude_deg":12.3149264,"altitude":29,"angle":198,"satellites":39,"speed":45,"hex_longitude":"2cc43880","hex_latitude":"07571bd0","is_valid_coordinates":true} 
[2026-09-10 16:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993598208001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404264226232729600,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304596787307538432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789037502000,"timestamp_ms":1789037502000,"timestamp_seconds":1789037502,"priority":1,"record_length":96,"hex_timestamp":"000001a08af1de30"} 
[2026-09-10 16:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:23: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-09-10 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993598208001,"66":27843,"160":206,"85":37120,"24":45,"16":404264226232729600,"44":-4304596787307538432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-10 16:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993598208001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:23:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 16:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-10 16:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404264226232729600,"km_value":404264226232729.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304596787307538432,"description":"Unknown IO ID 44"} 
[2026-09-10 16:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993598208001,"power":27843,"unknown_160":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4304596787307538432}} 
[2026-09-10 16:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":176646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:23:25] local.INFO: GPS data processed {"connection_id":176646,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:23:25] local.INFO: Acknowledgment sent {"connection_id":176646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:23:26] local.INFO: TCP Data received {"connection_id":176648,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:23:26] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:23:26] local.INFO: IMEI packet received {"connection_id":176648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":176648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:23:27] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:27] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:27] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:23:27] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:27] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:27] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:23:28] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:28] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:28] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:23:29] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:29] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:23:29] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:23:30] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af2d060012d7b808005e71620000700941b..."} 
[2026-09-10 16:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af2d060012d7b808005e71620000700941b..."} 
[2026-09-10 16:23:30] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af2d060012d7b808005e71620000700941b..."} 
[2026-09-10 16:23:30] local.INFO: Packet analysis {"connection_id":177824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:23:30] local.INFO: Extracted packet for processing {"connection_id":177824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763068544,"raw_latitude":99030560,"longitude_deg":76.3068544,"latitude_deg":9.903056,"altitude":7,"angle":148,"satellites":27,"speed":23,"hex_longitude":"2d7b8080","hex_latitude":"05e71620","is_valid_coordinates":true} 
[2026-09-10 16:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993614848001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130762276486512640,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897916620385855488,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789037564000,"timestamp_ms":1789037564000,"timestamp_seconds":1789037564,"priority":1,"record_length":96,"hex_timestamp":"000001a08af2d060"} 
[2026-09-10 16:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:23: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-09-10 16:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:23:30] 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-09-10 16:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993614848001,"66":13656,"96":206,"87":13824,"24":23,"16":130762276486512640,"45":8897916620385855488},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 16:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993614848001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:23:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 16:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130762276486512640,"km_value":130762276486512.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897916620385855488,"description":"Unknown IO ID 45"} 
[2026-09-10 16:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993614848001,"power":13656,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8897916620385855488}} 
[2026-09-10 16:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":177824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:23:30] local.INFO: GPS data processed {"connection_id":177824,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:23:30] local.INFO: Acknowledgment sent {"connection_id":177824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:23:32] local.INFO: TCP Data received {"connection_id":176648,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:23:32] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:23:32] local.INFO: IMEI packet received {"connection_id":176648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":176648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:23:33] local.INFO: TCP Data received {"connection_id":176648,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af27e58012d17bcc0072123e8003f00de24..."} 
[2026-09-10 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af27e58012d17bcc0072123e8003f00de24..."} 
[2026-09-10 16:23:33] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af27e58012d17bcc0072123e8003f00de24..."} 
[2026-09-10 16:23:33] local.INFO: Packet analysis {"connection_id":176648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:23:33] local.INFO: Extracted packet for processing {"connection_id":176648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756530368,"raw_latitude":119612392,"longitude_deg":75.6530368,"latitude_deg":11.9612392,"altitude":63,"angle":222,"satellites":36,"speed":53,"hex_longitude":"2d17bcc0","hex_latitude":"072123e8","is_valid_coordinates":true} 
[2026-09-10 16:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993609984001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19278708032405504,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301422080,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037543000,"timestamp_ms":1789037543000,"timestamp_seconds":1789037543,"priority":1,"record_length":96,"hex_timestamp":"000001a08af27e58"} 
[2026-09-10 16:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 16:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993609984001,"66":14265,"122":206,"28":31744,"24":53,"16":19278708032405504,"45":1714041901301422080},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993609984001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:23:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:23:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19278708032405504,"km_value":19278708032405.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301422080,"description":"Unknown IO ID 45"} 
[2026-09-10 16:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993609984001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":53,"odometer":null,"unknown_45":1714041901301422080}} 
[2026-09-10 16:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":176648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:23:33] local.INFO: GPS data processed {"connection_id":176648,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:23:33] local.INFO: Acknowledgment sent {"connection_id":176648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:23:52] local.INFO: TCP Data received {"connection_id":176436,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:23:52] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:23:52] local.INFO: IMEI packet received {"connection_id":176436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":176436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:23:56] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af33208012cc42f4007556dc0001500ab2b..."} 
[2026-09-10 16:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af33208012cc42f4007556dc0001500ab2b..."} 
[2026-09-10 16:23:56] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af33208012cc42f4007556dc0001500ab2b..."} 
[2026-09-10 16:23:56] local.INFO: Packet analysis {"connection_id":176646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:23:56] local.INFO: Extracted packet for processing {"connection_id":176646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:23:56] local.INFO: GPS Element Parsed {"raw_longitude":751054656,"raw_latitude":123039168,"longitude_deg":75.1054656,"latitude_deg":12.3039168,"altitude":21,"angle":171,"satellites":43,"speed":15,"hex_longitude":"2cc42f40","hex_latitude":"07556dc0","is_valid_coordinates":true} 
[2026-09-10 16:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993622016001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404269710905966592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4310226286871889920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789037589000,"timestamp_ms":1789037589000,"timestamp_seconds":1789037589,"priority":1,"record_length":96,"hex_timestamp":"000001a08af33208"} 
[2026-09-10 16:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 16:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993622016001,"66":28006,"33":206,"85":37632,"24":15,"16":404269710905966592,"44":-4310226286871889920},"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,44]} 
[2026-09-10 16:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993622016001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:23:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-10 16:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404269710905966592,"km_value":404269710905966.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4310226286871889920,"description":"Unknown IO ID 44"} 
[2026-09-10 16:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993622016001,"power":28006,"unknown_33":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4310226286871889920}} 
[2026-09-10 16:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":176646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:23:56] local.INFO: GPS data processed {"connection_id":176646,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:23:56] local.INFO: Acknowledgment sent {"connection_id":176646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:23:58] local.INFO: TCP Data received {"connection_id":176436,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:23:58] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:23:58] local.INFO: IMEI packet received {"connection_id":176436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":176436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:24:05] local.INFO: TCP Data received {"connection_id":176648,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af299b0012d17a2c007210d88003f00e926..."} 
[2026-09-10 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af299b0012d17a2c007210d88003f00e926..."} 
[2026-09-10 16:24:05] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af299b0012d17a2c007210d88003f00e926..."} 
[2026-09-10 16:24:05] local.INFO: Packet analysis {"connection_id":176648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:05] local.INFO: Extracted packet for processing {"connection_id":176648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756523712,"raw_latitude":119606664,"longitude_deg":75.6523712,"latitude_deg":11.9606664,"altitude":63,"angle":233,"satellites":38,"speed":42,"hex_longitude":"2d17a2c0","hex_latitude":"07210d88","is_valid_coordinates":true} 
[2026-09-10 16:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993611008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19279128939200512,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710453095347251200,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789037550000,"timestamp_ms":1789037550000,"timestamp_seconds":1789037550,"priority":1,"record_length":96,"hex_timestamp":"000001a08af299b0"} 
[2026-09-10 16:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:24: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-09-10 16:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993611008001,"66":14276,"122":206,"28":31744,"24":42,"16":19279128939200512,"45":1710453095347251200},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993611008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:24:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19279128939200512,"km_value":19279128939200.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710453095347251200,"description":"Unknown IO ID 45"} 
[2026-09-10 16:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993611008001,"power":14276,"unknown_122":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1710453095347251200}} 
[2026-09-10 16:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":176648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:24:05] local.INFO: GPS data processed {"connection_id":176648,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:24:05] local.INFO: Acknowledgment sent {"connection_id":176648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:24:08] local.INFO: TCP Data received {"connection_id":176436,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af2d830012d7b83c005e71230000600871b..."} 
[2026-09-10 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af2d830012d7b83c005e71230000600871b..."} 
[2026-09-10 16:24:08] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af2d830012d7b83c005e71230000600871b..."} 
[2026-09-10 16:24:08] local.INFO: Packet analysis {"connection_id":176436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:08] local.INFO: Extracted packet for processing {"connection_id":176436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":99029552,"longitude_deg":76.3069376,"latitude_deg":9.9029552,"altitude":6,"angle":135,"satellites":27,"speed":27,"hex_longitude":"2d7b83c0","hex_latitude":"05e71230","is_valid_coordinates":true} 
[2026-09-10 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993616384001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130762340911022080,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899253626524278784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24: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-09-10 16:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789037566000,"timestamp_ms":1789037566000,"timestamp_seconds":1789037566,"priority":1,"record_length":96,"hex_timestamp":"000001a08af2d830"} 
[2026-09-10 16:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 16:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:24:08] 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-09-10 16:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993616384001,"66":13439,"96":206,"87":13824,"24":27,"16":130762340911022080,"45":8899253626524278784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 16:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993616384001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:24:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 16:24:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130762340911022080,"km_value":130762340911022.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899253626524278784,"description":"Unknown IO ID 45"} 
[2026-09-10 16:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993616384001,"power":13439,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8899253626524278784}} 
[2026-09-10 16:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":176436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:24:08] local.INFO: GPS data processed {"connection_id":176436,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:24:08] local.INFO: Acknowledgment sent {"connection_id":176436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:24:19] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:24:19] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:24:19] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:24:24] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:24:24] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:24:24] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:24:24] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af339d8012cc4300007556af80014009c2b..."} 
[2026-09-10 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af339d8012cc4300007556af80014009c2b..."} 
[2026-09-10 16:24:24] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af339d8012cc4300007556af80014009c2b..."} 
[2026-09-10 16:24:24] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:24:24] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":751054848,"raw_latitude":123038456,"longitude_deg":75.1054848,"latitude_deg":12.3038456,"altitude":20,"angle":156,"satellites":43,"speed":12,"hex_longitude":"2cc43000","hex_latitude":"07556af8","is_valid_coordinates":true} 
[2026-09-10 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993622784001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404269745265704960,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4310155918128070656,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037591000,"timestamp_ms":1789037591000,"timestamp_seconds":1789037591,"priority":1,"record_length":96,"hex_timestamp":"000001a08af339d8"} 
[2026-09-10 16:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:24: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-09-10 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 16:24:24] 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-09-10 16:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993622784001,"66":28028,"33":206,"85":37632,"24":12,"16":404269745265704960,"44":-4310155918128070656},"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,44]} 
[2026-09-10 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993622784001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:24:24] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-10 16:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404269745265704960,"km_value":404269745265704.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:24:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4310155918128070656,"description":"Unknown IO ID 44"} 
[2026-09-10 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993622784001,"power":28028,"unknown_33":206,"unknown_85":37632,"ignition":12,"odometer":null,"unknown_44":-4310155918128070656}} 
[2026-09-10 16:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:24:25] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:24:25] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:24:28] local.INFO: TCP Data received {"connection_id":179197,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:28] local.INFO: Processing buffer {"connection_id":179197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:28] local.INFO: IMEI packet received {"connection_id":179197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":179197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:24:32] local.INFO: TCP Data received {"connection_id":179197,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:32] local.INFO: Processing buffer {"connection_id":179197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:32] local.INFO: IMEI packet received {"connection_id":179197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":179197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:24:36] local.INFO: TCP Data received {"connection_id":179197,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:36] local.INFO: Processing buffer {"connection_id":179197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:24:36] local.INFO: IMEI packet received {"connection_id":179197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":179197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:24:37] local.INFO: TCP Data received {"connection_id":179197,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af2c0c0012d1786000720f820004100e229..."} 
[2026-09-10 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af2c0c0012d1786000720f820004100e229..."} 
[2026-09-10 16:24:37] local.INFO: Processing buffer {"connection_id":179197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af2c0c0012d1786000720f820004100e229..."} 
[2026-09-10 16:24:37] local.INFO: Packet analysis {"connection_id":179197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:37] local.INFO: Extracted packet for processing {"connection_id":179197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756516352,"raw_latitude":119601184,"longitude_deg":75.6516352,"latitude_deg":11.9601184,"altitude":65,"angle":226,"satellites":41,"speed":39,"hex_longitude":"2d178600","hex_latitude":"0720f820","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993612800001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19279571320832000,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703134745951307776,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789037560000,"timestamp_ms":1789037560000,"timestamp_seconds":1789037560,"priority":1,"record_length":96,"hex_timestamp":"000001a08af2c0c0"} 
[2026-09-10 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-09-10 16:24: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-09-10 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 16:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993612800001,"66":14374,"122":206,"28":31744,"24":39,"16":19279571320832000,"45":1703134745951307776},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993612800001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:24:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19279571320832000,"km_value":19279571320832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703134745951307776,"description":"Unknown IO ID 45"} 
[2026-09-10 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993612800001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1703134745951307776}} 
[2026-09-10 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":179197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:24:37] local.INFO: GPS data processed {"connection_id":179197,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:24:37] local.INFO: Acknowledgment sent {"connection_id":179197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:24:38] local.INFO: TCP Data received {"connection_id":179197,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af2e000012d176d000720ddd8003d00de28..."} 
[2026-09-10 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af2e000012d176d000720ddd8003d00de28..."} 
[2026-09-10 16:24:38] local.INFO: Processing buffer {"connection_id":179197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af2e000012d176d000720ddd8003d00de28..."} 
[2026-09-10 16:24:38] local.INFO: Packet analysis {"connection_id":179197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:38] local.INFO: Extracted packet for processing {"connection_id":179197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af2"} 
[2026-09-10 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756509952,"raw_latitude":119594456,"longitude_deg":75.6509952,"latitude_deg":11.9594456,"altitude":61,"angle":222,"satellites":40,"speed":48,"hex_longitude":"2d176d00","hex_latitude":"0720ddd8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993615360001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19280017997430784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1695042340369473536,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789037568000,"timestamp_ms":1789037568000,"timestamp_seconds":1789037568,"priority":1,"record_length":96,"hex_timestamp":"000001a08af2e000"} 
[2026-09-10 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-09-10 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 16:24: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-09-10 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-09-10 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-09-10 16:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993615360001,"66":14352,"122":206,"28":31744,"24":48,"16":19280017997430784,"45":1695042340369473536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993615360001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:24:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19280017997430784,"km_value":19280017997430.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1695042340369473536,"description":"Unknown IO ID 45"} 
[2026-09-10 16:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993615360001,"power":14352,"unknown_122":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1695042340369473536}} 
[2026-09-10 16:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":179197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:24:39] local.INFO: GPS data processed {"connection_id":179197,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:24:39] local.INFO: Acknowledgment sent {"connection_id":179197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:24:53] local.INFO: TCP Data received {"connection_id":177826,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:24:53] local.INFO: Processing buffer {"connection_id":177826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:24:53] local.INFO: IMEI packet received {"connection_id":177826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":177826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:24:56] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af34978012cc4318007556770001300aa2b..."} 
[2026-09-10 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af34978012cc4318007556770001300aa2b..."} 
[2026-09-10 16:24:56] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af34978012cc4318007556770001300aa2b..."} 
[2026-09-10 16:24:56] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:24:56] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:24:56] local.INFO: GPS Element Parsed {"raw_longitude":751055232,"raw_latitude":123037552,"longitude_deg":75.1055232,"latitude_deg":12.3037552,"altitude":19,"angle":170,"satellites":43,"speed":9,"hex_longitude":"2cc43180","hex_latitude":"07556770","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993623296001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404269792510345216,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309944811895719936,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789037595000,"timestamp_ms":1789037595000,"timestamp_seconds":1789037595,"priority":1,"record_length":96,"hex_timestamp":"000001a08af34978"} 
[2026-09-10 16:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 16:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993623296001,"66":27908,"33":206,"85":37632,"24":9,"16":404269792510345216,"44":-4309944811895719936},"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,44]} 
[2026-09-10 16:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993623296001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:24:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-10 16:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404269792510345216,"km_value":404269792510345.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309944811895719936,"description":"Unknown IO ID 44"} 
[2026-09-10 16:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993623296001,"power":27908,"unknown_33":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4309944811895719936}} 
[2026-09-10 16:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:24:56] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:24:56] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:24:57] local.INFO: TCP Data received {"connection_id":177826,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:24:57] local.INFO: Processing buffer {"connection_id":177826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:24:57] local.INFO: IMEI packet received {"connection_id":177826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":177826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:24:58] local.INFO: TCP Data received {"connection_id":177826,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af42c08012d7bbbc005e64ab8000400991b..."} 
[2026-09-10 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af42c08012d7bbbc005e64ab8000400991b..."} 
[2026-09-10 16:24:58] local.INFO: Processing buffer {"connection_id":177826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af42c08012d7bbbc005e64ab8000400991b..."} 
[2026-09-10 16:24:58] local.INFO: Packet analysis {"connection_id":177826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:24:58] local.INFO: Extracted packet for processing {"connection_id":177826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98978488,"longitude_deg":76.3083712,"latitude_deg":9.8978488,"altitude":4,"angle":153,"satellites":27,"speed":36,"hex_longitude":"2d7bbbc0","hex_latitude":"05e64ab8","is_valid_coordinates":true} 
[2026-09-10 16:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993636352001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130764969431007232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910653363069796352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:24: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-09-10 16:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789037653000,"timestamp_ms":1789037653000,"timestamp_seconds":1789037653,"priority":1,"record_length":96,"hex_timestamp":"000001a08af42c08"} 
[2026-09-10 16:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:24: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-09-10 16:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 16:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:24:58] 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-09-10 16:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993636352001,"66":13254,"96":206,"87":13824,"24":36,"16":130764969431007232,"45":8910653363069796352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 16:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993636352001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:24:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 16:24:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130764969431007232,"km_value":130764969431007.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910653363069796352,"description":"Unknown IO ID 45"} 
[2026-09-10 16:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993636352001,"power":13254,"unknown_96":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8910653363069796352}} 
[2026-09-10 16:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":177826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:24:58] local.INFO: GPS data processed {"connection_id":177826,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:24:58] local.INFO: Acknowledgment sent {"connection_id":177826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:25:10] local.INFO: TCP Data received {"connection_id":179197,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af466a0012d163a00071fdbe80026008628..."} 
[2026-09-10 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af466a0012d163a00071fdbe80026008628..."} 
[2026-09-10 16:25:10] local.INFO: Processing buffer {"connection_id":179197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af466a0012d163a00071fdbe80026008628..."} 
[2026-09-10 16:25:10] local.INFO: Packet analysis {"connection_id":179197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:10] local.INFO: Extracted packet for processing {"connection_id":179197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756431360,"raw_latitude":119528424,"longitude_deg":75.643136,"latitude_deg":11.9528424,"altitude":38,"angle":134,"satellites":40,"speed":15,"hex_longitude":"2d163a00","hex_latitude":"071fdbe8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993642752001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19285060289036288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601311173106272256,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789037668000,"timestamp_ms":1789037668000,"timestamp_seconds":1789037668,"priority":1,"record_length":96,"hex_timestamp":"000001a08af466a0"} 
[2026-09-10 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-09-10 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":179197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":179197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":179197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993642752001,"66":13787,"130":206,"28":31744,"24":15,"16":19285060289036288,"45":1601311173106272256},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993642752001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:25:10] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19285060289036288,"km_value":19285060289036.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601311173106272256,"description":"Unknown IO ID 45"} 
[2026-09-10 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993642752001,"power":13787,"unknown_130":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1601311173106272256}} 
[2026-09-10 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":179197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:25:10] local.INFO: GPS data processed {"connection_id":179197,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:25:10] local.INFO: Acknowledgment sent {"connection_id":179197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:25:18] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:25:18] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:25:18] local.INFO: IMEI packet received {"connection_id":176650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":176650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:25:23] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:25:23] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:25:23] local.INFO: IMEI packet received {"connection_id":176650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":176650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:25:24] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af36ca0012cc43180075562e0001200b52b..."} 
[2026-09-10 16:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af36ca0012cc43180075562e0001200b52b..."} 
[2026-09-10 16:25:24] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af36ca0012cc43180075562e0001200b52b..."} 
[2026-09-10 16:25:24] local.INFO: Packet analysis {"connection_id":176650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:25:24] local.INFO: Extracted packet for processing {"connection_id":176650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af3"} 
[2026-09-10 16:25:24] local.INFO: GPS Element Parsed {"raw_longitude":751055232,"raw_latitude":123036384,"longitude_deg":75.1055232,"latitude_deg":12.3036384,"altitude":18,"angle":181,"satellites":43,"speed":5,"hex_longitude":"2cc43180","hex_latitude":"075562e0","is_valid_coordinates":true} 
[2026-09-10 16:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993624320001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404269852639887360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309522599430885376,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037604000,"timestamp_ms":1789037604000,"timestamp_seconds":1789037604,"priority":1,"record_length":96,"hex_timestamp":"000001a08af36ca0"} 
[2026-09-10 16:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:25: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-09-10 16:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993624320001,"66":27974,"34":206,"85":37632,"24":5,"16":404269852639887360,"44":-4309522599430885376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-10 16:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993624320001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:25:24] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-10 16:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404269852639887360,"km_value":404269852639887.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:25:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309522599430885376,"description":"Unknown IO ID 44"} 
[2026-09-10 16:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993624320001,"power":27974,"unknown_34":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-4309522599430885376}} 
[2026-09-10 16:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":176650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:25:24] local.INFO: GPS data processed {"connection_id":176650,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:25:24] local.INFO: Acknowledgment sent {"connection_id":176650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:25:27] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:25:27] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:25:27] local.INFO: IMEI packet received {"connection_id":176651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":176651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:25:29] local.INFO: TCP Data received {"connection_id":177826,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af44378012d7bc38005e63c300003008d1b..."} 
[2026-09-10 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af44378012d7bc38005e63c300003008d1b..."} 
[2026-09-10 16:25:29] local.INFO: Processing buffer {"connection_id":177826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af44378012d7bc38005e63c300003008d1b..."} 
[2026-09-10 16:25:29] local.INFO: Packet analysis {"connection_id":177826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:29] local.INFO: Extracted packet for processing {"connection_id":177826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":98974768,"longitude_deg":76.3085696,"latitude_deg":9.8974768,"altitude":3,"angle":141,"satellites":27,"speed":13,"hex_longitude":"2d7bc380","hex_latitude":"05e63c30","is_valid_coordinates":true} 
[2026-09-10 16:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993639168001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130765175589437440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018881054720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789037659000,"timestamp_ms":1789037659000,"timestamp_seconds":1789037659,"priority":1,"record_length":96,"hex_timestamp":"000001a08af44378"} 
[2026-09-10 16:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 16:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:25:29] 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-09-10 16:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993639168001,"66":13178,"96":206,"87":13824,"24":13,"16":130765175589437440,"45":8915931018881054720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-10 16:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993639168001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:25:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 16:25:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130765175589437440,"km_value":130765175589437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018881054720,"description":"Unknown IO ID 45"} 
[2026-09-10 16:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993639168001,"power":13178,"unknown_96":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8915931018881054720}} 
[2026-09-10 16:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":177826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:25:29] local.INFO: GPS data processed {"connection_id":177826,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:25:29] local.INFO: Acknowledgment sent {"connection_id":177826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:25:30] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:25:30] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:25:30] local.INFO: IMEI packet received {"connection_id":176651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":176651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:25:31] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af46a88012d163b40071fdb100026007728..."} 
[2026-09-10 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af46a88012d163b40071fdb100026007728..."} 
[2026-09-10 16:25:31] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af46a88012d163b40071fdb100026007728..."} 
[2026-09-10 16:25:31] local.INFO: Packet analysis {"connection_id":176651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:31] local.INFO: Extracted packet for processing {"connection_id":176651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756431680,"raw_latitude":119528208,"longitude_deg":75.643168,"latitude_deg":11.9528208,"altitude":38,"angle":119,"satellites":40,"speed":16,"hex_longitude":"2d163b40","hex_latitude":"071fdb10","is_valid_coordinates":true} 
[2026-09-10 16:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993643008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19285077468905472,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601592648082909184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789037669000,"timestamp_ms":1789037669000,"timestamp_seconds":1789037669,"priority":1,"record_length":96,"hex_timestamp":"000001a08af46a88"} 
[2026-09-10 16:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-10 16:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993643008001,"66":13787,"130":206,"28":31744,"24":16,"16":19285077468905472,"45":1601592648082909184},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993643008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:25:31] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19285077468905472,"km_value":19285077468905.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601592648082909184,"description":"Unknown IO ID 45"} 
[2026-09-10 16:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993643008001,"power":13787,"unknown_130":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1601592648082909184}} 
[2026-09-10 16:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":176651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:25:31] local.INFO: GPS data processed {"connection_id":176651,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:25:31] local.INFO: Acknowledgment sent {"connection_id":176651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:25:52] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:52] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:52] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:25:56] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:56] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:56] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:25:57] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:57] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:25:57] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:25:59] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af466a0012d7bc90005e631c80000009b1b..."} 
[2026-09-10 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af466a0012d7bc90005e631c80000009b1b..."} 
[2026-09-10 16:25:59] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af466a0012d7bc90005e631c80000009b1b..."} 
[2026-09-10 16:25:59] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:59] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763087104,"raw_latitude":98972104,"longitude_deg":76.3087104,"latitude_deg":9.8972104,"altitude":0,"angle":155,"satellites":27,"speed":14,"hex_longitude":"2d7bc900","hex_latitude":"05e631c8","is_valid_coordinates":true} 
[2026-09-10 16:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993640704001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130765321618325504,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112449949609984,"note":"Value kept but may cause issues"} 
[2026-09-10 16:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789037668000,"timestamp_ms":1789037668000,"timestamp_seconds":1789037668,"priority":1,"record_length":96,"hex_timestamp":"000001a08af466a0"} 
[2026-09-10 16:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-10 16:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:25: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-09-10 16:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993640704001,"66":13059,"95":206,"87":13824,"24":14,"16":130765321618325504,"45":8918112449949609984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 16:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993640704001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:25:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 16:25:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130765321618325504,"km_value":130765321618325.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112449949609984,"description":"Unknown IO ID 45"} 
[2026-09-10 16:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993640704001,"power":13059,"unknown_95":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8918112449949609984}} 
[2026-09-10 16:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:25:59] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:25:59] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:03] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af4b4c0012d7bd2c005e61360000000a31a..."} 
[2026-09-10 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af4b4c0012d7bd2c005e61360000000a31a..."} 
[2026-09-10 16:26:03] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af4b4c0012d7bd2c005e61360000000a31a..."} 
[2026-09-10 16:26:03] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:26:03] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763089600,"raw_latitude":98964320,"longitude_deg":76.30896,"latitude_deg":9.896432,"altitude":0,"angle":163,"satellites":26,"speed":22,"hex_longitude":"2d7bd2c0","hex_latitude":"05e61360","is_valid_coordinates":true} 
[2026-09-10 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993643008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130765721050284032,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919660562320836608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789037688000,"timestamp_ms":1789037688000,"timestamp_seconds":1789037688,"priority":1,"record_length":96,"hex_timestamp":"000001a08af4b4c0"} 
[2026-09-10 16:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169203653965,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331223864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58079734643818523,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":138,"raw_value":4092174337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-09-10 16:26:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":524452,"corrected_to":0} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2433286144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3870818304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,95,87,24,241,157,16,146,160,67,45,128,60,3,27,10,66,96,44,192,74,4,1,240,220,227,145,138,230,113,205,28,198,156,200,26,239,52,2,208,5,7],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0},{"io_id":200,"original":524452,"validated":0}]} 
[2026-09-10 16:26:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":170540267339776,"timestamp_seconds":170540267339.776,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:26:03] 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-09-10 16:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993643008001,"66":13048,"95":206,"87":13824,"24":22,"16":130765721050284032,"45":8919660562320836608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-10 16:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993643008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130765721050284032,"km_value":130765721050284.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919660562320836608,"description":"Unknown IO ID 45"} 
[2026-09-10 16:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993643008001,"power":13048,"unknown_95":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8919660562320836608}} 
[2026-09-10 16:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:03] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:03] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:03] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af4d7e8012d166c40071fab00001f005c28..."} 
[2026-09-10 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af4d7e8012d166c40071fab00001f005c28..."} 
[2026-09-10 16:26:03] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af4d7e8012d166c40071fab00001f005c28..."} 
[2026-09-10 16:26:03] local.INFO: Packet analysis {"connection_id":176651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:26:03] local.INFO: Extracted packet for processing {"connection_id":176651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756444224,"raw_latitude":119515904,"longitude_deg":75.6444224,"latitude_deg":11.9515904,"altitude":31,"angle":92,"satellites":40,"speed":29,"hex_longitude":"2d166c40","hex_latitude":"071fab00","is_valid_coordinates":true} 
[2026-09-10 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993649920001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19285970822103040,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1614047915799209984,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:03] 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-09-10 16:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789037697000,"timestamp_ms":1789037697000,"timestamp_seconds":1789037697,"priority":1,"record_length":96,"hex_timestamp":"000001a08af4d7e8"} 
[2026-09-10 16:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 16:26: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-09-10 16:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993649920001,"66":14396,"131":206,"28":31744,"24":29,"16":19285970822103040,"45":1614047915799209984},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993649920001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19285970822103040,"km_value":19285970822103.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1614047915799209984,"description":"Unknown IO ID 45"} 
[2026-09-10 16:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993649920001,"power":14396,"unknown_131":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1614047915799209984}} 
[2026-09-10 16:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":176651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:03] local.INFO: GPS data processed {"connection_id":176651,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:03] local.INFO: Acknowledgment sent {"connection_id":176651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:13] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af4dbd0012cc3c24007542520000d00b622..."} 
[2026-09-10 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af4dbd0012cc3c24007542520000d00b622..."} 
[2026-09-10 16:26:13] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af4dbd0012cc3c24007542520000d00b622..."} 
[2026-09-10 16:26:13] local.INFO: Packet analysis {"connection_id":176650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:26:13] local.INFO: Extracted packet for processing {"connection_id":176650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af4"} 
[2026-09-10 16:26:13] local.INFO: GPS Element Parsed {"raw_longitude":751026752,"raw_latitude":122955040,"longitude_deg":75.1026752,"latitude_deg":12.295504,"altitude":13,"angle":182,"satellites":34,"speed":21,"hex_longitude":"2cc3c240","hex_latitude":"07542520","is_valid_coordinates":true} 
[2026-09-10 16:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993648896001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404274160492085248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4339992265679640576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789037698000,"timestamp_ms":1789037698000,"timestamp_seconds":1789037698,"priority":1,"record_length":96,"hex_timestamp":"000001a08af4dbd0"} 
[2026-09-10 16:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 16:26:13] 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-09-10 16:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:26: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-09-10 16:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993648896001,"66":27974,"5":206,"85":37632,"24":21,"16":404274160492085248,"44":-4339992265679640576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-09-10 16:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993648896001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:13] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 16:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404274160492085248,"km_value":404274160492085.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4339992265679640576,"description":"Unknown IO ID 44"} 
[2026-09-10 16:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993648896001,"power":27974,"unknown_5":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-4339992265679640576}} 
[2026-09-10 16:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":176650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:13] local.INFO: GPS data processed {"connection_id":176650,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:13] local.INFO: Acknowledgment sent {"connection_id":176650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:26] local.INFO: TCP Data received {"connection_id":179199,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:26] local.INFO: Processing buffer {"connection_id":179199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:26] local.INFO: IMEI packet received {"connection_id":179199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":179199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:26:26] local.INFO: TCP Data received {"connection_id":179199,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:26] local.INFO: Processing buffer {"connection_id":179199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:26] local.INFO: IMEI packet received {"connection_id":179199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":179199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:26:28] local.INFO: TCP Data received {"connection_id":177829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:26:28] local.INFO: Processing buffer {"connection_id":177829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:26:28] local.INFO: IMEI packet received {"connection_id":177829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":177829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:26:29] local.INFO: TCP Data received {"connection_id":179199,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:29] local.INFO: Processing buffer {"connection_id":179199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:29] local.INFO: IMEI packet received {"connection_id":179199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":179199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:26:33] local.INFO: TCP Data received {"connection_id":179199,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:33] local.INFO: Processing buffer {"connection_id":179199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:26:33] local.INFO: IMEI packet received {"connection_id":179199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":179199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:26:34] local.INFO: TCP Data received {"connection_id":177829,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:26:34] local.INFO: Processing buffer {"connection_id":177829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:26:34] local.INFO: IMEI packet received {"connection_id":177829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":177829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:26:34] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af5f510012d7c348005e54d20000400b01a..."} 
[2026-09-10 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af5f510012d7c348005e54d20000400b01a..."} 
[2026-09-10 16:26:34] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af5f510012d7c348005e54d20000400b01a..."} 
[2026-09-10 16:26:34] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:34] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763114624,"raw_latitude":98913568,"longitude_deg":76.3114624,"latitude_deg":9.8913568,"altitude":4,"angle":176,"satellites":26,"speed":12,"hex_longitude":"2d7c3480","hex_latitude":"05e54d20","is_valid_coordinates":true} 
[2026-09-10 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993668608001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130768529958895616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949919122302382080,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26: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-09-10 16:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789037770000,"timestamp_ms":1789037770000,"timestamp_seconds":1789037770,"priority":1,"record_length":96,"hex_timestamp":"000001a08af5f510"} 
[2026-09-10 16:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331319864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13457448,"corrected_to":0} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":138,"raw_value":4116494337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-2528771190759089408,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1479016654,"corrected_to":0} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2415996284,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2478440448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3856259072,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57799299061143350,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":245,"raw_value":1333066784566280197,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,39,87,24,241,157,16,149,160,182,45,128,3,26,10,66,159,64,105,148,127,1,240,203,227,138,229,4,113,205,38,57,2,40,27,239,51,208,5,20,133,245],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13457448,"validated":0},{"io_id":205,"original":1479016654,"validated":0}]} 
[2026-09-10 16:26:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288448195418587136,"timestamp_seconds":288448195418587.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:26:34] 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-09-10 16:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993668608001,"66":13428,"39":206,"87":13824,"24":12,"16":130768529958895616,"45":8949919122302382080},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993668608001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130768529958895616,"km_value":130768529958895.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949919122302382080,"description":"Unknown IO ID 45"} 
[2026-09-10 16:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993668608001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8949919122302382080}} 
[2026-09-10 16:26:34] local.INFO: TCP Data received {"connection_id":177829,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af506c8012cc3c34007541560000d00aa25..."} 
[2026-09-10 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af506c8012cc3c34007541560000d00aa25..."} 
[2026-09-10 16:26:34] local.INFO: Processing buffer {"connection_id":177829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af506c8012cc3c34007541560000d00aa25..."} 
[2026-09-10 16:26:34] local.INFO: Packet analysis {"connection_id":177829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:34] local.INFO: Extracted packet for processing {"connection_id":177829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":751027008,"raw_latitude":122951008,"longitude_deg":75.1027008,"latitude_deg":12.2951008,"altitude":13,"angle":170,"satellites":37,"speed":21,"hex_longitude":"2cc3c340","hex_latitude":"07541560","is_valid_coordinates":true} 
[2026-09-10 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993650688001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404274358060580864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4340836690611068928,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789037709000,"timestamp_ms":1789037709000,"timestamp_seconds":1789037709,"priority":1,"record_length":96,"hex_timestamp":"000001a08af506c8"} 
[2026-09-10 16:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16: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-09-10 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 16:26:34] 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-09-10 16:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:26: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-09-10 16:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993650688001,"66":27843,"5":206,"85":37632,"24":21,"16":404274358060580864,"44":-4340836690611068928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-09-10 16:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993650688001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404274358060580864,"km_value":404274358060580.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4340836690611068928,"description":"Unknown IO ID 44"} 
[2026-09-10 16:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993650688001,"power":27843,"unknown_5":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-4340836690611068928}} 
[2026-09-10 16:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":177829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:35] local.INFO: GPS data processed {"connection_id":177829,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:35] local.INFO: Acknowledgment sent {"connection_id":177829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:35] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:35] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:35] local.INFO: TCP Data received {"connection_id":179199,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af59750012d168a80071fa7f00020011a26..."} 
[2026-09-10 16:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af59750012d168a80071fa7f00020011a26..."} 
[2026-09-10 16:26:35] local.INFO: Processing buffer {"connection_id":179199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af59750012d168a80071fa7f00020011a26..."} 
[2026-09-10 16:26:35] local.INFO: Packet analysis {"connection_id":179199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:35] local.INFO: Extracted packet for processing {"connection_id":179199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756451968,"raw_latitude":119515120,"longitude_deg":75.6451968,"latitude_deg":11.951512,"altitude":32,"angle":282,"satellites":38,"speed":4,"hex_longitude":"2d168a80","hex_latitude":"071fa7f0","is_valid_coordinates":true} 
[2026-09-10 16:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993662720001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286408908767232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1624392121193054208,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:35] 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-09-10 16:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789037746000,"timestamp_ms":1789037746000,"timestamp_seconds":1789037746,"priority":1,"record_length":96,"hex_timestamp":"000001a08af59750"} 
[2026-09-10 16:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 16:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993662720001,"66":12993,"131":206,"28":31744,"24":4,"16":19286408908767232,"45":1624392121193054208},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993662720001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286408908767232,"km_value":19286408908767.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1624392121193054208,"description":"Unknown IO ID 45"} 
[2026-09-10 16:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993662720001,"power":12993,"unknown_131":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1624392121193054208}} 
[2026-09-10 16:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":179199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:35] local.INFO: GPS data processed {"connection_id":179199,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:35] local.INFO: Acknowledgment sent {"connection_id":179199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:37] local.INFO: TCP Data received {"connection_id":179199,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af59f20012d168980071fa7f0002000fe27..."} 
[2026-09-10 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af59f20012d168980071fa7f0002000fe27..."} 
[2026-09-10 16:26:37] local.INFO: Processing buffer {"connection_id":179199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af59f20012d168980071fa7f0002000fe27..."} 
[2026-09-10 16:26:37] local.INFO: Packet analysis {"connection_id":179199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:37] local.INFO: Extracted packet for processing {"connection_id":179199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756451712,"raw_latitude":119515120,"longitude_deg":75.6451712,"latitude_deg":11.951512,"altitude":32,"angle":254,"satellites":39,"speed":5,"hex_longitude":"2d168980","hex_latitude":"071fa7f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993662976001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286421793669120,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1624251383704711168,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:37] 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-09-10 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789037748000,"timestamp_ms":1789037748000,"timestamp_seconds":1789037748,"priority":1,"record_length":96,"hex_timestamp":"000001a08af59f20"} 
[2026-09-10 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-09-10 16:26: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993662976001,"66":13156,"131":206,"28":31744,"24":5,"16":19286421793669120,"45":1624251383704711168},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993662976001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286421793669120,"km_value":19286421793669.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1624251383704711168,"description":"Unknown IO ID 45"} 
[2026-09-10 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993662976001,"power":13156,"unknown_131":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1624251383704711168}} 
[2026-09-10 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":179199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:37] local.INFO: GPS data processed {"connection_id":179199,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:37] local.INFO: Acknowledgment sent {"connection_id":179199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:26:52] local.INFO: TCP Data received {"connection_id":179200,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:52] local.INFO: Processing buffer {"connection_id":179200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:52] local.INFO: IMEI packet received {"connection_id":179200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":179200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:26:56] local.INFO: TCP Data received {"connection_id":179200,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:56] local.INFO: Processing buffer {"connection_id":179200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:56] local.INFO: IMEI packet received {"connection_id":179200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":179200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:26:57] local.INFO: TCP Data received {"connection_id":179200,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:57] local.INFO: Processing buffer {"connection_id":179200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:26:57] local.INFO: IMEI packet received {"connection_id":179200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":179200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:26:58] local.INFO: TCP Data received {"connection_id":179200,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af5f8f8012d7c350005e54b98000400a11a..."} 
[2026-09-10 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af5f8f8012d7c350005e54b98000400a11a..."} 
[2026-09-10 16:26:58] local.INFO: Processing buffer {"connection_id":179200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af5f8f8012d7c350005e54b98000400a11a..."} 
[2026-09-10 16:26:58] local.INFO: Packet analysis {"connection_id":179200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:58] local.INFO: Extracted packet for processing {"connection_id":179200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763114752,"raw_latitude":98913176,"longitude_deg":76.3114752,"latitude_deg":9.8913176,"altitude":4,"angle":161,"satellites":26,"speed":16,"hex_longitude":"2d7c3500","hex_latitude":"05e54b98","is_valid_coordinates":true} 
[2026-09-10 16:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993669120001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130768551433732096,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949919122302246912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789037771000,"timestamp_ms":1789037771000,"timestamp_seconds":1789037771,"priority":1,"record_length":96,"hex_timestamp":"000001a08af5f8f8"} 
[2026-09-10 16:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-10 16:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:26:58] 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-09-10 16:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993669120001,"66":13222,"39":206,"87":13824,"24":16,"16":130768551433732096,"45":8949919122302246912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993669120001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:26:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130768551433732096,"km_value":130768551433732.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949919122302246912,"description":"Unknown IO ID 45"} 
[2026-09-10 16:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993669120001,"power":13222,"unknown_39":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8949919122302246912}} 
[2026-09-10 16:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":179200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:26:58] local.INFO: GPS data processed {"connection_id":179200,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:26:58] local.INFO: Acknowledgment sent {"connection_id":179200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:27:09] local.INFO: TCP Data received {"connection_id":179199,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af5aad8012d168800071fa7b80020011b27..."} 
[2026-09-10 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af5aad8012d168800071fa7b80020011b27..."} 
[2026-09-10 16:27:09] local.INFO: Processing buffer {"connection_id":179199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af5aad8012d168800071fa7b80020011b27..."} 
[2026-09-10 16:27:09] local.INFO: Packet analysis {"connection_id":179199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:09] local.INFO: Extracted packet for processing {"connection_id":179199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756451328,"raw_latitude":119515064,"longitude_deg":75.6451328,"latitude_deg":11.9515064,"altitude":32,"angle":283,"satellites":39,"speed":5,"hex_longitude":"2d168800","hex_latitude":"071fa7b8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993663488001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286438973538304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623969908728000512,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:09] 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-09-10 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789037751000,"timestamp_ms":1789037751000,"timestamp_seconds":1789037751,"priority":1,"record_length":96,"hex_timestamp":"000001a08af5aad8"} 
[2026-09-10 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-09-10 16:27: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-09-10 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-10 16:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993663488001,"66":13243,"131":206,"28":31744,"24":5,"16":19286438973538304,"45":1623969908728000512},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993663488001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:27:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286438973538304,"km_value":19286438973538.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623969908728000512,"description":"Unknown IO ID 45"} 
[2026-09-10 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993663488001,"power":13243,"unknown_131":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1623969908728000512}} 
[2026-09-10 16:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":179199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:27:09] local.INFO: GPS data processed {"connection_id":179199,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:27:09] local.INFO: Acknowledgment sent {"connection_id":179199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:27:23] local.INFO: TCP Data received {"connection_id":179201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:23] local.INFO: Processing buffer {"connection_id":179201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:23] local.INFO: IMEI packet received {"connection_id":179201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":179201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:27:23] local.INFO: TCP Data received {"connection_id":179201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:23] local.INFO: Processing buffer {"connection_id":179201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:23] local.INFO: IMEI packet received {"connection_id":179201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":179201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:27:26] local.INFO: TCP Data received {"connection_id":176652,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:27:26] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:27:26] local.INFO: IMEI packet received {"connection_id":176652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":176652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:27:29] local.INFO: TCP Data received {"connection_id":179201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:29] local.INFO: Processing buffer {"connection_id":179201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:27:29] local.INFO: IMEI packet received {"connection_id":179201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":179201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:27:30] local.INFO: TCP Data received {"connection_id":179201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af52608012cc3c88007540238000c009f24..."} 
[2026-09-10 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af52608012cc3c88007540238000c009f24..."} 
[2026-09-10 16:27:30] local.INFO: Processing buffer {"connection_id":179201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af52608012cc3c88007540238000c009f24..."} 
[2026-09-10 16:27:30] local.INFO: Packet analysis {"connection_id":179201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:30] local.INFO: Extracted packet for processing {"connection_id":179201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:30] local.INFO: GPS Element Parsed {"raw_longitude":751028352,"raw_latitude":122946104,"longitude_deg":75.1028352,"latitude_deg":12.2946104,"altitude":12,"angle":159,"satellites":36,"speed":30,"hex_longitude":"2cc3c880","hex_latitude":"07540238","is_valid_coordinates":true} 
[2026-09-10 16:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993653504001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404274607168684032,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4340555215635390464,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789037717000,"timestamp_ms":1789037717000,"timestamp_seconds":1789037717,"priority":1,"record_length":96,"hex_timestamp":"000001a08af52608"} 
[2026-09-10 16:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:27: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-09-10 16:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993653504001,"66":27887,"185":206,"85":37632,"24":30,"16":404274607168684032,"44":-4340555215635390464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-10 16:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993653504001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404274607168684032,"km_value":404274607168684.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4340555215635390464,"description":"Unknown IO ID 44"} 
[2026-09-10 16:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993653504001,"power":27887,"unknown_185":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-4340555215635390464}} 
[2026-09-10 16:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":179201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:27:30] local.INFO: GPS data processed {"connection_id":179201,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:27:30] local.INFO: Acknowledgment sent {"connection_id":179201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:27:30] local.INFO: TCP Data received {"connection_id":179200,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af62fa8012d7c3e0005e529700003009c1b..."} 
[2026-09-10 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af62fa8012d7c3e0005e529700003009c1b..."} 
[2026-09-10 16:27:30] local.INFO: Processing buffer {"connection_id":179200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af62fa8012d7c3e0005e529700003009c1b..."} 
[2026-09-10 16:27:30] local.INFO: Packet analysis {"connection_id":179200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:27:30] local.INFO: Extracted packet for processing {"connection_id":179200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":98904432,"longitude_deg":76.3117056,"latitude_deg":9.8904432,"altitude":3,"angle":156,"satellites":27,"speed":16,"hex_longitude":"2d7c3e00","hex_latitude":"05e52970","is_valid_coordinates":true} 
[2026-09-10 16:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993669376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130768989520396288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950059859790501888,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789037785000,"timestamp_ms":1789037785000,"timestamp_seconds":1789037785,"priority":1,"record_length":96,"hex_timestamp":"000001a08af62fa8"} 
[2026-09-10 16:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:27:30] 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-09-10 16:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993669376001,"66":13254,"39":206,"87":13824,"24":16,"16":130768989520396288,"45":8950059859790501888},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993669376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130768989520396288,"km_value":130768989520396.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950059859790501888,"description":"Unknown IO ID 45"} 
[2026-09-10 16:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993669376001,"power":13254,"unknown_39":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8950059859790501888}} 
[2026-09-10 16:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":179200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:27:30] local.INFO: GPS data processed {"connection_id":179200,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:27:30] local.INFO: Acknowledgment sent {"connection_id":179200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:27:32] local.INFO: TCP Data received {"connection_id":176652,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:27:32] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:27:32] local.INFO: IMEI packet received {"connection_id":176652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":176652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:27:33] local.INFO: TCP Data received {"connection_id":176652,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af5fce0012d168780071fa8180020012429..."} 
[2026-09-10 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af5fce0012d168780071fa8180020012429..."} 
[2026-09-10 16:27:33] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af5fce0012d168780071fa8180020012429..."} 
[2026-09-10 16:27:33] local.INFO: Packet analysis {"connection_id":176652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:33] local.INFO: Extracted packet for processing {"connection_id":176652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":41,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993664256001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623547696262920192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:33] 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-09-10 16:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037772000,"timestamp_ms":1789037772000,"timestamp_seconds":1789037772,"priority":1,"record_length":96,"hex_timestamp":"000001a08af5fce0"} 
[2026-09-10 16:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 16:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993664256001,"66":13124,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623547696262920192},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993664256001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:27:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:27:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623547696262920192,"description":"Unknown IO ID 45"} 
[2026-09-10 16:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993664256001,"power":13124,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623547696262920192}} 
[2026-09-10 16:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":176652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:27:33] local.INFO: GPS data processed {"connection_id":176652,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:27:33] local.INFO: Acknowledgment sent {"connection_id":176652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:27:34] local.INFO: TCP Data received {"connection_id":179201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af560a0012cc3d6c00753e1e8000b009c29..."} 
[2026-09-10 16:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af560a0012cc3d6c00753e1e8000b009c29..."} 
[2026-09-10 16:27:34] local.INFO: Processing buffer {"connection_id":179201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af560a0012cc3d6c00753e1e8000b009c29..."} 
[2026-09-10 16:27:34] local.INFO: Packet analysis {"connection_id":179201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:34] local.INFO: Extracted packet for processing {"connection_id":179201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:27:34] local.INFO: GPS Element Parsed {"raw_longitude":751032000,"raw_latitude":122937832,"longitude_deg":75.1032,"latitude_deg":12.2937832,"altitude":11,"angle":156,"satellites":41,"speed":10,"hex_longitude":"2cc3d6c0","hex_latitude":"0753e1e8","is_valid_coordinates":true} 
[2026-09-10 16:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993655552001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404275045255348224,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4339077472008914944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789037732000,"timestamp_ms":1789037732000,"timestamp_seconds":1789037732,"priority":1,"record_length":96,"hex_timestamp":"000001a08af560a0"} 
[2026-09-10 16:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 16:27: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-09-10 16:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:27: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-09-10 16:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993655552001,"66":27908,"185":206,"85":37632,"24":10,"16":404275045255348224,"44":-4339077472008914944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-10 16:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993655552001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:27:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-10 16:27:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404275045255348224,"km_value":404275045255348.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4339077472008914944,"description":"Unknown IO ID 44"} 
[2026-09-10 16:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993655552001,"power":27908,"unknown_185":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-4339077472008914944}} 
[2026-09-10 16:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":179201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:27:34] local.INFO: GPS data processed {"connection_id":179201,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:27:34] local.INFO: Acknowledgment sent {"connection_id":179201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:27:52] local.INFO: TCP Data received {"connection_id":177830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:52] local.INFO: Processing buffer {"connection_id":177830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:52] local.INFO: IMEI packet received {"connection_id":177830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":177830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:27:57] local.INFO: TCP Data received {"connection_id":177830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:57] local.INFO: Processing buffer {"connection_id":177830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:57] local.INFO: IMEI packet received {"connection_id":177830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":177830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:27:57] local.INFO: TCP Data received {"connection_id":177830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:57] local.INFO: Processing buffer {"connection_id":177830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:27:57] local.INFO: IMEI packet received {"connection_id":177830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":177830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:27:59] local.INFO: TCP Data received {"connection_id":177830,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af64ee8012d7c418005e521980001008d1a..."} 
[2026-09-10 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af64ee8012d7c418005e521980001008d1a..."} 
[2026-09-10 16:27:59] local.INFO: Processing buffer {"connection_id":177830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af64ee8012d7c418005e521980001008d1a..."} 
[2026-09-10 16:27:59] local.INFO: Packet analysis {"connection_id":177830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:27:59] local.INFO: Extracted packet for processing {"connection_id":177830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763117952,"raw_latitude":98902424,"longitude_deg":76.3117952,"latitude_deg":9.8902424,"altitude":1,"angle":141,"satellites":26,"speed":12,"hex_longitude":"2d7c4180","hex_latitude":"05e52198","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993672960001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130769096894578688,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134578659328,"note":"Value kept but may cause issues"} 
[2026-09-10 16:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789037793000,"timestamp_ms":1789037793000,"timestamp_seconds":1789037793,"priority":1,"record_length":96,"hex_timestamp":"000001a08af64ee8"} 
[2026-09-10 16:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 16:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:27: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-09-10 16:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993672960001,"66":13102,"39":206,"87":13824,"24":12,"16":130769096894578688,"45":8952593134578659328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993672960001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:27:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:27:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130769096894578688,"km_value":130769096894578.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134578659328,"description":"Unknown IO ID 45"} 
[2026-09-10 16:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993672960001,"power":13102,"unknown_39":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8952593134578659328}} 
[2026-09-10 16:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":177830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:27:59] local.INFO: GPS data processed {"connection_id":177830,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:27:59] local.INFO: Acknowledgment sent {"connection_id":177830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:03] local.INFO: TCP Data received {"connection_id":177830,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af66a40012d7c42c005e51f70000100c41a..."} 
[2026-09-10 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af66a40012d7c42c005e51f70000100c41a..."} 
[2026-09-10 16:28:03] local.INFO: Processing buffer {"connection_id":177830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af66a40012d7c42c005e51f70000100c41a..."} 
[2026-09-10 16:28:03] local.INFO: Packet analysis {"connection_id":177830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:03] local.INFO: Extracted packet for processing {"connection_id":177830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":98901872,"longitude_deg":76.3118272,"latitude_deg":9.8901872,"altitude":1,"angle":196,"satellites":26,"speed":9,"hex_longitude":"2d7c42c0","hex_latitude":"05e51f70","is_valid_coordinates":true} 
[2026-09-10 16:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993675008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130769135549284352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953578296996632576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789037800000,"timestamp_ms":1789037800000,"timestamp_seconds":1789037800,"priority":1,"record_length":96,"hex_timestamp":"000001a08af66a40"} 
[2026-09-10 16:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 16:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:28:03] 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-09-10 16:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993675008001,"66":12906,"39":206,"87":13824,"24":9,"16":130769135549284352,"45":8953578296996632576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993675008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:28:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:28:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130769135549284352,"km_value":130769135549284.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953578296996632576,"description":"Unknown IO ID 45"} 
[2026-09-10 16:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993675008001,"power":12906,"unknown_39":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8953578296996632576}} 
[2026-09-10 16:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":177830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:28:03] local.INFO: GPS data processed {"connection_id":177830,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:28:03] local.INFO: Acknowledgment sent {"connection_id":177830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:05] local.INFO: TCP Data received {"connection_id":176652,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af64ee8012d168780071fa8180020012426..."} 
[2026-09-10 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af64ee8012d168780071fa8180020012426..."} 
[2026-09-10 16:28:05] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af64ee8012d168780071fa8180020012426..."} 
[2026-09-10 16:28:05] local.INFO: Packet analysis {"connection_id":176652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:05] local.INFO: Extracted packet for processing {"connection_id":176652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993669632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:05] 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-09-10 16:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789037793000,"timestamp_ms":1789037793000,"timestamp_seconds":1789037793,"priority":1,"record_length":96,"hex_timestamp":"000001a08af64ee8"} 
[2026-09-10 16:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-10 16:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993669632001,"66":12504,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993669632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:28:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993669632001,"power":12504,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":176652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:28:05] local.INFO: GPS data processed {"connection_id":176652,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:28:05] local.INFO: Acknowledgment sent {"connection_id":176652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:16] local.INFO: TCP Data received {"connection_id":179203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:16] local.INFO: Processing buffer {"connection_id":179203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:16] local.INFO: IMEI packet received {"connection_id":179203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":179203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:28:19] local.INFO: TCP Data received {"connection_id":179203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:19] local.INFO: Processing buffer {"connection_id":179203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:19] local.INFO: IMEI packet received {"connection_id":179203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":179203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:28:20] local.INFO: TCP Data received {"connection_id":179203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:20] local.INFO: Processing buffer {"connection_id":179203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:20] local.INFO: IMEI packet received {"connection_id":179203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":179203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:28:23] local.INFO: TCP Data received {"connection_id":179203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:23] local.INFO: Processing buffer {"connection_id":179203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:28:23] local.INFO: IMEI packet received {"connection_id":179203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":179203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:28:24] local.INFO: TCP Data received {"connection_id":179203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af59b38012cc3e5c00753c030000a009d2b..."} 
[2026-09-10 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af59b38012cc3e5c00753c030000a009d2b..."} 
[2026-09-10 16:28:24] local.INFO: Processing buffer {"connection_id":179203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af59b38012cc3e5c00753c030000a009d2b..."} 
[2026-09-10 16:28:24] local.INFO: Packet analysis {"connection_id":179203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:28:24] local.INFO: Extracted packet for processing {"connection_id":179203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:28:24] local.INFO: GPS Element Parsed {"raw_longitude":751035840,"raw_latitude":122929200,"longitude_deg":75.103584,"latitude_deg":12.29292,"altitude":10,"angle":157,"satellites":43,"speed":31,"hex_longitude":"2cc3e5c0","hex_latitude":"0753c030","is_valid_coordinates":true} 
[2026-09-10 16:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993659392001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404275500521881600,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4335066453592905728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037747000,"timestamp_ms":1789037747000,"timestamp_seconds":1789037747,"priority":1,"record_length":96,"hex_timestamp":"000001a08af59b38"} 
[2026-09-10 16:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:28: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-09-10 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993659392001,"66":27767,"185":206,"85":37632,"24":31,"16":404275500521881600,"44":-4335066453592905728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-10 16:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993659392001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:28:24] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-10 16:28:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404275500521881600,"km_value":404275500521881.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:28:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4335066453592905728,"description":"Unknown IO ID 44"} 
[2026-09-10 16:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993659392001,"power":27767,"unknown_185":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4335066453592905728}} 
[2026-09-10 16:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":179203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:28:24] local.INFO: GPS data processed {"connection_id":179203,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:28:24] local.INFO: Acknowledgment sent {"connection_id":179203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:26] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:28:26] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:28:26] local.INFO: IMEI packet received {"connection_id":176653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":176653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:28:31] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:28:31] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:28:31] local.INFO: IMEI packet received {"connection_id":176653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":176653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:28:32] local.INFO: TCP Data received {"connection_id":177831,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:28:32] local.INFO: Processing buffer {"connection_id":177831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:28:32] local.INFO: IMEI packet received {"connection_id":177831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":177831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:28:32] local.INFO: TCP Data received {"connection_id":177831,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af7e528012d0e0b40070687880020008521..."} 
[2026-09-10 16:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af7e528012d0e0b40070687880020008521..."} 
[2026-09-10 16:28:32] local.INFO: Processing buffer {"connection_id":177831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af7e528012d0e0b40070687880020008521..."} 
[2026-09-10 16:28:32] local.INFO: Packet analysis {"connection_id":177831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:28:32] local.INFO: Extracted packet for processing {"connection_id":177831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:28:32] local.INFO: GPS Element Parsed {"raw_longitude":755895104,"raw_latitude":117868424,"longitude_deg":75.5895104,"latitude_deg":11.7868424,"altitude":32,"angle":133,"satellites":33,"speed":2,"hex_longitude":"2d0e0b40","hex_latitude":"07068788","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993701120001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31198346085400576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011832202704975872,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789037897000,"timestamp_ms":1789037897000,"timestamp_seconds":1789037897,"priority":1,"record_length":96,"hex_timestamp":"000001a08af7e528"} 
[2026-09-10 16:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 16:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993701120001,"66":14439,"219":206,"94":10240,"24":2,"16":31198346085400576,"45":1011832202704975872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993701120001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:28:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:28:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31198346085400576,"km_value":31198346085400.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011832202704975872,"description":"Unknown IO ID 45"} 
[2026-09-10 16:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993701120001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011832202704975872}} 
[2026-09-10 16:28:33] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af6a0f0012d168780071fa8180020012427..."} 
[2026-09-10 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af6a0f0012d168780071fa8180020012427..."} 
[2026-09-10 16:28:33] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af6a0f0012d168780071fa8180020012427..."} 
[2026-09-10 16:28:33] local.INFO: Packet analysis {"connection_id":176653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:33] local.INFO: Extracted packet for processing {"connection_id":176653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993675008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:33] 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-09-10 16:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037814000,"timestamp_ms":1789037814000,"timestamp_seconds":1789037814,"priority":1,"record_length":96,"hex_timestamp":"000001a08af6a0f0"} 
[2026-09-10 16:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 16:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993675008001,"66":13059,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993675008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:28:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993675008001,"power":13059,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":177831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:28:33] local.INFO: GPS data processed {"connection_id":177831,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:28:33] local.INFO: Acknowledgment sent {"connection_id":177831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":176653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:28:33] local.INFO: GPS data processed {"connection_id":176653,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:28:33] local.INFO: Acknowledgment sent {"connection_id":176653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:34] local.INFO: TCP Data received {"connection_id":177830,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af67210012d7c420005e51d38000100d41a..."} 
[2026-09-10 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af67210012d7c420005e51d38000100d41a..."} 
[2026-09-10 16:28:34] local.INFO: Processing buffer {"connection_id":177830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af67210012d7c420005e51d38000100d41a..."} 
[2026-09-10 16:28:34] local.INFO: Packet analysis {"connection_id":177830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:34] local.INFO: Extracted packet for processing {"connection_id":177830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763118080,"raw_latitude":98901304,"longitude_deg":76.311808,"latitude_deg":9.8901304,"altitude":1,"angle":212,"satellites":26,"speed":15,"hex_longitude":"2d7c4200","hex_latitude":"05e51d38","is_valid_coordinates":true} 
[2026-09-10 16:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993676800001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130769161319088128,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140717379584,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28: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-09-10 16:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789037802000,"timestamp_ms":1789037802000,"timestamp_seconds":1789037802,"priority":1,"record_length":96,"hex_timestamp":"000001a08af67210"} 
[2026-09-10 16:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 16:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:28:34] 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-09-10 16:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993676800001,"66":12906,"39":206,"87":13824,"24":15,"16":130769161319088128,"45":8953930140717379584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993676800001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:28:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130769161319088128,"km_value":130769161319088.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140717379584,"description":"Unknown IO ID 45"} 
[2026-09-10 16:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993676800001,"power":12906,"unknown_39":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8953930140717379584}} 
[2026-09-10 16:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":177830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:28:35] local.INFO: GPS data processed {"connection_id":177830,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:28:35] local.INFO: Acknowledgment sent {"connection_id":177830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:35] local.INFO: TCP Data received {"connection_id":179203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af5d1e8012cc3f40007539f10000c009e2a..."} 
[2026-09-10 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af5d1e8012cc3f40007539f10000c009e2a..."} 
[2026-09-10 16:28:35] local.INFO: Processing buffer {"connection_id":179203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af5d1e8012cc3f40007539f10000c009e2a..."} 
[2026-09-10 16:28:35] local.INFO: Packet analysis {"connection_id":179203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:28:35] local.INFO: Extracted packet for processing {"connection_id":179203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af5"} 
[2026-09-10 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":751039488,"raw_latitude":122920720,"longitude_deg":75.1039488,"latitude_deg":12.292072,"altitude":12,"angle":158,"satellites":42,"speed":16,"hex_longitude":"2cc3f400","hex_latitude":"07539f10","is_valid_coordinates":true} 
[2026-09-10 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993663232001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404275947198480384,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4330844328944455680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789037761000,"timestamp_ms":1789037761000,"timestamp_seconds":1789037761,"priority":1,"record_length":96,"hex_timestamp":"000001a08af5d1e8"} 
[2026-09-10 16:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 16:28: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-09-10 16:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:28: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-09-10 16:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993663232001,"66":27876,"185":206,"85":37632,"24":16,"16":404275947198480384,"44":-4330844328944455680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-10 16:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993663232001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:28:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-10 16:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404275947198480384,"km_value":404275947198480.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:28:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4330844328944455680,"description":"Unknown IO ID 44"} 
[2026-09-10 16:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993663232001,"power":27876,"unknown_185":206,"unknown_85":37632,"ignition":16,"odometer":null,"unknown_44":-4330844328944455680}} 
[2026-09-10 16:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":179203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:28:35] local.INFO: GPS data processed {"connection_id":179203,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:28:35] local.INFO: Acknowledgment sent {"connection_id":179203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:28:53] local.INFO: TCP Data received {"connection_id":179204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:28:53] local.INFO: Processing buffer {"connection_id":179204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:28:53] local.INFO: IMEI packet received {"connection_id":179204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":179204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:28:57] local.INFO: TCP Data received {"connection_id":179205,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:28:57] local.INFO: Processing buffer {"connection_id":179205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:28:57] local.INFO: IMEI packet received {"connection_id":179205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":179205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:29:02] local.INFO: TCP Data received {"connection_id":179205,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:02] local.INFO: Processing buffer {"connection_id":179205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:02] local.INFO: IMEI packet received {"connection_id":179205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":179205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:29:03] local.INFO: TCP Data received {"connection_id":179205,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af7f4c8012d7b638005e3c4b0000800d61e..."} 
[2026-09-10 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af7f4c8012d7b638005e3c4b0000800d61e..."} 
[2026-09-10 16:29:03] local.INFO: Processing buffer {"connection_id":179205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af7f4c8012d7b638005e3c4b0000800d61e..."} 
[2026-09-10 16:29:03] local.INFO: Packet analysis {"connection_id":179205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:03] local.INFO: Extracted packet for processing {"connection_id":179205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763061120,"raw_latitude":98813104,"longitude_deg":76.306112,"latitude_deg":9.8813104,"altitude":8,"angle":214,"satellites":30,"speed":28,"hex_longitude":"2d7b6380","hex_latitude":"05e3c4b0","is_valid_coordinates":true} 
[2026-09-10 16:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993698560001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130774233675464704,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896649982936008704,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789037901000,"timestamp_ms":1789037901000,"timestamp_seconds":1789037901,"priority":1,"record_length":96,"hex_timestamp":"000001a08af7f4c8"} 
[2026-09-10 16:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:03] 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-09-10 16:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993698560001,"66":12809,"39":206,"87":13824,"24":28,"16":130774233675464704,"45":8896649982936008704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993698560001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:29:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130774233675464704,"km_value":130774233675464.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896649982936008704,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993698560001,"power":12809,"unknown_39":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8896649982936008704}} 
[2026-09-10 16:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":179205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:03] local.INFO: GPS data processed {"connection_id":179205,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:03] local.INFO: Acknowledgment sent {"connection_id":179205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:04] local.INFO: TCP Data received {"connection_id":177831,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af7e910012d0e0b80070687800020007421..."} 
[2026-09-10 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af7e910012d0e0b80070687800020007421..."} 
[2026-09-10 16:29:04] local.INFO: Processing buffer {"connection_id":177831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af7e910012d0e0b80070687800020007421..."} 
[2026-09-10 16:29:04] local.INFO: Packet analysis {"connection_id":177831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:04] local.INFO: Extracted packet for processing {"connection_id":177831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":755895168,"raw_latitude":117868416,"longitude_deg":75.5895168,"latitude_deg":11.7868416,"altitude":32,"angle":116,"satellites":33,"speed":2,"hex_longitude":"2d0e0b80","hex_latitude":"07068780","is_valid_coordinates":true} 
[2026-09-10 16:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993701632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31198350380367872,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011972940193302528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789037898000,"timestamp_ms":1789037898000,"timestamp_seconds":1789037898,"priority":1,"record_length":96,"hex_timestamp":"000001a08af7e910"} 
[2026-09-10 16:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993701632001,"66":14439,"219":206,"94":10240,"24":2,"16":31198350380367872,"45":1011972940193302528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993701632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:29:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31198350380367872,"km_value":31198350380367.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011972940193302528,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993701632001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011972940193302528}} 
[2026-09-10 16:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":177831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:04] local.INFO: GPS data processed {"connection_id":177831,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:04] local.INFO: Acknowledgment sent {"connection_id":177831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:05] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af6f2f8012d168780071fa8180020012427..."} 
[2026-09-10 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af6f2f8012d168780071fa8180020012427..."} 
[2026-09-10 16:29:05] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af6f2f8012d168780071fa8180020012427..."} 
[2026-09-10 16:29:05] local.INFO: Packet analysis {"connection_id":176653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:29:05] local.INFO: Extracted packet for processing {"connection_id":176653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af6"} 
[2026-09-10 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993680384001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] 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-09-10 16:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789037835000,"timestamp_ms":1789037835000,"timestamp_seconds":1789037835,"priority":1,"record_length":96,"hex_timestamp":"000001a08af6f2f8"} 
[2026-09-10 16:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164824800743,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58015164105490436,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331349864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2147950503,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2817523744,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055399,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2229469184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,131,28,24,241,158,16,132,160,78,45,128,168,32,38,10,66,252,41,170,1,240,187,138,31,4,113,205,5,151,239,50,2,68,7],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-09-10 16:29:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306164234112729088,"timestamp_seconds":2306164234112729.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993680384001,"66":13004,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993680384001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993680384001,"power":13004,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":176653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:05] local.INFO: GPS data processed {"connection_id":176653,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:05] local.INFO: Acknowledgment sent {"connection_id":176653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:08] local.INFO: TCP Data received {"connection_id":179205,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af82f60012d7b4f0005e3a858000800d61f..."} 
[2026-09-10 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af82f60012d7b4f0005e3a858000800d61f..."} 
[2026-09-10 16:29:08] local.INFO: Processing buffer {"connection_id":179205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af82f60012d7b4f0005e3a858000800d61f..."} 
[2026-09-10 16:29:08] local.INFO: Packet analysis {"connection_id":179205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:08] local.INFO: Extracted packet for processing {"connection_id":179205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":98805848,"longitude_deg":76.3055872,"latitude_deg":9.8805848,"altitude":8,"angle":214,"satellites":31,"speed":25,"hex_longitude":"2d7b4f00","hex_latitude":"05e3a858","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993702656001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130774663172194304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891090852144001024,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789037916000,"timestamp_ms":1789037916000,"timestamp_seconds":1789037916,"priority":1,"record_length":96,"hex_timestamp":"000001a08af82f60"} 
[2026-09-10 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-09-10 16:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3963167672253809664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331448864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-649987288817994624,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3221611616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070424,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2556428288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1972154424188938981,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172269742567849,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755639959355633,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:08] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,39,87,24,241,157,16,154,160,182,45,64,226,7,30,10,66,143,29,153,108,128,1,240,166,227,138,228,4,113,205,52,49,201,104,27,239,51,2,208,5,9,56,53,54],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-10 16:29:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576696176642621440,"timestamp_seconds":576696176642621.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 16:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:08] 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-09-10 16:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993702656001,"66":13580,"39":206,"87":13824,"24":25,"16":130774663172194304,"45":8891090852144001024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993702656001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:29:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130774663172194304,"km_value":130774663172194.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891090852144001024,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993702656001,"power":13580,"unknown_39":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8891090852144001024}} 
[2026-09-10 16:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":179205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:08] local.INFO: GPS data processed {"connection_id":179205,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:08] local.INFO: Acknowledgment sent {"connection_id":179205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:16] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:16] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:16] local.INFO: IMEI packet received {"connection_id":176441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":176441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:29:19] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:19] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:19] local.INFO: IMEI packet received {"connection_id":176441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":176441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:29:23] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:23] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:29:23] local.INFO: IMEI packet received {"connection_id":176441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":176441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:29:24] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af7e528012cc4774007525838000f009c2b..."} 
[2026-09-10 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af7e528012cc4774007525838000f009c2b..."} 
[2026-09-10 16:29:24] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af7e528012cc4774007525838000f009c2b..."} 
[2026-09-10 16:29:24] local.INFO: Packet analysis {"connection_id":176441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:24] local.INFO: Extracted packet for processing {"connection_id":176441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:24] local.INFO: GPS Element Parsed {"raw_longitude":751073088,"raw_latitude":122837048,"longitude_deg":75.1073088,"latitude_deg":12.2837048,"altitude":15,"angle":156,"satellites":43,"speed":48,"hex_longitude":"2cc47740","hex_latitude":"07525838","is_valid_coordinates":true} 
[2026-09-10 16:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993699328001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404280310885253120,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4294252581993299968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037897000,"timestamp_ms":1789037897000,"timestamp_seconds":1789037897,"priority":1,"record_length":96,"hex_timestamp":"000001a08af7e528"} 
[2026-09-10 16:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993699328001,"66":27876,"184":206,"85":37632,"24":48,"16":404280310885253120,"44":-4294252581993299968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-09-10 16:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993699328001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:24] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 16:29:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404280310885253120,"km_value":404280310885253.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4294252581993299968,"description":"Unknown IO ID 44"} 
[2026-09-10 16:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993699328001,"power":27876,"unknown_184":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4294252581993299968}} 
[2026-09-10 16:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":176441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:24] local.INFO: GPS data processed {"connection_id":176441,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:24] local.INFO: Acknowledgment sent {"connection_id":176441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:27] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:29:27] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:29:27] local.INFO: IMEI packet received {"connection_id":176442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:29:31] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:29:31] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:29:31] local.INFO: IMEI packet received {"connection_id":176442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":176442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:29:31] local.INFO: TCP Data received {"connection_id":176443,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:29:31] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:29:31] local.INFO: IMEI packet received {"connection_id":176443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":176443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:29:32] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af88d20012d0e324007068620002400111f..."} 
[2026-09-10 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af88d20012d0e324007068620002400111f..."} 
[2026-09-10 16:29:32] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af88d20012d0e324007068620002400111f..."} 
[2026-09-10 16:29:32] local.INFO: Packet analysis {"connection_id":176442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:32] local.INFO: Extracted packet for processing {"connection_id":176442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":755905088,"raw_latitude":117868064,"longitude_deg":75.5905088,"latitude_deg":11.7868064,"altitude":36,"angle":17,"satellites":31,"speed":17,"hex_longitude":"2d0e3240","hex_latitude":"07068620","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993712128001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31198882956312576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620563861504,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789037940000,"timestamp_ms":1789037940000,"timestamp_seconds":1789037940,"priority":1,"record_length":96,"hex_timestamp":"000001a08af88d20"} 
[2026-09-10 16:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993712128001,"66":14537,"219":206,"94":10240,"24":17,"16":31198882956312576,"45":1022598620563861504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993712128001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:29:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31198882956312576,"km_value":31198882956312.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620563861504,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993712128001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1022598620563861504}} 
[2026-09-10 16:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":176442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794930,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:32] local.INFO: GPS data processed {"connection_id":176442,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:32] local.INFO: Acknowledgment sent {"connection_id":176442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:37] local.INFO: TCP Data received {"connection_id":176443,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:29:37] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:29:37] local.INFO: IMEI packet received {"connection_id":176443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":176443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:29:39] local.INFO: TCP Data received {"connection_id":176443,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af74500012d168780071fa8180020012427..."} 
[2026-09-10 16:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af74500012d168780071fa8180020012427..."} 
[2026-09-10 16:29:39] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af74500012d168780071fa8180020012427..."} 
[2026-09-10 16:29:39] local.INFO: Packet analysis {"connection_id":176443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:39] local.INFO: Extracted packet for processing {"connection_id":176443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993685760001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:39] 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-09-10 16:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789037856000,"timestamp_ms":1789037856000,"timestamp_seconds":1789037856,"priority":1,"record_length":96,"hex_timestamp":"000001a08af74500"} 
[2026-09-10 16:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993685760001,"66":12972,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993685760001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993685760001,"power":12972,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":176443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:39] local.INFO: GPS data processed {"connection_id":176443,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:39] local.INFO: Acknowledgment sent {"connection_id":176443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:41] local.INFO: TCP Data received {"connection_id":176443,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af79708012d168780071fa8180020012425..."} 
[2026-09-10 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af79708012d168780071fa8180020012425..."} 
[2026-09-10 16:29:41] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af79708012d168780071fa8180020012425..."} 
[2026-09-10 16:29:41] local.INFO: Packet analysis {"connection_id":176443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:41] local.INFO: Extracted packet for processing {"connection_id":176443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993691136001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:41] 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-09-10 16:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789037877000,"timestamp_ms":1789037877000,"timestamp_seconds":1789037877,"priority":1,"record_length":96,"hex_timestamp":"000001a08af79708"} 
[2026-09-10 16:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993691136001,"66":12950,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993691136001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993691136001,"power":12950,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":176443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:41] local.INFO: GPS data processed {"connection_id":176443,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:41] local.INFO: Acknowledgment sent {"connection_id":176443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:52] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:52] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:52] local.INFO: IMEI packet received {"connection_id":176654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":176654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:29:54] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:54] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:29:54] local.INFO: IMEI packet received {"connection_id":176654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":176654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:29:55] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af86610012d7b3a8005e38918000a00d61e..."} 
[2026-09-10 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af86610012d7b3a8005e38918000a00d61e..."} 
[2026-09-10 16:29:55] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af86610012d7b3a8005e38918000a00d61e..."} 
[2026-09-10 16:29:55] local.INFO: Packet analysis {"connection_id":176654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:55] local.INFO: Extracted packet for processing {"connection_id":176654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763050624,"raw_latitude":98797848,"longitude_deg":76.3050624,"latitude_deg":9.8797848,"altitude":10,"angle":214,"satellites":30,"speed":27,"hex_longitude":"2d7b3a80","hex_latitude":"05e38918","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993706496001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130775127028662272,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320615119575040,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789037930000,"timestamp_ms":1789037930000,"timestamp_seconds":1789037930,"priority":1,"record_length":96,"hex_timestamp":"000001a08af86610"} 
[2026-09-10 16:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632535,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331455864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3415874764244254720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":138,"raw_value":4151054337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634136533948455,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172269742567849,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2563637248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831523328,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-2359879725767196663,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755639959355633,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,39,87,24,241,157,16,154,160,244,45,128,196,8,30,10,66,182,64,226,7,143,1,240,227,153,138,228,4,113,205,46,76,181,152,27,239,53,2,208,5,12,55,123,54],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-10 16:29:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576696180937392128,"timestamp_seconds":576696180937392.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:55] 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-09-10 16:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993706496001,"66":13646,"39":206,"87":13824,"24":27,"16":130775127028662272,"45":8885320615119575040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993706496001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130775127028662272,"km_value":130775127028662.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320615119575040,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993706496001,"power":13646,"unknown_39":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8885320615119575040}} 
[2026-09-10 16:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":176654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:55] local.INFO: GPS data processed {"connection_id":176654,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:55] local.INFO: Acknowledgment sent {"connection_id":176654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:55] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af80080012cc48580075237d8000f009d2b..."} 
[2026-09-10 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af80080012cc48580075237d8000f009d2b..."} 
[2026-09-10 16:29:55] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af80080012cc48580075237d8000f009d2b..."} 
[2026-09-10 16:29:55] local.INFO: Packet analysis {"connection_id":176441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:55] local.INFO: Extracted packet for processing {"connection_id":176441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":751076736,"raw_latitude":122828760,"longitude_deg":75.1076736,"latitude_deg":12.282876,"altitude":15,"angle":157,"satellites":43,"speed":53,"hex_longitude":"2cc48580","hex_latitude":"075237d8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993701632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404280748971917312,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4289889719856646144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789037904000,"timestamp_ms":1789037904000,"timestamp_seconds":1789037904,"priority":1,"record_length":96,"hex_timestamp":"000001a08af80080"} 
[2026-09-10 16:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29: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-09-10 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993701632001,"66":27821,"184":206,"85":37632,"24":53,"16":404280748971917312,"44":-4289889719856646144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-09-10 16:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993701632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404280748971917312,"km_value":404280748971917.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4289889719856646144,"description":"Unknown IO ID 44"} 
[2026-09-10 16:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993701632001,"power":27821,"unknown_184":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4289889719856646144}} 
[2026-09-10 16:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":176441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:55] local.INFO: GPS data processed {"connection_id":176441,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:55] local.INFO: Acknowledgment sent {"connection_id":176441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:29:58] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af8ac60012d7b268005e36b70000600d61e..."} 
[2026-09-10 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af8ac60012d7b268005e36b70000600d61e..."} 
[2026-09-10 16:29:58] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af8ac60012d7b268005e36b70000600d61e..."} 
[2026-09-10 16:29:58] local.INFO: Packet analysis {"connection_id":176654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:58] local.INFO: Extracted packet for processing {"connection_id":176654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98790256,"longitude_deg":76.3045504,"latitude_deg":9.8790256,"altitude":6,"angle":214,"satellites":30,"speed":20,"hex_longitude":"2d7b2680","hex_latitude":"05e36b70","is_valid_coordinates":true} 
[2026-09-10 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993710080001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130775569410293760,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879550378094958592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789037948000,"timestamp_ms":1789037948000,"timestamp_seconds":1789037948,"priority":1,"record_length":96,"hex_timestamp":"000001a08af8ac60"} 
[2026-09-10 16:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 16:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:29:58] 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-09-10 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993710080001,"66":13319,"208":206,"85":15104,"24":20,"16":130775569410293760,"45":8879550378094958592},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993710080001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:29:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130775569410293760,"km_value":130775569410293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879550378094958592,"description":"Unknown IO ID 45"} 
[2026-09-10 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993710080001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8879550378094958592}} 
[2026-09-10 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":176654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:29:58] local.INFO: GPS data processed {"connection_id":176654,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:29:58] local.INFO: Acknowledgment sent {"connection_id":176654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:03] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af898d8012d0e338007068be0002500041e..."} 
[2026-09-10 16:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af898d8012d0e338007068be0002500041e..."} 
[2026-09-10 16:30:03] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af898d8012d0e338007068be0002500041e..."} 
[2026-09-10 16:30:03] local.INFO: Packet analysis {"connection_id":176442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:03] local.INFO: Extracted packet for processing {"connection_id":176442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:03] local.INFO: GPS Element Parsed {"raw_longitude":755905408,"raw_latitude":117869536,"longitude_deg":75.5905408,"latitude_deg":11.7869536,"altitude":37,"angle":4,"satellites":30,"speed":20,"hex_longitude":"2d0e3380","hex_latitude":"07068be0","is_valid_coordinates":true} 
[2026-09-10 16:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993712640001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31198955970756608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022950464284925952,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789037943000,"timestamp_ms":1789037943000,"timestamp_seconds":1789037943,"priority":1,"record_length":96,"hex_timestamp":"000001a08af898d8"} 
[2026-09-10 16:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993712640001,"66":14559,"219":206,"94":10240,"24":20,"16":31198955970756608,"45":1022950464284925952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993712640001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:30:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31198955970756608,"km_value":31198955970756.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022950464284925952,"description":"Unknown IO ID 45"} 
[2026-09-10 16:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993712640001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1022950464284925952}} 
[2026-09-10 16:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":176442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:03] local.INFO: GPS data processed {"connection_id":176442,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:03] local.INFO: Acknowledgment sent {"connection_id":176442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:12] local.INFO: TCP Data received {"connection_id":176443,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af7e910012d168780071fa8180020012424..."} 
[2026-09-10 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af7e910012d168780071fa8180020012424..."} 
[2026-09-10 16:30:12] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af7e910012d168780071fa8180020012424..."} 
[2026-09-10 16:30:12] local.INFO: Packet analysis {"connection_id":176443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:30:12] local.INFO: Extracted packet for processing {"connection_id":176443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af7"} 
[2026-09-10 16:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":36,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993696512001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30: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-09-10 16:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789037898000,"timestamp_ms":1789037898000,"timestamp_seconds":1789037898,"priority":1,"record_length":96,"hex_timestamp":"000001a08af7e910"} 
[2026-09-10 16:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993696512001,"66":12928,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993696512001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:12] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993696512001,"power":12928,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":176443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:12] local.INFO: GPS data processed {"connection_id":176443,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:12] local.INFO: Acknowledgment sent {"connection_id":176443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:18] local.INFO: TCP Data received {"connection_id":179206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:18] local.INFO: Processing buffer {"connection_id":179206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:18] local.INFO: IMEI packet received {"connection_id":179206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":179206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:30:18] local.INFO: TCP Data received {"connection_id":179206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:18] local.INFO: Processing buffer {"connection_id":179206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:18] local.INFO: IMEI packet received {"connection_id":179206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":179206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:30:23] local.INFO: TCP Data received {"connection_id":179206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:23] local.INFO: Processing buffer {"connection_id":179206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:30:23] local.INFO: IMEI packet received {"connection_id":179206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":179206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:30:24] local.INFO: TCP Data received {"connection_id":179206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af81bd8012cc494c0075214d0000f009b2b..."} 
[2026-09-10 16:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af81bd8012cc494c0075214d0000f009b2b..."} 
[2026-09-10 16:30:24] local.INFO: Processing buffer {"connection_id":179206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af81bd8012cc494c0075214d0000f009b2b..."} 
[2026-09-10 16:30:24] local.INFO: Packet analysis {"connection_id":179206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:24] local.INFO: Extracted packet for processing {"connection_id":179206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:24] local.INFO: GPS Element Parsed {"raw_longitude":751080640,"raw_latitude":122819792,"longitude_deg":75.108064,"latitude_deg":12.2819792,"altitude":15,"angle":155,"satellites":43,"speed":56,"hex_longitude":"2cc494c0","hex_latitude":"075214d0","is_valid_coordinates":true} 
[2026-09-10 16:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993703424001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404281221418319872,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4285878701440641024,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037911000,"timestamp_ms":1789037911000,"timestamp_seconds":1789037911,"priority":1,"record_length":96,"hex_timestamp":"000001a08af81bd8"} 
[2026-09-10 16:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993703424001,"66":27745,"184":206,"85":37632,"24":56,"16":404281221418319872,"44":-4285878701440641024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-09-10 16:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993703424001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:24] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 16:30:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404281221418319872,"km_value":404281221418319.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4285878701440641024,"description":"Unknown IO ID 44"} 
[2026-09-10 16:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993703424001,"power":27745,"unknown_184":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4285878701440641024}} 
[2026-09-10 16:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":179206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:24] local.INFO: GPS data processed {"connection_id":179206,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:24] local.INFO: Acknowledgment sent {"connection_id":179206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:27] local.INFO: TCP Data received {"connection_id":176655,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:30:27] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:30:27] local.INFO: IMEI packet received {"connection_id":176655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":176655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:30:27] local.INFO: TCP Data received {"connection_id":177832,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:30:27] local.INFO: Processing buffer {"connection_id":177832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:30:27] local.INFO: IMEI packet received {"connection_id":177832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":177832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:30:29] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af8fa80012d7b154005e34dd0000400de1a..."} 
[2026-09-10 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af8fa80012d7b154005e34dd0000400de1a..."} 
[2026-09-10 16:30:29] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af8fa80012d7b154005e34dd0000400de1a..."} 
[2026-09-10 16:30:29] local.INFO: Packet analysis {"connection_id":176654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:29] local.INFO: Extracted packet for processing {"connection_id":176654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98782672,"longitude_deg":76.3041088,"latitude_deg":9.8782672,"altitude":4,"angle":222,"satellites":26,"speed":7,"hex_longitude":"2d7b1540","hex_latitude":"05e34dd0","is_valid_coordinates":true} 
[2026-09-10 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993714688001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130775994612056064,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878558801920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30: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-09-10 16:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789037968000,"timestamp_ms":1789037968000,"timestamp_seconds":1789037968,"priority":1,"record_length":96,"hex_timestamp":"000001a08af8fa80"} 
[2026-09-10 16:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2578120704,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331470864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3804758023,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":138,"raw_value":4155918337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3827318784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":5534925236898955269,"corrected_to":0} 
[2026-09-10 16:30:29] local.WARNING: Large IO value detected {"io_id":228,"raw_value":4654470270735883008,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:29] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,208,85,24,241,157,16,155,160,102,45,128,137,10,30,66,39,87,47,168,8,31,154,244,1,240,9,227,138,4,113,205,35,143,139,72,29,239,53,2,5,12,46,166,247,228],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":247,"original":5534925236898955269,"validated":0}]} 
[2026-09-10 16:30:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432580988566241280,"timestamp_seconds":432580988566241.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:30:29] 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-09-10 16:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993714688001,"66":13559,"208":206,"85":15104,"24":7,"16":130775994612056064,"45":8873920878558801920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993714688001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130775994612056064,"km_value":130775994612056.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878558801920,"description":"Unknown IO ID 45"} 
[2026-09-10 16:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993714688001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8873920878558801920}} 
[2026-09-10 16:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":176654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:29] local.INFO: GPS data processed {"connection_id":176654,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:29] local.INFO: Acknowledgment sent {"connection_id":176654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:32] local.INFO: TCP Data received {"connection_id":176655,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:30:32] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:30:32] local.INFO: IMEI packet received {"connection_id":176655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":176655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:30:32] local.INFO: TCP Data received {"connection_id":177832,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:30:32] local.INFO: Processing buffer {"connection_id":177832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:30:32] local.INFO: IMEI packet received {"connection_id":177832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":177832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:30:32] local.INFO: TCP Data received {"connection_id":177832,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af8d370012d0e35400706a630002500151f..."} 
[2026-09-10 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af8d370012d0e35400706a630002500151f..."} 
[2026-09-10 16:30:32] local.INFO: Processing buffer {"connection_id":177832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af8d370012d0e35400706a630002500151f..."} 
[2026-09-10 16:30:32] local.INFO: Packet analysis {"connection_id":177832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:32] local.INFO: Extracted packet for processing {"connection_id":177832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:32] local.INFO: GPS Element Parsed {"raw_longitude":755905856,"raw_latitude":117876272,"longitude_deg":75.5905856,"latitude_deg":11.7876272,"altitude":37,"angle":21,"satellites":31,"speed":18,"hex_longitude":"2d0e3540","hex_latitude":"0706a630","is_valid_coordinates":true} 
[2026-09-10 16:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993713408001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31199282388271104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023302308006191104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789037958000,"timestamp_ms":1789037958000,"timestamp_seconds":1789037958,"priority":1,"record_length":96,"hex_timestamp":"000001a08af8d370"} 
[2026-09-10 16:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993713408001,"66":14548,"219":206,"94":10240,"24":18,"16":31199282388271104,"45":1023302308006191104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993713408001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:30:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31199282388271104,"km_value":31199282388271.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023302308006191104,"description":"Unknown IO ID 45"} 
[2026-09-10 16:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993713408001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1023302308006191104}} 
[2026-09-10 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":177832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794940,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:33] local.INFO: GPS data processed {"connection_id":177832,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:33] local.INFO: Acknowledgment sent {"connection_id":177832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:33] local.INFO: TCP Data received {"connection_id":176655,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af83b18012d168780071fa8180020012424..."} 
[2026-09-10 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af83b18012d168780071fa8180020012424..."} 
[2026-09-10 16:30:33] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af83b18012d168780071fa8180020012424..."} 
[2026-09-10 16:30:33] local.INFO: Packet analysis {"connection_id":176655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:33] local.INFO: Extracted packet for processing {"connection_id":176655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":36,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993701888001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:33] 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-09-10 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037919000,"timestamp_ms":1789037919000,"timestamp_seconds":1789037919,"priority":1,"record_length":96,"hex_timestamp":"000001a08af83b18"} 
[2026-09-10 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-09-10 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993701888001,"66":12917,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993701888001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:30:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993701888001,"power":12917,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":176655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:33] local.INFO: GPS data processed {"connection_id":176655,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:33] local.INFO: Acknowledgment sent {"connection_id":176655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:37] local.INFO: TCP Data received {"connection_id":176655,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af88d20012d168780071fa8180020012428..."} 
[2026-09-10 16:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af88d20012d168780071fa8180020012428..."} 
[2026-09-10 16:30:37] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af88d20012d168780071fa8180020012428..."} 
[2026-09-10 16:30:37] local.INFO: Packet analysis {"connection_id":176655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:37] local.INFO: Extracted packet for processing {"connection_id":176655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993707264001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:37] 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-09-10 16:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789037940000,"timestamp_ms":1789037940000,"timestamp_seconds":1789037940,"priority":1,"record_length":96,"hex_timestamp":"000001a08af88d20"} 
[2026-09-10 16:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30: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-09-10 16: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":117,"data_length":795,"current_offset":136} 
[2026-09-10 16:30: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-09-10 16:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993707264001,"66":12885,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993707264001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993707264001,"power":12885,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":176655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:37] local.INFO: GPS data processed {"connection_id":176655,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:37] local.INFO: Acknowledgment sent {"connection_id":176655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:52] local.INFO: TCP Data received {"connection_id":179207,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:30:52] local.INFO: Processing buffer {"connection_id":179207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:30:52] local.INFO: IMEI packet received {"connection_id":179207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":179207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:30:55] local.INFO: TCP Data received {"connection_id":179206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af83730012cc4a4800751f108000f009e2b..."} 
[2026-09-10 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af83730012cc4a4800751f108000f009e2b..."} 
[2026-09-10 16:30:55] local.INFO: Processing buffer {"connection_id":179206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af83730012cc4a4800751f108000f009e2b..."} 
[2026-09-10 16:30:55] local.INFO: Packet analysis {"connection_id":179206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:55] local.INFO: Extracted packet for processing {"connection_id":179206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:55] local.INFO: GPS Element Parsed {"raw_longitude":751084672,"raw_latitude":122810632,"longitude_deg":75.1084672,"latitude_deg":12.2810632,"altitude":15,"angle":158,"satellites":43,"speed":57,"hex_longitude":"2cc4a480","hex_latitude":"0751f108","is_valid_coordinates":true} 
[2026-09-10 16:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993705216001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404281706749624320,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4281586208048099328,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789037918000,"timestamp_ms":1789037918000,"timestamp_seconds":1789037918,"priority":1,"record_length":96,"hex_timestamp":"000001a08af83730"} 
[2026-09-10 16:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30: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-09-10 16:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993705216001,"66":27865,"171":206,"85":37632,"24":57,"16":404281706749624320,"44":-4281586208048099328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 16:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993705216001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 16:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404281706749624320,"km_value":404281706749624.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4281586208048099328,"description":"Unknown IO ID 44"} 
[2026-09-10 16:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993705216001,"power":27865,"unknown_171":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-4281586208048099328}} 
[2026-09-10 16:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":179206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:55] local.INFO: GPS data processed {"connection_id":179206,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:55] local.INFO: Acknowledgment sent {"connection_id":179206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:30:58] local.INFO: TCP Data received {"connection_id":179207,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:30:58] local.INFO: Processing buffer {"connection_id":179207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:30:58] local.INFO: IMEI packet received {"connection_id":179207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":179207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:30:59] local.INFO: TCP Data received {"connection_id":179207,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08af8fe68012d7b150005e34d00000400d31b..."} 
[2026-09-10 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af8fe68012d7b150005e34d00000400d31b..."} 
[2026-09-10 16:30:59] local.INFO: Processing buffer {"connection_id":179207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af8fe68012d7b150005e34d00000400d31b..."} 
[2026-09-10 16:30:59] local.INFO: Packet analysis {"connection_id":179207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:59] local.INFO: Extracted packet for processing {"connection_id":179207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98782464,"longitude_deg":76.3041024,"latitude_deg":9.8782464,"altitude":4,"angle":211,"satellites":27,"speed":10,"hex_longitude":"2d7b1500","hex_latitude":"05e34d00","is_valid_coordinates":true} 
[2026-09-10 16:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993719808001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130776007496957952,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435208601600,"note":"Value kept but may cause issues"} 
[2026-09-10 16:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789037969000,"timestamp_ms":1789037969000,"timestamp_seconds":1789037969,"priority":1,"record_length":96,"hex_timestamp":"000001a08af8fe68"} 
[2026-09-10 16:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:30: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-09-10 16:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 16:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:30: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-09-10 16:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993719808001,"66":13363,"208":206,"85":15104,"24":10,"16":130776007496957952,"45":8869065435208601600},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993719808001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:30:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130776007496957952,"km_value":130776007496957.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435208601600,"description":"Unknown IO ID 45"} 
[2026-09-10 16:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993719808001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8869065435208601600}} 
[2026-09-10 16:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":179207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:30:59] local.INFO: GPS data processed {"connection_id":179207,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:30:59] local.INFO: Acknowledgment sent {"connection_id":179207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:04] local.INFO: TCP Data received {"connection_id":177832,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08af9c5a0012d0e3440070703180025010d20..."} 
[2026-09-10 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af9c5a0012d0e3440070703180025010d20..."} 
[2026-09-10 16:31:04] local.INFO: Processing buffer {"connection_id":177832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af9c5a0012d0e3440070703180025010d20..."} 
[2026-09-10 16:31:04] local.INFO: Packet analysis {"connection_id":177832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:31:04] local.INFO: Extracted packet for processing {"connection_id":177832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755905600,"raw_latitude":117900056,"longitude_deg":75.59056,"latitude_deg":11.7900056,"altitude":37,"angle":269,"satellites":32,"speed":21,"hex_longitude":"2d0e3440","hex_latitude":"07070318","is_valid_coordinates":true} 
[2026-09-10 16:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993732608001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31200532223754240,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024639314153353216,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789038020000,"timestamp_ms":1789038020000,"timestamp_seconds":1789038020,"priority":1,"record_length":96,"hex_timestamp":"000001a08af9c5a0"} 
[2026-09-10 16:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993732608001,"66":13906,"219":206,"94":10240,"24":21,"16":31200532223754240,"45":1024639314153353216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993732608001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31200532223754240,"km_value":31200532223754.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024639314153353216,"description":"Unknown IO ID 45"} 
[2026-09-10 16:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993732608001,"power":13906,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1024639314153353216}} 
[2026-09-10 16:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":177832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:04] local.INFO: GPS data processed {"connection_id":177832,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:04] local.INFO: Acknowledgment sent {"connection_id":177832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:09] local.INFO: TCP Data received {"connection_id":176655,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af8df28012d168780071fa8180020012427..."} 
[2026-09-10 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af8df28012d168780071fa8180020012427..."} 
[2026-09-10 16:31:09] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af8df28012d168780071fa8180020012427..."} 
[2026-09-10 16:31:09] local.INFO: Packet analysis {"connection_id":176655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:31:09] local.INFO: Extracted packet for processing {"connection_id":176655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993712640001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:09] 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-09-10 16:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789037961000,"timestamp_ms":1789037961000,"timestamp_seconds":1789037961,"priority":1,"record_length":96,"hex_timestamp":"000001a08af8df28"} 
[2026-09-10 16:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31: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-09-10 16:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-10 16:31: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-09-10 16:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993712640001,"66":12863,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993712640001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993712640001,"power":12863,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":176655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:09] local.INFO: GPS data processed {"connection_id":176655,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:09] local.INFO: Acknowledgment sent {"connection_id":176655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:19] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:19] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:19] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:31:20] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:20] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:20] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:31:23] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:23] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:31:23] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:31:24] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af85288012cc4b3800751cc580010009e2b..."} 
[2026-09-10 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af85288012cc4b3800751cc580010009e2b..."} 
[2026-09-10 16:31:24] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af85288012cc4b3800751cc580010009e2b..."} 
[2026-09-10 16:31:24] local.INFO: Packet analysis {"connection_id":176444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:31:24] local.INFO: Extracted packet for processing {"connection_id":176444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:31:24] local.INFO: GPS Element Parsed {"raw_longitude":751088512,"raw_latitude":122801240,"longitude_deg":75.1088512,"latitude_deg":12.280124,"altitude":16,"angle":158,"satellites":43,"speed":57,"hex_longitude":"2cc4b380","hex_latitude":"0751cc58","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993707008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404282196375896064,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4277152977167251456,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037925000,"timestamp_ms":1789037925000,"timestamp_seconds":1789037925,"priority":1,"record_length":96,"hex_timestamp":"000001a08af85288"} 
[2026-09-10 16:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993707008001,"66":27767,"171":206,"85":37632,"24":57,"16":404282196375896064,"44":-4277152977167251456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 16:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993707008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:24] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 16:31:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404282196375896064,"km_value":404282196375896.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4277152977167251456,"description":"Unknown IO ID 44"} 
[2026-09-10 16:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993707008001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-4277152977167251456}} 
[2026-09-10 16:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":176444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:24] local.INFO: GPS data processed {"connection_id":176444,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:24] local.INFO: Acknowledgment sent {"connection_id":176444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:27] local.INFO: TCP Data received {"connection_id":179208,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:27] local.INFO: Processing buffer {"connection_id":179208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:27] local.INFO: IMEI packet received {"connection_id":179208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":179208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:31:27] local.INFO: TCP Data received {"connection_id":179208,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:27] local.INFO: Processing buffer {"connection_id":179208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:27] local.INFO: IMEI packet received {"connection_id":179208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":179208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:31:27] local.INFO: TCP Data received {"connection_id":177833,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:31:27] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:31:27] local.INFO: IMEI packet received {"connection_id":177833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":177833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:31:30] local.INFO: TCP Data received {"connection_id":179207,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afabfa0012d7b114005e326c0000400a51b..."} 
[2026-09-10 16:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afabfa0012d7b114005e326c0000400a51b..."} 
[2026-09-10 16:31:30] local.INFO: Processing buffer {"connection_id":179207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afabfa0012d7b114005e326c0000400a51b..."} 
[2026-09-10 16:31:30] local.INFO: Packet analysis {"connection_id":179207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:31:30] local.INFO: Extracted packet for processing {"connection_id":179207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98772672,"longitude_deg":76.3040064,"latitude_deg":9.8772672,"altitude":4,"angle":165,"satellites":27,"speed":2,"hex_longitude":"2d7b1140","hex_latitude":"05e326c0","is_valid_coordinates":true} 
[2026-09-10 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993748736001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130776544367869952,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299264512,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038084000,"timestamp_ms":1789038084000,"timestamp_seconds":1789038084,"priority":1,"record_length":96,"hex_timestamp":"000001a08afabfa0"} 
[2026-09-10 16:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31: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-09-10 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 16:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:31:30] 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-09-10 16:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993748736001,"66":13276,"208":206,"85":15104,"24":2,"16":130776544367869952,"45":8867939535299264512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993748736001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130776544367869952,"km_value":130776544367869.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299264512,"description":"Unknown IO ID 45"} 
[2026-09-10 16:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993748736001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867939535299264512}} 
[2026-09-10 16:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":179207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:30] local.INFO: GPS data processed {"connection_id":179207,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:30] local.INFO: Acknowledgment sent {"connection_id":179207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:31] local.INFO: TCP Data received {"connection_id":177833,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:31:31] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:31:31] local.INFO: IMEI packet received {"connection_id":177833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":177833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:31:32] local.INFO: TCP Data received {"connection_id":179208,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:32] local.INFO: Processing buffer {"connection_id":179208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:31:32] local.INFO: IMEI packet received {"connection_id":179208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":179208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:31:32] local.INFO: TCP Data received {"connection_id":179208,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08afa0fd8012d0e128007070188001f011920..."} 
[2026-09-10 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afa0fd8012d0e128007070188001f011920..."} 
[2026-09-10 16:31:33] local.INFO: Processing buffer {"connection_id":179208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afa0fd8012d0e128007070188001f011920..."} 
[2026-09-10 16:31:33] local.INFO: Packet analysis {"connection_id":179208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:31:33] local.INFO: Extracted packet for processing {"connection_id":179208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":755896960,"raw_latitude":117899656,"longitude_deg":75.589696,"latitude_deg":11.7899656,"altitude":31,"angle":281,"satellites":32,"speed":22,"hex_longitude":"2d0e1280","hex_latitude":"07070188","is_valid_coordinates":true} 
[2026-09-10 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993733120001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31200940245647360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023513414246537216,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038039000,"timestamp_ms":1789038039000,"timestamp_seconds":1789038039,"priority":1,"record_length":96,"hex_timestamp":"000001a08afa0fd8"} 
[2026-09-10 16:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993733120001,"66":14559,"219":206,"94":10240,"24":22,"16":31200940245647360,"45":1023513414246537216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993733120001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31200940245647360,"km_value":31200940245647.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023513414246537216,"description":"Unknown IO ID 45"} 
[2026-09-10 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993733120001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":1023513414246537216}} 
[2026-09-10 16:31:33] local.INFO: TCP Data received {"connection_id":177833,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af93130012d168780071fa8180020012427..."} 
[2026-09-10 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af93130012d168780071fa8180020012427..."} 
[2026-09-10 16:31:33] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af93130012d168780071fa8180020012427..."} 
[2026-09-10 16:31:33] local.INFO: Packet analysis {"connection_id":177833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:31:33] local.INFO: Extracted packet for processing {"connection_id":177833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993718016001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:33] 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-09-10 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789037982000,"timestamp_ms":1789037982000,"timestamp_seconds":1789037982,"priority":1,"record_length":96,"hex_timestamp":"000001a08af93130"} 
[2026-09-10 16:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993718016001,"66":12841,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993718016001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993718016001,"power":12841,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":179208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:33] local.INFO: GPS data processed {"connection_id":179208,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:33] local.INFO: Acknowledgment sent {"connection_id":179208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":177833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:33] local.INFO: GPS data processed {"connection_id":177833,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:33] local.INFO: Acknowledgment sent {"connection_id":177833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:52] local.INFO: TCP Data received {"connection_id":177834,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:31:52] local.INFO: Processing buffer {"connection_id":177834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:31:52] local.INFO: IMEI packet received {"connection_id":177834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":177834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:31:55] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af86de0012cc4c2800751a7800010009d2b..."} 
[2026-09-10 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af86de0012cc4c2800751a7800010009d2b..."} 
[2026-09-10 16:31:55] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af86de0012cc4c2800751a7800010009d2b..."} 
[2026-09-10 16:31:55] local.INFO: Packet analysis {"connection_id":176444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:31:55] local.INFO: Extracted packet for processing {"connection_id":176444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":751092352,"raw_latitude":122791808,"longitude_deg":75.1092352,"latitude_deg":12.2791808,"altitude":16,"angle":157,"satellites":43,"speed":57,"hex_longitude":"2cc4c280","hex_latitude":"0751a780","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993708800001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404282690297135104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4272930852518995968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789037932000,"timestamp_ms":1789037932000,"timestamp_seconds":1789037932,"priority":1,"record_length":96,"hex_timestamp":"000001a08af86de0"} 
[2026-09-10 16:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31: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-09-10 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 16:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993708800001,"66":27767,"171":206,"85":37632,"24":57,"16":404282690297135104,"44":-4272930852518995968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993708800001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 16:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404282690297135104,"km_value":404282690297135.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4272930852518995968,"description":"Unknown IO ID 44"} 
[2026-09-10 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993708800001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-4272930852518995968}} 
[2026-09-10 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":176444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:55] local.INFO: GPS data processed {"connection_id":176444,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:55] local.INFO: Acknowledgment sent {"connection_id":176444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:31:57] local.INFO: TCP Data received {"connection_id":177834,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:31:57] local.INFO: Processing buffer {"connection_id":177834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:31:57] local.INFO: IMEI packet received {"connection_id":177834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":177834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:31:59] local.INFO: TCP Data received {"connection_id":177834,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afac388012d7b110005e32680000400c61b..."} 
[2026-09-10 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afac388012d7b110005e32680000400c61b..."} 
[2026-09-10 16:31:59] local.INFO: Processing buffer {"connection_id":177834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afac388012d7b110005e32680000400c61b..."} 
[2026-09-10 16:31:59] local.INFO: Packet analysis {"connection_id":177834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:31:59] local.INFO: Extracted packet for processing {"connection_id":177834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":98772608,"longitude_deg":76.304,"latitude_deg":9.8772608,"altitude":4,"angle":198,"satellites":27,"speed":2,"hex_longitude":"2d7b1100","hex_latitude":"05e32680","is_valid_coordinates":true} 
[2026-09-10 16:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993749504001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130776548662837248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299198976,"note":"Value kept but may cause issues"} 
[2026-09-10 16:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038085000,"timestamp_ms":1789038085000,"timestamp_seconds":1789038085,"priority":1,"record_length":96,"hex_timestamp":"000001a08afac388"} 
[2026-09-10 16:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:31: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-09-10 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 16:31: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-09-10 16:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:31: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-09-10 16:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993749504001,"66":13319,"208":206,"85":15104,"24":2,"16":130776548662837248,"45":8867939535299198976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993749504001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:31:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130776548662837248,"km_value":130776548662837.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299198976,"description":"Unknown IO ID 45"} 
[2026-09-10 16:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993749504001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867939535299198976}} 
[2026-09-10 16:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":177834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:31:59] local.INFO: GPS data processed {"connection_id":177834,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:31:59] local.INFO: Acknowledgment sent {"connection_id":177834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:03] local.INFO: TCP Data received {"connection_id":179208,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb11a8012d0d8480070701600029012b20..."} 
[2026-09-10 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb11a8012d0d8480070701600029012b20..."} 
[2026-09-10 16:32:03] local.INFO: Processing buffer {"connection_id":179208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb11a8012d0d8480070701600029012b20..."} 
[2026-09-10 16:32:03] local.INFO: Packet analysis {"connection_id":179208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:32:03] local.INFO: Extracted packet for processing {"connection_id":179208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":755860608,"raw_latitude":117899616,"longitude_deg":75.5860608,"latitude_deg":11.7899616,"altitude":41,"angle":299,"satellites":32,"speed":33,"hex_longitude":"2d0d8480","hex_latitude":"07070160","is_valid_coordinates":true} 
[2026-09-10 16:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993751808001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31202821441323008,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982981017598871552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789038105000,"timestamp_ms":1789038105000,"timestamp_seconds":1789038105,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb11a8"} 
[2026-09-10 16:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993751808001,"66":14515,"219":206,"94":10240,"24":33,"16":31202821441323008,"45":982981017598871552},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993751808001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:32:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31202821441323008,"km_value":31202821441323.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":982981017598871552,"description":"Unknown IO ID 45"} 
[2026-09-10 16:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993751808001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":982981017598871552}} 
[2026-09-10 16:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":179208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:04] local.INFO: GPS data processed {"connection_id":179208,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:04] local.INFO: Acknowledgment sent {"connection_id":179208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:04] local.INFO: TCP Data received {"connection_id":177833,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af98338012d168780071fa8180020012428..."} 
[2026-09-10 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af98338012d168780071fa8180020012428..."} 
[2026-09-10 16:32:04] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af98338012d168780071fa8180020012428..."} 
[2026-09-10 16:32:04] local.INFO: Packet analysis {"connection_id":177833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:32:04] local.INFO: Extracted packet for processing {"connection_id":177833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993723392001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:04] 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-09-10 16:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789038003000,"timestamp_ms":1789038003000,"timestamp_seconds":1789038003,"priority":1,"record_length":96,"hex_timestamp":"000001a08af98338"} 
[2026-09-10 16:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993723392001,"66":12841,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993723392001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993723392001,"power":12841,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":177833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:05] local.INFO: GPS data processed {"connection_id":177833,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:05] local.INFO: Acknowledgment sent {"connection_id":177833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:18] local.INFO: TCP Data received {"connection_id":179209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:32:18] local.INFO: Processing buffer {"connection_id":179209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:32:18] local.INFO: IMEI packet received {"connection_id":179209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":179209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:32:23] local.INFO: TCP Data received {"connection_id":179209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:32:23] local.INFO: Processing buffer {"connection_id":179209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:32:23] local.INFO: IMEI packet received {"connection_id":179209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":179209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:32:24] local.INFO: TCP Data received {"connection_id":179209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08af88938012cc4d180075183d8000f009d2b..."} 
[2026-09-10 16:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af88938012cc4d180075183d8000f009d2b..."} 
[2026-09-10 16:32:24] local.INFO: Processing buffer {"connection_id":179209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af88938012cc4d180075183d8000f009d2b..."} 
[2026-09-10 16:32:24] local.INFO: Packet analysis {"connection_id":179209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:32:24] local.INFO: Extracted packet for processing {"connection_id":179209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af8"} 
[2026-09-10 16:32:24] local.INFO: GPS Element Parsed {"raw_longitude":751096192,"raw_latitude":122782680,"longitude_deg":75.1096192,"latitude_deg":12.278268,"altitude":15,"angle":157,"satellites":43,"speed":55,"hex_longitude":"2cc4d180","hex_latitude":"075183d8","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993710592001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404283167038504960,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4268708727870750720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789037939000,"timestamp_ms":1789037939000,"timestamp_seconds":1789037939,"priority":1,"record_length":96,"hex_timestamp":"000001a08af88938"} 
[2026-09-10 16:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993710592001,"66":27908,"171":206,"85":37632,"24":55,"16":404283167038504960,"44":-4268708727870750720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 16:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993710592001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:24] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 16:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404283167038504960,"km_value":404283167038504.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4268708727870750720,"description":"Unknown IO ID 44"} 
[2026-09-10 16:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993710592001,"power":27908,"unknown_171":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-4268708727870750720}} 
[2026-09-10 16:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":179209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:24] local.INFO: GPS data processed {"connection_id":179209,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:24] local.INFO: Acknowledgment sent {"connection_id":179209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:26] local.INFO: TCP Data received {"connection_id":177835,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:26] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:26] local.INFO: IMEI packet received {"connection_id":177835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":177835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:32:26] local.INFO: TCP Data received {"connection_id":177835,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:26] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:26] local.INFO: IMEI packet received {"connection_id":177835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":177835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:32:27] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:27] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:27] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:32:27] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:28] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:28] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:32:30] local.INFO: TCP Data received {"connection_id":177834,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afacb58012d7b10c005e32618000400d91b..."} 
[2026-09-10 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afacb58012d7b10c005e32618000400d91b..."} 
[2026-09-10 16:32:30] local.INFO: Processing buffer {"connection_id":177834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afacb58012d7b10c005e32618000400d91b..."} 
[2026-09-10 16:32:30] local.INFO: Packet analysis {"connection_id":177834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:32:30] local.INFO: Extracted packet for processing {"connection_id":177834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98772504,"longitude_deg":76.3039936,"latitude_deg":9.8772504,"altitude":4,"angle":217,"satellites":27,"speed":2,"hex_longitude":"2d7b10c0","hex_latitude":"05e32618","is_valid_coordinates":true} 
[2026-09-10 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993749760001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130776557252771840,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166555004928,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038087000,"timestamp_ms":1789038087000,"timestamp_seconds":1789038087,"priority":1,"record_length":96,"hex_timestamp":"000001a08afacb58"} 
[2026-09-10 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32: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-09-10 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2623995904,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331647864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4294182253297081600,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":138,"raw_value":4200206337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812270080,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.WARNING: Large IO value detected {"io_id":249,"raw_value":-2236035920139583483,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,156,160,191,45,64,38,4,27,10,66,179,39,105,192,1,240,227,138,113,205,3,82,18,72,25,239,50,2,5,161,249],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-10 16:32:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288448195418259456,"timestamp_seconds":288448195418259.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:32:30] 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-09-10 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993749760001,"66":13428,"208":206,"85":15104,"24":2,"16":130776557252771840,"45":8867869166555004928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993749760001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130776557252771840,"km_value":130776557252771.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166555004928,"description":"Unknown IO ID 45"} 
[2026-09-10 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993749760001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867869166555004928}} 
[2026-09-10 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":177834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:30] local.INFO: GPS data processed {"connection_id":177834,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:30] local.INFO: Acknowledgment sent {"connection_id":177834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:32] local.INFO: TCP Data received {"connection_id":177835,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:32] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:32:32] local.INFO: IMEI packet received {"connection_id":177835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":177835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:32:32] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:32] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:32:32] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:32:33] local.INFO: TCP Data received {"connection_id":177835,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08af9d540012d168780071fa8180020012428..."} 
[2026-09-10 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08af9d540012d168780071fa8180020012428..."} 
[2026-09-10 16:32:33] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08af9d540012d168780071fa8180020012428..."} 
[2026-09-10 16:32:33] local.INFO: Packet analysis {"connection_id":177835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:32:33] local.INFO: Extracted packet for processing {"connection_id":177835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08af9"} 
[2026-09-10 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993728768001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:33] 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-09-10 16:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038024000,"timestamp_ms":1789038024000,"timestamp_seconds":1789038024,"priority":1,"record_length":96,"hex_timestamp":"000001a08af9d540"} 
[2026-09-10 16:32:33] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb5028012d0d64c0070711800027011e1e..."} 
[2026-09-10 16:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993728768001,"66":12841,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb5028012d0d64c0070711800027011e1e..."} 
[2026-09-10 16:32:33] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb5028012d0d64c0070711800027011e1e..."} 
[2026-09-10 16:32:33] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:32:33] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":755852480,"raw_latitude":117903744,"longitude_deg":75.585248,"latitude_deg":11.7903744,"altitude":39,"angle":286,"satellites":30,"speed":29,"hex_longitude":"2d0d64c0","hex_latitude":"07071180","is_valid_coordinates":true} 
[2026-09-10 16:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993754880001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31203255233019904,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974044187089526784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038121000,"timestamp_ms":1789038121000,"timestamp_seconds":1789038121,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb5028"} 
[2026-09-10 16:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993728768001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993728768001,"power":12841,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993754880001,"66":14461,"219":206,"94":10240,"24":29,"16":31203255233019904,"45":974044187089526784},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993754880001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31203255233019904,"km_value":31203255233019.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":974044187089526784,"description":"Unknown IO ID 45"} 
[2026-09-10 16:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993754880001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":974044187089526784}} 
[2026-09-10 16:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":177835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:33] local.INFO: GPS data processed {"connection_id":177835,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:33] local.INFO: Acknowledgment sent {"connection_id":177835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:33] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:33] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:52] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:52] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:52] local.INFO: IMEI packet received {"connection_id":176445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":176445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:32:53] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:53] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:53] local.INFO: IMEI packet received {"connection_id":176445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":176445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:32:55] local.INFO: TCP Data received {"connection_id":179209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb1590012cc54480075044a0001500a12a..."} 
[2026-09-10 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb1590012cc54480075044a0001500a12a..."} 
[2026-09-10 16:32:55] local.INFO: Processing buffer {"connection_id":179209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb1590012cc54480075044a0001500a12a..."} 
[2026-09-10 16:32:55] local.INFO: Packet analysis {"connection_id":179209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:32:55] local.INFO: Extracted packet for processing {"connection_id":179209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":751125632,"raw_latitude":122700960,"longitude_deg":75.1125632,"latitude_deg":12.270096,"altitude":21,"angle":161,"satellites":42,"speed":19,"hex_longitude":"2cc54480","hex_latitude":"075044a0","is_valid_coordinates":true} 
[2026-09-10 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993751040001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404287384696389632,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4235635418128338944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789038106000,"timestamp_ms":1789038106000,"timestamp_seconds":1789038106,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb1590"} 
[2026-09-10 16:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32: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-09-10 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993751040001,"66":27865,"171":206,"85":37632,"24":19,"16":404287384696389632,"44":-4235635418128338944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 16:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993751040001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 16:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404287384696389632,"km_value":404287384696389.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4235635418128338944,"description":"Unknown IO ID 44"} 
[2026-09-10 16:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993751040001,"power":27865,"unknown_171":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4235635418128338944}} 
[2026-09-10 16:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":179209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:55] local.INFO: GPS data processed {"connection_id":179209,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:55] local.INFO: Acknowledgment sent {"connection_id":179209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:32:57] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:57] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:32:57] local.INFO: IMEI packet received {"connection_id":176445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":176445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:32:59] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afad328012d7b10c005e32580000500c81b..."} 
[2026-09-10 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afad328012d7b10c005e32580000500c81b..."} 
[2026-09-10 16:32:59] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afad328012d7b10c005e32580000500c81b..."} 
[2026-09-10 16:32:59] local.INFO: Packet analysis {"connection_id":176445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:32:59] local.INFO: Extracted packet for processing {"connection_id":176445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98772352,"longitude_deg":76.3039936,"latitude_deg":9.8772352,"altitude":5,"angle":200,"satellites":27,"speed":2,"hex_longitude":"2d7b10c0","hex_latitude":"05e32580","is_valid_coordinates":true} 
[2026-09-10 16:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993750272001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130776561547739136,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867798797810800640,"note":"Value kept but may cause issues"} 
[2026-09-10 16:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038089000,"timestamp_ms":1789038089000,"timestamp_seconds":1789038089,"priority":1,"record_length":96,"hex_timestamp":"000001a08afad328"} 
[2026-09-10 16:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:32: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-09-10 16:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-10 16:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:32: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-09-10 16:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993750272001,"66":13135,"208":206,"85":15104,"24":2,"16":130776561547739136,"45":8867798797810800640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993750272001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:32:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130776561547739136,"km_value":130776561547739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867798797810800640,"description":"Unknown IO ID 45"} 
[2026-09-10 16:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993750272001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867798797810800640}} 
[2026-09-10 16:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":176445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:32:59] local.INFO: GPS data processed {"connection_id":176445,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:32:59] local.INFO: Acknowledgment sent {"connection_id":176445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:33:04] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb5028012d0d64c0070711800027011e1e..."} 
[2026-09-10 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb5028012d0d64c0070711800027011e1e..."} 
[2026-09-10 16:33:04] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb5028012d0d64c0070711800027011e1e..."} 
[2026-09-10 16:33:04] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:33:04] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":755852480,"raw_latitude":117903744,"longitude_deg":75.585248,"latitude_deg":11.7903744,"altitude":39,"angle":286,"satellites":30,"speed":29,"hex_longitude":"2d0d64c0","hex_latitude":"07071180","is_valid_coordinates":true} 
[2026-09-10 16:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31203255233019904,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":965107356580020224,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789038121000,"timestamp_ms":1789038121000,"timestamp_seconds":1789038121,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb5028"} 
[2026-09-10 16:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:33: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-09-10 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 16:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993758976001,"66":14461,"219":206,"94":10240,"24":29,"16":31203255233019904,"45":965107356580020224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-10 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31203255233019904,"km_value":31203255233019.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":965107356580020224,"description":"Unknown IO ID 45"} 
[2026-09-10 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993758976001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":965107356580020224}} 
[2026-09-10 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:33:04] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:33:04] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:33:05] local.INFO: TCP Data received {"connection_id":177835,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afa2748012d168780071fa8180020012428..."} 
[2026-09-10 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afa2748012d168780071fa8180020012428..."} 
[2026-09-10 16:33:05] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afa2748012d168780071fa8180020012428..."} 
[2026-09-10 16:33:05] local.INFO: Packet analysis {"connection_id":177835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:33:05] local.INFO: Extracted packet for processing {"connection_id":177835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993734144001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:05] 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-09-10 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038045000,"timestamp_ms":1789038045000,"timestamp_seconds":1789038045,"priority":1,"record_length":96,"hex_timestamp":"000001a08afa2748"} 
[2026-09-10 16:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 16:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993734144001,"66":11895,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993734144001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:33:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993734144001,"power":11895,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":177835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:33:05] local.INFO: GPS data processed {"connection_id":177835,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:33:05] local.INFO: Acknowledgment sent {"connection_id":177835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:33:21] local.INFO: TCP Data received {"connection_id":177836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:21] local.INFO: Processing buffer {"connection_id":177836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:21] local.INFO: IMEI packet received {"connection_id":177836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":177836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:33:23] local.INFO: TCP Data received {"connection_id":177836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:23] local.INFO: Processing buffer {"connection_id":177836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:23] local.INFO: IMEI packet received {"connection_id":177836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":177836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:26] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:26] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:26] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:33:28] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:28] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:28] local.INFO: IMEI packet received {"connection_id":176446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":176446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:33:29] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:29] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:29] local.INFO: IMEI packet received {"connection_id":176446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":176446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:29] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:29] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:29] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:29] local.INFO: TCP Data received {"connection_id":177836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:29] local.INFO: Processing buffer {"connection_id":177836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:33:29] local.INFO: IMEI packet received {"connection_id":177836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":177836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:29] local.INFO: TCP Data received {"connection_id":176445,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afad710012d7b10c005e32540000500d41b..."} 
[2026-09-10 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afad710012d7b10c005e32540000500d41b..."} 
[2026-09-10 16:33:29] local.INFO: Processing buffer {"connection_id":176445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afad710012d7b10c005e32540000500d41b..."} 
[2026-09-10 16:33:29] local.INFO: Packet analysis {"connection_id":176445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:33:29] local.INFO: Extracted packet for processing {"connection_id":176445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:33:29] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98772288,"longitude_deg":76.3039936,"latitude_deg":9.8772288,"altitude":5,"angle":212,"satellites":27,"speed":2,"hex_longitude":"2d7b10c0","hex_latitude":"05e32540","is_valid_coordinates":true} 
[2026-09-10 16:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993750784001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130776565842706432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867798797810761728,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33: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-09-10 16:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789038090000,"timestamp_ms":1789038090000,"timestamp_seconds":1789038090,"priority":1,"record_length":96,"hex_timestamp":"000001a08afad710"} 
[2026-09-10 16:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 16:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:33:29] 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-09-10 16:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993750784001,"66":13135,"208":206,"85":15104,"24":2,"16":130776565842706432,"45":8867798797810761728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993750784001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:33:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130776565842706432,"km_value":130776565842706.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867798797810761728,"description":"Unknown IO ID 45"} 
[2026-09-10 16:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993750784001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867798797810761728}} 
[2026-09-10 16:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":176445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:33:30] local.INFO: GPS data processed {"connection_id":176445,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:33:30] local.INFO: Acknowledgment sent {"connection_id":176445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:33:30] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:30] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:30] local.INFO: IMEI packet received {"connection_id":176446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":176446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:30] local.INFO: TCP Data received {"connection_id":177836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb5410012cc5508007502250001400a02a..."} 
[2026-09-10 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb5410012cc5508007502250001400a02a..."} 
[2026-09-10 16:33:30] local.INFO: Processing buffer {"connection_id":177836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb5410012cc5508007502250001400a02a..."} 
[2026-09-10 16:33:30] local.INFO: Packet analysis {"connection_id":177836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:33:30] local.INFO: Extracted packet for processing {"connection_id":177836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:33:30] local.INFO: GPS Element Parsed {"raw_longitude":751128704,"raw_latitude":122692176,"longitude_deg":75.1128704,"latitude_deg":12.2692176,"altitude":20,"angle":160,"satellites":42,"speed":23,"hex_longitude":"2cc55080","hex_latitude":"07502250","is_valid_coordinates":true} 
[2026-09-10 16:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993755136001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404287835667955712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4232116980921622528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038122000,"timestamp_ms":1789038122000,"timestamp_seconds":1789038122,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb5410"} 
[2026-09-10 16:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:33: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-09-10 16:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:33: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-09-10 16:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993755136001,"66":27919,"171":206,"85":37632,"24":23,"16":404287835667955712,"44":-4232116980921622528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 16:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993755136001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:33:30] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 16:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404287835667955712,"km_value":404287835667955.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4232116980921622528,"description":"Unknown IO ID 44"} 
[2026-09-10 16:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993755136001,"power":27919,"unknown_171":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-4232116980921622528}} 
[2026-09-10 16:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":177836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:33:30] local.INFO: GPS data processed {"connection_id":177836,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:33:30] local.INFO: Acknowledgment sent {"connection_id":177836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:33:31] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:31] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:33:31] local.INFO: IMEI packet received {"connection_id":176446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":176446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:31] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:31] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:33:31] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:33] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afa7950012d168780071fa8180020012426..."} 
[2026-09-10 16:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afa7950012d168780071fa8180020012426..."} 
[2026-09-10 16:33:33] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afa7950012d168780071fa8180020012426..."} 
[2026-09-10 16:33:33] local.INFO: Packet analysis {"connection_id":176659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:33:33] local.INFO: Extracted packet for processing {"connection_id":176659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993739520001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:33] 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-09-10 16:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038066000,"timestamp_ms":1789038066000,"timestamp_seconds":1789038066,"priority":1,"record_length":96,"hex_timestamp":"000001a08afa7950"} 
[2026-09-10 16:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 16:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993739520001,"66":12798,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993739520001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:33:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:33:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993739520001,"power":12798,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":176659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:33:33] local.INFO: GPS data processed {"connection_id":176659,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:33:33] local.INFO: Acknowledgment sent {"connection_id":176659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:33:34] local.INFO: TCP Data received {"connection_id":177836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb8ac0012cc55e40075000f00012009c2a..."} 
[2026-09-10 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb8ac0012cc55e40075000f00012009c2a..."} 
[2026-09-10 16:33:34] local.INFO: Processing buffer {"connection_id":177836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb8ac0012cc55e40075000f00012009c2a..."} 
[2026-09-10 16:33:34] local.INFO: Packet analysis {"connection_id":177836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:33:34] local.INFO: Extracted packet for processing {"connection_id":177836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":751132224,"raw_latitude":122683632,"longitude_deg":75.1132224,"latitude_deg":12.2683632,"altitude":18,"angle":156,"satellites":42,"speed":30,"hex_longitude":"2cc55e40","hex_latitude":"075000f0","is_valid_coordinates":true} 
[2026-09-10 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993759232001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404288282344554496,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4228739281203343360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789038136000,"timestamp_ms":1789038136000,"timestamp_seconds":1789038136,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb8ac0"} 
[2026-09-10 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:33: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-09-10 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 16:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:33: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-09-10 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993759232001,"66":27843,"171":206,"85":37632,"24":30,"16":404288282344554496,"44":-4228739281203343360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-10 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993759232001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:33:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 16:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404288282344554496,"km_value":404288282344554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:33:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4228739281203343360,"description":"Unknown IO ID 44"} 
[2026-09-10 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993759232001,"power":27843,"unknown_171":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-4228739281203343360}} 
[2026-09-10 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":177836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:33:34] local.INFO: GPS data processed {"connection_id":177836,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:33:34] local.INFO: Acknowledgment sent {"connection_id":177836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:33:51] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:51] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:51] local.INFO: IMEI packet received {"connection_id":176447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":176447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:33:52] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:52] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:52] local.INFO: IMEI packet received {"connection_id":176447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":176447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:57] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:57] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:33:57] local.INFO: IMEI packet received {"connection_id":176447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":176447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:33:58] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afc9078012d7b270005e290f8000600be1c..."} 
[2026-09-10 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afc9078012d7b270005e290f8000600be1c..."} 
[2026-09-10 16:33:58] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afc9078012d7b270005e290f8000600be1c..."} 
[2026-09-10 16:33:58] local.INFO: Packet analysis {"connection_id":176447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:33:58] local.INFO: Extracted packet for processing {"connection_id":176447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763045632,"raw_latitude":98734328,"longitude_deg":76.3045632,"latitude_deg":9.8734328,"altitude":6,"angle":190,"satellites":28,"speed":12,"hex_longitude":"2d7b2700","hex_latitude":"05e290f8","is_valid_coordinates":true} 
[2026-09-10 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993777152001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130778455628316672,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247289606144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789038203000,"timestamp_ms":1789038203000,"timestamp_seconds":1789038203,"priority":1,"record_length":96,"hex_timestamp":"000001a08afc9078"} 
[2026-09-10 16:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 16:33: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-09-10 16:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:33:58] 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-09-10 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993777152001,"66":12743,"207":206,"85":15104,"24":12,"16":130778455628316672,"45":8873991247289606144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993777152001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:33:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 16:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130778455628316672,"km_value":130778455628316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247289606144,"description":"Unknown IO ID 45"} 
[2026-09-10 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993777152001,"power":12743,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8873991247289606144}} 
[2026-09-10 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":176447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:33:58] local.INFO: GPS data processed {"connection_id":176447,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:33:58] local.INFO: Acknowledgment sent {"connection_id":176447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:34:05] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afacb58012d168780071fa8180020012425..."} 
[2026-09-10 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afacb58012d168780071fa8180020012425..."} 
[2026-09-10 16:34:05] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afacb58012d168780071fa8180020012425..."} 
[2026-09-10 16:34:05] local.INFO: Packet analysis {"connection_id":176659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:34:05] local.INFO: Extracted packet for processing {"connection_id":176659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afa"} 
[2026-09-10 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993744896001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:05] 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-09-10 16:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038087000,"timestamp_ms":1789038087000,"timestamp_seconds":1789038087,"priority":1,"record_length":96,"hex_timestamp":"000001a08afacb58"} 
[2026-09-10 16:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 16:34: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-09-10 16:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993744896001,"66":12776,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993744896001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:34:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993744896001,"power":12776,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":176659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:34:05] local.INFO: GPS data processed {"connection_id":176659,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:34:05] local.INFO: Acknowledgment sent {"connection_id":176659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:34:19] local.INFO: TCP Data received {"connection_id":177837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:34:19] local.INFO: Processing buffer {"connection_id":177837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:34:19] local.INFO: IMEI packet received {"connection_id":177837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":177837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:34:23] local.INFO: TCP Data received {"connection_id":177837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:34:23] local.INFO: Processing buffer {"connection_id":177837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:34:23] local.INFO: IMEI packet received {"connection_id":177837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":177837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:34:24] local.INFO: TCP Data received {"connection_id":177837,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08afbb9a0012cc56dc0074fe128001100982a..."} 
[2026-09-10 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afbb9a0012cc56dc0074fe128001100982a..."} 
[2026-09-10 16:34:24] local.INFO: Processing buffer {"connection_id":177837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afbb9a0012cc56dc0074fe128001100982a..."} 
[2026-09-10 16:34:24] local.INFO: Packet analysis {"connection_id":177837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:34:24] local.INFO: Extracted packet for processing {"connection_id":177837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:34:24] local.INFO: GPS Element Parsed {"raw_longitude":751136192,"raw_latitude":122675496,"longitude_deg":75.1136192,"latitude_deg":12.2675496,"altitude":17,"angle":152,"satellites":42,"speed":28,"hex_longitude":"2cc56dc0","hex_latitude":"074fe128","is_valid_coordinates":true} 
[2026-09-10 16:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993762816001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404288716136251392,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4224869000275759104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789038148000,"timestamp_ms":1789038148000,"timestamp_seconds":1789038148,"priority":1,"record_length":96,"hex_timestamp":"000001a08afbb9a0"} 
[2026-09-10 16:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16: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-09-10 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993762816001,"66":27626,"121":206,"85":37632,"24":28,"16":404288716136251392,"44":-4224869000275759104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-10 16:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993762816001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:34:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:34:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404288716136251392,"km_value":404288716136251.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:34:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4224869000275759104,"description":"Unknown IO ID 44"} 
[2026-09-10 16:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993762816001,"power":27626,"unknown_121":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-4224869000275759104}} 
[2026-09-10 16:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":177837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:34:24] local.INFO: GPS data processed {"connection_id":177837,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:34:24] local.INFO: Acknowledgment sent {"connection_id":177837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:34:26] local.INFO: TCP Data received {"connection_id":177838,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:34:26] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:34:26] local.INFO: IMEI packet received {"connection_id":177838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":177838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:34:30] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afcb3a0012d7b228005e28f80000601221a..."} 
[2026-09-10 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afcb3a0012d7b228005e28f80000601221a..."} 
[2026-09-10 16:34:30] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afcb3a0012d7b228005e28f80000601221a..."} 
[2026-09-10 16:34:30] local.INFO: Packet analysis {"connection_id":176447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:34:30] local.INFO: Extracted packet for processing {"connection_id":176447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98733952,"longitude_deg":76.304448,"latitude_deg":9.8733952,"altitude":6,"angle":290,"satellites":26,"speed":6,"hex_longitude":"2d7b2280","hex_latitude":"05e28f80","is_valid_coordinates":true} 
[2026-09-10 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993779968001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130778537232695296,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874061616032839680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038212000,"timestamp_ms":1789038212000,"timestamp_seconds":1789038212,"priority":1,"record_length":96,"hex_timestamp":"000001a08afcb3a0"} 
[2026-09-10 16:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 16:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:34:30] 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-09-10 16:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993779968001,"66":13461,"207":206,"85":15104,"24":6,"16":130778537232695296,"45":8874061616032839680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 16:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993779968001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:34:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 16:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130778537232695296,"km_value":130778537232695.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874061616032839680,"description":"Unknown IO ID 45"} 
[2026-09-10 16:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993779968001,"power":13461,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8874061616032839680}} 
[2026-09-10 16:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":176447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:34:30] local.INFO: GPS data processed {"connection_id":176447,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:34:30] local.INFO: Acknowledgment sent {"connection_id":176447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:34:32] local.INFO: TCP Data received {"connection_id":177838,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:34:32] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:34:32] local.INFO: IMEI packet received {"connection_id":177838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":177838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:34:34] local.INFO: TCP Data received {"connection_id":177838,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb1d60012d168780071fa8180020012427..."} 
[2026-09-10 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb1d60012d168780071fa8180020012427..."} 
[2026-09-10 16:34:34] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb1d60012d168780071fa8180020012427..."} 
[2026-09-10 16:34:34] local.INFO: Packet analysis {"connection_id":177838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:34:34] local.INFO: Extracted packet for processing {"connection_id":177838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993750272001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:34] 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-09-10 16:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789038108000,"timestamp_ms":1789038108000,"timestamp_seconds":1789038108,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb1d60"} 
[2026-09-10 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-09-10 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 16:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993750272001,"66":12722,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993750272001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:34:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993750272001,"power":12722,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":177838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:34:34] local.INFO: GPS data processed {"connection_id":177838,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:34:34] local.INFO: Acknowledgment sent {"connection_id":177838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:34:52] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:52] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:52] local.INFO: IMEI packet received {"connection_id":177839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":177839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:34:55] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:55] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:55] local.INFO: IMEI packet received {"connection_id":177839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":177839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:34:57] local.INFO: TCP Data received {"connection_id":177837,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08afbec68012cc57ec0074fc000000f009b2a..."} 
[2026-09-10 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afbec68012cc57ec0074fc000000f009b2a..."} 
[2026-09-10 16:34:57] local.INFO: Processing buffer {"connection_id":177837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afbec68012cc57ec0074fc000000f009b2a..."} 
[2026-09-10 16:34:57] local.INFO: Packet analysis {"connection_id":177837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:34:57] local.INFO: Extracted packet for processing {"connection_id":177837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":751140544,"raw_latitude":122667008,"longitude_deg":75.1140544,"latitude_deg":12.2667008,"altitude":15,"angle":155,"satellites":42,"speed":31,"hex_longitude":"2cc57ec0","hex_latitude":"074fc000","is_valid_coordinates":true} 
[2026-09-10 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993765888001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404289179992719360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4220506138138826752,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789038161000,"timestamp_ms":1789038161000,"timestamp_seconds":1789038161,"priority":1,"record_length":96,"hex_timestamp":"000001a08afbec68"} 
[2026-09-10 16:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 16:34:57] 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-09-10 16:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993765888001,"66":28028,"121":206,"85":37632,"24":31,"16":404289179992719360,"44":-4220506138138826752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-10 16:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993765888001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:34:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 16:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404289179992719360,"km_value":404289179992719.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:34:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4220506138138826752,"description":"Unknown IO ID 44"} 
[2026-09-10 16:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993765888001,"power":28028,"unknown_121":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4220506138138826752}} 
[2026-09-10 16:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":177837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:34:57] local.INFO: GPS data processed {"connection_id":177837,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:34:57] local.INFO: Acknowledgment sent {"connection_id":177837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:34:57] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:57] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:34:57] local.INFO: IMEI packet received {"connection_id":177839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":177839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:34:58] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afdada0012d7b048005e332f80003000209..."} 
[2026-09-10 16:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afdada0012d7b048005e332f80003000209..."} 
[2026-09-10 16:34:58] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afdada0012d7b048005e332f80003000209..."} 
[2026-09-10 16:34:58] local.INFO: Packet analysis {"connection_id":177839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:34:58] local.INFO: Extracted packet for processing {"connection_id":177839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98775800,"longitude_deg":76.30368,"latitude_deg":9.87758,"altitude":3,"angle":2,"satellites":9,"speed":28,"hex_longitude":"2d7b0480","hex_latitude":"05e332f8","is_valid_coordinates":true} 
[2026-09-10 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993797376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130780740550918144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679299313664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789038276000,"timestamp_ms":1789038276000,"timestamp_seconds":1789038276,"priority":1,"record_length":96,"hex_timestamp":"000001a08afdada0"} 
[2026-09-10 16:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 16:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:34:58] 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-09-10 16:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993797376001,"66":12602,"208":206,"85":15104,"24":28,"16":130780740550918144,"45":8864913679299313664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993797376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:34:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130780740550918144,"km_value":130780740550918.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679299313664,"description":"Unknown IO ID 45"} 
[2026-09-10 16:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993797376001,"power":12602,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8864913679299313664}} 
[2026-09-10 16:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":177839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:34:58] local.INFO: GPS data processed {"connection_id":177839,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:34:58] local.INFO: Acknowledgment sent {"connection_id":177839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:35:03] local.INFO: TCP Data received {"connection_id":177840,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:35:03] local.INFO: Processing buffer {"connection_id":177840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:35:03] local.INFO: IMEI packet received {"connection_id":177840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":177840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:35:05] local.INFO: TCP Data received {"connection_id":177838,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afb6f68012d168780071fa8180020012427..."} 
[2026-09-10 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afb6f68012d168780071fa8180020012427..."} 
[2026-09-10 16:35:05] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afb6f68012d168780071fa8180020012427..."} 
[2026-09-10 16:35:05] local.INFO: Packet analysis {"connection_id":177838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:35:05] local.INFO: Extracted packet for processing {"connection_id":177838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993755648001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:05] 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-09-10 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038129000,"timestamp_ms":1789038129000,"timestamp_seconds":1789038129,"priority":1,"record_length":96,"hex_timestamp":"000001a08afb6f68"} 
[2026-09-10 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-09-10 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 16:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993755648001,"66":12776,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993755648001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:35:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993755648001,"power":12776,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":177838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:35:05] local.INFO: GPS data processed {"connection_id":177838,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:35:05] local.INFO: Acknowledgment sent {"connection_id":177838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:35:24] local.INFO: TCP Data received {"connection_id":179210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:35:24] local.INFO: Processing buffer {"connection_id":179210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:35:24] local.INFO: IMEI packet received {"connection_id":179210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":179210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:35:30] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afdc510012d7b078005e342080002015b0d..."} 
[2026-09-10 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afdc510012d7b078005e342080002015b0d..."} 
[2026-09-10 16:35:30] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afdc510012d7b078005e342080002015b0d..."} 
[2026-09-10 16:35:30] local.INFO: Packet analysis {"connection_id":177839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:35:30] local.INFO: Extracted packet for processing {"connection_id":177839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98779656,"longitude_deg":76.3037568,"latitude_deg":9.8779656,"altitude":2,"angle":347,"satellites":13,"speed":15,"hex_longitude":"2d7b0780","hex_latitude":"05e34208","is_valid_coordinates":true} 
[2026-09-10 16:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993798656001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130780938119413760,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729346938880,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038282000,"timestamp_ms":1789038282000,"timestamp_seconds":1789038282,"priority":1,"record_length":96,"hex_timestamp":"000001a08afdc510"} 
[2026-09-10 16:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-10 16:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:35:30] 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-09-10 16:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993798656001,"66":13059,"208":206,"85":15104,"24":15,"16":130780938119413760,"45":8864350729346938880},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993798656001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:35:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130780938119413760,"km_value":130780938119413.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729346938880,"description":"Unknown IO ID 45"} 
[2026-09-10 16:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993798656001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8864350729346938880}} 
[2026-09-10 16:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":177839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:35:30] local.INFO: GPS data processed {"connection_id":177839,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:35:30] local.INFO: Acknowledgment sent {"connection_id":177839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:35:32] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:35:32] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:35:32] local.INFO: IMEI packet received {"connection_id":176662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":176662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:35:33] local.INFO: TCP Data received {"connection_id":179210,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179210,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:35:33] local.INFO: Processing buffer {"connection_id":179210,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:35:33] local.INFO: IMEI packet received {"connection_id":179210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":179210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:35:33] local.INFO: TCP Data received {"connection_id":179210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:35:33] local.INFO: Processing buffer {"connection_id":179210,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:35:33] local.INFO: IMEI packet received {"connection_id":179210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":179210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:35:35] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:35:35] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:35:35] local.INFO: IMEI packet received {"connection_id":176662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":176662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:35:36] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afbc170012d168780071fa8180020012424..."} 
[2026-09-10 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afbc170012d168780071fa8180020012424..."} 
[2026-09-10 16:35:36] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afbc170012d168780071fa8180020012424..."} 
[2026-09-10 16:35:36] local.INFO: Packet analysis {"connection_id":176662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:35:36] local.INFO: Extracted packet for processing {"connection_id":176662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afb"} 
[2026-09-10 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":36,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993761024001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:36] 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-09-10 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789038150000,"timestamp_ms":1789038150000,"timestamp_seconds":1789038150,"priority":1,"record_length":96,"hex_timestamp":"000001a08afbc170"} 
[2026-09-10 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-09-10 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 16:35: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-09-10 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-09-10 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-09-10 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993761024001,"66":12678,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993761024001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:35:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993761024001,"power":12678,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":176662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:35:36] local.INFO: GPS data processed {"connection_id":176662,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:35:36] local.INFO: Acknowledgment sent {"connection_id":176662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:35:53] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:53] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:53] local.INFO: IMEI packet received {"connection_id":176448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":176448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:35:57] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:57] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:57] local.INFO: IMEI packet received {"connection_id":176448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":176448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:35:57] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:57] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:35:57] local.INFO: IMEI packet received {"connection_id":176448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":176448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:35:59] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afdc8f8012d7b074005e34330000201500e..."} 
[2026-09-10 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afdc8f8012d7b074005e34330000201500e..."} 
[2026-09-10 16:35:59] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afdc8f8012d7b074005e34330000201500e..."} 
[2026-09-10 16:35:59] local.INFO: Packet analysis {"connection_id":176448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:35:59] local.INFO: Extracted packet for processing {"connection_id":176448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763037504,"raw_latitude":98779952,"longitude_deg":76.3037504,"latitude_deg":9.8779952,"altitude":2,"angle":336,"satellites":14,"speed":11,"hex_longitude":"2d7b0740","hex_latitude":"05e34330","is_valid_coordinates":true} 
[2026-09-10 16:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993800192001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130780955299282944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154278057984,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038283000,"timestamp_ms":1789038283000,"timestamp_seconds":1789038283,"priority":1,"record_length":96,"hex_timestamp":"000001a08afdc8f8"} 
[2026-09-10 16:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595359,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2678980608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2331850864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":138,"raw_value":4250638337,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4204265477,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3221611259,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827423,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399437,"note":"Value kept but may cause issues"} 
[2026-09-10 16:35:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,160,173,45,128,50,3,9,10,66,154,35,11,111,192,1,240,198,227,159,138,226,4,113,205,6,60,19,96,239,52,207,2,5,13],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-10 16:35:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144496774446252032,"timestamp_seconds":144496774446252.03,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:35: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-09-10 16:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993800192001,"66":12515,"208":206,"85":15104,"24":11,"16":130780955299282944,"45":8865195154278057984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993800192001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:35:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130780955299282944,"km_value":130780955299282.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154278057984,"description":"Unknown IO ID 45"} 
[2026-09-10 16:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993800192001,"power":12515,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8865195154278057984}} 
[2026-09-10 16:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":176448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:35:59] local.INFO: GPS data processed {"connection_id":176448,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:35:59] local.INFO: Acknowledgment sent {"connection_id":176448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:36:04] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afdf008012d7b058005e345a8000500031b..."} 
[2026-09-10 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afdf008012d7b058005e345a8000500031b..."} 
[2026-09-10 16:36:04] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afdf008012d7b058005e345a8000500031b..."} 
[2026-09-10 16:36:04] local.INFO: Packet analysis {"connection_id":176448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:36:04] local.INFO: Extracted packet for processing {"connection_id":176448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98780584,"longitude_deg":76.3037056,"latitude_deg":9.8780584,"altitude":5,"angle":3,"satellites":27,"speed":9,"hex_longitude":"2d7b0580","hex_latitude":"05e345a8","is_valid_coordinates":true} 
[2026-09-10 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993800448001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130780993953988608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865124785533956096,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789038293000,"timestamp_ms":1789038293000,"timestamp_seconds":1789038293,"priority":1,"record_length":96,"hex_timestamp":"000001a08afdf008"} 
[2026-09-10 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-10 16:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:36:04] 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-09-10 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993800448001,"66":13396,"208":206,"85":15104,"24":9,"16":130780993953988608,"45":8865124785533956096},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993800448001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:36:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130780993953988608,"km_value":130780993953988.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865124785533956096,"description":"Unknown IO ID 45"} 
[2026-09-10 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993800448001,"power":13396,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865124785533956096}} 
[2026-09-10 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":176448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:36:04] local.INFO: GPS data processed {"connection_id":176448,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:36:04] local.INFO: Acknowledgment sent {"connection_id":176448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:36:08] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afc1378012d168780071fa8180020012425..."} 
[2026-09-10 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afc1378012d168780071fa8180020012425..."} 
[2026-09-10 16:36:08] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afc1378012d168780071fa8180020012425..."} 
[2026-09-10 16:36:08] local.INFO: Packet analysis {"connection_id":176662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:36:08] local.INFO: Extracted packet for processing {"connection_id":176662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993766400001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:08] 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-09-10 16:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789038171000,"timestamp_ms":1789038171000,"timestamp_seconds":1789038171,"priority":1,"record_length":96,"hex_timestamp":"000001a08afc1378"} 
[2026-09-10 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-09-10 16:36: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-09-10 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 16:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993766400001,"66":12689,"131":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993766400001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:36:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993766400001,"power":12689,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":176662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:36:08] local.INFO: GPS data processed {"connection_id":176662,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:36:08] local.INFO: Acknowledgment sent {"connection_id":176662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:36:27] local.INFO: TCP Data received {"connection_id":179212,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:36:27] local.INFO: Processing buffer {"connection_id":179212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:36:27] local.INFO: IMEI packet received {"connection_id":179212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":179212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:36:31] local.INFO: TCP Data received {"connection_id":179212,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:36:31] local.INFO: Processing buffer {"connection_id":179212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:36:31] local.INFO: IMEI packet received {"connection_id":179212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":179212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:36:33] local.INFO: TCP Data received {"connection_id":179212,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afc6580012d168780071fa8180020012426..."} 
[2026-09-10 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afc6580012d168780071fa8180020012426..."} 
[2026-09-10 16:36:33] local.INFO: Processing buffer {"connection_id":179212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afc6580012d168780071fa8180020012426..."} 
[2026-09-10 16:36:33] local.INFO: Packet analysis {"connection_id":179212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:36:33] local.INFO: Extracted packet for processing {"connection_id":179212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993771776001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038192000,"timestamp_ms":1789038192000,"timestamp_seconds":1789038192,"priority":1,"record_length":96,"hex_timestamp":"000001a08afc6580"} 
[2026-09-10 16:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 16:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993771776001,"66":12287,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993771776001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:36:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993771776001,"power":12287,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":179212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:36:33] local.INFO: GPS data processed {"connection_id":179212,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:36:33] local.INFO: Acknowledgment sent {"connection_id":179212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:36:35] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afdfbc0012d7b04c005e34a100006015e1b..."} 
[2026-09-10 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afdfbc0012d7b04c005e34a100006015e1b..."} 
[2026-09-10 16:36:35] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afdfbc0012d7b04c005e34a100006015e1b..."} 
[2026-09-10 16:36:35] local.INFO: Packet analysis {"connection_id":176448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:36:35] local.INFO: Extracted packet for processing {"connection_id":176448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98781712,"longitude_deg":76.3036864,"latitude_deg":9.8781712,"altitude":6,"angle":350,"satellites":27,"speed":16,"hex_longitude":"2d7b04c0","hex_latitude":"05e34a10","is_valid_coordinates":true} 
[2026-09-10 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993803008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130781049788563456,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204324874240,"note":"Value kept but may cause issues"} 
[2026-09-10 16:36: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-09-10 16:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789038296000,"timestamp_ms":1789038296000,"timestamp_seconds":1789038296,"priority":1,"record_length":96,"hex_timestamp":"000001a08afdfbc0"} 
[2026-09-10 16:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:36: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-09-10 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 16:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:36:35] 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-09-10 16:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993803008001,"66":13135,"208":206,"85":15104,"24":16,"16":130781049788563456,"45":8864632204324874240},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993803008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:36:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130781049788563456,"km_value":130781049788563.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204324874240,"description":"Unknown IO ID 45"} 
[2026-09-10 16:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993803008001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8864632204324874240}} 
[2026-09-10 16:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":176448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:36:36] local.INFO: GPS data processed {"connection_id":176448,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:36:36] local.INFO: Acknowledgment sent {"connection_id":176448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:36:55] local.INFO: TCP Data received {"connection_id":179213,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:36:55] local.INFO: Processing buffer {"connection_id":179213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:36:55] local.INFO: IMEI packet received {"connection_id":179213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":179213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:36:57] local.INFO: TCP Data received {"connection_id":179213,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:36:57] local.INFO: Processing buffer {"connection_id":179213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:36:57] local.INFO: IMEI packet received {"connection_id":179213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":179213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:37:03] local.INFO: TCP Data received {"connection_id":179213,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:03] local.INFO: Processing buffer {"connection_id":179213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:03] local.INFO: IMEI packet received {"connection_id":179213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":179213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:37:05] local.INFO: TCP Data received {"connection_id":179213,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afe2aa0012d7afb8005e36ce00008015920..."} 
[2026-09-10 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afe2aa0012d7afb8005e36ce00008015920..."} 
[2026-09-10 16:37:05] local.INFO: Processing buffer {"connection_id":179213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afe2aa0012d7afb8005e36ce00008015920..."} 
[2026-09-10 16:37:05] local.INFO: Packet analysis {"connection_id":179213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:37:05] local.INFO: Extracted packet for processing {"connection_id":179213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763034496,"raw_latitude":98790624,"longitude_deg":76.3034496,"latitude_deg":9.8790624,"altitude":8,"angle":345,"satellites":32,"speed":31,"hex_longitude":"2d7afb80","hex_latitude":"05e36ce0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993803776001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130781496465162240,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098092630016,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37: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-09-10 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038308000,"timestamp_ms":1789038308000,"timestamp_seconds":1789038308,"priority":1,"record_length":96,"hex_timestamp":"000001a08afe2aa0"} 
[2026-09-10 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-09-10 16:37: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-09-10 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 16:37: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-09-10 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-09-10 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-09-10 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993803776001,"66":12722,"208":206,"85":15104,"24":31,"16":130781496465162240,"45":8864421098092630016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993803776001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130781496465162240,"km_value":130781496465162.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098092630016,"description":"Unknown IO ID 45"} 
[2026-09-10 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993803776001,"power":12722,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8864421098092630016}} 
[2026-09-10 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":179213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:37:05] local.INFO: GPS data processed {"connection_id":179213,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:37:05] local.INFO: Acknowledgment sent {"connection_id":179213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:37:05] local.INFO: TCP Data received {"connection_id":179212,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afcb788012d168780071fa8180020012427..."} 
[2026-09-10 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afcb788012d168780071fa8180020012427..."} 
[2026-09-10 16:37:05] local.INFO: Processing buffer {"connection_id":179212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afcb788012d168780071fa8180020012427..."} 
[2026-09-10 16:37:05] local.INFO: Packet analysis {"connection_id":179212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:37:05] local.INFO: Extracted packet for processing {"connection_id":179212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afc"} 
[2026-09-10 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993777152001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038213000,"timestamp_ms":1789038213000,"timestamp_seconds":1789038213,"priority":1,"record_length":96,"hex_timestamp":"000001a08afcb788"} 
[2026-09-10 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-09-10 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 16:37: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-09-10 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-09-10 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-09-10 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993777152001,"66":12689,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993777152001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993777152001,"power":12689,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":179212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:37:05] local.INFO: GPS data processed {"connection_id":179212,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:37:05] local.INFO: Acknowledgment sent {"connection_id":179212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:37:08] local.INFO: TCP Data received {"connection_id":179213,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08afe6150012d7af14005e38ea0000b01511e..."} 
[2026-09-10 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afe6150012d7af14005e38ea0000b01511e..."} 
[2026-09-10 16:37:08] local.INFO: Processing buffer {"connection_id":179213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afe6150012d7af14005e38ea0000b01511e..."} 
[2026-09-10 16:37:08] local.INFO: Packet analysis {"connection_id":179213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:37:08] local.INFO: Extracted packet for processing {"connection_id":179213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763031872,"raw_latitude":98799264,"longitude_deg":76.3031872,"latitude_deg":9.8799264,"altitude":11,"angle":337,"satellites":30,"speed":23,"hex_longitude":"2d7af140","hex_latitude":"05e38ea0","is_valid_coordinates":true} 
[2026-09-10 16:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993806848001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130781934551826432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861817454560337920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789038322000,"timestamp_ms":1789038322000,"timestamp_seconds":1789038322,"priority":1,"record_length":96,"hex_timestamp":"000001a08afe6150"} 
[2026-09-10 16:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:37: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-09-10 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 16:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:37:08] 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-09-10 16:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993806848001,"66":13341,"208":206,"85":15104,"24":23,"16":130781934551826432,"45":8861817454560337920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993806848001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:37:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130781934551826432,"km_value":130781934551826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861817454560337920,"description":"Unknown IO ID 45"} 
[2026-09-10 16:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993806848001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8861817454560337920}} 
[2026-09-10 16:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":179213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:37:08] local.INFO: GPS data processed {"connection_id":179213,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:37:08] local.INFO: Acknowledgment sent {"connection_id":179213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:37:26] local.INFO: TCP Data received {"connection_id":179214,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:37:26] local.INFO: Processing buffer {"connection_id":179214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:37:26] local.INFO: IMEI packet received {"connection_id":179214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":179214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:37:32] local.INFO: TCP Data received {"connection_id":179214,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:37:32] local.INFO: Processing buffer {"connection_id":179214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:37:32] local.INFO: IMEI packet received {"connection_id":179214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":179214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:37:33] local.INFO: TCP Data received {"connection_id":179214,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afd0990012d168780071fa8180020012427..."} 
[2026-09-10 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afd0990012d168780071fa8180020012427..."} 
[2026-09-10 16:37:33] local.INFO: Processing buffer {"connection_id":179214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afd0990012d168780071fa8180020012427..."} 
[2026-09-10 16:37:33] local.INFO: Packet analysis {"connection_id":179214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:37:33] local.INFO: Extracted packet for processing {"connection_id":179214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993782528001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038234000,"timestamp_ms":1789038234000,"timestamp_seconds":1789038234,"priority":1,"record_length":96,"hex_timestamp":"000001a08afd0990"} 
[2026-09-10 16:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 16:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993782528001,"66":12678,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993782528001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:37:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993782528001,"power":12678,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":179214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:37:33] local.INFO: GPS data processed {"connection_id":179214,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:37:33] local.INFO: Acknowledgment sent {"connection_id":179214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:37:48] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:48] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:48] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:37:52] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:52] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:52] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:37:57] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:57] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:37:57] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:37:59] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0041c8012d7a9fc005e409c8000c010720..."} 
[2026-09-10 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0041c8012d7a9fc005e409c8000c010720..."} 
[2026-09-10 16:37:59] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0041c8012d7a9fc005e409c8000c010720..."} 
[2026-09-10 16:37:59] local.INFO: Packet analysis {"connection_id":176451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:37:59] local.INFO: Extracted packet for processing {"connection_id":176451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98830792,"longitude_deg":76.3011008,"latitude_deg":9.8830792,"altitude":12,"angle":263,"satellites":32,"speed":0,"hex_longitude":"2d7a9fc0","hex_latitude":"05e409c8","is_valid_coordinates":true} 
[2026-09-10 16:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993836800001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130784245244231680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837751344061939712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038445000,"timestamp_ms":1789038445000,"timestamp_seconds":1789038445,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0041c8"} 
[2026-09-10 16:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 16:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:37: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-09-10 16:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993836800001,"66":13450,"208":206,"85":15104,"24":0,"16":130784245244231680,"45":8837751344061939712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993836800001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:37:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130784245244231680,"km_value":130784245244231.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837751344061939712,"description":"Unknown IO ID 45"} 
[2026-09-10 16:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993836800001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837751344061939712}} 
[2026-09-10 16:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":176451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:37:59] local.INFO: GPS data processed {"connection_id":176451,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:37:59] local.INFO: Acknowledgment sent {"connection_id":176451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:38:05] local.INFO: TCP Data received {"connection_id":179214,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afd5b98012d168780071fa8180020012427..."} 
[2026-09-10 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afd5b98012d168780071fa8180020012427..."} 
[2026-09-10 16:38:05] local.INFO: Processing buffer {"connection_id":179214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afd5b98012d168780071fa8180020012427..."} 
[2026-09-10 16:38:05] local.INFO: Packet analysis {"connection_id":179214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:38:05] local.INFO: Extracted packet for processing {"connection_id":179214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993787904001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038255000,"timestamp_ms":1789038255000,"timestamp_seconds":1789038255,"priority":1,"record_length":96,"hex_timestamp":"000001a08afd5b98"} 
[2026-09-10 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-09-10 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 16:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993787904001,"66":12667,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993787904001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:38:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993787904001,"power":12667,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":179214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:38:05] local.INFO: GPS data processed {"connection_id":179214,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:38:05] local.INFO: Acknowledgment sent {"connection_id":179214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:38:26] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:38:26] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:38:26] local.INFO: IMEI packet received {"connection_id":176665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":176665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:38:30] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b008fe8012d7a9f8005e40a60000c00331c..."} 
[2026-09-10 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b008fe8012d7a9f8005e40a60000c00331c..."} 
[2026-09-10 16:38:30] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b008fe8012d7a9f8005e40a60000c00331c..."} 
[2026-09-10 16:38:30] local.INFO: Packet analysis {"connection_id":176451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:38:30] local.INFO: Extracted packet for processing {"connection_id":176451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":98830944,"longitude_deg":76.3010944,"latitude_deg":9.8830944,"altitude":12,"angle":51,"satellites":28,"speed":6,"hex_longitude":"2d7a9f80","hex_latitude":"05e40a60","is_valid_coordinates":true} 
[2026-09-10 16:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993841920001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130784253834166272,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457418240,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038465000,"timestamp_ms":1789038465000,"timestamp_seconds":1789038465,"priority":1,"record_length":96,"hex_timestamp":"000001a08b008fe8"} 
[2026-09-10 16:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 16:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:38:30] 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-09-10 16:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993841920001,"66":12939,"208":206,"85":15104,"24":6,"16":130784253834166272,"45":8835992125457418240},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993841920001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:38:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130784253834166272,"km_value":130784253834166.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457418240,"description":"Unknown IO ID 45"} 
[2026-09-10 16:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993841920001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8835992125457418240}} 
[2026-09-10 16:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":176451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:38:30] local.INFO: GPS data processed {"connection_id":176451,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:38:30] local.INFO: Acknowledgment sent {"connection_id":176451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:38:31] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:38:31] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:38:31] local.INFO: IMEI packet received {"connection_id":176665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:38:31] local.INFO: TCP Data received {"connection_id":176666,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:38:31] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:38:31] local.INFO: IMEI packet received {"connection_id":176666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:38:33] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afdada0012d168780071fa8180020012428..."} 
[2026-09-10 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afdada0012d168780071fa8180020012428..."} 
[2026-09-10 16:38:33] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afdada0012d168780071fa8180020012428..."} 
[2026-09-10 16:38:33] local.INFO: Packet analysis {"connection_id":176665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:38:33] local.INFO: Extracted packet for processing {"connection_id":176665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993793280001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038276000,"timestamp_ms":1789038276000,"timestamp_seconds":1789038276,"priority":1,"record_length":96,"hex_timestamp":"000001a08afdada0"} 
[2026-09-10 16:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 16:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993793280001,"66":12526,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993793280001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:38:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:38:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993793280001,"power":12526,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":176665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:38:33] local.INFO: GPS data processed {"connection_id":176665,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:38:33] local.INFO: Acknowledgment sent {"connection_id":176665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:38:38] local.INFO: TCP Data received {"connection_id":176666,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:38:38] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:38:38] local.INFO: IMEI packet received {"connection_id":176666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":176666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:38:39] local.INFO: TCP Data received {"connection_id":176666,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b00f190012d0afac007067988000800c620..."} 
[2026-09-10 16:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b00f190012d0afac007067988000800c620..."} 
[2026-09-10 16:38:39] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b00f190012d0afac007067988000800c620..."} 
[2026-09-10 16:38:39] local.INFO: Packet analysis {"connection_id":176666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:38:39] local.INFO: Extracted packet for processing {"connection_id":176666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:38:39] local.INFO: GPS Element Parsed {"raw_longitude":755694272,"raw_latitude":117864840,"longitude_deg":75.5694272,"latitude_deg":11.786484,"altitude":8,"angle":198,"satellites":32,"speed":22,"hex_longitude":"2d0afac0","hex_latitude":"07067988","is_valid_coordinates":true} 
[2026-09-10 16:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993852928001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31213584629366784,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791578033428201472,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789038490000,"timestamp_ms":1789038490000,"timestamp_seconds":1789038490,"priority":1,"record_length":96,"hex_timestamp":"000001a08b00f190"} 
[2026-09-10 16:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993852928001,"66":14309,"163":206,"94":10240,"24":22,"16":31213584629366784,"45":791578033428201472},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-10 16:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993852928001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:38:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 16:38:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31213584629366784,"km_value":31213584629366.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":791578033428201472,"description":"Unknown IO ID 45"} 
[2026-09-10 16:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993852928001,"power":14309,"unknown_163":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":791578033428201472}} 
[2026-09-10 16:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":176666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:38:39] local.INFO: GPS data processed {"connection_id":176666,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:38:39] local.INFO: Acknowledgment sent {"connection_id":176666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:38:52] local.INFO: TCP Data received {"connection_id":176667,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:38:52] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:38:52] local.INFO: IMEI packet received {"connection_id":176667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":176667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:38:57] local.INFO: TCP Data received {"connection_id":176667,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:38:57] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:38:57] local.INFO: IMEI packet received {"connection_id":176667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":176667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:38:59] local.INFO: TCP Data received {"connection_id":176667,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0093d0012d7aa08005e40ad0000c00401d..."} 
[2026-09-10 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0093d0012d7aa08005e40ad0000c00401d..."} 
[2026-09-10 16:38:59] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0093d0012d7aa08005e40ad0000c00401d..."} 
[2026-09-10 16:38:59] local.INFO: Packet analysis {"connection_id":176667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:38:59] local.INFO: Extracted packet for processing {"connection_id":176667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763011200,"raw_latitude":98831056,"longitude_deg":76.30112,"latitude_deg":9.8831056,"altitude":12,"angle":64,"satellites":29,"speed":9,"hex_longitude":"2d7aa080","hex_latitude":"05e40ad0","is_valid_coordinates":true} 
[2026-09-10 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993847040001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130784266719068160,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921756713279488,"note":"Value kept but may cause issues"} 
[2026-09-10 16:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038466000,"timestamp_ms":1789038466000,"timestamp_seconds":1789038466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0093d0"} 
[2026-09-10 16:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 16:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:38: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-09-10 16:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993847040001,"66":12939,"208":206,"85":15104,"24":9,"16":130784266719068160,"45":8835921756713279488},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993847040001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:38:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130784266719068160,"km_value":130784266719068.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921756713279488,"description":"Unknown IO ID 45"} 
[2026-09-10 16:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993847040001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8835921756713279488}} 
[2026-09-10 16:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":176667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:38:59] local.INFO: GPS data processed {"connection_id":176667,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:38:59] local.INFO: Acknowledgment sent {"connection_id":176667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:39:05] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afdffa8012d168780071fa8180020012429..."} 
[2026-09-10 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afdffa8012d168780071fa8180020012429..."} 
[2026-09-10 16:39:05] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afdffa8012d168780071fa8180020012429..."} 
[2026-09-10 16:39:05] local.INFO: Packet analysis {"connection_id":176665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:39:05] local.INFO: Extracted packet for processing {"connection_id":176665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afd"} 
[2026-09-10 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":41,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993798656001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038297000,"timestamp_ms":1789038297000,"timestamp_seconds":1789038297,"priority":1,"record_length":96,"hex_timestamp":"000001a08afdffa8"} 
[2026-09-10 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-09-10 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 16:39: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-09-10 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-09-10 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-09-10 16:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993798656001,"66":12461,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993798656001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:39:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993798656001,"power":12461,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":176665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:39:05] local.INFO: GPS data processed {"connection_id":176665,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:39:05] local.INFO: Acknowledgment sent {"connection_id":176665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:39:10] local.INFO: TCP Data received {"connection_id":176666,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b00f960012d0af8c007067628000800df21..."} 
[2026-09-10 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b00f960012d0af8c007067628000800df21..."} 
[2026-09-10 16:39:10] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b00f960012d0af8c007067628000800df21..."} 
[2026-09-10 16:39:10] local.INFO: Packet analysis {"connection_id":176666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:39:10] local.INFO: Extracted packet for processing {"connection_id":176666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":755693760,"raw_latitude":117863976,"longitude_deg":75.569376,"latitude_deg":11.7863976,"altitude":8,"angle":223,"satellites":33,"speed":18,"hex_longitude":"2d0af8c0","hex_latitude":"07067628","is_valid_coordinates":true} 
[2026-09-10 16:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993853440001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31213631874007040,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791155820962875392,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789038492000,"timestamp_ms":1789038492000,"timestamp_seconds":1789038492,"priority":1,"record_length":96,"hex_timestamp":"000001a08b00f960"} 
[2026-09-10 16:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 16:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993853440001,"66":14494,"163":206,"94":10240,"24":18,"16":31213631874007040,"45":791155820962875392},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-10 16:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993853440001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:39:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 16:39:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31213631874007040,"km_value":31213631874007.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":791155820962875392,"description":"Unknown IO ID 45"} 
[2026-09-10 16:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993853440001,"power":14494,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":791155820962875392}} 
[2026-09-10 16:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":176666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794993,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:39:10] local.INFO: GPS data processed {"connection_id":176666,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:39:10] local.INFO: Acknowledgment sent {"connection_id":176666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:39:26] local.INFO: TCP Data received {"connection_id":179216,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:39:26] local.INFO: Processing buffer {"connection_id":179216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:39:26] local.INFO: IMEI packet received {"connection_id":179216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":179216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:39:27] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:39:27] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:39:27] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:39:31] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:39:31] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:39:31] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:39:31] local.INFO: TCP Data received {"connection_id":179216,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:39:31] local.INFO: Processing buffer {"connection_id":179216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:39:31] local.INFO: IMEI packet received {"connection_id":179216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":179216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:39:31] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b00fd48012d0af74007067518000800ee21..."} 
[2026-09-10 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b00fd48012d0af74007067518000800ee21..."} 
[2026-09-10 16:39:31] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b00fd48012d0af74007067518000800ee21..."} 
[2026-09-10 16:39:31] local.INFO: Packet analysis {"connection_id":176452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:39:31] local.INFO: Extracted packet for processing {"connection_id":176452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b00"} 
[2026-09-10 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":755693376,"raw_latitude":117863704,"longitude_deg":75.5693376,"latitude_deg":11.7863704,"altitude":8,"angle":238,"satellites":33,"speed":17,"hex_longitude":"2d0af740","hex_latitude":"07067518","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993853952001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31213653348843520,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790592871009232896,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789038493000,"timestamp_ms":1789038493000,"timestamp_seconds":1789038493,"priority":1,"record_length":96,"hex_timestamp":"000001a08b00fd48"} 
[2026-09-10 16:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 16:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993853952001,"66":14646,"163":206,"94":10240,"24":17,"16":31213653348843520,"45":790592871009232896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-10 16:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993853952001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:39:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 16:39:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31213653348843520,"km_value":31213653348843.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":790592871009232896,"description":"Unknown IO ID 45"} 
[2026-09-10 16:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993853952001,"power":14646,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":790592871009232896}} 
[2026-09-10 16:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":176452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:39:32] local.INFO: GPS data processed {"connection_id":176452,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:39:32] local.INFO: Acknowledgment sent {"connection_id":176452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:39:32] local.INFO: TCP Data received {"connection_id":176667,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b021a70012d7b050005e34e200008011522..."} 
[2026-09-10 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b021a70012d7b050005e34e200008011522..."} 
[2026-09-10 16:39:32] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b021a70012d7b050005e34e200008011522..."} 
[2026-09-10 16:39:32] local.INFO: Packet analysis {"connection_id":176667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:39:32] local.INFO: Extracted packet for processing {"connection_id":176667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98782752,"longitude_deg":76.3036928,"latitude_deg":9.8782752,"altitude":8,"angle":277,"satellites":34,"speed":10,"hex_longitude":"2d7b0500","hex_latitude":"05e34e20","is_valid_coordinates":true} 
[2026-09-10 16:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993872640001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130787376275390464,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941813784576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789038566000,"timestamp_ms":1789038566000,"timestamp_seconds":1789038566,"priority":1,"record_length":96,"hex_timestamp":"000001a08b021a70"} 
[2026-09-10 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-09-10 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:39:32] 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-09-10 16:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993872640001,"66":13222,"208":206,"85":15104,"24":10,"16":130787376275390464,"45":8864772941813784576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993872640001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:39:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130787376275390464,"km_value":130787376275390.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941813784576,"description":"Unknown IO ID 45"} 
[2026-09-10 16:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993872640001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864772941813784576}} 
[2026-09-10 16:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":176667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:39:32] local.INFO: GPS data processed {"connection_id":176667,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:39:32] local.INFO: Acknowledgment sent {"connection_id":176667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:39:33] local.INFO: TCP Data received {"connection_id":179216,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afe51b0012d168780071fa8180020012428..."} 
[2026-09-10 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afe51b0012d168780071fa8180020012428..."} 
[2026-09-10 16:39:33] local.INFO: Processing buffer {"connection_id":179216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afe51b0012d168780071fa8180020012428..."} 
[2026-09-10 16:39:33] local.INFO: Packet analysis {"connection_id":179216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:39:33] local.INFO: Extracted packet for processing {"connection_id":179216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993804032001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038318000,"timestamp_ms":1789038318000,"timestamp_seconds":1789038318,"priority":1,"record_length":96,"hex_timestamp":"000001a08afe51b0"} 
[2026-09-10 16:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993804032001,"66":12667,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993804032001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:39:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:39:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993804032001,"power":12667,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":179216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:39:33] local.INFO: GPS data processed {"connection_id":179216,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:39:33] local.INFO: Acknowledgment sent {"connection_id":179216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:39:50] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:50] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:50] local.INFO: IMEI packet received {"connection_id":176669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":176669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:39:52] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:52] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:52] local.INFO: IMEI packet received {"connection_id":176669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":176669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:39:57] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:57] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:39:57] local.INFO: IMEI packet received {"connection_id":176669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":176669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:39:59] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b021e58012d7b044005e34e880008013822..."} 
[2026-09-10 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b021e58012d7b044005e34e880008013822..."} 
[2026-09-10 16:39:59] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b021e58012d7b044005e34e880008013822..."} 
[2026-09-10 16:39:59] local.INFO: Packet analysis {"connection_id":176669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:39:59] local.INFO: Extracted packet for processing {"connection_id":176669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98782856,"longitude_deg":76.3036736,"latitude_deg":9.8782856,"altitude":8,"angle":312,"satellites":34,"speed":10,"hex_longitude":"2d7b0440","hex_latitude":"05e34e88","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993872896001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130787389160292352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466837073920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038567000,"timestamp_ms":1789038567000,"timestamp_seconds":1789038567,"priority":1,"record_length":96,"hex_timestamp":"000001a08b021e58"} 
[2026-09-10 16:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 16:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:39: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-09-10 16:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993872896001,"66":12928,"208":206,"85":15104,"24":10,"16":130787389160292352,"45":8864491466837073920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993872896001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:39:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130787389160292352,"km_value":130787389160292.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466837073920,"description":"Unknown IO ID 45"} 
[2026-09-10 16:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993872896001,"power":12928,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864491466837073920}} 
[2026-09-10 16:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":176669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:39:59] local.INFO: GPS data processed {"connection_id":176669,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:39:59] local.INFO: Acknowledgment sent {"connection_id":176669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:03] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b025120012d0b4e400705fe90000b002e20..."} 
[2026-09-10 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b025120012d0b4e400705fe90000b002e20..."} 
[2026-09-10 16:40:03] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b025120012d0b4e400705fe90000b002e20..."} 
[2026-09-10 16:40:03] local.INFO: Packet analysis {"connection_id":176452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:03] local.INFO: Extracted packet for processing {"connection_id":176452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833360,"longitude_deg":75.5715648,"latitude_deg":11.783336,"altitude":11,"angle":46,"satellites":32,"speed":6,"hex_longitude":"2d0b4e40","hex_latitude":"0705fe90","is_valid_coordinates":true} 
[2026-09-10 16:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993876224001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31215671983472640,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814447875277600768,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789038580000,"timestamp_ms":1789038580000,"timestamp_seconds":1789038580,"priority":1,"record_length":96,"hex_timestamp":"000001a08b025120"} 
[2026-09-10 16:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 16:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993876224001,"66":14396,"165":206,"94":10240,"24":6,"16":31215671983472640,"45":814447875277600768},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 16:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993876224001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:40:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 16:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31215671983472640,"km_value":31215671983472.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":814447875277600768,"description":"Unknown IO ID 45"} 
[2026-09-10 16:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993876224001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814447875277600768}} 
[2026-09-10 16:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":176452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:40:03] local.INFO: GPS data processed {"connection_id":176452,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:40:03] local.INFO: Acknowledgment sent {"connection_id":176452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:04] local.INFO: TCP Data received {"connection_id":179216,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afea3b8012d168780071fa8180020012428..."} 
[2026-09-10 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afea3b8012d168780071fa8180020012428..."} 
[2026-09-10 16:40:04] local.INFO: Processing buffer {"connection_id":179216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afea3b8012d168780071fa8180020012428..."} 
[2026-09-10 16:40:04] local.INFO: Packet analysis {"connection_id":179216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:40:04] local.INFO: Extracted packet for processing {"connection_id":179216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993809408001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789038339000,"timestamp_ms":1789038339000,"timestamp_seconds":1789038339,"priority":1,"record_length":96,"hex_timestamp":"000001a08afea3b8"} 
[2026-09-10 16:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 16:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993809408001,"66":12667,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993809408001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:40:04] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993809408001,"power":12667,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":179216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:40:05] local.INFO: GPS data processed {"connection_id":179216,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:40:05] local.INFO: Acknowledgment sent {"connection_id":179216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:27] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:40:27] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:40:27] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:40:29] local.INFO: TCP Data received {"connection_id":176454,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:29] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:29] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:40:30] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:40:30] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:40:30] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:40:30] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b022240012d7b038005e34f480009014522..."} 
[2026-09-10 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b022240012d7b038005e34f480009014522..."} 
[2026-09-10 16:40:30] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b022240012d7b038005e34f480009014522..."} 
[2026-09-10 16:40:30] local.INFO: Packet analysis {"connection_id":176669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:30] local.INFO: Extracted packet for processing {"connection_id":176669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98783048,"longitude_deg":76.3036544,"latitude_deg":9.8783048,"altitude":9,"angle":325,"satellites":34,"speed":8,"hex_longitude":"2d7b0380","hex_latitude":"05e34f48","is_valid_coordinates":true} 
[2026-09-10 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993873152001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130787402045194240,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604567552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038568000,"timestamp_ms":1789038568000,"timestamp_seconds":1789038568,"priority":1,"record_length":96,"hex_timestamp":"000001a08b022240"} 
[2026-09-10 16:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-10 16:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:40:30] 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-09-10 16:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993873152001,"66":12928,"208":206,"85":15104,"24":8,"16":130787402045194240,"45":8864280360604567552},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993873152001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:40:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130787402045194240,"km_value":130787402045194.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604567552,"description":"Unknown IO ID 45"} 
[2026-09-10 16:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993873152001,"power":12928,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8864280360604567552}} 
[2026-09-10 16:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":176669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:40:30] local.INFO: GPS data processed {"connection_id":176669,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:40:30] local.INFO: Acknowledgment sent {"connection_id":176669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:31] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b025508012d0b4e800705ff10000b002220..."} 
[2026-09-10 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b025508012d0b4e800705ff10000b002220..."} 
[2026-09-10 16:40:31] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b025508012d0b4e800705ff10000b002220..."} 
[2026-09-10 16:40:31] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:31] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":755715712,"raw_latitude":117833488,"longitude_deg":75.5715712,"latitude_deg":11.7833488,"altitude":11,"angle":34,"satellites":32,"speed":6,"hex_longitude":"2d0b4e80","hex_latitude":"0705ff10","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993876480001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31215676278439936,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814658981510156288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40: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-09-10 16:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789038581000,"timestamp_ms":1789038581000,"timestamp_seconds":1789038581,"priority":1,"record_length":96,"hex_timestamp":"000001a08b025508"} 
[2026-09-10 16:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 16:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993876480001,"66":14309,"165":206,"94":10240,"24":6,"16":31215676278439936,"45":814658981510156288},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 16:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993876480001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:40:31] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 16:40:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31215676278439936,"km_value":31215676278439.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":814658981510156288,"description":"Unknown IO ID 45"} 
[2026-09-10 16:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993876480001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814658981510156288}} 
[2026-09-10 16:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795001,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:40:31] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:40:31] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:32] local.INFO: TCP Data received {"connection_id":176454,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:32] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:32] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:40:34] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:40:34] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:40:34] local.INFO: IMEI packet received {"connection_id":176453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":176453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:40:35] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b022628012cc97c00074c4b88000b00462c..."} 
[2026-09-10 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b022628012cc97c00074c4b88000b00462c..."} 
[2026-09-10 16:40:35] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b022628012cc97c00074c4b88000b00462c..."} 
[2026-09-10 16:40:35] local.INFO: Packet analysis {"connection_id":176453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:35] local.INFO: Extracted packet for processing {"connection_id":176453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":751401984,"raw_latitude":122440584,"longitude_deg":75.1401984,"latitude_deg":12.2440584,"altitude":11,"angle":70,"satellites":44,"speed":54,"hex_longitude":"2cc97c00","hex_latitude":"074c4b88","is_valid_coordinates":true} 
[2026-09-10 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993871872001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404308112208560128,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3938257105303271424,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789038569000,"timestamp_ms":1789038569000,"timestamp_seconds":1789038569,"priority":1,"record_length":96,"hex_timestamp":"000001a08b022628"} 
[2026-09-10 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:40: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-09-10 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:40: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-09-10 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993871872001,"66":27908,"161":206,"85":37632,"24":54,"16":404308112208560128,"44":-3938257105303271424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-10 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993871872001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:40:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-10 16:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404308112208560128,"km_value":404308112208560.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3938257105303271424,"description":"Unknown IO ID 44"} 
[2026-09-10 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993871872001,"power":27908,"unknown_161":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3938257105303271424}} 
[2026-09-10 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":176453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:40:35] local.INFO: GPS data processed {"connection_id":176453,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:40:35] local.INFO: Acknowledgment sent {"connection_id":176453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:36] local.INFO: TCP Data received {"connection_id":176454,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:36] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:40:36] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:40:38] local.INFO: TCP Data received {"connection_id":176454,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08afef5c0012d168780071fa8180020012428..."} 
[2026-09-10 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08afef5c0012d168780071fa8180020012428..."} 
[2026-09-10 16:40:38] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08afef5c0012d168780071fa8180020012428..."} 
[2026-09-10 16:40:38] local.INFO: Packet analysis {"connection_id":176454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:40:38] local.INFO: Extracted packet for processing {"connection_id":176454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08afe"} 
[2026-09-10 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":40,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993814784001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789038360000,"timestamp_ms":1789038360000,"timestamp_seconds":1789038360,"priority":1,"record_length":96,"hex_timestamp":"000001a08afef5c0"} 
[2026-09-10 16:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 16:40: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-09-10 16: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-09-10 16:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993814784001,"66":12667,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993814784001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:40:38] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993814784001,"power":12667,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":176454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:40:38] local.INFO: GPS data processed {"connection_id":176454,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:40:38] local.INFO: Acknowledgment sent {"connection_id":176454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:43] local.INFO: TCP Data received {"connection_id":176454,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08aff47c8012d168780071fa8180020012423..."} 
[2026-09-10 16:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08aff47c8012d168780071fa8180020012423..."} 
[2026-09-10 16:40:43] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08aff47c8012d168780071fa8180020012423..."} 
[2026-09-10 16:40:43] local.INFO: Packet analysis {"connection_id":176454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08aff"} 
[2026-09-10 16:40:43] local.INFO: Extracted packet for processing {"connection_id":176454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08aff"} 
[2026-09-10 16:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":35,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993820160001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789038381000,"timestamp_ms":1789038381000,"timestamp_seconds":1789038381,"priority":1,"record_length":96,"hex_timestamp":"000001a08aff47c8"} 
[2026-09-10 16:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 16:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993820160001,"66":12558,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993820160001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:40:43] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993820160001,"power":12558,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":176454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:40:43] local.INFO: GPS data processed {"connection_id":176454,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:40:43] local.INFO: Acknowledgment sent {"connection_id":176454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:40:43] local.INFO: TCP Data received {"connection_id":179217,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:40:43] local.INFO: Processing buffer {"connection_id":179217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:40:43] local.INFO: IMEI packet received {"connection_id":179217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":179217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:40:52] local.INFO: TCP Data received {"connection_id":177844,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:40:52] local.INFO: Processing buffer {"connection_id":177844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:40:52] local.INFO: IMEI packet received {"connection_id":177844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":177844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:40:58] local.INFO: TCP Data received {"connection_id":177844,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:40:58] local.INFO: Processing buffer {"connection_id":177844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:40:58] local.INFO: IMEI packet received {"connection_id":177844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":177844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:41:02] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b027060012d0b5200070605c0000d001420..."} 
[2026-09-10 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b027060012d0b5200070605c0000d001420..."} 
[2026-09-10 16:41:02] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b027060012d0b5200070605c0000d001420..."} 
[2026-09-10 16:41:02] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:02] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":755716608,"raw_latitude":117835200,"longitude_deg":75.5716608,"latitude_deg":11.78352,"altitude":13,"angle":20,"satellites":32,"speed":13,"hex_longitude":"2d0b5200","hex_latitude":"070605c0","is_valid_coordinates":true} 
[2026-09-10 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993876736001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31215770767720448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814729350254366720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789038588000,"timestamp_ms":1789038588000,"timestamp_seconds":1789038588,"priority":1,"record_length":96,"hex_timestamp":"000001a08b027060"} 
[2026-09-10 16:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 16:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993876736001,"66":14428,"165":206,"94":10240,"24":13,"16":31215770767720448,"45":814729350254366720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993876736001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:41:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 16:41:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31215770767720448,"km_value":31215770767720.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":814729350254366720,"description":"Unknown IO ID 45"} 
[2026-09-10 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993876736001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":814729350254366720}} 
[2026-09-10 16:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:41:02] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:41:02] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:41:19] local.INFO: TCP Data received {"connection_id":176671,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:41:19] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:41:19] local.INFO: IMEI packet received {"connection_id":176671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":176671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:41:20] local.INFO: TCP Data received {"connection_id":176671,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:41:20] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:41:20] local.INFO: IMEI packet received {"connection_id":176671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":176671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:41:24] local.INFO: TCP Data received {"connection_id":176671,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:41:24] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 16:41:24] local.INFO: IMEI packet received {"connection_id":176671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":176671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:41:24] local.INFO: TCP Data received {"connection_id":177844,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b024180012d7b030005e350c8000a015e23..."} 
[2026-09-10 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b024180012d7b030005e350c8000a015e23..."} 
[2026-09-10 16:41:24] local.INFO: Processing buffer {"connection_id":177844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b024180012d7b030005e350c8000a015e23..."} 
[2026-09-10 16:41:24] local.INFO: Packet analysis {"connection_id":177844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:24] local.INFO: Extracted packet for processing {"connection_id":177844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98783432,"longitude_deg":76.3036416,"latitude_deg":9.8783432,"altitude":10,"angle":350,"satellites":35,"speed":10,"hex_longitude":"2d7b0300","hex_latitude":"05e350c8","is_valid_coordinates":true} 
[2026-09-10 16:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993873408001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130787423520030720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254372083712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789038576000,"timestamp_ms":1789038576000,"timestamp_seconds":1789038576,"priority":1,"record_length":96,"hex_timestamp":"000001a08b024180"} 
[2026-09-10 16:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-10 16:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:41:24] 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-09-10 16:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993873408001,"66":12798,"208":206,"85":15104,"24":10,"16":130787423520030720,"45":8864069254372083712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993873408001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:41:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130787423520030720,"km_value":130787423520030.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254372083712,"description":"Unknown IO ID 45"} 
[2026-09-10 16:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993873408001,"power":12798,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864069254372083712}} 
[2026-09-10 16:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":177844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:41:24] local.INFO: GPS data processed {"connection_id":177844,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:41:24] local.INFO: Acknowledgment sent {"connection_id":177844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:41:24] local.INFO: TCP Data received {"connection_id":176671,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b032028012ccab740074c0860000f00842b..."} 
[2026-09-10 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b032028012ccab740074c0860000f00842b..."} 
[2026-09-10 16:41:24] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08b..."} 
[2026-09-10 16:41:24] local.INFO: IMEI packet received {"connection_id":176671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":176671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:41:27] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:41:27] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:41:27] local.INFO: IMEI packet received {"connection_id":176455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":176455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:41:27] local.INFO: TCP Data received {"connection_id":177845,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:41:27] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:41:27] local.INFO: IMEI packet received {"connection_id":177845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":177845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:41:29] local.INFO: TCP Data received {"connection_id":176671,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b032fc8012ccac580074bf7f8000d009129..."} 
[2026-09-10 16:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b032fc8012ccac580074bf7f8000d009129..."} 
[2026-09-10 16:41:29] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08b032028012ccab740074c0860000f00842b..."} 
[2026-09-10 16:41:29] local.INFO: Packet analysis {"connection_id":176671,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:41:29] local.INFO: Extracted packet for processing {"connection_id":176671,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:41:29] local.INFO: GPS Element Parsed {"raw_longitude":751482688,"raw_latitude":122423392,"longitude_deg":75.1482688,"latitude_deg":12.2423392,"altitude":15,"angle":132,"satellites":43,"speed":55,"hex_longitude":"2ccab740","hex_latitude":"074c0860","is_valid_coordinates":true} 
[2026-09-10 16:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993889024001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404312115118080000,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3844525938061271040,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 16:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789038633000,"timestamp_ms":1789038633000,"timestamp_seconds":1789038633,"priority":1,"record_length":96,"hex_timestamp":"000001a08b032028"} 
[2026-09-10 16:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:41: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-09-10 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:41: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-09-10 16:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993889024001,"66":27930,"16":404312115118080000,"85":37632,"24":55,"44":-3844525938061271040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993889024001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404312115118080000,"km_value":404312115118080,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3844525938061271040,"description":"Unknown IO ID 44"} 
[2026-09-10 16:41:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457993889024001,"power":27930,"odometer":null,"unknown_85":37632,"ignition":55,"unknown_44":-3844525938061271040}} 
[2026-09-10 16:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":176671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:41:29] local.INFO: GPS data processed {"connection_id":176671,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:41:29] local.INFO: Acknowledgment sent {"connection_id":176671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:41:29] local.INFO: Packet analysis {"connection_id":176671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:41:29] local.INFO: Extracted packet for processing {"connection_id":176671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:41:29] local.INFO: GPS Element Parsed {"raw_longitude":751486336,"raw_latitude":122419192,"longitude_deg":75.1486336,"latitude_deg":12.2419192,"altitude":13,"angle":145,"satellites":41,"speed":53,"hex_longitude":"2ccac580","hex_latitude":"074bf7f8","is_valid_coordinates":true} 
[2026-09-10 16:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993890048001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404312381406052352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3839529757225492480,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789038637000,"timestamp_ms":1789038637000,"timestamp_seconds":1789038637,"priority":1,"record_length":96,"hex_timestamp":"000001a08b032fc8"} 
[2026-09-10 16:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:41: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-09-10 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 16:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993890048001,"66":27789,"103":206,"85":37632,"24":53,"16":404312381406052352,"44":-3839529757225492480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 16:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993890048001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:41:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 16:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404312381406052352,"km_value":404312381406052.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3839529757225492480,"description":"Unknown IO ID 44"} 
[2026-09-10 16:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993890048001,"power":27789,"unknown_103":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-3839529757225492480}} 
[2026-09-10 16:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":176671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:41:29] local.INFO: GPS data processed {"connection_id":176671,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:41:29] local.INFO: Acknowledgment sent {"connection_id":176671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:41:32] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:41:32] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:41:32] local.INFO: IMEI packet received {"connection_id":176455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":176455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:41:32] local.INFO: TCP Data received {"connection_id":177845,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:41:32] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:41:32] local.INFO: IMEI packet received {"connection_id":177845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":177845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:41:33] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b02be80012d0b544007060a180010001b21..."} 
[2026-09-10 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b02be80012d0b544007060a180010001b21..."} 
[2026-09-10 16:41:33] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b02be80012d0b544007060a180010001b21..."} 
[2026-09-10 16:41:33] local.INFO: Packet analysis {"connection_id":176455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:33] local.INFO: Extracted packet for processing {"connection_id":176455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836312,"longitude_deg":75.5717184,"latitude_deg":11.7836312,"altitude":16,"angle":27,"satellites":33,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060a18","is_valid_coordinates":true} 
[2026-09-10 16:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993878528001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31215830897262592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815714512673292288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038608000,"timestamp_ms":1789038608000,"timestamp_seconds":1789038608,"priority":1,"record_length":96,"hex_timestamp":"000001a08b02be80"} 
[2026-09-10 16:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993878528001,"66":14559,"165":206,"94":10240,"24":0,"16":31215830897262592,"45":815714512673292288},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993878528001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31215830897262592,"km_value":31215830897262.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":815714512673292288,"description":"Unknown IO ID 45"} 
[2026-09-10 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993878528001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":815714512673292288}} 
[2026-09-10 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":176455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795009,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:41:33] local.INFO: GPS data processed {"connection_id":176455,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:41:33] local.INFO: Acknowledgment sent {"connection_id":176455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:41:33] local.INFO: TCP Data received {"connection_id":177845,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b02ce20012d168780071fa8180020012422..."} 
[2026-09-10 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b02ce20012d168780071fa8180020012422..."} 
[2026-09-10 16:41:33] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b02ce20012d168780071fa8180020012422..."} 
[2026-09-10 16:41:33] local.INFO: Packet analysis {"connection_id":177845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:33] local.INFO: Extracted packet for processing {"connection_id":177845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b02"} 
[2026-09-10 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":34,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993879296001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038612000,"timestamp_ms":1789038612000,"timestamp_seconds":1789038612,"priority":1,"record_length":96,"hex_timestamp":"000001a08b02ce20"} 
[2026-09-10 16:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 16:41:33] 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-09-10 16:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993879296001,"66":12004,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993879296001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993879296001,"power":12004,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":177845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:41:33] local.INFO: GPS data processed {"connection_id":177845,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:41:33] local.INFO: Acknowledgment sent {"connection_id":177845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:41:52] local.INFO: TCP Data received {"connection_id":177846,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:41:52] local.INFO: Processing buffer {"connection_id":177846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:41:52] local.INFO: IMEI packet received {"connection_id":177846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":177846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:41:58] local.INFO: TCP Data received {"connection_id":177846,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:41:58] local.INFO: Processing buffer {"connection_id":177846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:41:58] local.INFO: IMEI packet received {"connection_id":177846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":177846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:41:59] local.INFO: TCP Data received {"connection_id":177846,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b041258012d7a644005e468280009011d23..."} 
[2026-09-10 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b041258012d7a644005e468280009011d23..."} 
[2026-09-10 16:41:59] local.INFO: Processing buffer {"connection_id":177846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b041258012d7a644005e468280009011d23..."} 
[2026-09-10 16:41:59] local.INFO: Packet analysis {"connection_id":177846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:41:59] local.INFO: Extracted packet for processing {"connection_id":177846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:41:59] local.INFO: GPS Element Parsed {"raw_longitude":762995776,"raw_latitude":98854952,"longitude_deg":76.2995776,"latitude_deg":9.8854952,"altitude":9,"angle":285,"satellites":35,"speed":14,"hex_longitude":"2d7a6440","hex_latitude":"05e46828","is_valid_coordinates":true} 
[2026-09-10 16:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993903104001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130791589638307840,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826844188719169536,"note":"Value kept but may cause issues"} 
[2026-09-10 16:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038695000,"timestamp_ms":1789038695000,"timestamp_seconds":1789038695,"priority":1,"record_length":96,"hex_timestamp":"000001a08b041258"} 
[2026-09-10 16:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 16:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:41: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-09-10 16:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993903104001,"66":13319,"208":206,"85":15104,"24":14,"16":130791589638307840,"45":8826844188719169536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 16:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993903104001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:41:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 16:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 16:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130791589638307840,"km_value":130791589638307.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826844188719169536,"description":"Unknown IO ID 45"} 
[2026-09-10 16:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993903104001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8826844188719169536}} 
[2026-09-10 16:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":177846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:41:59] local.INFO: GPS data processed {"connection_id":177846,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:41:59] local.INFO: Acknowledgment sent {"connection_id":177846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:42:00] local.INFO: TCP Data received {"connection_id":176671,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0352f0012ccadac0074bd840000a009428..."} 
[2026-09-10 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0352f0012ccadac0074bd840000a009428..."} 
[2026-09-10 16:42:00] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0352f0012ccadac0074bd840000a009428..."} 
[2026-09-10 16:42:00] local.INFO: Packet analysis {"connection_id":176671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:00] local.INFO: Extracted packet for processing {"connection_id":176671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:00] local.INFO: GPS Element Parsed {"raw_longitude":751491776,"raw_latitude":122411072,"longitude_deg":75.1491776,"latitude_deg":12.2411072,"altitude":10,"angle":148,"satellites":40,"speed":36,"hex_longitude":"2ccadac0","hex_latitude":"074bd840","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993891072001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404312849557487616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3835518738808440832,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789038646000,"timestamp_ms":1789038646000,"timestamp_seconds":1789038646,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0352f0"} 
[2026-09-10 16:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:42: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-09-10 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 16:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993891072001,"66":27908,"103":206,"85":37632,"24":36,"16":404312849557487616,"44":-3835518738808440832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 16:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993891072001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:42:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 16:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404312849557487616,"km_value":404312849557487.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3835518738808440832,"description":"Unknown IO ID 44"} 
[2026-09-10 16:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993891072001,"power":27908,"unknown_103":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3835518738808440832}} 
[2026-09-10 16:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":176671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:42:00] local.INFO: GPS data processed {"connection_id":176671,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:42:00] local.INFO: Acknowledgment sent {"connection_id":176671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:42:05] local.INFO: TCP Data received {"connection_id":177845,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b032028012d168780071fa8180020012427..."} 
[2026-09-10 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b032028012d168780071fa8180020012427..."} 
[2026-09-10 16:42:05] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b032028012d168780071fa8180020012427..."} 
[2026-09-10 16:42:05] local.INFO: Packet analysis {"connection_id":177845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:05] local.INFO: Extracted packet for processing {"connection_id":177845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993884672001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038633000,"timestamp_ms":1789038633000,"timestamp_seconds":1789038633,"priority":1,"record_length":96,"hex_timestamp":"000001a08b032028"} 
[2026-09-10 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:42:05] 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-09-10 16:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993884672001,"66":12341,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993884672001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993884672001,"power":12341,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":177845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:42:05] local.INFO: GPS data processed {"connection_id":177845,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:42:05] local.INFO: Acknowledgment sent {"connection_id":177845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:42:18] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:42:18] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:42:18] local.INFO: IMEI packet received {"connection_id":176672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":176672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:42:20] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b044138012d0ba1400705ceb80015006b20..."} 
[2026-09-10 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b044138012d0ba1400705ceb80015006b20..."} 
[2026-09-10 16:42:20] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b044138012d0ba1400705ceb80015006b20..."} 
[2026-09-10 16:42:20] local.INFO: Packet analysis {"connection_id":176455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:42:20] local.INFO: Extracted packet for processing {"connection_id":176455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":755736896,"raw_latitude":117821112,"longitude_deg":75.5736896,"latitude_deg":11.7821112,"altitude":21,"angle":107,"satellites":32,"speed":37,"hex_longitude":"2d0ba140","hex_latitude":"0705ceb8","is_valid_coordinates":true} 
[2026-09-10 16:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993906432001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31217213876731904,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827817936669136896,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789038707000,"timestamp_ms":1789038707000,"timestamp_seconds":1789038707,"priority":1,"record_length":96,"hex_timestamp":"000001a08b044138"} 
[2026-09-10 16:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 16:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993906432001,"66":14450,"165":206,"94":10240,"24":37,"16":31217213876731904,"45":827817936669136896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 16:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993906432001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:42:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 16:42:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31217213876731904,"km_value":31217213876731.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":827817936669136896,"description":"Unknown IO ID 45"} 
[2026-09-10 16:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993906432001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":827817936669136896}} 
[2026-09-10 16:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":176455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795014,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:42:20] local.INFO: GPS data processed {"connection_id":176455,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:42:20] local.INFO: Acknowledgment sent {"connection_id":176455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:42:24] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:42:24] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:42:24] local.INFO: IMEI packet received {"connection_id":176672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":176672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:42:25] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b037a00012ccaedc0074bbac0000a00942c..."} 
[2026-09-10 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b037a00012ccaedc0074bbac0000a00942c..."} 
[2026-09-10 16:42:25] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b037a00012ccaedc0074bbac0000a00942c..."} 
[2026-09-10 16:42:25] local.INFO: Packet analysis {"connection_id":176672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:25] local.INFO: Extracted packet for processing {"connection_id":176672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":751496640,"raw_latitude":122403520,"longitude_deg":75.149664,"latitude_deg":12.240352,"altitude":10,"angle":148,"satellites":44,"speed":36,"hex_longitude":"2ccaedc0","hex_latitude":"074bbac0","is_valid_coordinates":true} 
[2026-09-10 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993893376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404313283349184512,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3829537395555418112,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789038656000,"timestamp_ms":1789038656000,"timestamp_seconds":1789038656,"priority":1,"record_length":96,"hex_timestamp":"000001a08b037a00"} 
[2026-09-10 16:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993893376001,"66":27919,"103":206,"85":37632,"24":36,"16":404313283349184512,"44":-3829537395555418112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 16:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993893376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:42:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 16:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404313283349184512,"km_value":404313283349184.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3829537395555418112,"description":"Unknown IO ID 44"} 
[2026-09-10 16:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993893376001,"power":27919,"unknown_103":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3829537395555418112}} 
[2026-09-10 16:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":176672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:42:25] local.INFO: GPS data processed {"connection_id":176672,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:42:25] local.INFO: Acknowledgment sent {"connection_id":176672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:42:27] local.INFO: TCP Data received {"connection_id":176673,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:42:27] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:42:27] local.INFO: IMEI packet received {"connection_id":176673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":176673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:42:31] local.INFO: TCP Data received {"connection_id":176673,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:42:31] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:42:31] local.INFO: IMEI packet received {"connection_id":176673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":176673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:42:33] local.INFO: TCP Data received {"connection_id":176673,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b037230012d168780071fa8180020012425..."} 
[2026-09-10 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b037230012d168780071fa8180020012425..."} 
[2026-09-10 16:42:33] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b037230012d168780071fa8180020012425..."} 
[2026-09-10 16:42:33] local.INFO: Packet analysis {"connection_id":176673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:33] local.INFO: Extracted packet for processing {"connection_id":176673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993890048001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038654000,"timestamp_ms":1789038654000,"timestamp_seconds":1789038654,"priority":1,"record_length":96,"hex_timestamp":"000001a08b037230"} 
[2026-09-10 16:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 16:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993890048001,"66":12504,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993890048001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:42:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993890048001,"power":12504,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":176673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:42:33] local.INFO: GPS data processed {"connection_id":176673,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:42:33] local.INFO: Acknowledgment sent {"connection_id":176673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:42:56] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b03a110012ccaff00074b9938000b00a02c..."} 
[2026-09-10 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b03a110012ccaff00074b9938000b00a02c..."} 
[2026-09-10 16:42:56] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b03a110012ccaff00074b9938000b00a02c..."} 
[2026-09-10 16:42:56] local.INFO: Packet analysis {"connection_id":176672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:56] local.INFO: Extracted packet for processing {"connection_id":176672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:42:56] local.INFO: GPS Element Parsed {"raw_longitude":751501056,"raw_latitude":122394936,"longitude_deg":75.1501056,"latitude_deg":12.2394936,"altitude":11,"angle":160,"satellites":44,"speed":40,"hex_longitude":"2ccaff00","hex_latitude":"074b9938","is_valid_coordinates":true} 
[2026-09-10 16:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993895936001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404313751500619776,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3824189370999848960,"note":"Value kept but may cause issues"} 
[2026-09-10 16:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789038666000,"timestamp_ms":1789038666000,"timestamp_seconds":1789038666,"priority":1,"record_length":96,"hex_timestamp":"000001a08b03a110"} 
[2026-09-10 16:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 16:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993895936001,"66":27365,"103":206,"85":37632,"24":40,"16":404313751500619776,"44":-3824189370999848960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 16:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993895936001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:42:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 16:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404313751500619776,"km_value":404313751500619.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3824189370999848960,"description":"Unknown IO ID 44"} 
[2026-09-10 16:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993895936001,"power":27365,"unknown_103":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3824189370999848960}} 
[2026-09-10 16:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":176672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:42:56] local.INFO: GPS data processed {"connection_id":176672,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:42:56] local.INFO: Acknowledgment sent {"connection_id":176672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:43:02] local.INFO: TCP Data received {"connection_id":177847,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:02] local.INFO: Processing buffer {"connection_id":177847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:02] local.INFO: IMEI packet received {"connection_id":177847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":177847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:43:05] local.INFO: TCP Data received {"connection_id":176673,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b03c438012d168780071fa8180020012427..."} 
[2026-09-10 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b03c438012d168780071fa8180020012427..."} 
[2026-09-10 16:43:05] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b03c438012d168780071fa8180020012427..."} 
[2026-09-10 16:43:05] local.INFO: Packet analysis {"connection_id":176673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:43:05] local.INFO: Extracted packet for processing {"connection_id":176673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b03"} 
[2026-09-10 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993895424001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038675000,"timestamp_ms":1789038675000,"timestamp_seconds":1789038675,"priority":1,"record_length":96,"hex_timestamp":"000001a08b03c438"} 
[2026-09-10 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-09-10 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":216,"data_length":795,"current_offset":136} 
[2026-09-10 16:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993895424001,"66":12548,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993895424001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993895424001,"power":12548,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":176673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:43:05] local.INFO: GPS data processed {"connection_id":176673,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:43:05] local.INFO: Acknowledgment sent {"connection_id":176673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:43:07] local.INFO: TCP Data received {"connection_id":177847,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:07] local.INFO: Processing buffer {"connection_id":177847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:07] local.INFO: IMEI packet received {"connection_id":177847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":177847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:43:08] local.INFO: TCP Data received {"connection_id":177847,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0454c0012d0bb2400705c8780015007721..."} 
[2026-09-10 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0454c0012d0bb2400705c8780015007721..."} 
[2026-09-10 16:43:08] local.INFO: Processing buffer {"connection_id":177847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0454c0012d0bb2400705c8780015007721..."} 
[2026-09-10 16:43:08] local.INFO: Packet analysis {"connection_id":177847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:43:08] local.INFO: Extracted packet for processing {"connection_id":177847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:43:08] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":117819512,"longitude_deg":75.5741248,"latitude_deg":11.7819512,"altitude":21,"angle":119,"satellites":33,"speed":39,"hex_longitude":"2d0bb240","hex_latitude":"0705c878","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993908992001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31217437215031296,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":838021404574005248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789038712000,"timestamp_ms":1789038712000,"timestamp_seconds":1789038712,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0454c0"} 
[2026-09-10 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-09-10 16:43: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-09-10 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-10 16:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993908992001,"66":14396,"165":206,"94":10240,"24":39,"16":31217437215031296,"45":838021404574005248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-10 16:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993908992001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:43:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 16:43:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 16:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31217437215031296,"km_value":31217437215031.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":838021404574005248,"description":"Unknown IO ID 45"} 
[2026-09-10 16:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993908992001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":838021404574005248}} 
[2026-09-10 16:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":177847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:43:08] local.INFO: GPS data processed {"connection_id":177847,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:43:08] local.INFO: Acknowledgment sent {"connection_id":177847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:43:24] local.INFO: TCP Data received {"connection_id":179219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:43:24] local.INFO: Processing buffer {"connection_id":179219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:43:24] local.INFO: IMEI packet received {"connection_id":179219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":179219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:43:24] local.INFO: TCP Data received {"connection_id":179219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:43:24] local.INFO: Processing buffer {"connection_id":179219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:43:24] local.INFO: IMEI packet received {"connection_id":179219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":179219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:43:25] local.INFO: TCP Data received {"connection_id":179219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b052f80012ccb9580074abb38000b00782b..."} 
[2026-09-10 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b052f80012ccb9580074abb38000b00782b..."} 
[2026-09-10 16:43:25] local.INFO: Processing buffer {"connection_id":179219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b052f80012ccb9580074abb38000b00782b..."} 
[2026-09-10 16:43:25] local.INFO: Packet analysis {"connection_id":179219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:43:25] local.INFO: Extracted packet for processing {"connection_id":179219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":751539584,"raw_latitude":122338104,"longitude_deg":75.1539584,"latitude_deg":12.2338104,"altitude":11,"angle":120,"satellites":43,"speed":26,"hex_longitude":"2ccb9580","hex_latitude":"074abb38","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993920256001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404317316323475456,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3786119880415416320,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789038768000,"timestamp_ms":1789038768000,"timestamp_seconds":1789038768,"priority":1,"record_length":96,"hex_timestamp":"000001a08b052f80"} 
[2026-09-10 16:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993920256001,"66":27310,"103":206,"85":37632,"24":26,"16":404317316323475456,"44":-3786119880415416320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 16:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993920256001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:43:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 16:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404317316323475456,"km_value":404317316323475.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3786119880415416320,"description":"Unknown IO ID 44"} 
[2026-09-10 16:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993920256001,"power":27310,"unknown_103":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3786119880415416320}} 
[2026-09-10 16:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":179219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:43:25] local.INFO: GPS data processed {"connection_id":179219,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:43:25] local.INFO: Acknowledgment sent {"connection_id":179219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:43:26] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:43:26] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:43:26] local.INFO: IMEI packet received {"connection_id":176674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":176674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:43:28] local.INFO: TCP Data received {"connection_id":179219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b053b38012ccb9b80074ab6f0000b00862b..."} 
[2026-09-10 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b053b38012ccb9b80074ab6f0000b00862b..."} 
[2026-09-10 16:43:28] local.INFO: Processing buffer {"connection_id":179219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b053b38012ccb9b80074ab6f0000b00862b..."} 
[2026-09-10 16:43:28] local.INFO: Packet analysis {"connection_id":179219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:43:28] local.INFO: Extracted packet for processing {"connection_id":179219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":751541120,"raw_latitude":122337008,"longitude_deg":75.154112,"latitude_deg":12.2337008,"altitude":11,"angle":134,"satellites":43,"speed":23,"hex_longitude":"2ccb9b80","hex_latitude":"074ab6f0","is_valid_coordinates":true} 
[2026-09-10 16:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993924608001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404317406517788672,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776971943673382912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789038771000,"timestamp_ms":1789038771000,"timestamp_seconds":1789038771,"priority":1,"record_length":96,"hex_timestamp":"000001a08b053b38"} 
[2026-09-10 16:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 16:43:28] 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-09-10 16:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993924608001,"66":27821,"103":206,"85":37632,"24":23,"16":404317406517788672,"44":-3776971943673382912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 16:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993924608001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:43:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 16:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404317406517788672,"km_value":404317406517788.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:43:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776971943673382912,"description":"Unknown IO ID 44"} 
[2026-09-10 16:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993924608001,"power":27821,"unknown_103":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-3776971943673382912}} 
[2026-09-10 16:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":179219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:43:28] local.INFO: GPS data processed {"connection_id":179219,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:43:28] local.INFO: Acknowledgment sent {"connection_id":179219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:43:31] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:43:31] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:43:31] local.INFO: IMEI packet received {"connection_id":176674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":176674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:43:32] local.INFO: TCP Data received {"connection_id":176675,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:32] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:43:32] local.INFO: IMEI packet received {"connection_id":176675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":176675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:43:33] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b041640012d168780071fa8180020012424..."} 
[2026-09-10 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b041640012d168780071fa8180020012424..."} 
[2026-09-10 16:43:33] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b041640012d168780071fa8180020012424..."} 
[2026-09-10 16:43:33] local.INFO: Packet analysis {"connection_id":176674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:43:33] local.INFO: Extracted packet for processing {"connection_id":176674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":36,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993900800001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038696000,"timestamp_ms":1789038696000,"timestamp_seconds":1789038696,"priority":1,"record_length":96,"hex_timestamp":"000001a08b041640"} 
[2026-09-10 16:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2332153864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2820145184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884056782,"corrected_to":0} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2147950504,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030119,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2230124544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9006972633006204928,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,130,28,24,241,158,16,132,160,114,45,128,168,32,37,10,66,39,206,1,240,228,139,31,4,113,205,42,135,239,48,131,2,68,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3884056782,"validated":0}]} 
[2026-09-10 16:43:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306164234112729088,"timestamp_seconds":2306164234112729.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993900800001,"66":12461,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993900800001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:43:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993900800001,"power":12461,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":176674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:43:33] local.INFO: GPS data processed {"connection_id":176674,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:43:33] local.INFO: Acknowledgment sent {"connection_id":176674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:43:58] local.INFO: TCP Data received {"connection_id":179219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b056248012ccba5c0074aaaf8000a009529..."} 
[2026-09-10 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b056248012ccba5c0074aaaf8000a009529..."} 
[2026-09-10 16:43:58] local.INFO: Processing buffer {"connection_id":179219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b056248012ccba5c0074aaaf8000a009529..."} 
[2026-09-10 16:43:58] local.INFO: Packet analysis {"connection_id":179219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:43:58] local.INFO: Extracted packet for processing {"connection_id":179219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":751543744,"raw_latitude":122333944,"longitude_deg":75.1543744,"latitude_deg":12.2333944,"altitude":10,"angle":149,"satellites":41,"speed":14,"hex_longitude":"2ccba5c0","hex_latitude":"074aaaf8","is_valid_coordinates":true} 
[2026-09-10 16:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993925376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404317599791316992,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3775283093813399552,"note":"Value kept but may cause issues"} 
[2026-09-10 16:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789038781000,"timestamp_ms":1789038781000,"timestamp_seconds":1789038781,"priority":1,"record_length":96,"hex_timestamp":"000001a08b056248"} 
[2026-09-10 16:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993925376001,"66":27876,"103":206,"85":37632,"24":14,"16":404317599791316992,"44":-3775283093813399552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-10 16:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993925376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:43:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 16:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404317599791316992,"km_value":404317599791317.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3775283093813399552,"description":"Unknown IO ID 44"} 
[2026-09-10 16:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993925376001,"power":27876,"unknown_103":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-3775283093813399552}} 
[2026-09-10 16:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":179219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:43:58] local.INFO: GPS data processed {"connection_id":179219,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:43:58] local.INFO: Acknowledgment sent {"connection_id":179219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:44:05] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b046848012d168780071fa8180020012427..."} 
[2026-09-10 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b046848012d168780071fa8180020012427..."} 
[2026-09-10 16:44:05] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b046848012d168780071fa8180020012427..."} 
[2026-09-10 16:44:05] local.INFO: Packet analysis {"connection_id":176674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:44:05] local.INFO: Extracted packet for processing {"connection_id":176674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993906176001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038717000,"timestamp_ms":1789038717000,"timestamp_seconds":1789038717,"priority":1,"record_length":96,"hex_timestamp":"000001a08b046848"} 
[2026-09-10 16:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993906176001,"66":11515,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993906176001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:44:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993906176001,"power":11515,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":176674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:44:05] local.INFO: GPS data processed {"connection_id":176674,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:44:05] local.INFO: Acknowledgment sent {"connection_id":176674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:44:19] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:44:19] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:44:19] local.INFO: IMEI packet received {"connection_id":176676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":176676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:44:24] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:44:24] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:44:24] local.INFO: IMEI packet received {"connection_id":176676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":176676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:44:24] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b062d68012ccba7c00749f950000d007b2c..."} 
[2026-09-10 16:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b062d68012ccba7c00749f950000d007b2c..."} 
[2026-09-10 16:44:24] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b062d68012ccba7c00749f950000d007b2c..."} 
[2026-09-10 16:44:24] local.INFO: Packet analysis {"connection_id":176676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:44:24] local.INFO: Extracted packet for processing {"connection_id":176676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:44:24] local.INFO: GPS Element Parsed {"raw_longitude":751544256,"raw_latitude":122288464,"longitude_deg":75.1544256,"latitude_deg":12.2288464,"altitude":13,"angle":123,"satellites":44,"speed":19,"hex_longitude":"2ccba7c0","hex_latitude":"0749f950","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993940736001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404319936253526016,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3772890556523575296,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789038833000,"timestamp_ms":1789038833000,"timestamp_seconds":1789038833,"priority":1,"record_length":96,"hex_timestamp":"000001a08b062d68"} 
[2026-09-10 16:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993940736001,"66":27865,"101":206,"85":37632,"24":19,"16":404319936253526016,"44":-3772890556523575296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 16:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993940736001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:44:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 16:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404319936253526016,"km_value":404319936253526.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3772890556523575296,"description":"Unknown IO ID 44"} 
[2026-09-10 16:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993940736001,"power":27865,"unknown_101":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-3772890556523575296}} 
[2026-09-10 16:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":176676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:44:24] local.INFO: GPS data processed {"connection_id":176676,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:44:24] local.INFO: Acknowledgment sent {"connection_id":176676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:44:26] local.INFO: TCP Data received {"connection_id":176675,"ip":"42.109.136.9","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 16:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 16:44:26] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-10 16:44:26] local.INFO: IMEI packet received {"connection_id":176675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":176675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:44:28] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b063538012ccbaa400749f840000d006e2b..."} 
[2026-09-10 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b063538012ccbaa400749f840000d006e2b..."} 
[2026-09-10 16:44:28] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b063538012ccbaa400749f840000d006e2b..."} 
[2026-09-10 16:44:28] local.INFO: Packet analysis {"connection_id":176676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:44:28] local.INFO: Extracted packet for processing {"connection_id":176676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:44:28] local.INFO: GPS Element Parsed {"raw_longitude":751544896,"raw_latitude":122288192,"longitude_deg":75.1544896,"latitude_deg":12.2288192,"altitude":13,"angle":110,"satellites":43,"speed":10,"hex_longitude":"2ccbaa40","hex_latitude":"0749f840","is_valid_coordinates":true} 
[2026-09-10 16:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993941248001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404319970613264384,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3771835025361121280,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789038835000,"timestamp_ms":1789038835000,"timestamp_seconds":1789038835,"priority":1,"record_length":96,"hex_timestamp":"000001a08b063538"} 
[2026-09-10 16:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993941248001,"66":27800,"101":206,"85":37632,"24":10,"16":404319970613264384,"44":-3771835025361121280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 16:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993941248001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:44:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 16:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404319970613264384,"km_value":404319970613264.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3771835025361121280,"description":"Unknown IO ID 44"} 
[2026-09-10 16:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993941248001,"power":27800,"unknown_101":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-3771835025361121280}} 
[2026-09-10 16:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":176676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:44:28] local.INFO: GPS data processed {"connection_id":176676,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:44:28] local.INFO: Acknowledgment sent {"connection_id":176676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:44:32] local.INFO: TCP Data received {"connection_id":179220,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:44:32] local.INFO: Processing buffer {"connection_id":179220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:44:32] local.INFO: IMEI packet received {"connection_id":179220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":179220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:44:37] local.INFO: TCP Data received {"connection_id":179220,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:44:37] local.INFO: Processing buffer {"connection_id":179220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:44:37] local.INFO: IMEI packet received {"connection_id":179220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":179220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:44:38] local.INFO: TCP Data received {"connection_id":179220,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b04ba50012d168780071fa8180020012426..."} 
[2026-09-10 16:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b04ba50012d168780071fa8180020012426..."} 
[2026-09-10 16:44:38] local.INFO: Processing buffer {"connection_id":179220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b04ba50012d168780071fa8180020012426..."} 
[2026-09-10 16:44:38] local.INFO: Packet analysis {"connection_id":179220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:44:38] local.INFO: Extracted packet for processing {"connection_id":179220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993911552001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789038738000,"timestamp_ms":1789038738000,"timestamp_seconds":1789038738,"priority":1,"record_length":96,"hex_timestamp":"000001a08b04ba50"} 
[2026-09-10 16:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-09-10 16:44:38] 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-09-10 16:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993911552001,"66":12537,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993911552001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:44:38] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993911552001,"power":12537,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":179220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:44:38] local.INFO: GPS data processed {"connection_id":179220,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:44:38] local.INFO: Acknowledgment sent {"connection_id":179220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:44:42] local.INFO: TCP Data received {"connection_id":179220,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b050c58012d168780071fa8180020012426..."} 
[2026-09-10 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b050c58012d168780071fa8180020012426..."} 
[2026-09-10 16:44:42] local.INFO: Processing buffer {"connection_id":179220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b050c58012d168780071fa8180020012426..."} 
[2026-09-10 16:44:42] local.INFO: Packet analysis {"connection_id":179220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:44:42] local.INFO: Extracted packet for processing {"connection_id":179220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993916928001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789038759000,"timestamp_ms":1789038759000,"timestamp_seconds":1789038759,"priority":1,"record_length":96,"hex_timestamp":"000001a08b050c58"} 
[2026-09-10 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-09-10 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 16:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993916928001,"66":12537,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993916928001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:44:42] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993916928001,"power":12537,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":179220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:44:42] local.INFO: GPS data processed {"connection_id":179220,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:44:42] local.INFO: Acknowledgment sent {"connection_id":179220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:44:59] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b063d08012ccbac000749f7c0000d00632a..."} 
[2026-09-10 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b063d08012ccbac000749f7c0000d00632a..."} 
[2026-09-10 16:44:59] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b063d08012ccbac000749f7c0000d00632a..."} 
[2026-09-10 16:44:59] local.INFO: Packet analysis {"connection_id":176676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:44:59] local.INFO: Extracted packet for processing {"connection_id":176676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":751545344,"raw_latitude":122288064,"longitude_deg":75.1545344,"latitude_deg":12.2288064,"altitude":13,"angle":99,"satellites":42,"speed":9,"hex_longitude":"2ccbac00","hex_latitude":"0749f7c0","is_valid_coordinates":true} 
[2026-09-10 16:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993941760001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404319992088100864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3771131337919414272,"note":"Value kept but may cause issues"} 
[2026-09-10 16:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789038837000,"timestamp_ms":1789038837000,"timestamp_seconds":1789038837,"priority":1,"record_length":96,"hex_timestamp":"000001a08b063d08"} 
[2026-09-10 16:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 16:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993941760001,"66":27865,"101":206,"85":37632,"24":9,"16":404319992088100864,"44":-3771131337919414272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 16:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993941760001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:44:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 16:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404319992088100864,"km_value":404319992088100.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3771131337919414272,"description":"Unknown IO ID 44"} 
[2026-09-10 16:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993941760001,"power":27865,"unknown_101":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-3771131337919414272}} 
[2026-09-10 16:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":176676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:44:59] local.INFO: GPS data processed {"connection_id":176676,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:44:59] local.INFO: Acknowledgment sent {"connection_id":176676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:45:23] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:45:23] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:45:23] local.INFO: IMEI packet received {"connection_id":176456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":176456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:45:26] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:45:26] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:45:26] local.INFO: IMEI packet received {"connection_id":176456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":176456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:45:27] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b074a90012ccc418007490990000f00b82a..."} 
[2026-09-10 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b074a90012ccc418007490990000f00b82a..."} 
[2026-09-10 16:45:27] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b074a90012ccc418007490990000f00b82a..."} 
[2026-09-10 16:45:27] local.INFO: Packet analysis {"connection_id":176456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:45:27] local.INFO: Extracted packet for processing {"connection_id":176456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:45:27] local.INFO: GPS Element Parsed {"raw_longitude":751583616,"raw_latitude":122227088,"longitude_deg":75.1583616,"latitude_deg":12.2227088,"altitude":15,"angle":184,"satellites":42,"speed":59,"hex_longitude":"2ccc4180","hex_latitude":"07490990","is_valid_coordinates":true} 
[2026-09-10 16:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993958400001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404323758774419456,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3727784191519352832,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789038906000,"timestamp_ms":1789038906000,"timestamp_seconds":1789038906,"priority":1,"record_length":96,"hex_timestamp":"000001a08b074a90"} 
[2026-09-10 16:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993958400001,"66":27908,"101":206,"85":37632,"24":59,"16":404323758774419456,"44":-3727784191519352832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 16:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993958400001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:45:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 16:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404323758774419456,"km_value":404323758774419.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:45:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3727784191519352832,"description":"Unknown IO ID 44"} 
[2026-09-10 16:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993958400001,"power":27908,"unknown_101":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3727784191519352832}} 
[2026-09-10 16:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":176456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:45:27] local.INFO: GPS data processed {"connection_id":176456,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:45:27] local.INFO: Acknowledgment sent {"connection_id":176456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:45:27] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:45:27] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:45:27] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:45:32] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:45:32] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:45:32] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:45:33] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b055e60012d168780071fa8180020012427..."} 
[2026-09-10 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b055e60012d168780071fa8180020012427..."} 
[2026-09-10 16:45:33] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b055e60012d168780071fa8180020012427..."} 
[2026-09-10 16:45:33] local.INFO: Packet analysis {"connection_id":176679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:45:33] local.INFO: Extracted packet for processing {"connection_id":176679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":39,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993922304001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038780000,"timestamp_ms":1789038780000,"timestamp_seconds":1789038780,"priority":1,"record_length":96,"hex_timestamp":"000001a08b055e60"} 
[2026-09-10 16:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 16:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993922304001,"66":12515,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993922304001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:45:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993922304001,"power":12515,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:45:33] local.INFO: GPS data processed {"connection_id":176679,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:45:33] local.INFO: Acknowledgment sent {"connection_id":176679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:45:58] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b076200012ccc3f000748e6c0000e00b928..."} 
[2026-09-10 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b076200012ccc3f000748e6c0000e00b928..."} 
[2026-09-10 16:45:58] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b076200012ccc3f000748e6c0000e00b928..."} 
[2026-09-10 16:45:58] local.INFO: Packet analysis {"connection_id":176456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:45:58] local.INFO: Extracted packet for processing {"connection_id":176456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":751582976,"raw_latitude":122218176,"longitude_deg":75.1582976,"latitude_deg":12.2218176,"altitude":14,"angle":185,"satellites":40,"speed":59,"hex_longitude":"2ccc3f00","hex_latitude":"0748e6c0","is_valid_coordinates":true} 
[2026-09-10 16:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993959936001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404324192566116352,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728558247707570176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789038912000,"timestamp_ms":1789038912000,"timestamp_seconds":1789038912,"priority":1,"record_length":96,"hex_timestamp":"000001a08b076200"} 
[2026-09-10 16:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:45: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-09-10 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993959936001,"66":27876,"101":206,"85":37632,"24":59,"16":404324192566116352,"44":-3728558247707570176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-10 16:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993959936001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:45:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 16:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404324192566116352,"km_value":404324192566116.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:45:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728558247707570176,"description":"Unknown IO ID 44"} 
[2026-09-10 16:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993959936001,"power":27876,"unknown_101":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3728558247707570176}} 
[2026-09-10 16:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":176456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:45:58] local.INFO: GPS data processed {"connection_id":176456,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:45:58] local.INFO: Acknowledgment sent {"connection_id":176456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:46:05] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b05b068012d168780071fa8180020012425..."} 
[2026-09-10 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b05b068012d168780071fa8180020012425..."} 
[2026-09-10 16:46:05] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b05b068012d168780071fa8180020012425..."} 
[2026-09-10 16:46:05] local.INFO: Packet analysis {"connection_id":176679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:46:05] local.INFO: Extracted packet for processing {"connection_id":176679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993927680001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789038801000,"timestamp_ms":1789038801000,"timestamp_seconds":1789038801,"priority":1,"record_length":96,"hex_timestamp":"000001a08b05b068"} 
[2026-09-10 16:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":227,"data_length":795,"current_offset":136} 
[2026-09-10 16:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993927680001,"66":12526,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993927680001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:46:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993927680001,"power":12526,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":176679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:46:05] local.INFO: GPS data processed {"connection_id":176679,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:46:05] local.INFO: Acknowledgment sent {"connection_id":176679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:46:18] local.INFO: TCP Data received {"connection_id":177849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:46:18] local.INFO: Processing buffer {"connection_id":177849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:46:18] local.INFO: IMEI packet received {"connection_id":177849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":177849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:46:24] local.INFO: TCP Data received {"connection_id":177849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:46:24] local.INFO: Processing buffer {"connection_id":177849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:46:24] local.INFO: IMEI packet received {"connection_id":177849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":177849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:46:25] local.INFO: TCP Data received {"connection_id":177849,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b077970012ccc39000748c430000c00c129..."} 
[2026-09-10 16:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b077970012ccc39000748c430000c00c129..."} 
[2026-09-10 16:46:25] local.INFO: Processing buffer {"connection_id":177849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b077970012ccc39000748c430000c00c129..."} 
[2026-09-10 16:46:25] local.INFO: Packet analysis {"connection_id":177849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:46:25] local.INFO: Extracted packet for processing {"connection_id":177849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:46:25] local.INFO: GPS Element Parsed {"raw_longitude":751581440,"raw_latitude":122209328,"longitude_deg":75.158144,"latitude_deg":12.2209328,"altitude":12,"angle":193,"satellites":41,"speed":59,"hex_longitude":"2ccc3900","hex_latitude":"0748c430","is_valid_coordinates":true} 
[2026-09-10 16:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993961472001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404324630652780544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729261935151628288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789038918000,"timestamp_ms":1789038918000,"timestamp_seconds":1789038918,"priority":1,"record_length":96,"hex_timestamp":"000001a08b077970"} 
[2026-09-10 16:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993961472001,"66":27876,"167":206,"85":37632,"24":59,"16":404324630652780544,"44":-3729261935151628288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993961472001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:46:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404324630652780544,"km_value":404324630652780.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729261935151628288,"description":"Unknown IO ID 44"} 
[2026-09-10 16:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993961472001,"power":27876,"unknown_167":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3729261935151628288}} 
[2026-09-10 16:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":177849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:46:25] local.INFO: GPS data processed {"connection_id":177849,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:46:25] local.INFO: Acknowledgment sent {"connection_id":177849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:46:26] local.INFO: TCP Data received {"connection_id":177850,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:26] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:26] local.INFO: IMEI packet received {"connection_id":177850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":177850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:46:26] local.INFO: TCP Data received {"connection_id":177850,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:26] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:26] local.INFO: IMEI packet received {"connection_id":177850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":177850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:46:32] local.INFO: TCP Data received {"connection_id":177850,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:32] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:46:32] local.INFO: IMEI packet received {"connection_id":177850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":177850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:46:33] local.INFO: TCP Data received {"connection_id":177850,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b060270012d168780071fa8180020012426..."} 
[2026-09-10 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b060270012d168780071fa8180020012426..."} 
[2026-09-10 16:46:33] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b060270012d168780071fa8180020012426..."} 
[2026-09-10 16:46:33] local.INFO: Packet analysis {"connection_id":177850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:46:33] local.INFO: Extracted packet for processing {"connection_id":177850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993933056001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789038822000,"timestamp_ms":1789038822000,"timestamp_seconds":1789038822,"priority":1,"record_length":96,"hex_timestamp":"000001a08b060270"} 
[2026-09-10 16:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 16:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993933056001,"66":12504,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993933056001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:46:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993933056001,"power":12504,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":177850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:46:33] local.INFO: GPS data processed {"connection_id":177850,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:46:33] local.INFO: Acknowledgment sent {"connection_id":177850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:46:54] local.INFO: TCP Data received {"connection_id":179221,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:46:54] local.INFO: Processing buffer {"connection_id":179221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:46:54] local.INFO: IMEI packet received {"connection_id":179221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":179221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:46:54] local.INFO: TCP Data received {"connection_id":179221,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:46:54] local.INFO: Processing buffer {"connection_id":179221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:46:54] local.INFO: IMEI packet received {"connection_id":179221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 16:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":179221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:46:56] local.INFO: TCP Data received {"connection_id":177849,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0790e0012ccc2e800748a2e0000a00c629..."} 
[2026-09-10 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0790e0012ccc2e800748a2e0000a00c629..."} 
[2026-09-10 16:46:56] local.INFO: Processing buffer {"connection_id":177849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0790e0012ccc2e800748a2e0000a00c629..."} 
[2026-09-10 16:46:56] local.INFO: Packet analysis {"connection_id":177849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:46:56] local.INFO: Extracted packet for processing {"connection_id":177849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:46:56] local.INFO: GPS Element Parsed {"raw_longitude":751578752,"raw_latitude":122200800,"longitude_deg":75.1578752,"latitude_deg":12.22008,"altitude":10,"angle":198,"satellites":41,"speed":58,"hex_longitude":"2ccc2e80","hex_latitude":"0748a2e0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993963008001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404325060149510144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3730950785014157312,"note":"Value kept but may cause issues"} 
[2026-09-10 16:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789038924000,"timestamp_ms":1789038924000,"timestamp_seconds":1789038924,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0790e0"} 
[2026-09-10 16:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993963008001,"66":27745,"167":206,"85":37632,"24":58,"16":404325060149510144,"44":-3730950785014157312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993963008001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:46:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404325060149510144,"km_value":404325060149510.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3730950785014157312,"description":"Unknown IO ID 44"} 
[2026-09-10 16:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993963008001,"power":27745,"unknown_167":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3730950785014157312}} 
[2026-09-10 16:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":177849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:46:56] local.INFO: GPS data processed {"connection_id":177849,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:46:56] local.INFO: Acknowledgment sent {"connection_id":177849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:47:01] local.INFO: TCP Data received {"connection_id":177851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:47:01] local.INFO: Processing buffer {"connection_id":177851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:47:01] local.INFO: IMEI packet received {"connection_id":177851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":177851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:47:04] local.INFO: TCP Data received {"connection_id":177850,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b065478012d168780071fa8180020012426..."} 
[2026-09-10 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b065478012d168780071fa8180020012426..."} 
[2026-09-10 16:47:04] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b065478012d168780071fa8180020012426..."} 
[2026-09-10 16:47:04] local.INFO: Packet analysis {"connection_id":177850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:47:04] local.INFO: Extracted packet for processing {"connection_id":177850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b06"} 
[2026-09-10 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756451200,"raw_latitude":119515160,"longitude_deg":75.64512,"latitude_deg":11.951516,"altitude":32,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d168780","hex_latitude":"071fa818","is_valid_coordinates":true} 
[2026-09-10 16:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993938432001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19286451858440192,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623406958774589440,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789038843000,"timestamp_ms":1789038843000,"timestamp_seconds":1789038843,"priority":1,"record_length":96,"hex_timestamp":"000001a08b065478"} 
[2026-09-10 16:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 16:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993938432001,"66":11754,"130":206,"28":31744,"24":0,"16":19286451858440192,"45":1623406958774589440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993938432001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19286451858440192,"km_value":19286451858440.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623406958774589440,"description":"Unknown IO ID 45"} 
[2026-09-10 16:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993938432001,"power":11754,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1623406958774589440}} 
[2026-09-10 16:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":177850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:47:04] local.INFO: GPS data processed {"connection_id":177850,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:47:04] local.INFO: Acknowledgment sent {"connection_id":177850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:47:18] local.INFO: TCP Data received {"connection_id":177852,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:18] local.INFO: Processing buffer {"connection_id":177852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:18] local.INFO: IMEI packet received {"connection_id":177852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":177852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:47:20] local.INFO: TCP Data received {"connection_id":177852,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:20] local.INFO: Processing buffer {"connection_id":177852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:20] local.INFO: IMEI packet received {"connection_id":177852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":177852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:47:24] local.INFO: TCP Data received {"connection_id":177852,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:24] local.INFO: Processing buffer {"connection_id":177852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:47:24] local.INFO: IMEI packet received {"connection_id":177852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":177852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:47:25] local.INFO: TCP Data received {"connection_id":177852,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b07ac38012ccc23c007487d30000800bd2a..."} 
[2026-09-10 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b07ac38012ccc23c007487d30000800bd2a..."} 
[2026-09-10 16:47:25] local.INFO: Processing buffer {"connection_id":177852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b07ac38012ccc23c007487d30000800bd2a..."} 
[2026-09-10 16:47:25] local.INFO: Packet analysis {"connection_id":177852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:47:25] local.INFO: Extracted packet for processing {"connection_id":177852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b07"} 
[2026-09-10 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":751576000,"raw_latitude":122191152,"longitude_deg":75.1576,"latitude_deg":12.2191152,"altitude":8,"angle":189,"satellites":42,"speed":54,"hex_longitude":"2ccc23c0","hex_latitude":"07487d30","is_valid_coordinates":true} 
[2026-09-10 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993964544001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404325545480814592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3733906272271802368,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789038931000,"timestamp_ms":1789038931000,"timestamp_seconds":1789038931,"priority":1,"record_length":96,"hex_timestamp":"000001a08b07ac38"} 
[2026-09-10 16:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 16:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993964544001,"66":27919,"167":206,"85":37632,"24":54,"16":404325545480814592,"44":-3733906272271802368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993964544001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:47:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404325545480814592,"km_value":404325545480814.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3733906272271802368,"description":"Unknown IO ID 44"} 
[2026-09-10 16:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993964544001,"power":27919,"unknown_167":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3733906272271802368}} 
[2026-09-10 16:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":177852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:47:25] local.INFO: GPS data processed {"connection_id":177852,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:47:25] local.INFO: Acknowledgment sent {"connection_id":177852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:47:26] local.INFO: TCP Data received {"connection_id":176459,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:26] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:26] local.INFO: IMEI packet received {"connection_id":176459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":176459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:47:29] local.INFO: TCP Data received {"connection_id":176459,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:29] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:29] local.INFO: IMEI packet received {"connection_id":176459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":176459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:47:30] local.INFO: TCP Data received {"connection_id":176459,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:30] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:30] local.INFO: IMEI packet received {"connection_id":176459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":176459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:47:31] local.INFO: TCP Data received {"connection_id":176459,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:31] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:47:31] local.INFO: IMEI packet received {"connection_id":176459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":176459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:47:33] local.INFO: TCP Data received {"connection_id":176459,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b08c190012d165a80071fb4880026014227..."} 
[2026-09-10 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b08c190012d165a80071fb4880026014227..."} 
[2026-09-10 16:47:33] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b08c190012d165a80071fb4880026014227..."} 
[2026-09-10 16:47:33] local.INFO: Packet analysis {"connection_id":176459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b08"} 
[2026-09-10 16:47:33] local.INFO: Extracted packet for processing {"connection_id":176459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b08"} 
[2026-09-10 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756439680,"raw_latitude":119518344,"longitude_deg":75.643968,"latitude_deg":11.9518344,"altitude":38,"angle":322,"satellites":39,"speed":34,"hex_longitude":"2d165a80","hex_latitude":"071fb488","is_valid_coordinates":true} 
[2026-09-10 16:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993984000001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19287048858894336,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1611866484729923584,"note":"Value kept but may cause issues"} 
[2026-09-10 16:47:33] 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-09-10 16:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039002000,"timestamp_ms":1789039002000,"timestamp_seconds":1789039002,"priority":1,"record_length":96,"hex_timestamp":"000001a08b08c190"} 
[2026-09-10 16:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 16:47: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-09-10 16:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993984000001,"66":14004,"131":206,"28":31744,"24":34,"16":19287048858894336,"45":1611866484729923584},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993984000001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:47:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19287048858894336,"km_value":19287048858894.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1611866484729923584,"description":"Unknown IO ID 45"} 
[2026-09-10 16:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993984000001,"power":14004,"unknown_131":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1611866484729923584}} 
[2026-09-10 16:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":176459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:47:33] local.INFO: GPS data processed {"connection_id":176459,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:47:33] local.INFO: Acknowledgment sent {"connection_id":176459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:48:01] local.INFO: TCP Data received {"connection_id":177852,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b097158012ccc71c007476018000a00ac2a..."} 
[2026-09-10 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b097158012ccc71c007476018000a00ac2a..."} 
[2026-09-10 16:48:01] local.INFO: Processing buffer {"connection_id":177852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b097158012ccc71c007476018000a00ac2a..."} 
[2026-09-10 16:48:01] local.INFO: Packet analysis {"connection_id":177852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:01] local.INFO: Extracted packet for processing {"connection_id":177852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":751595968,"raw_latitude":122118168,"longitude_deg":75.1595968,"latitude_deg":12.2118168,"altitude":10,"angle":172,"satellites":42,"speed":37,"hex_longitude":"2ccc71c0","hex_latitude":"07476018","is_valid_coordinates":true} 
[2026-09-10 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993992960001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404329239152689152,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3716877036199602176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789039047000,"timestamp_ms":1789039047000,"timestamp_seconds":1789039047,"priority":1,"record_length":96,"hex_timestamp":"000001a08b097158"} 
[2026-09-10 16:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16: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-09-10 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 16:48: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-09-10 16:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:48: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-09-10 16:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993992960001,"66":27908,"167":206,"85":37632,"24":37,"16":404329239152689152,"44":-3716877036199602176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993992960001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:48:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404329239152689152,"km_value":404329239152689.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3716877036199602176,"description":"Unknown IO ID 44"} 
[2026-09-10 16:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993992960001,"power":27908,"unknown_167":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3716877036199602176}} 
[2026-09-10 16:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":177852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:48:01] local.INFO: GPS data processed {"connection_id":177852,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:48:01] local.INFO: Acknowledgment sent {"connection_id":177852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:48:05] local.INFO: TCP Data received {"connection_id":176459,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b091398012d163740071fdf500024016128..."} 
[2026-09-10 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b091398012d163740071fdf500024016128..."} 
[2026-09-10 16:48:05] local.INFO: Processing buffer {"connection_id":176459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b091398012d163740071fdf500024016128..."} 
[2026-09-10 16:48:05] local.INFO: Packet analysis {"connection_id":176459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:05] local.INFO: Extracted packet for processing {"connection_id":176459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756430656,"raw_latitude":119529296,"longitude_deg":75.6430656,"latitude_deg":11.9529296,"altitude":36,"angle":353,"satellites":40,"speed":15,"hex_longitude":"2d163740","hex_latitude":"071fdf50","is_valid_coordinates":true} 
[2026-09-10 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993989632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19287753233530880,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600888960641247232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:05] 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-09-10 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789039023000,"timestamp_ms":1789039023000,"timestamp_seconds":1789039023,"priority":1,"record_length":96,"hex_timestamp":"000001a08b091398"} 
[2026-09-10 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 16:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993989632001,"66":14004,"131":206,"28":31744,"24":15,"16":19287753233530880,"45":1600888960641247232},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993989632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19287753233530880,"km_value":19287753233530.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600888960641247232,"description":"Unknown IO ID 45"} 
[2026-09-10 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993989632001,"power":14004,"unknown_131":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1600888960641247232}} 
[2026-09-10 16:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":176459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:48:05] local.INFO: GPS data processed {"connection_id":176459,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:48:05] local.INFO: Acknowledgment sent {"connection_id":176459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:48:18] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:18] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:18] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:48:19] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:19] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:19] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:48:24] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:24] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:48:24] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:48:24] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b099480012ccc768007473a38000a00ac29..."} 
[2026-09-10 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b099480012ccc768007473a38000a00ac29..."} 
[2026-09-10 16:48:24] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b099480012ccc768007473a38000a00ac29..."} 
[2026-09-10 16:48:24] local.INFO: Packet analysis {"connection_id":176681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:24] local.INFO: Extracted packet for processing {"connection_id":176681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:24] local.INFO: GPS Element Parsed {"raw_longitude":751597184,"raw_latitude":122108472,"longitude_deg":75.1597184,"latitude_deg":12.2108472,"altitude":10,"angle":172,"satellites":41,"speed":47,"hex_longitude":"2ccc7680","hex_latitude":"07473a38","is_valid_coordinates":true} 
[2026-09-10 16:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993996032001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404329711599091712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3714977080109164544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789039056000,"timestamp_ms":1789039056000,"timestamp_seconds":1789039056,"priority":1,"record_length":96,"hex_timestamp":"000001a08b099480"} 
[2026-09-10 16:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 16:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993996032001,"66":27745,"167":206,"85":37632,"24":47,"16":404329711599091712,"44":-3714977080109164544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993996032001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404329711599091712,"km_value":404329711599091.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3714977080109164544,"description":"Unknown IO ID 44"} 
[2026-09-10 16:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993996032001,"power":27745,"unknown_167":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3714977080109164544}} 
[2026-09-10 16:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":176681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:48:25] local.INFO: GPS data processed {"connection_id":176681,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:48:25] local.INFO: Acknowledgment sent {"connection_id":176681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:48:26] local.INFO: TCP Data received {"connection_id":177853,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:26] local.INFO: Processing buffer {"connection_id":177853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:26] local.INFO: IMEI packet received {"connection_id":177853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":177853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:48:27] local.INFO: TCP Data received {"connection_id":177853,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:27] local.INFO: Processing buffer {"connection_id":177853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:27] local.INFO: IMEI packet received {"connection_id":177853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":177853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:48:31] local.INFO: TCP Data received {"connection_id":177853,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:31] local.INFO: Processing buffer {"connection_id":177853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:31] local.INFO: IMEI packet received {"connection_id":177853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":177853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:48:32] local.INFO: TCP Data received {"connection_id":177853,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:32] local.INFO: Processing buffer {"connection_id":177853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:48:32] local.INFO: IMEI packet received {"connection_id":177853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":177853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:48:33] local.INFO: TCP Data received {"connection_id":177853,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b091b68012d163740071fe1b80024000329..."} 
[2026-09-10 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b091b68012d163740071fe1b80024000329..."} 
[2026-09-10 16:48:33] local.INFO: Processing buffer {"connection_id":177853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b091b68012d163740071fe1b80024000329..."} 
[2026-09-10 16:48:33] local.INFO: Packet analysis {"connection_id":177853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:33] local.INFO: Extracted packet for processing {"connection_id":177853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756430656,"raw_latitude":119529912,"longitude_deg":75.6430656,"latitude_deg":11.9529912,"altitude":36,"angle":3,"satellites":41,"speed":8,"hex_longitude":"2d163740","hex_latitude":"071fe1b8","is_valid_coordinates":true} 
[2026-09-10 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993989888001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19287783298301952,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600818591897178112,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:33] 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-09-10 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039025000,"timestamp_ms":1789039025000,"timestamp_seconds":1789039025,"priority":1,"record_length":96,"hex_timestamp":"000001a08b091b68"} 
[2026-09-10 16:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 16:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993989888001,"66":13678,"131":206,"28":31744,"24":8,"16":19287783298301952,"45":1600818591897178112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993989888001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:48:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19287783298301952,"km_value":19287783298301.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600818591897178112,"description":"Unknown IO ID 45"} 
[2026-09-10 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993989888001,"power":13678,"unknown_131":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1600818591897178112}} 
[2026-09-10 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":177853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:48:33] local.INFO: GPS data processed {"connection_id":177853,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:48:33] local.INFO: Acknowledgment sent {"connection_id":177853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:48:34] local.INFO: TCP Data received {"connection_id":177853,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b096d70012d163780071fe2900024000328..."} 
[2026-09-10 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b096d70012d163780071fe2900024000328..."} 
[2026-09-10 16:48:34] local.INFO: Processing buffer {"connection_id":177853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b096d70012d163780071fe2900024000328..."} 
[2026-09-10 16:48:34] local.INFO: Packet analysis {"connection_id":177853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:34] local.INFO: Extracted packet for processing {"connection_id":177853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756430720,"raw_latitude":119530128,"longitude_deg":75.643072,"latitude_deg":11.9530128,"altitude":36,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d163780","hex_latitude":"071fe290","is_valid_coordinates":true} 
[2026-09-10 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993990400001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19287796183203840,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600818591897335808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:34] 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-09-10 16:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789039046000,"timestamp_ms":1789039046000,"timestamp_seconds":1789039046,"priority":1,"record_length":96,"hex_timestamp":"000001a08b096d70"} 
[2026-09-10 16:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 16:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993990400001,"66":14233,"131":206,"28":31744,"24":0,"16":19287796183203840,"45":1600818591897335808},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-09-10 16:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993990400001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:48:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-10 16:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19287796183203840,"km_value":19287796183203.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600818591897335808,"description":"Unknown IO ID 45"} 
[2026-09-10 16:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993990400001,"power":14233,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1600818591897335808}} 
[2026-09-10 16:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":177853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:48:34] local.INFO: GPS data processed {"connection_id":177853,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:48:34] local.INFO: Acknowledgment sent {"connection_id":177853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:48:52] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:48:52] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:48:52] local.INFO: IMEI packet received {"connection_id":177854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 16:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":177854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:48:56] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b09b3c0012ccc7ac0074713d0000d00ae2a..."} 
[2026-09-10 16:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b09b3c0012ccc7ac0074713d0000d00ae2a..."} 
[2026-09-10 16:48:56] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b09b3c0012ccc7ac0074713d0000d00ae2a..."} 
[2026-09-10 16:48:56] local.INFO: Packet analysis {"connection_id":176681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:56] local.INFO: Extracted packet for processing {"connection_id":176681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:48:56] local.INFO: GPS Element Parsed {"raw_longitude":751598272,"raw_latitude":122098640,"longitude_deg":75.1598272,"latitude_deg":12.209864,"altitude":13,"angle":174,"satellites":42,"speed":49,"hex_longitude":"2ccc7ac0","hex_latitude":"074713d0","is_valid_coordinates":true} 
[2026-09-10 16:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993998336001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404330192635428864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3713640073972271104,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789039064000,"timestamp_ms":1789039064000,"timestamp_seconds":1789039064,"priority":1,"record_length":96,"hex_timestamp":"000001a08b09b3c0"} 
[2026-09-10 16:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 16:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993998336001,"66":27615,"167":206,"85":37632,"24":49,"16":404330192635428864,"44":-3713640073972271104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993998336001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:48:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404330192635428864,"km_value":404330192635428.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3713640073972271104,"description":"Unknown IO ID 44"} 
[2026-09-10 16:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993998336001,"power":27615,"unknown_167":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-3713640073972271104}} 
[2026-09-10 16:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":176681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:48:56] local.INFO: GPS data processed {"connection_id":176681,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:48:56] local.INFO: Acknowledgment sent {"connection_id":176681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:48:57] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:48:57] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 16:48:57] local.INFO: IMEI packet received {"connection_id":177854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 16:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":177854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:48:58] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a08b04b280012d7a224005e46a800010015b22..."} 
[2026-09-10 16:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b04b280012d7a224005e46a800010015b22..."} 
[2026-09-10 16:48:58] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b04b280012d7a224005e46a800010015b22..."} 
[2026-09-10 16:48:58] local.INFO: Packet analysis {"connection_id":177854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:48:58] local.INFO: Extracted packet for processing {"connection_id":177854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b04"} 
[2026-09-10 16:48:58] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855552,"longitude_deg":76.297888,"latitude_deg":9.8855552,"altitude":16,"angle":347,"satellites":34,"speed":9,"hex_longitude":"2d7a2240","hex_latitude":"05e46a80","is_valid_coordinates":true} 
[2026-09-10 16:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993916160001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130792530236145664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384630683648,"note":"Value kept but may cause issues"} 
[2026-09-10 16:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789038736000,"timestamp_ms":1789038736000,"timestamp_seconds":1789038736,"priority":1,"record_length":96,"hex_timestamp":"000001a08b04b280"} 
[2026-09-10 16:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 16:48: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-09-10 16:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993916160001,"66":13091,"39":206,"87":13824,"24":9,"16":130792530236145664,"45":8800737384630683648},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993916160001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:48:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130792530236145664,"km_value":130792530236145.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384630683648,"description":"Unknown IO ID 45"} 
[2026-09-10 16:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993916160001,"power":13091,"unknown_39":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8800737384630683648}} 
[2026-09-10 16:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":177854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:48:58] local.INFO: GPS data processed {"connection_id":177854,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:48:58] local.INFO: Acknowledgment sent {"connection_id":177854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:49:07] local.INFO: TCP Data received {"connection_id":177853,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b09bf78012d163780071fe2900024000328..."} 
[2026-09-10 16:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b09bf78012d163780071fe2900024000328..."} 
[2026-09-10 16:49:07] local.INFO: Processing buffer {"connection_id":177853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b09bf78012d163780071fe2900024000328..."} 
[2026-09-10 16:49:07] local.INFO: Packet analysis {"connection_id":177853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:49:07] local.INFO: Extracted packet for processing {"connection_id":177853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b09"} 
[2026-09-10 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756430720,"raw_latitude":119530128,"longitude_deg":75.643072,"latitude_deg":11.9530128,"altitude":36,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d163780","hex_latitude":"071fe290","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993995776001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19287796183203840,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600888960641568768,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789039067000,"timestamp_ms":1789039067000,"timestamp_seconds":1789039067,"priority":1,"record_length":96,"hex_timestamp":"000001a08b09bf78"} 
[2026-09-10 16:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 16:49: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-09-10 16: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-09-10 16:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993995776001,"66":14157,"130":206,"28":31744,"24":0,"16":19287796183203840,"45":1600888960641568768},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-09-10 16:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993995776001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:49:07] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-10 16:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19287796183203840,"km_value":19287796183203.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600888960641568768,"description":"Unknown IO ID 45"} 
[2026-09-10 16:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993995776001,"power":14157,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1600888960641568768}} 
[2026-09-10 16:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":177853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:49:07] local.INFO: GPS data processed {"connection_id":177853,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:49:07] local.INFO: Acknowledgment sent {"connection_id":177853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:49:22] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:22] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:22] local.INFO: IMEI packet received {"connection_id":176683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":176683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:49:23] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:23] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:23] local.INFO: IMEI packet received {"connection_id":176683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":176683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:49:27] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:49:27] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:49:27] local.INFO: IMEI packet received {"connection_id":176460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":176460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:49:28] local.INFO: TCP Data received {"connection_id":177855,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:28] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:28] local.INFO: IMEI packet received {"connection_id":177855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":177855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:49:29] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:29] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:49:29] local.INFO: IMEI packet received {"connection_id":176683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":176683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:49:30] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0500a0012d7a1f4005e46790000a015b23..."} 
[2026-09-10 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0500a0012d7a1f4005e46790000a015b23..."} 
[2026-09-10 16:49:30] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0500a0012d7a1f4005e46790000a015b23..."} 
[2026-09-10 16:49:30] local.INFO: Packet analysis {"connection_id":177854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:49:30] local.INFO: Extracted packet for processing {"connection_id":177854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b05"} 
[2026-09-10 16:49:30] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854800,"longitude_deg":76.2978112,"latitude_deg":9.88548,"altitude":10,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46790","is_valid_coordinates":true} 
[2026-09-10 16:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457993916416001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130792616135491584,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886569472,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789038756000,"timestamp_ms":1789038756000,"timestamp_seconds":1789038756,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0500a0"} 
[2026-09-10 16:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 16:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 16:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457993916416001,"66":13319,"39":206,"87":13824,"24":0,"16":130792616135491584,"45":8800667015886569472},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457993916416001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-10 16:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130792616135491584,"km_value":130792616135491.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886569472,"description":"Unknown IO ID 45"} 
[2026-09-10 16:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457993916416001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8800667015886569472}} 
[2026-09-10 16:49:30] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0ac530012cccdd800745d920001700a42c..."} 
[2026-09-10 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0ac530012cccdd800745d920001700a42c..."} 
[2026-09-10 16:49:30] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0ac530012cccdd800745d920001700a42c..."} 
[2026-09-10 16:49:30] local.INFO: Packet analysis {"connection_id":176683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:30] local.INFO: Extracted packet for processing {"connection_id":176683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:30] local.INFO: GPS Element Parsed {"raw_longitude":751623552,"raw_latitude":122018080,"longitude_deg":75.1623552,"latitude_deg":12.201808,"altitude":23,"angle":164,"satellites":44,"speed":47,"hex_longitude":"2cccdd80","hex_latitude":"0745d920","is_valid_coordinates":true} 
[2026-09-10 16:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994016000001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404334367343640576,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3687674007391397888,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789039134000,"timestamp_ms":1789039134000,"timestamp_seconds":1789039134,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0ac530"} 
[2026-09-10 16:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:49: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-09-10 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 16:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994016000001,"66":27789,"239":206,"85":37632,"24":47,"16":404334367343640576,"44":-3687674007391397888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994016000001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404334367343640576,"km_value":404334367343640.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3687674007391397888,"description":"Unknown IO ID 44"} 
[2026-09-10 16:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994016000001,"power":27789,"unknown_239":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3687674007391397888}} 
[2026-09-10 16:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":176683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:49:30] local.INFO: GPS data processed {"connection_id":176683,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:49:30] local.INFO: Acknowledgment sent {"connection_id":176683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":177854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:49:30] local.INFO: GPS data processed {"connection_id":177854,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:49:30] local.INFO: Acknowledgment sent {"connection_id":177854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:49:30] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0ae470012ccce7000745b600001800a42c..."} 
[2026-09-10 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0ae470012ccce7000745b600001800a42c..."} 
[2026-09-10 16:49:30] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0ae470012ccce7000745b600001800a42c..."} 
[2026-09-10 16:49:30] local.INFO: Packet analysis {"connection_id":176683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:30] local.INFO: Extracted packet for processing {"connection_id":176683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:30] local.INFO: GPS Element Parsed {"raw_longitude":751625984,"raw_latitude":122009088,"longitude_deg":75.1625984,"latitude_deg":12.2009088,"altitude":24,"angle":164,"satellites":44,"speed":43,"hex_longitude":"2ccce700","hex_latitude":"0745b600","is_valid_coordinates":true} 
[2026-09-10 16:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994018304001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404334818315206656,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3684648151394213888,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789039142000,"timestamp_ms":1789039142000,"timestamp_seconds":1789039142,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0ae470"} 
[2026-09-10 16:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:49: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-09-10 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 16:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994018304001,"66":27865,"239":206,"85":37632,"24":43,"16":404334818315206656,"44":-3684648151394213888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-10 16:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994018304001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404334818315206656,"km_value":404334818315206.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3684648151394213888,"description":"Unknown IO ID 44"} 
[2026-09-10 16:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994018304001,"power":27865,"unknown_239":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3684648151394213888}} 
[2026-09-10 16:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":176683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:49:30] local.INFO: GPS data processed {"connection_id":176683,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:49:30] local.INFO: Acknowledgment sent {"connection_id":176683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:49:32] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:49:32] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:49:32] local.INFO: IMEI packet received {"connection_id":176460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":176460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:49:32] local.INFO: TCP Data received {"connection_id":177855,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:32] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:32] local.INFO: IMEI packet received {"connection_id":177855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":177855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:49:32] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0af7f8012d0c08800702a8f00010010420..."} 
[2026-09-10 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0af7f8012d0c08800702a8f00010010420..."} 
[2026-09-10 16:49:32] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0af7f8012d0c08800702a8f00010010420..."} 
[2026-09-10 16:49:32] local.INFO: Packet analysis {"connection_id":176460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:32] local.INFO: Extracted packet for processing {"connection_id":176460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":755763328,"raw_latitude":117614832,"longitude_deg":75.5763328,"latitude_deg":11.7614832,"altitude":16,"angle":260,"satellites":32,"speed":4,"hex_longitude":"2d0c0880","hex_latitude":"0702a8f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994021120001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31230266282344448,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867435539587487744,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789039147000,"timestamp_ms":1789039147000,"timestamp_seconds":1789039147,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0af7f8"} 
[2026-09-10 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-09-10 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 16:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994021120001,"66":14428,"37":206,"94":11008,"24":4,"16":31230266282344448,"45":867435539587487744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 16:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994021120001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:49:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 16:49:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31230266282344448,"km_value":31230266282344.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":867435539587487744,"description":"Unknown IO ID 45"} 
[2026-09-10 16:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994021120001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":867435539587487744}} 
[2026-09-10 16:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":176460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795051,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:49:33] local.INFO: GPS data processed {"connection_id":176460,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:49:33] local.INFO: Acknowledgment sent {"connection_id":176460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:49:37] local.INFO: TCP Data received {"connection_id":177855,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:37] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:49:37] local.INFO: IMEI packet received {"connection_id":177855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":177855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:49:38] local.INFO: TCP Data received {"connection_id":177855,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0a9650012d16be00072033b80029002f29..."} 
[2026-09-10 16:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0a9650012d16be00072033b80029002f29..."} 
[2026-09-10 16:49:38] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0a9650012d16be00072033b80029002f29..."} 
[2026-09-10 16:49:38] local.INFO: Packet analysis {"connection_id":177855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:38] local.INFO: Extracted packet for processing {"connection_id":177855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756465152,"raw_latitude":119550904,"longitude_deg":75.6465152,"latitude_deg":11.9550904,"altitude":41,"angle":47,"satellites":41,"speed":49,"hex_longitude":"2d16be00","hex_latitude":"072033b8","is_valid_coordinates":true} 
[2026-09-10 16:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994013440001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19289758983258112,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631288258130362368,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789039122000,"timestamp_ms":1789039122000,"timestamp_seconds":1789039122,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0a9650"} 
[2026-09-10 16:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 16:49: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-09-10 16:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994013440001,"66":14265,"122":206,"28":31744,"24":49,"16":19289758983258112,"45":1631288258130362368},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994013440001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:49:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19289758983258112,"km_value":19289758983258.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631288258130362368,"description":"Unknown IO ID 45"} 
[2026-09-10 16:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994013440001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1631288258130362368}} 
[2026-09-10 16:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":177855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:49:38] local.INFO: GPS data processed {"connection_id":177855,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:49:38] local.INFO: Acknowledgment sent {"connection_id":177855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:49:39] local.INFO: TCP Data received {"connection_id":177855,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0ab590012d16d840072050000028002929..."} 
[2026-09-10 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0ab590012d16d840072050000028002929..."} 
[2026-09-10 16:49:39] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0ab590012d16d840072050000028002929..."} 
[2026-09-10 16:49:39] local.INFO: Packet analysis {"connection_id":177855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:39] local.INFO: Extracted packet for processing {"connection_id":177855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756471872,"raw_latitude":119558144,"longitude_deg":75.6471872,"latitude_deg":11.9558144,"altitude":40,"angle":41,"satellites":41,"speed":46,"hex_longitude":"2d16d840","hex_latitude":"07205000","is_valid_coordinates":true} 
[2026-09-10 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994015232001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19290235724627968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1638747345014470656,"note":"Value kept but may cause issues"} 
[2026-09-10 16:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789039130000,"timestamp_ms":1789039130000,"timestamp_seconds":1789039130,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0ab590"} 
[2026-09-10 16:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994015232001,"66":14211,"122":206,"28":31744,"24":46,"16":19290235724627968,"45":1638747345014470656},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994015232001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:49:39] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19290235724627968,"km_value":19290235724627.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1638747345014470656,"description":"Unknown IO ID 45"} 
[2026-09-10 16:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994015232001,"power":14211,"unknown_122":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1638747345014470656}} 
[2026-09-10 16:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":177855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:49:39] local.INFO: GPS data processed {"connection_id":177855,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:49:39] local.INFO: Acknowledgment sent {"connection_id":177855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:50:01] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0b0798012cccf100074591b8001a00a52c..."} 
[2026-09-10 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0b0798012cccf100074591b8001a00a52c..."} 
[2026-09-10 16:50:01] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0b0798012cccf100074591b8001a00a52c..."} 
[2026-09-10 16:50:01] local.INFO: Packet analysis {"connection_id":176683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:01] local.INFO: Extracted packet for processing {"connection_id":176683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:01] local.INFO: GPS Element Parsed {"raw_longitude":751628544,"raw_latitude":121999800,"longitude_deg":75.1628544,"latitude_deg":12.19998,"altitude":26,"angle":165,"satellites":44,"speed":42,"hex_longitude":"2cccf100","hex_latitude":"074591b8","is_valid_coordinates":true} 
[2026-09-10 16:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994020352001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404335286466641920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3681974139117764608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789039151000,"timestamp_ms":1789039151000,"timestamp_seconds":1789039151,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0b0798"} 
[2026-09-10 16:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16: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-09-10 16: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":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:50: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-09-10 16:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:50: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-09-10 16:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994020352001,"66":27843,"239":206,"85":37632,"24":42,"16":404335286466641920,"44":-3681974139117764608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-10 16:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994020352001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:50:01] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-10 16:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404335286466641920,"km_value":404335286466641.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3681974139117764608,"description":"Unknown IO ID 44"} 
[2026-09-10 16:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994020352001,"power":27843,"unknown_239":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3681974139117764608}} 
[2026-09-10 16:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":176683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:50:01] local.INFO: GPS data processed {"connection_id":176683,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:50:01] local.INFO: Acknowledgment sent {"connection_id":176683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:50:03] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0b2ac0012d0bffc00702a7780011010f20..."} 
[2026-09-10 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0b2ac0012d0bffc00702a7780011010f20..."} 
[2026-09-10 16:50:03] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0b2ac0012d0bffc00702a7780011010f20..."} 
[2026-09-10 16:50:03] local.INFO: Packet analysis {"connection_id":176460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:03] local.INFO: Extracted packet for processing {"connection_id":176460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:03] local.INFO: GPS Element Parsed {"raw_longitude":755761088,"raw_latitude":117614456,"longitude_deg":75.5761088,"latitude_deg":11.7614456,"altitude":17,"angle":271,"satellites":32,"speed":2,"hex_longitude":"2d0bffc0","hex_latitude":"0702a778","is_valid_coordinates":true} 
[2026-09-10 16:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994021632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31230373656526848,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867083695866572800,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789039160000,"timestamp_ms":1789039160000,"timestamp_seconds":1789039160,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0b2ac0"} 
[2026-09-10 16:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":92,"data_length":795,"current_offset":136} 
[2026-09-10 16:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994021632001,"66":14407,"37":206,"94":11008,"24":2,"16":31230373656526848,"45":867083695866572800},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 16:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994021632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:50:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 16:50:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31230373656526848,"km_value":31230373656526.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":867083695866572800,"description":"Unknown IO ID 45"} 
[2026-09-10 16:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994021632001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":867083695866572800}} 
[2026-09-10 16:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":176460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:50:04] local.INFO: GPS data processed {"connection_id":176460,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:50:04] local.INFO: Acknowledgment sent {"connection_id":176460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:50:11] local.INFO: TCP Data received {"connection_id":177855,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0ad8b8012d16f1c007206d28002a002a28..."} 
[2026-09-10 16:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0ad8b8012d16f1c007206d28002a002a28..."} 
[2026-09-10 16:50:11] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0ad8b8012d16f1c007206d28002a002a28..."} 
[2026-09-10 16:50:11] local.INFO: Packet analysis {"connection_id":177855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:50:11] local.INFO: Extracted packet for processing {"connection_id":177855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756478400,"raw_latitude":119565608,"longitude_deg":75.64784,"latitude_deg":11.9565608,"altitude":42,"angle":42,"satellites":40,"speed":42,"hex_longitude":"2d16f1c0","hex_latitude":"07206d28","is_valid_coordinates":true} 
[2026-09-10 16:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994017280001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19290712465997824,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1646136063154978816,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789039139000,"timestamp_ms":1789039139000,"timestamp_seconds":1789039139,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0ad8b8"} 
[2026-09-10 16:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 16:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994017280001,"66":14265,"122":206,"28":31744,"24":42,"16":19290712465997824,"45":1646136063154978816},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994017280001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:50:11] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19290712465997824,"km_value":19290712465997.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1646136063154978816,"description":"Unknown IO ID 45"} 
[2026-09-10 16:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994017280001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1646136063154978816}} 
[2026-09-10 16:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":177855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:50:11] local.INFO: GPS data processed {"connection_id":177855,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:50:11] local.INFO: Acknowledgment sent {"connection_id":177855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:50:23] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:24] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:24] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:50:24] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:24] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:24] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:50:27] local.INFO: TCP Data received {"connection_id":177856,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:27] local.INFO: Processing buffer {"connection_id":177856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:27] local.INFO: IMEI packet received {"connection_id":177856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":177856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:50:28] local.INFO: TCP Data received {"connection_id":177856,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:28] local.INFO: Processing buffer {"connection_id":177856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:28] local.INFO: IMEI packet received {"connection_id":177856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":177856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:50:28] local.INFO: TCP Data received {"connection_id":177856,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:28] local.INFO: Processing buffer {"connection_id":177856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:28] local.INFO: IMEI packet received {"connection_id":177856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":177856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:50:29] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:29] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:50:29] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:50:30] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0b2ac0012cccfb4007456d20001b00a32c..."} 
[2026-09-10 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0b2ac0012cccfb4007456d20001b00a32c..."} 
[2026-09-10 16:50:30] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0b2ac0012cccfb4007456d20001b00a32c..."} 
[2026-09-10 16:50:30] local.INFO: Packet analysis {"connection_id":176684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:30] local.INFO: Extracted packet for processing {"connection_id":176684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":751631168,"raw_latitude":121990432,"longitude_deg":75.1631168,"latitude_deg":12.1990432,"altitude":27,"angle":163,"satellites":44,"speed":44,"hex_longitude":"2cccfb40","hex_latitude":"07456d20","is_valid_coordinates":true} 
[2026-09-10 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994022656001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404335754618077184,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3679159389353035776,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789039160000,"timestamp_ms":1789039160000,"timestamp_seconds":1789039160,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0b2ac0"} 
[2026-09-10 16:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994022656001,"66":27767,"233":206,"85":37632,"24":44,"16":404335754618077184,"44":-3679159389353035776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-10 16:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994022656001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:50:30] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-10 16:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404335754618077184,"km_value":404335754618077.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3679159389353035776,"description":"Unknown IO ID 44"} 
[2026-09-10 16:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994022656001,"power":27767,"unknown_233":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3679159389353035776}} 
[2026-09-10 16:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":176684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:50:30] local.INFO: GPS data processed {"connection_id":176684,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:50:30] local.INFO: Acknowledgment sent {"connection_id":176684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:50:31] local.INFO: TCP Data received {"connection_id":179224,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:50:31] local.INFO: Processing buffer {"connection_id":179224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:50:31] local.INFO: IMEI packet received {"connection_id":179224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":179224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:50:32] local.INFO: TCP Data received {"connection_id":177856,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:32] local.INFO: Processing buffer {"connection_id":177856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:50:32] local.INFO: IMEI packet received {"connection_id":177856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":177856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:50:33] local.INFO: TCP Data received {"connection_id":177856,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0af7f8012d1709c007208728002b002a28..."} 
[2026-09-10 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0af7f8012d1709c007208728002b002a28..."} 
[2026-09-10 16:50:33] local.INFO: Processing buffer {"connection_id":177856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0af7f8012d1709c007208728002b002a28..."} 
[2026-09-10 16:50:33] local.INFO: Packet analysis {"connection_id":177856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:50:33] local.INFO: Extracted packet for processing {"connection_id":177856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0a"} 
[2026-09-10 16:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756484544,"raw_latitude":119572264,"longitude_deg":75.6484544,"latitude_deg":11.9572264,"altitude":43,"angle":42,"satellites":40,"speed":46,"hex_longitude":"2d1709c0","hex_latitude":"07208728","is_valid_coordinates":true} 
[2026-09-10 16:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994019584001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19291146257694720,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1653313675063011328,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039147000,"timestamp_ms":1789039147000,"timestamp_seconds":1789039147,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0af7f8"} 
[2026-09-10 16:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994019584001,"66":14233,"122":206,"28":31744,"24":46,"16":19291146257694720,"45":1653313675063011328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994019584001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:50:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19291146257694720,"km_value":19291146257694.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1653313675063011328,"description":"Unknown IO ID 45"} 
[2026-09-10 16:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994019584001,"power":14233,"unknown_122":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1653313675063011328}} 
[2026-09-10 16:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":177856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:50:33] local.INFO: GPS data processed {"connection_id":177856,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:50:33] local.INFO: Acknowledgment sent {"connection_id":177856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:50:37] local.INFO: TCP Data received {"connection_id":179224,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179224,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:50:37] local.INFO: Processing buffer {"connection_id":179224,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:50:37] local.INFO: IMEI packet received {"connection_id":179224,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":179224,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:50:37] local.INFO: TCP Data received {"connection_id":177856,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0b1738012d1724000720a118002d002f29..."} 
[2026-09-10 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0b1738012d1724000720a118002d002f29..."} 
[2026-09-10 16:50:37] local.INFO: Processing buffer {"connection_id":177856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0b1738012d1724000720a118002d002f29..."} 
[2026-09-10 16:50:37] local.INFO: Packet analysis {"connection_id":177856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:37] local.INFO: Extracted packet for processing {"connection_id":177856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756491264,"raw_latitude":119578904,"longitude_deg":75.6491264,"latitude_deg":11.9578904,"altitude":45,"angle":47,"satellites":41,"speed":45,"hex_longitude":"2d172400","hex_latitude":"0720a118","is_valid_coordinates":true} 
[2026-09-10 16:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994021632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19291597229260800,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660069074505771008,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789039155000,"timestamp_ms":1789039155000,"timestamp_seconds":1789039155,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0b1738"} 
[2026-09-10 16:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:50: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-09-10 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 16:50: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-09-10 16:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994021632001,"66":14265,"122":206,"28":31744,"24":45,"16":19291597229260800,"45":1660069074505771008},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994021632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:50:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19291597229260800,"km_value":19291597229260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660069074505771008,"description":"Unknown IO ID 45"} 
[2026-09-10 16:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994021632001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1660069074505771008}} 
[2026-09-10 16:50:38] local.INFO: TCP Data received {"connection_id":179224,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0b2ea8012d0bff800702a768001100fd20..."} 
[2026-09-10 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0b2ea8012d0bff800702a768001100fd20..."} 
[2026-09-10 16:50:38] local.INFO: Processing buffer {"connection_id":179224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0b2ea8012d0bff800702a768001100fd20..."} 
[2026-09-10 16:50:38] local.INFO: Packet analysis {"connection_id":179224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:38] local.INFO: Extracted packet for processing {"connection_id":179224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755761024,"raw_latitude":117614440,"longitude_deg":75.5761024,"latitude_deg":11.761444,"altitude":17,"angle":253,"satellites":32,"speed":2,"hex_longitude":"2d0bff80","hex_latitude":"0702a768","is_valid_coordinates":true} 
[2026-09-10 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994024960001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31230377951494144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864620789820258304,"note":"Value kept but may cause issues"} 
[2026-09-10 16:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789039161000,"timestamp_ms":1789039161000,"timestamp_seconds":1789039161,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0b2ea8"} 
[2026-09-10 16:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 16:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994024960001,"66":14407,"37":206,"94":11008,"24":2,"16":31230377951494144,"45":864620789820258304},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 16:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994024960001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:50:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 16:50:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31230377951494144,"km_value":31230377951494.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":864620789820258304,"description":"Unknown IO ID 45"} 
[2026-09-10 16:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994024960001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":864620789820258304}} 
[2026-09-10 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":177856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:50:38] local.INFO: GPS data processed {"connection_id":177856,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:50:38] local.INFO: Acknowledgment sent {"connection_id":177856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":179224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:50:38] local.INFO: GPS data processed {"connection_id":179224,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:50:38] local.INFO: Acknowledgment sent {"connection_id":179224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:51:01] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c6340012ccda24007443770001500702b..."} 
[2026-09-10 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c6340012ccda24007443770001500702b..."} 
[2026-09-10 16:51:01] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c6340012ccda24007443770001500702b..."} 
[2026-09-10 16:51:01] local.INFO: Packet analysis {"connection_id":176684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:01] local.INFO: Extracted packet for processing {"connection_id":176684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:01] local.INFO: GPS Element Parsed {"raw_longitude":751673920,"raw_latitude":121911152,"longitude_deg":75.167392,"latitude_deg":12.1911152,"altitude":21,"angle":112,"satellites":43,"speed":44,"hex_longitude":"2ccda240","hex_latitude":"07443770","is_valid_coordinates":true} 
[2026-09-10 16:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994044416001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404340174139424768,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3633630811892201472,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789039240000,"timestamp_ms":1789039240000,"timestamp_seconds":1789039240,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c6340"} 
[2026-09-10 16:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16: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-09-10 16: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":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:51: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-09-10 16:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:51: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-09-10 16:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994044416001,"66":27832,"231":206,"85":37632,"24":44,"16":404340174139424768,"44":-3633630811892201472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-10 16:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994044416001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:51:01] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 16:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404340174139424768,"km_value":404340174139424.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3633630811892201472,"description":"Unknown IO ID 44"} 
[2026-09-10 16:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994044416001,"power":27832,"unknown_231":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3633630811892201472}} 
[2026-09-10 16:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":176684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:51:01] local.INFO: GPS data processed {"connection_id":176684,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:51:01] local.INFO: Acknowledgment sent {"connection_id":176684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:51:09] local.INFO: TCP Data received {"connection_id":177856,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0b3678012d173fc00720b7e00030003327..."} 
[2026-09-10 16:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0b3678012d173fc00720b7e00030003327..."} 
[2026-09-10 16:51:09] local.INFO: Processing buffer {"connection_id":177856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0b3678012d173fc00720b7e00030003327..."} 
[2026-09-10 16:51:09] local.INFO: Packet analysis {"connection_id":177856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:51:09] local.INFO: Extracted packet for processing {"connection_id":177856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0b"} 
[2026-09-10 16:51:09] local.INFO: GPS Element Parsed {"raw_longitude":756498368,"raw_latitude":119584736,"longitude_deg":75.6498368,"latitude_deg":11.9584736,"altitude":48,"angle":51,"satellites":39,"speed":44,"hex_longitude":"2d173fc0","hex_latitude":"0720b7e0","is_valid_coordinates":true} 
[2026-09-10 16:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994023680001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19292035315924992,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1667457792646125568,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789039163000,"timestamp_ms":1789039163000,"timestamp_seconds":1789039163,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0b3678"} 
[2026-09-10 16:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:51: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-09-10 16:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994023680001,"66":14265,"122":206,"28":31744,"24":44,"16":19292035315924992,"45":1667457792646125568},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994023680001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19292035315924992,"km_value":19292035315924.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1667457792646125568,"description":"Unknown IO ID 45"} 
[2026-09-10 16:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994023680001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1667457792646125568}} 
[2026-09-10 16:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":177856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:51:09] local.INFO: GPS data processed {"connection_id":177856,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:51:09] local.INFO: Acknowledgment sent {"connection_id":177856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:51:09] local.INFO: TCP Data received {"connection_id":179224,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c8a50012d0bafc00702a758000b01481f..."} 
[2026-09-10 16:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c8a50012d0bafc00702a758000b01481f..."} 
[2026-09-10 16:51:09] local.INFO: Processing buffer {"connection_id":179224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c8a50012d0bafc00702a758000b01481f..."} 
[2026-09-10 16:51:09] local.INFO: Packet analysis {"connection_id":179224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:09] local.INFO: Extracted packet for processing {"connection_id":179224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:09] local.INFO: GPS Element Parsed {"raw_longitude":755740608,"raw_latitude":117614424,"longitude_deg":75.5740608,"latitude_deg":11.7614424,"altitude":11,"angle":328,"satellites":31,"speed":15,"hex_longitude":"2d0bafc0","hex_latitude":"0702a758","is_valid_coordinates":true} 
[2026-09-10 16:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31231451693318144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843369429078226944,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789039250000,"timestamp_ms":1789039250000,"timestamp_seconds":1789039250,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c8a50"} 
[2026-09-10 16:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 16:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179224,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994046720001,"66":14461,"37":206,"94":11008,"24":15,"16":31231451693318144,"45":843369429078226944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 16:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31231451693318144,"km_value":31231451693318.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":843369429078226944,"description":"Unknown IO ID 45"} 
[2026-09-10 16:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994046720001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":843369429078226944}} 
[2026-09-10 16:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":179224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:51:09] local.INFO: GPS data processed {"connection_id":179224,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:51:09] local.INFO: Acknowledgment sent {"connection_id":179224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:51:17] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:17] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:17] local.INFO: IMEI packet received {"connection_id":177857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":177857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:51:18] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:18] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:18] local.INFO: IMEI packet received {"connection_id":177857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":177857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:51:24] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:24] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:51:24] local.INFO: IMEI packet received {"connection_id":177857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":177857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:51:25] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c76c8012ccdb78007443158001600632c..."} 
[2026-09-10 16:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c76c8012ccdb78007443158001600632c..."} 
[2026-09-10 16:51:25] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c76c8012ccdb78007443158001600632c..."} 
[2026-09-10 16:51:25] local.INFO: Packet analysis {"connection_id":177857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:25] local.INFO: Extracted packet for processing {"connection_id":177857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:25] local.INFO: GPS Element Parsed {"raw_longitude":751679360,"raw_latitude":121909592,"longitude_deg":75.167936,"latitude_deg":12.1909592,"altitude":22,"angle":99,"satellites":44,"speed":44,"hex_longitude":"2ccdb780","hex_latitude":"07443158","is_valid_coordinates":true} 
[2026-09-10 16:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994045440001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404340449017331712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3629267949753765888,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789039245000,"timestamp_ms":1789039245000,"timestamp_seconds":1789039245,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c76c8"} 
[2026-09-10 16:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 16:51:25] 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-09-10 16:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994045440001,"66":27800,"231":206,"85":37632,"24":44,"16":404340449017331712,"44":-3629267949753765888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-10 16:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994045440001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:51:25] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 16:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404340449017331712,"km_value":404340449017331.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3629267949753765888,"description":"Unknown IO ID 44"} 
[2026-09-10 16:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994045440001,"power":27800,"unknown_231":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3629267949753765888}} 
[2026-09-10 16:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":177857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:51:25] local.INFO: GPS data processed {"connection_id":177857,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:51:25] local.INFO: Acknowledgment sent {"connection_id":177857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:51:27] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:27] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:27] local.INFO: IMEI packet received {"connection_id":176685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":176685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:51:27] local.INFO: TCP Data received {"connection_id":176462,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:27] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:27] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:51:27] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:27] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:27] local.INFO: IMEI packet received {"connection_id":176685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":176685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:51:28] local.INFO: TCP Data received {"connection_id":176462,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:28] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:28] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:51:30] local.INFO: TCP Data received {"connection_id":176462,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:30] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:51:30] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:51:31] local.INFO: TCP Data received {"connection_id":176462,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c4400012d17f7c0072182e00048015829..."} 
[2026-09-10 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c4400012d17f7c0072182e00048015829..."} 
[2026-09-10 16:51:31] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c4400012d17f7c0072182e00048015829..."} 
[2026-09-10 16:51:31] local.INFO: Packet analysis {"connection_id":176462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:31] local.INFO: Extracted packet for processing {"connection_id":176462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756545472,"raw_latitude":119636704,"longitude_deg":75.6545472,"latitude_deg":11.9636704,"altitude":72,"angle":344,"satellites":41,"speed":6,"hex_longitude":"2d17f7c0","hex_latitude":"072182e0","is_valid_coordinates":true} 
[2026-09-10 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994042880001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295449814925312,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727060118979334144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789039232000,"timestamp_ms":1789039232000,"timestamp_seconds":1789039232,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c4400"} 
[2026-09-10 16:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 16:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994042880001,"66":12004,"122":206,"28":31744,"24":6,"16":19295449814925312,"45":1727060118979334144},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994042880001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:51:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295449814925312,"km_value":19295449814925.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727060118979334144,"description":"Unknown IO ID 45"} 
[2026-09-10 16:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994042880001,"power":12004,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1727060118979334144}} 
[2026-09-10 16:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":176462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:51:31] local.INFO: GPS data processed {"connection_id":176462,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:51:31] local.INFO: Acknowledgment sent {"connection_id":176462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:51:35] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:35] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:51:35] local.INFO: IMEI packet received {"connection_id":176685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":176685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:51:36] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c9608012d0bad800702a9e8000b01371e..."} 
[2026-09-10 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c9608012d0bad800702a9e8000b01371e..."} 
[2026-09-10 16:51:36] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c9608012d0bad800702a9e8000b01371e..."} 
[2026-09-10 16:51:36] local.INFO: Packet analysis {"connection_id":176685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:36] local.INFO: Extracted packet for processing {"connection_id":176685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":755740032,"raw_latitude":117615080,"longitude_deg":75.5740032,"latitude_deg":11.761508,"altitude":11,"angle":311,"satellites":30,"speed":6,"hex_longitude":"2d0bad80","hex_latitude":"0702a9e8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 16:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994048000001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31231490348023808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842102791683397632,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789039253000,"timestamp_ms":1789039253000,"timestamp_seconds":1789039253,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c9608"} 
[2026-09-10 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-09-10 16:51: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-09-10 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 16:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 16:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994048000001,"66":14515,"37":206,"94":11008,"24":6,"16":31231490348023808,"45":842102791683397632},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 16:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994048000001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:51:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 16:51:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31231490348023808,"km_value":31231490348023.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":842102791683397632,"description":"Unknown IO ID 45"} 
[2026-09-10 16:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994048000001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":842102791683397632}} 
[2026-09-10 16:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":176685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795066,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:51:36] local.INFO: GPS data processed {"connection_id":176685,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:51:36] local.INFO: Acknowledgment sent {"connection_id":176685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:51:55] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c9608012ccddb4007442de80016005c2c..."} 
[2026-09-10 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c9608012ccddb4007442de80016005c2c..."} 
[2026-09-10 16:51:55] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c9608012ccddb4007442de80016005c2c..."} 
[2026-09-10 16:51:55] local.INFO: Packet analysis {"connection_id":177857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:55] local.INFO: Extracted packet for processing {"connection_id":177857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:51:55] local.INFO: GPS Element Parsed {"raw_longitude":751688512,"raw_latitude":121908712,"longitude_deg":75.1688512,"latitude_deg":12.1908712,"altitude":22,"angle":92,"satellites":44,"speed":45,"hex_longitude":"2ccddb40","hex_latitude":"07442de8","is_valid_coordinates":true} 
[2026-09-10 16:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404340882809028608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3623286606499063808,"note":"Value kept but may cause issues"} 
[2026-09-10 16:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789039253000,"timestamp_ms":1789039253000,"timestamp_seconds":1789039253,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c9608"} 
[2026-09-10 16:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:51: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-09-10 16:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 16:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994046720001,"66":27908,"231":206,"85":37632,"24":45,"16":404340882809028608,"44":-3623286606499063808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-10 16:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:51:55] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 16:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404340882809028608,"km_value":404340882809028.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:51:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3623286606499063808,"description":"Unknown IO ID 44"} 
[2026-09-10 16:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994046720001,"power":27908,"unknown_231":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3623286606499063808}} 
[2026-09-10 16:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":177857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:51:55] local.INFO: GPS data processed {"connection_id":177857,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:51:55] local.INFO: Acknowledgment sent {"connection_id":177857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:52:03] local.INFO: TCP Data received {"connection_id":176462,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c47e8012d17f780072183700049014a29..."} 
[2026-09-10 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c47e8012d17f780072183700049014a29..."} 
[2026-09-10 16:52:03] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c47e8012d17f780072183700049014a29..."} 
[2026-09-10 16:52:03] local.INFO: Packet analysis {"connection_id":176462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:52:03] local.INFO: Extracted packet for processing {"connection_id":176462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756545408,"raw_latitude":119636848,"longitude_deg":75.6545408,"latitude_deg":11.9636848,"altitude":73,"angle":330,"satellites":41,"speed":5,"hex_longitude":"2d17f780","hex_latitude":"07218370","is_valid_coordinates":true} 
[2026-09-10 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994043392001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295454109892608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727060118979403776,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789039233000,"timestamp_ms":1789039233000,"timestamp_seconds":1789039233,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c47e8"} 
[2026-09-10 16:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:52: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-09-10 16:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994043392001,"66":12004,"122":206,"28":31744,"24":5,"16":19295454109892608,"45":1727060118979403776},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994043392001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:52:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295454109892608,"km_value":19295454109892.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727060118979403776,"description":"Unknown IO ID 45"} 
[2026-09-10 16:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994043392001,"power":12004,"unknown_122":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1727060118979403776}} 
[2026-09-10 16:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":176462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:52:03] local.INFO: GPS data processed {"connection_id":176462,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:52:03] local.INFO: Acknowledgment sent {"connection_id":176462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:52:10] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0ca5a8012d0babc00702aaa0000b01131f..."} 
[2026-09-10 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0ca5a8012d0babc00702aaa0000b01131f..."} 
[2026-09-10 16:52:10] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0ca5a8012d0babc00702aaa0000b01131f..."} 
[2026-09-10 16:52:10] local.INFO: Packet analysis {"connection_id":176685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:52:10] local.INFO: Extracted packet for processing {"connection_id":176685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:52:10] local.INFO: GPS Element Parsed {"raw_longitude":755739584,"raw_latitude":117615264,"longitude_deg":75.5739584,"latitude_deg":11.7615264,"altitude":11,"angle":275,"satellites":31,"speed":5,"hex_longitude":"2d0babc0","hex_latitude":"0702aaa0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994048768001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31231516117827584,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841469472985966592,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789039257000,"timestamp_ms":1789039257000,"timestamp_seconds":1789039257,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0ca5a8"} 
[2026-09-10 16:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 16:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-10 16:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-10 16:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-10 16:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994048768001,"66":14428,"37":206,"94":11008,"24":5,"16":31231516117827584,"45":841469472985966592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-10 16:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-10 16:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-10 16:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994048768001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:52:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 16:52:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 16:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31231516117827584,"km_value":31231516117827.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":841469472985966592,"description":"Unknown IO ID 45"} 
[2026-09-10 16:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994048768001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":841469472985966592}} 
[2026-09-10 16:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":176685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:52:10] local.INFO: GPS data processed {"connection_id":176685,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:52:10] local.INFO: Acknowledgment sent {"connection_id":176685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:52:18] local.INFO: TCP Data received {"connection_id":176464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:18] local.INFO: Processing buffer {"connection_id":176464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:18] local.INFO: IMEI packet received {"connection_id":176464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:52:18] local.INFO: TCP Data received {"connection_id":176464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:18] local.INFO: Processing buffer {"connection_id":176464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:18] local.INFO: IMEI packet received {"connection_id":176464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:52:24] local.INFO: TCP Data received {"connection_id":176464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:24] local.INFO: Processing buffer {"connection_id":176464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:52:24] local.INFO: IMEI packet received {"connection_id":176464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":176464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:52:24] local.INFO: TCP Data received {"connection_id":176464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0dab60012ccf14c007440760001000812c..."} 
[2026-09-10 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0dab60012ccf14c007440760001000812c..."} 
[2026-09-10 16:52:24] local.INFO: Processing buffer {"connection_id":176464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0dab60012ccf14c007440760001000812c..."} 
[2026-09-10 16:52:24] local.INFO: Packet analysis {"connection_id":176464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:52:24] local.INFO: Extracted packet for processing {"connection_id":176464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:52:24] local.INFO: GPS Element Parsed {"raw_longitude":751768768,"raw_latitude":121898848,"longitude_deg":75.1768768,"latitude_deg":12.1898848,"altitude":16,"angle":129,"satellites":44,"speed":45,"hex_longitude":"2ccf14c0","hex_latitude":"07440760","is_valid_coordinates":true} 
[2026-09-10 16:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994065664001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404344791229267968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3530259126698162176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789039324000,"timestamp_ms":1789039324000,"timestamp_seconds":1789039324,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0dab60"} 
[2026-09-10 16:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 16:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994065664001,"66":27126,"167":206,"85":37632,"24":45,"16":404344791229267968,"44":-3530259126698162176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994065664001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:52:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404344791229267968,"km_value":404344791229267.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3530259126698162176,"description":"Unknown IO ID 44"} 
[2026-09-10 16:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994065664001,"power":27126,"unknown_167":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3530259126698162176}} 
[2026-09-10 16:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":176464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:52:25] local.INFO: GPS data processed {"connection_id":176464,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:52:25] local.INFO: Acknowledgment sent {"connection_id":176464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:52:27] local.INFO: TCP Data received {"connection_id":177858,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:52:27] local.INFO: Processing buffer {"connection_id":177858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:52:27] local.INFO: IMEI packet received {"connection_id":177858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":177858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:52:28] local.INFO: TCP Data received {"connection_id":179226,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:28] local.INFO: Processing buffer {"connection_id":179226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:28] local.INFO: IMEI packet received {"connection_id":179226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-10 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":179226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:52:29] local.INFO: TCP Data received {"connection_id":179226,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:29] local.INFO: Processing buffer {"connection_id":179226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:29] local.INFO: IMEI packet received {"connection_id":179226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":179226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:52:30] local.INFO: TCP Data received {"connection_id":179226,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:30] local.INFO: Processing buffer {"connection_id":179226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:30] local.INFO: IMEI packet received {"connection_id":179226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":179226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:52:31] local.INFO: TCP Data received {"connection_id":177858,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:52:31] local.INFO: Processing buffer {"connection_id":177858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:52:31] local.INFO: IMEI packet received {"connection_id":177858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":177858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:52:31] local.INFO: TCP Data received {"connection_id":179226,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:31] local.INFO: Processing buffer {"connection_id":179226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-10 16:52:31] local.INFO: IMEI packet received {"connection_id":179226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-10 16:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":179226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:52:33] local.INFO: TCP Data received {"connection_id":177858,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c6ef8012d17f5c0072184b0004a012f28..."} 
[2026-09-10 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c6ef8012d17f5c0072184b0004a012f28..."} 
[2026-09-10 16:52:33] local.INFO: Processing buffer {"connection_id":177858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c6ef8012d17f5c0072184b0004a012f28..."} 
[2026-09-10 16:52:33] local.INFO: Packet analysis {"connection_id":177858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:52:33] local.INFO: Extracted packet for processing {"connection_id":177858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756544960,"raw_latitude":119637168,"longitude_deg":75.654496,"latitude_deg":11.9637168,"altitude":74,"angle":303,"satellites":40,"speed":6,"hex_longitude":"2d17f5c0","hex_latitude":"072184b0","is_valid_coordinates":true} 
[2026-09-10 16:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994043648001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295484174663680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726989750235262976,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039243000,"timestamp_ms":1789039243000,"timestamp_seconds":1789039243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c6ef8"} 
[2026-09-10 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-09-10 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 16:52:33] 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-09-10 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-09-10 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-09-10 16:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994043648001,"66":13135,"122":206,"28":31744,"24":6,"16":19295484174663680,"45":1726989750235262976},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994043648001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:52:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295484174663680,"km_value":19295484174663.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726989750235262976,"description":"Unknown IO ID 45"} 
[2026-09-10 16:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994043648001,"power":13135,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1726989750235262976}} 
[2026-09-10 16:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":177858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:52:33] local.INFO: GPS data processed {"connection_id":177858,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:52:33] local.INFO: Acknowledgment sent {"connection_id":177858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:52:36] local.INFO: TCP Data received {"connection_id":176463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:52:36] local.INFO: Processing buffer {"connection_id":176463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:52:36] local.INFO: IMEI packet received {"connection_id":176463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":176463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:52:38] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:52:38] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 16:52:38] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 16:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:52:56] local.INFO: TCP Data received {"connection_id":176464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0dbb00012ccf22000743faa0000f008c2c..."} 
[2026-09-10 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0dbb00012ccf22000743faa0000f008c2c..."} 
[2026-09-10 16:52:56] local.INFO: Processing buffer {"connection_id":176464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0dbb00012ccf22000743faa0000f008c2c..."} 
[2026-09-10 16:52:56] local.INFO: Packet analysis {"connection_id":176464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:52:56] local.INFO: Extracted packet for processing {"connection_id":176464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":751772160,"raw_latitude":121895584,"longitude_deg":75.177216,"latitude_deg":12.1895584,"altitude":15,"angle":140,"satellites":44,"speed":45,"hex_longitude":"2ccf2200","hex_latitude":"0743faa0","is_valid_coordinates":true} 
[2026-09-10 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994066944001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404345014567567360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3524981470885617664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789039328000,"timestamp_ms":1789039328000,"timestamp_seconds":1789039328,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0dbb00"} 
[2026-09-10 16:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 16:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994066944001,"66":27843,"167":206,"85":37632,"24":45,"16":404345014567567360,"44":-3524981470885617664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-10 16:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994066944001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:52:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 16:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404345014567567360,"km_value":404345014567567.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3524981470885617664,"description":"Unknown IO ID 44"} 
[2026-09-10 16:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994066944001,"power":27843,"unknown_167":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3524981470885617664}} 
[2026-09-10 16:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":176464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:52:56] local.INFO: GPS data processed {"connection_id":176464,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:52:56] local.INFO: Acknowledgment sent {"connection_id":176464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:53:04] local.INFO: TCP Data received {"connection_id":177858,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c8668012d17f18007218708004a012328..."} 
[2026-09-10 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c8668012d17f18007218708004a012328..."} 
[2026-09-10 16:53:04] local.INFO: Processing buffer {"connection_id":177858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c8668012d17f18007218708004a012328..."} 
[2026-09-10 16:53:04] local.INFO: Packet analysis {"connection_id":177858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:53:04] local.INFO: Extracted packet for processing {"connection_id":177858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756543872,"raw_latitude":119637768,"longitude_deg":75.6543872,"latitude_deg":11.9637768,"altitude":74,"angle":291,"satellites":40,"speed":9,"hex_longitude":"2d17f180","hex_latitude":"07218708","is_valid_coordinates":true} 
[2026-09-10 16:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994046208001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295544304205824,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726497169026101248,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789039249000,"timestamp_ms":1789039249000,"timestamp_seconds":1789039249,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c8668"} 
[2026-09-10 16:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 16:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994046208001,"66":13080,"122":206,"28":31744,"24":9,"16":19295544304205824,"45":1726497169026101248},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994046208001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:53:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295544304205824,"km_value":19295544304205.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726497169026101248,"description":"Unknown IO ID 45"} 
[2026-09-10 16:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994046208001,"power":13080,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1726497169026101248}} 
[2026-09-10 16:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":177858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:53:05] local.INFO: GPS data processed {"connection_id":177858,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:53:05] local.INFO: Acknowledgment sent {"connection_id":177858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:53:18] local.INFO: TCP Data received {"connection_id":176466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:18] local.INFO: Processing buffer {"connection_id":176466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:18] local.INFO: IMEI packet received {"connection_id":176466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":176466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:53:22] local.INFO: TCP Data received {"connection_id":176466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:22] local.INFO: Processing buffer {"connection_id":176466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:22] local.INFO: IMEI packet received {"connection_id":176466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":176466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:53:23] local.INFO: TCP Data received {"connection_id":176466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:23] local.INFO: Processing buffer {"connection_id":176466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:53:23] local.INFO: IMEI packet received {"connection_id":176466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":176466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:53:24] local.INFO: TCP Data received {"connection_id":176466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0dda40012ccf37800743dd40000e00912c..."} 
[2026-09-10 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0dda40012ccf37800743dd40000e00912c..."} 
[2026-09-10 16:53:24] local.INFO: Processing buffer {"connection_id":176466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0dda40012ccf37800743dd40000e00912c..."} 
[2026-09-10 16:53:24] local.INFO: Packet analysis {"connection_id":176466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:53:24] local.INFO: Extracted packet for processing {"connection_id":176466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:53:24] local.INFO: GPS Element Parsed {"raw_longitude":751777664,"raw_latitude":121888064,"longitude_deg":75.1777664,"latitude_deg":12.1888064,"altitude":14,"angle":145,"satellites":44,"speed":46,"hex_longitude":"2ccf3780","hex_latitude":"0743dd40","is_valid_coordinates":true} 
[2026-09-10 16:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994067968001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404345461244166144,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3521251927445037056,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789039336000,"timestamp_ms":1789039336000,"timestamp_seconds":1789039336,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0dda40"} 
[2026-09-10 16:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994067968001,"66":27767,"142":206,"85":37632,"24":46,"16":404345461244166144,"44":-3521251927445037056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-09-10 16:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994067968001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:53:24] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-10 16:53:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404345461244166144,"km_value":404345461244166.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:53:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3521251927445037056,"description":"Unknown IO ID 44"} 
[2026-09-10 16:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994067968001,"power":27767,"unknown_142":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3521251927445037056}} 
[2026-09-10 16:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":176466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:53:24] local.INFO: GPS data processed {"connection_id":176466,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:53:24] local.INFO: Acknowledgment sent {"connection_id":176466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:53:26] local.INFO: TCP Data received {"connection_id":176468,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:53:26] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:53:26] local.INFO: IMEI packet received {"connection_id":176468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":176468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:53:32] local.INFO: TCP Data received {"connection_id":176468,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:53:32] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:53:32] local.INFO: IMEI packet received {"connection_id":176468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":176468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:53:33] local.INFO: TCP Data received {"connection_id":176468,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0c9220012d17ef40072187a8004b011528..."} 
[2026-09-10 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0c9220012d17ef40072187a8004b011528..."} 
[2026-09-10 16:53:33] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0c9220012d17ef40072187a8004b011528..."} 
[2026-09-10 16:53:33] local.INFO: Packet analysis {"connection_id":176468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:53:33] local.INFO: Extracted packet for processing {"connection_id":176468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119637928,"longitude_deg":75.6543296,"latitude_deg":11.9637928,"altitude":75,"angle":277,"satellites":40,"speed":7,"hex_longitude":"2d17ef40","hex_latitude":"072187a8","is_valid_coordinates":true} 
[2026-09-10 16:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994047744001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295574368976896,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725300900375234560,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039252000,"timestamp_ms":1789039252000,"timestamp_seconds":1789039252,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0c9220"} 
[2026-09-10 16:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 16:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994047744001,"66":12287,"122":206,"28":31744,"24":7,"16":19295574368976896,"45":1725300900375234560},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994047744001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:53:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295574368976896,"km_value":19295574368976.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725300900375234560,"description":"Unknown IO ID 45"} 
[2026-09-10 16:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994047744001,"power":12287,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1725300900375234560}} 
[2026-09-10 16:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":176468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:53:33] local.INFO: GPS data processed {"connection_id":176468,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:53:33] local.INFO: Acknowledgment sent {"connection_id":176468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:53:55] local.INFO: TCP Data received {"connection_id":176466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0df980012ccf4c400743bf18000e00912c..."} 
[2026-09-10 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0df980012ccf4c400743bf18000e00912c..."} 
[2026-09-10 16:53:55] local.INFO: Processing buffer {"connection_id":176466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0df980012ccf4c400743bf18000e00912c..."} 
[2026-09-10 16:53:55] local.INFO: Packet analysis {"connection_id":176466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:53:55] local.INFO: Extracted packet for processing {"connection_id":176466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0d"} 
[2026-09-10 16:53:55] local.INFO: GPS Element Parsed {"raw_longitude":751782976,"raw_latitude":121880344,"longitude_deg":75.1782976,"latitude_deg":12.1880344,"altitude":14,"angle":145,"satellites":44,"speed":46,"hex_longitude":"2ccf4c40","hex_latitude":"0743bf18","is_valid_coordinates":true} 
[2026-09-10 16:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994070016001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404345916510699520,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3515200215447683072,"note":"Value kept but may cause issues"} 
[2026-09-10 16:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789039344000,"timestamp_ms":1789039344000,"timestamp_seconds":1789039344,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0df980"} 
[2026-09-10 16:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:53: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-09-10 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 16:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994070016001,"66":27908,"142":206,"85":37632,"24":46,"16":404345916510699520,"44":-3515200215447683072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-09-10 16:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994070016001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:53:55] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-10 16:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-10 16:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404345916510699520,"km_value":404345916510699.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3515200215447683072,"description":"Unknown IO ID 44"} 
[2026-09-10 16:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994070016001,"power":27908,"unknown_142":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3515200215447683072}} 
[2026-09-10 16:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":176466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:53:55] local.INFO: GPS data processed {"connection_id":176466,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:53:55] local.INFO: Acknowledgment sent {"connection_id":176466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:54:05] local.INFO: TCP Data received {"connection_id":176468,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0ce428012d17edc0072187f8004c011c25..."} 
[2026-09-10 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0ce428012d17edc0072187f8004c011c25..."} 
[2026-09-10 16:54:05] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0ce428012d17edc0072187f8004c011c25..."} 
[2026-09-10 16:54:05] local.INFO: Packet analysis {"connection_id":176468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:54:05] local.INFO: Extracted packet for processing {"connection_id":176468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0c"} 
[2026-09-10 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756542912,"raw_latitude":119638008,"longitude_deg":75.6542912,"latitude_deg":11.9638008,"altitude":76,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d17edc0","hex_latitude":"072187f8","is_valid_coordinates":true} 
[2026-09-10 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994048512001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295591548846080,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724667581677676544,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789039273000,"timestamp_ms":1789039273000,"timestamp_seconds":1789039273,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0ce428"} 
[2026-09-10 16:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":255,"data_length":795,"current_offset":136} 
[2026-09-10 16:54: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-09-10 16:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994048512001,"66":12765,"122":206,"28":31744,"24":0,"16":19295591548846080,"45":1724667581677676544},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994048512001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:54:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295591548846080,"km_value":19295591548846.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724667581677676544,"description":"Unknown IO ID 45"} 
[2026-09-10 16:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994048512001,"power":12765,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1724667581677676544}} 
[2026-09-10 16:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":176468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:54:05] local.INFO: GPS data processed {"connection_id":176468,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:54:05] local.INFO: Acknowledgment sent {"connection_id":176468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:54:23] local.INFO: TCP Data received {"connection_id":179227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:23] local.INFO: Processing buffer {"connection_id":179227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:23] local.INFO: IMEI packet received {"connection_id":179227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":179227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:54:24] local.INFO: TCP Data received {"connection_id":179227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:24] local.INFO: Processing buffer {"connection_id":179227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:24] local.INFO: IMEI packet received {"connection_id":179227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":179227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:54:27] local.INFO: TCP Data received {"connection_id":177859,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: IMEI packet received {"connection_id":177859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":177859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:54:27] local.INFO: TCP Data received {"connection_id":177859,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: IMEI packet received {"connection_id":177859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":177859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:54:27] local.INFO: TCP Data received {"connection_id":177859,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:27] local.INFO: IMEI packet received {"connection_id":177859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":177859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:54:29] local.INFO: TCP Data received {"connection_id":179227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:29] local.INFO: Processing buffer {"connection_id":179227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:54:29] local.INFO: IMEI packet received {"connection_id":179227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":179227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:54:30] local.INFO: TCP Data received {"connection_id":179227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0f4970012cd086c00742c2a80012007e2c..."} 
[2026-09-10 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0f4970012cd086c00742c2a80012007e2c..."} 
[2026-09-10 16:54:30] local.INFO: Processing buffer {"connection_id":179227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0f4970012cd086c00742c2a80012007e2c..."} 
[2026-09-10 16:54:30] local.INFO: Packet analysis {"connection_id":179227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:54:30] local.INFO: Extracted packet for processing {"connection_id":179227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:54:30] local.INFO: GPS Element Parsed {"raw_longitude":751863488,"raw_latitude":121815720,"longitude_deg":75.1863488,"latitude_deg":12.181572,"altitude":18,"angle":126,"satellites":44,"speed":53,"hex_longitude":"2cd086c0","hex_latitude":"0742c2a8","is_valid_coordinates":true} 
[2026-09-10 16:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994092288001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404350890082828288,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3429350347568017408,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789039430000,"timestamp_ms":1789039430000,"timestamp_seconds":1789039430,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0f4970"} 
[2026-09-10 16:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:54: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-09-10 16:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:54: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-09-10 16:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994092288001,"66":27832,"79":206,"83":43264,"24":53,"16":404350890082828288,"44":-3429350347568017408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 16:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994092288001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:54:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 16:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404350890082828288,"km_value":404350890082828.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3429350347568017408,"description":"Unknown IO ID 44"} 
[2026-09-10 16:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994092288001,"power":27832,"unknown_79":206,"unknown_83":43264,"ignition":53,"odometer":null,"unknown_44":-3429350347568017408}} 
[2026-09-10 16:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":179227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:54:30] local.INFO: GPS data processed {"connection_id":179227,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:54:30] local.INFO: Acknowledgment sent {"connection_id":179227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:54:31] local.INFO: TCP Data received {"connection_id":177859,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:31] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:54:31] local.INFO: IMEI packet received {"connection_id":177859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":177859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:54:31] local.INFO: TCP Data received {"connection_id":179227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0f64c8012cd0a4400742acd00012007f2c..."} 
[2026-09-10 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0f64c8012cd0a4400742acd00012007f2c..."} 
[2026-09-10 16:54:31] local.INFO: Processing buffer {"connection_id":179227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0f64c8012cd0a4400742acd00012007f2c..."} 
[2026-09-10 16:54:31] local.INFO: Packet analysis {"connection_id":179227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:54:31] local.INFO: Extracted packet for processing {"connection_id":179227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":751871040,"raw_latitude":121810128,"longitude_deg":75.187104,"latitude_deg":12.1810128,"altitude":18,"angle":127,"satellites":44,"speed":52,"hex_longitude":"2cd0a440","hex_latitude":"0742acd0","is_valid_coordinates":true} 
[2026-09-10 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994094080001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404351336759427072,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3420835729523955712,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789039437000,"timestamp_ms":1789039437000,"timestamp_seconds":1789039437,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0f64c8"} 
[2026-09-10 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 16:54:31] 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-09-10 16:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994094080001,"66":27745,"79":206,"83":43264,"24":52,"16":404351336759427072,"44":-3420835729523955712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994094080001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404351336759427072,"km_value":404351336759427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3420835729523955712,"description":"Unknown IO ID 44"} 
[2026-09-10 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994094080001,"power":27745,"unknown_79":206,"unknown_83":43264,"ignition":52,"odometer":null,"unknown_44":-3420835729523955712}} 
[2026-09-10 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":179227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:54:31] local.INFO: GPS data processed {"connection_id":179227,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:54:31] local.INFO: Acknowledgment sent {"connection_id":179227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:54:31] local.INFO: TCP Data received {"connection_id":177859,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0f2e18012d17e0c007218db8004d000228..."} 
[2026-09-10 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0f2e18012d17e0c007218db8004d000228..."} 
[2026-09-10 16:54:31] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0f2e18012d17e0c007218db8004d000228..."} 
[2026-09-10 16:54:31] local.INFO: Packet analysis {"connection_id":177859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:54:31] local.INFO: Extracted packet for processing {"connection_id":177859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756539584,"raw_latitude":119639480,"longitude_deg":75.6539584,"latitude_deg":11.963948,"altitude":77,"angle":2,"satellites":40,"speed":9,"hex_longitude":"2d17e0c0","hex_latitude":"07218db8","is_valid_coordinates":true} 
[2026-09-10 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994092032001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295771937472512,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720726932004067328,"note":"Value kept but may cause issues"} 
[2026-09-10 16:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789039423000,"timestamp_ms":1789039423000,"timestamp_seconds":1789039423,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0f2e18"} 
[2026-09-10 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994092032001,"66":14265,"122":206,"28":31744,"24":9,"16":19295771937472512,"45":1720726932004067328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994092032001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295771937472512,"km_value":19295771937472.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720726932004067328,"description":"Unknown IO ID 45"} 
[2026-09-10 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994092032001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1720726932004067328}} 
[2026-09-10 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":177859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:54:31] local.INFO: GPS data processed {"connection_id":177859,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:54:31] local.INFO: Acknowledgment sent {"connection_id":177859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:55:03] local.INFO: TCP Data received {"connection_id":177859,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0f3db8012d17e140072190c8004e015c29..."} 
[2026-09-10 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0f3db8012d17e140072190c8004e015c29..."} 
[2026-09-10 16:55:03] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0f3db8012d17e140072190c8004e015c29..."} 
[2026-09-10 16:55:03] local.INFO: Packet analysis {"connection_id":177859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:03] local.INFO: Extracted packet for processing {"connection_id":177859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756539712,"raw_latitude":119640264,"longitude_deg":75.6539712,"latitude_deg":11.9640264,"altitude":78,"angle":348,"satellites":41,"speed":7,"hex_longitude":"2d17e140","hex_latitude":"072190c8","is_valid_coordinates":true} 
[2026-09-10 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994092288001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19295810592178176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720586194515769344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789039427000,"timestamp_ms":1789039427000,"timestamp_seconds":1789039427,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0f3db8"} 
[2026-09-10 16:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994092288001,"66":12874,"122":206,"28":31744,"24":7,"16":19295810592178176,"45":1720586194515769344},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994092288001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19295810592178176,"km_value":19295810592178.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720586194515769344,"description":"Unknown IO ID 45"} 
[2026-09-10 16:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994092288001,"power":12874,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1720586194515769344}} 
[2026-09-10 16:55:03] local.INFO: TCP Data received {"connection_id":179227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0f8408012cd0c480074295780013007d2c..."} 
[2026-09-10 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0f8408012cd0c480074295780013007d2c..."} 
[2026-09-10 16:55:03] local.INFO: Processing buffer {"connection_id":179227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0f8408012cd0c480074295780013007d2c..."} 
[2026-09-10 16:55:03] local.INFO: Packet analysis {"connection_id":179227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:03] local.INFO: Extracted packet for processing {"connection_id":179227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":751879296,"raw_latitude":121804152,"longitude_deg":75.1879296,"latitude_deg":12.1804152,"altitude":19,"angle":125,"satellites":44,"speed":48,"hex_longitude":"2cd0c480","hex_latitude":"07429578","is_valid_coordinates":true} 
[2026-09-10 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994095872001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404351826385698816,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3412532217712422912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789039445000,"timestamp_ms":1789039445000,"timestamp_seconds":1789039445,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0f8408"} 
[2026-09-10 16:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":97,"data_length":795,"current_offset":136} 
[2026-09-10 16:55: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-09-10 16:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:55: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-09-10 16:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994095872001,"66":27767,"79":206,"83":43264,"24":48,"16":404351826385698816,"44":-3412532217712422912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 16:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994095872001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404351826385698816,"km_value":404351826385698.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3412532217712422912,"description":"Unknown IO ID 44"} 
[2026-09-10 16:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994095872001,"power":27767,"unknown_79":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3412532217712422912}} 
[2026-09-10 16:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":179227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:55:03] local.INFO: GPS data processed {"connection_id":179227,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:55:03] local.INFO: Acknowledgment sent {"connection_id":179227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":177859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:55:03] local.INFO: GPS data processed {"connection_id":177859,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:55:03] local.INFO: Acknowledgment sent {"connection_id":177859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:55:19] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:19] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:19] local.INFO: IMEI packet received {"connection_id":176470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":176470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:55:19] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:19] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:19] local.INFO: IMEI packet received {"connection_id":176470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":176470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:55:24] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:24] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:55:24] local.INFO: IMEI packet received {"connection_id":176470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":176470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:55:26] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:55:26] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:55:26] local.INFO: IMEI packet received {"connection_id":176686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":176686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:55:31] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:55:31] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:55:31] local.INFO: IMEI packet received {"connection_id":176686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":176686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:55:33] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0ff550012d17ac000721a398004a000027..."} 
[2026-09-10 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0ff550012d17ac000721a398004a000027..."} 
[2026-09-10 16:55:33] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0ff550012d17ac000721a398004a000027..."} 
[2026-09-10 16:55:33] local.INFO: Packet analysis {"connection_id":176686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:33] local.INFO: Extracted packet for processing {"connection_id":176686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119645080,"longitude_deg":75.652608,"latitude_deg":11.964508,"altitude":74,"angle":0,"satellites":39,"speed":10,"hex_longitude":"2d17ac00","hex_latitude":"0721a398","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994105088001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19296527851716608,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705738389495654400,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039474000,"timestamp_ms":1789039474000,"timestamp_seconds":1789039474,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0ff550"} 
[2026-09-10 16:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:55: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-09-10 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 16:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994105088001,"66":14233,"122":206,"28":31744,"24":10,"16":19296527851716608,"45":1705738389495654400},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994105088001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:55:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19296527851716608,"km_value":19296527851716.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705738389495654400,"description":"Unknown IO ID 45"} 
[2026-09-10 16:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994105088001,"power":14233,"unknown_122":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1705738389495654400}} 
[2026-09-10 16:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":176686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:55:33] local.INFO: GPS data processed {"connection_id":176686,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:55:33] local.INFO: Acknowledgment sent {"connection_id":176686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:55:35] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b0fa348012cd0e30007427f980014007f2c..."} 
[2026-09-10 16:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b0fa348012cd0e30007427f980014007f2c..."} 
[2026-09-10 16:55:35] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b0fa348012cd0e30007427f980014007f2c..."} 
[2026-09-10 16:55:35] local.INFO: Packet analysis {"connection_id":176470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:35] local.INFO: Extracted packet for processing {"connection_id":176470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b0f"} 
[2026-09-10 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":751887104,"raw_latitude":121798552,"longitude_deg":75.1887104,"latitude_deg":12.1798552,"altitude":20,"angle":127,"satellites":44,"speed":47,"hex_longitude":"2cd0e300","hex_latitude":"07427f98","is_valid_coordinates":true} 
[2026-09-10 16:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994097920001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404352285947199488,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3403454649715034112,"note":"Value kept but may cause issues"} 
[2026-09-10 16:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789039453000,"timestamp_ms":1789039453000,"timestamp_seconds":1789039453,"priority":1,"record_length":96,"hex_timestamp":"000001a08b0fa348"} 
[2026-09-10 16:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16: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-09-10 16:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:55: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-09-10 16:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994097920001,"66":27843,"79":206,"83":43264,"24":47,"16":404352285947199488,"44":-3403454649715034112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-10 16:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994097920001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:55:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 16:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404352285947199488,"km_value":404352285947199.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3403454649715034112,"description":"Unknown IO ID 44"} 
[2026-09-10 16:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994097920001,"power":27843,"unknown_79":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3403454649715034112}} 
[2026-09-10 16:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":176470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:55:35] local.INFO: GPS data processed {"connection_id":176470,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:55:35] local.INFO: Acknowledgment sent {"connection_id":176470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:56:05] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1004f0012d17ad000721a938004a000d26..."} 
[2026-09-10 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1004f0012d17ad000721a938004a000d26..."} 
[2026-09-10 16:56:05] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1004f0012d17ad000721a938004a000d26..."} 
[2026-09-10 16:56:05] local.INFO: Packet analysis {"connection_id":176686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:05] local.INFO: Extracted packet for processing {"connection_id":176686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756526336,"raw_latitude":119646520,"longitude_deg":75.6526336,"latitude_deg":11.964652,"altitude":74,"angle":13,"satellites":38,"speed":18,"hex_longitude":"2d17ad00","hex_latitude":"0721a938","is_valid_coordinates":true} 
[2026-09-10 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994105344001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19296596571193344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705738389495715840,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789039478000,"timestamp_ms":1789039478000,"timestamp_seconds":1789039478,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1004f0"} 
[2026-09-10 16:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 16:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994105344001,"66":14102,"122":206,"28":31744,"24":18,"16":19296596571193344,"45":1705738389495715840},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994105344001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19296596571193344,"km_value":19296596571193.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705738389495715840,"description":"Unknown IO ID 45"} 
[2026-09-10 16:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994105344001,"power":14102,"unknown_122":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1705738389495715840}} 
[2026-09-10 16:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":176686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:56:05] local.INFO: GPS data processed {"connection_id":176686,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:56:05] local.INFO: Acknowledgment sent {"connection_id":176686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:56:18] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:18] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:18] local.INFO: IMEI packet received {"connection_id":177860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":177860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:56:22] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:22] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:22] local.INFO: IMEI packet received {"connection_id":177860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":177860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:56:23] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:23] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:56:23] local.INFO: IMEI packet received {"connection_id":177860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":177860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:56:24] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b10f720012cd2094007416568001500742c..."} 
[2026-09-10 16:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b10f720012cd2094007416568001500742c..."} 
[2026-09-10 16:56:24] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b10f720012cd2094007416568001500742c..."} 
[2026-09-10 16:56:24] local.INFO: Packet analysis {"connection_id":177860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:24] local.INFO: Extracted packet for processing {"connection_id":177860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:24] local.INFO: GPS Element Parsed {"raw_longitude":751962432,"raw_latitude":121726312,"longitude_deg":75.1962432,"latitude_deg":12.1726312,"altitude":21,"angle":116,"satellites":44,"speed":47,"hex_longitude":"2cd20940","hex_latitude":"07416568","is_valid_coordinates":true} 
[2026-09-10 16:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994120192001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404357345418674176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3321615800255250432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789039540000,"timestamp_ms":1789039540000,"timestamp_seconds":1789039540,"priority":1,"record_length":96,"hex_timestamp":"000001a08b10f720"} 
[2026-09-10 16:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-10 16:56:24] 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-09-10 16:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994120192001,"66":27843,"110":206,"83":43264,"24":47,"16":404357345418674176,"44":-3321615800255250432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 16:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994120192001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:56:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404357345418674176,"km_value":404357345418674.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3321615800255250432,"description":"Unknown IO ID 44"} 
[2026-09-10 16:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994120192001,"power":27843,"unknown_110":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3321615800255250432}} 
[2026-09-10 16:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":177860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:56:24] local.INFO: GPS data processed {"connection_id":177860,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:56:24] local.INFO: Acknowledgment sent {"connection_id":177860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:56:29] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b111660012cd22b00074154c0001500732c..."} 
[2026-09-10 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b111660012cd22b00074154c0001500732c..."} 
[2026-09-10 16:56:29] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b111660012cd22b00074154c0001500732c..."} 
[2026-09-10 16:56:29] local.INFO: Packet analysis {"connection_id":177860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:56:29] local.INFO: Extracted packet for processing {"connection_id":177860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":751971072,"raw_latitude":121722048,"longitude_deg":75.1971072,"latitude_deg":12.1722048,"altitude":21,"angle":115,"satellites":44,"speed":47,"hex_longitude":"2cd22b00","hex_latitude":"074154c0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994122240001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404357804980174848,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3312045651048175616,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789039548000,"timestamp_ms":1789039548000,"timestamp_seconds":1789039548,"priority":1,"record_length":96,"hex_timestamp":"000001a08b111660"} 
[2026-09-10 16:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:56: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-09-10 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994122240001,"66":27865,"110":206,"83":43264,"24":47,"16":404357804980174848,"44":-3312045651048175616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 16:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994122240001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:56:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404357804980174848,"km_value":404357804980174.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3312045651048175616,"description":"Unknown IO ID 44"} 
[2026-09-10 16:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994122240001,"power":27865,"unknown_110":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3312045651048175616}} 
[2026-09-10 16:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":177860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:56:29] local.INFO: GPS data processed {"connection_id":177860,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:56:29] local.INFO: Acknowledgment sent {"connection_id":177860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:56:32] local.INFO: TCP Data received {"connection_id":177862,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:56:32] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:56:32] local.INFO: IMEI packet received {"connection_id":177862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":177862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:56:37] local.INFO: TCP Data received {"connection_id":177862,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:56:37] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:56:37] local.INFO: IMEI packet received {"connection_id":177862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":177862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:56:38] local.INFO: TCP Data received {"connection_id":177862,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b101878012d17ad800721b2f00049000126..."} 
[2026-09-10 16:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b101878012d17ad800721b2f00049000126..."} 
[2026-09-10 16:56:38] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b101878012d17ad800721b2f00049000126..."} 
[2026-09-10 16:56:38] local.INFO: Packet analysis {"connection_id":177862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:38] local.INFO: Extracted packet for processing {"connection_id":177862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756526464,"raw_latitude":119649008,"longitude_deg":75.6526464,"latitude_deg":11.9649008,"altitude":73,"angle":1,"satellites":38,"speed":17,"hex_longitude":"2d17ad80","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994106368001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19296716830277632,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706019864472795136,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789039483000,"timestamp_ms":1789039483000,"timestamp_seconds":1789039483,"priority":1,"record_length":96,"hex_timestamp":"000001a08b101878"} 
[2026-09-10 16:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 16:56: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-09-10 16: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-09-10 16:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994106368001,"66":14254,"122":206,"28":31744,"24":17,"16":19296716830277632,"45":1706019864472795136},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 16:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994106368001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:56:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 16:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19296716830277632,"km_value":19296716830277.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706019864472795136,"description":"Unknown IO ID 45"} 
[2026-09-10 16:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994106368001,"power":14254,"unknown_122":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1706019864472795136}} 
[2026-09-10 16:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":177862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:56:38] local.INFO: GPS data processed {"connection_id":177862,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:56:38] local.INFO: Acknowledgment sent {"connection_id":177862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:56:43] local.INFO: TCP Data received {"connection_id":177862,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b106a80012d17acc00721b850004a015126..."} 
[2026-09-10 16:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b106a80012d17acc00721b850004a015126..."} 
[2026-09-10 16:56:43] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b106a80012d17acc00721b850004a015126..."} 
[2026-09-10 16:56:43] local.INFO: Packet analysis {"connection_id":177862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:43] local.INFO: Extracted packet for processing {"connection_id":177862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b10"} 
[2026-09-10 16:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119650384,"longitude_deg":75.6526272,"latitude_deg":11.9650384,"altitude":74,"angle":337,"satellites":38,"speed":3,"hex_longitude":"2d17acc0","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994107648001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19296785549754368,"note":"Value kept but may cause issues"} 
[2026-09-10 16:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706160601961787392,"note":"Value kept but may cause issues"} 
[2026-09-10 16: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-09-10 16:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789039504000,"timestamp_ms":1789039504000,"timestamp_seconds":1789039504,"priority":1,"record_length":96,"hex_timestamp":"000001a08b106a80"} 
[2026-09-10 16:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 16:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994107648001,"66":14233,"120":206,"28":31744,"24":3,"16":19296785549754368,"45":1706160601961787392},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994107648001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:56:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19296785549754368,"km_value":19296785549754.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706160601961787392,"description":"Unknown IO ID 45"} 
[2026-09-10 16:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994107648001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1706160601961787392}} 
[2026-09-10 16:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":177862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:56:43] local.INFO: GPS data processed {"connection_id":177862,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:56:43] local.INFO: Acknowledgment sent {"connection_id":177862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:57:00] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1135a0012cd24c4007414428001500772c..."} 
[2026-09-10 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1135a0012cd24c4007414428001500772c..."} 
[2026-09-10 16:57:00] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1135a0012cd24c4007414428001500772c..."} 
[2026-09-10 16:57:00] local.INFO: Packet analysis {"connection_id":177860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:57:00] local.INFO: Extracted packet for processing {"connection_id":177860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":751979584,"raw_latitude":121717800,"longitude_deg":75.1979584,"latitude_deg":12.17178,"altitude":21,"angle":119,"satellites":44,"speed":46,"hex_longitude":"2cd24c40","hex_latitude":"07414428","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994124288001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404358260246708224,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3302545870585282560,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789039556000,"timestamp_ms":1789039556000,"timestamp_seconds":1789039556,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1135a0"} 
[2026-09-10 16:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:57: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-09-10 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:57: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-09-10 16: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-09-10 16:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994124288001,"66":27865,"110":206,"83":43264,"24":46,"16":404358260246708224,"44":-3302545870585282560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 16:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994124288001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:57:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404358260246708224,"km_value":404358260246708.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3302545870585282560,"description":"Unknown IO ID 44"} 
[2026-09-10 16:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994124288001,"power":27865,"unknown_110":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3302545870585282560}} 
[2026-09-10 16:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":177860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:57:00] local.INFO: GPS data processed {"connection_id":177860,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:57:00] local.INFO: Acknowledgment sent {"connection_id":177860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:57:18] local.INFO: TCP Data received {"connection_id":177863,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:57:18] local.INFO: Processing buffer {"connection_id":177863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:57:18] local.INFO: IMEI packet received {"connection_id":177863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":177863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:57:24] local.INFO: TCP Data received {"connection_id":177863,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:57:24] local.INFO: Processing buffer {"connection_id":177863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:57:24] local.INFO: IMEI packet received {"connection_id":177863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":177863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:57:24] local.INFO: TCP Data received {"connection_id":179229,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:24] local.INFO: Processing buffer {"connection_id":179229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:24] local.INFO: IMEI packet received {"connection_id":179229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":179229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:57:24] local.INFO: TCP Data received {"connection_id":177863,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1154e0012cd26b0007412ef0001300832c..."} 
[2026-09-10 16:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1154e0012cd26b0007412ef0001300832c..."} 
[2026-09-10 16:57:24] local.INFO: Processing buffer {"connection_id":177863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1154e0012cd26b0007412ef0001300832c..."} 
[2026-09-10 16:57:24] local.INFO: Packet analysis {"connection_id":177863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:57:24] local.INFO: Extracted packet for processing {"connection_id":177863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:57:24] local.INFO: GPS Element Parsed {"raw_longitude":751987456,"raw_latitude":121712368,"longitude_deg":75.1987456,"latitude_deg":12.1712368,"altitude":19,"angle":131,"satellites":44,"speed":48,"hex_longitude":"2cd26b00","hex_latitude":"07412ef0","is_valid_coordinates":true} 
[2026-09-10 16:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994126336001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404358715513241600,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3293186827610740736,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789039564000,"timestamp_ms":1789039564000,"timestamp_seconds":1789039564,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1154e0"} 
[2026-09-10 16:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 16:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994126336001,"66":27821,"110":206,"83":43264,"24":48,"16":404358715513241600,"44":-3293186827610740736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 16:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994126336001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:57:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 16:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404358715513241600,"km_value":404358715513241.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3293186827610740736,"description":"Unknown IO ID 44"} 
[2026-09-10 16:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994126336001,"power":27821,"unknown_110":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3293186827610740736}} 
[2026-09-10 16:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":177863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:57:24] local.INFO: GPS data processed {"connection_id":177863,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:57:24] local.INFO: Acknowledgment sent {"connection_id":177863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:57:27] local.INFO: TCP Data received {"connection_id":179229,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:27] local.INFO: Processing buffer {"connection_id":179229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:27] local.INFO: IMEI packet received {"connection_id":179229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":179229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:57:32] local.INFO: TCP Data received {"connection_id":179229,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:32] local.INFO: Processing buffer {"connection_id":179229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:57:32] local.INFO: IMEI packet received {"connection_id":179229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":179229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:57:33] local.INFO: TCP Data received {"connection_id":179229,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b11ba70012d179d80072220480057014326..."} 
[2026-09-10 16:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b11ba70012d179d80072220480057014326..."} 
[2026-09-10 16:57:33] local.INFO: Processing buffer {"connection_id":179229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b11ba70012d179d80072220480057014326..."} 
[2026-09-10 16:57:33] local.INFO: Packet analysis {"connection_id":179229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:57:33] local.INFO: Extracted packet for processing {"connection_id":179229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b11"} 
[2026-09-10 16:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756522368,"raw_latitude":119677000,"longitude_deg":75.6522368,"latitude_deg":11.9677,"altitude":87,"angle":323,"satellites":38,"speed":13,"hex_longitude":"2d179d80","hex_latitude":"07222048","is_valid_coordinates":true} 
[2026-09-10 16:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994134784001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19298220068831232,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701938477318221824,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039590000,"timestamp_ms":1789039590000,"timestamp_seconds":1789039590,"priority":1,"record_length":96,"hex_timestamp":"000001a08b11ba70"} 
[2026-09-10 16:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:57: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-09-10 16:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988435613,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503894079766528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21110641070706432,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2333133864,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2399666176,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84749987975995848,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,143,160,116,45,192,27,86,36,10,66,104,64,26,84,96,1,240,148,139,34,4,113,205,18,166,152,38,239,56,2,68,7,77,206,72],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-10 16:57:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269350593602322432,"timestamp_seconds":6269350593602322.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 16:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994134784001,"66":14428,"120":206,"28":31744,"24":13,"16":19298220068831232,"45":1701938477318221824},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994134784001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:57:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19298220068831232,"km_value":19298220068831.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701938477318221824,"description":"Unknown IO ID 45"} 
[2026-09-10 16:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994134784001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1701938477318221824}} 
[2026-09-10 16:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":179229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:57:33] local.INFO: GPS data processed {"connection_id":179229,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:57:33] local.INFO: Acknowledgment sent {"connection_id":179229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:57:56] local.INFO: TCP Data received {"connection_id":177863,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b12a8b8012cd33e8007402d20000a008d29..."} 
[2026-09-10 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b12a8b8012cd33e8007402d20000a008d29..."} 
[2026-09-10 16:57:56] local.INFO: Processing buffer {"connection_id":177863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b12a8b8012cd33e8007402d20000a008d29..."} 
[2026-09-10 16:57:56] local.INFO: Packet analysis {"connection_id":177863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:57:56] local.INFO: Extracted packet for processing {"connection_id":177863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":752041600,"raw_latitude":121646368,"longitude_deg":75.20416,"latitude_deg":12.1646368,"altitude":10,"angle":141,"satellites":41,"speed":31,"hex_longitude":"2cd33e80","hex_latitude":"07402d20","is_valid_coordinates":true} 
[2026-09-10 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994149632001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404362830091911168,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3226477258147973120,"note":"Value kept but may cause issues"} 
[2026-09-10 16:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789039651000,"timestamp_ms":1789039651000,"timestamp_seconds":1789039651,"priority":1,"record_length":96,"hex_timestamp":"000001a08b12a8b8"} 
[2026-09-10 16:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 16:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994149632001,"66":27767,"245":206,"83":43264,"24":31,"16":404362830091911168,"44":-3226477258147973120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994149632001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404362830091911168,"km_value":404362830091911.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3226477258147973120,"description":"Unknown IO ID 44"} 
[2026-09-10 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994149632001,"power":27767,"geofence_id":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3226477258147973120}} 
[2026-09-10 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":177863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:57:56] local.INFO: GPS data processed {"connection_id":177863,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:57:56] local.INFO: Acknowledgment sent {"connection_id":177863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:58:08] local.INFO: TCP Data received {"connection_id":179229,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b128d60012d17594007224968006c012123..."} 
[2026-09-10 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b128d60012d17594007224968006c012123..."} 
[2026-09-10 16:58:08] local.INFO: Processing buffer {"connection_id":179229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b128d60012d17594007224968006c012123..."} 
[2026-09-10 16:58:08] local.INFO: Packet analysis {"connection_id":179229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:08] local.INFO: Extracted packet for processing {"connection_id":179229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756504896,"raw_latitude":119687528,"longitude_deg":75.6504896,"latitude_deg":11.9687528,"altitude":108,"angle":289,"satellites":35,"speed":10,"hex_longitude":"2d175940","hex_latitude":"07224968","is_valid_coordinates":true} 
[2026-09-10 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994147328001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19299263745884160,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684205553788239872,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58: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-09-10 16:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789039644000,"timestamp_ms":1789039644000,"timestamp_seconds":1789039644,"priority":1,"record_length":96,"hex_timestamp":"000001a08b128d60"} 
[2026-09-10 16:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 16:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994147328001,"66":14374,"120":206,"28":31744,"24":10,"16":19299263745884160,"45":1684205553788239872},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994147328001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:58:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19299263745884160,"km_value":19299263745884.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684205553788239872,"description":"Unknown IO ID 45"} 
[2026-09-10 16:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994147328001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1684205553788239872}} 
[2026-09-10 16:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":179229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:58:09] local.INFO: GPS data processed {"connection_id":179229,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:58:09] local.INFO: Acknowledgment sent {"connection_id":179229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:58:22] local.INFO: TCP Data received {"connection_id":179230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:22] local.INFO: Processing buffer {"connection_id":179230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:22] local.INFO: IMEI packet received {"connection_id":179230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":179230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:58:23] local.INFO: TCP Data received {"connection_id":179230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:23] local.INFO: Processing buffer {"connection_id":179230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:23] local.INFO: IMEI packet received {"connection_id":179230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":179230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:58:26] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:58:26] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:58:26] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:58:29] local.INFO: TCP Data received {"connection_id":179230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:29] local.INFO: Processing buffer {"connection_id":179230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:58:29] local.INFO: IMEI packet received {"connection_id":179230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":179230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:58:29] local.INFO: TCP Data received {"connection_id":179230,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b12cfc8012cd35580074011e0000a008e2c..."} 
[2026-09-10 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b12cfc8012cd35580074011e0000a008e2c..."} 
[2026-09-10 16:58:29] local.INFO: Processing buffer {"connection_id":179230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b12cfc8012cd35580074011e0000a008e2c..."} 
[2026-09-10 16:58:29] local.INFO: Packet analysis {"connection_id":179230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:29] local.INFO: Extracted packet for processing {"connection_id":179230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":752047488,"raw_latitude":121639392,"longitude_deg":75.2047488,"latitude_deg":12.1639392,"altitude":10,"angle":142,"satellites":44,"speed":39,"hex_longitude":"2cd35580","hex_latitude":"074011e0","is_valid_coordinates":true} 
[2026-09-10 16:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994150656001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404363268178575360,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3224999514520870912,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789039661000,"timestamp_ms":1789039661000,"timestamp_seconds":1789039661,"priority":1,"record_length":96,"hex_timestamp":"000001a08b12cfc8"} 
[2026-09-10 16:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:58: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-09-10 16:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 16:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994150656001,"66":27843,"245":206,"83":43264,"24":39,"16":404363268178575360,"44":-3224999514520870912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 16:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994150656001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404363268178575360,"km_value":404363268178575.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3224999514520870912,"description":"Unknown IO ID 44"} 
[2026-09-10 16:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994150656001,"power":27843,"geofence_id":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3224999514520870912}} 
[2026-09-10 16:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":179230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:58:29] local.INFO: GPS data processed {"connection_id":179230,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:58:29] local.INFO: Acknowledgment sent {"connection_id":179230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:58:30] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:58:30] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:58:30] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:58:31] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b129148012d175840072249c8006d012d23..."} 
[2026-09-10 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b129148012d175840072249c8006d012d23..."} 
[2026-09-10 16:58:31] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b129148012d175840072249c8006d012d23..."} 
[2026-09-10 16:58:31] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:31] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":756504640,"raw_latitude":119687624,"longitude_deg":75.650464,"latitude_deg":11.9687624,"altitude":109,"angle":301,"satellites":35,"speed":8,"hex_longitude":"2d175840","hex_latitude":"072249c8","is_valid_coordinates":true} 
[2026-09-10 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994148864001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19299276630786048,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682446335183775744,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789039645000,"timestamp_ms":1789039645000,"timestamp_seconds":1789039645,"priority":1,"record_length":96,"hex_timestamp":"000001a08b129148"} 
[2026-09-10 16:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 16:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994148864001,"66":14374,"120":206,"28":31744,"24":8,"16":19299276630786048,"45":1682446335183775744},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994148864001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:58:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19299276630786048,"km_value":19299276630786.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682446335183775744,"description":"Unknown IO ID 45"} 
[2026-09-10 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994148864001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1682446335183775744}} 
[2026-09-10 16:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:58:31] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:58:31] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:58:32] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b129530012d17578007224a58006d013e23..."} 
[2026-09-10 16:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b129530012d17578007224a58006d013e23..."} 
[2026-09-10 16:58:32] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b129530012d17578007224a58006d013e23..."} 
[2026-09-10 16:58:32] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:32] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756504448,"raw_latitude":119687768,"longitude_deg":75.6504448,"latitude_deg":11.9687768,"altitude":109,"angle":318,"satellites":35,"speed":8,"hex_longitude":"2d175780","hex_latitude":"07224a58","is_valid_coordinates":true} 
[2026-09-10 16: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-09-10 16:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994149120001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19299289515687936,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682164860207089664,"note":"Value kept but may cause issues"} 
[2026-09-10 16:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789039646000,"timestamp_ms":1789039646000,"timestamp_seconds":1789039646,"priority":1,"record_length":96,"hex_timestamp":"000001a08b129530"} 
[2026-09-10 16:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 16:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16: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-09-10 16:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994149120001,"66":14254,"120":206,"28":31744,"24":8,"16":19299289515687936,"45":1682164860207089664},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994149120001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:58:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19299289515687936,"km_value":19299289515687.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682164860207089664,"description":"Unknown IO ID 45"} 
[2026-09-10 16:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994149120001,"power":14254,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1682164860207089664}} 
[2026-09-10 16:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:58:32] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:58:32] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:59:00] local.INFO: TCP Data received {"connection_id":179230,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b12f2f0012cd36e40073ff490000a008c2b..."} 
[2026-09-10 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b12f2f0012cd36e40073ff490000a008c2b..."} 
[2026-09-10 16:59:00] local.INFO: Processing buffer {"connection_id":179230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b12f2f0012cd36e40073ff490000a008c2b..."} 
[2026-09-10 16:59:00] local.INFO: Packet analysis {"connection_id":179230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:59:00] local.INFO: Extracted packet for processing {"connection_id":179230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":752053824,"raw_latitude":121631888,"longitude_deg":75.2053824,"latitude_deg":12.1631888,"altitude":10,"angle":140,"satellites":43,"speed":45,"hex_longitude":"2cd36e40","hex_latitude":"073ff490","is_valid_coordinates":true} 
[2026-09-10 16:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994153216001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404363740624977920,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218525590058311680,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789039670000,"timestamp_ms":1789039670000,"timestamp_seconds":1789039670,"priority":1,"record_length":96,"hex_timestamp":"000001a08b12f2f0"} 
[2026-09-10 16:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:59: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-09-10 16:59: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-09-10 16:59: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-09-10 16:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994153216001,"66":27789,"245":206,"83":43264,"24":45,"16":404363740624977920,"44":-3218525590058311680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 16:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994153216001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404363740624977920,"km_value":404363740624977.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218525590058311680,"description":"Unknown IO ID 44"} 
[2026-09-10 16:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994153216001,"power":27789,"geofence_id":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3218525590058311680}} 
[2026-09-10 16:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":179230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:59:00] local.INFO: GPS data processed {"connection_id":179230,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:59:00] local.INFO: Acknowledgment sent {"connection_id":179230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:59:03] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b129918012d17574007224b10006e015223..."} 
[2026-09-10 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b129918012d17574007224b10006e015223..."} 
[2026-09-10 16:59:03] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b129918012d17574007224b10006e015223..."} 
[2026-09-10 16:59:03] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:59:03] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b12"} 
[2026-09-10 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756504384,"raw_latitude":119687952,"longitude_deg":75.6504384,"latitude_deg":11.9687952,"altitude":110,"angle":338,"satellites":35,"speed":8,"hex_longitude":"2d175740","hex_latitude":"07224b10","is_valid_coordinates":true} 
[2026-09-10 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994149376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19299298105622528,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681953753974593536,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789039647000,"timestamp_ms":1789039647000,"timestamp_seconds":1789039647,"priority":1,"record_length":96,"hex_timestamp":"000001a08b129918"} 
[2026-09-10 16:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 16:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994149376001,"66":14254,"120":206,"28":31744,"24":8,"16":19299298105622528,"45":1681953753974593536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 16:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994149376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:59:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 16:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19299298105622528,"km_value":19299298105622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681953753974593536,"description":"Unknown IO ID 45"} 
[2026-09-10 16:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994149376001,"power":14254,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1681953753974593536}} 
[2026-09-10 16:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:59:03] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:59:03] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:59:19] local.INFO: TCP Data received {"connection_id":177864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:19] local.INFO: Processing buffer {"connection_id":177864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:19] local.INFO: IMEI packet received {"connection_id":177864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 16:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":177864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:59:19] local.INFO: TCP Data received {"connection_id":177864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:19] local.INFO: Processing buffer {"connection_id":177864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:19] local.INFO: IMEI packet received {"connection_id":177864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":177864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:59:24] local.INFO: TCP Data received {"connection_id":176688,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:24] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:24] local.INFO: IMEI packet received {"connection_id":176688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 16:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":176688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 16:59:24] local.INFO: TCP Data received {"connection_id":177864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:24] local.INFO: Processing buffer {"connection_id":177864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 16:59:24] local.INFO: IMEI packet received {"connection_id":177864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 16:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":177864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:59:25] local.INFO: TCP Data received {"connection_id":177864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b131230012cd38580073fd7f8000b00902b..."} 
[2026-09-10 16:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b131230012cd38580073fd7f8000b00902b..."} 
[2026-09-10 16:59:25] local.INFO: Processing buffer {"connection_id":177864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b131230012cd38580073fd7f8000b00902b..."} 
[2026-09-10 16:59:25] local.INFO: Packet analysis {"connection_id":177864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 16:59:25] local.INFO: Extracted packet for processing {"connection_id":177864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 16:59:25] local.INFO: GPS Element Parsed {"raw_longitude":752059776,"raw_latitude":121624568,"longitude_deg":75.2059776,"latitude_deg":12.1624568,"altitude":11,"angle":144,"satellites":43,"speed":47,"hex_longitude":"2cd38580","hex_latitude":"073fd7f8","is_valid_coordinates":true} 
[2026-09-10 16:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994155520001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404364195891511296,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3211559084386643968,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789039678000,"timestamp_ms":1789039678000,"timestamp_seconds":1789039678,"priority":1,"record_length":96,"hex_timestamp":"000001a08b131230"} 
[2026-09-10 16:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 16:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994155520001,"66":27800,"245":206,"83":43264,"24":47,"16":404364195891511296,"44":-3211559084386643968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-10 16:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994155520001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404364195891511296,"km_value":404364195891511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3211559084386643968,"description":"Unknown IO ID 44"} 
[2026-09-10 16:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994155520001,"power":27800,"geofence_id":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3211559084386643968}} 
[2026-09-10 16:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":177864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:59:25] local.INFO: GPS data processed {"connection_id":177864,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:59:25] local.INFO: Acknowledgment sent {"connection_id":177864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:59:26] local.INFO: TCP Data received {"connection_id":176688,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:26] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:26] local.INFO: IMEI packet received {"connection_id":176688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":176688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:59:31] local.INFO: TCP Data received {"connection_id":176688,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:31] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 16:59:31] local.INFO: IMEI packet received {"connection_id":176688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 16:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":176688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 16:59:33] local.INFO: TCP Data received {"connection_id":176688,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b13aa88012d171fc007226800008d00eb25..."} 
[2026-09-10 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b13aa88012d171fc007226800008d00eb25..."} 
[2026-09-10 16:59:33] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b13aa88012d171fc007226800008d00eb25..."} 
[2026-09-10 16:59:33] local.INFO: Packet analysis {"connection_id":176688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 16:59:33] local.INFO: Extracted packet for processing {"connection_id":176688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756490176,"raw_latitude":119695360,"longitude_deg":75.6490176,"latitude_deg":11.969536,"altitude":141,"angle":235,"satellites":37,"speed":9,"hex_longitude":"2d171fc0","hex_latitude":"07226800","is_valid_coordinates":true} 
[2026-09-10 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994167296001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19300298833002496,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1666542999001657344,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039717000,"timestamp_ms":1789039717000,"timestamp_seconds":1789039717,"priority":1,"record_length":96,"hex_timestamp":"000001a08b13aa88"} 
[2026-09-10 16:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16: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-09-10 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 16:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 16:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 16:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 16:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994167296001,"66":13080,"71":206,"28":31744,"24":9,"16":19300298833002496,"45":1666542999001657344},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 16:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 16:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 16:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994167296001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:59:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 16:59:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 16:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19300298833002496,"km_value":19300298833002.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1666542999001657344,"description":"Unknown IO ID 45"} 
[2026-09-10 16:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994167296001,"power":13080,"unknown_71":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1666542999001657344}} 
[2026-09-10 16:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":176688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:59:33] local.INFO: GPS data processed {"connection_id":176688,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:59:33] local.INFO: Acknowledgment sent {"connection_id":176688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 16:59:55] local.INFO: TCP Data received {"connection_id":177864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b149cb8012cd46a00073e45a8000d00912c..."} 
[2026-09-10 16:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b149cb8012cd46a00073e45a8000d00912c..."} 
[2026-09-10 16:59:55] local.INFO: Processing buffer {"connection_id":177864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b149cb8012cd46a00073e45a8000d00912c..."} 
[2026-09-10 16:59:55] local.INFO: Packet analysis {"connection_id":177864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 16:59:55] local.INFO: Extracted packet for processing {"connection_id":177864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 16:59:55] local.INFO: GPS Element Parsed {"raw_longitude":752118272,"raw_latitude":121521576,"longitude_deg":75.2118272,"latitude_deg":12.1521576,"altitude":13,"angle":145,"satellites":44,"speed":48,"hex_longitude":"2cd46a00","hex_latitude":"073e45a8","is_valid_coordinates":true} 
[2026-09-10 16:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 16:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994181376001,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404370019867164672,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3146538364792604672,"note":"Value kept but may cause issues"} 
[2026-09-10 16:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 16:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789039779000,"timestamp_ms":1789039779000,"timestamp_seconds":1789039779,"priority":1,"record_length":96,"hex_timestamp":"000001a08b149cb8"} 
[2026-09-10 16:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 16:59: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-09-10 16:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 16:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 16:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 16:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 16:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 16:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 16:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 16:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 16:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 16:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 16:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994181376001,"66":27800,"118":206,"83":43264,"24":48,"16":404370019867164672,"44":-3146538364792604672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-10 16:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 16:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 16:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994181376001,"description":"Unknown IO ID 0"} 
[2026-09-10 16:59:55] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 16:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 16:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404370019867164672,"km_value":404370019867164.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 16:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3146538364792604672,"description":"Unknown IO ID 44"} 
[2026-09-10 16:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994181376001,"power":27800,"unknown_118":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3146538364792604672}} 
[2026-09-10 16:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":177864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 16:59:55] local.INFO: GPS data processed {"connection_id":177864,"processed":1,"errors":0,"total":1} 
[2026-09-10 16:59:55] local.INFO: Acknowledgment sent {"connection_id":177864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:00:04] local.INFO: TCP Data received {"connection_id":176688,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b13b258012d171e80072266a0008e00dd29..."} 
[2026-09-10 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b13b258012d171e80072266a0008e00dd29..."} 
[2026-09-10 17:00:04] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b13b258012d171e80072266a0008e00dd29..."} 
[2026-09-10 17:00:04] local.INFO: Packet analysis {"connection_id":176688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:00:04] local.INFO: Extracted packet for processing {"connection_id":176688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756489856,"raw_latitude":119695008,"longitude_deg":75.6489856,"latitude_deg":11.9695008,"altitude":142,"angle":221,"satellites":41,"speed":10,"hex_longitude":"2d171e80","hex_latitude":"072266a0","is_valid_coordinates":true} 
[2026-09-10 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994167552001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19300320307838976,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1666261524024918016,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789039719000,"timestamp_ms":1789039719000,"timestamp_seconds":1789039719,"priority":1,"record_length":96,"hex_timestamp":"000001a08b13b258"} 
[2026-09-10 17:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 17:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994167552001,"66":13863,"71":206,"28":31744,"24":10,"16":19300320307838976,"45":1666261524024918016},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994167552001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19300320307838976,"km_value":19300320307838.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1666261524024918016,"description":"Unknown IO ID 45"} 
[2026-09-10 17:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994167552001,"power":13863,"unknown_71":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1666261524024918016}} 
[2026-09-10 17:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":176688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:00:05] local.INFO: GPS data processed {"connection_id":176688,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:00:05] local.INFO: Acknowledgment sent {"connection_id":176688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:00:27] local.INFO: TCP Data received {"connection_id":179231,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:00:27] local.INFO: Processing buffer {"connection_id":179231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:00:27] local.INFO: IMEI packet received {"connection_id":179231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":179231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:00:31] local.INFO: TCP Data received {"connection_id":179231,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:00:31] local.INFO: Processing buffer {"connection_id":179231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:00:31] local.INFO: IMEI packet received {"connection_id":179231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":179231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:00:32] local.INFO: TCP Data received {"connection_id":179231,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b13b640012d171d40072265c0008e00ea28..."} 
[2026-09-10 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b13b640012d171d40072265c0008e00ea28..."} 
[2026-09-10 17:00:32] local.INFO: Processing buffer {"connection_id":179231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b13b640012d171d40072265c0008e00ea28..."} 
[2026-09-10 17:00:32] local.INFO: Packet analysis {"connection_id":179231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:00:32] local.INFO: Extracted packet for processing {"connection_id":179231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756489536,"raw_latitude":119694784,"longitude_deg":75.6489536,"latitude_deg":11.9694784,"altitude":142,"angle":234,"satellites":40,"speed":14,"hex_longitude":"2d171d40","hex_latitude":"072265c0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994168064001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19300337487708160,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1665909680303939584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789039720000,"timestamp_ms":1789039720000,"timestamp_seconds":1789039720,"priority":1,"record_length":96,"hex_timestamp":"000001a08b13b640"} 
[2026-09-10 17:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-10 17:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994168064001,"66":13863,"71":206,"28":31744,"24":14,"16":19300337487708160,"45":1665909680303939584},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994168064001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:00:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19300337487708160,"km_value":19300337487708.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1665909680303939584,"description":"Unknown IO ID 45"} 
[2026-09-10 17:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994168064001,"power":13863,"unknown_71":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1665909680303939584}} 
[2026-09-10 17:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":179231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:00:32] local.INFO: GPS data processed {"connection_id":179231,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:00:32] local.INFO: Acknowledgment sent {"connection_id":179231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:00:33] local.INFO: TCP Data received {"connection_id":177866,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:00:33] local.INFO: Processing buffer {"connection_id":177866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:00:33] local.INFO: IMEI packet received {"connection_id":177866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":177866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:00:34] local.INFO: TCP Data received {"connection_id":177865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:00:34] local.INFO: Processing buffer {"connection_id":177865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:00:34] local.INFO: IMEI packet received {"connection_id":177865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":177865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:00:35] local.INFO: TCP Data received {"connection_id":177865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:00:35] local.INFO: Processing buffer {"connection_id":177865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:00:35] local.INFO: IMEI packet received {"connection_id":177865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":177865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:00:35] local.INFO: TCP Data received {"connection_id":177865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b14bbf8012cd47f80073e2708000d00932b..."} 
[2026-09-10 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b14bbf8012cd47f80073e2708000d00932b..."} 
[2026-09-10 17:00:35] local.INFO: Processing buffer {"connection_id":177865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b14bbf8012cd47f80073e2708000d00932b..."} 
[2026-09-10 17:00:35] local.INFO: Packet analysis {"connection_id":177865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 17:00:35] local.INFO: Extracted packet for processing {"connection_id":177865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":752123776,"raw_latitude":121513736,"longitude_deg":75.2123776,"latitude_deg":12.1513736,"altitude":13,"angle":147,"satellites":43,"speed":47,"hex_longitude":"2cd47f80","hex_latitude":"073e2708","is_valid_coordinates":true} 
[2026-09-10 17:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994183424001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404370479428665344,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3140697759027976192,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789039787000,"timestamp_ms":1789039787000,"timestamp_seconds":1789039787,"priority":1,"record_length":96,"hex_timestamp":"000001a08b14bbf8"} 
[2026-09-10 17:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:00: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-09-10 17:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:00: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-09-10 17:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994183424001,"66":27908,"118":206,"83":43264,"24":47,"16":404370479428665344,"44":-3140697759027976192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-10 17:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994183424001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:00:35] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 17:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404370479428665344,"km_value":404370479428665.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:00:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3140697759027976192,"description":"Unknown IO ID 44"} 
[2026-09-10 17:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994183424001,"power":27908,"unknown_118":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3140697759027976192}} 
[2026-09-10 17:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":177865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:00:35] local.INFO: GPS data processed {"connection_id":177865,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:00:35] local.INFO: Acknowledgment sent {"connection_id":177865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:00:39] local.INFO: TCP Data received {"connection_id":177865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b14d368012cd48c80073e0dc0000e009f2a..."} 
[2026-09-10 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b14d368012cd48c80073e0dc0000e009f2a..."} 
[2026-09-10 17:00:39] local.INFO: Processing buffer {"connection_id":177865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b14d368012cd48c80073e0dc0000e009f2a..."} 
[2026-09-10 17:00:39] local.INFO: Packet analysis {"connection_id":177865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 17:00:39] local.INFO: Extracted packet for processing {"connection_id":177865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":752127104,"raw_latitude":121507264,"longitude_deg":75.2127104,"latitude_deg":12.1507264,"altitude":14,"angle":159,"satellites":42,"speed":48,"hex_longitude":"2cd48c80","hex_latitude":"073e0dc0","is_valid_coordinates":true} 
[2026-09-10 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994185472001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404370831615983616,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3134646047030704128,"note":"Value kept but may cause issues"} 
[2026-09-10 17:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789039793000,"timestamp_ms":1789039793000,"timestamp_seconds":1789039793,"priority":1,"record_length":96,"hex_timestamp":"000001a08b14d368"} 
[2026-09-10 17:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:00: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-09-10 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:00: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-09-10 17:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:00: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-09-10 17:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994185472001,"66":27800,"118":206,"83":43264,"24":48,"16":404370831615983616,"44":-3134646047030704128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-10 17:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994185472001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:00:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 17:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404370831615983616,"km_value":404370831615983.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:00:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3134646047030704128,"description":"Unknown IO ID 44"} 
[2026-09-10 17:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994185472001,"power":27800,"unknown_118":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3134646047030704128}} 
[2026-09-10 17:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":177865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:00:39] local.INFO: GPS data processed {"connection_id":177865,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:00:39] local.INFO: Acknowledgment sent {"connection_id":177865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:01:03] local.INFO: TCP Data received {"connection_id":179231,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b13ba28012d171bc007226510008e00f727..."} 
[2026-09-10 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b13ba28012d171bc007226510008e00f727..."} 
[2026-09-10 17:01:03] local.INFO: Processing buffer {"connection_id":179231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b13ba28012d171bc007226510008e00f727..."} 
[2026-09-10 17:01:03] local.INFO: Packet analysis {"connection_id":179231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:01:03] local.INFO: Extracted packet for processing {"connection_id":179231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756489152,"raw_latitude":119694608,"longitude_deg":75.6489152,"latitude_deg":11.9694608,"altitude":142,"angle":247,"satellites":39,"speed":16,"hex_longitude":"2d171bc0","hex_latitude":"07226510","is_valid_coordinates":true} 
[2026-09-10 17:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994168320001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19300358962544640,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1665557836582993920,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789039721000,"timestamp_ms":1789039721000,"timestamp_seconds":1789039721,"priority":1,"record_length":96,"hex_timestamp":"000001a08b13ba28"} 
[2026-09-10 17:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-10 17:01:03] 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-09-10 17:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994168320001,"66":13972,"71":206,"28":31744,"24":16,"16":19300358962544640,"45":1665557836582993920},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994168320001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:01:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19300358962544640,"km_value":19300358962544.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1665557836582993920,"description":"Unknown IO ID 45"} 
[2026-09-10 17:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994168320001,"power":13972,"unknown_71":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1665557836582993920}} 
[2026-09-10 17:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":179231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:01:04] local.INFO: GPS data processed {"connection_id":179231,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:01:04] local.INFO: Acknowledgment sent {"connection_id":179231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:01:15] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:15] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:15] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:01:18] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:18] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:18] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:01:24] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:24] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:01:24] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:01:25] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b14f2a8012cd49840073de910000e00a32c..."} 
[2026-09-10 17:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b14f2a8012cd49840073de910000e00a32c..."} 
[2026-09-10 17:01:25] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b14f2a8012cd49840073de910000e00a32c..."} 
[2026-09-10 17:01:25] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 17:01:25] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b14"} 
[2026-09-10 17:01:25] local.INFO: GPS Element Parsed {"raw_longitude":752130112,"raw_latitude":121497872,"longitude_deg":75.2130112,"latitude_deg":12.1497872,"altitude":14,"angle":163,"satellites":44,"speed":49,"hex_longitude":"2cd49840","hex_latitude":"073de910","is_valid_coordinates":true} 
[2026-09-10 17:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994187008001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404371308357353472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3130986872335122432,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789039801000,"timestamp_ms":1789039801000,"timestamp_seconds":1789039801,"priority":1,"record_length":96,"hex_timestamp":"000001a08b14f2a8"} 
[2026-09-10 17:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994187008001,"66":27865,"118":206,"83":43264,"24":49,"16":404371308357353472,"44":-3130986872335122432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-10 17:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994187008001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:01:25] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-10 17:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404371308357353472,"km_value":404371308357353.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3130986872335122432,"description":"Unknown IO ID 44"} 
[2026-09-10 17:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994187008001,"power":27865,"unknown_118":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3130986872335122432}} 
[2026-09-10 17:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:01:25] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:01:25] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:01:26] local.INFO: TCP Data received {"connection_id":177867,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:01:26] local.INFO: Processing buffer {"connection_id":177867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:01:26] local.INFO: IMEI packet received {"connection_id":177867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":177867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:01:31] local.INFO: TCP Data received {"connection_id":177867,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:01:31] local.INFO: Processing buffer {"connection_id":177867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:01:31] local.INFO: IMEI packet received {"connection_id":177867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":177867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:01:33] local.INFO: TCP Data received {"connection_id":177867,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b13c1f8012d171900072264a0008e011229..."} 
[2026-09-10 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b13c1f8012d171900072264a0008e011229..."} 
[2026-09-10 17:01:33] local.INFO: Processing buffer {"connection_id":177867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b13c1f8012d171900072264a0008e011229..."} 
[2026-09-10 17:01:33] local.INFO: Packet analysis {"connection_id":177867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:01:33] local.INFO: Extracted packet for processing {"connection_id":177867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b13"} 
[2026-09-10 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756488448,"raw_latitude":119694496,"longitude_deg":75.6488448,"latitude_deg":11.9694496,"altitude":142,"angle":274,"satellites":41,"speed":14,"hex_longitude":"2d171900","hex_latitude":"072264a0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994168576001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19300397617250304,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1665135624117882880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039723000,"timestamp_ms":1789039723000,"timestamp_seconds":1789039723,"priority":1,"record_length":96,"hex_timestamp":"000001a08b13c1f8"} 
[2026-09-10 17:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:01: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-09-10 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 17:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994168576001,"66":13972,"71":206,"28":31744,"24":14,"16":19300397617250304,"45":1665135624117882880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994168576001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:01:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:01:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19300397617250304,"km_value":19300397617250.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1665135624117882880,"description":"Unknown IO ID 45"} 
[2026-09-10 17:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994168576001,"power":13972,"unknown_71":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1665135624117882880}} 
[2026-09-10 17:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":177867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:01:33] local.INFO: GPS data processed {"connection_id":177867,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:01:33] local.INFO: Acknowledgment sent {"connection_id":177867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:01:55] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b164a68012cd4f540073c5648000f00ab2b..."} 
[2026-09-10 17:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b164a68012cd4f540073c5648000f00ab2b..."} 
[2026-09-10 17:01:55] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b164a68012cd4f540073c5648000f00ab2b..."} 
[2026-09-10 17:01:55] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:01:55] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:01:55] local.INFO: GPS Element Parsed {"raw_longitude":752153920,"raw_latitude":121394760,"longitude_deg":75.215392,"latitude_deg":12.139476,"altitude":15,"angle":171,"satellites":43,"speed":46,"hex_longitude":"2cd4f540","hex_latitude":"073c5648","is_valid_coordinates":true} 
[2026-09-10 17:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994209536001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404376453728174080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3103261587155515392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789039889000,"timestamp_ms":1789039889000,"timestamp_seconds":1789039889,"priority":1,"record_length":96,"hex_timestamp":"000001a08b164a68"} 
[2026-09-10 17:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:01: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-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994209536001,"66":27865,"135":206,"83":43264,"24":46,"16":404376453728174080,"44":-3103261587155515392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 17:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994209536001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:01:55] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 17:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404376453728174080,"km_value":404376453728174.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:01:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3103261587155515392,"description":"Unknown IO ID 44"} 
[2026-09-10 17:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994209536001,"power":27865,"unknown_135":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3103261587155515392}} 
[2026-09-10 17:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:01:55] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:01:55] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:02:05] local.INFO: TCP Data received {"connection_id":177867,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1617a0012d16fa80072272900087006029..."} 
[2026-09-10 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1617a0012d16fa80072272900087006029..."} 
[2026-09-10 17:02:05] local.INFO: Processing buffer {"connection_id":177867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1617a0012d16fa80072272900087006029..."} 
[2026-09-10 17:02:05] local.INFO: Packet analysis {"connection_id":177867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:05] local.INFO: Extracted packet for processing {"connection_id":177867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756480640,"raw_latitude":119698064,"longitude_deg":75.648064,"latitude_deg":11.9698064,"altitude":135,"angle":96,"satellites":41,"speed":5,"hex_longitude":"2d16fa80","hex_latitude":"07227290","is_valid_coordinates":true} 
[2026-09-10 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994203392001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19300835703914496,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655635843654815744,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789039876000,"timestamp_ms":1789039876000,"timestamp_seconds":1789039876,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1617a0"} 
[2026-09-10 17:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 17:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994203392001,"66":12798,"71":206,"28":31744,"24":5,"16":19300835703914496,"45":1655635843654815744},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994203392001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:02:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19300835703914496,"km_value":19300835703914.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655635843654815744,"description":"Unknown IO ID 45"} 
[2026-09-10 17:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994203392001,"power":12798,"unknown_71":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1655635843654815744}} 
[2026-09-10 17:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":177867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:02:05] local.INFO: GPS data processed {"connection_id":177867,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:02:05] local.INFO: Acknowledgment sent {"connection_id":177867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:02:16] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:16] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:16] local.INFO: IMEI packet received {"connection_id":176689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":176689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:02:18] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:18] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:18] local.INFO: IMEI packet received {"connection_id":176689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":176689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:02:24] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:24] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:02:24] local.INFO: IMEI packet received {"connection_id":176689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":176689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:02:24] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1669a8012cd4f8c0073c3330000f00ae2c..."} 
[2026-09-10 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1669a8012cd4f8c0073c3330000f00ae2c..."} 
[2026-09-10 17:02:24] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1669a8012cd4f8c0073c3330000f00ae2c..."} 
[2026-09-10 17:02:24] local.INFO: Packet analysis {"connection_id":176689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:24] local.INFO: Extracted packet for processing {"connection_id":176689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:24] local.INFO: GPS Element Parsed {"raw_longitude":752154816,"raw_latitude":121385776,"longitude_deg":75.2154816,"latitude_deg":12.1385776,"altitude":15,"angle":174,"satellites":44,"speed":43,"hex_longitude":"2cd4f8c0","hex_latitude":"073c3330","is_valid_coordinates":true} 
[2026-09-10 17:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994211584001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404376891814838272,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3101502368553482240,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789039897000,"timestamp_ms":1789039897000,"timestamp_seconds":1789039897,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1669a8"} 
[2026-09-10 17:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994211584001,"66":27865,"135":206,"83":43264,"24":43,"16":404376891814838272,"44":-3101502368553482240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 17:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994211584001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:02:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 17:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404376891814838272,"km_value":404376891814838.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:02:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3101502368553482240,"description":"Unknown IO ID 44"} 
[2026-09-10 17:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994211584001,"power":27865,"unknown_135":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-3101502368553482240}} 
[2026-09-10 17:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":176689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:02:25] local.INFO: GPS data processed {"connection_id":176689,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:02:25] local.INFO: Acknowledgment sent {"connection_id":176689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:02:26] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:02:26] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:02:26] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:02:31] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:02:31] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:02:31] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:02:33] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b161b88012d16fb00072272600087006d2a..."} 
[2026-09-10 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b161b88012d16fb00072272600087006d2a..."} 
[2026-09-10 17:02:33] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b161b88012d16fb00072272600087006d2a..."} 
[2026-09-10 17:02:33] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:33] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756480768,"raw_latitude":119698016,"longitude_deg":75.6480768,"latitude_deg":11.9698016,"altitude":135,"angle":109,"satellites":42,"speed":7,"hex_longitude":"2d16fb00","hex_latitude":"07227260","is_valid_coordinates":true} 
[2026-09-10 17:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994208256001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19300839998881792,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655776581143138304,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039877000,"timestamp_ms":1789039877000,"timestamp_seconds":1789039877,"priority":1,"record_length":96,"hex_timestamp":"000001a08b161b88"} 
[2026-09-10 17:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 17:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994208256001,"66":12950,"71":206,"28":31744,"24":7,"16":19300839998881792,"45":1655776581143138304},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994208256001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:02:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:02:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19300839998881792,"km_value":19300839998881.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655776581143138304,"description":"Unknown IO ID 45"} 
[2026-09-10 17:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994208256001,"power":12950,"unknown_71":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1655776581143138304}} 
[2026-09-10 17:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:02:33] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:02:33] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:02:56] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b168cd0012cd4fc80073c0f68000e00ac2c..."} 
[2026-09-10 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b168cd0012cd4fc80073c0f68000e00ac2c..."} 
[2026-09-10 17:02:56] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b168cd0012cd4fc80073c0f68000e00ac2c..."} 
[2026-09-10 17:02:56] local.INFO: Packet analysis {"connection_id":176689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:56] local.INFO: Extracted packet for processing {"connection_id":176689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":752155776,"raw_latitude":121376616,"longitude_deg":75.2155776,"latitude_deg":12.1376616,"altitude":14,"angle":172,"satellites":44,"speed":35,"hex_longitude":"2cd4fc80","hex_latitude":"073c0f68","is_valid_coordinates":true} 
[2026-09-10 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994213632001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404377334196469760,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3100517206137294848,"note":"Value kept but may cause issues"} 
[2026-09-10 17:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789039906000,"timestamp_ms":1789039906000,"timestamp_seconds":1789039906,"priority":1,"record_length":96,"hex_timestamp":"000001a08b168cd0"} 
[2026-09-10 17:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994213632001,"66":27691,"135":206,"83":43264,"24":35,"16":404377334196469760,"44":-3100517206137294848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 17:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994213632001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:02:56] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 17:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404377334196469760,"km_value":404377334196469.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3100517206137294848,"description":"Unknown IO ID 44"} 
[2026-09-10 17:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994213632001,"power":27691,"unknown_135":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3100517206137294848}} 
[2026-09-10 17:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":176689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:02:56] local.INFO: GPS data processed {"connection_id":176689,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:02:56] local.INFO: Acknowledgment sent {"connection_id":176689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:03:04] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b16d708012d17498007226ee0007e007c27..."} 
[2026-09-10 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b16d708012d17498007226ee0007e007c27..."} 
[2026-09-10 17:03:04] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b16d708012d17498007226ee0007e007c27..."} 
[2026-09-10 17:03:04] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:03:04] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756500864,"raw_latitude":119697120,"longitude_deg":75.6500864,"latitude_deg":11.969712,"altitude":126,"angle":124,"satellites":39,"speed":9,"hex_longitude":"2d174980","hex_latitude":"07226ee0","is_valid_coordinates":true} 
[2026-09-10 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994220544001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19301857906130944,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677731629326360576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03: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-09-10 17:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789039925000,"timestamp_ms":1789039925000,"timestamp_seconds":1789039925,"priority":1,"record_length":96,"hex_timestamp":"000001a08b16d708"} 
[2026-09-10 17:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 17:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994220544001,"66":12504,"120":206,"28":31744,"24":9,"16":19301857906130944,"45":1677731629326360576},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994220544001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:03:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19301857906130944,"km_value":19301857906130.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677731629326360576,"description":"Unknown IO ID 45"} 
[2026-09-10 17:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994220544001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1677731629326360576}} 
[2026-09-10 17:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:03:04] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:03:04] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:03:19] local.INFO: TCP Data received {"connection_id":179232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:03:19] local.INFO: Processing buffer {"connection_id":179232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:03:19] local.INFO: IMEI packet received {"connection_id":179232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":179232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:03:24] local.INFO: TCP Data received {"connection_id":179232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:03:24] local.INFO: Processing buffer {"connection_id":179232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:03:24] local.INFO: IMEI packet received {"connection_id":179232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":179232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:03:25] local.INFO: TCP Data received {"connection_id":179232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b16a828012cd4fe00073bfc30000f00bc2c..."} 
[2026-09-10 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b16a828012cd4fe00073bfc30000f00bc2c..."} 
[2026-09-10 17:03:25] local.INFO: Processing buffer {"connection_id":179232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b16a828012cd4fe00073bfc30000f00bc2c..."} 
[2026-09-10 17:03:25] local.INFO: Packet analysis {"connection_id":179232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:03:25] local.INFO: Extracted packet for processing {"connection_id":179232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":752156160,"raw_latitude":121371696,"longitude_deg":75.215616,"latitude_deg":12.1371696,"altitude":15,"angle":188,"satellites":44,"speed":20,"hex_longitude":"2cd4fe00","hex_latitude":"073bfc30","is_valid_coordinates":true} 
[2026-09-10 17:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994215936001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404377574714638336,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3099461674976974848,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789039913000,"timestamp_ms":1789039913000,"timestamp_seconds":1789039913,"priority":1,"record_length":96,"hex_timestamp":"000001a08b16a828"} 
[2026-09-10 17:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 17:03:25] 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-09-10 17:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994215936001,"66":27887,"135":206,"83":43264,"24":20,"16":404377574714638336,"44":-3099461674976974848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 17:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994215936001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404377574714638336,"km_value":404377574714638.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3099461674976974848,"description":"Unknown IO ID 44"} 
[2026-09-10 17:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994215936001,"power":27887,"unknown_135":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3099461674976974848}} 
[2026-09-10 17:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":179232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:03:25] local.INFO: GPS data processed {"connection_id":179232,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:03:25] local.INFO: Acknowledgment sent {"connection_id":179232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:03:26] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:26] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:26] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:03:28] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:28] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:28] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:03:29] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:30] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:30] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:03:31] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:31] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:03:31] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:03:32] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b16daf0012d174a0007226e08007e009127..."} 
[2026-09-10 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b16daf0012d174a0007226e08007e009127..."} 
[2026-09-10 17:03:32] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b16daf0012d174a0007226e08007e009127..."} 
[2026-09-10 17:03:32] local.INFO: Packet analysis {"connection_id":176475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:03:32] local.INFO: Extracted packet for processing {"connection_id":176475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b16"} 
[2026-09-10 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756500992,"raw_latitude":119696904,"longitude_deg":75.6500992,"latitude_deg":11.9696904,"altitude":126,"angle":145,"satellites":39,"speed":10,"hex_longitude":"2d174a00","hex_latitude":"07226e08","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994220800001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19301870791032832,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678013104303038464,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789039926000,"timestamp_ms":1789039926000,"timestamp_seconds":1789039926,"priority":1,"record_length":96,"hex_timestamp":"000001a08b16daf0"} 
[2026-09-10 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-09-10 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 17:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994220800001,"66":11547,"120":206,"28":31744,"24":10,"16":19301870791032832,"45":1678013104303038464},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994220800001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:03:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19301870791032832,"km_value":19301870791032.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678013104303038464,"description":"Unknown IO ID 45"} 
[2026-09-10 17:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994220800001,"power":11547,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1678013104303038464}} 
[2026-09-10 17:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":176475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:03:32] local.INFO: GPS data processed {"connection_id":176475,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:03:32] local.INFO: Acknowledgment sent {"connection_id":176475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:03:55] local.INFO: TCP Data received {"connection_id":179232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b182310012cd51880073ac960000c00b92a..."} 
[2026-09-10 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b182310012cd51880073ac960000c00b92a..."} 
[2026-09-10 17:03:55] local.INFO: Processing buffer {"connection_id":179232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b182310012cd51880073ac960000c00b92a..."} 
[2026-09-10 17:03:55] local.INFO: Packet analysis {"connection_id":179232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:03:55] local.INFO: Extracted packet for processing {"connection_id":179232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:03:55] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121293152,"longitude_deg":75.2162944,"latitude_deg":12.1293152,"altitude":12,"angle":185,"satellites":42,"speed":37,"hex_longitude":"2cd51880","hex_latitude":"073ac960","is_valid_coordinates":true} 
[2026-09-10 17:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994240256001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404381487429844992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090735950717906944,"note":"Value kept but may cause issues"} 
[2026-09-10 17:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789040010000,"timestamp_ms":1789040010000,"timestamp_seconds":1789040010,"priority":1,"record_length":96,"hex_timestamp":"000001a08b182310"} 
[2026-09-10 17:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:03: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-09-10 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994240256001,"66":27919,"137":206,"83":43264,"24":37,"16":404381487429844992,"44":-3090735950717906944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 17:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994240256001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:03:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 17:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404381487429844992,"km_value":404381487429845.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:03:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090735950717906944,"description":"Unknown IO ID 44"} 
[2026-09-10 17:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994240256001,"power":27919,"unknown_137":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3090735950717906944}} 
[2026-09-10 17:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":179232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:03:55] local.INFO: GPS data processed {"connection_id":179232,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:03:55] local.INFO: Acknowledgment sent {"connection_id":179232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:04:04] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b17ade0012d176300072246e00069009f26..."} 
[2026-09-10 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b17ade0012d176300072246e00069009f26..."} 
[2026-09-10 17:04:04] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b17ade0012d176300072246e00069009f26..."} 
[2026-09-10 17:04:04] local.INFO: Packet analysis {"connection_id":176475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b17"} 
[2026-09-10 17:04:04] local.INFO: Extracted packet for processing {"connection_id":176475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b17"} 
[2026-09-10 17:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756507392,"raw_latitude":119686880,"longitude_deg":75.6507392,"latitude_deg":11.968688,"altitude":105,"angle":159,"satellites":38,"speed":8,"hex_longitude":"2d176300","hex_latitude":"072246e0","is_valid_coordinates":true} 
[2026-09-10 17:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994234368001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19302506446192640,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685049978718271488,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04: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-09-10 17:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789039980000,"timestamp_ms":1789039980000,"timestamp_seconds":1789039980,"priority":1,"record_length":96,"hex_timestamp":"000001a08b17ade0"} 
[2026-09-10 17:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049066017280,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":147,"raw_value":7061644215716937729,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8424163594682427561,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169354446,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514055736493277292,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3221693002,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":7143503,"corrected_to":0} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2473000960,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":110,"raw_value":27061180266708992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.WARNING: Large IO value detected {"io_id":38,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,147,160,150,45,73,106,37,10,66,142,128,74,107,36,134,1,240,97,139,34,4,113,205,7,89,200,239,48,2,68,110,38],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":200,"original":7143503,"validated":0}]} 
[2026-09-10 17:04:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7566209165400866816,"timestamp_seconds":7566209165400867.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994234368001,"66":12341,"120":206,"28":31744,"24":8,"16":19302506446192640,"45":1685049978718271488},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994234368001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:04:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19302506446192640,"km_value":19302506446192.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685049978718271488,"description":"Unknown IO ID 45"} 
[2026-09-10 17:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994234368001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1685049978718271488}} 
[2026-09-10 17:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":176475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:04:04] local.INFO: GPS data processed {"connection_id":176475,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:04:04] local.INFO: Acknowledgment sent {"connection_id":176475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:04:19] local.INFO: TCP Data received {"connection_id":179234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:04:19] local.INFO: Processing buffer {"connection_id":179234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:04:19] local.INFO: IMEI packet received {"connection_id":179234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":179234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:04:24] local.INFO: TCP Data received {"connection_id":179234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:04:24] local.INFO: Processing buffer {"connection_id":179234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:04:24] local.INFO: IMEI packet received {"connection_id":179234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":179234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:04:24] local.INFO: TCP Data received {"connection_id":179234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b184a20012cd51880073aa6c0000c00ae2b..."} 
[2026-09-10 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b184a20012cd51880073aa6c0000c00ae2b..."} 
[2026-09-10 17:04:24] local.INFO: Processing buffer {"connection_id":179234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b184a20012cd51880073aa6c0000c00ae2b..."} 
[2026-09-10 17:04:24] local.INFO: Packet analysis {"connection_id":179234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:04:24] local.INFO: Extracted packet for processing {"connection_id":179234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121284288,"longitude_deg":75.2162944,"latitude_deg":12.1284288,"altitude":12,"angle":174,"satellites":43,"speed":32,"hex_longitude":"2cd51880","hex_latitude":"073aa6c0","is_valid_coordinates":true} 
[2026-09-10 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994242560001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404381916926574592,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375650443264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040020000,"timestamp_ms":1789040020000,"timestamp_seconds":1789040020,"priority":1,"record_length":96,"hex_timestamp":"000001a08b184a20"} 
[2026-09-10 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994242560001,"66":27876,"137":206,"83":43264,"24":32,"16":404381916926574592,"44":-3091580375650443264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994242560001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:04:24] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 17:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404381916926574592,"km_value":404381916926574.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:04:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375650443264,"description":"Unknown IO ID 44"} 
[2026-09-10 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994242560001,"power":27876,"unknown_137":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3091580375650443264}} 
[2026-09-10 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":179234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:04:24] local.INFO: GPS data processed {"connection_id":179234,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:04:24] local.INFO: Acknowledgment sent {"connection_id":179234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:04:26] local.INFO: TCP Data received {"connection_id":179235,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:04:26] local.INFO: Processing buffer {"connection_id":179235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:04:26] local.INFO: IMEI packet received {"connection_id":179235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":179235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:04:32] local.INFO: TCP Data received {"connection_id":179235,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:04:32] local.INFO: Processing buffer {"connection_id":179235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:04:32] local.INFO: IMEI packet received {"connection_id":179235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":179235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:04:33] local.INFO: TCP Data received {"connection_id":179235,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b17c168012d176540072242580068009125..."} 
[2026-09-10 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b17c168012d176540072242580068009125..."} 
[2026-09-10 17:04:33] local.INFO: Processing buffer {"connection_id":179235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b17c168012d176540072242580068009125..."} 
[2026-09-10 17:04:33] local.INFO: Packet analysis {"connection_id":179235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b17"} 
[2026-09-10 17:04:33] local.INFO: Extracted packet for processing {"connection_id":179235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b17"} 
[2026-09-10 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756507968,"raw_latitude":119685720,"longitude_deg":75.6507968,"latitude_deg":11.968572,"altitude":104,"angle":145,"satellites":37,"speed":10,"hex_longitude":"2d176540","hex_latitude":"07224258","is_valid_coordinates":true} 
[2026-09-10 17:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994234880001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19302566575734784,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685190716206538752,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789039985000,"timestamp_ms":1789039985000,"timestamp_seconds":1789039985,"priority":1,"record_length":96,"hex_timestamp":"000001a08b17c168"} 
[2026-09-10 17:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 17:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994234880001,"66":12341,"120":206,"28":31744,"24":10,"16":19302566575734784,"45":1685190716206538752},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994234880001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:04:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19302566575734784,"km_value":19302566575734.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685190716206538752,"description":"Unknown IO ID 45"} 
[2026-09-10 17:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994234880001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1685190716206538752}} 
[2026-09-10 17:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":179235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:04:33] local.INFO: GPS data processed {"connection_id":179235,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:04:33] local.INFO: Acknowledgment sent {"connection_id":179235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:04:55] local.INFO: TCP Data received {"connection_id":179234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b187518012cd51d80073a8408000b00ab2b..."} 
[2026-09-10 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b187518012cd51d80073a8408000b00ab2b..."} 
[2026-09-10 17:04:55] local.INFO: Processing buffer {"connection_id":179234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b187518012cd51d80073a8408000b00ab2b..."} 
[2026-09-10 17:04:55] local.INFO: Packet analysis {"connection_id":179234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:04:55] local.INFO: Extracted packet for processing {"connection_id":179234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:04:55] local.INFO: GPS Element Parsed {"raw_longitude":752164224,"raw_latitude":121275400,"longitude_deg":75.2164224,"latitude_deg":12.12754,"altitude":11,"angle":171,"satellites":43,"speed":33,"hex_longitude":"2cd51d80","hex_latitude":"073a8408","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994245120001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404382355013238784,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375652712448,"note":"Value kept but may cause issues"} 
[2026-09-10 17:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789040031000,"timestamp_ms":1789040031000,"timestamp_seconds":1789040031,"priority":1,"record_length":96,"hex_timestamp":"000001a08b187518"} 
[2026-09-10 17:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:04: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-09-10 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 17:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994245120001,"66":27767,"137":206,"83":43264,"24":33,"16":404382355013238784,"44":-3091580375652712448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 17:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994245120001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:04:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 17:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404382355013238784,"km_value":404382355013238.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:04:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375652712448,"description":"Unknown IO ID 44"} 
[2026-09-10 17:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994245120001,"power":27767,"unknown_137":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3091580375652712448}} 
[2026-09-10 17:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":179234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:04:56] local.INFO: GPS data processed {"connection_id":179234,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:04:56] local.INFO: Acknowledgment sent {"connection_id":179234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:05:05] local.INFO: TCP Data received {"connection_id":179235,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b18ee30012d1798c0072226e00060009627..."} 
[2026-09-10 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b18ee30012d1798c0072226e00060009627..."} 
[2026-09-10 17:05:05] local.INFO: Processing buffer {"connection_id":179235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b18ee30012d1798c0072226e00060009627..."} 
[2026-09-10 17:05:05] local.INFO: Packet analysis {"connection_id":179235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:05] local.INFO: Extracted packet for processing {"connection_id":179235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756521152,"raw_latitude":119678688,"longitude_deg":75.6521152,"latitude_deg":11.9678688,"altitude":96,"angle":150,"satellites":39,"speed":9,"hex_longitude":"2d1798c0","hex_latitude":"072226e0","is_valid_coordinates":true} 
[2026-09-10 17:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994255360001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19303322489978880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699968152481843200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05: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-09-10 17:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789040062000,"timestamp_ms":1789040062000,"timestamp_seconds":1789040062,"priority":1,"record_length":96,"hex_timestamp":"000001a08b18ee30"} 
[2026-09-10 17:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":222,"data_length":795,"current_offset":136} 
[2026-09-10 17:05: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-09-10 17:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994255360001,"66":12232,"120":206,"28":31744,"24":9,"16":19303322489978880,"45":1699968152481843200},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994255360001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:05:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19303322489978880,"km_value":19303322489978.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699968152481843200,"description":"Unknown IO ID 45"} 
[2026-09-10 17:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994255360001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1699968152481843200}} 
[2026-09-10 17:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":179235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:05:05] local.INFO: GPS data processed {"connection_id":179235,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:05:05] local.INFO: Acknowledgment sent {"connection_id":179235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:05:17] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:18] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:18] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:05:18] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:18] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:18] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:05:24] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:24] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:05:24] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:05:24] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b18a010012cd52340073a5f08000b00aa2b..."} 
[2026-09-10 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b18a010012cd52340073a5f08000b00aa2b..."} 
[2026-09-10 17:05:24] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b18a010012cd52340073a5f08000b00aa2b..."} 
[2026-09-10 17:05:24] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:24] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":752165696,"raw_latitude":121265928,"longitude_deg":75.2165696,"latitude_deg":12.1265928,"altitude":11,"angle":170,"satellites":43,"speed":32,"hex_longitude":"2cd52340","hex_latitude":"073a5f08","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994247936001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404382818869706752,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090173000771434496,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040042000,"timestamp_ms":1789040042000,"timestamp_seconds":1789040042,"priority":1,"record_length":96,"hex_timestamp":"000001a08b18a010"} 
[2026-09-10 17:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 17:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994247936001,"66":27821,"137":206,"83":43264,"24":32,"16":404382818869706752,"44":-3090173000771434496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 17:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994247936001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:05:24] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 17:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404382818869706752,"km_value":404382818869706.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:05:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090173000771434496,"description":"Unknown IO ID 44"} 
[2026-09-10 17:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994247936001,"power":27821,"unknown_137":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3090173000771434496}} 
[2026-09-10 17:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:05:24] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:05:24] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:05:32] local.INFO: TCP Data received {"connection_id":176477,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:05:32] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:05:32] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:05:36] local.INFO: TCP Data received {"connection_id":176477,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:05:36] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:05:36] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:05:37] local.INFO: TCP Data received {"connection_id":176477,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b18fdd0012d179b00072223300060008027..."} 
[2026-09-10 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b18fdd0012d179b00072223300060008027..."} 
[2026-09-10 17:05:37] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b18fdd0012d179b00072223300060008027..."} 
[2026-09-10 17:05:37] local.INFO: Packet analysis {"connection_id":176477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:37] local.INFO: Extracted packet for processing {"connection_id":176477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756521728,"raw_latitude":119677744,"longitude_deg":75.6521728,"latitude_deg":11.9677744,"altitude":96,"angle":128,"satellites":39,"speed":10,"hex_longitude":"2d179b00","hex_latitude":"07222330","is_valid_coordinates":true} 
[2026-09-10 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994255872001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19303378324553728,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700319996202639360,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05: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-09-10 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789040066000,"timestamp_ms":1789040066000,"timestamp_seconds":1789040066,"priority":1,"record_length":96,"hex_timestamp":"000001a08b18fdd0"} 
[2026-09-10 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:05: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-09-10 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 17:05: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-09-10 17:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994255872001,"66":12232,"120":206,"28":31744,"24":10,"16":19303378324553728,"45":1700319996202639360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994255872001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:05:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19303378324553728,"km_value":19303378324553.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700319996202639360,"description":"Unknown IO ID 45"} 
[2026-09-10 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994255872001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1700319996202639360}} 
[2026-09-10 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":176477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:05:37] local.INFO: GPS data processed {"connection_id":176477,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:05:37] local.INFO: Acknowledgment sent {"connection_id":176477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:05:55] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b18cb08012cd52b00073a3a78000c00a82b..."} 
[2026-09-10 17:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b18cb08012cd52b00073a3a78000c00a82b..."} 
[2026-09-10 17:05:55] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b18cb08012cd52b00073a3a78000c00a82b..."} 
[2026-09-10 17:05:55] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:55] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:05:55] local.INFO: GPS Element Parsed {"raw_longitude":752167680,"raw_latitude":121256568,"longitude_deg":75.216768,"latitude_deg":12.1256568,"altitude":12,"angle":168,"satellites":43,"speed":33,"hex_longitude":"2cd52b00","hex_latitude":"073a3a78","is_valid_coordinates":true} 
[2026-09-10 17:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994250752001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404383282726174720,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088554519657773056,"note":"Value kept but may cause issues"} 
[2026-09-10 17:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789040053000,"timestamp_ms":1789040053000,"timestamp_seconds":1789040053,"priority":1,"record_length":96,"hex_timestamp":"000001a08b18cb08"} 
[2026-09-10 17:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:05: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-09-10 17:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994250752001,"66":27843,"137":206,"83":43264,"24":33,"16":404383282726174720,"44":-3088554519657773056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 17:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994250752001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:05:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 17:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404383282726174720,"km_value":404383282726174.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:05:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088554519657773056,"description":"Unknown IO ID 44"} 
[2026-09-10 17:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994250752001,"power":27843,"unknown_137":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3088554519657773056}} 
[2026-09-10 17:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:05:55] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:05:55] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:06:09] local.INFO: TCP Data received {"connection_id":176477,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1901b8012d179c40072222a00060007426..."} 
[2026-09-10 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1901b8012d179c40072222a00060007426..."} 
[2026-09-10 17:06:09] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1901b8012d179c40072222a00060007426..."} 
[2026-09-10 17:06:09] local.INFO: Packet analysis {"connection_id":176477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b19"} 
[2026-09-10 17:06:09] local.INFO: Extracted packet for processing {"connection_id":176477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b19"} 
[2026-09-10 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":756522048,"raw_latitude":119677600,"longitude_deg":75.6522048,"latitude_deg":11.96776,"altitude":96,"angle":116,"satellites":38,"speed":11,"hex_longitude":"2d179c40","hex_latitude":"072222a0","is_valid_coordinates":true} 
[2026-09-10 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994256896001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19303395504422912,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700953314899996672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789040067000,"timestamp_ms":1789040067000,"timestamp_seconds":1789040067,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1901b8"} 
[2026-09-10 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 17:06:09] 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-09-10 17:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994256896001,"66":12211,"120":206,"28":31744,"24":11,"16":19303395504422912,"45":1700953314899996672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994256896001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:06:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19303395504422912,"km_value":19303395504422.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700953314899996672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994256896001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1700953314899996672}} 
[2026-09-10 17:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":176477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:06:09] local.INFO: GPS data processed {"connection_id":176477,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:06:09] local.INFO: Acknowledgment sent {"connection_id":176477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:06:20] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:20] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:20] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:06:24] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:24] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:24] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:06:26] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:26] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:26] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:06:28] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:28] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:28] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:06:29] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:29] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:06:29] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:06:30] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b18f218012cd53200073a1688000d00aa2c..."} 
[2026-09-10 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b18f218012cd53200073a1688000d00aa2c..."} 
[2026-09-10 17:06:30] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b18f218012cd53200073a1688000d00aa2c..."} 
[2026-09-10 17:06:30] local.INFO: Packet analysis {"connection_id":176478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:06:30] local.INFO: Extracted packet for processing {"connection_id":176478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b18"} 
[2026-09-10 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":752169472,"raw_latitude":121247368,"longitude_deg":75.2169472,"latitude_deg":12.1247368,"altitude":13,"angle":170,"satellites":44,"speed":37,"hex_longitude":"2cd53200","hex_latitude":"073a1688","is_valid_coordinates":true} 
[2026-09-10 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994253568001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404383737992708096,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3086373088590661632,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789040063000,"timestamp_ms":1789040063000,"timestamp_seconds":1789040063,"priority":1,"record_length":96,"hex_timestamp":"000001a08b18f218"} 
[2026-09-10 17:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994253568001,"66":27865,"137":206,"83":43264,"24":37,"16":404383737992708096,"44":-3086373088590661632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 17:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994253568001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:06:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 17:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404383737992708096,"km_value":404383737992708.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3086373088590661632,"description":"Unknown IO ID 44"} 
[2026-09-10 17:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994253568001,"power":27865,"unknown_137":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3086373088590661632}} 
[2026-09-10 17:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":176478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:06:30] local.INFO: GPS data processed {"connection_id":176478,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:06:30] local.INFO: Acknowledgment sent {"connection_id":176478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:06:32] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:32] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:06:32] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:06:32] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e01000001a08b191540012cd53a800739f178000e00a92c..."} 
[2026-09-10 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":93,"packet_hex":"00000000000000518e01000001a08b191540012cd53a800739f178000e00a92c..."} 
[2026-09-10 17:06:32] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a08b191540012cd53a800739f178000e00a92c..."} 
[2026-09-10 17:06:32] local.INFO: Packet analysis {"connection_id":176478,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a08b19"} 
[2026-09-10 17:06:32] local.INFO: Extracted packet for processing {"connection_id":176478,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a08b19"} 
[2026-09-10 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":752171648,"raw_latitude":121237880,"longitude_deg":75.2171648,"latitude_deg":12.123788,"altitude":14,"angle":169,"satellites":44,"speed":45,"hex_longitude":"2cd53a80","hex_latitude":"0739f178","is_valid_coordinates":true} 
[2026-09-10 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":93,"current_offset":40} 
[2026-09-10 17:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:06:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:06:32] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 17:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176478,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-10 17:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-10 17:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-10 17:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 17:06:32] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 17:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":176478,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 17:06:32] local.ERROR: GPS data processing failed {"connection_id":176478,"error":"No valid data to process"} 
[2026-09-10 17:06:32] local.INFO: Acknowledgment sent {"connection_id":176478,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 17:06:33] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b19d890012d17ab000721ddc0004d00b129..."} 
[2026-09-10 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b19d890012d17ab000721ddc0004d00b129..."} 
[2026-09-10 17:06:33] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b19d890012d17ab000721ddc0004d00b129..."} 
[2026-09-10 17:06:33] local.INFO: Packet analysis {"connection_id":176479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b19"} 
[2026-09-10 17:06:33] local.INFO: Extracted packet for processing {"connection_id":176479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b19"} 
[2026-09-10 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756525824,"raw_latitude":119659968,"longitude_deg":75.6525824,"latitude_deg":11.9659968,"altitude":77,"angle":177,"satellites":41,"speed":9,"hex_longitude":"2d17ab00","hex_latitude":"0721ddc0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994269440001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19304374756966400,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705034702058221568,"note":"Value kept but may cause issues"} 
[2026-09-10 17:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789040122000,"timestamp_ms":1789040122000,"timestamp_seconds":1789040122,"priority":1,"record_length":96,"hex_timestamp":"000001a08b19d890"} 
[2026-09-10 17:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-10 17:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994269440001,"66":14026,"120":206,"28":31744,"24":9,"16":19304374756966400,"45":1705034702058221568},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994269440001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:06:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:06:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19304374756966400,"km_value":19304374756966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705034702058221568,"description":"Unknown IO ID 45"} 
[2026-09-10 17:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994269440001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1705034702058221568}} 
[2026-09-10 17:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":176479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:06:33] local.INFO: GPS data processed {"connection_id":176479,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:06:33] local.INFO: Acknowledgment sent {"connection_id":176479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:06:40] local.INFO: TCP Data received {"connection_id":176690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:06:40] local.INFO: Processing buffer {"connection_id":176690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:06:40] local.INFO: IMEI packet received {"connection_id":176690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":176690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:07:04] local.INFO: TCP Data received {"connection_id":176478,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1ae230012cd5524007388bb0000e00a72a..."} 
[2026-09-10 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1ae230012cd5524007388bb0000e00a72a..."} 
[2026-09-10 17:07:04] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1ae230012cd5524007388bb0000e00a72a..."} 
[2026-09-10 17:07:04] local.INFO: Packet analysis {"connection_id":176478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1a"} 
[2026-09-10 17:07:04] local.INFO: Extracted packet for processing {"connection_id":176478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1a"} 
[2026-09-10 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":752177728,"raw_latitude":121146288,"longitude_deg":75.2177728,"latitude_deg":12.1146288,"altitude":14,"angle":167,"satellites":42,"speed":24,"hex_longitude":"2cd55240","hex_latitude":"07388bb0","is_valid_coordinates":true} 
[2026-09-10 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994285568001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404388681500065792,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077225151873497088,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789040190000,"timestamp_ms":1789040190000,"timestamp_seconds":1789040190,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1ae230"} 
[2026-09-10 17:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 17:07:04] 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-09-10 17:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07: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-09-10 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994285568001,"66":27919,"150":206,"83":43264,"24":24,"16":404388681500065792,"44":-3077225151873497088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994285568001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:07:04] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 17:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404388681500065792,"km_value":404388681500065.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077225151873497088,"description":"Unknown IO ID 44"} 
[2026-09-10 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994285568001,"power":27919,"unknown_150":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3077225151873497088}} 
[2026-09-10 17:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":176478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:07:04] local.INFO: GPS data processed {"connection_id":176478,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:07:04] local.INFO: Acknowledgment sent {"connection_id":176478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:07:05] local.INFO: TCP Data received {"connection_id":176479,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1a22c8012d17ac800721c228004c00a326..."} 
[2026-09-10 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1a22c8012d17ac800721c228004c00a326..."} 
[2026-09-10 17:07:05] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1a22c8012d17ac800721c228004c00a326..."} 
[2026-09-10 17:07:05] local.INFO: Packet analysis {"connection_id":176479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1a"} 
[2026-09-10 17:07:05] local.INFO: Extracted packet for processing {"connection_id":176479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1a"} 
[2026-09-10 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756526208,"raw_latitude":119652904,"longitude_deg":75.6526208,"latitude_deg":11.9652904,"altitude":76,"angle":163,"satellites":38,"speed":15,"hex_longitude":"2d17ac80","hex_latitude":"0721c228","is_valid_coordinates":true} 
[2026-09-10 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994271232001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19304718354350080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705456914522816512,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07: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-09-10 17:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789040141000,"timestamp_ms":1789040141000,"timestamp_seconds":1789040141,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1a22c8"} 
[2026-09-10 17:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 17:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994271232001,"66":14102,"120":206,"28":31744,"24":15,"16":19304718354350080,"45":1705456914522816512},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994271232001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19304718354350080,"km_value":19304718354350.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705456914522816512,"description":"Unknown IO ID 45"} 
[2026-09-10 17:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994271232001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1705456914522816512}} 
[2026-09-10 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":176479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:07:05] local.INFO: GPS data processed {"connection_id":176479,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:07:05] local.INFO: Acknowledgment sent {"connection_id":176479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:07:19] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:07:19] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:07:19] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:07:20] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:07:20] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:07:20] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:07:20] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1afd88012cd5570007387b40000e009c29..."} 
[2026-09-10 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1afd88012cd5570007387b40000e009c29..."} 
[2026-09-10 17:07:20] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1afd88012cd5570007387b40000e009c29..."} 
[2026-09-10 17:07:20] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1a"} 
[2026-09-10 17:07:20] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1a"} 
[2026-09-10 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":752178944,"raw_latitude":121142080,"longitude_deg":75.2178944,"latitude_deg":12.114208,"altitude":14,"angle":156,"satellites":41,"speed":22,"hex_longitude":"2cd55700","hex_latitude":"07387b40","is_valid_coordinates":true} 
[2026-09-10 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994288640001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404388896248430592,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3075325195783000064,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789040197000,"timestamp_ms":1789040197000,"timestamp_seconds":1789040197,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1afd88"} 
[2026-09-10 17:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:07: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-09-10 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994288640001,"66":27865,"150":206,"83":43264,"24":22,"16":404388896248430592,"44":-3075325195783000064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 17:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994288640001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:07:20] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 17:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404388896248430592,"km_value":404388896248430.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3075325195783000064,"description":"Unknown IO ID 44"} 
[2026-09-10 17:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994288640001,"power":27865,"unknown_150":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3075325195783000064}} 
[2026-09-10 17:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:07:20] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:07:20] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:07:24] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1b43d8012cd562c007385a480010009f2b..."} 
[2026-09-10 17:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1b43d8012cd562c007385a480010009f2b..."} 
[2026-09-10 17:07:24] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1b43d8012cd562c007385a480010009f2b..."} 
[2026-09-10 17:07:24] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:24] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:24] local.INFO: GPS Element Parsed {"raw_longitude":752181952,"raw_latitude":121133640,"longitude_deg":75.2181952,"latitude_deg":12.113364,"altitude":16,"angle":159,"satellites":43,"speed":26,"hex_longitude":"2cd562c0","hex_latitude":"07385a48","is_valid_coordinates":true} 
[2026-09-10 17:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994290432001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404389330040127488,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073988189644701696,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040215000,"timestamp_ms":1789040215000,"timestamp_seconds":1789040215,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1b43d8"} 
[2026-09-10 17:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994290432001,"66":27843,"150":206,"83":43264,"24":26,"16":404389330040127488,"44":-3073988189644701696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 17:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994290432001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:07:24] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 17:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404389330040127488,"km_value":404389330040127.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:07:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073988189644701696,"description":"Unknown IO ID 44"} 
[2026-09-10 17:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994290432001,"power":27843,"unknown_150":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3073988189644701696}} 
[2026-09-10 17:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:07:24] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:07:24] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:07:26] local.INFO: TCP Data received {"connection_id":177871,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:26] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:26] local.INFO: IMEI packet received {"connection_id":177871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":177871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:07:29] local.INFO: TCP Data received {"connection_id":177871,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:29] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:29] local.INFO: IMEI packet received {"connection_id":177871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":177871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:07:31] local.INFO: TCP Data received {"connection_id":177871,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:31] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:31] local.INFO: IMEI packet received {"connection_id":177871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":177871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:07:31] local.INFO: TCP Data received {"connection_id":177871,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:31] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:07:31] local.INFO: IMEI packet received {"connection_id":177871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":177871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:07:32] local.INFO: TCP Data received {"connection_id":177871,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1b0170012d17dd40072195280052007829..."} 
[2026-09-10 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1b0170012d17dd40072195280052007829..."} 
[2026-09-10 17:07:32] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1b0170012d17dd40072195280052007829..."} 
[2026-09-10 17:07:32] local.INFO: Packet analysis {"connection_id":177871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:32] local.INFO: Extracted packet for processing {"connection_id":177871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756538688,"raw_latitude":119641384,"longitude_deg":75.6538688,"latitude_deg":11.9641384,"altitude":82,"angle":120,"satellites":41,"speed":10,"hex_longitude":"2d17dd40","hex_latitude":"07219528","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994288640001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19305736261599232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717278863540156416,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789040198000,"timestamp_ms":1789040198000,"timestamp_seconds":1789040198,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1b0170"} 
[2026-09-10 17:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 17:07: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-09-10 17: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-09-10 17:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994288640001,"66":14276,"122":206,"28":31744,"24":10,"16":19305736261599232,"45":1717278863540156416},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994288640001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:07:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19305736261599232,"km_value":19305736261599.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717278863540156416,"description":"Unknown IO ID 45"} 
[2026-09-10 17:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994288640001,"power":14276,"unknown_122":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1717278863540156416}} 
[2026-09-10 17:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":177871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:07:33] local.INFO: GPS data processed {"connection_id":177871,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:07:33] local.INFO: Acknowledgment sent {"connection_id":177871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:07:37] local.INFO: TCP Data received {"connection_id":177871,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1b0d28012d17e000072193800052008529..."} 
[2026-09-10 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1b0d28012d17e000072193800052008529..."} 
[2026-09-10 17:07:37] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1b0d28012d17e000072193800052008529..."} 
[2026-09-10 17:07:37] local.INFO: Packet analysis {"connection_id":177871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:37] local.INFO: Extracted packet for processing {"connection_id":177871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756539392,"raw_latitude":119640960,"longitude_deg":75.6539392,"latitude_deg":11.964096,"altitude":82,"angle":133,"satellites":41,"speed":8,"hex_longitude":"2d17e000","hex_latitude":"07219380","is_valid_coordinates":true} 
[2026-09-10 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994290688001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19305774916304896,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719601032097769472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789040201000,"timestamp_ms":1789040201000,"timestamp_seconds":1789040201,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1b0d28"} 
[2026-09-10 17:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:07: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-09-10 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 17:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994290688001,"66":14233,"122":206,"28":31744,"24":8,"16":19305774916304896,"45":1719601032097769472},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994290688001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:07:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19305774916304896,"km_value":19305774916304.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719601032097769472,"description":"Unknown IO ID 45"} 
[2026-09-10 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994290688001,"power":14233,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1719601032097769472}} 
[2026-09-10 17:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":177871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:07:38] local.INFO: GPS data processed {"connection_id":177871,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:07:38] local.INFO: Acknowledgment sent {"connection_id":177871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:07:56] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1b72b8012cd57000073838600010009d2b..."} 
[2026-09-10 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1b72b8012cd57000073838600010009d2b..."} 
[2026-09-10 17:07:56] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1b72b8012cd57000073838600010009d2b..."} 
[2026-09-10 17:07:56] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:56] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":752185344,"raw_latitude":121124960,"longitude_deg":75.2185344,"latitude_deg":12.112496,"altitude":16,"angle":157,"satellites":43,"speed":22,"hex_longitude":"2cd57000","hex_latitude":"07383860","is_valid_coordinates":true} 
[2026-09-10 17:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994295040001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404389781011693568,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3070680858670512128,"note":"Value kept but may cause issues"} 
[2026-09-10 17:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789040227000,"timestamp_ms":1789040227000,"timestamp_seconds":1789040227,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1b72b8"} 
[2026-09-10 17:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994295040001,"66":27908,"150":206,"83":43264,"24":22,"16":404389781011693568,"44":-3070680858670512128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 17:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994295040001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:07:56] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 17:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404389781011693568,"km_value":404389781011693.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3070680858670512128,"description":"Unknown IO ID 44"} 
[2026-09-10 17:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994295040001,"power":27908,"unknown_150":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3070680858670512128}} 
[2026-09-10 17:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:07:56] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:07:56] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:08:09] local.INFO: TCP Data received {"connection_id":177871,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1b1110012d17e080072192e80051009229..."} 
[2026-09-10 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1b1110012d17e080072192e80051009229..."} 
[2026-09-10 17:08:09] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1b1110012d17e080072192e80051009229..."} 
[2026-09-10 17:08:09] local.INFO: Packet analysis {"connection_id":177871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:08:09] local.INFO: Extracted packet for processing {"connection_id":177871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":756539520,"raw_latitude":119640808,"longitude_deg":75.653952,"latitude_deg":11.9640808,"altitude":81,"angle":146,"satellites":41,"speed":6,"hex_longitude":"2d17e080","hex_latitude":"072192e8","is_valid_coordinates":true} 
[2026-09-10 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994291456001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19305783506239488,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720375088283615232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789040202000,"timestamp_ms":1789040202000,"timestamp_seconds":1789040202,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1b1110"} 
[2026-09-10 17:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 17:08: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-09-10 17:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994291456001,"66":14233,"122":206,"28":31744,"24":6,"16":19305783506239488,"45":1720375088283615232},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994291456001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:08:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19305783506239488,"km_value":19305783506239.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720375088283615232,"description":"Unknown IO ID 45"} 
[2026-09-10 17:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994291456001,"power":14233,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1720375088283615232}} 
[2026-09-10 17:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":177871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:08:09] local.INFO: GPS data processed {"connection_id":177871,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:08:09] local.INFO: Acknowledgment sent {"connection_id":177871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:08:17] local.INFO: TCP Data received {"connection_id":179238,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:17] local.INFO: Processing buffer {"connection_id":179238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:17] local.INFO: IMEI packet received {"connection_id":179238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":179238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:08:18] local.INFO: TCP Data received {"connection_id":179238,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:18] local.INFO: Processing buffer {"connection_id":179238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:18] local.INFO: IMEI packet received {"connection_id":179238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":179238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:08:23] local.INFO: TCP Data received {"connection_id":179238,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:23] local.INFO: Processing buffer {"connection_id":179238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:08:23] local.INFO: IMEI packet received {"connection_id":179238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":179238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:08:24] local.INFO: TCP Data received {"connection_id":179238,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1b99c8012cd57780073827400010008e2b..."} 
[2026-09-10 17:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1b99c8012cd57780073827400010008e2b..."} 
[2026-09-10 17:08:24] local.INFO: Processing buffer {"connection_id":179238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1b99c8012cd57780073827400010008e2b..."} 
[2026-09-10 17:08:24] local.INFO: Packet analysis {"connection_id":179238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:08:24] local.INFO: Extracted packet for processing {"connection_id":179238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:08:24] local.INFO: GPS Element Parsed {"raw_longitude":752187264,"raw_latitude":121120576,"longitude_deg":75.2187264,"latitude_deg":12.1120576,"altitude":16,"angle":142,"satellites":43,"speed":14,"hex_longitude":"2cd57780","hex_latitude":"07382740","is_valid_coordinates":true} 
[2026-09-10 17:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994298112001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404390012939927552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3066951315231318016,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040237000,"timestamp_ms":1789040237000,"timestamp_seconds":1789040237,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1b99c8"} 
[2026-09-10 17:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994298112001,"66":27745,"150":206,"83":43264,"24":14,"16":404390012939927552,"44":-3066951315231318016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 17:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994298112001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:08:24] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 17:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404390012939927552,"km_value":404390012939927.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:08:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3066951315231318016,"description":"Unknown IO ID 44"} 
[2026-09-10 17:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994298112001,"power":27745,"unknown_150":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3066951315231318016}} 
[2026-09-10 17:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":179238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:08:24] local.INFO: GPS data processed {"connection_id":179238,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:08:24] local.INFO: Acknowledgment sent {"connection_id":179238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:08:26] local.INFO: TCP Data received {"connection_id":179239,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:26] local.INFO: Processing buffer {"connection_id":179239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:26] local.INFO: IMEI packet received {"connection_id":179239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":179239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:08:28] local.INFO: TCP Data received {"connection_id":179239,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:28] local.INFO: Processing buffer {"connection_id":179239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:28] local.INFO: IMEI packet received {"connection_id":179239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":179239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:08:30] local.INFO: TCP Data received {"connection_id":179239,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:30] local.INFO: Processing buffer {"connection_id":179239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:30] local.INFO: IMEI packet received {"connection_id":179239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":179239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:08:30] local.INFO: TCP Data received {"connection_id":179239,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:30] local.INFO: Processing buffer {"connection_id":179239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:08:30] local.INFO: IMEI packet received {"connection_id":179239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":179239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:08:56] local.INFO: TCP Data received {"connection_id":179238,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1bad50012cd57d4007382198000f00812c..."} 
[2026-09-10 17:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1bad50012cd57d4007382198000f00812c..."} 
[2026-09-10 17:08:56] local.INFO: Processing buffer {"connection_id":179238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1bad50012cd57d4007382198000f00812c..."} 
[2026-09-10 17:08:56] local.INFO: Packet analysis {"connection_id":179238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:08:56] local.INFO: Extracted packet for processing {"connection_id":179238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1b"} 
[2026-09-10 17:08:56] local.INFO: GPS Element Parsed {"raw_longitude":752188736,"raw_latitude":121119128,"longitude_deg":75.2188736,"latitude_deg":12.1119128,"altitude":15,"angle":129,"satellites":44,"speed":14,"hex_longitude":"2cd57d40","hex_latitude":"07382198","is_valid_coordinates":true} 
[2026-09-10 17:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994300672001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404390111724175360,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3064840252907110400,"note":"Value kept but may cause issues"} 
[2026-09-10 17:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789040242000,"timestamp_ms":1789040242000,"timestamp_seconds":1789040242,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1bad50"} 
[2026-09-10 17:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 17:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994300672001,"66":27908,"150":206,"83":43264,"24":14,"16":404390111724175360,"44":-3064840252907110400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-10 17:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994300672001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:08:56] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 17:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-10 17:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404390111724175360,"km_value":404390111724175.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3064840252907110400,"description":"Unknown IO ID 44"} 
[2026-09-10 17:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994300672001,"power":27908,"unknown_150":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3064840252907110400}} 
[2026-09-10 17:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":179238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:08:56] local.INFO: GPS data processed {"connection_id":179238,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:08:56] local.INFO: Acknowledgment sent {"connection_id":179238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:09:18] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:18] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:18] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:09:18] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:18] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:18] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:09:20] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:20] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:20] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:09:21] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:21] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:09:21] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:12:09] local.INFO: TCP Data received {"connection_id":179243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:12:09] local.INFO: Processing buffer {"connection_id":179243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:12:09] local.INFO: IMEI packet received {"connection_id":179243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":179243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:12:38] local.INFO: TCP Data received {"connection_id":176694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:12:38] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:12:38] local.INFO: IMEI packet received {"connection_id":176694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":176694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:13:32] local.INFO: TCP Data received {"connection_id":176483,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:13:32] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:13:32] local.INFO: IMEI packet received {"connection_id":176483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":176483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:13:33] local.INFO: TCP Data received {"connection_id":176483,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1e4948012d1820400721b240004d00d32b..."} 
[2026-09-10 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1e4948012d1820400721b240004d00d32b..."} 
[2026-09-10 17:13:33] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1e4948012d1820400721b240004d00d32b..."} 
[2026-09-10 17:13:33] local.INFO: Packet analysis {"connection_id":176483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1e"} 
[2026-09-10 17:13:33] local.INFO: Extracted packet for processing {"connection_id":176483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1e"} 
[2026-09-10 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994340352001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789040413000,"timestamp_ms":1789040413000,"timestamp_seconds":1789040413,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1e4948"} 
[2026-09-10 17:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:13: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-09-10 17:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-10 17:13:33] 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-09-10 17:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994340352001,"66":12765,"120":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994340352001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:13:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994340352001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":176483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:13:33] local.INFO: GPS data processed {"connection_id":176483,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:13:33] local.INFO: Acknowledgment sent {"connection_id":176483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:14:05] local.INFO: TCP Data received {"connection_id":176483,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1e9b50012d1820400721b240004d00d329..."} 
[2026-09-10 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1e9b50012d1820400721b240004d00d329..."} 
[2026-09-10 17:14:05] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1e9b50012d1820400721b240004d00d329..."} 
[2026-09-10 17:14:05] local.INFO: Packet analysis {"connection_id":176483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1e"} 
[2026-09-10 17:14:05] local.INFO: Extracted packet for processing {"connection_id":176483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1e"} 
[2026-09-10 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994345728001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789040434000,"timestamp_ms":1789040434000,"timestamp_seconds":1789040434,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1e9b50"} 
[2026-09-10 17:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 17:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994345728001,"66":12711,"122":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994345728001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:14:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994345728001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":176483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:14:05] local.INFO: GPS data processed {"connection_id":176483,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:14:05] local.INFO: Acknowledgment sent {"connection_id":176483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:14:24] local.INFO: TCP Data received {"connection_id":179245,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:14:24] local.INFO: Processing buffer {"connection_id":179245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:14:24] local.INFO: IMEI packet received {"connection_id":179245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":179245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:14:25] local.INFO: TCP Data received {"connection_id":179245,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b20d1b8012cd9120007358968001100712c..."} 
[2026-09-10 17:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b20d1b8012cd9120007358968001100712c..."} 
[2026-09-10 17:14:25] local.INFO: Processing buffer {"connection_id":179245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b20d1b8012cd9120007358968001100712c..."} 
[2026-09-10 17:14:25] local.INFO: Packet analysis {"connection_id":179245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b20"} 
[2026-09-10 17:14:25] local.INFO: Extracted packet for processing {"connection_id":179245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b20"} 
[2026-09-10 17:14:25] local.INFO: GPS Element Parsed {"raw_longitude":752423424,"raw_latitude":120949096,"longitude_deg":75.2423424,"latitude_deg":12.0949096,"altitude":17,"angle":113,"satellites":44,"speed":52,"hex_longitude":"2cd91200","hex_latitude":"07358968","is_valid_coordinates":true} 
[2026-09-10 17:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994386432001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404404298001154048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2814608998654230528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789040579000,"timestamp_ms":1789040579000,"timestamp_seconds":1789040579,"priority":1,"record_length":96,"hex_timestamp":"000001a08b20d1b8"} 
[2026-09-10 17:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994386432001,"66":27865,"175":206,"83":40960,"24":52,"16":404404298001154048,"44":-2814608998654230528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-10 17:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994386432001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:14:25] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-10 17:14:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404404298001154048,"km_value":404404298001154.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2814608998654230528,"description":"Unknown IO ID 44"} 
[2026-09-10 17:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994386432001,"power":27865,"unknown_175":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2814608998654230528}} 
[2026-09-10 17:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":179245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:14:25] local.INFO: GPS data processed {"connection_id":179245,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:14:25] local.INFO: Acknowledgment sent {"connection_id":179245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:14:26] local.INFO: TCP Data received {"connection_id":179246,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:14:26] local.INFO: Processing buffer {"connection_id":179246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:14:26] local.INFO: IMEI packet received {"connection_id":179246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":179246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:14:32] local.INFO: TCP Data received {"connection_id":179246,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:14:32] local.INFO: Processing buffer {"connection_id":179246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:14:32] local.INFO: IMEI packet received {"connection_id":179246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":179246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:14:32] local.INFO: TCP Data received {"connection_id":179246,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1eed58012d1820400721b240004d00d329..."} 
[2026-09-10 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1eed58012d1820400721b240004d00d329..."} 
[2026-09-10 17:14:32] local.INFO: Processing buffer {"connection_id":179246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1eed58012d1820400721b240004d00d329..."} 
[2026-09-10 17:14:32] local.INFO: Packet analysis {"connection_id":179246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1e"} 
[2026-09-10 17:14:32] local.INFO: Extracted packet for processing {"connection_id":179246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1e"} 
[2026-09-10 17:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994351104001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789040455000,"timestamp_ms":1789040455000,"timestamp_seconds":1789040455,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1eed58"} 
[2026-09-10 17:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 17:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994351104001,"66":12689,"122":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994351104001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:14:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994351104001,"power":12689,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":179246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:14:33] local.INFO: GPS data processed {"connection_id":179246,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:14:33] local.INFO: Acknowledgment sent {"connection_id":179246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:14:56] local.INFO: TCP Data received {"connection_id":179245,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b223918012cda95c00734aa38001a007e2c..."} 
[2026-09-10 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b223918012cda95c00734aa38001a007e2c..."} 
[2026-09-10 17:14:56] local.INFO: Processing buffer {"connection_id":179245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b223918012cda95c00734aa38001a007e2c..."} 
[2026-09-10 17:14:56] local.INFO: Packet analysis {"connection_id":179245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:14:56] local.INFO: Extracted packet for processing {"connection_id":179245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":752522688,"raw_latitude":120891960,"longitude_deg":75.2522688,"latitude_deg":12.089196,"altitude":26,"angle":126,"satellites":44,"speed":54,"hex_longitude":"2cda95c0","hex_latitude":"0734aa38","is_valid_coordinates":true} 
[2026-09-10 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994409984001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404409812739162112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2704763389007044608,"note":"Value kept but may cause issues"} 
[2026-09-10 17:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789040671000,"timestamp_ms":1789040671000,"timestamp_seconds":1789040671,"priority":1,"record_length":96,"hex_timestamp":"000001a08b223918"} 
[2026-09-10 17:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994409984001,"66":27800,"174":206,"83":40960,"24":54,"16":404409812739162112,"44":-2704763389007044608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-10 17:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994409984001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:14:56] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-10 17:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404409812739162112,"km_value":404409812739162.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2704763389007044608,"description":"Unknown IO ID 44"} 
[2026-09-10 17:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994409984001,"power":27800,"unknown_174":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2704763389007044608}} 
[2026-09-10 17:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":179245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:14:56] local.INFO: GPS data processed {"connection_id":179245,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:14:56] local.INFO: Acknowledgment sent {"connection_id":179245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:15:04] local.INFO: TCP Data received {"connection_id":179246,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1f3b78012d1820400721b240004d00d329..."} 
[2026-09-10 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1f3b78012d1820400721b240004d00d329..."} 
[2026-09-10 17:15:04] local.INFO: Processing buffer {"connection_id":179246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1f3b78012d1820400721b240004d00d329..."} 
[2026-09-10 17:15:04] local.INFO: Packet analysis {"connection_id":179246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1f"} 
[2026-09-10 17:15:04] local.INFO: Extracted packet for processing {"connection_id":179246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1f"} 
[2026-09-10 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994356480001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789040475000,"timestamp_ms":1789040475000,"timestamp_seconds":1789040475,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1f3b78"} 
[2026-09-10 17:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 17:15: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-09-10 17: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-09-10 17:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994356480001,"66":12667,"122":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994356480001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994356480001,"power":12667,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":179246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:15:04] local.INFO: GPS data processed {"connection_id":179246,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:15:04] local.INFO: Acknowledgment sent {"connection_id":179246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:15:19] local.INFO: TCP Data received {"connection_id":177878,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:19] local.INFO: Processing buffer {"connection_id":177878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:19] local.INFO: IMEI packet received {"connection_id":177878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":177878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:15:19] local.INFO: TCP Data received {"connection_id":177878,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:19] local.INFO: Processing buffer {"connection_id":177878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:19] local.INFO: IMEI packet received {"connection_id":177878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":177878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:15:24] local.INFO: TCP Data received {"connection_id":177878,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:24] local.INFO: Processing buffer {"connection_id":177878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:15:24] local.INFO: IMEI packet received {"connection_id":177878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":177878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:15:24] local.INFO: TCP Data received {"connection_id":177878,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b225470012cdab38007349368001a00842c..."} 
[2026-09-10 17:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b225470012cdab38007349368001a00842c..."} 
[2026-09-10 17:15:24] local.INFO: Processing buffer {"connection_id":177878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b225470012cdab38007349368001a00842c..."} 
[2026-09-10 17:15:24] local.INFO: Packet analysis {"connection_id":177878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:15:24] local.INFO: Extracted packet for processing {"connection_id":177878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:15:24] local.INFO: GPS Element Parsed {"raw_longitude":752530304,"raw_latitude":120886120,"longitude_deg":75.2530304,"latitude_deg":12.088612,"altitude":26,"angle":132,"satellites":44,"speed":52,"hex_longitude":"2cdab380","hex_latitude":"07349368","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994411776001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404410272300662784,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2696037664730499072,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040678000,"timestamp_ms":1789040678000,"timestamp_seconds":1789040678,"priority":1,"record_length":96,"hex_timestamp":"000001a08b225470"} 
[2026-09-10 17:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994411776001,"66":27908,"174":206,"83":40960,"24":52,"16":404410272300662784,"44":-2696037664730499072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-10 17:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994411776001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:15:24] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-10 17:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404410272300662784,"km_value":404410272300662.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2696037664730499072,"description":"Unknown IO ID 44"} 
[2026-09-10 17:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994411776001,"power":27908,"unknown_174":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2696037664730499072}} 
[2026-09-10 17:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":177878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:15:24] local.INFO: GPS data processed {"connection_id":177878,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:15:24] local.INFO: Acknowledgment sent {"connection_id":177878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:15:26] local.INFO: TCP Data received {"connection_id":176695,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:15:26] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:15:26] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:15:32] local.INFO: TCP Data received {"connection_id":176695,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:15:32] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:15:32] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:15:33] local.INFO: TCP Data received {"connection_id":176695,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1f8d80012d1820400721b240004d00d328..."} 
[2026-09-10 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1f8d80012d1820400721b240004d00d328..."} 
[2026-09-10 17:15:33] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1f8d80012d1820400721b240004d00d328..."} 
[2026-09-10 17:15:33] local.INFO: Packet analysis {"connection_id":176695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1f"} 
[2026-09-10 17:15:33] local.INFO: Extracted packet for processing {"connection_id":176695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1f"} 
[2026-09-10 17:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994361600001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789040496000,"timestamp_ms":1789040496000,"timestamp_seconds":1789040496,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1f8d80"} 
[2026-09-10 17:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:15: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-09-10 17:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 17:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994361600001,"66":12558,"122":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994361600001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:15:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994361600001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":176695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:15:33] local.INFO: GPS data processed {"connection_id":176695,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:15:33] local.INFO: Acknowledgment sent {"connection_id":176695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:15:55] local.INFO: TCP Data received {"connection_id":177878,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b226fc8012cdacc80073479b0001a008c2d..."} 
[2026-09-10 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b226fc8012cdacc80073479b0001a008c2d..."} 
[2026-09-10 17:15:55] local.INFO: Processing buffer {"connection_id":177878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b226fc8012cdacc80073479b0001a008c2d..."} 
[2026-09-10 17:15:55] local.INFO: Packet analysis {"connection_id":177878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:15:55] local.INFO: Extracted packet for processing {"connection_id":177878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:15:55] local.INFO: GPS Element Parsed {"raw_longitude":752536704,"raw_latitude":120879536,"longitude_deg":75.2536704,"latitude_deg":12.0879536,"altitude":26,"angle":140,"satellites":45,"speed":51,"hex_longitude":"2cdacc80","hex_latitude":"073479b0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994413568001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404410714682294272,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2687663784174852096,"note":"Value kept but may cause issues"} 
[2026-09-10 17:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789040685000,"timestamp_ms":1789040685000,"timestamp_seconds":1789040685,"priority":1,"record_length":96,"hex_timestamp":"000001a08b226fc8"} 
[2026-09-10 17:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:15: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-09-10 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994413568001,"66":27865,"174":206,"83":40960,"24":51,"16":404410714682294272,"44":-2687663784174852096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-10 17:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994413568001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404410714682294272,"km_value":404410714682294.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2687663784174852096,"description":"Unknown IO ID 44"} 
[2026-09-10 17:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994413568001,"power":27865,"unknown_174":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2687663784174852096}} 
[2026-09-10 17:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":177878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:15:55] local.INFO: GPS data processed {"connection_id":177878,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:15:55] local.INFO: Acknowledgment sent {"connection_id":177878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:16:04] local.INFO: TCP Data received {"connection_id":176695,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b1fdf88012d1820400721b240004d00d32a..."} 
[2026-09-10 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b1fdf88012d1820400721b240004d00d32a..."} 
[2026-09-10 17:16:04] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b1fdf88012d1820400721b240004d00d32a..."} 
[2026-09-10 17:16:04] local.INFO: Packet analysis {"connection_id":176695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b1f"} 
[2026-09-10 17:16:04] local.INFO: Extracted packet for processing {"connection_id":176695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b1f"} 
[2026-09-10 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994366976001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789040517000,"timestamp_ms":1789040517000,"timestamp_seconds":1789040517,"priority":1,"record_length":96,"hex_timestamp":"000001a08b1fdf88"} 
[2026-09-10 17:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2333975864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2990538829,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 17:16:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1073818904,"corrected_to":0} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2546204672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,122,28,24,241,158,16,151,160,59,45,64,178,77,41,10,66,237,155,1,240,167,139,33,4,113,205,247,32,42,239,49,120,2,68,7,75,231,87,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":247,"original":1073818904,"validated":0}]} 
[2026-09-10 17:16:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548666909672603648,"timestamp_seconds":5548666909672604.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994366976001,"66":12558,"122":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994366976001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994366976001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":176695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:16:05] local.INFO: GPS data processed {"connection_id":176695,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:16:05] local.INFO: Acknowledgment sent {"connection_id":176695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:16:19] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:19] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:19] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:16:21] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:21] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:21] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:16:23] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:23] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:16:23] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:16:24] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b228f08012cdae30007345c48001a008f2e..."} 
[2026-09-10 17:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b228f08012cdae30007345c48001a008f2e..."} 
[2026-09-10 17:16:24] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b228f08012cdae30007345c48001a008f2e..."} 
[2026-09-10 17:16:24] local.INFO: Packet analysis {"connection_id":176697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:16:24] local.INFO: Extracted packet for processing {"connection_id":176697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b22"} 
[2026-09-10 17:16:24] local.INFO: GPS Element Parsed {"raw_longitude":752542464,"raw_latitude":120872008,"longitude_deg":75.2542464,"latitude_deg":12.0872008,"altitude":26,"angle":143,"satellites":46,"speed":43,"hex_longitude":"2cdae300","hex_latitude":"07345c48","is_valid_coordinates":true} 
[2026-09-10 17:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994415360001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404411174243794944,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2680626909758771200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040693000,"timestamp_ms":1789040693000,"timestamp_seconds":1789040693,"priority":1,"record_length":96,"hex_timestamp":"000001a08b228f08"} 
[2026-09-10 17:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994415360001,"66":27865,"174":206,"83":40960,"24":43,"16":404411174243794944,"44":-2680626909758771200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-10 17:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994415360001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:16:24] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-10 17:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404411174243794944,"km_value":404411174243794.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:16:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2680626909758771200,"description":"Unknown IO ID 44"} 
[2026-09-10 17:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994415360001,"power":27865,"unknown_174":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2680626909758771200}} 
[2026-09-10 17:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":176697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:16:24] local.INFO: GPS data processed {"connection_id":176697,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:16:24] local.INFO: Acknowledgment sent {"connection_id":176697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:16:31] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:16:31] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:16:31] local.INFO: IMEI packet received {"connection_id":176484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":176484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:16:36] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:16:36] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:16:36] local.INFO: IMEI packet received {"connection_id":176484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":176484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:16:38] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b203190012d1820400721b240004d00d32b..."} 
[2026-09-10 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b203190012d1820400721b240004d00d32b..."} 
[2026-09-10 17:16:38] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b203190012d1820400721b240004d00d32b..."} 
[2026-09-10 17:16:38] local.INFO: Packet analysis {"connection_id":176484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b20"} 
[2026-09-10 17:16:38] local.INFO: Extracted packet for processing {"connection_id":176484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b20"} 
[2026-09-10 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994372352001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789040538000,"timestamp_ms":1789040538000,"timestamp_seconds":1789040538,"priority":1,"record_length":96,"hex_timestamp":"000001a08b203190"} 
[2026-09-10 17:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2333996864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2990538829,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817447,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2546204672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,122,28,24,241,158,16,151,160,141,45,64,178,77,40,10,66,59,41,237,1,240,145,139,33,4,113,205,73,32,43,239,49,120,2,68,7,231,87,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-10 17:16:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548666918262538240,"timestamp_seconds":5548666918262538.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994372352001,"66":12558,"122":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994372352001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:16:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994372352001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":176484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:16:38] local.INFO: GPS data processed {"connection_id":176484,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:16:38] local.INFO: Acknowledgment sent {"connection_id":176484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:16:42] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b208398012d1820400721b240004d00d327..."} 
[2026-09-10 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b208398012d1820400721b240004d00d327..."} 
[2026-09-10 17:16:42] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b208398012d1820400721b240004d00d327..."} 
[2026-09-10 17:16:42] local.INFO: Packet analysis {"connection_id":176484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b20"} 
[2026-09-10 17:16:42] local.INFO: Extracted packet for processing {"connection_id":176484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b20"} 
[2026-09-10 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648832,"longitude_deg":75.655584,"latitude_deg":11.9648832,"altitude":77,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-09-10 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994377728001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307166485708800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539290112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16: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-09-10 17:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789040559000,"timestamp_ms":1789040559000,"timestamp_seconds":1789040559,"priority":1,"record_length":96,"hex_timestamp":"000001a08b208398"} 
[2026-09-10 17:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2334017864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2990538829,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2546204672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,122,28,24,241,158,16,151,160,223,45,64,178,77,42,10,66,141,40,59,1,240,123,139,33,4,113,205,155,32,41,239,49,2,68,7,231,87,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-10 17:16:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548666922557505536,"timestamp_seconds":5548666922557506.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994377728001,"66":12548,"120":206,"28":31744,"24":0,"16":19307166485708800,"45":1738459855539290112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994377728001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:16:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307166485708800,"km_value":19307166485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539290112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994377728001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539290112}} 
[2026-09-10 17:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":176484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:16:42] local.INFO: GPS data processed {"connection_id":176484,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:16:42] local.INFO: Acknowledgment sent {"connection_id":176484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:16:55] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b23f280012cdb684007338498001200ad26..."} 
[2026-09-10 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b23f280012cdb684007338498001200ad26..."} 
[2026-09-10 17:16:55] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b23f280012cdb684007338498001200ad26..."} 
[2026-09-10 17:16:55] local.INFO: Packet analysis {"connection_id":176697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b23"} 
[2026-09-10 17:16:55] local.INFO: Extracted packet for processing {"connection_id":176697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b23"} 
[2026-09-10 17:16:55] local.INFO: GPS Element Parsed {"raw_longitude":752576576,"raw_latitude":120816792,"longitude_deg":75.2576576,"latitude_deg":12.0816792,"altitude":18,"angle":173,"satellites":38,"speed":23,"hex_longitude":"2cdb6840","hex_latitude":"07338498","is_valid_coordinates":true} 
[2026-09-10 17:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994440192001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404414404059201536,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636787182151870464,"note":"Value kept but may cause issues"} 
[2026-09-10 17:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789040784000,"timestamp_ms":1789040784000,"timestamp_seconds":1789040784,"priority":1,"record_length":96,"hex_timestamp":"000001a08b23f280"} 
[2026-09-10 17:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:16: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-09-10 17:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994440192001,"66":27713,"146":206,"83":40960,"24":23,"16":404414404059201536,"44":-2636787182151870464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-10 17:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994440192001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:16:55] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 17:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404414404059201536,"km_value":404414404059201.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:16:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636787182151870464,"description":"Unknown IO ID 44"} 
[2026-09-10 17:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994440192001,"power":27713,"unknown_146":206,"unknown_83":40960,"ignition":23,"odometer":null,"unknown_44":-2636787182151870464}} 
[2026-09-10 17:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":176697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:16:55] local.INFO: GPS data processed {"connection_id":176697,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:16:55] local.INFO: Acknowledgment sent {"connection_id":176697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:17:18] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:18] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:18] local.INFO: IMEI packet received {"connection_id":176699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":176699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:17:22] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:22] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:22] local.INFO: IMEI packet received {"connection_id":176699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":176699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:17:23] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:23] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:17:23] local.INFO: IMEI packet received {"connection_id":176699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":176699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:17:24] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b240dd8012cdb6c00073373580011009b2b..."} 
[2026-09-10 17:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b240dd8012cdb6c00073373580011009b2b..."} 
[2026-09-10 17:17:24] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b240dd8012cdb6c00073373580011009b2b..."} 
[2026-09-10 17:17:24] local.INFO: Packet analysis {"connection_id":176699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:17:24] local.INFO: Extracted packet for processing {"connection_id":176699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:17:24] local.INFO: GPS Element Parsed {"raw_longitude":752577536,"raw_latitude":120812376,"longitude_deg":75.2577536,"latitude_deg":12.0812376,"altitude":17,"angle":155,"satellites":43,"speed":22,"hex_longitude":"2cdb6c00","hex_latitude":"07337358","is_valid_coordinates":true} 
[2026-09-10 17:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994440704001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404414623102533632,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636787182152148992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040791000,"timestamp_ms":1789040791000,"timestamp_seconds":1789040791,"priority":1,"record_length":96,"hex_timestamp":"000001a08b240dd8"} 
[2026-09-10 17:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 17:17:24] 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-09-10 17: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-09-10 17:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994440704001,"66":27908,"146":206,"83":40960,"24":22,"16":404414623102533632,"44":-2636787182152148992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-10 17:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994440704001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:17:24] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 17:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404414623102533632,"km_value":404414623102533.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:17:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636787182152148992,"description":"Unknown IO ID 44"} 
[2026-09-10 17:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994440704001,"power":27908,"unknown_146":206,"unknown_83":40960,"ignition":22,"odometer":null,"unknown_44":-2636787182152148992}} 
[2026-09-10 17:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":176699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:17:24] local.INFO: GPS data processed {"connection_id":176699,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:17:24] local.INFO: Acknowledgment sent {"connection_id":176699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:17:27] local.INFO: TCP Data received {"connection_id":176700,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:17:27] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:17:27] local.INFO: IMEI packet received {"connection_id":176700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":176700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:17:29] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b244870012cdb7bc007335410001500962d..."} 
[2026-09-10 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b244870012cdb7bc007335410001500962d..."} 
[2026-09-10 17:17:29] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b244870012cdb7bc007335410001500962d..."} 
[2026-09-10 17:17:29] local.INFO: Packet analysis {"connection_id":176699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:17:29] local.INFO: Extracted packet for processing {"connection_id":176699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":752581568,"raw_latitude":120804368,"longitude_deg":75.2581568,"latitude_deg":12.0804368,"altitude":21,"angle":150,"satellites":45,"speed":29,"hex_longitude":"2cdb7bc0","hex_latitude":"07335410","is_valid_coordinates":true} 
[2026-09-10 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994442496001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404415056894230528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2635731650990614528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789040806000,"timestamp_ms":1789040806000,"timestamp_seconds":1789040806,"priority":1,"record_length":96,"hex_timestamp":"000001a08b244870"} 
[2026-09-10 17:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:17: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-09-10 17:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994442496001,"66":27626,"146":206,"83":40960,"24":29,"16":404415056894230528,"44":-2635731650990614528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-10 17:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994442496001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:17:29] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 17:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404415056894230528,"km_value":404415056894230.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2635731650990614528,"description":"Unknown IO ID 44"} 
[2026-09-10 17:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994442496001,"power":27626,"unknown_146":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2635731650990614528}} 
[2026-09-10 17:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":176699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:17:29] local.INFO: GPS data processed {"connection_id":176699,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:17:29] local.INFO: Acknowledgment sent {"connection_id":176699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:17:31] local.INFO: TCP Data received {"connection_id":176700,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:17:31] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:17:31] local.INFO: IMEI packet received {"connection_id":176700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":176700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:17:32] local.INFO: TCP Data received {"connection_id":176700,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b23cb70012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b23cb70012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:17:32] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b23cb70012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:17:32] local.INFO: Packet analysis {"connection_id":176700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b23"} 
[2026-09-10 17:17:32] local.INFO: Extracted packet for processing {"connection_id":176700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b23"} 
[2026-09-10 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":79,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994432768001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307192255512576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789040774000,"timestamp_ms":1789040774000,"timestamp_seconds":1789040774,"priority":1,"record_length":96,"hex_timestamp":"000001a08b23cb70"} 
[2026-09-10 17:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 17:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994432768001,"66":12428,"120":206,"28":31744,"24":0,"16":19307192255512576,"45":1738178380562479104},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994432768001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:17:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307192255512576,"km_value":19307192255512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-10 17:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994432768001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-10 17:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":176700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:17:32] local.INFO: GPS data processed {"connection_id":176700,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:17:32] local.INFO: Acknowledgment sent {"connection_id":176700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:18:00] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b247750012cdb8cc0073333c0001900992d..."} 
[2026-09-10 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b247750012cdb8cc0073333c0001900992d..."} 
[2026-09-10 17:18:00] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b247750012cdb8cc0073333c0001900992d..."} 
[2026-09-10 17:18:00] local.INFO: Packet analysis {"connection_id":176699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:00] local.INFO: Extracted packet for processing {"connection_id":176699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:00] local.INFO: GPS Element Parsed {"raw_longitude":752585920,"raw_latitude":120796096,"longitude_deg":75.258592,"latitude_deg":12.0796096,"altitude":25,"angle":153,"satellites":45,"speed":37,"hex_longitude":"2cdb8cc0","hex_latitude":"073333c0","is_valid_coordinates":true} 
[2026-09-10 17:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994446336001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404415507865796608,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2631298420109471744,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789040818000,"timestamp_ms":1789040818000,"timestamp_seconds":1789040818,"priority":1,"record_length":96,"hex_timestamp":"000001a08b247750"} 
[2026-09-10 17:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17: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-09-10 17:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 17:18:00] 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-09-10 17:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994446336001,"66":27713,"146":206,"83":40960,"24":37,"16":404415507865796608,"44":-2631298420109471744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-10 17:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994446336001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:18:00] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 17:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404415507865796608,"km_value":404415507865796.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:18:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2631298420109471744,"description":"Unknown IO ID 44"} 
[2026-09-10 17:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994446336001,"power":27713,"unknown_146":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2631298420109471744}} 
[2026-09-10 17:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":176699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:18:00] local.INFO: GPS data processed {"connection_id":176699,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:18:00] local.INFO: Acknowledgment sent {"connection_id":176699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:18:00] local.INFO: TCP Data received {"connection_id":179247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:18:00] local.INFO: Processing buffer {"connection_id":179247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:18:00] local.INFO: IMEI packet received {"connection_id":179247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":179247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:18:03] local.INFO: TCP Data received {"connection_id":176700,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b241d78012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b241d78012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:18:03] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b241d78012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:18:03] local.INFO: Packet analysis {"connection_id":176700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:03] local.INFO: Extracted packet for processing {"connection_id":176700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":79,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-10 17:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994438144001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307192255512576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789040795000,"timestamp_ms":1789040795000,"timestamp_seconds":1789040795,"priority":1,"record_length":96,"hex_timestamp":"000001a08b241d78"} 
[2026-09-10 17:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 17:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994438144001,"66":12428,"120":206,"28":31744,"24":0,"16":19307192255512576,"45":1738178380562479104},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994438144001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:18:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307192255512576,"km_value":19307192255512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-10 17:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994438144001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-10 17:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":176700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:18:03] local.INFO: GPS data processed {"connection_id":176700,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:18:03] local.INFO: Acknowledgment sent {"connection_id":176700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:18:18] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:18] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:18] local.INFO: IMEI packet received {"connection_id":177879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":177879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:18:22] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:22] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:22] local.INFO: IMEI packet received {"connection_id":177879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":177879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:18:23] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:23] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:18:23] local.INFO: IMEI packet received {"connection_id":177879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":177879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:18:24] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b249690012cdb97c007331598001a00a72d..."} 
[2026-09-10 17:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b249690012cdb97c007331598001a00a72d..."} 
[2026-09-10 17:18:24] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b249690012cdb97c007331598001a00a72d..."} 
[2026-09-10 17:18:24] local.INFO: Packet analysis {"connection_id":177879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:24] local.INFO: Extracted packet for processing {"connection_id":177879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:24] local.INFO: GPS Element Parsed {"raw_longitude":752588736,"raw_latitude":120788376,"longitude_deg":75.2588736,"latitude_deg":12.0788376,"altitude":26,"angle":167,"satellites":45,"speed":41,"hex_longitude":"2cdb97c0","hex_latitude":"07331598","is_valid_coordinates":true} 
[2026-09-10 17:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994449408001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404415907297755136,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2626513345507508224,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040826000,"timestamp_ms":1789040826000,"timestamp_seconds":1789040826,"priority":1,"record_length":96,"hex_timestamp":"000001a08b249690"} 
[2026-09-10 17:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 17:18:24] 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-09-10 17: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-09-10 17:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994449408001,"66":27919,"146":206,"83":40960,"24":41,"16":404415907297755136,"44":-2626513345507508224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-10 17:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994449408001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:18:24] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-10 17:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404415907297755136,"km_value":404415907297755.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:18:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2626513345507508224,"description":"Unknown IO ID 44"} 
[2026-09-10 17:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994449408001,"power":27919,"unknown_146":206,"unknown_83":40960,"ignition":41,"odometer":null,"unknown_44":-2626513345507508224}} 
[2026-09-10 17:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":177879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:18:24] local.INFO: GPS data processed {"connection_id":177879,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:18:24] local.INFO: Acknowledgment sent {"connection_id":177879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:18:27] local.INFO: TCP Data received {"connection_id":177880,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:18:27] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:18:27] local.INFO: IMEI packet received {"connection_id":177880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":177880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:18:31] local.INFO: TCP Data received {"connection_id":177880,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:18:31] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:18:31] local.INFO: IMEI packet received {"connection_id":177880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":177880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:18:33] local.INFO: TCP Data received {"connection_id":177880,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b246b98012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b246b98012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:18:33] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b246b98012d181f400721b0b8004f00e62a..."} 
[2026-09-10 17:18:33] local.INFO: Packet analysis {"connection_id":177880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:33] local.INFO: Extracted packet for processing {"connection_id":177880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":79,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-10 17:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994443520001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307192255512576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789040815000,"timestamp_ms":1789040815000,"timestamp_seconds":1789040815,"priority":1,"record_length":96,"hex_timestamp":"000001a08b246b98"} 
[2026-09-10 17:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 17:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994443520001,"66":12406,"120":206,"28":31744,"24":0,"16":19307192255512576,"45":1738178380562479104},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994443520001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:18:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:18:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307192255512576,"km_value":19307192255512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-10 17:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994443520001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-10 17:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":177880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:18:33] local.INFO: GPS data processed {"connection_id":177880,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:18:33] local.INFO: Acknowledgment sent {"connection_id":177880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:18:56] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b24b9b8012cdb9e400732ef30001900a829..."} 
[2026-09-10 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b24b9b8012cdb9e400732ef30001900a829..."} 
[2026-09-10 17:18:56] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b24b9b8012cdb9e400732ef30001900a829..."} 
[2026-09-10 17:18:56] local.INFO: Packet analysis {"connection_id":177879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:56] local.INFO: Extracted packet for processing {"connection_id":177879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:18:56] local.INFO: GPS Element Parsed {"raw_longitude":752590400,"raw_latitude":120778544,"longitude_deg":75.25904,"latitude_deg":12.0778544,"altitude":25,"angle":168,"satellites":41,"speed":46,"hex_longitude":"2cdb9e40","hex_latitude":"0732ef30","is_valid_coordinates":true} 
[2026-09-10 17:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994451456001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404416392629059584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2623417120765667328,"note":"Value kept but may cause issues"} 
[2026-09-10 17:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789040835000,"timestamp_ms":1789040835000,"timestamp_seconds":1789040835,"priority":1,"record_length":96,"hex_timestamp":"000001a08b24b9b8"} 
[2026-09-10 17:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994451456001,"66":27919,"145":206,"83":40960,"24":46,"16":404416392629059584,"44":-2623417120765667328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-10 17:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994451456001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:18:56] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 17:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404416392629059584,"km_value":404416392629059.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2623417120765667328,"description":"Unknown IO ID 44"} 
[2026-09-10 17:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994451456001,"power":27919,"unknown_145":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2623417120765667328}} 
[2026-09-10 17:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":177879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:18:56] local.INFO: GPS data processed {"connection_id":177879,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:18:56] local.INFO: Acknowledgment sent {"connection_id":177879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:19:04] local.INFO: TCP Data received {"connection_id":177880,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b24bda0012d181f400721b0b8004f00e628..."} 
[2026-09-10 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b24bda0012d181f400721b0b8004f00e628..."} 
[2026-09-10 17:19:04] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b24bda0012d181f400721b0b8004f00e628..."} 
[2026-09-10 17:19:04] local.INFO: Packet analysis {"connection_id":177880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:19:04] local.INFO: Extracted packet for processing {"connection_id":177880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b24"} 
[2026-09-10 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":79,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-10 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994448640001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307192255512576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19: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-09-10 17:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789040836000,"timestamp_ms":1789040836000,"timestamp_seconds":1789040836,"priority":1,"record_length":96,"hex_timestamp":"000001a08b24bda0"} 
[2026-09-10 17:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 17:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994448640001,"66":12374,"120":206,"28":31744,"24":0,"16":19307192255512576,"45":1738178380562479104},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994448640001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307192255512576,"km_value":19307192255512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-10 17:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994448640001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-10 17:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":177880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:19:04] local.INFO: GPS data processed {"connection_id":177880,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:19:04] local.INFO: Acknowledgment sent {"connection_id":177880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:19:22] local.INFO: TCP Data received {"connection_id":179248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:23] local.INFO: Processing buffer {"connection_id":179248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:23] local.INFO: IMEI packet received {"connection_id":179248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":179248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:19:23] local.INFO: TCP Data received {"connection_id":179248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:23] local.INFO: Processing buffer {"connection_id":179248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:23] local.INFO: IMEI packet received {"connection_id":179248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":179248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:19:25] local.INFO: TCP Data received {"connection_id":176702,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:25] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:25] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:19:26] local.INFO: TCP Data received {"connection_id":176702,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:26] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:26] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:19:27] local.INFO: TCP Data received {"connection_id":176702,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:27] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:27] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:19:29] local.INFO: TCP Data received {"connection_id":179248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:29] local.INFO: Processing buffer {"connection_id":179248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:19:29] local.INFO: IMEI packet received {"connection_id":179248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":179248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:19:30] local.INFO: TCP Data received {"connection_id":179248,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2630b8012cdba4c007319288001800ac2b..."} 
[2026-09-10 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2630b8012cdba4c007319288001800ac2b..."} 
[2026-09-10 17:19:30] local.INFO: Processing buffer {"connection_id":179248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2630b8012cdba4c007319288001800ac2b..."} 
[2026-09-10 17:19:30] local.INFO: Packet analysis {"connection_id":179248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:19:30] local.INFO: Extracted packet for processing {"connection_id":179248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:19:30] local.INFO: GPS Element Parsed {"raw_longitude":752592064,"raw_latitude":120689288,"longitude_deg":75.2592064,"latitude_deg":12.0689288,"altitude":24,"angle":172,"satellites":43,"speed":40,"hex_longitude":"2cdba4c0","hex_latitude":"07319288","is_valid_coordinates":true} 
[2026-09-10 17:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994476544001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404420756315832320,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619828314836002816,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789040931000,"timestamp_ms":1789040931000,"timestamp_seconds":1789040931,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2630b8"} 
[2026-09-10 17:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:19: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-09-10 17:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994476544001,"66":27865,"144":206,"83":40960,"24":40,"16":404420756315832320,"44":-2619828314836002816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-10 17:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994476544001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:19:30] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-10 17:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404420756315832320,"km_value":404420756315832.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619828314836002816,"description":"Unknown IO ID 44"} 
[2026-09-10 17:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994476544001,"power":27865,"unknown_144":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2619828314836002816}} 
[2026-09-10 17:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":179248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:19:30] local.INFO: GPS data processed {"connection_id":179248,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:19:30] local.INFO: Acknowledgment sent {"connection_id":179248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:19:31] local.INFO: TCP Data received {"connection_id":176702,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:31] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:19:31] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:19:33] local.INFO: TCP Data received {"connection_id":176702,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b250fa8012d181f400721b0b8004f00e62c..."} 
[2026-09-10 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b250fa8012d181f400721b0b8004f00e62c..."} 
[2026-09-10 17:19:33] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b250fa8012d181f400721b0b8004f00e62c..."} 
[2026-09-10 17:19:33] local.INFO: Packet analysis {"connection_id":176702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b25"} 
[2026-09-10 17:19:33] local.INFO: Extracted packet for processing {"connection_id":176702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b25"} 
[2026-09-10 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":79,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-10 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994454016001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307192255512576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789040857000,"timestamp_ms":1789040857000,"timestamp_seconds":1789040857,"priority":1,"record_length":96,"hex_timestamp":"000001a08b250fa8"} 
[2026-09-10 17:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 17:19:33] 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-09-10 17:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994454016001,"66":12385,"120":206,"28":31744,"24":0,"16":19307192255512576,"45":1738178380562479104},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994454016001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:19:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307192255512576,"km_value":19307192255512.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-10 17:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994454016001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-10 17:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":176702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:19:33] local.INFO: GPS data processed {"connection_id":176702,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:19:33] local.INFO: Acknowledgment sent {"connection_id":176702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:00] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:00] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:00] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:20:00] local.INFO: TCP Data received {"connection_id":179248,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b264ff8012cdbac4007317540001800a02d..."} 
[2026-09-10 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b264ff8012cdbac4007317540001800a02d..."} 
[2026-09-10 17:20:00] local.INFO: Processing buffer {"connection_id":179248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b264ff8012cdbac4007317540001800a02d..."} 
[2026-09-10 17:20:00] local.INFO: Packet analysis {"connection_id":179248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:00] local.INFO: Extracted packet for processing {"connection_id":179248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":752593984,"raw_latitude":120681792,"longitude_deg":75.2593984,"latitude_deg":12.0681792,"altitude":24,"angle":160,"satellites":45,"speed":39,"hex_longitude":"2cdbac40","hex_latitude":"07317540","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994478336001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404421134272954368,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619757946093795328,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789040939000,"timestamp_ms":1789040939000,"timestamp_seconds":1789040939,"priority":1,"record_length":96,"hex_timestamp":"000001a08b264ff8"} 
[2026-09-10 17:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:20: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-09-10 17: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-09-10 17:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994478336001,"66":27843,"144":206,"83":40960,"24":39,"16":404421134272954368,"44":-2619757946093795328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-10 17:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994478336001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:00] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-10 17:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404421134272954368,"km_value":404421134272954.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619757946093795328,"description":"Unknown IO ID 44"} 
[2026-09-10 17:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994478336001,"power":27843,"unknown_144":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2619757946093795328}} 
[2026-09-10 17:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":179248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:00] local.INFO: GPS data processed {"connection_id":179248,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:00] local.INFO: Acknowledgment sent {"connection_id":179248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:04] local.INFO: TCP Data received {"connection_id":176702,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b267ed8012d181dc00721a750004d00662b..."} 
[2026-09-10 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b267ed8012d181dc00721a750004d00662b..."} 
[2026-09-10 17:20:04] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b267ed8012d181dc00721a750004d00662b..."} 
[2026-09-10 17:20:04] local.INFO: Packet analysis {"connection_id":176702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:04] local.INFO: Extracted packet for processing {"connection_id":176702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646032,"longitude_deg":75.65552,"latitude_deg":11.9646032,"altitude":77,"angle":102,"satellites":43,"speed":8,"hex_longitude":"2d181dc0","hex_latitude":"0721a750","is_valid_coordinates":true} 
[2026-09-10 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994482944001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307364054204416,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143393792,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20: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-09-10 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789040951000,"timestamp_ms":1789040951000,"timestamp_seconds":1789040951,"priority":1,"record_length":96,"hex_timestamp":"000001a08b267ed8"} 
[2026-09-10 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994482944001,"66":14080,"120":206,"28":31744,"24":8,"16":19307364054204416,"45":1737193218143393792},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994482944001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307364054204416,"km_value":19307364054204.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143393792,"description":"Unknown IO ID 45"} 
[2026-09-10 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994482944001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737193218143393792}} 
[2026-09-10 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":176702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:05] local.INFO: GPS data processed {"connection_id":176702,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:05] local.INFO: Acknowledgment sent {"connection_id":176702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:07] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:07] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:07] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:20:13] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b264440012d7a628005e46b680010006121..."} 
[2026-09-10 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b264440012d7a628005e46b680010006121..."} 
[2026-09-10 17:20:13] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b264440012d7a628005e46b680010006121..."} 
[2026-09-10 17:20:13] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:13] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:13] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":98855784,"longitude_deg":76.2995328,"latitude_deg":9.8855784,"altitude":16,"angle":97,"satellites":33,"speed":8,"hex_longitude":"2d7a6280","hex_latitude":"05e46b68","is_valid_coordinates":true} 
[2026-09-10 17:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994475008001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130793608272936960,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810940852536014848,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:13] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-10 17:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789040936000,"timestamp_ms":1789040936000,"timestamp_seconds":1789040936,"priority":1,"record_length":96,"hex_timestamp":"000001a08b264440"} 
[2026-09-10 17:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:20:13] 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-09-10 17:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994475008001,"66":13363,"24":8,"16":130793608272936960,"45":8810940852536014848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-10 17:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994475008001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130793608272936960,"km_value":130793608272936.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810940852536014848,"description":"Unknown IO ID 45"} 
[2026-09-10 17:20:13] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457994475008001,"power":13363,"ignition":8,"odometer":null,"unknown_45":8810940852536014848}} 
[2026-09-10 17:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:13] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:13] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:14] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b264c10012d7a644005e46ad00011007523..."} 
[2026-09-10 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b264c10012d7a644005e46ad00011007523..."} 
[2026-09-10 17:20:14] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b264c10012d7a644005e46ad00011007523..."} 
[2026-09-10 17:20:14] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:14] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":762995776,"raw_latitude":98855632,"longitude_deg":76.2995776,"latitude_deg":9.8855632,"altitude":17,"angle":117,"satellites":35,"speed":10,"hex_longitude":"2d7a6440","hex_latitude":"05e46ad0","is_valid_coordinates":true} 
[2026-09-10 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994479616001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130793634042740736,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818751783140288512,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:14] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-10 17:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789040938000,"timestamp_ms":1789040938000,"timestamp_seconds":1789040938,"priority":1,"record_length":96,"hex_timestamp":"000001a08b264c10"} 
[2026-09-10 17:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:20:14] 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-09-10 17:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994479616001,"66":13178,"24":10,"16":130793634042740736,"45":8818751783140288512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-10 17:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994479616001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130793634042740736,"km_value":130793634042740.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818751783140288512,"description":"Unknown IO ID 45"} 
[2026-09-10 17:20:14] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457994479616001,"power":13178,"ignition":10,"odometer":null,"unknown_45":8818751783140288512}} 
[2026-09-10 17:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:14] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:14] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:14] local.INFO: TCP Data received {"connection_id":179249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:14] local.INFO: Processing buffer {"connection_id":179249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:14] local.INFO: IMEI packet received {"connection_id":179249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":179249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:20:19] local.INFO: TCP Data received {"connection_id":179249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:19] local.INFO: Processing buffer {"connection_id":179249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:19] local.INFO: IMEI packet received {"connection_id":179249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":179249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:20:23] local.INFO: TCP Data received {"connection_id":179249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:23] local.INFO: Processing buffer {"connection_id":179249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:20:23] local.INFO: IMEI packet received {"connection_id":179249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":179249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:20:24] local.INFO: TCP Data received {"connection_id":179249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b267320012cdbbbc0073155a0001700992a..."} 
[2026-09-10 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b267320012cdbbbc0073155a0001700992a..."} 
[2026-09-10 17:20:24] local.INFO: Processing buffer {"connection_id":179249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b267320012cdbbbc0073155a0001700992a..."} 
[2026-09-10 17:20:24] local.INFO: Packet analysis {"connection_id":179249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:24] local.INFO: Extracted packet for processing {"connection_id":179249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":752597952,"raw_latitude":120673696,"longitude_deg":75.2597952,"latitude_deg":12.0673696,"altitude":23,"angle":153,"satellites":42,"speed":39,"hex_longitude":"2cdbbbc0","hex_latitude":"073155a0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994480384001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404421568064651264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2617646883770384384,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040948000,"timestamp_ms":1789040948000,"timestamp_seconds":1789040948,"priority":1,"record_length":96,"hex_timestamp":"000001a08b267320"} 
[2026-09-10 17:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994480384001,"66":27876,"144":206,"83":40960,"24":39,"16":404421568064651264,"44":-2617646883770384384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994480384001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404421568064651264,"km_value":404421568064651.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2617646883770384384,"description":"Unknown IO ID 44"} 
[2026-09-10 17:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994480384001,"power":27876,"unknown_144":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2617646883770384384}} 
[2026-09-10 17:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":179249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:24] local.INFO: GPS data processed {"connection_id":179249,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:24] local.INFO: Acknowledgment sent {"connection_id":179249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:24] local.INFO: TCP Data received {"connection_id":179249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b268e78012cdbc4c007313c10001800a62b..."} 
[2026-09-10 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b268e78012cdbc4c007313c10001800a62b..."} 
[2026-09-10 17:20:24] local.INFO: Processing buffer {"connection_id":179249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b268e78012cdbc4c007313c10001800a62b..."} 
[2026-09-10 17:20:24] local.INFO: Packet analysis {"connection_id":179249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:24] local.INFO: Extracted packet for processing {"connection_id":179249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":752600256,"raw_latitude":120667152,"longitude_deg":75.2600256,"latitude_deg":12.0667152,"altitude":24,"angle":166,"satellites":43,"speed":38,"hex_longitude":"2cdbc4c0","hex_latitude":"07313c10","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994482688001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404421903072100352,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2613284021633441792,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789040955000,"timestamp_ms":1789040955000,"timestamp_seconds":1789040955,"priority":1,"record_length":96,"hex_timestamp":"000001a08b268e78"} 
[2026-09-10 17:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:24] 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-09-10 17: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-09-10 17:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994482688001,"66":27821,"143":206,"83":40960,"24":38,"16":404421903072100352,"44":-2613284021633441792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-09-10 17:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994482688001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404421903072100352,"km_value":404421903072100.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2613284021633441792,"description":"Unknown IO ID 44"} 
[2026-09-10 17:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994482688001,"power":27821,"unknown_143":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2613284021633441792}} 
[2026-09-10 17:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":179249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:24] local.INFO: GPS data processed {"connection_id":179249,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:24] local.INFO: Acknowledgment sent {"connection_id":179249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:26] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:26] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:26] local.INFO: IMEI packet received {"connection_id":176704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":176704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:20:29] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:29] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:29] local.INFO: IMEI packet received {"connection_id":176704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":176704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:20:32] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:32] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:20:32] local.INFO: IMEI packet received {"connection_id":176704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":176704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:20:33] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b268a90012d181f800721a6d0004d00712b..."} 
[2026-09-10 17:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b268a90012d181f800721a6d0004d00712b..."} 
[2026-09-10 17:20:33] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b268a90012d181f800721a6d0004d00712b..."} 
[2026-09-10 17:20:33] local.INFO: Packet analysis {"connection_id":176704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:33] local.INFO: Extracted packet for processing {"connection_id":176704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645904,"longitude_deg":75.6555648,"latitude_deg":11.9645904,"altitude":77,"angle":113,"satellites":43,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721a6d0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994483456001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307385529040896,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096796672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789040954000,"timestamp_ms":1789040954000,"timestamp_seconds":1789040954,"priority":1,"record_length":96,"hex_timestamp":"000001a08b268a90"} 
[2026-09-10 17:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2334538864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2816475213,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080679,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2548432896,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,151,160,119,45,192,167,77,43,10,66,115,64,111,1,240,224,139,33,4,113,205,3,99,26,128,239,54,2,68,7],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-10 17:20:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548547075790602240,"timestamp_seconds":5548547075790602.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994483456001,"66":13363,"120":206,"28":31744,"24":6,"16":19307385529040896,"45":1737756168096796672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994483456001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:20:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307385529040896,"km_value":19307385529040.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096796672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994483456001,"power":13363,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1737756168096796672}} 
[2026-09-10 17:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":176704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:33] local.INFO: GPS data processed {"connection_id":176704,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:33] local.INFO: Acknowledgment sent {"connection_id":176704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:53] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:53] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:53] local.INFO: IMEI packet received {"connection_id":177881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":177881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:20:55] local.INFO: TCP Data received {"connection_id":179249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b26b588012cdbcb8007311888001900aa2c..."} 
[2026-09-10 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b26b588012cdbcb8007311888001900aa2c..."} 
[2026-09-10 17:20:55] local.INFO: Processing buffer {"connection_id":179249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b26b588012cdbcb8007311888001900aa2c..."} 
[2026-09-10 17:20:55] local.INFO: Packet analysis {"connection_id":179249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:55] local.INFO: Extracted packet for processing {"connection_id":179249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:55] local.INFO: GPS Element Parsed {"raw_longitude":752601984,"raw_latitude":120658056,"longitude_deg":75.2601984,"latitude_deg":12.0658056,"altitude":25,"angle":170,"satellites":44,"speed":37,"hex_longitude":"2cdbcb80","hex_latitude":"07311888","is_valid_coordinates":true} 
[2026-09-10 17:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994484480001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404422354043666432,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2610750746844721152,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789040965000,"timestamp_ms":1789040965000,"timestamp_seconds":1789040965,"priority":1,"record_length":96,"hex_timestamp":"000001a08b26b588"} 
[2026-09-10 17:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20: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-09-10 17:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994484480001,"66":27767,"143":206,"83":40960,"24":37,"16":404422354043666432,"44":-2610750746844721152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-09-10 17:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994484480001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:55] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-10 17:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404422354043666432,"km_value":404422354043666.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2610750746844721152,"description":"Unknown IO ID 44"} 
[2026-09-10 17:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994484480001,"power":27767,"unknown_143":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2610750746844721152}} 
[2026-09-10 17:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":179249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:55] local.INFO: GPS data processed {"connection_id":179249,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:55] local.INFO: Acknowledgment sent {"connection_id":179249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:20:56] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:56] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:20:56] local.INFO: IMEI packet received {"connection_id":177881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":177881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:20:57] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b265f98012d7a6b4005e465e80011008026..."} 
[2026-09-10 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b265f98012d7a6b4005e465e80011008026..."} 
[2026-09-10 17:20:57] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b265f98012d7a6b4005e465e80011008026..."} 
[2026-09-10 17:20:57] local.INFO: Packet analysis {"connection_id":177881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:57] local.INFO: Extracted packet for processing {"connection_id":177881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:20:57] local.INFO: GPS Element Parsed {"raw_longitude":762997568,"raw_latitude":98854376,"longitude_deg":76.2997568,"latitude_deg":9.8854376,"altitude":17,"angle":128,"satellites":38,"speed":25,"hex_longitude":"2d7a6b40","hex_latitude":"05e465e8","is_valid_coordinates":true} 
[2026-09-10 17:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994480128001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130793741416923136,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819244364349493248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:20:57] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-10 17:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789040943000,"timestamp_ms":1789040943000,"timestamp_seconds":1789040943,"priority":1,"record_length":96,"hex_timestamp":"000001a08b265f98"} 
[2026-09-10 17:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-10 17:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:20:57] 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-09-10 17:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994480128001,"66":13656,"24":25,"16":130793741416923136,"45":8819244364349493248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-10 17:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994480128001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130793741416923136,"km_value":130793741416923.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819244364349493248,"description":"Unknown IO ID 45"} 
[2026-09-10 17:20:57] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457994480128001,"power":13656,"ignition":25,"odometer":null,"unknown_45":8819244364349493248}} 
[2026-09-10 17:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":177881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:20:57] local.INFO: GPS data processed {"connection_id":177881,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:20:57] local.INFO: Acknowledgment sent {"connection_id":177881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:21:05] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b269260012d1820c00721a5f0004d007c2a..."} 
[2026-09-10 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b269260012d1820c00721a5f0004d007c2a..."} 
[2026-09-10 17:21:05] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b269260012d1820c00721a5f0004d007c2a..."} 
[2026-09-10 17:21:05] local.INFO: Packet analysis {"connection_id":176704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:21:05] local.INFO: Extracted packet for processing {"connection_id":176704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b26"} 
[2026-09-10 17:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645680,"longitude_deg":75.6555968,"latitude_deg":11.964568,"altitude":77,"angle":124,"satellites":42,"speed":9,"hex_longitude":"2d1820c0","hex_latitude":"0721a5f0","is_valid_coordinates":true} 
[2026-09-10 17:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994484224001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19307402708910080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306007552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21: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-09-10 17:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789040956000,"timestamp_ms":1789040956000,"timestamp_seconds":1789040956,"priority":1,"record_length":96,"hex_timestamp":"000001a08b269260"} 
[2026-09-10 17:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 17:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994484224001,"66":13254,"120":206,"28":31744,"24":9,"16":19307402708910080,"45":1738248749306007552},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 17:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994484224001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:21:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 17:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19307402708910080,"km_value":19307402708910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306007552,"description":"Unknown IO ID 45"} 
[2026-09-10 17:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994484224001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738248749306007552}} 
[2026-09-10 17:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":176704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:21:05] local.INFO: GPS data processed {"connection_id":176704,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:21:05] local.INFO: Acknowledgment sent {"connection_id":176704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:21:19] local.INFO: TCP Data received {"connection_id":179250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:21:19] local.INFO: Processing buffer {"connection_id":179250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:21:19] local.INFO: IMEI packet received {"connection_id":179250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":179250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:21:21] local.INFO: TCP Data received {"connection_id":179250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:21:21] local.INFO: Processing buffer {"connection_id":179250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:21:21] local.INFO: IMEI packet received {"connection_id":179250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":179250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:21:22] local.INFO: TCP Data received {"connection_id":179250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b27f1f0012cdc4740072fe5d0000700932c..."} 
[2026-09-10 17:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b27f1f0012cdc4740072fe5d0000700932c..."} 
[2026-09-10 17:21:22] local.INFO: Processing buffer {"connection_id":179250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b27f1f0012cdc4740072fe5d0000700932c..."} 
[2026-09-10 17:21:22] local.INFO: Packet analysis {"connection_id":179250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b27"} 
[2026-09-10 17:21:22] local.INFO: Extracted packet for processing {"connection_id":179250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b27"} 
[2026-09-10 17:21:22] local.INFO: GPS Element Parsed {"raw_longitude":752633664,"raw_latitude":120579536,"longitude_deg":75.2633664,"latitude_deg":12.0579536,"altitude":7,"angle":147,"satellites":44,"speed":41,"hex_longitude":"2cdc4740","hex_latitude":"072fe5d0","is_valid_coordinates":true} 
[2026-09-10 17:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994505728001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404426558816649216,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2579718130682746880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789041046000,"timestamp_ms":1789041046000,"timestamp_seconds":1789041046,"priority":1,"record_length":96,"hex_timestamp":"000001a08b27f1f0"} 
[2026-09-10 17:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:21: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-09-10 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 17:21: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-09-10 17:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":179250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":179250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":179250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994505728001,"66":27908,"95":206,"83":40960,"24":41,"16":404426558816649216,"44":-2579718130682746880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994505728001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:21:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404426558816649216,"km_value":404426558816649.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2579718130682746880,"description":"Unknown IO ID 44"} 
[2026-09-10 17:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994505728001,"power":27908,"unknown_95":206,"unknown_83":40960,"ignition":41,"odometer":null,"unknown_44":-2579718130682746880}} 
[2026-09-10 17:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":179250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:21:22] local.INFO: GPS data processed {"connection_id":179250,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:21:22] local.INFO: Acknowledgment sent {"connection_id":179250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:21:26] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:26] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:26] local.INFO: IMEI packet received {"connection_id":176705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":176705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:21:27] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:27] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:27] local.INFO: IMEI packet received {"connection_id":176705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":176705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:21:28] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:28] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:28] local.INFO: IMEI packet received {"connection_id":176705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":176705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:21:28] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b281130012d7afb0005e37020000100a427..."} 
[2026-09-10 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b281130012d7afb0005e37020000100a427..."} 
[2026-09-10 17:21:28] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b281130012d7afb0005e37020000100a427..."} 
[2026-09-10 17:21:28] local.INFO: Packet analysis {"connection_id":177881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:21:28] local.INFO: Extracted packet for processing {"connection_id":177881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763034368,"raw_latitude":98791456,"longitude_deg":76.3034368,"latitude_deg":9.8791456,"altitude":1,"angle":164,"satellites":39,"speed":19,"hex_longitude":"2d7afb00","hex_latitude":"05e37020","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994504704001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130797413613961216,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858791598563063808,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789041054000,"timestamp_ms":1789041054000,"timestamp_seconds":1789041054,"priority":1,"record_length":96,"hex_timestamp":"000001a08b281130"} 
[2026-09-10 17:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2915762176,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2334581864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3409865933198458880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959366183,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4246732804,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":173,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826705515000233,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825997824,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-4593665142585032699,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755571239878897,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:28] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,175,160,128,45,178,1,39,10,66,174,70,213,4,37,87,11,240,214,227,173,139,113,205,20,236,209,56,38,239,52,2,5,35,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-10 17:21:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":180487411662848,"timestamp_seconds":180487411662.848,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:21:28] 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-09-10 17:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994504704001,"66":13450,"208":206,"85":15104,"24":19,"16":130797413613961216,"45":8858791598563063808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 17:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994504704001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:21:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 17:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130797413613961216,"km_value":130797413613961.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858791598563063808,"description":"Unknown IO ID 45"} 
[2026-09-10 17:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994504704001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8858791598563063808}} 
[2026-09-10 17:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":177881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:21:28] local.INFO: GPS data processed {"connection_id":177881,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:21:28] local.INFO: Acknowledgment sent {"connection_id":177881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:21:32] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:32] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:21:32] local.INFO: IMEI packet received {"connection_id":176705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":176705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:21:33] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b27af88012d18acc007217130004a007b23..."} 
[2026-09-10 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b27af88012d18acc007217130004a007b23..."} 
[2026-09-10 17:21:33] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b27af88012d18acc007217130004a007b23..."} 
[2026-09-10 17:21:33] local.INFO: Packet analysis {"connection_id":176705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b27"} 
[2026-09-10 17:21:33] local.INFO: Extracted packet for processing {"connection_id":176705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b27"} 
[2026-09-10 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756591808,"raw_latitude":119632176,"longitude_deg":75.6591808,"latitude_deg":11.9632176,"altitude":74,"angle":123,"satellites":35,"speed":39,"hex_longitude":"2d18acc0","hex_latitude":"07217130","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994502400001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19309271019683840,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773714596368412672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789041029000,"timestamp_ms":1789041029000,"timestamp_seconds":1789041029,"priority":1,"record_length":96,"hex_timestamp":"000001a08b27af88"} 
[2026-09-10 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-09-10 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 17:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994502400001,"66":14189,"121":206,"28":31744,"24":39,"16":19309271019683840,"45":1773714596368412672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994502400001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:21:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19309271019683840,"km_value":19309271019683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773714596368412672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994502400001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1773714596368412672}} 
[2026-09-10 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":176705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:21:33] local.INFO: GPS data processed {"connection_id":176705,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:21:33] local.INFO: Acknowledgment sent {"connection_id":176705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:21:49] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:21:49] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:21:49] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:21:52] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:21:52] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:21:52] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:21:54] local.INFO: TCP Data received {"connection_id":179250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b281518012cdc5a40072fc888000700922c..."} 
[2026-09-10 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b281518012cdc5a40072fc888000700922c..."} 
[2026-09-10 17:21:54] local.INFO: Processing buffer {"connection_id":179250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b281518012cdc5a40072fc888000700922c..."} 
[2026-09-10 17:21:54] local.INFO: Packet analysis {"connection_id":179250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:21:54] local.INFO: Extracted packet for processing {"connection_id":179250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:21:54] local.INFO: GPS Element Parsed {"raw_longitude":752638528,"raw_latitude":120572040,"longitude_deg":75.2638528,"latitude_deg":12.057204,"altitude":7,"angle":146,"satellites":44,"speed":40,"hex_longitude":"2cdc5a40","hex_latitude":"072fc888","is_valid_coordinates":true} 
[2026-09-10 17:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994507776001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404426988313378816,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2574018262406410240,"note":"Value kept but may cause issues"} 
[2026-09-10 17:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789041055000,"timestamp_ms":1789041055000,"timestamp_seconds":1789041055,"priority":1,"record_length":96,"hex_timestamp":"000001a08b281518"} 
[2026-09-10 17:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994507776001,"66":27908,"95":206,"83":40960,"24":40,"16":404426988313378816,"44":-2574018262406410240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994507776001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:21:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404426988313378816,"km_value":404426988313378.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:21:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2574018262406410240,"description":"Unknown IO ID 44"} 
[2026-09-10 17:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994507776001,"power":27908,"unknown_95":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2574018262406410240}} 
[2026-09-10 17:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":179250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:21:54] local.INFO: GPS data processed {"connection_id":179250,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:21:54] local.INFO: Acknowledgment sent {"connection_id":179250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:22:00] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:00] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:00] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:22:01] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b284bc8012d7b080005e34e380003009d27..."} 
[2026-09-10 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b284bc8012d7b080005e34e380003009d27..."} 
[2026-09-10 17:22:01] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b284bc8012d7b080005e34e380003009d27..."} 
[2026-09-10 17:22:01] local.INFO: Packet analysis {"connection_id":176706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:01] local.INFO: Extracted packet for processing {"connection_id":176706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98782776,"longitude_deg":76.3037696,"latitude_deg":9.8782776,"altitude":3,"angle":157,"satellites":39,"speed":30,"hex_longitude":"2d7b0800","hex_latitude":"05e34e38","is_valid_coordinates":true} 
[2026-09-10 17:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994509824001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130797864585527296,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861676717072195584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22: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-09-10 17:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789041069000,"timestamp_ms":1789041069000,"timestamp_seconds":1789041069,"priority":1,"record_length":96,"hex_timestamp":"000001a08b284bc8"} 
[2026-09-10 17:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 17:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:22:01] 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-09-10 17:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994509824001,"66":13363,"208":206,"85":15104,"24":30,"16":130797864585527296,"45":8861676717072195584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 17:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994509824001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:22:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 17:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130797864585527296,"km_value":130797864585527.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861676717072195584,"description":"Unknown IO ID 45"} 
[2026-09-10 17:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994509824001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8861676717072195584}} 
[2026-09-10 17:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":176706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:22:01] local.INFO: GPS data processed {"connection_id":176706,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:22:01] local.INFO: Acknowledgment sent {"connection_id":176706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:22:05] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b286b08012d18f5c00720d850003a008a27..."} 
[2026-09-10 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b286b08012d18f5c00720d850003a008a27..."} 
[2026-09-10 17:22:05] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b286b08012d18f5c00720d850003a008a27..."} 
[2026-09-10 17:22:05] local.INFO: Packet analysis {"connection_id":176705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:05] local.INFO: Extracted packet for processing {"connection_id":176705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756610496,"raw_latitude":119593040,"longitude_deg":75.6610496,"latitude_deg":11.959304,"altitude":58,"angle":138,"satellites":39,"speed":43,"hex_longitude":"2d18f5c0","hex_latitude":"0720d850","is_valid_coordinates":true} 
[2026-09-10 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994514688001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19311435683201024,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795810382030721024,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22: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-09-10 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789041077000,"timestamp_ms":1789041077000,"timestamp_seconds":1789041077,"priority":1,"record_length":96,"hex_timestamp":"000001a08b286b08"} 
[2026-09-10 17:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 17:22: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-09-10 17:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994514688001,"66":14254,"121":206,"28":31744,"24":43,"16":19311435683201024,"45":1795810382030721024},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994514688001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:22:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19311435683201024,"km_value":19311435683201.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795810382030721024,"description":"Unknown IO ID 45"} 
[2026-09-10 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994514688001,"power":14254,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1795810382030721024}} 
[2026-09-10 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":176705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:22:05] local.INFO: GPS data processed {"connection_id":176705,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:22:05] local.INFO: Acknowledgment sent {"connection_id":176705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:22:19] local.INFO: TCP Data received {"connection_id":179251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:22:19] local.INFO: Processing buffer {"connection_id":179251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:22:19] local.INFO: IMEI packet received {"connection_id":179251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":179251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:22:25] local.INFO: TCP Data received {"connection_id":179251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:22:25] local.INFO: Processing buffer {"connection_id":179251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:22:25] local.INFO: IMEI packet received {"connection_id":179251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":179251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:22:26] local.INFO: TCP Data received {"connection_id":179251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b283458012cdc6f00072faf48000700862b..."} 
[2026-09-10 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b283458012cdc6f00072faf48000700862b..."} 
[2026-09-10 17:22:26] local.INFO: Processing buffer {"connection_id":179251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b283458012cdc6f00072faf48000700862b..."} 
[2026-09-10 17:22:26] local.INFO: Packet analysis {"connection_id":179251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:26] local.INFO: Extracted packet for processing {"connection_id":179251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":752643840,"raw_latitude":120565576,"longitude_deg":75.264384,"latitude_deg":12.0565576,"altitude":7,"angle":134,"satellites":43,"speed":40,"hex_longitude":"2cdc6f00","hex_latitude":"072faf48","is_valid_coordinates":true} 
[2026-09-10 17:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994510080001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404427392040304640,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2568670237850826752,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789041063000,"timestamp_ms":1789041063000,"timestamp_seconds":1789041063,"priority":1,"record_length":96,"hex_timestamp":"000001a08b283458"} 
[2026-09-10 17:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":179251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":179251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":179251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994510080001,"66":27843,"95":206,"83":40960,"24":40,"16":404427392040304640,"44":-2568670237850826752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994510080001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:22:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404427392040304640,"km_value":404427392040304.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2568670237850826752,"description":"Unknown IO ID 44"} 
[2026-09-10 17:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994510080001,"power":27843,"unknown_95":206,"unknown_83":40960,"ignition":40,"odometer":null,"unknown_44":-2568670237850826752}} 
[2026-09-10 17:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":179251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:22:26] local.INFO: GPS data processed {"connection_id":179251,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:22:26] local.INFO: Acknowledgment sent {"connection_id":179251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:22:30] local.INFO: TCP Data received {"connection_id":176486,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:30] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:30] local.INFO: IMEI packet received {"connection_id":176486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":176486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:22:31] local.INFO: TCP Data received {"connection_id":176486,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:31] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:31] local.INFO: IMEI packet received {"connection_id":176486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":176486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:22:33] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2876c0012d7b0c8005e33f20000200af1e..."} 
[2026-09-10 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2876c0012d7b0c8005e33f20000200af1e..."} 
[2026-09-10 17:22:33] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2876c0012d7b0c8005e33f20000200af1e..."} 
[2026-09-10 17:22:33] local.INFO: Packet analysis {"connection_id":176706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:33] local.INFO: Extracted packet for processing {"connection_id":176706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98778912,"longitude_deg":76.3038848,"latitude_deg":9.8778912,"altitude":2,"angle":175,"satellites":30,"speed":5,"hex_longitude":"2d7b0c80","hex_latitude":"05e33f20","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994513664001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130798066448990208,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891767212032,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22: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-09-10 17:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789041080000,"timestamp_ms":1789041080000,"timestamp_seconds":1789041080,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2876c0"} 
[2026-09-10 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-09-10 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 17:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:22:33] 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-09-10 17:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994513664001,"66":13178,"208":206,"85":15104,"24":5,"16":130798066448990208,"45":8865335891767212032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 17:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994513664001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:22:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 17:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130798066448990208,"km_value":130798066448990.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891767212032,"description":"Unknown IO ID 45"} 
[2026-09-10 17:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994513664001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8865335891767212032}} 
[2026-09-10 17:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":176706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:22:33] local.INFO: GPS data processed {"connection_id":176706,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:22:33] local.INFO: Acknowledgment sent {"connection_id":176706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:22:35] local.INFO: TCP Data received {"connection_id":176486,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:35] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:22:35] local.INFO: IMEI packet received {"connection_id":176486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":176486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:22:36] local.INFO: TCP Data received {"connection_id":176486,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2876c0012d18ffc00720d0780039007d27..."} 
[2026-09-10 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2876c0012d18ffc00720d0780039007d27..."} 
[2026-09-10 17:22:36] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2876c0012d18ffc00720d0780039007d27..."} 
[2026-09-10 17:22:36] local.INFO: Packet analysis {"connection_id":176486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:36] local.INFO: Extracted packet for processing {"connection_id":176486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756613056,"raw_latitude":119591032,"longitude_deg":75.6613056,"latitude_deg":11.9591032,"altitude":57,"angle":125,"satellites":39,"speed":42,"hex_longitude":"2d18ffc0","hex_latitude":"0720d078","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994515712001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19311590302023680,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798554763052732416,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22: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-09-10 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789041080000,"timestamp_ms":1789041080000,"timestamp_seconds":1789041080,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2876c0"} 
[2026-09-10 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-09-10 17:22: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-09-10 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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 17:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994515712001,"66":14233,"121":206,"28":31744,"24":42,"16":19311590302023680,"45":1798554763052732416},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994515712001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:22:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19311590302023680,"km_value":19311590302023.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798554763052732416,"description":"Unknown IO ID 45"} 
[2026-09-10 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994515712001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1798554763052732416}} 
[2026-09-10 17:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":176486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:22:36] local.INFO: GPS data processed {"connection_id":176486,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:22:36] local.INFO: Acknowledgment sent {"connection_id":176486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:22:53] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:53] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:53] local.INFO: IMEI packet received {"connection_id":176708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":176708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:22:57] local.INFO: TCP Data received {"connection_id":179251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b285780012cdc8b40072f9510000800852d..."} 
[2026-09-10 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b285780012cdc8b40072f9510000800852d..."} 
[2026-09-10 17:22:57] local.INFO: Processing buffer {"connection_id":179251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b285780012cdc8b40072f9510000800852d..."} 
[2026-09-10 17:22:57] local.INFO: Packet analysis {"connection_id":179251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:57] local.INFO: Extracted packet for processing {"connection_id":179251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":752651072,"raw_latitude":120558864,"longitude_deg":75.2651072,"latitude_deg":12.0558864,"altitude":8,"angle":133,"satellites":45,"speed":44,"hex_longitude":"2cdc8b40","hex_latitude":"072f9510","is_valid_coordinates":true} 
[2026-09-10 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994512128001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404427864486707200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2562829632085735424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789041072000,"timestamp_ms":1789041072000,"timestamp_seconds":1789041072,"priority":1,"record_length":96,"hex_timestamp":"000001a08b285780"} 
[2026-09-10 17:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994512128001,"66":27658,"95":206,"83":40960,"24":44,"16":404427864486707200,"44":-2562829632085735424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994512128001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:22:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404427864486707200,"km_value":404427864486707.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:22:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2562829632085735424,"description":"Unknown IO ID 44"} 
[2026-09-10 17:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994512128001,"power":27658,"unknown_95":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2562829632085735424}} 
[2026-09-10 17:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":179251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:22:57] local.INFO: GPS data processed {"connection_id":179251,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:22:57] local.INFO: Acknowledgment sent {"connection_id":179251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:22:57] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:57] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:22:57] local.INFO: IMEI packet received {"connection_id":176708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":176708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:22:58] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b28a5a0012d7b0c0005e33970000100bf1e..."} 
[2026-09-10 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b28a5a0012d7b0c0005e33970000100bf1e..."} 
[2026-09-10 17:22:58] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b28a5a0012d7b0c0005e33970000100bf1e..."} 
[2026-09-10 17:22:58] local.INFO: Packet analysis {"connection_id":176708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:58] local.INFO: Extracted packet for processing {"connection_id":176708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98777456,"longitude_deg":76.303872,"latitude_deg":9.8777456,"altitude":1,"angle":191,"satellites":30,"speed":9,"hex_longitude":"2d7b0c00","hex_latitude":"05e33970","is_valid_coordinates":true} 
[2026-09-10 17:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994516480001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130798143758401536,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529161420800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041092000,"timestamp_ms":1789041092000,"timestamp_seconds":1789041092,"priority":1,"record_length":96,"hex_timestamp":"000001a08b28a5a0"} 
[2026-09-10 17:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-10 17:22: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-09-10 17:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:22:58] 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-09-10 17:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994516480001,"66":13352,"208":206,"85":15104,"24":9,"16":130798143758401536,"45":8866602529161420800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 17:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994516480001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:22:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 17:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130798143758401536,"km_value":130798143758401.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529161420800,"description":"Unknown IO ID 45"} 
[2026-09-10 17:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994516480001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866602529161420800}} 
[2026-09-10 17:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":176708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:22:58] local.INFO: GPS data processed {"connection_id":176708,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:22:58] local.INFO: Acknowledgment sent {"connection_id":176708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:07] local.INFO: TCP Data received {"connection_id":176486,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2974a8012d19bb800720a600003400bb23..."} 
[2026-09-10 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2974a8012d19bb800720a600003400bb23..."} 
[2026-09-10 17:23:07] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2974a8012d19bb800720a600003400bb23..."} 
[2026-09-10 17:23:07] local.INFO: Packet analysis {"connection_id":176486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:07] local.INFO: Extracted packet for processing {"connection_id":176486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119580160,"longitude_deg":75.666112,"latitude_deg":11.958016,"altitude":52,"angle":187,"satellites":35,"speed":2,"hex_longitude":"2d19bb80","hex_latitude":"0720a600","is_valid_coordinates":true} 
[2026-09-10 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994529792001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19314047023316992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182353408,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23: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-09-10 17:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789041145000,"timestamp_ms":1789041145000,"timestamp_seconds":1789041145,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2974a8"} 
[2026-09-10 17:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 17:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994529792001,"66":14265,"121":206,"28":31744,"24":2,"16":19314047023316992,"45":1854357177182353408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994529792001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19314047023316992,"km_value":19314047023316.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182353408,"description":"Unknown IO ID 45"} 
[2026-09-10 17:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994529792001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1854357177182353408}} 
[2026-09-10 17:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":176486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:08] local.INFO: GPS data processed {"connection_id":176486,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:08] local.INFO: Acknowledgment sent {"connection_id":176486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:18] local.INFO: TCP Data received {"connection_id":179252,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:23:18] local.INFO: Processing buffer {"connection_id":179252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:23:18] local.INFO: IMEI packet received {"connection_id":179252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":179252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:23:27] local.INFO: TCP Data received {"connection_id":177882,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:27] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:27] local.INFO: IMEI packet received {"connection_id":177882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":177882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:23:27] local.INFO: TCP Data received {"connection_id":177882,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:27] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:27] local.INFO: IMEI packet received {"connection_id":177882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":177882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:23:29] local.INFO: TCP Data received {"connection_id":179252,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:23:29] local.INFO: Processing buffer {"connection_id":179252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:23:29] local.INFO: IMEI packet received {"connection_id":179252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":179252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:23:29] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b28e420012d7b0d4005e32bd8000100b123..."} 
[2026-09-10 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b28e420012d7b0d4005e32bd8000100b123..."} 
[2026-09-10 17:23:29] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b28e420012d7b0d4005e32bd8000100b123..."} 
[2026-09-10 17:23:29] local.INFO: Packet analysis {"connection_id":176708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:23:29] local.INFO: Extracted packet for processing {"connection_id":176708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98773976,"longitude_deg":76.303904,"latitude_deg":9.8773976,"altitude":1,"angle":177,"satellites":35,"speed":5,"hex_longitude":"2d7b0d40","hex_latitude":"05e32bd8","is_valid_coordinates":true} 
[2026-09-10 17:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994519552001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130798319852060672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791672692736,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23: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-09-10 17:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041108000,"timestamp_ms":1789041108000,"timestamp_seconds":1789041108,"priority":1,"record_length":96,"hex_timestamp":"000001a08b28e420"} 
[2026-09-10 17:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-10 17:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:23:29] 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-09-10 17:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994519552001,"66":13450,"208":206,"85":15104,"24":5,"16":130798319852060672,"45":8866461791672692736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 17:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994519552001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 17:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130798319852060672,"km_value":130798319852060.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791672692736,"description":"Unknown IO ID 45"} 
[2026-09-10 17:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994519552001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866461791672692736}} 
[2026-09-10 17:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":176708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:29] local.INFO: GPS data processed {"connection_id":176708,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:29] local.INFO: Acknowledgment sent {"connection_id":176708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:31] local.INFO: TCP Data received {"connection_id":179252,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b29b710012cdcb9c0072e8cc8001900cc2b..."} 
[2026-09-10 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b29b710012cdcb9c0072e8cc8001900cc2b..."} 
[2026-09-10 17:23:31] local.INFO: Processing buffer {"connection_id":179252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b29b710012cdcb9c0072e8cc8001900cc2b..."} 
[2026-09-10 17:23:31] local.INFO: Packet analysis {"connection_id":179252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:31] local.INFO: Extracted packet for processing {"connection_id":179252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":752662976,"raw_latitude":120491208,"longitude_deg":75.2662976,"latitude_deg":12.0491208,"altitude":25,"angle":204,"satellites":43,"speed":45,"hex_longitude":"2cdcb9c0","hex_latitude":"072e8cc8","is_valid_coordinates":true} 
[2026-09-10 17:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994535424001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404431493734072320,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2537496884198766592,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789041162000,"timestamp_ms":1789041162000,"timestamp_seconds":1789041162,"priority":1,"record_length":96,"hex_timestamp":"000001a08b29b710"} 
[2026-09-10 17:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 17:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994535424001,"66":27658,"94":206,"83":40960,"24":45,"16":404431493734072320,"44":-2537496884198766592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-10 17:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994535424001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-10 17:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404431493734072320,"km_value":404431493734072.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2537496884198766592,"description":"Unknown IO ID 44"} 
[2026-09-10 17:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994535424001,"power":27658,"unknown_94":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2537496884198766592}} 
[2026-09-10 17:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":179252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:31] local.INFO: GPS data processed {"connection_id":179252,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:31] local.INFO: Acknowledgment sent {"connection_id":179252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:31] local.INFO: TCP Data received {"connection_id":177882,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:31] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:23:31] local.INFO: IMEI packet received {"connection_id":177882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":177882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:23:32] local.INFO: TCP Data received {"connection_id":179252,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b29d650012cdcaac0072e6ad0001200c62c..."} 
[2026-09-10 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b29d650012cdcaac0072e6ad0001200c62c..."} 
[2026-09-10 17:23:32] local.INFO: Processing buffer {"connection_id":179252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b29d650012cdcaac0072e6ad0001200c62c..."} 
[2026-09-10 17:23:32] local.INFO: Packet analysis {"connection_id":179252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:32] local.INFO: Extracted packet for processing {"connection_id":179252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":752659136,"raw_latitude":120482512,"longitude_deg":75.2659136,"latitude_deg":12.0482512,"altitude":18,"angle":198,"satellites":44,"speed":50,"hex_longitude":"2cdcaac0","hex_latitude":"072e6ad0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994537472001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404431953295572992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2541789377595652096,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789041170000,"timestamp_ms":1789041170000,"timestamp_seconds":1789041170,"priority":1,"record_length":96,"hex_timestamp":"000001a08b29d650"} 
[2026-09-10 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-09-10 17: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-09-10 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 17:23: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-09-10 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-09-10 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-09-10 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994537472001,"66":27908,"94":206,"83":40960,"24":50,"16":404431953295572992,"44":-2541789377595652096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-10 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994537472001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-10 17:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404431953295572992,"km_value":404431953295573.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2541789377595652096,"description":"Unknown IO ID 44"} 
[2026-09-10 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994537472001,"power":27908,"unknown_94":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2541789377595652096}} 
[2026-09-10 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":179252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:32] local.INFO: GPS data processed {"connection_id":179252,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:32] local.INFO: Acknowledgment sent {"connection_id":179252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:33] local.INFO: TCP Data received {"connection_id":177882,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b297890012d19bb000720a578003400cb23..."} 
[2026-09-10 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b297890012d19bb000720a578003400cb23..."} 
[2026-09-10 17:23:33] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b297890012d19bb000720a578003400cb23..."} 
[2026-09-10 17:23:33] local.INFO: Packet analysis {"connection_id":177882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:33] local.INFO: Extracted packet for processing {"connection_id":177882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119580024,"longitude_deg":75.6660992,"latitude_deg":11.9580024,"altitude":52,"angle":203,"satellites":35,"speed":4,"hex_longitude":"2d19bb00","hex_latitude":"0720a578","is_valid_coordinates":true} 
[2026-09-10 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994533120001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19314059908218880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693967360,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789041146000,"timestamp_ms":1789041146000,"timestamp_seconds":1789041146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b297890"} 
[2026-09-10 17:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 17:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994533120001,"66":14265,"121":206,"28":31744,"24":4,"16":19314059908218880,"45":1854216439693967360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994533120001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:23:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19314059908218880,"km_value":19314059908218.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693967360,"description":"Unknown IO ID 45"} 
[2026-09-10 17:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994533120001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1854216439693967360}} 
[2026-09-10 17:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":177882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:33] local.INFO: GPS data processed {"connection_id":177882,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:33] local.INFO: Acknowledgment sent {"connection_id":177882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:37] local.INFO: TCP Data received {"connection_id":177882,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b298448012d19ba000720a388003400d624..."} 
[2026-09-10 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b298448012d19ba000720a388003400d624..."} 
[2026-09-10 17:23:37] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b298448012d19ba000720a388003400d624..."} 
[2026-09-10 17:23:37] local.INFO: Packet analysis {"connection_id":177882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:37] local.INFO: Extracted packet for processing {"connection_id":177882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119579528,"longitude_deg":75.6660736,"latitude_deg":11.9579528,"altitude":52,"angle":214,"satellites":36,"speed":7,"hex_longitude":"2d19ba00","hex_latitude":"0720a388","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994533376001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19314085678022656,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205577216,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23: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-09-10 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789041149000,"timestamp_ms":1789041149000,"timestamp_seconds":1789041149,"priority":1,"record_length":96,"hex_timestamp":"000001a08b298448"} 
[2026-09-10 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-09-10 17:23: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-09-10 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 17:23: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-09-10 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-09-10 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-09-10 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994533376001,"66":14211,"121":206,"28":31744,"24":7,"16":19314085678022656,"45":1854075702205577216},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994533376001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19314085678022656,"km_value":19314085678022.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205577216,"description":"Unknown IO ID 45"} 
[2026-09-10 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994533376001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1854075702205577216}} 
[2026-09-10 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":177882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:37] local.INFO: GPS data processed {"connection_id":177882,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:37] local.INFO: Acknowledgment sent {"connection_id":177882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:39] local.INFO: TCP Data received {"connection_id":177883,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:23:39] local.INFO: Processing buffer {"connection_id":177883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:23:39] local.INFO: IMEI packet received {"connection_id":177883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":177883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:23:52] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:52] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:52] local.INFO: IMEI packet received {"connection_id":177884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":177884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:23:54] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:54] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:54] local.INFO: IMEI packet received {"connection_id":177884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":177884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:23:57] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:57] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:23:57] local.INFO: IMEI packet received {"connection_id":177884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":177884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:23:57] local.INFO: TCP Data received {"connection_id":177883,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:23:57] local.INFO: Processing buffer {"connection_id":177883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:23:57] local.INFO: IMEI packet received {"connection_id":177883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 17:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":177883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:23:58] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b293240012d7b0d8005e31df8000000b01f..."} 
[2026-09-10 17:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b293240012d7b0d8005e31df8000000b01f..."} 
[2026-09-10 17:23:58] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b293240012d7b0d8005e31df8000000b01f..."} 
[2026-09-10 17:23:58] local.INFO: Packet analysis {"connection_id":177884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:58] local.INFO: Extracted packet for processing {"connection_id":177884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98770424,"longitude_deg":76.3039104,"latitude_deg":9.8770424,"altitude":0,"angle":176,"satellites":31,"speed":10,"hex_longitude":"2d7b0d80","hex_latitude":"05e31df8","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994523648001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130798491650752512,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635392690176,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041128000,"timestamp_ms":1789041128000,"timestamp_seconds":1789041128,"priority":1,"record_length":96,"hex_timestamp":"000001a08b293240"} 
[2026-09-10 17:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 17:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:23:58] 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-09-10 17:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994523648001,"66":13037,"208":206,"85":15104,"24":10,"16":130798491650752512,"45":8866813635392690176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 17:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994523648001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130798491650752512,"km_value":130798491650752.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635392690176,"description":"Unknown IO ID 45"} 
[2026-09-10 17:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994523648001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866813635392690176}} 
[2026-09-10 17:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":177884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:58] local.INFO: GPS data processed {"connection_id":177884,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:58] local.INFO: Acknowledgment sent {"connection_id":177884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:23:59] local.INFO: TCP Data received {"connection_id":177883,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2824b8012c867c40081487d0000a00b22c..."} 
[2026-09-10 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2824b8012c867c40081487d0000a00b22c..."} 
[2026-09-10 17:23:59] local.INFO: Processing buffer {"connection_id":177883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2824b8012c867c40081487d0000a00b22c..."} 
[2026-09-10 17:23:59] local.INFO: Packet analysis {"connection_id":177883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:23:59] local.INFO: Extracted packet for processing {"connection_id":177883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b28"} 
[2026-09-10 17:23:59] local.INFO: GPS Element Parsed {"raw_longitude":747011136,"raw_latitude":135563216,"longitude_deg":74.7011136,"latitude_deg":13.5563216,"altitude":10,"angle":178,"satellites":44,"speed":54,"hex_longitude":"2c867c40","hex_latitude":"081487d0","is_valid_coordinates":true} 
[2026-09-10 17:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:23:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,13,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 17:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789041059000,"timestamp_ms":1789041059000,"timestamp_seconds":1789041059,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2824b8"} 
[2026-09-10 17:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:23: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:23: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":113,"data_length":795,"current_offset":136} 
[2026-09-10 17:23:59] 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-09-10 17:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 17:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 17:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"109":206,"13":1280,"24":54,"16":3893920429768704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,13,24,16]} 
[2026-09-10 17:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 17:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 17:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 17:23:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 17:23:59] local.INFO: Unknown IO ID detected {"io_id":13,"value":1280,"description":"Unknown IO ID 13"} 
[2026-09-10 17:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:23:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_109":206,"unknown_13":1280,"ignition":54,"odometer":null}} 
[2026-09-10 17:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":177883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:23:59] local.INFO: GPS data processed {"connection_id":177883,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:23:59] local.INFO: Acknowledgment sent {"connection_id":177883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:04] local.INFO: TCP Data received {"connection_id":179252,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b29f1a8012cdca180072e47c0000b00bb2b..."} 
[2026-09-10 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b29f1a8012cdca180072e47c0000b00bb2b..."} 
[2026-09-10 17:24:04] local.INFO: Processing buffer {"connection_id":179252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b29f1a8012cdca180072e47c0000b00bb2b..."} 
[2026-09-10 17:24:04] local.INFO: Packet analysis {"connection_id":179252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:24:04] local.INFO: Extracted packet for processing {"connection_id":179252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":752656768,"raw_latitude":120473536,"longitude_deg":75.2656768,"latitude_deg":12.0473536,"altitude":11,"angle":187,"satellites":43,"speed":55,"hex_longitude":"2cdca180","hex_latitude":"072e47c0","is_valid_coordinates":true} 
[2026-09-10 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994539520001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404432404267139072,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546011502248538112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789041177000,"timestamp_ms":1789041177000,"timestamp_seconds":1789041177,"priority":1,"record_length":96,"hex_timestamp":"000001a08b29f1a8"} 
[2026-09-10 17:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17: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-09-10 17:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:24: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-09-10 17:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994539520001,"66":27843,"94":206,"83":40960,"24":55,"16":404432404267139072,"44":-2546011502248538112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-10 17:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994539520001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404432404267139072,"km_value":404432404267139.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546011502248538112,"description":"Unknown IO ID 44"} 
[2026-09-10 17:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994539520001,"power":27843,"unknown_94":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2546011502248538112}} 
[2026-09-10 17:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":179252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:04] local.INFO: GPS data processed {"connection_id":179252,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:04] local.INFO: Acknowledgment sent {"connection_id":179252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:09] local.INFO: TCP Data received {"connection_id":177882,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b29af40012d19ae0007209238003300c923..."} 
[2026-09-10 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b29af40012d19ae0007209238003300c923..."} 
[2026-09-10 17:24:09] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b29af40012d19ae0007209238003300c923..."} 
[2026-09-10 17:24:09] local.INFO: Packet analysis {"connection_id":177882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:24:09] local.INFO: Extracted packet for processing {"connection_id":177882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119575096,"longitude_deg":75.6657664,"latitude_deg":11.9575096,"altitude":51,"angle":201,"satellites":35,"speed":28,"hex_longitude":"2d19ae00","hex_latitude":"07209238","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994534144001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19314347671027712,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228739584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24: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-09-10 17:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789041160000,"timestamp_ms":1789041160000,"timestamp_seconds":1789041160,"priority":1,"record_length":96,"hex_timestamp":"000001a08b29af40"} 
[2026-09-10 17:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24: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-09-10 17: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 17:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994534144001,"66":14461,"121":206,"28":31744,"24":28,"16":19314347671027712,"45":1853794227228739584},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994534144001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19314347671027712,"km_value":19314347671027.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228739584,"description":"Unknown IO ID 45"} 
[2026-09-10 17:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994534144001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1853794227228739584}} 
[2026-09-10 17:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":177882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:09] local.INFO: GPS data processed {"connection_id":177882,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:09] local.INFO: Acknowledgment sent {"connection_id":177882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:18] local.INFO: TCP Data received {"connection_id":176488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:24:18] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:24:18] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:24:24] local.INFO: TCP Data received {"connection_id":176488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:24:24] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:24:24] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:24:25] local.INFO: TCP Data received {"connection_id":176488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2a0d00012cdc9f40072e22d8000a00ba2e..."} 
[2026-09-10 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2a0d00012cdc9f40072e22d8000a00ba2e..."} 
[2026-09-10 17:24:25] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2a0d00012cdc9f40072e22d8000a00ba2e..."} 
[2026-09-10 17:24:25] local.INFO: Packet analysis {"connection_id":176488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2a"} 
[2026-09-10 17:24:25] local.INFO: Extracted packet for processing {"connection_id":176488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2a"} 
[2026-09-10 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":752656192,"raw_latitude":120464088,"longitude_deg":75.2656192,"latitude_deg":12.0464088,"altitude":10,"angle":186,"satellites":46,"speed":50,"hex_longitude":"2cdc9f40","hex_latitude":"072e22d8","is_valid_coordinates":true} 
[2026-09-10 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994541312001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404432859533672448,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2548615145785409536,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789041184000,"timestamp_ms":1789041184000,"timestamp_seconds":1789041184,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2a0d00"} 
[2026-09-10 17:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994541312001,"66":27821,"94":206,"83":40960,"24":50,"16":404432859533672448,"44":-2548615145785409536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-10 17:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994541312001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-10 17:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404432859533672448,"km_value":404432859533672.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2548615145785409536,"description":"Unknown IO ID 44"} 
[2026-09-10 17:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994541312001,"power":27821,"unknown_94":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2548615145785409536}} 
[2026-09-10 17:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":176488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:25] local.INFO: GPS data processed {"connection_id":176488,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:25] local.INFO: Acknowledgment sent {"connection_id":176488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:26] local.INFO: TCP Data received {"connection_id":176709,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:26] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:26] local.INFO: IMEI packet received {"connection_id":176709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":176709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:24:29] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2974a8012d7b128005e2f968000000ae1e..."} 
[2026-09-10 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2974a8012d7b128005e2f968000000ae1e..."} 
[2026-09-10 17:24:29] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2974a8012d7b128005e2f968000000ae1e..."} 
[2026-09-10 17:24:29] local.INFO: Packet analysis {"connection_id":177884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:24:29] local.INFO: Extracted packet for processing {"connection_id":177884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b29"} 
[2026-09-10 17:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763040384,"raw_latitude":98761064,"longitude_deg":76.3040384,"latitude_deg":9.8761064,"altitude":0,"angle":174,"satellites":30,"speed":25,"hex_longitude":"2d7b1280","hex_latitude":"05e2f968","is_valid_coordinates":true} 
[2026-09-10 17:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994528768001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130798951212253184,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004135958528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24: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-09-10 17:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041145000,"timestamp_ms":1789041145000,"timestamp_seconds":1789041145,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2974a8"} 
[2026-09-10 17:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-10 17:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:24:29] 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-09-10 17:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994528768001,"66":13048,"208":206,"85":15104,"24":25,"16":130798951212253184,"45":8866884004135958528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 17:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994528768001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 17:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130798951212253184,"km_value":130798951212253.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004135958528,"description":"Unknown IO ID 45"} 
[2026-09-10 17:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994528768001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8866884004135958528}} 
[2026-09-10 17:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":177884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:29] local.INFO: GPS data processed {"connection_id":177884,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:29] local.INFO: Acknowledgment sent {"connection_id":177884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:39] local.INFO: TCP Data received {"connection_id":179253,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:24:39] local.INFO: Processing buffer {"connection_id":179253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:24:39] local.INFO: IMEI packet received {"connection_id":179253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":179253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:24:47] local.INFO: TCP Data received {"connection_id":176709,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:47] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:47] local.INFO: IMEI packet received {"connection_id":176709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":176709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:24:49] local.INFO: TCP Data received {"connection_id":176709,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:49] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:24:49] local.INFO: IMEI packet received {"connection_id":176709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":176709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:24:51] local.INFO: TCP Data received {"connection_id":176709,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2aa170012d19e00007200948003000bd29..."} 
[2026-09-10 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2aa170012d19e00007200948003000bd29..."} 
[2026-09-10 17:24:51] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2aa170012d19e00007200948003000bd29..."} 
[2026-09-10 17:24:51] local.INFO: Packet analysis {"connection_id":176709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2a"} 
[2026-09-10 17:24:51] local.INFO: Extracted packet for processing {"connection_id":176709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2a"} 
[2026-09-10 17:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756670464,"raw_latitude":119540040,"longitude_deg":75.6670464,"latitude_deg":11.954004,"altitude":48,"angle":189,"satellites":41,"speed":4,"hex_longitude":"2d19e000","hex_latitude":"07200948","is_valid_coordinates":true} 
[2026-09-10 17:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994552576001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19316237456637952,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864560645077850112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24: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-09-10 17:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789041222000,"timestamp_ms":1789041222000,"timestamp_seconds":1789041222,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2aa170"} 
[2026-09-10 17:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24: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-09-10 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 17:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994552576001,"66":13972,"121":206,"28":31744,"24":4,"16":19316237456637952,"45":1864560645077850112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994552576001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19316237456637952,"km_value":19316237456637.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864560645077850112,"description":"Unknown IO ID 45"} 
[2026-09-10 17:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994552576001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1864560645077850112}} 
[2026-09-10 17:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":176709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:51] local.INFO: GPS data processed {"connection_id":176709,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:51] local.INFO: Acknowledgment sent {"connection_id":176709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:52] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:52] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:52] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:24:53] local.INFO: TCP Data received {"connection_id":176709,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2aa558012d19dfc0072008a8003000c829..."} 
[2026-09-10 17:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2aa558012d19dfc0072008a8003000c829..."} 
[2026-09-10 17:24:53] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2aa558012d19dfc0072008a8003000c829..."} 
[2026-09-10 17:24:53] local.INFO: Packet analysis {"connection_id":176709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2a"} 
[2026-09-10 17:24:53] local.INFO: Extracted packet for processing {"connection_id":176709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2a"} 
[2026-09-10 17:24:53] local.INFO: GPS Element Parsed {"raw_longitude":756670400,"raw_latitude":119539880,"longitude_deg":75.66704,"latitude_deg":11.953988,"altitude":48,"angle":200,"satellites":41,"speed":5,"hex_longitude":"2d19dfc0","hex_latitude":"072008a8","is_valid_coordinates":true} 
[2026-09-10 17:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994552832001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19316246046572544,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864490276333635584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789041223000,"timestamp_ms":1789041223000,"timestamp_seconds":1789041223,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2aa558"} 
[2026-09-10 17:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 17:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994552832001,"66":13972,"121":206,"28":31744,"24":5,"16":19316246046572544,"45":1864490276333635584},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994552832001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:24:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19316246046572544,"km_value":19316246046572.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864490276333635584,"description":"Unknown IO ID 45"} 
[2026-09-10 17:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994552832001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1864490276333635584}} 
[2026-09-10 17:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":176709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:53] local.INFO: GPS data processed {"connection_id":176709,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:53] local.INFO: Acknowledgment sent {"connection_id":176709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:54] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:54] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:54] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:24:55] local.INFO: TCP Data received {"connection_id":176488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2b3db0012cdca300072cb398001a00c72c..."} 
[2026-09-10 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2b3db0012cdca300072cb398001a00c72c..."} 
[2026-09-10 17:24:55] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2b3db0012cdca300072cb398001a00c72c..."} 
[2026-09-10 17:24:55] local.INFO: Packet analysis {"connection_id":176488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:24:55] local.INFO: Extracted packet for processing {"connection_id":176488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":752657152,"raw_latitude":120370072,"longitude_deg":75.2657152,"latitude_deg":12.0370072,"altitude":26,"angle":199,"satellites":44,"speed":37,"hex_longitude":"2cdca300","hex_latitude":"072cb398","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994562304001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404437450853711872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2547418877160155136,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789041262000,"timestamp_ms":1789041262000,"timestamp_seconds":1789041262,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2b3db0"} 
[2026-09-10 17:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24: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-09-10 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994562304001,"66":27767,"28":206,"83":40960,"24":37,"16":404437450853711872,"44":-2547418877160155136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 17:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994562304001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 17:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404437450853711872,"km_value":404437450853711.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2547418877160155136,"description":"Unknown IO ID 44"} 
[2026-09-10 17:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994562304001,"power":27767,"unknown_28":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2547418877160155136}} 
[2026-09-10 17:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":176488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:55] local.INFO: GPS data processed {"connection_id":176488,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:55] local.INFO: Acknowledgment sent {"connection_id":176488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:24:57] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:57] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:24:57] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:24:58] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2b6c90012d7b424005e1b048000b007622..."} 
[2026-09-10 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2b6c90012d7b424005e1b048000b007622..."} 
[2026-09-10 17:24:58] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2b6c90012d7b424005e1b048000b007622..."} 
[2026-09-10 17:24:58] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:24:58] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98676808,"longitude_deg":76.3052608,"latitude_deg":9.8676808,"altitude":11,"angle":118,"satellites":34,"speed":8,"hex_longitude":"2d7b4240","hex_latitude":"05e1b048","is_valid_coordinates":true} 
[2026-09-10 17:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994565120001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130803104445628416,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881098490435989504,"note":"Value kept but may cause issues"} 
[2026-09-10 17:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041274000,"timestamp_ms":1789041274000,"timestamp_seconds":1789041274,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2b6c90"} 
[2026-09-10 17:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 17:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:24:58] 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-09-10 17:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994565120001,"66":12689,"207":206,"85":15104,"24":8,"16":130803104445628416,"45":8881098490435989504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 17:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994565120001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:24:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 17:24:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130803104445628416,"km_value":130803104445628.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881098490435989504,"description":"Unknown IO ID 45"} 
[2026-09-10 17:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994565120001,"power":12689,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8881098490435989504}} 
[2026-09-10 17:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:24:58] local.INFO: GPS data processed {"connection_id":176489,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:24:58] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:25:26] local.INFO: TCP Data received {"connection_id":179254,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:25:26] local.INFO: Processing buffer {"connection_id":179254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:25:26] local.INFO: IMEI packet received {"connection_id":179254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":179254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:25:29] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2b7460012d7b440005e1afa0000b006620..."} 
[2026-09-10 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2b7460012d7b440005e1afa0000b006620..."} 
[2026-09-10 17:25:29] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2b7460012d7b440005e1afa0000b006620..."} 
[2026-09-10 17:25:29] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:25:29] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763053056,"raw_latitude":98676640,"longitude_deg":76.3053056,"latitude_deg":9.867664,"altitude":11,"angle":102,"satellites":32,"speed":11,"hex_longitude":"2d7b4400","hex_latitude":"05e1afa0","is_valid_coordinates":true} 
[2026-09-10 17:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994566144001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130803125920464896,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809133479936,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041276000,"timestamp_ms":1789041276000,"timestamp_seconds":1789041276,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2b7460"} 
[2026-09-10 17:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:25: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-09-10 17:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 17:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:25:29] 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-09-10 17:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994566144001,"66":13450,"207":206,"85":15104,"24":11,"16":130803125920464896,"45":8881731809133479936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 17:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994566144001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:25:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 17:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130803125920464896,"km_value":130803125920464.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809133479936,"description":"Unknown IO ID 45"} 
[2026-09-10 17:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994566144001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8881731809133479936}} 
[2026-09-10 17:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:25:29] local.INFO: GPS data processed {"connection_id":176489,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:25:29] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:25:30] local.INFO: TCP Data received {"connection_id":179254,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:25:30] local.INFO: Processing buffer {"connection_id":179254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:25:30] local.INFO: IMEI packet received {"connection_id":179254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":179254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:25:32] local.INFO: TCP Data received {"connection_id":179254,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2b7078012d19a440071ff1580037010b25..."} 
[2026-09-10 17:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2b7078012d19a440071ff1580037010b25..."} 
[2026-09-10 17:25:32] local.INFO: Processing buffer {"connection_id":179254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2b7078012d19a440071ff1580037010b25..."} 
[2026-09-10 17:25:32] local.INFO: Packet analysis {"connection_id":179254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:25:32] local.INFO: Extracted packet for processing {"connection_id":179254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119533912,"longitude_deg":75.6655168,"latitude_deg":11.9533912,"altitude":55,"angle":267,"satellites":37,"speed":11,"hex_longitude":"2d19a440","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-09-10 17:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994565120001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19317105040031744,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790008053760,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789041275000,"timestamp_ms":1789041275000,"timestamp_seconds":1789041275,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2b7078"} 
[2026-09-10 17:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503608233099264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399850247670784,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2334855864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4084727858,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1074208759,"corrected_to":0} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197868007,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2689662976,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3459095577768232735,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.WARNING: Large IO value detected {"io_id":253,"raw_value":53880132599822,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,160,57,45,192,240,50,35,10,66,46,34,38,128,1,5,139,31,4,113,205,13,22,64,239,55,2,68,7,49,255,253],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1074208759,"validated":0}]} 
[2026-09-10 17:25:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819363800421236736,"timestamp_seconds":3819363800421236.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994565120001,"66":13961,"121":206,"28":31744,"24":11,"16":19317105040031744,"45":1850275790008053760},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994565120001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:25:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19317105040031744,"km_value":19317105040031.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790008053760,"description":"Unknown IO ID 45"} 
[2026-09-10 17:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994565120001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1850275790008053760}} 
[2026-09-10 17:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":179254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:25:32] local.INFO: GPS data processed {"connection_id":179254,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:25:32] local.INFO: Acknowledgment sent {"connection_id":179254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:25:52] local.INFO: TCP Data received {"connection_id":179256,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:25:52] local.INFO: Processing buffer {"connection_id":179256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:25:52] local.INFO: IMEI packet received {"connection_id":179256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":179256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:25:53] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:53] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:53] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:25:54] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:54] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:54] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:25:57] local.INFO: TCP Data received {"connection_id":179256,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:25:57] local.INFO: Processing buffer {"connection_id":179256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:25:57] local.INFO: IMEI packet received {"connection_id":179256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":179256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:25:58] local.INFO: TCP Data received {"connection_id":179256,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2b8018012d7b48c005e1af80000c004f21..."} 
[2026-09-10 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2b8018012d7b48c005e1af80000c004f21..."} 
[2026-09-10 17:25:58] local.INFO: Processing buffer {"connection_id":179256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2b8018012d7b48c005e1af80000c004f21..."} 
[2026-09-10 17:25:58] local.INFO: Packet analysis {"connection_id":179256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:25:58] local.INFO: Extracted packet for processing {"connection_id":179256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":98676608,"longitude_deg":76.3054272,"latitude_deg":9.8676608,"altitude":12,"angle":79,"satellites":33,"speed":17,"hex_longitude":"2d7b48c0","hex_latitude":"05e1af80","is_valid_coordinates":true} 
[2026-09-10 17:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994566656001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130803186050007040,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882224390342680576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041279000,"timestamp_ms":1789041279000,"timestamp_seconds":1789041279,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2b8018"} 
[2026-09-10 17:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 17:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:25:58] 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-09-10 17:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994566656001,"66":13417,"207":206,"85":15104,"24":17,"16":130803186050007040,"45":8882224390342680576},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 17:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994566656001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:25:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 17:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130803186050007040,"km_value":130803186050007.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882224390342680576,"description":"Unknown IO ID 45"} 
[2026-09-10 17:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994566656001,"power":13417,"unknown_207":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8882224390342680576}} 
[2026-09-10 17:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":179256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:25:58] local.INFO: GPS data processed {"connection_id":179256,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:25:58] local.INFO: Acknowledgment sent {"connection_id":179256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:25:59] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:59] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:25:59] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:26:00] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2b64c0012cdc96c0072c91f0001c00c72a..."} 
[2026-09-10 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2b64c0012cdc96c0072c91f0001c00c72a..."} 
[2026-09-10 17:26:00] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2b64c0012cdc96c0072c91f0001c00c72a..."} 
[2026-09-10 17:26:00] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:26:00] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:26:00] local.INFO: GPS Element Parsed {"raw_longitude":752654016,"raw_latitude":120361456,"longitude_deg":75.2654016,"latitude_deg":12.0361456,"altitude":28,"angle":199,"satellites":42,"speed":36,"hex_longitude":"2cdc96c0","hex_latitude":"072c91f0","is_valid_coordinates":true} 
[2026-09-10 17:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994563072001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404437893235343360,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2548192933346830336,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789041272000,"timestamp_ms":1789041272000,"timestamp_seconds":1789041272,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2b64c0"} 
[2026-09-10 17:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17: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-09-10 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 17:26: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-09-10 17:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994563072001,"66":27821,"28":206,"83":40960,"24":36,"16":404437893235343360,"44":-2548192933346830336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-10 17:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994563072001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-10 17:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404437893235343360,"km_value":404437893235343.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2548192933346830336,"description":"Unknown IO ID 44"} 
[2026-09-10 17:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994563072001,"power":27821,"unknown_28":206,"unknown_83":40960,"ignition":36,"odometer":null,"unknown_44":-2548192933346830336}} 
[2026-09-10 17:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:26:00] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:26:00] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:26:03] local.INFO: TCP Data received {"connection_id":179254,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2b7460012d19a380071ff0f8003700fb25..."} 
[2026-09-10 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2b7460012d19a380071ff0f8003700fb25..."} 
[2026-09-10 17:26:03] local.INFO: Processing buffer {"connection_id":179254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2b7460012d19a380071ff0f8003700fb25..."} 
[2026-09-10 17:26:03] local.INFO: Packet analysis {"connection_id":179254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:26:03] local.INFO: Extracted packet for processing {"connection_id":179254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119533816,"longitude_deg":75.6654976,"latitude_deg":11.9533816,"altitude":55,"angle":251,"satellites":37,"speed":10,"hex_longitude":"2d19a380","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-10 17:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994566400001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19317117924933632,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146473605120,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789041276000,"timestamp_ms":1789041276000,"timestamp_seconds":1789041276,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2b7460"} 
[2026-09-10 17:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 17:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994566400001,"66":13798,"121":206,"28":31744,"24":10,"16":19317117924933632,"45":1847672146473605120},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994566400001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:26:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19317117924933632,"km_value":19317117924933.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146473605120,"description":"Unknown IO ID 45"} 
[2026-09-10 17:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994566400001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1847672146473605120}} 
[2026-09-10 17:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":179254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:26:03] local.INFO: GPS data processed {"connection_id":179254,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:26:03] local.INFO: Acknowledgment sent {"connection_id":179254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:26:23] local.INFO: TCP Data received {"connection_id":179257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:23] local.INFO: Processing buffer {"connection_id":179257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:23] local.INFO: IMEI packet received {"connection_id":179257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":179257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:26:24] local.INFO: TCP Data received {"connection_id":179257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:24] local.INFO: Processing buffer {"connection_id":179257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:24] local.INFO: IMEI packet received {"connection_id":179257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":179257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:26:24] local.INFO: TCP Data received {"connection_id":177885,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:24] local.INFO: Processing buffer {"connection_id":177885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:24] local.INFO: IMEI packet received {"connection_id":177885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":177885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:26:26] local.INFO: TCP Data received {"connection_id":177885,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:26] local.INFO: Processing buffer {"connection_id":177885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:26] local.INFO: IMEI packet received {"connection_id":177885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":177885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:26:29] local.INFO: TCP Data received {"connection_id":179256,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2bb6c8012d7b668005e1b2b80009005a20..."} 
[2026-09-10 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2bb6c8012d7b668005e1b2b80009005a20..."} 
[2026-09-10 17:26:29] local.INFO: Processing buffer {"connection_id":179256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2bb6c8012d7b668005e1b2b80009005a20..."} 
[2026-09-10 17:26:29] local.INFO: Packet analysis {"connection_id":179256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:26:29] local.INFO: Extracted packet for processing {"connection_id":179256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2b"} 
[2026-09-10 17:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763061888,"raw_latitude":98677432,"longitude_deg":76.3061888,"latitude_deg":9.8677432,"altitude":9,"angle":90,"satellites":32,"speed":18,"hex_longitude":"2d7b6680","hex_latitude":"05e1b2b8","is_valid_coordinates":true} 
[2026-09-10 17:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994567424001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883561396482048000,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130803555417194496,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 17:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041293000,"timestamp_ms":1789041293000,"timestamp_seconds":1789041293,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2bb6c8"} 
[2026-09-10 17:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-10 17:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:26:29] 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-09-10 17:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994567424001,"66":13722,"45":8883561396482048000,"85":15104,"24":18,"16":130803555417194496},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-10 17:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994567424001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883561396482048000,"description":"Unknown IO ID 45"} 
[2026-09-10 17:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130803555417194496,"km_value":130803555417194.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:26:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457994567424001,"power":13722,"unknown_45":8883561396482048000,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-09-10 17:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":179256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:26:29] local.INFO: GPS data processed {"connection_id":179256,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:26:29] local.INFO: Acknowledgment sent {"connection_id":179256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:26:29] local.INFO: TCP Data received {"connection_id":179257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:29] local.INFO: Processing buffer {"connection_id":179257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:26:29] local.INFO: IMEI packet received {"connection_id":179257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":179257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:26:30] local.INFO: TCP Data received {"connection_id":179257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2ca8f8012cdcb280072bc0d0001900b02a..."} 
[2026-09-10 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2ca8f8012cdcb280072bc0d0001900b02a..."} 
[2026-09-10 17:26:30] local.INFO: Processing buffer {"connection_id":179257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2ca8f8012cdcb280072bc0d0001900b02a..."} 
[2026-09-10 17:26:30] local.INFO: Packet analysis {"connection_id":179257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:26:30] local.INFO: Extracted packet for processing {"connection_id":179257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":752661120,"raw_latitude":120307920,"longitude_deg":75.266112,"latitude_deg":12.030792,"altitude":25,"angle":176,"satellites":42,"speed":12,"hex_longitude":"2cdcb280","hex_latitude":"072bc0d0","is_valid_coordinates":true} 
[2026-09-10 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994583040001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404440715028856832,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543196752525092864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789041355000,"timestamp_ms":1789041355000,"timestamp_seconds":1789041355,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2ca8f8"} 
[2026-09-10 17:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 17:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994583040001,"66":27832,"224":206,"83":40960,"24":12,"16":404440715028856832,"44":-2543196752525092864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-10 17:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994583040001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:26:30] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 17:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404440715028856832,"km_value":404440715028856.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543196752525092864,"description":"Unknown IO ID 44"} 
[2026-09-10 17:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994583040001,"power":27832,"unknown_224":206,"unknown_83":40960,"ignition":12,"odometer":null,"unknown_44":-2543196752525092864}} 
[2026-09-10 17:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":179257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:26:30] local.INFO: GPS data processed {"connection_id":179257,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:26:30] local.INFO: Acknowledgment sent {"connection_id":179257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:26:32] local.INFO: TCP Data received {"connection_id":177885,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:32] local.INFO: Processing buffer {"connection_id":177885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:26:32] local.INFO: IMEI packet received {"connection_id":177885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":177885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:26:33] local.INFO: TCP Data received {"connection_id":177885,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2c5308012d195180071ff510003f014526..."} 
[2026-09-10 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2c5308012d195180071ff510003f014526..."} 
[2026-09-10 17:26:33] local.INFO: Processing buffer {"connection_id":177885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2c5308012d195180071ff510003f014526..."} 
[2026-09-10 17:26:33] local.INFO: Packet analysis {"connection_id":177885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:26:33] local.INFO: Extracted packet for processing {"connection_id":177885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119534864,"longitude_deg":75.6633984,"latitude_deg":11.9534864,"altitude":63,"angle":325,"satellites":38,"speed":18,"hex_longitude":"2d195180","hex_latitude":"071ff510","is_valid_coordinates":true} 
[2026-09-10 17:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994580736001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19318165896953856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517081008128,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789041333000,"timestamp_ms":1789041333000,"timestamp_seconds":1789041333,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2c5308"} 
[2026-09-10 17:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-10 17:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994580736001,"66":14265,"121":206,"28":31744,"24":18,"16":19318165896953856,"45":1825224517081008128},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994580736001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:26:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19318165896953856,"km_value":19318165896953.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517081008128,"description":"Unknown IO ID 45"} 
[2026-09-10 17:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994580736001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1825224517081008128}} 
[2026-09-10 17:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":177885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:26:34] local.INFO: GPS data processed {"connection_id":177885,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:26:34] local.INFO: Acknowledgment sent {"connection_id":177885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:26:52] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:52] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:52] local.INFO: IMEI packet received {"connection_id":176711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":176711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:26:53] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:53] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:53] local.INFO: IMEI packet received {"connection_id":176711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":176711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:26:57] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:57] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:26:57] local.INFO: IMEI packet received {"connection_id":176711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":176711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:26:58] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d02d0012d7bf90005e1d8180008005924..."} 
[2026-09-10 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d02d0012d7bf90005e1d8180008005924..."} 
[2026-09-10 17:26:58] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d02d0012d7bf90005e1d8180008005924..."} 
[2026-09-10 17:26:58] local.INFO: Packet analysis {"connection_id":176711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:26:58] local.INFO: Extracted packet for processing {"connection_id":176711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763099392,"raw_latitude":98687000,"longitude_deg":76.3099392,"latitude_deg":9.8687,"altitude":8,"angle":89,"satellites":36,"speed":22,"hex_longitude":"2d7bf900","hex_latitude":"05e1d818","is_valid_coordinates":true} 
[2026-09-10 17:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994590208001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925641905503176704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130805488152477696,"note":"Value kept but may cause issues"} 
[2026-09-10 17:26:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 17:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041378000,"timestamp_ms":1789041378000,"timestamp_seconds":1789041378,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d02d0"} 
[2026-09-10 17:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-10 17:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:26:58] 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-09-10 17:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994590208001,"66":12852,"45":8925641905503176704,"85":15104,"24":22,"16":130805488152477696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-10 17:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994590208001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925641905503176704,"description":"Unknown IO ID 45"} 
[2026-09-10 17:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130805488152477696,"km_value":130805488152477.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:26:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457994590208001,"power":12852,"unknown_45":8925641905503176704,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-09-10 17:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":176711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:26:58] local.INFO: GPS data processed {"connection_id":176711,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:26:58] local.INFO: Acknowledgment sent {"connection_id":176711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:00] local.INFO: TCP Data received {"connection_id":179257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2ccc20012cdcb240072bb6a0001700c12a..."} 
[2026-09-10 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2ccc20012cdcb240072bb6a0001700c12a..."} 
[2026-09-10 17:27:00] local.INFO: Processing buffer {"connection_id":179257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2ccc20012cdcb240072bb6a0001700c12a..."} 
[2026-09-10 17:27:00] local.INFO: Packet analysis {"connection_id":179257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:27:00] local.INFO: Extracted packet for processing {"connection_id":179257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:27:00] local.INFO: GPS Element Parsed {"raw_longitude":752661056,"raw_latitude":120305312,"longitude_deg":75.2661056,"latitude_deg":12.0305312,"altitude":23,"angle":193,"satellites":42,"speed":20,"hex_longitude":"2cdcb240","hex_latitude":"072bb6a0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994586880001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404440843877875712,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543830071223726080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789041364000,"timestamp_ms":1789041364000,"timestamp_seconds":1789041364,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2ccc20"} 
[2026-09-10 17:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 17:27: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-09-10 17: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-09-10 17:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994586880001,"66":27745,"224":206,"83":40960,"24":20,"16":404440843877875712,"44":-2543830071223726080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-10 17:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994586880001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:27:00] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 17:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404440843877875712,"km_value":404440843877875.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543830071223726080,"description":"Unknown IO ID 44"} 
[2026-09-10 17:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994586880001,"power":27745,"unknown_224":206,"unknown_83":40960,"ignition":20,"odometer":null,"unknown_44":-2543830071223726080}} 
[2026-09-10 17:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":179257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:27:00] local.INFO: GPS data processed {"connection_id":179257,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:27:00] local.INFO: Acknowledgment sent {"connection_id":179257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:05] local.INFO: TCP Data received {"connection_id":177885,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d02d0012d19140007200d60003a015524..."} 
[2026-09-10 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d02d0012d19140007200d60003a015524..."} 
[2026-09-10 17:27:05] local.INFO: Processing buffer {"connection_id":177885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d02d0012d19140007200d60003a015524..."} 
[2026-09-10 17:27:05] local.INFO: Packet analysis {"connection_id":177885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:05] local.INFO: Extracted packet for processing {"connection_id":177885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119541088,"longitude_deg":75.661824,"latitude_deg":11.9541088,"altitude":58,"angle":341,"satellites":36,"speed":16,"hex_longitude":"2d191400","hex_latitude":"07200d60","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994592512001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19319085019955200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807280487317370880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27: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-09-10 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789041378000,"timestamp_ms":1789041378000,"timestamp_seconds":1789041378,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d02d0"} 
[2026-09-10 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-09-10 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2334968864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":6145,"corrected_to":0} 
[2026-09-10 17:27:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3221692426,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:05] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2724528128,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,162,160,251,45,128,10,58,35,66,247,223,192,1,240,169,139,32,4,113,205,13,208,37,80,34,239,54,2,68,7,52,8],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":247,"original":6145,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 17:27:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179700153416810496,"timestamp_seconds":4179700153416810.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994592512001,"66":13993,"121":206,"28":31744,"24":16,"16":19319085019955200,"45":1807280487317370880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994592512001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:27:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19319085019955200,"km_value":19319085019955.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807280487317370880,"description":"Unknown IO ID 45"} 
[2026-09-10 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994592512001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1807280487317370880}} 
[2026-09-10 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":177885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:27:05] local.INFO: GPS data processed {"connection_id":177885,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:27:05] local.INFO: Acknowledgment sent {"connection_id":177885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:18] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:27:18] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:27:18] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:27:23] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:27:23] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:27:23] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:27:24] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2cdbc0012cdcb080072bad58001800b32c..."} 
[2026-09-10 17:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2cdbc0012cdcb080072bad58001800b32c..."} 
[2026-09-10 17:27:24] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2cdbc0012cdcb080072bad58001800b32c..."} 
[2026-09-10 17:27:24] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:27:24] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2c"} 
[2026-09-10 17:27:24] local.INFO: GPS Element Parsed {"raw_longitude":752660608,"raw_latitude":120302936,"longitude_deg":75.2660608,"latitude_deg":12.0302936,"altitude":24,"angle":179,"satellites":44,"speed":24,"hex_longitude":"2cdcb080","hex_latitude":"072bad58","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994589184001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404440964136960000,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543900439968571392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789041368000,"timestamp_ms":1789041368000,"timestamp_seconds":1789041368,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2cdbc0"} 
[2026-09-10 17:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 17:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994589184001,"66":27800,"224":206,"83":40960,"24":24,"16":404440964136960000,"44":-2543900439968571392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-10 17:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994589184001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:27:24] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 17:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404440964136960000,"km_value":404440964136960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543900439968571392,"description":"Unknown IO ID 44"} 
[2026-09-10 17:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994589184001,"power":27800,"unknown_224":206,"unknown_83":40960,"ignition":24,"odometer":null,"unknown_44":-2543900439968571392}} 
[2026-09-10 17:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:27:24] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:27:24] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:29] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2df118012d7c608005e211d0000a003924..."} 
[2026-09-10 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2df118012d7c608005e211d0000a003924..."} 
[2026-09-10 17:27:29] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2df118012d7c608005e211d0000a003924..."} 
[2026-09-10 17:27:29] local.INFO: Packet analysis {"connection_id":176711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:29] local.INFO: Extracted packet for processing {"connection_id":176711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763125888,"raw_latitude":98701776,"longitude_deg":76.3125888,"latitude_deg":9.8701776,"altitude":10,"angle":57,"satellites":36,"speed":24,"hex_longitude":"2d7c6080","hex_latitude":"05e211d0","is_valid_coordinates":true} 
[2026-09-10 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994608128001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130807085880311808,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961741071269787648,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041439000,"timestamp_ms":1789041439000,"timestamp_seconds":1789041439,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2df118"} 
[2026-09-10 17:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 17:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:27:29] 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-09-10 17:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994608128001,"66":13243,"43":206,"85":15104,"24":24,"16":130807085880311808,"45":8961741071269787648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994608128001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130807085880311808,"km_value":130807085880311.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961741071269787648,"description":"Unknown IO ID 45"} 
[2026-09-10 17:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994608128001,"power":13243,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8961741071269787648}} 
[2026-09-10 17:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":176711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:27:29] local.INFO: GPS data processed {"connection_id":176711,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:27:29] local.INFO: Acknowledgment sent {"connection_id":176711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:32] local.INFO: TCP Data received {"connection_id":176491,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:32] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:32] local.INFO: IMEI packet received {"connection_id":176491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":176491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:27:32] local.INFO: TCP Data received {"connection_id":176491,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:32] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:32] local.INFO: IMEI packet received {"connection_id":176491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":176491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:27:36] local.INFO: TCP Data received {"connection_id":176491,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:36] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:27:36] local.INFO: IMEI packet received {"connection_id":176491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":176491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:27:38] local.INFO: TCP Data received {"connection_id":176491,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d1a40012d1910c0072015e0003a014228..."} 
[2026-09-10 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d1a40012d1910c0072015e0003a014228..."} 
[2026-09-10 17:27:38] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d1a40012d1910c0072015e0003a014228..."} 
[2026-09-10 17:27:38] local.INFO: Packet analysis {"connection_id":176491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:38] local.INFO: Extracted packet for processing {"connection_id":176491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756617408,"raw_latitude":119543264,"longitude_deg":75.6617408,"latitude_deg":11.9543264,"altitude":58,"angle":322,"satellites":40,"speed":15,"hex_longitude":"2d1910c0","hex_latitude":"072015e0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994592768001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19319200984072192,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381084930048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27: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-09-10 17:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789041384000,"timestamp_ms":1789041384000,"timestamp_seconds":1789041384,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d1a40"} 
[2026-09-10 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-09-10 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 17:27: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-09-10 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-09-10 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-09-10 17:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994592768001,"66":13993,"121":206,"28":31744,"24":15,"16":19319200984072192,"45":1807069381084930048},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994592768001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:27:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19319200984072192,"km_value":19319200984072.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381084930048,"description":"Unknown IO ID 45"} 
[2026-09-10 17:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994592768001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1807069381084930048}} 
[2026-09-10 17:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":176491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:27:38] local.INFO: GPS data processed {"connection_id":176491,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:27:38] local.INFO: Acknowledgment sent {"connection_id":176491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:43] local.INFO: TCP Data received {"connection_id":176491,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d1e28012d190fc0072016d0003a013127..."} 
[2026-09-10 17:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d1e28012d190fc0072016d0003a013127..."} 
[2026-09-10 17:27:43] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d1e28012d190fc0072016d0003a013127..."} 
[2026-09-10 17:27:43] local.INFO: Packet analysis {"connection_id":176491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:43] local.INFO: Extracted packet for processing {"connection_id":176491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:43] local.INFO: GPS Element Parsed {"raw_longitude":756617152,"raw_latitude":119543504,"longitude_deg":75.6617152,"latitude_deg":11.9543504,"altitude":58,"angle":305,"satellites":39,"speed":14,"hex_longitude":"2d190fc0","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-09-10 17:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994594304001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19319218163941376,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806154587411177472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27: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-09-10 17:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789041385000,"timestamp_ms":1789041385000,"timestamp_seconds":1789041385,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d1e28"} 
[2026-09-10 17:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:27: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-09-10 17:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 17:27: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-09-10 17:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994594304001,"66":13993,"121":206,"28":31744,"24":14,"16":19319218163941376,"45":1806154587411177472},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994594304001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:27:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19319218163941376,"km_value":19319218163941.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806154587411177472,"description":"Unknown IO ID 45"} 
[2026-09-10 17:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994594304001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1806154587411177472}} 
[2026-09-10 17:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":176491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:27:43] local.INFO: GPS data processed {"connection_id":176491,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:27:43] local.INFO: Acknowledgment sent {"connection_id":176491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:55] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d06b8012cdcaec0072b91d8001300bf29..."} 
[2026-09-10 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d06b8012cdcaec0072b91d8001300bf29..."} 
[2026-09-10 17:27:55] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d06b8012cdcaec0072b91d8001300bf29..."} 
[2026-09-10 17:27:55] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:55] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:27:55] local.INFO: GPS Element Parsed {"raw_longitude":752660160,"raw_latitude":120295896,"longitude_deg":75.266016,"latitude_deg":12.0295896,"altitude":19,"angle":191,"satellites":41,"speed":16,"hex_longitude":"2cdcaec0","hex_latitude":"072b91d8","is_valid_coordinates":true} 
[2026-09-10 17:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994590208001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404441303439376384,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544393021178423296,"note":"Value kept but may cause issues"} 
[2026-09-10 17:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789041379000,"timestamp_ms":1789041379000,"timestamp_seconds":1789041379,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d06b8"} 
[2026-09-10 17:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:27: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-09-10 17:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994590208001,"66":27745,"224":206,"83":40960,"24":16,"16":404441303439376384,"44":-2544393021178423296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-10 17:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994590208001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:27:55] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 17:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404441303439376384,"km_value":404441303439376.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:27:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544393021178423296,"description":"Unknown IO ID 44"} 
[2026-09-10 17:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994590208001,"power":27745,"unknown_224":206,"unknown_83":40960,"ignition":16,"odometer":null,"unknown_44":-2544393021178423296}} 
[2026-09-10 17:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:27:55] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:27:55] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:27:57] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:27:57] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:27:57] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:28:03] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:03] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:03] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:28:03] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2df8e8012d7c658005e213480009004e21..."} 
[2026-09-10 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2df8e8012d7c658005e213480009004e21..."} 
[2026-09-10 17:28:03] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2df8e8012d7c658005e213480009004e21..."} 
[2026-09-10 17:28:03] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:28:03] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763127168,"raw_latitude":98702152,"longitude_deg":76.3127168,"latitude_deg":9.8702152,"altitude":9,"angle":78,"satellites":33,"speed":25,"hex_longitude":"2d7c6580","hex_latitude":"05e21348","is_valid_coordinates":true} 
[2026-09-10 17:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994608384001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130807150304821248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962304021223297024,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789041441000,"timestamp_ms":1789041441000,"timestamp_seconds":1789041441,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2df8e8"} 
[2026-09-10 17:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 17:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28:03] 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-09-10 17:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994608384001,"66":13374,"43":206,"85":15104,"24":25,"16":130807150304821248,"45":8962304021223297024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994608384001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:28:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130807150304821248,"km_value":130807150304821.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962304021223297024,"description":"Unknown IO ID 45"} 
[2026-09-10 17:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994608384001,"power":13374,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8962304021223297024}} 
[2026-09-10 17:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:28:03] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:28:03] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:28:06] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2e00b8012d7c6a4005e213180009005c1f..."} 
[2026-09-10 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2e00b8012d7c6a4005e213180009005c1f..."} 
[2026-09-10 17:28:06] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2e00b8012d7c6a4005e213180009005c1f..."} 
[2026-09-10 17:28:06] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:06] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763128384,"raw_latitude":98702104,"longitude_deg":76.3128384,"latitude_deg":9.8702104,"altitude":9,"angle":92,"satellites":31,"speed":25,"hex_longitude":"2d7c6a40","hex_latitude":"05e21318","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994608896001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130807206139396096,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963711396106946560,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789041443000,"timestamp_ms":1789041443000,"timestamp_seconds":1789041443,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2e00b8"} 
[2026-09-10 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-09-10 17:28: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-09-10 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28:06] 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-09-10 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994608896001,"66":13276,"43":206,"85":15104,"24":25,"16":130807206139396096,"45":8963711396106946560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994608896001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:28:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130807206139396096,"km_value":130807206139396.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963711396106946560,"description":"Unknown IO ID 45"} 
[2026-09-10 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994608896001,"power":13276,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8963711396106946560}} 
[2026-09-10 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:28:06] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:28:06] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:28:18] local.INFO: TCP Data received {"connection_id":179258,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:28:18] local.INFO: Processing buffer {"connection_id":179258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:28:18] local.INFO: IMEI packet received {"connection_id":179258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":179258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:28:22] local.INFO: TCP Data received {"connection_id":176714,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:22] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:22] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:28:24] local.INFO: TCP Data received {"connection_id":179258,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:28:24] local.INFO: Processing buffer {"connection_id":179258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:28:24] local.INFO: IMEI packet received {"connection_id":179258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":179258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:28:25] local.INFO: TCP Data received {"connection_id":179258,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d3980012cdcaa40072b6f70000c00b62c..."} 
[2026-09-10 17:28:25] local.INFO: TCP Data received {"connection_id":176714,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d3980012cdcaa40072b6f70000c00b62c..."} 
[2026-09-10 17:28:25] local.INFO: Processing buffer {"connection_id":179258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d3980012cdcaa40072b6f70000c00b62c..."} 
[2026-09-10 17:28:25] local.INFO: Packet analysis {"connection_id":179258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:28:25] local.INFO: Extracted packet for processing {"connection_id":179258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:28:25] local.INFO: GPS Element Parsed {"raw_longitude":752659008,"raw_latitude":120287088,"longitude_deg":75.2659008,"latitude_deg":12.0287088,"altitude":12,"angle":182,"satellites":44,"speed":33,"hex_longitude":"2cdcaa40","hex_latitude":"072b6f70","is_valid_coordinates":true} 
[2026-09-10 17:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994593024001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404441737231073280,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544885602389469184,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789041392000,"timestamp_ms":1789041392000,"timestamp_seconds":1789041392,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d3980"} 
[2026-09-10 17:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 17:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:25] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:28:25] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994593024001,"66":27919,"225":206,"83":40960,"24":33,"16":404441737231073280,"44":-2544885602389469184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-10 17:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994593024001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:28:25] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 17:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404441737231073280,"km_value":404441737231073.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544885602389469184,"description":"Unknown IO ID 44"} 
[2026-09-10 17:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994593024001,"power":27919,"unknown_225":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2544885602389469184}} 
[2026-09-10 17:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":179258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:28:25] local.INFO: GPS data processed {"connection_id":179258,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:28:25] local.INFO: Acknowledgment sent {"connection_id":179258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:28:26] local.INFO: TCP Data received {"connection_id":176714,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:26] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:26] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:28:29] local.INFO: TCP Data received {"connection_id":176714,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:29] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:28:29] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:28:29] local.INFO: TCP Data received {"connection_id":176714,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2e3f38012d18cf80071ff6e0003000b227..."} 
[2026-09-10 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2e3f38012d18cf80071ff6e0003000b227..."} 
[2026-09-10 17:28:29] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2e3f38012d18cf80071ff6e0003000b227..."} 
[2026-09-10 17:28:29] local.INFO: Packet analysis {"connection_id":176714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:29] local.INFO: Extracted packet for processing {"connection_id":176714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756600704,"raw_latitude":119535328,"longitude_deg":75.6600704,"latitude_deg":11.9535328,"altitude":48,"angle":178,"satellites":39,"speed":15,"hex_longitude":"2d18cf80","hex_latitude":"071ff6e0","is_valid_coordinates":true} 
[2026-09-10 17:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994611712001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19320386395045888,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787506870202624000,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041459000,"timestamp_ms":1789041459000,"timestamp_seconds":1789041459,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2e3f38"} 
[2026-09-10 17:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":16045229656248832,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503894424158208,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2335033864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144025063,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2740518912,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84751471887196185,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:29] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,163,160,12,45,192,7,49,37,10,66,35,64,1,240,218,139,32,4,113,205,17,221,216,8,239,52,2,68,14,206,112],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 17:28:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458948299766431744,"timestamp_seconds":3458948299766431.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994611712001,"66":14363,"121":206,"28":31744,"24":15,"16":19320386395045888,"45":1787506870202624000},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994611712001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:28:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:28:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19320386395045888,"km_value":19320386395045.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787506870202624000,"description":"Unknown IO ID 45"} 
[2026-09-10 17:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994611712001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1787506870202624000}} 
[2026-09-10 17:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":176714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:28:29] local.INFO: GPS data processed {"connection_id":176714,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:28:29] local.INFO: Acknowledgment sent {"connection_id":176714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:28:37] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2e1c10012d7c7e0005e210000008006823..."} 
[2026-09-10 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2e1c10012d7c7e0005e210000008006823..."} 
[2026-09-10 17:28:37] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2e1c10012d7c7e0005e210000008006823..."} 
[2026-09-10 17:28:37] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:37] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763133440,"raw_latitude":98701312,"longitude_deg":76.313344,"latitude_deg":9.8701312,"altitude":8,"angle":104,"satellites":35,"speed":24,"hex_longitude":"2d7c7e00","hex_latitude":"05e21000","is_valid_coordinates":true} 
[2026-09-10 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994609408001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130807455247499264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965048402246309888,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28: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-09-10 17:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789041450000,"timestamp_ms":1789041450000,"timestamp_seconds":1789041450,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2e1c10"} 
[2026-09-10 17:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:28: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-09-10 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 17:28: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-09-10 17:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28: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-09-10 17:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994609408001,"66":13472,"43":206,"85":15104,"24":24,"16":130807455247499264,"45":8965048402246309888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994609408001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:28:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130807455247499264,"km_value":130807455247499.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965048402246309888,"description":"Unknown IO ID 45"} 
[2026-09-10 17:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994609408001,"power":13472,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8965048402246309888}} 
[2026-09-10 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:28:37] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:28:37] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:28:52] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:52] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:52] local.INFO: IMEI packet received {"connection_id":177886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":177886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:28:53] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:53] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:53] local.INFO: IMEI packet received {"connection_id":177886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":177886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:28:56] local.INFO: TCP Data received {"connection_id":179258,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d83b8012cdca8c0072b4c68000900be2d..."} 
[2026-09-10 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d83b8012cdca8c0072b4c68000900be2d..."} 
[2026-09-10 17:28:56] local.INFO: Processing buffer {"connection_id":179258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d83b8012cdca8c0072b4c68000900be2d..."} 
[2026-09-10 17:28:56] local.INFO: Packet analysis {"connection_id":179258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:28:56] local.INFO: Extracted packet for processing {"connection_id":179258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":752658624,"raw_latitude":120278120,"longitude_deg":75.2658624,"latitude_deg":12.027812,"altitude":9,"angle":190,"satellites":45,"speed":14,"hex_longitude":"2cdca8c0","hex_latitude":"072b4c68","is_valid_coordinates":true} 
[2026-09-10 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994596352001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404442175317737472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546152239786921984,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789041411000,"timestamp_ms":1789041411000,"timestamp_seconds":1789041411,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d83b8"} 
[2026-09-10 17:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994596352001,"66":27865,"225":206,"83":40960,"24":14,"16":404442175317737472,"44":-2546152239786921984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-10 17:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994596352001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:28:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 17:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404442175317737472,"km_value":404442175317737.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:28:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546152239786921984,"description":"Unknown IO ID 44"} 
[2026-09-10 17:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994596352001,"power":27865,"unknown_225":206,"unknown_83":40960,"ignition":14,"odometer":null,"unknown_44":-2546152239786921984}} 
[2026-09-10 17:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":179258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:28:56] local.INFO: GPS data processed {"connection_id":179258,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:28:56] local.INFO: Acknowledgment sent {"connection_id":179258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:28:58] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:58] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:28:58] local.INFO: IMEI packet received {"connection_id":177886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":177886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:28:59] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2e56a8012d7ca24005e209500006006623..."} 
[2026-09-10 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2e56a8012d7ca24005e209500006006623..."} 
[2026-09-10 17:28:59] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2e56a8012d7ca24005e209500006006623..."} 
[2026-09-10 17:28:59] local.INFO: Packet analysis {"connection_id":177886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:59] local.INFO: Extracted packet for processing {"connection_id":177886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763142720,"raw_latitude":98699600,"longitude_deg":76.314272,"latitude_deg":9.86996,"altitude":6,"angle":102,"satellites":35,"speed":20,"hex_longitude":"2d7ca240","hex_latitude":"05e20950","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994611200001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130807901924098048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607533036142592,"note":"Value kept but may cause issues"} 
[2026-09-10 17:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789041465000,"timestamp_ms":1789041465000,"timestamp_seconds":1789041465,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2e56a8"} 
[2026-09-10 17:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 17:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:28:59] 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-09-10 17:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994611200001,"66":13341,"43":206,"85":15104,"24":20,"16":130807901924098048,"45":8970607533036142592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994611200001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:28:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130807901924098048,"km_value":130807901924098.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607533036142592,"description":"Unknown IO ID 45"} 
[2026-09-10 17:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994611200001,"power":13341,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8970607533036142592}} 
[2026-09-10 17:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":177886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:28:59] local.INFO: GPS data processed {"connection_id":177886,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:28:59] local.INFO: Acknowledgment sent {"connection_id":177886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:29:02] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2ea0e0012d7cc44005e205580008005b26..."} 
[2026-09-10 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2ea0e0012d7cc44005e205580008005b26..."} 
[2026-09-10 17:29:02] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2ea0e0012d7cc44005e205580008005b26..."} 
[2026-09-10 17:29:02] local.INFO: Packet analysis {"connection_id":177886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:29:02] local.INFO: Extracted packet for processing {"connection_id":177886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763151424,"raw_latitude":98698584,"longitude_deg":76.3151424,"latitude_deg":9.8698584,"altitude":8,"angle":91,"satellites":38,"speed":23,"hex_longitude":"2d7cc440","hex_latitude":"05e20558","is_valid_coordinates":true} 
[2026-09-10 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994615040001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130808322830893056,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980811000941465600,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789041484000,"timestamp_ms":1789041484000,"timestamp_seconds":1789041484,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2ea0e0"} 
[2026-09-10 17:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-10 17:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:29:02] 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-09-10 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994615040001,"66":13319,"43":206,"85":15104,"24":23,"16":130808322830893056,"45":8980811000941465600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994615040001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:29:02] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130808322830893056,"km_value":130808322830893.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980811000941465600,"description":"Unknown IO ID 45"} 
[2026-09-10 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994615040001,"power":13319,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8980811000941465600}} 
[2026-09-10 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":177886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:29:02] local.INFO: GPS data processed {"connection_id":177886,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:29:02] local.INFO: Acknowledgment sent {"connection_id":177886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:29:05] local.INFO: TCP Data received {"connection_id":176714,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2e52c0012d18d080071fed58003200a526..."} 
[2026-09-10 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2e52c0012d18d080071fed58003200a526..."} 
[2026-09-10 17:29:05] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2e52c0012d18d080071fed58003200a526..."} 
[2026-09-10 17:29:05] local.INFO: Packet analysis {"connection_id":176714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:29:05] local.INFO: Extracted packet for processing {"connection_id":176714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119532888,"longitude_deg":75.660096,"latitude_deg":11.9532888,"altitude":50,"angle":165,"satellites":38,"speed":20,"hex_longitude":"2d18d080","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-09-10 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994613504001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19320502359162880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787788345178775552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29: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-09-10 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789041464000,"timestamp_ms":1789041464000,"timestamp_seconds":1789041464,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2e52c0"} 
[2026-09-10 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 17:29: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-09-10 17:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994613504001,"66":14211,"121":206,"28":31744,"24":20,"16":19320502359162880,"45":1787788345178775552},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994613504001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19320502359162880,"km_value":19320502359162.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787788345178775552,"description":"Unknown IO ID 45"} 
[2026-09-10 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994613504001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1787788345178775552}} 
[2026-09-10 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":176714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:29:05] local.INFO: GPS data processed {"connection_id":176714,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:29:05] local.INFO: Acknowledgment sent {"connection_id":176714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:29:19] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:19] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:19] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:29:23] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:23] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:23] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:29:27] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:29:27] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:29:27] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:29:27] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:29:27] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:29:27] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:29:28] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:28] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:29:28] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:29:29] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d8b88012cdca880072b48a8000900b22d..."} 
[2026-09-10 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d8b88012cdca880072b48a8000900b22d..."} 
[2026-09-10 17:29:29] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d8b88012cdca880072b48a8000900b22d..."} 
[2026-09-10 17:29:29] local.INFO: Packet analysis {"connection_id":176493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:29:29] local.INFO: Extracted packet for processing {"connection_id":176493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":752658560,"raw_latitude":120277160,"longitude_deg":75.265856,"latitude_deg":12.027716,"altitude":9,"angle":178,"satellites":45,"speed":22,"hex_longitude":"2cdca880","hex_latitude":"072b48a8","is_valid_coordinates":true} 
[2026-09-10 17:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994601216001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404442222562377728,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546574452254283776,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041413000,"timestamp_ms":1789041413000,"timestamp_seconds":1789041413,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d8b88"} 
[2026-09-10 17:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:29: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-09-10 17:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994601216001,"66":27821,"225":206,"83":40960,"24":22,"16":404442222562377728,"44":-2546574452254283776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-10 17:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994601216001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:29:29] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 17:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404442222562377728,"km_value":404442222562377.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546574452254283776,"description":"Unknown IO ID 44"} 
[2026-09-10 17:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994601216001,"power":27821,"unknown_225":206,"unknown_83":40960,"ignition":22,"odometer":null,"unknown_44":-2546574452254283776}} 
[2026-09-10 17:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":176493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:29:29] local.INFO: GPS data processed {"connection_id":176493,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:29:29] local.INFO: Acknowledgment sent {"connection_id":176493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:29:29] local.INFO: TCP Data received {"connection_id":176494,"ip":"117.224.200.161","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-10 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-10 17:29:29] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-10 17:29:29] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:29:33] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2ebc38012d7cd80005e206600008005027..."} 
[2026-09-10 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2ebc38012d7cd80005e206600008005027..."} 
[2026-09-10 17:29:33] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2ebc38012d7cd80005e206600008005027..."} 
[2026-09-10 17:29:33] local.INFO: Packet analysis {"connection_id":177886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:29:33] local.INFO: Extracted packet for processing {"connection_id":177886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763156480,"raw_latitude":98698848,"longitude_deg":76.315648,"latitude_deg":9.8698848,"altitude":8,"angle":80,"satellites":39,"speed":34,"hex_longitude":"2d7cd800","hex_latitude":"05e20660","is_valid_coordinates":true} 
[2026-09-10 17:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994619904001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130808567644028928,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990381150149367808,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789041491000,"timestamp_ms":1789041491000,"timestamp_seconds":1789041491,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2ebc38"} 
[2026-09-10 17:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2335042864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3607382006652649467,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147869201,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3092905984,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792730112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-24769754998823936,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,43,85,24,241,157,16,185,160,86,45,64,9,6,35,10,66,28,8,184,1,240,220,227,139,226,4,113,205,25,96,208,36,239,51,2,5,187,225],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-09-10 17:29:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576560971071815680,"timestamp_seconds":576560971071815.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:29:33] 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-09-10 17:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994619904001,"66":13298,"43":206,"85":15104,"24":34,"16":130808567644028928,"45":8990381150149367808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994619904001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:29:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130808567644028928,"km_value":130808567644028.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990381150149367808,"description":"Unknown IO ID 45"} 
[2026-09-10 17:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994619904001,"power":13298,"unknown_43":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8990381150149367808}} 
[2026-09-10 17:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":177886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:29:33] local.INFO: GPS data processed {"connection_id":177886,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:29:33] local.INFO: Acknowledgment sent {"connection_id":177886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:29:35] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2d9b28012cdca980072b3ea8000900a72c..."} 
[2026-09-10 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2d9b28012cdca980072b3ea8000900a72c..."} 
[2026-09-10 17:29:35] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2d9b28012cdca980072b3ea8000900a72c..."} 
[2026-09-10 17:29:35] local.INFO: Packet analysis {"connection_id":176493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:29:35] local.INFO: Extracted packet for processing {"connection_id":176493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2d"} 
[2026-09-10 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":752658816,"raw_latitude":120274600,"longitude_deg":75.2658816,"latitude_deg":12.02746,"altitude":9,"angle":167,"satellites":44,"speed":23,"hex_longitude":"2cdca980","hex_latitude":"072b3ea8","is_valid_coordinates":true} 
[2026-09-10 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994601728001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404442347116429312,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546644820998707200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789041417000,"timestamp_ms":1789041417000,"timestamp_seconds":1789041417,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2d9b28"} 
[2026-09-10 17:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:29: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-09-10 17:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:29: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-09-10 17:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994601728001,"66":27876,"225":206,"83":40960,"24":23,"16":404442347116429312,"44":-2546644820998707200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-10 17:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994601728001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:29:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-10 17:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404442347116429312,"km_value":404442347116429.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546644820998707200,"description":"Unknown IO ID 44"} 
[2026-09-10 17:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994601728001,"power":27876,"unknown_225":206,"unknown_83":40960,"ignition":23,"odometer":null,"unknown_44":-2546644820998707200}} 
[2026-09-10 17:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":176493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:29:35] local.INFO: GPS data processed {"connection_id":176493,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:29:35] local.INFO: Acknowledgment sent {"connection_id":176493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:29:52] local.INFO: TCP Data received {"connection_id":179260,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:29:52] local.INFO: Processing buffer {"connection_id":179260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:29:52] local.INFO: IMEI packet received {"connection_id":179260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":179260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:29:58] local.INFO: TCP Data received {"connection_id":179260,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:29:58] local.INFO: Processing buffer {"connection_id":179260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:29:58] local.INFO: IMEI packet received {"connection_id":179260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":179260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:30:00] local.INFO: TCP Data received {"connection_id":179260,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2ee348012d7cfa8005e20df8000a005c27..."} 
[2026-09-10 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2ee348012d7cfa8005e20df8000a005c27..."} 
[2026-09-10 17:30:00] local.INFO: Processing buffer {"connection_id":179260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2ee348012d7cfa8005e20df8000a005c27..."} 
[2026-09-10 17:30:00] local.INFO: Packet analysis {"connection_id":179260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:30:00] local.INFO: Extracted packet for processing {"connection_id":179260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763165312,"raw_latitude":98700792,"longitude_deg":76.3165312,"latitude_deg":9.8700792,"altitude":10,"angle":92,"satellites":39,"speed":21,"hex_longitude":"2d7cfa80","hex_latitude":"05e20df8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994621696001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130808997140758528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995940280939470848,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789041501000,"timestamp_ms":1789041501000,"timestamp_seconds":1789041501,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2ee348"} 
[2026-09-10 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-09-10 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-10 17:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:30:00] 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-09-10 17:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994621696001,"66":13254,"43":206,"85":15104,"24":21,"16":130808997140758528,"45":8995940280939470848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994621696001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:30:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130808997140758528,"km_value":130808997140758.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995940280939470848,"description":"Unknown IO ID 45"} 
[2026-09-10 17:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994621696001,"power":13254,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8995940280939470848}} 
[2026-09-10 17:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":179260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:30:00] local.INFO: GPS data processed {"connection_id":179260,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:30:00] local.INFO: Acknowledgment sent {"connection_id":179260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:30:19] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:30:19] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:30:19] local.INFO: IMEI packet received {"connection_id":176716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":176716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:30:23] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:30:23] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:30:23] local.INFO: IMEI packet received {"connection_id":176716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":176716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:30:24] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2fc1f0012cdd2280072a7340000d00832d..."} 
[2026-09-10 17:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2fc1f0012cdd2280072a7340000d00832d..."} 
[2026-09-10 17:30:24] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2fc1f0012cdd2280072a7340000d00832d..."} 
[2026-09-10 17:30:24] local.INFO: Packet analysis {"connection_id":176716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:30:24] local.INFO: Extracted packet for processing {"connection_id":176716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:30:24] local.INFO: GPS Element Parsed {"raw_longitude":752689792,"raw_latitude":120222528,"longitude_deg":75.2689792,"latitude_deg":12.0222528,"altitude":13,"angle":131,"satellites":45,"speed":35,"hex_longitude":"2cdd2280","hex_latitude":"072a7340","is_valid_coordinates":true} 
[2026-09-10 17:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994636032001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404445422313013248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2520186173200306176,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789041558000,"timestamp_ms":1789041558000,"timestamp_seconds":1789041558,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2fc1f0"} 
[2026-09-10 17:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994636032001,"66":27865,"43":206,"83":40960,"24":35,"16":404445422313013248,"44":-2520186173200306176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-09-10 17:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994636032001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:30:24] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404445422313013248,"km_value":404445422313013.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:30:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2520186173200306176,"description":"Unknown IO ID 44"} 
[2026-09-10 17:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994636032001,"power":27865,"unknown_43":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2520186173200306176}} 
[2026-09-10 17:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":176716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:30:24] local.INFO: GPS data processed {"connection_id":176716,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:30:24] local.INFO: Acknowledgment sent {"connection_id":176716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:30:32] local.INFO: TCP Data received {"connection_id":179260,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2ee348012d7cfa8005e20df8000a005c27..."} 
[2026-09-10 17:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2ee348012d7cfa8005e20df8000a005c27..."} 
[2026-09-10 17:30:32] local.INFO: Processing buffer {"connection_id":179260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2ee348012d7cfa8005e20df8000a005c27..."} 
[2026-09-10 17:30:32] local.INFO: Packet analysis {"connection_id":179260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:30:32] local.INFO: Extracted packet for processing {"connection_id":179260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2e"} 
[2026-09-10 17:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763165312,"raw_latitude":98700792,"longitude_deg":76.3165312,"latitude_deg":9.8700792,"altitude":10,"angle":92,"satellites":39,"speed":21,"hex_longitude":"2d7cfa80","hex_latitude":"05e20df8","is_valid_coordinates":true} 
[2026-09-10 17:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994624256001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130808997140758528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005651167636486144,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789041501000,"timestamp_ms":1789041501000,"timestamp_seconds":1789041501,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2ee348"} 
[2026-09-10 17:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:30: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":198,"data_length":795,"current_offset":136} 
[2026-09-10 17:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:30:32] 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-09-10 17:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994624256001,"66":13254,"43":206,"85":15104,"24":21,"16":130808997140758528,"45":9005651167636486144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994624256001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:30:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130808997140758528,"km_value":130808997140758.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005651167636486144,"description":"Unknown IO ID 45"} 
[2026-09-10 17:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994624256001,"power":13254,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9005651167636486144}} 
[2026-09-10 17:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":179260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:30:32] local.INFO: GPS data processed {"connection_id":179260,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:30:32] local.INFO: Acknowledgment sent {"connection_id":179260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:30:52] local.INFO: TCP Data received {"connection_id":179261,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:30:52] local.INFO: Processing buffer {"connection_id":179261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:30:52] local.INFO: IMEI packet received {"connection_id":179261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":179261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:30:55] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2fe900012cdd3dc0072a5be0001000832e..."} 
[2026-09-10 17:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2fe900012cdd3dc0072a5be0001000832e..."} 
[2026-09-10 17:30:55] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2fe900012cdd3dc0072a5be0001000832e..."} 
[2026-09-10 17:30:55] local.INFO: Packet analysis {"connection_id":176716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:30:55] local.INFO: Extracted packet for processing {"connection_id":176716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:30:55] local.INFO: GPS Element Parsed {"raw_longitude":752696768,"raw_latitude":120216544,"longitude_deg":75.2696768,"latitude_deg":12.0216544,"altitude":16,"angle":131,"satellites":46,"speed":34,"hex_longitude":"2cdd3dc0","hex_latitude":"072a5be0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994638848001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404445860399677440,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2512304873853992960,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789041568000,"timestamp_ms":1789041568000,"timestamp_seconds":1789041568,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2fe900"} 
[2026-09-10 17:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:30: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-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994638848001,"66":27821,"43":206,"83":40960,"24":34,"16":404445860399677440,"44":-2512304873853992960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-09-10 17:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994638848001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:30:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404445860399677440,"km_value":404445860399677.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:30:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2512304873853992960,"description":"Unknown IO ID 44"} 
[2026-09-10 17:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994638848001,"power":27821,"unknown_43":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2512304873853992960}} 
[2026-09-10 17:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":176716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:30:55] local.INFO: GPS data processed {"connection_id":176716,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:30:55] local.INFO: Acknowledgment sent {"connection_id":176716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:30:57] local.INFO: TCP Data received {"connection_id":179261,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:30:57] local.INFO: Processing buffer {"connection_id":179261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:30:57] local.INFO: IMEI packet received {"connection_id":179261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":179261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:30:58] local.INFO: TCP Data received {"connection_id":179261,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2f2998012d7d1d8005e20ac8000e005f27..."} 
[2026-09-10 17:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2f2998012d7d1d8005e20ac8000e005f27..."} 
[2026-09-10 17:30:58] local.INFO: Processing buffer {"connection_id":179261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2f2998012d7d1d8005e20ac8000e005f27..."} 
[2026-09-10 17:30:58] local.INFO: Packet analysis {"connection_id":179261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:30:58] local.INFO: Extracted packet for processing {"connection_id":179261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":98699976,"longitude_deg":76.3174272,"latitude_deg":9.8699976,"altitude":14,"angle":95,"satellites":39,"speed":30,"hex_longitude":"2d7d1d80","hex_latitude":"05e20ac8","is_valid_coordinates":true} 
[2026-09-10 17:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994624256001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130809430932455424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005651167636486144,"note":"Value kept but may cause issues"} 
[2026-09-10 17:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041519000,"timestamp_ms":1789041519000,"timestamp_seconds":1789041519,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2f2998"} 
[2026-09-10 17:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 17:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:30:58] 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-09-10 17:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994624256001,"66":13276,"43":206,"85":15104,"24":30,"16":130809430932455424,"45":9005651167636486144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994624256001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:30:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130809430932455424,"km_value":130809430932455.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005651167636486144,"description":"Unknown IO ID 45"} 
[2026-09-10 17:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994624256001,"power":13276,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9005651167636486144}} 
[2026-09-10 17:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":179261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:30:58] local.INFO: GPS data processed {"connection_id":179261,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:30:58] local.INFO: Acknowledgment sent {"connection_id":179261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:31:01] local.INFO: TCP Data received {"connection_id":179259,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:31:01] local.INFO: Processing buffer {"connection_id":179259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:31:01] local.INFO: IMEI packet received {"connection_id":179259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":179259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:31:19] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:31:19] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:31:19] local.INFO: IMEI packet received {"connection_id":176717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":176717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:31:23] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:31:23] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:31:23] local.INFO: IMEI packet received {"connection_id":176717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":176717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:31:24] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3017e0012cdd5980072a4470001400832e..."} 
[2026-09-10 17:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3017e0012cdd5980072a4470001400832e..."} 
[2026-09-10 17:31:24] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3017e0012cdd5980072a4470001400832e..."} 
[2026-09-10 17:31:24] local.INFO: Packet analysis {"connection_id":176717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b30"} 
[2026-09-10 17:31:24] local.INFO: Extracted packet for processing {"connection_id":176717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b30"} 
[2026-09-10 17:31:24] local.INFO: GPS Element Parsed {"raw_longitude":752703872,"raw_latitude":120210544,"longitude_deg":75.2703872,"latitude_deg":12.0210544,"altitude":20,"angle":131,"satellites":46,"speed":24,"hex_longitude":"2cdd5980","hex_latitude":"072a4470","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994641408001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404446307076276224,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2504634680740159488,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789041580000,"timestamp_ms":1789041580000,"timestamp_seconds":1789041580,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3017e0"} 
[2026-09-10 17:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994641408001,"66":27843,"59":206,"83":40960,"24":24,"16":404446307076276224,"44":-2504634680740159488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-10 17:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994641408001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:31:24] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-10 17:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404446307076276224,"km_value":404446307076276.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:31:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2504634680740159488,"description":"Unknown IO ID 44"} 
[2026-09-10 17:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994641408001,"power":27843,"unknown_59":206,"unknown_83":40960,"ignition":24,"odometer":null,"unknown_44":-2504634680740159488}} 
[2026-09-10 17:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":176717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:31:24] local.INFO: GPS data processed {"connection_id":176717,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:31:24] local.INFO: Acknowledgment sent {"connection_id":176717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:31:29] local.INFO: TCP Data received {"connection_id":179261,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2f5878012d7d438005e20810000e006028..."} 
[2026-09-10 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2f5878012d7d438005e20810000e006028..."} 
[2026-09-10 17:31:29] local.INFO: Processing buffer {"connection_id":179261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2f5878012d7d438005e20810000e006028..."} 
[2026-09-10 17:31:29] local.INFO: Packet analysis {"connection_id":179261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:31:29] local.INFO: Extracted packet for processing {"connection_id":179261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":98699280,"longitude_deg":76.3184,"latitude_deg":9.869928,"altitude":14,"angle":96,"satellites":40,"speed":31,"hex_longitude":"2d7d4380","hex_latitude":"05e20810","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994628864001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130809894788923392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791821150208,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041531000,"timestamp_ms":1789041531000,"timestamp_seconds":1789041531,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2f5878"} 
[2026-09-10 17:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 17:31: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-09-10 17: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-09-10 17:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:31:29] 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-09-10 17:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994628864001,"66":13243,"43":206,"85":15104,"24":31,"16":130809894788923392,"45":9015502791821150208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994628864001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:31:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130809894788923392,"km_value":130809894788923.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791821150208,"description":"Unknown IO ID 45"} 
[2026-09-10 17:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994628864001,"power":13243,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9015502791821150208}} 
[2026-09-10 17:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":179261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:31:29] local.INFO: GPS data processed {"connection_id":179261,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:31:29] local.INFO: Acknowledgment sent {"connection_id":179261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:31:52] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:31:52] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:31:52] local.INFO: IMEI packet received {"connection_id":176719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":176719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:31:55] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b304e90012cdd7340072a2e680015008e2e..."} 
[2026-09-10 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b304e90012cdd7340072a2e680015008e2e..."} 
[2026-09-10 17:31:55] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b304e90012cdd7340072a2e680015008e2e..."} 
[2026-09-10 17:31:55] local.INFO: Packet analysis {"connection_id":176717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b30"} 
[2026-09-10 17:31:55] local.INFO: Extracted packet for processing {"connection_id":176717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b30"} 
[2026-09-10 17:31:55] local.INFO: GPS Element Parsed {"raw_longitude":752710464,"raw_latitude":120204904,"longitude_deg":75.2710464,"latitude_deg":12.0204904,"altitude":21,"angle":142,"satellites":46,"speed":24,"hex_longitude":"2cdd7340","hex_latitude":"072a2e68","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994644480001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404446727983071232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2496823750137974784,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789041594000,"timestamp_ms":1789041594000,"timestamp_seconds":1789041594,"priority":1,"record_length":96,"hex_timestamp":"000001a08b304e90"} 
[2026-09-10 17:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:31: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-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994644480001,"66":27593,"59":206,"83":40960,"24":24,"16":404446727983071232,"44":-2496823750137974784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-10 17:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994644480001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:31:55] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-10 17:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404446727983071232,"km_value":404446727983071.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:31:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2496823750137974784,"description":"Unknown IO ID 44"} 
[2026-09-10 17:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994644480001,"power":27593,"unknown_59":206,"unknown_83":40960,"ignition":24,"odometer":null,"unknown_44":-2496823750137974784}} 
[2026-09-10 17:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":176717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:31:55] local.INFO: GPS data processed {"connection_id":176717,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:31:55] local.INFO: Acknowledgment sent {"connection_id":176717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:31:57] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:31:57] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:31:57] local.INFO: IMEI packet received {"connection_id":176719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":176719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:31:59] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b2f8370012d7d678005e204b0000c005e28..."} 
[2026-09-10 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b2f8370012d7d678005e204b0000c005e28..."} 
[2026-09-10 17:31:59] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b2f8370012d7d678005e204b0000c005e28..."} 
[2026-09-10 17:31:59] local.INFO: Packet analysis {"connection_id":176719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:31:59] local.INFO: Extracted packet for processing {"connection_id":176719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b2f"} 
[2026-09-10 17:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763193216,"raw_latitude":98698416,"longitude_deg":76.3193216,"latitude_deg":9.8698416,"altitude":12,"angle":94,"satellites":40,"speed":35,"hex_longitude":"2d7d6780","hex_latitude":"05e204b0","is_valid_coordinates":true} 
[2026-09-10 17:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994631936001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130810337170554880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840935976960,"note":"Value kept but may cause issues"} 
[2026-09-10 17:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789041542000,"timestamp_ms":1789041542000,"timestamp_seconds":1789041542,"priority":1,"record_length":96,"hex_timestamp":"000001a08b2f8370"} 
[2026-09-10 17:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 17:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:31:59] 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-09-10 17:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994631936001,"66":13374,"43":206,"85":15104,"24":35,"16":130810337170554880,"45":9026198840935976960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-10 17:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994631936001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:31:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-10 17:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130810337170554880,"km_value":130810337170554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840935976960,"description":"Unknown IO ID 45"} 
[2026-09-10 17:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994631936001,"power":13374,"unknown_43":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9026198840935976960}} 
[2026-09-10 17:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":176719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:31:59] local.INFO: GPS data processed {"connection_id":176719,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:31:59] local.INFO: Acknowledgment sent {"connection_id":176719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:32:16] local.INFO: TCP Data received {"connection_id":177888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:16] local.INFO: Processing buffer {"connection_id":177888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:16] local.INFO: IMEI packet received {"connection_id":177888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":177888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:32:18] local.INFO: TCP Data received {"connection_id":177888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:18] local.INFO: Processing buffer {"connection_id":177888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:18] local.INFO: IMEI packet received {"connection_id":177888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":177888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:32:23] local.INFO: TCP Data received {"connection_id":177888,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:23] local.INFO: Processing buffer {"connection_id":177888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:32:23] local.INFO: IMEI packet received {"connection_id":177888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":177888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:32:24] local.INFO: TCP Data received {"connection_id":177888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b306600012cdd7d00072a23b8001500802e..."} 
[2026-09-10 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b306600012cdd7d00072a23b8001500802e..."} 
[2026-09-10 17:32:24] local.INFO: Processing buffer {"connection_id":177888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b306600012cdd7d00072a23b8001500802e..."} 
[2026-09-10 17:32:24] local.INFO: Packet analysis {"connection_id":177888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b30"} 
[2026-09-10 17:32:24] local.INFO: Extracted packet for processing {"connection_id":177888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b30"} 
[2026-09-10 17:32:24] local.INFO: GPS Element Parsed {"raw_longitude":752712960,"raw_latitude":120202168,"longitude_deg":75.271296,"latitude_deg":12.0202168,"altitude":21,"angle":128,"satellites":46,"speed":24,"hex_longitude":"2cdd7d00","hex_latitude":"072a23b8","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994648064001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404446904076730368,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2489575769489119232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789041600000,"timestamp_ms":1789041600000,"timestamp_seconds":1789041600,"priority":1,"record_length":96,"hex_timestamp":"000001a08b306600"} 
[2026-09-10 17:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 17:32:24] 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-09-10 17: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-09-10 17:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994648064001,"66":27865,"59":206,"83":40960,"24":24,"16":404446904076730368,"44":-2489575769489119232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-10 17:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994648064001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:32:24] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-10 17:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404446904076730368,"km_value":404446904076730.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:32:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2489575769489119232,"description":"Unknown IO ID 44"} 
[2026-09-10 17:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994648064001,"power":27865,"unknown_59":206,"unknown_83":40960,"ignition":24,"odometer":null,"unknown_44":-2489575769489119232}} 
[2026-09-10 17:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":177888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:32:24] local.INFO: GPS data processed {"connection_id":177888,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:32:24] local.INFO: Acknowledgment sent {"connection_id":177888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:32:30] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b31fc40012d7de98005e20d58000c003922..."} 
[2026-09-10 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b31fc40012d7de98005e20d58000c003922..."} 
[2026-09-10 17:32:30] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b31fc40012d7de98005e20d58000c003922..."} 
[2026-09-10 17:32:30] local.INFO: Packet analysis {"connection_id":176719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b31"} 
[2026-09-10 17:32:30] local.INFO: Extracted packet for processing {"connection_id":176719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b31"} 
[2026-09-10 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763226496,"raw_latitude":98700632,"longitude_deg":76.3226496,"latitude_deg":9.8700632,"altitude":12,"angle":57,"satellites":34,"speed":0,"hex_longitude":"2d7de980","hex_latitude":"05e20d58","is_valid_coordinates":true} 
[2026-09-10 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994670848001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130811982143029248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072923687070291968,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789041704000,"timestamp_ms":1789041704000,"timestamp_seconds":1789041704,"priority":1,"record_length":96,"hex_timestamp":"000001a08b31fc40"} 
[2026-09-10 17:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2335177864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":19,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3167092736,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791665152,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-812898437844942843,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-207165539904116480,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:30] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,85,24,241,157,16,188,160,88,45,128,13,12,37,10,66,6,38,180,1,240,227,139,226,4,113,205,19,231,176,39,239,50,43,2,208,5,11,52,133,47,225],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-09-10 17:32:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864753959531708416,"timestamp_seconds":864753959531708.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:32:30] 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-09-10 17:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994670848001,"66":13472,"198":206,"85":15104,"24":0,"16":130811982143029248,"45":9072923687070291968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 17:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994670848001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:32:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 17:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130811982143029248,"km_value":130811982143029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072923687070291968,"description":"Unknown IO ID 45"} 
[2026-09-10 17:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994670848001,"power":13472,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9072923687070291968}} 
[2026-09-10 17:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":176719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:32:30] local.INFO: GPS data processed {"connection_id":176719,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:32:30] local.INFO: Acknowledgment sent {"connection_id":176719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:32:52] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:32:52] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:32:52] local.INFO: IMEI packet received {"connection_id":176497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":176497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:32:55] local.INFO: TCP Data received {"connection_id":177888,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b323ea8012cdea0000728dac8000c008e2b..."} 
[2026-09-10 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b323ea8012cdea0000728dac8000c008e2b..."} 
[2026-09-10 17:32:55] local.INFO: Processing buffer {"connection_id":177888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b323ea8012cdea0000728dac8000c008e2b..."} 
[2026-09-10 17:32:55] local.INFO: Packet analysis {"connection_id":177888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:32:55] local.INFO: Extracted packet for processing {"connection_id":177888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:32:55] local.INFO: GPS Element Parsed {"raw_longitude":752787456,"raw_latitude":120117960,"longitude_deg":75.2787456,"latitude_deg":12.011796,"altitude":12,"angle":142,"satellites":43,"speed":50,"hex_longitude":"2cdea000","hex_latitude":"0728dac8","is_valid_coordinates":true} 
[2026-09-10 17:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994678784001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404452315735523328,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2410833144774711296,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789041721000,"timestamp_ms":1789041721000,"timestamp_seconds":1789041721,"priority":1,"record_length":96,"hex_timestamp":"000001a08b323ea8"} 
[2026-09-10 17:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:32: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-09-10 17:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994678784001,"66":27767,"54":206,"83":40960,"24":50,"16":404452315735523328,"44":-2410833144774711296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-10 17:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994678784001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:32:55] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 17:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404452315735523328,"km_value":404452315735523.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:32:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2410833144774711296,"description":"Unknown IO ID 44"} 
[2026-09-10 17:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994678784001,"power":27767,"unknown_54":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2410833144774711296}} 
[2026-09-10 17:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":177888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:32:55] local.INFO: GPS data processed {"connection_id":177888,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:32:55] local.INFO: Acknowledgment sent {"connection_id":177888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:32:57] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:32:57] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:32:57] local.INFO: IMEI packet received {"connection_id":176497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":176497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:32:58] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b324e48012d7de98005e20d58000c003927..."} 
[2026-09-10 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b324e48012d7de98005e20d58000c003927..."} 
[2026-09-10 17:32:58] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b324e48012d7de98005e20d58000c003927..."} 
[2026-09-10 17:32:58] local.INFO: Packet analysis {"connection_id":176497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:32:58] local.INFO: Extracted packet for processing {"connection_id":176497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763226496,"raw_latitude":98700632,"longitude_deg":76.3226496,"latitude_deg":9.8700632,"altitude":12,"angle":57,"satellites":39,"speed":0,"hex_longitude":"2d7de980","hex_latitude":"05e20d58","is_valid_coordinates":true} 
[2026-09-10 17:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994676224001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130811982143029248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072923687070291968,"note":"Value kept but may cause issues"} 
[2026-09-10 17:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041725000,"timestamp_ms":1789041725000,"timestamp_seconds":1789041725,"priority":1,"record_length":96,"hex_timestamp":"000001a08b324e48"} 
[2026-09-10 17:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 17:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:32:58] 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-09-10 17:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994676224001,"66":13059,"198":206,"85":15104,"24":0,"16":130811982143029248,"45":9072923687070291968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 17:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994676224001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:32:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 17:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130811982143029248,"km_value":130811982143029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072923687070291968,"description":"Unknown IO ID 45"} 
[2026-09-10 17:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994676224001,"power":13059,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9072923687070291968}} 
[2026-09-10 17:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":176497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:32:59] local.INFO: GPS data processed {"connection_id":176497,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:32:59] local.INFO: Acknowledgment sent {"connection_id":176497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:33:17] local.INFO: TCP Data received {"connection_id":179263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:17] local.INFO: Processing buffer {"connection_id":179263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:17] local.INFO: IMEI packet received {"connection_id":179263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":179263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:33:18] local.INFO: TCP Data received {"connection_id":179263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:18] local.INFO: Processing buffer {"connection_id":179263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:18] local.INFO: IMEI packet received {"connection_id":179263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":179263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:33:25] local.INFO: TCP Data received {"connection_id":179263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:25] local.INFO: Processing buffer {"connection_id":179263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:33:25] local.INFO: IMEI packet received {"connection_id":179263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":179263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:33:26] local.INFO: TCP Data received {"connection_id":179263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b325a00012cdeb7800728c098000d00872b..."} 
[2026-09-10 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b325a00012cdeb7800728c098000d00872b..."} 
[2026-09-10 17:33:26] local.INFO: Processing buffer {"connection_id":179263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b325a00012cdeb7800728c098000d00872b..."} 
[2026-09-10 17:33:26] local.INFO: Packet analysis {"connection_id":179263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:33:26] local.INFO: Extracted packet for processing {"connection_id":179263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:33:26] local.INFO: GPS Element Parsed {"raw_longitude":752793472,"raw_latitude":120111256,"longitude_deg":75.2793472,"latitude_deg":12.0111256,"altitude":13,"angle":135,"satellites":43,"speed":51,"hex_longitude":"2cdeb780","hex_latitude":"0728c098","is_valid_coordinates":true} 
[2026-09-10 17:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994680576001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404452749527220224,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2404922170265647104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789041728000,"timestamp_ms":1789041728000,"timestamp_seconds":1789041728,"priority":1,"record_length":96,"hex_timestamp":"000001a08b325a00"} 
[2026-09-10 17:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 17:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":179263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":179263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":179263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994680576001,"66":27745,"54":206,"83":40960,"24":51,"16":404452749527220224,"44":-2404922170265647104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-10 17:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994680576001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:33:26] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 17:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404452749527220224,"km_value":404452749527220.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:33:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2404922170265647104,"description":"Unknown IO ID 44"} 
[2026-09-10 17:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994680576001,"power":27745,"unknown_54":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2404922170265647104}} 
[2026-09-10 17:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":179263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:33:26] local.INFO: GPS data processed {"connection_id":179263,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:33:26] local.INFO: Acknowledgment sent {"connection_id":179263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:33:29] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b32a050012d7de98005e20d58000c003926..."} 
[2026-09-10 17:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b32a050012d7de98005e20d58000c003926..."} 
[2026-09-10 17:33:29] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b32a050012d7de98005e20d58000c003926..."} 
[2026-09-10 17:33:29] local.INFO: Packet analysis {"connection_id":176497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:33:29] local.INFO: Extracted packet for processing {"connection_id":176497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:33:29] local.INFO: GPS Element Parsed {"raw_longitude":763226496,"raw_latitude":98700632,"longitude_deg":76.3226496,"latitude_deg":9.8700632,"altitude":12,"angle":57,"satellites":38,"speed":0,"hex_longitude":"2d7de980","hex_latitude":"05e20d58","is_valid_coordinates":true} 
[2026-09-10 17:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994681600001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130811982143029248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072923687070291968,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041746000,"timestamp_ms":1789041746000,"timestamp_seconds":1789041746,"priority":1,"record_length":96,"hex_timestamp":"000001a08b32a050"} 
[2026-09-10 17:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418382,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2335203864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13459398,"corrected_to":0} 
[2026-09-10 17:33:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606811854,"corrected_to":0} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147869197,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941326,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":43,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3167617024,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792525312,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:29] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,198,85,24,241,157,16,188,160,252,45,128,13,12,34,10,66,170,37,88,1,240,247,227,139,226,4,113,205,180,233,39,239,51,43,2,208,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":247,"original":13459398,"validated":0},{"io_id":205,"original":1606811854,"validated":0}]} 
[2026-09-10 17:33:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864753968121643008,"timestamp_seconds":864753968121643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:33:29] 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-09-10 17:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994681600001,"66":12765,"198":206,"85":15104,"24":0,"16":130811982143029248,"45":9072923687070291968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 17:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994681600001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:33:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 17:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130811982143029248,"km_value":130811982143029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072923687070291968,"description":"Unknown IO ID 45"} 
[2026-09-10 17:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994681600001,"power":12765,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9072923687070291968}} 
[2026-09-10 17:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":176497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:33:29] local.INFO: GPS data processed {"connection_id":176497,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:33:29] local.INFO: Acknowledgment sent {"connection_id":176497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:33:58] local.INFO: TCP Data received {"connection_id":179263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b327558012cded1000728a798000d008a2d..."} 
[2026-09-10 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b327558012cded1000728a798000d008a2d..."} 
[2026-09-10 17:33:58] local.INFO: Processing buffer {"connection_id":179263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b327558012cded1000728a798000d008a2d..."} 
[2026-09-10 17:33:58] local.INFO: Packet analysis {"connection_id":179263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:33:58] local.INFO: Extracted packet for processing {"connection_id":179263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":752800000,"raw_latitude":120104856,"longitude_deg":75.28,"latitude_deg":12.0104856,"altitude":13,"angle":138,"satellites":45,"speed":51,"hex_longitude":"2cded100","hex_latitude":"0728a798","is_valid_coordinates":true} 
[2026-09-10 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994682368001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404453187613884416,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2398307508314662912,"note":"Value kept but may cause issues"} 
[2026-09-10 17:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789041735000,"timestamp_ms":1789041735000,"timestamp_seconds":1789041735,"priority":1,"record_length":96,"hex_timestamp":"000001a08b327558"} 
[2026-09-10 17:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:33: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-09-10 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 17:33: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-09-10 17:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994682368001,"66":27767,"54":206,"83":40960,"24":51,"16":404453187613884416,"44":-2398307508314662912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-10 17:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994682368001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:33:58] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 17:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404453187613884416,"km_value":404453187613884.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2398307508314662912,"description":"Unknown IO ID 44"} 
[2026-09-10 17:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994682368001,"power":27767,"unknown_54":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2398307508314662912}} 
[2026-09-10 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":179263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:33:58] local.INFO: GPS data processed {"connection_id":179263,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:33:58] local.INFO: Acknowledgment sent {"connection_id":179263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:34:02] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:02] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:02] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:34:03] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 17:34:03] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 17:34:03] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:07] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:07] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-10 17:34:07] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:08] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.30","data_length":1340,"data_hex":"000000000000030f8e0a000001a08b339e38012d7e280005e1bc08000500c624..."} 
[2026-09-10 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a08b339e38012d7e280005e1bc08000500c624..."} 
[2026-09-10 17:34:08] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":1357,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a08b..."} 
[2026-09-10 17:34:08] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:09] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.30","data_length":250,"data_hex":"e3001001d0bd9300000000000001a08b334c30012d7e298005e20bd000090081..."} 
[2026-09-10 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":250,"packet_hex":"e3001001d0bd9300000000000001a08b334c30012d7e298005e20bd000090081..."} 
[2026-09-10 17:34:09] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08b339e38012d7e280005e1bc08000500c624..."} 
[2026-09-10 17:34:09] local.INFO: Packet analysis {"connection_id":176498,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08b33"} 
[2026-09-10 17:34:09] local.INFO: Extracted packet for processing {"connection_id":176498,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b33"} 
[2026-09-10 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763242496,"raw_latitude":98679816,"longitude_deg":76.3242496,"latitude_deg":9.8679816,"altitude":5,"angle":198,"satellites":36,"speed":47,"hex_longitude":"2d7e2800","hex_latitude":"05e1bc08","is_valid_coordinates":true} 
[2026-09-10 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994702080001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130813811799097344,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360298041362432,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789041811000,"timestamp_ms":1789041811000,"timestamp_seconds":1789041811,"priority":1,"record_length":96,"hex_timestamp":"000001a08b339e38"} 
[2026-09-10 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:34: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-09-10 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-10 17:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:34:09] 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-09-10 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994702080001,"66":13493,"198":206,"85":15104,"24":47,"16":130813811799097344,"45":9091360298041362432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994702080001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130813811799097344,"km_value":130813811799097.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360298041362432,"description":"Unknown IO ID 45"} 
[2026-09-10 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994702080001,"power":13493,"unknown_198":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9091360298041362432}} 
[2026-09-10 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":176498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:34:09] local.INFO: GPS data processed {"connection_id":176498,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:34:09] local.INFO: Acknowledgment sent {"connection_id":176498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:34:09] local.INFO: Packet analysis {"connection_id":176498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b33"} 
[2026-09-10 17:34:09] local.INFO: Extracted packet for processing {"connection_id":176498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b33"} 
[2026-09-10 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763241280,"raw_latitude":98677760,"longitude_deg":76.324128,"latitude_deg":9.867776,"altitude":5,"angle":215,"satellites":36,"speed":46,"hex_longitude":"2d7e2340","hex_latitude":"05e1b400","is_valid_coordinates":true} 
[2026-09-10 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994703616001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130813927763214336,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090515873109379072,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789041813000,"timestamp_ms":1789041813000,"timestamp_seconds":1789041813,"priority":1,"record_length":96,"hex_timestamp":"000001a08b33a608"} 
[2026-09-10 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:34: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-09-10 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 17:34: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-09-10 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:34:09] 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-09-10 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994703616001,"66":13363,"198":206,"85":15104,"24":46,"16":130813927763214336,"45":9090515873109379072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994703616001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130813927763214336,"km_value":130813927763214.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090515873109379072,"description":"Unknown IO ID 45"} 
[2026-09-10 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994703616001,"power":13363,"unknown_198":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9090515873109379072}} 
[2026-09-10 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":176498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:34:09] local.INFO: GPS data processed {"connection_id":176498,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:34:09] local.INFO: Acknowledgment sent {"connection_id":176498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:34:10] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b33b1c0012d7e1cc005e1a860000500c922..."} 
[2026-09-10 17:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b33b1c0012d7e1cc005e1a860000500c922..."} 
[2026-09-10 17:34:10] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b33b1c0012d7e1cc005e1a860000500c922..."} 
[2026-09-10 17:34:10] local.INFO: Packet analysis {"connection_id":176498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b33"} 
[2026-09-10 17:34:10] local.INFO: Extracted packet for processing {"connection_id":176498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b33"} 
[2026-09-10 17:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763239616,"raw_latitude":98674784,"longitude_deg":76.3239616,"latitude_deg":9.8674784,"altitude":5,"angle":201,"satellites":34,"speed":44,"hex_longitude":"2d7e1cc0","hex_latitude":"05e1a860","is_valid_coordinates":true} 
[2026-09-10 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994704128001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130814090971971584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089178866969477120,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789041816000,"timestamp_ms":1789041816000,"timestamp_seconds":1789041816,"priority":1,"record_length":96,"hex_timestamp":"000001a08b33b1c0"} 
[2026-09-10 17:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:34: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-09-10 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 17:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:34:10] 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-09-10 17:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994704128001,"66":13222,"198":206,"85":15104,"24":44,"16":130814090971971584,"45":9089178866969477120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-10 17:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994704128001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:34:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-10 17:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130814090971971584,"km_value":130814090971971.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089178866969477120,"description":"Unknown IO ID 45"} 
[2026-09-10 17:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994704128001,"power":13222,"unknown_198":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9089178866969477120}} 
[2026-09-10 17:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":176498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:34:10] local.INFO: GPS data processed {"connection_id":176498,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:34:10] local.INFO: Acknowledgment sent {"connection_id":176498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:34:25] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:34:25] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:34:25] local.INFO: IMEI packet received {"connection_id":176500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":176500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:34:26] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 17:34:26] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 17:34:26] local.INFO: IMEI packet received {"connection_id":176500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":176500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:29] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:34:29] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 17:34:29] local.INFO: IMEI packet received {"connection_id":176500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":176500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:29] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b329880012cdeec00072885a8000c008f2d..."} 
[2026-09-10 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b329880012cdeec00072885a8000c008f2d..."} 
[2026-09-10 17:34:29] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08b..."} 
[2026-09-10 17:34:29] local.INFO: IMEI packet received {"connection_id":176500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":176500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:30] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b32b7c0012cdf030007286648000b00912d..."} 
[2026-09-10 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b32b7c0012cdf030007286648000b00912d..."} 
[2026-09-10 17:34:30] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08b329880012cdeec00072885a8000c008f2d..."} 
[2026-09-10 17:34:30] local.INFO: Packet analysis {"connection_id":176500,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:34:30] local.INFO: Extracted packet for processing {"connection_id":176500,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":752806912,"raw_latitude":120096168,"longitude_deg":75.2806912,"latitude_deg":12.0096168,"altitude":12,"angle":143,"satellites":45,"speed":48,"hex_longitude":"2cdeec00","hex_latitude":"072885a8","is_valid_coordinates":true} 
[2026-09-10 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994684160001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404453720189829120,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2391129896410179584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789041744000,"timestamp_ms":1789041744000,"timestamp_seconds":1789041744,"priority":1,"record_length":96,"hex_timestamp":"000001a08b329880"} 
[2026-09-10 17:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 17:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994684160001,"66":27800,"54":206,"83":40960,"24":48,"16":404453720189829120,"44":-2391129896410179584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994684160001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404453720189829120,"km_value":404453720189829.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2391129896410179584,"description":"Unknown IO ID 44"} 
[2026-09-10 17:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994684160001,"power":27800,"unknown_54":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2391129896410179584}} 
[2026-09-10 17:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":176500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:34:30] local.INFO: GPS data processed {"connection_id":176500,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:34:30] local.INFO: Acknowledgment sent {"connection_id":176500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:34:30] local.INFO: Packet analysis {"connection_id":176500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:34:30] local.INFO: Extracted packet for processing {"connection_id":176500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b32"} 
[2026-09-10 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":752812800,"raw_latitude":120088136,"longitude_deg":75.28128,"latitude_deg":12.0088136,"altitude":11,"angle":145,"satellites":45,"speed":50,"hex_longitude":"2cdf0300","hex_latitude":"07286648","is_valid_coordinates":true} 
[2026-09-10 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994686464001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404454201226166272,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2383530072041216000,"note":"Value kept but may cause issues"} 
[2026-09-10 17:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789041752000,"timestamp_ms":1789041752000,"timestamp_seconds":1789041752,"priority":1,"record_length":96,"hex_timestamp":"000001a08b32b7c0"} 
[2026-09-10 17:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17: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-09-10 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994686464001,"66":27919,"54":206,"83":40960,"24":50,"16":404454201226166272,"44":-2383530072041216000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-10 17:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994686464001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-10 17:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404454201226166272,"km_value":404454201226166.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2383530072041216000,"description":"Unknown IO ID 44"} 
[2026-09-10 17:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994686464001,"power":27919,"unknown_54":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2383530072041216000}} 
[2026-09-10 17:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":176500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:34:30] local.INFO: GPS data processed {"connection_id":176500,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:34:30] local.INFO: Acknowledgment sent {"connection_id":176500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:34:31] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:31] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:31] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:34:32] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:32] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:32] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:33] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:33] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:33] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:33] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:33] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:34:33] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:49] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:49] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:49] local.INFO: IMEI packet received {"connection_id":177890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":177890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:34:49] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:49] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:49] local.INFO: IMEI packet received {"connection_id":177890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":177890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:50] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:50] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:50] local.INFO: IMEI packet received {"connection_id":177890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":177890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:34:51] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:51] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:34:51] local.INFO: IMEI packet received {"connection_id":177890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":177890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:35:01] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b343690012ce01bc007270290000c008e2b..."} 
[2026-09-10 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b343690012ce01bc007270290000c008e2b..."} 
[2026-09-10 17:35:01] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b343690012ce01bc007270290000c008e2b..."} 
[2026-09-10 17:35:01] local.INFO: Packet analysis {"connection_id":176500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:35:01] local.INFO: Extracted packet for processing {"connection_id":176500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":752884672,"raw_latitude":119997072,"longitude_deg":75.2884672,"latitude_deg":11.9997072,"altitude":12,"angle":142,"satellites":43,"speed":41,"hex_longitude":"2ce01bc0","hex_latitude":"07270290","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994711296001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404459784683651072,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2304224497376448512,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789041850000,"timestamp_ms":1789041850000,"timestamp_seconds":1789041850,"priority":1,"record_length":96,"hex_timestamp":"000001a08b343690"} 
[2026-09-10 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-09-10 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:35: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-09-10 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-09-10 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-09-10 17:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:35: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-09-10 17:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994711296001,"66":27658,"151":206,"83":43008,"24":41,"16":404459784683651072,"44":-2304224497376448512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 17:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994711296001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:35:01] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 17:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404459784683651072,"km_value":404459784683651.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2304224497376448512,"description":"Unknown IO ID 44"} 
[2026-09-10 17:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994711296001,"power":27658,"unknown_151":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-2304224497376448512}} 
[2026-09-10 17:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":176500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:35:01] local.INFO: GPS data processed {"connection_id":176500,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:35:01] local.INFO: Acknowledgment sent {"connection_id":176500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:35:23] local.INFO: TCP Data received {"connection_id":179264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:23] local.INFO: Processing buffer {"connection_id":179264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:23] local.INFO: IMEI packet received {"connection_id":179264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":179264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:35:23] local.INFO: TCP Data received {"connection_id":179264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:23] local.INFO: Processing buffer {"connection_id":179264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:23] local.INFO: IMEI packet received {"connection_id":179264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":179264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:35:27] local.INFO: TCP Data received {"connection_id":179264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:27] local.INFO: Processing buffer {"connection_id":179264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:35:27] local.INFO: IMEI packet received {"connection_id":179264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":179264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:35:28] local.INFO: TCP Data received {"connection_id":179264,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b346188012ce034400726e5b0000a00832a..."} 
[2026-09-10 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b346188012ce034400726e5b0000a00832a..."} 
[2026-09-10 17:35:28] local.INFO: Processing buffer {"connection_id":179264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b346188012ce034400726e5b0000a00832a..."} 
[2026-09-10 17:35:28] local.INFO: Packet analysis {"connection_id":179264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:35:28] local.INFO: Extracted packet for processing {"connection_id":179264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:35:28] local.INFO: GPS Element Parsed {"raw_longitude":752890944,"raw_latitude":119989680,"longitude_deg":75.2890944,"latitude_deg":11.998968,"altitude":10,"angle":131,"satellites":42,"speed":30,"hex_longitude":"2ce03440","hex_latitude":"0726e5b0","is_valid_coordinates":true} 
[2026-09-10 17:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994713600001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404460248540119040,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2298032047890722816,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789041861000,"timestamp_ms":1789041861000,"timestamp_seconds":1789041861,"priority":1,"record_length":96,"hex_timestamp":"000001a08b346188"} 
[2026-09-10 17:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 17:35:28] 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-09-10 17:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994713600001,"66":27865,"151":206,"83":43008,"24":30,"16":404460248540119040,"44":-2298032047890722816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 17:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994713600001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:35:28] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 17:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404460248540119040,"km_value":404460248540119.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:35:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2298032047890722816,"description":"Unknown IO ID 44"} 
[2026-09-10 17:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994713600001,"power":27865,"unknown_151":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-2298032047890722816}} 
[2026-09-10 17:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":179264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:35:28] local.INFO: GPS data processed {"connection_id":179264,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:35:28] local.INFO: Acknowledgment sent {"connection_id":179264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:35:38] local.INFO: TCP Data received {"connection_id":177892,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:35:38] local.INFO: Processing buffer {"connection_id":177892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:35:38] local.INFO: IMEI packet received {"connection_id":177892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":177892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:35:59] local.INFO: TCP Data received {"connection_id":179264,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b346188012ce034400726e5b0000a00832a..."} 
[2026-09-10 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b346188012ce034400726e5b0000a00832a..."} 
[2026-09-10 17:35:59] local.INFO: Processing buffer {"connection_id":179264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b346188012ce034400726e5b0000a00832a..."} 
[2026-09-10 17:35:59] local.INFO: Packet analysis {"connection_id":179264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:35:59] local.INFO: Extracted packet for processing {"connection_id":179264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:35:59] local.INFO: GPS Element Parsed {"raw_longitude":752890944,"raw_latitude":119989680,"longitude_deg":75.2890944,"latitude_deg":11.998968,"altitude":10,"angle":131,"satellites":42,"speed":30,"hex_longitude":"2ce03440","hex_latitude":"0726e5b0","is_valid_coordinates":true} 
[2026-09-10 17:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994716416001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404460248540119040,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2291135910963204096,"note":"Value kept but may cause issues"} 
[2026-09-10 17:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789041861000,"timestamp_ms":1789041861000,"timestamp_seconds":1789041861,"priority":1,"record_length":96,"hex_timestamp":"000001a08b346188"} 
[2026-09-10 17:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:35: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-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:35: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-09-10 17:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994716416001,"66":27865,"151":206,"83":43008,"24":30,"16":404460248540119040,"44":-2291135910963204096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 17:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994716416001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:35:59] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 17:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404460248540119040,"km_value":404460248540119.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2291135910963204096,"description":"Unknown IO ID 44"} 
[2026-09-10 17:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994716416001,"power":27865,"unknown_151":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-2291135910963204096}} 
[2026-09-10 17:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":179264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:35:59] local.INFO: GPS data processed {"connection_id":179264,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:35:59] local.INFO: Acknowledgment sent {"connection_id":179264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:36:19] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:19] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:19] local.INFO: IMEI packet received {"connection_id":177894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":177894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:36:19] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:19] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:19] local.INFO: IMEI packet received {"connection_id":177894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":177894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:36:24] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:24] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:36:24] local.INFO: IMEI packet received {"connection_id":177894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":177894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:36:24] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b346d40012ce03ac00726e130000a00762b..."} 
[2026-09-10 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b346d40012ce03ac00726e130000a00762b..."} 
[2026-09-10 17:36:24] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b346d40012ce03ac00726e130000a00762b..."} 
[2026-09-10 17:36:24] local.INFO: Packet analysis {"connection_id":177894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:36:24] local.INFO: Extracted packet for processing {"connection_id":177894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:36:24] local.INFO: GPS Element Parsed {"raw_longitude":752892608,"raw_latitude":119988528,"longitude_deg":75.2892608,"latitude_deg":11.9988528,"altitude":10,"angle":118,"satellites":43,"speed":24,"hex_longitude":"2ce03ac0","hex_latitude":"0726e130","is_valid_coordinates":true} 
[2026-09-10 17:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994716416001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404460347324366848,"note":"Value kept but may cause issues"} 
[2026-09-10 17:36:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2291135910963204096,"note":"Value kept but may cause issues"} 
[2026-09-10 17:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789041864000,"timestamp_ms":1789041864000,"timestamp_seconds":1789041864,"priority":1,"record_length":96,"hex_timestamp":"000001a08b346d40"} 
[2026-09-10 17:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994716416001,"66":27745,"151":206,"83":43008,"24":24,"16":404460347324366848,"44":-2291135910963204096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 17:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994716416001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:36:24] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 17:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404460347324366848,"km_value":404460347324366.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:36:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2291135910963204096,"description":"Unknown IO ID 44"} 
[2026-09-10 17:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994716416001,"power":27745,"unknown_151":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-2291135910963204096}} 
[2026-09-10 17:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":177894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:36:24] local.INFO: GPS data processed {"connection_id":177894,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:36:24] local.INFO: Acknowledgment sent {"connection_id":177894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:36:29] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b348898012ce04e800726d8e0000a00682b..."} 
[2026-09-10 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b348898012ce04e800726d8e0000a00682b..."} 
[2026-09-10 17:36:29] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b348898012ce04e800726d8e0000a00682b..."} 
[2026-09-10 17:36:29] local.INFO: Packet analysis {"connection_id":177894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:36:29] local.INFO: Extracted packet for processing {"connection_id":177894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b34"} 
[2026-09-10 17:36:29] local.INFO: GPS Element Parsed {"raw_longitude":752897664,"raw_latitude":119986400,"longitude_deg":75.2897664,"latitude_deg":11.99864,"altitude":10,"angle":104,"satellites":43,"speed":34,"hex_longitude":"2ce04e80","hex_latitude":"0726d8e0","is_valid_coordinates":true} 
[2026-09-10 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994717184001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404460609317371904,"note":"Value kept but may cause issues"} 
[2026-09-10 17:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2289306323614879744,"note":"Value kept but may cause issues"} 
[2026-09-10 17:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789041871000,"timestamp_ms":1789041871000,"timestamp_seconds":1789041871,"priority":1,"record_length":96,"hex_timestamp":"000001a08b348898"} 
[2026-09-10 17:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:36: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-09-10 17:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 17:36: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-09-10 17:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994717184001,"66":27876,"151":206,"83":43008,"24":34,"16":404460609317371904,"44":-2289306323614879744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 17:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994717184001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:36:29] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 17:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404460609317371904,"km_value":404460609317371.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2289306323614879744,"description":"Unknown IO ID 44"} 
[2026-09-10 17:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994717184001,"power":27876,"unknown_151":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-2289306323614879744}} 
[2026-09-10 17:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":177894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:36:29] local.INFO: GPS data processed {"connection_id":177894,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:36:29] local.INFO: Acknowledgment sent {"connection_id":177894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:37:00] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b361320012ce19f0007265b90000f007a2a..."} 
[2026-09-10 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b361320012ce19f0007265b90000f007a2a..."} 
[2026-09-10 17:37:00] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b361320012ce19f0007265b90000f007a2a..."} 
[2026-09-10 17:37:00] local.INFO: Packet analysis {"connection_id":177894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:37:00] local.INFO: Extracted packet for processing {"connection_id":177894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":752983808,"raw_latitude":119954320,"longitude_deg":75.2983808,"latitude_deg":11.995432,"altitude":15,"angle":122,"satellites":42,"speed":36,"hex_longitude":"2ce19f00","hex_latitude":"07265b90","is_valid_coordinates":true} 
[2026-09-10 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994742272001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404465054608523264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2199023224842919936,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789041972000,"timestamp_ms":1789041972000,"timestamp_seconds":1789041972,"priority":1,"record_length":96,"hex_timestamp":"000001a08b361320"} 
[2026-09-10 17:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:37: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-09-10 17:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994742272001,"66":27843,"149":206,"83":43008,"24":36,"16":404465054608523264,"44":-2199023224842919936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 17:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994742272001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:37:00] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 17:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404465054608523264,"km_value":404465054608523.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2199023224842919936,"description":"Unknown IO ID 44"} 
[2026-09-10 17:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994742272001,"power":27843,"unknown_149":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2199023224842919936}} 
[2026-09-10 17:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":177894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:37:00] local.INFO: GPS data processed {"connection_id":177894,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:37:00] local.INFO: Acknowledgment sent {"connection_id":177894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:37:19] local.INFO: TCP Data received {"connection_id":177896,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:37:19] local.INFO: Processing buffer {"connection_id":177896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:37:19] local.INFO: IMEI packet received {"connection_id":177896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":177896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:37:22] local.INFO: TCP Data received {"connection_id":177896,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:37:22] local.INFO: Processing buffer {"connection_id":177896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:37:22] local.INFO: IMEI packet received {"connection_id":177896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":177896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:37:22] local.INFO: TCP Data received {"connection_id":177896,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b361320012ce19f0007265b90000f007a2a..."} 
[2026-09-10 17:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b361320012ce19f0007265b90000f007a2a..."} 
[2026-09-10 17:37:22] local.INFO: Processing buffer {"connection_id":177896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b361320012ce19f0007265b90000f007a2a..."} 
[2026-09-10 17:37:22] local.INFO: Packet analysis {"connection_id":177896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:37:22] local.INFO: Extracted packet for processing {"connection_id":177896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:37:22] local.INFO: GPS Element Parsed {"raw_longitude":752983808,"raw_latitude":119954320,"longitude_deg":75.2983808,"latitude_deg":11.995432,"altitude":15,"angle":122,"satellites":42,"speed":36,"hex_longitude":"2ce19f00","hex_latitude":"07265b90","is_valid_coordinates":true} 
[2026-09-10 17:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994744832001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404465054608523264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2189030863170465792,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789041972000,"timestamp_ms":1789041972000,"timestamp_seconds":1789041972,"priority":1,"record_length":96,"hex_timestamp":"000001a08b361320"} 
[2026-09-10 17:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:37: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-09-10 17:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994744832001,"66":27843,"149":206,"83":43008,"24":36,"16":404465054608523264,"44":-2189030863170465792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 17:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994744832001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:37:22] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 17:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404465054608523264,"km_value":404465054608523.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2189030863170465792,"description":"Unknown IO ID 44"} 
[2026-09-10 17:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994744832001,"power":27843,"unknown_149":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2189030863170465792}} 
[2026-09-10 17:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":177896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:37:22] local.INFO: GPS data processed {"connection_id":177896,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:37:22] local.INFO: Acknowledgment sent {"connection_id":177896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:37:53] local.INFO: TCP Data received {"connection_id":177896,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b362a90012ce1b280072651a0000f006c2a..."} 
[2026-09-10 17:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b362a90012ce1b280072651a0000f006c2a..."} 
[2026-09-10 17:37:53] local.INFO: Processing buffer {"connection_id":177896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b362a90012ce1b280072651a0000f006c2a..."} 
[2026-09-10 17:37:53] local.INFO: Packet analysis {"connection_id":177896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:37:53] local.INFO: Extracted packet for processing {"connection_id":177896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:37:53] local.INFO: GPS Element Parsed {"raw_longitude":752988800,"raw_latitude":119951776,"longitude_deg":75.29888,"latitude_deg":11.9951776,"altitude":15,"angle":108,"satellites":42,"speed":37,"hex_longitude":"2ce1b280","hex_latitude":"072651a0","is_valid_coordinates":true} 
[2026-09-10 17:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994744832001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404465320896495616,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2189030863170465792,"note":"Value kept but may cause issues"} 
[2026-09-10 17:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789041978000,"timestamp_ms":1789041978000,"timestamp_seconds":1789041978,"priority":1,"record_length":96,"hex_timestamp":"000001a08b362a90"} 
[2026-09-10 17:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:37: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-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994744832001,"66":27245,"149":206,"83":43008,"24":37,"16":404465320896495616,"44":-2189030863170465792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 17:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994744832001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:37:53] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 17:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404465320896495616,"km_value":404465320896495.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2189030863170465792,"description":"Unknown IO ID 44"} 
[2026-09-10 17:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994744832001,"power":27245,"unknown_149":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-2189030863170465792}} 
[2026-09-10 17:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":177896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:37:53] local.INFO: GPS data processed {"connection_id":177896,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:37:53] local.INFO: Acknowledgment sent {"connection_id":177896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:38:19] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:38:19] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:38:19] local.INFO: IMEI packet received {"connection_id":176503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":176503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:38:23] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:38:23] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:38:23] local.INFO: IMEI packet received {"connection_id":176503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":176503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:38:24] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b365588012ce1d88007264790000f00692c..."} 
[2026-09-10 17:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b365588012ce1d88007264790000f00692c..."} 
[2026-09-10 17:38:24] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b365588012ce1d88007264790000f00692c..."} 
[2026-09-10 17:38:24] local.INFO: Packet analysis {"connection_id":176503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:38:24] local.INFO: Extracted packet for processing {"connection_id":176503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:38:24] local.INFO: GPS Element Parsed {"raw_longitude":752998528,"raw_latitude":119949200,"longitude_deg":75.2998528,"latitude_deg":11.99492,"altitude":15,"angle":105,"satellites":44,"speed":34,"hex_longitude":"2ce1d880","hex_latitude":"07264790","is_valid_coordinates":true} 
[2026-09-10 17:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994746368001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404465797637865472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:38:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2183542101125259264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789041989000,"timestamp_ms":1789041989000,"timestamp_seconds":1789041989,"priority":1,"record_length":96,"hex_timestamp":"000001a08b365588"} 
[2026-09-10 17:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 17:38:24] 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-09-10 17:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994746368001,"66":27800,"149":206,"83":43008,"24":34,"16":404465797637865472,"44":-2183542101125259264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 17:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994746368001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:38:24] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 17:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404465797637865472,"km_value":404465797637865.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:38:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2183542101125259264,"description":"Unknown IO ID 44"} 
[2026-09-10 17:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994746368001,"power":27800,"unknown_149":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-2183542101125259264}} 
[2026-09-10 17:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":176503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:38:24] local.INFO: GPS data processed {"connection_id":176503,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:38:24] local.INFO: Acknowledgment sent {"connection_id":176503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:38:55] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b369020012ce1fb4007263d90000f006d2d..."} 
[2026-09-10 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b369020012ce1fb4007263d90000f006d2d..."} 
[2026-09-10 17:38:55] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b369020012ce1fb4007263d90000f006d2d..."} 
[2026-09-10 17:38:55] local.INFO: Packet analysis {"connection_id":176503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:38:55] local.INFO: Extracted packet for processing {"connection_id":176503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b36"} 
[2026-09-10 17:38:55] local.INFO: GPS Element Parsed {"raw_longitude":753007424,"raw_latitude":119946640,"longitude_deg":75.3007424,"latitude_deg":11.994664,"altitude":15,"angle":109,"satellites":45,"speed":28,"hex_longitude":"2ce1fb40","hex_latitude":"07263d90","is_valid_coordinates":true} 
[2026-09-10 17:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994749184001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404466240019496960,"note":"Value kept but may cause issues"} 
[2026-09-10 17:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2172846052010913792,"note":"Value kept but may cause issues"} 
[2026-09-10 17:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789042004000,"timestamp_ms":1789042004000,"timestamp_seconds":1789042004,"priority":1,"record_length":96,"hex_timestamp":"000001a08b369020"} 
[2026-09-10 17:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:38: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-09-10 17:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994749184001,"66":27908,"149":206,"83":43008,"24":28,"16":404466240019496960,"44":-2172846052010913792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-10 17:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994749184001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:38:55] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-10 17:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404466240019496960,"km_value":404466240019496.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2172846052010913792,"description":"Unknown IO ID 44"} 
[2026-09-10 17:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994749184001,"power":27908,"unknown_149":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-2172846052010913792}} 
[2026-09-10 17:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":176503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:38:55] local.INFO: GPS data processed {"connection_id":176503,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:38:55] local.INFO: Acknowledgment sent {"connection_id":176503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:39:19] local.INFO: TCP Data received {"connection_id":177900,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:39:19] local.INFO: Processing buffer {"connection_id":177900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:39:19] local.INFO: IMEI packet received {"connection_id":177900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":177900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:39:23] local.INFO: TCP Data received {"connection_id":177900,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:39:23] local.INFO: Processing buffer {"connection_id":177900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:39:23] local.INFO: IMEI packet received {"connection_id":177900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":177900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:39:24] local.INFO: TCP Data received {"connection_id":177900,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b37d070012ce318c007259cd0000f009328..."} 
[2026-09-10 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b37d070012ce318c007259cd0000f009328..."} 
[2026-09-10 17:39:24] local.INFO: Processing buffer {"connection_id":177900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b37d070012ce318c007259cd0000f009328..."} 
[2026-09-10 17:39:24] local.INFO: Packet analysis {"connection_id":177900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:39:24] local.INFO: Extracted packet for processing {"connection_id":177900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:39:24] local.INFO: GPS Element Parsed {"raw_longitude":753080512,"raw_latitude":119905488,"longitude_deg":75.3080512,"latitude_deg":11.9905488,"altitude":15,"angle":147,"satellites":40,"speed":0,"hex_longitude":"2ce318c0","hex_latitude":"07259cd0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994768640001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404470419022675968,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2087699871565334528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789042086000,"timestamp_ms":1789042086000,"timestamp_seconds":1789042086,"priority":1,"record_length":96,"hex_timestamp":"000001a08b37d070"} 
[2026-09-10 17:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17: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-09-10 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 17:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994768640001,"66":27843,"86":206,"83":43008,"24":0,"16":404470419022675968,"44":-2087699871565334528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-10 17:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994768640001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:39:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-10 17:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404470419022675968,"km_value":404470419022675.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2087699871565334528,"description":"Unknown IO ID 44"} 
[2026-09-10 17:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994768640001,"power":27843,"unknown_86":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-2087699871565334528}} 
[2026-09-10 17:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":177900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:39:24] local.INFO: GPS data processed {"connection_id":177900,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:39:24] local.INFO: Acknowledgment sent {"connection_id":177900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:39:37] local.INFO: TCP Data received {"connection_id":176724,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:39:37] local.INFO: Processing buffer {"connection_id":176724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:39:37] local.INFO: IMEI packet received {"connection_id":176724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":176724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:39:38] local.INFO: TCP Data received {"connection_id":176724,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b37a578012d184040071fe598004000642a..."} 
[2026-09-10 17:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b37a578012d184040071fe598004000642a..."} 
[2026-09-10 17:39:38] local.INFO: Processing buffer {"connection_id":176724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b37a578012d184040071fe598004000642a..."} 
[2026-09-10 17:39:38] local.INFO: Packet analysis {"connection_id":176724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:39:38] local.INFO: Extracted packet for processing {"connection_id":176724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756564032,"raw_latitude":119530904,"longitude_deg":75.6564032,"latitude_deg":11.9530904,"altitude":64,"angle":100,"satellites":42,"speed":29,"hex_longitude":"2d184040","hex_latitude":"071fe598","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994770944001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19334937744244736,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746552261089564672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789042075000,"timestamp_ms":1789042075000,"timestamp_seconds":1789042075,"priority":1,"record_length":96,"hex_timestamp":"000001a08b37a578"} 
[2026-09-10 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-09-10 17:39: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-09-10 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":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2335665864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-3249346839086946560,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":27,"raw_value":57956881411218556,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":7701156655994798087,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,122,28,24,241,158,16,176,160,157,45,64,229,65,41,10,66,153,228,42,149,192,1,240,181,139,31,4,113,205,9,114,53,40,239,56,2,68,7,27,55],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-10 17:39:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683831749490835456,"timestamp_seconds":4683831749490835.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 17:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994770944001,"66":12341,"122":206,"28":31744,"24":29,"16":19334937744244736,"45":1746552261089564672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994770944001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:39:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19334937744244736,"km_value":19334937744244.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746552261089564672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994770944001,"power":12341,"unknown_122":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1746552261089564672}} 
[2026-09-10 17:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":176724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:39:38] local.INFO: GPS data processed {"connection_id":176724,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:39:38] local.INFO: Acknowledgment sent {"connection_id":176724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:39:56] local.INFO: TCP Data received {"connection_id":177900,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b37ff50012ce31d80072594080014009e2c..."} 
[2026-09-10 17:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b37ff50012ce31d80072594080014009e2c..."} 
[2026-09-10 17:39:56] local.INFO: Processing buffer {"connection_id":177900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b37ff50012ce31d80072594080014009e2c..."} 
[2026-09-10 17:39:56] local.INFO: Packet analysis {"connection_id":177900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:39:56] local.INFO: Extracted packet for processing {"connection_id":177900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:39:56] local.INFO: GPS Element Parsed {"raw_longitude":753081728,"raw_latitude":119903240,"longitude_deg":75.3081728,"latitude_deg":11.990324,"altitude":20,"angle":158,"satellites":44,"speed":7,"hex_longitude":"2ce31d80","hex_latitude":"07259408","is_valid_coordinates":true} 
[2026-09-10 17:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994774016001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404470543576727552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2082703690730516480,"note":"Value kept but may cause issues"} 
[2026-09-10 17:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789042098000,"timestamp_ms":1789042098000,"timestamp_seconds":1789042098,"priority":1,"record_length":96,"hex_timestamp":"000001a08b37ff50"} 
[2026-09-10 17:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994774016001,"66":27767,"86":206,"83":43008,"24":7,"16":404470543576727552,"44":-2082703690730516480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-10 17:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994774016001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:39:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-10 17:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404470543576727552,"km_value":404470543576727.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2082703690730516480,"description":"Unknown IO ID 44"} 
[2026-09-10 17:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994774016001,"power":27767,"unknown_86":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-2082703690730516480}} 
[2026-09-10 17:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":177900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:39:56] local.INFO: GPS data processed {"connection_id":177900,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:39:56] local.INFO: Acknowledgment sent {"connection_id":177900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:39:57] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:39:57] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:39:57] local.INFO: IMEI packet received {"connection_id":176505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":176505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:40:00] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:00] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:00] local.INFO: IMEI packet received {"connection_id":176505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":176505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:40:01] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b38b300012d7f3f0005dd7720000a00a827..."} 
[2026-09-10 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b38b300012d7f3f0005dd7720000a00a827..."} 
[2026-09-10 17:40:01] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b38b300012d7f3f0005dd7720000a00a827..."} 
[2026-09-10 17:40:01] local.INFO: Packet analysis {"connection_id":176505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:40:01] local.INFO: Extracted packet for processing {"connection_id":176505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763313920,"raw_latitude":98400032,"longitude_deg":76.331392,"latitude_deg":9.8400032,"altitude":10,"angle":168,"satellites":39,"speed":51,"hex_longitude":"2d7f3f00","hex_latitude":"05dd7720","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994786816001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130828350263394304,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916565667840,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40: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-09-10 17:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789042144000,"timestamp_ms":1789042144000,"timestamp_seconds":1789042144,"priority":1,"record_length":96,"hex_timestamp":"000001a08b38b300"} 
[2026-09-10 17:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-10 17:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:40:01] 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-09-10 17:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994786816001,"66":13428,"205":206,"85":15104,"24":51,"16":130828350263394304,"45":9168765916565667840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-10 17:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994786816001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130828350263394304,"km_value":130828350263394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916565667840,"description":"Unknown IO ID 45"} 
[2026-09-10 17:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994786816001,"power":13428,"cell_id":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9168765916565667840}} 
[2026-09-10 17:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":176505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:40:01] local.INFO: GPS data processed {"connection_id":176505,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:40:01] local.INFO: Acknowledgment sent {"connection_id":176505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:40:09] local.INFO: TCP Data received {"connection_id":176724,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b37cc88012d1867c0071fe348003a005f26..."} 
[2026-09-10 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b37cc88012d1867c0071fe348003a005f26..."} 
[2026-09-10 17:40:09] local.INFO: Processing buffer {"connection_id":176724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b37cc88012d1867c0071fe348003a005f26..."} 
[2026-09-10 17:40:09] local.INFO: Packet analysis {"connection_id":176724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:40:09] local.INFO: Extracted packet for processing {"connection_id":176724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":756574144,"raw_latitude":119530312,"longitude_deg":75.6574144,"latitude_deg":11.9530312,"altitude":58,"angle":95,"satellites":38,"speed":46,"hex_longitude":"2d1867c0","hex_latitude":"071fe348","is_valid_coordinates":true} 
[2026-09-10 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994771200001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19335418780581888,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747467054763841536,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789042085000,"timestamp_ms":1789042085000,"timestamp_seconds":1789042085,"priority":1,"record_length":96,"hex_timestamp":"000001a08b37cc88"} 
[2026-09-10 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994771200001,"66":12939,"122":206,"28":31744,"24":46,"16":19335418780581888,"45":1747467054763841536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994771200001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19335418780581888,"km_value":19335418780581.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747467054763841536,"description":"Unknown IO ID 45"} 
[2026-09-10 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994771200001,"power":12939,"unknown_122":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1747467054763841536}} 
[2026-09-10 17:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":176724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:40:10] local.INFO: GPS data processed {"connection_id":176724,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:40:10] local.INFO: Acknowledgment sent {"connection_id":176724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:40:26] local.INFO: TCP Data received {"connection_id":176726,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:40:26] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:40:26] local.INFO: IMEI packet received {"connection_id":176726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":176726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:40:32] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b39b8b8012d7faf8005dc7d980009005026..."} 
[2026-09-10 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b39b8b8012d7faf8005dc7d980009005026..."} 
[2026-09-10 17:40:32] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b39b8b8012d7faf8005dc7d980009005026..."} 
[2026-09-10 17:40:32] local.INFO: Packet analysis {"connection_id":176505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:40:32] local.INFO: Extracted packet for processing {"connection_id":176505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":98336152,"longitude_deg":76.334272,"latitude_deg":9.8336152,"altitude":9,"angle":80,"satellites":38,"speed":32,"hex_longitude":"2d7faf80","hex_latitude":"05dc7d98","is_valid_coordinates":true} 
[2026-09-10 17:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994805504001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130831893611413504,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883739054921728,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789042211000,"timestamp_ms":1789042211000,"timestamp_seconds":1789042211,"priority":1,"record_length":96,"hex_timestamp":"000001a08b39b8b8"} 
[2026-09-10 17:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2335793864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-4118541829156821504,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2550214015,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3457351680,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3703451648,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.WARNING: Large IO value detected {"io_id":57,"raw_value":6273515575851352069,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:32] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,53,85,24,241,157,16,206,160,173,45,124,9,37,10,66,169,64,125,8,161,192,1,240,144,227,139,220,4,113,205,43,106,140,38,239,52,111,2,208,5,41,230,57],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-09-10 17:40:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648626257396563968,"timestamp_seconds":648626257396564.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:40:32] 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-09-10 17:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994805504001,"66":13678,"53":206,"85":15104,"24":32,"16":130831893611413504,"45":9198883739054921728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-10 17:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994805504001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:40:32] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-10 17:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130831893611413504,"km_value":130831893611413.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883739054921728,"description":"Unknown IO ID 45"} 
[2026-09-10 17:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994805504001,"power":13678,"unknown_53":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9198883739054921728}} 
[2026-09-10 17:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":176505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:40:32] local.INFO: GPS data processed {"connection_id":176505,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:40:32] local.INFO: Acknowledgment sent {"connection_id":176505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:40:32] local.INFO: TCP Data received {"connection_id":176726,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:40:32] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:40:32] local.INFO: IMEI packet received {"connection_id":176726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":176726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:40:37] local.INFO: TCP Data received {"connection_id":176726,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b37d458012d1870c0071fe138003b006c26..."} 
[2026-09-10 17:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b37d458012d1870c0071fe138003b006c26..."} 
[2026-09-10 17:40:37] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b37d458012d1870c0071fe138003b006c26..."} 
[2026-09-10 17:40:37] local.INFO: Packet analysis {"connection_id":176726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:40:37] local.INFO: Extracted packet for processing {"connection_id":176726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756576448,"raw_latitude":119529784,"longitude_deg":75.6576448,"latitude_deg":11.9529784,"altitude":59,"angle":108,"satellites":38,"speed":45,"hex_longitude":"2d1870c0","hex_latitude":"071fe138","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994773760001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19335530449731584,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758585316343760896,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789042087000,"timestamp_ms":1789042087000,"timestamp_seconds":1789042087,"priority":1,"record_length":96,"hex_timestamp":"000001a08b37d458"} 
[2026-09-10 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-09-10 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 17:40: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-09-10 17:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 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-09-10 17:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994773760001,"66":12113,"122":206,"28":31744,"24":45,"16":19335530449731584,"45":1758585316343760896},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994773760001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:40:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19335530449731584,"km_value":19335530449731.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758585316343760896,"description":"Unknown IO ID 45"} 
[2026-09-10 17:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994773760001,"power":12113,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1758585316343760896}} 
[2026-09-10 17:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":176726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:40:37] local.INFO: GPS data processed {"connection_id":176726,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:40:37] local.INFO: Acknowledgment sent {"connection_id":176726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:40:52] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:52] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:52] local.INFO: IMEI packet received {"connection_id":177902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":177902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:40:57] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:57] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:40:57] local.INFO: IMEI packet received {"connection_id":177902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":177902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:40:58] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b39d7f8012d7fd1c005dc88300009004b27..."} 
[2026-09-10 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b39d7f8012d7fd1c005dc88300009004b27..."} 
[2026-09-10 17:40:58] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b39d7f8012d7fd1c005dc88300009004b27..."} 
[2026-09-10 17:40:58] local.INFO: Packet analysis {"connection_id":177902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:40:58] local.INFO: Extracted packet for processing {"connection_id":177902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763351488,"raw_latitude":98338864,"longitude_deg":76.3351488,"latitude_deg":9.8338864,"altitude":9,"angle":75,"satellites":39,"speed":43,"hex_longitude":"2d7fd1c0","hex_latitude":"05dc8830","is_valid_coordinates":true} 
[2026-09-10 17:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994806016001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130832335993044992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713326403622912,"note":"Value kept but may cause issues"} 
[2026-09-10 17:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042219000,"timestamp_ms":1789042219000,"timestamp_seconds":1789042219,"priority":1,"record_length":96,"hex_timestamp":"000001a08b39d7f8"} 
[2026-09-10 17:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17: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-09-10 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 17:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:40:58] 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-09-10 17:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994806016001,"66":13189,"53":206,"85":15104,"24":43,"16":130832335993044992,"45":9200713326403622912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-10 17:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994806016001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:40:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-10 17:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130832335993044992,"km_value":130832335993044.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713326403622912,"description":"Unknown IO ID 45"} 
[2026-09-10 17:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994806016001,"power":13189,"unknown_53":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9200713326403622912}} 
[2026-09-10 17:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":177902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:40:58] local.INFO: GPS data processed {"connection_id":177902,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:40:58] local.INFO: Acknowledgment sent {"connection_id":177902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:41:03] local.INFO: TCP Data received {"connection_id":177901,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:41:03] local.INFO: Processing buffer {"connection_id":177901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:41:03] local.INFO: IMEI packet received {"connection_id":177901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":177901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:41:09] local.INFO: TCP Data received {"connection_id":176726,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b37e7e0012d188400071fdd08003a006126..."} 
[2026-09-10 17:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b37e7e0012d188400071fdd08003a006126..."} 
[2026-09-10 17:41:09] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b37e7e0012d188400071fdd08003a006126..."} 
[2026-09-10 17:41:09] local.INFO: Packet analysis {"connection_id":176726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:41:09] local.INFO: Extracted packet for processing {"connection_id":176726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b37"} 
[2026-09-10 17:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756581376,"raw_latitude":119528712,"longitude_deg":75.6581376,"latitude_deg":11.9528712,"altitude":58,"angle":97,"satellites":38,"speed":36,"hex_longitude":"2d188400","hex_latitude":"071fdd08","is_valid_coordinates":true} 
[2026-09-10 17:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994774272001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19335770967900160,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761118591134021632,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789042092000,"timestamp_ms":1789042092000,"timestamp_seconds":1789042092,"priority":1,"record_length":96,"hex_timestamp":"000001a08b37e7e0"} 
[2026-09-10 17:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-10 17:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994774272001,"66":13091,"122":206,"28":31744,"24":36,"16":19335770967900160,"45":1761118591134021632},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994774272001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:41:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:41:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19335770967900160,"km_value":19335770967900.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761118591134021632,"description":"Unknown IO ID 45"} 
[2026-09-10 17:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994774272001,"power":13091,"unknown_122":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1761118591134021632}} 
[2026-09-10 17:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":176726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:41:09] local.INFO: GPS data processed {"connection_id":176726,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:41:09] local.INFO: Acknowledgment sent {"connection_id":176726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:41:26] local.INFO: TCP Data received {"connection_id":176506,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:41:26] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:41:26] local.INFO: IMEI packet received {"connection_id":176506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":176506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:41:28] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:41:28] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:41:28] local.INFO: IMEI packet received {"connection_id":176727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":176727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:41:29] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b39ff08012d7ff78005dc91200008004d28..."} 
[2026-09-10 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b39ff08012d7ff78005dc91200008004d28..."} 
[2026-09-10 17:41:29] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b39ff08012d7ff78005dc91200008004d28..."} 
[2026-09-10 17:41:29] local.INFO: Packet analysis {"connection_id":177902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:41:29] local.INFO: Extracted packet for processing {"connection_id":177902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763361152,"raw_latitude":98341152,"longitude_deg":76.3361152,"latitude_deg":9.8341152,"altitude":8,"angle":77,"satellites":40,"speed":40,"hex_longitude":"2d7ff780","hex_latitude":"05dc9120","is_valid_coordinates":true} 
[2026-09-10 17:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994808064001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130832808439447552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9210353844356657152,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042229000,"timestamp_ms":1789042229000,"timestamp_seconds":1789042229,"priority":1,"record_length":96,"hex_timestamp":"000001a08b39ff08"} 
[2026-09-10 17:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 17:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:41:29] 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-09-10 17:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994808064001,"66":13450,"53":206,"85":15104,"24":40,"16":130832808439447552,"45":9210353844356657152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-09-10 17:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994808064001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:41:29] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-10 17:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130832808439447552,"km_value":130832808439447.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9210353844356657152,"description":"Unknown IO ID 45"} 
[2026-09-10 17:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994808064001,"power":13450,"unknown_53":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9210353844356657152}} 
[2026-09-10 17:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":177902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:41:29] local.INFO: GPS data processed {"connection_id":177902,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:41:29] local.INFO: Acknowledgment sent {"connection_id":177902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:41:32] local.INFO: TCP Data received {"connection_id":176506,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:41:32] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:41:32] local.INFO: IMEI packet received {"connection_id":176506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":176506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:41:32] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:41:32] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:41:32] local.INFO: IMEI packet received {"connection_id":176727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":176727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:41:33] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b382e30012ce3248007258918001200922b..."} 
[2026-09-10 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b382e30012ce3248007258918001200922b..."} 
[2026-09-10 17:41:33] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b382e30012ce3248007258918001200922b..."} 
[2026-09-10 17:41:33] local.INFO: Packet analysis {"connection_id":176727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:41:33] local.INFO: Extracted packet for processing {"connection_id":176727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":753083520,"raw_latitude":119900440,"longitude_deg":75.308352,"latitude_deg":11.990044,"altitude":18,"angle":146,"satellites":43,"speed":12,"hex_longitude":"2ce32480","hex_latitude":"07258918","is_valid_coordinates":true} 
[2026-09-10 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994777088001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404470706785484800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2081366684591716352,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042110000,"timestamp_ms":1789042110000,"timestamp_seconds":1789042110,"priority":1,"record_length":96,"hex_timestamp":"000001a08b382e30"} 
[2026-09-10 17:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17: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-09-10 17:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:41: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-09-10 17:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994777088001,"66":27800,"169":206,"83":43008,"24":12,"16":404470706785484800,"44":-2081366684591716352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-09-10 17:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994777088001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404470706785484800,"km_value":404470706785484.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2081366684591716352,"description":"Unknown IO ID 44"} 
[2026-09-10 17:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994777088001,"power":27800,"unknown_169":206,"unknown_83":43008,"ignition":12,"odometer":null,"unknown_44":-2081366684591716352}} 
[2026-09-10 17:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":176727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:41:33] local.INFO: GPS data processed {"connection_id":176727,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:41:33] local.INFO: Acknowledgment sent {"connection_id":176727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:41:33] local.INFO: TCP Data received {"connection_id":176506,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3816c0012d18a940071fd3e8003b006825..."} 
[2026-09-10 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3816c0012d18a940071fd3e8003b006825..."} 
[2026-09-10 17:41:33] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3816c0012d18a940071fd3e8003b006825..."} 
[2026-09-10 17:41:33] local.INFO: Packet analysis {"connection_id":176506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:41:33] local.INFO: Extracted packet for processing {"connection_id":176506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119526376,"longitude_deg":75.6590912,"latitude_deg":11.9526376,"altitude":59,"angle":104,"satellites":37,"speed":35,"hex_longitude":"2d18a940","hex_latitude":"071fd3e8","is_valid_coordinates":true} 
[2026-09-10 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994775552001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336239119335424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766536984435427328,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042104000,"timestamp_ms":1789042104000,"timestamp_seconds":1789042104,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3816c0"} 
[2026-09-10 17:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 17:41: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-09-10 17:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994775552001,"66":12113,"122":206,"28":31744,"24":35,"16":19336239119335424,"45":1766536984435427328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 17:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994775552001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336239119335424,"km_value":19336239119335.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766536984435427328,"description":"Unknown IO ID 45"} 
[2026-09-10 17:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994775552001,"power":12113,"unknown_122":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1766536984435427328}} 
[2026-09-10 17:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":176506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:41:33] local.INFO: GPS data processed {"connection_id":176506,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:41:33] local.INFO: Acknowledgment sent {"connection_id":176506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:41:34] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b388038012ce32e8007257870001200952b..."} 
[2026-09-10 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b388038012ce32e8007257870001200952b..."} 
[2026-09-10 17:41:34] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b388038012ce32e8007257870001200952b..."} 
[2026-09-10 17:41:34] local.INFO: Packet analysis {"connection_id":176727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:41:34] local.INFO: Extracted packet for processing {"connection_id":176727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":753086080,"raw_latitude":119896176,"longitude_deg":75.308608,"latitude_deg":11.9896176,"altitude":18,"angle":149,"satellites":43,"speed":17,"hex_longitude":"2ce32e80","hex_latitude":"07257870","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994780160001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404470947303653376,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2079396359755458560,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789042131000,"timestamp_ms":1789042131000,"timestamp_seconds":1789042131,"priority":1,"record_length":96,"hex_timestamp":"000001a08b388038"} 
[2026-09-10 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-09-10 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:41: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-09-10 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-09-10 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-09-10 17:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:41: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-09-10 17:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994780160001,"66":27843,"169":206,"83":43008,"24":17,"16":404470947303653376,"44":-2079396359755458560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-09-10 17:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994780160001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:41:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 17:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404470947303653376,"km_value":404470947303653.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:41:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2079396359755458560,"description":"Unknown IO ID 44"} 
[2026-09-10 17:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994780160001,"power":27843,"unknown_169":206,"unknown_83":43008,"ignition":17,"odometer":null,"unknown_44":-2079396359755458560}} 
[2026-09-10 17:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":176727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:41:34] local.INFO: GPS data processed {"connection_id":176727,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:41:34] local.INFO: Acknowledgment sent {"connection_id":176727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:41:55] local.INFO: TCP Data received {"connection_id":179267,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:41:55] local.INFO: Processing buffer {"connection_id":179267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:41:55] local.INFO: IMEI packet received {"connection_id":179267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":179267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:41:57] local.INFO: TCP Data received {"connection_id":179267,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:41:57] local.INFO: Processing buffer {"connection_id":179267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:41:57] local.INFO: IMEI packet received {"connection_id":179267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":179267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:41:58] local.INFO: TCP Data received {"connection_id":179267,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3b08a8012d809d0005dc3570000b009f28..."} 
[2026-09-10 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3b08a8012d809d0005dc3570000b009f28..."} 
[2026-09-10 17:41:58] local.INFO: Processing buffer {"connection_id":179267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3b08a8012d809d0005dc3570000b009f28..."} 
[2026-09-10 17:41:58] local.INFO: Packet analysis {"connection_id":179267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:41:58] local.INFO: Extracted packet for processing {"connection_id":179267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763403520,"raw_latitude":98317680,"longitude_deg":76.340352,"latitude_deg":9.831768,"altitude":11,"angle":159,"satellites":40,"speed":55,"hex_longitude":"2d809d00","hex_latitude":"05dc3570","is_valid_coordinates":true} 
[2026-09-10 17:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994826240001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130835810621587456,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183613671222972416,"note":"Value kept but may cause issues"} 
[2026-09-10 17:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042297000,"timestamp_ms":1789042297000,"timestamp_seconds":1789042297,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3b08a8"} 
[2026-09-10 17:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:41: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-09-10 17:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 17:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:41:58] 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-09-10 17:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994826240001,"66":13222,"251":206,"85":15104,"24":55,"16":130835810621587456,"45":-9183613671222972416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-10 17:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994826240001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:41:58] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-10 17:41:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130835810621587456,"km_value":130835810621587.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183613671222972416,"description":"Unknown IO ID 45"} 
[2026-09-10 17:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994826240001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-9183613671222972416}} 
[2026-09-10 17:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":179267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:41:58] local.INFO: GPS data processed {"connection_id":179267,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:41:58] local.INFO: Acknowledgment sent {"connection_id":179267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:42:04] local.INFO: TCP Data received {"connection_id":176506,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b382e30012d18bc80071fd150003d005b23..."} 
[2026-09-10 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b382e30012d18bc80071fd150003d005b23..."} 
[2026-09-10 17:42:04] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b382e30012d18bc80071fd150003d005b23..."} 
[2026-09-10 17:42:04] local.INFO: Packet analysis {"connection_id":176506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:42:04] local.INFO: Extracted packet for processing {"connection_id":176506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756595840,"raw_latitude":119525712,"longitude_deg":75.659584,"latitude_deg":11.9525712,"altitude":61,"angle":91,"satellites":35,"speed":30,"hex_longitude":"2d18bc80","hex_latitude":"071fd150","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994778624001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336475342536704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927317301248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789042110000,"timestamp_ms":1789042110000,"timestamp_seconds":1789042110,"priority":1,"record_length":96,"hex_timestamp":"000001a08b382e30"} 
[2026-09-10 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-09-10 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-10 17:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994778624001,"66":13080,"71":206,"28":31744,"24":30,"16":19336475342536704,"45":1777021927317301248},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994778624001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336475342536704,"km_value":19336475342536.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927317301248,"description":"Unknown IO ID 45"} 
[2026-09-10 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994778624001,"power":13080,"unknown_71":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1777021927317301248}} 
[2026-09-10 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":176506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:42:04] local.INFO: GPS data processed {"connection_id":176506,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:42:04] local.INFO: Acknowledgment sent {"connection_id":176506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:42:17] local.INFO: TCP Data received {"connection_id":179268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:17] local.INFO: Processing buffer {"connection_id":179268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:17] local.INFO: IMEI packet received {"connection_id":179268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":179268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:42:18] local.INFO: TCP Data received {"connection_id":179268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:18] local.INFO: Processing buffer {"connection_id":179268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:18] local.INFO: IMEI packet received {"connection_id":179268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":179268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:42:23] local.INFO: TCP Data received {"connection_id":179268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:23] local.INFO: Processing buffer {"connection_id":179268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:42:23] local.INFO: IMEI packet received {"connection_id":179268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":179268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:42:24] local.INFO: TCP Data received {"connection_id":179268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3aba88012ce43040072442e80010009328..."} 
[2026-09-10 17:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3aba88012ce43040072442e80010009328..."} 
[2026-09-10 17:42:24] local.INFO: Processing buffer {"connection_id":179268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3aba88012ce43040072442e80010009328..."} 
[2026-09-10 17:42:24] local.INFO: Packet analysis {"connection_id":179268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:42:24] local.INFO: Extracted packet for processing {"connection_id":179268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:42:24] local.INFO: GPS Element Parsed {"raw_longitude":753152064,"raw_latitude":119816936,"longitude_deg":75.3152064,"latitude_deg":11.9816936,"altitude":16,"angle":147,"satellites":40,"speed":22,"hex_longitude":"2ce43040","hex_latitude":"072442e8","is_valid_coordinates":true} 
[2026-09-10 17:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994819840001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404475916580814848,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2010223884248143872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789042277000,"timestamp_ms":1789042277000,"timestamp_seconds":1789042277,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3aba88"} 
[2026-09-10 17:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 17:42:24] 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-09-10 17:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994819840001,"66":27865,"8":206,"83":43008,"24":22,"16":404475916580814848,"44":-2010223884248143872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-09-10 17:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994819840001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:42:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 17:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404475916580814848,"km_value":404475916580814.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2010223884248143872,"description":"Unknown IO ID 44"} 
[2026-09-10 17:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994819840001,"power":27865,"unknown_8":206,"unknown_83":43008,"ignition":22,"odometer":null,"unknown_44":-2010223884248143872}} 
[2026-09-10 17:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":179268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:42:24] local.INFO: GPS data processed {"connection_id":179268,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:42:24] local.INFO: Acknowledgment sent {"connection_id":179268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:42:26] local.INFO: TCP Data received {"connection_id":177903,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:42:26] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:42:26] local.INFO: IMEI packet received {"connection_id":177903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":177903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:42:29] local.INFO: TCP Data received {"connection_id":179267,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3b08a8012d809d0005dc3570000b009f28..."} 
[2026-09-10 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3b08a8012d809d0005dc3570000b009f28..."} 
[2026-09-10 17:42:29] local.INFO: Processing buffer {"connection_id":179267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3b08a8012d809d0005dc3570000b009f28..."} 
[2026-09-10 17:42:29] local.INFO: Packet analysis {"connection_id":179267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:42:29] local.INFO: Extracted packet for processing {"connection_id":179267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":763403520,"raw_latitude":98317680,"longitude_deg":76.340352,"latitude_deg":9.831768,"altitude":11,"angle":159,"satellites":40,"speed":55,"hex_longitude":"2d809d00","hex_latitude":"05dc3570","is_valid_coordinates":true} 
[2026-09-10 17:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994828032001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130835810621587456,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179180440341876736,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042297000,"timestamp_ms":1789042297000,"timestamp_seconds":1789042297,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3b08a8"} 
[2026-09-10 17:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 17:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:42:29] 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-09-10 17:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994828032001,"66":13222,"251":206,"85":15104,"24":55,"16":130835810621587456,"45":-9179180440341876736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-10 17:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994828032001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:42:29] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-10 17:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130835810621587456,"km_value":130835810621587.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179180440341876736,"description":"Unknown IO ID 45"} 
[2026-09-10 17:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994828032001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-9179180440341876736}} 
[2026-09-10 17:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":179267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:42:29] local.INFO: GPS data processed {"connection_id":179267,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:42:29] local.INFO: Acknowledgment sent {"connection_id":179267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:42:32] local.INFO: TCP Data received {"connection_id":177903,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:42:32] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:42:32] local.INFO: IMEI packet received {"connection_id":177903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":177903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:42:33] local.INFO: TCP Data received {"connection_id":177903,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b388038012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b388038012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:42:33] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b388038012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:42:33] local.INFO: Packet analysis {"connection_id":177903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:42:33] local.INFO: Extracted packet for processing {"connection_id":177903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994780160001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782440320618811392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042131000,"timestamp_ms":1789042131000,"timestamp_seconds":1789042131,"priority":1,"record_length":96,"hex_timestamp":"000001a08b388038"} 
[2026-09-10 17:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 17:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994780160001,"66":13004,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1782440320618811392},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994780160001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:42:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782440320618811392,"description":"Unknown IO ID 45"} 
[2026-09-10 17:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994780160001,"power":13004,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1782440320618811392}} 
[2026-09-10 17:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":177903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:42:33] local.INFO: GPS data processed {"connection_id":177903,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:42:33] local.INFO: Acknowledgment sent {"connection_id":177903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:42:53] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:53] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:53] local.INFO: IMEI packet received {"connection_id":176728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":176728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:42:55] local.INFO: TCP Data received {"connection_id":179268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3ae968012ce44600072426a0000e008e28..."} 
[2026-09-10 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3ae968012ce44600072426a0000e008e28..."} 
[2026-09-10 17:42:55] local.INFO: Processing buffer {"connection_id":179268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3ae968012ce44600072426a0000e008e28..."} 
[2026-09-10 17:42:55] local.INFO: Packet analysis {"connection_id":179268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:42:55] local.INFO: Extracted packet for processing {"connection_id":179268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":753157632,"raw_latitude":119809696,"longitude_deg":75.3157632,"latitude_deg":11.9809696,"altitude":14,"angle":142,"satellites":40,"speed":36,"hex_longitude":"2ce44600","hex_latitude":"072426a0","is_valid_coordinates":true} 
[2026-09-10 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994822912001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404476354667479040,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2004031434762557440,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:55] 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-09-10 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789042289000,"timestamp_ms":1789042289000,"timestamp_seconds":1789042289,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3ae968"} 
[2026-09-10 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:42: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-09-10 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994822912001,"66":27745,"89":206,"83":43008,"24":36,"16":404476354667479040,"44":-2004031434762557440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-09-10 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994822912001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:42:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 17:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404476354667479040,"km_value":404476354667479.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2004031434762557440,"description":"Unknown IO ID 44"} 
[2026-09-10 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994822912001,"power":27745,"unknown_89":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2004031434762557440}} 
[2026-09-10 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":179268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:42:55] local.INFO: GPS data processed {"connection_id":179268,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:42:55] local.INFO: Acknowledgment sent {"connection_id":179268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:42:57] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:57] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:57] local.INFO: IMEI packet received {"connection_id":176728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":176728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:42:58] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:58] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:42:58] local.INFO: IMEI packet received {"connection_id":176728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":176728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:42:59] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3c29b8012d813a4005dafeb80008009527..."} 
[2026-09-10 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3c29b8012d813a4005dafeb80008009527..."} 
[2026-09-10 17:42:59] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3c29b8012d813a4005dafeb80008009527..."} 
[2026-09-10 17:42:59] local.INFO: Packet analysis {"connection_id":176728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:42:59] local.INFO: Extracted packet for processing {"connection_id":176728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763443776,"raw_latitude":98238136,"longitude_deg":76.3443776,"latitude_deg":9.8238136,"altitude":8,"angle":149,"satellites":39,"speed":38,"hex_longitude":"2d813a40","hex_latitude":"05dafeb8","is_valid_coordinates":true} 
[2026-09-10 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994845696001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130840144243589120,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136888825110140928,"note":"Value kept but may cause issues"} 
[2026-09-10 17:42:59] 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-09-10 17:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789042371000,"timestamp_ms":1789042371000,"timestamp_seconds":1789042371,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3c29b8"} 
[2026-09-10 17:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:42: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-09-10 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-10 17:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:42:59] 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-09-10 17:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994845696001,"66":13189,"154":206,"85":15104,"24":38,"16":130840144243589120,"45":-9136888825110140928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-10 17:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994845696001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:42:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 17:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130840144243589120,"km_value":130840144243589.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136888825110140928,"description":"Unknown IO ID 45"} 
[2026-09-10 17:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994845696001,"power":13189,"unknown_154":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9136888825110140928}} 
[2026-09-10 17:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":176728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:42:59] local.INFO: GPS data processed {"connection_id":176728,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:42:59] local.INFO: Acknowledgment sent {"connection_id":176728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:01] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3c2da0012d813c8005dafbd00008008927..."} 
[2026-09-10 17:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3c2da0012d813c8005dafbd00008008927..."} 
[2026-09-10 17:43:01] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3c2da0012d813c8005dafbd00008008927..."} 
[2026-09-10 17:43:01] local.INFO: Packet analysis {"connection_id":176728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:01] local.INFO: Extracted packet for processing {"connection_id":176728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763444352,"raw_latitude":98237392,"longitude_deg":76.3444352,"latitude_deg":9.8237392,"altitude":8,"angle":137,"satellites":39,"speed":37,"hex_longitude":"2d813c80","hex_latitude":"05dafbd0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994846976001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130840187193262080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134918500274489344,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:01] 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-09-10 17:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789042372000,"timestamp_ms":1789042372000,"timestamp_seconds":1789042372,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3c2da0"} 
[2026-09-10 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-09-10 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:01] 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-09-10 17:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994846976001,"66":13189,"154":206,"85":15104,"24":37,"16":130840187193262080,"45":-9134918500274489344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-10 17:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994846976001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:01] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 17:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130840187193262080,"km_value":130840187193262.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134918500274489344,"description":"Unknown IO ID 45"} 
[2026-09-10 17:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994846976001,"power":13189,"unknown_154":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9134918500274489344}} 
[2026-09-10 17:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":176728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:01] local.INFO: GPS data processed {"connection_id":176728,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:01] local.INFO: Acknowledgment sent {"connection_id":176728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:05] local.INFO: TCP Data received {"connection_id":177903,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b38d240012d18d0c0071fd2f00039005b26..."} 
[2026-09-10 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b38d240012d18d0c0071fd2f00039005b26..."} 
[2026-09-10 17:43:05] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b38d240012d18d0c0071fd2f00039005b26..."} 
[2026-09-10 17:43:05] local.INFO: Packet analysis {"connection_id":177903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:43:05] local.INFO: Extracted packet for processing {"connection_id":177903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b38"} 
[2026-09-10 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994785536001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789042152000,"timestamp_ms":1789042152000,"timestamp_seconds":1789042152,"priority":1,"record_length":96,"hex_timestamp":"000001a08b38d240"} 
[2026-09-10 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-09-10 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994785536001,"66":12972,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994785536001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994785536001,"power":12972,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":177903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:05] local.INFO: GPS data processed {"connection_id":177903,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:05] local.INFO: Acknowledgment sent {"connection_id":177903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:18] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:43:18] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:43:18] local.INFO: IMEI packet received {"connection_id":176729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":176729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:43:24] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:43:24] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:43:24] local.INFO: IMEI packet received {"connection_id":176729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":176729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:43:24] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3b1460012ce46200072409f8000f008a29..."} 
[2026-09-10 17:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3b1460012ce46200072409f8000f008a29..."} 
[2026-09-10 17:43:24] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3b1460012ce46200072409f8000f008a29..."} 
[2026-09-10 17:43:24] local.INFO: Packet analysis {"connection_id":176729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:43:24] local.INFO: Extracted packet for processing {"connection_id":176729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":753164800,"raw_latitude":119802360,"longitude_deg":75.31648,"latitude_deg":11.980236,"altitude":15,"angle":138,"satellites":41,"speed":35,"hex_longitude":"2ce46200","hex_latitude":"072409f8","is_valid_coordinates":true} 
[2026-09-10 17:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994825984001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404476848588718080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1997909354020954112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:24] 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-09-10 17:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789042300000,"timestamp_ms":1789042300000,"timestamp_seconds":1789042300,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3b1460"} 
[2026-09-10 17:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994825984001,"66":27789,"89":206,"83":43008,"24":35,"16":404476848588718080,"44":-1997909354020954112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-09-10 17:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994825984001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 17:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404476848588718080,"km_value":404476848588718.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1997909354020954112,"description":"Unknown IO ID 44"} 
[2026-09-10 17:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994825984001,"power":27789,"unknown_89":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1997909354020954112}} 
[2026-09-10 17:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":176729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:24] local.INFO: GPS data processed {"connection_id":176729,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:24] local.INFO: Acknowledgment sent {"connection_id":176729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:26] local.INFO: TCP Data received {"connection_id":179269,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:43:26] local.INFO: Processing buffer {"connection_id":179269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:43:26] local.INFO: IMEI packet received {"connection_id":179269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":179269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:43:32] local.INFO: TCP Data received {"connection_id":179269,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:43:32] local.INFO: Processing buffer {"connection_id":179269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:43:32] local.INFO: IMEI packet received {"connection_id":179269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":179269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:43:32] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3c4128012d81490005daee500008009927..."} 
[2026-09-10 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3c4128012d81490005daee500008009927..."} 
[2026-09-10 17:43:32] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3c4128012d81490005daee500008009927..."} 
[2026-09-10 17:43:32] local.INFO: Packet analysis {"connection_id":176728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:32] local.INFO: Extracted packet for processing {"connection_id":176728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763447552,"raw_latitude":98233936,"longitude_deg":76.3447552,"latitude_deg":9.8233936,"altitude":8,"angle":153,"satellites":39,"speed":40,"hex_longitude":"2d814900","hex_latitude":"05daee50","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994847232001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130840419121496064,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134285181577080832,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43: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-09-10 17:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789042377000,"timestamp_ms":1789042377000,"timestamp_seconds":1789042377,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3c4128"} 
[2026-09-10 17:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:32] 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-09-10 17:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994847232001,"66":13222,"154":206,"85":15104,"24":40,"16":130840419121496064,"45":-9134285181577080832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-10 17:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994847232001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:32] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 17:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130840419121496064,"km_value":130840419121496.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134285181577080832,"description":"Unknown IO ID 45"} 
[2026-09-10 17:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994847232001,"power":13222,"unknown_154":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9134285181577080832}} 
[2026-09-10 17:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":176728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:32] local.INFO: GPS data processed {"connection_id":176728,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:32] local.INFO: Acknowledgment sent {"connection_id":176728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:33] local.INFO: TCP Data received {"connection_id":179269,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b392448012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b392448012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:43:33] local.INFO: Processing buffer {"connection_id":179269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b392448012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:43:33] local.INFO: Packet analysis {"connection_id":179269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:43:33] local.INFO: Extracted packet for processing {"connection_id":179269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994790912001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042173000,"timestamp_ms":1789042173000,"timestamp_seconds":1789042173,"priority":1,"record_length":96,"hex_timestamp":"000001a08b392448"} 
[2026-09-10 17:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994790912001,"66":12972,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994790912001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994790912001,"power":12972,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":179269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:34] local.INFO: GPS data processed {"connection_id":179269,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:34] local.INFO: Acknowledgment sent {"connection_id":179269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:52] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:43:52] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:43:52] local.INFO: IMEI packet received {"connection_id":176730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":176730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:43:54] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:43:54] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:43:54] local.INFO: IMEI packet received {"connection_id":176730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":176730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:43:55] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3c48f8012d814b4005dae640000800aa26..."} 
[2026-09-10 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3c48f8012d814b4005dae640000800aa26..."} 
[2026-09-10 17:43:55] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3c48f8012d814b4005dae640000800aa26..."} 
[2026-09-10 17:43:55] local.INFO: Packet analysis {"connection_id":176730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:55] local.INFO: Extracted packet for processing {"connection_id":176730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763448128,"raw_latitude":98231872,"longitude_deg":76.3448128,"latitude_deg":9.8231872,"altitude":8,"angle":170,"satellites":38,"speed":43,"hex_longitude":"2d814b40","hex_latitude":"05dae640","is_valid_coordinates":true} 
[2026-09-10 17:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994848512001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130840522200711168,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130766744369082368,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:55] 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-09-10 17:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789042379000,"timestamp_ms":1789042379000,"timestamp_seconds":1789042379,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3c48f8"} 
[2026-09-10 17:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:55] 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-09-10 17:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994848512001,"66":13037,"154":206,"85":15104,"24":43,"16":130840522200711168,"45":-9130766744369082368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-10 17:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994848512001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130840522200711168,"km_value":130840522200711.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130766744369082368,"description":"Unknown IO ID 45"} 
[2026-09-10 17:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994848512001,"power":13037,"unknown_154":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9130766744369082368}} 
[2026-09-10 17:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":176730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:55] local.INFO: GPS data processed {"connection_id":176730,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:55] local.INFO: Acknowledgment sent {"connection_id":176730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:55] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3b27e8012ce46a800723fe30000e00962a..."} 
[2026-09-10 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3b27e8012ce46a800723fe30000e00962a..."} 
[2026-09-10 17:43:55] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3b27e8012ce46a800723fe30000e00962a..."} 
[2026-09-10 17:43:55] local.INFO: Packet analysis {"connection_id":176729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:43:55] local.INFO: Extracted packet for processing {"connection_id":176729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:43:55] local.INFO: GPS Element Parsed {"raw_longitude":753166976,"raw_latitude":119799344,"longitude_deg":75.3166976,"latitude_deg":11.9799344,"altitude":14,"angle":150,"satellites":42,"speed":18,"hex_longitude":"2ce46a80","hex_latitude":"0723fe30","is_valid_coordinates":true} 
[2026-09-10 17:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994828800001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404477024682377216,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1990028054674933760,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:55] 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-09-10 17:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789042305000,"timestamp_ms":1789042305000,"timestamp_seconds":1789042305,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3b27e8"} 
[2026-09-10 17:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:43: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-09-10 17:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994828800001,"66":27800,"89":206,"83":43008,"24":18,"16":404477024682377216,"44":-1990028054674933760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-09-10 17:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994828800001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404477024682377216,"km_value":404477024682377.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1990028054674933760,"description":"Unknown IO ID 44"} 
[2026-09-10 17:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994828800001,"power":27800,"unknown_89":206,"unknown_83":43008,"ignition":18,"odometer":null,"unknown_44":-1990028054674933760}} 
[2026-09-10 17:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":176729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:55] local.INFO: GPS data processed {"connection_id":176729,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:55] local.INFO: Acknowledgment sent {"connection_id":176729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:43:56] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3c6838012d81530005dac0d00007009d29..."} 
[2026-09-10 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3c6838012d81530005dac0d00007009d29..."} 
[2026-09-10 17:43:56] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3c6838012d81530005dac0d00007009d29..."} 
[2026-09-10 17:43:56] local.INFO: Packet analysis {"connection_id":176730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:56] local.INFO: Extracted packet for processing {"connection_id":176730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3c"} 
[2026-09-10 17:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763450112,"raw_latitude":98222288,"longitude_deg":76.3450112,"latitude_deg":9.8222288,"altitude":7,"angle":157,"satellites":41,"speed":49,"hex_longitude":"2d815300","hex_latitude":"05dac0d0","is_valid_coordinates":true} 
[2026-09-10 17:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994849024001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130840998942081024,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130133425672011776,"note":"Value kept but may cause issues"} 
[2026-09-10 17:43:56] 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-09-10 17:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789042387000,"timestamp_ms":1789042387000,"timestamp_seconds":1789042387,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3c6838"} 
[2026-09-10 17:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:43: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-09-10 17:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-10 17:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:43:56] 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-09-10 17:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994849024001,"66":13678,"154":206,"85":15104,"24":49,"16":130840998942081024,"45":-9130133425672011776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-10 17:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994849024001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:43:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-10 17:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130840998942081024,"km_value":130840998942081.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130133425672011776,"description":"Unknown IO ID 45"} 
[2026-09-10 17:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994849024001,"power":13678,"unknown_154":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9130133425672011776}} 
[2026-09-10 17:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":176730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:43:57] local.INFO: GPS data processed {"connection_id":176730,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:43:57] local.INFO: Acknowledgment sent {"connection_id":176730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:44:06] local.INFO: TCP Data received {"connection_id":179269,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b397650012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b397650012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:44:06] local.INFO: Processing buffer {"connection_id":179269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b397650012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:44:06] local.INFO: Packet analysis {"connection_id":179269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:44:06] local.INFO: Extracted packet for processing {"connection_id":179269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":35,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994796288001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789042194000,"timestamp_ms":1789042194000,"timestamp_seconds":1789042194,"priority":1,"record_length":96,"hex_timestamp":"000001a08b397650"} 
[2026-09-10 17:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 17:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994796288001,"66":12972,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994796288001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:44:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994796288001,"power":12972,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":179269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:44:06] local.INFO: GPS data processed {"connection_id":179269,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:44:06] local.INFO: Acknowledgment sent {"connection_id":179269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:44:17] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:17] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:17] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:44:18] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:18] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:18] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:44:24] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:24] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:44:24] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:44:24] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3b6a50012ce47d400723dde0000c009529..."} 
[2026-09-10 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3b6a50012ce47d400723dde0000c009529..."} 
[2026-09-10 17:44:24] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3b6a50012ce47d400723dde0000c009529..."} 
[2026-09-10 17:44:24] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:44:24] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3b"} 
[2026-09-10 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":753171776,"raw_latitude":119791072,"longitude_deg":75.3171776,"latitude_deg":11.9791072,"altitude":12,"angle":149,"satellites":41,"speed":34,"hex_longitude":"2ce47d40","hex_latitude":"0723dde0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994830080001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404477488538845184,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1987635517373665280,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:24] 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-09-10 17:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789042322000,"timestamp_ms":1789042322000,"timestamp_seconds":1789042322,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3b6a50"} 
[2026-09-10 17:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994830080001,"66":27832,"89":206,"83":43008,"24":34,"16":404477488538845184,"44":-1987635517373665280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-09-10 17:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994830080001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:44:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 17:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404477488538845184,"km_value":404477488538845.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1987635517373665280,"description":"Unknown IO ID 44"} 
[2026-09-10 17:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994830080001,"power":27832,"unknown_89":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1987635517373665280}} 
[2026-09-10 17:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:44:24] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:44:24] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:44:27] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3d79a8012d82098005da8b600007004d26..."} 
[2026-09-10 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3d79a8012d82098005da8b600007004d26..."} 
[2026-09-10 17:44:27] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3d79a8012d82098005da8b600007004d26..."} 
[2026-09-10 17:44:27] local.INFO: Packet analysis {"connection_id":176730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:44:27] local.INFO: Extracted packet for processing {"connection_id":176730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763496832,"raw_latitude":98208608,"longitude_deg":76.3496832,"latitude_deg":9.8208608,"altitude":7,"angle":77,"satellites":38,"speed":32,"hex_longitude":"2d820980","hex_latitude":"05da8b60","is_valid_coordinates":true} 
[2026-09-10 17:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994866176001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130843850800365568,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086364066800105472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789042457000,"timestamp_ms":1789042457000,"timestamp_seconds":1789042457,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3d79a8"} 
[2026-09-10 17:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:44: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":214,"data_length":795,"current_offset":136} 
[2026-09-10 17:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:44:27] 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-09-10 17:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994866176001,"66":13472,"71":206,"85":15104,"24":32,"16":130843850800365568,"45":-9086364066800105472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 17:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994866176001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:44:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130843850800365568,"km_value":130843850800365.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086364066800105472,"description":"Unknown IO ID 45"} 
[2026-09-10 17:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994866176001,"power":13472,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9086364066800105472}} 
[2026-09-10 17:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":176730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:44:27] local.INFO: GPS data processed {"connection_id":176730,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:44:27] local.INFO: Acknowledgment sent {"connection_id":176730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:44:32] local.INFO: TCP Data received {"connection_id":179270,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:44:32] local.INFO: Processing buffer {"connection_id":179270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:44:32] local.INFO: IMEI packet received {"connection_id":179270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":179270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:44:37] local.INFO: TCP Data received {"connection_id":179270,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:44:37] local.INFO: Processing buffer {"connection_id":179270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:44:37] local.INFO: IMEI packet received {"connection_id":179270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":179270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:44:38] local.INFO: TCP Data received {"connection_id":179270,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b39c858012d18d0c0071fd2f00039005b22..."} 
[2026-09-10 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b39c858012d18d0c0071fd2f00039005b22..."} 
[2026-09-10 17:44:38] local.INFO: Processing buffer {"connection_id":179270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b39c858012d18d0c0071fd2f00039005b22..."} 
[2026-09-10 17:44:38] local.INFO: Packet analysis {"connection_id":179270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:44:38] local.INFO: Extracted packet for processing {"connection_id":179270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b39"} 
[2026-09-10 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":34,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994801664001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789042215000,"timestamp_ms":1789042215000,"timestamp_seconds":1789042215,"priority":1,"record_length":96,"hex_timestamp":"000001a08b39c858"} 
[2026-09-10 17:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:44: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-09-10 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 17:44: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-09-10 17:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994801664001,"66":12939,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994801664001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:44:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994801664001,"power":12939,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":179270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:44:38] local.INFO: GPS data processed {"connection_id":179270,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:44:38] local.INFO: Acknowledgment sent {"connection_id":179270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:44:43] local.INFO: TCP Data received {"connection_id":179270,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3a1678012d18d0c0071fd2f00039005b21..."} 
[2026-09-10 17:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3a1678012d18d0c0071fd2f00039005b21..."} 
[2026-09-10 17:44:43] local.INFO: Processing buffer {"connection_id":179270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3a1678012d18d0c0071fd2f00039005b21..."} 
[2026-09-10 17:44:43] local.INFO: Packet analysis {"connection_id":179270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:44:43] local.INFO: Extracted packet for processing {"connection_id":179270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":33,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994807040001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789042235000,"timestamp_ms":1789042235000,"timestamp_seconds":1789042235,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3a1678"} 
[2026-09-10 17:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 17:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994807040001,"66":12928,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994807040001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:44:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994807040001,"power":12928,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":179270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:44:43] local.INFO: GPS data processed {"connection_id":179270,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:44:43] local.INFO: Acknowledgment sent {"connection_id":179270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:44:52] local.INFO: TCP Data received {"connection_id":179271,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:52] local.INFO: Processing buffer {"connection_id":179271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:52] local.INFO: IMEI packet received {"connection_id":179271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":179271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:44:53] local.INFO: TCP Data received {"connection_id":179271,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:53] local.INFO: Processing buffer {"connection_id":179271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:53] local.INFO: IMEI packet received {"connection_id":179271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":179271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:44:55] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3d42f8012ce584400722ab48000b008a2b..."} 
[2026-09-10 17:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3d42f8012ce584400722ab48000b008a2b..."} 
[2026-09-10 17:44:55] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3d42f8012ce584400722ab48000b008a2b..."} 
[2026-09-10 17:44:55] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:44:55] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:44:55] local.INFO: GPS Element Parsed {"raw_longitude":753239104,"raw_latitude":119712584,"longitude_deg":75.3239104,"latitude_deg":11.9712584,"altitude":11,"angle":138,"satellites":43,"speed":35,"hex_longitude":"2ce58440","hex_latitude":"0722ab48","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994862336001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404482530830450688,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1914452023449126912,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789042443000,"timestamp_ms":1789042443000,"timestamp_seconds":1789042443,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3d42f8"} 
[2026-09-10 17:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:44: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-09-10 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994862336001,"66":27843,"73":206,"83":43008,"24":35,"16":404482530830450688,"44":-1914452023449126912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-10 17:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994862336001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:44:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 17:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404482530830450688,"km_value":404482530830450.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1914452023449126912,"description":"Unknown IO ID 44"} 
[2026-09-10 17:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994862336001,"power":27843,"unknown_73":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1914452023449126912}} 
[2026-09-10 17:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:44:55] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:44:55] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:44:57] local.INFO: TCP Data received {"connection_id":179271,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:57] local.INFO: Processing buffer {"connection_id":179271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:44:57] local.INFO: IMEI packet received {"connection_id":179271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":179271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:44:58] local.INFO: TCP Data received {"connection_id":179271,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3d9118012d82198005da8f200008005926..."} 
[2026-09-10 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3d9118012d82198005da8f200008005926..."} 
[2026-09-10 17:44:58] local.INFO: Processing buffer {"connection_id":179271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3d9118012d82198005da8f200008005926..."} 
[2026-09-10 17:44:58] local.INFO: Packet analysis {"connection_id":179271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:44:58] local.INFO: Extracted packet for processing {"connection_id":179271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763500928,"raw_latitude":98209568,"longitude_deg":76.3500928,"latitude_deg":9.8209568,"altitude":8,"angle":89,"satellites":38,"speed":13,"hex_longitude":"2d821980","hex_latitude":"05da8f20","is_valid_coordinates":true} 
[2026-09-10 17:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994868992001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130844048368861184,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076582811358765056,"note":"Value kept but may cause issues"} 
[2026-09-10 17:44: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-09-10 17:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042463000,"timestamp_ms":1789042463000,"timestamp_seconds":1789042463,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3d9118"} 
[2026-09-10 17:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 17:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:44:58] 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-09-10 17:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994868992001,"66":13091,"71":206,"85":15104,"24":13,"16":130844048368861184,"45":-9076582811358765056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 17:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994868992001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:44:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:44:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130844048368861184,"km_value":130844048368861.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076582811358765056,"description":"Unknown IO ID 45"} 
[2026-09-10 17:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994868992001,"power":13091,"unknown_71":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9076582811358765056}} 
[2026-09-10 17:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":179271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:44:58] local.INFO: GPS data processed {"connection_id":179271,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:44:58] local.INFO: Acknowledgment sent {"connection_id":179271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:45:03] local.INFO: TCP Data received {"connection_id":179271,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3d98e8012d821b8005da8ed80008006f27..."} 
[2026-09-10 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3d98e8012d821b8005da8ed80008006f27..."} 
[2026-09-10 17:45:03] local.INFO: Processing buffer {"connection_id":179271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3d98e8012d821b8005da8ed80008006f27..."} 
[2026-09-10 17:45:03] local.INFO: Packet analysis {"connection_id":179271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:03] local.INFO: Extracted packet for processing {"connection_id":179271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763501440,"raw_latitude":98209496,"longitude_deg":76.350144,"latitude_deg":9.8209496,"altitude":8,"angle":111,"satellites":39,"speed":11,"hex_longitude":"2d821b80","hex_latitude":"05da8ed8","is_valid_coordinates":true} 
[2026-09-10 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994870528001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130844074138664960,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072079211731148800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789042465000,"timestamp_ms":1789042465000,"timestamp_seconds":1789042465,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3d98e8"} 
[2026-09-10 17:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 17:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:45:03] 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-09-10 17:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994870528001,"66":13135,"71":206,"85":15104,"24":11,"16":130844074138664960,"45":-9072079211731148800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 17:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994870528001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:45:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130844074138664960,"km_value":130844074138664.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072079211731148800,"description":"Unknown IO ID 45"} 
[2026-09-10 17:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994870528001,"power":13135,"unknown_71":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9072079211731148800}} 
[2026-09-10 17:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":179271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:45:03] local.INFO: GPS data processed {"connection_id":179271,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:45:03] local.INFO: Acknowledgment sent {"connection_id":179271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:45:18] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:45:18] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:45:18] local.INFO: IMEI packet received {"connection_id":176510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":176510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:45:24] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:45:24] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:45:24] local.INFO: IMEI packet received {"connection_id":176510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":176510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:45:24] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3d42f8012ce584400722ab48000b008a2b..."} 
[2026-09-10 17:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3d42f8012ce584400722ab48000b008a2b..."} 
[2026-09-10 17:45:24] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3d42f8012ce584400722ab48000b008a2b..."} 
[2026-09-10 17:45:24] local.INFO: Packet analysis {"connection_id":176510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:24] local.INFO: Extracted packet for processing {"connection_id":176510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:24] local.INFO: GPS Element Parsed {"raw_longitude":753239104,"raw_latitude":119712584,"longitude_deg":75.3239104,"latitude_deg":11.9712584,"altitude":11,"angle":138,"satellites":43,"speed":35,"hex_longitude":"2ce58440","hex_latitude":"0722ab48","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994865408001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404482530830450688,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1908329942707648512,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789042443000,"timestamp_ms":1789042443000,"timestamp_seconds":1789042443,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3d42f8"} 
[2026-09-10 17:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994865408001,"66":27843,"73":206,"83":43008,"24":35,"16":404482530830450688,"44":-1908329942707648512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-10 17:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994865408001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:45:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 17:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404482530830450688,"km_value":404482530830450.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:45:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1908329942707648512,"description":"Unknown IO ID 44"} 
[2026-09-10 17:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994865408001,"power":27843,"unknown_73":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1908329942707648512}} 
[2026-09-10 17:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":176510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:45:24] local.INFO: GPS data processed {"connection_id":176510,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:45:24] local.INFO: Acknowledgment sent {"connection_id":176510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:45:26] local.INFO: TCP Data received {"connection_id":176731,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:26] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:26] local.INFO: IMEI packet received {"connection_id":176731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":176731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:45:27] local.INFO: TCP Data received {"connection_id":176731,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:27] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:27] local.INFO: IMEI packet received {"connection_id":176731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":176731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:45:31] local.INFO: TCP Data received {"connection_id":176731,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:31] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:45:31] local.INFO: IMEI packet received {"connection_id":176731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":176731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:45:33] local.INFO: TCP Data received {"connection_id":179271,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3da4a0012d821e4005da8d200009008227..."} 
[2026-09-10 17:45:33] local.INFO: TCP Data received {"connection_id":176731,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3a6880012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3da4a0012d821e4005da8d200009008227..."} 
[2026-09-10 17:45:33] local.INFO: Processing buffer {"connection_id":179271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3da4a0012d821e4005da8d200009008227..."} 
[2026-09-10 17:45:33] local.INFO: Packet analysis {"connection_id":179271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:33] local.INFO: Extracted packet for processing {"connection_id":179271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763502144,"raw_latitude":98209056,"longitude_deg":76.3502144,"latitude_deg":9.8209056,"altitude":9,"angle":130,"satellites":39,"speed":9,"hex_longitude":"2d821e40","hex_latitude":"05da8d20","is_valid_coordinates":true} 
[2026-09-10 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3a6880012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994871040001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:33] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3a6880012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130844117088337920,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:33] local.INFO: Packet analysis {"connection_id":176731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071516261777745920,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:45:33] local.INFO: Extracted packet for processing {"connection_id":176731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042468000,"timestamp_ms":1789042468000,"timestamp_seconds":1789042468,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3da4a0"} 
[2026-09-10 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994812160001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 17:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042256000,"timestamp_ms":1789042256000,"timestamp_seconds":1789042256,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3a6880"} 
[2026-09-10 17:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-10 17:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:45:33] 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-09-10 17:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994812160001,"66":11971,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994871040001,"66":13080,"71":206,"85":15104,"24":9,"16":130844117088337920,"45":-9071516261777745920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 17:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994812160001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994812160001,"power":11971,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994871040001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130844117088337920,"km_value":130844117088337.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071516261777745920,"description":"Unknown IO ID 45"} 
[2026-09-10 17:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994871040001,"power":13080,"unknown_71":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9071516261777745920}} 
[2026-09-10 17:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":179271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:45:33] local.INFO: GPS data processed {"connection_id":179271,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:45:33] local.INFO: Acknowledgment sent {"connection_id":179271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:45:33] local.INFO: GPS data processed {"connection_id":176731,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:45:33] local.INFO: Acknowledgment sent {"connection_id":176731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:45:49] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:49] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:49] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:45:52] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:52] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:52] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:45:55] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3d6a08012ce59fc007228f90000e00872b..."} 
[2026-09-10 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3d6a08012ce59fc007228f90000e00872b..."} 
[2026-09-10 17:45:55] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3d6a08012ce59fc007228f90000e00872b..."} 
[2026-09-10 17:45:55] local.INFO: Packet analysis {"connection_id":176510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:55] local.INFO: Extracted packet for processing {"connection_id":176510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:55] local.INFO: GPS Element Parsed {"raw_longitude":753246144,"raw_latitude":119705488,"longitude_deg":75.3246144,"latitude_deg":11.9705488,"altitude":14,"angle":135,"satellites":43,"speed":41,"hex_longitude":"2ce59fc0","hex_latitude":"07228f90","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994865408001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404483011866787840,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1908329942707648512,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789042453000,"timestamp_ms":1789042453000,"timestamp_seconds":1789042453,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3d6a08"} 
[2026-09-10 17:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:45: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-09-10 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994865408001,"66":27865,"73":206,"83":43008,"24":41,"16":404483011866787840,"44":-1908329942707648512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-10 17:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994865408001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:45:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 17:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404483011866787840,"km_value":404483011866787.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1908329942707648512,"description":"Unknown IO ID 44"} 
[2026-09-10 17:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994865408001,"power":27865,"unknown_73":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1908329942707648512}} 
[2026-09-10 17:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":176510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:45:55] local.INFO: GPS data processed {"connection_id":176510,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:45:55] local.INFO: Acknowledgment sent {"connection_id":176510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:45:57] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:57] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:45:57] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:45:58] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3dac70012d821fc005da8b080009009626..."} 
[2026-09-10 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3dac70012d821fc005da8b080009009626..."} 
[2026-09-10 17:45:58] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3dac70012d821fc005da8b080009009626..."} 
[2026-09-10 17:45:58] local.INFO: Packet analysis {"connection_id":176511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:58] local.INFO: Extracted packet for processing {"connection_id":176511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763502528,"raw_latitude":98208520,"longitude_deg":76.3502528,"latitude_deg":9.820852,"altitude":9,"angle":150,"satellites":38,"speed":15,"hex_longitude":"2d821fc0","hex_latitude":"05da8b08","is_valid_coordinates":true} 
[2026-09-10 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994871808001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130844147153108992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070742205591904256,"note":"Value kept but may cause issues"} 
[2026-09-10 17:45: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-09-10 17:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042470000,"timestamp_ms":1789042470000,"timestamp_seconds":1789042470,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3dac70"} 
[2026-09-10 17:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 17:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:45:58] 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-09-10 17:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994871808001,"66":13080,"71":206,"85":15104,"24":15,"16":130844147153108992,"45":-9070742205591904256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-10 17:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994871808001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:45:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130844147153108992,"km_value":130844147153108.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070742205591904256,"description":"Unknown IO ID 45"} 
[2026-09-10 17:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994871808001,"power":13080,"unknown_71":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9070742205591904256}} 
[2026-09-10 17:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":176511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:45:58] local.INFO: GPS data processed {"connection_id":176511,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:45:58] local.INFO: Acknowledgment sent {"connection_id":176511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:05] local.INFO: TCP Data received {"connection_id":176731,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3aba88012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3aba88012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:46:05] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3aba88012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:46:05] local.INFO: Packet analysis {"connection_id":176731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:46:05] local.INFO: Extracted packet for processing {"connection_id":176731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3a"} 
[2026-09-10 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994817536001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789042277000,"timestamp_ms":1789042277000,"timestamp_seconds":1789042277,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3aba88"} 
[2026-09-10 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-09-10 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:46:05] 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-09-10 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-09-10 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-09-10 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994817536001,"66":11874,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994817536001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994817536001,"power":11874,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":176731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:05] local.INFO: GPS data processed {"connection_id":176731,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:05] local.INFO: Acknowledgment sent {"connection_id":176731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:24] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:46:24] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:46:24] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:46:27] local.INFO: TCP Data received {"connection_id":177905,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:27] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:27] local.INFO: IMEI packet received {"connection_id":177905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":177905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:46:29] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:46:29] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:46:29] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:46:29] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3f2f28012d825a0005d98468000a00a624..."} 
[2026-09-10 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3f2f28012d825a0005d98468000a00a624..."} 
[2026-09-10 17:46:29] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3f2f28012d825a0005d98468000a00a624..."} 
[2026-09-10 17:46:29] local.INFO: Packet analysis {"connection_id":176511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:46:29] local.INFO: Extracted packet for processing {"connection_id":176511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763517440,"raw_latitude":98141288,"longitude_deg":76.351744,"latitude_deg":9.8141288,"altitude":10,"angle":166,"satellites":36,"speed":49,"hex_longitude":"2d825a00","hex_latitude":"05d98468","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994895616001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130847505817534464,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056105506817921024,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042569000,"timestamp_ms":1789042569000,"timestamp_seconds":1789042569,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3f2f28"} 
[2026-09-10 17:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 17:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:46:29] 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-09-10 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994895616001,"66":12972,"69":206,"85":15104,"24":49,"16":130847505817534464,"45":-9056105506817921024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-10 17:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994895616001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130847505817534464,"km_value":130847505817534.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056105506817921024,"description":"Unknown IO ID 45"} 
[2026-09-10 17:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994895616001,"power":12972,"unknown_69":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9056105506817921024}} 
[2026-09-10 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":176511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:29] local.INFO: GPS data processed {"connection_id":176511,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:29] local.INFO: Acknowledgment sent {"connection_id":176511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:29] local.INFO: TCP Data received {"connection_id":177905,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:29] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:29] local.INFO: IMEI packet received {"connection_id":177905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":177905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:46:29] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3d8d30012ce5b840072272e8000e008e29..."} 
[2026-09-10 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3d8d30012ce5b840072272e8000e008e29..."} 
[2026-09-10 17:46:29] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3d8d30012ce5b840072272e8000e008e29..."} 
[2026-09-10 17:46:29] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:46:29] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":753252416,"raw_latitude":119698152,"longitude_deg":75.3252416,"latitude_deg":11.9698152,"altitude":14,"angle":142,"satellites":41,"speed":41,"hex_longitude":"2ce5b840","hex_latitude":"072272e8","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994867968001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404483475723255808,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1900589380849922048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042462000,"timestamp_ms":1789042462000,"timestamp_seconds":1789042462,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3d8d30"} 
[2026-09-10 17:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:46: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-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994867968001,"66":27865,"157":206,"83":43008,"24":41,"16":404483475723255808,"44":-1900589380849922048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-10 17:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994867968001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404483475723255808,"km_value":404483475723255.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1900589380849922048,"description":"Unknown IO ID 44"} 
[2026-09-10 17:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994867968001,"power":27865,"unknown_157":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1900589380849922048}} 
[2026-09-10 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:29] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:29] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:32] local.INFO: TCP Data received {"connection_id":177905,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:32] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:46:32] local.INFO: IMEI packet received {"connection_id":177905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":177905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:46:33] local.INFO: TCP Data received {"connection_id":177905,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3e40e0012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3e40e0012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:46:33] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3e40e0012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:46:33] local.INFO: Packet analysis {"connection_id":177905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3e"} 
[2026-09-10 17:46:33] local.INFO: Extracted packet for processing {"connection_id":177905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3e"} 
[2026-09-10 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994876928001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042508000,"timestamp_ms":1789042508000,"timestamp_seconds":1789042508,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3e40e0"} 
[2026-09-10 17:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 17:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994876928001,"66":12711,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994876928001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994876928001,"power":12711,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":177905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:33] local.INFO: GPS data processed {"connection_id":177905,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:33] local.INFO: Acknowledgment sent {"connection_id":177905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:34] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3db058012ce5d000072255300010008e2a..."} 
[2026-09-10 17:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3db058012ce5d000072255300010008e2a..."} 
[2026-09-10 17:46:34] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3db058012ce5d000072255300010008e2a..."} 
[2026-09-10 17:46:34] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:46:34] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:46:34] local.INFO: GPS Element Parsed {"raw_longitude":753258496,"raw_latitude":119690544,"longitude_deg":75.3258496,"latitude_deg":11.9690544,"altitude":16,"angle":142,"satellites":42,"speed":43,"hex_longitude":"2ce5d000","hex_latitude":"07225530","is_valid_coordinates":true} 
[2026-09-10 17:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994870272001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404483943874691072,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1893693243922388992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789042471000,"timestamp_ms":1789042471000,"timestamp_seconds":1789042471,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3db058"} 
[2026-09-10 17:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:46: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-09-10 17:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:46: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-09-10 17:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994870272001,"66":27908,"157":206,"83":43008,"24":43,"16":404483943874691072,"44":-1893693243922388992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-10 17:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994870272001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 17:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404483943874691072,"km_value":404483943874691.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1893693243922388992,"description":"Unknown IO ID 44"} 
[2026-09-10 17:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994870272001,"power":27908,"unknown_157":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1893693243922388992}} 
[2026-09-10 17:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:34] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:34] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:35] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3dd380012ce5e84007223718000f008e2a..."} 
[2026-09-10 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3dd380012ce5e84007223718000f008e2a..."} 
[2026-09-10 17:46:35] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3dd380012ce5e84007223718000f008e2a..."} 
[2026-09-10 17:46:35] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:46:35] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3d"} 
[2026-09-10 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":753264704,"raw_latitude":119682840,"longitude_deg":75.3264704,"latitude_deg":11.968284,"altitude":15,"angle":142,"satellites":42,"speed":40,"hex_longitude":"2ce5e840","hex_latitude":"07223718","is_valid_coordinates":true} 
[2026-09-10 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994872576001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404484420616060928,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1887008213227458560,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789042480000,"timestamp_ms":1789042480000,"timestamp_seconds":1789042480,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3dd380"} 
[2026-09-10 17:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:46: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-09-10 17:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:46: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-09-10 17:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994872576001,"66":27919,"157":206,"83":43008,"24":40,"16":404484420616060928,"44":-1887008213227458560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-10 17:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994872576001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 17:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404484420616060928,"km_value":404484420616060.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1887008213227458560,"description":"Unknown IO ID 44"} 
[2026-09-10 17:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994872576001,"power":27919,"unknown_157":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1887008213227458560}} 
[2026-09-10 17:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:35] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:35] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:37] local.INFO: TCP Data received {"connection_id":177905,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3e92e8012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3e92e8012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:46:37] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3e92e8012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:46:37] local.INFO: Packet analysis {"connection_id":177905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3e"} 
[2026-09-10 17:46:37] local.INFO: Extracted packet for processing {"connection_id":177905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3e"} 
[2026-09-10 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":35,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994882048001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789042529000,"timestamp_ms":1789042529000,"timestamp_seconds":1789042529,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3e92e8"} 
[2026-09-10 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-09-10 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 17:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994882048001,"66":12667,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994882048001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994882048001,"power":12667,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":177905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:37] local.INFO: GPS data processed {"connection_id":177905,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:37] local.INFO: Acknowledgment sent {"connection_id":177905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:46:43] local.INFO: TCP Data received {"connection_id":179273,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:46:43] local.INFO: Processing buffer {"connection_id":179273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:46:43] local.INFO: IMEI packet received {"connection_id":179273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":179273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:46:52] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:46:52] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:46:52] local.INFO: IMEI packet received {"connection_id":176732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":176732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:46:57] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:46:57] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:46:57] local.INFO: IMEI packet received {"connection_id":176732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":176732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:46:58] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3f4a80012d82630005d96248000900a125..."} 
[2026-09-10 17:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3f4a80012d82630005d96248000900a125..."} 
[2026-09-10 17:46:58] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3f4a80012d82630005d96248000900a125..."} 
[2026-09-10 17:46:58] local.INFO: Packet analysis {"connection_id":176732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:46:58] local.INFO: Extracted packet for processing {"connection_id":176732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763519744,"raw_latitude":98132552,"longitude_deg":76.3519744,"latitude_deg":9.8132552,"altitude":9,"angle":161,"satellites":37,"speed":52,"hex_longitude":"2d826300","hex_latitude":"05d96248","is_valid_coordinates":true} 
[2026-09-10 17:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994897664001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130847939609231360,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053924075750791168,"note":"Value kept but may cause issues"} 
[2026-09-10 17:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042576000,"timestamp_ms":1789042576000,"timestamp_seconds":1789042576,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3f4a80"} 
[2026-09-10 17:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 17:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:46:58] 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-09-10 17:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994897664001,"66":13656,"69":206,"85":15104,"24":52,"16":130847939609231360,"45":-9053924075750791168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-10 17:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994897664001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:46:58] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-10 17:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130847939609231360,"km_value":130847939609231.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053924075750791168,"description":"Unknown IO ID 45"} 
[2026-09-10 17:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994897664001,"power":13656,"unknown_69":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9053924075750791168}} 
[2026-09-10 17:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":176732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:46:58] local.INFO: GPS data processed {"connection_id":176732,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:46:58] local.INFO: Acknowledgment sent {"connection_id":176732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:47:08] local.INFO: TCP Data received {"connection_id":177905,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3ee4f0012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3ee4f0012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:47:08] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3ee4f0012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:47:08] local.INFO: Packet analysis {"connection_id":177905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3e"} 
[2026-09-10 17:47:08] local.INFO: Extracted packet for processing {"connection_id":177905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3e"} 
[2026-09-10 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":35,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994887424001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789042550000,"timestamp_ms":1789042550000,"timestamp_seconds":1789042550,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3ee4f0"} 
[2026-09-10 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-09-10 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 17:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994887424001,"66":12613,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994887424001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:47:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994887424001,"power":12613,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":177905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:47:08] local.INFO: GPS data processed {"connection_id":177905,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:47:08] local.INFO: Acknowledgment sent {"connection_id":177905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:47:26] local.INFO: TCP Data received {"connection_id":176733,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:47:26] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:47:26] local.INFO: IMEI packet received {"connection_id":176733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":176733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:47:29] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3f65d8012d826fc005d93fa00009009e25..."} 
[2026-09-10 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3f65d8012d826fc005d93fa00009009e25..."} 
[2026-09-10 17:47:29] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3f65d8012d826fc005d93fa00009009e25..."} 
[2026-09-10 17:47:29] local.INFO: Packet analysis {"connection_id":176732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:29] local.INFO: Extracted packet for processing {"connection_id":176732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763523008,"raw_latitude":98123680,"longitude_deg":76.3523008,"latitude_deg":9.812368,"altitude":9,"angle":158,"satellites":37,"speed":50,"hex_longitude":"2d826fc0","hex_latitude":"05d93fa0","is_valid_coordinates":true} 
[2026-09-10 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994899456001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130848399170732032,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051390800962631680,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042583000,"timestamp_ms":1789042583000,"timestamp_seconds":1789042583,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3f65d8"} 
[2026-09-10 17:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-10 17:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:47:29] 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-09-10 17:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994899456001,"66":13319,"69":206,"85":15104,"24":50,"16":130848399170732032,"45":-9051390800962631680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-10 17:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994899456001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:47:29] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-10 17:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130848399170732032,"km_value":130848399170732.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051390800962631680,"description":"Unknown IO ID 45"} 
[2026-09-10 17:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994899456001,"power":13319,"unknown_69":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9051390800962631680}} 
[2026-09-10 17:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":176732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:47:29] local.INFO: GPS data processed {"connection_id":176732,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:47:29] local.INFO: Acknowledgment sent {"connection_id":176732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:47:31] local.INFO: TCP Data received {"connection_id":179274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:31] local.INFO: Processing buffer {"connection_id":179274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:31] local.INFO: IMEI packet received {"connection_id":179274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":179274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:47:32] local.INFO: TCP Data received {"connection_id":176733,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:47:32] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:47:32] local.INFO: IMEI packet received {"connection_id":176733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":176733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:47:33] local.INFO: TCP Data received {"connection_id":176733,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3f36f8012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3f36f8012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:47:33] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3f36f8012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:47:33] local.INFO: Packet analysis {"connection_id":176733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:33] local.INFO: Extracted packet for processing {"connection_id":176733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994892800001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042571000,"timestamp_ms":1789042571000,"timestamp_seconds":1789042571,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3f36f8"} 
[2026-09-10 17:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 17:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994892800001,"66":12667,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994892800001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:47:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994892800001,"power":12667,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":176733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:47:34] local.INFO: GPS data processed {"connection_id":176733,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:47:34] local.INFO: Acknowledgment sent {"connection_id":176733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:47:34] local.INFO: TCP Data received {"connection_id":179274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:34] local.INFO: Processing buffer {"connection_id":179274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:34] local.INFO: IMEI packet received {"connection_id":179274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":179274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:47:39] local.INFO: TCP Data received {"connection_id":179274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:39] local.INFO: Processing buffer {"connection_id":179274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:47:39] local.INFO: IMEI packet received {"connection_id":179274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":179274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:47:39] local.INFO: TCP Data received {"connection_id":179274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3f94b8012ce6d6400720f1d0000c008f2c..."} 
[2026-09-10 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3f94b8012ce6d6400720f1d0000c008f2c..."} 
[2026-09-10 17:47:39] local.INFO: Processing buffer {"connection_id":179274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3f94b8012ce6d6400720f1d0000c008f2c..."} 
[2026-09-10 17:47:39] local.INFO: Packet analysis {"connection_id":179274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:39] local.INFO: Extracted packet for processing {"connection_id":179274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":753325632,"raw_latitude":119599568,"longitude_deg":75.3325632,"latitude_deg":11.9599568,"altitude":12,"angle":143,"satellites":44,"speed":40,"hex_longitude":"2ce6d640","hex_latitude":"0720f1d0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994902016001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404489394188189696,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1819102375117371392,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789042595000,"timestamp_ms":1789042595000,"timestamp_seconds":1789042595,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3f94b8"} 
[2026-09-10 17:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:47: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-09-10 17: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-09-10 17:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":179274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":179274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":179274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:47: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-09-10 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994902016001,"66":27800,"67":206,"83":43008,"24":40,"16":404489394188189696,"44":-1819102375117371392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-10 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994902016001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:47:39] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 17:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404489394188189696,"km_value":404489394188189.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1819102375117371392,"description":"Unknown IO ID 44"} 
[2026-09-10 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994902016001,"power":27800,"unknown_67":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1819102375117371392}} 
[2026-09-10 17:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":179274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:47:39] local.INFO: GPS data processed {"connection_id":179274,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:47:39] local.INFO: Acknowledgment sent {"connection_id":179274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:47:42] local.INFO: TCP Data received {"connection_id":179274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3fb7e0012ce6ed000720d250000b009027..."} 
[2026-09-10 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3fb7e0012ce6ed000720d250000b009027..."} 
[2026-09-10 17:47:42] local.INFO: Processing buffer {"connection_id":179274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3fb7e0012ce6ed000720d250000b009027..."} 
[2026-09-10 17:47:42] local.INFO: Packet analysis {"connection_id":179274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:42] local.INFO: Extracted packet for processing {"connection_id":179274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753331456,"raw_latitude":119591504,"longitude_deg":75.3331456,"latitude_deg":11.9591504,"altitude":11,"angle":144,"satellites":39,"speed":44,"hex_longitude":"2ce6ed00","hex_latitude":"0720d250","is_valid_coordinates":true} 
[2026-09-10 17:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994904320001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404489875224526848,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1813191400608378880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789042604000,"timestamp_ms":1789042604000,"timestamp_seconds":1789042604,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3fb7e0"} 
[2026-09-10 17:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:47: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-09-10 17:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994904320001,"66":27876,"67":206,"83":43008,"24":44,"16":404489875224526848,"44":-1813191400608378880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-10 17:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994904320001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:47:42] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 17:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404489875224526848,"km_value":404489875224526.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1813191400608378880,"description":"Unknown IO ID 44"} 
[2026-09-10 17:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994904320001,"power":27876,"unknown_67":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1813191400608378880}} 
[2026-09-10 17:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":179274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:47:42] local.INFO: GPS data processed {"connection_id":179274,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:47:42] local.INFO: Acknowledgment sent {"connection_id":179274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:47:52] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:47:52] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:47:52] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:47:57] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:47:57] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:47:57] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:47:58] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3f8ce8012d827cc005d91ce0000a00a126..."} 
[2026-09-10 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3f8ce8012d827cc005d91ce0000a00a126..."} 
[2026-09-10 17:47:58] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3f8ce8012d827cc005d91ce0000a00a126..."} 
[2026-09-10 17:47:58] local.INFO: Packet analysis {"connection_id":176735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:58] local.INFO: Extracted packet for processing {"connection_id":176735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763526336,"raw_latitude":98114784,"longitude_deg":76.3526336,"latitude_deg":9.8114784,"altitude":10,"angle":161,"satellites":38,"speed":35,"hex_longitude":"2d827cc0","hex_latitude":"05d91ce0","is_valid_coordinates":true} 
[2026-09-10 17:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994901248001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130848858732232704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047801995011842048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042593000,"timestamp_ms":1789042593000,"timestamp_seconds":1789042593,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3f8ce8"} 
[2026-09-10 17:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336129864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185936901,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3448766471,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3694854144,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3656146944,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":62,"raw_value":7208012498576785413,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.WARNING: Large IO value detected {"io_id":218,"raw_value":1125899941213381888,"note":"Value kept but may cause issues"} 
[2026-09-10 17:47:58] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,69,85,24,241,157,16,221,160,74,45,98,9,37,10,66,47,132,36,15,64,1,240,187,227,220,139,217,4,113,205,11,170,48,239,50,71,2,208,5,8,43,34,62,218],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-09-10 17:47:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648692228095606784,"timestamp_seconds":648692228095606.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:47:58] 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-09-10 17:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994901248001,"66":13493,"69":206,"85":15104,"24":35,"16":130848858732232704,"45":-9047801995011842048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-10 17:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994901248001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:47:58] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-10 17:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130848858732232704,"km_value":130848858732232.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047801995011842048,"description":"Unknown IO ID 45"} 
[2026-09-10 17:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994901248001,"power":13493,"unknown_69":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9047801995011842048}} 
[2026-09-10 17:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":176735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:47:58] local.INFO: GPS data processed {"connection_id":176735,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:47:58] local.INFO: Acknowledgment sent {"connection_id":176735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:48:05] local.INFO: TCP Data received {"connection_id":176733,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3f8900012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3f8900012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:48:05] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3f8900012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:48:05] local.INFO: Packet analysis {"connection_id":176733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:05] local.INFO: Extracted packet for processing {"connection_id":176733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994898176001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789042592000,"timestamp_ms":1789042592000,"timestamp_seconds":1789042592,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3f8900"} 
[2026-09-10 17:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 17:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994898176001,"66":12591,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994898176001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:48:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994898176001,"power":12591,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":176733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:48:05] local.INFO: GPS data processed {"connection_id":176733,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:48:05] local.INFO: Acknowledgment sent {"connection_id":176733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:48:18] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:48:18] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:48:18] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:48:22] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:48:22] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:48:22] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:48:23] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3fdb08012ce702800720b3e0000a009029..."} 
[2026-09-10 17:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3fdb08012ce702800720b3e0000a009029..."} 
[2026-09-10 17:48:23] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3fdb08012ce702800720b3e0000a009029..."} 
[2026-09-10 17:48:23] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:23] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:23] local.INFO: GPS Element Parsed {"raw_longitude":753336960,"raw_latitude":119583712,"longitude_deg":75.333696,"latitude_deg":11.9583712,"altitude":10,"angle":144,"satellites":41,"speed":35,"hex_longitude":"2ce70280","hex_latitude":"0720b3e0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994906624001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404490330491060224,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1806787844890275840,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789042613000,"timestamp_ms":1789042613000,"timestamp_seconds":1789042613,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3fdb08"} 
[2026-09-10 17:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 17:48:23] 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-09-10 17: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-09-10 17:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994906624001,"66":27908,"67":206,"83":43008,"24":35,"16":404490330491060224,"44":-1806787844890275840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-10 17:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994906624001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:48:23] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 17:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404490330491060224,"km_value":404490330491060.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:48:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1806787844890275840,"description":"Unknown IO ID 44"} 
[2026-09-10 17:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994906624001,"power":27908,"unknown_67":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1806787844890275840}} 
[2026-09-10 17:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:48:23] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:48:23] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:48:26] local.INFO: TCP Data received {"connection_id":176513,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:48:26] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:48:26] local.INFO: IMEI packet received {"connection_id":176513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":176513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:48:29] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3fa458012d82818005d908c8000a00ac27..."} 
[2026-09-10 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3fa458012d82818005d908c8000a00ac27..."} 
[2026-09-10 17:48:29] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3fa458012d82818005d908c8000a00ac27..."} 
[2026-09-10 17:48:29] local.INFO: Packet analysis {"connection_id":176735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:29] local.INFO: Extracted packet for processing {"connection_id":176735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763527552,"raw_latitude":98109640,"longitude_deg":76.3527552,"latitude_deg":9.810964,"altitude":10,"angle":172,"satellites":39,"speed":34,"hex_longitude":"2d828180","hex_latitude":"05d908c8","is_valid_coordinates":true} 
[2026-09-10 17:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994903808001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130849116430270464,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044142820316880896,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042599000,"timestamp_ms":1789042599000,"timestamp_seconds":1789042599,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3fa458"} 
[2026-09-10 17:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 17:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:48:29] 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-09-10 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994903808001,"66":12841,"69":206,"85":15104,"24":34,"16":130849116430270464,"45":-9044142820316880896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-10 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994903808001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:48:29] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-10 17:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130849116430270464,"km_value":130849116430270.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044142820316880896,"description":"Unknown IO ID 45"} 
[2026-09-10 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994903808001,"power":12841,"unknown_69":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9044142820316880896}} 
[2026-09-10 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":176735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:48:29] local.INFO: GPS data processed {"connection_id":176735,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:48:29] local.INFO: Acknowledgment sent {"connection_id":176735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:48:32] local.INFO: TCP Data received {"connection_id":176513,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:48:32] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:48:32] local.INFO: IMEI packet received {"connection_id":176513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":176513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:48:33] local.INFO: TCP Data received {"connection_id":176513,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b3fdb08012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b3fdb08012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:48:33] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b3fdb08012d18d0c0071fd2f00039005b23..."} 
[2026-09-10 17:48:33] local.INFO: Packet analysis {"connection_id":176513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:33] local.INFO: Extracted packet for processing {"connection_id":176513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b3f"} 
[2026-09-10 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":35,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994903552001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042613000,"timestamp_ms":1789042613000,"timestamp_seconds":1789042613,"priority":1,"record_length":96,"hex_timestamp":"000001a08b3fdb08"} 
[2026-09-10 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-09-10 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 17:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994903552001,"66":12558,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994903552001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:48:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994903552001,"power":12558,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":176513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:48:33] local.INFO: GPS data processed {"connection_id":176513,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:48:33] local.INFO: Acknowledgment sent {"connection_id":176513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:48:52] local.INFO: TCP Data received {"connection_id":179275,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:52] local.INFO: Processing buffer {"connection_id":179275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:52] local.INFO: IMEI packet received {"connection_id":179275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":179275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:48:53] local.INFO: TCP Data received {"connection_id":179275,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:53] local.INFO: Processing buffer {"connection_id":179275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:53] local.INFO: IMEI packet received {"connection_id":179275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":179275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:48:54] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b400218012ce7188007209468000c008f2b..."} 
[2026-09-10 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b400218012ce7188007209468000c008f2b..."} 
[2026-09-10 17:48:54] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b400218012ce7188007209468000c008f2b..."} 
[2026-09-10 17:48:54] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:48:54] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:48:54] local.INFO: GPS Element Parsed {"raw_longitude":753342592,"raw_latitude":119575656,"longitude_deg":75.3342592,"latitude_deg":11.9575656,"altitude":12,"angle":143,"satellites":43,"speed":42,"hex_longitude":"2ce71880","hex_latitude":"07209468","is_valid_coordinates":true} 
[2026-09-10 17:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994908928001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404490807232430080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1800736132892991488,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789042623000,"timestamp_ms":1789042623000,"timestamp_seconds":1789042623,"priority":1,"record_length":96,"hex_timestamp":"000001a08b400218"} 
[2026-09-10 17:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994908928001,"66":27876,"145":206,"83":43008,"24":42,"16":404490807232430080,"44":-1800736132892991488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-10 17:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994908928001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:48:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 17:48:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404490807232430080,"km_value":404490807232430.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1800736132892991488,"description":"Unknown IO ID 44"} 
[2026-09-10 17:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994908928001,"power":27876,"unknown_145":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1800736132892991488}} 
[2026-09-10 17:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:48:54] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:48:54] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:48:57] local.INFO: TCP Data received {"connection_id":179275,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:57] local.INFO: Processing buffer {"connection_id":179275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:48:57] local.INFO: IMEI packet received {"connection_id":179275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":179275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:48:58] local.INFO: TCP Data received {"connection_id":179275,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4132c8012d82a18005d7d488000700b125..."} 
[2026-09-10 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4132c8012d82a18005d7d488000700b125..."} 
[2026-09-10 17:48:58] local.INFO: Processing buffer {"connection_id":179275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4132c8012d82a18005d7d488000700b125..."} 
[2026-09-10 17:48:58] local.INFO: Packet analysis {"connection_id":179275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:48:58] local.INFO: Extracted packet for processing {"connection_id":179275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763535744,"raw_latitude":98030728,"longitude_deg":76.3535744,"latitude_deg":9.8030728,"altitude":7,"angle":177,"satellites":37,"speed":21,"hex_longitude":"2d82a180","hex_latitude":"05d7d488","is_valid_coordinates":true} 
[2026-09-10 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994927872001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130852994785738752,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196151250944,"note":"Value kept but may cause issues"} 
[2026-09-10 17:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042701000,"timestamp_ms":1789042701000,"timestamp_seconds":1789042701,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4132c8"} 
[2026-09-10 17:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 17:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:48:58] 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-09-10 17:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994927872001,"66":13276,"47":206,"85":15104,"24":21,"16":130852994785738752,"45":-9034291196151250944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-10 17:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994927872001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:48:58] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 17:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130852994785738752,"km_value":130852994785738.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196151250944,"description":"Unknown IO ID 45"} 
[2026-09-10 17:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994927872001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9034291196151250944}} 
[2026-09-10 17:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":179275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:48:58] local.INFO: GPS data processed {"connection_id":179275,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:48:58] local.INFO: Acknowledgment sent {"connection_id":179275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:49:04] local.INFO: TCP Data received {"connection_id":176513,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b402d10012d18d0c0071fd2f00039005b22..."} 
[2026-09-10 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b402d10012d18d0c0071fd2f00039005b22..."} 
[2026-09-10 17:49:04] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b402d10012d18d0c0071fd2f00039005b22..."} 
[2026-09-10 17:49:04] local.INFO: Packet analysis {"connection_id":176513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:49:04] local.INFO: Extracted packet for processing {"connection_id":176513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":34,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994908928001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789042634000,"timestamp_ms":1789042634000,"timestamp_seconds":1789042634,"priority":1,"record_length":96,"hex_timestamp":"000001a08b402d10"} 
[2026-09-10 17:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336092864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249576654319637232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3538944057,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221692370,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2997223424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5116315798427670528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,71,28,24,241,158,16,178,160,137,45,192,210,57,37,10,66,54,36,228,1,240,69,139,31,4,113,205,64,208,239,49,2,68,7,231,91,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-09-10 17:49:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107383066043875328,"timestamp_seconds":4107383066043875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994908928001,"66":12613,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994908928001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994908928001,"power":12613,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":176513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:49:04] local.INFO: GPS data processed {"connection_id":176513,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:49:04] local.INFO: Acknowledgment sent {"connection_id":176513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:49:19] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:19] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:19] local.INFO: IMEI packet received {"connection_id":176737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":176737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:49:19] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:19] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:19] local.INFO: IMEI packet received {"connection_id":176737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":176737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:49:26] local.INFO: TCP Data received {"connection_id":177907,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:49:26] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:49:26] local.INFO: IMEI packet received {"connection_id":177907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":177907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:49:29] local.INFO: TCP Data received {"connection_id":179275,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b417148012d82a3c005d7b000000900ae23..."} 
[2026-09-10 17:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b417148012d82a3c005d7b000000900ae23..."} 
[2026-09-10 17:49:29] local.INFO: Processing buffer {"connection_id":179275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b417148012d82a3c005d7b000000900ae23..."} 
[2026-09-10 17:49:29] local.INFO: Packet analysis {"connection_id":179275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:29] local.INFO: Extracted packet for processing {"connection_id":179275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763536320,"raw_latitude":98021376,"longitude_deg":76.353632,"latitude_deg":9.8021376,"altitude":9,"angle":174,"satellites":35,"speed":26,"hex_longitude":"2d82a3c0","hex_latitude":"05d7b000","is_valid_coordinates":true} 
[2026-09-10 17:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994931456001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130853450052272128,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033798614944282624,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042717000,"timestamp_ms":1789042717000,"timestamp_seconds":1789042717,"priority":1,"record_length":96,"hex_timestamp":"000001a08b417148"} 
[2026-09-10 17:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 17:49: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-09-10 17:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:49:29] 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-09-10 17:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994931456001,"66":13189,"48":206,"85":15104,"24":26,"16":130853450052272128,"45":-9033798614944282624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,45]} 
[2026-09-10 17:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994931456001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:49:29] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-10 17:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130853450052272128,"km_value":130853450052272.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033798614944282624,"description":"Unknown IO ID 45"} 
[2026-09-10 17:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994931456001,"power":13189,"unknown_48":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9033798614944282624}} 
[2026-09-10 17:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":179275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:49:29] local.INFO: GPS data processed {"connection_id":179275,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:49:29] local.INFO: Acknowledgment sent {"connection_id":179275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:49:32] local.INFO: TCP Data received {"connection_id":177907,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:49:32] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:49:32] local.INFO: IMEI packet received {"connection_id":177907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":177907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:49:33] local.INFO: TCP Data received {"connection_id":177907,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b407f18012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b407f18012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:49:33] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b407f18012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:49:33] local.INFO: Packet analysis {"connection_id":177907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:49:33] local.INFO: Extracted packet for processing {"connection_id":177907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994914304001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042655000,"timestamp_ms":1789042655000,"timestamp_seconds":1789042655,"priority":1,"record_length":96,"hex_timestamp":"000001a08b407f18"} 
[2026-09-10 17:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 17:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994914304001,"66":11678,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994914304001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:49:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:49:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994914304001,"power":11678,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":177907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:49:33] local.INFO: GPS data processed {"connection_id":177907,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:49:33] local.INFO: Acknowledgment sent {"connection_id":177907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:49:34] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:34] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:49:34] local.INFO: IMEI packet received {"connection_id":176737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":176737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:49:36] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b414268012ce7df00071f6d70000d007f2a..."} 
[2026-09-10 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b414268012ce7df00071f6d70000d007f2a..."} 
[2026-09-10 17:49:36] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b414268012ce7df00071f6d70000d007f2a..."} 
[2026-09-10 17:49:36] local.INFO: Packet analysis {"connection_id":176737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:36] local.INFO: Extracted packet for processing {"connection_id":176737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":753393408,"raw_latitude":119500144,"longitude_deg":75.3393408,"latitude_deg":11.9500144,"altitude":13,"angle":127,"satellites":42,"speed":42,"hex_longitude":"2ce7df00","hex_latitude":"071f6d70","is_valid_coordinates":true} 
[2026-09-10 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994930176001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404495273998417920,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1747396624826245120,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789042705000,"timestamp_ms":1789042705000,"timestamp_seconds":1789042705,"priority":1,"record_length":96,"hex_timestamp":"000001a08b414268"} 
[2026-09-10 17:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 17:49: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-09-10 17:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:49: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-09-10 17:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994930176001,"66":27821,"95":206,"83":43008,"24":42,"16":404495273998417920,"44":-1747396624826245120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994930176001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:49:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404495273998417920,"km_value":404495273998417.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1747396624826245120,"description":"Unknown IO ID 44"} 
[2026-09-10 17:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994930176001,"power":27821,"unknown_95":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1747396624826245120}} 
[2026-09-10 17:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":176737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:49:36] local.INFO: GPS data processed {"connection_id":176737,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:49:36] local.INFO: Acknowledgment sent {"connection_id":176737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:49:37] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b416590012ce7f940071f5590000d008c28..."} 
[2026-09-10 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b416590012ce7f940071f5590000d008c28..."} 
[2026-09-10 17:49:37] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b416590012ce7f940071f5590000d008c28..."} 
[2026-09-10 17:49:37] local.INFO: Packet analysis {"connection_id":176737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:37] local.INFO: Extracted packet for processing {"connection_id":176737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":753400128,"raw_latitude":119494032,"longitude_deg":75.3400128,"latitude_deg":11.9494032,"altitude":13,"angle":140,"satellites":40,"speed":40,"hex_longitude":"2ce7f940","hex_latitude":"071f5590","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994932480001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404495712085082112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1738670900549685248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789042714000,"timestamp_ms":1789042714000,"timestamp_seconds":1789042714,"priority":1,"record_length":96,"hex_timestamp":"000001a08b416590"} 
[2026-09-10 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-09-10 17:49: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-09-10 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:49: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-09-10 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-09-10 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-09-10 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:49: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-09-10 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994932480001,"66":27865,"95":206,"83":43008,"24":40,"16":404495712085082112,"44":-1738670900549685248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994932480001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:49:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404495712085082112,"km_value":404495712085082.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1738670900549685248,"description":"Unknown IO ID 44"} 
[2026-09-10 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994932480001,"power":27865,"unknown_95":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1738670900549685248}} 
[2026-09-10 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":176737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:49:37] local.INFO: GPS data processed {"connection_id":176737,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:49:37] local.INFO: Acknowledgment sent {"connection_id":176737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:49:57] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:49:57] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:49:57] local.INFO: IMEI packet received {"connection_id":176515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":176515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:49:57] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:49:57] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:49:57] local.INFO: IMEI packet received {"connection_id":176515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":176515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:49:58] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b41abe0012d82a60005d78c58000900b023..."} 
[2026-09-10 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b41abe0012d82a60005d78c58000900b023..."} 
[2026-09-10 17:49:58] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b41abe0012d82a60005d78c58000900b023..."} 
[2026-09-10 17:49:58] local.INFO: Packet analysis {"connection_id":176515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:58] local.INFO: Extracted packet for processing {"connection_id":176515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763536896,"raw_latitude":98012248,"longitude_deg":76.3536896,"latitude_deg":9.8012248,"altitude":9,"angle":176,"satellites":35,"speed":22,"hex_longitude":"2d82a600","hex_latitude":"05d78c58","is_valid_coordinates":true} 
[2026-09-10 17:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994935552001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130853892433903616,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033165296249077760,"note":"Value kept but may cause issues"} 
[2026-09-10 17:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789042732000,"timestamp_ms":1789042732000,"timestamp_seconds":1789042732,"priority":1,"record_length":96,"hex_timestamp":"000001a08b41abe0"} 
[2026-09-10 17:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 17:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:49:58] 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-09-10 17:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994935552001,"66":13417,"155":206,"85":15104,"24":22,"16":130853892433903616,"45":-9033165296249077760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-10 17:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994935552001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:49:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-10 17:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130853892433903616,"km_value":130853892433903.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033165296249077760,"description":"Unknown IO ID 45"} 
[2026-09-10 17:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994935552001,"power":13417,"unknown_155":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9033165296249077760}} 
[2026-09-10 17:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":176515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:49:58] local.INFO: GPS data processed {"connection_id":176515,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:49:58] local.INFO: Acknowledgment sent {"connection_id":176515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:50:02] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b41ea60012d82a7c005d769c8000800b426..."} 
[2026-09-10 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b41ea60012d82a7c005d769c8000800b426..."} 
[2026-09-10 17:50:02] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b41ea60012d82a7c005d769c8000800b426..."} 
[2026-09-10 17:50:02] local.INFO: Packet analysis {"connection_id":176515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:02] local.INFO: Extracted packet for processing {"connection_id":176515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763537344,"raw_latitude":98003400,"longitude_deg":76.3537344,"latitude_deg":9.80034,"altitude":8,"angle":180,"satellites":38,"speed":27,"hex_longitude":"2d82a7c0","hex_latitude":"05d769c8","is_valid_coordinates":true} 
[2026-09-10 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994939392001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130854326225600512,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032531977553815552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789042748000,"timestamp_ms":1789042748000,"timestamp_seconds":1789042748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b41ea60"} 
[2026-09-10 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-10 17:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:50:02] 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-09-10 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994939392001,"66":13472,"155":206,"85":15104,"24":27,"16":130854326225600512,"45":-9032531977553815552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-10 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994939392001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:50:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-10 17:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130854326225600512,"km_value":130854326225600.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032531977553815552,"description":"Unknown IO ID 45"} 
[2026-09-10 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994939392001,"power":13472,"unknown_155":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9032531977553815552}} 
[2026-09-10 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":176515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:50:02] local.INFO: GPS data processed {"connection_id":176515,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:50:02] local.INFO: Acknowledgment sent {"connection_id":176515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:50:05] local.INFO: TCP Data received {"connection_id":177907,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b40d120012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b40d120012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:50:05] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b40d120012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:50:05] local.INFO: Packet analysis {"connection_id":177907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:50:05] local.INFO: Extracted packet for processing {"connection_id":177907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b40"} 
[2026-09-10 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994919680001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789042676000,"timestamp_ms":1789042676000,"timestamp_seconds":1789042676,"priority":1,"record_length":96,"hex_timestamp":"000001a08b40d120"} 
[2026-09-10 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-09-10 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 17:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994919680001,"66":12558,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994919680001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:50:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994919680001,"power":12558,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":177907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:50:05] local.INFO: GPS data processed {"connection_id":177907,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:50:05] local.INFO: Acknowledgment sent {"connection_id":177907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:50:19] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:19] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:19] local.INFO: IMEI packet received {"connection_id":176738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":176738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:50:21] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:21] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:21] local.INFO: IMEI packet received {"connection_id":176738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":176738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:50:24] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:24] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:50:24] local.INFO: IMEI packet received {"connection_id":176738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":176738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:50:29] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b416590012ce7f940071f5590000d008c28..."} 
[2026-09-10 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b416590012ce7f940071f5590000d008c28..."} 
[2026-09-10 17:50:29] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b416590012ce7f940071f5590000d008c28..."} 
[2026-09-10 17:50:29] local.INFO: Packet analysis {"connection_id":176738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:29] local.INFO: Extracted packet for processing {"connection_id":176738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:29] local.INFO: GPS Element Parsed {"raw_longitude":753400128,"raw_latitude":119494032,"longitude_deg":75.3400128,"latitude_deg":11.9494032,"altitude":13,"angle":140,"satellites":40,"speed":40,"hex_longitude":"2ce7f940","hex_latitude":"071f5590","is_valid_coordinates":true} 
[2026-09-10 17:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994934784001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404495712085082112,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1731282182412595200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042714000,"timestamp_ms":1789042714000,"timestamp_seconds":1789042714,"priority":1,"record_length":96,"hex_timestamp":"000001a08b416590"} 
[2026-09-10 17:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994934784001,"66":27865,"95":206,"83":43008,"24":40,"16":404495712085082112,"44":-1731282182412595200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994934784001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:50:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404495712085082112,"km_value":404495712085082.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1731282182412595200,"description":"Unknown IO ID 44"} 
[2026-09-10 17:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994934784001,"power":27865,"unknown_95":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1731282182412595200}} 
[2026-09-10 17:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":176738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:50:29] local.INFO: GPS data processed {"connection_id":176738,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:50:29] local.INFO: Acknowledgment sent {"connection_id":176738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:50:32] local.INFO: TCP Data received {"connection_id":176516,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:50:32] local.INFO: Processing buffer {"connection_id":176516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:50:32] local.INFO: IMEI packet received {"connection_id":176516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":176516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:50:33] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b431b10012d82cf8005d685a80002009325..."} 
[2026-09-10 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b431b10012d82cf8005d685a80002009325..."} 
[2026-09-10 17:50:33] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b431b10012d82cf8005d685a80002009325..."} 
[2026-09-10 17:50:33] local.INFO: Packet analysis {"connection_id":176515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:50:33] local.INFO: Extracted packet for processing {"connection_id":176515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763547520,"raw_latitude":97945000,"longitude_deg":76.354752,"latitude_deg":9.7945,"altitude":2,"angle":147,"satellites":37,"speed":15,"hex_longitude":"2d82cf80","hex_latitude":"05d685a8","is_valid_coordinates":true} 
[2026-09-10 17:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994961408001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130857294048002048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022891459618379776,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042826000,"timestamp_ms":1789042826000,"timestamp_seconds":1789042826,"priority":1,"record_length":96,"hex_timestamp":"000001a08b431b10"} 
[2026-09-10 17:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-10 17:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:50:33] 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-09-10 17:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994961408001,"66":12645,"156":206,"85":15104,"24":15,"16":130857294048002048,"45":-9022891459618379776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 17:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994961408001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:50:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 17:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130857294048002048,"km_value":130857294048002.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022891459618379776,"description":"Unknown IO ID 45"} 
[2026-09-10 17:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994961408001,"power":12645,"unknown_156":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9022891459618379776}} 
[2026-09-10 17:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":176515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:50:33] local.INFO: GPS data processed {"connection_id":176515,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:50:33] local.INFO: Acknowledgment sent {"connection_id":176515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:50:37] local.INFO: TCP Data received {"connection_id":176516,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:50:37] local.INFO: Processing buffer {"connection_id":176516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:50:37] local.INFO: IMEI packet received {"connection_id":176516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":176516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:50:38] local.INFO: TCP Data received {"connection_id":176516,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b412328012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b412328012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:50:38] local.INFO: Processing buffer {"connection_id":176516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b412328012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:50:38] local.INFO: Packet analysis {"connection_id":176516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:38] local.INFO: Extracted packet for processing {"connection_id":176516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994925056001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789042697000,"timestamp_ms":1789042697000,"timestamp_seconds":1789042697,"priority":1,"record_length":96,"hex_timestamp":"000001a08b412328"} 
[2026-09-10 17:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336154864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249576654319637232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3538944057,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221692370,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2997223424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5116315798427670528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,71,28,24,241,158,16,178,160,127,45,192,210,57,37,10,66,34,219,1,240,14,139,31,4,113,205,54,208,36,239,49,2,68,7,231,90,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-09-10 17:50:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107383074633809920,"timestamp_seconds":4107383074633810.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994925056001,"66":12548,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994925056001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:50:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994925056001,"power":12548,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":176516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:50:38] local.INFO: GPS data processed {"connection_id":176516,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:50:38] local.INFO: Acknowledgment sent {"connection_id":176516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:50:41] local.INFO: TCP Data received {"connection_id":176516,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b417918012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b417918012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:50:41] local.INFO: Processing buffer {"connection_id":176516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b417918012d18d0c0071fd2f00039005b27..."} 
[2026-09-10 17:50:41] local.INFO: Packet analysis {"connection_id":176516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:41] local.INFO: Extracted packet for processing {"connection_id":176516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994930432001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789042719000,"timestamp_ms":1789042719000,"timestamp_seconds":1789042719,"priority":1,"record_length":96,"hex_timestamp":"000001a08b417918"} 
[2026-09-10 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:50: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-09-10 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336175864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3538944057,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221692370,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2997223424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5116315798427670528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:41] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,71,28,24,241,158,16,178,160,209,45,192,210,57,37,10,66,127,1,240,69,139,31,4,113,205,137,208,239,49,2,68,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-09-10 17:50:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107383083223744512,"timestamp_seconds":4107383083223744.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994930432001,"66":12558,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994930432001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:50:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:50:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994930432001,"power":12558,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":176516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:50:41] local.INFO: GPS data processed {"connection_id":176516,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:50:41] local.INFO: Acknowledgment sent {"connection_id":176516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:50:56] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:50:56] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:50:56] local.INFO: IMEI packet received {"connection_id":176517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":176517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:50:57] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:50:57] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:50:57] local.INFO: IMEI packet received {"connection_id":176517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":176517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:50:59] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4180e8012ce80a00071f3c80000d009929..."} 
[2026-09-10 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4180e8012ce80a00071f3c80000d009929..."} 
[2026-09-10 17:50:59] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4180e8012ce80a00071f3c80000d009929..."} 
[2026-09-10 17:50:59] local.INFO: Packet analysis {"connection_id":176738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:59] local.INFO: Extracted packet for processing {"connection_id":176738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:50:59] local.INFO: GPS Element Parsed {"raw_longitude":753404416,"raw_latitude":119487616,"longitude_deg":75.3404416,"latitude_deg":11.9487616,"altitude":13,"angle":153,"satellites":41,"speed":44,"hex_longitude":"2ce80a00","hex_latitude":"071f3c80","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994934784001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404496085747236864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1731282182412595200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789042721000,"timestamp_ms":1789042721000,"timestamp_seconds":1789042721,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4180e8"} 
[2026-09-10 17:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17: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-09-10 17: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":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:50: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-09-10 17: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-09-10 17:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994934784001,"66":27821,"95":206,"83":43008,"24":44,"16":404496085747236864,"44":-1731282182412595200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994934784001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:50:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404496085747236864,"km_value":404496085747236.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:50:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1731282182412595200,"description":"Unknown IO ID 44"} 
[2026-09-10 17:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994934784001,"power":27821,"unknown_95":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1731282182412595200}} 
[2026-09-10 17:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":176738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:50:59] local.INFO: GPS data processed {"connection_id":176738,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:50:59] local.INFO: Acknowledgment sent {"connection_id":176738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:02] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:51:02] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:51:02] local.INFO: IMEI packet received {"connection_id":176517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":176517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:51:03] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4322e0012d82d08005d68320000200ab25..."} 
[2026-09-10 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4322e0012d82d08005d68320000200ab25..."} 
[2026-09-10 17:51:03] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4322e0012d82d08005d68320000200ab25..."} 
[2026-09-10 17:51:03] local.INFO: Packet analysis {"connection_id":176517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:51:03] local.INFO: Extracted packet for processing {"connection_id":176517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763547776,"raw_latitude":97944352,"longitude_deg":76.3547776,"latitude_deg":9.7944352,"altitude":2,"angle":171,"satellites":37,"speed":12,"hex_longitude":"2d82d080","hex_latitude":"05d68320","is_valid_coordinates":true} 
[2026-09-10 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994963456001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130857324112773120,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020850766037538816,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789042828000,"timestamp_ms":1789042828000,"timestamp_seconds":1789042828,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4322e0"} 
[2026-09-10 17:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 17:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:51:03] 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-09-10 17:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994963456001,"66":13254,"156":206,"85":15104,"24":12,"16":130857324112773120,"45":-9020850766037538816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 17:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994963456001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:51:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 17:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130857324112773120,"km_value":130857324112773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020850766037538816,"description":"Unknown IO ID 45"} 
[2026-09-10 17:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994963456001,"power":13254,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9020850766037538816}} 
[2026-09-10 17:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":176517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:51:03] local.INFO: GPS data processed {"connection_id":176517,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:51:03] local.INFO: Acknowledgment sent {"connection_id":176517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:06] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4326c8012d82d08005d68220000200b925..."} 
[2026-09-10 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4326c8012d82d08005d68220000200b925..."} 
[2026-09-10 17:51:06] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4326c8012d82d08005d68220000200b925..."} 
[2026-09-10 17:51:06] local.INFO: Packet analysis {"connection_id":176517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:51:06] local.INFO: Extracted packet for processing {"connection_id":176517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763547776,"raw_latitude":97944096,"longitude_deg":76.3547776,"latitude_deg":9.7944096,"altitude":2,"angle":185,"satellites":37,"speed":9,"hex_longitude":"2d82d080","hex_latitude":"05d68220","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994963968001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130857336997675008,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020569291060994048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789042829000,"timestamp_ms":1789042829000,"timestamp_seconds":1789042829,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4326c8"} 
[2026-09-10 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-09-10 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 17:51: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-09-10 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-09-10 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-09-10 17:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:51:06] 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-09-10 17:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994963968001,"66":12939,"156":206,"85":15104,"24":9,"16":130857336997675008,"45":-9020569291060994048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 17:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994963968001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:51:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 17:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130857336997675008,"km_value":130857336997675.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020569291060994048,"description":"Unknown IO ID 45"} 
[2026-09-10 17:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994963968001,"power":12939,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9020569291060994048}} 
[2026-09-10 17:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":176517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:51:06] local.INFO: GPS data processed {"connection_id":176517,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:51:06] local.INFO: Acknowledgment sent {"connection_id":176517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:18] local.INFO: TCP Data received {"connection_id":179276,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:51:18] local.INFO: Processing buffer {"connection_id":179276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:51:18] local.INFO: IMEI packet received {"connection_id":179276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":179276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:51:23] local.INFO: TCP Data received {"connection_id":179276,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:51:23] local.INFO: Processing buffer {"connection_id":179276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:51:23] local.INFO: IMEI packet received {"connection_id":179276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":179276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:51:24] local.INFO: TCP Data received {"connection_id":179276,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b41a028012ce818c0071f1d08000c009b29..."} 
[2026-09-10 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b41a028012ce818c0071f1d08000c009b29..."} 
[2026-09-10 17:51:24] local.INFO: Processing buffer {"connection_id":179276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b41a028012ce818c0071f1d08000c009b29..."} 
[2026-09-10 17:51:24] local.INFO: Packet analysis {"connection_id":179276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:51:24] local.INFO: Extracted packet for processing {"connection_id":179276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":753408192,"raw_latitude":119479560,"longitude_deg":75.3408192,"latitude_deg":11.947956,"altitude":12,"angle":155,"satellites":41,"speed":44,"hex_longitude":"2ce818c0","hex_latitude":"071f1d08","is_valid_coordinates":true} 
[2026-09-10 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994936576001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404496515243966464,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1726567476554334208,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789042729000,"timestamp_ms":1789042729000,"timestamp_seconds":1789042729,"priority":1,"record_length":96,"hex_timestamp":"000001a08b41a028"} 
[2026-09-10 17:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 17:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994936576001,"66":27908,"95":206,"83":43008,"24":44,"16":404496515243966464,"44":-1726567476554334208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-10 17:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994936576001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:51:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 17:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404496515243966464,"km_value":404496515243966.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:51:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1726567476554334208,"description":"Unknown IO ID 44"} 
[2026-09-10 17:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994936576001,"power":27908,"unknown_95":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1726567476554334208}} 
[2026-09-10 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":179276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:51:24] local.INFO: GPS data processed {"connection_id":179276,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:51:24] local.INFO: Acknowledgment sent {"connection_id":179276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:27] local.INFO: TCP Data received {"connection_id":177908,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:51:27] local.INFO: Processing buffer {"connection_id":177908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:51:27] local.INFO: IMEI packet received {"connection_id":177908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":177908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:51:32] local.INFO: TCP Data received {"connection_id":177908,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:51:32] local.INFO: Processing buffer {"connection_id":177908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:51:32] local.INFO: IMEI packet received {"connection_id":177908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":177908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:51:33] local.INFO: TCP Data received {"connection_id":177908,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b41cb20012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b41cb20012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:51:33] local.INFO: Processing buffer {"connection_id":177908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b41cb20012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:51:33] local.INFO: Packet analysis {"connection_id":177908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:51:33] local.INFO: Extracted packet for processing {"connection_id":177908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b41"} 
[2026-09-10 17:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994936064001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042740000,"timestamp_ms":1789042740000,"timestamp_seconds":1789042740,"priority":1,"record_length":96,"hex_timestamp":"000001a08b41cb20"} 
[2026-09-10 17:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336196864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249576654319637232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3538944057,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221692370,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2997223424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5116315798427670528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,71,28,24,241,158,16,178,160,35,45,192,210,57,39,10,66,209,37,127,1,240,139,31,4,113,205,219,208,239,49,2,68,7,231,90,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-09-10 17:51:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107383083223744512,"timestamp_seconds":4107383083223744.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994936064001,"66":12526,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994936064001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:51:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:51:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994936064001,"power":12526,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":177908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:51:33] local.INFO: GPS data processed {"connection_id":177908,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:51:33] local.INFO: Acknowledgment sent {"connection_id":177908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:37] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b441128012d829d8005d61260000500c422..."} 
[2026-09-10 17:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b441128012d829d8005d61260000500c422..."} 
[2026-09-10 17:51:37] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b441128012d829d8005d61260000500c422..."} 
[2026-09-10 17:51:37] local.INFO: Packet analysis {"connection_id":176517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:51:37] local.INFO: Extracted packet for processing {"connection_id":176517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763534720,"raw_latitude":97915488,"longitude_deg":76.353472,"latitude_deg":9.7915488,"altitude":5,"angle":196,"satellites":34,"speed":12,"hex_longitude":"2d829d80","hex_latitude":"05d61260","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994979328001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130858926135574528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777392189440,"note":"Value kept but may cause issues"} 
[2026-09-10 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-09-10 17:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789042889000,"timestamp_ms":1789042889000,"timestamp_seconds":1789042889,"priority":1,"record_length":96,"hex_timestamp":"000001a08b441128"} 
[2026-09-10 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-09-10 17:51: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-09-10 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":74,"data_length":795,"current_offset":136} 
[2026-09-10 17:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:51: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-09-10 17:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994979328001,"66":13602,"156":206,"85":15104,"24":12,"16":130858926135574528,"45":-9034783777392189440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 17:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994979328001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:51:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 17:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130858926135574528,"km_value":130858926135574.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777392189440,"description":"Unknown IO ID 45"} 
[2026-09-10 17:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994979328001,"power":13602,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9034783777392189440}} 
[2026-09-10 17:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":176517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:51:37] local.INFO: GPS data processed {"connection_id":176517,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:51:37] local.INFO: Acknowledgment sent {"connection_id":176517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:38] local.INFO: TCP Data received {"connection_id":177908,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b421d28012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b421d28012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:51:38] local.INFO: Processing buffer {"connection_id":177908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b421d28012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:51:38] local.INFO: Packet analysis {"connection_id":177908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b42"} 
[2026-09-10 17:51:38] local.INFO: Extracted packet for processing {"connection_id":177908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b42"} 
[2026-09-10 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994941440001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789042761000,"timestamp_ms":1789042761000,"timestamp_seconds":1789042761,"priority":1,"record_length":96,"hex_timestamp":"000001a08b421d28"} 
[2026-09-10 17:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 17:51: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-09-10 17:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994941440001,"66":12591,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994941440001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:51:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994941440001,"power":12591,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":177908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:51:39] local.INFO: GPS data processed {"connection_id":177908,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:51:39] local.INFO: Acknowledgment sent {"connection_id":177908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:55] local.INFO: TCP Data received {"connection_id":179276,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4378d0012ce8f540071dfb38001700782c..."} 
[2026-09-10 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4378d0012ce8f540071dfb38001700782c..."} 
[2026-09-10 17:51:55] local.INFO: Processing buffer {"connection_id":179276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4378d0012ce8f540071dfb38001700782c..."} 
[2026-09-10 17:51:55] local.INFO: Packet analysis {"connection_id":179276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:51:55] local.INFO: Extracted packet for processing {"connection_id":179276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":753464640,"raw_latitude":119405368,"longitude_deg":75.346464,"latitude_deg":11.9405368,"altitude":23,"angle":120,"satellites":44,"speed":16,"hex_longitude":"2ce8f540","hex_latitude":"071dfb38","is_valid_coordinates":true} 
[2026-09-10 17:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994964736001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404501162398580736,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1669216950069534720,"note":"Value kept but may cause issues"} 
[2026-09-10 17:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789042850000,"timestamp_ms":1789042850000,"timestamp_seconds":1789042850,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4378d0"} 
[2026-09-10 17:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:51: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-09-10 17:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994964736001,"66":27691,"111":206,"83":43008,"24":16,"16":404501162398580736,"44":-1669216950069534720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-10 17:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994964736001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:51:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 17:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404501162398580736,"km_value":404501162398580.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:51:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1669216950069534720,"description":"Unknown IO ID 44"} 
[2026-09-10 17:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994964736001,"power":27691,"unknown_111":206,"unknown_83":43008,"ignition":16,"odometer":null,"unknown_44":-1669216950069534720}} 
[2026-09-10 17:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":179276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:51:55] local.INFO: GPS data processed {"connection_id":179276,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:51:55] local.INFO: Acknowledgment sent {"connection_id":179276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:51:57] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:51:57] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:51:57] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:52:02] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:52:02] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:52:02] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:52:03] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b441510012d829d8005d61108000500b023..."} 
[2026-09-10 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b441510012d829d8005d61108000500b023..."} 
[2026-09-10 17:52:03] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b441510012d829d8005d61108000500b023..."} 
[2026-09-10 17:52:03] local.INFO: Packet analysis {"connection_id":176740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:52:03] local.INFO: Extracted packet for processing {"connection_id":176740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763534720,"raw_latitude":97915144,"longitude_deg":76.353472,"latitude_deg":9.7915144,"altitude":5,"angle":176,"satellites":35,"speed":13,"hex_longitude":"2d829d80","hex_latitude":"05d61108","is_valid_coordinates":true} 
[2026-09-10 17:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994979584001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130858943315443712,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034924514880626688,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789042890000,"timestamp_ms":1789042890000,"timestamp_seconds":1789042890,"priority":1,"record_length":96,"hex_timestamp":"000001a08b441510"} 
[2026-09-10 17:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 17:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:52:03] 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-09-10 17:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994979584001,"66":13602,"156":206,"85":15104,"24":13,"16":130858943315443712,"45":-9034924514880626688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-10 17:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994979584001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:52:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 17:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130858943315443712,"km_value":130858943315443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034924514880626688,"description":"Unknown IO ID 45"} 
[2026-09-10 17:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994979584001,"power":13602,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9034924514880626688}} 
[2026-09-10 17:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":176740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:52:03] local.INFO: GPS data processed {"connection_id":176740,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:52:03] local.INFO: Acknowledgment sent {"connection_id":176740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:52:09] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:52:09] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:52:09] local.INFO: IMEI packet received {"connection_id":176518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":176518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:52:10] local.INFO: TCP Data received {"connection_id":177908,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b426b48012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b426b48012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:52:10] local.INFO: Processing buffer {"connection_id":177908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b426b48012d18d0c0071fd2f00039005b25..."} 
[2026-09-10 17:52:10] local.INFO: Packet analysis {"connection_id":177908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b42"} 
[2026-09-10 17:52:10] local.INFO: Extracted packet for processing {"connection_id":177908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b42"} 
[2026-09-10 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994946816001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789042781000,"timestamp_ms":1789042781000,"timestamp_seconds":1789042781,"priority":1,"record_length":96,"hex_timestamp":"000001a08b426b48"} 
[2026-09-10 17:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 17:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994946816001,"66":12537,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994946816001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:52:10] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:52:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994946816001,"power":12537,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":177908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:52:10] local.INFO: GPS data processed {"connection_id":177908,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:52:10] local.INFO: Acknowledgment sent {"connection_id":177908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:52:18] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:52:18] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:52:18] local.INFO: IMEI packet received {"connection_id":177909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":177909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:52:24] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:52:24] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:52:24] local.INFO: IMEI packet received {"connection_id":177909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":177909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:52:25] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b43bb38012ce91600071dec18001800752c..."} 
[2026-09-10 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b43bb38012ce91600071dec18001800752c..."} 
[2026-09-10 17:52:25] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b43bb38012ce91600071dec18001800752c..."} 
[2026-09-10 17:52:25] local.INFO: Packet analysis {"connection_id":177909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:52:25] local.INFO: Extracted packet for processing {"connection_id":177909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":753473024,"raw_latitude":119401496,"longitude_deg":75.3473024,"latitude_deg":11.9401496,"altitude":24,"angle":117,"satellites":44,"speed":28,"hex_longitude":"2ce91600","hex_latitude":"071dec18","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994969600001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404501600485244928,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1660350488304207872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789042867000,"timestamp_ms":1789042867000,"timestamp_seconds":1789042867,"priority":1,"record_length":96,"hex_timestamp":"000001a08b43bb38"} 
[2026-09-10 17:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 17:52:25] 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-09-10 17: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-09-10 17:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994969600001,"66":27571,"111":206,"83":43008,"24":28,"16":404501600485244928,"44":-1660350488304207872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-10 17:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994969600001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:52:25] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 17:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404501600485244928,"km_value":404501600485244.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1660350488304207872,"description":"Unknown IO ID 44"} 
[2026-09-10 17:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994969600001,"power":27571,"unknown_111":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1660350488304207872}} 
[2026-09-10 17:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":177909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:52:25] local.INFO: GPS data processed {"connection_id":177909,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:52:25] local.INFO: Acknowledgment sent {"connection_id":177909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:52:26] local.INFO: TCP Data received {"connection_id":176519,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:26] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:26] local.INFO: IMEI packet received {"connection_id":176519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":176519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:52:26] local.INFO: TCP Data received {"connection_id":176519,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:26] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:26] local.INFO: IMEI packet received {"connection_id":176519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":176519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:52:32] local.INFO: TCP Data received {"connection_id":176519,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:32] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:52:32] local.INFO: IMEI packet received {"connection_id":176519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":176519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:52:33] local.INFO: TCP Data received {"connection_id":176519,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b42bd50012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b42bd50012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:52:33] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b42bd50012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:52:33] local.INFO: Packet analysis {"connection_id":176519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b42"} 
[2026-09-10 17:52:33] local.INFO: Extracted packet for processing {"connection_id":176519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b42"} 
[2026-09-10 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994951936001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042802000,"timestamp_ms":1789042802000,"timestamp_seconds":1789042802,"priority":1,"record_length":96,"hex_timestamp":"000001a08b42bd50"} 
[2026-09-10 17:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 17:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994951936001,"66":12428,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994951936001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:52:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994951936001,"power":12428,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":176519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:52:33] local.INFO: GPS data processed {"connection_id":176519,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:52:33] local.INFO: Acknowledgment sent {"connection_id":176519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:52:56] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b43cec0012ce920c0071de520001800822c..."} 
[2026-09-10 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b43cec0012ce920c0071de520001800822c..."} 
[2026-09-10 17:52:56] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b43cec0012ce920c0071de520001800822c..."} 
[2026-09-10 17:52:56] local.INFO: Packet analysis {"connection_id":177909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:52:56] local.INFO: Extracted packet for processing {"connection_id":177909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:52:56] local.INFO: GPS Element Parsed {"raw_longitude":753475776,"raw_latitude":119399712,"longitude_deg":75.3475776,"latitude_deg":11.9399712,"altitude":24,"angle":130,"satellites":44,"speed":25,"hex_longitude":"2ce920c0","hex_latitude":"071de520","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994973952001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404501759399034880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1651132182817925120,"note":"Value kept but may cause issues"} 
[2026-09-10 17:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789042872000,"timestamp_ms":1789042872000,"timestamp_seconds":1789042872,"priority":1,"record_length":96,"hex_timestamp":"000001a08b43cec0"} 
[2026-09-10 17:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 17:52:56] 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-09-10 17: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-09-10 17:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994973952001,"66":27843,"111":206,"83":43008,"24":25,"16":404501759399034880,"44":-1651132182817925120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-10 17:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994973952001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:52:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 17:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404501759399034880,"km_value":404501759399034.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1651132182817925120,"description":"Unknown IO ID 44"} 
[2026-09-10 17:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994973952001,"power":27843,"unknown_111":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1651132182817925120}} 
[2026-09-10 17:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":177909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:52:56] local.INFO: GPS data processed {"connection_id":177909,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:52:56] local.INFO: Acknowledgment sent {"connection_id":177909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:09] local.INFO: TCP Data received {"connection_id":176519,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b430f58012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b430f58012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:09] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b430f58012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:09] local.INFO: Packet analysis {"connection_id":176519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:09] local.INFO: Extracted packet for processing {"connection_id":176519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994957312001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789042823000,"timestamp_ms":1789042823000,"timestamp_seconds":1789042823,"priority":1,"record_length":96,"hex_timestamp":"000001a08b430f58"} 
[2026-09-10 17:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:53: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-09-10 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 17:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994957312001,"66":11678,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994957312001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:53:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994957312001,"power":11678,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":176519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:53:09] local.INFO: GPS data processed {"connection_id":176519,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:53:09] local.INFO: Acknowledgment sent {"connection_id":176519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:23] local.INFO: TCP Data received {"connection_id":177910,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:53:23] local.INFO: Processing buffer {"connection_id":177910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:53:23] local.INFO: IMEI packet received {"connection_id":177910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":177910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:53:26] local.INFO: TCP Data received {"connection_id":176521,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:26] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:26] local.INFO: IMEI packet received {"connection_id":176521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":176521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:53:27] local.INFO: TCP Data received {"connection_id":179277,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:27] local.INFO: Processing buffer {"connection_id":179277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:27] local.INFO: IMEI packet received {"connection_id":179277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":179277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:53:28] local.INFO: TCP Data received {"connection_id":179277,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:28] local.INFO: Processing buffer {"connection_id":179277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:28] local.INFO: IMEI packet received {"connection_id":179277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":179277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:53:28] local.INFO: TCP Data received {"connection_id":177910,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:53:28] local.INFO: Processing buffer {"connection_id":177910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:53:28] local.INFO: IMEI packet received {"connection_id":177910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":177910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:53:29] local.INFO: TCP Data received {"connection_id":177910,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b43f9b8012ce93480071dd0d80016008e29..."} 
[2026-09-10 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b43f9b8012ce93480071dd0d80016008e29..."} 
[2026-09-10 17:53:29] local.INFO: Processing buffer {"connection_id":177910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b43f9b8012ce93480071dd0d80016008e29..."} 
[2026-09-10 17:53:29] local.INFO: Packet analysis {"connection_id":177910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:29] local.INFO: Extracted packet for processing {"connection_id":177910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":753480832,"raw_latitude":119394520,"longitude_deg":75.3480832,"latitude_deg":11.939452,"altitude":22,"angle":142,"satellites":41,"speed":27,"hex_longitude":"2ce93480","hex_latitude":"071dd0d8","is_valid_coordinates":true} 
[2026-09-10 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994975232001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404502102996418560,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1648106326818742272,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789042883000,"timestamp_ms":1789042883000,"timestamp_seconds":1789042883,"priority":1,"record_length":96,"hex_timestamp":"000001a08b43f9b8"} 
[2026-09-10 17:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 17:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994975232001,"66":27800,"110":206,"83":43008,"24":27,"16":404502102996418560,"44":-1648106326818742272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 17:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994975232001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:53:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 17:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404502102996418560,"km_value":404502102996418.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1648106326818742272,"description":"Unknown IO ID 44"} 
[2026-09-10 17:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994975232001,"power":27800,"unknown_110":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-1648106326818742272}} 
[2026-09-10 17:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":177910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:53:29] local.INFO: GPS data processed {"connection_id":177910,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:53:29] local.INFO: Acknowledgment sent {"connection_id":177910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:29] local.INFO: TCP Data received {"connection_id":176521,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:29] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:29] local.INFO: IMEI packet received {"connection_id":176521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":176521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:53:30] local.INFO: TCP Data received {"connection_id":177910,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b443068012ce94900071db1d8001100902c..."} 
[2026-09-10 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b443068012ce94900071db1d8001100902c..."} 
[2026-09-10 17:53:30] local.INFO: Processing buffer {"connection_id":177910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b443068012ce94900071db1d8001100902c..."} 
[2026-09-10 17:53:30] local.INFO: Packet analysis {"connection_id":177910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:53:30] local.INFO: Extracted packet for processing {"connection_id":177910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":753486080,"raw_latitude":119386584,"longitude_deg":75.348608,"latitude_deg":11.9386584,"altitude":17,"angle":144,"satellites":44,"speed":25,"hex_longitude":"2ce94900","hex_latitude":"071db1d8","is_valid_coordinates":true} 
[2026-09-10 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994978048001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404502562557919232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1642547196030035968,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789042897000,"timestamp_ms":1789042897000,"timestamp_seconds":1789042897,"priority":1,"record_length":96,"hex_timestamp":"000001a08b443068"} 
[2026-09-10 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994978048001,"66":27800,"110":206,"83":43008,"24":25,"16":404502562557919232,"44":-1642547196030035968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994978048001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:53:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 17:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404502562557919232,"km_value":404502562557919.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1642547196030035968,"description":"Unknown IO ID 44"} 
[2026-09-10 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994978048001,"power":27800,"unknown_110":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1642547196030035968}} 
[2026-09-10 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":177910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:53:30] local.INFO: GPS data processed {"connection_id":177910,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:53:30] local.INFO: Acknowledgment sent {"connection_id":177910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:31] local.INFO: TCP Data received {"connection_id":176521,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:32] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:53:32] local.INFO: IMEI packet received {"connection_id":176521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":176521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:53:32] local.INFO: TCP Data received {"connection_id":179277,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:32] local.INFO: Processing buffer {"connection_id":179277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:32] local.INFO: IMEI packet received {"connection_id":179277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":179277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:53:33] local.INFO: TCP Data received {"connection_id":176521,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b436160012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b436160012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:33] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b436160012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:33] local.INFO: Packet analysis {"connection_id":176521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:33] local.INFO: Extracted packet for processing {"connection_id":176521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994962688001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042844000,"timestamp_ms":1789042844000,"timestamp_seconds":1789042844,"priority":1,"record_length":96,"hex_timestamp":"000001a08b436160"} 
[2026-09-10 17:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 17:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994962688001,"66":12548,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994962688001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994962688001,"power":12548,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:53:33] local.INFO: TCP Data received {"connection_id":179277,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b456118012d81fb0005d5d0400003011222..."} 
[2026-09-10 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b456118012d81fb0005d5d0400003011222..."} 
[2026-09-10 17:53:33] local.INFO: Processing buffer {"connection_id":179277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b456118012d81fb0005d5d0400003011222..."} 
[2026-09-10 17:53:33] local.INFO: Packet analysis {"connection_id":179277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:53:33] local.INFO: Extracted packet for processing {"connection_id":179277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763493120,"raw_latitude":97898560,"longitude_deg":76.349312,"latitude_deg":9.789856,"altitude":3,"angle":274,"satellites":34,"speed":22,"hex_longitude":"2d81fb00","hex_latitude":"05d5d040","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995001344001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130861649144840192,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080101248647024640,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53: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-09-10 17:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789042975000,"timestamp_ms":1789042975000,"timestamp_seconds":1789042975,"priority":1,"record_length":96,"hex_timestamp":"000001a08b456118"} 
[2026-09-10 17:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-10 17:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:53:33] 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-09-10 17:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995001344001,"66":13276,"18":206,"85":15104,"24":22,"16":130861649144840192,"45":-9080101248647024640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-09-10 17:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995001344001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130861649144840192,"km_value":130861649144840.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080101248647024640,"description":"Unknown IO ID 45"} 
[2026-09-10 17:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995001344001,"power":13276,"unknown_18":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9080101248647024640}} 
[2026-09-10 17:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":176521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:53:33] local.INFO: GPS data processed {"connection_id":176521,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:53:33] local.INFO: Acknowledgment sent {"connection_id":176521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":179277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:53:33] local.INFO: GPS data processed {"connection_id":179277,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:53:33] local.INFO: Acknowledgment sent {"connection_id":179277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:36] local.INFO: TCP Data received {"connection_id":179277,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b456cd0012d81f18005d5cf200004010722..."} 
[2026-09-10 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b456cd0012d81f18005d5cf200004010722..."} 
[2026-09-10 17:53:36] local.INFO: Processing buffer {"connection_id":179277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b456cd0012d81f18005d5cf200004010722..."} 
[2026-09-10 17:53:36] local.INFO: Packet analysis {"connection_id":179277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:53:36] local.INFO: Extracted packet for processing {"connection_id":179277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763490688,"raw_latitude":97898272,"longitude_deg":76.3490688,"latitude_deg":9.7898272,"altitude":4,"angle":263,"satellites":34,"speed":35,"hex_longitude":"2d81f180","hex_latitude":"05d5cf20","is_valid_coordinates":true} 
[2026-09-10 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995001600001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130861769403924480,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080664198600441856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:36] 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-09-10 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789042978000,"timestamp_ms":1789042978000,"timestamp_seconds":1789042978,"priority":1,"record_length":96,"hex_timestamp":"000001a08b456cd0"} 
[2026-09-10 17:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 17:53: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-09-10 17:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:53:36] 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-09-10 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995001600001,"66":13374,"18":206,"85":15104,"24":35,"16":130861769403924480,"45":-9080664198600441856},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-09-10 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995001600001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130861769403924480,"km_value":130861769403924.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080664198600441856,"description":"Unknown IO ID 45"} 
[2026-09-10 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995001600001,"power":13374,"unknown_18":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9080664198600441856}} 
[2026-09-10 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":179277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:53:36] local.INFO: GPS data processed {"connection_id":179277,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:53:36] local.INFO: Acknowledgment sent {"connection_id":179277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:37] local.INFO: TCP Data received {"connection_id":176521,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b43b368012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b43b368012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:37] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b43b368012d18d0c0071fd2f00039005b24..."} 
[2026-09-10 17:53:37] local.INFO: Packet analysis {"connection_id":176521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:37] local.INFO: Extracted packet for processing {"connection_id":176521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b43"} 
[2026-09-10 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119526128,"longitude_deg":75.6601024,"latitude_deg":11.9526128,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d18d0c0","hex_latitude":"071fd2f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994968064001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19336724450639872,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188897308672,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789042865000,"timestamp_ms":1789042865000,"timestamp_seconds":1789042865,"priority":1,"record_length":96,"hex_timestamp":"000001a08b43b368"} 
[2026-09-10 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-09-10 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336323864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3538944057,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-09-10 17:53:37] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":536947992,"corrected_to":0} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221692370,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030119,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2997223424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5116315798427670528,"note":"Value kept but may cause issues"} 
[2026-09-10 17:53:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,71,28,24,241,158,16,178,160,15,45,192,210,57,36,10,66,189,107,1,240,249,139,31,4,113,205,203,208,37,239,48,2,68,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0},{"io_id":203,"original":536947992,"validated":0}]} 
[2026-09-10 17:53:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107383070338842624,"timestamp_seconds":4107383070338842.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 17:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994968064001,"66":12504,"71":206,"28":31744,"24":0,"16":19336724450639872,"45":1788140188897308672},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 17:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994968064001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:53:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 17:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19336724450639872,"km_value":19336724450639.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188897308672,"description":"Unknown IO ID 45"} 
[2026-09-10 17:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994968064001,"power":12504,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788140188897308672}} 
[2026-09-10 17:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":176521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:53:37] local.INFO: GPS data processed {"connection_id":176521,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:53:37] local.INFO: Acknowledgment sent {"connection_id":176521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:53:54] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:54] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:54] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:53:55] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:55] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:53:55] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:00] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:00] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:00] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:01] local.INFO: TCP Data received {"connection_id":177910,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b446718012ce95cc0071d9350000c00932a..."} 
[2026-09-10 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b446718012ce95cc0071d9350000c00932a..."} 
[2026-09-10 17:54:01] local.INFO: Processing buffer {"connection_id":177910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b446718012ce95cc0071d9350000c00932a..."} 
[2026-09-10 17:54:01] local.INFO: Packet analysis {"connection_id":177910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:54:01] local.INFO: Extracted packet for processing {"connection_id":177910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b44"} 
[2026-09-10 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":753491136,"raw_latitude":119378768,"longitude_deg":75.3491136,"latitude_deg":11.9378768,"altitude":12,"angle":147,"satellites":42,"speed":25,"hex_longitude":"2ce95cc0","hex_latitude":"071d9350","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457994981632001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404503013529485312,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1636776959009499136,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789042911000,"timestamp_ms":1789042911000,"timestamp_seconds":1789042911,"priority":1,"record_length":96,"hex_timestamp":"000001a08b446718"} 
[2026-09-10 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-09-10 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:54: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-09-10 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-09-10 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-09-10 17:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:54: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-09-10 17:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457994981632001,"66":27767,"110":206,"83":43008,"24":25,"16":404503013529485312,"44":-1636776959009499136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 17:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457994981632001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 17:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404503013529485312,"km_value":404503013529485.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1636776959009499136,"description":"Unknown IO ID 44"} 
[2026-09-10 17:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457994981632001,"power":27767,"unknown_110":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1636776959009499136}} 
[2026-09-10 17:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":177910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:01] local.INFO: GPS data processed {"connection_id":177910,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:01] local.INFO: Acknowledgment sent {"connection_id":177910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:02] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:02] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:02] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:03] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4637f0012d81b54005d539c8000400ca23..."} 
[2026-09-10 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4637f0012d81b54005d539c8000400ca23..."} 
[2026-09-10 17:54:03] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4637f0012d81b54005d539c8000400ca23..."} 
[2026-09-10 17:54:03] local.INFO: Packet analysis {"connection_id":176741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:03] local.INFO: Extracted packet for processing {"connection_id":176741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763475264,"raw_latitude":97860040,"longitude_deg":76.3475264,"latitude_deg":9.786004,"altitude":4,"angle":202,"satellites":35,"speed":39,"hex_longitude":"2d81b540","hex_latitude":"05d539c8","is_valid_coordinates":true} 
[2026-09-10 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995014400001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130864251895021568,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098186015908982784,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789043030000,"timestamp_ms":1789043030000,"timestamp_seconds":1789043030,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4637f0"} 
[2026-09-10 17:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54:03] 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-09-10 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995014400001,"66":13178,"165":206,"85":15104,"24":39,"16":130864251895021568,"45":-9098186015908982784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995014400001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 17:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130864251895021568,"km_value":130864251895021.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098186015908982784,"description":"Unknown IO ID 45"} 
[2026-09-10 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995014400001,"power":13178,"unknown_165":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9098186015908982784}} 
[2026-09-10 17:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":176741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:03] local.INFO: GPS data processed {"connection_id":176741,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:03] local.INFO: Acknowledgment sent {"connection_id":176741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:06] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4643a8012d81b24005d53278000400bc24..."} 
[2026-09-10 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4643a8012d81b24005d53278000400bc24..."} 
[2026-09-10 17:54:06] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4643a8012d81b24005d53278000400bc24..."} 
[2026-09-10 17:54:06] local.INFO: Packet analysis {"connection_id":176741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:06] local.INFO: Extracted packet for processing {"connection_id":176741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763474496,"raw_latitude":97858168,"longitude_deg":76.3474496,"latitude_deg":9.7858168,"altitude":4,"angle":188,"satellites":36,"speed":20,"hex_longitude":"2d81b240","hex_latitude":"05d53278","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995015680001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130864350679269376,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100297078235871232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54: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-09-10 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789043033000,"timestamp_ms":1789043033000,"timestamp_seconds":1789043033,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4643a8"} 
[2026-09-10 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-09-10 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54:06] 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-09-10 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995015680001,"66":13374,"165":206,"85":15104,"24":20,"16":130864350679269376,"45":-9100297078235871232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995015680001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 17:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130864350679269376,"km_value":130864350679269.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100297078235871232,"description":"Unknown IO ID 45"} 
[2026-09-10 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995015680001,"power":13374,"unknown_165":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9100297078235871232}} 
[2026-09-10 17:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":176741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:06] local.INFO: GPS data processed {"connection_id":176741,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:06] local.INFO: Acknowledgment sent {"connection_id":176741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:09] local.INFO: TCP Data received {"connection_id":176521,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b45ca90012d18cfc0072012000036001828..."} 
[2026-09-10 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b45ca90012d18cfc0072012000036001828..."} 
[2026-09-10 17:54:09] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b45ca90012d18cfc0072012000036001828..."} 
[2026-09-10 17:54:09] local.INFO: Packet analysis {"connection_id":176521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:09] local.INFO: Extracted packet for processing {"connection_id":176521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119542272,"longitude_deg":75.6600768,"latitude_deg":11.9542272,"altitude":54,"angle":24,"satellites":40,"speed":17,"hex_longitude":"2d18cfc0","hex_latitude":"07201200","is_valid_coordinates":true} 
[2026-09-10 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995006720001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19337553379328000,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657738162176,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54: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-09-10 17:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789043002000,"timestamp_ms":1789043002000,"timestamp_seconds":1789043002,"priority":1,"record_length":96,"hex_timestamp":"000001a08b45ca90"} 
[2026-09-10 17:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:54: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-09-10 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 17:54: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-09-10 17:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995006720001,"66":14048,"121":206,"28":31744,"24":17,"16":19337553379328000,"45":1787084657738162176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995006720001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19337553379328000,"km_value":19337553379328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657738162176,"description":"Unknown IO ID 45"} 
[2026-09-10 17:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995006720001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1787084657738162176}} 
[2026-09-10 17:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":176521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:09] local.INFO: GPS data processed {"connection_id":176521,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:09] local.INFO: Acknowledgment sent {"connection_id":176521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:18] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:54:18] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:54:18] local.INFO: IMEI packet received {"connection_id":177911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":177911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:54:24] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:54:24] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:54:24] local.INFO: IMEI packet received {"connection_id":177911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":177911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:24] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b45da30012ce9a540071d6ed0000d00062a..."} 
[2026-09-10 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b45da30012ce9a540071d6ed0000d00062a..."} 
[2026-09-10 17:54:24] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b45da30012ce9a540071d6ed0000d00062a..."} 
[2026-09-10 17:54:24] local.INFO: Packet analysis {"connection_id":177911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:24] local.INFO: Extracted packet for processing {"connection_id":177911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:24] local.INFO: GPS Element Parsed {"raw_longitude":753509696,"raw_latitude":119369424,"longitude_deg":75.3509696,"latitude_deg":11.9369424,"altitude":13,"angle":6,"satellites":42,"speed":35,"hex_longitude":"2ce9a540","hex_latitude":"071d6ed0","is_valid_coordinates":true} 
[2026-09-10 17:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995008256001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404505298452086784,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611021998646007808,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789043006000,"timestamp_ms":1789043006000,"timestamp_seconds":1789043006,"priority":1,"record_length":96,"hex_timestamp":"000001a08b45da30"} 
[2026-09-10 17:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:24] 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-09-10 17:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995008256001,"66":27745,"110":206,"83":43008,"24":35,"16":404505298452086784,"44":-1611021998646007808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 17:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995008256001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 17:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404505298452086784,"km_value":404505298452086.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611021998646007808,"description":"Unknown IO ID 44"} 
[2026-09-10 17:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995008256001,"power":27745,"unknown_110":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1611021998646007808}} 
[2026-09-10 17:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":177911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:24] local.INFO: GPS data processed {"connection_id":177911,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:24] local.INFO: Acknowledgment sent {"connection_id":177911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:26] local.INFO: TCP Data received {"connection_id":177912,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:26] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:26] local.INFO: IMEI packet received {"connection_id":177912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":177912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:54:27] local.INFO: TCP Data received {"connection_id":177912,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:27] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:27] local.INFO: IMEI packet received {"connection_id":177912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":177912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:29] local.INFO: TCP Data received {"connection_id":177912,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:29] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:29] local.INFO: IMEI packet received {"connection_id":177912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":177912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:31] local.INFO: TCP Data received {"connection_id":177912,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:31] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:54:31] local.INFO: IMEI packet received {"connection_id":177912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":177912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:32] local.INFO: TCP Data received {"connection_id":177912,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b45d648012d18d2c0072016d00034002c26..."} 
[2026-09-10 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b45d648012d18d2c0072016d00034002c26..."} 
[2026-09-10 17:54:32] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b45d648012d18d2c0072016d00034002c26..."} 
[2026-09-10 17:54:32] local.INFO: Packet analysis {"connection_id":177912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:32] local.INFO: Extracted packet for processing {"connection_id":177912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119543504,"longitude_deg":75.6601536,"latitude_deg":11.9543504,"altitude":52,"angle":44,"satellites":38,"speed":17,"hex_longitude":"2d18d2c0","hex_latitude":"072016d0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995008512001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19337622098804736,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713924730880,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789043005000,"timestamp_ms":1789043005000,"timestamp_seconds":1789043005,"priority":1,"record_length":96,"hex_timestamp":"000001a08b45d648"} 
[2026-09-10 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-09-10 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995008512001,"66":13972,"121":206,"28":31744,"24":17,"16":19337622098804736,"45":1787858713924730880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995008512001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19337622098804736,"km_value":19337622098804.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713924730880,"description":"Unknown IO ID 45"} 
[2026-09-10 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995008512001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1787858713924730880}} 
[2026-09-10 17:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":177912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:32] local.INFO: GPS data processed {"connection_id":177912,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:32] local.INFO: Acknowledgment sent {"connection_id":177912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:37] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b46dfe8012d81a00005d4b1e0000900f425..."} 
[2026-09-10 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b46dfe8012d81a00005d4b1e0000900f425..."} 
[2026-09-10 17:54:37] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b46dfe8012d81a00005d4b1e0000900f425..."} 
[2026-09-10 17:54:37] local.INFO: Packet analysis {"connection_id":176741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:37] local.INFO: Extracted packet for processing {"connection_id":176741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763469824,"raw_latitude":97825248,"longitude_deg":76.3469824,"latitude_deg":9.7825248,"altitude":9,"angle":244,"satellites":37,"speed":28,"hex_longitude":"2d81a000","hex_latitude":"05d4b1e0","is_valid_coordinates":true} 
[2026-09-10 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995025408001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130866292004487168,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101493346895626240,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54: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-09-10 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789043073000,"timestamp_ms":1789043073000,"timestamp_seconds":1789043073,"priority":1,"record_length":96,"hex_timestamp":"000001a08b46dfe8"} 
[2026-09-10 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:54: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-09-10 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54: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-09-10 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995025408001,"66":13526,"165":206,"85":15104,"24":28,"16":130866292004487168,"45":-9101493346895626240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995025408001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130866292004487168,"km_value":130866292004487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101493346895626240,"description":"Unknown IO ID 45"} 
[2026-09-10 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995025408001,"power":13526,"unknown_165":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9101493346895626240}} 
[2026-09-10 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":176741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:37] local.INFO: GPS data processed {"connection_id":176741,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:37] local.INFO: Acknowledgment sent {"connection_id":176741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:37] local.INFO: TCP Data received {"connection_id":177912,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b45de18012d18d540072018e00033003d26..."} 
[2026-09-10 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b45de18012d18d540072018e00033003d26..."} 
[2026-09-10 17:54:37] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b45de18012d18d540072018e00033003d26..."} 
[2026-09-10 17:54:37] local.INFO: Packet analysis {"connection_id":177912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:37] local.INFO: Extracted packet for processing {"connection_id":177912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119544032,"longitude_deg":75.6602176,"latitude_deg":11.9544032,"altitude":51,"angle":61,"satellites":38,"speed":14,"hex_longitude":"2d18d540","hex_latitude":"072018e0","is_valid_coordinates":true} 
[2026-09-10 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995009280001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19337660753510400,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138855178240,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54: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-09-10 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789043007000,"timestamp_ms":1789043007000,"timestamp_seconds":1789043007,"priority":1,"record_length":96,"hex_timestamp":"000001a08b45de18"} 
[2026-09-10 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995009280001,"66":13450,"121":206,"28":31744,"24":14,"16":19337660753510400,"45":1788703138855178240},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995009280001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19337660753510400,"km_value":19337660753510.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138855178240,"description":"Unknown IO ID 45"} 
[2026-09-10 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995009280001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1788703138855178240}} 
[2026-09-10 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":177912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:37] local.INFO: GPS data processed {"connection_id":177912,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:37] local.INFO: Acknowledgment sent {"connection_id":177912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:49] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:49] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:49] local.INFO: IMEI packet received {"connection_id":177913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":177913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:54:52] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:52] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:52] local.INFO: IMEI packet received {"connection_id":177913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":177913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:55] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b45e5e8012ce9a740071d7920000e001129..."} 
[2026-09-10 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b45e5e8012ce9a740071d7920000e001129..."} 
[2026-09-10 17:54:55] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b45e5e8012ce9a740071d7920000e001129..."} 
[2026-09-10 17:54:55] local.INFO: Packet analysis {"connection_id":177911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:55] local.INFO: Extracted packet for processing {"connection_id":177911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":753510208,"raw_latitude":119372064,"longitude_deg":75.3510208,"latitude_deg":11.9372064,"altitude":14,"angle":17,"satellites":41,"speed":35,"hex_longitude":"2ce9a740","hex_latitude":"071d7920","is_valid_coordinates":true} 
[2026-09-10 17:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995009536001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404505427301105664,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1610810892412334080,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789043009000,"timestamp_ms":1789043009000,"timestamp_seconds":1789043009,"priority":1,"record_length":96,"hex_timestamp":"000001a08b45e5e8"} 
[2026-09-10 17:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:54: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-09-10 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995009536001,"66":27800,"110":206,"83":43008,"24":35,"16":404505427301105664,"44":-1610810892412334080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-10 17:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995009536001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-10 17:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404505427301105664,"km_value":404505427301105.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1610810892412334080,"description":"Unknown IO ID 44"} 
[2026-09-10 17:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995009536001,"power":27800,"unknown_110":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1610810892412334080}} 
[2026-09-10 17:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":177911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:55] local.INFO: GPS data processed {"connection_id":177911,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:55] local.INFO: Acknowledgment sent {"connection_id":177911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:54:57] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:57] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:54:57] local.INFO: IMEI packet received {"connection_id":177913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":177913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:54:59] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b46e3d0012d819dc005d4b078000900e825..."} 
[2026-09-10 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b46e3d0012d819dc005d4b078000900e825..."} 
[2026-09-10 17:54:59] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b46e3d0012d819dc005d4b078000900e825..."} 
[2026-09-10 17:54:59] local.INFO: Packet analysis {"connection_id":177913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:59] local.INFO: Extracted packet for processing {"connection_id":177913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763469248,"raw_latitude":97824888,"longitude_deg":76.3469248,"latitude_deg":9.7824888,"altitude":9,"angle":232,"satellites":37,"speed":26,"hex_longitude":"2d819dc0","hex_latitude":"05d4b078","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995026688001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130866326364225536,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106278421499879424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:54:59] 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-09-10 17:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789043074000,"timestamp_ms":1789043074000,"timestamp_seconds":1789043074,"priority":1,"record_length":96,"hex_timestamp":"000001a08b46e3d0"} 
[2026-09-10 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-09-10 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 17:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 17:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:54:59] 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-09-10 17:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995026688001,"66":13526,"165":206,"85":15104,"24":26,"16":130866326364225536,"45":-9106278421499879424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 17:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995026688001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:54:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 17:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130866326364225536,"km_value":130866326364225.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106278421499879424,"description":"Unknown IO ID 45"} 
[2026-09-10 17:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995026688001,"power":13526,"unknown_165":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9106278421499879424}} 
[2026-09-10 17:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":177913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:54:59] local.INFO: GPS data processed {"connection_id":177913,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:54:59] local.INFO: Acknowledgment sent {"connection_id":177913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:55:14] local.INFO: TCP Data received {"connection_id":177912,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b45edb8012d18d8c007201aa00032002e29..."} 
[2026-09-10 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b45edb8012d18d8c007201aa00032002e29..."} 
[2026-09-10 17:55:14] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b45edb8012d18d8c007201aa00032002e29..."} 
[2026-09-10 17:55:14] local.INFO: Packet analysis {"connection_id":177912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:55:14] local.INFO: Extracted packet for processing {"connection_id":177912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119544480,"longitude_deg":75.6603072,"latitude_deg":11.954448,"altitude":50,"angle":46,"satellites":41,"speed":7,"hex_longitude":"2d18d8c0","hex_latitude":"07201aa0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995009792001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19337707998150656,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826297090048,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55: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-09-10 17:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789043011000,"timestamp_ms":1789043011000,"timestamp_seconds":1789043011,"priority":1,"record_length":96,"hex_timestamp":"000001a08b45edb8"} 
[2026-09-10 17:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 17:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995009792001,"66":14189,"121":206,"28":31744,"24":7,"16":19337707998150656,"45":1789406826297090048},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995009792001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:55:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19337707998150656,"km_value":19337707998150.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826297090048,"description":"Unknown IO ID 45"} 
[2026-09-10 17:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995009792001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1789406826297090048}} 
[2026-09-10 17:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":177912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:55:14] local.INFO: GPS data processed {"connection_id":177912,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:55:14] local.INFO: Acknowledgment sent {"connection_id":177912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:55:19] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:55:19] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:55:19] local.INFO: IMEI packet received {"connection_id":176522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":176522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:55:24] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:55:24] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:55:24] local.INFO: IMEI packet received {"connection_id":176522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":176522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:55:24] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b45f1a0012ce9ab00071d8220000e001d25..."} 
[2026-09-10 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b45f1a0012ce9ab00071d8220000e001d25..."} 
[2026-09-10 17:55:24] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b45f1a0012ce9ab00071d8220000e001d25..."} 
[2026-09-10 17:55:24] local.INFO: Packet analysis {"connection_id":176522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:55:24] local.INFO: Extracted packet for processing {"connection_id":176522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b45"} 
[2026-09-10 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":753511168,"raw_latitude":119374368,"longitude_deg":75.3511168,"latitude_deg":11.9374368,"altitude":14,"angle":29,"satellites":37,"speed":34,"hex_longitude":"2ce9ab00","hex_latitude":"071d8220","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995010304001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404505551855157248,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1610247942458236928,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789043012000,"timestamp_ms":1789043012000,"timestamp_seconds":1789043012,"priority":1,"record_length":96,"hex_timestamp":"000001a08b45f1a0"} 
[2026-09-10 17:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 17:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995010304001,"66":27865,"76":206,"83":43008,"24":34,"16":404505551855157248,"44":-1610247942458236928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-10 17:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995010304001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404505551855157248,"km_value":404505551855157.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1610247942458236928,"description":"Unknown IO ID 44"} 
[2026-09-10 17:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995010304001,"power":27865,"unknown_76":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1610247942458236928}} 
[2026-09-10 17:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":176522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:55:24] local.INFO: GPS data processed {"connection_id":176522,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:55:24] local.INFO: Acknowledgment sent {"connection_id":176522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:55:30] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b47a338012d81ab0005d3fbe0000900b624..."} 
[2026-09-10 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b47a338012d81ab0005d3fbe0000900b624..."} 
[2026-09-10 17:55:30] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b47a338012d81ab0005d3fbe0000900b624..."} 
[2026-09-10 17:55:30] local.INFO: Packet analysis {"connection_id":177913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:55:30] local.INFO: Extracted packet for processing {"connection_id":177913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763472640,"raw_latitude":97778656,"longitude_deg":76.347264,"latitude_deg":9.7778656,"altitude":9,"angle":182,"satellites":36,"speed":38,"hex_longitude":"2d81ab00","hex_latitude":"05d3fbe0","is_valid_coordinates":true} 
[2026-09-10 17:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995037184001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130868619876761600,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103745146719010816,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:30] 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-09-10 17:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789043123000,"timestamp_ms":1789043123000,"timestamp_seconds":1789043123,"priority":1,"record_length":96,"hex_timestamp":"000001a08b47a338"} 
[2026-09-10 17:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 17:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:55:30] 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-09-10 17:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995037184001,"66":13472,"165":206,"85":15104,"24":38,"16":130868619876761600,"45":-9103745146719010816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 17:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995037184001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:55:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 17:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130868619876761600,"km_value":130868619876761.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103745146719010816,"description":"Unknown IO ID 45"} 
[2026-09-10 17:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995037184001,"power":13472,"unknown_165":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9103745146719010816}} 
[2026-09-10 17:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":177913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:55:30] local.INFO: GPS data processed {"connection_id":177913,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:55:30] local.INFO: Acknowledgment sent {"connection_id":177913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:55:52] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:55:52] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:55:52] local.INFO: IMEI packet received {"connection_id":176742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":176742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:55:55] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b462850012ce9be40071da120000e001c2a..."} 
[2026-09-10 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b462850012ce9be40071da120000e001c2a..."} 
[2026-09-10 17:55:55] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b462850012ce9be40071da120000e001c2a..."} 
[2026-09-10 17:55:55] local.INFO: Packet analysis {"connection_id":176522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:55:55] local.INFO: Extracted packet for processing {"connection_id":176522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:55:55] local.INFO: GPS Element Parsed {"raw_longitude":753516096,"raw_latitude":119382304,"longitude_deg":75.3516096,"latitude_deg":11.9382304,"altitude":14,"angle":28,"satellites":42,"speed":21,"hex_longitude":"2ce9be40","hex_latitude":"071da120","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995011072001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404505998531756032,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609192411294982144,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789043026000,"timestamp_ms":1789043026000,"timestamp_seconds":1789043026,"priority":1,"record_length":96,"hex_timestamp":"000001a08b462850"} 
[2026-09-10 17:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:55: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-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995011072001,"66":27865,"76":206,"83":43008,"24":21,"16":404505998531756032,"44":-1609192411294982144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-10 17:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995011072001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:55:55] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-10 17:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404505998531756032,"km_value":404505998531756.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609192411294982144,"description":"Unknown IO ID 44"} 
[2026-09-10 17:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995011072001,"power":27865,"unknown_76":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-1609192411294982144}} 
[2026-09-10 17:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":176522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:55:55] local.INFO: GPS data processed {"connection_id":176522,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:55:55] local.INFO: Acknowledgment sent {"connection_id":176522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:55:56] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:55:56] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:55:56] local.INFO: IMEI packet received {"connection_id":176742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":176742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:55:57] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b47ab08012d81a94005d3f4e8000a00c524..."} 
[2026-09-10 17:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b47ab08012d81a94005d3f4e8000a00c524..."} 
[2026-09-10 17:55:57] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b47ab08012d81a94005d3f4e8000a00c524..."} 
[2026-09-10 17:55:57] local.INFO: Packet analysis {"connection_id":176742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:55:57] local.INFO: Extracted packet for processing {"connection_id":176742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763472192,"raw_latitude":97776872,"longitude_deg":76.3472192,"latitude_deg":9.7776872,"altitude":10,"angle":197,"satellites":36,"speed":36,"hex_longitude":"2d81a940","hex_latitude":"05d3f4e8","is_valid_coordinates":true} 
[2026-09-10 17:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995039488001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130868705776107520,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103182196767989760,"note":"Value kept but may cause issues"} 
[2026-09-10 17:55:57] 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-09-10 17:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789043125000,"timestamp_ms":1789043125000,"timestamp_seconds":1789043125,"priority":1,"record_length":96,"hex_timestamp":"000001a08b47ab08"} 
[2026-09-10 17:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 17:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:55:57] 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-09-10 17:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995039488001,"66":13124,"165":206,"85":15104,"24":36,"16":130868705776107520,"45":-9103182196767989760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-10 17:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995039488001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:55:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 17:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130868705776107520,"km_value":130868705776107.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103182196767989760,"description":"Unknown IO ID 45"} 
[2026-09-10 17:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995039488001,"power":13124,"unknown_165":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9103182196767989760}} 
[2026-09-10 17:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":176742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:55:57] local.INFO: GPS data processed {"connection_id":176742,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:55:57] local.INFO: Acknowledgment sent {"connection_id":176742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:56:00] local.INFO: TCP Data received {"connection_id":177915,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:00] local.INFO: Processing buffer {"connection_id":177915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:00] local.INFO: IMEI packet received {"connection_id":177915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":177915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:56:01] local.INFO: TCP Data received {"connection_id":177915,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:01] local.INFO: Processing buffer {"connection_id":177915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:01] local.INFO: IMEI packet received {"connection_id":177915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":177915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:03] local.INFO: TCP Data received {"connection_id":177915,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:03] local.INFO: Processing buffer {"connection_id":177915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:03] local.INFO: IMEI packet received {"connection_id":177915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":177915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:05] local.INFO: TCP Data received {"connection_id":177915,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:05] local.INFO: Processing buffer {"connection_id":177915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:05] local.INFO: IMEI packet received {"connection_id":177915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":177915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:07] local.INFO: TCP Data received {"connection_id":177915,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b470ae0012d18c880072072100029013928..."} 
[2026-09-10 17:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b470ae0012d18c880072072100029013928..."} 
[2026-09-10 17:56:07] local.INFO: Processing buffer {"connection_id":177915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b470ae0012d18c880072072100029013928..."} 
[2026-09-10 17:56:07] local.INFO: Packet analysis {"connection_id":177915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:56:07] local.INFO: Extracted packet for processing {"connection_id":177915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119566864,"longitude_deg":75.6598912,"latitude_deg":11.9566864,"altitude":41,"angle":313,"satellites":40,"speed":15,"hex_longitude":"2d18c880","hex_latitude":"07207210","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995028992001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19338919178928128,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786380970303111168,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56: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-09-10 17:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789043084000,"timestamp_ms":1789043084000,"timestamp_seconds":1789043084,"priority":1,"record_length":96,"hex_timestamp":"000001a08b470ae0"} 
[2026-09-10 17:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:56: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-09-10 17: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-10 17:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995028992001,"66":14352,"121":206,"28":31744,"24":15,"16":19338919178928128,"45":1786380970303111168},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995028992001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:56:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19338919178928128,"km_value":19338919178928.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786380970303111168,"description":"Unknown IO ID 45"} 
[2026-09-10 17:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995028992001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1786380970303111168}} 
[2026-09-10 17:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":177915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:56:07] local.INFO: GPS data processed {"connection_id":177915,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:56:07] local.INFO: Acknowledgment sent {"connection_id":177915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:56:08] local.INFO: TCP Data received {"connection_id":177915,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4712b0012d18c6c0072074880028014428..."} 
[2026-09-10 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4712b0012d18c6c0072074880028014428..."} 
[2026-09-10 17:56:08] local.INFO: Processing buffer {"connection_id":177915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4712b0012d18c6c0072074880028014428..."} 
[2026-09-10 17:56:08] local.INFO: Packet analysis {"connection_id":177915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:56:08] local.INFO: Extracted packet for processing {"connection_id":177915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119567496,"longitude_deg":75.6598464,"latitude_deg":11.9567496,"altitude":40,"angle":324,"satellites":40,"speed":14,"hex_longitude":"2d18c6c0","hex_latitude":"07207488","is_valid_coordinates":true} 
[2026-09-10 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995029504001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19338953538666496,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020349874176,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56: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-09-10 17:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789043086000,"timestamp_ms":1789043086000,"timestamp_seconds":1789043086,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4712b0"} 
[2026-09-10 17:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:56: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-09-10 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2503993557685108687,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336664864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7288513162909843466,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336310137,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2147950681,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288295,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3024617472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84751301162246232,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,180,160,3,45,128,111,41,10,66,239,64,102,43,39,208,1,240,250,139,32,4,113,205,7,177,217,40,55,2,68,15,206,56],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 17:56:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954705674494214144,"timestamp_seconds":2954705674494214.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 17:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 17:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 17:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995029504001,"66":14363,"121":206,"28":31744,"24":14,"16":19338953538666496,"45":1785818020349874176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 17:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 17:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 17:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995029504001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:56:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 17:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 17:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19338953538666496,"km_value":19338953538666.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020349874176,"description":"Unknown IO ID 45"} 
[2026-09-10 17:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995029504001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1785818020349874176}} 
[2026-09-10 17:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":177915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:56:08] local.INFO: GPS data processed {"connection_id":177915,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:56:08] local.INFO: Acknowledgment sent {"connection_id":177915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:56:19] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:56:19] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:56:19] local.INFO: IMEI packet received {"connection_id":176523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":176523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:56:21] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:56:21] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:56:21] local.INFO: IMEI packet received {"connection_id":176523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":176523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:22] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b465b18012ce9cd00071dbff8000d00102a..."} 
[2026-09-10 17:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b465b18012ce9cd00071dbff8000d00102a..."} 
[2026-09-10 17:56:22] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b465b18012ce9cd00071dbff8000d00102a..."} 
[2026-09-10 17:56:22] local.INFO: Packet analysis {"connection_id":176523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:56:22] local.INFO: Extracted packet for processing {"connection_id":176523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:56:22] local.INFO: GPS Element Parsed {"raw_longitude":753519872,"raw_latitude":119390200,"longitude_deg":75.3519872,"latitude_deg":11.93902,"altitude":13,"angle":16,"satellites":42,"speed":32,"hex_longitude":"2ce9cd00","hex_latitude":"071dbff8","is_valid_coordinates":true} 
[2026-09-10 17:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995014656001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404506423733518336,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1603774017991270400,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789043039000,"timestamp_ms":1789043039000,"timestamp_seconds":1789043039,"priority":1,"record_length":96,"hex_timestamp":"000001a08b465b18"} 
[2026-09-10 17:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:56: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-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995014656001,"66":27843,"76":206,"83":43008,"24":32,"16":404506423733518336,"44":-1603774017991270400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-10 17:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995014656001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:56:22] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-10 17:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404506423733518336,"km_value":404506423733518.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1603774017991270400,"description":"Unknown IO ID 44"} 
[2026-09-10 17:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995014656001,"power":27843,"unknown_76":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1603774017991270400}} 
[2026-09-10 17:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":176523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:56:22] local.INFO: GPS data processed {"connection_id":176523,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:56:22] local.INFO: Acknowledgment sent {"connection_id":176523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:56:28] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4856e8012d81c1c005d378f80009009922..."} 
[2026-09-10 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4856e8012d81c1c005d378f80009009922..."} 
[2026-09-10 17:56:28] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4856e8012d81c1c005d378f80009009922..."} 
[2026-09-10 17:56:28] local.INFO: Packet analysis {"connection_id":176742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:56:28] local.INFO: Extracted packet for processing {"connection_id":176742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":97745144,"longitude_deg":76.3478464,"latitude_deg":9.7745144,"altitude":9,"angle":153,"satellites":34,"speed":23,"hex_longitude":"2d81c1c0","hex_latitude":"05d378f8","is_valid_coordinates":true} 
[2026-09-10 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995051008001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130870389403287552,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097130484777162752,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789043169000,"timestamp_ms":1789043169000,"timestamp_seconds":1789043169,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4856e8"} 
[2026-09-10 17:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336759864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176155653,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-7948853307938168064,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4055236608,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3549540352,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57885602133988667,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2321606902870376453,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,166,85,24,241,157,16,160,79,45,192,124,9,36,10,66,67,126,37,63,1,240,62,227,139,211,4,113,205,21,51,179,239,2,208,5,8,31,34,72],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-09-10 17:56:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648669134054621184,"timestamp_seconds":648669134054621.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:56:28] 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-09-10 17:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995051008001,"66":13319,"166":206,"85":15104,"24":23,"16":130870389403287552,"45":-9097130484777162752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 17:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995051008001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:56:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 17:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130870389403287552,"km_value":130870389403287.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097130484777162752,"description":"Unknown IO ID 45"} 
[2026-09-10 17:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995051008001,"power":13319,"unknown_166":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9097130484777162752}} 
[2026-09-10 17:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":176742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:56:28] local.INFO: GPS data processed {"connection_id":176742,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:56:28] local.INFO: Acknowledgment sent {"connection_id":176742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:56:31] local.INFO: TCP Data received {"connection_id":179278,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:31] local.INFO: Processing buffer {"connection_id":179278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:31] local.INFO: IMEI packet received {"connection_id":179278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":179278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:56:32] local.INFO: TCP Data received {"connection_id":179278,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:32] local.INFO: Processing buffer {"connection_id":179278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:32] local.INFO: IMEI packet received {"connection_id":179278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":179278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:32] local.INFO: TCP Data received {"connection_id":179278,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:32] local.INFO: Processing buffer {"connection_id":179278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:32] local.INFO: IMEI packet received {"connection_id":179278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":179278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:33] local.INFO: TCP Data received {"connection_id":179278,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:33] local.INFO: Processing buffer {"connection_id":179278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 17:56:33] local.INFO: IMEI packet received {"connection_id":179278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 17:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":179278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:51] local.INFO: TCP Data received {"connection_id":179279,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:51] local.INFO: Processing buffer {"connection_id":179279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:51] local.INFO: IMEI packet received {"connection_id":179279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":179279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:56:52] local.INFO: TCP Data received {"connection_id":179279,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:52] local.INFO: Processing buffer {"connection_id":179279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:52] local.INFO: IMEI packet received {"connection_id":179279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":179279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:55] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b481c50012cea2240071e9c30001000a92b..."} 
[2026-09-10 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b481c50012cea2240071e9c30001000a92b..."} 
[2026-09-10 17:56:55] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b481c50012cea2240071e9c30001000a92b..."} 
[2026-09-10 17:56:55] local.INFO: Packet analysis {"connection_id":176523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:56:55] local.INFO: Extracted packet for processing {"connection_id":176523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:56:55] local.INFO: GPS Element Parsed {"raw_longitude":753541696,"raw_latitude":119446576,"longitude_deg":75.3541696,"latitude_deg":11.9446576,"altitude":16,"angle":169,"satellites":43,"speed":11,"hex_longitude":"2cea2240","hex_latitude":"071e9c30","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995047168001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404509486045200384,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575696889047853056,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789043154000,"timestamp_ms":1789043154000,"timestamp_seconds":1789043154,"priority":1,"record_length":96,"hex_timestamp":"000001a08b481c50"} 
[2026-09-10 17:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:56: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-09-10 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995047168001,"66":27919,"68":206,"83":43008,"24":11,"16":404509486045200384,"44":-1575696889047853056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-10 17:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995047168001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:56:55] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 17:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404509486045200384,"km_value":404509486045200.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575696889047853056,"description":"Unknown IO ID 44"} 
[2026-09-10 17:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995047168001,"power":27919,"unknown_68":206,"unknown_83":43008,"ignition":11,"odometer":null,"unknown_44":-1575696889047853056}} 
[2026-09-10 17:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":176523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:56:55] local.INFO: GPS data processed {"connection_id":176523,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:56:55] local.INFO: Acknowledgment sent {"connection_id":176523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:56:58] local.INFO: TCP Data received {"connection_id":179279,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:58] local.INFO: Processing buffer {"connection_id":179279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:56:58] local.INFO: IMEI packet received {"connection_id":179279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":179279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:56:59] local.INFO: TCP Data received {"connection_id":179279,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b485ad0012d81c24005d37670000900a623..."} 
[2026-09-10 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b485ad0012d81c24005d37670000900a623..."} 
[2026-09-10 17:56:59] local.INFO: Processing buffer {"connection_id":179279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b485ad0012d81c24005d37670000900a623..."} 
[2026-09-10 17:56:59] local.INFO: Packet analysis {"connection_id":179279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:56:59] local.INFO: Extracted packet for processing {"connection_id":179279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763478592,"raw_latitude":97744496,"longitude_deg":76.3478592,"latitude_deg":9.7744496,"altitude":9,"angle":166,"satellites":35,"speed":26,"hex_longitude":"2d81c240","hex_latitude":"05d37670","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995051264001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130870419468058624,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778641056401408,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789043170000,"timestamp_ms":1789043170000,"timestamp_seconds":1789043170,"priority":1,"record_length":96,"hex_timestamp":"000001a08b485ad0"} 
[2026-09-10 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-09-10 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336764864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176253957,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57885602133988667,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-7948853307938168064,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2415996289,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2147865472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4056023040,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3548647424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2321606902870376453,"note":"Value kept but may cause issues"} 
[2026-09-10 17:56:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,166,85,24,241,157,16,160,83,45,128,122,9,36,10,66,79,192,124,67,1,240,62,227,139,211,4,113,205,19,59,181,112,37,239,53,2,208,5,8,22,72],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-09-10 17:56:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648686717650796544,"timestamp_seconds":648686717650796.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 17:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:56:59] 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-09-10 17:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995051264001,"66":13319,"166":206,"85":15104,"24":26,"16":130870419468058624,"45":-9096778641056401408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 17:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995051264001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:56:59] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 17:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130870419468058624,"km_value":130870419468058.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778641056401408,"description":"Unknown IO ID 45"} 
[2026-09-10 17:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995051264001,"power":13319,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9096778641056401408}} 
[2026-09-10 17:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":179279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:56:59] local.INFO: GPS data processed {"connection_id":179279,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:56:59] local.INFO: Acknowledgment sent {"connection_id":179279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:57:18] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:18] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:18] local.INFO: IMEI packet received {"connection_id":176743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":176743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:57:20] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:20] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:20] local.INFO: IMEI packet received {"connection_id":176743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":176743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:57:24] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:24] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:57:24] local.INFO: IMEI packet received {"connection_id":176743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":176743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:57:25] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b482038012cea2240071e9b00001000b72c..."} 
[2026-09-10 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b482038012cea2240071e9b00001000b72c..."} 
[2026-09-10 17:57:25] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b482038012cea2240071e9b00001000b72c..."} 
[2026-09-10 17:57:25] local.INFO: Packet analysis {"connection_id":176743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:57:25] local.INFO: Extracted packet for processing {"connection_id":176743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:57:25] local.INFO: GPS Element Parsed {"raw_longitude":753541696,"raw_latitude":119446272,"longitude_deg":75.3541696,"latitude_deg":11.9446272,"altitude":16,"angle":183,"satellites":44,"speed":13,"hex_longitude":"2cea2240","hex_latitude":"071e9b00","is_valid_coordinates":true} 
[2026-09-10 17:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995047424001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404509503225069568,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575626520303751168,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789043155000,"timestamp_ms":1789043155000,"timestamp_seconds":1789043155,"priority":1,"record_length":96,"hex_timestamp":"000001a08b482038"} 
[2026-09-10 17:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995047424001,"66":27865,"68":206,"83":43008,"24":13,"16":404509503225069568,"44":-1575626520303751168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-10 17:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995047424001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:57:25] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 17:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404509503225069568,"km_value":404509503225069.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575626520303751168,"description":"Unknown IO ID 44"} 
[2026-09-10 17:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995047424001,"power":27865,"unknown_68":206,"unknown_83":43008,"ignition":13,"odometer":null,"unknown_44":-1575626520303751168}} 
[2026-09-10 17:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":176743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:57:25] local.INFO: GPS data processed {"connection_id":176743,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:57:25] local.INFO: Acknowledgment sent {"connection_id":176743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:57:30] local.INFO: TCP Data received {"connection_id":179279,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4889b0012d81c60005d353e8000800ad24..."} 
[2026-09-10 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4889b0012d81c60005d353e8000800ad24..."} 
[2026-09-10 17:57:30] local.INFO: Processing buffer {"connection_id":179279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4889b0012d81c60005d353e8000800ad24..."} 
[2026-09-10 17:57:30] local.INFO: Packet analysis {"connection_id":179279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:57:30] local.INFO: Extracted packet for processing {"connection_id":179279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763479552,"raw_latitude":97735656,"longitude_deg":76.3479552,"latitude_deg":9.7735656,"altitude":8,"angle":173,"satellites":36,"speed":23,"hex_longitude":"2d81c600","hex_latitude":"05d353e8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995051520001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130870853259755520,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096637903568211968,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789043182000,"timestamp_ms":1789043182000,"timestamp_seconds":1789043182,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4889b0"} 
[2026-09-10 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-09-10 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336766864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176368645,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57885602133988667,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-8930638026705656576,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4056416256,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3548409856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3728981786423934981,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:30] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,166,85,24,241,157,16,160,86,45,192,120,9,34,10,66,83,128,122,36,79,1,240,227,139,211,4,113,205,19,63,183,64,37,239,52,2,208,5,21,72],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-09-10 17:57:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648701015597121536,"timestamp_seconds":648701015597121.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 17:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:57:30] 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-09-10 17:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995051520001,"66":12906,"166":206,"85":15104,"24":23,"16":130870853259755520,"45":-9096637903568211968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-10 17:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995051520001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:57:30] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-10 17:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130870853259755520,"km_value":130870853259755.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096637903568211968,"description":"Unknown IO ID 45"} 
[2026-09-10 17:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995051520001,"power":12906,"unknown_166":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9096637903568211968}} 
[2026-09-10 17:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":179279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:57:30] local.INFO: GPS data processed {"connection_id":179279,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:57:30] local.INFO: Acknowledgment sent {"connection_id":179279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:57:44] local.INFO: TCP Data received {"connection_id":177916,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:57:44] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:57:44] local.INFO: IMEI packet received {"connection_id":177916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":177916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:57:46] local.INFO: TCP Data received {"connection_id":177916,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:57:46] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:57:46] local.INFO: IMEI packet received {"connection_id":177916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":177916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:57:46] local.INFO: TCP Data received {"connection_id":177916,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b466ea0012c8d328007fe98c80009009c2d..."} 
[2026-09-10 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b466ea0012c8d328007fe98c80009009c2d..."} 
[2026-09-10 17:57:46] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b466ea0012c8d328007fe98c80009009c2d..."} 
[2026-09-10 17:57:46] local.INFO: Packet analysis {"connection_id":177916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:57:46] local.INFO: Extracted packet for processing {"connection_id":177916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":747451008,"raw_latitude":134125768,"longitude_deg":74.7451008,"latitude_deg":13.4125768,"altitude":9,"angle":156,"satellites":45,"speed":55,"hex_longitude":"2c8d3280","hex_latitude":"07fe98c8","is_valid_coordinates":true} 
[2026-09-10 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995016192001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8287889917416380416,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789043044000,"timestamp_ms":1789043044000,"timestamp_seconds":1789043044,"priority":1,"record_length":96,"hex_timestamp":"000001a08b466ea0"} 
[2026-09-10 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:57: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-09-10 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 17:57:46] 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-09-10 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995016192001,"66":28137,"248":206,"117":19968,"24":55,"16":3893920429768704,"44":-8287889917416380416},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,117,24,16,44]} 
[2026-09-10 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995016192001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:57:46] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-10 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8287889917416380416,"description":"Unknown IO ID 44"} 
[2026-09-10 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995016192001,"power":28137,"tamper_alert":206,"unknown_117":19968,"ignition":55,"odometer":null,"unknown_44":-8287889917416380416}} 
[2026-09-10 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":177916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:57:47] local.INFO: GPS data processed {"connection_id":177916,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:57:47] local.INFO: Acknowledgment sent {"connection_id":177916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:57:47] local.INFO: TCP Data received {"connection_id":177916,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b46ad20012c8d3e8007fe4700000500b32a..."} 
[2026-09-10 17:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b46ad20012c8d3e8007fe4700000500b32a..."} 
[2026-09-10 17:57:48] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b46ad20012c8d3e8007fe4700000500b32a..."} 
[2026-09-10 17:57:48] local.INFO: Packet analysis {"connection_id":177916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:57:48] local.INFO: Extracted packet for processing {"connection_id":177916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":747454080,"raw_latitude":134104832,"longitude_deg":74.745408,"latitude_deg":13.4104832,"altitude":5,"angle":179,"satellites":42,"speed":51,"hex_longitude":"2c8d3e80","hex_latitude":"07fe4700","is_valid_coordinates":true} 
[2026-09-10 17:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995019264001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8272408793701627904,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789043060000,"timestamp_ms":1789043060000,"timestamp_seconds":1789043060,"priority":1,"record_length":96,"hex_timestamp":"000001a08b46ad20"} 
[2026-09-10 17:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 17:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 17:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 17:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995019264001,"66":28104,"248":206,"117":19968,"24":51,"16":3893920429768704,"44":-8272408793701627904},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,117,24,16,44]} 
[2026-09-10 17:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 17:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 17:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995019264001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:57:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-10 17:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8272408793701627904,"description":"Unknown IO ID 44"} 
[2026-09-10 17:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995019264001,"power":28104,"tamper_alert":206,"unknown_117":19968,"ignition":51,"odometer":null,"unknown_44":-8272408793701627904}} 
[2026-09-10 17:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":177916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:57:48] local.INFO: GPS data processed {"connection_id":177916,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:57:48] local.INFO: Acknowledgment sent {"connection_id":177916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:57:52] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:57:52] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:57:52] local.INFO: IMEI packet received {"connection_id":176744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":176744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:57:56] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4856e8012cea1bc0071e77a0000e00bd2c..."} 
[2026-09-10 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4856e8012cea1bc0071e77a0000e00bd2c..."} 
[2026-09-10 17:57:56] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4856e8012cea1bc0071e77a0000e00bd2c..."} 
[2026-09-10 17:57:56] local.INFO: Packet analysis {"connection_id":176743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:57:56] local.INFO: Extracted packet for processing {"connection_id":176743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":753540032,"raw_latitude":119437216,"longitude_deg":75.3540032,"latitude_deg":11.9437216,"altitude":14,"angle":189,"satellites":44,"speed":34,"hex_longitude":"2cea1bc0","hex_latitude":"071e77a0","is_valid_coordinates":true} 
[2026-09-10 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995047680001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404509949901668352,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575626520303828992,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789043169000,"timestamp_ms":1789043169000,"timestamp_seconds":1789043169,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4856e8"} 
[2026-09-10 17:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 17:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995047680001,"66":27767,"68":206,"83":43008,"24":34,"16":404509949901668352,"44":-1575626520303828992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-10 17:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995047680001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:57:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 17:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404509949901668352,"km_value":404509949901668.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575626520303828992,"description":"Unknown IO ID 44"} 
[2026-09-10 17:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995047680001,"power":27767,"unknown_68":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1575626520303828992}} 
[2026-09-10 17:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":176743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:57:56] local.INFO: GPS data processed {"connection_id":176743,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:57:56] local.INFO: Acknowledgment sent {"connection_id":176743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:57:57] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:57:57] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:57:57] local.INFO: IMEI packet received {"connection_id":176744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":176744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:57:58] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b49c230012d82810005d349900008008923..."} 
[2026-09-10 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b49c230012d82810005d349900008008923..."} 
[2026-09-10 17:57:58] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b49c230012d82810005d349900008008923..."} 
[2026-09-10 17:57:58] local.INFO: Packet analysis {"connection_id":176744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:57:58] local.INFO: Extracted packet for processing {"connection_id":176744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763527424,"raw_latitude":97733008,"longitude_deg":76.3527424,"latitude_deg":9.7733008,"altitude":8,"angle":137,"satellites":35,"speed":9,"hex_longitude":"2d828100","hex_latitude":"05d34990","is_valid_coordinates":true} 
[2026-09-10 17:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995074560001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130873318570983424,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043368764228569088,"note":"Value kept but may cause issues"} 
[2026-09-10 17:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789043262000,"timestamp_ms":1789043262000,"timestamp_seconds":1789043262,"priority":1,"record_length":96,"hex_timestamp":"000001a08b49c230"} 
[2026-09-10 17:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-10 17:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:57:58] 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-09-10 17:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995074560001,"66":12809,"207":206,"85":15104,"24":9,"16":130873318570983424,"45":-9043368764228569088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 17:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995074560001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:57:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 17:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130873318570983424,"km_value":130873318570983.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043368764228569088,"description":"Unknown IO ID 45"} 
[2026-09-10 17:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995074560001,"power":12809,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9043368764228569088}} 
[2026-09-10 17:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":176744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:57:58] local.INFO: GPS data processed {"connection_id":176744,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:57:58] local.INFO: Acknowledgment sent {"connection_id":176744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:58:18] local.INFO: TCP Data received {"connection_id":179281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:58:18] local.INFO: Processing buffer {"connection_id":179281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:58:18] local.INFO: IMEI packet received {"connection_id":179281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":179281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:58:22] local.INFO: TCP Data received {"connection_id":177916,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b46ff28012c8d42c007fdf2c0000400a92d..."} 
[2026-09-10 17:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b46ff28012c8d42c007fdf2c0000400a92d..."} 
[2026-09-10 17:58:22] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b46ff28012c8d42c007fdf2c0000400a92d..."} 
[2026-09-10 17:58:22] local.INFO: Packet analysis {"connection_id":177916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:58:22] local.INFO: Extracted packet for processing {"connection_id":177916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b46"} 
[2026-09-10 17:58:22] local.INFO: GPS Element Parsed {"raw_longitude":747455168,"raw_latitude":134083264,"longitude_deg":74.7455168,"latitude_deg":13.4083264,"altitude":4,"angle":169,"satellites":45,"speed":0,"hex_longitude":"2c8d42c0","hex_latitude":"07fdf2c0","is_valid_coordinates":true} 
[2026-09-10 17:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995023360001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8269031093986459648,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789043081000,"timestamp_ms":1789043081000,"timestamp_seconds":1789043081,"priority":1,"record_length":96,"hex_timestamp":"000001a08b46ff28"} 
[2026-09-10 17:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 17:58:22] 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-09-10 17:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 17:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 17:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995023360001,"66":28104,"232":206,"18":49152,"24":0,"16":3893920429768704,"44":-8269031093986459648},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,18,24,16,44]} 
[2026-09-10 17:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 17:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 17:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995023360001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:58:22] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 17:58:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":49152,"description":"Unknown IO ID 18"} 
[2026-09-10 17:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8269031093986459648,"description":"Unknown IO ID 44"} 
[2026-09-10 17:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995023360001,"power":28104,"unknown_232":206,"unknown_18":49152,"ignition":0,"odometer":null,"unknown_44":-8269031093986459648}} 
[2026-09-10 17:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":177916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:58:22] local.INFO: GPS data processed {"connection_id":177916,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:58:22] local.INFO: Acknowledgment sent {"connection_id":177916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:58:24] local.INFO: TCP Data received {"connection_id":179281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:58:24] local.INFO: Processing buffer {"connection_id":179281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:58:24] local.INFO: IMEI packet received {"connection_id":179281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":179281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:58:24] local.INFO: TCP Data received {"connection_id":179281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b487df8012cea1800071e5320000d00b42b..."} 
[2026-09-10 17:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b487df8012cea1800071e5320000d00b42b..."} 
[2026-09-10 17:58:24] local.INFO: Processing buffer {"connection_id":179281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b487df8012cea1800071e5320000d00b42b..."} 
[2026-09-10 17:58:24] local.INFO: Packet analysis {"connection_id":179281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:58:24] local.INFO: Extracted packet for processing {"connection_id":179281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:58:24] local.INFO: GPS Element Parsed {"raw_longitude":753539072,"raw_latitude":119427872,"longitude_deg":75.3539072,"latitude_deg":11.9427872,"altitude":13,"angle":180,"satellites":43,"speed":33,"hex_longitude":"2cea1800","hex_latitude":"071e5320","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995051264001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404510405168201728,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577456107654766592,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789043179000,"timestamp_ms":1789043179000,"timestamp_seconds":1789043179,"priority":1,"record_length":96,"hex_timestamp":"000001a08b487df8"} 
[2026-09-10 17:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 17:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995051264001,"66":27832,"68":206,"83":43008,"24":33,"16":404510405168201728,"44":-1577456107654766592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-10 17:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995051264001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:58:24] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 17:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404510405168201728,"km_value":404510405168201.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577456107654766592,"description":"Unknown IO ID 44"} 
[2026-09-10 17:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995051264001,"power":27832,"unknown_68":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1577456107654766592}} 
[2026-09-10 17:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":179281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:58:24] local.INFO: GPS data processed {"connection_id":179281,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:58:24] local.INFO: Acknowledgment sent {"connection_id":179281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:58:29] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b49c618012d8281c005d348c80008009c24..."} 
[2026-09-10 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b49c618012d8281c005d348c80008009c24..."} 
[2026-09-10 17:58:29] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b49c618012d8281c005d348c80008009c24..."} 
[2026-09-10 17:58:29] local.INFO: Packet analysis {"connection_id":176744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:58:29] local.INFO: Extracted packet for processing {"connection_id":176744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763527616,"raw_latitude":97732808,"longitude_deg":76.3527616,"latitude_deg":9.7732808,"altitude":8,"angle":156,"satellites":36,"speed":9,"hex_longitude":"2d8281c0","hex_latitude":"05d348c8","is_valid_coordinates":true} 
[2026-09-10 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995075072001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130873331455885312,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042946551763595264,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789043263000,"timestamp_ms":1789043263000,"timestamp_seconds":1789043263,"priority":1,"record_length":96,"hex_timestamp":"000001a08b49c618"} 
[2026-09-10 17:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441151880926331904,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336814864,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2184773637,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":139,"raw_value":5243395036061748224,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4082892800,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3223090793359056347,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847470907666859,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:29] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,207,85,24,241,157,16,244,160,186,45,128,74,8,36,10,66,139,70,7,37,92,192,1,240,220,227,243,211,4,113,205,32,34,20,56,35,239,52,2,208,5,31,51,59,248],"length":535,"final_offset":665,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-09-10 17:58:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576611535720873984,"timestamp_seconds":576611535720874.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 17:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:58:29] 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-09-10 17:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995075072001,"66":13091,"207":206,"85":15104,"24":9,"16":130873331455885312,"45":-9042946551763595264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 17:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995075072001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:58:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 17:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130873331455885312,"km_value":130873331455885.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042946551763595264,"description":"Unknown IO ID 45"} 
[2026-09-10 17:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995075072001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9042946551763595264}} 
[2026-09-10 17:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":176744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:58:29] local.INFO: GPS data processed {"connection_id":176744,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:58:29] local.INFO: Acknowledgment sent {"connection_id":176744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:58:38] local.INFO: TCP Data received {"connection_id":179282,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:58:38] local.INFO: Processing buffer {"connection_id":179282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:58:38] local.INFO: IMEI packet received {"connection_id":179282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":179282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:58:44] local.INFO: TCP Data received {"connection_id":179282,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:58:44] local.INFO: Processing buffer {"connection_id":179282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:58:44] local.INFO: IMEI packet received {"connection_id":179282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":179282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:58:47] local.INFO: TCP Data received {"connection_id":179282,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b47e1b80100000000000000000000000000..."} 
[2026-09-10 17:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b47e1b80100000000000000000000000000..."} 
[2026-09-10 17:58:47] local.INFO: Processing buffer {"connection_id":179282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b47e1b80100000000000000000000000000..."} 
[2026-09-10 17:58:47] local.INFO: Packet analysis {"connection_id":179282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:58:47] local.INFO: Extracted packet for processing {"connection_id":179282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995028736001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8267834825340960768,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789043139000,"timestamp_ms":1789043139000,"timestamp_seconds":1789043139,"priority":1,"record_length":96,"hex_timestamp":"000001a08b47e1b8"} 
[2026-09-10 17:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 17:58:47] 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-09-10 17:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":179282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":179282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":179282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 17:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 17:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":179282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 17:58:47] local.INFO: GPS data processed {"connection_id":179282,"processed":0,"errors":0,"total":1} 
[2026-09-10 17:58:47] local.INFO: Acknowledgment sent {"connection_id":179282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:58:52] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:58:52] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:58:52] local.INFO: IMEI packet received {"connection_id":176524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":176524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:58:55] local.INFO: TCP Data received {"connection_id":179281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b48a8f0012cea15c0071e2ea0000c00b629..."} 
[2026-09-10 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b48a8f0012cea15c0071e2ea0000c00b629..."} 
[2026-09-10 17:58:55] local.INFO: Processing buffer {"connection_id":179281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b48a8f0012cea15c0071e2ea0000c00b629..."} 
[2026-09-10 17:58:55] local.INFO: Packet analysis {"connection_id":179281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:58:55] local.INFO: Extracted packet for processing {"connection_id":179281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":753538496,"raw_latitude":119418528,"longitude_deg":75.3538496,"latitude_deg":11.9418528,"altitude":12,"angle":182,"satellites":41,"speed":33,"hex_longitude":"2cea15c0","hex_latitude":"071e2ea0","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995053824001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404510860434735104,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578511638819823616,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789043190000,"timestamp_ms":1789043190000,"timestamp_seconds":1789043190,"priority":1,"record_length":96,"hex_timestamp":"000001a08b48a8f0"} 
[2026-09-10 17:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:58: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-09-10 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-10 17:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995053824001,"66":27919,"109":206,"83":43008,"24":33,"16":404510860434735104,"44":-1578511638819823616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-10 17:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995053824001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:58:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 17:58:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404510860434735104,"km_value":404510860434735.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578511638819823616,"description":"Unknown IO ID 44"} 
[2026-09-10 17:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995053824001,"power":27919,"unknown_109":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1578511638819823616}} 
[2026-09-10 17:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":179281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:58:55] local.INFO: GPS data processed {"connection_id":179281,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:58:55] local.INFO: Acknowledgment sent {"connection_id":179281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:58:57] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:58:57] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:58:57] local.INFO: IMEI packet received {"connection_id":176524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 17:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":176524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:58:58] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b49cde8012d82820005d34758000800ab24..."} 
[2026-09-10 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b49cde8012d82820005d34758000800ab24..."} 
[2026-09-10 17:58:58] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b49cde8012d82820005d34758000800ab24..."} 
[2026-09-10 17:58:58] local.INFO: Packet analysis {"connection_id":176524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:58:58] local.INFO: Extracted packet for processing {"connection_id":176524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97732440,"longitude_deg":76.352768,"latitude_deg":9.773244,"altitude":8,"angle":171,"satellites":36,"speed":6,"hex_longitude":"2d828200","hex_latitude":"05d34758","is_valid_coordinates":true} 
[2026-09-10 17:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995075328001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130873348635754496,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042735445531113472,"note":"Value kept but may cause issues"} 
[2026-09-10 17:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789043265000,"timestamp_ms":1789043265000,"timestamp_seconds":1789043265,"priority":1,"record_length":96,"hex_timestamp":"000001a08b49cde8"} 
[2026-09-10 17:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17: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-09-10 17:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:58:58] 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-09-10 17:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995075328001,"66":13363,"207":206,"85":15104,"24":6,"16":130873348635754496,"45":-9042735445531113472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 17:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995075328001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:58:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 17:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130873348635754496,"km_value":130873348635754.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042735445531113472,"description":"Unknown IO ID 45"} 
[2026-09-10 17:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995075328001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9042735445531113472}} 
[2026-09-10 17:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":176524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:58:58] local.INFO: GPS data processed {"connection_id":176524,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:58:58] local.INFO: Acknowledgment sent {"connection_id":176524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:59:18] local.INFO: TCP Data received {"connection_id":179282,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b477458012c8d818007fd59880002008b2f..."} 
[2026-09-10 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b477458012c8d818007fd59880002008b2f..."} 
[2026-09-10 17:59:18] local.INFO: Processing buffer {"connection_id":179282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b477458012c8d818007fd59880002008b2f..."} 
[2026-09-10 17:59:18] local.INFO: Packet analysis {"connection_id":179282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:59:18] local.INFO: Extracted packet for processing {"connection_id":179282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":747471232,"raw_latitude":134044040,"longitude_deg":74.7471232,"latitude_deg":13.404404,"altitude":2,"angle":139,"satellites":47,"speed":51,"hex_longitude":"2c8d8180","hex_latitude":"07fd5988","is_valid_coordinates":true} 
[2026-09-10 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,232,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 17:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789043111000,"timestamp_ms":1789043111000,"timestamp_seconds":1789043111,"priority":1,"record_length":96,"hex_timestamp":"000001a08b477458"} 
[2026-09-10 17:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:59: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 17:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":179282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":179282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":179282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 17:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 17:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"232":206,"18":49152,"24":51,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,18,24,16]} 
[2026-09-10 17:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 17:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 17:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 17:59:18] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 17:59:18] local.INFO: Unknown IO ID detected {"io_id":18,"value":49152,"description":"Unknown IO ID 18"} 
[2026-09-10 17:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:59:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_232":206,"unknown_18":49152,"ignition":51,"odometer":null}} 
[2026-09-10 17:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":179282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:59:18] local.INFO: GPS data processed {"connection_id":179282,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:59:18] local.INFO: Acknowledgment sent {"connection_id":179282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:59:20] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:20] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:20] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 17:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:59:25] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:25] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:25] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:59:29] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b49d5b8012d82820005d34600000700b824..."} 
[2026-09-10 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b49d5b8012d82820005d34600000700b824..."} 
[2026-09-10 17:59:29] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b49d5b8012d82820005d34600000700b824..."} 
[2026-09-10 17:59:29] local.INFO: Packet analysis {"connection_id":176524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:59:29] local.INFO: Extracted packet for processing {"connection_id":176524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97732096,"longitude_deg":76.352768,"latitude_deg":9.7732096,"altitude":7,"angle":184,"satellites":36,"speed":7,"hex_longitude":"2d828200","hex_latitude":"05d34600","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995075840001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130873365815623680,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076787030016,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789043267000,"timestamp_ms":1789043267000,"timestamp_seconds":1789043267,"priority":1,"record_length":96,"hex_timestamp":"000001a08b49d5b8"} 
[2026-09-10 17:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 17:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 17:59:29] 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-09-10 17:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 17:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 17:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995075840001,"66":13341,"207":206,"85":15104,"24":7,"16":130873365815623680,"45":-9042665076787030016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 17:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 17:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 17:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995075840001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:59:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 17:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 17:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130873365815623680,"km_value":130873365815623.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076787030016,"description":"Unknown IO ID 45"} 
[2026-09-10 17:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995075840001,"power":13341,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9042665076787030016}} 
[2026-09-10 17:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":176524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:59:29] local.INFO: GPS data processed {"connection_id":176524,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:59:29] local.INFO: Acknowledgment sent {"connection_id":176524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:59:29] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:29] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 17:59:29] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:59:34] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b48d7d0012cea1380071e0af8000a00b72b..."} 
[2026-09-10 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b48d7d0012cea1380071e0af8000a00b72b..."} 
[2026-09-10 17:59:34] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b48d7d0012cea1380071e0af8000a00b72b..."} 
[2026-09-10 17:59:34] local.INFO: Packet analysis {"connection_id":176525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:59:34] local.INFO: Extracted packet for processing {"connection_id":176525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b48"} 
[2026-09-10 17:59:34] local.INFO: GPS Element Parsed {"raw_longitude":753537920,"raw_latitude":119409400,"longitude_deg":75.353792,"latitude_deg":11.94094,"altitude":10,"angle":183,"satellites":43,"speed":28,"hex_longitude":"2cea1380","hex_latitude":"071e0af8","is_valid_coordinates":true} 
[2026-09-10 17: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-09-10 17:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995056640001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404511302816366592,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579144957519814656,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789043202000,"timestamp_ms":1789043202000,"timestamp_seconds":1789043202,"priority":1,"record_length":96,"hex_timestamp":"000001a08b48d7d0"} 
[2026-09-10 17:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 17:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17: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-09-10 17:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:59: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-09-10 17:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995056640001,"66":27974,"109":206,"83":43008,"24":28,"16":404511302816366592,"44":-1579144957519814656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-10 17:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995056640001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:59:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 17:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404511302816366592,"km_value":404511302816366.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579144957519814656,"description":"Unknown IO ID 44"} 
[2026-09-10 17:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995056640001,"power":27974,"unknown_109":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1579144957519814656}} 
[2026-09-10 17:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":176525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:59:34] local.INFO: GPS data processed {"connection_id":176525,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:59:34] local.INFO: Acknowledgment sent {"connection_id":176525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:59:38] local.INFO: TCP Data received {"connection_id":179284,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:59:38] local.INFO: Processing buffer {"connection_id":179284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:59:38] local.INFO: IMEI packet received {"connection_id":179284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 17:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":179284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 17:59:44] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4906b0012cea10c0071de538000900b829..."} 
[2026-09-10 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4906b0012cea10c0071de538000900b829..."} 
[2026-09-10 17:59:44] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4906b0012cea10c0071de538000900b829..."} 
[2026-09-10 17:59:44] local.INFO: Packet analysis {"connection_id":176525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:59:44] local.INFO: Extracted packet for processing {"connection_id":176525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":753537216,"raw_latitude":119399736,"longitude_deg":75.3537216,"latitude_deg":11.9399736,"altitude":9,"angle":184,"satellites":41,"speed":35,"hex_longitude":"2cea10c0","hex_latitude":"071de538","is_valid_coordinates":true} 
[2026-09-10 17:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995059712001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404511770967801856,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579778276219750400,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043214000,"timestamp_ms":1789043214000,"timestamp_seconds":1789043214,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4906b0"} 
[2026-09-10 17:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 17:59:44] 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-09-10 17:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 17:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 17:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 17:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995059712001,"66":27984,"109":206,"83":43008,"24":35,"16":404511770967801856,"44":-1579778276219750400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-10 17:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 17:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995059712001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 17:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404511770967801856,"km_value":404511770967801.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579778276219750400,"description":"Unknown IO ID 44"} 
[2026-09-10 17:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995059712001,"power":27984,"unknown_109":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1579778276219750400}} 
[2026-09-10 17:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":176525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:59:44] local.INFO: GPS data processed {"connection_id":176525,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:59:44] local.INFO: Acknowledgment sent {"connection_id":176525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:59:44] local.INFO: TCP Data received {"connection_id":179284,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:59:44] local.INFO: Processing buffer {"connection_id":179284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 17:59:44] local.INFO: IMEI packet received {"connection_id":179284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 17:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":179284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 17:59:45] local.INFO: TCP Data received {"connection_id":179284,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b47c660012c8dbcc007fd17400005008d2f..."} 
[2026-09-10 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b47c660012c8dbcc007fd17400005008d2f..."} 
[2026-09-10 17:59:45] local.INFO: Processing buffer {"connection_id":179284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b47c660012c8dbcc007fd17400005008d2f..."} 
[2026-09-10 17:59:45] local.INFO: Packet analysis {"connection_id":179284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:59:45] local.INFO: Extracted packet for processing {"connection_id":179284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b47"} 
[2026-09-10 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":747486400,"raw_latitude":134027072,"longitude_deg":74.74864,"latitude_deg":13.4027072,"altitude":5,"angle":141,"satellites":47,"speed":0,"hex_longitude":"2c8dbcc0","hex_latitude":"07fd1740","is_valid_coordinates":true} 
[2026-09-10 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 17:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995036416001,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8250172270562408448,"note":"Value kept but may cause issues"} 
[2026-09-10 17:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 17:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789043132000,"timestamp_ms":1789043132000,"timestamp_seconds":1789043132,"priority":1,"record_length":96,"hex_timestamp":"000001a08b47c660"} 
[2026-09-10 17:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 17:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 17:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 17:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 17:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 17:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":179284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 17:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":179284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":179284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 17:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 17:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 17:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 17:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995036416001,"66":28082,"232":206,"18":49152,"24":0,"16":3893920429768704,"44":-8250172270562408448},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,18,24,16,44]} 
[2026-09-10 17:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 17:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 17:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995036416001,"description":"Unknown IO ID 0"} 
[2026-09-10 17:59:45] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 17:59:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":49152,"description":"Unknown IO ID 18"} 
[2026-09-10 17:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 17:59:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8250172270562408448,"description":"Unknown IO ID 44"} 
[2026-09-10 17:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995036416001,"power":28082,"unknown_232":206,"unknown_18":49152,"ignition":0,"odometer":null,"unknown_44":-8250172270562408448}} 
[2026-09-10 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":179284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 17:59:46] local.INFO: GPS data processed {"connection_id":179284,"processed":1,"errors":0,"total":1} 
[2026-09-10 17:59:46] local.INFO: Acknowledgment sent {"connection_id":179284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 17:59:57] local.INFO: TCP Data received {"connection_id":179285,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:59:57] local.INFO: Processing buffer {"connection_id":179285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 17:59:57] local.INFO: IMEI packet received {"connection_id":179285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 17:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":179285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:00:02] local.INFO: TCP Data received {"connection_id":179285,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:02] local.INFO: Processing buffer {"connection_id":179285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:02] local.INFO: IMEI packet received {"connection_id":179285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":179285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:00:03] local.INFO: TCP Data received {"connection_id":179285,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4a1438012d82828005d321e0000800b224..."} 
[2026-09-10 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4a1438012d82828005d321e0000800b224..."} 
[2026-09-10 18:00:03] local.INFO: Processing buffer {"connection_id":179285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4a1438012d82828005d321e0000800b224..."} 
[2026-09-10 18:00:03] local.INFO: Packet analysis {"connection_id":179285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:03] local.INFO: Extracted packet for processing {"connection_id":179285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763527808,"raw_latitude":97722848,"longitude_deg":76.3527808,"latitude_deg":9.7722848,"altitude":8,"angle":178,"satellites":36,"speed":24,"hex_longitude":"2d828280","hex_latitude":"05d321e0","is_valid_coordinates":true} 
[2026-09-10 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995076352001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130873816787189760,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076787118080,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789043283000,"timestamp_ms":1789043283000,"timestamp_seconds":1789043283,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4a1438"} 
[2026-09-10 18:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-10 18:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:03] 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-09-10 18:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995076352001,"66":13580,"68":206,"85":15104,"24":24,"16":130873816787189760,"45":-9042665076787118080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 18:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995076352001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:00:03] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 18:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130873816787189760,"km_value":130873816787189.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076787118080,"description":"Unknown IO ID 45"} 
[2026-09-10 18:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995076352001,"power":13580,"unknown_68":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9042665076787118080}} 
[2026-09-10 18:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":179285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:00:03] local.INFO: GPS data processed {"connection_id":179285,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:00:03] local.INFO: Acknowledgment sent {"connection_id":179285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:00:06] local.INFO: TCP Data received {"connection_id":179285,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4a4ed0012d8283c005d2ff00000a00aa26..."} 
[2026-09-10 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4a4ed0012d8283c005d2ff00000a00aa26..."} 
[2026-09-10 18:00:06] local.INFO: Processing buffer {"connection_id":179285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4a4ed0012d8283c005d2ff00000a00aa26..."} 
[2026-09-10 18:00:06] local.INFO: Packet analysis {"connection_id":179285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:06] local.INFO: Extracted packet for processing {"connection_id":179285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763528128,"raw_latitude":97713920,"longitude_deg":76.3528128,"latitude_deg":9.771392,"altitude":10,"angle":170,"satellites":38,"speed":18,"hex_longitude":"2d8283c0","hex_latitude":"05d2ff00","is_valid_coordinates":true} 
[2026-09-10 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995080448001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130874250578886656,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339301130240,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789043298000,"timestamp_ms":1789043298000,"timestamp_seconds":1789043298,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4a4ed0"} 
[2026-09-10 18:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632627,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2336852864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189492229,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3390004355154313216,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634647635064783,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2147865418,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4103143424,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3544588288,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4809850806921592838,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847470907666859,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:06] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,68,85,24,241,157,16,245,160,213,45,70,7,36,10,66,207,244,205,71,8,198,192,1,240,35,227,139,211,4,113,9,186,127,248,239,46,2,208,5,32,130,51,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-09-10 18:00:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576656619993563136,"timestamp_seconds":576656619993563.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:06] 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-09-10 18:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995080448001,"66":13472,"68":206,"85":15104,"24":18,"16":130874250578886656,"45":-9042524339301130240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 18:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995080448001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:00:06] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 18:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130874250578886656,"km_value":130874250578886.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339301130240,"description":"Unknown IO ID 45"} 
[2026-09-10 18:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995080448001,"power":13472,"unknown_68":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9042524339301130240}} 
[2026-09-10 18:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":179285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:00:06] local.INFO: GPS data processed {"connection_id":179285,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:00:06] local.INFO: Acknowledgment sent {"connection_id":179285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:00:18] local.INFO: TCP Data received {"connection_id":179284,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4ad3a0012c8c2fc007fa5030001800b128..."} 
[2026-09-10 18:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4ad3a0012c8c2fc007fa5030001800b128..."} 
[2026-09-10 18:00:18] local.INFO: Processing buffer {"connection_id":179284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4ad3a0012c8c2fc007fa5030001800b128..."} 
[2026-09-10 18:00:18] local.INFO: Packet analysis {"connection_id":179284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:18] local.INFO: Extracted packet for processing {"connection_id":179284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:18] local.INFO: GPS Element Parsed {"raw_longitude":747384768,"raw_latitude":133845040,"longitude_deg":74.7384768,"latitude_deg":13.384504,"altitude":24,"angle":177,"satellites":40,"speed":45,"hex_longitude":"2c8c2fc0","hex_latitude":"07fa5030","is_valid_coordinates":true} 
[2026-09-10 18:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995088384001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8339751681946437632,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789043332000,"timestamp_ms":1789043332000,"timestamp_seconds":1789043332,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4ad3a0"} 
[2026-09-10 18:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-10 18:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":179284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":179284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":179284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995088384001,"66":27952,"89":206,"9":54272,"24":45,"16":3893920429768704,"44":-8339751681946437632},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-10 18:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995088384001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:00:18] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 18:00:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:00:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8339751681946437632,"description":"Unknown IO ID 44"} 
[2026-09-10 18:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995088384001,"power":27952,"unknown_89":206,"unknown_9":54272,"ignition":45,"odometer":null,"unknown_44":-8339751681946437632}} 
[2026-09-10 18:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":179284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:00:18] local.INFO: GPS data processed {"connection_id":179284,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:00:18] local.INFO: Acknowledgment sent {"connection_id":179284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:00:23] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:23] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:23] local.INFO: IMEI packet received {"connection_id":176745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":176745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:00:24] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:24] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:24] local.INFO: IMEI packet received {"connection_id":176745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":176745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:00:31] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:31] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:00:31] local.INFO: IMEI packet received {"connection_id":176745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":176745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:00:32] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b492dc0012cea0e40071dc220000a00b728..."} 
[2026-09-10 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b492dc0012cea0e40071dc220000a00b728..."} 
[2026-09-10 18:00:32] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b492dc0012cea0e40071dc220000a00b728..."} 
[2026-09-10 18:00:32] local.INFO: Packet analysis {"connection_id":176745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 18:00:32] local.INFO: Extracted packet for processing {"connection_id":176745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":753536576,"raw_latitude":119390752,"longitude_deg":75.3536576,"latitude_deg":11.9390752,"altitude":10,"angle":183,"satellites":40,"speed":31,"hex_longitude":"2cea0e40","hex_latitude":"071dc220","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995062784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404512209054466048,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580552332408178688,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789043224000,"timestamp_ms":1789043224000,"timestamp_seconds":1789043224,"priority":1,"record_length":96,"hex_timestamp":"000001a08b492dc0"} 
[2026-09-10 18:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:00: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-09-10 18: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-10 18:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995062784001,"66":27908,"109":206,"83":43008,"24":31,"16":404512209054466048,"44":-1580552332408178688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-10 18:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995062784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:00:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 18:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404512209054466048,"km_value":404512209054466.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:00:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580552332408178688,"description":"Unknown IO ID 44"} 
[2026-09-10 18:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995062784001,"power":27908,"unknown_109":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1580552332408178688}} 
[2026-09-10 18:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":176745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:00:32] local.INFO: GPS data processed {"connection_id":176745,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:00:32] local.INFO: Acknowledgment sent {"connection_id":176745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:00:36] local.INFO: TCP Data received {"connection_id":179285,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4a8d50012d82870005d2ee00000c00c425..."} 
[2026-09-10 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4a8d50012d82870005d2ee00000c00c425..."} 
[2026-09-10 18:00:36] local.INFO: Processing buffer {"connection_id":179285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4a8d50012d82870005d2ee00000c00c425..."} 
[2026-09-10 18:00:36] local.INFO: Packet analysis {"connection_id":179285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:36] local.INFO: Extracted packet for processing {"connection_id":179285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":97709568,"longitude_deg":76.352896,"latitude_deg":9.7709568,"altitude":12,"angle":196,"satellites":37,"speed":7,"hex_longitude":"2d828700","hex_latitude":"05d2ee00","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995084288001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130874469622218752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042172495582527488,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789043314000,"timestamp_ms":1789043314000,"timestamp_seconds":1789043314,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4a8d50"} 
[2026-09-10 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-09-10 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:36] 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-09-10 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995084288001,"66":13624,"68":206,"85":15104,"24":7,"16":130874469622218752,"45":-9042172495582527488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995084288001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130874469622218752,"km_value":130874469622218.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042172495582527488,"description":"Unknown IO ID 45"} 
[2026-09-10 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995084288001,"power":13624,"unknown_68":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9042172495582527488}} 
[2026-09-10 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":179285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:00:36] local.INFO: GPS data processed {"connection_id":179285,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:00:36] local.INFO: Acknowledgment sent {"connection_id":179285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:00:44] local.INFO: TCP Data received {"connection_id":177919,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:00:44] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:00:44] local.INFO: IMEI packet received {"connection_id":177919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":177919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:00:48] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:48] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:48] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:00:48] local.INFO: TCP Data received {"connection_id":177919,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:00:48] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:00:48] local.INFO: IMEI packet received {"connection_id":177919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":177919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:00:49] local.INFO: TCP Data received {"connection_id":177919,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4b25a8012c8c378007fa0588001a00ad2c..."} 
[2026-09-10 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4b25a8012c8c378007fa0588001a00ad2c..."} 
[2026-09-10 18:00:49] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4b25a8012c8c378007fa0588001a00ad2c..."} 
[2026-09-10 18:00:49] local.INFO: Packet analysis {"connection_id":177919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:00:49] local.INFO: Extracted packet for processing {"connection_id":177919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":747386752,"raw_latitude":133825928,"longitude_deg":74.7386752,"latitude_deg":13.3825928,"altitude":26,"angle":173,"satellites":44,"speed":0,"hex_longitude":"2c8c3780","hex_latitude":"07fa0588","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995092992001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8345240443997376512,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789043353000,"timestamp_ms":1789043353000,"timestamp_seconds":1789043353,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4b25a8"} 
[2026-09-10 18:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:00: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-09-10 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-10 18:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995092992001,"66":28137,"88":206,"9":54272,"24":0,"16":3893920429768704,"44":-8345240443997376512},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,9,24,16,44]} 
[2026-09-10 18:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995092992001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:00:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 18:00:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8345240443997376512,"description":"Unknown IO ID 44"} 
[2026-09-10 18:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995092992001,"power":28137,"unknown_88":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8345240443997376512}} 
[2026-09-10 18:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":177919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:00:50] local.INFO: GPS data processed {"connection_id":177919,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:00:50] local.INFO: Acknowledgment sent {"connection_id":177919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:00:52] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:52] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:52] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:00:57] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:57] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:00:57] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:00:58] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4a9138012d82870005d2ecf0000c00b525..."} 
[2026-09-10 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4a9138012d82870005d2ecf0000c00b525..."} 
[2026-09-10 18:00:58] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4a9138012d82870005d2ecf0000c00b525..."} 
[2026-09-10 18:00:58] local.INFO: Packet analysis {"connection_id":176526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:58] local.INFO: Extracted packet for processing {"connection_id":176526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":97709296,"longitude_deg":76.352896,"latitude_deg":9.7709296,"altitude":12,"angle":181,"satellites":37,"speed":10,"hex_longitude":"2d828700","hex_latitude":"05d2ecf0","is_valid_coordinates":true} 
[2026-09-10 18:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995088384001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130874482507120640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041257701909331968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789043315000,"timestamp_ms":1789043315000,"timestamp_seconds":1789043315,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4a9138"} 
[2026-09-10 18:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:00: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-09-10 18:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-10 18:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:00:58] 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-09-10 18:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995088384001,"66":13178,"68":206,"85":15104,"24":10,"16":130874482507120640,"45":-9041257701909331968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-10 18:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995088384001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:00:58] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 18:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130874482507120640,"km_value":130874482507120.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041257701909331968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995088384001,"power":13178,"unknown_68":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9041257701909331968}} 
[2026-09-10 18:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":176526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:00:58] local.INFO: GPS data processed {"connection_id":176526,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:00:58] local.INFO: Acknowledgment sent {"connection_id":176526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:01:03] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b496858012cea0c80071d9f08000900b729..."} 
[2026-09-10 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b496858012cea0c80071d9f08000900b729..."} 
[2026-09-10 18:01:03] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b496858012cea0c80071d9f08000900b729..."} 
[2026-09-10 18:01:03] local.INFO: Packet analysis {"connection_id":176745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 18:01:03] local.INFO: Extracted packet for processing {"connection_id":176745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":753536128,"raw_latitude":119381768,"longitude_deg":75.3536128,"latitude_deg":11.9381768,"altitude":9,"angle":183,"satellites":41,"speed":11,"hex_longitude":"2cea0c80","hex_latitude":"071d9f08","is_valid_coordinates":true} 
[2026-09-10 18:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995065344001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404512647141130240,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581256019852255232,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789043239000,"timestamp_ms":1789043239000,"timestamp_seconds":1789043239,"priority":1,"record_length":96,"hex_timestamp":"000001a08b496858"} 
[2026-09-10 18:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 18:01: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-09-10 18:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18: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-09-10 18:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995065344001,"66":27974,"109":206,"83":43008,"24":11,"16":404512647141130240,"44":-1581256019852255232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-10 18:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995065344001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:01:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 18:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404512647141130240,"km_value":404512647141130.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581256019852255232,"description":"Unknown IO ID 44"} 
[2026-09-10 18:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995065344001,"power":27974,"unknown_109":206,"unknown_83":43008,"ignition":11,"odometer":null,"unknown_44":-1581256019852255232}} 
[2026-09-10 18:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":176745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:01:03] local.INFO: GPS data processed {"connection_id":176745,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:01:03] local.INFO: Acknowledgment sent {"connection_id":176745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:01:21] local.INFO: TCP Data received {"connection_id":177919,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4b77b0012c8c438007f9b998001d00a42c..."} 
[2026-09-10 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4b77b0012c8c438007f9b998001d00a42c..."} 
[2026-09-10 18:01:21] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4b77b0012c8c438007f9b998001d00a42c..."} 
[2026-09-10 18:01:21] local.INFO: Packet analysis {"connection_id":177919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:01:21] local.INFO: Extracted packet for processing {"connection_id":177919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":747389824,"raw_latitude":133806488,"longitude_deg":74.7389824,"latitude_deg":13.3806488,"altitude":29,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2c8c4380","hex_latitude":"07f9b998","is_valid_coordinates":true} 
[2026-09-10 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995098368001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8343059012932761600,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789043374000,"timestamp_ms":1789043374000,"timestamp_seconds":1789043374,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4b77b0"} 
[2026-09-10 18:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:01: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-09-10 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995098368001,"66":28050,"88":206,"9":54272,"24":0,"16":3893920429768704,"44":-8343059012932761600},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,9,24,16,44]} 
[2026-09-10 18:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995098368001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:01:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 18:01:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8343059012932761600,"description":"Unknown IO ID 44"} 
[2026-09-10 18:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995098368001,"power":28050,"unknown_88":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8343059012932761600}} 
[2026-09-10 18:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":177919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:01:22] local.INFO: GPS data processed {"connection_id":177919,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:01:22] local.INFO: Acknowledgment sent {"connection_id":177919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:01:24] local.INFO: TCP Data received {"connection_id":179286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:01:24] local.INFO: Processing buffer {"connection_id":179286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:01:24] local.INFO: IMEI packet received {"connection_id":179286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":179286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:01:27] local.INFO: TCP Data received {"connection_id":179286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:01:27] local.INFO: Processing buffer {"connection_id":179286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:01:27] local.INFO: IMEI packet received {"connection_id":179286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":179286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:01:28] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d2948012d82978005d16290000a008626..."} 
[2026-09-10 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d2948012d82978005d16290000a008626..."} 
[2026-09-10 18:01:28] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d2948012d82978005d16290000a008626..."} 
[2026-09-10 18:01:28] local.INFO: Packet analysis {"connection_id":176526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:01:28] local.INFO: Extracted packet for processing {"connection_id":176526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97608336,"longitude_deg":76.3533184,"latitude_deg":9.7608336,"altitude":10,"angle":134,"satellites":38,"speed":7,"hex_longitude":"2d829780","hex_latitude":"05d16290","is_valid_coordinates":true} 
[2026-09-10 18:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995131392001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130879404539641856,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839796140032,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:28] 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-09-10 18:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789043485000,"timestamp_ms":1789043485000,"timestamp_seconds":1789043485,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d2948"} 
[2026-09-10 18:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 18:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:01:28] 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-09-10 18:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995131392001,"66":13178,"63":206,"85":15104,"24":7,"16":130879404539641856,"45":-9036894839796140032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-10 18:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995131392001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:01:28] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-10 18:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130879404539641856,"km_value":130879404539641.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839796140032,"description":"Unknown IO ID 45"} 
[2026-09-10 18:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995131392001,"power":13178,"unknown_63":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9036894839796140032}} 
[2026-09-10 18:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":176526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:01:28] local.INFO: GPS data processed {"connection_id":176526,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:01:28] local.INFO: Acknowledgment sent {"connection_id":176526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:01:29] local.INFO: TCP Data received {"connection_id":179286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b49ba60012cea0b00071d9428000900b62b..."} 
[2026-09-10 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b49ba60012cea0b00071d9428000900b62b..."} 
[2026-09-10 18:01:29] local.INFO: Processing buffer {"connection_id":179286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b49ba60012cea0b00071d9428000900b62b..."} 
[2026-09-10 18:01:29] local.INFO: Packet analysis {"connection_id":179286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 18:01:29] local.INFO: Extracted packet for processing {"connection_id":179286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b49"} 
[2026-09-10 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":753535744,"raw_latitude":119378984,"longitude_deg":75.3535744,"latitude_deg":11.9378984,"altitude":9,"angle":182,"satellites":43,"speed":6,"hex_longitude":"2cea0b00","hex_latitude":"071d9428","is_valid_coordinates":true} 
[2026-09-10 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995069184001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404512784580083712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581748601063798784,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789043260000,"timestamp_ms":1789043260000,"timestamp_seconds":1789043260,"priority":1,"record_length":96,"hex_timestamp":"000001a08b49ba60"} 
[2026-09-10 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:01: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-09-10 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 18:01:29] 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-09-10 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995069184001,"66":27876,"109":206,"83":43008,"24":6,"16":404512784580083712,"44":-1581748601063798784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-10 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995069184001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:01:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404512784580083712,"km_value":404512784580083.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581748601063798784,"description":"Unknown IO ID 44"} 
[2026-09-10 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995069184001,"power":27876,"unknown_109":206,"unknown_83":43008,"ignition":6,"odometer":null,"unknown_44":-1581748601063798784}} 
[2026-09-10 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":179286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:01:29] local.INFO: GPS data processed {"connection_id":179286,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:01:29] local.INFO: Acknowledgment sent {"connection_id":179286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:01:35] local.INFO: TCP Data received {"connection_id":176527,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:01:35] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:01:35] local.INFO: IMEI packet received {"connection_id":176527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":176527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:01:36] local.INFO: TCP Data received {"connection_id":176527,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4c3330012d17f58007218498004f01302b..."} 
[2026-09-10 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4c3330012d17f58007218498004f01302b..."} 
[2026-09-10 18:01:36] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4c3330012d17f58007218498004f01302b..."} 
[2026-09-10 18:01:36] local.INFO: Packet analysis {"connection_id":176527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:01:36] local.INFO: Extracted packet for processing {"connection_id":176527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756544896,"raw_latitude":119637144,"longitude_deg":75.6544896,"latitude_deg":11.9637144,"altitude":79,"angle":304,"satellites":43,"speed":11,"hex_longitude":"2d17f580","hex_latitude":"07218498","is_valid_coordinates":true} 
[2026-09-10 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995115520001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19344433916936192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726849012746907648,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789043422000,"timestamp_ms":1789043422000,"timestamp_seconds":1789043422,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4c3330"} 
[2026-09-10 18:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 18:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995115520001,"66":14363,"122":206,"28":31744,"24":11,"16":19344433916936192,"45":1726849012746907648},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995115520001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:01:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19344433916936192,"km_value":19344433916936.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726849012746907648,"description":"Unknown IO ID 45"} 
[2026-09-10 18:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995115520001,"power":14363,"unknown_122":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1726849012746907648}} 
[2026-09-10 18:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":176527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:01:36] local.INFO: GPS data processed {"connection_id":176527,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:01:36] local.INFO: Acknowledgment sent {"connection_id":176527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:01:38] local.INFO: TCP Data received {"connection_id":177920,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:01:38] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:01:38] local.INFO: IMEI packet received {"connection_id":177920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":177920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:01:43] local.INFO: TCP Data received {"connection_id":177920,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:01:43] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:01:43] local.INFO: IMEI packet received {"connection_id":177920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":177920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:01:44] local.INFO: TCP Data received {"connection_id":177920,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4ba2a8012c8c678007f96a90001a00932b..."} 
[2026-09-10 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4ba2a8012c8c678007f96a90001a00932b..."} 
[2026-09-10 18:01:44] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4ba2a8012c8c678007f96a90001a00932b..."} 
[2026-09-10 18:01:44] local.INFO: Packet analysis {"connection_id":177920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:01:44] local.INFO: Extracted packet for processing {"connection_id":177920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":747399040,"raw_latitude":133786256,"longitude_deg":74.739904,"latitude_deg":13.3786256,"altitude":26,"angle":147,"satellites":43,"speed":56,"hex_longitude":"2c8c6780","hex_latitude":"07f96a90","is_valid_coordinates":true} 
[2026-09-10 18:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995103744001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8339681313217210368,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043385000,"timestamp_ms":1789043385000,"timestamp_seconds":1789043385,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4ba2a8"} 
[2026-09-10 18:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 18:01:44] 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-09-10 18:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995103744001,"66":28082,"88":206,"9":54272,"24":56,"16":3893920429768704,"44":-8339681313217210368},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,9,24,16,44]} 
[2026-09-10 18:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995103744001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8339681313217210368,"description":"Unknown IO ID 44"} 
[2026-09-10 18:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995103744001,"power":28082,"unknown_88":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8339681313217210368}} 
[2026-09-10 18:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":177920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:01:44] local.INFO: GPS data processed {"connection_id":177920,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:01:44] local.INFO: Acknowledgment sent {"connection_id":177920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:01:49] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:49] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:49] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:01:52] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:52] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:52] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:01:57] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:57] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:01:57] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:01:58] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d2d30012d82980005d16230000a007126..."} 
[2026-09-10 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d2d30012d82980005d16230000a007126..."} 
[2026-09-10 18:01:58] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d2d30012d82980005d16230000a007126..."} 
[2026-09-10 18:01:58] local.INFO: Packet analysis {"connection_id":176746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:01:58] local.INFO: Extracted packet for processing {"connection_id":176746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97608240,"longitude_deg":76.3533312,"latitude_deg":9.760824,"altitude":10,"angle":113,"satellites":38,"speed":9,"hex_longitude":"2d829800","hex_latitude":"05d16230","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995132160001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130879413129576448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364819521536,"note":"Value kept but may cause issues"} 
[2026-09-10 18:01:58] 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-09-10 18:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789043486000,"timestamp_ms":1789043486000,"timestamp_seconds":1789043486,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d2d30"} 
[2026-09-10 18:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:01: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-09-10 18: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-10 18:01: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-09-10 18: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-09-10 18:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:01:58] 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-09-10 18:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995132160001,"66":13178,"63":206,"85":15104,"24":9,"16":130879413129576448,"45":-9036613364819521536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-10 18:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995132160001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:01:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-10 18:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130879413129576448,"km_value":130879413129576.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364819521536,"description":"Unknown IO ID 45"} 
[2026-09-10 18:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995132160001,"power":13178,"unknown_63":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9036613364819521536}} 
[2026-09-10 18:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":176746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:01:58] local.INFO: GPS data processed {"connection_id":176746,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:01:58] local.INFO: Acknowledgment sent {"connection_id":176746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:07] local.INFO: TCP Data received {"connection_id":176527,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d0238012d17c340072198f0004c011929..."} 
[2026-09-10 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d0238012d17c340072198f0004c011929..."} 
[2026-09-10 18:02:07] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d0238012d17c340072198f0004c011929..."} 
[2026-09-10 18:02:07] local.INFO: Packet analysis {"connection_id":176527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:02:07] local.INFO: Extracted packet for processing {"connection_id":176527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756532032,"raw_latitude":119642352,"longitude_deg":75.6532032,"latitude_deg":11.9642352,"altitude":76,"angle":281,"satellites":41,"speed":14,"hex_longitude":"2d17c340","hex_latitude":"072198f0","is_valid_coordinates":true} 
[2026-09-10 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995128064001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19345142586540032,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714323376284639232,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789043475000,"timestamp_ms":1789043475000,"timestamp_seconds":1789043475,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d0238"} 
[2026-09-10 18:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:02: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-09-10 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503894805250048,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2337053864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":34817,"corrected_to":0} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2489843794,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637495198410618,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84750222051713425,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":152,"raw_value":23082357544191488,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-2197748777458597805,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:07] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,122,28,24,241,158,16,186,160,203,45,151,80,38,10,66,187,64,150,81,41,184,1,240,163,139,33,4,113,205,12,164,222,42,239,56,2,68,7,82,9,206,192,152,23],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":203,"original":34817,"validated":0},{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-10 18:02:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620784976850518016,"timestamp_seconds":5620784976850518.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995128064001,"66":14352,"122":206,"28":31744,"24":14,"16":19345142586540032,"45":1714323376284639232},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995128064001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:02:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19345142586540032,"km_value":19345142586540.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714323376284639232,"description":"Unknown IO ID 45"} 
[2026-09-10 18:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995128064001,"power":14352,"unknown_122":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1714323376284639232}} 
[2026-09-10 18:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":176527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:02:08] local.INFO: GPS data processed {"connection_id":176527,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:02:08] local.INFO: Acknowledgment sent {"connection_id":176527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:15] local.INFO: TCP Data received {"connection_id":179286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4a0c68012cea0b00071d8a18000a00b52a..."} 
[2026-09-10 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4a0c68012cea0b00071d8a18000a00b52a..."} 
[2026-09-10 18:02:15] local.INFO: Processing buffer {"connection_id":179286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4a0c68012cea0b00071d8a18000a00b52a..."} 
[2026-09-10 18:02:15] local.INFO: Packet analysis {"connection_id":179286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:02:15] local.INFO: Extracted packet for processing {"connection_id":179286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4a"} 
[2026-09-10 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":753535744,"raw_latitude":119376408,"longitude_deg":75.3535744,"latitude_deg":11.9376408,"altitude":10,"angle":181,"satellites":42,"speed":7,"hex_longitude":"2cea0b00","hex_latitude":"071d8a18","is_valid_coordinates":true} 
[2026-09-10 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995074560001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404512913429102592,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582170813529577472,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789043281000,"timestamp_ms":1789043281000,"timestamp_seconds":1789043281,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4a0c68"} 
[2026-09-10 18:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 18:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995074560001,"66":28028,"109":206,"83":43008,"24":7,"16":404512913429102592,"44":-1582170813529577472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-10 18:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995074560001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:02:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 18:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404512913429102592,"km_value":404512913429102.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582170813529577472,"description":"Unknown IO ID 44"} 
[2026-09-10 18:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995074560001,"power":28028,"unknown_109":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1582170813529577472}} 
[2026-09-10 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":179286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:02:15] local.INFO: GPS data processed {"connection_id":179286,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:02:15] local.INFO: Acknowledgment sent {"connection_id":179286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:26] local.INFO: TCP Data received {"connection_id":177921,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:02:26] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:02:26] local.INFO: IMEI packet received {"connection_id":177921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":177921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:02:27] local.INFO: TCP Data received {"connection_id":177920,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4be128012c8ca48007f928a0001a00812e..."} 
[2026-09-10 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4be128012c8ca48007f928a0001a00812e..."} 
[2026-09-10 18:02:27] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4be128012c8ca48007f928a0001a00812e..."} 
[2026-09-10 18:02:27] local.INFO: Packet analysis {"connection_id":177920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:02:27] local.INFO: Extracted packet for processing {"connection_id":177920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4b"} 
[2026-09-10 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":747414656,"raw_latitude":133769376,"longitude_deg":74.7414656,"latitude_deg":13.3769376,"altitude":26,"angle":129,"satellites":46,"speed":57,"hex_longitude":"2c8ca480","hex_latitude":"07f928a0","is_valid_coordinates":true} 
[2026-09-10 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995106560001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8329548214060806144,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789043401000,"timestamp_ms":1789043401000,"timestamp_seconds":1789043401,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4be128"} 
[2026-09-10 18:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995106560001,"66":28028,"88":206,"9":54272,"24":57,"16":3893920429768704,"44":-8329548214060806144},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,9,24,16,44]} 
[2026-09-10 18:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995106560001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:02:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 18:02:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:02:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8329548214060806144,"description":"Unknown IO ID 44"} 
[2026-09-10 18:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995106560001,"power":28028,"unknown_88":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8329548214060806144}} 
[2026-09-10 18:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":177920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:02:27] local.INFO: GPS data processed {"connection_id":177920,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:02:27] local.INFO: Acknowledgment sent {"connection_id":177920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:29] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d3118012d82994005d16218000a005c26..."} 
[2026-09-10 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d3118012d82994005d16218000a005c26..."} 
[2026-09-10 18:02:29] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d3118012d82994005d16218000a005c26..."} 
[2026-09-10 18:02:29] local.INFO: Packet analysis {"connection_id":176746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:02:29] local.INFO: Extracted packet for processing {"connection_id":176746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":97608216,"longitude_deg":76.3533632,"latitude_deg":9.7608216,"altitude":10,"angle":92,"satellites":38,"speed":13,"hex_longitude":"2d829940","hex_latitude":"05d16218","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995132416001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130879430309445632,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627331190784,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02: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-09-10 18:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789043487000,"timestamp_ms":1789043487000,"timestamp_seconds":1789043487,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d3118"} 
[2026-09-10 18:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-10 18:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:02:29] 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-09-10 18:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995132416001,"66":13102,"63":206,"85":15104,"24":13,"16":130879430309445632,"45":-9036472627331190784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-10 18:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995132416001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:02:29] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-10 18:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130879430309445632,"km_value":130879430309445.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627331190784,"description":"Unknown IO ID 45"} 
[2026-09-10 18:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995132416001,"power":13102,"unknown_63":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9036472627331190784}} 
[2026-09-10 18:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":176746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:02:29] local.INFO: GPS data processed {"connection_id":176746,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:02:29] local.INFO: Acknowledgment sent {"connection_id":176746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:30] local.INFO: TCP Data received {"connection_id":177921,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:02:30] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:02:30] local.INFO: IMEI packet received {"connection_id":177921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":177921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:02:31] local.INFO: TCP Data received {"connection_id":177921,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d3118012d17ae4007219f70004a012f26..."} 
[2026-09-10 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d3118012d17ae4007219f70004a012f26..."} 
[2026-09-10 18:02:31] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d3118012d17ae4007219f70004a012f26..."} 
[2026-09-10 18:02:31] local.INFO: Packet analysis {"connection_id":177921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:02:31] local.INFO: Extracted packet for processing {"connection_id":177921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756526656,"raw_latitude":119644016,"longitude_deg":75.6526656,"latitude_deg":11.9644016,"altitude":74,"angle":303,"satellites":38,"speed":12,"hex_longitude":"2d17ae40","hex_latitude":"07219f70","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995129600001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19345413169479680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712282682703540224,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789043487000,"timestamp_ms":1789043487000,"timestamp_seconds":1789043487,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d3118"} 
[2026-09-10 18:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:02: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-09-10 18: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146624,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503894805708800,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2337055864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":40,"raw_value":23082275939813632,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":34817,"corrected_to":0} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5199968745522462730,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2511339602,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953770362,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3121348608,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84750219904229778,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-2251791972927274926,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:31] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,122,28,24,241,158,16,186,160,234,45,128,152,78,40,10,66,203,151,80,38,187,64,1,240,185,139,33,4,113,205,11,176,218,104,41,239,56,2,68,7,82,14,206,168,23],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":203,"original":34817,"validated":0},{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-09-10 18:02:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476686285744504832,"timestamp_seconds":5476686285744505.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995129600001,"66":14374,"122":206,"28":31744,"24":12,"16":19345413169479680,"45":1712282682703540224},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995129600001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:02:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19345413169479680,"km_value":19345413169479.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712282682703540224,"description":"Unknown IO ID 45"} 
[2026-09-10 18:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995129600001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1712282682703540224}} 
[2026-09-10 18:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":177921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:02:31] local.INFO: GPS data processed {"connection_id":177921,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:02:31] local.INFO: Acknowledgment sent {"connection_id":177921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:38] local.INFO: TCP Data received {"connection_id":176528,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:02:38] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:02:38] local.INFO: IMEI packet received {"connection_id":176528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":176528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:02:43] local.INFO: TCP Data received {"connection_id":176528,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:02:43] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:02:43] local.INFO: IMEI packet received {"connection_id":176528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":176528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:02:44] local.INFO: TCP Data received {"connection_id":176528,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4c3330012c8cf00007f8f620001e00802d..."} 
[2026-09-10 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4c3330012c8cf00007f8f620001e00802d..."} 
[2026-09-10 18:02:44] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4c3330012c8cf00007f8f620001e00802d..."} 
[2026-09-10 18:02:44] local.INFO: Packet analysis {"connection_id":176528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:02:44] local.INFO: Extracted packet for processing {"connection_id":176528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":747433984,"raw_latitude":133756448,"longitude_deg":74.7433984,"latitude_deg":13.3756448,"altitude":30,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2c8cf000","hex_latitude":"07f8f620","is_valid_coordinates":true} 
[2026-09-10 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995110656001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8312378240485777408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043422000,"timestamp_ms":1789043422000,"timestamp_seconds":1789043422,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4c3330"} 
[2026-09-10 18:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 18:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995110656001,"66":28234,"93":206,"9":54272,"24":0,"16":3893920429768704,"44":-8312378240485777408},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-10 18:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995110656001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:02:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8312378240485777408,"description":"Unknown IO ID 44"} 
[2026-09-10 18:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995110656001,"power":28234,"unknown_93":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8312378240485777408}} 
[2026-09-10 18:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":176528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:02:44] local.INFO: GPS data processed {"connection_id":176528,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:02:44] local.INFO: Acknowledgment sent {"connection_id":176528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:52] local.INFO: TCP Data received {"connection_id":177922,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:02:52] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:02:52] local.INFO: IMEI packet received {"connection_id":177922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":177922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:02:57] local.INFO: TCP Data received {"connection_id":177922,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:02:57] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:02:57] local.INFO: IMEI packet received {"connection_id":177922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":177922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:02:58] local.INFO: TCP Data received {"connection_id":177922,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4e4288012d83334005d15268000800c823..."} 
[2026-09-10 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4e4288012d83334005d15268000800c823..."} 
[2026-09-10 18:02:58] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4e4288012d83334005d15268000800c823..."} 
[2026-09-10 18:02:58] local.INFO: Packet analysis {"connection_id":177922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:02:58] local.INFO: Extracted packet for processing {"connection_id":177922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604200,"longitude_deg":76.3573056,"latitude_deg":9.76042,"altitude":8,"angle":200,"satellites":35,"speed":3,"hex_longitude":"2d833340","hex_latitude":"05d15268","is_valid_coordinates":true} 
[2026-09-10 18:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995150336001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130881418879303680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453699584,"note":"Value kept but may cause issues"} 
[2026-09-10 18:02:58] 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-09-10 18:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789043557000,"timestamp_ms":1789043557000,"timestamp_seconds":1789043557,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4e4288"} 
[2026-09-10 18:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:02: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-09-10 18:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 18:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:02:58] 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-09-10 18:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995150336001,"66":13254,"63":206,"85":15104,"24":3,"16":130881418879303680,"45":-8992703268453699584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-10 18:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995150336001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:02:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-10 18:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130881418879303680,"km_value":130881418879303.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453699584,"description":"Unknown IO ID 45"} 
[2026-09-10 18:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995150336001,"power":13254,"unknown_63":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-8992703268453699584}} 
[2026-09-10 18:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":177922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:02:58] local.INFO: GPS data processed {"connection_id":177922,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:02:58] local.INFO: Acknowledgment sent {"connection_id":177922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:02:58] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:02:58] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:02:58] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:02:59] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:02:59] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:02:59] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:03:03] local.INFO: TCP Data received {"connection_id":177921,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d3500012d17ad400721a008004a013b25..."} 
[2026-09-10 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d3500012d17ad400721a008004a013b25..."} 
[2026-09-10 18:03:03] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d3500012d17ad400721a008004a013b25..."} 
[2026-09-10 18:03:03] local.INFO: Packet analysis {"connection_id":177921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:03:03] local.INFO: Extracted packet for processing {"connection_id":177921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756526400,"raw_latitude":119644168,"longitude_deg":75.65264,"latitude_deg":11.9644168,"altitude":74,"angle":315,"satellites":37,"speed":8,"hex_longitude":"2d17ad40","hex_latitude":"0721a008","is_valid_coordinates":true} 
[2026-09-10 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995132672001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19345426054381568,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706371708193042432,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789043488000,"timestamp_ms":1789043488000,"timestamp_seconds":1789043488,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d3500"} 
[2026-09-10 18:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 18:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995132672001,"66":14374,"122":206,"28":31744,"24":8,"16":19345426054381568,"45":1706371708193042432},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995132672001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:03:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19345426054381568,"km_value":19345426054381.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706371708193042432,"description":"Unknown IO ID 45"} 
[2026-09-10 18:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995132672001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1706371708193042432}} 
[2026-09-10 18:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":177921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:03:03] local.INFO: GPS data processed {"connection_id":177921,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:03:03] local.INFO: Acknowledgment sent {"connection_id":177921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:03:17] local.INFO: TCP Data received {"connection_id":176528,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4c5e28012c8d2b8007f8b608002000922c..."} 
[2026-09-10 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4c5e28012c8d2b8007f8b608002000922c..."} 
[2026-09-10 18:03:17] local.INFO: Processing buffer {"connection_id":176528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4c5e28012c8d2b8007f8b608002000922c..."} 
[2026-09-10 18:03:17] local.INFO: Packet analysis {"connection_id":176528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:03:17] local.INFO: Extracted packet for processing {"connection_id":176528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":747449216,"raw_latitude":133740040,"longitude_deg":74.7449216,"latitude_deg":13.374004,"altitude":32,"angle":146,"satellites":44,"speed":55,"hex_longitude":"2c8d2b80","hex_latitude":"07f8b608","is_valid_coordinates":true} 
[2026-09-10 18:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995116032001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8291126879747432448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789043433000,"timestamp_ms":1789043433000,"timestamp_seconds":1789043433,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4c5e28"} 
[2026-09-10 18:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:03: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-09-10 18:03: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 18:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995116032001,"66":28104,"93":206,"9":54272,"24":55,"16":3893920429768704,"44":-8291126879747432448},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-10 18:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995116032001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:03:17] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 18:03:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:03:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8291126879747432448,"description":"Unknown IO ID 44"} 
[2026-09-10 18:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995116032001,"power":28104,"unknown_93":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8291126879747432448}} 
[2026-09-10 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":176528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:03:17] local.INFO: GPS data processed {"connection_id":176528,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:03:17] local.INFO: Acknowledgment sent {"connection_id":176528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:03:25] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:25] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:25] local.INFO: IMEI packet received {"connection_id":177923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":177923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:03:26] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:26] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:26] local.INFO: IMEI packet received {"connection_id":177923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":177923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:03:28] local.INFO: TCP Data received {"connection_id":177922,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4e4e40012d83330005d151e8000800dd25..."} 
[2026-09-10 18:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4e4e40012d83330005d151e8000800dd25..."} 
[2026-09-10 18:03:28] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4e4e40012d83330005d151e8000800dd25..."} 
[2026-09-10 18:03:28] local.INFO: Packet analysis {"connection_id":177922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:03:28] local.INFO: Extracted packet for processing {"connection_id":177922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763572992,"raw_latitude":97604072,"longitude_deg":76.3572992,"latitude_deg":9.7604072,"altitude":8,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d833300","hex_latitude":"05d151e8","is_valid_coordinates":true} 
[2026-09-10 18:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995150592001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130881427469238272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197895680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:28] 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-09-10 18:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789043560000,"timestamp_ms":1789043560000,"timestamp_seconds":1789043560,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4e4e40"} 
[2026-09-10 18:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 18:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:03:28] 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-09-10 18:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995150592001,"66":13189,"63":206,"85":15104,"24":0,"16":130881427469238272,"45":-8992773637197895680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-10 18:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995150592001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:03:28] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-10 18:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130881427469238272,"km_value":130881427469238.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197895680,"description":"Unknown IO ID 45"} 
[2026-09-10 18:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995150592001,"power":13189,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992773637197895680}} 
[2026-09-10 18:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":177922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:03:28] local.INFO: GPS data processed {"connection_id":177922,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:03:28] local.INFO: Acknowledgment sent {"connection_id":177922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:03:29] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:03:29] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:03:29] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:03:30] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:30] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:03:30] local.INFO: IMEI packet received {"connection_id":177923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":177923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:03:31] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4e2348012d17a980072204e0005300002b..."} 
[2026-09-10 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4e2348012d17a980072204e0005300002b..."} 
[2026-09-10 18:03:31] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4e2348012d17a980072204e0005300002b..."} 
[2026-09-10 18:03:31] local.INFO: Packet analysis {"connection_id":177923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:03:31] local.INFO: Extracted packet for processing {"connection_id":177923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756525440,"raw_latitude":119669984,"longitude_deg":75.652544,"latitude_deg":11.9669984,"altitude":83,"angle":0,"satellites":43,"speed":18,"hex_longitude":"2d17a980","hex_latitude":"072204e0","is_valid_coordinates":true} 
[2026-09-10 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995146496001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19346705954635776,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704190277129195520,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789043549000,"timestamp_ms":1789043549000,"timestamp_seconds":1789043549,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4e2348"} 
[2026-09-10 18:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 18:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995146496001,"66":14004,"120":206,"28":31744,"24":18,"16":19346705954635776,"45":1704190277129195520},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995146496001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:03:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19346705954635776,"km_value":19346705954635.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704190277129195520,"description":"Unknown IO ID 45"} 
[2026-09-10 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995146496001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1704190277129195520}} 
[2026-09-10 18:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":177923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:03:31] local.INFO: GPS data processed {"connection_id":177923,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:03:31] local.INFO: Acknowledgment sent {"connection_id":177923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:03:34] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:03:34] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:03:34] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:03:34] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d7380012ce9f900071c9770000b00b72f..."} 
[2026-09-10 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d7380012ce9f900071c9770000b00b72f..."} 
[2026-09-10 18:03:34] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d7380012ce9f900071c9770000b00b72f..."} 
[2026-09-10 18:03:34] local.INFO: Packet analysis {"connection_id":176530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:03:34] local.INFO: Extracted packet for processing {"connection_id":176530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:03:34] local.INFO: GPS Element Parsed {"raw_longitude":753531136,"raw_latitude":119314288,"longitude_deg":75.3531136,"latitude_deg":11.9314288,"altitude":11,"angle":183,"satellites":47,"speed":13,"hex_longitude":"2ce9f900","hex_latitude":"071c9770","is_valid_coordinates":true} 
[2026-09-10 18:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995131904001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404515954265948160,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586533675682826240,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789043504000,"timestamp_ms":1789043504000,"timestamp_seconds":1789043504,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d7380"} 
[2026-09-10 18:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 18:03:34] 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-09-10 18:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18: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-09-10 18:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995131904001,"66":27767,"127":206,"83":43008,"24":13,"16":404515954265948160,"44":-1586533675682826240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-09-10 18:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995131904001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:03:34] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-10 18:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 18:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404515954265948160,"km_value":404515954265948.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:03:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586533675682826240,"description":"Unknown IO ID 44"} 
[2026-09-10 18:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995131904001,"power":27767,"unknown_127":206,"unknown_83":43008,"ignition":13,"odometer":null,"unknown_44":-1586533675682826240}} 
[2026-09-10 18:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":176530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:03:34] local.INFO: GPS data processed {"connection_id":176530,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:03:34] local.INFO: Acknowledgment sent {"connection_id":176530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:03:38] local.INFO: TCP Data received {"connection_id":179287,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:03:38] local.INFO: Processing buffer {"connection_id":179287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:03:38] local.INFO: IMEI packet received {"connection_id":179287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":179287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:03:43] local.INFO: TCP Data received {"connection_id":179287,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:03:43] local.INFO: Processing buffer {"connection_id":179287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:03:43] local.INFO: IMEI packet received {"connection_id":179287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":179287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:03:44] local.INFO: TCP Data received {"connection_id":179287,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4c9ca8012c8d4e4007f875b0001f00a42d..."} 
[2026-09-10 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4c9ca8012c8d4e4007f875b0001f00a42d..."} 
[2026-09-10 18:03:44] local.INFO: Processing buffer {"connection_id":179287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4c9ca8012c8d4e4007f875b0001f00a42d..."} 
[2026-09-10 18:03:44] local.INFO: Packet analysis {"connection_id":179287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:03:44] local.INFO: Extracted packet for processing {"connection_id":179287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":747458112,"raw_latitude":133723568,"longitude_deg":74.7458112,"latitude_deg":13.3723568,"altitude":31,"angle":164,"satellites":45,"speed":17,"hex_longitude":"2c8d4e40","hex_latitude":"07f875b0","is_valid_coordinates":true} 
[2026-09-10 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995118848001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8274379118637348864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043449000,"timestamp_ms":1789043449000,"timestamp_seconds":1789043449,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4c9ca8"} 
[2026-09-10 18:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:03:44] 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-09-10 18:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995118848001,"66":28115,"93":206,"9":54272,"24":17,"16":3893920429768704,"44":-8274379118637348864},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-10 18:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995118848001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:03:44] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 18:03:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8274379118637348864,"description":"Unknown IO ID 44"} 
[2026-09-10 18:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995118848001,"power":28115,"unknown_93":206,"unknown_9":54272,"ignition":17,"odometer":null,"unknown_44":-8274379118637348864}} 
[2026-09-10 18:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":179287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:03:45] local.INFO: GPS data processed {"connection_id":179287,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:03:45] local.INFO: Acknowledgment sent {"connection_id":179287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:03:52] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:52] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:52] local.INFO: IMEI packet received {"connection_id":176747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":176747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:03:53] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:53] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:53] local.INFO: IMEI packet received {"connection_id":176747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":176747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:03:57] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:57] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:03:57] local.INFO: IMEI packet received {"connection_id":176747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":176747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:03:58] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4f2130012d82964005d162c0000a014d24..."} 
[2026-09-10 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4f2130012d82964005d162c0000a014d24..."} 
[2026-09-10 18:03:58] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4f2130012d82964005d162c0000a014d24..."} 
[2026-09-10 18:03:58] local.INFO: Packet analysis {"connection_id":176747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:03:58] local.INFO: Extracted packet for processing {"connection_id":176747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97608384,"longitude_deg":76.3532864,"latitude_deg":9.7608384,"altitude":10,"angle":333,"satellites":36,"speed":11,"hex_longitude":"2d829640","hex_latitude":"05d162c0","is_valid_coordinates":true} 
[2026-09-10 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995164928001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130883368794456064,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471052097536,"note":"Value kept but may cause issues"} 
[2026-09-10 18:03:58] 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-09-10 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789043614000,"timestamp_ms":1789043614000,"timestamp_seconds":1789043614,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4f2130"} 
[2026-09-10 18:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 18:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:03:58] 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-09-10 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995164928001,"66":13602,"63":206,"85":15104,"24":11,"16":130883368794456064,"45":-9036824471052097536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-10 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995164928001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:03:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-10 18:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130883368794456064,"km_value":130883368794456.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471052097536,"description":"Unknown IO ID 45"} 
[2026-09-10 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995164928001,"power":13602,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9036824471052097536}} 
[2026-09-10 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":176747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:03:58] local.INFO: GPS data processed {"connection_id":176747,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:03:58] local.INFO: Acknowledgment sent {"connection_id":176747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:03] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4edae0012d178e0007222d40006901192b..."} 
[2026-09-10 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4edae0012d178e0007222d40006901192b..."} 
[2026-09-10 18:04:03] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4edae0012d178e0007222d40006901192b..."} 
[2026-09-10 18:04:03] local.INFO: Packet analysis {"connection_id":177923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:04:03] local.INFO: Extracted packet for processing {"connection_id":177923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756518400,"raw_latitude":119680320,"longitude_deg":75.65184,"latitude_deg":11.968032,"altitude":105,"angle":281,"satellites":43,"speed":12,"hex_longitude":"2d178e00","hex_latitude":"07222d40","is_valid_coordinates":true} 
[2026-09-10 18:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995160064001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19347427509141504,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698068196389318656,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789043596000,"timestamp_ms":1789043596000,"timestamp_seconds":1789043596,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4edae0"} 
[2026-09-10 18:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995160064001,"66":14396,"120":206,"28":31744,"24":12,"16":19347427509141504,"45":1698068196389318656},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995160064001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19347427509141504,"km_value":19347427509141.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698068196389318656,"description":"Unknown IO ID 45"} 
[2026-09-10 18:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995160064001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1698068196389318656}} 
[2026-09-10 18:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":177923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:03] local.INFO: GPS data processed {"connection_id":177923,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:03] local.INFO: Acknowledgment sent {"connection_id":177923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:16] local.INFO: TCP Data received {"connection_id":179287,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4ceeb0012c8d4e4007f875b0001f00a42d..."} 
[2026-09-10 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4ceeb0012c8d4e4007f875b0001f00a42d..."} 
[2026-09-10 18:04:16] local.INFO: Processing buffer {"connection_id":179287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4ceeb0012c8d4e4007f875b0001f00a42d..."} 
[2026-09-10 18:04:16] local.INFO: Packet analysis {"connection_id":179287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:04:16] local.INFO: Extracted packet for processing {"connection_id":179287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4c"} 
[2026-09-10 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":747458112,"raw_latitude":133723568,"longitude_deg":74.7458112,"latitude_deg":13.3723568,"altitude":31,"angle":164,"satellites":45,"speed":0,"hex_longitude":"2c8d4e40","hex_latitude":"07f875b0","is_valid_coordinates":true} 
[2026-09-10 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995122944001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8264597863200870400,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789043470000,"timestamp_ms":1789043470000,"timestamp_seconds":1789043470,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4ceeb0"} 
[2026-09-10 18:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995122944001,"66":28093,"93":206,"9":54272,"24":0,"16":3893920429768704,"44":-8264597863200870400},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-10 18:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995122944001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:16] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 18:04:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8264597863200870400,"description":"Unknown IO ID 44"} 
[2026-09-10 18:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995122944001,"power":28093,"unknown_93":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8264597863200870400}} 
[2026-09-10 18:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":179287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:16] local.INFO: GPS data processed {"connection_id":179287,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:16] local.INFO: Acknowledgment sent {"connection_id":179287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:18] local.INFO: TCP Data received {"connection_id":176748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:18] local.INFO: Processing buffer {"connection_id":176748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:18] local.INFO: IMEI packet received {"connection_id":176748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":176748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:04:21] local.INFO: TCP Data received {"connection_id":176748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:21] local.INFO: Processing buffer {"connection_id":176748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:21] local.INFO: IMEI packet received {"connection_id":176748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":176748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:26] local.INFO: TCP Data received {"connection_id":176749,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:04:26] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:04:26] local.INFO: IMEI packet received {"connection_id":176749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":176749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:04:29] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4f2900012d8295c005d16548000b015d24..."} 
[2026-09-10 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4f2900012d8295c005d16548000b015d24..."} 
[2026-09-10 18:04:29] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4f2900012d8295c005d16548000b015d24..."} 
[2026-09-10 18:04:29] local.INFO: Packet analysis {"connection_id":176747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:04:29] local.INFO: Extracted packet for processing {"connection_id":176747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97609032,"longitude_deg":76.3532736,"latitude_deg":9.7609032,"altitude":11,"angle":349,"satellites":36,"speed":13,"hex_longitude":"2d8295c0","hex_latitude":"05d16548","is_valid_coordinates":true} 
[2026-09-10 18:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995165184001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130883403154194432,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540397568,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04: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-09-10 18:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789043616000,"timestamp_ms":1789043616000,"timestamp_seconds":1789043616,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4f2900"} 
[2026-09-10 18:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:04:29] 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-09-10 18:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995165184001,"66":13363,"63":206,"85":15104,"24":13,"16":130883403154194432,"45":-9036965208540397568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-10 18:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995165184001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:29] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-10 18:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130883403154194432,"km_value":130883403154194.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540397568,"description":"Unknown IO ID 45"} 
[2026-09-10 18:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995165184001,"power":13363,"unknown_63":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9036965208540397568}} 
[2026-09-10 18:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":176747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:29] local.INFO: GPS data processed {"connection_id":176747,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:29] local.INFO: Acknowledgment sent {"connection_id":176747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:32] local.INFO: TCP Data received {"connection_id":176749,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:04:32] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:04:32] local.INFO: IMEI packet received {"connection_id":176749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":176749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:33] local.INFO: TCP Data received {"connection_id":176749,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4ee2b0012d178ac007222d980069010d2b..."} 
[2026-09-10 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4ee2b0012d178ac007222d980069010d2b..."} 
[2026-09-10 18:04:33] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4ee2b0012d178ac007222d980069010d2b..."} 
[2026-09-10 18:04:33] local.INFO: Packet analysis {"connection_id":176749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:04:33] local.INFO: Extracted packet for processing {"connection_id":176749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756517568,"raw_latitude":119680408,"longitude_deg":75.6517568,"latitude_deg":11.9680408,"altitude":105,"angle":269,"satellites":43,"speed":13,"hex_longitude":"2d178ac0","hex_latitude":"07222d98","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995160576001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19347466163847168,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697294140203417600,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789043598000,"timestamp_ms":1789043598000,"timestamp_seconds":1789043598,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4ee2b0"} 
[2026-09-10 18:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995160576001,"66":14374,"120":206,"28":31744,"24":13,"16":19347466163847168,"45":1697294140203417600},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995160576001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19347466163847168,"km_value":19347466163847.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697294140203417600,"description":"Unknown IO ID 45"} 
[2026-09-10 18:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995160576001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1697294140203417600}} 
[2026-09-10 18:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":176749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:33] local.INFO: GPS data processed {"connection_id":176749,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:33] local.INFO: Acknowledgment sent {"connection_id":176749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:34] local.INFO: TCP Data received {"connection_id":176748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:34] local.INFO: Processing buffer {"connection_id":176748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:04:34] local.INFO: IMEI packet received {"connection_id":176748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":176748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:35] local.INFO: TCP Data received {"connection_id":176748,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4dc588012ce9f6c0071c7a50000800b72f..."} 
[2026-09-10 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4dc588012ce9f6c0071c7a50000800b72f..."} 
[2026-09-10 18:04:35] local.INFO: Processing buffer {"connection_id":176748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4dc588012ce9f6c0071c7a50000800b72f..."} 
[2026-09-10 18:04:35] local.INFO: Packet analysis {"connection_id":176748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:04:35] local.INFO: Extracted packet for processing {"connection_id":176748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119306832,"longitude_deg":75.353056,"latitude_deg":11.9306832,"altitude":8,"angle":183,"satellites":47,"speed":16,"hex_longitude":"2ce9f6c0","hex_latitude":"071c7a50","is_valid_coordinates":true} 
[2026-09-10 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995137024001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404516315043201024,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587237363126931456,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789043525000,"timestamp_ms":1789043525000,"timestamp_seconds":1789043525,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4dc588"} 
[2026-09-10 18:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:04: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-09-10 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995137024001,"66":27865,"127":206,"83":43008,"24":16,"16":404516315043201024,"44":-1587237363126931456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-09-10 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995137024001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404516315043201024,"km_value":404516315043201.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587237363126931456,"description":"Unknown IO ID 44"} 
[2026-09-10 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995137024001,"power":27865,"unknown_127":206,"unknown_83":43008,"ignition":16,"odometer":null,"unknown_44":-1587237363126931456}} 
[2026-09-10 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":176748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:35] local.INFO: GPS data processed {"connection_id":176748,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:35] local.INFO: Acknowledgment sent {"connection_id":176748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:40] local.INFO: TCP Data received {"connection_id":177924,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:40] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:40] local.INFO: IMEI packet received {"connection_id":177924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":177924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:04:44] local.INFO: TCP Data received {"connection_id":177924,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:44] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:44] local.INFO: IMEI packet received {"connection_id":177924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":177924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:48] local.INFO: TCP Data received {"connection_id":177924,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:48] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:04:48] local.INFO: IMEI packet received {"connection_id":177924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":177924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:50] local.INFO: TCP Data received {"connection_id":177924,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d3118012c8d524007f836a0001b00b62b..."} 
[2026-09-10 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d3118012c8d524007f836a0001b00b62b..."} 
[2026-09-10 18:04:50] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d3118012c8d524007f836a0001b00b62b..."} 
[2026-09-10 18:04:50] local.INFO: Packet analysis {"connection_id":177924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:04:50] local.INFO: Extracted packet for processing {"connection_id":177924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:04:50] local.INFO: GPS Element Parsed {"raw_longitude":747459136,"raw_latitude":133707424,"longitude_deg":74.7459136,"latitude_deg":13.3707424,"altitude":27,"angle":182,"satellites":43,"speed":36,"hex_longitude":"2c8d5240","hex_latitude":"07f836a0","is_valid_coordinates":true} 
[2026-09-10 18:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995128320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8264597863200870400,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789043487000,"timestamp_ms":1789043487000,"timestamp_seconds":1789043487,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d3118"} 
[2026-09-10 18:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04: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-09-10 18: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995128320001,"66":28137,"93":206,"9":54272,"24":36,"16":3893920429768704,"44":-8264597863200870400},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-10 18:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995128320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:50] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 18:04:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8264597863200870400,"description":"Unknown IO ID 44"} 
[2026-09-10 18:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995128320001,"power":28137,"unknown_93":206,"unknown_9":54272,"ignition":36,"odometer":null,"unknown_44":-8264597863200870400}} 
[2026-09-10 18:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":177924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:50] local.INFO: GPS data processed {"connection_id":177924,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:50] local.INFO: Acknowledgment sent {"connection_id":177924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:52] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:52] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:52] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:04:52] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:52] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:52] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:54] local.INFO: TCP Data received {"connection_id":177924,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4d7768012c8d44c007f7edd8001a00c22c..."} 
[2026-09-10 18:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4d7768012c8d44c007f7edd8001a00c22c..."} 
[2026-09-10 18:04:54] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4d7768012c8d44c007f7edd8001a00c22c..."} 
[2026-09-10 18:04:54] local.INFO: Packet analysis {"connection_id":177924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:04:54] local.INFO: Extracted packet for processing {"connection_id":177924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:04:54] local.INFO: GPS Element Parsed {"raw_longitude":747455680,"raw_latitude":133688792,"longitude_deg":74.745568,"latitude_deg":13.3688792,"altitude":26,"angle":194,"satellites":44,"speed":45,"hex_longitude":"2c8d44c0","hex_latitude":"07f7edd8","is_valid_coordinates":true} 
[2026-09-10 18:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995132672001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8263471963298160640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789043505000,"timestamp_ms":1789043505000,"timestamp_seconds":1789043505,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4d7768"} 
[2026-09-10 18:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995132672001,"66":27995,"93":206,"9":54272,"24":45,"16":3893920429768704,"44":-8263471963298160640},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,44]} 
[2026-09-10 18:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995132672001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-10 18:04:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8263471963298160640,"description":"Unknown IO ID 44"} 
[2026-09-10 18:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995132672001,"power":27995,"unknown_93":206,"unknown_9":54272,"ignition":45,"odometer":null,"unknown_44":-8263471963298160640}} 
[2026-09-10 18:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":177924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:54] local.INFO: GPS data processed {"connection_id":177924,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:54] local.INFO: Acknowledgment sent {"connection_id":177924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:04:55] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:55] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:55] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:56] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:56] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:04:56] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:04:57] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4ff038012d81dfc005d17a68000b011325..."} 
[2026-09-10 18:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4ff038012d81dfc005d17a68000b011325..."} 
[2026-09-10 18:04:57] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4ff038012d81dfc005d17a68000b011325..."} 
[2026-09-10 18:04:57] local.INFO: Packet analysis {"connection_id":176531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:04:57] local.INFO: Extracted packet for processing {"connection_id":176531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763486144,"raw_latitude":97614440,"longitude_deg":76.3486144,"latitude_deg":9.761444,"altitude":11,"angle":275,"satellites":37,"speed":38,"hex_longitude":"2d81dfc0","hex_latitude":"05d17a68","is_valid_coordinates":true} 
[2026-09-10 18:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995176448001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130885696666730496,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078130923882811392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:04: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-09-10 18:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789043667000,"timestamp_ms":1789043667000,"timestamp_seconds":1789043667,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4ff038"} 
[2026-09-10 18:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:04:57] 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-09-10 18:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995176448001,"66":13276,"65":206,"85":15104,"24":38,"16":130885696666730496,"45":-9078130923882811392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-10 18:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995176448001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:04:57] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 18:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130885696666730496,"km_value":130885696666730.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078130923882811392,"description":"Unknown IO ID 45"} 
[2026-09-10 18:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995176448001,"power":13276,"unknown_65":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9078130923882811392}} 
[2026-09-10 18:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":176531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:04:57] local.INFO: GPS data processed {"connection_id":176531,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:04:57] local.INFO: Acknowledgment sent {"connection_id":176531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:05:04] local.INFO: TCP Data received {"connection_id":176749,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4efa20012d1782c007222e18006a011c29..."} 
[2026-09-10 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4efa20012d1782c007222e18006a011c29..."} 
[2026-09-10 18:05:04] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4efa20012d1782c007222e18006a011c29..."} 
[2026-09-10 18:05:04] local.INFO: Packet analysis {"connection_id":176749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:05:04] local.INFO: Extracted packet for processing {"connection_id":176749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756515520,"raw_latitude":119680536,"longitude_deg":75.651552,"latitude_deg":11.9680536,"altitude":106,"angle":284,"satellites":41,"speed":11,"hex_longitude":"2d1782c0","hex_latitude":"07222e18","is_valid_coordinates":true} 
[2026-09-10 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995161088001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19347564948094976,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1696379346529130496,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05: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-09-10 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789043604000,"timestamp_ms":1789043604000,"timestamp_seconds":1789043604,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4efa20"} 
[2026-09-10 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995161088001,"66":14341,"120":206,"28":31744,"24":11,"16":19347564948094976,"45":1696379346529130496},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995161088001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19347564948094976,"km_value":19347564948094.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1696379346529130496,"description":"Unknown IO ID 45"} 
[2026-09-10 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995161088001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1696379346529130496}} 
[2026-09-10 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":176749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:05:04] local.INFO: GPS data processed {"connection_id":176749,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:05:04] local.INFO: Acknowledgment sent {"connection_id":176749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:05:18] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:05:18] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:05:18] local.INFO: IMEI packet received {"connection_id":177925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":177925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:05:26] local.INFO: TCP Data received {"connection_id":179288,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:26] local.INFO: Processing buffer {"connection_id":179288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:26] local.INFO: IMEI packet received {"connection_id":179288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":179288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:05:26] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:05:26] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:05:26] local.INFO: IMEI packet received {"connection_id":177925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":177925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:05:26] local.INFO: TCP Data received {"connection_id":179288,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:26] local.INFO: Processing buffer {"connection_id":179288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:26] local.INFO: IMEI packet received {"connection_id":179288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":179288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:05:27] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4fcd10012cea53c0071afcd8000e00a42b..."} 
[2026-09-10 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4fcd10012cea53c0071afcd8000e00a42b..."} 
[2026-09-10 18:05:27] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4fcd10012cea53c0071afcd8000e00a42b..."} 
[2026-09-10 18:05:27] local.INFO: Packet analysis {"connection_id":177925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:05:27] local.INFO: Extracted packet for processing {"connection_id":177925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":753554368,"raw_latitude":119209176,"longitude_deg":75.3554368,"latitude_deg":11.9209176,"altitude":14,"angle":164,"satellites":43,"speed":46,"hex_longitude":"2cea53c0","hex_latitude":"071afcd8","is_valid_coordinates":true} 
[2026-09-10 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995174144001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404521232780754944,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564719365014634496,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789043658000,"timestamp_ms":1789043658000,"timestamp_seconds":1789043658,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4fcd10"} 
[2026-09-10 18:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995174144001,"66":27908,"105":206,"83":41216,"24":46,"16":404521232780754944,"44":-1564719365014634496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-10 18:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995174144001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:05:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 18:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404521232780754944,"km_value":404521232780754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:05:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564719365014634496,"description":"Unknown IO ID 44"} 
[2026-09-10 18:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995174144001,"power":27908,"unknown_105":206,"unknown_83":41216,"ignition":46,"odometer":null,"unknown_44":-1564719365014634496}} 
[2026-09-10 18:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":177925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:05:27] local.INFO: GPS data processed {"connection_id":177925,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:05:27] local.INFO: Acknowledgment sent {"connection_id":177925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:05:28] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4ff808012d81d8c005d17c40000b012525..."} 
[2026-09-10 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4ff808012d81d8c005d17c40000b012525..."} 
[2026-09-10 18:05:28] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4ff808012d81d8c005d17c40000b012525..."} 
[2026-09-10 18:05:28] local.INFO: Packet analysis {"connection_id":176531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:05:28] local.INFO: Extracted packet for processing {"connection_id":176531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763484352,"raw_latitude":97614912,"longitude_deg":76.3484352,"latitude_deg":9.7614912,"altitude":11,"angle":293,"satellites":37,"speed":36,"hex_longitude":"2d81d8c0","hex_latitude":"05d17c40","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995178752001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130885786861043712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9088334391788541952,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:28] 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-09-10 18:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789043669000,"timestamp_ms":1789043669000,"timestamp_seconds":1789043669,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4ff808"} 
[2026-09-10 18:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":220,"data_length":795,"current_offset":136} 
[2026-09-10 18:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:05:28] 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-09-10 18:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995178752001,"66":13222,"65":206,"85":15104,"24":36,"16":130885786861043712,"45":-9088334391788541952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-10 18:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995178752001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:05:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 18:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130885786861043712,"km_value":130885786861043.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9088334391788541952,"description":"Unknown IO ID 45"} 
[2026-09-10 18:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995178752001,"power":13222,"unknown_65":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9088334391788541952}} 
[2026-09-10 18:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":176531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:05:28] local.INFO: GPS data processed {"connection_id":176531,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:05:28] local.INFO: Acknowledgment sent {"connection_id":176531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:05:31] local.INFO: TCP Data received {"connection_id":179288,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:31] local.INFO: Processing buffer {"connection_id":179288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:05:31] local.INFO: IMEI packet received {"connection_id":179288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":179288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:05:33] local.INFO: TCP Data received {"connection_id":179288,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b501360012d17594007224848006d011822..."} 
[2026-09-10 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b501360012d17594007224848006d011822..."} 
[2026-09-10 18:05:33] local.INFO: Processing buffer {"connection_id":179288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b501360012d17594007224848006d011822..."} 
[2026-09-10 18:05:33] local.INFO: Packet analysis {"connection_id":179288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:05:33] local.INFO: Extracted packet for processing {"connection_id":179288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756504896,"raw_latitude":119687240,"longitude_deg":75.6504896,"latitude_deg":11.968724,"altitude":109,"angle":280,"satellites":34,"speed":7,"hex_longitude":"2d175940","hex_latitude":"07224848","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995180800001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19348213488156672,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682727810160404480,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789043676000,"timestamp_ms":1789043676000,"timestamp_seconds":1789043676,"priority":1,"record_length":96,"hex_timestamp":"000001a08b501360"} 
[2026-09-10 18:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 18:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995180800001,"66":14026,"120":206,"28":31744,"24":7,"16":19348213488156672,"45":1682727810160404480},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995180800001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:05:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19348213488156672,"km_value":19348213488156.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682727810160404480,"description":"Unknown IO ID 45"} 
[2026-09-10 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995180800001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1682727810160404480}} 
[2026-09-10 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":179288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:05:33] local.INFO: GPS data processed {"connection_id":179288,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:05:33] local.INFO: Acknowledgment sent {"connection_id":179288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:05:38] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:05:38] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:05:38] local.INFO: IMEI packet received {"connection_id":176750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":176750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:05:43] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:05:43] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:05:43] local.INFO: IMEI packet received {"connection_id":176750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":176750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:05:45] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4dc970012c8d2e0007f79db0001800c32d..."} 
[2026-09-10 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4dc970012c8d2e0007f79db0001800c32d..."} 
[2026-09-10 18:05:45] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4dc970012c8d2e0007f79db0001800c32d..."} 
[2026-09-10 18:05:45] local.INFO: Packet analysis {"connection_id":176750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:05:45] local.INFO: Extracted packet for processing {"connection_id":176750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4d"} 
[2026-09-10 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":747449856,"raw_latitude":133668272,"longitude_deg":74.7449856,"latitude_deg":13.3668272,"altitude":24,"angle":195,"satellites":45,"speed":0,"hex_longitude":"2c8d2e00","hex_latitude":"07f79db0","is_valid_coordinates":true} 
[2026-09-10 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995137280001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8267271875488524288,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789043526000,"timestamp_ms":1789043526000,"timestamp_seconds":1789043526,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4dc970"} 
[2026-09-10 18:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-10 18:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995137280001,"66":28028,"95":206,"9":54272,"24":0,"16":3893920429768704,"44":-8267271875488524288},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,44]} 
[2026-09-10 18:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995137280001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:05:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 18:05:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:05:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8267271875488524288,"description":"Unknown IO ID 44"} 
[2026-09-10 18:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995137280001,"power":28028,"unknown_95":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8267271875488524288}} 
[2026-09-10 18:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":176750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:05:45] local.INFO: GPS data processed {"connection_id":176750,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:05:45] local.INFO: Acknowledgment sent {"connection_id":176750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:05:52] local.INFO: TCP Data received {"connection_id":179289,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:52] local.INFO: Processing buffer {"connection_id":179289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:52] local.INFO: IMEI packet received {"connection_id":179289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":179289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:05:53] local.INFO: TCP Data received {"connection_id":179289,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:53] local.INFO: Processing buffer {"connection_id":179289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:53] local.INFO: IMEI packet received {"connection_id":179289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":179289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:05:57] local.INFO: TCP Data received {"connection_id":179289,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:57] local.INFO: Processing buffer {"connection_id":179289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:05:57] local.INFO: IMEI packet received {"connection_id":179289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":179289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:05:58] local.INFO: TCP Data received {"connection_id":179289,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b510d60012d8121c005d18b80000a010f26..."} 
[2026-09-10 18:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b510d60012d8121c005d18b80000a010f26..."} 
[2026-09-10 18:05:58] local.INFO: Processing buffer {"connection_id":179289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b510d60012d8121c005d18b80000a010f26..."} 
[2026-09-10 18:05:58] local.INFO: Packet analysis {"connection_id":179289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:05:58] local.INFO: Extracted packet for processing {"connection_id":179289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763437504,"raw_latitude":97618816,"longitude_deg":76.3437504,"latitude_deg":9.7618816,"altitude":10,"angle":271,"satellites":38,"speed":30,"hex_longitude":"2d8121c0","hex_latitude":"05d18b80","is_valid_coordinates":true} 
[2026-09-10 18:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995194880001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130888084668547072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133159281828947968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:58] 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-09-10 18:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789043740000,"timestamp_ms":1789043740000,"timestamp_seconds":1789043740,"priority":1,"record_length":96,"hex_timestamp":"000001a08b510d60"} 
[2026-09-10 18:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-10 18:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:05:58] 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-09-10 18:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995194880001,"66":13374,"65":206,"85":15104,"24":30,"16":130888084668547072,"45":-9133159281828947968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-10 18:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995194880001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:05:58] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 18:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130888084668547072,"km_value":130888084668547.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133159281828947968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995194880001,"power":13374,"unknown_65":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9133159281828947968}} 
[2026-09-10 18:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":179289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:05:58] local.INFO: GPS data processed {"connection_id":179289,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:05:58] local.INFO: Acknowledgment sent {"connection_id":179289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:05:59] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4ff038012cea5e80071ad958001000a32c..."} 
[2026-09-10 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4ff038012cea5e80071ad958001000a32c..."} 
[2026-09-10 18:05:59] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4ff038012cea5e80071ad958001000a32c..."} 
[2026-09-10 18:05:59] local.INFO: Packet analysis {"connection_id":177925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:05:59] local.INFO: Extracted packet for processing {"connection_id":177925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4f"} 
[2026-09-10 18:05:59] local.INFO: GPS Element Parsed {"raw_longitude":753557120,"raw_latitude":119200088,"longitude_deg":75.355712,"latitude_deg":11.9200088,"altitude":16,"angle":163,"satellites":44,"speed":37,"hex_longitude":"2cea5e80","hex_latitude":"071ad958","is_valid_coordinates":true} 
[2026-09-10 18:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995176448001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404521692342255616,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1561693509017348096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789043667000,"timestamp_ms":1789043667000,"timestamp_seconds":1789043667,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4ff038"} 
[2026-09-10 18:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 18:05: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-09-10 18:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995176448001,"66":27821,"105":206,"83":41216,"24":37,"16":404521692342255616,"44":-1561693509017348096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-10 18:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995176448001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:05:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 18:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404521692342255616,"km_value":404521692342255.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1561693509017348096,"description":"Unknown IO ID 44"} 
[2026-09-10 18:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995176448001,"power":27821,"unknown_105":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1561693509017348096}} 
[2026-09-10 18:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":177925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:05:59] local.INFO: GPS data processed {"connection_id":177925,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:05:59] local.INFO: Acknowledgment sent {"connection_id":177925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:05] local.INFO: TCP Data received {"connection_id":179288,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b501b30012d175800072248c8006e012c22..."} 
[2026-09-10 18:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b501b30012d175800072248c8006e012c22..."} 
[2026-09-10 18:06:05] local.INFO: Processing buffer {"connection_id":179288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b501b30012d175800072248c8006e012c22..."} 
[2026-09-10 18:06:05] local.INFO: Packet analysis {"connection_id":179288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:06:05] local.INFO: Extracted packet for processing {"connection_id":179288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756504576,"raw_latitude":119687368,"longitude_deg":75.6504576,"latitude_deg":11.9687368,"altitude":110,"angle":300,"satellites":34,"speed":6,"hex_longitude":"2d175800","hex_latitude":"072248c8","is_valid_coordinates":true} 
[2026-09-10 18:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995181056001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19348230668025856,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682446335183702016,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06: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-09-10 18:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789043678000,"timestamp_ms":1789043678000,"timestamp_seconds":1789043678,"priority":1,"record_length":96,"hex_timestamp":"000001a08b501b30"} 
[2026-09-10 18:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06: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-09-10 18: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995181056001,"66":14026,"120":206,"28":31744,"24":6,"16":19348230668025856,"45":1682446335183702016},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995181056001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19348230668025856,"km_value":19348230668025.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682446335183702016,"description":"Unknown IO ID 45"} 
[2026-09-10 18:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995181056001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1682446335183702016}} 
[2026-09-10 18:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":179288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:05] local.INFO: GPS data processed {"connection_id":179288,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:05] local.INFO: Acknowledgment sent {"connection_id":179288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:16] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4eac000100000000000000000000000000..."} 
[2026-09-10 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4eac000100000000000000000000000000..."} 
[2026-09-10 18:06:16] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4eac000100000000000000000000000000..."} 
[2026-09-10 18:06:16] local.INFO: Packet analysis {"connection_id":176750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:06:16] local.INFO: Extracted packet for processing {"connection_id":176750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995142656001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8273675431213944832,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789043584000,"timestamp_ms":1789043584000,"timestamp_seconds":1789043584,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4eac00"} 
[2026-09-10 18:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":176750,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:06:16] local.INFO: GPS data processed {"connection_id":176750,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:06:16] local.INFO: Acknowledgment sent {"connection_id":176750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:23] local.INFO: TCP Data received {"connection_id":179290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:06:23] local.INFO: Processing buffer {"connection_id":179290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:06:23] local.INFO: IMEI packet received {"connection_id":179290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":179290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:06:26] local.INFO: TCP Data received {"connection_id":179291,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:26] local.INFO: Processing buffer {"connection_id":179291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:26] local.INFO: IMEI packet received {"connection_id":179291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":179291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:06:27] local.INFO: TCP Data received {"connection_id":179291,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:27] local.INFO: Processing buffer {"connection_id":179291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:27] local.INFO: IMEI packet received {"connection_id":179291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":179291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:06:29] local.INFO: TCP Data received {"connection_id":179290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:06:29] local.INFO: Processing buffer {"connection_id":179290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:06:29] local.INFO: IMEI packet received {"connection_id":179290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":179290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:06:29] local.INFO: TCP Data received {"connection_id":179289,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b512ca0012d81128005d18ba0000a012f25..."} 
[2026-09-10 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b512ca0012d81128005d18ba0000a012f25..."} 
[2026-09-10 18:06:29] local.INFO: Processing buffer {"connection_id":179289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b512ca0012d81128005d18ba0000a012f25..."} 
[2026-09-10 18:06:29] local.INFO: Packet analysis {"connection_id":179289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:06:29] local.INFO: Extracted packet for processing {"connection_id":179289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763433600,"raw_latitude":97618848,"longitude_deg":76.34336,"latitude_deg":9.7618848,"altitude":10,"angle":303,"satellites":37,"speed":10,"hex_longitude":"2d811280","hex_latitude":"05d18ba0","is_valid_coordinates":true} 
[2026-09-10 18:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995197440001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130888269352140800,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141814637362446336,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:29] 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-09-10 18:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789043748000,"timestamp_ms":1789043748000,"timestamp_seconds":1789043748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b512ca0"} 
[2026-09-10 18:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:06:29] 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-09-10 18:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995197440001,"66":13243,"65":206,"85":15104,"24":10,"16":130888269352140800,"45":-9141814637362446336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-10 18:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995197440001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:29] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 18:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130888269352140800,"km_value":130888269352140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141814637362446336,"description":"Unknown IO ID 45"} 
[2026-09-10 18:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995197440001,"power":13243,"unknown_65":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9141814637362446336}} 
[2026-09-10 18:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":179289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:29] local.INFO: GPS data processed {"connection_id":179289,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:29] local.INFO: Acknowledgment sent {"connection_id":179289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:30] local.INFO: TCP Data received {"connection_id":179290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b501f18012cea6940071ab5b8001300a125..."} 
[2026-09-10 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b501f18012cea6940071ab5b8001300a125..."} 
[2026-09-10 18:06:30] local.INFO: Processing buffer {"connection_id":179290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b501f18012cea6940071ab5b8001300a125..."} 
[2026-09-10 18:06:30] local.INFO: Packet analysis {"connection_id":179290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:06:30] local.INFO: Extracted packet for processing {"connection_id":179290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":753559872,"raw_latitude":119190968,"longitude_deg":75.3559872,"latitude_deg":11.9190968,"altitude":19,"angle":161,"satellites":37,"speed":27,"hex_longitude":"2cea6940","hex_latitude":"071ab5b8","is_valid_coordinates":true} 
[2026-09-10 18:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995178752001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404522156198723584,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558667653020035072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789043679000,"timestamp_ms":1789043679000,"timestamp_seconds":1789043679,"priority":1,"record_length":96,"hex_timestamp":"000001a08b501f18"} 
[2026-09-10 18:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995178752001,"66":27865,"105":206,"83":41216,"24":27,"16":404522156198723584,"44":-1558667653020035072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-10 18:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995178752001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 18:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404522156198723584,"km_value":404522156198723.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558667653020035072,"description":"Unknown IO ID 44"} 
[2026-09-10 18:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995178752001,"power":27865,"unknown_105":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1558667653020035072}} 
[2026-09-10 18:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":179290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:30] local.INFO: GPS data processed {"connection_id":179290,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:30] local.INFO: Acknowledgment sent {"connection_id":179290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:31] local.INFO: TCP Data received {"connection_id":179291,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:31] local.INFO: Processing buffer {"connection_id":179291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:06:31] local.INFO: IMEI packet received {"connection_id":179291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":179291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:06:33] local.INFO: TCP Data received {"connection_id":179291,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b510978012d172b40072267b00081010626..."} 
[2026-09-10 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b510978012d172b40072267b00081010626..."} 
[2026-09-10 18:06:33] local.INFO: Processing buffer {"connection_id":179291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b510978012d172b40072267b00081010626..."} 
[2026-09-10 18:06:33] local.INFO: Packet analysis {"connection_id":179291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:06:33] local.INFO: Extracted packet for processing {"connection_id":179291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756493120,"raw_latitude":119695280,"longitude_deg":75.649312,"latitude_deg":11.969528,"altitude":129,"angle":262,"satellites":38,"speed":5,"hex_longitude":"2d172b40","hex_latitude":"072267b0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995191808001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349119726256128,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677239048117063680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789043739000,"timestamp_ms":1789043739000,"timestamp_seconds":1789043739,"priority":1,"record_length":96,"hex_timestamp":"000001a08b510978"} 
[2026-09-10 18:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995191808001,"66":13906,"71":206,"28":31744,"24":5,"16":19349119726256128,"45":1677239048117063680},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995191808001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:06:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349119726256128,"km_value":19349119726256.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677239048117063680,"description":"Unknown IO ID 45"} 
[2026-09-10 18:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995191808001,"power":13906,"unknown_71":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1677239048117063680}} 
[2026-09-10 18:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":179291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:33] local.INFO: GPS data processed {"connection_id":179291,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:33] local.INFO: Acknowledgment sent {"connection_id":179291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:34] local.INFO: TCP Data received {"connection_id":179290,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b504a10012cea7540071a9860001900952b..."} 
[2026-09-10 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b504a10012cea7540071a9860001900952b..."} 
[2026-09-10 18:06:34] local.INFO: Processing buffer {"connection_id":179290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b504a10012cea7540071a9860001900952b..."} 
[2026-09-10 18:06:34] local.INFO: Packet analysis {"connection_id":179290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:06:34] local.INFO: Extracted packet for processing {"connection_id":179290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":753562944,"raw_latitude":119183456,"longitude_deg":75.3562944,"latitude_deg":11.9183456,"altitude":25,"angle":149,"satellites":43,"speed":25,"hex_longitude":"2cea7540","hex_latitude":"071a9860","is_valid_coordinates":true} 
[2026-09-10 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995181824001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404522547040747520,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1555641797022730240,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789043690000,"timestamp_ms":1789043690000,"timestamp_seconds":1789043690,"priority":1,"record_length":96,"hex_timestamp":"000001a08b504a10"} 
[2026-09-10 18:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":217,"data_length":795,"current_offset":136} 
[2026-09-10 18:06: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-09-10 18:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18: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-09-10 18:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995181824001,"66":27908,"105":206,"83":41216,"24":25,"16":404522547040747520,"44":-1555641797022730240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-10 18:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995181824001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-10 18:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404522547040747520,"km_value":404522547040747.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1555641797022730240,"description":"Unknown IO ID 44"} 
[2026-09-10 18:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995181824001,"power":27908,"unknown_105":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1555641797022730240}} 
[2026-09-10 18:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":179290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:34] local.INFO: GPS data processed {"connection_id":179290,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:34] local.INFO: Acknowledgment sent {"connection_id":179290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:40] local.INFO: TCP Data received {"connection_id":177926,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:06:40] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:06:40] local.INFO: IMEI packet received {"connection_id":177926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":177926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:06:43] local.INFO: TCP Data received {"connection_id":177926,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:06:43] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:06:43] local.INFO: IMEI packet received {"connection_id":177926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":177926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:06:44] local.INFO: TCP Data received {"connection_id":177926,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4e36d0012c8cff4007f6f250001700c430..."} 
[2026-09-10 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4e36d0012c8cff4007f6f250001700c430..."} 
[2026-09-10 18:06:44] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4e36d0012c8cff4007f6f250001700c430..."} 
[2026-09-10 18:06:44] local.INFO: Packet analysis {"connection_id":177926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:06:44] local.INFO: Extracted packet for processing {"connection_id":177926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":747437888,"raw_latitude":133624400,"longitude_deg":74.7437888,"latitude_deg":13.36244,"altitude":23,"angle":196,"satellites":48,"speed":55,"hex_longitude":"2c8cff40","hex_latitude":"07f6f250","is_valid_coordinates":true} 
[2026-09-10 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,95,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043554000,"timestamp_ms":1789043554000,"timestamp_seconds":1789043554,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4e36d0"} 
[2026-09-10 18:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"95":206,"9":54272,"24":55,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16]} 
[2026-09-10 18:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:44] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 18:06:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_95":206,"unknown_9":54272,"ignition":55,"odometer":null}} 
[2026-09-10 18:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":177926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:44] local.INFO: GPS data processed {"connection_id":177926,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:44] local.INFO: Acknowledgment sent {"connection_id":177926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:46] local.INFO: TCP Data received {"connection_id":177926,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b4e7938012c8cde0007f6abe8001a00d12d..."} 
[2026-09-10 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b4e7938012c8cde0007f6abe8001a00d12d..."} 
[2026-09-10 18:06:46] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b4e7938012c8cde0007f6abe8001a00d12d..."} 
[2026-09-10 18:06:46] local.INFO: Packet analysis {"connection_id":177926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:06:46] local.INFO: Extracted packet for processing {"connection_id":177926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b4e"} 
[2026-09-10 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":747429376,"raw_latitude":133606376,"longitude_deg":74.7429376,"latitude_deg":13.3606376,"altitude":26,"angle":209,"satellites":45,"speed":42,"hex_longitude":"2c8cde00","hex_latitude":"07f6abe8","is_valid_coordinates":true} 
[2026-09-10 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995149824001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8286834386386399232,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789043571000,"timestamp_ms":1789043571000,"timestamp_seconds":1789043571,"priority":1,"record_length":96,"hex_timestamp":"000001a08b4e7938"} 
[2026-09-10 18:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06: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-09-10 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:46] 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-09-10 18:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995149824001,"66":28126,"213":206,"9":54272,"24":42,"16":3893920429768704,"44":-8286834386386399232},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,9,24,16,44]} 
[2026-09-10 18:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995149824001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:46] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 18:06:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8286834386386399232,"description":"Unknown IO ID 44"} 
[2026-09-10 18:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995149824001,"power":28126,"unknown_213":206,"unknown_9":54272,"ignition":42,"odometer":null,"unknown_44":-8286834386386399232}} 
[2026-09-10 18:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":177926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:46] local.INFO: GPS data processed {"connection_id":177926,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:46] local.INFO: Acknowledgment sent {"connection_id":177926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:52] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:52] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:52] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:06:56] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:56] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:56] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:06:56] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:56] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:56] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:06:57] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:57] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:06:57] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:06:59] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b51ff90012d81198005d25ad00006000b28..."} 
[2026-09-10 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b51ff90012d81198005d25ad00006000b28..."} 
[2026-09-10 18:06:59] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b51ff90012d81198005d25ad00006000b28..."} 
[2026-09-10 18:06:59] local.INFO: Packet analysis {"connection_id":176532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:06:59] local.INFO: Extracted packet for processing {"connection_id":176532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763435392,"raw_latitude":97671888,"longitude_deg":76.3435392,"latitude_deg":9.7671888,"altitude":6,"angle":11,"satellites":40,"speed":38,"hex_longitude":"2d811980","hex_latitude":"05d25ad0","is_valid_coordinates":true} 
[2026-09-10 18:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995211008001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130890872102322176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146247868234493952,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789043802000,"timestamp_ms":1789043802000,"timestamp_seconds":1789043802,"priority":1,"record_length":96,"hex_timestamp":"000001a08b51ff90"} 
[2026-09-10 18:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:06:59] 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-09-10 18:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995211008001,"66":12461,"208":206,"85":15104,"24":38,"16":130890872102322176,"45":-9146247868234493952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 18:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995211008001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130890872102322176,"km_value":130890872102322.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146247868234493952,"description":"Unknown IO ID 45"} 
[2026-09-10 18:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995211008001,"power":12461,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9146247868234493952}} 
[2026-09-10 18:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":176532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:06:59] local.INFO: GPS data processed {"connection_id":176532,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:06:59] local.INFO: Acknowledgment sent {"connection_id":176532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:06:59] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b520f30012d811a0005d266480006016128..."} 
[2026-09-10 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b520f30012d811a0005d266480006016128..."} 
[2026-09-10 18:06:59] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b520f30012d811a0005d266480006016128..."} 
[2026-09-10 18:06:59] local.INFO: Packet analysis {"connection_id":176532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:06:59] local.INFO: Extracted packet for processing {"connection_id":176532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763435520,"raw_latitude":97674824,"longitude_deg":76.343552,"latitude_deg":9.7674824,"altitude":6,"angle":353,"satellites":40,"speed":23,"hex_longitude":"2d811a00","hex_latitude":"05d26648","is_valid_coordinates":true} 
[2026-09-10 18:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995213312001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130891018131210240,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144136805906722816,"note":"Value kept but may cause issues"} 
[2026-09-10 18:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789043806000,"timestamp_ms":1789043806000,"timestamp_seconds":1789043806,"priority":1,"record_length":96,"hex_timestamp":"000001a08b520f30"} 
[2026-09-10 18:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:06:59] 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-09-10 18:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995213312001,"66":13526,"208":206,"85":15104,"24":23,"16":130891018131210240,"45":-9144136805906722816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 18:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995213312001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130891018131210240,"km_value":130891018131210.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144136805906722816,"description":"Unknown IO ID 45"} 
[2026-09-10 18:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995213312001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9144136805906722816}} 
[2026-09-10 18:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":176532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:00] local.INFO: GPS data processed {"connection_id":176532,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:00] local.INFO: Acknowledgment sent {"connection_id":176532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:04] local.INFO: TCP Data received {"connection_id":179291,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b510d60012d172ac007226780008200f926..."} 
[2026-09-10 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b510d60012d172ac007226780008200f926..."} 
[2026-09-10 18:07:04] local.INFO: Processing buffer {"connection_id":179291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b510d60012d172ac007226780008200f926..."} 
[2026-09-10 18:07:04] local.INFO: Packet analysis {"connection_id":179291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:04] local.INFO: Extracted packet for processing {"connection_id":179291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756492992,"raw_latitude":119695232,"longitude_deg":75.6492992,"latitude_deg":11.9695232,"altitude":130,"angle":249,"satellites":38,"speed":6,"hex_longitude":"2d172ac0","hex_latitude":"07226780","is_valid_coordinates":true} 
[2026-09-10 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995197184001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349128316190720,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1669498486257070080,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789043740000,"timestamp_ms":1789043740000,"timestamp_seconds":1789043740,"priority":1,"record_length":96,"hex_timestamp":"000001a08b510d60"} 
[2026-09-10 18:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995197184001,"66":13906,"71":206,"28":31744,"24":6,"16":19349128316190720,"45":1669498486257070080},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995197184001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:07:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349128316190720,"km_value":19349128316190.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1669498486257070080,"description":"Unknown IO ID 45"} 
[2026-09-10 18:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995197184001,"power":13906,"unknown_71":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1669498486257070080}} 
[2026-09-10 18:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":179291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:04] local.INFO: GPS data processed {"connection_id":179291,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:04] local.INFO: Acknowledgment sent {"connection_id":179291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:18] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:07:18] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:07:18] local.INFO: IMEI packet received {"connection_id":177927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":177927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:07:19] local.INFO: TCP Data received {"connection_id":177926,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5207600100000000000000000000000000..."} 
[2026-09-10 18:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5207600100000000000000000000000000..."} 
[2026-09-10 18:07:19] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5207600100000000000000000000000000..."} 
[2026-09-10 18:07:19] local.INFO: Packet analysis {"connection_id":177926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:07:19] local.INFO: Extracted packet for processing {"connection_id":177926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:07:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995198976001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8370221348291289088,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789043804000,"timestamp_ms":1789043804000,"timestamp_seconds":1789043804,"priority":1,"record_length":96,"hex_timestamp":"000001a08b520760"} 
[2026-09-10 18:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:07: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-09-10 18:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":177926,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:07:19] local.INFO: GPS data processed {"connection_id":177926,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:07:19] local.INFO: Acknowledgment sent {"connection_id":177926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:21] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:07:21] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:07:21] local.INFO: IMEI packet received {"connection_id":177927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":177927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:22] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b507cd8012cea8940071a7e18001d008a2c..."} 
[2026-09-10 18:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b507cd8012cea8940071a7e18001d008a2c..."} 
[2026-09-10 18:07:22] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b507cd8012cea8940071a7e18001d008a2c..."} 
[2026-09-10 18:07:22] local.INFO: Packet analysis {"connection_id":177927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:07:22] local.INFO: Extracted packet for processing {"connection_id":177927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":753568064,"raw_latitude":119176728,"longitude_deg":75.3568064,"latitude_deg":11.9176728,"altitude":29,"angle":138,"satellites":44,"speed":27,"hex_longitude":"2cea8940","hex_latitude":"071a7e18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995184640001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404522955062640640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1552264097304125440,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789043703000,"timestamp_ms":1789043703000,"timestamp_seconds":1789043703,"priority":1,"record_length":96,"hex_timestamp":"000001a08b507cd8"} 
[2026-09-10 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-09-10 18:07: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-09-10 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":4,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995184640001,"66":27865,"103":206,"83":41216,"24":27,"16":404522955062640640,"44":-1552264097304125440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-10 18:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995184640001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:07:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 18:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404522955062640640,"km_value":404522955062640.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1552264097304125440,"description":"Unknown IO ID 44"} 
[2026-09-10 18:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995184640001,"power":27865,"unknown_103":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1552264097304125440}} 
[2026-09-10 18:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":177927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:22] local.INFO: GPS data processed {"connection_id":177927,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:22] local.INFO: Acknowledgment sent {"connection_id":177927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:26] local.INFO: TCP Data received {"connection_id":176533,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:26] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:26] local.INFO: IMEI packet received {"connection_id":176533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":176533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:07:27] local.INFO: TCP Data received {"connection_id":176533,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:27] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:27] local.INFO: IMEI packet received {"connection_id":176533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":176533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:30] local.INFO: TCP Data received {"connection_id":176533,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:30] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:30] local.INFO: IMEI packet received {"connection_id":176533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":176533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:31] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08b52a3a0012d80eec005d2ade80004013026..."} 
[2026-09-10 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b52a3a0012d80eec005d2ade80004013026..."} 
[2026-09-10 18:07:31] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b52a3a0012d80eec005d2ade80004013026..."} 
[2026-09-10 18:07:31] local.INFO: Packet analysis {"connection_id":176532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:07:31] local.INFO: Extracted packet for processing {"connection_id":176532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763424448,"raw_latitude":97693160,"longitude_deg":76.3424448,"latitude_deg":9.769316,"altitude":4,"angle":304,"satellites":38,"speed":25,"hex_longitude":"2d80eec0","hex_latitude":"05d2ade8","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995223552001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130892173477412864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155184698737399808,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789043844000,"timestamp_ms":1789043844000,"timestamp_seconds":1789043844,"priority":1,"record_length":96,"hex_timestamp":"000001a08b52a3a0"} 
[2026-09-10 18:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:07:31] 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-09-10 18:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995223552001,"66":13254,"208":206,"85":15104,"24":25,"16":130892173477412864,"45":-9155184698737399808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-10 18:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995223552001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:07:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 18:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130892173477412864,"km_value":130892173477412.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155184698737399808,"description":"Unknown IO ID 45"} 
[2026-09-10 18:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995223552001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9155184698737399808}} 
[2026-09-10 18:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":176532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:31] local.INFO: GPS data processed {"connection_id":176532,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:31] local.INFO: Acknowledgment sent {"connection_id":176532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:31] local.INFO: TCP Data received {"connection_id":176533,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:31] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:07:31] local.INFO: IMEI packet received {"connection_id":176533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":176533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:32] local.INFO: TCP Data received {"connection_id":176533,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b51e438012d17088007226d58008d012c2b..."} 
[2026-09-10 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b51e438012d17088007226d58008d012c2b..."} 
[2026-09-10 18:07:32] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b51e438012d17088007226d58008d012c2b..."} 
[2026-09-10 18:07:32] local.INFO: Packet analysis {"connection_id":176533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:32] local.INFO: Extracted packet for processing {"connection_id":176533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756484224,"raw_latitude":119696728,"longitude_deg":75.6484224,"latitude_deg":11.9696728,"altitude":141,"angle":300,"satellites":43,"speed":17,"hex_longitude":"2d170880","hex_latitude":"07226d58","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995209984001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349600762593280,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662320874350884864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789043795000,"timestamp_ms":1789043795000,"timestamp_seconds":1789043795,"priority":1,"record_length":96,"hex_timestamp":"000001a08b51e438"} 
[2026-09-10 18:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18: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-09-10 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995209984001,"66":12374,"71":206,"28":31744,"24":17,"16":19349600762593280,"45":1662320874350884864},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995209984001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:07:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349600762593280,"km_value":19349600762593.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662320874350884864,"description":"Unknown IO ID 45"} 
[2026-09-10 18:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995209984001,"power":12374,"unknown_71":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1662320874350884864}} 
[2026-09-10 18:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":176533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:32] local.INFO: GPS data processed {"connection_id":176533,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:32] local.INFO: Acknowledgment sent {"connection_id":176533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:38] local.INFO: TCP Data received {"connection_id":179292,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:38] local.INFO: Processing buffer {"connection_id":179292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:38] local.INFO: IMEI packet received {"connection_id":179292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":179292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:07:42] local.INFO: TCP Data received {"connection_id":179292,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:42] local.INFO: Processing buffer {"connection_id":179292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:42] local.INFO: IMEI packet received {"connection_id":179292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":179292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:43] local.INFO: TCP Data received {"connection_id":179292,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:43] local.INFO: Processing buffer {"connection_id":179292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:07:43] local.INFO: IMEI packet received {"connection_id":179292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":179292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:44] local.INFO: TCP Data received {"connection_id":179292,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b518a60012c8be54007f32400001600b529..."} 
[2026-09-10 18:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b518a60012c8be54007f32400001600b529..."} 
[2026-09-10 18:07:44] local.INFO: Processing buffer {"connection_id":179292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b518a60012c8be54007f32400001600b529..."} 
[2026-09-10 18:07:44] local.INFO: Packet analysis {"connection_id":179292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:44] local.INFO: Extracted packet for processing {"connection_id":179292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:44] local.INFO: GPS Element Parsed {"raw_longitude":747365696,"raw_latitude":133374976,"longitude_deg":74.7365696,"latitude_deg":13.3374976,"altitude":22,"angle":181,"satellites":41,"speed":40,"hex_longitude":"2c8be540","hex_latitude":"07f32400","is_valid_coordinates":true} 
[2026-09-10 18:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043772000,"timestamp_ms":1789043772000,"timestamp_seconds":1789043772,"priority":1,"record_length":96,"hex_timestamp":"000001a08b518a60"} 
[2026-09-10 18:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"21":206,"9":54272,"24":40,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16]} 
[2026-09-10 18:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:07:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:07:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:07:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_21":206,"unknown_9":54272,"ignition":40,"odometer":null}} 
[2026-09-10 18:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":179292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:44] local.INFO: GPS data processed {"connection_id":179292,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:44] local.INFO: Acknowledgment sent {"connection_id":179292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:49] local.INFO: TCP Data received {"connection_id":179292,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b51dc68012c8be20007f2d578001400b12c..."} 
[2026-09-10 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b51dc68012c8be20007f2d578001400b12c..."} 
[2026-09-10 18:07:49] local.INFO: Processing buffer {"connection_id":179292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b51dc68012c8be20007f2d578001400b12c..."} 
[2026-09-10 18:07:49] local.INFO: Packet analysis {"connection_id":179292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:49] local.INFO: Extracted packet for processing {"connection_id":179292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":747364864,"raw_latitude":133354872,"longitude_deg":74.7364864,"latitude_deg":13.3354872,"altitude":20,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2c8be200","hex_latitude":"07f2d578","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995205632001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8366210329882656768,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789043793000,"timestamp_ms":1789043793000,"timestamp_seconds":1789043793,"priority":1,"record_length":96,"hex_timestamp":"000001a08b51dc68"} 
[2026-09-10 18:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:49] 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-09-10 18: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-09-10 18:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995205632001,"66":28137,"21":206,"9":54272,"24":0,"16":3893920429768704,"44":-8366210329882656768},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-10 18:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995205632001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:07:49] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:07:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8366210329882656768,"description":"Unknown IO ID 44"} 
[2026-09-10 18:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995205632001,"power":28137,"unknown_21":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8366210329882656768}} 
[2026-09-10 18:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":179292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:49] local.INFO: GPS data processed {"connection_id":179292,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:49] local.INFO: Acknowledgment sent {"connection_id":179292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:52] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:52] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:52] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:07:53] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08b509060012cea9300071a74a8001e007f2d..."} 
[2026-09-10 18:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b509060012cea9300071a74a8001e007f2d..."} 
[2026-09-10 18:07:53] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b509060012cea9300071a74a8001e007f2d..."} 
[2026-09-10 18:07:53] local.INFO: Packet analysis {"connection_id":177927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:07:53] local.INFO: Extracted packet for processing {"connection_id":177927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b50"} 
[2026-09-10 18:07:53] local.INFO: GPS Element Parsed {"raw_longitude":753570560,"raw_latitude":119174312,"longitude_deg":75.357056,"latitude_deg":11.9174312,"altitude":30,"angle":127,"satellites":45,"speed":25,"hex_longitude":"2cea9300","hex_latitude":"071a74a8","is_valid_coordinates":true} 
[2026-09-10 18:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995187968001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404523122566365184,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546634597771634688,"note":"Value kept but may cause issues"} 
[2026-09-10 18:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789043708000,"timestamp_ms":1789043708000,"timestamp_seconds":1789043708,"priority":1,"record_length":96,"hex_timestamp":"000001a08b509060"} 
[2026-09-10 18:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:07: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-09-10 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-10 18:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995187968001,"66":27865,"103":206,"83":41216,"24":25,"16":404523122566365184,"44":-1546634597771634688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-10 18:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995187968001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:07:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 18:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404523122566365184,"km_value":404523122566365.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546634597771634688,"description":"Unknown IO ID 44"} 
[2026-09-10 18:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995187968001,"power":27865,"unknown_103":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1546634597771634688}} 
[2026-09-10 18:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":177927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:07:53] local.INFO: GPS data processed {"connection_id":177927,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:07:53] local.INFO: Acknowledgment sent {"connection_id":177927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:07:54] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:54] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:54] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:55] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:55] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:55] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:07:56] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:56] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:07:56] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:08:03] local.INFO: TCP Data received {"connection_id":176533,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b51fba8012d1701c0072270b0008d011b29..."} 
[2026-09-10 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b51fba8012d1701c0072270b0008d011b29..."} 
[2026-09-10 18:08:03] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b51fba8012d1701c0072270b0008d011b29..."} 
[2026-09-10 18:08:03] local.INFO: Packet analysis {"connection_id":176533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:08:03] local.INFO: Extracted packet for processing {"connection_id":176533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b51"} 
[2026-09-10 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756482496,"raw_latitude":119697584,"longitude_deg":75.6482496,"latitude_deg":11.9697584,"altitude":141,"angle":283,"satellites":41,"speed":7,"hex_longitude":"2d1701c0","hex_latitude":"072270b0","is_valid_coordinates":true} 
[2026-09-10 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995211520001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349695251873792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1659717230816745472,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789043801000,"timestamp_ms":1789043801000,"timestamp_seconds":1789043801,"priority":1,"record_length":96,"hex_timestamp":"000001a08b51fba8"} 
[2026-09-10 18:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 18:08:03] 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-09-10 18:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995211520001,"66":11895,"71":206,"28":31744,"24":7,"16":19349695251873792,"45":1659717230816745472},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995211520001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:08:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349695251873792,"km_value":19349695251873.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1659717230816745472,"description":"Unknown IO ID 45"} 
[2026-09-10 18:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995211520001,"power":11895,"unknown_71":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1659717230816745472}} 
[2026-09-10 18:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":176533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:08:03] local.INFO: GPS data processed {"connection_id":176533,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:08:03] local.INFO: Acknowledgment sent {"connection_id":176533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:08:21] local.INFO: TCP Data received {"connection_id":179292,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b52bef80100000000000000000000000000..."} 
[2026-09-10 18:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b52bef80100000000000000000000000000..."} 
[2026-09-10 18:08:21] local.INFO: Processing buffer {"connection_id":179292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b52bef80100000000000000000000000000..."} 
[2026-09-10 18:08:21] local.INFO: Packet analysis {"connection_id":179292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:21] local.INFO: Extracted packet for processing {"connection_id":179292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995211008001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8367125123562113024,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,9,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789043851000,"timestamp_ms":1789043851000,"timestamp_seconds":1789043851,"priority":1,"record_length":96,"hex_timestamp":"000001a08b52bef8"} 
[2026-09-10 18:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":179292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":179292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":179292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":179292,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:08:21] local.INFO: GPS data processed {"connection_id":179292,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:08:21] local.INFO: Acknowledgment sent {"connection_id":179292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:08:23] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:23] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:23] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:08:24] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:24] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:24] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:08:28] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:28] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:08:28] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:08:29] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b52ab70012ceb1040071a39d0002000722b..."} 
[2026-09-10 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b52ab70012ceb1040071a39d0002000722b..."} 
[2026-09-10 18:08:29] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b52ab70012ceb1040071a39d0002000722b..."} 
[2026-09-10 18:08:29] local.INFO: Packet analysis {"connection_id":176752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:29] local.INFO: Extracted packet for processing {"connection_id":176752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":753602624,"raw_latitude":119159248,"longitude_deg":75.3602624,"latitude_deg":11.9159248,"altitude":32,"angle":114,"satellites":43,"speed":9,"hex_longitude":"2ceb1040","hex_latitude":"071a39d0","is_valid_coordinates":true} 
[2026-09-10 18:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995218944001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404524823373414400,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512576125593745408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789043846000,"timestamp_ms":1789043846000,"timestamp_seconds":1789043846,"priority":1,"record_length":96,"hex_timestamp":"000001a08b52ab70"} 
[2026-09-10 18:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 18:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995218944001,"66":27821,"104":206,"83":41216,"24":9,"16":404524823373414400,"44":-1512576125593745408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995218944001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:08:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404524823373414400,"km_value":404524823373414.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512576125593745408,"description":"Unknown IO ID 44"} 
[2026-09-10 18:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995218944001,"power":27821,"unknown_104":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1512576125593745408}} 
[2026-09-10 18:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":176752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:08:29] local.INFO: GPS data processed {"connection_id":176752,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:08:29] local.INFO: Acknowledgment sent {"connection_id":176752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:08:31] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:08:31] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:08:31] local.INFO: IMEI packet received {"connection_id":176753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":176753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:08:33] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:08:33] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:08:33] local.INFO: IMEI packet received {"connection_id":176753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":176753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:08:35] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b520760012d17004007227138008d012928..."} 
[2026-09-10 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b520760012d17004007227138008d012928..."} 
[2026-09-10 18:08:35] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b520760012d17004007227138008d012928..."} 
[2026-09-10 18:08:35] local.INFO: Packet analysis {"connection_id":176753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:35] local.INFO: Extracted packet for processing {"connection_id":176753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756482112,"raw_latitude":119697720,"longitude_deg":75.6482112,"latitude_deg":11.969772,"altitude":141,"angle":297,"satellites":40,"speed":5,"hex_longitude":"2d170040","hex_latitude":"07227138","is_valid_coordinates":true} 
[2026-09-10 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995213056001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349712431742976,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1657817274724167680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789043804000,"timestamp_ms":1789043804000,"timestamp_seconds":1789043804,"priority":1,"record_length":96,"hex_timestamp":"000001a08b520760"} 
[2026-09-10 18:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 18:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995213056001,"66":12319,"71":206,"28":31744,"24":5,"16":19349712431742976,"45":1657817274724167680},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995213056001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349712431742976,"km_value":19349712431742.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1657817274724167680,"description":"Unknown IO ID 45"} 
[2026-09-10 18:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995213056001,"power":12319,"unknown_71":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1657817274724167680}} 
[2026-09-10 18:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":176753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:08:35] local.INFO: GPS data processed {"connection_id":176753,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:08:35] local.INFO: Acknowledgment sent {"connection_id":176753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:08:37] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b521318012d16fe40072271c0008d011428..."} 
[2026-09-10 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b521318012d16fe40072271c0008d011428..."} 
[2026-09-10 18:08:37] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b521318012d16fe40072271c0008d011428..."} 
[2026-09-10 18:08:37] local.INFO: Packet analysis {"connection_id":176753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:37] local.INFO: Extracted packet for processing {"connection_id":176753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756481600,"raw_latitude":119697856,"longitude_deg":75.64816,"latitude_deg":11.9697856,"altitude":141,"angle":276,"satellites":40,"speed":7,"hex_longitude":"2d16fe40","hex_latitude":"072271c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995213824001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349733906579456,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1657395062259136512,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789043807000,"timestamp_ms":1789043807000,"timestamp_seconds":1789043807,"priority":1,"record_length":96,"hex_timestamp":"000001a08b521318"} 
[2026-09-10 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-09-10 18:08: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-09-10 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 18:08: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-09-10 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-09-10 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-09-10 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995213824001,"66":11254,"71":206,"28":31744,"24":7,"16":19349733906579456,"45":1657395062259136512},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995213824001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:08:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349733906579456,"km_value":19349733906579.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1657395062259136512,"description":"Unknown IO ID 45"} 
[2026-09-10 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995213824001,"power":11254,"unknown_71":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1657395062259136512}} 
[2026-09-10 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":176753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:08:37] local.INFO: GPS data processed {"connection_id":176753,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:08:37] local.INFO: Acknowledgment sent {"connection_id":176753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:08:38] local.INFO: TCP Data received {"connection_id":177928,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:08:38] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:08:38] local.INFO: IMEI packet received {"connection_id":177928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":177928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:08:43] local.INFO: TCP Data received {"connection_id":177928,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:08:43] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:08:43] local.INFO: IMEI packet received {"connection_id":177928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":177928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:08:44] local.INFO: TCP Data received {"connection_id":177928,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b524db0012c8c06c007f222400009009c2e..."} 
[2026-09-10 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b524db0012c8c06c007f222400009009c2e..."} 
[2026-09-10 18:08:44] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b524db0012c8c06c007f222400009009c2e..."} 
[2026-09-10 18:08:44] local.INFO: Packet analysis {"connection_id":177928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:44] local.INFO: Extracted packet for processing {"connection_id":177928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":747374272,"raw_latitude":133308992,"longitude_deg":74.7374272,"latitude_deg":13.3308992,"altitude":9,"angle":156,"satellites":46,"speed":58,"hex_longitude":"2c8c06c0","hex_latitude":"07f22240","is_valid_coordinates":true} 
[2026-09-10 18:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:08:44] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,9,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-10 18:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043822000,"timestamp_ms":1789043822000,"timestamp_seconds":1789043822,"priority":1,"record_length":96,"hex_timestamp":"000001a08b524db0"} 
[2026-09-10 18:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:08:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28071,"9":54272,"24":58,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,24,16]} 
[2026-09-10 18:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:08:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:08:44] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":28071,"unknown_9":54272,"ignition":58,"odometer":null}} 
[2026-09-10 18:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":177928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:08:44] local.INFO: GPS data processed {"connection_id":177928,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:08:44] local.INFO: Acknowledgment sent {"connection_id":177928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:09:00] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b52fd78012ceb20c0071a3320001f00702b..."} 
[2026-09-10 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b52fd78012ceb20c0071a3320001f00702b..."} 
[2026-09-10 18:09:00] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b52fd78012ceb20c0071a3320001f00702b..."} 
[2026-09-10 18:09:00] local.INFO: Packet analysis {"connection_id":176752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:00] local.INFO: Extracted packet for processing {"connection_id":176752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":753606848,"raw_latitude":119157536,"longitude_deg":75.3606848,"latitude_deg":11.9157536,"altitude":31,"angle":112,"satellites":43,"speed":10,"hex_longitude":"2ceb20c0","hex_latitude":"071a3320","is_valid_coordinates":true} 
[2026-09-10 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995224576001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404525042416746496,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1508635475920171008,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789043867000,"timestamp_ms":1789043867000,"timestamp_seconds":1789043867,"priority":1,"record_length":96,"hex_timestamp":"000001a08b52fd78"} 
[2026-09-10 18:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:09: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-09-10 18:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995224576001,"66":27876,"104":206,"83":41216,"24":10,"16":404525042416746496,"44":-1508635475920171008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995224576001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:09:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404525042416746496,"km_value":404525042416746.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1508635475920171008,"description":"Unknown IO ID 44"} 
[2026-09-10 18:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995224576001,"power":27876,"unknown_104":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1508635475920171008}} 
[2026-09-10 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":176752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:09:00] local.INFO: GPS data processed {"connection_id":176752,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:09:00] local.INFO: Acknowledgment sent {"connection_id":176752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:09:08] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b521ae8012d16fc80072271d0008d010829..."} 
[2026-09-10 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b521ae8012d16fc80072271d0008d010829..."} 
[2026-09-10 18:09:08] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b521ae8012d16fc80072271d0008d010829..."} 
[2026-09-10 18:09:08] local.INFO: Packet analysis {"connection_id":176753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:08] local.INFO: Extracted packet for processing {"connection_id":176753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756481152,"raw_latitude":119697872,"longitude_deg":75.6481152,"latitude_deg":11.9697872,"altitude":141,"angle":264,"satellites":41,"speed":6,"hex_longitude":"2d16fc80","hex_latitude":"072271d0","is_valid_coordinates":true} 
[2026-09-10 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995214592001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349759676383232,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1656832112305750016,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789043809000,"timestamp_ms":1789043809000,"timestamp_seconds":1789043809,"priority":1,"record_length":96,"hex_timestamp":"000001a08b521ae8"} 
[2026-09-10 18:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:09: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-09-10 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 18:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995214592001,"66":12298,"71":206,"28":31744,"24":6,"16":19349759676383232,"45":1656832112305750016},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995214592001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:09:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349759676383232,"km_value":19349759676383.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1656832112305750016,"description":"Unknown IO ID 45"} 
[2026-09-10 18:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995214592001,"power":12298,"unknown_71":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1656832112305750016}} 
[2026-09-10 18:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":176753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:09:08] local.INFO: GPS data processed {"connection_id":176753,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:09:08] local.INFO: Acknowledgment sent {"connection_id":176753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:09:16] local.INFO: TCP Data received {"connection_id":177928,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b529fb8012c8c274007f1cfc0000b00a52c..."} 
[2026-09-10 18:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b529fb8012c8c274007f1cfc0000b00a52c..."} 
[2026-09-10 18:09:16] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b529fb8012c8c274007f1cfc0000b00a52c..."} 
[2026-09-10 18:09:16] local.INFO: Packet analysis {"connection_id":177928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:16] local.INFO: Extracted packet for processing {"connection_id":177928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:16] local.INFO: GPS Element Parsed {"raw_longitude":747382592,"raw_latitude":133287872,"longitude_deg":74.7382592,"latitude_deg":13.3287872,"altitude":11,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2c8c2740","hex_latitude":"07f1cfc0","is_valid_coordinates":true} 
[2026-09-10 18:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995218432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8356780918179741696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789043843000,"timestamp_ms":1789043843000,"timestamp_seconds":1789043843,"priority":1,"record_length":96,"hex_timestamp":"000001a08b529fb8"} 
[2026-09-10 18:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 18:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995218432001,"66":28104,"61":206,"9":54272,"24":0,"16":3893920429768704,"44":-8356780918179741696},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,9,24,16,44]} 
[2026-09-10 18:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995218432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:09:16] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-10 18:09:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:09:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8356780918179741696,"description":"Unknown IO ID 44"} 
[2026-09-10 18:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995218432001,"power":28104,"unknown_61":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8356780918179741696}} 
[2026-09-10 18:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":177928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:09:16] local.INFO: GPS data processed {"connection_id":177928,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:09:16] local.INFO: Acknowledgment sent {"connection_id":177928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:09:18] local.INFO: TCP Data received {"connection_id":179293,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:09:18] local.INFO: Processing buffer {"connection_id":179293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:09:18] local.INFO: IMEI packet received {"connection_id":179293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":179293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:09:26] local.INFO: TCP Data received {"connection_id":179294,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:09:26] local.INFO: Processing buffer {"connection_id":179294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:09:26] local.INFO: IMEI packet received {"connection_id":179294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":179294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:09:32] local.INFO: TCP Data received {"connection_id":179294,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:09:32] local.INFO: Processing buffer {"connection_id":179294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:09:32] local.INFO: IMEI packet received {"connection_id":179294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":179294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:09:33] local.INFO: TCP Data received {"connection_id":179293,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:09:33] local.INFO: Processing buffer {"connection_id":179293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:09:33] local.INFO: IMEI packet received {"connection_id":179293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":179293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:09:33] local.INFO: TCP Data received {"connection_id":179294,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5226a0012d16fa40072271f0008c011628..."} 
[2026-09-10 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5226a0012d16fa40072271f0008c011628..."} 
[2026-09-10 18:09:33] local.INFO: Processing buffer {"connection_id":179294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5226a0012d16fa40072271f0008c011628..."} 
[2026-09-10 18:09:33] local.INFO: Packet analysis {"connection_id":179294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:33] local.INFO: Extracted packet for processing {"connection_id":179294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756480576,"raw_latitude":119697904,"longitude_deg":75.6480576,"latitude_deg":11.9697904,"altitude":140,"angle":278,"satellites":40,"speed":8,"hex_longitude":"2d16fa40","hex_latitude":"072271f0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995215104001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349785446187008,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1656339531096510464,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789043812000,"timestamp_ms":1789043812000,"timestamp_seconds":1789043812,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5226a0"} 
[2026-09-10 18:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":514083293005414678,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049200235008,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3674937295934324737,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8407739639742523624,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324837629956,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":141,"raw_value":81675022464188416,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3133943275044929742,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3221693030,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3355520279,"corrected_to":0} 
[2026-09-10 18:09:33] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3191603200,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,71,28,24,241,158,16,190,160,19,45,64,113,141,40,10,66,7,251,192,1,240,119,139,34,4,205,17,204,184,43,239,48,2,68],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0},{"io_id":204,"original":3355520279,"validated":0}]} 
[2026-09-10 18:09:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-8286332867197927424,"timestamp_seconds":-8286332867197927.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995215104001,"66":12265,"71":206,"28":31744,"24":8,"16":19349785446187008,"45":1656339531096510464},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995215104001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:09:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349785446187008,"km_value":19349785446187.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1656339531096510464,"description":"Unknown IO ID 45"} 
[2026-09-10 18:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995215104001,"power":12265,"unknown_71":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1656339531096510464}} 
[2026-09-10 18:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":179294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:09:33] local.INFO: GPS data processed {"connection_id":179294,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:09:33] local.INFO: Acknowledgment sent {"connection_id":179294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:09:33] local.INFO: TCP Data received {"connection_id":179293,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179293,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 18:09:33] local.INFO: Processing buffer {"connection_id":179293,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 18:09:33] local.INFO: IMEI packet received {"connection_id":179293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":179293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:09:38] local.INFO: TCP Data received {"connection_id":176535,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:09:38] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:09:38] local.INFO: IMEI packet received {"connection_id":176535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":176535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:09:43] local.INFO: TCP Data received {"connection_id":176535,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:09:43] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:09:43] local.INFO: IMEI packet received {"connection_id":176535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":176535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:09:44] local.INFO: TCP Data received {"connection_id":176535,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5382480100000000000000000000000000..."} 
[2026-09-10 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5382480100000000000000000000000000..."} 
[2026-09-10 18:09:44] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5382480100000000000000000000000000..."} 
[2026-09-10 18:09:44] local.INFO: Packet analysis {"connection_id":176535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:09:44] local.INFO: Extracted packet for processing {"connection_id":176535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995223808001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8347632981442052096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043901000,"timestamp_ms":1789043901000,"timestamp_seconds":1789043901,"priority":1,"record_length":96,"hex_timestamp":"000001a08b538248"} 
[2026-09-10 18:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:09:44] 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-09-10 18:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":176535,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:09:44] local.INFO: GPS data processed {"connection_id":176535,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:09:44] local.INFO: Acknowledgment sent {"connection_id":176535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:10:05] local.INFO: TCP Data received {"connection_id":179294,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5278a8012d16f90007227260008c011627..."} 
[2026-09-10 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5278a8012d16f90007227260008c011627..."} 
[2026-09-10 18:10:05] local.INFO: Processing buffer {"connection_id":179294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5278a8012d16f90007227260008c011627..."} 
[2026-09-10 18:10:05] local.INFO: Packet analysis {"connection_id":179294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:10:05] local.INFO: Extracted packet for processing {"connection_id":179294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756480256,"raw_latitude":119698016,"longitude_deg":75.6480256,"latitude_deg":11.9698016,"altitude":140,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d16f900","hex_latitude":"07227260","is_valid_coordinates":true} 
[2026-09-10 18:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995215872001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349802626056192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655706212398919680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789043833000,"timestamp_ms":1789043833000,"timestamp_seconds":1789043833,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5278a8"} 
[2026-09-10 18:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:10: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-09-10 18:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995215872001,"66":12232,"71":206,"28":31744,"24":0,"16":19349802626056192,"45":1655706212398919680},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995215872001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:10:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349802626056192,"km_value":19349802626056.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655706212398919680,"description":"Unknown IO ID 45"} 
[2026-09-10 18:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995215872001,"power":12232,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1655706212398919680}} 
[2026-09-10 18:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":179294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:10:05] local.INFO: GPS data processed {"connection_id":179294,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:10:05] local.INFO: Acknowledgment sent {"connection_id":179294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:10:15] local.INFO: TCP Data received {"connection_id":176535,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b530d18012c8c5b4007f12d60000f00aa2b..."} 
[2026-09-10 18:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b530d18012c8c5b4007f12d60000f00aa2b..."} 
[2026-09-10 18:10:15] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b530d18012c8c5b4007f12d60000f00aa2b..."} 
[2026-09-10 18:10:15] local.INFO: Packet analysis {"connection_id":176535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:10:15] local.INFO: Extracted packet for processing {"connection_id":176535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":747395904,"raw_latitude":133246304,"longitude_deg":74.7395904,"latitude_deg":13.3246304,"altitude":15,"angle":170,"satellites":43,"speed":55,"hex_longitude":"2c8c5b40","hex_latitude":"07f12d60","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789043871000,"timestamp_ms":1789043871000,"timestamp_seconds":1789043871,"priority":1,"record_length":96,"hex_timestamp":"000001a08b530d18"} 
[2026-09-10 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-09-10 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"21":206,"9":54272,"24":55,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16]} 
[2026-09-10 18:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:10:15] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:10:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:10:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_21":206,"unknown_9":54272,"ignition":55,"odometer":null}} 
[2026-09-10 18:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":176535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:10:15] local.INFO: GPS data processed {"connection_id":176535,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:10:15] local.INFO: Acknowledgment sent {"connection_id":176535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:10:26] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:10:26] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:10:26] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:10:31] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:10:31] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:10:31] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:10:33] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b52cab0012d16f90007227260008c011626..."} 
[2026-09-10 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b52cab0012d16f90007227260008c011626..."} 
[2026-09-10 18:10:33] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b52cab0012d16f90007227260008c011626..."} 
[2026-09-10 18:10:33] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:10:33] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b52"} 
[2026-09-10 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756480256,"raw_latitude":119698016,"longitude_deg":75.6480256,"latitude_deg":11.9698016,"altitude":140,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d16f900","hex_latitude":"07227260","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995221248001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349802626056192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655354368678060032,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789043854000,"timestamp_ms":1789043854000,"timestamp_seconds":1789043854,"priority":1,"record_length":96,"hex_timestamp":"000001a08b52cab0"} 
[2026-09-10 18:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:10:33] 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-09-10 18: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-09-10 18:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995221248001,"66":12287,"71":206,"28":31744,"24":0,"16":19349802626056192,"45":1655354368678060032},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995221248001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:10:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:10:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349802626056192,"km_value":19349802626056.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655354368678060032,"description":"Unknown IO ID 45"} 
[2026-09-10 18:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995221248001,"power":12287,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1655354368678060032}} 
[2026-09-10 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:10:33] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:10:33] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:10:38] local.INFO: TCP Data received {"connection_id":179295,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:10:38] local.INFO: Processing buffer {"connection_id":179295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:10:38] local.INFO: IMEI packet received {"connection_id":179295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":179295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:10:43] local.INFO: TCP Data received {"connection_id":179295,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:10:43] local.INFO: Processing buffer {"connection_id":179295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:10:43] local.INFO: IMEI packet received {"connection_id":179295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":179295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:10:44] local.INFO: TCP Data received {"connection_id":179295,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b534b98012c8c5a8007f0d4d8000b00b92c..."} 
[2026-09-10 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b534b98012c8c5a8007f0d4d8000b00b92c..."} 
[2026-09-10 18:10:44] local.INFO: Processing buffer {"connection_id":179295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b534b98012c8c5a8007f0d4d8000b00b92c..."} 
[2026-09-10 18:10:44] local.INFO: Packet analysis {"connection_id":179295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:10:44] local.INFO: Extracted packet for processing {"connection_id":179295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:10:44] local.INFO: GPS Element Parsed {"raw_longitude":747395712,"raw_latitude":133223640,"longitude_deg":74.7395712,"latitude_deg":13.322364,"altitude":11,"angle":185,"satellites":44,"speed":56,"hex_longitude":"2c8c5a80","hex_latitude":"07f0d4d8","is_valid_coordinates":true} 
[2026-09-10 18:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995230976001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8332996282663739392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043887000,"timestamp_ms":1789043887000,"timestamp_seconds":1789043887,"priority":1,"record_length":96,"hex_timestamp":"000001a08b534b98"} 
[2026-09-10 18:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 18:10:44] 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-09-10 18:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995230976001,"66":27767,"21":206,"9":54272,"24":56,"16":3893920429768704,"44":-8332996282663739392},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-10 18:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995230976001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:10:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:10:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:10:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8332996282663739392,"description":"Unknown IO ID 44"} 
[2026-09-10 18:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995230976001,"power":27767,"unknown_21":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8332996282663739392}} 
[2026-09-10 18:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":179295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:10:44] local.INFO: GPS data processed {"connection_id":179295,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:10:44] local.INFO: Acknowledgment sent {"connection_id":179295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:11:04] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b531cb8012d16f90007227260008c011628..."} 
[2026-09-10 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b531cb8012d16f90007227260008c011628..."} 
[2026-09-10 18:11:04] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b531cb8012d16f90007227260008c011628..."} 
[2026-09-10 18:11:04] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:11:04] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756480256,"raw_latitude":119698016,"longitude_deg":75.6480256,"latitude_deg":11.9698016,"altitude":140,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d16f900","hex_latitude":"07227260","is_valid_coordinates":true} 
[2026-09-10 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995226624001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349802626056192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655354368678060032,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789043875000,"timestamp_ms":1789043875000,"timestamp_seconds":1789043875,"priority":1,"record_length":96,"hex_timestamp":"000001a08b531cb8"} 
[2026-09-10 18:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 18:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995226624001,"66":12298,"71":206,"28":31744,"24":0,"16":19349802626056192,"45":1655354368678060032},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995226624001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349802626056192,"km_value":19349802626056.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655354368678060032,"description":"Unknown IO ID 45"} 
[2026-09-10 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995226624001,"power":12298,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1655354368678060032}} 
[2026-09-10 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:11:04] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:11:04] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:11:16] local.INFO: TCP Data received {"connection_id":179295,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b539da0012c8c52c007f07e50000900b92d..."} 
[2026-09-10 18:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b539da0012c8c52c007f07e50000900b92d..."} 
[2026-09-10 18:11:16] local.INFO: Processing buffer {"connection_id":179295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b539da0012c8c52c007f07e50000900b92d..."} 
[2026-09-10 18:11:16] local.INFO: Packet analysis {"connection_id":179295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:11:16] local.INFO: Extracted packet for processing {"connection_id":179295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:11:16] local.INFO: GPS Element Parsed {"raw_longitude":747393728,"raw_latitude":133201488,"longitude_deg":74.7393728,"latitude_deg":13.3201488,"altitude":9,"angle":185,"satellites":45,"speed":0,"hex_longitude":"2c8c52c0","hex_latitude":"07f07e50","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995235072001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8333207388902074368,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789043908000,"timestamp_ms":1789043908000,"timestamp_seconds":1789043908,"priority":1,"record_length":96,"hex_timestamp":"000001a08b539da0"} 
[2026-09-10 18:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 18:11: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-09-10 18: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-09-10 18:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995235072001,"66":28137,"21":206,"9":54272,"24":0,"16":3893920429768704,"44":-8333207388902074368},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-10 18:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995235072001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:11:16] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:11:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:11:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8333207388902074368,"description":"Unknown IO ID 44"} 
[2026-09-10 18:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995235072001,"power":28137,"unknown_21":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8333207388902074368}} 
[2026-09-10 18:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":179295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:11:16] local.INFO: GPS data processed {"connection_id":179295,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:11:16] local.INFO: Acknowledgment sent {"connection_id":179295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:11:26] local.INFO: TCP Data received {"connection_id":176537,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:11:26] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:11:26] local.INFO: IMEI packet received {"connection_id":176537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":176537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:11:31] local.INFO: TCP Data received {"connection_id":176537,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:11:31] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:11:31] local.INFO: IMEI packet received {"connection_id":176537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":176537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:11:33] local.INFO: TCP Data received {"connection_id":176537,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b536ec0012d16f90007227260008c011628..."} 
[2026-09-10 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b536ec0012d16f90007227260008c011628..."} 
[2026-09-10 18:11:33] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b536ec0012d16f90007227260008c011628..."} 
[2026-09-10 18:11:33] local.INFO: Packet analysis {"connection_id":176537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:11:33] local.INFO: Extracted packet for processing {"connection_id":176537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756480256,"raw_latitude":119698016,"longitude_deg":75.6480256,"latitude_deg":11.9698016,"altitude":140,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d16f900","hex_latitude":"07227260","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995232000001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349802626056192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655354368678060032,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789043896000,"timestamp_ms":1789043896000,"timestamp_seconds":1789043896,"priority":1,"record_length":96,"hex_timestamp":"000001a08b536ec0"} 
[2026-09-10 18:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049066017280,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":190,"raw_value":8502796096475496449,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8407662330331195647,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":45057,"corrected_to":0} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122447057102,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":192,"raw_value":514097208699453723,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":43,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3195731968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":141,"raw_value":83642048632061952,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.WARNING: Large IO value detected {"io_id":41,"raw_value":1970324837629956,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,71,28,24,241,158,16,190,160,202,45,114,140,38,10,66,120,39,64,1,240,233,139,34,4,113,205,6,19,254,192,40,239,43,2,68,7,141,41],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":202,"original":45057,"validated":0},{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-09-10 18:11:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-8358375072368427008,"timestamp_seconds":-8358375072368427.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995232000001,"66":12363,"71":206,"28":31744,"24":0,"16":19349802626056192,"45":1655354368678060032},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995232000001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:11:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349802626056192,"km_value":19349802626056.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655354368678060032,"description":"Unknown IO ID 45"} 
[2026-09-10 18:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995232000001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1655354368678060032}} 
[2026-09-10 18:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":176537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:11:33] local.INFO: GPS data processed {"connection_id":176537,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:11:33] local.INFO: Acknowledgment sent {"connection_id":176537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:11:38] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:11:38] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:11:38] local.INFO: IMEI packet received {"connection_id":177930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":177930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:11:43] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:11:43] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:11:43] local.INFO: IMEI packet received {"connection_id":177930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":177930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:11:44] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5480300100000000000000000000000000..."} 
[2026-09-10 18:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5480300100000000000000000000000000..."} 
[2026-09-10 18:11:44] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5480300100000000000000000000000000..."} 
[2026-09-10 18:11:44] local.INFO: Packet analysis {"connection_id":177930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:11:44] local.INFO: Extracted packet for processing {"connection_id":177930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:11:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995240448001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8335388819977252864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043966000,"timestamp_ms":1789043966000,"timestamp_seconds":1789043966,"priority":1,"record_length":96,"hex_timestamp":"000001a08b548030"} 
[2026-09-10 18:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":177930,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:11:44] local.INFO: GPS data processed {"connection_id":177930,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:11:44] local.INFO: Acknowledgment sent {"connection_id":177930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:12:04] local.INFO: TCP Data received {"connection_id":176537,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b53c0c8012d16f90007227260008c011629..."} 
[2026-09-10 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b53c0c8012d16f90007227260008c011629..."} 
[2026-09-10 18:12:04] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b53c0c8012d16f90007227260008c011629..."} 
[2026-09-10 18:12:04] local.INFO: Packet analysis {"connection_id":176537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:12:04] local.INFO: Extracted packet for processing {"connection_id":176537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b53"} 
[2026-09-10 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756480256,"raw_latitude":119698016,"longitude_deg":75.6480256,"latitude_deg":11.9698016,"altitude":140,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d16f900","hex_latitude":"07227260","is_valid_coordinates":true} 
[2026-09-10 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995237376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19349802626056192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655354368678060032,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789043917000,"timestamp_ms":1789043917000,"timestamp_seconds":1789043917,"priority":1,"record_length":96,"hex_timestamp":"000001a08b53c0c8"} 
[2026-09-10 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-10 18:12:04] 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-09-10 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995237376001,"66":12341,"71":206,"28":31744,"24":0,"16":19349802626056192,"45":1655354368678060032},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-09-10 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995237376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19349802626056192,"km_value":19349802626056.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655354368678060032,"description":"Unknown IO ID 45"} 
[2026-09-10 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995237376001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1655354368678060032}} 
[2026-09-10 18:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":176537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:12:04] local.INFO: GPS data processed {"connection_id":176537,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:12:04] local.INFO: Acknowledgment sent {"connection_id":176537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:12:15] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b540b00012c8c4bc007efdd28000b00a830..."} 
[2026-09-10 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b540b00012c8c4bc007efdd28000b00a830..."} 
[2026-09-10 18:12:15] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b540b00012c8c4bc007efdd28000b00a830..."} 
[2026-09-10 18:12:15] local.INFO: Packet analysis {"connection_id":177930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:12:15] local.INFO: Extracted packet for processing {"connection_id":177930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":747391936,"raw_latitude":133160232,"longitude_deg":74.7391936,"latitude_deg":13.3160232,"altitude":11,"angle":168,"satellites":48,"speed":33,"hex_longitude":"2c8c4bc0","hex_latitude":"07efdd28","is_valid_coordinates":true} 
[2026-09-10 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789043936000,"timestamp_ms":1789043936000,"timestamp_seconds":1789043936,"priority":1,"record_length":96,"hex_timestamp":"000001a08b540b00"} 
[2026-09-10 18:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:12:15] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"21":206,"9":54272,"24":33,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16]} 
[2026-09-10 18:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:12:15] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:12:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:12:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_21":206,"unknown_9":54272,"ignition":33,"odometer":null}} 
[2026-09-10 18:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":177930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:12:15] local.INFO: GPS data processed {"connection_id":177930,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:12:15] local.INFO: Acknowledgment sent {"connection_id":177930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:12:24] local.INFO: TCP Data received {"connection_id":179296,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:24] local.INFO: Processing buffer {"connection_id":179296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:24] local.INFO: IMEI packet received {"connection_id":179296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":179296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:12:26] local.INFO: TCP Data received {"connection_id":179296,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:26] local.INFO: Processing buffer {"connection_id":179296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:26] local.INFO: IMEI packet received {"connection_id":179296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":179296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:12:27] local.INFO: TCP Data received {"connection_id":179296,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:27] local.INFO: Processing buffer {"connection_id":179296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:27] local.INFO: IMEI packet received {"connection_id":179296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":179296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:12:28] local.INFO: TCP Data received {"connection_id":179296,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:28] local.INFO: Processing buffer {"connection_id":179296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:12:28] local.INFO: IMEI packet received {"connection_id":179296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":179296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:12:38] local.INFO: TCP Data received {"connection_id":176538,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:38] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:38] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:12:40] local.INFO: TCP Data received {"connection_id":176538,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:40] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:40] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:12:43] local.INFO: TCP Data received {"connection_id":176538,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:43] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:12:43] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:12:44] local.INFO: TCP Data received {"connection_id":176538,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b545d08012c8c660007efa460001200902e..."} 
[2026-09-10 18:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b545d08012c8c660007efa460001200902e..."} 
[2026-09-10 18:12:44] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b545d08012c8c660007efa460001200902e..."} 
[2026-09-10 18:12:44] local.INFO: Packet analysis {"connection_id":176538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:12:44] local.INFO: Extracted packet for processing {"connection_id":176538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:12:44] local.INFO: GPS Element Parsed {"raw_longitude":747398656,"raw_latitude":133145696,"longitude_deg":74.7398656,"latitude_deg":13.3145696,"altitude":18,"angle":144,"satellites":46,"speed":31,"hex_longitude":"2c8c6600","hex_latitude":"07efa460","is_valid_coordinates":true} 
[2026-09-10 18:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995247616001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8337359144824788992,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043957000,"timestamp_ms":1789043957000,"timestamp_seconds":1789043957,"priority":1,"record_length":96,"hex_timestamp":"000001a08b545d08"} 
[2026-09-10 18:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:12:44] 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-09-10 18:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995247616001,"66":28104,"21":206,"9":54272,"24":31,"16":3893920429768704,"44":-8337359144824788992},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-10 18:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995247616001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:12:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:12:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8337359144824788992,"description":"Unknown IO ID 44"} 
[2026-09-10 18:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995247616001,"power":28104,"unknown_21":206,"unknown_9":54272,"ignition":31,"odometer":null,"unknown_44":-8337359144824788992}} 
[2026-09-10 18:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":176538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:12:44] local.INFO: GPS data processed {"connection_id":176538,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:12:44] local.INFO: Acknowledgment sent {"connection_id":176538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:12:49] local.INFO: TCP Data received {"connection_id":176538,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b545d08012c8c660007efa460001200902e..."} 
[2026-09-10 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b545d08012c8c660007efa460001200902e..."} 
[2026-09-10 18:12:49] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b545d08012c8c660007efa460001200902e..."} 
[2026-09-10 18:12:49] local.INFO: Packet analysis {"connection_id":176538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:12:49] local.INFO: Extracted packet for processing {"connection_id":176538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:12:49] local.INFO: GPS Element Parsed {"raw_longitude":747398656,"raw_latitude":133145696,"longitude_deg":74.7398656,"latitude_deg":13.3145696,"altitude":18,"angle":144,"satellites":46,"speed":31,"hex_longitude":"2c8c6600","hex_latitude":"07efa460","is_valid_coordinates":true} 
[2026-09-10 18:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995252992001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8329970426689855488,"note":"Value kept but may cause issues"} 
[2026-09-10 18:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789043957000,"timestamp_ms":1789043957000,"timestamp_seconds":1789043957,"priority":1,"record_length":96,"hex_timestamp":"000001a08b545d08"} 
[2026-09-10 18:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:12:49] 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-09-10 18:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995252992001,"66":28104,"21":206,"9":54272,"24":31,"16":3893920429768704,"44":-8329970426689855488},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-10 18:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995252992001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:12:49] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 18:12:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8329970426689855488,"description":"Unknown IO ID 44"} 
[2026-09-10 18:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995252992001,"power":28104,"unknown_21":206,"unknown_9":54272,"ignition":31,"odometer":null,"unknown_44":-8329970426689855488}} 
[2026-09-10 18:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":176538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:12:49] local.INFO: GPS data processed {"connection_id":176538,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:12:49] local.INFO: Acknowledgment sent {"connection_id":176538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:13:23] local.INFO: TCP Data received {"connection_id":176538,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b54af10012c8c90c007ef6780001500922e..."} 
[2026-09-10 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b54af10012c8c90c007ef6780001500922e..."} 
[2026-09-10 18:13:23] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b54af10012c8c90c007ef6780001500922e..."} 
[2026-09-10 18:13:23] local.INFO: Packet analysis {"connection_id":176538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:13:23] local.INFO: Extracted packet for processing {"connection_id":176538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b54"} 
[2026-09-10 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":747409600,"raw_latitude":133130112,"longitude_deg":74.74096,"latitude_deg":13.3130112,"altitude":21,"angle":146,"satellites":46,"speed":0,"hex_longitude":"2c8c90c0","hex_latitude":"07ef6780","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995252992001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:13:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8329970426689855488,"note":"Value kept but may cause issues"} 
[2026-09-10 18:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789043978000,"timestamp_ms":1789043978000,"timestamp_seconds":1789043978,"priority":1,"record_length":96,"hex_timestamp":"000001a08b54af10"} 
[2026-09-10 18:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:13: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-09-10 18: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:13:23] 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-09-10 18:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995252992001,"66":28202,"17":206,"9":54272,"24":0,"16":3893920429768704,"44":-8329970426689855488},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,9,24,16,44]} 
[2026-09-10 18:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995252992001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:13:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:13:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8329970426689855488,"description":"Unknown IO ID 44"} 
[2026-09-10 18:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995252992001,"power":28202,"axis_x":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8329970426689855488}} 
[2026-09-10 18:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":176538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:13:23] local.INFO: GPS data processed {"connection_id":176538,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:13:23] local.INFO: Acknowledgment sent {"connection_id":176538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:13:38] local.INFO: TCP Data received {"connection_id":176759,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:13:38] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:13:38] local.INFO: IMEI packet received {"connection_id":176759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":176759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:13:43] local.INFO: TCP Data received {"connection_id":176759,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:13:43] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:13:43] local.INFO: IMEI packet received {"connection_id":176759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":176759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:13:44] local.INFO: TCP Data received {"connection_id":176759,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b550118012c8cbe8007ef2410001300922f..."} 
[2026-09-10 18:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b550118012c8cbe8007ef2410001300922f..."} 
[2026-09-10 18:13:44] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b550118012c8cbe8007ef2410001300922f..."} 
[2026-09-10 18:13:44] local.INFO: Packet analysis {"connection_id":176759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:13:44] local.INFO: Extracted packet for processing {"connection_id":176759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:13:44] local.INFO: GPS Element Parsed {"raw_longitude":747421312,"raw_latitude":133112848,"longitude_deg":74.7421312,"latitude_deg":13.3112848,"altitude":19,"angle":146,"satellites":47,"speed":0,"hex_longitude":"2c8cbe80","hex_latitude":"07ef2410","is_valid_coordinates":true} 
[2026-09-10 18:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995258368001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8317937371439464448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789043999000,"timestamp_ms":1789043999000,"timestamp_seconds":1789043999,"priority":1,"record_length":96,"hex_timestamp":"000001a08b550118"} 
[2026-09-10 18:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 18:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995258368001,"66":28191,"17":206,"9":54272,"24":0,"16":3893920429768704,"44":-8317937371439464448},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,9,24,16,44]} 
[2026-09-10 18:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995258368001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:13:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8317937371439464448,"description":"Unknown IO ID 44"} 
[2026-09-10 18:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995258368001,"power":28191,"axis_x":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8317937371439464448}} 
[2026-09-10 18:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":176759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:13:44] local.INFO: GPS data processed {"connection_id":176759,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:13:44] local.INFO: Acknowledgment sent {"connection_id":176759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:14:15] local.INFO: TCP Data received {"connection_id":176759,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b55e3a80100000000000000000000000000..."} 
[2026-09-10 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b55e3a80100000000000000000000000000..."} 
[2026-09-10 18:14:15] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b55e3a80100000000000000000000000000..."} 
[2026-09-10 18:14:15] local.INFO: Packet analysis {"connection_id":176759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:14:15] local.INFO: Extracted packet for processing {"connection_id":176759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:14: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-09-10 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995263744001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8305059891259371520,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789044057000,"timestamp_ms":1789044057000,"timestamp_seconds":1789044057,"priority":1,"record_length":96,"hex_timestamp":"000001a08b55e3a8"} 
[2026-09-10 18:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 18:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":176759,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:14:15] local.INFO: GPS data processed {"connection_id":176759,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:14:15] local.INFO: Acknowledgment sent {"connection_id":176759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:14:34] local.INFO: TCP Data received {"connection_id":179297,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:14:34] local.INFO: Processing buffer {"connection_id":179297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:14:34] local.INFO: IMEI packet received {"connection_id":179297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":179297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:14:34] local.INFO: TCP Data received {"connection_id":179297,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b579928012cebdac007194348001e014829..."} 
[2026-09-10 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b579928012cebdac007194348001e014829..."} 
[2026-09-10 18:14:34] local.INFO: Processing buffer {"connection_id":179297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b579928012cebdac007194348001e014829..."} 
[2026-09-10 18:14:34] local.INFO: Packet analysis {"connection_id":179297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b57"} 
[2026-09-10 18:14:34] local.INFO: Extracted packet for processing {"connection_id":179297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b57"} 
[2026-09-10 18:14:34] local.INFO: GPS Element Parsed {"raw_longitude":753654464,"raw_latitude":119096136,"longitude_deg":75.3654464,"latitude_deg":11.9096136,"altitude":30,"angle":328,"satellites":41,"speed":25,"hex_longitude":"2cebdac0","hex_latitude":"07194348","is_valid_coordinates":true} 
[2026-09-10 18:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995305984001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404531523522396160,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1448822043386050560,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789044169000,"timestamp_ms":1789044169000,"timestamp_seconds":1789044169,"priority":1,"record_length":96,"hex_timestamp":"000001a08b579928"} 
[2026-09-10 18:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 18:14: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-09-10 18:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:14: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-09-10 18:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995305984001,"66":27691,"136":206,"83":41216,"24":25,"16":404531523522396160,"44":-1448822043386050560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-10 18:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995305984001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:14:34] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-10 18:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404531523522396160,"km_value":404531523522396.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1448822043386050560,"description":"Unknown IO ID 44"} 
[2026-09-10 18:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995305984001,"power":27691,"unknown_136":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1448822043386050560}} 
[2026-09-10 18:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":179297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:14:34] local.INFO: GPS data processed {"connection_id":179297,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:14:34] local.INFO: Acknowledgment sent {"connection_id":179297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:14:38] local.INFO: TCP Data received {"connection_id":176539,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:38] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:38] local.INFO: IMEI packet received {"connection_id":176539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":176539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:14:38] local.INFO: TCP Data received {"connection_id":176539,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:38] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:38] local.INFO: IMEI packet received {"connection_id":176539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":176539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:14:42] local.INFO: TCP Data received {"connection_id":176539,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:42] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:14:42] local.INFO: IMEI packet received {"connection_id":176539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":176539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:14:43] local.INFO: TCP Data received {"connection_id":176539,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b580a70012c8d924007eb5e60000e00982d..."} 
[2026-09-10 18:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b580a70012c8d924007eb5e60000e00982d..."} 
[2026-09-10 18:14:43] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b580a70012c8d924007eb5e60000e00982d..."} 
[2026-09-10 18:14:43] local.INFO: Packet analysis {"connection_id":176539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b58"} 
[2026-09-10 18:14:43] local.INFO: Extracted packet for processing {"connection_id":176539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b58"} 
[2026-09-10 18:14:43] local.INFO: GPS Element Parsed {"raw_longitude":747475520,"raw_latitude":132865632,"longitude_deg":74.747552,"latitude_deg":13.2865632,"altitude":14,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2c8d9240","hex_latitude":"07eb5e60","is_valid_coordinates":true} 
[2026-09-10 18:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995309312001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8254746239232679936,"note":"Value kept but may cause issues"} 
[2026-09-10 18:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789044198000,"timestamp_ms":1789044198000,"timestamp_seconds":1789044198,"priority":1,"record_length":96,"hex_timestamp":"000001a08b580a70"} 
[2026-09-10 18:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 18:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995309312001,"66":28234,"189":206,"9":54272,"24":0,"16":3893920429768704,"44":-8254746239232679936},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-10 18:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995309312001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:14:43] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 18:14:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8254746239232679936,"description":"Unknown IO ID 44"} 
[2026-09-10 18:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995309312001,"power":28234,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8254746239232679936}} 
[2026-09-10 18:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":176539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:14:43] local.INFO: GPS data processed {"connection_id":176539,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:14:43] local.INFO: Acknowledgment sent {"connection_id":176539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:15:14] local.INFO: TCP Data received {"connection_id":176539,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b585c78012c8d924007eb5e60000e00982d..."} 
[2026-09-10 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b585c78012c8d924007eb5e60000e00982d..."} 
[2026-09-10 18:15:14] local.INFO: Processing buffer {"connection_id":176539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b585c78012c8d924007eb5e60000e00982d..."} 
[2026-09-10 18:15:14] local.INFO: Packet analysis {"connection_id":176539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b58"} 
[2026-09-10 18:15:14] local.INFO: Extracted packet for processing {"connection_id":176539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b58"} 
[2026-09-10 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":747475520,"raw_latitude":132865632,"longitude_deg":74.747552,"latitude_deg":13.2865632,"altitude":14,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2c8d9240","hex_latitude":"07eb5e60","is_valid_coordinates":true} 
[2026-09-10 18:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995314688001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8245457565004177408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789044219000,"timestamp_ms":1789044219000,"timestamp_seconds":1789044219,"priority":1,"record_length":96,"hex_timestamp":"000001a08b585c78"} 
[2026-09-10 18:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 18:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995314688001,"66":28234,"189":206,"9":54272,"24":0,"16":3893920429768704,"44":-8245457565004177408},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-10 18:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995314688001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:15:14] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 18:15:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:15:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8245457565004177408,"description":"Unknown IO ID 44"} 
[2026-09-10 18:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995314688001,"power":28234,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8245457565004177408}} 
[2026-09-10 18:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":176539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:15:14] local.INFO: GPS data processed {"connection_id":176539,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:15:14] local.INFO: Acknowledgment sent {"connection_id":176539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:15:16] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:16] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:16] local.INFO: IMEI packet received {"connection_id":176760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":176760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:15:19] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:19] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:19] local.INFO: IMEI packet received {"connection_id":176760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":176760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:15:24] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:24] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:15:24] local.INFO: IMEI packet received {"connection_id":176760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":176760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:15:24] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b57cfd8012cebc90007196388001f014e2c..."} 
[2026-09-10 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b57cfd8012cebc90007196388001f014e2c..."} 
[2026-09-10 18:15:24] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b57cfd8012cebc90007196388001f014e2c..."} 
[2026-09-10 18:15:24] local.INFO: Packet analysis {"connection_id":176760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b57"} 
[2026-09-10 18:15:24] local.INFO: Extracted packet for processing {"connection_id":176760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b57"} 
[2026-09-10 18:15:24] local.INFO: GPS Element Parsed {"raw_longitude":753649920,"raw_latitude":119104392,"longitude_deg":75.364992,"latitude_deg":11.9104392,"altitude":31,"angle":334,"satellites":44,"speed":34,"hex_longitude":"2cebc900","hex_latitude":"07196388","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995307264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404531978788929536,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1451636793152419840,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044183000,"timestamp_ms":1789044183000,"timestamp_seconds":1789044183,"priority":1,"record_length":96,"hex_timestamp":"000001a08b57cfd8"} 
[2026-09-10 18:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 18:15:24] 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-09-10 18: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-09-10 18:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995307264001,"66":27767,"136":206,"83":41216,"24":34,"16":404531978788929536,"44":-1451636793152419840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-10 18:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995307264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:15:24] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-10 18:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404531978788929536,"km_value":404531978788929.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1451636793152419840,"description":"Unknown IO ID 44"} 
[2026-09-10 18:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995307264001,"power":27767,"unknown_136":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1451636793152419840}} 
[2026-09-10 18:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":176760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:15:24] local.INFO: GPS data processed {"connection_id":176760,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:15:24] local.INFO: Acknowledgment sent {"connection_id":176760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:15:38] local.INFO: TCP Data received {"connection_id":176541,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:15:38] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:15:38] local.INFO: IMEI packet received {"connection_id":176541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":176541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:15:43] local.INFO: TCP Data received {"connection_id":176541,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:15:43] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:15:43] local.INFO: IMEI packet received {"connection_id":176541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":176541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:15:45] local.INFO: TCP Data received {"connection_id":176541,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b593f080100000000000000000000000000..."} 
[2026-09-10 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b593f080100000000000000000000000000..."} 
[2026-09-10 18:15:45] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b593f080100000000000000000000000000..."} 
[2026-09-10 18:15:45] local.INFO: Packet analysis {"connection_id":176541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:15:45] local.INFO: Extracted packet for processing {"connection_id":176541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995320064001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8245457565004177408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789044277000,"timestamp_ms":1789044277000,"timestamp_seconds":1789044277,"priority":1,"record_length":96,"hex_timestamp":"000001a08b593f08"} 
[2026-09-10 18:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:15: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":176541,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:15:45] local.INFO: GPS data processed {"connection_id":176541,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:15:45] local.INFO: Acknowledgment sent {"connection_id":176541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:15:55] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b57feb8012cebb840071982e00020014829..."} 
[2026-09-10 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b57feb8012cebb840071982e00020014829..."} 
[2026-09-10 18:15:55] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b57feb8012cebb840071982e00020014829..."} 
[2026-09-10 18:15:55] local.INFO: Packet analysis {"connection_id":176760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b57"} 
[2026-09-10 18:15:55] local.INFO: Extracted packet for processing {"connection_id":176760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b57"} 
[2026-09-10 18:15:55] local.INFO: GPS Element Parsed {"raw_longitude":753645632,"raw_latitude":119112416,"longitude_deg":75.3645632,"latitude_deg":11.9112416,"altitude":32,"angle":328,"satellites":41,"speed":35,"hex_longitude":"2cebb840","hex_latitude":"071982e0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995310848001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404532416875593728,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1456632973986920448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044195000,"timestamp_ms":1789044195000,"timestamp_seconds":1789044195,"priority":1,"record_length":96,"hex_timestamp":"000001a08b57feb8"} 
[2026-09-10 18:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 18:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995310848001,"66":27821,"136":206,"83":41216,"24":35,"16":404532416875593728,"44":-1456632973986920448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-10 18:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995310848001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:15:55] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-10 18:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404532416875593728,"km_value":404532416875593.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1456632973986920448,"description":"Unknown IO ID 44"} 
[2026-09-10 18:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995310848001,"power":27821,"unknown_136":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1456632973986920448}} 
[2026-09-10 18:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":176760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:15:55] local.INFO: GPS data processed {"connection_id":176760,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:15:55] local.INFO: Acknowledgment sent {"connection_id":176760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:02] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:02] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:02] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:16:07] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:07] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:07] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:16:08] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b55f730012d80b50005d36b98000600672b..."} 
[2026-09-10 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b55f730012d80b50005d36b98000600672b..."} 
[2026-09-10 18:16:08] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b55f730012d80b50005d36b98000600672b..."} 
[2026-09-10 18:16:08] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:16:08] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763409664,"raw_latitude":97741720,"longitude_deg":76.3409664,"latitude_deg":9.774172,"altitude":6,"angle":103,"satellites":43,"speed":10,"hex_longitude":"2d80b500","hex_latitude":"05d36b98","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895330278375424,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776884769136640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789044062000,"timestamp_ms":1789044062000,"timestamp_seconds":1789044062,"priority":1,"record_length":96,"hex_timestamp":"000001a08b55f730"} 
[2026-09-10 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-09-10 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995279616001,"66":12982,"207":206,"85":15104,"24":10,"16":130895330278375424,"45":-9172776884769136640},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895330278375424,"km_value":130895330278375.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776884769136640,"description":"Unknown IO ID 45"} 
[2026-09-10 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995279616001,"power":12982,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9172776884769136640}} 
[2026-09-10 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:08] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:08] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:12] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b55ff00012d80b6c005d36b40000500542b..."} 
[2026-09-10 18:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b55ff00012d80b6c005d36b40000500542b..."} 
[2026-09-10 18:16:12] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b55ff00012d80b6c005d36b40000500542b..."} 
[2026-09-10 18:16:12] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:16:12] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b55"} 
[2026-09-10 18:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763410112,"raw_latitude":97741632,"longitude_deg":76.3410112,"latitude_deg":9.7741632,"altitude":5,"angle":84,"satellites":43,"speed":9,"hex_longitude":"2d80b6c0","hex_latitude":"05d36b40","is_valid_coordinates":true} 
[2026-09-10 18:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995279872001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895351753211904,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172425041048266752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789044064000,"timestamp_ms":1789044064000,"timestamp_seconds":1789044064,"priority":1,"record_length":96,"hex_timestamp":"000001a08b55ff00"} 
[2026-09-10 18:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":182,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995279872001,"66":13559,"207":206,"85":15104,"24":9,"16":130895351753211904,"45":-9172425041048266752},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995279872001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895351753211904,"km_value":130895351753211.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172425041048266752,"description":"Unknown IO ID 45"} 
[2026-09-10 18:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995279872001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9172425041048266752}} 
[2026-09-10 18:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:13] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:13] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:16] local.INFO: TCP Data received {"connection_id":176541,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b58be20012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b58be20012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:16] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b58be20012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:16] local.INFO: Packet analysis {"connection_id":176541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b58"} 
[2026-09-10 18:16:16] local.INFO: Extracted packet for processing {"connection_id":176541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b58"} 
[2026-09-10 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":747479808,"raw_latitude":132857088,"longitude_deg":74.7479808,"latitude_deg":13.2857088,"altitude":17,"angle":157,"satellites":46,"speed":5,"hex_longitude":"2c8da300","hex_latitude":"07eb3d00","is_valid_coordinates":true} 
[2026-09-10 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,189,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789044244000,"timestamp_ms":1789044244000,"timestamp_seconds":1789044244,"priority":1,"record_length":96,"hex_timestamp":"000001a08b58be20"} 
[2026-09-10 18:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"189":206,"9":54272,"24":5,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16]} 
[2026-09-10 18:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:16] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 18:16:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_189":206,"unknown_9":54272,"ignition":5,"odometer":null}} 
[2026-09-10 18:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":176541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:16] local.INFO: GPS data processed {"connection_id":176541,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:16] local.INFO: Acknowledgment sent {"connection_id":176541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:17] local.INFO: TCP Data received {"connection_id":179299,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:17] local.INFO: Processing buffer {"connection_id":179299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:17] local.INFO: IMEI packet received {"connection_id":179299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":179299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:16:17] local.INFO: TCP Data received {"connection_id":179299,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:17] local.INFO: Processing buffer {"connection_id":179299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:17] local.INFO: IMEI packet received {"connection_id":179299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":179299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:16:18] local.INFO: TCP Data received {"connection_id":179299,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:18] local.INFO: Processing buffer {"connection_id":179299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:18] local.INFO: IMEI packet received {"connection_id":179299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":179299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:16:24] local.INFO: TCP Data received {"connection_id":179299,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:24] local.INFO: Processing buffer {"connection_id":179299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:16:24] local.INFO: IMEI packet received {"connection_id":179299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":179299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:16:24] local.INFO: TCP Data received {"connection_id":179299,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b59df30012ceb0440071a3ea80021013629..."} 
[2026-09-10 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b59df30012ceb0440071a3ea80021013629..."} 
[2026-09-10 18:16:24] local.INFO: Processing buffer {"connection_id":179299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b59df30012ceb0440071a3ea80021013629..."} 
[2026-09-10 18:16:24] local.INFO: Packet analysis {"connection_id":179299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:16:24] local.INFO: Extracted packet for processing {"connection_id":179299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:16:24] local.INFO: GPS Element Parsed {"raw_longitude":753599552,"raw_latitude":119160488,"longitude_deg":75.3599552,"latitude_deg":11.9160488,"altitude":33,"angle":310,"satellites":41,"speed":9,"hex_longitude":"2ceb0440","hex_latitude":"071a3ea8","is_valid_coordinates":true} 
[2026-09-10 18:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995344896001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535779834986496,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511590963175378944,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044318000,"timestamp_ms":1789044318000,"timestamp_seconds":1789044318,"priority":1,"record_length":96,"hex_timestamp":"000001a08b59df30"} 
[2026-09-10 18:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995344896001,"66":27680,"104":206,"83":41216,"24":9,"16":404535779834986496,"44":-1511590963175378944},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995344896001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535779834986496,"km_value":404535779834986.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511590963175378944,"description":"Unknown IO ID 44"} 
[2026-09-10 18:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995344896001,"power":27680,"unknown_104":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1511590963175378944}} 
[2026-09-10 18:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":179299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:24] local.INFO: GPS data processed {"connection_id":179299,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:24] local.INFO: Acknowledgment sent {"connection_id":179299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:43] local.INFO: TCP Data received {"connection_id":176544,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:16:43] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:16:43] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:16:48] local.INFO: TCP Data received {"connection_id":176544,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:16:48] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:16:48] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:16:49] local.INFO: TCP Data received {"connection_id":176544,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b591028012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b591028012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:49] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b591028012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:49] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:16:49] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":747479808,"raw_latitude":132857088,"longitude_deg":74.7479808,"latitude_deg":13.2857088,"altitude":17,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c8da300","hex_latitude":"07eb3d00","is_valid_coordinates":true} 
[2026-09-10 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995326464001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8240742859146461184,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789044265000,"timestamp_ms":1789044265000,"timestamp_seconds":1789044265,"priority":1,"record_length":96,"hex_timestamp":"000001a08b591028"} 
[2026-09-10 18:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:49] 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-09-10 18:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995326464001,"66":28202,"189":206,"9":54272,"24":0,"16":3893920429768704,"44":-8240742859146461184},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-10 18:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995326464001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:49] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 18:16:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8240742859146461184,"description":"Unknown IO ID 44"} 
[2026-09-10 18:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995326464001,"power":28202,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8240742859146461184}} 
[2026-09-10 18:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:49] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:49] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:50] local.INFO: TCP Data received {"connection_id":176544,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b596230012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b596230012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:50] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b596230012c8da30007eb3d000011009d2e..."} 
[2026-09-10 18:16:50] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:16:50] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:16:50] local.INFO: GPS Element Parsed {"raw_longitude":747479808,"raw_latitude":132857088,"longitude_deg":74.7479808,"latitude_deg":13.2857088,"altitude":17,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c8da300","hex_latitude":"07eb3d00","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995331840001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8240742859146461184,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789044286000,"timestamp_ms":1789044286000,"timestamp_seconds":1789044286,"priority":1,"record_length":96,"hex_timestamp":"000001a08b596230"} 
[2026-09-10 18:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:16: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-09-10 18: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995331840001,"66":28202,"189":206,"9":54272,"24":0,"16":3893920429768704,"44":-8240742859146461184},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-10 18:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995331840001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:50] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 18:16:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8240742859146461184,"description":"Unknown IO ID 44"} 
[2026-09-10 18:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995331840001,"power":28202,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8240742859146461184}} 
[2026-09-10 18:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:50] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:50] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:52] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:52] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:52] local.INFO: IMEI packet received {"connection_id":177932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":177932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:16:55] local.INFO: TCP Data received {"connection_id":179299,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a2d50012ceb0640071a3e90002101352a..."} 
[2026-09-10 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a2d50012ceb0640071a3e90002101352a..."} 
[2026-09-10 18:16:55] local.INFO: Processing buffer {"connection_id":179299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a2d50012ceb0640071a3e90002101352a..."} 
[2026-09-10 18:16:55] local.INFO: Packet analysis {"connection_id":179299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:16:55] local.INFO: Extracted packet for processing {"connection_id":179299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:16:55] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995345408001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512013175640381440,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044338000,"timestamp_ms":1789044338000,"timestamp_seconds":1789044338,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a2d50"} 
[2026-09-10 18:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:16: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-09-10 18:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:55] 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-09-10 18:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995345408001,"66":27745,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1512013175640381440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995345408001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512013175640381440,"description":"Unknown IO ID 44"} 
[2026-09-10 18:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995345408001,"power":27745,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1512013175640381440}} 
[2026-09-10 18:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":179299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:55] local.INFO: GPS data processed {"connection_id":179299,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:55] local.INFO: Acknowledgment sent {"connection_id":179299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:16:57] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:57] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:16:57] local.INFO: IMEI packet received {"connection_id":177932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":177932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:16:58] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5602e8012d80b7c005d36b80000500442b..."} 
[2026-09-10 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5602e8012d80b7c005d36b80000500442b..."} 
[2026-09-10 18:16:58] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5602e8012d80b7c005d36b80000500442b..."} 
[2026-09-10 18:16:58] local.INFO: Packet analysis {"connection_id":177932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:16:58] local.INFO: Extracted packet for processing {"connection_id":177932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763410368,"raw_latitude":97741696,"longitude_deg":76.3410368,"latitude_deg":9.7741696,"altitude":5,"angle":68,"satellites":43,"speed":9,"hex_longitude":"2d80b7c0","hex_latitude":"05d36b80","is_valid_coordinates":true} 
[2026-09-10 18:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995280384001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895364638113792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171932459839045632,"note":"Value kept but may cause issues"} 
[2026-09-10 18:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044065000,"timestamp_ms":1789044065000,"timestamp_seconds":1789044065,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5602e8"} 
[2026-09-10 18:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 18:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995280384001,"66":13406,"207":206,"85":15104,"24":9,"16":130895364638113792,"45":-9171932459839045632},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995280384001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:16:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895364638113792,"km_value":130895364638113.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171932459839045632,"description":"Unknown IO ID 45"} 
[2026-09-10 18:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995280384001,"power":13406,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9171932459839045632}} 
[2026-09-10 18:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":177932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:16:58] local.INFO: GPS data processed {"connection_id":177932,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:16:58] local.INFO: Acknowledgment sent {"connection_id":177932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:18] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:17:18] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:17:18] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:17:22] local.INFO: TCP Data received {"connection_id":176544,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b59b438012c8db18007eb1968001500a12d..."} 
[2026-09-10 18:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b59b438012c8db18007eb1968001500a12d..."} 
[2026-09-10 18:17:22] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b59b438012c8db18007eb1968001500a12d..."} 
[2026-09-10 18:17:22] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:17:22] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b59"} 
[2026-09-10 18:17:22] local.INFO: GPS Element Parsed {"raw_longitude":747483520,"raw_latitude":132847976,"longitude_deg":74.748352,"latitude_deg":13.2847976,"altitude":21,"angle":161,"satellites":45,"speed":5,"hex_longitude":"2c8db180","hex_latitude":"07eb1968","is_valid_coordinates":true} 
[2026-09-10 18:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995337216001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8240742859146461184,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789044307000,"timestamp_ms":1789044307000,"timestamp_seconds":1789044307,"priority":1,"record_length":96,"hex_timestamp":"000001a08b59b438"} 
[2026-09-10 18:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17: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-09-10 18:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995337216001,"66":28028,"189":206,"9":54272,"24":5,"16":3893920429768704,"44":-8240742859146461184},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-10 18:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995337216001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:22] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 18:17:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8240742859146461184,"description":"Unknown IO ID 44"} 
[2026-09-10 18:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995337216001,"power":28028,"unknown_189":206,"unknown_9":54272,"ignition":5,"odometer":null,"unknown_44":-8240742859146461184}} 
[2026-09-10 18:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:22] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:22] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:24] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:17:24] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:17:24] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:17:24] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:17:24] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:17:24] local.INFO: Packet analysis {"connection_id":176545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:24] local.INFO: Extracted packet for processing {"connection_id":176545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:24] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":176545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:24] local.INFO: GPS data processed {"connection_id":176545,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:24] local.INFO: Acknowledgment sent {"connection_id":176545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:29] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5606d0012d80b88005d36c10000500352b..."} 
[2026-09-10 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5606d0012d80b88005d36c10000500352b..."} 
[2026-09-10 18:17:29] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5606d0012d80b88005d36c10000500352b..."} 
[2026-09-10 18:17:29] local.INFO: Packet analysis {"connection_id":177932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:17:29] local.INFO: Extracted packet for processing {"connection_id":177932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763410560,"raw_latitude":97741840,"longitude_deg":76.341056,"latitude_deg":9.774184,"altitude":5,"angle":53,"satellites":43,"speed":9,"hex_longitude":"2d80b880","hex_latitude":"05d36c10","is_valid_coordinates":true} 
[2026-09-10 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995280640001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895377523015680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171650984862318592,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044066000,"timestamp_ms":1789044066000,"timestamp_seconds":1789044066,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5606d0"} 
[2026-09-10 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995280640001,"66":13406,"207":206,"85":15104,"24":9,"16":130895377523015680,"45":-9171650984862318592},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995280640001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895377523015680,"km_value":130895377523015.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171650984862318592,"description":"Unknown IO ID 45"} 
[2026-09-10 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995280640001,"power":13406,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9171650984862318592}} 
[2026-09-10 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":177932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:29] local.INFO: GPS data processed {"connection_id":177932,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:29] local.INFO: Acknowledgment sent {"connection_id":177932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:30] local.INFO: TCP Data received {"connection_id":176761,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:17:30] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:17:30] local.INFO: IMEI packet received {"connection_id":176761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":176761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:17:31] local.INFO: TCP Data received {"connection_id":176761,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a92e0012d17ac800721a2c8004b008c28..."} 
[2026-09-10 18:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a92e0012d17ac800721a2c8004b008c28..."} 
[2026-09-10 18:17:31] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a92e0012d17ac800721a2c8004b008c28..."} 
[2026-09-10 18:17:31] local.INFO: Packet analysis {"connection_id":176761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:31] local.INFO: Extracted packet for processing {"connection_id":176761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756526208,"raw_latitude":119644872,"longitude_deg":75.6526208,"latitude_deg":11.9644872,"altitude":75,"angle":140,"satellites":40,"speed":8,"hex_longitude":"2d17ac80","hex_latitude":"0721a2c8","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19354114773221376,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705597652007415808,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789044364000,"timestamp_ms":1789044364000,"timestamp_seconds":1789044364,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a92e0"} 
[2026-09-10 18:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:31] 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-09-10 18: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-09-10 18:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995356672001,"66":13624,"122":206,"28":31744,"24":8,"16":19354114773221376,"45":1705597652007415808},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19354114773221376,"km_value":19354114773221.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705597652007415808,"description":"Unknown IO ID 45"} 
[2026-09-10 18:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995356672001,"power":13624,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1705597652007415808}} 
[2026-09-10 18:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":176761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:31] local.INFO: GPS data processed {"connection_id":176761,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:31] local.INFO: Acknowledgment sent {"connection_id":176761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:38] local.INFO: TCP Data received {"connection_id":176762,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:17:38] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:17:38] local.INFO: IMEI packet received {"connection_id":176762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":176762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:17:46] local.INFO: TCP Data received {"connection_id":176762,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:17:46] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:17:46] local.INFO: IMEI packet received {"connection_id":176762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":176762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:17:47] local.INFO: TCP Data received {"connection_id":176762,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a0640012c8db18007eb1968001500a12d..."} 
[2026-09-10 18:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a0640012c8db18007eb1968001500a12d..."} 
[2026-09-10 18:17:47] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a0640012c8db18007eb1968001500a12d..."} 
[2026-09-10 18:17:47] local.INFO: Packet analysis {"connection_id":176762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:47] local.INFO: Extracted packet for processing {"connection_id":176762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:47] local.INFO: GPS Element Parsed {"raw_longitude":747483520,"raw_latitude":132847976,"longitude_deg":74.748352,"latitude_deg":13.2847976,"altitude":21,"angle":161,"satellites":45,"speed":0,"hex_longitude":"2c8db180","hex_latitude":"07eb1968","is_valid_coordinates":true} 
[2026-09-10 18:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995342592001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8236661471986489344,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789044328000,"timestamp_ms":1789044328000,"timestamp_seconds":1789044328,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a0640"} 
[2026-09-10 18:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995342592001,"66":28224,"189":206,"9":54272,"24":0,"16":3893920429768704,"44":-8236661471986489344},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-10 18:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995342592001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:47] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-10 18:17:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8236661471986489344,"description":"Unknown IO ID 44"} 
[2026-09-10 18:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995342592001,"power":28224,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8236661471986489344}} 
[2026-09-10 18:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":176762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:47] local.INFO: GPS data processed {"connection_id":176762,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:47] local.INFO: Acknowledgment sent {"connection_id":176762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:49] local.INFO: TCP Data received {"connection_id":176762,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a5848012c8dc08007eae728001600a72e..."} 
[2026-09-10 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a5848012c8dc08007eae728001600a72e..."} 
[2026-09-10 18:17:49] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a5848012c8dc08007eae728001600a72e..."} 
[2026-09-10 18:17:49] local.INFO: Packet analysis {"connection_id":176762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:49] local.INFO: Extracted packet for processing {"connection_id":176762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":747487360,"raw_latitude":132835112,"longitude_deg":74.748736,"latitude_deg":13.2835112,"altitude":22,"angle":167,"satellites":46,"speed":0,"hex_longitude":"2c8dc080","hex_latitude":"07eae728","is_valid_coordinates":true} 
[2026-09-10 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995347968001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8236661471986489344,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789044349000,"timestamp_ms":1789044349000,"timestamp_seconds":1789044349,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a5848"} 
[2026-09-10 18:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995347968001,"66":28104,"188":206,"9":54272,"24":0,"16":3893920429768704,"44":-8236661471986489344},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-10 18:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995347968001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:49] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 18:17:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8236661471986489344,"description":"Unknown IO ID 44"} 
[2026-09-10 18:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995347968001,"power":28104,"unknown_188":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8236661471986489344}} 
[2026-09-10 18:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":176762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:49] local.INFO: GPS data processed {"connection_id":176762,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:49] local.INFO: Acknowledgment sent {"connection_id":176762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:52] local.INFO: TCP Data received {"connection_id":176546,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:17:52] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:17:52] local.INFO: IMEI packet received {"connection_id":176546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":176546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:17:55] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:17:55] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:17:55] local.INFO: Packet analysis {"connection_id":176545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:55] local.INFO: Extracted packet for processing {"connection_id":176545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:17:55] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":176545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:55] local.INFO: GPS data processed {"connection_id":176545,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:55] local.INFO: Acknowledgment sent {"connection_id":176545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:17:57] local.INFO: TCP Data received {"connection_id":176546,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:17:57] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:17:57] local.INFO: IMEI packet received {"connection_id":176546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":176546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:17:58] local.INFO: TCP Data received {"connection_id":176546,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b560ea0012d80ba0005d36d900004002a2c..."} 
[2026-09-10 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b560ea0012d80ba0005d36d900004002a2c..."} 
[2026-09-10 18:17:58] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b560ea0012d80ba0005d36d900004002a2c..."} 
[2026-09-10 18:17:58] local.INFO: Packet analysis {"connection_id":176546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:17:58] local.INFO: Extracted packet for processing {"connection_id":176546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763410944,"raw_latitude":97742224,"longitude_deg":76.3410944,"latitude_deg":9.7742224,"altitude":4,"angle":42,"satellites":44,"speed":11,"hex_longitude":"2d80ba00","hex_latitude":"05d36d90","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995280896001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895403292819456,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171439878629748736,"note":"Value kept but may cause issues"} 
[2026-09-10 18:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044068000,"timestamp_ms":1789044068000,"timestamp_seconds":1789044068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b560ea0"} 
[2026-09-10 18:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":94,"data_length":795,"current_offset":136} 
[2026-09-10 18:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995280896001,"66":13689,"207":206,"85":15104,"24":11,"16":130895403292819456,"45":-9171439878629748736},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995280896001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:17:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895403292819456,"km_value":130895403292819.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171439878629748736,"description":"Unknown IO ID 45"} 
[2026-09-10 18:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995280896001,"power":13689,"unknown_207":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9171439878629748736}} 
[2026-09-10 18:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":176546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:17:58] local.INFO: GPS data processed {"connection_id":176546,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:17:58] local.INFO: Acknowledgment sent {"connection_id":176546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:02] local.INFO: TCP Data received {"connection_id":176761,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5bb7d8012d17f88007218328004c00692c..."} 
[2026-09-10 18:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5bb7d8012d17f88007218328004c00692c..."} 
[2026-09-10 18:18:02] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5bb7d8012d17f88007218328004c00692c..."} 
[2026-09-10 18:18:02] local.INFO: Packet analysis {"connection_id":176761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:02] local.INFO: Extracted packet for processing {"connection_id":176761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756545664,"raw_latitude":119636776,"longitude_deg":75.6545664,"latitude_deg":11.9636776,"altitude":76,"angle":105,"satellites":44,"speed":5,"hex_longitude":"2d17f880","hex_latitude":"07218328","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995376128001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19355184220078080,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727060118979438592,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789044439000,"timestamp_ms":1789044439000,"timestamp_seconds":1789044439,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5bb7d8"} 
[2026-09-10 18:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18: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-09-10 18: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995376128001,"66":13961,"122":206,"28":31744,"24":5,"16":19355184220078080,"45":1727060118979438592},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995376128001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:02] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:18:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19355184220078080,"km_value":19355184220078.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727060118979438592,"description":"Unknown IO ID 45"} 
[2026-09-10 18:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995376128001,"power":13961,"unknown_122":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1727060118979438592}} 
[2026-09-10 18:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":176761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:02] local.INFO: GPS data processed {"connection_id":176761,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:02] local.INFO: Acknowledgment sent {"connection_id":176761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:19] local.INFO: TCP Data received {"connection_id":177933,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:18:19] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:18:19] local.INFO: IMEI packet received {"connection_id":177933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":177933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:18:21] local.INFO: TCP Data received {"connection_id":176762,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5b3ad80100000000000000000000000000..."} 
[2026-09-10 18:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5b3ad80100000000000000000000000000..."} 
[2026-09-10 18:18:21] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5b3ad80100000000000000000000000000..."} 
[2026-09-10 18:18:21] local.INFO: Packet analysis {"connection_id":176762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:21] local.INFO: Extracted packet for processing {"connection_id":176762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995353344001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8232439347339122688,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789044407000,"timestamp_ms":1789044407000,"timestamp_seconds":1789044407,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5b3ad8"} 
[2026-09-10 18:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:21] 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-09-10 18:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":176762,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:18:21] local.INFO: GPS data processed {"connection_id":176762,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:18:21] local.INFO: Acknowledgment sent {"connection_id":176762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:23] local.INFO: TCP Data received {"connection_id":177933,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:18:23] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:18:23] local.INFO: IMEI packet received {"connection_id":177933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":177933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:18:24] local.INFO: TCP Data received {"connection_id":177933,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:18:24] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:18:24] local.INFO: Packet analysis {"connection_id":177933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:18:24] local.INFO: Extracted packet for processing {"connection_id":177933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:18:24] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":177933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:24] local.INFO: GPS data processed {"connection_id":177933,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:24] local.INFO: Acknowledgment sent {"connection_id":177933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:26] local.INFO: TCP Data received {"connection_id":176763,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:18:26] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:18:26] local.INFO: IMEI packet received {"connection_id":176763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":176763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:18:29] local.INFO: TCP Data received {"connection_id":176546,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b561e40012d80bd0005d370c0000400442b..."} 
[2026-09-10 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b561e40012d80bd0005d370c0000400442b..."} 
[2026-09-10 18:18:29] local.INFO: Processing buffer {"connection_id":176546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b561e40012d80bd0005d370c0000400442b..."} 
[2026-09-10 18:18:29] local.INFO: Packet analysis {"connection_id":176546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:18:29] local.INFO: Extracted packet for processing {"connection_id":176546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763411712,"raw_latitude":97743040,"longitude_deg":76.3411712,"latitude_deg":9.774304,"altitude":4,"angle":68,"satellites":43,"speed":9,"hex_longitude":"2d80bd00","hex_latitude":"05d370c0","is_valid_coordinates":true} 
[2026-09-10 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995281408001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895459127394304,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171017666164584448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044072000,"timestamp_ms":1789044072000,"timestamp_seconds":1789044072,"priority":1,"record_length":96,"hex_timestamp":"000001a08b561e40"} 
[2026-09-10 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995281408001,"66":13374,"207":206,"85":15104,"24":9,"16":130895459127394304,"45":-9171017666164584448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995281408001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895459127394304,"km_value":130895459127394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171017666164584448,"description":"Unknown IO ID 45"} 
[2026-09-10 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995281408001,"power":13374,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9171017666164584448}} 
[2026-09-10 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":176546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:29] local.INFO: GPS data processed {"connection_id":176546,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:29] local.INFO: Acknowledgment sent {"connection_id":176546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:32] local.INFO: TCP Data received {"connection_id":176763,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:18:32] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:18:32] local.INFO: IMEI packet received {"connection_id":176763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":176763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:18:33] local.INFO: TCP Data received {"connection_id":176763,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5bbbc0012d17f90007218310004b005a2c..."} 
[2026-09-10 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5bbbc0012d17f90007218310004b005a2c..."} 
[2026-09-10 18:18:33] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5bbbc0012d17f90007218310004b005a2c..."} 
[2026-09-10 18:18:33] local.INFO: Packet analysis {"connection_id":176763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:33] local.INFO: Extracted packet for processing {"connection_id":176763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756545792,"raw_latitude":119636752,"longitude_deg":75.6545792,"latitude_deg":11.9636752,"altitude":75,"angle":90,"satellites":44,"speed":6,"hex_longitude":"2d17f900","hex_latitude":"07218310","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995376384001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19355192810012672,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727271225211955200,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789044440000,"timestamp_ms":1789044440000,"timestamp_seconds":1789044440,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5bbbc0"} 
[2026-09-10 18:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995376384001,"66":13961,"122":206,"28":31744,"24":6,"16":19355192810012672,"45":1727271225211955200},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995376384001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:18:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19355192810012672,"km_value":19355192810012.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727271225211955200,"description":"Unknown IO ID 45"} 
[2026-09-10 18:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995376384001,"power":13961,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1727271225211955200}} 
[2026-09-10 18:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":176763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:33] local.INFO: GPS data processed {"connection_id":176763,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:33] local.INFO: Acknowledgment sent {"connection_id":176763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:39] local.INFO: TCP Data received {"connection_id":179300,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:18:39] local.INFO: Processing buffer {"connection_id":179300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:18:39] local.INFO: IMEI packet received {"connection_id":179300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":179300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:18:45] local.INFO: TCP Data received {"connection_id":179300,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:18:45] local.INFO: Processing buffer {"connection_id":179300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:18:45] local.INFO: IMEI packet received {"connection_id":179300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":179300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:18:47] local.INFO: TCP Data received {"connection_id":179300,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5aae38012c8dd00007eaadb0001200a52e..."} 
[2026-09-10 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5aae38012c8dd00007eaadb0001200a52e..."} 
[2026-09-10 18:18:47] local.INFO: Processing buffer {"connection_id":179300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5aae38012c8dd00007eaadb0001200a52e..."} 
[2026-09-10 18:18:47] local.INFO: Packet analysis {"connection_id":179300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:18:47] local.INFO: Extracted packet for processing {"connection_id":179300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":747491328,"raw_latitude":132820400,"longitude_deg":74.7491328,"latitude_deg":13.28204,"altitude":18,"angle":165,"satellites":46,"speed":33,"hex_longitude":"2c8dd000","hex_latitude":"07eaadb0","is_valid_coordinates":true} 
[2026-09-10 18:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789044371000,"timestamp_ms":1789044371000,"timestamp_seconds":1789044371,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5aae38"} 
[2026-09-10 18:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":179300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":179300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":179300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"188":206,"9":54272,"24":33,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16]} 
[2026-09-10 18:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:47] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 18:18:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_188":206,"unknown_9":54272,"ignition":33,"odometer":null}} 
[2026-09-10 18:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":179300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:47] local.INFO: GPS data processed {"connection_id":179300,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:47] local.INFO: Acknowledgment sent {"connection_id":179300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:49] local.INFO: TCP Data received {"connection_id":179300,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5b0040012c8dde0007ea70a8000d00ad2d..."} 
[2026-09-10 18:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5b0040012c8dde0007ea70a8000d00ad2d..."} 
[2026-09-10 18:18:49] local.INFO: Processing buffer {"connection_id":179300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5b0040012c8dde0007ea70a8000d00ad2d..."} 
[2026-09-10 18:18:49] local.INFO: Packet analysis {"connection_id":179300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:49] local.INFO: Extracted packet for processing {"connection_id":179300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:18:49] local.INFO: GPS Element Parsed {"raw_longitude":747494912,"raw_latitude":132804776,"longitude_deg":74.7494912,"latitude_deg":13.2804776,"altitude":13,"angle":173,"satellites":45,"speed":0,"hex_longitude":"2c8dde00","hex_latitude":"07ea70a8","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995358976001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8228076485203873792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789044392000,"timestamp_ms":1789044392000,"timestamp_seconds":1789044392,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5b0040"} 
[2026-09-10 18:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995358976001,"66":28115,"188":206,"9":54272,"24":0,"16":3893920429768704,"44":-8228076485203873792},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-10 18:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995358976001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:49] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 18:18:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8228076485203873792,"description":"Unknown IO ID 44"} 
[2026-09-10 18:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995358976001,"power":28115,"unknown_188":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8228076485203873792}} 
[2026-09-10 18:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":179300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:49] local.INFO: GPS data processed {"connection_id":179300,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:49] local.INFO: Acknowledgment sent {"connection_id":179300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:52] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:18:52] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:18:52] local.INFO: IMEI packet received {"connection_id":177934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":177934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:18:55] local.INFO: TCP Data received {"connection_id":177933,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:18:55] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:18:55] local.INFO: Packet analysis {"connection_id":177933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:18:55] local.INFO: Extracted packet for processing {"connection_id":177933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":177933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:55] local.INFO: GPS data processed {"connection_id":177933,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:55] local.INFO: Acknowledgment sent {"connection_id":177933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:18:57] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:18:57] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:18:57] local.INFO: IMEI packet received {"connection_id":177934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":177934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:18:58] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b562228012d80be0005d370e80004005c2b..."} 
[2026-09-10 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b562228012d80be0005d370e80004005c2b..."} 
[2026-09-10 18:18:58] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b562228012d80be0005d370e80004005c2b..."} 
[2026-09-10 18:18:58] local.INFO: Packet analysis {"connection_id":177934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:18:58] local.INFO: Extracted packet for processing {"connection_id":177934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763411968,"raw_latitude":97743080,"longitude_deg":76.3411968,"latitude_deg":9.774308,"altitude":4,"angle":92,"satellites":43,"speed":8,"hex_longitude":"2d80be00","hex_latitude":"05d370e8","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995282432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895472012296192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9170173241234243584,"note":"Value kept but may cause issues"} 
[2026-09-10 18:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044073000,"timestamp_ms":1789044073000,"timestamp_seconds":1789044073,"priority":1,"record_length":96,"hex_timestamp":"000001a08b562228"} 
[2026-09-10 18:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 18:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995282432001,"66":13472,"207":206,"85":15104,"24":8,"16":130895472012296192,"45":-9170173241234243584},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995282432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:18:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895472012296192,"km_value":130895472012296.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9170173241234243584,"description":"Unknown IO ID 45"} 
[2026-09-10 18:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995282432001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9170173241234243584}} 
[2026-09-10 18:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":177934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:18:58] local.INFO: GPS data processed {"connection_id":177934,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:18:58] local.INFO: Acknowledgment sent {"connection_id":177934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:05] local.INFO: TCP Data received {"connection_id":176763,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5bbfa8012d17f98007218340004b003d2c..."} 
[2026-09-10 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5bbfa8012d17f98007218340004b003d2c..."} 
[2026-09-10 18:19:05] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5bbfa8012d17f98007218340004b003d2c..."} 
[2026-09-10 18:19:05] local.INFO: Packet analysis {"connection_id":176763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:05] local.INFO: Extracted packet for processing {"connection_id":176763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756545920,"raw_latitude":119636800,"longitude_deg":75.654592,"latitude_deg":11.96368,"altitude":75,"angle":61,"satellites":44,"speed":7,"hex_longitude":"2d17f980","hex_latitude":"07218340","is_valid_coordinates":true} 
[2026-09-10 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995376640001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19355197104979968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727411962700304384,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789044441000,"timestamp_ms":1789044441000,"timestamp_seconds":1789044441,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5bbfa8"} 
[2026-09-10 18:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19: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-09-10 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995376640001,"66":13993,"122":206,"28":31744,"24":7,"16":19355197104979968,"45":1727411962700304384},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995376640001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19355197104979968,"km_value":19355197104979.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727411962700304384,"description":"Unknown IO ID 45"} 
[2026-09-10 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995376640001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1727411962700304384}} 
[2026-09-10 18:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":176763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:05] local.INFO: GPS data processed {"connection_id":176763,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:05] local.INFO: Acknowledgment sent {"connection_id":176763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:18] local.INFO: TCP Data received {"connection_id":177935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:19:18] local.INFO: Processing buffer {"connection_id":177935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:19:18] local.INFO: IMEI packet received {"connection_id":177935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":177935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:19:21] local.INFO: TCP Data received {"connection_id":179300,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5b42a8012c8dda0007ea3110000800c02d..."} 
[2026-09-10 18:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5b42a8012c8dda0007ea3110000800c02d..."} 
[2026-09-10 18:19:21] local.INFO: Processing buffer {"connection_id":179300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5b42a8012c8dda0007ea3110000800c02d..."} 
[2026-09-10 18:19:21] local.INFO: Packet analysis {"connection_id":179300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:21] local.INFO: Extracted packet for processing {"connection_id":179300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:21] local.INFO: GPS Element Parsed {"raw_longitude":747493888,"raw_latitude":132788496,"longitude_deg":74.7493888,"latitude_deg":13.2788496,"altitude":8,"angle":192,"satellites":45,"speed":22,"hex_longitude":"2c8dda00","hex_latitude":"07ea3110","is_valid_coordinates":true} 
[2026-09-10 18:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995364352001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8224135835533924352,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789044409000,"timestamp_ms":1789044409000,"timestamp_seconds":1789044409,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5b42a8"} 
[2026-09-10 18:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":179300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":179300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":179300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995364352001,"66":28234,"188":206,"9":54272,"24":22,"16":3893920429768704,"44":-8224135835533924352},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-10 18:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995364352001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:21] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 18:19:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8224135835533924352,"description":"Unknown IO ID 44"} 
[2026-09-10 18:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995364352001,"power":28234,"unknown_188":206,"unknown_9":54272,"ignition":22,"odometer":null,"unknown_44":-8224135835533924352}} 
[2026-09-10 18:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":179300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:21] local.INFO: GPS data processed {"connection_id":179300,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:21] local.INFO: Acknowledgment sent {"connection_id":179300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:24] local.INFO: TCP Data received {"connection_id":177935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:19:24] local.INFO: Processing buffer {"connection_id":177935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:19:24] local.INFO: IMEI packet received {"connection_id":177935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":177935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:19:24] local.INFO: TCP Data received {"connection_id":177935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:19:24] local.INFO: Processing buffer {"connection_id":177935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:19:24] local.INFO: Packet analysis {"connection_id":177935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:19:24] local.INFO: Extracted packet for processing {"connection_id":177935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:19:24] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":177935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:24] local.INFO: GPS data processed {"connection_id":177935,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:24] local.INFO: Acknowledgment sent {"connection_id":177935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:27] local.INFO: TCP Data received {"connection_id":176764,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:19:27] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:19:27] local.INFO: IMEI packet received {"connection_id":176764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":176764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:19:29] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b562610012d80be8005d370e00004006c2b..."} 
[2026-09-10 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b562610012d80be8005d370e00004006c2b..."} 
[2026-09-10 18:19:29] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b562610012d80be8005d370e00004006c2b..."} 
[2026-09-10 18:19:29] local.INFO: Packet analysis {"connection_id":177934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:19:29] local.INFO: Extracted packet for processing {"connection_id":177934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763412096,"raw_latitude":97743072,"longitude_deg":76.3412096,"latitude_deg":9.7743072,"altitude":4,"angle":108,"satellites":43,"speed":7,"hex_longitude":"2d80be80","hex_latitude":"05d370e0","is_valid_coordinates":true} 
[2026-09-10 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995282688001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895476307263488,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169891766257522688,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044074000,"timestamp_ms":1789044074000,"timestamp_seconds":1789044074,"priority":1,"record_length":96,"hex_timestamp":"000001a08b562610"} 
[2026-09-10 18:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995282688001,"66":13472,"207":206,"85":15104,"24":7,"16":130895476307263488,"45":-9169891766257522688},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995282688001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895476307263488,"km_value":130895476307263.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169891766257522688,"description":"Unknown IO ID 45"} 
[2026-09-10 18:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995282688001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9169891766257522688}} 
[2026-09-10 18:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":177934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:29] local.INFO: GPS data processed {"connection_id":177934,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:29] local.INFO: Acknowledgment sent {"connection_id":177934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:32] local.INFO: TCP Data received {"connection_id":176764,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:19:32] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:19:32] local.INFO: IMEI packet received {"connection_id":176764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":176764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:19:33] local.INFO: TCP Data received {"connection_id":176764,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5bcb60012d17fbc0072184b0004b00322b..."} 
[2026-09-10 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5bcb60012d17fbc0072184b0004b00322b..."} 
[2026-09-10 18:19:33] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5bcb60012d17fbc0072184b0004b00322b..."} 
[2026-09-10 18:19:33] local.INFO: Packet analysis {"connection_id":176764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:33] local.INFO: Extracted packet for processing {"connection_id":176764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756546496,"raw_latitude":119637168,"longitude_deg":75.6546496,"latitude_deg":11.9637168,"altitude":75,"angle":50,"satellites":43,"speed":9,"hex_longitude":"2d17fbc0","hex_latitude":"072184b0","is_valid_coordinates":true} 
[2026-09-10 18:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995376896001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19355231464718336,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727552700188672000,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789044444000,"timestamp_ms":1789044444000,"timestamp_seconds":1789044444,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5bcb60"} 
[2026-09-10 18:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18: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-09-10 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-10 18:19: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-09-10 18:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995376896001,"66":13961,"122":206,"28":31744,"24":9,"16":19355231464718336,"45":1727552700188672000},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-09-10 18:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995376896001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19355231464718336,"km_value":19355231464718.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727552700188672000,"description":"Unknown IO ID 45"} 
[2026-09-10 18:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995376896001,"power":13961,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1727552700188672000}} 
[2026-09-10 18:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":176764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:33] local.INFO: GPS data processed {"connection_id":176764,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:33] local.INFO: Acknowledgment sent {"connection_id":176764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:38] local.INFO: TCP Data received {"connection_id":179301,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:19:38] local.INFO: Processing buffer {"connection_id":179301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:19:38] local.INFO: IMEI packet received {"connection_id":179301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":179301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:19:39] local.INFO: TCP Data received {"connection_id":179301,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:19:39] local.INFO: Processing buffer {"connection_id":179301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:19:39] local.INFO: IMEI packet received {"connection_id":179301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":179301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:19:44] local.INFO: TCP Data received {"connection_id":179301,"ip":"117.224.198.196","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a08b..."} 
[2026-09-10 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179301,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a08b..."} 
[2026-09-10 18:19:44] local.INFO: Processing buffer {"connection_id":179301,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a08b..."} 
[2026-09-10 18:19:44] local.INFO: IMEI packet received {"connection_id":179301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":179301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:19:49] local.INFO: TCP Data received {"connection_id":179301,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5bb7d8012c8dc60007e9f808000700c72f..."} 
[2026-09-10 18:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5bb7d8012c8dc60007e9f808000700c72f..."} 
[2026-09-10 18:19:49] local.INFO: Processing buffer {"connection_id":179301,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08b5c25380100000000000000000000000000..."} 
[2026-09-10 18:19:49] local.INFO: Packet analysis {"connection_id":179301,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:19:49] local.INFO: Extracted packet for processing {"connection_id":179301,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995368704001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8225261735444934656,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789044467000,"timestamp_ms":1789044467000,"timestamp_seconds":1789044467,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c2538"} 
[2026-09-10 18:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":179301,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:19:49] local.INFO: GPS data processed {"connection_id":179301,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:19:49] local.INFO: Acknowledgment sent {"connection_id":179301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:49] local.INFO: Packet analysis {"connection_id":179301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:49] local.INFO: Extracted packet for processing {"connection_id":179301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5b"} 
[2026-09-10 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":747488768,"raw_latitude":132773896,"longitude_deg":74.7488768,"latitude_deg":13.2773896,"altitude":7,"angle":199,"satellites":47,"speed":33,"hex_longitude":"2c8dc600","hex_latitude":"07e9f808","is_valid_coordinates":true} 
[2026-09-10 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789044439000,"timestamp_ms":1789044439000,"timestamp_seconds":1789044439,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5bb7d8"} 
[2026-09-10 18:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:49] 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-09-10 18:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"188":206,"9":54272,"24":33,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16]} 
[2026-09-10 18:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:49] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 18:19:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_188":206,"unknown_9":54272,"ignition":33,"odometer":null}} 
[2026-09-10 18:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":179301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:49] local.INFO: GPS data processed {"connection_id":179301,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:49] local.INFO: Acknowledgment sent {"connection_id":179301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:52] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:19:52] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:19:52] local.INFO: IMEI packet received {"connection_id":177936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":177936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:19:55] local.INFO: TCP Data received {"connection_id":177935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:19:55] local.INFO: Processing buffer {"connection_id":177935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:19:55] local.INFO: Packet analysis {"connection_id":177935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:19:55] local.INFO: Extracted packet for processing {"connection_id":177935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":177935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:55] local.INFO: GPS data processed {"connection_id":177935,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:55] local.INFO: Acknowledgment sent {"connection_id":177935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:19:57] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:19:57] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:19:57] local.INFO: IMEI packet received {"connection_id":177936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":177936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:19:58] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b562de0012d80bf8005d370800004006c2b..."} 
[2026-09-10 18:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b562de0012d80bf8005d370800004006c2b..."} 
[2026-09-10 18:19:58] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b562de0012d80bf8005d370800004006c2b..."} 
[2026-09-10 18:19:58] local.INFO: Packet analysis {"connection_id":177936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:19:58] local.INFO: Extracted packet for processing {"connection_id":177936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763412352,"raw_latitude":97742976,"longitude_deg":76.3412352,"latitude_deg":9.7742976,"altitude":4,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d80bf80","hex_latitude":"05d37080","is_valid_coordinates":true} 
[2026-09-10 18:19: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-09-10 18:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995282944001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895489192165376,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169751028769169408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044076000,"timestamp_ms":1789044076000,"timestamp_seconds":1789044076,"priority":1,"record_length":96,"hex_timestamp":"000001a08b562de0"} 
[2026-09-10 18:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:19: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":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995282944001,"66":13559,"207":206,"85":15104,"24":0,"16":130895489192165376,"45":-9169751028769169408},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995282944001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:19:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895489192165376,"km_value":130895489192165.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169751028769169408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995282944001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169751028769169408}} 
[2026-09-10 18:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":177936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:19:58] local.INFO: GPS data processed {"connection_id":177936,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:19:58] local.INFO: Acknowledgment sent {"connection_id":177936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:05] local.INFO: TCP Data received {"connection_id":176764,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c0210012d180d8007219418004b00262c..."} 
[2026-09-10 18:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c0210012d180d8007219418004b00262c..."} 
[2026-09-10 18:20:05] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c0210012d180d8007219418004b00262c..."} 
[2026-09-10 18:20:05] local.INFO: Packet analysis {"connection_id":176764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:05] local.INFO: Extracted packet for processing {"connection_id":176764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641112,"longitude_deg":75.655104,"latitude_deg":11.9641112,"altitude":75,"angle":38,"satellites":44,"speed":25,"hex_longitude":"2d180d80","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995377664001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19355519227527168,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728186018886365184,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20: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-09-10 18:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789044458000,"timestamp_ms":1789044458000,"timestamp_seconds":1789044458,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c0210"} 
[2026-09-10 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-09-10 18:20: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-09-10 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 18:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995377664001,"66":14341,"120":206,"28":31744,"24":25,"16":19355519227527168,"45":1728186018886365184},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995377664001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:20:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19355519227527168,"km_value":19355519227527.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728186018886365184,"description":"Unknown IO ID 45"} 
[2026-09-10 18:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995377664001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1728186018886365184}} 
[2026-09-10 18:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":176764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:20:05] local.INFO: GPS data processed {"connection_id":176764,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:20:05] local.INFO: Acknowledgment sent {"connection_id":176764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:18] local.INFO: TCP Data received {"connection_id":179302,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:20:18] local.INFO: Processing buffer {"connection_id":179302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:20:18] local.INFO: IMEI packet received {"connection_id":179302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":179302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:20:20] local.INFO: TCP Data received {"connection_id":179301,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c09e0012c8dafc007e9ae88000500c32e..."} 
[2026-09-10 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c09e0012c8dafc007e9ae88000500c32e..."} 
[2026-09-10 18:20:20] local.INFO: Processing buffer {"connection_id":179301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c09e0012c8dafc007e9ae88000500c32e..."} 
[2026-09-10 18:20:20] local.INFO: Packet analysis {"connection_id":179301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:20] local.INFO: Extracted packet for processing {"connection_id":179301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":747483072,"raw_latitude":132755080,"longitude_deg":74.7483072,"latitude_deg":13.275508,"altitude":5,"angle":195,"satellites":46,"speed":0,"hex_longitude":"2c8dafc0","hex_latitude":"07e9ae88","is_valid_coordinates":true} 
[2026-09-10 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995376384001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8230891234982885376,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789044460000,"timestamp_ms":1789044460000,"timestamp_seconds":1789044460,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c09e0"} 
[2026-09-10 18:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 18:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":179301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":179301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":179301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995376384001,"66":28104,"188":206,"9":54272,"24":0,"16":3893920429768704,"44":-8230891234982885376},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-10 18:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995376384001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8230891234982885376,"description":"Unknown IO ID 44"} 
[2026-09-10 18:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995376384001,"power":28104,"unknown_188":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8230891234982885376}} 
[2026-09-10 18:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":179301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:20:20] local.INFO: GPS data processed {"connection_id":179301,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:20:20] local.INFO: Acknowledgment sent {"connection_id":179301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:23] local.INFO: TCP Data received {"connection_id":179302,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:20:23] local.INFO: Processing buffer {"connection_id":179302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:20:23] local.INFO: IMEI packet received {"connection_id":179302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":179302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:20:24] local.INFO: TCP Data received {"connection_id":179302,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:20:24] local.INFO: Processing buffer {"connection_id":179302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:20:24] local.INFO: Packet analysis {"connection_id":179302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:20:24] local.INFO: Extracted packet for processing {"connection_id":179302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:20:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:20:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":179302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:20:24] local.INFO: GPS data processed {"connection_id":179302,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:20:24] local.INFO: Acknowledgment sent {"connection_id":179302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:26] local.INFO: TCP Data received {"connection_id":176547,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:20:26] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:20:26] local.INFO: IMEI packet received {"connection_id":176547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":176547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:20:29] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b562de0012d80bf8005d370800004006c2b..."} 
[2026-09-10 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b562de0012d80bf8005d370800004006c2b..."} 
[2026-09-10 18:20:29] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b562de0012d80bf8005d370800004006c2b..."} 
[2026-09-10 18:20:29] local.INFO: Packet analysis {"connection_id":177936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:20:29] local.INFO: Extracted packet for processing {"connection_id":177936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b56"} 
[2026-09-10 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763412352,"raw_latitude":97742976,"longitude_deg":76.3412352,"latitude_deg":9.7742976,"altitude":4,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d80bf80","hex_latitude":"05d37080","is_valid_coordinates":true} 
[2026-09-10 18:20: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-09-10 18:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995283456001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895489192165376,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169469553792483328,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044076000,"timestamp_ms":1789044076000,"timestamp_seconds":1789044076,"priority":1,"record_length":96,"hex_timestamp":"000001a08b562de0"} 
[2026-09-10 18:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-10 18:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995283456001,"66":13559,"207":206,"85":15104,"24":0,"16":130895489192165376,"45":-9169469553792483328},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995283456001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:20:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895489192165376,"km_value":130895489192165.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169469553792483328,"description":"Unknown IO ID 45"} 
[2026-09-10 18:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995283456001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169469553792483328}} 
[2026-09-10 18:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":177936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:20:29] local.INFO: GPS data processed {"connection_id":177936,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:20:29] local.INFO: Acknowledgment sent {"connection_id":177936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:32] local.INFO: TCP Data received {"connection_id":176547,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:20:32] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:20:32] local.INFO: IMEI packet received {"connection_id":176547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":176547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:20:33] local.INFO: TCP Data received {"connection_id":176547,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c3ca8012d1821c00721b260004c00202a..."} 
[2026-09-10 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c3ca8012d1821c00721b260004c00202a..."} 
[2026-09-10 18:20:33] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c3ca8012d1821c00721b260004c00202a..."} 
[2026-09-10 18:20:33] local.INFO: Packet analysis {"connection_id":176547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:33] local.INFO: Extracted packet for processing {"connection_id":176547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648864,"longitude_deg":75.6556224,"latitude_deg":11.9648864,"altitude":76,"angle":32,"satellites":42,"speed":17,"hex_longitude":"2d1821c0","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995381248001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19355970199093248,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199723988992,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789044473000,"timestamp_ms":1789044473000,"timestamp_seconds":1789044473,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c3ca8"} 
[2026-09-10 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-09-10 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988454816,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503894963585024,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21674123683957248,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2338039864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":24577,"corrected_to":0} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2200436812,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4026608919,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3221692803,"corrected_to":0} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84750311172284806,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3674263015,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3278766080,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:33] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,28,24,241,158,16,195,160,203,45,192,132,75,43,10,66,122,191,128,131,44,187,1,240,137,139,33,4,113,205,5,179,247,104,239,53,2,68,7,77,6,206],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":203,"original":24577,"validated":0},{"io_id":205,"original":3883532494,"validated":0},{"io_id":247,"original":3221692803,"validated":0}]} 
[2026-09-10 18:20:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404361523266650112,"timestamp_seconds":5404361523266650.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995381248001,"66":13102,"120":206,"28":31744,"24":17,"16":19355970199093248,"45":1733182199723988992},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995381248001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:20:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:20:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19355970199093248,"km_value":19355970199093.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199723988992,"description":"Unknown IO ID 45"} 
[2026-09-10 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995381248001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1733182199723988992}} 
[2026-09-10 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":176547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:20:33] local.INFO: GPS data processed {"connection_id":176547,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:20:33] local.INFO: Acknowledgment sent {"connection_id":176547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:38] local.INFO: TCP Data received {"connection_id":176765,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:20:38] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:20:38] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:20:43] local.INFO: TCP Data received {"connection_id":176765,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:20:43] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:20:43] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:20:45] local.INFO: TCP Data received {"connection_id":176765,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c4478012c8da30007e95c88000400ae2c..."} 
[2026-09-10 18:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c4478012c8da30007e95c88000400ae2c..."} 
[2026-09-10 18:20:45] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c4478012c8da30007e95c88000400ae2c..."} 
[2026-09-10 18:20:45] local.INFO: Packet analysis {"connection_id":176765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:45] local.INFO: Extracted packet for processing {"connection_id":176765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:20:45] local.INFO: GPS Element Parsed {"raw_longitude":747479808,"raw_latitude":132734088,"longitude_deg":74.7479808,"latitude_deg":13.2734088,"altitude":4,"angle":174,"satellites":44,"speed":50,"hex_longitude":"2c8da300","hex_latitude":"07e95c88","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995381760001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8237154053219514368,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789044475000,"timestamp_ms":1789044475000,"timestamp_seconds":1789044475,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c4478"} 
[2026-09-10 18:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:20:45] 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-09-10 18: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-09-10 18:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995381760001,"66":28082,"188":206,"9":54272,"24":50,"16":3893920429768704,"44":-8237154053219514368},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-10 18:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995381760001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:20:45] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-10 18:20:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8237154053219514368,"description":"Unknown IO ID 44"} 
[2026-09-10 18:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995381760001,"power":28082,"unknown_188":206,"unknown_9":54272,"ignition":50,"odometer":null,"unknown_44":-8237154053219514368}} 
[2026-09-10 18:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":176765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:20:45] local.INFO: GPS data processed {"connection_id":176765,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:20:45] local.INFO: Acknowledgment sent {"connection_id":176765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:55] local.INFO: TCP Data received {"connection_id":179302,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:20:55] local.INFO: Processing buffer {"connection_id":179302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5a3138012ceb0640071a3e900021013528..."} 
[2026-09-10 18:20:55] local.INFO: Packet analysis {"connection_id":179302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:20:55] local.INFO: Extracted packet for processing {"connection_id":179302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5a"} 
[2026-09-10 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160464,"longitude_deg":75.3600064,"latitude_deg":11.9160464,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-09-10 18:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044339000,"timestamp_ms":1789044339000,"timestamp_seconds":1789044339,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5a3138"} 
[2026-09-10 18:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350528001,"66":27919,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:20:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350528001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":179302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:20:55] local.INFO: GPS data processed {"connection_id":179302,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:20:55] local.INFO: Acknowledgment sent {"connection_id":179302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:20:57] local.INFO: TCP Data received {"connection_id":179303,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:20:57] local.INFO: Processing buffer {"connection_id":179303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:20:57] local.INFO: IMEI packet received {"connection_id":179303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":179303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:21:01] local.INFO: TCP Data received {"connection_id":179303,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:01] local.INFO: Processing buffer {"connection_id":179303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:01] local.INFO: IMEI packet received {"connection_id":179303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":179303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:21:02] local.INFO: TCP Data received {"connection_id":179303,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5e76f8012d80bfc005d36bb0000500df2c..."} 
[2026-09-10 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5e76f8012d80bfc005d36bb0000500df2c..."} 
[2026-09-10 18:21:02] local.INFO: Processing buffer {"connection_id":179303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5e76f8012d80bfc005d36bb0000500df2c..."} 
[2026-09-10 18:21:02] local.INFO: Packet analysis {"connection_id":179303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:02] local.INFO: Extracted packet for processing {"connection_id":179303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763412416,"raw_latitude":97741744,"longitude_deg":76.3412416,"latitude_deg":9.7741744,"altitude":5,"angle":223,"satellites":44,"speed":6,"hex_longitude":"2d80bfc0","hex_latitude":"05d36bb0","is_valid_coordinates":true} 
[2026-09-10 18:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995421696001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895570796544000,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169047341327595520,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789044619000,"timestamp_ms":1789044619000,"timestamp_seconds":1789044619,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5e76f8"} 
[2026-09-10 18:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3439381879,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2338192864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2160132101,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788808,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":211,"raw_value":8095220347385424384,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":57834101181142331,"corrected_to":0} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3758173568,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3547355136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.WARNING: Large IO value detected {"io_id":93,"raw_value":-153121092385308667,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,207,85,24,241,157,16,8,160,99,45,64,111,4,42,10,66,95,112,87,192,1,240,29,227,139,211,113,205,253,193,88,239,2,209,5,93],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":57834101181142331,"validated":0}]} 
[2026-09-10 18:21:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288458159742779392,"timestamp_seconds":288458159742779.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":179303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":179303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":179303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995421696001,"66":13222,"207":206,"85":15104,"24":6,"16":130895570796544000,"45":-9169047341327595520},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995421696001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895570796544000,"km_value":130895570796544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169047341327595520,"description":"Unknown IO ID 45"} 
[2026-09-10 18:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995421696001,"power":13222,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9169047341327595520}} 
[2026-09-10 18:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":179303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:02] local.INFO: GPS data processed {"connection_id":179303,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:02] local.INFO: Acknowledgment sent {"connection_id":179303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:03] local.INFO: TCP Data received {"connection_id":179303,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ec518012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ec518012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:03] local.INFO: Processing buffer {"connection_id":179303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ec518012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:03] local.INFO: Packet analysis {"connection_id":179303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:03] local.INFO: Extracted packet for processing {"connection_id":179303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763412096,"raw_latitude":97741232,"longitude_deg":76.3412096,"latitude_deg":9.7741232,"altitude":6,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d80be80","hex_latitude":"05d369b0","is_valid_coordinates":true} 
[2026-09-10 18:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995422464001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895600861315072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169399185048621056,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789044639000,"timestamp_ms":1789044639000,"timestamp_seconds":1789044639,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ec518"} 
[2026-09-10 18:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995422464001,"66":13189,"207":206,"85":15104,"24":0,"16":130895600861315072,"45":-9169399185048621056},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995422464001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895600861315072,"km_value":130895600861315.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169399185048621056,"description":"Unknown IO ID 45"} 
[2026-09-10 18:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995422464001,"power":13189,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169399185048621056}} 
[2026-09-10 18:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":179303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:03] local.INFO: GPS data processed {"connection_id":179303,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:03] local.INFO: Acknowledgment sent {"connection_id":179303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:04] local.INFO: TCP Data received {"connection_id":176547,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c4860012d1823800721b600004c000229..."} 
[2026-09-10 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c4860012d1823800721b600004c000229..."} 
[2026-09-10 18:21:04] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c4860012d1823800721b600004c000229..."} 
[2026-09-10 18:21:04] local.INFO: Packet analysis {"connection_id":176547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:21:04] local.INFO: Extracted packet for processing {"connection_id":176547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649792,"longitude_deg":75.6556672,"latitude_deg":11.9649792,"altitude":76,"angle":2,"satellites":41,"speed":9,"hex_longitude":"2d182380","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-10 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995385088001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356021738700800,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004364288,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21: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-09-10 18:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789044476000,"timestamp_ms":1789044476000,"timestamp_seconds":1789044476,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c4860"} 
[2026-09-10 18:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18: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-09-10 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995385088001,"66":12385,"120":206,"28":31744,"24":9,"16":19356021738700800,"45":1738882068004364288},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995385088001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356021738700800,"km_value":19356021738700.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004364288,"description":"Unknown IO ID 45"} 
[2026-09-10 18:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995385088001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738882068004364288}} 
[2026-09-10 18:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":176547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:04] local.INFO: GPS data processed {"connection_id":176547,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:04] local.INFO: Acknowledgment sent {"connection_id":176547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:16] local.INFO: TCP Data received {"connection_id":176765,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c9680012c8dabc007e905f8000400ac2f..."} 
[2026-09-10 18:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c9680012c8dabc007e905f8000400ac2f..."} 
[2026-09-10 18:21:16] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c9680012c8dabc007e905f8000400ac2f..."} 
[2026-09-10 18:21:16] local.INFO: Packet analysis {"connection_id":176765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:21:16] local.INFO: Extracted packet for processing {"connection_id":176765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:21:16] local.INFO: GPS Element Parsed {"raw_longitude":747482048,"raw_latitude":132711928,"longitude_deg":74.7482048,"latitude_deg":13.2711928,"altitude":4,"angle":172,"satellites":47,"speed":0,"hex_longitude":"2c8dabc0","hex_latitude":"07e905f8","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995385600001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8240742859177949184,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789044496000,"timestamp_ms":1789044496000,"timestamp_seconds":1789044496,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c9680"} 
[2026-09-10 18:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995385600001,"66":28115,"217":206,"9":54272,"24":0,"16":3893920429768704,"44":-8240742859177949184},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-10 18:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995385600001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:16] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-10 18:21:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8240742859177949184,"description":"Unknown IO ID 44"} 
[2026-09-10 18:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995385600001,"power":28115,"unknown_217":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8240742859177949184}} 
[2026-09-10 18:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":176765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:17] local.INFO: GPS data processed {"connection_id":176765,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:17] local.INFO: Acknowledgment sent {"connection_id":176765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:19] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:19] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:19] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:21:24] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:24] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:24] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:21:26] local.INFO: TCP Data received {"connection_id":176767,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:21:26] local.INFO: Processing buffer {"connection_id":176767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:21:26] local.INFO: IMEI packet received {"connection_id":176767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":176767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:21:29] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:29] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:21:29] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:21:29] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:21:29] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:21:29] local.INFO: Packet analysis {"connection_id":176766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:29] local.INFO: Extracted packet for processing {"connection_id":176766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:21: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-09-10 18: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-09-10 18:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":176766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:29] local.INFO: GPS data processed {"connection_id":176766,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:29] local.INFO: Acknowledgment sent {"connection_id":176766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:32] local.INFO: TCP Data received {"connection_id":176767,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:21:32] local.INFO: Processing buffer {"connection_id":176767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:21:32] local.INFO: IMEI packet received {"connection_id":176767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":176767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:21:34] local.INFO: TCP Data received {"connection_id":176767,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c4c48012d1823800721b6d8004c015529..."} 
[2026-09-10 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c4c48012d1823800721b6d8004c015529..."} 
[2026-09-10 18:21:34] local.INFO: Processing buffer {"connection_id":176767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c4c48012d1823800721b6d8004c015529..."} 
[2026-09-10 18:21:34] local.INFO: Packet analysis {"connection_id":176767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:21:34] local.INFO: Extracted packet for processing {"connection_id":176767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650008,"longitude_deg":75.6556672,"latitude_deg":11.9650008,"altitude":76,"angle":341,"satellites":41,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b6d8","is_valid_coordinates":true} 
[2026-09-10 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995385856001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356030328635392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213845504,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789044477000,"timestamp_ms":1789044477000,"timestamp_seconds":1789044477,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c4c48"} 
[2026-09-10 18:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18: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-09-10 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995385856001,"66":13167,"120":206,"28":31744,"24":8,"16":19356030328635392,"45":1739374649213845504},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995385856001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356030328635392,"km_value":19356030328635.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213845504,"description":"Unknown IO ID 45"} 
[2026-09-10 18:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995385856001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1739374649213845504}} 
[2026-09-10 18:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":176767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:34] local.INFO: GPS data processed {"connection_id":176767,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:34] local.INFO: Acknowledgment sent {"connection_id":176767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:34] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:21:34] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:21:34] local.INFO: Packet analysis {"connection_id":176766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:34] local.INFO: Extracted packet for processing {"connection_id":176766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21: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-09-10 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:21: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-09-10 18:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":176766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:34] local.INFO: GPS data processed {"connection_id":176766,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:34] local.INFO: Acknowledgment sent {"connection_id":176766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:34] local.INFO: TCP Data received {"connection_id":179303,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5f1720012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5f1720012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:34] local.INFO: Processing buffer {"connection_id":179303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5f1720012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:34] local.INFO: Packet analysis {"connection_id":179303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5f"} 
[2026-09-10 18:21:34] local.INFO: Extracted packet for processing {"connection_id":179303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5f"} 
[2026-09-10 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763412096,"raw_latitude":97741232,"longitude_deg":76.3412096,"latitude_deg":9.7741232,"altitude":6,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d80be80","hex_latitude":"05d369b0","is_valid_coordinates":true} 
[2026-09-10 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995427584001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895600861315072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169751028769640448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789044660000,"timestamp_ms":1789044660000,"timestamp_seconds":1789044660,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5f1720"} 
[2026-09-10 18:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995427584001,"66":13037,"207":206,"85":15104,"24":0,"16":130895600861315072,"45":-9169751028769640448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995427584001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895600861315072,"km_value":130895600861315.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169751028769640448,"description":"Unknown IO ID 45"} 
[2026-09-10 18:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995427584001,"power":13037,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169751028769640448}} 
[2026-09-10 18:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":179303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:34] local.INFO: GPS data processed {"connection_id":179303,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:34] local.INFO: Acknowledgment sent {"connection_id":179303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:37] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:37] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:37] local.INFO: IMEI packet received {"connection_id":177937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":177937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:21:38] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:38] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:38] local.INFO: IMEI packet received {"connection_id":177937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":177937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:21:43] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:43] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:21:43] local.INFO: IMEI packet received {"connection_id":177937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":177937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:21:45] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5d79100100000000000000000000000000..."} 
[2026-09-10 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5d79100100000000000000000000000000..."} 
[2026-09-10 18:21:45] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5d79100100000000000000000000000000..."} 
[2026-09-10 18:21:45] local.INFO: Packet analysis {"connection_id":177937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5d"} 
[2026-09-10 18:21:45] local.INFO: Extracted packet for processing {"connection_id":177937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5d"} 
[2026-09-10 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995390976001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8238279953137403904,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789044554000,"timestamp_ms":1789044554000,"timestamp_seconds":1789044554,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5d7910"} 
[2026-09-10 18:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":177937,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:21:45] local.INFO: GPS data processed {"connection_id":177937,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:21:45] local.INFO: Acknowledgment sent {"connection_id":177937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:21:52] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:52] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:52] local.INFO: IMEI packet received {"connection_id":176548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":176548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:21:57] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:57] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:21:57] local.INFO: IMEI packet received {"connection_id":176548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":176548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:21:58] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5f6928012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5f6928012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:58] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5f6928012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:21:58] local.INFO: Packet analysis {"connection_id":176548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5f"} 
[2026-09-10 18:21:58] local.INFO: Extracted packet for processing {"connection_id":176548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5f"} 
[2026-09-10 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763412096,"raw_latitude":97741232,"longitude_deg":76.3412096,"latitude_deg":9.7741232,"altitude":6,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d80be80","hex_latitude":"05d369b0","is_valid_coordinates":true} 
[2026-09-10 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995432960001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895600861315072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169751028769640448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044681000,"timestamp_ms":1789044681000,"timestamp_seconds":1789044681,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5f6928"} 
[2026-09-10 18:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:21: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-09-10 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-10 18:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995432960001,"66":13504,"207":206,"85":15104,"24":0,"16":130895600861315072,"45":-9169751028769640448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-10 18:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995432960001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:21:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 18:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895600861315072,"km_value":130895600861315.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169751028769640448,"description":"Unknown IO ID 45"} 
[2026-09-10 18:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995432960001,"power":13504,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169751028769640448}} 
[2026-09-10 18:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":176548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:21:58] local.INFO: GPS data processed {"connection_id":176548,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:21:58] local.INFO: Acknowledgment sent {"connection_id":176548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:05] local.INFO: TCP Data received {"connection_id":176767,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c5030012d1823400721b788004c01422a..."} 
[2026-09-10 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c5030012d1823400721b788004c01422a..."} 
[2026-09-10 18:22:05] local.INFO: Processing buffer {"connection_id":176767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c5030012d1823400721b788004c01422a..."} 
[2026-09-10 18:22:05] local.INFO: Packet analysis {"connection_id":176767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:22:05] local.INFO: Extracted packet for processing {"connection_id":176767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650184,"longitude_deg":75.6556608,"latitude_deg":11.9650184,"altitude":76,"angle":322,"satellites":42,"speed":7,"hex_longitude":"2d182340","hex_latitude":"0721b788","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995386112001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356038918569984,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213900800,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22: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-09-10 18:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789044478000,"timestamp_ms":1789044478000,"timestamp_seconds":1789044478,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c5030"} 
[2026-09-10 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-09-10 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995386112001,"66":13167,"120":206,"28":31744,"24":7,"16":19356038918569984,"45":1739374649213900800},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995386112001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356038918569984,"km_value":19356038918569.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213900800,"description":"Unknown IO ID 45"} 
[2026-09-10 18:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995386112001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739374649213900800}} 
[2026-09-10 18:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":176767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:05] local.INFO: GPS data processed {"connection_id":176767,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:05] local.INFO: Acknowledgment sent {"connection_id":176767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:17] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5d03e0012c8dc9c007e85fd8000800ac2b..."} 
[2026-09-10 18:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5d03e0012c8dc9c007e85fd8000800ac2b..."} 
[2026-09-10 18:22:17] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5d03e0012c8dc9c007e85fd8000800ac2b..."} 
[2026-09-10 18:22:17] local.INFO: Packet analysis {"connection_id":177937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5d"} 
[2026-09-10 18:22:17] local.INFO: Extracted packet for processing {"connection_id":177937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5d"} 
[2026-09-10 18:22:17] local.INFO: GPS Element Parsed {"raw_longitude":747489728,"raw_latitude":132669400,"longitude_deg":74.7489728,"latitude_deg":13.26694,"altitude":8,"angle":172,"satellites":43,"speed":50,"hex_longitude":"2c8dc9c0","hex_latitude":"07e85fd8","is_valid_coordinates":true} 
[2026-09-10 18:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789044524000,"timestamp_ms":1789044524000,"timestamp_seconds":1789044524,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5d03e0"} 
[2026-09-10 18:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22:17] 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-09-10 18:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28126,"217":206,"9":54272,"24":50,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16]} 
[2026-09-10 18:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-10 18:22:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28126,"unknown_217":206,"unknown_9":54272,"ignition":50,"odometer":null}} 
[2026-09-10 18:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":177937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:17] local.INFO: GPS data processed {"connection_id":177937,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:17] local.INFO: Acknowledgment sent {"connection_id":177937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:18] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:22:18] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:22:18] local.INFO: IMEI packet received {"connection_id":176768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":176768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:22:24] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:22:24] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:22:24] local.INFO: IMEI packet received {"connection_id":176768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":176768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:22:24] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:22:24] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:22:24] local.INFO: Packet analysis {"connection_id":176768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:22:24] local.INFO: Extracted packet for processing {"connection_id":176768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:22:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":176768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:24] local.INFO: GPS data processed {"connection_id":176768,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:24] local.INFO: Acknowledgment sent {"connection_id":176768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:28] local.INFO: TCP Data received {"connection_id":179304,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:28] local.INFO: Processing buffer {"connection_id":179304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:28] local.INFO: IMEI packet received {"connection_id":179304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":179304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:22:29] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5fbb30012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5fbb30012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:22:29] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5fbb30012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:22:29] local.INFO: Packet analysis {"connection_id":176548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5f"} 
[2026-09-10 18:22:29] local.INFO: Extracted packet for processing {"connection_id":176548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5f"} 
[2026-09-10 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763412096,"raw_latitude":97741232,"longitude_deg":76.3412096,"latitude_deg":9.7741232,"altitude":6,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d80be80","hex_latitude":"05d369b0","is_valid_coordinates":true} 
[2026-09-10 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995438336001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895600861315072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169751028769640448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044702000,"timestamp_ms":1789044702000,"timestamp_seconds":1789044702,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5fbb30"} 
[2026-09-10 18:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995438336001,"66":12863,"167":206,"85":15104,"24":0,"16":130895600861315072,"45":-9169751028769640448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995438336001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895600861315072,"km_value":130895600861315.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169751028769640448,"description":"Unknown IO ID 45"} 
[2026-09-10 18:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995438336001,"power":12863,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169751028769640448}} 
[2026-09-10 18:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":176548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:29] local.INFO: GPS data processed {"connection_id":176548,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:29] local.INFO: Acknowledgment sent {"connection_id":176548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:32] local.INFO: TCP Data received {"connection_id":179304,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:32] local.INFO: Processing buffer {"connection_id":179304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:32] local.INFO: IMEI packet received {"connection_id":179304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":179304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:22:37] local.INFO: TCP Data received {"connection_id":179304,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:37] local.INFO: Processing buffer {"connection_id":179304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:22:37] local.INFO: IMEI packet received {"connection_id":179304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":179304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:22:38] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:22:38] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:22:38] local.INFO: IMEI packet received {"connection_id":176549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":176549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:22:38] local.INFO: TCP Data received {"connection_id":179304,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5c5418012d1822c00721b7f0004c012b2b..."} 
[2026-09-10 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5c5418012d1822c00721b7f0004c012b2b..."} 
[2026-09-10 18:22:38] local.INFO: Processing buffer {"connection_id":179304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5c5418012d1822c00721b7f0004c012b2b..."} 
[2026-09-10 18:22:38] local.INFO: Packet analysis {"connection_id":179304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:22:38] local.INFO: Extracted packet for processing {"connection_id":179304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650288,"longitude_deg":75.655648,"latitude_deg":11.9650288,"altitude":76,"angle":299,"satellites":43,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-10 18:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995386368001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356047508504576,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469768192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22: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-09-10 18:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789044479000,"timestamp_ms":1789044479000,"timestamp_seconds":1789044479,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5c5418"} 
[2026-09-10 18:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22: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-09-10 18: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995386368001,"66":13135,"120":206,"28":31744,"24":5,"16":19356047508504576,"45":1739304280469768192},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995386368001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356047508504576,"km_value":19356047508504.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469768192,"description":"Unknown IO ID 45"} 
[2026-09-10 18:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995386368001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739304280469768192}} 
[2026-09-10 18:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":179304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:38] local.INFO: GPS data processed {"connection_id":179304,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:38] local.INFO: Acknowledgment sent {"connection_id":179304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:43] local.INFO: TCP Data received {"connection_id":179304,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ca620012d1822c00721b7c8004b012b2b..."} 
[2026-09-10 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ca620012d1822c00721b7c8004b012b2b..."} 
[2026-09-10 18:22:43] local.INFO: Processing buffer {"connection_id":179304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ca620012d1822c00721b7c8004b012b2b..."} 
[2026-09-10 18:22:43] local.INFO: Packet analysis {"connection_id":179304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:22:43] local.INFO: Extracted packet for processing {"connection_id":179304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5c"} 
[2026-09-10 18:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650248,"longitude_deg":75.655648,"latitude_deg":11.9650248,"altitude":75,"angle":299,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-09-10 18:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995386624001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356099048112128,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981439488,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22: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-09-10 18:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789044500000,"timestamp_ms":1789044500000,"timestamp_seconds":1789044500,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ca620"} 
[2026-09-10 18:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995386624001,"66":13135,"120":206,"28":31744,"24":0,"16":19356099048112128,"45":1739163542981439488},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995386624001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356099048112128,"km_value":19356099048112.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981439488,"description":"Unknown IO ID 45"} 
[2026-09-10 18:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995386624001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981439488}} 
[2026-09-10 18:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":179304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:43] local.INFO: GPS data processed {"connection_id":179304,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:43] local.INFO: Acknowledgment sent {"connection_id":179304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:44] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:22:44] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:22:44] local.INFO: IMEI packet received {"connection_id":176549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":176549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:22:46] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5d4648012c8dcb4007e809d8000600ba2a..."} 
[2026-09-10 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5d4648012c8dcb4007e809d8000600ba2a..."} 
[2026-09-10 18:22:46] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5d4648012c8dcb4007e809d8000600ba2a..."} 
[2026-09-10 18:22:46] local.INFO: Packet analysis {"connection_id":176549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5d"} 
[2026-09-10 18:22:46] local.INFO: Extracted packet for processing {"connection_id":176549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5d"} 
[2026-09-10 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":747490112,"raw_latitude":132647384,"longitude_deg":74.7490112,"latitude_deg":13.2647384,"altitude":6,"angle":186,"satellites":42,"speed":54,"hex_longitude":"2c8dcb40","hex_latitude":"07e809d8","is_valid_coordinates":true} 
[2026-09-10 18:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995398144001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8229835703846971392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789044541000,"timestamp_ms":1789044541000,"timestamp_seconds":1789044541,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5d4648"} 
[2026-09-10 18:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995398144001,"66":28191,"217":206,"9":54272,"24":54,"16":3893920429768704,"44":-8229835703846971392},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-10 18:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995398144001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:46] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-10 18:22:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8229835703846971392,"description":"Unknown IO ID 44"} 
[2026-09-10 18:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995398144001,"power":28191,"unknown_217":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-8229835703846971392}} 
[2026-09-10 18:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":176549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:46] local.INFO: GPS data processed {"connection_id":176549,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:46] local.INFO: Acknowledgment sent {"connection_id":176549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:49] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:49] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:49] local.INFO: IMEI packet received {"connection_id":177938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":177938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:22:52] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:52] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:52] local.INFO: IMEI packet received {"connection_id":177938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":177938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:22:55] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:22:55] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:22:55] local.INFO: Packet analysis {"connection_id":176768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:22:55] local.INFO: Extracted packet for processing {"connection_id":176768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:22:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":176768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:55] local.INFO: GPS data processed {"connection_id":176768,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:55] local.INFO: Acknowledgment sent {"connection_id":176768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:22:57] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:57] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:22:57] local.INFO: IMEI packet received {"connection_id":177938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":177938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:22:58] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b600d38012d80be8005d369b0000600e02b..."} 
[2026-09-10 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b600d38012d80be8005d369b0000600e02b..."} 
[2026-09-10 18:22:58] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b600d38012d80be8005d369b0000600e02b..."} 
[2026-09-10 18:22:58] local.INFO: Packet analysis {"connection_id":177938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:22:58] local.INFO: Extracted packet for processing {"connection_id":177938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763412096,"raw_latitude":97741232,"longitude_deg":76.3412096,"latitude_deg":9.7741232,"altitude":6,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d80be80","hex_latitude":"05d369b0","is_valid_coordinates":true} 
[2026-09-10 18:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995443712001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895600861315072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169751028769640448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044723000,"timestamp_ms":1789044723000,"timestamp_seconds":1789044723,"priority":1,"record_length":96,"hex_timestamp":"000001a08b600d38"} 
[2026-09-10 18:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-10 18:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995443712001,"66":13374,"167":206,"85":15104,"24":0,"16":130895600861315072,"45":-9169751028769640448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995443712001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:22:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895600861315072,"km_value":130895600861315.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169751028769640448,"description":"Unknown IO ID 45"} 
[2026-09-10 18:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995443712001,"power":13374,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169751028769640448}} 
[2026-09-10 18:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":177938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:22:58] local.INFO: GPS data processed {"connection_id":177938,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:22:58] local.INFO: Acknowledgment sent {"connection_id":177938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:18] local.INFO: TCP Data received {"connection_id":176549,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b60b1480100000000000000000000000000..."} 
[2026-09-10 18:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b60b1480100000000000000000000000000..."} 
[2026-09-10 18:23:18] local.INFO: Processing buffer {"connection_id":176549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b60b1480100000000000000000000000000..."} 
[2026-09-10 18:23:18] local.INFO: Packet analysis {"connection_id":176549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:18] local.INFO: Extracted packet for processing {"connection_id":176549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995444992001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8277264237483331584,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789044765000,"timestamp_ms":1789044765000,"timestamp_seconds":1789044765,"priority":1,"record_length":96,"hex_timestamp":"000001a08b60b148"} 
[2026-09-10 18:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":176549,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:23:18] local.INFO: GPS data processed {"connection_id":176549,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:23:18] local.INFO: Acknowledgment sent {"connection_id":176549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:19] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:23:19] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:23:19] local.INFO: IMEI packet received {"connection_id":176550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":176550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:23:24] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:23:24] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:23:24] local.INFO: IMEI packet received {"connection_id":176550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":176550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:23:24] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:23:24] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:23:24] local.INFO: Packet analysis {"connection_id":176550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:23:24] local.INFO: Extracted packet for processing {"connection_id":176550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:23:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":176550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:23:24] local.INFO: GPS data processed {"connection_id":176550,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:23:24] local.INFO: Acknowledgment sent {"connection_id":176550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:27] local.INFO: TCP Data received {"connection_id":177939,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:23:27] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:23:27] local.INFO: IMEI packet received {"connection_id":177939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":177939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:23:29] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b605f40012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b605f40012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:23:29] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b605f40012d80be8005d369b0000600e02c..."} 
[2026-09-10 18:23:29] local.INFO: Packet analysis {"connection_id":177938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:29] local.INFO: Extracted packet for processing {"connection_id":177938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763412096,"raw_latitude":97741232,"longitude_deg":76.3412096,"latitude_deg":9.7741232,"altitude":6,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d80be80","hex_latitude":"05d369b0","is_valid_coordinates":true} 
[2026-09-10 18:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995449088001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130895600861315072,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169751028769640448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044744000,"timestamp_ms":1789044744000,"timestamp_seconds":1789044744,"priority":1,"record_length":96,"hex_timestamp":"000001a08b605f40"} 
[2026-09-10 18:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995449088001,"66":12809,"167":206,"85":15104,"24":0,"16":130895600861315072,"45":-9169751028769640448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995449088001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:23:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130895600861315072,"km_value":130895600861315.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169751028769640448,"description":"Unknown IO ID 45"} 
[2026-09-10 18:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995449088001,"power":12809,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9169751028769640448}} 
[2026-09-10 18:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":177938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:23:29] local.INFO: GPS data processed {"connection_id":177938,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:23:29] local.INFO: Acknowledgment sent {"connection_id":177938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:32] local.INFO: TCP Data received {"connection_id":177939,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:23:32] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:23:32] local.INFO: IMEI packet received {"connection_id":177939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":177939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:23:34] local.INFO: TCP Data received {"connection_id":177939,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b602c78012d1823000721b600004a012b28..."} 
[2026-09-10 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b602c78012d1823000721b600004a012b28..."} 
[2026-09-10 18:23:35] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b602c78012d1823000721b600004a012b28..."} 
[2026-09-10 18:23:35] local.INFO: Packet analysis {"connection_id":177939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:35] local.INFO: Extracted packet for processing {"connection_id":177939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649792,"longitude_deg":75.6556544,"latitude_deg":11.9649792,"altitude":74,"angle":299,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-10 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995445760001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356137702817792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23: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-09-10 18:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789044731000,"timestamp_ms":1789044731000,"timestamp_seconds":1789044731,"priority":1,"record_length":96,"hex_timestamp":"000001a08b602c78"} 
[2026-09-10 18:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995445760001,"66":12841,"120":206,"28":31744,"24":0,"16":19356137702817792,"45":1739233911725490176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995445760001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356137702817792,"km_value":19356137702817.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-09-10 18:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995445760001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-09-10 18:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":177939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:23:35] local.INFO: GPS data processed {"connection_id":177939,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:23:35] local.INFO: Acknowledgment sent {"connection_id":177939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:37] local.INFO: TCP Data received {"connection_id":177939,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b607e80012d1823000721b600004a012b2b..."} 
[2026-09-10 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b607e80012d1823000721b600004a012b2b..."} 
[2026-09-10 18:23:37] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b607e80012d1823000721b600004a012b2b..."} 
[2026-09-10 18:23:37] local.INFO: Packet analysis {"connection_id":177939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:37] local.INFO: Extracted packet for processing {"connection_id":177939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649792,"longitude_deg":75.6556544,"latitude_deg":11.9649792,"altitude":74,"angle":299,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995451136001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356137702817792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23: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-09-10 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789044752000,"timestamp_ms":1789044752000,"timestamp_seconds":1789044752,"priority":1,"record_length":96,"hex_timestamp":"000001a08b607e80"} 
[2026-09-10 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-09-10 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995451136001,"66":12841,"120":206,"28":31744,"24":0,"16":19356137702817792,"45":1739233911725490176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995451136001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:23:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356137702817792,"km_value":19356137702817.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-09-10 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995451136001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-09-10 18:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":177939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:23:37] local.INFO: GPS data processed {"connection_id":177939,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:23:37] local.INFO: Acknowledgment sent {"connection_id":177939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:40] local.INFO: TCP Data received {"connection_id":177940,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:40] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:40] local.INFO: IMEI packet received {"connection_id":177940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":177940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:23:43] local.INFO: TCP Data received {"connection_id":177940,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:43] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:43] local.INFO: IMEI packet received {"connection_id":177940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":177940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:23:48] local.INFO: TCP Data received {"connection_id":177940,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:48] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:23:48] local.INFO: IMEI packet received {"connection_id":177940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":177940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:23:50] local.INFO: TCP Data received {"connection_id":177940,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b603830012c8d580007e41448000f00a22d..."} 
[2026-09-10 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b603830012c8d580007e41448000f00a22d..."} 
[2026-09-10 18:23:50] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b603830012c8d580007e41448000f00a22d..."} 
[2026-09-10 18:23:50] local.INFO: Packet analysis {"connection_id":177940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:50] local.INFO: Extracted packet for processing {"connection_id":177940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:23:50] local.INFO: GPS Element Parsed {"raw_longitude":747460608,"raw_latitude":132387912,"longitude_deg":74.7460608,"latitude_deg":13.2387912,"altitude":15,"angle":162,"satellites":45,"speed":58,"hex_longitude":"2c8d5800","hex_latitude":"07e41448","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,218,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789044734000,"timestamp_ms":1789044734000,"timestamp_seconds":1789044734,"priority":1,"record_length":96,"hex_timestamp":"000001a08b603830"} 
[2026-09-10 18:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:23: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:50] 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-09-10 18: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-09-10 18:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28115,"218":206,"9":54272,"24":58,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16]} 
[2026-09-10 18:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:23:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:23:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:23:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28115,"unknown_218":206,"unknown_9":54272,"ignition":58,"odometer":null}} 
[2026-09-10 18:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":177940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:23:50] local.INFO: GPS data processed {"connection_id":177940,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:23:50] local.INFO: Acknowledgment sent {"connection_id":177940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:50] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:50] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:50] local.INFO: IMEI packet received {"connection_id":176769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":176769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:23:52] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:52] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:52] local.INFO: IMEI packet received {"connection_id":176769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":176769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:23:55] local.INFO: TCP Data received {"connection_id":176550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:23:55] local.INFO: Processing buffer {"connection_id":176550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:23:55] local.INFO: Packet analysis {"connection_id":176550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:23:55] local.INFO: Extracted packet for processing {"connection_id":176550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:23:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:23:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":176550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:23:55] local.INFO: GPS data processed {"connection_id":176550,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:23:55] local.INFO: Acknowledgment sent {"connection_id":176550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:23:57] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:57] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:23:57] local.INFO: IMEI packet received {"connection_id":176769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":176769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:23:58] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b618820012d803cc005d387b00006014a27..."} 
[2026-09-10 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b618820012d803cc005d387b00006014a27..."} 
[2026-09-10 18:23:58] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b618820012d803cc005d387b00006014a27..."} 
[2026-09-10 18:23:58] local.INFO: Packet analysis {"connection_id":176769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:23:58] local.INFO: Extracted packet for processing {"connection_id":176769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763378880,"raw_latitude":97748912,"longitude_deg":76.337888,"latitude_deg":9.7748912,"altitude":6,"angle":330,"satellites":39,"speed":29,"hex_longitude":"2d803cc0","hex_latitude":"05d387b0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995473408001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130897293078429696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205287244577712128,"note":"Value kept but may cause issues"} 
[2026-09-10 18:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044820000,"timestamp_ms":1789044820000,"timestamp_seconds":1789044820,"priority":1,"record_length":96,"hex_timestamp":"000001a08b618820"} 
[2026-09-10 18:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":63,"data_length":795,"current_offset":136} 
[2026-09-10 18:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995473408001,"66":13537,"167":206,"85":15104,"24":29,"16":130897293078429696,"45":-9205287244577712128},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995473408001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:23:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130897293078429696,"km_value":130897293078429.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205287244577712128,"description":"Unknown IO ID 45"} 
[2026-09-10 18:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995473408001,"power":13537,"unknown_167":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9205287244577712128}} 
[2026-09-10 18:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":176769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:23:58] local.INFO: GPS data processed {"connection_id":176769,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:23:58] local.INFO: Acknowledgment sent {"connection_id":176769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:08] local.INFO: TCP Data received {"connection_id":177939,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b60d088012d1823000721b600004a012b2a..."} 
[2026-09-10 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b60d088012d1823000721b600004a012b2a..."} 
[2026-09-10 18:24:08] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b60d088012d1823000721b600004a012b2a..."} 
[2026-09-10 18:24:08] local.INFO: Packet analysis {"connection_id":177939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:24:08] local.INFO: Extracted packet for processing {"connection_id":177939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649792,"longitude_deg":75.6556544,"latitude_deg":11.9649792,"altitude":74,"angle":299,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995456512001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356137702817792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24: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-09-10 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789044773000,"timestamp_ms":1789044773000,"timestamp_seconds":1789044773,"priority":1,"record_length":96,"hex_timestamp":"000001a08b60d088"} 
[2026-09-10 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-09-10 18:24: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-09-10 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 18:24: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-09-10 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-09-10 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-09-10 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995456512001,"66":12776,"120":206,"28":31744,"24":0,"16":19356137702817792,"45":1739233911725490176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995456512001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356137702817792,"km_value":19356137702817.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-09-10 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995456512001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-09-10 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":177939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:08] local.INFO: GPS data processed {"connection_id":177939,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:08] local.INFO: Acknowledgment sent {"connection_id":177939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:18] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:24:18] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:24:18] local.INFO: IMEI packet received {"connection_id":177941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":177941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:24:23] local.INFO: TCP Data received {"connection_id":177940,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6076b0012c8d6f0007e3bd28000f00ad2b..."} 
[2026-09-10 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6076b0012c8d6f0007e3bd28000f00ad2b..."} 
[2026-09-10 18:24:23] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6076b0012c8d6f0007e3bd28000f00ad2b..."} 
[2026-09-10 18:24:23] local.INFO: Packet analysis {"connection_id":177940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:24:23] local.INFO: Extracted packet for processing {"connection_id":177940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:24:23] local.INFO: GPS Element Parsed {"raw_longitude":747466496,"raw_latitude":132365608,"longitude_deg":74.7466496,"latitude_deg":13.2365608,"altitude":15,"angle":173,"satellites":43,"speed":54,"hex_longitude":"2c8d6f00","hex_latitude":"07e3bd28","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995451904001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8261853482519869440,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789044750000,"timestamp_ms":1789044750000,"timestamp_seconds":1789044750,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6076b0"} 
[2026-09-10 18:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-10 18:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995451904001,"66":28071,"218":206,"9":54272,"24":54,"16":3893920429768704,"44":-8261853482519869440},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-10 18:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995451904001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:23] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:24:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8261853482519869440,"description":"Unknown IO ID 44"} 
[2026-09-10 18:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995451904001,"power":28071,"unknown_218":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-8261853482519869440}} 
[2026-09-10 18:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":177940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:23] local.INFO: GPS data processed {"connection_id":177940,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:23] local.INFO: Acknowledgment sent {"connection_id":177940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:24] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:24:24] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:24:24] local.INFO: IMEI packet received {"connection_id":177941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":177941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:24:24] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:24:24] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:24:24] local.INFO: Packet analysis {"connection_id":177941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:24:24] local.INFO: Extracted packet for processing {"connection_id":177941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:24:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":177941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:24] local.INFO: GPS data processed {"connection_id":177941,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:24] local.INFO: Acknowledgment sent {"connection_id":177941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:27] local.INFO: TCP Data received {"connection_id":179305,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:24:27] local.INFO: Processing buffer {"connection_id":179305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:24:27] local.INFO: IMEI packet received {"connection_id":179305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":179305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:24:29] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b619ba8012d80378005d392f80007013f27..."} 
[2026-09-10 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b619ba8012d80378005d392f80007013f27..."} 
[2026-09-10 18:24:29] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b619ba8012d80378005d392f80007013f27..."} 
[2026-09-10 18:24:29] local.INFO: Packet analysis {"connection_id":176769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:24:29] local.INFO: Extracted packet for processing {"connection_id":176769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763377536,"raw_latitude":97751800,"longitude_deg":76.3377536,"latitude_deg":9.77518,"altitude":7,"angle":319,"satellites":39,"speed":16,"hex_longitude":"2d803780","hex_latitude":"05d392f8","is_valid_coordinates":true} 
[2026-09-10 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995473920001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130897447697252352,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206272406995881984,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044825000,"timestamp_ms":1789044825000,"timestamp_seconds":1789044825,"priority":1,"record_length":96,"hex_timestamp":"000001a08b619ba8"} 
[2026-09-10 18:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 18:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995473920001,"66":13450,"167":206,"85":15104,"24":16,"16":130897447697252352,"45":-9206272406995881984},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995473920001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130897447697252352,"km_value":130897447697252.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206272406995881984,"description":"Unknown IO ID 45"} 
[2026-09-10 18:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995473920001,"power":13450,"unknown_167":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9206272406995881984}} 
[2026-09-10 18:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":176769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:29] local.INFO: GPS data processed {"connection_id":176769,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:29] local.INFO: Acknowledgment sent {"connection_id":176769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:31] local.INFO: TCP Data received {"connection_id":179305,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:24:31] local.INFO: Processing buffer {"connection_id":179305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:24:31] local.INFO: IMEI packet received {"connection_id":179305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":179305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:24:32] local.INFO: TCP Data received {"connection_id":179305,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b612290012d1823000721b600004a012b2c..."} 
[2026-09-10 18:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b612290012d1823000721b600004a012b2c..."} 
[2026-09-10 18:24:32] local.INFO: Processing buffer {"connection_id":179305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b612290012d1823000721b600004a012b2c..."} 
[2026-09-10 18:24:32] local.INFO: Packet analysis {"connection_id":179305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:24:32] local.INFO: Extracted packet for processing {"connection_id":179305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649792,"longitude_deg":75.6556544,"latitude_deg":11.9649792,"altitude":74,"angle":299,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-10 18:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995461888001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356137702817792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789044794000,"timestamp_ms":1789044794000,"timestamp_seconds":1789044794,"priority":1,"record_length":96,"hex_timestamp":"000001a08b612290"} 
[2026-09-10 18:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 18:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995461888001,"66":12765,"120":206,"28":31744,"24":0,"16":19356137702817792,"45":1739233911725490176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995461888001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356137702817792,"km_value":19356137702817.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-09-10 18:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995461888001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-09-10 18:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":179305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:32] local.INFO: GPS data processed {"connection_id":179305,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:32] local.INFO: Acknowledgment sent {"connection_id":179305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:48] local.INFO: TCP Data received {"connection_id":176551,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:24:48] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:24:48] local.INFO: IMEI packet received {"connection_id":176551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":176551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:24:52] local.INFO: TCP Data received {"connection_id":179306,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:24:52] local.INFO: Processing buffer {"connection_id":179306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:24:52] local.INFO: IMEI packet received {"connection_id":179306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":179306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:24:53] local.INFO: TCP Data received {"connection_id":176551,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:24:53] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:24:53] local.INFO: IMEI packet received {"connection_id":176551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":176551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:24:56] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:24:56] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:24:56] local.INFO: Packet analysis {"connection_id":177941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:24:56] local.INFO: Extracted packet for processing {"connection_id":177941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":177941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:56] local.INFO: GPS data processed {"connection_id":177941,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:56] local.INFO: Acknowledgment sent {"connection_id":177941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:56] local.INFO: TCP Data received {"connection_id":176551,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b60b530012c8d648007e369a0000d00c62f..."} 
[2026-09-10 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b60b530012c8d648007e369a0000d00c62f..."} 
[2026-09-10 18:24:56] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b60b530012c8d648007e369a0000d00c62f..."} 
[2026-09-10 18:24:56] local.INFO: Packet analysis {"connection_id":176551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:24:56] local.INFO: Extracted packet for processing {"connection_id":176551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":747463808,"raw_latitude":132344224,"longitude_deg":74.7463808,"latitude_deg":13.2344224,"altitude":13,"angle":198,"satellites":47,"speed":55,"hex_longitude":"2c8d6480","hex_latitude":"07e369a0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995456000001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8255379558061234176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789044766000,"timestamp_ms":1789044766000,"timestamp_seconds":1789044766,"priority":1,"record_length":96,"hex_timestamp":"000001a08b60b530"} 
[2026-09-10 18:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:24: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-09-10 18: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":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 18:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995456000001,"66":28148,"218":206,"9":54272,"24":55,"16":3893920429768704,"44":-8255379558061234176},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-10 18:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995456000001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8255379558061234176,"description":"Unknown IO ID 44"} 
[2026-09-10 18:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995456000001,"power":28148,"unknown_218":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8255379558061234176}} 
[2026-09-10 18:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":176551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:56] local.INFO: GPS data processed {"connection_id":176551,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:56] local.INFO: Acknowledgment sent {"connection_id":176551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:24:57] local.INFO: TCP Data received {"connection_id":179306,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:24:57] local.INFO: Processing buffer {"connection_id":179306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:24:57] local.INFO: IMEI packet received {"connection_id":179306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":179306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:24:58] local.INFO: TCP Data received {"connection_id":179306,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b619f90012d80364005d394080008012f2a..."} 
[2026-09-10 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b619f90012d80364005d394080008012f2a..."} 
[2026-09-10 18:24:58] local.INFO: Processing buffer {"connection_id":179306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b619f90012d80364005d394080008012f2a..."} 
[2026-09-10 18:24:58] local.INFO: Packet analysis {"connection_id":179306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:24:58] local.INFO: Extracted packet for processing {"connection_id":179306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763377216,"raw_latitude":97752072,"longitude_deg":76.3377216,"latitude_deg":9.7752072,"altitude":8,"angle":303,"satellites":42,"speed":17,"hex_longitude":"2d803640","hex_latitude":"05d39408","is_valid_coordinates":true} 
[2026-09-10 18:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995475200001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130897469172088832,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207750150622873600,"note":"Value kept but may cause issues"} 
[2026-09-10 18:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044826000,"timestamp_ms":1789044826000,"timestamp_seconds":1789044826,"priority":1,"record_length":96,"hex_timestamp":"000001a08b619f90"} 
[2026-09-10 18:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 18:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995475200001,"66":13450,"167":206,"85":15104,"24":17,"16":130897469172088832,"45":-9207750150622873600},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995475200001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:24:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:24:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130897469172088832,"km_value":130897469172088.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207750150622873600,"description":"Unknown IO ID 45"} 
[2026-09-10 18:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995475200001,"power":13450,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9207750150622873600}} 
[2026-09-10 18:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":179306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:24:58] local.INFO: GPS data processed {"connection_id":179306,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:24:58] local.INFO: Acknowledgment sent {"connection_id":179306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:25:03] local.INFO: TCP Data received {"connection_id":179305,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b617498012d1823000721b600004a012b2a..."} 
[2026-09-10 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b617498012d1823000721b600004a012b2a..."} 
[2026-09-10 18:25:03] local.INFO: Processing buffer {"connection_id":179305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b617498012d1823000721b600004a012b2a..."} 
[2026-09-10 18:25:03] local.INFO: Packet analysis {"connection_id":179305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:25:03] local.INFO: Extracted packet for processing {"connection_id":179305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649792,"longitude_deg":75.6556544,"latitude_deg":11.9649792,"altitude":74,"angle":299,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-10 18:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995467264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356137702817792,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789044815000,"timestamp_ms":1789044815000,"timestamp_seconds":1789044815,"priority":1,"record_length":96,"hex_timestamp":"000001a08b617498"} 
[2026-09-10 18:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995467264001,"66":12645,"120":206,"28":31744,"24":0,"16":19356137702817792,"45":1739233911725490176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995467264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:25:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:25:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356137702817792,"km_value":19356137702817.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-09-10 18:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995467264001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-09-10 18:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":179305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:25:04] local.INFO: GPS data processed {"connection_id":179305,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:25:04] local.INFO: Acknowledgment sent {"connection_id":179305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:25:18] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:25:18] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:25:18] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:25:24] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:25:24] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:25:24] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:25:24] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:25:24] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:25:24] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:25:24] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:25:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:25:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:25:24] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:25:24] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:25:27] local.INFO: TCP Data received {"connection_id":177942,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:25:27] local.INFO: Processing buffer {"connection_id":177942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:25:27] local.INFO: IMEI packet received {"connection_id":177942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":177942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:25:32] local.INFO: TCP Data received {"connection_id":177942,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:25:32] local.INFO: Processing buffer {"connection_id":177942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:25:32] local.INFO: IMEI packet received {"connection_id":177942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":177942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:25:33] local.INFO: TCP Data received {"connection_id":177942,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b61c2b8012d1822800721b560005100c42c..."} 
[2026-09-10 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b61c2b8012d1822800721b560005100c42c..."} 
[2026-09-10 18:25:33] local.INFO: Processing buffer {"connection_id":177942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b61c2b8012d1822800721b560005100c42c..."} 
[2026-09-10 18:25:33] local.INFO: Packet analysis {"connection_id":177942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:25:33] local.INFO: Extracted packet for processing {"connection_id":177942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649632,"longitude_deg":75.6556416,"latitude_deg":11.9649632,"altitude":81,"angle":196,"satellites":44,"speed":1,"hex_longitude":"2d182280","hex_latitude":"0721b560","is_valid_coordinates":true} 
[2026-09-10 18:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995472640001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356146292752384,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789044835000,"timestamp_ms":1789044835000,"timestamp_seconds":1789044835,"priority":1,"record_length":96,"hex_timestamp":"000001a08b61c2b8"} 
[2026-09-10 18:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 18:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995472640001,"66":12211,"120":206,"28":31744,"24":1,"16":19356146292752384,"45":1739233911725490176},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995472640001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356146292752384,"km_value":19356146292752.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-09-10 18:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995472640001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-09-10 18:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":177942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:25:33] local.INFO: GPS data processed {"connection_id":177942,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:25:33] local.INFO: Acknowledgment sent {"connection_id":177942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:25:33] local.INFO: TCP Data received {"connection_id":179306,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b61a378012d80348005d394b80008011a2a..."} 
[2026-09-10 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b61a378012d80348005d394b80008011a2a..."} 
[2026-09-10 18:25:33] local.INFO: Processing buffer {"connection_id":179306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b61a378012d80348005d394b80008011a2a..."} 
[2026-09-10 18:25:33] local.INFO: Packet analysis {"connection_id":179306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:25:33] local.INFO: Extracted packet for processing {"connection_id":179306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763376768,"raw_latitude":97752248,"longitude_deg":76.3376768,"latitude_deg":9.7752248,"altitude":8,"angle":282,"satellites":42,"speed":16,"hex_longitude":"2d803480","hex_latitude":"05d394b8","is_valid_coordinates":true} 
[2026-09-10 18:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995475456001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130897490646925312,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208101994343692288,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789044827000,"timestamp_ms":1789044827000,"timestamp_seconds":1789044827,"priority":1,"record_length":96,"hex_timestamp":"000001a08b61a378"} 
[2026-09-10 18:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:25: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-09-10 18:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 18:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995475456001,"66":13124,"167":206,"85":15104,"24":16,"16":130897490646925312,"45":-9208101994343692288},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995475456001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130897490646925312,"km_value":130897490646925.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208101994343692288,"description":"Unknown IO ID 45"} 
[2026-09-10 18:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995475456001,"power":13124,"unknown_167":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9208101994343692288}} 
[2026-09-10 18:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":179306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:25:34] local.INFO: GPS data processed {"connection_id":179306,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:25:34] local.INFO: Acknowledgment sent {"connection_id":179306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:25:38] local.INFO: TCP Data received {"connection_id":177943,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:25:38] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:25:38] local.INFO: IMEI packet received {"connection_id":177943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":177943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:25:42] local.INFO: TCP Data received {"connection_id":177943,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:25:42] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:25:42] local.INFO: IMEI packet received {"connection_id":177943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":177943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:25:43] local.INFO: TCP Data received {"connection_id":177943,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b60f3b0012c8d510007e31158000d00b02d..."} 
[2026-09-10 18:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b60f3b0012c8d510007e31158000d00b02d..."} 
[2026-09-10 18:25:43] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b60f3b0012c8d510007e31158000d00b02d..."} 
[2026-09-10 18:25:43] local.INFO: Packet analysis {"connection_id":177943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:25:43] local.INFO: Extracted packet for processing {"connection_id":177943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b60"} 
[2026-09-10 18:25:43] local.INFO: GPS Element Parsed {"raw_longitude":747458816,"raw_latitude":132321624,"longitude_deg":74.7458816,"latitude_deg":13.2321624,"altitude":13,"angle":176,"satellites":45,"speed":56,"hex_longitude":"2c8d5100","hex_latitude":"07e31158","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995460096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8258335045322170368,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789044782000,"timestamp_ms":1789044782000,"timestamp_seconds":1789044782,"priority":1,"record_length":96,"hex_timestamp":"000001a08b60f3b0"} 
[2026-09-10 18:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 18:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995460096001,"66":28148,"218":206,"9":54272,"24":56,"16":3893920429768704,"44":-8258335045322170368},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-10 18:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995460096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:25:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:25:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8258335045322170368,"description":"Unknown IO ID 44"} 
[2026-09-10 18:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995460096001,"power":28148,"unknown_218":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8258335045322170368}} 
[2026-09-10 18:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":177943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:25:43] local.INFO: GPS data processed {"connection_id":177943,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:25:43] local.INFO: Acknowledgment sent {"connection_id":177943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:25:54] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:54] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:54] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:25:54] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:54] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:54] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:25:55] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:25:55] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b5ecce8012ceb0780071a3b30002101352a..."} 
[2026-09-10 18:25:55] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:25:55] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b5e"} 
[2026-09-10 18:25:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995350784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686966272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044641000,"timestamp_ms":1789044641000,"timestamp_seconds":1789044641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b5ecce8"} 
[2026-09-10 18:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 18:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995350784001,"66":26452,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511450225686966272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995350784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:25:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:25:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686966272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995350784001,"power":26452,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511450225686966272}} 
[2026-09-10 18:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:25:55] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:25:55] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:25:56] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:56] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:25:56] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:25:57] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b634958012d7f254005d35558000400d12c..."} 
[2026-09-10 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b634958012d7f254005d35558000400d12c..."} 
[2026-09-10 18:25:57] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b634958012d7f254005d35558000400d12c..."} 
[2026-09-10 18:25:57] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:25:57] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763307328,"raw_latitude":97736024,"longitude_deg":76.3307328,"latitude_deg":9.7736024,"altitude":4,"angle":209,"satellites":44,"speed":40,"hex_longitude":"2d7f2540","hex_latitude":"05d35558","is_valid_coordinates":true} 
[2026-09-10 18:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995500800001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130901132779192320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167006697790830592,"note":"Value kept but may cause issues"} 
[2026-09-10 18:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789044935000,"timestamp_ms":1789044935000,"timestamp_seconds":1789044935,"priority":1,"record_length":96,"hex_timestamp":"000001a08b634958"} 
[2026-09-10 18:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995500800001,"66":13254,"167":206,"85":15104,"24":40,"16":130901132779192320,"45":9167006697790830592},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995500800001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:25:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130901132779192320,"km_value":130901132779192.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167006697790830592,"description":"Unknown IO ID 45"} 
[2026-09-10 18:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995500800001,"power":13254,"unknown_167":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9167006697790830592}} 
[2026-09-10 18:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:25:57] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:25:57] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:05] local.INFO: TCP Data received {"connection_id":177942,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6214c0012d1822400721b510005100cd2b..."} 
[2026-09-10 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6214c0012d1822400721b510005100cd2b..."} 
[2026-09-10 18:26:05] local.INFO: Processing buffer {"connection_id":177942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6214c0012d1822400721b510005100cd2b..."} 
[2026-09-10 18:26:05] local.INFO: Packet analysis {"connection_id":177942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:26:05] local.INFO: Extracted packet for processing {"connection_id":177942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649552,"longitude_deg":75.6556352,"latitude_deg":11.9649552,"altitude":81,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-10 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995477760001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356154882686976,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237093888,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26: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-09-10 18:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789044856000,"timestamp_ms":1789044856000,"timestamp_seconds":1789044856,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6214c0"} 
[2026-09-10 18:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26: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-09-10 18: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":179,"data_length":795,"current_offset":136} 
[2026-09-10 18:26: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-09-10 18:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995477760001,"66":12722,"120":206,"28":31744,"24":0,"16":19356154882686976,"45":1739093174237093888},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995477760001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356154882686976,"km_value":19356154882686.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237093888,"description":"Unknown IO ID 45"} 
[2026-09-10 18:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995477760001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237093888}} 
[2026-09-10 18:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":177942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:05] local.INFO: GPS data processed {"connection_id":177942,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:05] local.INFO: Acknowledgment sent {"connection_id":177942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:21] local.INFO: TCP Data received {"connection_id":179307,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:21] local.INFO: Processing buffer {"connection_id":179307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:21] local.INFO: IMEI packet received {"connection_id":179307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":179307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:26:24] local.INFO: TCP Data received {"connection_id":179307,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:24] local.INFO: Processing buffer {"connection_id":179307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:24] local.INFO: IMEI packet received {"connection_id":179307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":179307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:26:26] local.INFO: TCP Data received {"connection_id":176770,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:26:26] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:26:26] local.INFO: IMEI packet received {"connection_id":176770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":176770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:26:29] local.INFO: TCP Data received {"connection_id":179307,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:29] local.INFO: Processing buffer {"connection_id":179307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:26:29] local.INFO: IMEI packet received {"connection_id":179307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":179307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:26:29] local.INFO: TCP Data received {"connection_id":177943,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b613230012c8d6d4007e2c0480010009a2c..."} 
[2026-09-10 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b613230012c8d6d4007e2c0480010009a2c..."} 
[2026-09-10 18:26:29] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b613230012c8d6d4007e2c0480010009a2c..."} 
[2026-09-10 18:26:29] local.INFO: Packet analysis {"connection_id":177943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:26:29] local.INFO: Extracted packet for processing {"connection_id":177943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":747466048,"raw_latitude":132300872,"longitude_deg":74.7466048,"latitude_deg":13.2300872,"altitude":16,"angle":154,"satellites":44,"speed":54,"hex_longitude":"2c8d6d40","hex_latitude":"07e2c048","is_valid_coordinates":true} 
[2026-09-10 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995464192001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8263823807373813760,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044798000,"timestamp_ms":1789044798000,"timestamp_seconds":1789044798,"priority":1,"record_length":96,"hex_timestamp":"000001a08b613230"} 
[2026-09-10 18:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 18:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995464192001,"66":28137,"218":206,"9":54272,"24":54,"16":3893920429768704,"44":-8263823807373813760},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995464192001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8263823807373813760,"description":"Unknown IO ID 44"} 
[2026-09-10 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995464192001,"power":28137,"unknown_218":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-8263823807373813760}} 
[2026-09-10 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":177943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:29] local.INFO: GPS data processed {"connection_id":177943,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:29] local.INFO: Acknowledgment sent {"connection_id":177943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:29] local.INFO: TCP Data received {"connection_id":179307,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:26:29] local.INFO: Processing buffer {"connection_id":179307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:26:29] local.INFO: Packet analysis {"connection_id":179307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:29] local.INFO: Extracted packet for processing {"connection_id":179307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:26:29] 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-09-10 18:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:26:29] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b636898012d7f13c005d33dd8000300dd2c..."} 
[2026-09-10 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":179307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:29] local.INFO: GPS data processed {"connection_id":179307,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:29] local.INFO: Acknowledgment sent {"connection_id":179307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b636898012d7f13c005d33dd8000300dd2c..."} 
[2026-09-10 18:26:29] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b636898012d7f13c005d33dd8000300dd2c..."} 
[2026-09-10 18:26:29] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:29] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763302848,"raw_latitude":97730008,"longitude_deg":76.3302848,"latitude_deg":9.7730008,"altitude":3,"angle":221,"satellites":44,"speed":33,"hex_longitude":"2d7f13c0","hex_latitude":"05d33dd8","is_valid_coordinates":true} 
[2026-09-10 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995503360001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130901493556445184,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161799410719741952,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789044943000,"timestamp_ms":1789044943000,"timestamp_seconds":1789044943,"priority":1,"record_length":96,"hex_timestamp":"000001a08b636898"} 
[2026-09-10 18:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 18:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995503360001,"66":13091,"167":206,"85":15104,"24":33,"16":130901493556445184,"45":9161799410719741952},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995503360001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130901493556445184,"km_value":130901493556445.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161799410719741952,"description":"Unknown IO ID 45"} 
[2026-09-10 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995503360001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9161799410719741952}} 
[2026-09-10 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:29] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:29] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:32] local.INFO: TCP Data received {"connection_id":176770,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:26:32] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:26:32] local.INFO: IMEI packet received {"connection_id":176770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":176770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:26:33] local.INFO: TCP Data received {"connection_id":176770,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6266c8012d1821800721b488005200d12c..."} 
[2026-09-10 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6266c8012d1821800721b488005200d12c..."} 
[2026-09-10 18:26:33] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6266c8012d1821800721b488005200d12c..."} 
[2026-09-10 18:26:33] local.INFO: Packet analysis {"connection_id":176770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:26:33] local.INFO: Extracted packet for processing {"connection_id":176770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649416,"longitude_deg":75.655616,"latitude_deg":11.9649416,"altitude":82,"angle":209,"satellites":44,"speed":1,"hex_longitude":"2d182180","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-09-10 18:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995483136001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356163472621568,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492895744,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789044877000,"timestamp_ms":1789044877000,"timestamp_seconds":1789044877,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6266c8"} 
[2026-09-10 18:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995483136001,"66":11852,"120":206,"28":31744,"24":1,"16":19356163472621568,"45":1739022805492895744},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995483136001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356163472621568,"km_value":19356163472621.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492895744,"description":"Unknown IO ID 45"} 
[2026-09-10 18:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995483136001,"power":11852,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739022805492895744}} 
[2026-09-10 18:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":176770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:33] local.INFO: GPS data processed {"connection_id":176770,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:33] local.INFO: Acknowledgment sent {"connection_id":176770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:34] local.INFO: TCP Data received {"connection_id":179307,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:26:34] local.INFO: Processing buffer {"connection_id":179307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:26:34] local.INFO: Packet analysis {"connection_id":179307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:34] local.INFO: Extracted packet for processing {"connection_id":179307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:34] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26: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-09-10 18: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:26:34] 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-09-10 18:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:26: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-09-10 18:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":179307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:34] local.INFO: GPS data processed {"connection_id":179307,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:34] local.INFO: Acknowledgment sent {"connection_id":179307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:39] local.INFO: TCP Data received {"connection_id":176771,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:26:39] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:26:39] local.INFO: IMEI packet received {"connection_id":176771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":176771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:26:43] local.INFO: TCP Data received {"connection_id":176771,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:26:43] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:26:43] local.INFO: IMEI packet received {"connection_id":176771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:26:44] local.INFO: TCP Data received {"connection_id":176771,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b618438012c8d950007e26e48000d009a2d..."} 
[2026-09-10 18:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b618438012c8d950007e26e48000d009a2d..."} 
[2026-09-10 18:26:44] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b618438012c8d950007e26e48000d009a2d..."} 
[2026-09-10 18:26:44] local.INFO: Packet analysis {"connection_id":176771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:26:44] local.INFO: Extracted packet for processing {"connection_id":176771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":747476224,"raw_latitude":132279880,"longitude_deg":74.7476224,"latitude_deg":13.227988,"altitude":13,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2c8d9500","hex_latitude":"07e26e48","is_valid_coordinates":true} 
[2026-09-10 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995468288001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8255872139287050240,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789044819000,"timestamp_ms":1789044819000,"timestamp_seconds":1789044819,"priority":1,"record_length":96,"hex_timestamp":"000001a08b618438"} 
[2026-09-10 18:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995468288001,"66":28104,"218":206,"9":54272,"24":0,"16":3893920429768704,"44":-8255872139287050240},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-10 18:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995468288001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:44] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:26:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8255872139287050240,"description":"Unknown IO ID 44"} 
[2026-09-10 18:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995468288001,"power":28104,"unknown_218":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8255872139287050240}} 
[2026-09-10 18:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":176771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:44] local.INFO: GPS data processed {"connection_id":176771,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:44] local.INFO: Acknowledgment sent {"connection_id":176771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:26:52] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:52] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:52] local.INFO: IMEI packet received {"connection_id":176554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":176554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:26:54] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:54] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:54] local.INFO: IMEI packet received {"connection_id":176554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":176554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:26:57] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:57] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:26:57] local.INFO: IMEI packet received {"connection_id":176554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":176554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:26:58] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6387d8012d7f090005d33290000300ea2c..."} 
[2026-09-10 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6387d8012d7f090005d33290000300ea2c..."} 
[2026-09-10 18:26:58] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6387d8012d7f090005d33290000300ea2c..."} 
[2026-09-10 18:26:58] local.INFO: Packet analysis {"connection_id":176554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:58] local.INFO: Extracted packet for processing {"connection_id":176554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763300096,"raw_latitude":97727120,"longitude_deg":76.3300096,"latitude_deg":9.772712,"altitude":3,"angle":234,"satellites":44,"speed":8,"hex_longitude":"2d7f0900","hex_latitude":"05d33290","is_valid_coordinates":true} 
[2026-09-10 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505408001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130901686829973504,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156873598625765376,"note":"Value kept but may cause issues"} 
[2026-09-10 18:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789044951000,"timestamp_ms":1789044951000,"timestamp_seconds":1789044951,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6387d8"} 
[2026-09-10 18:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-10 18:26: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-09-10 18:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505408001,"66":13222,"167":206,"85":15104,"24":8,"16":130901686829973504,"45":9156873598625765376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-10 18:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505408001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:26:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-10 18:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130901686829973504,"km_value":130901686829973.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156873598625765376,"description":"Unknown IO ID 45"} 
[2026-09-10 18:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505408001,"power":13222,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9156873598625765376}} 
[2026-09-10 18:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":176554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:26:58] local.INFO: GPS data processed {"connection_id":176554,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:26:58] local.INFO: Acknowledgment sent {"connection_id":176554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:05] local.INFO: TCP Data received {"connection_id":176770,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b62b8d0012d1820c00721b388005200d429..."} 
[2026-09-10 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b62b8d0012d1820c00721b388005200d429..."} 
[2026-09-10 18:27:05] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b62b8d0012d1820c00721b388005200d429..."} 
[2026-09-10 18:27:05] local.INFO: Packet analysis {"connection_id":176770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:27:05] local.INFO: Extracted packet for processing {"connection_id":176770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649160,"longitude_deg":75.6555968,"latitude_deg":11.964916,"altitude":82,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-09-10 18:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995488512001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356180652490752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260327936,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27: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-09-10 18:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789044898000,"timestamp_ms":1789044898000,"timestamp_seconds":1789044898,"priority":1,"record_length":96,"hex_timestamp":"000001a08b62b8d0"} 
[2026-09-10 18:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27: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-09-10 18: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995488512001,"66":12254,"120":206,"28":31744,"24":0,"16":19356180652490752,"45":1738811699260327936},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995488512001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356180652490752,"km_value":19356180652490.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260327936,"description":"Unknown IO ID 45"} 
[2026-09-10 18:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995488512001,"power":12254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260327936}} 
[2026-09-10 18:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":176770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:05] local.INFO: GPS data processed {"connection_id":176770,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:05] local.INFO: Acknowledgment sent {"connection_id":176770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:15] local.INFO: TCP Data received {"connection_id":176771,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b61af30012c8db48007e21c50000c00aa2e..."} 
[2026-09-10 18:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b61af30012c8db48007e21c50000c00aa2e..."} 
[2026-09-10 18:27:15] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b61af30012c8db48007e21c50000c00aa2e..."} 
[2026-09-10 18:27:15] local.INFO: Packet analysis {"connection_id":176771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:27:15] local.INFO: Extracted packet for processing {"connection_id":176771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:27:15] local.INFO: GPS Element Parsed {"raw_longitude":747484288,"raw_latitude":132258896,"longitude_deg":74.7484288,"latitude_deg":13.2258896,"altitude":12,"angle":170,"satellites":46,"speed":53,"hex_longitude":"2c8db480","hex_latitude":"07e21c50","is_valid_coordinates":true} 
[2026-09-10 18:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995473664001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8244683508968175616,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789044830000,"timestamp_ms":1789044830000,"timestamp_seconds":1789044830,"priority":1,"record_length":96,"hex_timestamp":"000001a08b61af30"} 
[2026-09-10 18:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:15] 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-09-10 18:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995473664001,"66":28148,"218":206,"9":54272,"24":53,"16":3893920429768704,"44":-8244683508968175616},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-10 18:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995473664001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:27:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8244683508968175616,"description":"Unknown IO ID 44"} 
[2026-09-10 18:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995473664001,"power":28148,"unknown_218":206,"unknown_9":54272,"ignition":53,"odometer":null,"unknown_44":-8244683508968175616}} 
[2026-09-10 18:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":176771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:16] local.INFO: GPS data processed {"connection_id":176771,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:16] local.INFO: Acknowledgment sent {"connection_id":176771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:18] local.INFO: TCP Data received {"connection_id":177944,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:27:18] local.INFO: Processing buffer {"connection_id":177944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:27:18] local.INFO: IMEI packet received {"connection_id":177944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":177944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:27:24] local.INFO: TCP Data received {"connection_id":177944,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:27:24] local.INFO: Processing buffer {"connection_id":177944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:27:24] local.INFO: IMEI packet received {"connection_id":177944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":177944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:27:24] local.INFO: TCP Data received {"connection_id":177944,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:27:24] local.INFO: Processing buffer {"connection_id":177944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:27:24] local.INFO: Packet analysis {"connection_id":177944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:24] local.INFO: Extracted packet for processing {"connection_id":177944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:24] 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-09-10 18: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-09-10 18:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":177944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:24] local.INFO: GPS data processed {"connection_id":177944,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:24] local.INFO: Acknowledgment sent {"connection_id":177944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:29] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b64b4a0012d7e660005d303080008013b29..."} 
[2026-09-10 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b64b4a0012d7e660005d303080008013b29..."} 
[2026-09-10 18:27:29] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b64b4a0012d7e660005d303080008013b29..."} 
[2026-09-10 18:27:29] local.INFO: Packet analysis {"connection_id":176554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:27:29] local.INFO: Extracted packet for processing {"connection_id":176554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763258368,"raw_latitude":97714952,"longitude_deg":76.3258368,"latitude_deg":9.7714952,"altitude":8,"angle":315,"satellites":41,"speed":9,"hex_longitude":"2d7e6600","hex_latitude":"05d30308","is_valid_coordinates":true} 
[2026-09-10 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995526912001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130903808543817728,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108178427650928640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789045028000,"timestamp_ms":1789045028000,"timestamp_seconds":1789045028,"priority":1,"record_length":96,"hex_timestamp":"000001a08b64b4a0"} 
[2026-09-10 18:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995526912001,"66":13189,"109":206,"85":15104,"24":9,"16":130903808543817728,"45":9108178427650928640},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995526912001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130903808543817728,"km_value":130903808543817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108178427650928640,"description":"Unknown IO ID 45"} 
[2026-09-10 18:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995526912001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108178427650928640}} 
[2026-09-10 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":176554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:30] local.INFO: GPS data processed {"connection_id":176554,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:30] local.INFO: Acknowledgment sent {"connection_id":176554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:32] local.INFO: TCP Data received {"connection_id":176555,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:27:32] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:27:32] local.INFO: IMEI packet received {"connection_id":176555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":176555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:27:38] local.INFO: TCP Data received {"connection_id":176555,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:27:38] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:27:38] local.INFO: IMEI packet received {"connection_id":176555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":176555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:27:39] local.INFO: TCP Data received {"connection_id":176555,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b630ad8012d1820c00721b388005200d42b..."} 
[2026-09-10 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b630ad8012d1820c00721b388005200d42b..."} 
[2026-09-10 18:27:39] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b630ad8012d1820c00721b388005200d42b..."} 
[2026-09-10 18:27:39] local.INFO: Packet analysis {"connection_id":176555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:39] local.INFO: Extracted packet for processing {"connection_id":176555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649160,"longitude_deg":75.6555968,"latitude_deg":11.964916,"altitude":82,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-09-10 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995493888001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356180652490752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027729408,"note":"Value kept but may cause issues"} 
[2026-09-10 18: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-09-10 18:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789044919000,"timestamp_ms":1789044919000,"timestamp_seconds":1789044919,"priority":1,"record_length":96,"hex_timestamp":"000001a08b630ad8"} 
[2026-09-10 18:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:39] 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-09-10 18:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995493888001,"66":12689,"120":206,"28":31744,"24":0,"16":19356180652490752,"45":1738600593027729408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995493888001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356180652490752,"km_value":19356180652490.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027729408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995493888001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027729408}} 
[2026-09-10 18:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":176555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:39] local.INFO: GPS data processed {"connection_id":176555,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:39] local.INFO: Acknowledgment sent {"connection_id":176555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:42] local.INFO: TCP Data received {"connection_id":176555,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b635ce0012d1820c00721b388005200d42b..."} 
[2026-09-10 18:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b635ce0012d1820c00721b388005200d42b..."} 
[2026-09-10 18:27:42] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b635ce0012d1820c00721b388005200d42b..."} 
[2026-09-10 18:27:42] local.INFO: Packet analysis {"connection_id":176555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:42] local.INFO: Extracted packet for processing {"connection_id":176555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649160,"longitude_deg":75.6555968,"latitude_deg":11.964916,"altitude":82,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995499264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356180652490752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027729408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27: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-09-10 18:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789044940000,"timestamp_ms":1789044940000,"timestamp_seconds":1789044940,"priority":1,"record_length":96,"hex_timestamp":"000001a08b635ce0"} 
[2026-09-10 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-09-10 18:27: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-09-10 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995499264001,"66":12667,"120":206,"28":31744,"24":0,"16":19356180652490752,"45":1738600593027729408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995499264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356180652490752,"km_value":19356180652490.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027729408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995499264001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027729408}} 
[2026-09-10 18:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":176555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:42] local.INFO: GPS data processed {"connection_id":176555,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:42] local.INFO: Acknowledgment sent {"connection_id":176555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:43] local.INFO: TCP Data received {"connection_id":179308,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:27:43] local.INFO: Processing buffer {"connection_id":179308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:27:43] local.INFO: IMEI packet received {"connection_id":179308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":179308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:27:45] local.INFO: TCP Data received {"connection_id":179308,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:27:45] local.INFO: Processing buffer {"connection_id":179308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:27:45] local.INFO: IMEI packet received {"connection_id":179308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":179308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:27:46] local.INFO: TCP Data received {"connection_id":179308,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b61edb0012c8da9c007e1c5d8000a00be2d..."} 
[2026-09-10 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b61edb0012c8da9c007e1c5d8000a00be2d..."} 
[2026-09-10 18:27:46] local.INFO: Processing buffer {"connection_id":179308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b61edb0012c8da9c007e1c5d8000a00be2d..."} 
[2026-09-10 18:27:46] local.INFO: Packet analysis {"connection_id":179308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:27:46] local.INFO: Extracted packet for processing {"connection_id":179308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b61"} 
[2026-09-10 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":747481536,"raw_latitude":132236760,"longitude_deg":74.7481536,"latitude_deg":13.223676,"altitude":10,"angle":190,"satellites":45,"speed":58,"hex_longitude":"2c8da9c0","hex_latitude":"07e1c5d8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995476480001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8235817047207161856,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789044846000,"timestamp_ms":1789044846000,"timestamp_seconds":1789044846,"priority":1,"record_length":96,"hex_timestamp":"000001a08b61edb0"} 
[2026-09-10 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-09-10 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":179308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":179308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":179308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995476480001,"66":28202,"218":206,"9":54272,"24":58,"16":3893920429768704,"44":-8235817047207161856},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-10 18:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995476480001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:46] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-10 18:27:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8235817047207161856,"description":"Unknown IO ID 44"} 
[2026-09-10 18:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995476480001,"power":28202,"unknown_218":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8235817047207161856}} 
[2026-09-10 18:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":179308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:46] local.INFO: GPS data processed {"connection_id":179308,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:46] local.INFO: Acknowledgment sent {"connection_id":179308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:49] local.INFO: TCP Data received {"connection_id":179308,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b622c30012c8dac4007e16a50000b00a52e..."} 
[2026-09-10 18:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b622c30012c8dac4007e16a50000b00a52e..."} 
[2026-09-10 18:27:49] local.INFO: Processing buffer {"connection_id":179308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b622c30012c8dac4007e16a50000b00a52e..."} 
[2026-09-10 18:27:49] local.INFO: Packet analysis {"connection_id":179308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:27:49] local.INFO: Extracted packet for processing {"connection_id":179308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:27:49] local.INFO: GPS Element Parsed {"raw_longitude":747482176,"raw_latitude":132213328,"longitude_deg":74.7482176,"latitude_deg":13.2213328,"altitude":11,"angle":165,"satellites":46,"speed":57,"hex_longitude":"2c8dac40","hex_latitude":"07e16a50","is_valid_coordinates":true} 
[2026-09-10 18:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995480576001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8238842903212468224,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789044862000,"timestamp_ms":1789044862000,"timestamp_seconds":1789044862,"priority":1,"record_length":96,"hex_timestamp":"000001a08b622c30"} 
[2026-09-10 18:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995480576001,"66":28191,"219":206,"9":54272,"24":57,"16":3893920429768704,"44":-8238842903212468224},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-10 18:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995480576001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 18:27:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8238842903212468224,"description":"Unknown IO ID 44"} 
[2026-09-10 18:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995480576001,"power":28191,"unknown_219":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8238842903212468224}} 
[2026-09-10 18:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":179308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:49] local.INFO: GPS data processed {"connection_id":179308,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:49] local.INFO: Acknowledgment sent {"connection_id":179308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:52] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:52] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:52] local.INFO: IMEI packet received {"connection_id":176556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":176556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:27:55] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:55] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:55] local.INFO: IMEI packet received {"connection_id":176556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":176556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:27:55] local.INFO: TCP Data received {"connection_id":177944,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:27:55] local.INFO: Processing buffer {"connection_id":177944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:27:55] local.INFO: Packet analysis {"connection_id":177944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:55] local.INFO: Extracted packet for processing {"connection_id":177944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:27:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:55] 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-09-10 18:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":177944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:55] local.INFO: GPS data processed {"connection_id":177944,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:55] local.INFO: Acknowledgment sent {"connection_id":177944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:27:57] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:57] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:27:57] local.INFO: IMEI packet received {"connection_id":176556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":176556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:27:58] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b64b888012d7e65c005d303d00008015129..."} 
[2026-09-10 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b64b888012d7e65c005d303d00008015129..."} 
[2026-09-10 18:27:58] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b64b888012d7e65c005d303d00008015129..."} 
[2026-09-10 18:27:58] local.INFO: Packet analysis {"connection_id":176556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:27:58] local.INFO: Extracted packet for processing {"connection_id":176556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763258304,"raw_latitude":97715152,"longitude_deg":76.3258304,"latitude_deg":9.7715152,"altitude":8,"angle":337,"satellites":41,"speed":9,"hex_longitude":"2d7e65c0","hex_latitude":"05d303d0","is_valid_coordinates":true} 
[2026-09-10 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995527168001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130903817133752320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107967321418434560,"note":"Value kept but may cause issues"} 
[2026-09-10 18:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789045029000,"timestamp_ms":1789045029000,"timestamp_seconds":1789045029,"priority":1,"record_length":96,"hex_timestamp":"000001a08b64b888"} 
[2026-09-10 18:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-10 18:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995527168001,"66":13472,"109":206,"85":15104,"24":9,"16":130903817133752320,"45":9107967321418434560},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995527168001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:27:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130903817133752320,"km_value":130903817133752.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107967321418434560,"description":"Unknown IO ID 45"} 
[2026-09-10 18:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995527168001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9107967321418434560}} 
[2026-09-10 18:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":176556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:27:58] local.INFO: GPS data processed {"connection_id":176556,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:27:58] local.INFO: Acknowledgment sent {"connection_id":176556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:28:18] local.INFO: TCP Data received {"connection_id":179309,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:28:18] local.INFO: Processing buffer {"connection_id":179309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:28:18] local.INFO: IMEI packet received {"connection_id":179309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":179309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:28:21] local.INFO: TCP Data received {"connection_id":179308,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b627e38012c8dd20007e11708000b009b2f..."} 
[2026-09-10 18:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b627e38012c8dd20007e11708000b009b2f..."} 
[2026-09-10 18:28:21] local.INFO: Processing buffer {"connection_id":179308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b627e38012c8dd20007e11708000b009b2f..."} 
[2026-09-10 18:28:21] local.INFO: Packet analysis {"connection_id":179308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:28:21] local.INFO: Extracted packet for processing {"connection_id":179308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b62"} 
[2026-09-10 18:28:21] local.INFO: GPS Element Parsed {"raw_longitude":747491840,"raw_latitude":132192008,"longitude_deg":74.749184,"latitude_deg":13.2192008,"altitude":11,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2c8dd200","hex_latitude":"07e11708","is_valid_coordinates":true} 
[2026-09-10 18:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995484672001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8238139215776690176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789044883000,"timestamp_ms":1789044883000,"timestamp_seconds":1789044883,"priority":1,"record_length":96,"hex_timestamp":"000001a08b627e38"} 
[2026-09-10 18:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 18:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":179308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":179308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":179308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995484672001,"66":28224,"219":206,"9":54272,"24":0,"16":3893920429768704,"44":-8238139215776690176},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,9,24,16,44]} 
[2026-09-10 18:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995484672001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:28:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-10 18:28:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8238139215776690176,"description":"Unknown IO ID 44"} 
[2026-09-10 18:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995484672001,"power":28224,"unknown_219":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8238139215776690176}} 
[2026-09-10 18:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":179308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:28:21] local.INFO: GPS data processed {"connection_id":179308,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:28:21] local.INFO: Acknowledgment sent {"connection_id":179308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:28:24] local.INFO: TCP Data received {"connection_id":179309,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:28:24] local.INFO: Processing buffer {"connection_id":179309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:28:24] local.INFO: IMEI packet received {"connection_id":179309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":179309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:28:24] local.INFO: TCP Data received {"connection_id":179309,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:28:24] local.INFO: Processing buffer {"connection_id":179309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:28:24] local.INFO: Packet analysis {"connection_id":179309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:24] local.INFO: Extracted packet for processing {"connection_id":179309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:28:24] 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-09-10 18:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:28:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:28:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":179309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:28:24] local.INFO: GPS data processed {"connection_id":179309,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:28:24] local.INFO: Acknowledgment sent {"connection_id":179309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:28:24] local.INFO: TCP Data received {"connection_id":177945,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:24] local.INFO: Processing buffer {"connection_id":177945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:24] local.INFO: IMEI packet received {"connection_id":177945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":177945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:28:26] local.INFO: TCP Data received {"connection_id":177945,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:26] local.INFO: Processing buffer {"connection_id":177945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:26] local.INFO: IMEI packet received {"connection_id":177945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":177945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:28:29] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08b65d998012d7e4bc005d3a1e0000301362b..."} 
[2026-09-10 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b65d998012d7e4bc005d3a1e0000301362b..."} 
[2026-09-10 18:28:29] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b65d998012d7e4bc005d3a1e0000301362b..."} 
[2026-09-10 18:28:29] local.INFO: Packet analysis {"connection_id":176556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:28:29] local.INFO: Extracted packet for processing {"connection_id":176556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763251648,"raw_latitude":97755616,"longitude_deg":76.3251648,"latitude_deg":9.7755616,"altitude":3,"angle":310,"satellites":43,"speed":9,"hex_longitude":"2d7e4bc0","hex_latitude":"05d3a1e0","is_valid_coordinates":true} 
[2026-09-10 18:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995546112001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130905857243217920,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100719340778498048,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789045103000,"timestamp_ms":1789045103000,"timestamp_seconds":1789045103,"priority":1,"record_length":96,"hex_timestamp":"000001a08b65d998"} 
[2026-09-10 18:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-10 18:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995546112001,"66":13091,"109":206,"85":15104,"24":9,"16":130905857243217920,"45":9100719340778498048},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995546112001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:28:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130905857243217920,"km_value":130905857243217.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100719340778498048,"description":"Unknown IO ID 45"} 
[2026-09-10 18:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995546112001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9100719340778498048}} 
[2026-09-10 18:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":176556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:28:29] local.INFO: GPS data processed {"connection_id":176556,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:28:29] local.INFO: Acknowledgment sent {"connection_id":176556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:28:32] local.INFO: TCP Data received {"connection_id":177945,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:32] local.INFO: Processing buffer {"connection_id":177945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:28:32] local.INFO: IMEI packet received {"connection_id":177945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":177945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:28:33] local.INFO: TCP Data received {"connection_id":177945,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b63aee8012d1820c00721b388005200d42d..."} 
[2026-09-10 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b63aee8012d1820c00721b388005200d42d..."} 
[2026-09-10 18:28:33] local.INFO: Processing buffer {"connection_id":177945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b63aee8012d1820c00721b388005200d42d..."} 
[2026-09-10 18:28:33] local.INFO: Packet analysis {"connection_id":177945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:33] local.INFO: Extracted packet for processing {"connection_id":177945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649160,"longitude_deg":75.6555968,"latitude_deg":11.964916,"altitude":82,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995504640001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356180652490752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027729408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789044961000,"timestamp_ms":1789044961000,"timestamp_seconds":1789044961,"priority":1,"record_length":96,"hex_timestamp":"000001a08b63aee8"} 
[2026-09-10 18:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 18:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995504640001,"66":12526,"120":206,"28":31744,"24":0,"16":19356180652490752,"45":1738600593027729408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995504640001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:28:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356180652490752,"km_value":19356180652490.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027729408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995504640001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027729408}} 
[2026-09-10 18:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":177945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:28:33] local.INFO: GPS data processed {"connection_id":177945,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:28:33] local.INFO: Acknowledgment sent {"connection_id":177945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:28:38] local.INFO: TCP Data received {"connection_id":177946,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:28:38] local.INFO: Processing buffer {"connection_id":177946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:28:38] local.INFO: IMEI packet received {"connection_id":177946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":177946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:28:43] local.INFO: TCP Data received {"connection_id":177946,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:28:43] local.INFO: Processing buffer {"connection_id":177946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:28:43] local.INFO: IMEI packet received {"connection_id":177946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":177946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:28:45] local.INFO: TCP Data received {"connection_id":177946,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6360c80100000000000000000000000000..."} 
[2026-09-10 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6360c80100000000000000000000000000..."} 
[2026-09-10 18:28:45] local.INFO: Processing buffer {"connection_id":177946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6360c80100000000000000000000000000..."} 
[2026-09-10 18:28:45] local.INFO: Packet analysis {"connection_id":177946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:45] local.INFO: Extracted packet for processing {"connection_id":177946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995490048001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8227513535411320832,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789044941000,"timestamp_ms":1789044941000,"timestamp_seconds":1789044941,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6360c8"} 
[2026-09-10 18:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 18:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":177946,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:28:45] local.INFO: GPS data processed {"connection_id":177946,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:28:45] local.INFO: Acknowledgment sent {"connection_id":177946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:28:53] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:53] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:53] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:28:54] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:54] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:54] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:28:55] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:55] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:55] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:28:55] local.INFO: TCP Data received {"connection_id":179309,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:28:55] local.INFO: Processing buffer {"connection_id":179309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:28:55] local.INFO: Packet analysis {"connection_id":179309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:55] local.INFO: Extracted packet for processing {"connection_id":179309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:28:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:28:55] 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-09-10 18: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-09-10 18:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:28:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:28:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":179309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:28:55] local.INFO: GPS data processed {"connection_id":179309,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:28:55] local.INFO: Acknowledgment sent {"connection_id":179309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:28:57] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:57] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:28:57] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:29:04] local.INFO: TCP Data received {"connection_id":177945,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6400f0012d1820c00721b388005200d42c..."} 
[2026-09-10 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6400f0012d1820c00721b388005200d42c..."} 
[2026-09-10 18:29:04] local.INFO: Processing buffer {"connection_id":177945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6400f0012d1820c00721b388005200d42c..."} 
[2026-09-10 18:29:04] local.INFO: Packet analysis {"connection_id":177945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:29:04] local.INFO: Extracted packet for processing {"connection_id":177945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649160,"longitude_deg":75.6555968,"latitude_deg":11.964916,"altitude":82,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-09-10 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995510016001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356180652490752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027729408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29: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-09-10 18:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789044982000,"timestamp_ms":1789044982000,"timestamp_seconds":1789044982,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6400f0"} 
[2026-09-10 18:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 18:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995510016001,"66":12689,"120":206,"28":31744,"24":0,"16":19356180652490752,"45":1738600593027729408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995510016001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:29:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356180652490752,"km_value":19356180652490.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027729408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995510016001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027729408}} 
[2026-09-10 18:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":177945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:29:04] local.INFO: GPS data processed {"connection_id":177945,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:29:04] local.INFO: Acknowledgment sent {"connection_id":177945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:29:18] local.INFO: TCP Data received {"connection_id":179310,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:29:18] local.INFO: Processing buffer {"connection_id":179310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:29:18] local.INFO: IMEI packet received {"connection_id":179310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":179310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:29:23] local.INFO: TCP Data received {"connection_id":177946,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b656c38012c8e688007dcf068000e00a830..."} 
[2026-09-10 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b656c38012c8e688007dcf068000e00a830..."} 
[2026-09-10 18:29:23] local.INFO: Processing buffer {"connection_id":177946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b656c38012c8e688007dcf068000e00a830..."} 
[2026-09-10 18:29:23] local.INFO: Packet analysis {"connection_id":177946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:29:23] local.INFO: Extracted packet for processing {"connection_id":177946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:29:23] local.INFO: GPS Element Parsed {"raw_longitude":747530368,"raw_latitude":131919976,"longitude_deg":74.7530368,"latitude_deg":13.1919976,"altitude":14,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2c8e6880","hex_latitude":"07dcf068","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995533824001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8194651331944482816,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789045075000,"timestamp_ms":1789045075000,"timestamp_seconds":1789045075,"priority":1,"record_length":96,"hex_timestamp":"000001a08b656c38"} 
[2026-09-10 18:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 18:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995533824001,"66":28050,"132":206,"9":57344,"24":0,"16":3893920429768704,"44":-8194651331944482816},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,44]} 
[2026-09-10 18:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995533824001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:29:23] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 18:29:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:29:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8194651331944482816,"description":"Unknown IO ID 44"} 
[2026-09-10 18:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995533824001,"power":28050,"unknown_132":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-8194651331944482816}} 
[2026-09-10 18:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":177946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:29:23] local.INFO: GPS data processed {"connection_id":177946,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:29:23] local.INFO: Acknowledgment sent {"connection_id":177946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:29:24] local.INFO: TCP Data received {"connection_id":179310,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:29:24] local.INFO: Processing buffer {"connection_id":179310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:29:24] local.INFO: IMEI packet received {"connection_id":179310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":179310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:29:24] local.INFO: TCP Data received {"connection_id":179310,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:29:24] local.INFO: Processing buffer {"connection_id":179310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:29:24] local.INFO: Packet analysis {"connection_id":179310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:29:24] local.INFO: Extracted packet for processing {"connection_id":179310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:29:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:29:24] 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-09-10 18: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-09-10 18:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:29:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:29:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":179310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:29:24] local.INFO: GPS data processed {"connection_id":179310,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:29:24] local.INFO: Acknowledgment sent {"connection_id":179310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:29:27] local.INFO: TCP Data received {"connection_id":176773,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:27] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:27] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:29:27] local.INFO: TCP Data received {"connection_id":176773,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:27] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:27] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:29:32] local.INFO: TCP Data received {"connection_id":176773,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:32] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:29:32] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:29:34] local.INFO: TCP Data received {"connection_id":176773,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6452f8012d1820c00721b388005200d42b..."} 
[2026-09-10 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6452f8012d1820c00721b388005200d42b..."} 
[2026-09-10 18:29:34] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6452f8012d1820c00721b388005200d42b..."} 
[2026-09-10 18:29:34] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:29:34] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649160,"longitude_deg":75.6555968,"latitude_deg":11.964916,"altitude":82,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-09-10 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995515392001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356180652490752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027729408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789045003000,"timestamp_ms":1789045003000,"timestamp_seconds":1789045003,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6452f8"} 
[2026-09-10 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-10 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995515392001,"66":12613,"120":206,"28":31744,"24":0,"16":19356180652490752,"45":1738600593027729408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995515392001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:29:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:29:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356180652490752,"km_value":19356180652490.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027729408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995515392001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027729408}} 
[2026-09-10 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:29:34] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:29:34] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:29:38] local.INFO: TCP Data received {"connection_id":176557,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:29:38] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:29:38] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:29:43] local.INFO: TCP Data received {"connection_id":176557,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:29:43] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:29:43] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:29:45] local.INFO: TCP Data received {"connection_id":176557,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b659730012c8e810007dc9a80000e00982e..."} 
[2026-09-10 18:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b659730012c8e810007dc9a80000e00982e..."} 
[2026-09-10 18:29:45] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b659730012c8e810007dc9a80000e00982e..."} 
[2026-09-10 18:29:45] local.INFO: Packet analysis {"connection_id":176557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:29:45] local.INFO: Extracted packet for processing {"connection_id":176557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":747536640,"raw_latitude":131897984,"longitude_deg":74.753664,"latitude_deg":13.1897984,"altitude":14,"angle":152,"satellites":46,"speed":58,"hex_longitude":"2c8e8100","hex_latitude":"07dc9a80","is_valid_coordinates":true} 
[2026-09-10 18:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995539200001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8185151551486007296,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789045086000,"timestamp_ms":1789045086000,"timestamp_seconds":1789045086,"priority":1,"record_length":96,"hex_timestamp":"000001a08b659730"} 
[2026-09-10 18:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 18:29:45] 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-09-10 18:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995539200001,"66":28148,"132":206,"9":57344,"24":58,"16":3893920429768704,"44":-8185151551486007296},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,44]} 
[2026-09-10 18:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995539200001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:29:45] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 18:29:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8185151551486007296,"description":"Unknown IO ID 44"} 
[2026-09-10 18:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995539200001,"power":28148,"unknown_132":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-8185151551486007296}} 
[2026-09-10 18:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":176557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:29:45] local.INFO: GPS data processed {"connection_id":176557,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:29:45] local.INFO: Acknowledgment sent {"connection_id":176557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:29:55] local.INFO: TCP Data received {"connection_id":179310,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:29:55] local.INFO: Processing buffer {"connection_id":179310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:29:55] local.INFO: Packet analysis {"connection_id":179310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:29:55] local.INFO: Extracted packet for processing {"connection_id":179310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:29:55] 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-09-10 18: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-09-10 18:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:29:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":179310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:29:55] local.INFO: GPS data processed {"connection_id":179310,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:29:55] local.INFO: Acknowledgment sent {"connection_id":179310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:30:06] local.INFO: TCP Data received {"connection_id":176773,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b64a500012d1820c00721b388005200d42b..."} 
[2026-09-10 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b64a500012d1820c00721b388005200d42b..."} 
[2026-09-10 18:30:06] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b64a500012d1820c00721b388005200d42b..."} 
[2026-09-10 18:30:06] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:30:06] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649160,"longitude_deg":75.6555968,"latitude_deg":11.964916,"altitude":82,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995520768001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356180652490752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027729408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30: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-09-10 18:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789045024000,"timestamp_ms":1789045024000,"timestamp_seconds":1789045024,"priority":1,"record_length":96,"hex_timestamp":"000001a08b64a500"} 
[2026-09-10 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-09-10 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 18:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995520768001,"66":12613,"120":206,"28":31744,"24":0,"16":19356180652490752,"45":1738600593027729408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995520768001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:30:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356180652490752,"km_value":19356180652490.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027729408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995520768001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027729408}} 
[2026-09-10 18:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:30:06] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:30:06] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:30:16] local.INFO: TCP Data received {"connection_id":176557,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b65e938012c8eafc007dc4c28001100942e..."} 
[2026-09-10 18:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b65e938012c8eafc007dc4c28001100942e..."} 
[2026-09-10 18:30:16] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b65e938012c8eafc007dc4c28001100942e..."} 
[2026-09-10 18:30:16] local.INFO: Packet analysis {"connection_id":176557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:30:16] local.INFO: Extracted packet for processing {"connection_id":176557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:30:16] local.INFO: GPS Element Parsed {"raw_longitude":747548608,"raw_latitude":131877928,"longitude_deg":74.7548608,"latitude_deg":13.1877928,"altitude":17,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2c8eafc0","hex_latitude":"07dc4c28","is_valid_coordinates":true} 
[2026-09-10 18:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995542016001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8178255414562226176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789045107000,"timestamp_ms":1789045107000,"timestamp_seconds":1789045107,"priority":1,"record_length":96,"hex_timestamp":"000001a08b65e938"} 
[2026-09-10 18:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 18:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995542016001,"66":28082,"132":206,"9":57344,"24":0,"16":3893920429768704,"44":-8178255414562226176},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16,44]} 
[2026-09-10 18:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995542016001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:30:16] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 18:30:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8178255414562226176,"description":"Unknown IO ID 44"} 
[2026-09-10 18:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995542016001,"power":28082,"unknown_132":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-8178255414562226176}} 
[2026-09-10 18:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":176557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:30:16] local.INFO: GPS data processed {"connection_id":176557,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:30:16] local.INFO: Acknowledgment sent {"connection_id":176557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:30:18] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:30:18] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:30:18] local.INFO: IMEI packet received {"connection_id":176775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":176775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:30:24] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:30:24] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:30:24] local.INFO: IMEI packet received {"connection_id":176775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":176775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:30:24] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:30:24] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:30:24] local.INFO: Packet analysis {"connection_id":176775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:30:24] local.INFO: Extracted packet for processing {"connection_id":176775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:30:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:30:24] 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-09-10 18:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:30:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:30:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":176775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:30:24] local.INFO: GPS data processed {"connection_id":176775,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:30:24] local.INFO: Acknowledgment sent {"connection_id":176775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:30:26] local.INFO: TCP Data received {"connection_id":176558,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:30:26] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:30:26] local.INFO: IMEI packet received {"connection_id":176558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":176558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:30:31] local.INFO: TCP Data received {"connection_id":176558,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:30:31] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:30:31] local.INFO: IMEI packet received {"connection_id":176558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":176558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:30:32] local.INFO: TCP Data received {"connection_id":176558,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b64f708012d181fc00721b1b8004a00d92c..."} 
[2026-09-10 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b64f708012d181fc00721b1b8004a00d92c..."} 
[2026-09-10 18:30:32] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b64f708012d181fc00721b1b8004a00d92c..."} 
[2026-09-10 18:30:32] local.INFO: Packet analysis {"connection_id":176558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:30:32] local.INFO: Extracted packet for processing {"connection_id":176558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b64"} 
[2026-09-10 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995526144001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027729408,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789045045000,"timestamp_ms":1789045045000,"timestamp_seconds":1789045045,"priority":1,"record_length":96,"hex_timestamp":"000001a08b64f708"} 
[2026-09-10 18:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:30: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-09-10 18:30: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-09-10 18:30: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-09-10 18:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995526144001,"66":12613,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738600593027729408},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995526144001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:30:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027729408,"description":"Unknown IO ID 45"} 
[2026-09-10 18:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995526144001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027729408}} 
[2026-09-10 18:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":176558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:30:32] local.INFO: GPS data processed {"connection_id":176558,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:30:32] local.INFO: Acknowledgment sent {"connection_id":176558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:30:38] local.INFO: TCP Data received {"connection_id":176559,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:38] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:38] local.INFO: IMEI packet received {"connection_id":176559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":176559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:30:42] local.INFO: TCP Data received {"connection_id":176559,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:42] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:42] local.INFO: IMEI packet received {"connection_id":176559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":176559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:30:43] local.INFO: TCP Data received {"connection_id":176559,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:43] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:30:43] local.INFO: IMEI packet received {"connection_id":176559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":176559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:30:44] local.INFO: TCP Data received {"connection_id":176559,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b66cbc80100000000000000000000000000..."} 
[2026-09-10 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b66cbc80100000000000000000000000000..."} 
[2026-09-10 18:30:44] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b66cbc80100000000000000000000000000..."} 
[2026-09-10 18:30:44] local.INFO: Packet analysis {"connection_id":176559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:30:44] local.INFO: Extracted packet for processing {"connection_id":176559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995547392001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8165096459406137344,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789045165000,"timestamp_ms":1789045165000,"timestamp_seconds":1789045165,"priority":1,"record_length":96,"hex_timestamp":"000001a08b66cbc8"} 
[2026-09-10 18:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":176559,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:30:44] local.INFO: GPS data processed {"connection_id":176559,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:30:44] local.INFO: Acknowledgment sent {"connection_id":176559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:30:55] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:30:55] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6364b0012ceb0780071a3b30002101352c..."} 
[2026-09-10 18:30:55] local.INFO: Packet analysis {"connection_id":176775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:30:55] local.INFO: Extracted packet for processing {"connection_id":176775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b63"} 
[2026-09-10 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995428096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789044942000,"timestamp_ms":1789044942000,"timestamp_seconds":1789044942,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6364b0"} 
[2026-09-10 18:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 18:30:55] 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-09-10 18:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995428096001,"66":25734,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995428096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:30:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:30:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995428096001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":176775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:30:55] local.INFO: GPS data processed {"connection_id":176775,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:30:55] local.INFO: Acknowledgment sent {"connection_id":176775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:31:03] local.INFO: TCP Data received {"connection_id":176558,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b654910012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b654910012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:31:03] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b654910012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:31:03] local.INFO: Packet analysis {"connection_id":176558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:31:03] local.INFO: Extracted packet for processing {"connection_id":176558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995531520001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789045066000,"timestamp_ms":1789045066000,"timestamp_seconds":1789045066,"priority":1,"record_length":96,"hex_timestamp":"000001a08b654910"} 
[2026-09-10 18:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 18:31: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-09-10 18:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995531520001,"66":12591,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995531520001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:31:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995531520001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":176558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:31:03] local.INFO: GPS data processed {"connection_id":176558,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:31:03] local.INFO: Acknowledgment sent {"connection_id":176558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:31:15] local.INFO: TCP Data received {"connection_id":176559,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6652b0012c8f04c007dbab70000f009a30..."} 
[2026-09-10 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6652b0012c8f04c007dbab70000f009a30..."} 
[2026-09-10 18:31:15] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6652b0012c8f04c007dbab70000f009a30..."} 
[2026-09-10 18:31:15] local.INFO: Packet analysis {"connection_id":176559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:31:15] local.INFO: Extracted packet for processing {"connection_id":176559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":747570368,"raw_latitude":131836784,"longitude_deg":74.7570368,"latitude_deg":13.1836784,"altitude":15,"angle":154,"satellites":48,"speed":58,"hex_longitude":"2c8f04c0","hex_latitude":"07dbab70","is_valid_coordinates":true} 
[2026-09-10 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789045134000,"timestamp_ms":1789045134000,"timestamp_seconds":1789045134,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6652b0"} 
[2026-09-10 18:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:31:15] 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-09-10 18:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"103":206,"9":57344,"24":58,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16]} 
[2026-09-10 18:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:31:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 18:31:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:31:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_103":206,"unknown_9":57344,"ignition":58,"odometer":null}} 
[2026-09-10 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":176559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:31:15] local.INFO: GPS data processed {"connection_id":176559,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:31:15] local.INFO: Acknowledgment sent {"connection_id":176559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:31:22] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:22] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:22] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:31:23] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:23] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:23] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:31:26] local.INFO: TCP Data received {"connection_id":177947,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:31:26] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:31:26] local.INFO: IMEI packet received {"connection_id":177947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":177947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:31:29] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:29] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:31:29] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:31:29] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:31:29] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:31:29] local.INFO: Packet analysis {"connection_id":176776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:31:29] local.INFO: Extracted packet for processing {"connection_id":176776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:31:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":176776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:31:29] local.INFO: GPS data processed {"connection_id":176776,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:31:29] local.INFO: Acknowledgment sent {"connection_id":176776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:31:31] local.INFO: TCP Data received {"connection_id":177947,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:31:31] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:31:31] local.INFO: IMEI packet received {"connection_id":177947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":177947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:31:33] local.INFO: TCP Data received {"connection_id":177947,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b659b18012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b659b18012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:31:33] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b659b18012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:31:33] local.INFO: Packet analysis {"connection_id":177947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:31:33] local.INFO: Extracted packet for processing {"connection_id":177947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995536896001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045087000,"timestamp_ms":1789045087000,"timestamp_seconds":1789045087,"priority":1,"record_length":96,"hex_timestamp":"000001a08b659b18"} 
[2026-09-10 18:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 18:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995536896001,"66":12613,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995536896001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:31:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995536896001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":177947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:31:33] local.INFO: GPS data processed {"connection_id":177947,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:31:33] local.INFO: Acknowledgment sent {"connection_id":177947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:31:40] local.INFO: TCP Data received {"connection_id":179311,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:40] local.INFO: Processing buffer {"connection_id":179311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:40] local.INFO: IMEI packet received {"connection_id":179311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":179311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:31:43] local.INFO: TCP Data received {"connection_id":179311,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:43] local.INFO: Processing buffer {"connection_id":179311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:43] local.INFO: IMEI packet received {"connection_id":179311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":179311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:31:48] local.INFO: TCP Data received {"connection_id":179311,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:48] local.INFO: Processing buffer {"connection_id":179311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:31:48] local.INFO: IMEI packet received {"connection_id":179311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":179311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:32:00] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:00] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:00] local.INFO: Packet analysis {"connection_id":176776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:00] local.INFO: Extracted packet for processing {"connection_id":176776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32: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-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":176776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:00] local.INFO: GPS data processed {"connection_id":176776,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:00] local.INFO: Acknowledgment sent {"connection_id":176776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:04] local.INFO: TCP Data received {"connection_id":179311,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b66a4b8012c8f27c007db5780000d00a32e..."} 
[2026-09-10 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b66a4b8012c8f27c007db5780000d00a32e..."} 
[2026-09-10 18:32:04] local.INFO: Processing buffer {"connection_id":179311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b66a4b8012c8f27c007db5780000d00a32e..."} 
[2026-09-10 18:32:04] local.INFO: Packet analysis {"connection_id":179311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:32:04] local.INFO: Extracted packet for processing {"connection_id":179311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":747579328,"raw_latitude":131815296,"longitude_deg":74.7579328,"latitude_deg":13.1815296,"altitude":13,"angle":163,"satellites":46,"speed":0,"hex_longitude":"2c8f27c0","hex_latitude":"07db5780","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995554304001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8141171086396264448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789045155000,"timestamp_ms":1789045155000,"timestamp_seconds":1789045155,"priority":1,"record_length":96,"hex_timestamp":"000001a08b66a4b8"} 
[2026-09-10 18:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":124,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995554304001,"66":28104,"103":206,"9":57344,"24":0,"16":3893920429768704,"44":-8141171086396264448},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995554304001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8141171086396264448,"description":"Unknown IO ID 44"} 
[2026-09-10 18:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995554304001,"power":28104,"unknown_103":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-8141171086396264448}} 
[2026-09-10 18:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":179311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:04] local.INFO: GPS data processed {"connection_id":179311,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:04] local.INFO: Acknowledgment sent {"connection_id":179311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:04] local.INFO: TCP Data received {"connection_id":177947,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b65ed20012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b65ed20012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:32:04] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b65ed20012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:32:04] local.INFO: Packet analysis {"connection_id":177947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:32:04] local.INFO: Extracted packet for processing {"connection_id":177947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b65"} 
[2026-09-10 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995542272001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32: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-09-10 18:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789045108000,"timestamp_ms":1789045108000,"timestamp_seconds":1789045108,"priority":1,"record_length":96,"hex_timestamp":"000001a08b65ed20"} 
[2026-09-10 18:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":69,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995542272001,"66":12580,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995542272001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995542272001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":177947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:04] local.INFO: GPS data processed {"connection_id":177947,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:04] local.INFO: Acknowledgment sent {"connection_id":177947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:18] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:32:18] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:32:18] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:32:24] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:32:24] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:32:24] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:32:24] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:24] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:24] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:24] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:24] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:24] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:32] local.INFO: TCP Data received {"connection_id":177948,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:32:32] local.INFO: Processing buffer {"connection_id":177948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:32:32] local.INFO: IMEI packet received {"connection_id":177948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":177948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:32:37] local.INFO: TCP Data received {"connection_id":177948,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:32:37] local.INFO: Processing buffer {"connection_id":177948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:32:37] local.INFO: IMEI packet received {"connection_id":177948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":177948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:32:38] local.INFO: TCP Data received {"connection_id":177948,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b663f28012d181fc00721b1b8004a00d92c..."} 
[2026-09-10 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b663f28012d181fc00721b1b8004a00d92c..."} 
[2026-09-10 18:32:38] local.INFO: Processing buffer {"connection_id":177948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b663f28012d181fc00721b1b8004a00d92c..."} 
[2026-09-10 18:32:38] local.INFO: Packet analysis {"connection_id":177948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:32:38] local.INFO: Extracted packet for processing {"connection_id":177948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995547648001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32: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-09-10 18:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789045129000,"timestamp_ms":1789045129000,"timestamp_seconds":1789045129,"priority":1,"record_length":96,"hex_timestamp":"000001a08b663f28"} 
[2026-09-10 18:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32: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-09-10 18:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:38] 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-09-10 18:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995547648001,"66":12537,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995547648001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995547648001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":177948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:38] local.INFO: GPS data processed {"connection_id":177948,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:38] local.INFO: Acknowledgment sent {"connection_id":177948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:39] local.INFO: TCP Data received {"connection_id":177948,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b669130012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b669130012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:32:39] local.INFO: Processing buffer {"connection_id":177948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b669130012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:32:39] local.INFO: Packet analysis {"connection_id":177948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:32:39] local.INFO: Extracted packet for processing {"connection_id":177948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995553024001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18: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-09-10 18:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789045150000,"timestamp_ms":1789045150000,"timestamp_seconds":1789045150,"priority":1,"record_length":96,"hex_timestamp":"000001a08b669130"} 
[2026-09-10 18:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995553024001,"66":12548,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995553024001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995553024001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":177948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:39] local.INFO: GPS data processed {"connection_id":177948,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:39] local.INFO: Acknowledgment sent {"connection_id":177948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:40] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:32:40] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:32:40] local.INFO: IMEI packet received {"connection_id":176778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":176778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:32:44] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:32:44] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:32:44] local.INFO: IMEI packet received {"connection_id":176778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":176778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:32:45] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6787480100000000000000000000000000..."} 
[2026-09-10 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6787480100000000000000000000000000..."} 
[2026-09-10 18:32:45] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6787480100000000000000000000000000..."} 
[2026-09-10 18:32:45] local.INFO: Packet analysis {"connection_id":176778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:45] local.INFO: Extracted packet for processing {"connection_id":176778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995559680001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8131319462216892416,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789045213000,"timestamp_ms":1789045213000,"timestamp_seconds":1789045213,"priority":1,"record_length":96,"hex_timestamp":"000001a08b678748"} 
[2026-09-10 18:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:45] 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-09-10 18:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":176778,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:32:45] local.INFO: GPS data processed {"connection_id":176778,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:32:45] local.INFO: Acknowledgment sent {"connection_id":176778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:47] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b670e30012c8f58c007daa870000c00a02d..."} 
[2026-09-10 18:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b670e30012c8f58c007daa870000c00a02d..."} 
[2026-09-10 18:32:47] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b670e30012c8f58c007daa870000c00a02d..."} 
[2026-09-10 18:32:47] local.INFO: Packet analysis {"connection_id":176778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:47] local.INFO: Extracted packet for processing {"connection_id":176778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:47] local.INFO: GPS Element Parsed {"raw_longitude":747591872,"raw_latitude":131770480,"longitude_deg":74.7591872,"latitude_deg":13.177048,"altitude":12,"angle":160,"satellites":45,"speed":56,"hex_longitude":"2c8f58c0","hex_latitude":"07daa870","is_valid_coordinates":true} 
[2026-09-10 18:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789045182000,"timestamp_ms":1789045182000,"timestamp_seconds":1789045182,"priority":1,"record_length":96,"hex_timestamp":"000001a08b670e30"} 
[2026-09-10 18:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"103":206,"9":57344,"24":56,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16]} 
[2026-09-10 18:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 18:32:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_103":206,"unknown_9":57344,"ignition":56,"odometer":null}} 
[2026-09-10 18:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":176778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:47] local.INFO: GPS data processed {"connection_id":176778,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:47] local.INFO: Acknowledgment sent {"connection_id":176778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:32:55] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:55] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:32:55] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:55] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:32:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:32:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:32:55] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:32:55] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:33:10] local.INFO: TCP Data received {"connection_id":177948,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b66e338012d181fc00721b1b8004a00d92b..."} 
[2026-09-10 18:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b66e338012d181fc00721b1b8004a00d92b..."} 
[2026-09-10 18:33:10] local.INFO: Processing buffer {"connection_id":177948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b66e338012d181fc00721b1b8004a00d92b..."} 
[2026-09-10 18:33:10] local.INFO: Packet analysis {"connection_id":177948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:33:10] local.INFO: Extracted packet for processing {"connection_id":177948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b66"} 
[2026-09-10 18:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995558400001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33: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-09-10 18:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789045171000,"timestamp_ms":1789045171000,"timestamp_seconds":1789045171,"priority":1,"record_length":96,"hex_timestamp":"000001a08b66e338"} 
[2026-09-10 18:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2338628864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2981625930,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 18:33:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":134294808,"corrected_to":0} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3294494720,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,196,160,63,45,192,177,74,44,10,66,237,42,155,1,240,69,139,33,4,113,205,247,31,184,239,49,2,68,7,82,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":247,"original":134294808,"validated":0}]} 
[2026-09-10 18:33:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332500728923553792,"timestamp_seconds":5332500728923554.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995558400001,"66":12428,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995558400001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:33:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995558400001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":177948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:33:11] local.INFO: GPS data processed {"connection_id":177948,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:33:11] local.INFO: Acknowledgment sent {"connection_id":177948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:33:18] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b676038012c8f794007da52d0000b009f2f..."} 
[2026-09-10 18:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b676038012c8f794007da52d0000b009f2f..."} 
[2026-09-10 18:33:18] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b676038012c8f794007da52d0000b009f2f..."} 
[2026-09-10 18:33:18] local.INFO: Packet analysis {"connection_id":176778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:18] local.INFO: Extracted packet for processing {"connection_id":176778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:18] local.INFO: GPS Element Parsed {"raw_longitude":747600192,"raw_latitude":131748560,"longitude_deg":74.7600192,"latitude_deg":13.174856,"altitude":11,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2c8f7940","hex_latitude":"07da52d0","is_valid_coordinates":true} 
[2026-09-10 18:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995566592001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8117527188369543168,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789045203000,"timestamp_ms":1789045203000,"timestamp_seconds":1789045203,"priority":1,"record_length":96,"hex_timestamp":"000001a08b676038"} 
[2026-09-10 18:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995566592001,"66":28104,"103":206,"9":57344,"24":0,"16":3893920429768704,"44":-8117527188369543168},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-10 18:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995566592001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:33:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 18:33:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:33:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8117527188369543168,"description":"Unknown IO ID 44"} 
[2026-09-10 18:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995566592001,"power":28104,"unknown_103":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-8117527188369543168}} 
[2026-09-10 18:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":176778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:33:18] local.INFO: GPS data processed {"connection_id":176778,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:33:18] local.INFO: Acknowledgment sent {"connection_id":176778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:33:18] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:33:18] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:33:18] local.INFO: IMEI packet received {"connection_id":176560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":176560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:33:24] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:33:24] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:33:24] local.INFO: IMEI packet received {"connection_id":176560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":176560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:33:24] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:33:24] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:33:24] local.INFO: Packet analysis {"connection_id":176560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:24] local.INFO: Extracted packet for processing {"connection_id":176560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:33:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:33:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":176560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:33:24] local.INFO: GPS data processed {"connection_id":176560,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:33:24] local.INFO: Acknowledgment sent {"connection_id":176560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:33:27] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:33:27] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:33:27] local.INFO: IMEI packet received {"connection_id":176561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":176561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:33:32] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:33:32] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:33:32] local.INFO: IMEI packet received {"connection_id":176561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":176561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:33:33] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b673540012d181fc00721b1b8004a00d92b..."} 
[2026-09-10 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b673540012d181fc00721b1b8004a00d92b..."} 
[2026-09-10 18:33:33] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b673540012d181fc00721b1b8004a00d92b..."} 
[2026-09-10 18:33:33] local.INFO: Packet analysis {"connection_id":176561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:33] local.INFO: Extracted packet for processing {"connection_id":176561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995563776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045192000,"timestamp_ms":1789045192000,"timestamp_seconds":1789045192,"priority":1,"record_length":96,"hex_timestamp":"000001a08b673540"} 
[2026-09-10 18:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 18:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995563776001,"66":12580,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995563776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:33:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:33:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995563776001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":176561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:33:33] local.INFO: GPS data processed {"connection_id":176561,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:33:33] local.INFO: Acknowledgment sent {"connection_id":176561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:33:44] local.INFO: TCP Data received {"connection_id":176779,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:33:44] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:33:44] local.INFO: IMEI packet received {"connection_id":176779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":176779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:33:55] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:33:55] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:33:55] local.INFO: Packet analysis {"connection_id":176560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:55] local.INFO: Extracted packet for processing {"connection_id":176560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:33:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:33:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:33:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:33:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":176560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:33:55] local.INFO: GPS data processed {"connection_id":176560,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:33:55] local.INFO: Acknowledgment sent {"connection_id":176560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:34:05] local.INFO: TCP Data received {"connection_id":176561,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b678748012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b678748012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:34:05] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b678748012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:34:05] local.INFO: Packet analysis {"connection_id":176561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:05] local.INFO: Extracted packet for processing {"connection_id":176561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995569152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34: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-09-10 18:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789045213000,"timestamp_ms":1789045213000,"timestamp_seconds":1789045213,"priority":1,"record_length":96,"hex_timestamp":"000001a08b678748"} 
[2026-09-10 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-09-10 18: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-09-10 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-10 18:34:05] 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-09-10 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-09-10 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-09-10 18:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995569152001,"66":12558,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995569152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:34:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995569152001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":176561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:34:05] local.INFO: GPS data processed {"connection_id":176561,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:34:05] local.INFO: Acknowledgment sent {"connection_id":176561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:34:18] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:34:18] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:34:18] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:34:24] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:34:24] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:34:24] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:34:24] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:34:24] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:34:24] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:24] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:34:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:34:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:34:24] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:34:24] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:34:27] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:34:27] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:34:27] local.INFO: IMEI packet received {"connection_id":176781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":176781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:34:31] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:34:31] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:34:31] local.INFO: IMEI packet received {"connection_id":176781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":176781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:34:34] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67d950012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67d950012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:34:34] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67d950012d181fc00721b1b8004a00d929..."} 
[2026-09-10 18:34:34] local.INFO: Packet analysis {"connection_id":176781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:34] local.INFO: Extracted packet for processing {"connection_id":176781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995574528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789045234000,"timestamp_ms":1789045234000,"timestamp_seconds":1789045234,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67d950"} 
[2026-09-10 18:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2338691864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2981625930,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3294494720,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,196,160,53,45,192,177,74,43,10,66,227,145,1,240,4,139,33,113,205,237,31,184,42,239,49,2,68,7,231,93,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-10 18:34:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332500728923553792,"timestamp_seconds":5332500728923554.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995574528001,"66":12548,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995574528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:34:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995574528001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":176781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:34:35] local.INFO: GPS data processed {"connection_id":176781,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:34:35] local.INFO: Acknowledgment sent {"connection_id":176781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:34:56] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:34:56] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:34:56] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:56] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:34:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:34:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:34:56] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:34:56] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:35:06] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b682b58012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b682b58012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:35:06] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b682b58012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:35:06] local.INFO: Packet analysis {"connection_id":176781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b68"} 
[2026-09-10 18:35:06] local.INFO: Extracted packet for processing {"connection_id":176781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b68"} 
[2026-09-10 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995579904001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35: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-09-10 18:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789045255000,"timestamp_ms":1789045255000,"timestamp_seconds":1789045255,"priority":1,"record_length":96,"hex_timestamp":"000001a08b682b58"} 
[2026-09-10 18:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:35: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-09-10 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2338712864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2981625930,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579495,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3294494720,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,196,160,135,45,192,177,74,41,10,66,53,43,227,1,240,140,139,33,4,113,205,63,31,184,44,239,48,2,68,7,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-10 18:35:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332500728923553792,"timestamp_seconds":5332500728923554.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995579904001,"66":12461,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995579904001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:35:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995579904001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":176781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:35:06] local.INFO: GPS data processed {"connection_id":176781,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:35:06] local.INFO: Acknowledgment sent {"connection_id":176781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:35:11] local.INFO: TCP Data received {"connection_id":176779,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:11] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:11] local.INFO: IMEI packet received {"connection_id":176779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":176779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:35:18] local.INFO: TCP Data received {"connection_id":176562,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:18] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:18] local.INFO: IMEI packet received {"connection_id":176562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":176562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:35:18] local.INFO: TCP Data received {"connection_id":179312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:35:18] local.INFO: Processing buffer {"connection_id":179312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:35:18] local.INFO: IMEI packet received {"connection_id":179312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":179312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:35:24] local.INFO: TCP Data received {"connection_id":179312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:35:24] local.INFO: Processing buffer {"connection_id":179312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:35:24] local.INFO: IMEI packet received {"connection_id":179312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":179312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:35:24] local.INFO: TCP Data received {"connection_id":179312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:35:24] local.INFO: Processing buffer {"connection_id":179312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:35:24] local.INFO: Packet analysis {"connection_id":179312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:35:24] local.INFO: Extracted packet for processing {"connection_id":179312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:35:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:35:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":179312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:35:24] local.INFO: GPS data processed {"connection_id":179312,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:35:24] local.INFO: Acknowledgment sent {"connection_id":179312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:35:24] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:24] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:24] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:35:26] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:26] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:26] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:35:31] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:31] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:35:31] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:35:32] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b687d60012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b687d60012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:35:32] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b687d60012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:35:32] local.INFO: Packet analysis {"connection_id":176563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b68"} 
[2026-09-10 18:35:32] local.INFO: Extracted packet for processing {"connection_id":176563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b68"} 
[2026-09-10 18:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995585280001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789045276000,"timestamp_ms":1789045276000,"timestamp_seconds":1789045276,"priority":1,"record_length":96,"hex_timestamp":"000001a08b687d60"} 
[2026-09-10 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-09-10 18:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995585280001,"66":12558,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995585280001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:35:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:35:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995585280001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":176563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:35:33] local.INFO: GPS data processed {"connection_id":176563,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:35:33] local.INFO: Acknowledgment sent {"connection_id":176563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:35:48] local.INFO: TCP Data received {"connection_id":176564,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:48] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:48] local.INFO: IMEI packet received {"connection_id":176564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":176564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:35:53] local.INFO: TCP Data received {"connection_id":176564,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:53] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:35:53] local.INFO: IMEI packet received {"connection_id":176564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":176564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:35:54] local.INFO: TCP Data received {"connection_id":176564,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6a7930012c91638007d65108000900a630..."} 
[2026-09-10 18:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6a7930012c91638007d65108000900a630..."} 
[2026-09-10 18:35:54] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6a7930012c91638007d65108000900a630..."} 
[2026-09-10 18:35:54] local.INFO: Packet analysis {"connection_id":176564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6a"} 
[2026-09-10 18:35:54] local.INFO: Extracted packet for processing {"connection_id":176564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6a"} 
[2026-09-10 18:35:54] local.INFO: GPS Element Parsed {"raw_longitude":747725696,"raw_latitude":131485960,"longitude_deg":74.7725696,"latitude_deg":13.148596,"altitude":9,"angle":166,"satellites":48,"speed":54,"hex_longitude":"2c916380","hex_latitude":"07d65108","is_valid_coordinates":true} 
[2026-09-10 18:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995619840001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7983122887058284544,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789045406000,"timestamp_ms":1789045406000,"timestamp_seconds":1789045406,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6a7930"} 
[2026-09-10 18:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 18:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995619840001,"66":28137,"47":206,"9":54272,"24":54,"16":3893920429768704,"44":-7983122887058284544},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,9,24,16,44]} 
[2026-09-10 18:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995619840001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:35:54] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 18:35:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-10 18:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7983122887058284544,"description":"Unknown IO ID 44"} 
[2026-09-10 18:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995619840001,"power":28137,"unknown_47":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-7983122887058284544}} 
[2026-09-10 18:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":176564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:35:54] local.INFO: GPS data processed {"connection_id":176564,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:35:54] local.INFO: Acknowledgment sent {"connection_id":176564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:35:56] local.INFO: TCP Data received {"connection_id":179312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:35:56] local.INFO: Processing buffer {"connection_id":179312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b67fc78012ceb0780071a3b300021013525..."} 
[2026-09-10 18:35:56] local.INFO: Packet analysis {"connection_id":179312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:35:56] local.INFO: Extracted packet for processing {"connection_id":179312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b67"} 
[2026-09-10 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":37,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995505152001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789045243000,"timestamp_ms":1789045243000,"timestamp_seconds":1789045243,"priority":1,"record_length":96,"hex_timestamp":"000001a08b67fc78"} 
[2026-09-10 18:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-10 18:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995505152001,"66":26115,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995505152001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:35:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995505152001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":179312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:35:56] local.INFO: GPS data processed {"connection_id":179312,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:35:56] local.INFO: Acknowledgment sent {"connection_id":179312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:36:04] local.INFO: TCP Data received {"connection_id":176563,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b68cf68012d181fc00721b1b8004a00d928..."} 
[2026-09-10 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b68cf68012d181fc00721b1b8004a00d928..."} 
[2026-09-10 18:36:04] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b68cf68012d181fc00721b1b8004a00d928..."} 
[2026-09-10 18:36:04] local.INFO: Packet analysis {"connection_id":176563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b68"} 
[2026-09-10 18:36:04] local.INFO: Extracted packet for processing {"connection_id":176563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b68"} 
[2026-09-10 18:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995590656001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36: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-09-10 18:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789045297000,"timestamp_ms":1789045297000,"timestamp_seconds":1789045297,"priority":1,"record_length":96,"hex_timestamp":"000001a08b68cf68"} 
[2026-09-10 18:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2338754864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643448,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2981625930,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3294494720,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,196,160,43,45,192,177,74,42,10,66,217,41,135,1,240,14,139,33,4,113,205,227,31,184,239,48,2,68,7,231,93,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-10 18:36:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332500733218521088,"timestamp_seconds":5332500733218521.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995590656001,"66":12461,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995590656001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:36:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995590656001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":176563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:36:04] local.INFO: GPS data processed {"connection_id":176563,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:36:04] local.INFO: Acknowledgment sent {"connection_id":176563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:36:23] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:23] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:23] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:36:23] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:23] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:23] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:36:26] local.INFO: TCP Data received {"connection_id":179313,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:26] local.INFO: Processing buffer {"connection_id":179313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:26] local.INFO: IMEI packet received {"connection_id":179313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":179313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:36:27] local.INFO: TCP Data received {"connection_id":179313,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:27] local.INFO: Processing buffer {"connection_id":179313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:27] local.INFO: IMEI packet received {"connection_id":179313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":179313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:36:29] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:29] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:36:29] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:36:29] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:36:29] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:36:29] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:36:29] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:36:29] 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-09-10 18:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:36: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-09-10 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:36:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:36:29] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:36:29] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:36:32] local.INFO: TCP Data received {"connection_id":179313,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:32] local.INFO: Processing buffer {"connection_id":179313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:36:32] local.INFO: IMEI packet received {"connection_id":179313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":179313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:36:33] local.INFO: TCP Data received {"connection_id":179313,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b692170012d181fc00721b1b8004a00d927..."} 
[2026-09-10 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b692170012d181fc00721b1b8004a00d927..."} 
[2026-09-10 18:36:33] local.INFO: Processing buffer {"connection_id":179313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b692170012d181fc00721b1b8004a00d927..."} 
[2026-09-10 18:36:33] local.INFO: Packet analysis {"connection_id":179313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b69"} 
[2026-09-10 18:36:33] local.INFO: Extracted packet for processing {"connection_id":179313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b69"} 
[2026-09-10 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 18:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995596032001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045318000,"timestamp_ms":1789045318000,"timestamp_seconds":1789045318,"priority":1,"record_length":96,"hex_timestamp":"000001a08b692170"} 
[2026-09-10 18:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995596032001,"66":12548,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995596032001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:36:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995596032001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":179313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:36:33] local.INFO: GPS data processed {"connection_id":179313,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:36:33] local.INFO: Acknowledgment sent {"connection_id":179313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:01] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:01] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:01] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:01] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 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-09-10 18:37: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-09-10 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:37: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-09-10 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-09-10 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-09-10 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:37: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-09-10 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:37:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:37:01] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:37:01] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:05] local.INFO: TCP Data received {"connection_id":179313,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6ca7c8012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6ca7c8012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:37:05] local.INFO: Processing buffer {"connection_id":179313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6ca7c8012d181fc00721b1b8004a00d92a..."} 
[2026-09-10 18:37:05] local.INFO: Packet analysis {"connection_id":179313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:05] local.INFO: Extracted packet for processing {"connection_id":179313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648696,"longitude_deg":75.6555712,"latitude_deg":11.9648696,"altitude":74,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b1b8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995655168001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356206422294528,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37: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-09-10 18:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789045549000,"timestamp_ms":1789045549000,"timestamp_seconds":1789045549,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6ca7c8"} 
[2026-09-10 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-09-10 18:37: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-09-10 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":216,"data_length":795,"current_offset":136} 
[2026-09-10 18:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995655168001,"66":12461,"120":206,"28":31744,"24":0,"16":19356206422294528,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995655168001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:37:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356206422294528,"km_value":19356206422294.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995655168001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":179313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:37:05] local.INFO: GPS data processed {"connection_id":179313,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:37:05] local.INFO: Acknowledgment sent {"connection_id":179313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:13] local.INFO: TCP Data received {"connection_id":176783,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:13] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:13] local.INFO: IMEI packet received {"connection_id":176783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":176783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:37:18] local.INFO: TCP Data received {"connection_id":176783,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:18] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:18] local.INFO: IMEI packet received {"connection_id":176783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":176783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:37:18] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:37:18] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:37:18] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:37:24] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:37:24] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:37:24] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:37:24] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:24] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:24] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:24] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:37:24] 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-09-10 18: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-09-10 18:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:37:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:37:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:37:24] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:37:24] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:26] local.INFO: TCP Data received {"connection_id":176784,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:37:26] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:37:26] local.INFO: IMEI packet received {"connection_id":176784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":176784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:37:27] local.INFO: TCP Data received {"connection_id":176783,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6acb38012c9168c007d5fd68000e00b12f..."} 
[2026-09-10 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6acb38012c9168c007d5fd68000e00b12f..."} 
[2026-09-10 18:37:27] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6acb38012c9168c007d5fd68000e00b12f..."} 
[2026-09-10 18:37:27] local.INFO: Packet analysis {"connection_id":176783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6a"} 
[2026-09-10 18:37:27] local.INFO: Extracted packet for processing {"connection_id":176783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6a"} 
[2026-09-10 18:37:27] local.INFO: GPS Element Parsed {"raw_longitude":747727040,"raw_latitude":131464552,"longitude_deg":74.772704,"latitude_deg":13.1464552,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2c9168c0","hex_latitude":"07d5fd68","is_valid_coordinates":true} 
[2026-09-10 18:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995623936001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7970386144366884864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789045427000,"timestamp_ms":1789045427000,"timestamp_seconds":1789045427,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6acb38"} 
[2026-09-10 18:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 18:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995623936001,"66":28028,"112":206,"9":57344,"24":0,"16":3893920429768704,"44":-7970386144366884864},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-09-10 18:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995623936001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:37:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-10 18:37:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:37:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7970386144366884864,"description":"Unknown IO ID 44"} 
[2026-09-10 18:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995623936001,"power":28028,"unknown_112":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7970386144366884864}} 
[2026-09-10 18:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":176783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:37:27] local.INFO: GPS data processed {"connection_id":176783,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:37:27] local.INFO: Acknowledgment sent {"connection_id":176783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:31] local.INFO: TCP Data received {"connection_id":176784,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:37:31] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:37:31] local.INFO: IMEI packet received {"connection_id":176784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":176784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:37:32] local.INFO: TCP Data received {"connection_id":176784,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6cc708012d181f400721b0c8004d00e529..."} 
[2026-09-10 18:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6cc708012d181f400721b0c8004d00e529..."} 
[2026-09-10 18:37:32] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6cc708012d181f400721b0c8004d00e529..."} 
[2026-09-10 18:37:32] local.INFO: Packet analysis {"connection_id":176784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:32] local.INFO: Extracted packet for processing {"connection_id":176784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648456,"longitude_deg":75.6555584,"latitude_deg":11.9648456,"altitude":77,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995660544001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050899968,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789045557000,"timestamp_ms":1789045557000,"timestamp_seconds":1789045557,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6cc708"} 
[2026-09-10 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-09-10 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995660544001,"66":12385,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738319118050899968},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995660544001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:37:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050899968,"description":"Unknown IO ID 45"} 
[2026-09-10 18:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995660544001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050899968}} 
[2026-09-10 18:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":176784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:37:33] local.INFO: GPS data processed {"connection_id":176784,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:37:33] local.INFO: Acknowledgment sent {"connection_id":176784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:48] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:48] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:48] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:37:49] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:49] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:49] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:37:53] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:53] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:37:53] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:37:55] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6badc80100000000000000000000000000..."} 
[2026-09-10 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6badc80100000000000000000000000000..."} 
[2026-09-10 18:37:55] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6badc80100000000000000000000000000..."} 
[2026-09-10 18:37:55] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6b"} 
[2026-09-10 18:37:55] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6b"} 
[2026-09-10 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995629312001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7968908400744634368,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045485000,"timestamp_ms":1789045485000,"timestamp_seconds":1789045485,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6badc8"} 
[2026-09-10 18:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 18:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:37:55] local.INFO: GPS data processed {"connection_id":176566,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:37:55] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:55] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:55] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:37:55] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:55] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:37:55] 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-09-10 18:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:37:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:37:55] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:37:55] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:37:59] local.INFO: TCP Data received {"connection_id":176566,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6b3c80012c916f0007d55bc0001500be2b..."} 
[2026-09-10 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6b3c80012c916f0007d55bc0001500be2b..."} 
[2026-09-10 18:37:59] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6b3c80012c916f0007d55bc0001500be2b..."} 
[2026-09-10 18:37:59] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6b"} 
[2026-09-10 18:37:59] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6b"} 
[2026-09-10 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":747728640,"raw_latitude":131423168,"longitude_deg":74.772864,"latitude_deg":13.1423168,"altitude":21,"angle":190,"satellites":43,"speed":46,"hex_longitude":"2c916f00","hex_latitude":"07d55bc0","is_valid_coordinates":true} 
[2026-09-10 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:37:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789045456000,"timestamp_ms":1789045456000,"timestamp_seconds":1789045456,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6b3c80"} 
[2026-09-10 18:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:37: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"121":206,"9":57344,"24":46,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,9,24,16]} 
[2026-09-10 18:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:37:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:37:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:37:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_121":206,"unknown_9":57344,"ignition":46,"odometer":null}} 
[2026-09-10 18:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:37:59] local.INFO: GPS data processed {"connection_id":176566,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:37:59] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:38:04] local.INFO: TCP Data received {"connection_id":176784,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6d1910012d181f400721b0c0004e00e52b..."} 
[2026-09-10 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6d1910012d181f400721b0c0004e00e52b..."} 
[2026-09-10 18:38:04] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6d1910012d181f400721b0c0004e00e52b..."} 
[2026-09-10 18:38:04] local.INFO: Packet analysis {"connection_id":176784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6d"} 
[2026-09-10 18:38:04] local.INFO: Extracted packet for processing {"connection_id":176784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6d"} 
[2026-09-10 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995662592001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562483200,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38: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-09-10 18:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789045578000,"timestamp_ms":1789045578000,"timestamp_seconds":1789045578,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6d1910"} 
[2026-09-10 18:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995662592001,"66":12156,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562483200},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995662592001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:38:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562483200,"description":"Unknown IO ID 45"} 
[2026-09-10 18:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995662592001,"power":12156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562483200}} 
[2026-09-10 18:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":176784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:38:04] local.INFO: GPS data processed {"connection_id":176784,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:38:04] local.INFO: Acknowledgment sent {"connection_id":176784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:38:18] local.INFO: TCP Data received {"connection_id":179314,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:38:18] local.INFO: Processing buffer {"connection_id":179314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:38:18] local.INFO: IMEI packet received {"connection_id":179314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":179314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:38:23] local.INFO: TCP Data received {"connection_id":179314,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:38:23] local.INFO: Processing buffer {"connection_id":179314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:38:23] local.INFO: IMEI packet received {"connection_id":179314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":179314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:38:24] local.INFO: TCP Data received {"connection_id":179314,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:38:24] local.INFO: Processing buffer {"connection_id":179314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:38:24] local.INFO: Packet analysis {"connection_id":179314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:38:24] local.INFO: Extracted packet for processing {"connection_id":179314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:38:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:38:24] 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-09-10 18:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:38:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:38:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":179314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:38:24] local.INFO: GPS data processed {"connection_id":179314,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:38:24] local.INFO: Acknowledgment sent {"connection_id":179314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:38:32] local.INFO: TCP Data received {"connection_id":177949,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:38:32] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:38:32] local.INFO: IMEI packet received {"connection_id":177949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":177949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:38:37] local.INFO: TCP Data received {"connection_id":177949,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:38:37] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:38:37] local.INFO: IMEI packet received {"connection_id":177949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":177949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:38:38] local.INFO: TCP Data received {"connection_id":177950,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:38:38] local.INFO: Processing buffer {"connection_id":177950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:38:38] local.INFO: IMEI packet received {"connection_id":177950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":177950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:38:39] local.INFO: TCP Data received {"connection_id":177949,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6d6b18012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6d6b18012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:38:39] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6d6b18012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:38:39] local.INFO: Packet analysis {"connection_id":177949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6d"} 
[2026-09-10 18:38:39] local.INFO: Extracted packet for processing {"connection_id":177949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6d"} 
[2026-09-10 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995667968001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18: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-09-10 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789045599000,"timestamp_ms":1789045599000,"timestamp_seconds":1789045599,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6d6b18"} 
[2026-09-10 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 18:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995667968001,"66":12504,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995667968001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:38:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995667968001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":177949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:38:39] local.INFO: GPS data processed {"connection_id":177949,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:38:39] local.INFO: Acknowledgment sent {"connection_id":177949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:38:40] local.INFO: TCP Data received {"connection_id":177950,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:38:40] local.INFO: Processing buffer {"connection_id":177950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:38:40] local.INFO: IMEI packet received {"connection_id":177950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":177950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:38:41] local.INFO: TCP Data received {"connection_id":177950,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6e1ec8012c91b4c007d2cd70000a00bf29..."} 
[2026-09-10 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6e1ec8012c91b4c007d2cd70000a00bf29..."} 
[2026-09-10 18:38:41] local.INFO: Processing buffer {"connection_id":177950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6e1ec8012c91b4c007d2cd70000a00bf29..."} 
[2026-09-10 18:38:41] local.INFO: Packet analysis {"connection_id":177950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:38:41] local.INFO: Extracted packet for processing {"connection_id":177950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":747746496,"raw_latitude":131255664,"longitude_deg":74.7746496,"latitude_deg":13.1255664,"altitude":10,"angle":191,"satellites":41,"speed":56,"hex_longitude":"2c91b4c0","hex_latitude":"07d2cd70","is_valid_coordinates":true} 
[2026-09-10 18:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995681024001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7945686715213598720,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789045645000,"timestamp_ms":1789045645000,"timestamp_seconds":1789045645,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6e1ec8"} 
[2026-09-10 18:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995681024001,"66":28202,"121":206,"9":57344,"24":56,"16":3893920429768704,"44":-7945686715213598720},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,9,24,16,44]} 
[2026-09-10 18:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995681024001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:38:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:38:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7945686715213598720,"description":"Unknown IO ID 44"} 
[2026-09-10 18:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995681024001,"power":28202,"unknown_121":206,"unknown_9":57344,"ignition":56,"odometer":null,"unknown_44":-7945686715213598720}} 
[2026-09-10 18:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":177950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:38:41] local.INFO: GPS data processed {"connection_id":177950,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:38:41] local.INFO: Acknowledgment sent {"connection_id":177950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:38:43] local.INFO: TCP Data received {"connection_id":177949,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6dbd20012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6dbd20012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:38:43] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6dbd20012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:38:43] local.INFO: Packet analysis {"connection_id":177949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6d"} 
[2026-09-10 18:38:43] local.INFO: Extracted packet for processing {"connection_id":177949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6d"} 
[2026-09-10 18:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995673344001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18: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-09-10 18:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789045620000,"timestamp_ms":1789045620000,"timestamp_seconds":1789045620,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6dbd20"} 
[2026-09-10 18:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":216,"data_length":795,"current_offset":136} 
[2026-09-10 18:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995673344001,"66":12461,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995673344001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:38:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995673344001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":177949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:38:43] local.INFO: GPS data processed {"connection_id":177949,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:38:43] local.INFO: Acknowledgment sent {"connection_id":177949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:38:44] local.INFO: TCP Data received {"connection_id":177950,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6e5d48012c91b04007d274c0000c00b12b..."} 
[2026-09-10 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6e5d48012c91b04007d274c0000c00b12b..."} 
[2026-09-10 18:38:44] local.INFO: Processing buffer {"connection_id":177950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6e5d48012c91b04007d274c0000c00b12b..."} 
[2026-09-10 18:38:44] local.INFO: Packet analysis {"connection_id":177950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:38:44] local.INFO: Extracted packet for processing {"connection_id":177950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":747745344,"raw_latitude":131232960,"longitude_deg":74.7745344,"latitude_deg":13.123296,"altitude":12,"angle":177,"satellites":43,"speed":56,"hex_longitude":"2c91b040","hex_latitude":"07d274c0","is_valid_coordinates":true} 
[2026-09-10 18:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995685120001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7947516302568099840,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789045661000,"timestamp_ms":1789045661000,"timestamp_seconds":1789045661,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6e5d48"} 
[2026-09-10 18:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 18:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995685120001,"66":28224,"121":206,"9":57344,"24":56,"16":3893920429768704,"44":-7947516302568099840},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,9,24,16,44]} 
[2026-09-10 18:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995685120001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:38:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:38:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:38:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7947516302568099840,"description":"Unknown IO ID 44"} 
[2026-09-10 18:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995685120001,"power":28224,"unknown_121":206,"unknown_9":57344,"ignition":56,"odometer":null,"unknown_44":-7947516302568099840}} 
[2026-09-10 18:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":177950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:38:44] local.INFO: GPS data processed {"connection_id":177950,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:38:44] local.INFO: Acknowledgment sent {"connection_id":177950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:38:55] local.INFO: TCP Data received {"connection_id":179314,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:38:55] local.INFO: Processing buffer {"connection_id":179314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:38:55] local.INFO: Packet analysis {"connection_id":179314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:38:55] local.INFO: Extracted packet for processing {"connection_id":179314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:38:55] 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-09-10 18:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:38:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":179314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:38:55] local.INFO: GPS data processed {"connection_id":179314,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:38:55] local.INFO: Acknowledgment sent {"connection_id":179314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:39:15] local.INFO: TCP Data received {"connection_id":177950,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6eaf50012c91b68007d21d78000d00af29..."} 
[2026-09-10 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6eaf50012c91b68007d21d78000d00af29..."} 
[2026-09-10 18:39:15] local.INFO: Processing buffer {"connection_id":177950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6eaf50012c91b68007d21d78000d00af29..."} 
[2026-09-10 18:39:15] local.INFO: Packet analysis {"connection_id":177950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:39:15] local.INFO: Extracted packet for processing {"connection_id":177950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":747746944,"raw_latitude":131210616,"longitude_deg":74.7746944,"latitude_deg":13.1210616,"altitude":13,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2c91b680","hex_latitude":"07d21d78","is_valid_coordinates":true} 
[2026-09-10 18:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995689216001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7948782939969110016,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789045682000,"timestamp_ms":1789045682000,"timestamp_seconds":1789045682,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6eaf50"} 
[2026-09-10 18:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:39: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-09-10 18:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-10 18:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995689216001,"66":28082,"122":206,"9":57344,"24":0,"16":3893920429768704,"44":-7948782939969110016},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-10 18:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995689216001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:39:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:39:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7948782939969110016,"description":"Unknown IO ID 44"} 
[2026-09-10 18:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995689216001,"power":28082,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7948782939969110016}} 
[2026-09-10 18:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":177950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795633,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:39:15] local.INFO: GPS data processed {"connection_id":177950,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:39:15] local.INFO: Acknowledgment sent {"connection_id":177950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:39:18] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:39:18] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:39:18] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:39:23] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:39:23] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:39:23] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:39:24] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:39:24] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:39:24] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:39:24] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:39:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:39:24] 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-09-10 18: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-09-10 18:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:39:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:39:24] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:39:24] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:39:27] local.INFO: TCP Data received {"connection_id":177951,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:39:27] local.INFO: Processing buffer {"connection_id":177951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:39:27] local.INFO: IMEI packet received {"connection_id":177951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":177951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:39:32] local.INFO: TCP Data received {"connection_id":177951,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:39:32] local.INFO: Processing buffer {"connection_id":177951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:39:32] local.INFO: IMEI packet received {"connection_id":177951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":177951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:39:33] local.INFO: TCP Data received {"connection_id":177951,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6e0f28012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6e0f28012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:39:33] local.INFO: Processing buffer {"connection_id":177951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6e0f28012d181f400721b0c0004e00e529..."} 
[2026-09-10 18:39:33] local.INFO: Packet analysis {"connection_id":177951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:39:33] local.INFO: Extracted packet for processing {"connection_id":177951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 18:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995678720001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045641000,"timestamp_ms":1789045641000,"timestamp_seconds":1789045641,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6e0f28"} 
[2026-09-10 18:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995678720001,"66":12461,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995678720001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:39:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:39:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995678720001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":177951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:39:33] local.INFO: GPS data processed {"connection_id":177951,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:39:33] local.INFO: Acknowledgment sent {"connection_id":177951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:39:38] local.INFO: TCP Data received {"connection_id":179316,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:39:38] local.INFO: Processing buffer {"connection_id":179316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:39:38] local.INFO: IMEI packet received {"connection_id":179316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":179316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:39:43] local.INFO: TCP Data received {"connection_id":179316,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:39:43] local.INFO: Processing buffer {"connection_id":179316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:39:43] local.INFO: IMEI packet received {"connection_id":179316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":179316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:39:44] local.INFO: TCP Data received {"connection_id":179316,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f91e00100000000000000000000000000..."} 
[2026-09-10 18:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f91e00100000000000000000000000000..."} 
[2026-09-10 18:39:44] local.INFO: Processing buffer {"connection_id":179316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f91e00100000000000000000000000000..."} 
[2026-09-10 18:39:44] local.INFO: Packet analysis {"connection_id":179316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:39:44] local.INFO: Extracted packet for processing {"connection_id":179316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:39:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995694592001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7947023721370388480,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789045740000,"timestamp_ms":1789045740000,"timestamp_seconds":1789045740,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f91e0"} 
[2026-09-10 18:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":179316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:39:44] local.INFO: GPS data processed {"connection_id":179316,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:39:44] local.INFO: Acknowledgment sent {"connection_id":179316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:39:55] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:39:55] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:39:55] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:39:55] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:39:55] 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-09-10 18:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:39:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:39:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:39:55] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:39:55] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:04] local.INFO: TCP Data received {"connection_id":177951,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6e6130012d181f400721b0c0004e00e527..."} 
[2026-09-10 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6e6130012d181f400721b0c0004e00e527..."} 
[2026-09-10 18:40:05] local.INFO: Processing buffer {"connection_id":177951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6e6130012d181f400721b0c0004e00e527..."} 
[2026-09-10 18:40:05] local.INFO: Packet analysis {"connection_id":177951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:40:05] local.INFO: Extracted packet for processing {"connection_id":177951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995684096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40: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-09-10 18:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789045662000,"timestamp_ms":1789045662000,"timestamp_seconds":1789045662,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6e6130"} 
[2026-09-10 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-09-10 18:40: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-09-10 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":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995684096001,"66":12461,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995684096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995684096001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":177951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:05] local.INFO: GPS data processed {"connection_id":177951,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:05] local.INFO: Acknowledgment sent {"connection_id":177951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:07] local.INFO: TCP Data received {"connection_id":176785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:07] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:07] local.INFO: IMEI packet received {"connection_id":176785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":176785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:40:12] local.INFO: TCP Data received {"connection_id":176785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:12] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:12] local.INFO: IMEI packet received {"connection_id":176785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":176785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:40:13] local.INFO: TCP Data received {"connection_id":176785,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f5f18012d7e334005d34fd80007008a2a..."} 
[2026-09-10 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f5f18012d7e334005d34fd80007008a2a..."} 
[2026-09-10 18:40:13] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f5f18012d7e334005d34fd80007008a2a..."} 
[2026-09-10 18:40:13] local.INFO: Packet analysis {"connection_id":176785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:13] local.INFO: Extracted packet for processing {"connection_id":176785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763245376,"raw_latitude":97734616,"longitude_deg":76.3245376,"latitude_deg":9.7734616,"altitude":7,"angle":138,"satellites":42,"speed":11,"hex_longitude":"2d7e3340","hex_latitude":"05d34fd8","is_valid_coordinates":true} 
[2026-09-10 18:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995705088001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909585274830848,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778913888256,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789045727000,"timestamp_ms":1789045727000,"timestamp_seconds":1789045727,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f5f18"} 
[2026-09-10 18:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:40: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-09-10 18:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995705088001,"66":13526,"109":206,"85":15104,"24":11,"16":130909585274830848,"45":9092978778913888256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995705088001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909585274830848,"km_value":130909585274830.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778913888256,"description":"Unknown IO ID 45"} 
[2026-09-10 18:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995705088001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9092978778913888256}} 
[2026-09-10 18:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":176785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:13] local.INFO: GPS data processed {"connection_id":176785,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:13] local.INFO: Acknowledgment sent {"connection_id":176785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:16] local.INFO: TCP Data received {"connection_id":179316,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f18c8012c91e64007d171100008008928..."} 
[2026-09-10 18:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f18c8012c91e64007d171100008008928..."} 
[2026-09-10 18:40:16] local.INFO: Processing buffer {"connection_id":179316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f18c8012c91e64007d171100008008928..."} 
[2026-09-10 18:40:16] local.INFO: Packet analysis {"connection_id":179316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:16] local.INFO: Extracted packet for processing {"connection_id":179316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:16] local.INFO: GPS Element Parsed {"raw_longitude":747759168,"raw_latitude":131166480,"longitude_deg":74.7759168,"latitude_deg":13.116648,"altitude":8,"angle":137,"satellites":40,"speed":58,"hex_longitude":"2c91e640","hex_latitude":"07d17110","is_valid_coordinates":true} 
[2026-09-10 18:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,122,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789045709000,"timestamp_ms":1789045709000,"timestamp_seconds":1789045709,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f18c8"} 
[2026-09-10 18:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"122":206,"9":57344,"24":58,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16]} 
[2026-09-10 18:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:40:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_122":206,"unknown_9":57344,"ignition":58,"odometer":null}} 
[2026-09-10 18:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":179316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:16] local.INFO: GPS data processed {"connection_id":179316,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:16] local.INFO: Acknowledgment sent {"connection_id":179316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:23] local.INFO: TCP Data received {"connection_id":179317,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:40:23] local.INFO: Processing buffer {"connection_id":179317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:40:23] local.INFO: IMEI packet received {"connection_id":179317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":179317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:40:26] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:26] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:26] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:40:28] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:28] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:28] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:40:30] local.INFO: TCP Data received {"connection_id":179317,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:40:30] local.INFO: Processing buffer {"connection_id":179317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:40:30] local.INFO: IMEI packet received {"connection_id":179317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":179317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:40:31] local.INFO: TCP Data received {"connection_id":179317,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:40:31] local.INFO: Processing buffer {"connection_id":179317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:40:31] local.INFO: Packet analysis {"connection_id":179317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:40:31] local.INFO: Extracted packet for processing {"connection_id":179317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 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-09-10 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:40: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-09-10 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-09-10 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-09-10 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:40: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-09-10 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:31] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":179317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:31] local.INFO: GPS data processed {"connection_id":179317,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:31] local.INFO: Acknowledgment sent {"connection_id":179317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:32] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:32] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:40:32] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:40:33] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6eb338012d181f400721b0c0004e00e528..."} 
[2026-09-10 18:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6eb338012d181f400721b0c0004e00e528..."} 
[2026-09-10 18:40:33] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6eb338012d181f400721b0c0004e00e528..."} 
[2026-09-10 18:40:33] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:40:33] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6e"} 
[2026-09-10 18:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 18:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995689472001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045683000,"timestamp_ms":1789045683000,"timestamp_seconds":1789045683,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6eb338"} 
[2026-09-10 18:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995689472001,"66":12461,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995689472001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995689472001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:33] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:33] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:34] local.INFO: TCP Data received {"connection_id":179317,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:40:34] local.INFO: Processing buffer {"connection_id":179317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6c9440012ceb0780071a3b300021013527..."} 
[2026-09-10 18:40:34] local.INFO: Packet analysis {"connection_id":179317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:40:34] local.INFO: Extracted packet for processing {"connection_id":179317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6c"} 
[2026-09-10 18:40:34] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995582208001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789045544000,"timestamp_ms":1789045544000,"timestamp_seconds":1789045544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6c9440"} 
[2026-09-10 18:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:40: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-09-10 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:34] 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-09-10 18:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:40: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-09-10 18:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995582208001,"66":25995,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995582208001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995582208001,"power":25995,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":179317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:34] local.INFO: GPS data processed {"connection_id":179317,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:34] local.INFO: Acknowledgment sent {"connection_id":179317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:43] local.INFO: TCP Data received {"connection_id":179318,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:40:43] local.INFO: Processing buffer {"connection_id":179318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:40:43] local.INFO: IMEI packet received {"connection_id":179318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":179318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:40:48] local.INFO: TCP Data received {"connection_id":179318,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:40:48] local.INFO: Processing buffer {"connection_id":179318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:40:48] local.INFO: IMEI packet received {"connection_id":179318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":179318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:40:49] local.INFO: TCP Data received {"connection_id":179318,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f6ad0012c92270007d13160000800862b..."} 
[2026-09-10 18:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f6ad0012c92270007d13160000800862b..."} 
[2026-09-10 18:40:49] local.INFO: Processing buffer {"connection_id":179318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f6ad0012c92270007d13160000800862b..."} 
[2026-09-10 18:40:49] local.INFO: Packet analysis {"connection_id":179318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:49] local.INFO: Extracted packet for processing {"connection_id":179318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:49] local.INFO: GPS Element Parsed {"raw_longitude":747775744,"raw_latitude":131150176,"longitude_deg":74.7775744,"latitude_deg":13.1150176,"altitude":8,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2c922700","hex_latitude":"07d13160","is_valid_coordinates":true} 
[2026-09-10 18:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995701504001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7933583291243753472,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789045730000,"timestamp_ms":1789045730000,"timestamp_seconds":1789045730,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f6ad0"} 
[2026-09-10 18:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:40: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-09-10 18:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:49] 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-09-10 18:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995701504001,"66":28126,"122":206,"9":57344,"24":0,"16":3893920429768704,"44":-7933583291243753472},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-10 18:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995701504001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:40:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7933583291243753472,"description":"Unknown IO ID 44"} 
[2026-09-10 18:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995701504001,"power":28126,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7933583291243753472}} 
[2026-09-10 18:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":179318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:49] local.INFO: GPS data processed {"connection_id":179318,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:49] local.INFO: Acknowledgment sent {"connection_id":179318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:52] local.INFO: TCP Data received {"connection_id":179319,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:52] local.INFO: Processing buffer {"connection_id":179319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:52] local.INFO: IMEI packet received {"connection_id":179319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":179319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:40:54] local.INFO: TCP Data received {"connection_id":179318,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b704d600100000000000000000000000000..."} 
[2026-09-10 18:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b704d600100000000000000000000000000..."} 
[2026-09-10 18:40:54] local.INFO: Processing buffer {"connection_id":179318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b704d600100000000000000000000000000..."} 
[2026-09-10 18:40:54] local.INFO: Packet analysis {"connection_id":179318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:40:54] local.INFO: Extracted packet for processing {"connection_id":179318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:40:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995706880001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7915357786505912320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789045788000,"timestamp_ms":1789045788000,"timestamp_seconds":1789045788,"priority":1,"record_length":96,"hex_timestamp":"000001a08b704d60"} 
[2026-09-10 18:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":179318,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:40:54] local.INFO: GPS data processed {"connection_id":179318,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:40:54] local.INFO: Acknowledgment sent {"connection_id":179318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:40:57] local.INFO: TCP Data received {"connection_id":179319,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:57] local.INFO: Processing buffer {"connection_id":179319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:40:57] local.INFO: IMEI packet received {"connection_id":179319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":179319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:40:58] local.INFO: TCP Data received {"connection_id":179319,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f66e8012d7e34c005d34e80000800792b..."} 
[2026-09-10 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f66e8012d7e34c005d34e80000800792b..."} 
[2026-09-10 18:40:58] local.INFO: Processing buffer {"connection_id":179319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f66e8012d7e34c005d34e80000800792b..."} 
[2026-09-10 18:40:58] local.INFO: Packet analysis {"connection_id":179319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:58] local.INFO: Extracted packet for processing {"connection_id":179319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734272,"longitude_deg":76.324576,"latitude_deg":9.7734272,"altitude":8,"angle":121,"satellites":43,"speed":9,"hex_longitude":"2d7e34c0","hex_latitude":"05d34e80","is_valid_coordinates":true} 
[2026-09-10 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995706112001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909611044634624,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093682466355402752,"note":"Value kept but may cause issues"} 
[2026-09-10 18:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789045729000,"timestamp_ms":1789045729000,"timestamp_seconds":1789045729,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f66e8"} 
[2026-09-10 18:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 18:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995706112001,"66":13526,"109":206,"85":15104,"24":9,"16":130909611044634624,"45":9093682466355402752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995706112001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:40:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909611044634624,"km_value":130909611044634.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093682466355402752,"description":"Unknown IO ID 45"} 
[2026-09-10 18:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995706112001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9093682466355402752}} 
[2026-09-10 18:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":179319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:40:58] local.INFO: GPS data processed {"connection_id":179319,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:40:58] local.INFO: Acknowledgment sent {"connection_id":179319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:41:05] local.INFO: TCP Data received {"connection_id":176568,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f0540012d181f400721b0c0004e00e527..."} 
[2026-09-10 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f0540012d181f400721b0c0004e00e527..."} 
[2026-09-10 18:41:05] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f0540012d181f400721b0c0004e00e527..."} 
[2026-09-10 18:41:05] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:05] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995694848001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41: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-09-10 18:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789045704000,"timestamp_ms":1789045704000,"timestamp_seconds":1789045704,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f0540"} 
[2026-09-10 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-09-10 18:41: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-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995694848001,"66":12461,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995694848001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:41:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995694848001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:41:05] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:41:05] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:41:18] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:41:18] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:41:18] local.INFO: IMEI packet received {"connection_id":176786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":176786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:41:23] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:41:23] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:41:23] local.INFO: IMEI packet received {"connection_id":176786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":176786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:41:24] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:41:24] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:41:24] local.INFO: Packet analysis {"connection_id":176786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:41:24] local.INFO: Extracted packet for processing {"connection_id":176786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:41:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:41:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":176786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:41:24] local.INFO: GPS data processed {"connection_id":176786,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:41:24] local.INFO: Acknowledgment sent {"connection_id":176786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:41:26] local.INFO: TCP Data received {"connection_id":176569,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:41:26] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:41:26] local.INFO: IMEI packet received {"connection_id":176569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":176569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:41:28] local.INFO: TCP Data received {"connection_id":179319,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f6ad0012d7e35c005d34e38000800652b..."} 
[2026-09-10 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f6ad0012d7e35c005d34e38000800652b..."} 
[2026-09-10 18:41:28] local.INFO: Processing buffer {"connection_id":179319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f6ad0012d7e35c005d34e38000800652b..."} 
[2026-09-10 18:41:28] local.INFO: Packet analysis {"connection_id":179319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:28] local.INFO: Extracted packet for processing {"connection_id":179319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734200,"longitude_deg":76.3246016,"latitude_deg":9.77342,"altitude":8,"angle":101,"satellites":43,"speed":9,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e38","is_valid_coordinates":true} 
[2026-09-10 18:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995706624001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909619634569216,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820380672,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789045730000,"timestamp_ms":1789045730000,"timestamp_seconds":1789045730,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f6ad0"} 
[2026-09-10 18:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 18:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995706624001,"66":13526,"109":206,"85":15104,"24":9,"16":130909619634569216,"45":9094104678820380672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995706624001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:41:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909619634569216,"km_value":130909619634569.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820380672,"description":"Unknown IO ID 45"} 
[2026-09-10 18:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995706624001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9094104678820380672}} 
[2026-09-10 18:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":179319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:41:28] local.INFO: GPS data processed {"connection_id":179319,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:41:28] local.INFO: Acknowledgment sent {"connection_id":179319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:41:32] local.INFO: TCP Data received {"connection_id":176569,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:41:32] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:41:32] local.INFO: IMEI packet received {"connection_id":176569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":176569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:41:33] local.INFO: TCP Data received {"connection_id":176569,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f5748012d181f400721b0c0004e00e526..."} 
[2026-09-10 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f5748012d181f400721b0c0004e00e526..."} 
[2026-09-10 18:41:33] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f5748012d181f400721b0c0004e00e526..."} 
[2026-09-10 18:41:33] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:33] local.INFO: Extracted packet for processing {"connection_id":176569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 18:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995700224001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045725000,"timestamp_ms":1789045725000,"timestamp_seconds":1789045725,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f5748"} 
[2026-09-10 18:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995700224001,"66":12461,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995700224001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:41:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995700224001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":176569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:41:33] local.INFO: GPS data processed {"connection_id":176569,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:41:33] local.INFO: Acknowledgment sent {"connection_id":176569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:41:38] local.INFO: TCP Data received {"connection_id":176787,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:41:38] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:41:38] local.INFO: IMEI packet received {"connection_id":176787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":176787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:41:43] local.INFO: TCP Data received {"connection_id":176787,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:41:43] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:41:43] local.INFO: IMEI packet received {"connection_id":176787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":176787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:41:44] local.INFO: TCP Data received {"connection_id":176787,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6fd448012c92aa4007d0b220000700882b..."} 
[2026-09-10 18:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6fd448012c92aa4007d0b220000700882b..."} 
[2026-09-10 18:41:44] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6fd448012c92aa4007d0b220000700882b..."} 
[2026-09-10 18:41:44] local.INFO: Packet analysis {"connection_id":176787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:44] local.INFO: Extracted packet for processing {"connection_id":176787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:44] local.INFO: GPS Element Parsed {"raw_longitude":747809344,"raw_latitude":131117600,"longitude_deg":74.7809344,"latitude_deg":13.11176,"altitude":7,"angle":136,"satellites":43,"speed":56,"hex_longitude":"2c92aa40","hex_latitude":"07d0b220","is_valid_coordinates":true} 
[2026-09-10 18:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,122,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789045757000,"timestamp_ms":1789045757000,"timestamp_seconds":1789045757,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6fd448"} 
[2026-09-10 18:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 18:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"122":206,"9":57344,"24":56,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16]} 
[2026-09-10 18:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:41:44] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:41:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:41:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_122":206,"unknown_9":57344,"ignition":56,"odometer":null}} 
[2026-09-10 18:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":176787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:41:45] local.INFO: GPS data processed {"connection_id":176787,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:41:45] local.INFO: Acknowledgment sent {"connection_id":176787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:41:52] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:41:52] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:41:52] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:41:55] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:41:55] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:41:55] local.INFO: Packet analysis {"connection_id":176786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:41:55] local.INFO: Extracted packet for processing {"connection_id":176786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:41:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":176786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:41:55] local.INFO: GPS data processed {"connection_id":176786,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:41:55] local.INFO: Acknowledgment sent {"connection_id":176786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:41:57] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:41:57] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:41:57] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:41:58] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6f6eb8012d7e364005d34e38000800572c..."} 
[2026-09-10 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6f6eb8012d7e364005d34e38000800572c..."} 
[2026-09-10 18:41:58] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6f6eb8012d7e364005d34e38000800572c..."} 
[2026-09-10 18:41:58] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:58] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734200,"longitude_deg":76.3246144,"latitude_deg":9.77342,"altitude":8,"angle":87,"satellites":44,"speed":9,"hex_longitude":"2d7e3640","hex_latitude":"05d34e38","is_valid_coordinates":true} 
[2026-09-10 18:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995706880001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909628224503808,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797072896,"note":"Value kept but may cause issues"} 
[2026-09-10 18:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789045731000,"timestamp_ms":1789045731000,"timestamp_seconds":1789045731,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6f6eb8"} 
[2026-09-10 18:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:41: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-09-10 18:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-10 18:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995706880001,"66":13450,"109":206,"85":15104,"24":9,"16":130909628224503808,"45":9094386153797072896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995706880001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:41:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:41:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909628224503808,"km_value":130909628224503.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797072896,"description":"Unknown IO ID 45"} 
[2026-09-10 18:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995706880001,"power":13450,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9094386153797072896}} 
[2026-09-10 18:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:41:58] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:41:58] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:42:05] local.INFO: TCP Data received {"connection_id":176569,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6fa950012d181f400721b0c0004e00e528..."} 
[2026-09-10 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6fa950012d181f400721b0c0004e00e528..."} 
[2026-09-10 18:42:05] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6fa950012d181f400721b0c0004e00e528..."} 
[2026-09-10 18:42:05] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:42:05] local.INFO: Extracted packet for processing {"connection_id":176569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":78,"angle":229,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-10 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995705600001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356223602163712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42: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-09-10 18:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789045746000,"timestamp_ms":1789045746000,"timestamp_seconds":1789045746,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6fa950"} 
[2026-09-10 18:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:42: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-09-10 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995705600001,"66":12461,"120":206,"28":31744,"24":0,"16":19356223602163712,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995705600001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:42:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356223602163712,"km_value":19356223602163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995705600001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":176569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:42:05] local.INFO: GPS data processed {"connection_id":176569,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:42:05] local.INFO: Acknowledgment sent {"connection_id":176569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:42:16] local.INFO: TCP Data received {"connection_id":176787,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b702650012c92e38007d07888000a00872a..."} 
[2026-09-10 18:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b702650012c92e38007d07888000a00872a..."} 
[2026-09-10 18:42:16] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b702650012c92e38007d07888000a00872a..."} 
[2026-09-10 18:42:16] local.INFO: Packet analysis {"connection_id":176787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:42:16] local.INFO: Extracted packet for processing {"connection_id":176787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:42:16] local.INFO: GPS Element Parsed {"raw_longitude":747824000,"raw_latitude":131102856,"longitude_deg":74.7824,"latitude_deg":13.1102856,"altitude":10,"angle":135,"satellites":42,"speed":0,"hex_longitude":"2c92e380","hex_latitude":"07d07888","is_valid_coordinates":true} 
[2026-09-10 18:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995713792001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7878414195820978176,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789045778000,"timestamp_ms":1789045778000,"timestamp_seconds":1789045778,"priority":1,"record_length":96,"hex_timestamp":"000001a08b702650"} 
[2026-09-10 18:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:42: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-09-10 18:42: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":244,"data_length":795,"current_offset":136} 
[2026-09-10 18:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995713792001,"66":28202,"122":206,"9":57344,"24":0,"16":3893920429768704,"44":-7878414195820978176},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-10 18:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995713792001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:42:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:42:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:42:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7878414195820978176,"description":"Unknown IO ID 44"} 
[2026-09-10 18:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995713792001,"power":28202,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7878414195820978176}} 
[2026-09-10 18:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":176787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:42:16] local.INFO: GPS data processed {"connection_id":176787,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:42:16] local.INFO: Acknowledgment sent {"connection_id":176787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:42:18] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:42:18] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:42:18] local.INFO: IMEI packet received {"connection_id":176788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":176788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:42:23] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:42:23] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:42:23] local.INFO: IMEI packet received {"connection_id":176788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":176788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:42:24] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:42:24] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:42:24] local.INFO: Packet analysis {"connection_id":176788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:42:24] local.INFO: Extracted packet for processing {"connection_id":176788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:42:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":176788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:42:24] local.INFO: GPS data processed {"connection_id":176788,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:42:24] local.INFO: Acknowledgment sent {"connection_id":176788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:42:26] local.INFO: TCP Data received {"connection_id":177952,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:42:26] local.INFO: Processing buffer {"connection_id":177952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:42:26] local.INFO: IMEI packet received {"connection_id":177952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":177952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:42:31] local.INFO: TCP Data received {"connection_id":177952,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:42:31] local.INFO: Processing buffer {"connection_id":177952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:42:31] local.INFO: IMEI packet received {"connection_id":177952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":177952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:42:32] local.INFO: TCP Data received {"connection_id":177952,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b6ff770012d181ec00721b028004d00da29..."} 
[2026-09-10 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b6ff770012d181ec00721b028004d00da29..."} 
[2026-09-10 18:42:32] local.INFO: Processing buffer {"connection_id":177952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b6ff770012d181ec00721b028004d00da29..."} 
[2026-09-10 18:42:32] local.INFO: Packet analysis {"connection_id":177952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:42:32] local.INFO: Extracted packet for processing {"connection_id":177952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b6f"} 
[2026-09-10 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648296,"longitude_deg":75.6555456,"latitude_deg":11.9648296,"altitude":77,"angle":218,"satellites":41,"speed":2,"hex_longitude":"2d181ec0","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-09-10 18:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995710976001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356232192098304,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789045766000,"timestamp_ms":1789045766000,"timestamp_seconds":1789045766,"priority":1,"record_length":96,"hex_timestamp":"000001a08b6ff770"} 
[2026-09-10 18:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995710976001,"66":12461,"120":206,"28":31744,"24":2,"16":19356232192098304,"45":1738178380562481152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995710976001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:42:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356232192098304,"km_value":19356232192098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-09-10 18:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995710976001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-09-10 18:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":177952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:42:32] local.INFO: GPS data processed {"connection_id":177952,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:42:32] local.INFO: Acknowledgment sent {"connection_id":177952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:42:38] local.INFO: TCP Data received {"connection_id":177953,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:42:38] local.INFO: Processing buffer {"connection_id":177953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:42:38] local.INFO: IMEI packet received {"connection_id":177953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":177953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:42:41] local.INFO: TCP Data received {"connection_id":177953,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:42:41] local.INFO: Processing buffer {"connection_id":177953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:42:41] local.INFO: IMEI packet received {"connection_id":177953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":177953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:42:42] local.INFO: TCP Data received {"connection_id":177953,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b707858012c931c4007d04088000c00832b..."} 
[2026-09-10 18:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b707858012c931c4007d04088000c00832b..."} 
[2026-09-10 18:42:42] local.INFO: Processing buffer {"connection_id":177953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b707858012c931c4007d04088000c00832b..."} 
[2026-09-10 18:42:42] local.INFO: Packet analysis {"connection_id":177953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:42:42] local.INFO: Extracted packet for processing {"connection_id":177953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:42:42] local.INFO: GPS Element Parsed {"raw_longitude":747838528,"raw_latitude":131088520,"longitude_deg":74.7838528,"latitude_deg":13.108852,"altitude":12,"angle":131,"satellites":43,"speed":0,"hex_longitude":"2c931c40","hex_latitude":"07d04088","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995719168001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7862299753408067584,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789045799000,"timestamp_ms":1789045799000,"timestamp_seconds":1789045799,"priority":1,"record_length":96,"hex_timestamp":"000001a08b707858"} 
[2026-09-10 18:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:42: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-09-10 18: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-10 18:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995719168001,"66":28104,"122":206,"9":57344,"24":0,"16":3893920429768704,"44":-7862299753408067584},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-10 18:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995719168001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:42:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:42:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7862299753408067584,"description":"Unknown IO ID 44"} 
[2026-09-10 18:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995719168001,"power":28104,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7862299753408067584}} 
[2026-09-10 18:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":177953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:42:42] local.INFO: GPS data processed {"connection_id":177953,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:42:42] local.INFO: Acknowledgment sent {"connection_id":177953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:42:55] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:42:55] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:42:55] local.INFO: Packet analysis {"connection_id":176788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:42:55] local.INFO: Extracted packet for processing {"connection_id":176788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:42:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":176788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:42:55] local.INFO: GPS data processed {"connection_id":176788,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:42:55] local.INFO: Acknowledgment sent {"connection_id":176788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:43:04] local.INFO: TCP Data received {"connection_id":177952,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b700328012d181e400721af68004e00cc29..."} 
[2026-09-10 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b700328012d181e400721af68004e00cc29..."} 
[2026-09-10 18:43:04] local.INFO: Processing buffer {"connection_id":177952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b700328012d181e400721af68004e00cc29..."} 
[2026-09-10 18:43:04] local.INFO: Packet analysis {"connection_id":177952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:04] local.INFO: Extracted packet for processing {"connection_id":177952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648104,"longitude_deg":75.6555328,"latitude_deg":11.9648104,"altitude":78,"angle":204,"satellites":41,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-10 18:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995716096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356240782032896,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074086912,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43: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-09-10 18:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789045769000,"timestamp_ms":1789045769000,"timestamp_seconds":1789045769,"priority":1,"record_length":96,"hex_timestamp":"000001a08b700328"} 
[2026-09-10 18:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:43: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-09-10 18:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995716096001,"66":12461,"120":206,"28":31744,"24":2,"16":19356240782032896,"45":1738037643074086912},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995716096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:43:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356240782032896,"km_value":19356240782032.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074086912,"description":"Unknown IO ID 45"} 
[2026-09-10 18:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995716096001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738037643074086912}} 
[2026-09-10 18:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":177952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:43:04] local.INFO: GPS data processed {"connection_id":177952,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:43:04] local.INFO: Acknowledgment sent {"connection_id":177952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:43:14] local.INFO: TCP Data received {"connection_id":177953,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b70ca60012c933b4007d029b0000d008929..."} 
[2026-09-10 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b70ca60012c933b4007d029b0000d008929..."} 
[2026-09-10 18:43:14] local.INFO: Processing buffer {"connection_id":177953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b70ca60012c933b4007d029b0000d008929..."} 
[2026-09-10 18:43:14] local.INFO: Packet analysis {"connection_id":177953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:14] local.INFO: Extracted packet for processing {"connection_id":177953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":747846464,"raw_latitude":131082672,"longitude_deg":74.7846464,"latitude_deg":13.1082672,"altitude":13,"angle":137,"satellites":41,"speed":0,"hex_longitude":"2c933b40","hex_latitude":"07d029b0","is_valid_coordinates":true} 
[2026-09-10 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995724544001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7846326048483407872,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789045820000,"timestamp_ms":1789045820000,"timestamp_seconds":1789045820,"priority":1,"record_length":96,"hex_timestamp":"000001a08b70ca60"} 
[2026-09-10 18:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:43:14] 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-09-10 18:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995724544001,"66":28104,"122":206,"9":57344,"24":0,"16":3893920429768704,"44":-7846326048483407872},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-10 18:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995724544001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:43:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-10 18:43:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7846326048483407872,"description":"Unknown IO ID 44"} 
[2026-09-10 18:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995724544001,"power":28104,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7846326048483407872}} 
[2026-09-10 18:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":177953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:43:14] local.INFO: GPS data processed {"connection_id":177953,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:43:14] local.INFO: Acknowledgment sent {"connection_id":177953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:43:18] local.INFO: TCP Data received {"connection_id":179320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:43:18] local.INFO: Processing buffer {"connection_id":179320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:43:18] local.INFO: IMEI packet received {"connection_id":179320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":179320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:43:23] local.INFO: TCP Data received {"connection_id":179320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:43:23] local.INFO: Processing buffer {"connection_id":179320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:43:23] local.INFO: IMEI packet received {"connection_id":179320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":179320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:43:24] local.INFO: TCP Data received {"connection_id":179320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:43:24] local.INFO: Processing buffer {"connection_id":179320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:43:24] local.INFO: Packet analysis {"connection_id":179320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:43:24] local.INFO: Extracted packet for processing {"connection_id":179320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:43:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:43:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:43:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":179320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:43:24] local.INFO: GPS data processed {"connection_id":179320,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:43:24] local.INFO: Acknowledgment sent {"connection_id":179320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:43:32] local.INFO: TCP Data received {"connection_id":177954,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:43:32] local.INFO: Processing buffer {"connection_id":177954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:43:32] local.INFO: IMEI packet received {"connection_id":177954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":177954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:43:37] local.INFO: TCP Data received {"connection_id":177954,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:43:37] local.INFO: Processing buffer {"connection_id":177954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:43:37] local.INFO: IMEI packet received {"connection_id":177954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":177954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:43:38] local.INFO: TCP Data received {"connection_id":177955,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:43:38] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:43:38] local.INFO: IMEI packet received {"connection_id":177955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":177955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:43:38] local.INFO: TCP Data received {"connection_id":177954,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b705530012d181e400721af30004e00cc27..."} 
[2026-09-10 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b705530012d181e400721af30004e00cc27..."} 
[2026-09-10 18:43:38] local.INFO: Processing buffer {"connection_id":177954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b705530012d181e400721af30004e00cc27..."} 
[2026-09-10 18:43:38] local.INFO: Packet analysis {"connection_id":177954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:38] local.INFO: Extracted packet for processing {"connection_id":177954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995716864001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585682432,"note":"Value kept but may cause issues"} 
[2026-09-10 18: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-09-10 18:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789045790000,"timestamp_ms":1789045790000,"timestamp_seconds":1789045790,"priority":1,"record_length":96,"hex_timestamp":"000001a08b705530"} 
[2026-09-10 18:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995716864001,"66":12461,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585682432},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995716864001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:43:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585682432,"description":"Unknown IO ID 45"} 
[2026-09-10 18:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995716864001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585682432}} 
[2026-09-10 18:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":177954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:43:38] local.INFO: GPS data processed {"connection_id":177954,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:43:38] local.INFO: Acknowledgment sent {"connection_id":177954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:43:39] local.INFO: TCP Data received {"connection_id":177954,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b70a738012d181e400721af30004e00cc29..."} 
[2026-09-10 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b70a738012d181e400721af30004e00cc29..."} 
[2026-09-10 18:43:39] local.INFO: Processing buffer {"connection_id":177954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b70a738012d181e400721af30004e00cc29..."} 
[2026-09-10 18:43:39] local.INFO: Packet analysis {"connection_id":177954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:39] local.INFO: Extracted packet for processing {"connection_id":177954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995722240001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18: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-09-10 18:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789045811000,"timestamp_ms":1789045811000,"timestamp_seconds":1789045811,"priority":1,"record_length":96,"hex_timestamp":"000001a08b70a738"} 
[2026-09-10 18:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995722240001,"66":12439,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995722240001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:43:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995722240001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":177954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:43:39] local.INFO: GPS data processed {"connection_id":177954,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:43:39] local.INFO: Acknowledgment sent {"connection_id":177954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:43:43] local.INFO: TCP Data received {"connection_id":177955,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:43:43] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:43:43] local.INFO: IMEI packet received {"connection_id":177955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":177955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:43:44] local.INFO: TCP Data received {"connection_id":177955,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b71acf00100000000000000000000000000..."} 
[2026-09-10 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b71acf00100000000000000000000000000..."} 
[2026-09-10 18:43:45] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b71acf00100000000000000000000000000..."} 
[2026-09-10 18:43:45] local.INFO: Packet analysis {"connection_id":177955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:43:45] local.INFO: Extracted packet for processing {"connection_id":177955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995729920001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7837600324206874624,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789045878000,"timestamp_ms":1789045878000,"timestamp_seconds":1789045878,"priority":1,"record_length":96,"hex_timestamp":"000001a08b71acf0"} 
[2026-09-10 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:43:45] 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-09-10 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":177955,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 18:43:45] local.INFO: GPS data processed {"connection_id":177955,"processed":0,"errors":0,"total":1} 
[2026-09-10 18:43:45] local.INFO: Acknowledgment sent {"connection_id":177955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:43:55] local.INFO: TCP Data received {"connection_id":179320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:43:55] local.INFO: Processing buffer {"connection_id":179320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:43:55] local.INFO: Packet analysis {"connection_id":179320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:43:55] local.INFO: Extracted packet for processing {"connection_id":179320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:43:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":179320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:43:55] local.INFO: GPS data processed {"connection_id":179320,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:43:55] local.INFO: Acknowledgment sent {"connection_id":179320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:44:11] local.INFO: TCP Data received {"connection_id":177954,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b70f940012d181e400721af30004e00cc28..."} 
[2026-09-10 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b70f940012d181e400721af30004e00cc28..."} 
[2026-09-10 18:44:11] local.INFO: Processing buffer {"connection_id":177954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b70f940012d181e400721af30004e00cc28..."} 
[2026-09-10 18:44:11] local.INFO: Packet analysis {"connection_id":177954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:44:11] local.INFO: Extracted packet for processing {"connection_id":177954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b70"} 
[2026-09-10 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995727616001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44: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-09-10 18:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789045832000,"timestamp_ms":1789045832000,"timestamp_seconds":1789045832,"priority":1,"record_length":96,"hex_timestamp":"000001a08b70f940"} 
[2026-09-10 18:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 18:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995727616001,"66":12319,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995727616001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:44:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995727616001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":177954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:44:11] local.INFO: GPS data processed {"connection_id":177954,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:44:11] local.INFO: Acknowledgment sent {"connection_id":177954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:44:18] local.INFO: TCP Data received {"connection_id":176571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:44:18] local.INFO: Processing buffer {"connection_id":176571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:44:18] local.INFO: IMEI packet received {"connection_id":176571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":176571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:44:21] local.INFO: TCP Data received {"connection_id":177955,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7137c0012c93660007cffab0000a008929..."} 
[2026-09-10 18:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7137c0012c93660007cffab0000a008929..."} 
[2026-09-10 18:44:21] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7137c0012c93660007cffab0000a008929..."} 
[2026-09-10 18:44:21] local.INFO: Packet analysis {"connection_id":177955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:21] local.INFO: Extracted packet for processing {"connection_id":177955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:21] local.INFO: GPS Element Parsed {"raw_longitude":747857408,"raw_latitude":131070640,"longitude_deg":74.7857408,"latitude_deg":13.107064,"altitude":10,"angle":137,"satellites":41,"speed":34,"hex_longitude":"2c936600","hex_latitude":"07cffab0","is_valid_coordinates":true} 
[2026-09-10 18:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,89,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789045848000,"timestamp_ms":1789045848000,"timestamp_seconds":1789045848,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7137c0"} 
[2026-09-10 18:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:44:21] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 18:44:21] 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-09-10 18:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"89":206,"9":57344,"24":34,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16]} 
[2026-09-10 18:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:44:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 18:44:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:44:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_89":206,"unknown_9":57344,"ignition":34,"odometer":null}} 
[2026-09-10 18:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":177955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:44:21] local.INFO: GPS data processed {"connection_id":177955,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:44:21] local.INFO: Acknowledgment sent {"connection_id":177955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:44:23] local.INFO: TCP Data received {"connection_id":176571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:44:23] local.INFO: Processing buffer {"connection_id":176571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:44:23] local.INFO: IMEI packet received {"connection_id":176571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":176571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:44:24] local.INFO: TCP Data received {"connection_id":176571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:44:24] local.INFO: Processing buffer {"connection_id":176571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:44:24] local.INFO: Packet analysis {"connection_id":176571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:24] local.INFO: Extracted packet for processing {"connection_id":176571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:44:24] 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-09-10 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:44:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":176571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:44:24] local.INFO: GPS data processed {"connection_id":176571,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:44:24] local.INFO: Acknowledgment sent {"connection_id":176571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:44:27] local.INFO: TCP Data received {"connection_id":177956,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:44:27] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:44:27] local.INFO: IMEI packet received {"connection_id":177956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":177956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:44:32] local.INFO: TCP Data received {"connection_id":177956,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:44:32] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:44:32] local.INFO: IMEI packet received {"connection_id":177956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":177956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:44:33] local.INFO: TCP Data received {"connection_id":177956,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b714b48012d181e400721af30004e00cc28..."} 
[2026-09-10 18:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b714b48012d181e400721af30004e00cc28..."} 
[2026-09-10 18:44:33] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b714b48012d181e400721af30004e00cc28..."} 
[2026-09-10 18:44:33] local.INFO: Packet analysis {"connection_id":177956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:33] local.INFO: Extracted packet for processing {"connection_id":177956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995732992001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045853000,"timestamp_ms":1789045853000,"timestamp_seconds":1789045853,"priority":1,"record_length":96,"hex_timestamp":"000001a08b714b48"} 
[2026-09-10 18:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-10 18:44:33] 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-09-10 18:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995732992001,"66":12428,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995732992001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:44:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995732992001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":177956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:44:33] local.INFO: GPS data processed {"connection_id":177956,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:44:33] local.INFO: Acknowledgment sent {"connection_id":177956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:44:38] local.INFO: TCP Data received {"connection_id":179321,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:44:38] local.INFO: Processing buffer {"connection_id":179321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:44:38] local.INFO: IMEI packet received {"connection_id":179321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":179321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:44:43] local.INFO: TCP Data received {"connection_id":179321,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:44:43] local.INFO: Processing buffer {"connection_id":179321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:44:43] local.INFO: IMEI packet received {"connection_id":179321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":179321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:44:44] local.INFO: TCP Data received {"connection_id":179321,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7189c8012c93994007cfc7a8000a008728..."} 
[2026-09-10 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7189c8012c93994007cfc7a8000a008728..."} 
[2026-09-10 18:44:44] local.INFO: Processing buffer {"connection_id":179321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7189c8012c93994007cfc7a8000a008728..."} 
[2026-09-10 18:44:44] local.INFO: Packet analysis {"connection_id":179321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:44] local.INFO: Extracted packet for processing {"connection_id":179321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":747870528,"raw_latitude":131057576,"longitude_deg":74.7870528,"latitude_deg":13.1057576,"altitude":10,"angle":135,"satellites":40,"speed":0,"hex_longitude":"2c939940","hex_latitude":"07cfc7a8","is_valid_coordinates":true} 
[2026-09-10 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995737088001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7825567268955574272,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789045869000,"timestamp_ms":1789045869000,"timestamp_seconds":1789045869,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7189c8"} 
[2026-09-10 18:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-10 18:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995737088001,"66":27745,"89":206,"9":57344,"24":0,"16":3893920429768704,"44":-7825567268955574272},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-10 18:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995737088001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:44:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7825567268955574272,"description":"Unknown IO ID 44"} 
[2026-09-10 18:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995737088001,"power":27745,"unknown_89":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7825567268955574272}} 
[2026-09-10 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":179321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:44:45] local.INFO: GPS data processed {"connection_id":179321,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:44:45] local.INFO: Acknowledgment sent {"connection_id":179321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:44:55] local.INFO: TCP Data received {"connection_id":176571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:44:55] local.INFO: Processing buffer {"connection_id":176571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:44:55] local.INFO: Packet analysis {"connection_id":176571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:55] local.INFO: Extracted packet for processing {"connection_id":176571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:44:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:44:55] 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-09-10 18:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:44:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":176571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:44:55] local.INFO: GPS data processed {"connection_id":176571,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:44:55] local.INFO: Acknowledgment sent {"connection_id":176571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:45:05] local.INFO: TCP Data received {"connection_id":177956,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b719d50012d181e400721af30004e00cc28..."} 
[2026-09-10 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b719d50012d181e400721af30004e00cc28..."} 
[2026-09-10 18:45:05] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b719d50012d181e400721af30004e00cc28..."} 
[2026-09-10 18:45:05] local.INFO: Packet analysis {"connection_id":177956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:05] local.INFO: Extracted packet for processing {"connection_id":177956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995738368001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45: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-09-10 18:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789045874000,"timestamp_ms":1789045874000,"timestamp_seconds":1789045874,"priority":1,"record_length":96,"hex_timestamp":"000001a08b719d50"} 
[2026-09-10 18:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:45: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-09-10 18:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 18:45: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-09-10 18:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995738368001,"66":12461,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995738368001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:45:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995738368001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":177956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:45:06] local.INFO: GPS data processed {"connection_id":177956,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:45:06] local.INFO: Acknowledgment sent {"connection_id":177956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:45:17] local.INFO: TCP Data received {"connection_id":179321,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b71c848012c93cc4007cf86500008009d28..."} 
[2026-09-10 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b71c848012c93cc4007cf86500008009d28..."} 
[2026-09-10 18:45:17] local.INFO: Processing buffer {"connection_id":179321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b71c848012c93cc4007cf86500008009d28..."} 
[2026-09-10 18:45:17] local.INFO: Packet analysis {"connection_id":179321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:17] local.INFO: Extracted packet for processing {"connection_id":179321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:17] local.INFO: GPS Element Parsed {"raw_longitude":747883584,"raw_latitude":131040848,"longitude_deg":74.7883584,"latitude_deg":13.1040848,"altitude":8,"angle":157,"satellites":40,"speed":51,"hex_longitude":"2c93cc40","hex_latitude":"07cf8650","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995742464001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7811141676402497536,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789045885000,"timestamp_ms":1789045885000,"timestamp_seconds":1789045885,"priority":1,"record_length":96,"hex_timestamp":"000001a08b71c848"} 
[2026-09-10 18:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:45: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-09-10 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 18:45: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-09-10 18: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-09-10 18:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":179321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":179321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":179321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995742464001,"66":28191,"89":206,"9":57344,"24":51,"16":3893920429768704,"44":-7811141676402497536},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-10 18:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995742464001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:45:17] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 18:45:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7811141676402497536,"description":"Unknown IO ID 44"} 
[2026-09-10 18:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995742464001,"power":28191,"unknown_89":206,"unknown_9":57344,"ignition":51,"odometer":null,"unknown_44":-7811141676402497536}} 
[2026-09-10 18:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":179321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:45:17] local.INFO: GPS data processed {"connection_id":179321,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:45:17] local.INFO: Acknowledgment sent {"connection_id":179321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:45:18] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:45:18] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:45:18] local.INFO: IMEI packet received {"connection_id":177957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":177957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:45:23] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:45:23] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:45:23] local.INFO: IMEI packet received {"connection_id":177957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":177957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:45:24] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:45:24] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:45:24] local.INFO: Packet analysis {"connection_id":177957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:24] local.INFO: Extracted packet for processing {"connection_id":177957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:45:24] 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-09-10 18:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:45:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:45:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":177957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:45:24] local.INFO: GPS data processed {"connection_id":177957,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:45:24] local.INFO: Acknowledgment sent {"connection_id":177957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:45:27] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:45:27] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:45:27] local.INFO: IMEI packet received {"connection_id":176789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":176789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:45:31] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:45:31] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:45:31] local.INFO: IMEI packet received {"connection_id":176789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":176789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:45:33] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b71ef58012d181e400721af30004e00cc23..."} 
[2026-09-10 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b71ef58012d181e400721af30004e00cc23..."} 
[2026-09-10 18:45:33] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b71ef58012d181e400721af30004e00cc23..."} 
[2026-09-10 18:45:33] local.INFO: Packet analysis {"connection_id":176789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:33] local.INFO: Extracted packet for processing {"connection_id":176789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":35,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995743744001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045895000,"timestamp_ms":1789045895000,"timestamp_seconds":1789045895,"priority":1,"record_length":96,"hex_timestamp":"000001a08b71ef58"} 
[2026-09-10 18:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995743744001,"66":12461,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995743744001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:45:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995743744001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:45:33] local.INFO: GPS data processed {"connection_id":176789,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:45:33] local.INFO: Acknowledgment sent {"connection_id":176789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:45:38] local.INFO: TCP Data received {"connection_id":177958,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:45:38] local.INFO: Processing buffer {"connection_id":177958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:45:38] local.INFO: IMEI packet received {"connection_id":177958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":177958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:45:43] local.INFO: TCP Data received {"connection_id":177958,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:45:43] local.INFO: Processing buffer {"connection_id":177958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:45:43] local.INFO: IMEI packet received {"connection_id":177958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":177958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:45:45] local.INFO: TCP Data received {"connection_id":177958,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b746c10012c93e2c007cd0198001400ac2a..."} 
[2026-09-10 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b746c10012c93e2c007cd0198001400ac2a..."} 
[2026-09-10 18:45:45] local.INFO: Processing buffer {"connection_id":177958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b746c10012c93e2c007cd0198001400ac2a..."} 
[2026-09-10 18:45:45] local.INFO: Packet analysis {"connection_id":177958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b74"} 
[2026-09-10 18:45:45] local.INFO: Extracted packet for processing {"connection_id":177958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b74"} 
[2026-09-10 18:45:45] local.INFO: GPS Element Parsed {"raw_longitude":747889344,"raw_latitude":130875800,"longitude_deg":74.7889344,"latitude_deg":13.08758,"altitude":20,"angle":172,"satellites":42,"speed":38,"hex_longitude":"2c93e2c0","hex_latitude":"07cd0198","is_valid_coordinates":true} 
[2026-09-10 18:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 18:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789046058000,"timestamp_ms":1789046058000,"timestamp_seconds":1789046058,"priority":1,"record_length":96,"hex_timestamp":"000001a08b746c10"} 
[2026-09-10 18:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 18:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"87":206,"9":57344,"24":38,"16":3893920429768704},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,9,24,16]} 
[2026-09-10 18:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 18:45:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-10 18:45:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:45:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_87":206,"unknown_9":57344,"ignition":38,"odometer":null}} 
[2026-09-10 18:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":177958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:45:45] local.INFO: GPS data processed {"connection_id":177958,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:45:45] local.INFO: Acknowledgment sent {"connection_id":177958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:45:55] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:45:55] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b712c08012ceb0780071a3b300021013528..."} 
[2026-09-10 18:45:55] local.INFO: Packet analysis {"connection_id":177957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:55] local.INFO: Extracted packet for processing {"connection_id":177957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b71"} 
[2026-09-10 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995659264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789045845000,"timestamp_ms":1789045845000,"timestamp_seconds":1789045845,"priority":1,"record_length":96,"hex_timestamp":"000001a08b712c08"} 
[2026-09-10 18:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 18:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:45:55] 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-09-10 18:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995659264001,"66":25973,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995659264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:45:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995659264001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":177957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:45:55] local.INFO: GPS data processed {"connection_id":177957,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:45:55] local.INFO: Acknowledgment sent {"connection_id":177957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:04] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b724160012d181e400721af30004e00cc23..."} 
[2026-09-10 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b724160012d181e400721af30004e00cc23..."} 
[2026-09-10 18:46:04] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b724160012d181e400721af30004e00cc23..."} 
[2026-09-10 18:46:04] local.INFO: Packet analysis {"connection_id":176789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:46:04] local.INFO: Extracted packet for processing {"connection_id":176789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":35,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995749120001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46: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-09-10 18:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789045916000,"timestamp_ms":1789045916000,"timestamp_seconds":1789045916,"priority":1,"record_length":96,"hex_timestamp":"000001a08b724160"} 
[2026-09-10 18:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 18:46: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-09-10 18:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995749120001,"66":12428,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995749120001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995749120001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":176789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:46:04] local.INFO: GPS data processed {"connection_id":176789,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:46:04] local.INFO: Acknowledgment sent {"connection_id":176789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:23] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:46:23] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:46:23] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:46:24] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:46:24] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:46:24] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:46:25] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:46:25] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:46:25] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:46:25] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:46:25] 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-09-10 18:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:46:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:46:25] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:46:25] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:25] local.INFO: TCP Data received {"connection_id":176573,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:25] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:25] local.INFO: IMEI packet received {"connection_id":176573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":176573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:46:26] local.INFO: TCP Data received {"connection_id":176573,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:26] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:26] local.INFO: IMEI packet received {"connection_id":176573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":176573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:46:27] local.INFO: TCP Data received {"connection_id":177958,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b74be18012c93ebc007ccb4a0000f00ad29..."} 
[2026-09-10 18:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b74be18012c93ebc007ccb4a0000f00ad29..."} 
[2026-09-10 18:46:27] local.INFO: Processing buffer {"connection_id":177958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b74be18012c93ebc007ccb4a0000f00ad29..."} 
[2026-09-10 18:46:27] local.INFO: Packet analysis {"connection_id":177958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b74"} 
[2026-09-10 18:46:27] local.INFO: Extracted packet for processing {"connection_id":177958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b74"} 
[2026-09-10 18:46:27] local.INFO: GPS Element Parsed {"raw_longitude":747891648,"raw_latitude":130856096,"longitude_deg":74.7891648,"latitude_deg":13.0856096,"altitude":15,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2c93ebc0","hex_latitude":"07ccb4a0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995790848001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7790453265660798976,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789046079000,"timestamp_ms":1789046079000,"timestamp_seconds":1789046079,"priority":1,"record_length":96,"hex_timestamp":"000001a08b74be18"} 
[2026-09-10 18:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 18:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995790848001,"66":27930,"87":206,"9":57344,"24":0,"16":3893920429768704,"44":-7790453265660798976},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,9,24,16,44]} 
[2026-09-10 18:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995790848001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:46:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-10 18:46:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:46:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7790453265660798976,"description":"Unknown IO ID 44"} 
[2026-09-10 18:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995790848001,"power":27930,"unknown_87":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7790453265660798976}} 
[2026-09-10 18:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":177958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:46:27] local.INFO: GPS data processed {"connection_id":177958,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:46:27] local.INFO: Acknowledgment sent {"connection_id":177958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:27] local.INFO: TCP Data received {"connection_id":177959,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:27] local.INFO: Processing buffer {"connection_id":177959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:27] local.INFO: IMEI packet received {"connection_id":177959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":177959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:46:29] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:46:29] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:46:29] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:46:29] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:46:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:46:29] 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-09-10 18:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:46:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:46:29] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:46:29] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:32] local.INFO: TCP Data received {"connection_id":176573,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:32] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:46:32] local.INFO: IMEI packet received {"connection_id":176573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":176573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:46:32] local.INFO: TCP Data received {"connection_id":177959,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:32] local.INFO: Processing buffer {"connection_id":177959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:32] local.INFO: IMEI packet received {"connection_id":177959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":177959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:46:33] local.INFO: TCP Data received {"connection_id":176573,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b729368012d181e400721af30004e00cc27..."} 
[2026-09-10 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b729368012d181e400721af30004e00cc27..."} 
[2026-09-10 18:46:33] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b729368012d181e400721af30004e00cc27..."} 
[2026-09-10 18:46:33] local.INFO: Packet analysis {"connection_id":176573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:46:33] local.INFO: Extracted packet for processing {"connection_id":176573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995754496001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045937000,"timestamp_ms":1789045937000,"timestamp_seconds":1789045937,"priority":1,"record_length":96,"hex_timestamp":"000001a08b729368"} 
[2026-09-10 18:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 18:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995754496001,"66":12428,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995754496001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995754496001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:46:33] local.INFO: TCP Data received {"connection_id":177959,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:46:33] local.INFO: Processing buffer {"connection_id":177959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:46:33] local.INFO: Packet analysis {"connection_id":177959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:46:33] local.INFO: Extracted packet for processing {"connection_id":177959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995754752001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 18:46: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-09-10 18: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-09-10 18:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995754752001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995754752001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995754752001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":176573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:46:33] local.INFO: GPS data processed {"connection_id":176573,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:46:33] local.INFO: Acknowledgment sent {"connection_id":176573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":177959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:46:33] local.INFO: GPS data processed {"connection_id":177959,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:46:33] local.INFO: Acknowledgment sent {"connection_id":177959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:41] local.INFO: TCP Data received {"connection_id":179322,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:41] local.INFO: Processing buffer {"connection_id":179322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:41] local.INFO: IMEI packet received {"connection_id":179322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":179322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:46:43] local.INFO: TCP Data received {"connection_id":179322,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:43] local.INFO: Processing buffer {"connection_id":179322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:43] local.INFO: IMEI packet received {"connection_id":179322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":179322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:46:48] local.INFO: TCP Data received {"connection_id":179322,"ip":"117.224.198.196","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:48] local.INFO: Processing buffer {"connection_id":179322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:46:48] local.INFO: IMEI packet received {"connection_id":179322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 18:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":179322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:46:49] local.INFO: TCP Data received {"connection_id":179322,"ip":"117.224.198.196","data_length":795,"data_hex":"000000000000030f8e0a000001a08b74f4c8012c94020007cc5b500006009e29..."} 
[2026-09-10 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b74f4c8012c94020007cc5b500006009e29..."} 
[2026-09-10 18:46:49] local.INFO: Processing buffer {"connection_id":179322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b74f4c8012c94020007cc5b500006009e29..."} 
[2026-09-10 18:46:49] local.INFO: Packet analysis {"connection_id":179322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b74"} 
[2026-09-10 18:46:49] local.INFO: Extracted packet for processing {"connection_id":179322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b74"} 
[2026-09-10 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":747897344,"raw_latitude":130833232,"longitude_deg":74.7897344,"latitude_deg":13.0833232,"altitude":6,"angle":158,"satellites":41,"speed":57,"hex_longitude":"2c940200","hex_latitude":"07cc5b50","is_valid_coordinates":true} 
[2026-09-10 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995796224001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7787919990875447296,"note":"Value kept but may cause issues"} 
[2026-09-10 18:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789046093000,"timestamp_ms":1789046093000,"timestamp_seconds":1789046093,"priority":1,"record_length":96,"hex_timestamp":"000001a08b74f4c8"} 
[2026-09-10 18:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 18:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 18:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.198.196","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 18:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 18:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995796224001,"66":28006,"87":206,"9":57344,"24":57,"16":3893920429768704,"44":-7787919990875447296},"client_ip":"117.224.198.196","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,9,24,16,44]} 
[2026-09-10 18:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 18:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 18:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995796224001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:46:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-10 18:46:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 18:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7787919990875447296,"description":"Unknown IO ID 44"} 
[2026-09-10 18:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995796224001,"power":28006,"unknown_87":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-7787919990875447296}} 
[2026-09-10 18:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":179322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:46:49] local.INFO: GPS data processed {"connection_id":179322,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:46:49] local.INFO: Acknowledgment sent {"connection_id":179322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:46:57] local.INFO: TCP Data received {"connection_id":177960,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:57] local.INFO: Processing buffer {"connection_id":177960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:46:57] local.INFO: IMEI packet received {"connection_id":177960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":177960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:47:00] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:00] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:00] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:47:00] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:47:00] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:47: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-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:47:00] 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-09-10 18:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:47:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:47:00] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:47:00] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:47:03] local.INFO: TCP Data received {"connection_id":177960,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:47:03] local.INFO: Processing buffer {"connection_id":177960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:47:03] local.INFO: IMEI packet received {"connection_id":177960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":177960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:47:03] local.INFO: TCP Data received {"connection_id":177960,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:47:03] local.INFO: Processing buffer {"connection_id":177960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:47:03] local.INFO: Packet analysis {"connection_id":177960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:47:03] local.INFO: Extracted packet for processing {"connection_id":177960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:47: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-09-10 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:47:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":177960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:47:03] local.INFO: GPS data processed {"connection_id":177960,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:47:03] local.INFO: Acknowledgment sent {"connection_id":177960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:47:04] local.INFO: TCP Data received {"connection_id":176573,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b72e570012d181e400721af30004e00cc28..."} 
[2026-09-10 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b72e570012d181e400721af30004e00cc28..."} 
[2026-09-10 18:47:04] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b72e570012d181e400721af30004e00cc28..."} 
[2026-09-10 18:47:04] local.INFO: Packet analysis {"connection_id":176573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:47:04] local.INFO: Extracted packet for processing {"connection_id":176573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995759872001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47: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-09-10 18:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789045958000,"timestamp_ms":1789045958000,"timestamp_seconds":1789045958,"priority":1,"record_length":96,"hex_timestamp":"000001a08b72e570"} 
[2026-09-10 18:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 18:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995759872001,"66":12178,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995759872001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:47:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995759872001,"power":12178,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":176573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:47:04] local.INFO: GPS data processed {"connection_id":176573,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:47:04] local.INFO: Acknowledgment sent {"connection_id":176573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:47:21] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:47:21] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:47:21] local.INFO: IMEI packet received {"connection_id":176790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":176790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:47:23] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:47:23] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:47:23] local.INFO: IMEI packet received {"connection_id":176790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":176790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:47:24] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:24] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:24] local.INFO: Packet analysis {"connection_id":176790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:47:24] local.INFO: Extracted packet for processing {"connection_id":176790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:47:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:47:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:47:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":176790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:47:24] local.INFO: GPS data processed {"connection_id":176790,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:47:24] local.INFO: Acknowledgment sent {"connection_id":176790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:47:26] local.INFO: TCP Data received {"connection_id":177961,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:26] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:26] local.INFO: IMEI packet received {"connection_id":177961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":177961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:47:28] local.INFO: TCP Data received {"connection_id":177961,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:28] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:28] local.INFO: IMEI packet received {"connection_id":177961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":177961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:47:29] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:29] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:47:29] local.INFO: Packet analysis {"connection_id":176790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:47:29] local.INFO: Extracted packet for processing {"connection_id":176790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:47:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":176790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:47:29] local.INFO: GPS data processed {"connection_id":176790,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:47:29] local.INFO: Acknowledgment sent {"connection_id":176790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:47:31] local.INFO: TCP Data received {"connection_id":177961,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:31] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:47:31] local.INFO: IMEI packet received {"connection_id":177961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":177961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:47:32] local.INFO: TCP Data received {"connection_id":177961,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b733778012d181e400721af30004e00cc29..."} 
[2026-09-10 18:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b733778012d181e400721af30004e00cc29..."} 
[2026-09-10 18:47:32] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b733778012d181e400721af30004e00cc29..."} 
[2026-09-10 18:47:32] local.INFO: Packet analysis {"connection_id":177961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b73"} 
[2026-09-10 18:47:32] local.INFO: Extracted packet for processing {"connection_id":177961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b73"} 
[2026-09-10 18:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995765248001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789045979000,"timestamp_ms":1789045979000,"timestamp_seconds":1789045979,"priority":1,"record_length":96,"hex_timestamp":"000001a08b733778"} 
[2026-09-10 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-09-10 18:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-10 18:47:32] 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-09-10 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-09-10 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-09-10 18:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995765248001,"66":12406,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995765248001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:47:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995765248001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":177961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:47:32] local.INFO: GPS data processed {"connection_id":177961,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:47:32] local.INFO: Acknowledgment sent {"connection_id":177961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:47:34] local.INFO: TCP Data received {"connection_id":177960,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:47:34] local.INFO: Processing buffer {"connection_id":177960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:47:34] local.INFO: Packet analysis {"connection_id":177960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:47:34] local.INFO: Extracted packet for processing {"connection_id":177960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:47: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-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:47:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":177960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:47:34] local.INFO: GPS data processed {"connection_id":177960,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:47:34] local.INFO: Acknowledgment sent {"connection_id":177960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:47:57] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:47:57] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:47:57] local.INFO: IMEI packet received {"connection_id":176574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":176574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:48:00] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:00] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:00] local.INFO: Packet analysis {"connection_id":176790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:48:00] local.INFO: Extracted packet for processing {"connection_id":176790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:48: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-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":176790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:00] local.INFO: GPS data processed {"connection_id":176790,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:00] local.INFO: Acknowledgment sent {"connection_id":176790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:48:02] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:02] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:02] local.INFO: IMEI packet received {"connection_id":176574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":176574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:48:02] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:02] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:02] local.INFO: Packet analysis {"connection_id":176574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:48:02] local.INFO: Extracted packet for processing {"connection_id":176574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48: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-09-10 18:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18: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-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":176574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:02] local.INFO: GPS data processed {"connection_id":176574,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:02] local.INFO: Acknowledgment sent {"connection_id":176574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:48:04] local.INFO: TCP Data received {"connection_id":177961,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b738980012d181e400721af30004e00cc28..."} 
[2026-09-10 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b738980012d181e400721af30004e00cc28..."} 
[2026-09-10 18:48:04] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b738980012d181e400721af30004e00cc28..."} 
[2026-09-10 18:48:04] local.INFO: Packet analysis {"connection_id":177961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b73"} 
[2026-09-10 18:48:04] local.INFO: Extracted packet for processing {"connection_id":177961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b73"} 
[2026-09-10 18:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995770624001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48: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-09-10 18:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789046000000,"timestamp_ms":1789046000000,"timestamp_seconds":1789046000,"priority":1,"record_length":96,"hex_timestamp":"000001a08b738980"} 
[2026-09-10 18:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995770624001,"66":12428,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995770624001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995770624001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":177961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:04] local.INFO: GPS data processed {"connection_id":177961,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:04] local.INFO: Acknowledgment sent {"connection_id":177961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:48:18] local.INFO: TCP Data received {"connection_id":179323,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:48:18] local.INFO: Processing buffer {"connection_id":179323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:48:18] local.INFO: IMEI packet received {"connection_id":179323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":179323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:48:23] local.INFO: TCP Data received {"connection_id":179323,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:48:23] local.INFO: Processing buffer {"connection_id":179323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:48:23] local.INFO: IMEI packet received {"connection_id":179323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":179323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:48:24] local.INFO: TCP Data received {"connection_id":179323,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:24] local.INFO: Processing buffer {"connection_id":179323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:24] local.INFO: Packet analysis {"connection_id":179323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:48:24] local.INFO: Extracted packet for processing {"connection_id":179323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:48:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":179323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:24] local.INFO: GPS data processed {"connection_id":179323,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:24] local.INFO: Acknowledgment sent {"connection_id":179323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:48:26] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:48:26] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:48:26] local.INFO: IMEI packet received {"connection_id":176575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":176575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:48:32] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:48:32] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:48:32] local.INFO: IMEI packet received {"connection_id":176575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":176575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:48:33] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b73db88012d181e400721af30004e00cc29..."} 
[2026-09-10 18:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b73db88012d181e400721af30004e00cc29..."} 
[2026-09-10 18:48:33] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b73db88012d181e400721af30004e00cc29..."} 
[2026-09-10 18:48:33] local.INFO: Packet analysis {"connection_id":176575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b73"} 
[2026-09-10 18:48:33] local.INFO: Extracted packet for processing {"connection_id":176575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b73"} 
[2026-09-10 18:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995776000001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789046021000,"timestamp_ms":1789046021000,"timestamp_seconds":1789046021,"priority":1,"record_length":96,"hex_timestamp":"000001a08b73db88"} 
[2026-09-10 18:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995776000001,"66":12428,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995776000001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995776000001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":176575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:33] local.INFO: GPS data processed {"connection_id":176575,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:33] local.INFO: Acknowledgment sent {"connection_id":176575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:48:34] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:34] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:34] local.INFO: Packet analysis {"connection_id":176574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:48:34] local.INFO: Extracted packet for processing {"connection_id":176574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:48: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-09-10 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":176574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:34] local.INFO: GPS data processed {"connection_id":176574,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:34] local.INFO: Acknowledgment sent {"connection_id":176574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:48:52] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:52] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:52] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:48:55] local.INFO: TCP Data received {"connection_id":179323,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:55] local.INFO: Processing buffer {"connection_id":179323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:48:55] local.INFO: Packet analysis {"connection_id":179323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:48:55] local.INFO: Extracted packet for processing {"connection_id":179323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":179323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:55] local.INFO: GPS data processed {"connection_id":179323,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:55] local.INFO: Acknowledgment sent {"connection_id":179323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:48:57] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:57] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:48:57] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:48:58] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:58] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:48:58] local.INFO: Packet analysis {"connection_id":176576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:48:58] local.INFO: Extracted packet for processing {"connection_id":176576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:48:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":176576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:48:58] local.INFO: GPS data processed {"connection_id":176576,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:48:58] local.INFO: Acknowledgment sent {"connection_id":176576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:49:05] local.INFO: TCP Data received {"connection_id":176575,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7761e0012d181e400721af30004e00cc24..."} 
[2026-09-10 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7761e0012d181e400721af30004e00cc24..."} 
[2026-09-10 18:49:05] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7761e0012d181e400721af30004e00cc24..."} 
[2026-09-10 18:49:05] local.INFO: Packet analysis {"connection_id":176575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b77"} 
[2026-09-10 18:49:05] local.INFO: Extracted packet for processing {"connection_id":176575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b77"} 
[2026-09-10 18:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995835136001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49: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-09-10 18:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789046252000,"timestamp_ms":1789046252000,"timestamp_seconds":1789046252,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7761e0"} 
[2026-09-10 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-09-10 18:49: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-09-10 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 18:49: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-09-10 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-09-10 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-09-10 18:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995835136001,"66":12406,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995835136001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:49:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995835136001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":176575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:49:05] local.INFO: GPS data processed {"connection_id":176575,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:49:05] local.INFO: Acknowledgment sent {"connection_id":176575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:49:18] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:49:18] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:49:18] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:49:23] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:49:23] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:49:23] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:49:24] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:49:24] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:49:24] local.INFO: Packet analysis {"connection_id":176577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:49:24] local.INFO: Extracted packet for processing {"connection_id":176577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:49:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":176577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:49:24] local.INFO: GPS data processed {"connection_id":176577,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:49:24] local.INFO: Acknowledgment sent {"connection_id":176577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:49:29] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:49:29] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:49:29] local.INFO: Packet analysis {"connection_id":176576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:49:29] local.INFO: Extracted packet for processing {"connection_id":176576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:49:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":176576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:49:29] local.INFO: GPS data processed {"connection_id":176576,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:49:29] local.INFO: Acknowledgment sent {"connection_id":176576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:49:32] local.INFO: TCP Data received {"connection_id":179324,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:49:32] local.INFO: Processing buffer {"connection_id":179324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:49:32] local.INFO: IMEI packet received {"connection_id":179324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":179324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:49:35] local.INFO: TCP Data received {"connection_id":179324,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:49:35] local.INFO: Processing buffer {"connection_id":179324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:49:35] local.INFO: IMEI packet received {"connection_id":179324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":179324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:49:36] local.INFO: TCP Data received {"connection_id":179324,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b77b3e8012d181e400721af30004e00cc26..."} 
[2026-09-10 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b77b3e8012d181e400721af30004e00cc26..."} 
[2026-09-10 18:49:36] local.INFO: Processing buffer {"connection_id":179324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b77b3e8012d181e400721af30004e00cc26..."} 
[2026-09-10 18:49:36] local.INFO: Packet analysis {"connection_id":179324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b77"} 
[2026-09-10 18:49:36] local.INFO: Extracted packet for processing {"connection_id":179324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b77"} 
[2026-09-10 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995840512001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789046273000,"timestamp_ms":1789046273000,"timestamp_seconds":1789046273,"priority":1,"record_length":96,"hex_timestamp":"000001a08b77b3e8"} 
[2026-09-10 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-09-10 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 18:49: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-09-10 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-09-10 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-09-10 18:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995840512001,"66":12374,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995840512001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:49:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995840512001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":179324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:49:36] local.INFO: GPS data processed {"connection_id":179324,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:49:36] local.INFO: Acknowledgment sent {"connection_id":179324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:49:37] local.INFO: TCP Data received {"connection_id":179324,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7805f0012d181e400721af30004e00cc26..."} 
[2026-09-10 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7805f0012d181e400721af30004e00cc26..."} 
[2026-09-10 18:49:37] local.INFO: Processing buffer {"connection_id":179324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7805f0012d181e400721af30004e00cc26..."} 
[2026-09-10 18:49:37] local.INFO: Packet analysis {"connection_id":179324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:49:37] local.INFO: Extracted packet for processing {"connection_id":179324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995845888001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49: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-09-10 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789046294000,"timestamp_ms":1789046294000,"timestamp_seconds":1789046294,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7805f0"} 
[2026-09-10 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-10 18:49: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-09-10 18:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995845888001,"66":10645,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995845888001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:49:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995845888001,"power":10645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":179324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:49:37] local.INFO: GPS data processed {"connection_id":179324,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:49:37] local.INFO: Acknowledgment sent {"connection_id":179324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:49:55] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:49:55] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:49:55] local.INFO: Packet analysis {"connection_id":176577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:49:55] local.INFO: Extracted packet for processing {"connection_id":176577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:49:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:49:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":176577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:49:55] local.INFO: GPS data processed {"connection_id":176577,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:49:55] local.INFO: Acknowledgment sent {"connection_id":176577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:49:57] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:49:57] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:49:57] local.INFO: IMEI packet received {"connection_id":176791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":176791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:50:02] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:02] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:02] local.INFO: IMEI packet received {"connection_id":176791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":176791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:50:02] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:02] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:02] local.INFO: Packet analysis {"connection_id":176791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:50:02] local.INFO: Extracted packet for processing {"connection_id":176791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50: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-09-10 18:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18: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-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:50:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":176791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:50:03] local.INFO: GPS data processed {"connection_id":176791,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:50:03] local.INFO: Acknowledgment sent {"connection_id":176791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:50:08] local.INFO: TCP Data received {"connection_id":179324,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7857f8012d181e400721af30004e00cc27..."} 
[2026-09-10 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7857f8012d181e400721af30004e00cc27..."} 
[2026-09-10 18:50:08] local.INFO: Processing buffer {"connection_id":179324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7857f8012d181e400721af30004e00cc27..."} 
[2026-09-10 18:50:08] local.INFO: Packet analysis {"connection_id":179324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:50:08] local.INFO: Extracted packet for processing {"connection_id":179324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995851264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18: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-09-10 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789046315000,"timestamp_ms":1789046315000,"timestamp_seconds":1789046315,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7857f8"} 
[2026-09-10 18:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:50: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-09-10 18: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":41,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-10 18:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1744,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995851264001,"66":13504,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995851264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:50:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995851264001,"power":13504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":179324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:50:08] local.INFO: GPS data processed {"connection_id":179324,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:50:08] local.INFO: Acknowledgment sent {"connection_id":179324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:50:18] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:50:18] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:50:18] local.INFO: IMEI packet received {"connection_id":177962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":177962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:50:23] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:50:23] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:50:23] local.INFO: IMEI packet received {"connection_id":177962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":177962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:50:24] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:50:24] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:50:24] local.INFO: Packet analysis {"connection_id":177962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:50:24] local.INFO: Extracted packet for processing {"connection_id":177962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:50:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":177962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:50:24] local.INFO: GPS data processed {"connection_id":177962,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:50:24] local.INFO: Acknowledgment sent {"connection_id":177962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:50:27] local.INFO: TCP Data received {"connection_id":176578,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:50:27] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:50:27] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:50:28] local.INFO: TCP Data received {"connection_id":176578,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:50:28] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:50:28] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:50:30] local.INFO: TCP Data received {"connection_id":176578,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b78aa00012d181e400721af30004e00cc26..."} 
[2026-09-10 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b78aa00012d181e400721af30004e00cc26..."} 
[2026-09-10 18:50:30] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b78aa00012d181e400721af30004e00cc26..."} 
[2026-09-10 18:50:30] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:50:30] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648048,"longitude_deg":75.6555328,"latitude_deg":11.9648048,"altitude":78,"angle":204,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-10 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995856640001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356245077000192,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789046336000,"timestamp_ms":1789046336000,"timestamp_seconds":1789046336,"priority":1,"record_length":96,"hex_timestamp":"000001a08b78aa00"} 
[2026-09-10 18:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-10 18:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995856640001,"66":12439,"120":206,"28":31744,"24":0,"16":19356245077000192,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995856640001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:50:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356245077000192,"km_value":19356245077000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995856640001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:50:30] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:50:30] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:50:34] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:34] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:34] local.INFO: Packet analysis {"connection_id":176791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:50:34] local.INFO: Extracted packet for processing {"connection_id":176791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:50: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-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:50:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":176791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:50:34] local.INFO: GPS data processed {"connection_id":176791,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:50:34] local.INFO: Acknowledgment sent {"connection_id":176791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:50:52] local.INFO: TCP Data received {"connection_id":179325,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:52] local.INFO: Processing buffer {"connection_id":179325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:52] local.INFO: IMEI packet received {"connection_id":179325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":179325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:50:55] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:50:55] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b75c3d0012ceb0780071a3b300021013529..."} 
[2026-09-10 18:50:55] local.INFO: Packet analysis {"connection_id":177962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:50:55] local.INFO: Extracted packet for processing {"connection_id":177962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b75"} 
[2026-09-10 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995736320001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789046146000,"timestamp_ms":1789046146000,"timestamp_seconds":1789046146,"priority":1,"record_length":96,"hex_timestamp":"000001a08b75c3d0"} 
[2026-09-10 18:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-10 18:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995736320001,"66":25952,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995736320001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:50:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995736320001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":177962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:50:55] local.INFO: GPS data processed {"connection_id":177962,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:50:55] local.INFO: Acknowledgment sent {"connection_id":177962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:50:57] local.INFO: TCP Data received {"connection_id":179325,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:57] local.INFO: Processing buffer {"connection_id":179325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:50:57] local.INFO: IMEI packet received {"connection_id":179325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":179325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:50:58] local.INFO: TCP Data received {"connection_id":179325,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:58] local.INFO: Processing buffer {"connection_id":179325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7254e8012d7e350005d34cc8000700d62a..."} 
[2026-09-10 18:50:58] local.INFO: Packet analysis {"connection_id":179325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:50:58] local.INFO: Extracted packet for processing {"connection_id":179325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b72"} 
[2026-09-10 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97733832,"longitude_deg":76.3245824,"latitude_deg":9.7733832,"altitude":7,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-09-10 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789045921000,"timestamp_ms":1789045921000,"timestamp_seconds":1789045921,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7254e8"} 
[2026-09-10 18:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":13472,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:50:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":179325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:50:58] local.INFO: GPS data processed {"connection_id":179325,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:50:58] local.INFO: Acknowledgment sent {"connection_id":179325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:51:01] local.INFO: TCP Data received {"connection_id":176578,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b78d4f8012d181cc00721ab30004d00bb25..."} 
[2026-09-10 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b78d4f8012d181cc00721ab30004d00bb25..."} 
[2026-09-10 18:51:01] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b78d4f8012d181cc00721ab30004d00bb25..."} 
[2026-09-10 18:51:01] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:51:01] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b78"} 
[2026-09-10 18:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647024,"longitude_deg":75.6554944,"latitude_deg":11.9647024,"altitude":77,"angle":187,"satellites":37,"speed":3,"hex_longitude":"2d181cc0","hex_latitude":"0721ab30","is_valid_coordinates":true} 
[2026-09-10 18:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995862016001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356296616607744,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585668096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789046347000,"timestamp_ms":1789046347000,"timestamp_seconds":1789046347,"priority":1,"record_length":96,"hex_timestamp":"000001a08b78d4f8"} 
[2026-09-10 18:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-10 18:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995862016001,"66":13439,"120":206,"28":31744,"24":3,"16":19356296616607744,"45":1737896905585668096},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 18:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995862016001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:51:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 18:51:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356296616607744,"km_value":19356296616607.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585668096,"description":"Unknown IO ID 45"} 
[2026-09-10 18:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995862016001,"power":13439,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737896905585668096}} 
[2026-09-10 18:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:51:01] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:51:01] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:51:23] local.INFO: TCP Data received {"connection_id":177963,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:51:23] local.INFO: Processing buffer {"connection_id":177963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:51:23] local.INFO: IMEI packet received {"connection_id":177963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":177963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:51:25] local.INFO: TCP Data received {"connection_id":177963,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:51:25] local.INFO: Processing buffer {"connection_id":177963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:51:25] local.INFO: IMEI packet received {"connection_id":177963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":177963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:51:26] local.INFO: TCP Data received {"connection_id":177963,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:51:26] local.INFO: Processing buffer {"connection_id":177963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:51:26] local.INFO: Packet analysis {"connection_id":177963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:26] local.INFO: Extracted packet for processing {"connection_id":177963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:26] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:51:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:51:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":177963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:51:26] local.INFO: GPS data processed {"connection_id":177963,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:51:26] local.INFO: Acknowledgment sent {"connection_id":177963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:51:26] local.INFO: TCP Data received {"connection_id":179326,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:26] local.INFO: Processing buffer {"connection_id":179326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:26] local.INFO: IMEI packet received {"connection_id":179326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":179326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:51:27] local.INFO: TCP Data received {"connection_id":179326,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:27] local.INFO: Processing buffer {"connection_id":179326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:27] local.INFO: IMEI packet received {"connection_id":179326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":179326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:51:28] local.INFO: TCP Data received {"connection_id":179325,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:51:28] local.INFO: Processing buffer {"connection_id":179325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:51:28] local.INFO: Packet analysis {"connection_id":179325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:28] local.INFO: Extracted packet for processing {"connection_id":179325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:51:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":179325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:51:28] local.INFO: GPS data processed {"connection_id":179325,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:51:28] local.INFO: Acknowledgment sent {"connection_id":179325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:51:29] local.INFO: TCP Data received {"connection_id":177963,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:51:29] local.INFO: Processing buffer {"connection_id":177963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:51:29] local.INFO: Packet analysis {"connection_id":177963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:29] local.INFO: Extracted packet for processing {"connection_id":177963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 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-09-10 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:51:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":177963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:51:29] local.INFO: GPS data processed {"connection_id":177963,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:51:29] local.INFO: Acknowledgment sent {"connection_id":177963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:51:32] local.INFO: TCP Data received {"connection_id":179326,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:32] local.INFO: Processing buffer {"connection_id":179326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:51:32] local.INFO: IMEI packet received {"connection_id":179326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":179326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:51:33] local.INFO: TCP Data received {"connection_id":179326,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a28d0012d183440072197f0004e007026..."} 
[2026-09-10 18:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a28d0012d183440072197f0004e007026..."} 
[2026-09-10 18:51:33] local.INFO: Processing buffer {"connection_id":179326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a28d0012d183440072197f0004e007026..."} 
[2026-09-10 18:51:33] local.INFO: Packet analysis {"connection_id":179326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:33] local.INFO: Extracted packet for processing {"connection_id":179326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119642096,"longitude_deg":75.656096,"latitude_deg":11.9642096,"altitude":78,"angle":112,"satellites":38,"speed":5,"hex_longitude":"2d183440","hex_latitude":"072197f0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995884032001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19356687458631680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743737511350913024,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789046434000,"timestamp_ms":1789046434000,"timestamp_seconds":1789046434,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a28d0"} 
[2026-09-10 18:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 18:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995884032001,"66":12982,"121":206,"28":31744,"24":5,"16":19356687458631680,"45":1743737511350913024},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995884032001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:51:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:51:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19356687458631680,"km_value":19356687458631.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743737511350913024,"description":"Unknown IO ID 45"} 
[2026-09-10 18:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995884032001,"power":12982,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1743737511350913024}} 
[2026-09-10 18:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":179326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:51:34] local.INFO: GPS data processed {"connection_id":179326,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:51:34] local.INFO: Acknowledgment sent {"connection_id":179326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:51:52] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:51:52] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:51:52] local.INFO: IMEI packet received {"connection_id":176792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":176792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:51:57] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:51:57] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:51:57] local.INFO: IMEI packet received {"connection_id":176792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":176792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:51:58] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:51:58] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:51:58] local.INFO: Packet analysis {"connection_id":176792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:58] local.INFO: Extracted packet for processing {"connection_id":176792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:51:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":176792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:51:58] local.INFO: GPS data processed {"connection_id":176792,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:51:58] local.INFO: Acknowledgment sent {"connection_id":176792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:52:00] local.INFO: TCP Data received {"connection_id":177963,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:00] local.INFO: Processing buffer {"connection_id":177963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:00] local.INFO: Packet analysis {"connection_id":177963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:00] local.INFO: Extracted packet for processing {"connection_id":177963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:52: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-09-10 18:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:52:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":177963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:52:00] local.INFO: GPS data processed {"connection_id":177963,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:52:00] local.INFO: Acknowledgment sent {"connection_id":177963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:52:12] local.INFO: TCP Data received {"connection_id":179326,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a6368012d185600072188980049007925..."} 
[2026-09-10 18:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a6368012d185600072188980049007925..."} 
[2026-09-10 18:52:12] local.INFO: Processing buffer {"connection_id":179326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a6368012d185600072188980049007925..."} 
[2026-09-10 18:52:12] local.INFO: Packet analysis {"connection_id":179326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:12] local.INFO: Extracted packet for processing {"connection_id":179326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756569600,"raw_latitude":119638168,"longitude_deg":75.65696,"latitude_deg":11.9638168,"altitude":73,"angle":121,"satellites":37,"speed":33,"hex_longitude":"2d185600","hex_latitude":"07218898","is_valid_coordinates":true} 
[2026-09-10 18:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995887104001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19357138430197760,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071778816,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52: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-09-10 18:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789046449000,"timestamp_ms":1789046449000,"timestamp_seconds":1789046449,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a6368"} 
[2026-09-10 18:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:52: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-09-10 18: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":182,"data_length":795,"current_offset":136} 
[2026-09-10 18:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":179326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":179326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":179326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995887104001,"66":12819,"121":206,"28":31744,"24":33,"16":19357138430197760,"45":1744089355071778816},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995887104001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:52:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19357138430197760,"km_value":19357138430197.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071778816,"description":"Unknown IO ID 45"} 
[2026-09-10 18:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995887104001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1744089355071778816}} 
[2026-09-10 18:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":179326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:52:12] local.INFO: GPS data processed {"connection_id":179326,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:52:12] local.INFO: Acknowledgment sent {"connection_id":179326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:52:18] local.INFO: TCP Data received {"connection_id":179327,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:52:18] local.INFO: Processing buffer {"connection_id":179327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:52:18] local.INFO: IMEI packet received {"connection_id":179327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":179327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:52:23] local.INFO: TCP Data received {"connection_id":179327,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:52:23] local.INFO: Processing buffer {"connection_id":179327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:52:23] local.INFO: IMEI packet received {"connection_id":179327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":179327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:52:24] local.INFO: TCP Data received {"connection_id":179327,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:24] local.INFO: Processing buffer {"connection_id":179327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:24] local.INFO: Packet analysis {"connection_id":179327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:24] local.INFO: Extracted packet for processing {"connection_id":179327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:52:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:52:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":179327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:52:24] local.INFO: GPS data processed {"connection_id":179327,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:52:24] local.INFO: Acknowledgment sent {"connection_id":179327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:52:26] local.INFO: TCP Data received {"connection_id":176579,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:52:26] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:52:26] local.INFO: IMEI packet received {"connection_id":176579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":176579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:52:29] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:52:29] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:52:29] local.INFO: Packet analysis {"connection_id":176792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:29] local.INFO: Extracted packet for processing {"connection_id":176792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:52:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":176792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:52:29] local.INFO: GPS data processed {"connection_id":176792,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:52:29] local.INFO: Acknowledgment sent {"connection_id":176792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:52:31] local.INFO: TCP Data received {"connection_id":176579,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:52:31] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:52:31] local.INFO: IMEI packet received {"connection_id":176579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":176579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:52:32] local.INFO: TCP Data received {"connection_id":176579,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a7308012d1862c0072182b00049006925..."} 
[2026-09-10 18:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a7308012d1862c0072182b00049006925..."} 
[2026-09-10 18:52:32] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a7308012d1862c0072182b00049006925..."} 
[2026-09-10 18:52:32] local.INFO: Packet analysis {"connection_id":176579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:32] local.INFO: Extracted packet for processing {"connection_id":176579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756572864,"raw_latitude":119636656,"longitude_deg":75.6572864,"latitude_deg":11.9636656,"altitude":73,"angle":105,"satellites":37,"speed":32,"hex_longitude":"2d1862c0","hex_latitude":"072182b0","is_valid_coordinates":true} 
[2026-09-10 18:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890944001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19357310228889600,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753589135534757888,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789046453000,"timestamp_ms":1789046453000,"timestamp_seconds":1789046453,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a7308"} 
[2026-09-10 18:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:52: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-09-10 18:52: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":19,"data_length":795,"current_offset":136} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":24,"raw_value":21674170827931648,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2340015864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2049,"corrected_to":0} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194978048,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":139,"raw_value":8754135663543593152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2587885646,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2147951004,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648291952306893284,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3300196352,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2422531980521405477,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84750499077104038,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:32] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,121,28,24,241,158,16,197,160,40,45,64,151,78,38,10,66,196,249,152,37,120,246,192,1,240,69,139,33,4,113,205,13,218,44,8,34,239,52,2,68,7,124,177,136],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":246,"original":2049,"validated":0},{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-09-10 18:52:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260337564591652864,"timestamp_seconds":5260337564591653.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890944001,"66":12950,"121":206,"28":31744,"24":32,"16":19357310228889600,"45":1753589135534757888},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890944001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:52:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19357310228889600,"km_value":19357310228889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753589135534757888,"description":"Unknown IO ID 45"} 
[2026-09-10 18:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890944001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1753589135534757888}} 
[2026-09-10 18:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":176579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:52:32] local.INFO: GPS data processed {"connection_id":176579,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:52:32] local.INFO: Acknowledgment sent {"connection_id":176579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:52:52] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:52:52] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:52:52] local.INFO: IMEI packet received {"connection_id":177964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":177964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:52:55] local.INFO: TCP Data received {"connection_id":179327,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:55] local.INFO: Processing buffer {"connection_id":179327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:52:55] local.INFO: Packet analysis {"connection_id":179327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:55] local.INFO: Extracted packet for processing {"connection_id":179327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:52:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":179327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:52:55] local.INFO: GPS data processed {"connection_id":179327,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:52:55] local.INFO: Acknowledgment sent {"connection_id":179327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:52:57] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:52:57] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:52:57] local.INFO: IMEI packet received {"connection_id":177964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":177964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:52:58] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:52:58] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:52:58] local.INFO: Packet analysis {"connection_id":177964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:58] local.INFO: Extracted packet for processing {"connection_id":177964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:52:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:52:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":177964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:52:58] local.INFO: GPS data processed {"connection_id":177964,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:52:58] local.INFO: Acknowledgment sent {"connection_id":177964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:53:03] local.INFO: TCP Data received {"connection_id":176579,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7b8478012d18d34007211b10003f00af24..."} 
[2026-09-10 18:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7b8478012d18d34007211b10003f00af24..."} 
[2026-09-10 18:53:03] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7b8478012d18d34007211b10003f00af24..."} 
[2026-09-10 18:53:03] local.INFO: Packet analysis {"connection_id":176579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7b"} 
[2026-09-10 18:53:03] local.INFO: Extracted packet for processing {"connection_id":176579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7b"} 
[2026-09-10 18:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119610128,"longitude_deg":75.6601664,"latitude_deg":11.9610128,"altitude":63,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d18d340","hex_latitude":"07211b10","is_valid_coordinates":true} 
[2026-09-10 18:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995904512001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19359470597439488,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876361134080,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789046523000,"timestamp_ms":1789046523000,"timestamp_seconds":1789046523,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7b8478"} 
[2026-09-10 18:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-10 18:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995904512001,"66":13222,"121":206,"28":31744,"24":0,"16":19359470597439488,"45":1788843876361134080},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995904512001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:53:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19359470597439488,"km_value":19359470597439.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876361134080,"description":"Unknown IO ID 45"} 
[2026-09-10 18:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995904512001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788843876361134080}} 
[2026-09-10 18:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":176579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:53:03] local.INFO: GPS data processed {"connection_id":176579,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:53:03] local.INFO: Acknowledgment sent {"connection_id":176579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:53:18] local.INFO: TCP Data received {"connection_id":179328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:53:18] local.INFO: Processing buffer {"connection_id":179328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:53:18] local.INFO: IMEI packet received {"connection_id":179328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":179328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:53:23] local.INFO: TCP Data received {"connection_id":179328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:53:23] local.INFO: Processing buffer {"connection_id":179328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:53:23] local.INFO: IMEI packet received {"connection_id":179328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":179328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:53:24] local.INFO: TCP Data received {"connection_id":179328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:53:24] local.INFO: Processing buffer {"connection_id":179328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:53:24] local.INFO: Packet analysis {"connection_id":179328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:53:24] local.INFO: Extracted packet for processing {"connection_id":179328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:53:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:53:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:53:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":179328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:53:24] local.INFO: GPS data processed {"connection_id":179328,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:53:24] local.INFO: Acknowledgment sent {"connection_id":179328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:53:26] local.INFO: TCP Data received {"connection_id":179329,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:26] local.INFO: Processing buffer {"connection_id":179329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:26] local.INFO: IMEI packet received {"connection_id":179329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":179329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:53:27] local.INFO: TCP Data received {"connection_id":179329,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:27] local.INFO: Processing buffer {"connection_id":179329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:27] local.INFO: IMEI packet received {"connection_id":179329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":179329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:53:29] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:53:29] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:53:29] local.INFO: Packet analysis {"connection_id":177964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:53:29] local.INFO: Extracted packet for processing {"connection_id":177964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:53:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":177964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:53:29] local.INFO: GPS data processed {"connection_id":177964,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:53:29] local.INFO: Acknowledgment sent {"connection_id":177964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:53:32] local.INFO: TCP Data received {"connection_id":179329,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:32] local.INFO: Processing buffer {"connection_id":179329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:53:32] local.INFO: IMEI packet received {"connection_id":179329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":179329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:53:33] local.INFO: TCP Data received {"connection_id":179329,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7bc6e0012d18d58007210420003d00cf24..."} 
[2026-09-10 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7bc6e0012d18d58007210420003d00cf24..."} 
[2026-09-10 18:53:33] local.INFO: Processing buffer {"connection_id":179329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7bc6e0012d18d58007210420003d00cf24..."} 
[2026-09-10 18:53:33] local.INFO: Packet analysis {"connection_id":179329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7b"} 
[2026-09-10 18:53:33] local.INFO: Extracted packet for processing {"connection_id":179329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7b"} 
[2026-09-10 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119604256,"longitude_deg":75.660224,"latitude_deg":11.9604256,"altitude":61,"angle":207,"satellites":36,"speed":6,"hex_longitude":"2d18d580","hex_latitude":"07210420","is_valid_coordinates":true} 
[2026-09-10 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995909888001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19359758360248320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876360589312,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789046540000,"timestamp_ms":1789046540000,"timestamp_seconds":1789046540,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7bc6e0"} 
[2026-09-10 18:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 18:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995909888001,"66":12765,"121":206,"28":31744,"24":6,"16":19359758360248320,"45":1788843876360589312},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995909888001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:53:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19359758360248320,"km_value":19359758360248.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876360589312,"description":"Unknown IO ID 45"} 
[2026-09-10 18:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995909888001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1788843876360589312}} 
[2026-09-10 18:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":179329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:53:33] local.INFO: GPS data processed {"connection_id":179329,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:53:33] local.INFO: Acknowledgment sent {"connection_id":179329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:53:55] local.INFO: TCP Data received {"connection_id":179328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:53:55] local.INFO: Processing buffer {"connection_id":179328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:53:55] local.INFO: Packet analysis {"connection_id":179328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:53:55] local.INFO: Extracted packet for processing {"connection_id":179328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:53:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:53:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":179328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:53:55] local.INFO: GPS data processed {"connection_id":179328,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:53:55] local.INFO: Acknowledgment sent {"connection_id":179328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:53:57] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:53:57] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:53:57] local.INFO: IMEI packet received {"connection_id":177965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":177965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:54:02] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:02] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:02] local.INFO: IMEI packet received {"connection_id":177965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":177965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:54:03] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:03] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:03] local.INFO: Packet analysis {"connection_id":177965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:03] local.INFO: Extracted packet for processing {"connection_id":177965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:54: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-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":177965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:03] local.INFO: GPS data processed {"connection_id":177965,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:03] local.INFO: Acknowledgment sent {"connection_id":177965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:54:08] local.INFO: TCP Data received {"connection_id":179329,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7bd680012d18d40007210330003d010c26..."} 
[2026-09-10 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7bd680012d18d40007210330003d010c26..."} 
[2026-09-10 18:54:08] local.INFO: Processing buffer {"connection_id":179329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7bd680012d18d40007210330003d010c26..."} 
[2026-09-10 18:54:08] local.INFO: Packet analysis {"connection_id":179329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7b"} 
[2026-09-10 18:54:08] local.INFO: Extracted packet for processing {"connection_id":179329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7b"} 
[2026-09-10 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119604016,"longitude_deg":75.6601856,"latitude_deg":11.9604016,"altitude":61,"angle":268,"satellites":38,"speed":5,"hex_longitude":"2d18d400","hex_latitude":"07210330","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995914240001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19359784130052096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056685056,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54: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-09-10 18:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789046544000,"timestamp_ms":1789046544000,"timestamp_seconds":1789046544,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7bd680"} 
[2026-09-10 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-09-10 18:54: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-09-10 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995914240001,"66":12722,"121":206,"28":31744,"24":5,"16":19359784130052096,"45":1789477195056685056},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995914240001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19359784130052096,"km_value":19359784130052.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056685056,"description":"Unknown IO ID 45"} 
[2026-09-10 18:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995914240001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1789477195056685056}} 
[2026-09-10 18:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":179329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:08] local.INFO: GPS data processed {"connection_id":179329,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:08] local.INFO: Acknowledgment sent {"connection_id":179329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:54:18] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:54:18] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:54:18] local.INFO: IMEI packet received {"connection_id":176580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":176580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:54:23] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:54:23] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:54:23] local.INFO: IMEI packet received {"connection_id":176580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":176580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:54:26] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:54:26] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:54:26] local.INFO: Packet analysis {"connection_id":176580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:26] local.INFO: Extracted packet for processing {"connection_id":176580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:26] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:54:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":176580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:26] local.INFO: GPS data processed {"connection_id":176580,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:26] local.INFO: Acknowledgment sent {"connection_id":176580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:54:30] local.INFO: TCP Data received {"connection_id":177966,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:30] local.INFO: Processing buffer {"connection_id":177966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:30] local.INFO: IMEI packet received {"connection_id":177966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":177966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:54:31] local.INFO: TCP Data received {"connection_id":177966,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:31] local.INFO: Processing buffer {"connection_id":177966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:31] local.INFO: IMEI packet received {"connection_id":177966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":177966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:54:34] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:34] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:34] local.INFO: Packet analysis {"connection_id":177965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:34] local.INFO: Extracted packet for processing {"connection_id":177965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:54: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-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":177965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:34] local.INFO: GPS data processed {"connection_id":177965,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:34] local.INFO: Acknowledgment sent {"connection_id":177965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:54:37] local.INFO: TCP Data received {"connection_id":177966,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:37] local.INFO: Processing buffer {"connection_id":177966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:54:37] local.INFO: IMEI packet received {"connection_id":177966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":177966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:54:38] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:54:38] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 18:54:38] local.INFO: IMEI packet received {"connection_id":176793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 18:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":176793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:54:38] local.INFO: TCP Data received {"connection_id":177966,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7c24a0012d18cd80072102a8003d00f223..."} 
[2026-09-10 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7c24a0012d18cd80072102a8003d00f223..."} 
[2026-09-10 18:54:38] local.INFO: Processing buffer {"connection_id":177966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7c24a0012d18cd80072102a8003d00f223..."} 
[2026-09-10 18:54:38] local.INFO: Packet analysis {"connection_id":177966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7c"} 
[2026-09-10 18:54:38] local.INFO: Extracted packet for processing {"connection_id":177966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7c"} 
[2026-09-10 18:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119603880,"longitude_deg":75.6600192,"latitude_deg":11.960388,"altitude":61,"angle":242,"satellites":35,"speed":12,"hex_longitude":"2d18cd80","hex_latitude":"072102a8","is_valid_coordinates":true} 
[2026-09-10 18:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995915264001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19359865734430720,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591557632,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54: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-09-10 18:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789046564000,"timestamp_ms":1789046564000,"timestamp_seconds":1789046564,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7c24a0"} 
[2026-09-10 18:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995915264001,"66":13102,"121":206,"28":31744,"24":12,"16":19359865734430720,"45":1789054982591557632},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995915264001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19359865734430720,"km_value":19359865734430.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591557632,"description":"Unknown IO ID 45"} 
[2026-09-10 18:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995915264001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1789054982591557632}} 
[2026-09-10 18:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":177966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:39] local.INFO: GPS data processed {"connection_id":177966,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:39] local.INFO: Acknowledgment sent {"connection_id":177966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:54:44] local.INFO: TCP Data received {"connection_id":177966,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7c2888012d18cc40072101d0003d00dc23..."} 
[2026-09-10 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7c2888012d18cc40072101d0003d00dc23..."} 
[2026-09-10 18:54:44] local.INFO: Processing buffer {"connection_id":177966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7c2888012d18cc40072101d0003d00dc23..."} 
[2026-09-10 18:54:44] local.INFO: Packet analysis {"connection_id":177966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7c"} 
[2026-09-10 18:54:44] local.INFO: Extracted packet for processing {"connection_id":177966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7c"} 
[2026-09-10 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":756599872,"raw_latitude":119603664,"longitude_deg":75.6599872,"latitude_deg":11.9603664,"altitude":61,"angle":220,"satellites":35,"speed":13,"hex_longitude":"2d18cc40","hex_latitude":"072101d0","is_valid_coordinates":true} 
[2026-09-10 18:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995920384001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19359882914299904,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395242903552,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54: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-09-10 18:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789046565000,"timestamp_ms":1789046565000,"timestamp_seconds":1789046565,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7c2888"} 
[2026-09-10 18:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995920384001,"66":13059,"121":206,"28":31744,"24":13,"16":19359882914299904,"45":1787225395242903552},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995920384001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:54:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19359882914299904,"km_value":19359882914299.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395242903552,"description":"Unknown IO ID 45"} 
[2026-09-10 18:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995920384001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1787225395242903552}} 
[2026-09-10 18:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":177966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:44] local.INFO: GPS data processed {"connection_id":177966,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:44] local.INFO: Acknowledgment sent {"connection_id":177966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:54:52] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:52] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:52] local.INFO: IMEI packet received {"connection_id":176581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":176581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:54:56] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:54:56] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:54:56] local.INFO: Packet analysis {"connection_id":176580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:56] local.INFO: Extracted packet for processing {"connection_id":176580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":176580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:57] local.INFO: GPS data processed {"connection_id":176580,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:57] local.INFO: Acknowledgment sent {"connection_id":176580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:54:57] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:57] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:54:57] local.INFO: IMEI packet received {"connection_id":176581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":176581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:54:58] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:58] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:54:58] local.INFO: Packet analysis {"connection_id":176581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:58] local.INFO: Extracted packet for processing {"connection_id":176581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:54:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:54:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":176581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:54:58] local.INFO: GPS data processed {"connection_id":176581,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:54:58] local.INFO: Acknowledgment sent {"connection_id":176581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:55:18] local.INFO: TCP Data received {"connection_id":176794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:55:18] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:55:18] local.INFO: IMEI packet received {"connection_id":176794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":176794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:55:23] local.INFO: TCP Data received {"connection_id":176794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:55:23] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:55:23] local.INFO: IMEI packet received {"connection_id":176794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":176794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:55:25] local.INFO: TCP Data received {"connection_id":177967,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:25] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:25] local.INFO: IMEI packet received {"connection_id":177967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":177967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:55:25] local.INFO: TCP Data received {"connection_id":176794,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:55:25] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:55:25] local.INFO: Packet analysis {"connection_id":176794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:25] local.INFO: Extracted packet for processing {"connection_id":176794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:25] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:55:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":176794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:55:25] local.INFO: GPS data processed {"connection_id":176794,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:55:25] local.INFO: Acknowledgment sent {"connection_id":176794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:55:26] local.INFO: TCP Data received {"connection_id":177967,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:26] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:26] local.INFO: IMEI packet received {"connection_id":177967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":177967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:55:29] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:55:29] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:55:29] local.INFO: Packet analysis {"connection_id":176581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:29] local.INFO: Extracted packet for processing {"connection_id":176581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:55:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":176581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:55:29] local.INFO: GPS data processed {"connection_id":176581,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:55:29] local.INFO: Acknowledgment sent {"connection_id":176581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:55:30] local.INFO: TCP Data received {"connection_id":177967,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:30] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:55:30] local.INFO: IMEI packet received {"connection_id":177967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":177967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:55:31] local.INFO: TCP Data received {"connection_id":177967,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7db310012d18be8007208998002700a521..."} 
[2026-09-10 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7db310012d18be8007208998002700a521..."} 
[2026-09-10 18:55:31] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7db310012d18be8007208998002700a521..."} 
[2026-09-10 18:55:31] local.INFO: Packet analysis {"connection_id":177967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7d"} 
[2026-09-10 18:55:31] local.INFO: Extracted packet for processing {"connection_id":177967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7d"} 
[2026-09-10 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756596352,"raw_latitude":119572888,"longitude_deg":75.6596352,"latitude_deg":11.9572888,"altitude":39,"angle":165,"satellites":33,"speed":11,"hex_longitude":"2d18be80","hex_latitude":"07208998","is_valid_coordinates":true} 
[2026-09-10 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995945216001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19361463462264832,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782721795607902208,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789046666000,"timestamp_ms":1789046666000,"timestamp_seconds":1789046666,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7db310"} 
[2026-09-10 18:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995945216001,"66":13493,"121":206,"28":31744,"24":11,"16":19361463462264832,"45":1782721795607902208},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995945216001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:55:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19361463462264832,"km_value":19361463462264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782721795607902208,"description":"Unknown IO ID 45"} 
[2026-09-10 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995945216001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1782721795607902208}} 
[2026-09-10 18:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":177967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:55:31] local.INFO: GPS data processed {"connection_id":177967,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:55:31] local.INFO: Acknowledgment sent {"connection_id":177967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:55:32] local.INFO: TCP Data received {"connection_id":177967,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7dc2b0012d18bf80072085680025009722..."} 
[2026-09-10 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7dc2b0012d18bf80072085680025009722..."} 
[2026-09-10 18:55:32] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7dc2b0012d18bf80072085680025009722..."} 
[2026-09-10 18:55:32] local.INFO: Packet analysis {"connection_id":177967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7d"} 
[2026-09-10 18:55:32] local.INFO: Extracted packet for processing {"connection_id":177967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7d"} 
[2026-09-10 18:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756596608,"raw_latitude":119571816,"longitude_deg":75.6596608,"latitude_deg":11.9571816,"altitude":37,"angle":151,"satellites":34,"speed":9,"hex_longitude":"2d18bf80","hex_latitude":"07208568","is_valid_coordinates":true} 
[2026-09-10 18:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995946496001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19361515001872384,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783003270584309760,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789046670000,"timestamp_ms":1789046670000,"timestamp_seconds":1789046670,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7dc2b0"} 
[2026-09-10 18:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18: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-09-10 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 18:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995946496001,"66":13472,"121":206,"28":31744,"24":9,"16":19361515001872384,"45":1783003270584309760},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995946496001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:55:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19361515001872384,"km_value":19361515001872.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783003270584309760,"description":"Unknown IO ID 45"} 
[2026-09-10 18:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995946496001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1783003270584309760}} 
[2026-09-10 18:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":177967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:55:32] local.INFO: GPS data processed {"connection_id":177967,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:55:32] local.INFO: Acknowledgment sent {"connection_id":177967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:55:52] local.INFO: TCP Data received {"connection_id":179330,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:55:52] local.INFO: Processing buffer {"connection_id":179330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:55:52] local.INFO: IMEI packet received {"connection_id":179330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":179330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:55:56] local.INFO: TCP Data received {"connection_id":176794,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:55:56] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7a5b98012ceb0780071a3b300021013528..."} 
[2026-09-10 18:55:56] local.INFO: Packet analysis {"connection_id":176794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:56] local.INFO: Extracted packet for processing {"connection_id":176794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:56] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995813376001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789046447000,"timestamp_ms":1789046447000,"timestamp_seconds":1789046447,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7a5b98"} 
[2026-09-10 18:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 18:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995813376001,"66":25821,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995813376001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:55:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995813376001,"power":25821,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":176794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:55:56] local.INFO: GPS data processed {"connection_id":176794,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:55:56] local.INFO: Acknowledgment sent {"connection_id":176794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:55:57] local.INFO: TCP Data received {"connection_id":179330,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:55:57] local.INFO: Processing buffer {"connection_id":179330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:55:57] local.INFO: IMEI packet received {"connection_id":179330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":179330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:55:58] local.INFO: TCP Data received {"connection_id":179330,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:55:58] local.INFO: Processing buffer {"connection_id":179330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7aa5d0012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:55:58] local.INFO: Packet analysis {"connection_id":179330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:58] local.INFO: Extracted packet for processing {"connection_id":179330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7a"} 
[2026-09-10 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995755776001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564445696,"note":"Value kept but may cause issues"} 
[2026-09-10 18:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789046466000,"timestamp_ms":1789046466000,"timestamp_seconds":1789046466,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7aa5d0"} 
[2026-09-10 18:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 18:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995755776001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094175047564445696},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995755776001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:55:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564445696,"description":"Unknown IO ID 45"} 
[2026-09-10 18:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995755776001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564445696}} 
[2026-09-10 18:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":179330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:55:58] local.INFO: GPS data processed {"connection_id":179330,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:55:58] local.INFO: Acknowledgment sent {"connection_id":179330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:56:04] local.INFO: TCP Data received {"connection_id":177967,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7e6e90012d18dbc007205a380026009324..."} 
[2026-09-10 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7e6e90012d18dbc007205a380026009324..."} 
[2026-09-10 18:56:04] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7e6e90012d18dbc007205a380026009324..."} 
[2026-09-10 18:56:04] local.INFO: Packet analysis {"connection_id":177967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:04] local.INFO: Extracted packet for processing {"connection_id":177967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756603840,"raw_latitude":119560760,"longitude_deg":75.660384,"latitude_deg":11.956076,"altitude":38,"angle":147,"satellites":36,"speed":12,"hex_longitude":"2d18dbc0","hex_latitude":"07205a38","is_valid_coordinates":true} 
[2026-09-10 18:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995958528001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19362193606705152,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791095676161705984,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56: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-09-10 18:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789046714000,"timestamp_ms":1789046714000,"timestamp_seconds":1789046714,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7e6e90"} 
[2026-09-10 18:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867803337,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4035217430131245021,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2340295864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858294649,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221692513,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3383164928,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6053064293237181980,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,201,160,94,45,91,36,10,66,64,92,87,1,240,138,139,32,4,113,205,9,63,208,184,37,239,49,2,68,7,18,52,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 18:56:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738321768967897088,"timestamp_seconds":2738321768967897.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995958528001,"66":13580,"121":206,"28":31744,"24":12,"16":19362193606705152,"45":1791095676161705984},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995958528001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:56:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19362193606705152,"km_value":19362193606705.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791095676161705984,"description":"Unknown IO ID 45"} 
[2026-09-10 18:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995958528001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1791095676161705984}} 
[2026-09-10 18:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":177967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:56:04] local.INFO: GPS data processed {"connection_id":177967,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:56:04] local.INFO: Acknowledgment sent {"connection_id":177967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:56:23] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:56:23] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:56:23] local.INFO: IMEI packet received {"connection_id":176583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":176583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:56:24] local.INFO: TCP Data received {"connection_id":176795,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:24] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:24] local.INFO: IMEI packet received {"connection_id":176795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":176795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:56:26] local.INFO: TCP Data received {"connection_id":176795,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:26] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:26] local.INFO: IMEI packet received {"connection_id":176795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":176795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:56:27] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:56:27] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:56:27] local.INFO: IMEI packet received {"connection_id":176583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":176583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:56:27] local.INFO: TCP Data received {"connection_id":176795,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:27] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:56:27] local.INFO: IMEI packet received {"connection_id":176795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":176795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:56:28] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:56:28] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:56:28] local.INFO: Packet analysis {"connection_id":176583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:28] local.INFO: Extracted packet for processing {"connection_id":176583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:56:28] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":176583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:56:28] local.INFO: GPS data processed {"connection_id":176583,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:56:28] local.INFO: Acknowledgment sent {"connection_id":176583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:56:29] local.INFO: TCP Data received {"connection_id":179330,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:56:29] local.INFO: Processing buffer {"connection_id":179330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:56:29] local.INFO: Packet analysis {"connection_id":179330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:56:29] local.INFO: Extracted packet for processing {"connection_id":179330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 18:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:56:29] 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-09-10 18: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-09-10 18:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:56:29] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:56:29] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:56:29] local.INFO: Packet analysis {"connection_id":176583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:29] local.INFO: Extracted packet for processing {"connection_id":176583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18: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-09-10 18:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":176583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:56:29] local.INFO: GPS data processed {"connection_id":176583,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:56:29] local.INFO: Acknowledgment sent {"connection_id":176583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":179330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:56:29] local.INFO: GPS data processed {"connection_id":179330,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:56:29] local.INFO: Acknowledgment sent {"connection_id":179330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:56:31] local.INFO: TCP Data received {"connection_id":176795,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7e7660012d18dcc0072057f8002600a424..."} 
[2026-09-10 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7e7660012d18dcc0072057f8002600a424..."} 
[2026-09-10 18:56:31] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7e7660012d18dcc0072057f8002600a424..."} 
[2026-09-10 18:56:31] local.INFO: Packet analysis {"connection_id":176795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:31] local.INFO: Extracted packet for processing {"connection_id":176795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119560184,"longitude_deg":75.6604096,"latitude_deg":11.9560184,"altitude":38,"angle":164,"satellites":36,"speed":11,"hex_longitude":"2d18dcc0","hex_latitude":"072057f8","is_valid_coordinates":true} 
[2026-09-10 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995958784001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19362223671476224,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413649991680,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789046716000,"timestamp_ms":1789046716000,"timestamp_seconds":1789046716,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7e7660"} 
[2026-09-10 18:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867803337,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-3783015851101781980,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2340306864,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13494137,"corrected_to":0} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631426409621369,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6053064293237181980,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3384279040,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:31] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,201,160,106,45,64,91,38,36,10,66,94,1,240,247,139,32,4,113,205,83,212,239,52,2,68,7,34,15,124],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":13494137,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 18:56:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738350356270153728,"timestamp_seconds":2738350356270153.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 18:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995958784001,"66":13493,"121":206,"28":31744,"24":11,"16":19362223671476224,"45":1791236413649991680},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995958784001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:56:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19362223671476224,"km_value":19362223671476.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413649991680,"description":"Unknown IO ID 45"} 
[2026-09-10 18:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995958784001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1791236413649991680}} 
[2026-09-10 18:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":176795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:56:31] local.INFO: GPS data processed {"connection_id":176795,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:56:31] local.INFO: Acknowledgment sent {"connection_id":176795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:56:32] local.INFO: TCP Data received {"connection_id":176795,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7e7e30012d18dd00072055d0002600b525..."} 
[2026-09-10 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7e7e30012d18dd00072055d0002600b525..."} 
[2026-09-10 18:56:32] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7e7e30012d18dd00072055d0002600b525..."} 
[2026-09-10 18:56:32] local.INFO: Packet analysis {"connection_id":176795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:32] local.INFO: Extracted packet for processing {"connection_id":176795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119559632,"longitude_deg":75.660416,"latitude_deg":11.9559632,"altitude":38,"angle":181,"satellites":37,"speed":11,"hex_longitude":"2d18dd00","hex_latitude":"072055d0","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995959296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19362253736247296,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888626554880,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789046718000,"timestamp_ms":1789046718000,"timestamp_seconds":1789046718,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7e7e30"} 
[2026-09-10 18:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:56: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-09-10 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 18:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995959296001,"66":13450,"121":206,"28":31744,"24":11,"16":19362253736247296,"45":1791517888626554880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995959296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:56:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19362253736247296,"km_value":19362253736247.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888626554880,"description":"Unknown IO ID 45"} 
[2026-09-10 18:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995959296001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1791517888626554880}} 
[2026-09-10 18:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":176795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:56:32] local.INFO: GPS data processed {"connection_id":176795,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:56:32] local.INFO: Acknowledgment sent {"connection_id":176795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:56:52] local.INFO: TCP Data received {"connection_id":176797,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:56:52] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:56:52] local.INFO: IMEI packet received {"connection_id":176797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":176797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:56:57] local.INFO: TCP Data received {"connection_id":176797,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:56:57] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:56:57] local.INFO: IMEI packet received {"connection_id":176797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":176797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:56:58] local.INFO: TCP Data received {"connection_id":176797,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:56:58] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:56:58] local.INFO: Packet analysis {"connection_id":176797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:56:58] local.INFO: Extracted packet for processing {"connection_id":176797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 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-09-10 18:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:56:58] 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-09-10 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-09-10 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-09-10 18:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:56:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":176797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:56:58] local.INFO: GPS data processed {"connection_id":176797,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:56:58] local.INFO: Acknowledgment sent {"connection_id":176797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:57:00] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:00] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:00] local.INFO: Packet analysis {"connection_id":176583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:00] local.INFO: Extracted packet for processing {"connection_id":176583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:57: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-09-10 18: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:57: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-09-10 18:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:57:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":176583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:57:00] local.INFO: GPS data processed {"connection_id":176583,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:57:00] local.INFO: Acknowledgment sent {"connection_id":176583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:57:04] local.INFO: TCP Data received {"connection_id":176795,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ec098012d18dc00072034a8002500c125..."} 
[2026-09-10 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ec098012d18dc00072034a8002500c125..."} 
[2026-09-10 18:57:04] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ec098012d18dc00072034a8002500c125..."} 
[2026-09-10 18:57:04] local.INFO: Packet analysis {"connection_id":176795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:04] local.INFO: Extracted packet for processing {"connection_id":176795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119551144,"longitude_deg":75.6603904,"latitude_deg":11.9551144,"altitude":37,"angle":193,"satellites":37,"speed":9,"hex_longitude":"2d18dc00","hex_latitude":"072034a8","is_valid_coordinates":true} 
[2026-09-10 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995959808001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19362666053107712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257370591232,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57: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-09-10 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789046735000,"timestamp_ms":1789046735000,"timestamp_seconds":1789046735,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ec098"} 
[2026-09-10 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 18:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995959808001,"66":12874,"121":206,"28":31744,"24":9,"16":19362666053107712,"45":1791588257370591232},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995959808001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:57:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19362666053107712,"km_value":19362666053107.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257370591232,"description":"Unknown IO ID 45"} 
[2026-09-10 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995959808001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1791588257370591232}} 
[2026-09-10 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":176795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:57:04] local.INFO: GPS data processed {"connection_id":176795,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:57:04] local.INFO: Acknowledgment sent {"connection_id":176795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:57:18] local.INFO: TCP Data received {"connection_id":179331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:57:18] local.INFO: Processing buffer {"connection_id":179331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:57:18] local.INFO: IMEI packet received {"connection_id":179331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":179331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:57:23] local.INFO: TCP Data received {"connection_id":179331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:57:23] local.INFO: Processing buffer {"connection_id":179331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:57:23] local.INFO: IMEI packet received {"connection_id":179331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":179331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:57:24] local.INFO: TCP Data received {"connection_id":179331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:24] local.INFO: Processing buffer {"connection_id":179331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:24] local.INFO: Packet analysis {"connection_id":179331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:24] local.INFO: Extracted packet for processing {"connection_id":179331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:57:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":179331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:57:24] local.INFO: GPS data processed {"connection_id":179331,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:57:24] local.INFO: Acknowledgment sent {"connection_id":179331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:57:27] local.INFO: TCP Data received {"connection_id":176798,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:57:27] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:57:27] local.INFO: IMEI packet received {"connection_id":176798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":176798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:57:29] local.INFO: TCP Data received {"connection_id":176797,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:57:29] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:57:29] local.INFO: Packet analysis {"connection_id":176797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:57:29] local.INFO: Extracted packet for processing {"connection_id":176797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 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-09-10 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:57:29] 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-09-10 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-09-10 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-09-10 18:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:57:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":176797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:57:29] local.INFO: GPS data processed {"connection_id":176797,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:57:29] local.INFO: Acknowledgment sent {"connection_id":176797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:57:32] local.INFO: TCP Data received {"connection_id":176798,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:57:32] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:57:32] local.INFO: IMEI packet received {"connection_id":176798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":176798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:57:33] local.INFO: TCP Data received {"connection_id":176798,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f39b0012d18cdc0072009c0002800b021..."} 
[2026-09-10 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f39b0012d18cdc0072009c0002800b021..."} 
[2026-09-10 18:57:33] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f39b0012d18cdc0072009c0002800b021..."} 
[2026-09-10 18:57:33] local.INFO: Packet analysis {"connection_id":176798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:57:33] local.INFO: Extracted packet for processing {"connection_id":176798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119540160,"longitude_deg":75.6600256,"latitude_deg":11.954016,"altitude":40,"angle":176,"satellites":33,"speed":16,"hex_longitude":"2d18cdc0","hex_latitude":"072009c0","is_valid_coordinates":true} 
[2026-09-10 18:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995971328001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19363258758594560,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787577238947835904,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789046766000,"timestamp_ms":1789046766000,"timestamp_seconds":1789046766,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f39b0"} 
[2026-09-10 18:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 18: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 18:57:33] 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-09-10 18:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995971328001,"66":12841,"121":206,"28":31744,"24":16,"16":19363258758594560,"45":1787577238947835904},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995971328001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:57:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19363258758594560,"km_value":19363258758594.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787577238947835904,"description":"Unknown IO ID 45"} 
[2026-09-10 18:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995971328001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1787577238947835904}} 
[2026-09-10 18:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":176798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:57:33] local.INFO: GPS data processed {"connection_id":176798,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:57:33] local.INFO: Acknowledgment sent {"connection_id":176798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:57:52] local.INFO: TCP Data received {"connection_id":177968,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:57:52] local.INFO: Processing buffer {"connection_id":177968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:57:52] local.INFO: IMEI packet received {"connection_id":177968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":177968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:57:55] local.INFO: TCP Data received {"connection_id":179331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:55] local.INFO: Processing buffer {"connection_id":179331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:57:55] local.INFO: Packet analysis {"connection_id":179331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:55] local.INFO: Extracted packet for processing {"connection_id":179331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:57:55] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:57:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:57:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":179331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:57:55] local.INFO: GPS data processed {"connection_id":179331,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:57:55] local.INFO: Acknowledgment sent {"connection_id":179331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:57:57] local.INFO: TCP Data received {"connection_id":177968,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:57:57] local.INFO: Processing buffer {"connection_id":177968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:57:57] local.INFO: IMEI packet received {"connection_id":177968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":177968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:57:59] local.INFO: TCP Data received {"connection_id":177968,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:57:59] local.INFO: Processing buffer {"connection_id":177968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:57:59] local.INFO: Packet analysis {"connection_id":177968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:57:59] local.INFO: Extracted packet for processing {"connection_id":177968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 18:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:57: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":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:57:59] 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-09-10 18:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:57:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":177968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:57:59] local.INFO: GPS data processed {"connection_id":177968,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:57:59] local.INFO: Acknowledgment sent {"connection_id":177968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:58:05] local.INFO: TCP Data received {"connection_id":176798,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f8bb8012d18d040071ff500002800b222..."} 
[2026-09-10 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f8bb8012d18d040071ff500002800b222..."} 
[2026-09-10 18:58:05] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f8bb8012d18d040071ff500002800b222..."} 
[2026-09-10 18:58:05] local.INFO: Packet analysis {"connection_id":176798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:58:05] local.INFO: Extracted packet for processing {"connection_id":176798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119534848,"longitude_deg":75.6600896,"latitude_deg":11.9534848,"altitude":40,"angle":178,"satellites":34,"speed":11,"hex_longitude":"2d18d040","hex_latitude":"071ff500","is_valid_coordinates":true} 
[2026-09-10 18:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972096001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19363520751599616,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787295763970768896,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58: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-09-10 18:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789046787000,"timestamp_ms":1789046787000,"timestamp_seconds":1789046787,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f8bb8"} 
[2026-09-10 18:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:58: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-09-10 18:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 18:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972096001,"66":12004,"121":206,"28":31744,"24":11,"16":19363520751599616,"45":1787295763970768896},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972096001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:58:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19363520751599616,"km_value":19363520751599.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787295763970768896,"description":"Unknown IO ID 45"} 
[2026-09-10 18:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972096001,"power":12004,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1787295763970768896}} 
[2026-09-10 18:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":176798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:58:05] local.INFO: GPS data processed {"connection_id":176798,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:58:05] local.INFO: Acknowledgment sent {"connection_id":176798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:58:19] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:58:19] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:58:19] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:58:23] local.INFO: TCP Data received {"connection_id":176586,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:23] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:23] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:58:23] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:58:23] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:58:23] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:58:25] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:58:25] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:58:25] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:58:25] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:58:25] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:58:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:58:25] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:58:25] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:58:26] local.INFO: TCP Data received {"connection_id":176586,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:26] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:26] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:58:30] local.INFO: TCP Data received {"connection_id":177968,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:58:30] local.INFO: Processing buffer {"connection_id":177968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:58:30] local.INFO: Packet analysis {"connection_id":177968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:58:30] local.INFO: Extracted packet for processing {"connection_id":177968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 18:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:58:30] 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-09-10 18:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:58:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:58:30] local.INFO: TCP Data received {"connection_id":176586,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":177968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:58:30] local.INFO: GPS data processed {"connection_id":177968,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:58:30] local.INFO: Acknowledgment sent {"connection_id":177968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:30] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:58:30] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:58:32] local.INFO: TCP Data received {"connection_id":176586,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f9f40012d18d0c0071fef10002900a723..."} 
[2026-09-10 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f9f40012d18d0c0071fef10002900a723..."} 
[2026-09-10 18:58:32] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f9f40012d18d0c0071fef10002900a723..."} 
[2026-09-10 18:58:32] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:58:32] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119533328,"longitude_deg":75.6601024,"latitude_deg":11.9533328,"altitude":41,"angle":167,"satellites":35,"speed":10,"hex_longitude":"2d18d0c0","hex_latitude":"071fef10","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995977472001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19363593766043648,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451411185664,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789046792000,"timestamp_ms":1789046792000,"timestamp_seconds":1789046792,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f9f40"} 
[2026-09-10 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-09-10 18:58: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-09-10 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 18:58:32] 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-09-10 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-09-10 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-09-10 18:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995977472001,"66":12722,"121":206,"28":31744,"24":10,"16":19363593766043648,"45":1787999451411185664},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995977472001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:58:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19363593766043648,"km_value":19363593766043.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451411185664,"description":"Unknown IO ID 45"} 
[2026-09-10 18:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995977472001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1787999451411185664}} 
[2026-09-10 18:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:58:32] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:58:32] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:58:56] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:58:56] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:58:56] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:58:56] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:58:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:58:56] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:58:56] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:58:57] local.INFO: TCP Data received {"connection_id":179332,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:58:57] local.INFO: Processing buffer {"connection_id":179332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:58:57] local.INFO: IMEI packet received {"connection_id":179332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":179332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:59:02] local.INFO: TCP Data received {"connection_id":179332,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:02] local.INFO: Processing buffer {"connection_id":179332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:02] local.INFO: IMEI packet received {"connection_id":179332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":179332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:59:03] local.INFO: TCP Data received {"connection_id":179332,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:03] local.INFO: Processing buffer {"connection_id":179332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:03] local.INFO: Packet analysis {"connection_id":179332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:03] local.INFO: Extracted packet for processing {"connection_id":179332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 18:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:59:03] 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-09-10 18:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:59:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":179332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:59:03] local.INFO: GPS data processed {"connection_id":179332,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:59:03] local.INFO: Acknowledgment sent {"connection_id":179332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:59:04] local.INFO: TCP Data received {"connection_id":176586,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7fa710012d18d140071fed58002b009924..."} 
[2026-09-10 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7fa710012d18d140071fed58002b009924..."} 
[2026-09-10 18:59:04] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7fa710012d18d140071fed58002b009924..."} 
[2026-09-10 18:59:04] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:04] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119532888,"longitude_deg":75.6601152,"latitude_deg":11.9532888,"altitude":43,"angle":153,"satellites":36,"speed":8,"hex_longitude":"2d18d140","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-09-10 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-09-10 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995978752001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19363615240880128,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188899151872,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59: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-09-10 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789046794000,"timestamp_ms":1789046794000,"timestamp_seconds":1789046794,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7fa710"} 
[2026-09-10 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-09-10 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 18:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995978752001,"66":12385,"121":206,"28":31744,"24":8,"16":19363615240880128,"45":1788140188899151872},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995978752001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:59:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19363615240880128,"km_value":19363615240880.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188899151872,"description":"Unknown IO ID 45"} 
[2026-09-10 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995978752001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1788140188899151872}} 
[2026-09-10 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:59:04] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:59:04] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:59:08] local.INFO: TCP Data received {"connection_id":179332,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:08] local.INFO: Processing buffer {"connection_id":179332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:08] local.INFO: Packet analysis {"connection_id":179332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:08] local.INFO: Extracted packet for processing {"connection_id":179332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59: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-09-10 18:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 18:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:59: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-09-10 18:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:59:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":179332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:59:08] local.INFO: GPS data processed {"connection_id":179332,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:59:08] local.INFO: Acknowledgment sent {"connection_id":179332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:59:18] local.INFO: TCP Data received {"connection_id":179333,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:59:18] local.INFO: Processing buffer {"connection_id":179333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:59:18] local.INFO: IMEI packet received {"connection_id":179333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 18:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":179333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:59:23] local.INFO: TCP Data received {"connection_id":179333,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:59:23] local.INFO: Processing buffer {"connection_id":179333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 18:59:23] local.INFO: IMEI packet received {"connection_id":179333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 18:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":179333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:59:25] local.INFO: TCP Data received {"connection_id":177969,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:25] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:25] local.INFO: IMEI packet received {"connection_id":177969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 18:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":177969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:59:26] local.INFO: TCP Data received {"connection_id":179333,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:59:26] local.INFO: Processing buffer {"connection_id":179333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:59:26] local.INFO: Packet analysis {"connection_id":179333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:59:26] local.INFO: Extracted packet for processing {"connection_id":179333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":179333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":179333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":179333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":179333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:59:26] local.INFO: GPS data processed {"connection_id":179333,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:59:26] local.INFO: Acknowledgment sent {"connection_id":179333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:59:27] local.INFO: TCP Data received {"connection_id":177969,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:27] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:27] local.INFO: IMEI packet received {"connection_id":177969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":177969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:59:27] local.INFO: TCP Data received {"connection_id":177969,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:27] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:27] local.INFO: IMEI packet received {"connection_id":177969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":177969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:59:31] local.INFO: TCP Data received {"connection_id":177969,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:31] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 18:59:31] local.INFO: IMEI packet received {"connection_id":177969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 18:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":177969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:59:32] local.INFO: TCP Data received {"connection_id":177969,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b817bd0012d18cd40072008780030000328..."} 
[2026-09-10 18:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b817bd0012d18cd40072008780030000328..."} 
[2026-09-10 18:59:32] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b817bd0012d18cd40072008780030000328..."} 
[2026-09-10 18:59:32] local.INFO: Packet analysis {"connection_id":177969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b81"} 
[2026-09-10 18:59:32] local.INFO: Extracted packet for processing {"connection_id":177969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b81"} 
[2026-09-10 18:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119539832,"longitude_deg":75.6600128,"latitude_deg":11.9539832,"altitude":48,"angle":3,"satellites":40,"speed":11,"hex_longitude":"2d18cd40","hex_latitude":"07200878","is_valid_coordinates":true} 
[2026-09-10 18: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-09-10 18:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996005888001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19364053327544320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713922818048,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789046914000,"timestamp_ms":1789046914000,"timestamp_seconds":1789046914,"priority":1,"record_length":96,"hex_timestamp":"000001a08b817bd0"} 
[2026-09-10 18:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:59: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-09-10 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-10 18:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18: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-09-10 18:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 18:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 18:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 18:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996005888001,"66":12461,"121":206,"28":31744,"24":11,"16":19364053327544320,"45":1787858713922818048},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 18:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 18:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 18:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996005888001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:59:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 18:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 18:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19364053327544320,"km_value":19364053327544.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713922818048,"description":"Unknown IO ID 45"} 
[2026-09-10 18:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996005888001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1787858713922818048}} 
[2026-09-10 18:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":177969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:59:32] local.INFO: GPS data processed {"connection_id":177969,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:59:32] local.INFO: Acknowledgment sent {"connection_id":177969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:59:52] local.INFO: TCP Data received {"connection_id":179334,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:52] local.INFO: Processing buffer {"connection_id":179334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:52] local.INFO: IMEI packet received {"connection_id":179334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 18:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":179334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 18:59:57] local.INFO: TCP Data received {"connection_id":179333,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:59:57] local.INFO: Processing buffer {"connection_id":179333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 18:59:57] local.INFO: Packet analysis {"connection_id":179333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:59:57] local.INFO: Extracted packet for processing {"connection_id":179333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 18:59:57] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 18:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 18:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 18:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 18:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 18:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 18:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 18:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 18:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 18:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 18:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:59:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 18:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 18:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:59:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 18:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 18:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":179333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:59:57] local.INFO: GPS data processed {"connection_id":179333,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:59:57] local.INFO: Acknowledgment sent {"connection_id":179333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 18:59:57] local.INFO: TCP Data received {"connection_id":179334,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:57] local.INFO: Processing buffer {"connection_id":179334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 18:59:57] local.INFO: IMEI packet received {"connection_id":179334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":179334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 18:59:58] local.INFO: TCP Data received {"connection_id":179334,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:58] local.INFO: Processing buffer {"connection_id":179334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 18:59:58] local.INFO: Packet analysis {"connection_id":179334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:58] local.INFO: Extracted packet for processing {"connection_id":179334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 18:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 18:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 18:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 18:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 18:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 18:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 18:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 18: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 18:59:58] 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-09-10 18:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 18:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 18:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 18:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 18:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 18:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 18:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 18:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 18:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 18:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 18:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 18:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 18:59:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 18:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 18:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 18:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 18:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 18:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":179334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 18:59:58] local.INFO: GPS data processed {"connection_id":179334,"processed":1,"errors":0,"total":1} 
[2026-09-10 18:59:58] local.INFO: Acknowledgment sent {"connection_id":179334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:00:03] local.INFO: TCP Data received {"connection_id":176587,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:00:03] local.INFO: Processing buffer {"connection_id":176587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:00:03] local.INFO: IMEI packet received {"connection_id":176587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":176587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:00:04] local.INFO: TCP Data received {"connection_id":177969,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b818b70012d18ce0007200d880031001228..."} 
[2026-09-10 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b818b70012d18ce0007200d880031001228..."} 
[2026-09-10 19:00:04] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b818b70012d18ce0007200d880031001228..."} 
[2026-09-10 19:00:04] local.INFO: Packet analysis {"connection_id":177969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b81"} 
[2026-09-10 19:00:04] local.INFO: Extracted packet for processing {"connection_id":177969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b81"} 
[2026-09-10 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756600320,"raw_latitude":119541128,"longitude_deg":75.660032,"latitude_deg":11.9541128,"altitude":49,"angle":18,"satellites":40,"speed":14,"hex_longitude":"2d18ce00","hex_latitude":"07200d88","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996009984001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19364117752053760,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026482329600,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00: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-09-10 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789046918000,"timestamp_ms":1789046918000,"timestamp_seconds":1789046918,"priority":1,"record_length":96,"hex_timestamp":"000001a08b818b70"} 
[2026-09-10 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-09-10 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:00: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-09-10 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-09-10 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-09-10 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996009984001,"66":13396,"121":206,"28":31744,"24":14,"16":19364117752053760,"45":1787155026482329600},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996009984001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:00:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19364117752053760,"km_value":19364117752053.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026482329600,"description":"Unknown IO ID 45"} 
[2026-09-10 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996009984001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1787155026482329600}} 
[2026-09-10 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":177969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:00:04] local.INFO: GPS data processed {"connection_id":177969,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:00:04] local.INFO: Acknowledgment sent {"connection_id":177969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:00:23] local.INFO: TCP Data received {"connection_id":176588,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:00:23] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:00:23] local.INFO: IMEI packet received {"connection_id":176588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":176588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:00:26] local.INFO: TCP Data received {"connection_id":176589,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:26] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:26] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:00:27] local.INFO: TCP Data received {"connection_id":176589,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:27] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:27] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:00:28] local.INFO: TCP Data received {"connection_id":176588,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:00:28] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:00:28] local.INFO: IMEI packet received {"connection_id":176588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":176588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:00:29] local.INFO: TCP Data received {"connection_id":179334,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:00:29] local.INFO: Processing buffer {"connection_id":179334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:00:29] local.INFO: Packet analysis {"connection_id":179334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 19:00:29] local.INFO: Extracted packet for processing {"connection_id":179334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 19:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:00:29] 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-09-10 19:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":179334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:00:29] local.INFO: GPS data processed {"connection_id":179334,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:00:29] local.INFO: Acknowledgment sent {"connection_id":179334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:00:29] local.INFO: TCP Data received {"connection_id":176588,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:00:29] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:00:29] local.INFO: Packet analysis {"connection_id":176588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 19:00:29] local.INFO: Extracted packet for processing {"connection_id":176588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 19:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 19:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:00: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-09-10 19:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":176588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:00:29] local.INFO: GPS data processed {"connection_id":176588,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:00:29] local.INFO: Acknowledgment sent {"connection_id":176588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:00:31] local.INFO: TCP Data received {"connection_id":176589,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:31] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:31] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:00:32] local.INFO: TCP Data received {"connection_id":176589,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:32] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:00:32] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:00:34] local.INFO: TCP Data received {"connection_id":176589,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b826630012d18da8007205940002c012228..."} 
[2026-09-10 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b826630012d18da8007205940002c012228..."} 
[2026-09-10 19:00:34] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b826630012d18da8007205940002c012228..."} 
[2026-09-10 19:00:34] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b82"} 
[2026-09-10 19:00:34] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b82"} 
[2026-09-10 19:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756603520,"raw_latitude":119560512,"longitude_deg":75.660352,"latitude_deg":11.9560512,"altitude":44,"angle":290,"satellites":40,"speed":13,"hex_longitude":"2d18da80","hex_latitude":"07205940","is_valid_coordinates":true} 
[2026-09-10 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996025088001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19365148544204800,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413649885184,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789046974000,"timestamp_ms":1789046974000,"timestamp_seconds":1789046974,"priority":1,"record_length":96,"hex_timestamp":"000001a08b826630"} 
[2026-09-10 19:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 19:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996025088001,"66":13406,"121":206,"28":31744,"24":13,"16":19365148544204800,"45":1791236413649885184},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996025088001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19365148544204800,"km_value":19365148544204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413649885184,"description":"Unknown IO ID 45"} 
[2026-09-10 19:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996025088001,"power":13406,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1791236413649885184}} 
[2026-09-10 19:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:00:34] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:00:34] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:00:34] local.INFO: TCP Data received {"connection_id":176588,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:00:34] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:00:34] local.INFO: Packet analysis {"connection_id":176588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 19:00:34] local.INFO: Extracted packet for processing {"connection_id":176588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 19:00:34] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 19:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:00: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-09-10 19: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 19:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:00: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-09-10 19:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":176588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:00:34] local.INFO: GPS data processed {"connection_id":176588,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:00:34] local.INFO: Acknowledgment sent {"connection_id":176588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:00:35] local.INFO: TCP Data received {"connection_id":176589,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b826e00012d18d840072059c0002c011128..."} 
[2026-09-10 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b826e00012d18d840072059c0002c011128..."} 
[2026-09-10 19:00:35] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b826e00012d18d840072059c0002c011128..."} 
[2026-09-10 19:00:35] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b82"} 
[2026-09-10 19:00:35] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b82"} 
[2026-09-10 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119560640,"longitude_deg":75.6602944,"latitude_deg":11.956064,"altitude":44,"angle":273,"satellites":40,"speed":13,"hex_longitude":"2d18d840","hex_latitude":"072059c0","is_valid_coordinates":true} 
[2026-09-10 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996025344001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19365174314008576,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790884569929039872,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00: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-09-10 19:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789046976000,"timestamp_ms":1789046976000,"timestamp_seconds":1789046976,"priority":1,"record_length":96,"hex_timestamp":"000001a08b826e00"} 
[2026-09-10 19:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-10 19:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996025344001,"66":13493,"121":206,"28":31744,"24":13,"16":19365174314008576,"45":1790884569929039872},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996025344001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:00:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19365174314008576,"km_value":19365174314008.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790884569929039872,"description":"Unknown IO ID 45"} 
[2026-09-10 19:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996025344001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1790884569929039872}} 
[2026-09-10 19:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:00:35] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:00:35] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:00:38] local.INFO: TCP Data received {"connection_id":176800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:00:38] local.INFO: Processing buffer {"connection_id":176800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:00:38] local.INFO: IMEI packet received {"connection_id":176800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":176800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:00:52] local.INFO: TCP Data received {"connection_id":177970,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:00:52] local.INFO: Processing buffer {"connection_id":177970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:00:52] local.INFO: IMEI packet received {"connection_id":177970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":177970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:00:57] local.INFO: TCP Data received {"connection_id":177970,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:00:57] local.INFO: Processing buffer {"connection_id":177970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:00:57] local.INFO: IMEI packet received {"connection_id":177970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":177970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:00:58] local.INFO: TCP Data received {"connection_id":177970,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:00:58] local.INFO: Processing buffer {"connection_id":177970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7f3d98012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:00:58] local.INFO: Packet analysis {"connection_id":177970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 19:00:58] local.INFO: Extracted packet for processing {"connection_id":177970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7f"} 
[2026-09-10 19:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995895296001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789046767000,"timestamp_ms":1789046767000,"timestamp_seconds":1789046767,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7f3d98"} 
[2026-09-10 19:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:00:58] 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-09-10 19:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995895296001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995895296001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:00:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995895296001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":177970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:00:58] local.INFO: GPS data processed {"connection_id":177970,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:00:58] local.INFO: Acknowledgment sent {"connection_id":177970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:01:06] local.INFO: TCP Data received {"connection_id":176589,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8275d0012d18d5c007205a48002b012328..."} 
[2026-09-10 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8275d0012d18d5c007205a48002b012328..."} 
[2026-09-10 19:01:06] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8275d0012d18d5c007205a48002b012328..."} 
[2026-09-10 19:01:06] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b82"} 
[2026-09-10 19:01:06] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b82"} 
[2026-09-10 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119560776,"longitude_deg":75.6602304,"latitude_deg":11.9560776,"altitude":43,"angle":291,"satellites":40,"speed":11,"hex_longitude":"2d18d5c0","hex_latitude":"07205a48","is_valid_coordinates":true} 
[2026-09-10 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996025856001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19365204378779648,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790251251231473664,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01: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-09-10 19:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789046978000,"timestamp_ms":1789046978000,"timestamp_seconds":1789046978,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8275d0"} 
[2026-09-10 19:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:01: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-09-10 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 19:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996025856001,"66":13276,"121":206,"28":31744,"24":11,"16":19365204378779648,"45":1790251251231473664},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996025856001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:01:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19365204378779648,"km_value":19365204378779.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790251251231473664,"description":"Unknown IO ID 45"} 
[2026-09-10 19:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996025856001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1790251251231473664}} 
[2026-09-10 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:01:06] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:01:06] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:01:18] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:01:18] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:01:18] local.INFO: IMEI packet received {"connection_id":176801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":176801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:01:23] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:01:23] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:01:23] local.INFO: IMEI packet received {"connection_id":176801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":176801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:01:26] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:01:26] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b7ef360012ceb0780071a3b300021013524..."} 
[2026-09-10 19:01:26] local.INFO: Packet analysis {"connection_id":176801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 19:01:26] local.INFO: Extracted packet for processing {"connection_id":176801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b7e"} 
[2026-09-10 19:01:26] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":36,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995890432001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789046748000,"timestamp_ms":1789046748000,"timestamp_seconds":1789046748,"priority":1,"record_length":96,"hex_timestamp":"000001a08b7ef360"} 
[2026-09-10 19:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-10 19:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995890432001,"66":25778,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995890432001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:01:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:01:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995890432001,"power":25778,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":176801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:01:26] local.INFO: GPS data processed {"connection_id":176801,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:01:26] local.INFO: Acknowledgment sent {"connection_id":176801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:01:26] local.INFO: TCP Data received {"connection_id":176802,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:26] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:26] local.INFO: IMEI packet received {"connection_id":176802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":176802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:01:27] local.INFO: TCP Data received {"connection_id":176802,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:27] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:27] local.INFO: IMEI packet received {"connection_id":176802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":176802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:01:29] local.INFO: TCP Data received {"connection_id":177970,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:01:29] local.INFO: Processing buffer {"connection_id":177970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:01:29] local.INFO: Packet analysis {"connection_id":177970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:29] local.INFO: Extracted packet for processing {"connection_id":177970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:01:29] 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-09-10 19:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:01:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":177970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:01:29] local.INFO: GPS data processed {"connection_id":177970,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:01:29] local.INFO: Acknowledgment sent {"connection_id":177970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:01:32] local.INFO: TCP Data received {"connection_id":176802,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:32] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:01:32] local.INFO: IMEI packet received {"connection_id":176802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":176802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:01:33] local.INFO: TCP Data received {"connection_id":176802,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b832d68012d18bd0007208c20002d014228..."} 
[2026-09-10 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b832d68012d18bd0007208c20002d014228..."} 
[2026-09-10 19:01:33] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b832d68012d18bd0007208c20002d014228..."} 
[2026-09-10 19:01:33] local.INFO: Packet analysis {"connection_id":176802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:33] local.INFO: Extracted packet for processing {"connection_id":176802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756595968,"raw_latitude":119573536,"longitude_deg":75.6595968,"latitude_deg":11.9573536,"altitude":45,"angle":322,"satellites":40,"speed":5,"hex_longitude":"2d18bd00","hex_latitude":"07208c20","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996036096001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19365908753416192,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783636589281476608,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789047025000,"timestamp_ms":1789047025000,"timestamp_seconds":1789047025,"priority":1,"record_length":96,"hex_timestamp":"000001a08b832d68"} 
[2026-09-10 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-09-10 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 19:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996036096001,"66":13472,"121":206,"28":31744,"24":5,"16":19365908753416192,"45":1783636589281476608},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996036096001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:01:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:01:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19365908753416192,"km_value":19365908753416.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783636589281476608,"description":"Unknown IO ID 45"} 
[2026-09-10 19:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996036096001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1783636589281476608}} 
[2026-09-10 19:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":176802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:01:33] local.INFO: GPS data processed {"connection_id":176802,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:01:33] local.INFO: Acknowledgment sent {"connection_id":176802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:01:52] local.INFO: TCP Data received {"connection_id":179335,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:01:52] local.INFO: Processing buffer {"connection_id":179335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:01:52] local.INFO: IMEI packet received {"connection_id":179335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":179335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:01:57] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:01:57] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:01:57] local.INFO: Packet analysis {"connection_id":176801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:57] local.INFO: Extracted packet for processing {"connection_id":176801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:57] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995967488001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789047049000,"timestamp_ms":1789047049000,"timestamp_seconds":1789047049,"priority":1,"record_length":96,"hex_timestamp":"000001a08b838b28"} 
[2026-09-10 19:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 19:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995967488001,"66":25854,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995967488001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:01:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:01:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995967488001,"power":25854,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":176801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:01:57] local.INFO: GPS data processed {"connection_id":176801,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:01:57] local.INFO: Acknowledgment sent {"connection_id":176801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:01:57] local.INFO: TCP Data received {"connection_id":179335,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:01:57] local.INFO: Processing buffer {"connection_id":179335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:01:57] local.INFO: IMEI packet received {"connection_id":179335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":179335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:01:58] local.INFO: TCP Data received {"connection_id":179335,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:01:58] local.INFO: Processing buffer {"connection_id":179335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:01:58] local.INFO: Packet analysis {"connection_id":179335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:58] local.INFO: Extracted packet for processing {"connection_id":179335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:01:58] 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-09-10 19: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-09-10 19:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:01:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":179335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:01:58] local.INFO: GPS data processed {"connection_id":179335,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:01:58] local.INFO: Acknowledgment sent {"connection_id":179335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:02:04] local.INFO: TCP Data received {"connection_id":176802,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b833d08012d18bcc007208db0002e002927..."} 
[2026-09-10 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b833d08012d18bcc007208db0002e002927..."} 
[2026-09-10 19:02:04] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b833d08012d18bcc007208db0002e002927..."} 
[2026-09-10 19:02:04] local.INFO: Packet analysis {"connection_id":176802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:04] local.INFO: Extracted packet for processing {"connection_id":176802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756595904,"raw_latitude":119573936,"longitude_deg":75.6595904,"latitude_deg":11.9573936,"altitude":46,"angle":41,"satellites":39,"speed":5,"hex_longitude":"2d18bcc0","hex_latitude":"07208db0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996038400001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19365934523219968,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782581058119409664,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02: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-09-10 19:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789047029000,"timestamp_ms":1789047029000,"timestamp_seconds":1789047029,"priority":1,"record_length":96,"hex_timestamp":"000001a08b833d08"} 
[2026-09-10 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-09-10 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-10 19:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996038400001,"66":12950,"121":206,"28":31744,"24":5,"16":19365934523219968,"45":1782581058119409664},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996038400001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19365934523219968,"km_value":19365934523219.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782581058119409664,"description":"Unknown IO ID 45"} 
[2026-09-10 19:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996038400001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1782581058119409664}} 
[2026-09-10 19:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":176802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:02:04] local.INFO: GPS data processed {"connection_id":176802,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:02:04] local.INFO: Acknowledgment sent {"connection_id":176802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:02:18] local.INFO: TCP Data received {"connection_id":179336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:02:18] local.INFO: Processing buffer {"connection_id":179336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:02:18] local.INFO: IMEI packet received {"connection_id":179336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":179336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:02:23] local.INFO: TCP Data received {"connection_id":179336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:02:23] local.INFO: Processing buffer {"connection_id":179336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:02:23] local.INFO: IMEI packet received {"connection_id":179336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":179336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:02:25] local.INFO: TCP Data received {"connection_id":179336,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:02:25] local.INFO: Processing buffer {"connection_id":179336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:02:25] local.INFO: Packet analysis {"connection_id":179336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:25] local.INFO: Extracted packet for processing {"connection_id":179336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995967488001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789047049000,"timestamp_ms":1789047049000,"timestamp_seconds":1789047049,"priority":1,"record_length":96,"hex_timestamp":"000001a08b838b28"} 
[2026-09-10 19:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 19:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995967488001,"66":25854,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995967488001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:02:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995967488001,"power":25854,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":179336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:02:26] local.INFO: GPS data processed {"connection_id":179336,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:02:26] local.INFO: Acknowledgment sent {"connection_id":179336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:02:28] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:28] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:28] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:02:29] local.INFO: TCP Data received {"connection_id":179335,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:02:29] local.INFO: Processing buffer {"connection_id":179335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:02:29] local.INFO: Packet analysis {"connection_id":179335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:29] local.INFO: Extracted packet for processing {"connection_id":179335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:02:29] 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-09-10 19: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-09-10 19:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:02:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":179335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:02:29] local.INFO: GPS data processed {"connection_id":179335,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:02:29] local.INFO: Acknowledgment sent {"connection_id":179335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:02:30] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:30] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:30] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:02:31] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:31] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:31] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:02:32] local.INFO: TCP Data received {"connection_id":176590,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:32] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:02:32] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:02:52] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:02:52] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:02:52] local.INFO: IMEI packet received {"connection_id":176804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":176804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:02:57] local.INFO: TCP Data received {"connection_id":179336,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:02:57] local.INFO: Processing buffer {"connection_id":179336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:02:57] local.INFO: Packet analysis {"connection_id":179336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:57] local.INFO: Extracted packet for processing {"connection_id":179336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:57] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995967488001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789047049000,"timestamp_ms":1789047049000,"timestamp_seconds":1789047049,"priority":1,"record_length":96,"hex_timestamp":"000001a08b838b28"} 
[2026-09-10 19:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 19:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995967488001,"66":25854,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995967488001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:02:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:02:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995967488001,"power":25854,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":179336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:02:57] local.INFO: GPS data processed {"connection_id":179336,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:02:57] local.INFO: Acknowledgment sent {"connection_id":179336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:02:57] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:02:57] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:02:57] local.INFO: IMEI packet received {"connection_id":176804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":176804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:02:58] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:02:58] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:02:58] local.INFO: Packet analysis {"connection_id":176804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:58] local.INFO: Extracted packet for processing {"connection_id":176804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:02:58] 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-09-10 19:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:02:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":176804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:02:58] local.INFO: GPS data processed {"connection_id":176804,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:02:58] local.INFO: Acknowledgment sent {"connection_id":176804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:03:18] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:03:18] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:03:18] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:03:23] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:03:23] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:03:23] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:03:26] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:03:26] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b838b28012ceb0780071a3b300021013527..."} 
[2026-09-10 19:03:26] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:03:26] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:03:26] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995967488001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789047049000,"timestamp_ms":1789047049000,"timestamp_seconds":1789047049,"priority":1,"record_length":96,"hex_timestamp":"000001a08b838b28"} 
[2026-09-10 19:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-10 19:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995967488001,"66":25854,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995967488001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:03:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995967488001,"power":25854,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:03:26] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:03:26] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:03:29] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:03:29] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:03:29] local.INFO: Packet analysis {"connection_id":176804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:03:29] local.INFO: Extracted packet for processing {"connection_id":176804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:03:29] 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-09-10 19:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:03:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":176804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:03:29] local.INFO: GPS data processed {"connection_id":176804,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:03:29] local.INFO: Acknowledgment sent {"connection_id":176804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:03:56] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b855818012ceb0780071a3b300021013529..."} 
[2026-09-10 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b855818012ceb0780071a3b300021013529..."} 
[2026-09-10 19:03:56] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b855818012ceb0780071a3b300021013529..."} 
[2026-09-10 19:03:56] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b85"} 
[2026-09-10 19:03:56] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b85"} 
[2026-09-10 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159600,"longitude_deg":75.3600384,"latitude_deg":11.91596,"altitude":33,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b30","is_valid_coordinates":true} 
[2026-09-10 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996044544001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404535839964528640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966299136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789047167000,"timestamp_ms":1789047167000,"timestamp_seconds":1789047167,"priority":1,"record_length":96,"hex_timestamp":"000001a08b855818"} 
[2026-09-10 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-10 19:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996044544001,"66":25582,"104":206,"83":41216,"24":0,"16":404535839964528640,"44":-1511098381966299136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996044544001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:03:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:03:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404535839964528640,"km_value":404535839964528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:03:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966299136,"description":"Unknown IO ID 44"} 
[2026-09-10 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996044544001,"power":25582,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966299136}} 
[2026-09-10 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:03:56] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:03:56] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:03:57] local.INFO: TCP Data received {"connection_id":177973,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:03:57] local.INFO: Processing buffer {"connection_id":177973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:03:57] local.INFO: IMEI packet received {"connection_id":177973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":177973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:04:02] local.INFO: TCP Data received {"connection_id":177973,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:02] local.INFO: Processing buffer {"connection_id":177973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:02] local.INFO: IMEI packet received {"connection_id":177973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":177973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:04:03] local.INFO: TCP Data received {"connection_id":177973,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:03] local.INFO: Processing buffer {"connection_id":177973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:03] local.INFO: Packet analysis {"connection_id":177973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:04:03] local.INFO: Extracted packet for processing {"connection_id":177973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:04:03] 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-09-10 19:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:04:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":177973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:04:03] local.INFO: GPS data processed {"connection_id":177973,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:04:03] local.INFO: Acknowledgment sent {"connection_id":177973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:04:07] local.INFO: TCP Data received {"connection_id":177973,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:07] local.INFO: Processing buffer {"connection_id":177973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:07] local.INFO: Packet analysis {"connection_id":177973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:04:07] local.INFO: Extracted packet for processing {"connection_id":177973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04: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-09-10 19:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:04: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-09-10 19:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:04:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":177973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:04:07] local.INFO: GPS data processed {"connection_id":177973,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:04:07] local.INFO: Acknowledgment sent {"connection_id":177973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:04:21] local.INFO: TCP Data received {"connection_id":177974,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:21] local.INFO: Processing buffer {"connection_id":177974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:21] local.INFO: IMEI packet received {"connection_id":177974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":177974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:04:22] local.INFO: TCP Data received {"connection_id":177974,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:22] local.INFO: Processing buffer {"connection_id":177974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:22] local.INFO: IMEI packet received {"connection_id":177974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":177974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:04:22] local.INFO: TCP Data received {"connection_id":177974,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:22] local.INFO: Processing buffer {"connection_id":177974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:22] local.INFO: IMEI packet received {"connection_id":177974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":177974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:04:23] local.INFO: TCP Data received {"connection_id":177974,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:23] local.INFO: Processing buffer {"connection_id":177974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:04:23] local.INFO: IMEI packet received {"connection_id":177974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":177974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:04:52] local.INFO: TCP Data received {"connection_id":177975,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:52] local.INFO: Processing buffer {"connection_id":177975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:52] local.INFO: IMEI packet received {"connection_id":177975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":177975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:04:57] local.INFO: TCP Data received {"connection_id":177975,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:57] local.INFO: Processing buffer {"connection_id":177975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:04:57] local.INFO: IMEI packet received {"connection_id":177975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":177975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:04:58] local.INFO: TCP Data received {"connection_id":177975,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:58] local.INFO: Processing buffer {"connection_id":177975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:04:58] local.INFO: Packet analysis {"connection_id":177975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:04:58] local.INFO: Extracted packet for processing {"connection_id":177975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:04:58] 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-09-10 19:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:04:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":177975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:04:58] local.INFO: GPS data processed {"connection_id":177975,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:04:58] local.INFO: Acknowledgment sent {"connection_id":177975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:05:29] local.INFO: TCP Data received {"connection_id":177975,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:05:29] local.INFO: Processing buffer {"connection_id":177975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:05:29] local.INFO: Packet analysis {"connection_id":177975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:05:29] local.INFO: Extracted packet for processing {"connection_id":177975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:05:29] 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-09-10 19:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:05:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":177975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:05:29] local.INFO: GPS data processed {"connection_id":177975,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:05:29] local.INFO: Acknowledgment sent {"connection_id":177975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:05:52] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:05:52] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:05:52] local.INFO: IMEI packet received {"connection_id":176808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":176808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:05:57] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:05:57] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:05:57] local.INFO: IMEI packet received {"connection_id":176808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":176808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:05:58] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:05:58] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b83d560012d7e37c005d34c98000700d62c..."} 
[2026-09-10 19:05:58] local.INFO: Packet analysis {"connection_id":176808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:05:58] local.INFO: Extracted packet for processing {"connection_id":176808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b83"} 
[2026-09-10 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457995972352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047068000,"timestamp_ms":1789047068000,"timestamp_seconds":1789047068,"priority":1,"record_length":96,"hex_timestamp":"000001a08b83d560"} 
[2026-09-10 19:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-10 19:05:58] 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-09-10 19:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457995972352001,"66":2220,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457995972352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:05:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457995972352001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":176808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:05:58] local.INFO: GPS data processed {"connection_id":176808,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:05:58] local.INFO: Acknowledgment sent {"connection_id":176808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:06:08] local.INFO: TCP Data received {"connection_id":176807,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:06:08] local.INFO: Processing buffer {"connection_id":176807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:06:08] local.INFO: IMEI packet received {"connection_id":176807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":176807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:06:29] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:06:29] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:06:29] local.INFO: Packet analysis {"connection_id":176808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:06:29] local.INFO: Extracted packet for processing {"connection_id":176808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:06:29] 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-09-10 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:06:29] 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-09-10 19:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:06:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":176808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:06:29] local.INFO: GPS data processed {"connection_id":176808,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:06:29] local.INFO: Acknowledgment sent {"connection_id":176808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:06:43] local.INFO: TCP Data received {"connection_id":179340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:06:43] local.INFO: Processing buffer {"connection_id":179340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:06:43] local.INFO: IMEI packet received {"connection_id":179340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":179340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:06:52] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:06:52] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:06:52] local.INFO: IMEI packet received {"connection_id":176809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":176809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:06:57] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:06:57] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:06:57] local.INFO: IMEI packet received {"connection_id":176809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":176809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:06:58] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:06:58] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:06:58] local.INFO: Packet analysis {"connection_id":176809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:06:58] local.INFO: Extracted packet for processing {"connection_id":176809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:06:58] 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-09-10 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:06:58] 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-09-10 19:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:06:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":176809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:06:58] local.INFO: GPS data processed {"connection_id":176809,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:06:58] local.INFO: Acknowledgment sent {"connection_id":176809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:07:29] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:07:29] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:07:29] local.INFO: Packet analysis {"connection_id":176809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:07:29] local.INFO: Extracted packet for processing {"connection_id":176809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:07:29] 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-09-10 19:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:07:29] 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-09-10 19:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:07:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":176809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:07:29] local.INFO: GPS data processed {"connection_id":176809,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:07:29] local.INFO: Acknowledgment sent {"connection_id":176809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:07:34] local.INFO: TCP Data received {"connection_id":179343,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:07:34] local.INFO: Processing buffer {"connection_id":179343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:07:34] local.INFO: IMEI packet received {"connection_id":179343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":179343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:07:35] local.INFO: TCP Data received {"connection_id":179343,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886170012d1823000721b770004b013b2a..."} 
[2026-09-10 19:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886170012d1823000721b770004b013b2a..."} 
[2026-09-10 19:07:35] local.INFO: Processing buffer {"connection_id":179343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886170012d1823000721b770004b013b2a..."} 
[2026-09-10 19:07:35] local.INFO: Packet analysis {"connection_id":179343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:07:35] local.INFO: Extracted packet for processing {"connection_id":179343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650160,"longitude_deg":75.6556544,"latitude_deg":11.965016,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b770","is_valid_coordinates":true} 
[2026-09-10 19:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996120320001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371311822274560,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213908992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07: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-09-10 19:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789047366000,"timestamp_ms":1789047366000,"timestamp_seconds":1789047366,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886170"} 
[2026-09-10 19:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-10 19:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996120320001,"66":13319,"120":206,"28":31744,"24":0,"16":19371311822274560,"45":1739374649213908992},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996120320001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:07:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:07:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371311822274560,"km_value":19371311822274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213908992,"description":"Unknown IO ID 45"} 
[2026-09-10 19:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996120320001,"power":13319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213908992}} 
[2026-09-10 19:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":179343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:07:35] local.INFO: GPS data processed {"connection_id":179343,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:07:35] local.INFO: Acknowledgment sent {"connection_id":179343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:07:52] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:07:52] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:07:52] local.INFO: IMEI packet received {"connection_id":176810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":176810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:07:57] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:07:57] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:07:57] local.INFO: IMEI packet received {"connection_id":176810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":176810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:07:58] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:07:58] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:07:58] local.INFO: Packet analysis {"connection_id":176810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:07:58] local.INFO: Extracted packet for processing {"connection_id":176810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:07:58] 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-09-10 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:07:58] 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-09-10 19: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-09-10 19:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:07:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":176810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:07:58] local.INFO: GPS data processed {"connection_id":176810,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:07:58] local.INFO: Acknowledgment sent {"connection_id":176810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:08:06] local.INFO: TCP Data received {"connection_id":179343,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b88b378012d1824000721b690004b013b29..."} 
[2026-09-10 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b88b378012d1824000721b690004b013b29..."} 
[2026-09-10 19:08:06] local.INFO: Processing buffer {"connection_id":179343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b88b378012d1824000721b690004b013b29..."} 
[2026-09-10 19:08:06] local.INFO: Packet analysis {"connection_id":179343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:08:06] local.INFO: Extracted packet for processing {"connection_id":179343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649936,"longitude_deg":75.65568,"latitude_deg":11.9649936,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-09-10 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996125696001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371346182012928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725584384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08: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-09-10 19:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789047387000,"timestamp_ms":1789047387000,"timestamp_seconds":1789047387,"priority":1,"record_length":96,"hex_timestamp":"000001a08b88b378"} 
[2026-09-10 19:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2340933864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2279383041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6433391758442092800,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3520921600,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-7052635723272470521,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,210,160,15,45,128,182,75,42,10,66,11,7,64,1,240,63,139,33,4,113,205,14,212,29,224,40,239,52,2,68,73,8,62,135],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-10 19:08:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404666079395971072,"timestamp_seconds":5404666079395971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996125696001,"66":11971,"120":206,"28":31744,"24":0,"16":19371346182012928,"45":1739233911725584384},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996125696001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:08:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371346182012928,"km_value":19371346182012.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725584384,"description":"Unknown IO ID 45"} 
[2026-09-10 19:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996125696001,"power":11971,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725584384}} 
[2026-09-10 19:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":179343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:08:06] local.INFO: GPS data processed {"connection_id":179343,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:08:06] local.INFO: Acknowledgment sent {"connection_id":179343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:08:26] local.INFO: TCP Data received {"connection_id":177977,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:08:26] local.INFO: Processing buffer {"connection_id":177977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:08:26] local.INFO: IMEI packet received {"connection_id":177977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":177977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:08:29] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:08:29] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:08:29] local.INFO: Packet analysis {"connection_id":176810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:08:29] local.INFO: Extracted packet for processing {"connection_id":176810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:08:29] 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-09-10 19:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:08:29] 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-09-10 19:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:08:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":176810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:08:29] local.INFO: GPS data processed {"connection_id":176810,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:08:29] local.INFO: Acknowledgment sent {"connection_id":176810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:08:31] local.INFO: TCP Data received {"connection_id":177977,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:08:31] local.INFO: Processing buffer {"connection_id":177977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:08:31] local.INFO: IMEI packet received {"connection_id":177977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":177977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:08:32] local.INFO: TCP Data received {"connection_id":177977,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b88c700012d1823800721b580004b00b92a..."} 
[2026-09-10 19:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b88c700012d1823800721b580004b00b92a..."} 
[2026-09-10 19:08:32] local.INFO: Processing buffer {"connection_id":177977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b88c700012d1823800721b580004b00b92a..."} 
[2026-09-10 19:08:32] local.INFO: Packet analysis {"connection_id":177977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:08:32] local.INFO: Extracted packet for processing {"connection_id":177977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649664,"longitude_deg":75.6556672,"latitude_deg":11.9649664,"altitude":75,"angle":185,"satellites":42,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996131072001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371359066914816,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702237696,"note":"Value kept but may cause issues"} 
[2026-09-10 19:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789047392000,"timestamp_ms":1789047392000,"timestamp_seconds":1789047392,"priority":1,"record_length":96,"hex_timestamp":"000001a08b88c700"} 
[2026-09-10 19:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 19:08:32] 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-09-10 19: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-09-10 19:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996131072001,"66":12874,"120":206,"28":31744,"24":7,"16":19371359066914816,"45":1739515386702237696},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996131072001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:08:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371359066914816,"km_value":19371359066914.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702237696,"description":"Unknown IO ID 45"} 
[2026-09-10 19:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996131072001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739515386702237696}} 
[2026-09-10 19:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":177977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:08:32] local.INFO: GPS data processed {"connection_id":177977,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:08:32] local.INFO: Acknowledgment sent {"connection_id":177977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:08:57] local.INFO: TCP Data received {"connection_id":179344,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:08:57] local.INFO: Processing buffer {"connection_id":179344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:08:57] local.INFO: IMEI packet received {"connection_id":179344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":179344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:09:02] local.INFO: TCP Data received {"connection_id":179344,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:02] local.INFO: Processing buffer {"connection_id":179344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:02] local.INFO: IMEI packet received {"connection_id":179344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":179344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:09:02] local.INFO: TCP Data received {"connection_id":179344,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:02] local.INFO: Processing buffer {"connection_id":179344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:02] local.INFO: Packet analysis {"connection_id":179344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:02] local.INFO: Extracted packet for processing {"connection_id":179344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09: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-09-10 19:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:09:02] 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-09-10 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:09:02] 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-09-10 19: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-09-10 19:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":179344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":179344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":179344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:09:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":179344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:09:03] local.INFO: GPS data processed {"connection_id":179344,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:09:03] local.INFO: Acknowledgment sent {"connection_id":179344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:09:04] local.INFO: TCP Data received {"connection_id":177977,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b89ccb8012d18294007219e68004e008626..."} 
[2026-09-10 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b89ccb8012d18294007219e68004e008626..."} 
[2026-09-10 19:09:04] local.INFO: Processing buffer {"connection_id":177977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b89ccb8012d18294007219e68004e008626..."} 
[2026-09-10 19:09:04] local.INFO: Packet analysis {"connection_id":177977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b89"} 
[2026-09-10 19:09:04] local.INFO: Extracted packet for processing {"connection_id":177977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b89"} 
[2026-09-10 19:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643752,"longitude_deg":75.6558144,"latitude_deg":11.9643752,"altitude":78,"angle":134,"satellites":38,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-10 19:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996144128001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371715549200384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328385536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09: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-09-10 19:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789047459000,"timestamp_ms":1789047459000,"timestamp_seconds":1789047459,"priority":1,"record_length":96,"hex_timestamp":"000001a08b89ccb8"} 
[2026-09-10 19:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996144128001,"66":11711,"120":206,"28":31744,"24":0,"16":19371715549200384,"45":1740993130328385536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996144128001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371715549200384,"km_value":19371715549200.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328385536,"description":"Unknown IO ID 45"} 
[2026-09-10 19:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996144128001,"power":11711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130328385536}} 
[2026-09-10 19:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":177977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:09:04] local.INFO: GPS data processed {"connection_id":177977,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:09:04] local.INFO: Acknowledgment sent {"connection_id":177977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:09:09] local.INFO: TCP Data received {"connection_id":179344,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:09] local.INFO: Processing buffer {"connection_id":179344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:09] local.INFO: Packet analysis {"connection_id":179344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:09] local.INFO: Extracted packet for processing {"connection_id":179344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09: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-09-10 19:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:09:09] 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-09-10 19:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:09:09] 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-09-10 19:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:09:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":179344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:09:09] local.INFO: GPS data processed {"connection_id":179344,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:09:09] local.INFO: Acknowledgment sent {"connection_id":179344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:09:29] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:09:29] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:09:29] local.INFO: IMEI packet received {"connection_id":176593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":176593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:09:30] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8803b0012ceabe80071a5d60001d006d2c..."} 
[2026-09-10 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8803b0012ceabe80071a5d60001d006d2c..."} 
[2026-09-10 19:09:30] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8803b0012ceabe80071a5d60001d006d2c..."} 
[2026-09-10 19:09:30] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:30] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":753581696,"raw_latitude":119168352,"longitude_deg":75.3581696,"latitude_deg":11.9168352,"altitude":29,"angle":109,"satellites":44,"speed":13,"hex_longitude":"2ceabe80","hex_latitude":"071a5d60","is_valid_coordinates":true} 
[2026-09-10 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404538060462620672,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1540442148285241344,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789047342000,"timestamp_ms":1789047342000,"timestamp_seconds":1789047342,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8803b0"} 
[2026-09-10 19:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:09:30] 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-09-10 19:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996114176001,"66":27365,"104":206,"83":41216,"24":13,"16":404538060462620672,"44":-1540442148285241344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-10 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:09:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-10 19:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404538060462620672,"km_value":404538060462620.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1540442148285241344,"description":"Unknown IO ID 44"} 
[2026-09-10 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996114176001,"power":27365,"unknown_104":206,"unknown_83":41216,"ignition":13,"odometer":null,"unknown_44":-1540442148285241344}} 
[2026-09-10 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:09:30] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:09:30] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:09:32] local.INFO: TCP Data received {"connection_id":179345,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:09:32] local.INFO: Processing buffer {"connection_id":179345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:09:32] local.INFO: IMEI packet received {"connection_id":179345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":179345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:09:36] local.INFO: TCP Data received {"connection_id":179345,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:09:36] local.INFO: Processing buffer {"connection_id":179345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:09:36] local.INFO: IMEI packet received {"connection_id":179345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":179345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:09:37] local.INFO: TCP Data received {"connection_id":179345,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8a1ec0012d18294007219e68004e008626..."} 
[2026-09-10 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8a1ec0012d18294007219e68004e008626..."} 
[2026-09-10 19:09:37] local.INFO: Processing buffer {"connection_id":179345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8a1ec0012d18294007219e68004e008626..."} 
[2026-09-10 19:09:37] local.INFO: Packet analysis {"connection_id":179345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:09:37] local.INFO: Extracted packet for processing {"connection_id":179345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643752,"longitude_deg":75.6558144,"latitude_deg":11.9643752,"altitude":78,"angle":134,"satellites":38,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996149504001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371715549200384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328385536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09: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-09-10 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789047480000,"timestamp_ms":1789047480000,"timestamp_seconds":1789047480,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8a1ec0"} 
[2026-09-10 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-09-10 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 19:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996149504001,"66":12504,"120":206,"28":31744,"24":0,"16":19371715549200384,"45":1740993130328385536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996149504001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:09:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371715549200384,"km_value":19371715549200.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328385536,"description":"Unknown IO ID 45"} 
[2026-09-10 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996149504001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130328385536}} 
[2026-09-10 19:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":179345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:09:38] local.INFO: GPS data processed {"connection_id":179345,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:09:38] local.INFO: Acknowledgment sent {"connection_id":179345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:09:42] local.INFO: TCP Data received {"connection_id":179345,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8a70c8012d18294007219e68004e008625..."} 
[2026-09-10 19:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8a70c8012d18294007219e68004e008625..."} 
[2026-09-10 19:09:42] local.INFO: Processing buffer {"connection_id":179345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8a70c8012d18294007219e68004e008625..."} 
[2026-09-10 19:09:42] local.INFO: Packet analysis {"connection_id":179345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:09:42] local.INFO: Extracted packet for processing {"connection_id":179345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643752,"longitude_deg":75.6558144,"latitude_deg":11.9643752,"altitude":78,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-10 19:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996154880001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371715549200384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328385536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09: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-09-10 19:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789047501000,"timestamp_ms":1789047501000,"timestamp_seconds":1789047501,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8a70c8"} 
[2026-09-10 19:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:09: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-09-10 19:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996154880001,"66":12461,"120":206,"28":31744,"24":0,"16":19371715549200384,"45":1740993130328385536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996154880001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:09:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371715549200384,"km_value":19371715549200.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328385536,"description":"Unknown IO ID 45"} 
[2026-09-10 19:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996154880001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130328385536}} 
[2026-09-10 19:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":179345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:09:42] local.INFO: GPS data processed {"connection_id":179345,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:09:42] local.INFO: Acknowledgment sent {"connection_id":179345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:09:52] local.INFO: TCP Data received {"connection_id":176814,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:52] local.INFO: Processing buffer {"connection_id":176814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:52] local.INFO: IMEI packet received {"connection_id":176814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":176814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:09:57] local.INFO: TCP Data received {"connection_id":176814,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:57] local.INFO: Processing buffer {"connection_id":176814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:09:57] local.INFO: IMEI packet received {"connection_id":176814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":176814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:09:58] local.INFO: TCP Data received {"connection_id":176814,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:58] local.INFO: Processing buffer {"connection_id":176814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:09:58] local.INFO: Packet analysis {"connection_id":176814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:58] local.INFO: Extracted packet for processing {"connection_id":176814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:09:58] 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-09-10 19: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:09:58] 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-09-10 19: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-09-10 19:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:09:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":176814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:09:58] local.INFO: GPS data processed {"connection_id":176814,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:09:58] local.INFO: Acknowledgment sent {"connection_id":176814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:10:09] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8ae5f8012ceb7e400719e9500018009e2c..."} 
[2026-09-10 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8ae5f8012ceb7e400719e9500018009e2c..."} 
[2026-09-10 19:10:09] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8ae5f8012ceb7e400719e9500018009e2c..."} 
[2026-09-10 19:10:09] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:10:09] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:10:09] local.INFO: GPS Element Parsed {"raw_longitude":753630784,"raw_latitude":119138640,"longitude_deg":75.3630784,"latitude_deg":11.913864,"altitude":24,"angle":158,"satellites":44,"speed":19,"hex_longitude":"2ceb7e40","hex_latitude":"0719e950","is_valid_coordinates":true} 
[2026-09-10 19:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996162560001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404540908025937920,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480417609508675584,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789047531000,"timestamp_ms":1789047531000,"timestamp_seconds":1789047531,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8ae5f8"} 
[2026-09-10 19:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:10: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-09-10 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 19:10: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-09-10 19:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996162560001,"66":26452,"135":206,"83":41216,"24":19,"16":404540908025937920,"44":-1480417609508675584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-10 19:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996162560001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:10:09] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-10 19:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404540908025937920,"km_value":404540908025937.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480417609508675584,"description":"Unknown IO ID 44"} 
[2026-09-10 19:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996162560001,"power":26452,"unknown_135":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1480417609508675584}} 
[2026-09-10 19:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:10:09] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:10:09] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:10:23] local.INFO: TCP Data received {"connection_id":179347,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:23] local.INFO: Processing buffer {"connection_id":179347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:23] local.INFO: IMEI packet received {"connection_id":179347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":179347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:10:23] local.INFO: TCP Data received {"connection_id":179346,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:10:23] local.INFO: Processing buffer {"connection_id":179346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:10:23] local.INFO: IMEI packet received {"connection_id":179346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":179346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:10:26] local.INFO: TCP Data received {"connection_id":179347,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:26] local.INFO: Processing buffer {"connection_id":179347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:26] local.INFO: IMEI packet received {"connection_id":179347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":179347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:10:27] local.INFO: TCP Data received {"connection_id":179346,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:10:27] local.INFO: Processing buffer {"connection_id":179346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:10:27] local.INFO: IMEI packet received {"connection_id":179346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":179346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:10:28] local.INFO: TCP Data received {"connection_id":179346,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8b1ca8012ceb8cc00719c9a0001a009a2d..."} 
[2026-09-10 19:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8b1ca8012ceb8cc00719c9a0001a009a2d..."} 
[2026-09-10 19:10:28] local.INFO: Processing buffer {"connection_id":179346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8b1ca8012ceb8cc00719c9a0001a009a2d..."} 
[2026-09-10 19:10:28] local.INFO: Packet analysis {"connection_id":179346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:10:28] local.INFO: Extracted packet for processing {"connection_id":179346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:10:28] local.INFO: GPS Element Parsed {"raw_longitude":753634496,"raw_latitude":119130528,"longitude_deg":75.3634496,"latitude_deg":11.9130528,"altitude":26,"angle":154,"satellites":45,"speed":30,"hex_longitude":"2ceb8cc0","hex_latitude":"0719c9a0","is_valid_coordinates":true} 
[2026-09-10 19:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996167936001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404541341817634816,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1477673228487274496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789047545000,"timestamp_ms":1789047545000,"timestamp_seconds":1789047545,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8b1ca8"} 
[2026-09-10 19:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 19:10:28] 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-09-10 19:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996167936001,"66":27300,"136":206,"83":41216,"24":30,"16":404541341817634816,"44":-1477673228487274496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-10 19:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996167936001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:10:28] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-10 19:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404541341817634816,"km_value":404541341817634.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:10:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1477673228487274496,"description":"Unknown IO ID 44"} 
[2026-09-10 19:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996167936001,"power":27300,"unknown_136":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1477673228487274496}} 
[2026-09-10 19:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":179346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:10:28] local.INFO: GPS data processed {"connection_id":179346,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:10:28] local.INFO: Acknowledgment sent {"connection_id":179346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:10:29] local.INFO: TCP Data received {"connection_id":179346,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8b4b88012ceb9f000719aa60001a00942d..."} 
[2026-09-10 19:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8b4b88012ceb9f000719aa60001a00942d..."} 
[2026-09-10 19:10:29] local.INFO: Processing buffer {"connection_id":179346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8b4b88012ceb9f000719aa60001a00942d..."} 
[2026-09-10 19:10:29] local.INFO: Packet analysis {"connection_id":179346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:10:29] local.INFO: Extracted packet for processing {"connection_id":179346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:10:29] local.INFO: GPS Element Parsed {"raw_longitude":753639168,"raw_latitude":119122528,"longitude_deg":75.3639168,"latitude_deg":11.9122528,"altitude":26,"angle":148,"satellites":45,"speed":29,"hex_longitude":"2ceb9f00","hex_latitude":"0719aa60","is_valid_coordinates":true} 
[2026-09-10 19:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996171520001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404541788494233600,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1473591841327046656,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047557000,"timestamp_ms":1789047557000,"timestamp_seconds":1789047557,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8b4b88"} 
[2026-09-10 19:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:10: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-09-10 19:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996171520001,"66":27245,"136":206,"83":41216,"24":29,"16":404541788494233600,"44":-1473591841327046656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-10 19:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996171520001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404541788494233600,"km_value":404541788494233.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1473591841327046656,"description":"Unknown IO ID 44"} 
[2026-09-10 19:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996171520001,"power":27245,"unknown_136":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1473591841327046656}} 
[2026-09-10 19:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":179346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:10:29] local.INFO: GPS data processed {"connection_id":179346,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:10:29] local.INFO: Acknowledgment sent {"connection_id":179346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:10:29] local.INFO: TCP Data received {"connection_id":176814,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:10:29] local.INFO: Processing buffer {"connection_id":176814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:10:29] local.INFO: Packet analysis {"connection_id":176814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:10:29] local.INFO: Extracted packet for processing {"connection_id":176814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:10:29] 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-09-10 19:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:10:29] 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-09-10 19:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":176814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:10:29] local.INFO: GPS data processed {"connection_id":176814,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:10:29] local.INFO: Acknowledgment sent {"connection_id":176814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:10:31] local.INFO: TCP Data received {"connection_id":179347,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:31] local.INFO: Processing buffer {"connection_id":179347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:10:31] local.INFO: IMEI packet received {"connection_id":179347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":179347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:10:32] local.INFO: TCP Data received {"connection_id":179347,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8ac2d0012d18294007219e68004e008627..."} 
[2026-09-10 19:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8ac2d0012d18294007219e68004e008627..."} 
[2026-09-10 19:10:32] local.INFO: Processing buffer {"connection_id":179347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8ac2d0012d18294007219e68004e008627..."} 
[2026-09-10 19:10:32] local.INFO: Packet analysis {"connection_id":179347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:10:32] local.INFO: Extracted packet for processing {"connection_id":179347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8a"} 
[2026-09-10 19:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643752,"longitude_deg":75.6558144,"latitude_deg":11.9643752,"altitude":78,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-10 19:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996160256001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371715549200384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328385536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789047522000,"timestamp_ms":1789047522000,"timestamp_seconds":1789047522,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8ac2d0"} 
[2026-09-10 19:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:10: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-09-10 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996160256001,"66":12461,"120":206,"28":31744,"24":0,"16":19371715549200384,"45":1740993130328385536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996160256001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:10:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371715549200384,"km_value":19371715549200.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328385536,"description":"Unknown IO ID 45"} 
[2026-09-10 19:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996160256001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130328385536}} 
[2026-09-10 19:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":179347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:10:32] local.INFO: GPS data processed {"connection_id":179347,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:10:32] local.INFO: Acknowledgment sent {"connection_id":179347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:10:52] local.INFO: TCP Data received {"connection_id":176594,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:10:52] local.INFO: Processing buffer {"connection_id":176594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:10:52] local.INFO: IMEI packet received {"connection_id":176594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-10 19:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":176594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:10:57] local.INFO: TCP Data received {"connection_id":176594,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:10:57] local.INFO: Processing buffer {"connection_id":176594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-10 19:10:57] local.INFO: IMEI packet received {"connection_id":176594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-10 19:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":176594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:10:58] local.INFO: TCP Data received {"connection_id":176594,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:10:58] local.INFO: Processing buffer {"connection_id":176594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b886d28012d7e37c005d34c98000700d62b..."} 
[2026-09-10 19:10:58] local.INFO: Packet analysis {"connection_id":176594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:10:58] local.INFO: Extracted packet for processing {"connection_id":176594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b88"} 
[2026-09-10 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":7,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-10 19:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996049408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130909722713784320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789047369000,"timestamp_ms":1789047369000,"timestamp_seconds":1789047369,"priority":1,"record_length":96,"hex_timestamp":"000001a08b886d28"} 
[2026-09-10 19:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:10:58] 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-09-10 19:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-10 19:10:58] 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-09-10 19:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-10 19:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-10 19:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-10 19:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996049408001,"66":2209,"109":206,"85":15104,"24":0,"16":130909722713784320,"45":9094949103750387712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-10 19:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-10 19:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-10 19:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996049408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:10:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-10 19:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-10 19:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130909722713784320,"km_value":130909722713784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-10 19:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996049408001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-10 19:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":176594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:10:58] local.INFO: GPS data processed {"connection_id":176594,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:10:58] local.INFO: Acknowledgment sent {"connection_id":176594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:11:00] local.INFO: TCP Data received {"connection_id":179346,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8b8238012cebb1c007198b58001b00932c..."} 
[2026-09-10 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8b8238012cebb1c007198b58001b00932c..."} 
[2026-09-10 19:11:00] local.INFO: Processing buffer {"connection_id":179346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8b8238012cebb1c007198b58001b00932c..."} 
[2026-09-10 19:11:00] local.INFO: Packet analysis {"connection_id":179346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:00] local.INFO: Extracted packet for processing {"connection_id":179346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:00] local.INFO: GPS Element Parsed {"raw_longitude":753643968,"raw_latitude":119114584,"longitude_deg":75.3643968,"latitude_deg":11.9114584,"altitude":27,"angle":147,"satellites":44,"speed":22,"hex_longitude":"2cebb1c0","hex_latitude":"07198b58","is_valid_coordinates":true} 
[2026-09-10 19:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996174592001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404542235170832384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1468454923004125184,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789047571000,"timestamp_ms":1789047571000,"timestamp_seconds":1789047571,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8b8238"} 
[2026-09-10 19:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 19:11: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-09-10 19:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:11: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-09-10 19:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996174592001,"66":27213,"136":206,"83":41216,"24":22,"16":404542235170832384,"44":-1468454923004125184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-10 19:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996174592001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:11:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-10 19:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404542235170832384,"km_value":404542235170832.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:11:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1468454923004125184,"description":"Unknown IO ID 44"} 
[2026-09-10 19:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996174592001,"power":27213,"unknown_136":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1468454923004125184}} 
[2026-09-10 19:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":179346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:11:00] local.INFO: GPS data processed {"connection_id":179346,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:11:00] local.INFO: Acknowledgment sent {"connection_id":179346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:11:04] local.INFO: TCP Data received {"connection_id":179347,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8b14d8012d18294007219e68004e008626..."} 
[2026-09-10 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8b14d8012d18294007219e68004e008626..."} 
[2026-09-10 19:11:04] local.INFO: Processing buffer {"connection_id":179347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8b14d8012d18294007219e68004e008626..."} 
[2026-09-10 19:11:04] local.INFO: Packet analysis {"connection_id":179347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:04] local.INFO: Extracted packet for processing {"connection_id":179347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643752,"longitude_deg":75.6558144,"latitude_deg":11.9643752,"altitude":78,"angle":134,"satellites":38,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-10 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996165632001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371715549200384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328385536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11: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-09-10 19:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789047543000,"timestamp_ms":1789047543000,"timestamp_seconds":1789047543,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8b14d8"} 
[2026-09-10 19:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:11: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-09-10 19:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996165632001,"66":12428,"120":206,"28":31744,"24":0,"16":19371715549200384,"45":1740993130328385536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996165632001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:11:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371715549200384,"km_value":19371715549200.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328385536,"description":"Unknown IO ID 45"} 
[2026-09-10 19:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996165632001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130328385536}} 
[2026-09-10 19:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":179347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:11:04] local.INFO: GPS data processed {"connection_id":179347,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:11:04] local.INFO: Acknowledgment sent {"connection_id":179347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:11:14] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:14] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:14] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:11:19] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:19] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:19] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:11:23] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:23] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:11:23] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:11:24] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8bc4a0012cebc48007196b60001900982d..."} 
[2026-09-10 19:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8bc4a0012cebc48007196b60001900982d..."} 
[2026-09-10 19:11:24] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8bc4a0012cebc48007196b60001900982d..."} 
[2026-09-10 19:11:24] local.INFO: Packet analysis {"connection_id":176595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:24] local.INFO: Extracted packet for processing {"connection_id":176595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:24] local.INFO: GPS Element Parsed {"raw_longitude":753648768,"raw_latitude":119106400,"longitude_deg":75.3648768,"latitude_deg":11.91064,"altitude":25,"angle":152,"satellites":45,"speed":26,"hex_longitude":"2cebc480","hex_latitude":"07196b60","is_valid_coordinates":true} 
[2026-09-10 19:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996178176001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404542694732333056,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1463177267192834048,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789047588000,"timestamp_ms":1789047588000,"timestamp_seconds":1789047588,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8bc4a0"} 
[2026-09-10 19:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:11: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-09-10 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:11:24] 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-09-10 19:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996178176001,"66":27463,"137":206,"83":41216,"24":26,"16":404542694732333056,"44":-1463177267192834048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-10 19:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996178176001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:11:24] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 19:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404542694732333056,"km_value":404542694732333.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1463177267192834048,"description":"Unknown IO ID 44"} 
[2026-09-10 19:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996178176001,"power":27463,"unknown_137":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1463177267192834048}} 
[2026-09-10 19:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":176595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:11:24] local.INFO: GPS data processed {"connection_id":176595,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:11:24] local.INFO: Acknowledgment sent {"connection_id":176595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:11:26] local.INFO: TCP Data received {"connection_id":176596,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:26] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:26] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:11:27] local.INFO: TCP Data received {"connection_id":176596,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:27] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:27] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:11:32] local.INFO: TCP Data received {"connection_id":176596,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:32] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:11:32] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:11:33] local.INFO: TCP Data received {"connection_id":176596,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8b66e0012d18294007219e68004e008629..."} 
[2026-09-10 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8b66e0012d18294007219e68004e008629..."} 
[2026-09-10 19:11:33] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8b66e0012d18294007219e68004e008629..."} 
[2026-09-10 19:11:33] local.INFO: Packet analysis {"connection_id":176596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:33] local.INFO: Extracted packet for processing {"connection_id":176596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643752,"longitude_deg":75.6558144,"latitude_deg":11.9643752,"altitude":78,"angle":134,"satellites":41,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996171008001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371715549200384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328385536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789047564000,"timestamp_ms":1789047564000,"timestamp_seconds":1789047564,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8b66e0"} 
[2026-09-10 19:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 19:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996171008001,"66":12461,"120":206,"28":31744,"24":0,"16":19371715549200384,"45":1740993130328385536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996171008001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:11:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371715549200384,"km_value":19371715549200.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328385536,"description":"Unknown IO ID 45"} 
[2026-09-10 19:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996171008001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130328385536}} 
[2026-09-10 19:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":176596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:11:33] local.INFO: GPS data processed {"connection_id":176596,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:11:33] local.INFO: Acknowledgment sent {"connection_id":176596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:11:55] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8bff38012cebd5c007194b18001900942e..."} 
[2026-09-10 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8bff38012cebd5c007194b18001900942e..."} 
[2026-09-10 19:11:55] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8bff38012cebd5c007194b18001900942e..."} 
[2026-09-10 19:11:55] local.INFO: Packet analysis {"connection_id":176595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:55] local.INFO: Extracted packet for processing {"connection_id":176595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:11:55] local.INFO: GPS Element Parsed {"raw_longitude":753653184,"raw_latitude":119098136,"longitude_deg":75.3653184,"latitude_deg":11.9098136,"altitude":25,"angle":148,"satellites":46,"speed":23,"hex_longitude":"2cebd5c0","hex_latitude":"07194b18","is_valid_coordinates":true} 
[2026-09-10 19:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996182528001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404543145703899136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1457899611381604352,"note":"Value kept but may cause issues"} 
[2026-09-10 19:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789047603000,"timestamp_ms":1789047603000,"timestamp_seconds":1789047603,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8bff38"} 
[2026-09-10 19:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 19:11:55] 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-09-10 19:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996182528001,"66":27343,"138":206,"83":41216,"24":23,"16":404543145703899136,"44":-1457899611381604352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-10 19:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996182528001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:11:55] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-10 19:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404543145703899136,"km_value":404543145703899.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1457899611381604352,"description":"Unknown IO ID 44"} 
[2026-09-10 19:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996182528001,"power":27343,"unknown_138":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1457899611381604352}} 
[2026-09-10 19:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":176595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:11:55] local.INFO: GPS data processed {"connection_id":176595,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:11:55] local.INFO: Acknowledgment sent {"connection_id":176595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:12:05] local.INFO: TCP Data received {"connection_id":176596,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8bb8e8012d18294007219e68004e008629..."} 
[2026-09-10 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8bb8e8012d18294007219e68004e008629..."} 
[2026-09-10 19:12:05] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8bb8e8012d18294007219e68004e008629..."} 
[2026-09-10 19:12:05] local.INFO: Packet analysis {"connection_id":176596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:12:05] local.INFO: Extracted packet for processing {"connection_id":176596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8b"} 
[2026-09-10 19:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643752,"longitude_deg":75.6558144,"latitude_deg":11.9643752,"altitude":78,"angle":134,"satellites":41,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-09-10 19:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996176384001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19371715549200384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328385536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12: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-09-10 19:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789047585000,"timestamp_ms":1789047585000,"timestamp_seconds":1789047585,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8bb8e8"} 
[2026-09-10 19:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996176384001,"66":12211,"120":206,"28":31744,"24":0,"16":19371715549200384,"45":1740993130328385536},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-10 19:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996176384001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:12:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-10 19:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19371715549200384,"km_value":19371715549200.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328385536,"description":"Unknown IO ID 45"} 
[2026-09-10 19:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996176384001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740993130328385536}} 
[2026-09-10 19:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":176596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:12:05] local.INFO: GPS data processed {"connection_id":176596,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:12:05] local.INFO: Acknowledgment sent {"connection_id":176596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:12:15] local.INFO: TCP Data received {"connection_id":176816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:12:15] local.INFO: Processing buffer {"connection_id":176816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:12:15] local.INFO: IMEI packet received {"connection_id":176816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":176816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:12:18] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:12:18] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:12:18] local.INFO: IMEI packet received {"connection_id":176817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":176817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:12:23] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:12:23] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:12:23] local.INFO: IMEI packet received {"connection_id":176817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":176817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:12:24] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8c2260012cebe1c007193a60001900882c..."} 
[2026-09-10 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8c2260012cebe1c007193a60001900882c..."} 
[2026-09-10 19:12:24] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8c2260012cebe1c007193a60001900882c..."} 
[2026-09-10 19:12:24] local.INFO: Packet analysis {"connection_id":176817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8c"} 
[2026-09-10 19:12:24] local.INFO: Extracted packet for processing {"connection_id":176817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8c"} 
[2026-09-10 19:12:24] local.INFO: GPS Element Parsed {"raw_longitude":753656256,"raw_latitude":119093856,"longitude_deg":75.3656256,"latitude_deg":11.9093856,"altitude":25,"angle":136,"satellites":44,"speed":22,"hex_longitude":"2cebe1c0","hex_latitude":"07193a60","is_valid_coordinates":true} 
[2026-09-10 19:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996186368001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404543403401936896,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1453044168035461120,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789047612000,"timestamp_ms":1789047612000,"timestamp_seconds":1789047612,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8c2260"} 
[2026-09-10 19:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 19:12:24] 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-09-10 19:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996186368001,"66":27245,"138":206,"83":41216,"24":22,"16":404543403401936896,"44":-1453044168035461120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-10 19:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996186368001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:12:24] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-10 19:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404543403401936896,"km_value":404543403401936.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:12:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1453044168035461120,"description":"Unknown IO ID 44"} 
[2026-09-10 19:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996186368001,"power":27245,"unknown_138":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1453044168035461120}} 
[2026-09-10 19:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":176817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:12:24] local.INFO: GPS data processed {"connection_id":176817,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:12:24] local.INFO: Acknowledgment sent {"connection_id":176817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:12:26] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:12:26] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:12:26] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:12:31] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:12:31] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:12:31] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:12:32] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8d5ae0012d18c48007214f78004300a428..."} 
[2026-09-10 19:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8d5ae0012d18c48007214f78004300a428..."} 
[2026-09-10 19:12:32] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8d5ae0012d18c48007214f78004300a428..."} 
[2026-09-10 19:12:32] local.INFO: Packet analysis {"connection_id":176597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8d"} 
[2026-09-10 19:12:32] local.INFO: Extracted packet for processing {"connection_id":176597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8d"} 
[2026-09-10 19:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119623544,"longitude_deg":75.6597888,"latitude_deg":11.9623544,"altitude":67,"angle":164,"satellites":40,"speed":37,"hex_longitude":"2d18c480","hex_latitude":"07214f78","is_valid_coordinates":true} 
[2026-09-10 19:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996206848001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19373957522128896,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779484833390249984,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789047692000,"timestamp_ms":1789047692000,"timestamp_seconds":1789047692,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8d5ae0"} 
[2026-09-10 19:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-10 19:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996206848001,"66":13493,"121":206,"28":31744,"24":37,"16":19373957522128896,"45":1779484833390249984},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996206848001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:12:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19373957522128896,"km_value":19373957522128.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779484833390249984,"description":"Unknown IO ID 45"} 
[2026-09-10 19:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996206848001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1779484833390249984}} 
[2026-09-10 19:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":176597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:12:32] local.INFO: GPS data processed {"connection_id":176597,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:12:32] local.INFO: Acknowledgment sent {"connection_id":176597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:12:38] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:12:38] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:12:38] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:12:55] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8c35e8012cebea40071932c8001900792d..."} 
[2026-09-10 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8c35e8012cebea40071932c8001900792d..."} 
[2026-09-10 19:12:55] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8c35e8012cebea40071932c8001900792d..."} 
[2026-09-10 19:12:55] local.INFO: Packet analysis {"connection_id":176817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8c"} 
[2026-09-10 19:12:55] local.INFO: Extracted packet for processing {"connection_id":176817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8c"} 
[2026-09-10 19:12:55] local.INFO: GPS Element Parsed {"raw_longitude":753658432,"raw_latitude":119091912,"longitude_deg":75.3658432,"latitude_deg":11.9091912,"altitude":25,"angle":121,"satellites":45,"speed":21,"hex_longitude":"2cebea40","hex_latitude":"071932c8","is_valid_coordinates":true} 
[2026-09-10 19:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996188672001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404543540840890368,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449666468316028928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789047617000,"timestamp_ms":1789047617000,"timestamp_seconds":1789047617,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8c35e8"} 
[2026-09-10 19:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 19:12:55] 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-09-10 19:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996188672001,"66":27267,"138":206,"83":41216,"24":21,"16":404543540840890368,"44":-1449666468316028928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-10 19:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996188672001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:12:55] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-10 19:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404543540840890368,"km_value":404543540840890.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449666468316028928,"description":"Unknown IO ID 44"} 
[2026-09-10 19:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996188672001,"power":27267,"unknown_138":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1449666468316028928}} 
[2026-09-10 19:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":176817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:12:55] local.INFO: GPS data processed {"connection_id":176817,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:12:55] local.INFO: Acknowledgment sent {"connection_id":176817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:13:08] local.INFO: TCP Data received {"connection_id":176597,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8d62b0012d18c580072147e8004200b228..."} 
[2026-09-10 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8d62b0012d18c580072147e8004200b228..."} 
[2026-09-10 19:13:08] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8d62b0012d18c580072147e8004200b228..."} 
[2026-09-10 19:13:08] local.INFO: Packet analysis {"connection_id":176597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8d"} 
[2026-09-10 19:13:08] local.INFO: Extracted packet for processing {"connection_id":176597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8d"} 
[2026-09-10 19:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119621608,"longitude_deg":75.6598144,"latitude_deg":11.9621608,"altitude":66,"angle":178,"satellites":40,"speed":39,"hex_longitude":"2d18c580","hex_latitude":"072147e8","is_valid_coordinates":true} 
[2026-09-10 19:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996209152001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19374052011409408,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457541632,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13: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-09-10 19:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789047694000,"timestamp_ms":1789047694000,"timestamp_seconds":1789047694,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8d62b0"} 
[2026-09-10 19:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-10 19:13: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-09-10 19:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996209152001,"66":13396,"121":206,"28":31744,"24":39,"16":19374052011409408,"45":1784692120457541632},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996209152001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:13:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19374052011409408,"km_value":19374052011409.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457541632,"description":"Unknown IO ID 45"} 
[2026-09-10 19:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996209152001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1784692120457541632}} 
[2026-09-10 19:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":176597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:13:08] local.INFO: GPS data processed {"connection_id":176597,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:13:08] local.INFO: Acknowledgment sent {"connection_id":176597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:13:18] local.INFO: TCP Data received {"connection_id":177978,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:18] local.INFO: Processing buffer {"connection_id":177978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:18] local.INFO: IMEI packet received {"connection_id":177978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":177978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:13:20] local.INFO: TCP Data received {"connection_id":177978,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:20] local.INFO: Processing buffer {"connection_id":177978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:20] local.INFO: IMEI packet received {"connection_id":177978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":177978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:13:26] local.INFO: TCP Data received {"connection_id":176818,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:13:26] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:13:26] local.INFO: IMEI packet received {"connection_id":176818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":176818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:13:28] local.INFO: TCP Data received {"connection_id":177978,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:28] local.INFO: Processing buffer {"connection_id":177978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:13:28] local.INFO: IMEI packet received {"connection_id":177978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":177978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:13:28] local.INFO: TCP Data received {"connection_id":177978,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8ddfb0012cec710007186958001e00bb2c..."} 
[2026-09-10 19:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8ddfb0012cec710007186958001e00bb2c..."} 
[2026-09-10 19:13:28] local.INFO: Processing buffer {"connection_id":177978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8ddfb0012cec710007186958001e00bb2c..."} 
[2026-09-10 19:13:28] local.INFO: Packet analysis {"connection_id":177978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8d"} 
[2026-09-10 19:13:28] local.INFO: Extracted packet for processing {"connection_id":177978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8d"} 
[2026-09-10 19:13:28] local.INFO: GPS Element Parsed {"raw_longitude":753692928,"raw_latitude":119040344,"longitude_deg":75.3692928,"latitude_deg":11.9040344,"altitude":30,"angle":187,"satellites":44,"speed":20,"hex_longitude":"2cec7100","hex_latitude":"07186958","is_valid_coordinates":true} 
[2026-09-10 19:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996216320001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404546658987147264,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409274809171052544,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789047726000,"timestamp_ms":1789047726000,"timestamp_seconds":1789047726,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8ddfb0"} 
[2026-09-10 19:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:13: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-09-10 19:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 19:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996216320001,"66":27310,"116":206,"83":41216,"24":20,"16":404546658987147264,"44":-1409274809171052544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-10 19:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996216320001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:13:28] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-10 19:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404546658987147264,"km_value":404546658987147.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:13:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409274809171052544,"description":"Unknown IO ID 44"} 
[2026-09-10 19:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996216320001,"power":27310,"unknown_116":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1409274809171052544}} 
[2026-09-10 19:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":177978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:13:28] local.INFO: GPS data processed {"connection_id":177978,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:13:28] local.INFO: Acknowledgment sent {"connection_id":177978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:13:29] local.INFO: TCP Data received {"connection_id":177978,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8e1660012cec6a4007184500001e00bf2b..."} 
[2026-09-10 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8e1660012cec6a4007184500001e00bf2b..."} 
[2026-09-10 19:13:29] local.INFO: Processing buffer {"connection_id":177978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8e1660012cec6a4007184500001e00bf2b..."} 
[2026-09-10 19:13:29] local.INFO: Packet analysis {"connection_id":177978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:13:29] local.INFO: Extracted packet for processing {"connection_id":177978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:13:29] local.INFO: GPS Element Parsed {"raw_longitude":753691200,"raw_latitude":119031040,"longitude_deg":75.36912,"latitude_deg":11.903104,"altitude":30,"angle":191,"satellites":43,"speed":29,"hex_longitude":"2cec6a40","hex_latitude":"07184500","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996217856001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404547118548647936,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409345177915926528,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789047740000,"timestamp_ms":1789047740000,"timestamp_seconds":1789047740,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8e1660"} 
[2026-09-10 19:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:13: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-09-10 19:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 19:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:13: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-09-10 19:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996217856001,"66":27321,"116":206,"83":41216,"24":29,"16":404547118548647936,"44":-1409345177915926528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-10 19:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996217856001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:13:29] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-10 19:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404547118548647936,"km_value":404547118548647.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409345177915926528,"description":"Unknown IO ID 44"} 
[2026-09-10 19:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996217856001,"power":27321,"unknown_116":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1409345177915926528}} 
[2026-09-10 19:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":177978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:13:29] local.INFO: GPS data processed {"connection_id":177978,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:13:29] local.INFO: Acknowledgment sent {"connection_id":177978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:13:31] local.INFO: TCP Data received {"connection_id":176818,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:13:31] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:13:31] local.INFO: IMEI packet received {"connection_id":176818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":176818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:13:37] local.INFO: TCP Data received {"connection_id":176818,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8e29e8012d1948c00720ad38002e006e29..."} 
[2026-09-10 19:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8e29e8012d1948c00720ad38002e006e29..."} 
[2026-09-10 19:13:37] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8e29e8012d1948c00720ad38002e006e29..."} 
[2026-09-10 19:13:37] local.INFO: Packet analysis {"connection_id":176818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:13:37] local.INFO: Extracted packet for processing {"connection_id":176818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756631744,"raw_latitude":119582008,"longitude_deg":75.6631744,"latitude_deg":11.9582008,"altitude":46,"angle":110,"satellites":41,"speed":45,"hex_longitude":"2d1948c0","hex_latitude":"0720ad38","is_valid_coordinates":true} 
[2026-09-10 19:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996220928001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19376757840805888,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812839618118991872,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13: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-09-10 19:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789047745000,"timestamp_ms":1789047745000,"timestamp_seconds":1789047745,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8e29e8"} 
[2026-09-10 19:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19: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-09-10 19: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503895259807744,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2341316864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":139,"raw_value":-8246750619640474816,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3909615673,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093158793359844,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3582263296,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2387382792603349287,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195164672,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84751258212573481,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":18015094931727872,"note":"Value kept but may cause issues"} 
[2026-09-10 19:13:37] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,121,28,24,241,158,16,214,160,14,45,128,188,47,41,10,66,243,64,204,54,223,192,1,240,181,139,32,4,113,205,40,180,219,239,52,2,68,7,61,42,124,99,69,216,56],"length":625,"final_offset":755,"validated_count":46,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-09-10 19:13:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386829141670559744,"timestamp_seconds":3386829141670559.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996220928001,"66":12711,"121":206,"28":31744,"24":45,"16":19376757840805888,"45":1812839618118991872},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996220928001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19376757840805888,"km_value":19376757840805.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812839618118991872,"description":"Unknown IO ID 45"} 
[2026-09-10 19:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996220928001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1812839618118991872}} 
[2026-09-10 19:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":176818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:13:37] local.INFO: GPS data processed {"connection_id":176818,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:13:37] local.INFO: Acknowledgment sent {"connection_id":176818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:14:00] local.INFO: TCP Data received {"connection_id":177978,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8e4158012cec6180071822d8001f00c22a..."} 
[2026-09-10 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8e4158012cec6180071822d8001f00c22a..."} 
[2026-09-10 19:14:00] local.INFO: Processing buffer {"connection_id":177978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8e4158012cec6180071822d8001f00c22a..."} 
[2026-09-10 19:14:00] local.INFO: Packet analysis {"connection_id":177978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:00] local.INFO: Extracted packet for processing {"connection_id":177978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:00] local.INFO: GPS Element Parsed {"raw_longitude":753688960,"raw_latitude":119022296,"longitude_deg":75.368896,"latitude_deg":11.9022296,"altitude":31,"angle":194,"satellites":42,"speed":34,"hex_longitude":"2cec6180","hex_latitude":"071822d8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996221440001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404547552340344832,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411245134011105280,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789047751000,"timestamp_ms":1789047751000,"timestamp_seconds":1789047751,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8e4158"} 
[2026-09-10 19:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19: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-09-10 19: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-09-10 19:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:14: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-09-10 19:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996221440001,"66":27397,"116":206,"83":41216,"24":34,"16":404547552340344832,"44":-1411245134011105280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-10 19:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996221440001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:14:00] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-10 19:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404547552340344832,"km_value":404547552340344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411245134011105280,"description":"Unknown IO ID 44"} 
[2026-09-10 19:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996221440001,"power":27397,"unknown_116":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1411245134011105280}} 
[2026-09-10 19:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":177978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:14:00] local.INFO: GPS data processed {"connection_id":177978,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:14:00] local.INFO: Acknowledgment sent {"connection_id":177978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:14:08] local.INFO: TCP Data received {"connection_id":176818,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8eed38012d19ae4007208f78002e00be29..."} 
[2026-09-10 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8eed38012d19ae4007208f78002e00be29..."} 
[2026-09-10 19:14:08] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8eed38012d19ae4007208f78002e00be29..."} 
[2026-09-10 19:14:08] local.INFO: Packet analysis {"connection_id":176818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:08] local.INFO: Extracted packet for processing {"connection_id":176818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574392,"longitude_deg":75.6657728,"latitude_deg":11.9574392,"altitude":46,"angle":190,"satellites":41,"speed":23,"hex_longitude":"2d19ae40","hex_latitude":"07208f78","is_valid_coordinates":true} 
[2026-09-10 19:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996235264001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19378561727070208,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739581440,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14: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-09-10 19:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789047795000,"timestamp_ms":1789047795000,"timestamp_seconds":1789047795,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8eed38"} 
[2026-09-10 19:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:14: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-09-10 19: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-10 19:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996235264001,"66":12526,"121":206,"28":31744,"24":23,"16":19378561727070208,"45":1850627633739581440},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996235264001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:14:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19378561727070208,"km_value":19378561727070.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739581440,"description":"Unknown IO ID 45"} 
[2026-09-10 19:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996235264001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1850627633739581440}} 
[2026-09-10 19:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":176818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:14:08] local.INFO: GPS data processed {"connection_id":176818,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:14:08] local.INFO: Acknowledgment sent {"connection_id":176818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:14:18] local.INFO: TCP Data received {"connection_id":177979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:14:18] local.INFO: Processing buffer {"connection_id":177979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:14:18] local.INFO: IMEI packet received {"connection_id":177979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":177979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:14:24] local.INFO: TCP Data received {"connection_id":177979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:14:24] local.INFO: Processing buffer {"connection_id":177979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:14:24] local.INFO: IMEI packet received {"connection_id":177979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":177979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:14:24] local.INFO: TCP Data received {"connection_id":177979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8e6c50012cec59c00717ff88002000bd2a..."} 
[2026-09-10 19:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8e6c50012cec59c00717ff88002000bd2a..."} 
[2026-09-10 19:14:24] local.INFO: Processing buffer {"connection_id":177979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8e6c50012cec59c00717ff88002000bd2a..."} 
[2026-09-10 19:14:24] local.INFO: Packet analysis {"connection_id":177979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:24] local.INFO: Extracted packet for processing {"connection_id":177979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:24] local.INFO: GPS Element Parsed {"raw_longitude":753686976,"raw_latitude":119013256,"longitude_deg":75.3686976,"latitude_deg":11.9013256,"altitude":32,"angle":189,"satellites":42,"speed":30,"hex_longitude":"2cec59c0","hex_latitude":"0717ff88","is_valid_coordinates":true} 
[2026-09-10 19:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996224256001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404548003311910912,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413708040059561984,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789047762000,"timestamp_ms":1789047762000,"timestamp_seconds":1789047762,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8e6c50"} 
[2026-09-10 19:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 19:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996224256001,"66":27343,"116":206,"83":41216,"24":30,"16":404548003311910912,"44":-1413708040059561984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-10 19:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996224256001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:14:24] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-10 19:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404548003311910912,"km_value":404548003311910.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:14:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413708040059561984,"description":"Unknown IO ID 44"} 
[2026-09-10 19:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996224256001,"power":27343,"unknown_116":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1413708040059561984}} 
[2026-09-10 19:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":177979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:14:24] local.INFO: GPS data processed {"connection_id":177979,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:14:24] local.INFO: Acknowledgment sent {"connection_id":177979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:14:26] local.INFO: TCP Data received {"connection_id":179349,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:14:26] local.INFO: Processing buffer {"connection_id":179349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:14:26] local.INFO: IMEI packet received {"connection_id":179349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":179349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:14:31] local.INFO: TCP Data received {"connection_id":179349,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:14:31] local.INFO: Processing buffer {"connection_id":179349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:14:31] local.INFO: IMEI packet received {"connection_id":179349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":179349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:14:32] local.INFO: TCP Data received {"connection_id":179349,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8ef120012d19ae4007208d10002e00b029..."} 
[2026-09-10 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8ef120012d19ae4007208d10002e00b029..."} 
[2026-09-10 19:14:32] local.INFO: Processing buffer {"connection_id":179349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8ef120012d19ae4007208d10002e00b029..."} 
[2026-09-10 19:14:32] local.INFO: Packet analysis {"connection_id":179349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:32] local.INFO: Extracted packet for processing {"connection_id":179349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119573776,"longitude_deg":75.6657728,"latitude_deg":11.9573776,"altitude":46,"angle":176,"satellites":41,"speed":25,"hex_longitude":"2d19ae40","hex_latitude":"07208d10","is_valid_coordinates":true} 
[2026-09-10 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996235520001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19378591791841280,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251074560,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789047796000,"timestamp_ms":1789047796000,"timestamp_seconds":1789047796,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8ef120"} 
[2026-09-10 19:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:14: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-09-10 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 19:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996235520001,"66":12526,"121":206,"28":31744,"24":25,"16":19378591791841280,"45":1850486896251074560},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996235520001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:14:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19378591791841280,"km_value":19378591791841.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251074560,"description":"Unknown IO ID 45"} 
[2026-09-10 19:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996235520001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1850486896251074560}} 
[2026-09-10 19:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":179349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:14:32] local.INFO: GPS data processed {"connection_id":179349,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:14:32] local.INFO: Acknowledgment sent {"connection_id":179349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:14:55] local.INFO: TCP Data received {"connection_id":177979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8e9b30012cec54c00717dc10001f00bb2a..."} 
[2026-09-10 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8e9b30012cec54c00717dc10001f00bb2a..."} 
[2026-09-10 19:14:55] local.INFO: Processing buffer {"connection_id":177979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8e9b30012cec54c00717dc10001f00bb2a..."} 
[2026-09-10 19:14:55] local.INFO: Packet analysis {"connection_id":177979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:55] local.INFO: Extracted packet for processing {"connection_id":177979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":753685696,"raw_latitude":119004176,"longitude_deg":75.3685696,"latitude_deg":11.9004176,"altitude":31,"angle":187,"satellites":42,"speed":29,"hex_longitude":"2cec54c0","hex_latitude":"0717dc10","is_valid_coordinates":true} 
[2026-09-10 19:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996227072001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404548445693542400,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415889471131383808,"note":"Value kept but may cause issues"} 
[2026-09-10 19:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789047774000,"timestamp_ms":1789047774000,"timestamp_seconds":1789047774,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8e9b30"} 
[2026-09-10 19:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 19:14:55] 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-09-10 19:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996227072001,"66":27234,"116":206,"83":41216,"24":29,"16":404548445693542400,"44":-1415889471131383808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-10 19:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996227072001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:14:56] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-10 19:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404548445693542400,"km_value":404548445693542.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415889471131383808,"description":"Unknown IO ID 44"} 
[2026-09-10 19:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996227072001,"power":27234,"unknown_116":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1415889471131383808}} 
[2026-09-10 19:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":177979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:14:56] local.INFO: GPS data processed {"connection_id":177979,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:14:56] local.INFO: Acknowledgment sent {"connection_id":177979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:15:04] local.INFO: TCP Data received {"connection_id":179349,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8f00c0012d19b000072083a0002d00a329..."} 
[2026-09-10 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8f00c0012d19b000072083a0002d00a329..."} 
[2026-09-10 19:15:04] local.INFO: Processing buffer {"connection_id":179349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8f00c0012d19b000072083a0002d00a329..."} 
[2026-09-10 19:15:04] local.INFO: Packet analysis {"connection_id":179349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:15:04] local.INFO: Extracted packet for processing {"connection_id":179349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756658176,"raw_latitude":119571360,"longitude_deg":75.6658176,"latitude_deg":11.957136,"altitude":45,"angle":163,"satellites":41,"speed":15,"hex_longitude":"2d19b000","hex_latitude":"072083a0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996235776001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19378712050925568,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250916864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15: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-09-10 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789047800000,"timestamp_ms":1789047800000,"timestamp_seconds":1789047800,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8f00c0"} 
[2026-09-10 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-09-10 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996235776001,"66":12428,"121":206,"28":31744,"24":15,"16":19378712050925568,"45":1850486896250916864},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996235776001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19378712050925568,"km_value":19378712050925.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250916864,"description":"Unknown IO ID 45"} 
[2026-09-10 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996235776001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1850486896250916864}} 
[2026-09-10 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":179349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:15:04] local.INFO: GPS data processed {"connection_id":179349,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:15:04] local.INFO: Acknowledgment sent {"connection_id":179349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:15:18] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:18] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:18] local.INFO: IMEI packet received {"connection_id":177980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":177980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:15:20] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:20] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:20] local.INFO: IMEI packet received {"connection_id":177980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":177980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:15:23] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:23] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:15:23] local.INFO: IMEI packet received {"connection_id":177980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":177980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:15:24] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8ecdf8012cec51400717b6f0002100b62a..."} 
[2026-09-10 19:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8ecdf8012cec51400717b6f0002100b62a..."} 
[2026-09-10 19:15:24] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8ecdf8012cec51400717b6f0002100b62a..."} 
[2026-09-10 19:15:24] local.INFO: Packet analysis {"connection_id":177980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:15:24] local.INFO: Extracted packet for processing {"connection_id":177980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8e"} 
[2026-09-10 19:15:24] local.INFO: GPS Element Parsed {"raw_longitude":753684800,"raw_latitude":118994672,"longitude_deg":75.36848,"latitude_deg":11.8994672,"altitude":33,"angle":182,"satellites":42,"speed":28,"hex_longitude":"2cec5140","hex_latitude":"0717b6f0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996230144001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404548909550010368,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417296846017261568,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789047787000,"timestamp_ms":1789047787000,"timestamp_seconds":1789047787,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8ecdf8"} 
[2026-09-10 19:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:15: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-09-10 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 19:15:24] 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-09-10 19: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-09-10 19:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996230144001,"66":27332,"65":206,"83":41216,"24":28,"16":404548909550010368,"44":-1417296846017261568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-10 19:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996230144001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:15:24] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 19:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404548909550010368,"km_value":404548909550010.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417296846017261568,"description":"Unknown IO ID 44"} 
[2026-09-10 19:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996230144001,"power":27332,"unknown_65":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1417296846017261568}} 
[2026-09-10 19:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":177980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:15:24] local.INFO: GPS data processed {"connection_id":177980,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:15:24] local.INFO: Acknowledgment sent {"connection_id":177980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:15:26] local.INFO: TCP Data received {"connection_id":176599,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:15:26] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:15:26] local.INFO: IMEI packet received {"connection_id":176599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":176599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:15:32] local.INFO: TCP Data received {"connection_id":176599,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:15:32] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:15:32] local.INFO: IMEI packet received {"connection_id":176599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":176599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:15:34] local.INFO: TCP Data received {"connection_id":176599,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8f52c8012d19b040072082a0002c009f29..."} 
[2026-09-10 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8f52c8012d19b040072082a0002c009f29..."} 
[2026-09-10 19:15:34] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8f52c8012d19b040072082a0002c009f29..."} 
[2026-09-10 19:15:34] local.INFO: Packet analysis {"connection_id":176599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:15:34] local.INFO: Extracted packet for processing {"connection_id":176599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119571104,"longitude_deg":75.665824,"latitude_deg":11.9571104,"altitude":44,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d19b040","hex_latitude":"072082a0","is_valid_coordinates":true} 
[2026-09-10 19:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996236800001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19378733525762048,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850979477459542016,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789047821000,"timestamp_ms":1789047821000,"timestamp_seconds":1789047821,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8f52c8"} 
[2026-09-10 19:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 19:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996236800001,"66":12461,"121":206,"28":31744,"24":0,"16":19378733525762048,"45":1850979477459542016},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996236800001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:15:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:15:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19378733525762048,"km_value":19378733525762.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850979477459542016,"description":"Unknown IO ID 45"} 
[2026-09-10 19:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996236800001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1850979477459542016}} 
[2026-09-10 19:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":176599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:15:34] local.INFO: GPS data processed {"connection_id":176599,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:15:34] local.INFO: Acknowledgment sent {"connection_id":176599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:15:55] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8f00c0012cec4fc0071793e8001f00b72a..."} 
[2026-09-10 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8f00c0012cec4fc0071793e8001f00b72a..."} 
[2026-09-10 19:15:55] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8f00c0012cec4fc0071793e8001f00b72a..."} 
[2026-09-10 19:15:55] local.INFO: Packet analysis {"connection_id":177980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:15:55] local.INFO: Extracted packet for processing {"connection_id":177980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":753684416,"raw_latitude":118985704,"longitude_deg":75.3684416,"latitude_deg":11.8985704,"altitude":31,"angle":183,"satellites":42,"speed":29,"hex_longitude":"2cec4fc0","hex_latitude":"071793e8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996233472001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404549347636674560,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418282008438181888,"note":"Value kept but may cause issues"} 
[2026-09-10 19:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789047800000,"timestamp_ms":1789047800000,"timestamp_seconds":1789047800,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8f00c0"} 
[2026-09-10 19:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 19:15:55] 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-09-10 19: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-09-10 19:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996233472001,"66":27267,"65":206,"83":41216,"24":29,"16":404549347636674560,"44":-1418282008438181888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-10 19:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996233472001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:15:55] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 19:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404549347636674560,"km_value":404549347636674.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418282008438181888,"description":"Unknown IO ID 44"} 
[2026-09-10 19:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996233472001,"power":27267,"unknown_65":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1418282008438181888}} 
[2026-09-10 19:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":177980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:15:55] local.INFO: GPS data processed {"connection_id":177980,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:15:55] local.INFO: Acknowledgment sent {"connection_id":177980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:16:05] local.INFO: TCP Data received {"connection_id":176599,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8fa4d0012d19b040072082a0002c009f23..."} 
[2026-09-10 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8fa4d0012d19b040072082a0002c009f23..."} 
[2026-09-10 19:16:05] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8fa4d0012d19b040072082a0002c009f23..."} 
[2026-09-10 19:16:05] local.INFO: Packet analysis {"connection_id":176599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:05] local.INFO: Extracted packet for processing {"connection_id":176599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119571104,"longitude_deg":75.665824,"latitude_deg":11.9571104,"altitude":44,"angle":159,"satellites":35,"speed":0,"hex_longitude":"2d19b040","hex_latitude":"072082a0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996242176001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19378733525762048,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846203654144,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16: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-09-10 19:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789047842000,"timestamp_ms":1789047842000,"timestamp_seconds":1789047842,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8fa4d0"} 
[2026-09-10 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-09-10 19:16: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-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996242176001,"66":12428,"121":206,"28":31744,"24":0,"16":19378733525762048,"45":1851049846203654144},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996242176001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19378733525762048,"km_value":19378733525762.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846203654144,"description":"Unknown IO ID 45"} 
[2026-09-10 19:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996242176001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1851049846203654144}} 
[2026-09-10 19:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":176599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:16:05] local.INFO: GPS data processed {"connection_id":176599,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:16:05] local.INFO: Acknowledgment sent {"connection_id":176599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:16:18] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:16:18] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:16:18] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:16:23] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:16:23] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:16:23] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:16:24] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8f2bb8012cec4dc007177028001e00b32c..."} 
[2026-09-10 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8f2bb8012cec4dc007177028001e00b32c..."} 
[2026-09-10 19:16:24] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8f2bb8012cec4dc007177028001e00b32c..."} 
[2026-09-10 19:16:24] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:24] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:24] local.INFO: GPS Element Parsed {"raw_longitude":753683904,"raw_latitude":118976552,"longitude_deg":75.3683904,"latitude_deg":11.8976552,"altitude":30,"angle":179,"satellites":44,"speed":29,"hex_longitude":"2cec4dc0","hex_latitude":"07177028","is_valid_coordinates":true} 
[2026-09-10 19:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996236800001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404549790018306048,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418704220905543680,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789047811000,"timestamp_ms":1789047811000,"timestamp_seconds":1789047811,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8f2bb8"} 
[2026-09-10 19:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 19:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996236800001,"66":27321,"65":206,"83":41216,"24":29,"16":404549790018306048,"44":-1418704220905543680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-10 19:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996236800001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:16:24] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 19:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404549790018306048,"km_value":404549790018306.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:16:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418704220905543680,"description":"Unknown IO ID 44"} 
[2026-09-10 19:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996236800001,"power":27321,"unknown_65":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1418704220905543680}} 
[2026-09-10 19:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:16:24] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:16:24] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:16:26] local.INFO: TCP Data received {"connection_id":176820,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:26] local.INFO: Processing buffer {"connection_id":176820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:26] local.INFO: IMEI packet received {"connection_id":176820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":176820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:16:27] local.INFO: TCP Data received {"connection_id":176820,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:27] local.INFO: Processing buffer {"connection_id":176820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:27] local.INFO: IMEI packet received {"connection_id":176820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":176820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:16:31] local.INFO: TCP Data received {"connection_id":176820,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:31] local.INFO: Processing buffer {"connection_id":176820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:16:31] local.INFO: IMEI packet received {"connection_id":176820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":176820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:16:32] local.INFO: TCP Data received {"connection_id":176820,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8ff6d8012d19b040072082a0002c009f26..."} 
[2026-09-10 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8ff6d8012d19b040072082a0002c009f26..."} 
[2026-09-10 19:16:32] local.INFO: Processing buffer {"connection_id":176820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8ff6d8012d19b040072082a0002c009f26..."} 
[2026-09-10 19:16:32] local.INFO: Packet analysis {"connection_id":176820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:32] local.INFO: Extracted packet for processing {"connection_id":176820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119571104,"longitude_deg":75.665824,"latitude_deg":11.9571104,"altitude":44,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d19b040","hex_latitude":"072082a0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996247552001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19378733525762048,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846203654144,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789047863000,"timestamp_ms":1789047863000,"timestamp_seconds":1789047863,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8ff6d8"} 
[2026-09-10 19:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:16: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-09-10 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-10 19:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996247552001,"66":12341,"121":206,"28":31744,"24":0,"16":19378733525762048,"45":1851049846203654144},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996247552001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:16:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19378733525762048,"km_value":19378733525762.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846203654144,"description":"Unknown IO ID 45"} 
[2026-09-10 19:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996247552001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1851049846203654144}} 
[2026-09-10 19:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":176820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:16:32] local.INFO: GPS data processed {"connection_id":176820,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:16:32] local.INFO: Acknowledgment sent {"connection_id":176820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:16:54] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b8f6268012cec4cc0071758f8001e00bf27..."} 
[2026-09-10 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b8f6268012cec4cc0071758f8001e00bf27..."} 
[2026-09-10 19:16:54] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b8f6268012cec4cc0071758f8001e00bf27..."} 
[2026-09-10 19:16:54] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:54] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b8f"} 
[2026-09-10 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":753683648,"raw_latitude":118970616,"longitude_deg":75.3683648,"latitude_deg":11.8970616,"altitude":30,"angle":191,"satellites":39,"speed":15,"hex_longitude":"2cec4cc0","hex_latitude":"071758f8","is_valid_coordinates":true} 
[2026-09-10 19:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996239616001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404550082076082176,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419267170861307904,"note":"Value kept but may cause issues"} 
[2026-09-10 19:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789047825000,"timestamp_ms":1789047825000,"timestamp_seconds":1789047825,"priority":1,"record_length":96,"hex_timestamp":"000001a08b8f6268"} 
[2026-09-10 19:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:16:54] 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-09-10 19:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996239616001,"66":27213,"65":206,"83":41216,"24":15,"16":404550082076082176,"44":-1419267170861307904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-10 19:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996239616001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:16:54] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 19:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404550082076082176,"km_value":404550082076082.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419267170861307904,"description":"Unknown IO ID 44"} 
[2026-09-10 19:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996239616001,"power":27213,"unknown_65":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1419267170861307904}} 
[2026-09-10 19:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:16:55] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:16:55] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:17:04] local.INFO: TCP Data received {"connection_id":176820,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9048e0012d19b040072082a0002c009f2a..."} 
[2026-09-10 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9048e0012d19b040072082a0002c009f2a..."} 
[2026-09-10 19:17:04] local.INFO: Processing buffer {"connection_id":176820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9048e0012d19b040072082a0002c009f2a..."} 
[2026-09-10 19:17:04] local.INFO: Packet analysis {"connection_id":176820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b90"} 
[2026-09-10 19:17:04] local.INFO: Extracted packet for processing {"connection_id":176820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b90"} 
[2026-09-10 19:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119571104,"longitude_deg":75.665824,"latitude_deg":11.9571104,"altitude":44,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d19b040","hex_latitude":"072082a0","is_valid_coordinates":true} 
[2026-09-10 19:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996252928001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19378733525762048,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846203654144,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17: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-09-10 19:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789047884000,"timestamp_ms":1789047884000,"timestamp_seconds":1789047884,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9048e0"} 
[2026-09-10 19:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 19:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996252928001,"66":12591,"121":206,"28":31744,"24":0,"16":19378733525762048,"45":1851049846203654144},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996252928001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:17:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:17:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19378733525762048,"km_value":19378733525762.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846203654144,"description":"Unknown IO ID 45"} 
[2026-09-10 19:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996252928001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1851049846203654144}} 
[2026-09-10 19:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":176820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:17:04] local.INFO: GPS data processed {"connection_id":176820,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:17:04] local.INFO: Acknowledgment sent {"connection_id":176820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:17:18] local.INFO: TCP Data received {"connection_id":177981,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:18] local.INFO: Processing buffer {"connection_id":177981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:18] local.INFO: IMEI packet received {"connection_id":177981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":177981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:17:25] local.INFO: TCP Data received {"connection_id":177981,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:25] local.INFO: Processing buffer {"connection_id":177981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:25] local.INFO: IMEI packet received {"connection_id":177981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":177981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:17:32] local.INFO: TCP Data received {"connection_id":177981,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:32] local.INFO: Processing buffer {"connection_id":177981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:17:32] local.INFO: IMEI packet received {"connection_id":177981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":177981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:17:33] local.INFO: TCP Data received {"connection_id":177981,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b918930012ceca7c0071611100016008c2c..."} 
[2026-09-10 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b918930012ceca7c0071611100016008c2c..."} 
[2026-09-10 19:17:33] local.INFO: Processing buffer {"connection_id":177981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b918930012ceca7c0071611100016008c2c..."} 
[2026-09-10 19:17:33] local.INFO: Packet analysis {"connection_id":177981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b91"} 
[2026-09-10 19:17:33] local.INFO: Extracted packet for processing {"connection_id":177981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b91"} 
[2026-09-10 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":753706944,"raw_latitude":118886672,"longitude_deg":75.3706944,"latitude_deg":11.8886672,"altitude":22,"angle":140,"satellites":44,"speed":20,"hex_longitude":"2ceca7c0","hex_latitude":"07161110","is_valid_coordinates":true} 
[2026-09-10 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996275200001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404554432877953024,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400126872466214912,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789047966000,"timestamp_ms":1789047966000,"timestamp_seconds":1789047966,"priority":1,"record_length":96,"hex_timestamp":"000001a08b918930"} 
[2026-09-10 19:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19: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-09-10 19:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:17: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-09-10 19:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996275200001,"66":27376,"192":206,"83":41216,"24":20,"16":404554432877953024,"44":-1400126872466214912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 19:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996275200001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404554432877953024,"km_value":404554432877953.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400126872466214912,"description":"Unknown IO ID 44"} 
[2026-09-10 19:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996275200001,"power":27376,"unknown_192":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1400126872466214912}} 
[2026-09-10 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":177981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:17:33] local.INFO: GPS data processed {"connection_id":177981,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:17:33] local.INFO: Acknowledgment sent {"connection_id":177981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:17:33] local.INFO: TCP Data received {"connection_id":177981,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b91bbf8012cecbd000715f340001700952d..."} 
[2026-09-10 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b91bbf8012cecbd000715f340001700952d..."} 
[2026-09-10 19:17:33] local.INFO: Processing buffer {"connection_id":177981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b91bbf8012cecbd000715f340001700952d..."} 
[2026-09-10 19:17:33] local.INFO: Packet analysis {"connection_id":177981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b91"} 
[2026-09-10 19:17:33] local.INFO: Extracted packet for processing {"connection_id":177981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b91"} 
[2026-09-10 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":753712384,"raw_latitude":118879040,"longitude_deg":75.3712384,"latitude_deg":11.887904,"altitude":23,"angle":149,"satellites":45,"speed":32,"hex_longitude":"2cecbd00","hex_latitude":"0715f340","is_valid_coordinates":true} 
[2026-09-10 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996279296001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404554883849519104,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1393934422980358144,"note":"Value kept but may cause issues"} 
[2026-09-10 19:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789047979000,"timestamp_ms":1789047979000,"timestamp_seconds":1789047979,"priority":1,"record_length":96,"hex_timestamp":"000001a08b91bbf8"} 
[2026-09-10 19:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:17: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-09-10 19:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:17: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-09-10 19:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996279296001,"66":27234,"192":206,"83":41216,"24":32,"16":404554883849519104,"44":-1393934422980358144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 19:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996279296001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404554883849519104,"km_value":404554883849519.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:17:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1393934422980358144,"description":"Unknown IO ID 44"} 
[2026-09-10 19:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996279296001,"power":27234,"unknown_192":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1393934422980358144}} 
[2026-09-10 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":177981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:17:33] local.INFO: GPS data processed {"connection_id":177981,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:17:33] local.INFO: Acknowledgment sent {"connection_id":177981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:17:58] local.INFO: TCP Data received {"connection_id":176822,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:17:58] local.INFO: Processing buffer {"connection_id":176822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:17:58] local.INFO: IMEI packet received {"connection_id":176822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":176822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:18:18] local.INFO: TCP Data received {"connection_id":179350,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:18:18] local.INFO: Processing buffer {"connection_id":179350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:18:18] local.INFO: IMEI packet received {"connection_id":179350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":179350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:18:19] local.INFO: TCP Data received {"connection_id":177982,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:18:19] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:18:19] local.INFO: IMEI packet received {"connection_id":177982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":177982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:18:23] local.INFO: TCP Data received {"connection_id":179350,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:18:23] local.INFO: Processing buffer {"connection_id":179350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:18:23] local.INFO: IMEI packet received {"connection_id":179350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":179350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:18:24] local.INFO: TCP Data received {"connection_id":179350,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b91ead8012cecce400715d1d00018009d2c..."} 
[2026-09-10 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b91ead8012cecce400715d1d00018009d2c..."} 
[2026-09-10 19:18:24] local.INFO: Processing buffer {"connection_id":179350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b91ead8012cecce400715d1d00018009d2c..."} 
[2026-09-10 19:18:24] local.INFO: Packet analysis {"connection_id":179350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b91"} 
[2026-09-10 19:18:24] local.INFO: Extracted packet for processing {"connection_id":179350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b91"} 
[2026-09-10 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":753716800,"raw_latitude":118870480,"longitude_deg":75.37168,"latitude_deg":11.887048,"altitude":24,"angle":157,"satellites":44,"speed":29,"hex_longitude":"2cecce40","hex_latitude":"0715d1d0","is_valid_coordinates":true} 
[2026-09-10 19:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996282624001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404555347705987072,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387953079727210496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789047991000,"timestamp_ms":1789047991000,"timestamp_seconds":1789047991,"priority":1,"record_length":96,"hex_timestamp":"000001a08b91ead8"} 
[2026-09-10 19:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 19:18:24] 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-09-10 19: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-09-10 19:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996282624001,"66":26767,"192":206,"83":41216,"24":29,"16":404555347705987072,"44":-1387953079727210496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 19:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996282624001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:18:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 19:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404555347705987072,"km_value":404555347705987.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:18:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387953079727210496,"description":"Unknown IO ID 44"} 
[2026-09-10 19:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996282624001,"power":26767,"unknown_192":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1387953079727210496}} 
[2026-09-10 19:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":179350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:18:24] local.INFO: GPS data processed {"connection_id":179350,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:18:24] local.INFO: Acknowledgment sent {"connection_id":179350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:18:27] local.INFO: TCP Data received {"connection_id":177982,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:18:27] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:18:27] local.INFO: IMEI packet received {"connection_id":177982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":177982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:18:36] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:18:36] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:18:36] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:18:39] local.INFO: TCP Data received {"connection_id":177982,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b928ee8012d19c580071ff130002f010624..."} 
[2026-09-10 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b928ee8012d19c580071ff130002f010624..."} 
[2026-09-10 19:18:39] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b928ee8012d19c580071ff130002f010624..."} 
[2026-09-10 19:18:39] local.INFO: Packet analysis {"connection_id":177982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:18:39] local.INFO: Extracted packet for processing {"connection_id":177982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119533872,"longitude_deg":75.666368,"latitude_deg":11.9533872,"altitude":47,"angle":262,"satellites":36,"speed":15,"hex_longitude":"2d19c580","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996295680001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19380872419475456,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867770880,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18: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-09-10 19:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789048033000,"timestamp_ms":1789048033000,"timestamp_seconds":1789048033,"priority":1,"record_length":96,"hex_timestamp":"000001a08b928ee8"} 
[2026-09-10 19:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":36,"data_length":795,"current_offset":136} 
[2026-09-10 19:18:39] 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-09-10 19: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-09-10 19:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996295680001,"66":12558,"121":206,"28":31744,"24":15,"16":19380872419475456,"45":1858016351867770880},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996295680001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:18:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19380872419475456,"km_value":19380872419475.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867770880,"description":"Unknown IO ID 45"} 
[2026-09-10 19:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996295680001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1858016351867770880}} 
[2026-09-10 19:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":177982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:18:39] local.INFO: GPS data processed {"connection_id":177982,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:18:39] local.INFO: Acknowledgment sent {"connection_id":177982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:18:40] local.INFO: TCP Data received {"connection_id":177982,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b92b9e0012d19afc0071fef700030011724..."} 
[2026-09-10 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b92b9e0012d19afc0071fef700030011724..."} 
[2026-09-10 19:18:40] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b92b9e0012d19afc0071fef700030011724..."} 
[2026-09-10 19:18:40] local.INFO: Packet analysis {"connection_id":177982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:18:40] local.INFO: Extracted packet for processing {"connection_id":177982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119533424,"longitude_deg":75.6658112,"latitude_deg":11.9533424,"altitude":48,"angle":279,"satellites":36,"speed":19,"hex_longitude":"2d19afc0","hex_latitude":"071fef70","is_valid_coordinates":true} 
[2026-09-10 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996296448001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381138707447808,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189449224192,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18: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-09-10 19:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789048044000,"timestamp_ms":1789048044000,"timestamp_seconds":1789048044,"priority":1,"record_length":96,"hex_timestamp":"000001a08b92b9e0"} 
[2026-09-10 19:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2341618864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249873522459150392,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2456791041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4147642413,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3666739200,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":18,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633254170626,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,218,160,131,45,242,46,39,10,66,127,123,192,1,240,14,139,31,4,113,205,17,88,214,112,239,49,2,68,7,43,18,231,93,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:18:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386995146448896000,"timestamp_seconds":3386995146448896,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996296448001,"66":12504,"121":206,"28":31744,"24":19,"16":19381138707447808,"45":1857031189449224192},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996296448001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:18:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381138707447808,"km_value":19381138707447.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189449224192,"description":"Unknown IO ID 45"} 
[2026-09-10 19:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996296448001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1857031189449224192}} 
[2026-09-10 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":177982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:18:40] local.INFO: GPS data processed {"connection_id":177982,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:18:40] local.INFO: Acknowledgment sent {"connection_id":177982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:18:56] local.INFO: TCP Data received {"connection_id":179350,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9219b8012cecdc800715af380018009a2b..."} 
[2026-09-10 19:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9219b8012cecdc800715af380018009a2b..."} 
[2026-09-10 19:18:56] local.INFO: Processing buffer {"connection_id":179350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9219b8012cecdc800715af380018009a2b..."} 
[2026-09-10 19:18:56] local.INFO: Packet analysis {"connection_id":179350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:18:56] local.INFO: Extracted packet for processing {"connection_id":179350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:18:56] local.INFO: GPS Element Parsed {"raw_longitude":753720448,"raw_latitude":118861624,"longitude_deg":75.3720448,"latitude_deg":11.8861624,"altitude":24,"angle":154,"satellites":43,"speed":29,"hex_longitude":"2cecdc80","hex_latitude":"0715af38","is_valid_coordinates":true} 
[2026-09-10 19:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996285696001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404555811562455040,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1383097636381143040,"note":"Value kept but may cause issues"} 
[2026-09-10 19:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789048003000,"timestamp_ms":1789048003000,"timestamp_seconds":1789048003,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9219b8"} 
[2026-09-10 19:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-09-10 19:18:56] 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-09-10 19:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996285696001,"66":27234,"192":206,"83":41216,"24":29,"16":404555811562455040,"44":-1383097636381143040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 19:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996285696001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:18:56] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 19:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404555811562455040,"km_value":404555811562455.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1383097636381143040,"description":"Unknown IO ID 44"} 
[2026-09-10 19:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996285696001,"power":27234,"unknown_192":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1383097636381143040}} 
[2026-09-10 19:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":179350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:18:56] local.INFO: GPS data processed {"connection_id":179350,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:18:56] local.INFO: Acknowledgment sent {"connection_id":179350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:19:22] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:22] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:22] local.INFO: IMEI packet received {"connection_id":176823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":176823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:19:23] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:23] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:23] local.INFO: IMEI packet received {"connection_id":176823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":176823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:19:26] local.INFO: TCP Data received {"connection_id":176602,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:19:26] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:19:26] local.INFO: IMEI packet received {"connection_id":176602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":176602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:19:28] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:28] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:19:28] local.INFO: IMEI packet received {"connection_id":176823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":176823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:19:29] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b925c20012ceceb0007158f30001800962d..."} 
[2026-09-10 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b925c20012ceceb0007158f30001800962d..."} 
[2026-09-10 19:19:29] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b925c20012ceceb0007158f30001800962d..."} 
[2026-09-10 19:19:29] local.INFO: Packet analysis {"connection_id":176823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:19:29] local.INFO: Extracted packet for processing {"connection_id":176823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:19:29] local.INFO: GPS Element Parsed {"raw_longitude":753724160,"raw_latitude":118853424,"longitude_deg":75.372416,"latitude_deg":11.8853424,"altitude":24,"angle":150,"satellites":45,"speed":17,"hex_longitude":"2ceceb00","hex_latitude":"07158f30","is_valid_coordinates":true} 
[2026-09-10 19:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996288768001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404556245354151936,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1379086617965283328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789048020000,"timestamp_ms":1789048020000,"timestamp_seconds":1789048020,"priority":1,"record_length":96,"hex_timestamp":"000001a08b925c20"} 
[2026-09-10 19:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:19: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-09-10 19:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 19:19: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-09-10 19:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:19: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-09-10 19:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996288768001,"66":27234,"192":206,"83":41216,"24":17,"16":404556245354151936,"44":-1379086617965283328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 19:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996288768001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:19:29] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 19:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404556245354151936,"km_value":404556245354151.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1379086617965283328,"description":"Unknown IO ID 44"} 
[2026-09-10 19:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996288768001,"power":27234,"unknown_192":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1379086617965283328}} 
[2026-09-10 19:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":176823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:19:29] local.INFO: GPS data processed {"connection_id":176823,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:19:29] local.INFO: Acknowledgment sent {"connection_id":176823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:19:31] local.INFO: TCP Data received {"connection_id":176602,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:19:31] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:19:31] local.INFO: IMEI packet received {"connection_id":176602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":176602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:19:32] local.INFO: TCP Data received {"connection_id":176602,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b93ded8012d198440071ff048003600f829..."} 
[2026-09-10 19:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b93ded8012d198440071ff048003600f829..."} 
[2026-09-10 19:19:32] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b93ded8012d198440071ff048003600f829..."} 
[2026-09-10 19:19:32] local.INFO: Packet analysis {"connection_id":176602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b93"} 
[2026-09-10 19:19:32] local.INFO: Extracted packet for processing {"connection_id":176602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b93"} 
[2026-09-10 19:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533640,"longitude_deg":75.6646976,"latitude_deg":11.953364,"altitude":54,"angle":248,"satellites":41,"speed":14,"hex_longitude":"2d198440","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996318208001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381688463261696,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839087159683889152,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048119000,"timestamp_ms":1789048119000,"timestamp_seconds":1789048119,"priority":1,"record_length":96,"hex_timestamp":"000001a08b93ded8"} 
[2026-09-10 19:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:19: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-09-10 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 19:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996318208001,"66":13330,"121":206,"28":31744,"24":14,"16":19381688463261696,"45":1839087159683889152},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996318208001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:19:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:19:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381688463261696,"km_value":19381688463261.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839087159683889152,"description":"Unknown IO ID 45"} 
[2026-09-10 19:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996318208001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1839087159683889152}} 
[2026-09-10 19:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":176602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:19:32] local.INFO: GPS data processed {"connection_id":176602,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:19:32] local.INFO: Acknowledgment sent {"connection_id":176602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:19:34] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b92a658012cecfe80071571f0001800982e..."} 
[2026-09-10 19:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b92a658012cecfe80071571f0001800982e..."} 
[2026-09-10 19:19:34] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b92a658012cecfe80071571f0001800982e..."} 
[2026-09-10 19:19:34] local.INFO: Packet analysis {"connection_id":176823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:19:34] local.INFO: Extracted packet for processing {"connection_id":176823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:19:34] local.INFO: GPS Element Parsed {"raw_longitude":753729152,"raw_latitude":118845936,"longitude_deg":75.3729152,"latitude_deg":11.8845936,"altitude":24,"angle":152,"satellites":46,"speed":22,"hex_longitude":"2cecfe80","hex_latitude":"071571f0","is_valid_coordinates":true} 
[2026-09-10 19:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996293120001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404556683440816128,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375005230805078016,"note":"Value kept but may cause issues"} 
[2026-09-10 19:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789048039000,"timestamp_ms":1789048039000,"timestamp_seconds":1789048039,"priority":1,"record_length":96,"hex_timestamp":"000001a08b92a658"} 
[2026-09-10 19:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 19:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:19: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-09-10 19:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996293120001,"66":27376,"192":206,"83":41216,"24":22,"16":404556683440816128,"44":-1375005230805078016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 19:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996293120001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:19:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 19:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404556683440816128,"km_value":404556683440816.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375005230805078016,"description":"Unknown IO ID 44"} 
[2026-09-10 19:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996293120001,"power":27376,"unknown_192":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1375005230805078016}} 
[2026-09-10 19:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":176823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:19:34] local.INFO: GPS data processed {"connection_id":176823,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:19:34] local.INFO: Acknowledgment sent {"connection_id":176823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:20:04] local.INFO: TCP Data received {"connection_id":176602,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b93e2c0012d198300071fef98003600e729..."} 
[2026-09-10 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b93e2c0012d198300071fef98003600e729..."} 
[2026-09-10 19:20:04] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b93e2c0012d198300071fef98003600e729..."} 
[2026-09-10 19:20:04] local.INFO: Packet analysis {"connection_id":176602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b93"} 
[2026-09-10 19:20:04] local.INFO: Extracted packet for processing {"connection_id":176602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b93"} 
[2026-09-10 19:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756646656,"raw_latitude":119533464,"longitude_deg":75.6646656,"latitude_deg":11.9533464,"altitude":54,"angle":231,"satellites":41,"speed":13,"hex_longitude":"2d198300","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-09-10 19:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996318464001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381705643130880,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218794496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20: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-09-10 19:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789048120000,"timestamp_ms":1789048120000,"timestamp_seconds":1789048120,"priority":1,"record_length":96,"hex_timestamp":"000001a08b93e2c0"} 
[2026-09-10 19:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2341678864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249808926151012784,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2475223041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1076360091883068928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931367,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3677683712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":18,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-2519762698298490873,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":9,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,219,160,218,45,192,240,54,41,10,66,144,64,239,52,37,140,1,173,139,31,4,113,205,3,129,162,36,48,2,68,7,18,146,9,231,93],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:20:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891382933026373632,"timestamp_seconds":3891382933026373.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996318464001,"66":13330,"121":206,"28":31744,"24":13,"16":19381705643130880,"45":1838664947218794496},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996318464001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:20:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381705643130880,"km_value":19381705643130.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218794496,"description":"Unknown IO ID 45"} 
[2026-09-10 19:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996318464001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1838664947218794496}} 
[2026-09-10 19:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":176602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:20:04] local.INFO: GPS data processed {"connection_id":176602,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:20:04] local.INFO: Acknowledgment sent {"connection_id":176602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:20:16] local.INFO: TCP Data received {"connection_id":177984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:16] local.INFO: Processing buffer {"connection_id":177984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:16] local.INFO: IMEI packet received {"connection_id":177984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":177984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:20:18] local.INFO: TCP Data received {"connection_id":177984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:18] local.INFO: Processing buffer {"connection_id":177984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:18] local.INFO: IMEI packet received {"connection_id":177984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":177984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:20:23] local.INFO: TCP Data received {"connection_id":177984,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:24] local.INFO: Processing buffer {"connection_id":177984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:20:24] local.INFO: IMEI packet received {"connection_id":177984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":177984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:20:24] local.INFO: TCP Data received {"connection_id":177984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b92eca8012ced0d80071551d80016009e2d..."} 
[2026-09-10 19:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b92eca8012ced0d80071551d80016009e2d..."} 
[2026-09-10 19:20:24] local.INFO: Processing buffer {"connection_id":177984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b92eca8012ced0d80071551d80016009e2d..."} 
[2026-09-10 19:20:24] local.INFO: Packet analysis {"connection_id":177984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:20:24] local.INFO: Extracted packet for processing {"connection_id":177984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b92"} 
[2026-09-10 19:20:24] local.INFO: GPS Element Parsed {"raw_longitude":753732992,"raw_latitude":118837720,"longitude_deg":75.3732992,"latitude_deg":11.883772,"altitude":22,"angle":158,"satellites":45,"speed":18,"hex_longitude":"2ced0d80","hex_latitude":"071551d8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996297984001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404557121527480320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1369516468761137152,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789048057000,"timestamp_ms":1789048057000,"timestamp_seconds":1789048057,"priority":1,"record_length":96,"hex_timestamp":"000001a08b92eca8"} 
[2026-09-10 19:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:20:24] 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-09-10 19: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-09-10 19:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996297984001,"66":27234,"192":206,"83":41216,"24":18,"16":404557121527480320,"44":-1369516468761137152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-10 19:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996297984001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:20:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 19:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404557121527480320,"km_value":404557121527480.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:20:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1369516468761137152,"description":"Unknown IO ID 44"} 
[2026-09-10 19:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996297984001,"power":27234,"unknown_192":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1369516468761137152}} 
[2026-09-10 19:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":177984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:20:24] local.INFO: GPS data processed {"connection_id":177984,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:20:24] local.INFO: Acknowledgment sent {"connection_id":177984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:20:26] local.INFO: TCP Data received {"connection_id":176824,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:26] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:26] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:20:28] local.INFO: TCP Data received {"connection_id":176824,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:28] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:28] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:20:29] local.INFO: TCP Data received {"connection_id":176824,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:29] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:29] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:20:31] local.INFO: TCP Data received {"connection_id":176824,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:31] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:20:31] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:20:32] local.INFO: TCP Data received {"connection_id":176824,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b93ea90012d198140071fedd8003500d529..."} 
[2026-09-10 19:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b93ea90012d198140071fedd8003500d529..."} 
[2026-09-10 19:20:32] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b93ea90012d198140071fedd8003500d529..."} 
[2026-09-10 19:20:32] local.INFO: Packet analysis {"connection_id":176824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b93"} 
[2026-09-10 19:20:32] local.INFO: Extracted packet for processing {"connection_id":176824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b93"} 
[2026-09-10 19:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756646208,"raw_latitude":119533016,"longitude_deg":75.6646208,"latitude_deg":11.9533016,"altitude":53,"angle":213,"satellites":41,"speed":10,"hex_longitude":"2d198140","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996318720001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381735707901952,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497861120,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048122000,"timestamp_ms":1789048122000,"timestamp_seconds":1789048122,"priority":1,"record_length":96,"hex_timestamp":"000001a08b93ea90"} 
[2026-09-10 19:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:20: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-09-10 19: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2341699864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249808376395198736,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2475479041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1170935679763143424,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2147950575,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3677880320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":216,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3391211812625203207,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:32] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,219,160,222,45,64,240,54,41,10,66,218,192,144,1,97,139,31,4,113,205,136,161,96,36,239,48,2,68,7,52,216,147,231,93],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:20:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891364241328635904,"timestamp_seconds":3891364241328636.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996318720001,"66":13243,"121":206,"28":31744,"24":10,"16":19381735707901952,"45":1838313103497861120},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996318720001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:20:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381735707901952,"km_value":19381735707901.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497861120,"description":"Unknown IO ID 45"} 
[2026-09-10 19:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996318720001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1838313103497861120}} 
[2026-09-10 19:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":176824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:20:32] local.INFO: GPS data processed {"connection_id":176824,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:20:32] local.INFO: Acknowledgment sent {"connection_id":176824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:20:56] local.INFO: TCP Data received {"connection_id":177984,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9532b0012ced2c80071403380018008a2d..."} 
[2026-09-10 19:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9532b0012ced2c80071403380018008a2d..."} 
[2026-09-10 19:20:56] local.INFO: Processing buffer {"connection_id":177984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9532b0012ced2c80071403380018008a2d..."} 
[2026-09-10 19:20:56] local.INFO: Packet analysis {"connection_id":177984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:20:56] local.INFO: Extracted packet for processing {"connection_id":177984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:20:56] local.INFO: GPS Element Parsed {"raw_longitude":753740928,"raw_latitude":118752056,"longitude_deg":75.3740928,"latitude_deg":11.8752056,"altitude":24,"angle":138,"satellites":45,"speed":28,"hex_longitude":"2ced2c80","hex_latitude":"07140338","is_valid_coordinates":true} 
[2026-09-10 19:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996339456001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404561472329351168,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358609313436913664,"note":"Value kept but may cause issues"} 
[2026-09-10 19:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789048206000,"timestamp_ms":1789048206000,"timestamp_seconds":1789048206,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9532b0"} 
[2026-09-10 19:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 19:20:56] 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-09-10 19:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996339456001,"66":27365,"193":206,"83":41216,"24":28,"16":404561472329351168,"44":-1358609313436913664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-10 19:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996339456001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:20:56] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-10 19:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404561472329351168,"km_value":404561472329351.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358609313436913664,"description":"Unknown IO ID 44"} 
[2026-09-10 19:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996339456001,"power":27365,"unknown_193":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1358609313436913664}} 
[2026-09-10 19:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":177984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:20:56] local.INFO: GPS data processed {"connection_id":177984,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:20:56] local.INFO: Acknowledgment sent {"connection_id":177984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:21:03] local.INFO: TCP Data received {"connection_id":176824,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b943c98012d197fc0071fec80003600dd27..."} 
[2026-09-10 19:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b943c98012d197fc0071fec80003600dd27..."} 
[2026-09-10 19:21:03] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b943c98012d197fc0071fec80003600dd27..."} 
[2026-09-10 19:21:03] local.INFO: Packet analysis {"connection_id":176824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:21:03] local.INFO: Extracted packet for processing {"connection_id":176824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756645824,"raw_latitude":119532672,"longitude_deg":75.6645824,"latitude_deg":11.9532672,"altitude":54,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d197fc0","hex_latitude":"071fec80","is_valid_coordinates":true} 
[2026-09-10 19:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996319232001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381761477705728,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837820522288502784,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789048143000,"timestamp_ms":1789048143000,"timestamp_seconds":1789048143,"priority":1,"record_length":96,"hex_timestamp":"000001a08b943c98"} 
[2026-09-10 19:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-10 19:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996319232001,"66":13450,"121":206,"28":31744,"24":0,"16":19381761477705728,"45":1837820522288502784},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996319232001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:21:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381761477705728,"km_value":19381761477705.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837820522288502784,"description":"Unknown IO ID 45"} 
[2026-09-10 19:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996319232001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837820522288502784}} 
[2026-09-10 19:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":176824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:21:04] local.INFO: GPS data processed {"connection_id":176824,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:21:04] local.INFO: Acknowledgment sent {"connection_id":176824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:21:16] local.INFO: TCP Data received {"connection_id":179352,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:16] local.INFO: Processing buffer {"connection_id":179352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:16] local.INFO: IMEI packet received {"connection_id":179352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":179352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:21:18] local.INFO: TCP Data received {"connection_id":179352,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:18] local.INFO: Processing buffer {"connection_id":179352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:18] local.INFO: IMEI packet received {"connection_id":179352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":179352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:21:23] local.INFO: TCP Data received {"connection_id":179352,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:23] local.INFO: Processing buffer {"connection_id":179352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:21:23] local.INFO: IMEI packet received {"connection_id":179352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":179352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:21:24] local.INFO: TCP Data received {"connection_id":179352,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b954638012ced37000713f9e8001800772e..."} 
[2026-09-10 19:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b954638012ced37000713f9e8001800772e..."} 
[2026-09-10 19:21:24] local.INFO: Processing buffer {"connection_id":179352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b954638012ced37000713f9e8001800772e..."} 
[2026-09-10 19:21:24] local.INFO: Packet analysis {"connection_id":179352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:21:24] local.INFO: Extracted packet for processing {"connection_id":179352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:21:24] local.INFO: GPS Element Parsed {"raw_longitude":753743616,"raw_latitude":118749672,"longitude_deg":75.3743616,"latitude_deg":11.8749672,"altitude":24,"angle":119,"satellites":46,"speed":27,"hex_longitude":"2ced3700","hex_latitude":"0713f9e8","is_valid_coordinates":true} 
[2026-09-10 19:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996340736001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404561644128043008,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356568619856480256,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789048211000,"timestamp_ms":1789048211000,"timestamp_seconds":1789048211,"priority":1,"record_length":96,"hex_timestamp":"000001a08b954638"} 
[2026-09-10 19:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 19:21:24] 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-09-10 19:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996340736001,"66":27213,"193":206,"83":41216,"24":27,"16":404561644128043008,"44":-1356568619856480256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-10 19:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996340736001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:21:24] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-10 19:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404561644128043008,"km_value":404561644128043.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:21:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356568619856480256,"description":"Unknown IO ID 44"} 
[2026-09-10 19:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996340736001,"power":27213,"unknown_193":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1356568619856480256}} 
[2026-09-10 19:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":179352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:21:24] local.INFO: GPS data processed {"connection_id":179352,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:21:24] local.INFO: Acknowledgment sent {"connection_id":179352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:21:31] local.INFO: TCP Data received {"connection_id":176603,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:21:31] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:21:31] local.INFO: IMEI packet received {"connection_id":176603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":176603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:21:36] local.INFO: TCP Data received {"connection_id":176603,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:21:36] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:21:36] local.INFO: IMEI packet received {"connection_id":176603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":176603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:21:37] local.INFO: TCP Data received {"connection_id":176603,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b944468012d197ec0071fec980036010127..."} 
[2026-09-10 19:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b944468012d197ec0071fec980036010127..."} 
[2026-09-10 19:21:37] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b944468012d197ec0071fec980036010127..."} 
[2026-09-10 19:21:37] local.INFO: Packet analysis {"connection_id":176603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:21:37] local.INFO: Extracted packet for processing {"connection_id":176603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":119532696,"longitude_deg":75.6645568,"latitude_deg":11.9532696,"altitude":54,"angle":257,"satellites":39,"speed":3,"hex_longitude":"2d197ec0","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-09-10 19:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996324608001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381774362607616,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837398309823348736,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21: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-09-10 19:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789048145000,"timestamp_ms":1789048145000,"timestamp_seconds":1789048145,"priority":1,"record_length":96,"hex_timestamp":"000001a08b944468"} 
[2026-09-10 19:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:21: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-09-10 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-10 19:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996324608001,"66":13439,"121":206,"28":31744,"24":3,"16":19381774362607616,"45":1837398309823348736},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996324608001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:21:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381774362607616,"km_value":19381774362607.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837398309823348736,"description":"Unknown IO ID 45"} 
[2026-09-10 19:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996324608001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1837398309823348736}} 
[2026-09-10 19:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":176603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:21:37] local.INFO: GPS data processed {"connection_id":176603,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:21:37] local.INFO: Acknowledgment sent {"connection_id":176603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:21:39] local.INFO: TCP Data received {"connection_id":176603,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9457f0012d197a40071febe00036010c27..."} 
[2026-09-10 19:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9457f0012d197a40071febe00036010c27..."} 
[2026-09-10 19:21:39] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9457f0012d197a40071febe00036010c27..."} 
[2026-09-10 19:21:39] local.INFO: Packet analysis {"connection_id":176603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:21:39] local.INFO: Extracted packet for processing {"connection_id":176603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756644416,"raw_latitude":119532512,"longitude_deg":75.6644416,"latitude_deg":11.9532512,"altitude":54,"angle":268,"satellites":39,"speed":11,"hex_longitude":"2d197a40","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-09-10 19:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996325120001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381830197182464,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834846644224,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21: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-09-10 19:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789048150000,"timestamp_ms":1789048150000,"timestamp_seconds":1789048150,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9457f0"} 
[2026-09-10 19:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-10 19:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996325120001,"66":13537,"121":206,"28":31744,"24":11,"16":19381830197182464,"45":1837116834846644224},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996325120001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:21:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381830197182464,"km_value":19381830197182.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834846644224,"description":"Unknown IO ID 45"} 
[2026-09-10 19:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996325120001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1837116834846644224}} 
[2026-09-10 19:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":176603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:21:39] local.INFO: GPS data processed {"connection_id":176603,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:21:39] local.INFO: Acknowledgment sent {"connection_id":176603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:21:56] local.INFO: TCP Data received {"connection_id":179352,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9551f0012ced3ec00713f6b00018006c2d..."} 
[2026-09-10 19:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9551f0012ced3ec00713f6b00018006c2d..."} 
[2026-09-10 19:21:56] local.INFO: Processing buffer {"connection_id":179352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9551f0012ced3ec00713f6b00018006c2d..."} 
[2026-09-10 19:21:56] local.INFO: Packet analysis {"connection_id":179352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:21:56] local.INFO: Extracted packet for processing {"connection_id":179352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:21:56] local.INFO: GPS Element Parsed {"raw_longitude":753745600,"raw_latitude":118748848,"longitude_deg":75.37456,"latitude_deg":11.8748848,"altitude":24,"angle":108,"satellites":45,"speed":28,"hex_longitude":"2ced3ec0","hex_latitude":"0713f6b0","is_valid_coordinates":true} 
[2026-09-10 19:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996342016001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404561747207258112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353613132601628672,"note":"Value kept but may cause issues"} 
[2026-09-10 19:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789048214000,"timestamp_ms":1789048214000,"timestamp_seconds":1789048214,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9551f0"} 
[2026-09-10 19:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:21:56] 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-09-10 19:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996342016001,"66":27300,"193":206,"83":41216,"24":28,"16":404561747207258112,"44":-1353613132601628672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-10 19:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996342016001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:21:56] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-10 19:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404561747207258112,"km_value":404561747207258.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:21:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353613132601628672,"description":"Unknown IO ID 44"} 
[2026-09-10 19:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996342016001,"power":27300,"unknown_193":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1353613132601628672}} 
[2026-09-10 19:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":179352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:21:56] local.INFO: GPS data processed {"connection_id":179352,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:21:56] local.INFO: Acknowledgment sent {"connection_id":179352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:22:11] local.INFO: TCP Data received {"connection_id":176603,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b946f60012d197380071fec500036011823..."} 
[2026-09-10 19:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b946f60012d197380071fec500036011823..."} 
[2026-09-10 19:22:11] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b946f60012d197380071fec500036011823..."} 
[2026-09-10 19:22:11] local.INFO: Packet analysis {"connection_id":176603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:22:11] local.INFO: Extracted packet for processing {"connection_id":176603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119532624,"longitude_deg":75.6642688,"latitude_deg":11.9532624,"altitude":54,"angle":280,"satellites":35,"speed":10,"hex_longitude":"2d197380","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996326400001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19381911801561088,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835850197451399168,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22: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-09-10 19:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789048156000,"timestamp_ms":1789048156000,"timestamp_seconds":1789048156,"priority":1,"record_length":96,"hex_timestamp":"000001a08b946f60"} 
[2026-09-10 19:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:22: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-09-10 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-10 19:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996326400001,"66":12841,"121":206,"28":31744,"24":10,"16":19381911801561088,"45":1835850197451399168},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996326400001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:22:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19381911801561088,"km_value":19381911801561.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835850197451399168,"description":"Unknown IO ID 45"} 
[2026-09-10 19:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996326400001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1835850197451399168}} 
[2026-09-10 19:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":176603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:22:11] local.INFO: GPS data processed {"connection_id":176603,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:22:11] local.INFO: Acknowledgment sent {"connection_id":176603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:22:19] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:22:19] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:22:19] local.INFO: IMEI packet received {"connection_id":176604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":176604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:22:23] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:22:23] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:22:23] local.INFO: IMEI packet received {"connection_id":176604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":176604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:22:24] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9588a0012ced61c00713ecd0001a006a2b..."} 
[2026-09-10 19:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9588a0012ced61c00713ecd0001a006a2b..."} 
[2026-09-10 19:22:24] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9588a0012ced61c00713ecd0001a006a2b..."} 
[2026-09-10 19:22:24] local.INFO: Packet analysis {"connection_id":176604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:22:24] local.INFO: Extracted packet for processing {"connection_id":176604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:22:24] local.INFO: GPS Element Parsed {"raw_longitude":753754560,"raw_latitude":118746320,"longitude_deg":75.375456,"latitude_deg":11.874632,"altitude":26,"angle":106,"satellites":43,"speed":26,"hex_longitude":"2ced61c0","hex_latitude":"0713ecd0","is_valid_coordinates":true} 
[2026-09-10 19:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996342784001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404562189588889600,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351431701532332032,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789048228000,"timestamp_ms":1789048228000,"timestamp_seconds":1789048228,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9588a0"} 
[2026-09-10 19:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:22:24] 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-09-10 19:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996342784001,"66":27213,"26":206,"83":41216,"24":26,"16":404562189588889600,"44":-1351431701532332032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-10 19:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996342784001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:22:24] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-10 19:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404562189588889600,"km_value":404562189588889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:22:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351431701532332032,"description":"Unknown IO ID 44"} 
[2026-09-10 19:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996342784001,"power":27213,"unknown_26":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1351431701532332032}} 
[2026-09-10 19:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":176604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:22:24] local.INFO: GPS data processed {"connection_id":176604,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:22:24] local.INFO: Acknowledgment sent {"connection_id":176604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:22:27] local.INFO: TCP Data received {"connection_id":177987,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:22:27] local.INFO: Processing buffer {"connection_id":177987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:22:27] local.INFO: IMEI packet received {"connection_id":177987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":177987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:22:32] local.INFO: TCP Data received {"connection_id":177987,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:22:32] local.INFO: Processing buffer {"connection_id":177987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:22:32] local.INFO: IMEI packet received {"connection_id":177987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":177987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:22:33] local.INFO: TCP Data received {"connection_id":177987,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b94bd80012d195e40071fef98003b012527..."} 
[2026-09-10 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b94bd80012d195e40071fef98003b012527..."} 
[2026-09-10 19:22:33] local.INFO: Processing buffer {"connection_id":177987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b94bd80012d195e40071fef98003b012527..."} 
[2026-09-10 19:22:33] local.INFO: Packet analysis {"connection_id":177987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:22:33] local.INFO: Extracted packet for processing {"connection_id":177987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756637248,"raw_latitude":119533464,"longitude_deg":75.6637248,"latitude_deg":11.9533464,"altitude":59,"angle":293,"satellites":39,"speed":14,"hex_longitude":"2d195e40","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-09-10 19:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996327936001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382173794566144,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833950241358630912,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789048176000,"timestamp_ms":1789048176000,"timestamp_seconds":1789048176,"priority":1,"record_length":96,"hex_timestamp":"000001a08b94bd80"} 
[2026-09-10 19:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-10 19:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996327936001,"66":11830,"121":206,"28":31744,"24":14,"16":19382173794566144,"45":1833950241358630912},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996327936001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:22:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:22:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382173794566144,"km_value":19382173794566.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833950241358630912,"description":"Unknown IO ID 45"} 
[2026-09-10 19:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996327936001,"power":11830,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1833950241358630912}} 
[2026-09-10 19:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":177987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:22:33] local.INFO: GPS data processed {"connection_id":177987,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:22:33] local.INFO: Acknowledgment sent {"connection_id":177987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:22:37] local.INFO: TCP Data received {"connection_id":177987,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b94e0a8012d1951c0071ff478003b013827..."} 
[2026-09-10 19:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b94e0a8012d1951c0071ff478003b013827..."} 
[2026-09-10 19:22:37] local.INFO: Processing buffer {"connection_id":177987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b94e0a8012d1951c0071ff478003b013827..."} 
[2026-09-10 19:22:37] local.INFO: Packet analysis {"connection_id":177987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:22:37] local.INFO: Extracted packet for processing {"connection_id":177987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756634048,"raw_latitude":119534712,"longitude_deg":75.6634048,"latitude_deg":11.9534712,"altitude":59,"angle":312,"satellites":39,"speed":14,"hex_longitude":"2d1951c0","hex_latitude":"071ff478","is_valid_coordinates":true} 
[2026-09-10 19:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996333056001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382337003323392,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827968898103744512,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22: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-09-10 19:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789048185000,"timestamp_ms":1789048185000,"timestamp_seconds":1789048185,"priority":1,"record_length":96,"hex_timestamp":"000001a08b94e0a8"} 
[2026-09-10 19:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:22: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-09-10 19:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-10 19:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996333056001,"66":12645,"121":206,"28":31744,"24":14,"16":19382337003323392,"45":1827968898103744512},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996333056001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:22:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382337003323392,"km_value":19382337003323.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827968898103744512,"description":"Unknown IO ID 45"} 
[2026-09-10 19:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996333056001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1827968898103744512}} 
[2026-09-10 19:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":177987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:22:37] local.INFO: GPS data processed {"connection_id":177987,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:22:37] local.INFO: Acknowledgment sent {"connection_id":177987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:22:55] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b95afb0012ced77c00713e840001e005e2d..."} 
[2026-09-10 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b95afb0012ced77c00713e840001e005e2d..."} 
[2026-09-10 19:22:55] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b95afb0012ced77c00713e840001e005e2d..."} 
[2026-09-10 19:22:55] local.INFO: Packet analysis {"connection_id":176604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:22:55] local.INFO: Extracted packet for processing {"connection_id":176604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":753760192,"raw_latitude":118745152,"longitude_deg":75.3760192,"latitude_deg":11.8745152,"altitude":30,"angle":94,"satellites":45,"speed":20,"hex_longitude":"2ced77c0","hex_latitude":"0713e840","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996346368001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404562464466796544,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1341580077348106240,"note":"Value kept but may cause issues"} 
[2026-09-10 19:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789048238000,"timestamp_ms":1789048238000,"timestamp_seconds":1789048238,"priority":1,"record_length":96,"hex_timestamp":"000001a08b95afb0"} 
[2026-09-10 19:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:22:55] 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-09-10 19: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-09-10 19:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996346368001,"66":27463,"196":206,"83":41216,"24":20,"16":404562464466796544,"44":-1341580077348106240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 19:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996346368001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:22:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 19:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404562464466796544,"km_value":404562464466796.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:22:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1341580077348106240,"description":"Unknown IO ID 44"} 
[2026-09-10 19:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996346368001,"power":27463,"unknown_196":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1341580077348106240}} 
[2026-09-10 19:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":176604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:22:55] local.INFO: GPS data processed {"connection_id":176604,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:22:55] local.INFO: Acknowledgment sent {"connection_id":176604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:23:08] local.INFO: TCP Data received {"connection_id":177987,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b94e490012d195100071ff590003a014627..."} 
[2026-09-10 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b94e490012d195100071ff590003a014627..."} 
[2026-09-10 19:23:08] local.INFO: Processing buffer {"connection_id":177987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b94e490012d195100071ff590003a014627..."} 
[2026-09-10 19:23:08] local.INFO: Packet analysis {"connection_id":177987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:23:08] local.INFO: Extracted packet for processing {"connection_id":177987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119534992,"longitude_deg":75.6633856,"latitude_deg":11.9534992,"altitude":58,"angle":326,"satellites":39,"speed":13,"hex_longitude":"2d195100","hex_latitude":"071ff590","is_valid_coordinates":true} 
[2026-09-10 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996335360001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382354183192576,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460895180800,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23: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-09-10 19:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789048186000,"timestamp_ms":1789048186000,"timestamp_seconds":1789048186,"priority":1,"record_length":96,"hex_timestamp":"000001a08b94e490"} 
[2026-09-10 19:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:23: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-09-10 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 19:23: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-09-10 19: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-09-10 19:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996335360001,"66":12645,"121":206,"28":31744,"24":13,"16":19382354183192576,"45":1824450460895180800},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996335360001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:23:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382354183192576,"km_value":19382354183192.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460895180800,"description":"Unknown IO ID 45"} 
[2026-09-10 19:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996335360001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1824450460895180800}} 
[2026-09-10 19:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":177987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:23:08] local.INFO: GPS data processed {"connection_id":177987,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:23:08] local.INFO: Acknowledgment sent {"connection_id":177987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:23:18] local.INFO: TCP Data received {"connection_id":179353,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:18] local.INFO: Processing buffer {"connection_id":179353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:18] local.INFO: IMEI packet received {"connection_id":179353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":179353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:23:20] local.INFO: TCP Data received {"connection_id":179353,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:20] local.INFO: Processing buffer {"connection_id":179353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:20] local.INFO: IMEI packet received {"connection_id":179353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":179353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:23:23] local.INFO: TCP Data received {"connection_id":176605,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:23] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:23] local.INFO: IMEI packet received {"connection_id":176605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":176605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:23:24] local.INFO: TCP Data received {"connection_id":179353,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:24] local.INFO: Processing buffer {"connection_id":179353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:23:24] local.INFO: IMEI packet received {"connection_id":179353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":179353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:23:25] local.INFO: TCP Data received {"connection_id":179353,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b95f218012ced9bc00713e8580020005b2b..."} 
[2026-09-10 19:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b95f218012ced9bc00713e8580020005b2b..."} 
[2026-09-10 19:23:25] local.INFO: Processing buffer {"connection_id":179353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b95f218012ced9bc00713e8580020005b2b..."} 
[2026-09-10 19:23:25] local.INFO: Packet analysis {"connection_id":179353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:23:25] local.INFO: Extracted packet for processing {"connection_id":179353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b95"} 
[2026-09-10 19:23:25] local.INFO: GPS Element Parsed {"raw_longitude":753769408,"raw_latitude":118745176,"longitude_deg":75.3769408,"latitude_deg":11.8745176,"altitude":32,"angle":91,"satellites":43,"speed":22,"hex_longitude":"2ced9bc0","hex_latitude":"0713e858","is_valid_coordinates":true} 
[2026-09-10 19:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996348928001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404562898258493440,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1335387627860770816,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789048255000,"timestamp_ms":1789048255000,"timestamp_seconds":1789048255,"priority":1,"record_length":96,"hex_timestamp":"000001a08b95f218"} 
[2026-09-10 19:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 19:23:25] 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-09-10 19:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996348928001,"66":27300,"196":206,"83":41216,"24":22,"16":404562898258493440,"44":-1335387627860770816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 19:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996348928001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:23:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 19:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404562898258493440,"km_value":404562898258493.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1335387627860770816,"description":"Unknown IO ID 44"} 
[2026-09-10 19:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996348928001,"power":27300,"unknown_196":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1335387627860770816}} 
[2026-09-10 19:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":179353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:23:25] local.INFO: GPS data processed {"connection_id":179353,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:23:25] local.INFO: Acknowledgment sent {"connection_id":179353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:23:27] local.INFO: TCP Data received {"connection_id":176605,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:27] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:27] local.INFO: IMEI packet received {"connection_id":176605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":176605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:23:31] local.INFO: TCP Data received {"connection_id":176605,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:31] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:23:31] local.INFO: IMEI packet received {"connection_id":176605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":176605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:23:32] local.INFO: TCP Data received {"connection_id":176605,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b94f430012d194e80071ff9c8003a013928..."} 
[2026-09-10 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b94f430012d194e80071ff9c8003a013928..."} 
[2026-09-10 19:23:32] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b94f430012d194e80071ff9c8003a013928..."} 
[2026-09-10 19:23:32] local.INFO: Packet analysis {"connection_id":176605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:23:32] local.INFO: Extracted packet for processing {"connection_id":176605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119536072,"longitude_deg":75.6633216,"latitude_deg":11.9536072,"altitude":58,"angle":313,"satellites":40,"speed":11,"hex_longitude":"2d194e80","hex_latitude":"071ff9c8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996335616001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382414312734720,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354662719488,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048190000,"timestamp_ms":1789048190000,"timestamp_seconds":1789048190,"priority":1,"record_length":96,"hex_timestamp":"000001a08b94f430"} 
[2026-09-10 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-09-10 19:23: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-09-10 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 19:23: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-09-10 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-09-10 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-09-10 19:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996335616001,"66":12645,"121":206,"28":31744,"24":11,"16":19382414312734720,"45":1824239354662719488},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996335616001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:23:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382414312734720,"km_value":19382414312734.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354662719488,"description":"Unknown IO ID 45"} 
[2026-09-10 19:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996335616001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1824239354662719488}} 
[2026-09-10 19:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":176605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:23:32] local.INFO: GPS data processed {"connection_id":176605,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:23:32] local.INFO: Acknowledgment sent {"connection_id":176605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:23:40] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:23:40] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:23:40] local.INFO: IMEI packet received {"connection_id":176826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":176826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:23:56] local.INFO: TCP Data received {"connection_id":179353,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b963480012cedbf000713e6a8001f00532e..."} 
[2026-09-10 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b963480012cedbf000713e6a8001f00532e..."} 
[2026-09-10 19:23:56] local.INFO: Processing buffer {"connection_id":179353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b963480012cedbf000713e6a8001f00532e..."} 
[2026-09-10 19:23:56] local.INFO: Packet analysis {"connection_id":179353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b96"} 
[2026-09-10 19:23:56] local.INFO: Extracted packet for processing {"connection_id":179353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b96"} 
[2026-09-10 19:23:56] local.INFO: GPS Element Parsed {"raw_longitude":753778432,"raw_latitude":118744744,"longitude_deg":75.3778432,"latitude_deg":11.8744744,"altitude":31,"angle":83,"satellites":46,"speed":7,"hex_longitude":"2cedbf00","hex_latitude":"0713e6a8","is_valid_coordinates":true} 
[2026-09-10 19:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996353280001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404563332050190336,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1325254528699181056,"note":"Value kept but may cause issues"} 
[2026-09-10 19:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789048272000,"timestamp_ms":1789048272000,"timestamp_seconds":1789048272,"priority":1,"record_length":96,"hex_timestamp":"000001a08b963480"} 
[2026-09-10 19:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:23:56] 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-09-10 19:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996353280001,"66":27245,"196":206,"83":41216,"24":7,"16":404563332050190336,"44":-1325254528699181056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 19:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996353280001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:23:56] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 19:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404563332050190336,"km_value":404563332050190.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1325254528699181056,"description":"Unknown IO ID 44"} 
[2026-09-10 19:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996353280001,"power":27245,"unknown_196":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1325254528699181056}} 
[2026-09-10 19:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":179353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:23:56] local.INFO: GPS data processed {"connection_id":179353,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:23:56] local.INFO: Acknowledgment sent {"connection_id":179353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:24:05] local.INFO: TCP Data received {"connection_id":176605,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b94f818012d194dc0071ffa70003a012928..."} 
[2026-09-10 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b94f818012d194dc0071ffa70003a012928..."} 
[2026-09-10 19:24:05] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b94f818012d194dc0071ffa70003a012928..."} 
[2026-09-10 19:24:05] local.INFO: Packet analysis {"connection_id":176605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:24:05] local.INFO: Extracted packet for processing {"connection_id":176605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b94"} 
[2026-09-10 19:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756633024,"raw_latitude":119536240,"longitude_deg":75.6633024,"latitude_deg":11.953624,"altitude":58,"angle":297,"satellites":40,"speed":11,"hex_longitude":"2d194dc0","hex_latitude":"071ffa70","is_valid_coordinates":true} 
[2026-09-10 19:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996336640001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382431492603904,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667221219328,"note":"Value kept but may cause issues"} 
[2026-09-10 19: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-09-10 19:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789048191000,"timestamp_ms":1789048191000,"timestamp_seconds":1789048191,"priority":1,"record_length":96,"hex_timestamp":"000001a08b94f818"} 
[2026-09-10 19:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-10 19:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996336640001,"66":12537,"121":206,"28":31744,"24":11,"16":19382431492603904,"45":1823535667221219328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996336640001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382431492603904,"km_value":19382431492603.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667221219328,"description":"Unknown IO ID 45"} 
[2026-09-10 19:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996336640001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1823535667221219328}} 
[2026-09-10 19:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":176605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:24:05] local.INFO: GPS data processed {"connection_id":176605,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:24:05] local.INFO: Acknowledgment sent {"connection_id":176605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:24:18] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:24:18] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:24:18] local.INFO: IMEI packet received {"connection_id":176827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":176827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:24:24] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:24:24] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:24:24] local.INFO: IMEI packet received {"connection_id":176827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":176827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:24:25] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b963868012cedc0000713e6a00020005f2e..."} 
[2026-09-10 19:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b963868012cedc0000713e6a00020005f2e..."} 
[2026-09-10 19:24:25] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b963868012cedc0000713e6a00020005f2e..."} 
[2026-09-10 19:24:25] local.INFO: Packet analysis {"connection_id":176827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b96"} 
[2026-09-10 19:24:25] local.INFO: Extracted packet for processing {"connection_id":176827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b96"} 
[2026-09-10 19:24:25] local.INFO: GPS Element Parsed {"raw_longitude":753778688,"raw_latitude":118744736,"longitude_deg":75.3778688,"latitude_deg":11.8744736,"altitude":32,"angle":95,"satellites":46,"speed":8,"hex_longitude":"2cedc000","hex_latitude":"0713e6a0","is_valid_coordinates":true} 
[2026-09-10 19:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996357632001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404563340640124928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1315332535770241024,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789048273000,"timestamp_ms":1789048273000,"timestamp_seconds":1789048273,"priority":1,"record_length":96,"hex_timestamp":"000001a08b963868"} 
[2026-09-10 19:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 19:24:25] 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-09-10 19:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996357632001,"66":27321,"196":206,"83":41216,"24":8,"16":404563340640124928,"44":-1315332535770241024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-09-10 19:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996357632001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:24:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-10 19:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404563340640124928,"km_value":404563340640124.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1315332535770241024,"description":"Unknown IO ID 44"} 
[2026-09-10 19:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996357632001,"power":27321,"unknown_196":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1315332535770241024}} 
[2026-09-10 19:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":176827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:24:25] local.INFO: GPS data processed {"connection_id":176827,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:24:25] local.INFO: Acknowledgment sent {"connection_id":176827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:24:26] local.INFO: TCP Data received {"connection_id":179354,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:26] local.INFO: Processing buffer {"connection_id":179354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:26] local.INFO: IMEI packet received {"connection_id":179354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":179354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:24:27] local.INFO: TCP Data received {"connection_id":179354,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:27] local.INFO: Processing buffer {"connection_id":179354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:27] local.INFO: IMEI packet received {"connection_id":179354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":179354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:24:32] local.INFO: TCP Data received {"connection_id":179354,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:32] local.INFO: Processing buffer {"connection_id":179354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:24:32] local.INFO: IMEI packet received {"connection_id":179354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":179354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:24:33] local.INFO: TCP Data received {"connection_id":179354,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b97f1d0012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b97f1d0012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:24:33] local.INFO: Processing buffer {"connection_id":179354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b97f1d0012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:24:33] local.INFO: Packet analysis {"connection_id":179354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b97"} 
[2026-09-10 19:24:33] local.INFO: Extracted packet for processing {"connection_id":179354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b97"} 
[2026-09-10 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996381440001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789048386000,"timestamp_ms":1789048386000,"timestamp_seconds":1789048386,"priority":1,"record_length":96,"hex_timestamp":"000001a08b97f1d0"} 
[2026-09-10 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-09-10 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 19:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996381440001,"66":12667,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996381440001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:24:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996381440001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":179354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:24:33] local.INFO: GPS data processed {"connection_id":179354,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:24:33] local.INFO: Acknowledgment sent {"connection_id":179354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:24:57] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b968a70012cede2800713e4780029005a2c..."} 
[2026-09-10 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b968a70012cede2800713e4780029005a2c..."} 
[2026-09-10 19:24:57] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b968a70012cede2800713e4780029005a2c..."} 
[2026-09-10 19:24:57] local.INFO: Packet analysis {"connection_id":176827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b96"} 
[2026-09-10 19:24:57] local.INFO: Extracted packet for processing {"connection_id":176827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b96"} 
[2026-09-10 19:24:57] local.INFO: GPS Element Parsed {"raw_longitude":753787520,"raw_latitude":118744184,"longitude_deg":75.378752,"latitude_deg":11.8744184,"altitude":41,"angle":90,"satellites":44,"speed":20,"hex_longitude":"2cede280","hex_latitude":"0713e478","is_valid_coordinates":true} 
[2026-09-10 19:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996357888001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404563761546919936,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1315051060793532416,"note":"Value kept but may cause issues"} 
[2026-09-10 19:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789048294000,"timestamp_ms":1789048294000,"timestamp_seconds":1789048294,"priority":1,"record_length":96,"hex_timestamp":"000001a08b968a70"} 
[2026-09-10 19:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:24: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-09-10 19:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:24:57] 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-09-10 19:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996357888001,"66":27289,"194":206,"83":41216,"24":20,"16":404563761546919936,"44":-1315051060793532416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-09-10 19:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996357888001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:24:57] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-10 19:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404563761546919936,"km_value":404563761546919.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:24:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1315051060793532416,"description":"Unknown IO ID 44"} 
[2026-09-10 19:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996357888001,"power":27289,"unknown_194":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1315051060793532416}} 
[2026-09-10 19:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":176827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:24:57] local.INFO: GPS data processed {"connection_id":176827,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:24:57] local.INFO: Acknowledgment sent {"connection_id":176827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:25:04] local.INFO: TCP Data received {"connection_id":179354,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9843d8012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9843d8012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:25:04] local.INFO: Processing buffer {"connection_id":179354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9843d8012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:25:04] local.INFO: Packet analysis {"connection_id":179354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b98"} 
[2026-09-10 19:25:04] local.INFO: Extracted packet for processing {"connection_id":179354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b98"} 
[2026-09-10 19:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":37,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996386816001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25: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-09-10 19:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789048407000,"timestamp_ms":1789048407000,"timestamp_seconds":1789048407,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9843d8"} 
[2026-09-10 19:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-10 19:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996386816001,"66":12613,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996386816001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:25:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996386816001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":179354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:25:04] local.INFO: GPS data processed {"connection_id":179354,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:25:04] local.INFO: Acknowledgment sent {"connection_id":179354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:25:23] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:25:23] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:25:23] local.INFO: IMEI packet received {"connection_id":176606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":176606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:25:26] local.INFO: TCP Data received {"connection_id":179355,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:26] local.INFO: Processing buffer {"connection_id":179355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:26] local.INFO: IMEI packet received {"connection_id":179355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":179355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:25:28] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:25:28] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:25:28] local.INFO: IMEI packet received {"connection_id":176606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":176606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:25:29] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b991ab0012cef07400713db90002700612d..."} 
[2026-09-10 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b991ab0012cef07400713db90002700612d..."} 
[2026-09-10 19:25:29] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b991ab0012cef07400713db90002700612d..."} 
[2026-09-10 19:25:29] local.INFO: Packet analysis {"connection_id":176606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:25:29] local.INFO: Extracted packet for processing {"connection_id":176606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":753862464,"raw_latitude":118741904,"longitude_deg":75.3862464,"latitude_deg":11.8741904,"altitude":39,"angle":97,"satellites":45,"speed":46,"hex_longitude":"2cef0740","hex_latitude":"0713db90","is_valid_coordinates":true} 
[2026-09-10 19:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996403968001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404567339254677504,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1233775161268713472,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789048462000,"timestamp_ms":1789048462000,"timestamp_seconds":1789048462,"priority":1,"record_length":96,"hex_timestamp":"000001a08b991ab0"} 
[2026-09-10 19:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 19:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:25: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-09-10 19:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996403968001,"66":27267,"37":206,"83":41216,"24":46,"16":404567339254677504,"44":-1233775161268713472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-10 19:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996403968001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:25:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 19:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404567339254677504,"km_value":404567339254677.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1233775161268713472,"description":"Unknown IO ID 44"} 
[2026-09-10 19:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996403968001,"power":27267,"unknown_37":206,"unknown_83":41216,"ignition":46,"odometer":null,"unknown_44":-1233775161268713472}} 
[2026-09-10 19:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":176606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:25:30] local.INFO: GPS data processed {"connection_id":176606,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:25:30] local.INFO: Acknowledgment sent {"connection_id":176606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:25:30] local.INFO: TCP Data received {"connection_id":179355,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:30] local.INFO: Processing buffer {"connection_id":179355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:30] local.INFO: IMEI packet received {"connection_id":179355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":179355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:25:31] local.INFO: TCP Data received {"connection_id":179355,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:31] local.INFO: Processing buffer {"connection_id":179355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:25:31] local.INFO: IMEI packet received {"connection_id":179355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":179355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:25:33] local.INFO: TCP Data received {"connection_id":179355,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9895e0012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9895e0012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:25:33] local.INFO: Processing buffer {"connection_id":179355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9895e0012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:25:33] local.INFO: Packet analysis {"connection_id":179355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b98"} 
[2026-09-10 19:25:33] local.INFO: Extracted packet for processing {"connection_id":179355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b98"} 
[2026-09-10 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996392192001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789048428000,"timestamp_ms":1789048428000,"timestamp_seconds":1789048428,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9895e0"} 
[2026-09-10 19:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-10 19:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996392192001,"66":12558,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996392192001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:25:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996392192001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":179355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:25:33] local.INFO: GPS data processed {"connection_id":179355,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:25:33] local.INFO: Acknowledgment sent {"connection_id":179355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:25:36] local.INFO: TCP Data received {"connection_id":179355,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b98e7e8012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b98e7e8012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:25:36] local.INFO: Processing buffer {"connection_id":179355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b98e7e8012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:25:36] local.INFO: Packet analysis {"connection_id":179355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b98"} 
[2026-09-10 19:25:36] local.INFO: Extracted packet for processing {"connection_id":179355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b98"} 
[2026-09-10 19:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996397568001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25: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-09-10 19:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789048449000,"timestamp_ms":1789048449000,"timestamp_seconds":1789048449,"priority":1,"record_length":96,"hex_timestamp":"000001a08b98e7e8"} 
[2026-09-10 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-09-10 19:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2341906864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249699799621958680,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2538455041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4229431351,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221692412,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3697082368,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 19:25:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,220,160,67,45,192,252,55,37,10,66,38,159,1,240,69,139,31,4,113,205,251,64,239,49,2,68,7,231,92,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:25:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963463603922665472,"timestamp_seconds":3963463603922665.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 19:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996397568001,"66":12591,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996397568001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:25:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996397568001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":179355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:25:37] local.INFO: GPS data processed {"connection_id":179355,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:25:37] local.INFO: Acknowledgment sent {"connection_id":179355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:26:00] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9939f0012cef2e000713d7500025005f2d..."} 
[2026-09-10 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9939f0012cef2e000713d7500025005f2d..."} 
[2026-09-10 19:26:00] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9939f0012cef2e000713d7500025005f2d..."} 
[2026-09-10 19:26:00] local.INFO: Packet analysis {"connection_id":176606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:00] local.INFO: Extracted packet for processing {"connection_id":176606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":753872384,"raw_latitude":118740816,"longitude_deg":75.3872384,"latitude_deg":11.8740816,"altitude":37,"angle":95,"satellites":45,"speed":48,"hex_longitude":"2cef2e00","hex_latitude":"0713d750","is_valid_coordinates":true} 
[2026-09-10 19:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996406272001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404567811701080064,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1222938374665695232,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789048470000,"timestamp_ms":1789048470000,"timestamp_seconds":1789048470,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9939f0"} 
[2026-09-10 19:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 19:26: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-09-10 19:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:26: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-09-10 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996406272001,"66":27343,"37":206,"83":41216,"24":48,"16":404567811701080064,"44":-1222938374665695232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-10 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996406272001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:26:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-10 19:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-10 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404567811701080064,"km_value":404567811701080.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1222938374665695232,"description":"Unknown IO ID 44"} 
[2026-09-10 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996406272001,"power":27343,"unknown_37":206,"unknown_83":41216,"ignition":48,"odometer":null,"unknown_44":-1222938374665695232}} 
[2026-09-10 19:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":176606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:26:00] local.INFO: GPS data processed {"connection_id":176606,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:26:00] local.INFO: Acknowledgment sent {"connection_id":176606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:26:09] local.INFO: TCP Data received {"connection_id":179355,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9939f0012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9939f0012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:26:09] local.INFO: Processing buffer {"connection_id":179355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9939f0012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:26:09] local.INFO: Packet analysis {"connection_id":179355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:09] local.INFO: Extracted packet for processing {"connection_id":179355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:09] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996402944001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26: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-09-10 19:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789048470000,"timestamp_ms":1789048470000,"timestamp_seconds":1789048470,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9939f0"} 
[2026-09-10 19:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:26: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-09-10 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 19:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996402944001,"66":12591,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996402944001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:26:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996402944001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":179355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:26:09] local.INFO: GPS data processed {"connection_id":179355,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:26:09] local.INFO: Acknowledgment sent {"connection_id":179355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:26:18] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:18] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:18] local.INFO: IMEI packet received {"connection_id":177988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":177988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:26:20] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:20] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:20] local.INFO: IMEI packet received {"connection_id":177988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":177988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:26:23] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:23] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:26:23] local.INFO: IMEI packet received {"connection_id":177988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":177988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:26:24] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b995d18012cef53400713d5280027005c2f..."} 
[2026-09-10 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b995d18012cef53400713d5280027005c2f..."} 
[2026-09-10 19:26:24] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b995d18012cef53400713d5280027005c2f..."} 
[2026-09-10 19:26:24] local.INFO: Packet analysis {"connection_id":177988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:24] local.INFO: Extracted packet for processing {"connection_id":177988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":753881920,"raw_latitude":118740264,"longitude_deg":75.388192,"latitude_deg":11.8740264,"altitude":39,"angle":92,"satellites":47,"speed":32,"hex_longitude":"2cef5340","hex_latitude":"0713d528","is_valid_coordinates":true} 
[2026-09-10 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996408320001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404568266967613440,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1212031219318435840,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789048479000,"timestamp_ms":1789048479000,"timestamp_seconds":1789048479,"priority":1,"record_length":96,"hex_timestamp":"000001a08b995d18"} 
[2026-09-10 19:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 19:26:24] 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-09-10 19:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996408320001,"66":27365,"180":206,"83":41472,"24":32,"16":404568266967613440,"44":-1212031219318435840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 19:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996408320001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:26:24] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 19:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404568266967613440,"km_value":404568266967613.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:26:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1212031219318435840,"description":"Unknown IO ID 44"} 
[2026-09-10 19:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996408320001,"power":27365,"unknown_180":206,"unknown_83":41472,"ignition":32,"odometer":null,"unknown_44":-1212031219318435840}} 
[2026-09-10 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":177988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:26:24] local.INFO: GPS data processed {"connection_id":177988,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:26:24] local.INFO: Acknowledgment sent {"connection_id":177988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:26:26] local.INFO: TCP Data received {"connection_id":176608,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:26:26] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:26:26] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:26:32] local.INFO: TCP Data received {"connection_id":176608,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:26:32] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:26:32] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:26:33] local.INFO: TCP Data received {"connection_id":176608,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b998bf8012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b998bf8012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:26:33] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b998bf8012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:26:33] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:33] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996408320001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789048491000,"timestamp_ms":1789048491000,"timestamp_seconds":1789048491,"priority":1,"record_length":96,"hex_timestamp":"000001a08b998bf8"} 
[2026-09-10 19:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 19:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996408320001,"66":12537,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996408320001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:26:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996408320001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:26:33] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:26:33] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:26:55] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9993c8012cef6d800713d318002800672f..."} 
[2026-09-10 19:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9993c8012cef6d800713d318002800672f..."} 
[2026-09-10 19:26:55] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9993c8012cef6d800713d318002800672f..."} 
[2026-09-10 19:26:55] local.INFO: Packet analysis {"connection_id":177988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:55] local.INFO: Extracted packet for processing {"connection_id":177988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":753888640,"raw_latitude":118739736,"longitude_deg":75.388864,"latitude_deg":11.8739736,"altitude":40,"angle":103,"satellites":47,"speed":19,"hex_longitude":"2cef6d80","hex_latitude":"0713d318","is_valid_coordinates":true} 
[2026-09-10 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996410624001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404568589090160640,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1201546276436105216,"note":"Value kept but may cause issues"} 
[2026-09-10 19:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789048493000,"timestamp_ms":1789048493000,"timestamp_seconds":1789048493,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9993c8"} 
[2026-09-10 19:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 19:26:55] 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-09-10 19:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996410624001,"66":27169,"180":206,"83":41472,"24":19,"16":404568589090160640,"44":-1201546276436105216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-10 19:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996410624001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:26:55] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-10 19:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404568589090160640,"km_value":404568589090160.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:26:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1201546276436105216,"description":"Unknown IO ID 44"} 
[2026-09-10 19:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996410624001,"power":27169,"unknown_180":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1201546276436105216}} 
[2026-09-10 19:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":177988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:26:55] local.INFO: GPS data processed {"connection_id":177988,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:26:55] local.INFO: Acknowledgment sent {"connection_id":177988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:27:05] local.INFO: TCP Data received {"connection_id":176608,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b99de00012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b99de00012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:27:05] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b99de00012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:27:05] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:27:05] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b99"} 
[2026-09-10 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996413696001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27: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-09-10 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789048512000,"timestamp_ms":1789048512000,"timestamp_seconds":1789048512,"priority":1,"record_length":96,"hex_timestamp":"000001a08b99de00"} 
[2026-09-10 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-09-10 19:27: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-09-10 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-10 19:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996413696001,"66":12591,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996413696001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:27:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996413696001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:27:05] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:27:05] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:27:28] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:28] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:28] local.INFO: IMEI packet received {"connection_id":176609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":176609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:27:28] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:28] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:28] local.INFO: IMEI packet received {"connection_id":176609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":176609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:27:31] local.INFO: TCP Data received {"connection_id":177990,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:27:31] local.INFO: Processing buffer {"connection_id":177990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:27:31] local.INFO: IMEI packet received {"connection_id":177990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":177990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:27:34] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:34] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:27:34] local.INFO: IMEI packet received {"connection_id":176609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":176609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:27:35] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9b2620012cf05a4007136a780025005f2f..."} 
[2026-09-10 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9b2620012cf05a4007136a780025005f2f..."} 
[2026-09-10 19:27:35] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9b2620012cf05a4007136a780025005f2f..."} 
[2026-09-10 19:27:35] local.INFO: Packet analysis {"connection_id":176609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:27:35] local.INFO: Extracted packet for processing {"connection_id":176609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":753949248,"raw_latitude":118712952,"longitude_deg":75.3949248,"latitude_deg":11.8712952,"altitude":37,"angle":95,"satellites":47,"speed":31,"hex_longitude":"2cf05a40","hex_latitude":"07136a78","is_valid_coordinates":true} 
[2026-09-10 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996437504001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404571814610599936,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1135540394404024320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789048596000,"timestamp_ms":1789048596000,"timestamp_seconds":1789048596,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9b2620"} 
[2026-09-10 19:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:27: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-09-10 19:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:27: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-09-10 19:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996437504001,"66":27321,"16":404571814610599936,"83":41472,"24":31,"44":-1135540394404024320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-10 19:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996437504001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404571814610599936,"km_value":404571814610599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1135540394404024320,"description":"Unknown IO ID 44"} 
[2026-09-10 19:27:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996437504001,"power":27321,"odometer":null,"unknown_83":41472,"ignition":31,"unknown_44":-1135540394404024320}} 
[2026-09-10 19:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":176609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:27:35] local.INFO: GPS data processed {"connection_id":176609,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:27:35] local.INFO: Acknowledgment sent {"connection_id":176609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:27:35] local.INFO: TCP Data received {"connection_id":177990,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:27:35] local.INFO: Processing buffer {"connection_id":177990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:27:35] local.INFO: IMEI packet received {"connection_id":177990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":177990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:27:36] local.INFO: TCP Data received {"connection_id":177990,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9a3008012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9a3008012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:27:36] local.INFO: Processing buffer {"connection_id":177990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9a3008012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:27:36] local.INFO: Packet analysis {"connection_id":177990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9a"} 
[2026-09-10 19:27:36] local.INFO: Extracted packet for processing {"connection_id":177990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9a"} 
[2026-09-10 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996419072001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:27: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-09-10 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789048533000,"timestamp_ms":1789048533000,"timestamp_seconds":1789048533,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9a3008"} 
[2026-09-10 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-09-10 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 19:27: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-09-10 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-09-10 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-09-10 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996419072001,"66":12515,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996419072001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:27:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996419072001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":177990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:27:37] local.INFO: GPS data processed {"connection_id":177990,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:27:37] local.INFO: Acknowledgment sent {"connection_id":177990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:28:08] local.INFO: TCP Data received {"connection_id":177990,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9a8210012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9a8210012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:28:08] local.INFO: Processing buffer {"connection_id":177990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9a8210012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:28:08] local.INFO: Packet analysis {"connection_id":177990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9a"} 
[2026-09-10 19:28:08] local.INFO: Extracted packet for processing {"connection_id":177990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9a"} 
[2026-09-10 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996424448001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28: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-09-10 19:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789048554000,"timestamp_ms":1789048554000,"timestamp_seconds":1789048554,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9a8210"} 
[2026-09-10 19:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-10 19:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996424448001,"66":12558,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996424448001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:28:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996424448001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":177990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:28:08] local.INFO: GPS data processed {"connection_id":177990,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:28:08] local.INFO: Acknowledgment sent {"connection_id":177990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:28:27] local.INFO: TCP Data received {"connection_id":176829,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:28:27] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:28:27] local.INFO: IMEI packet received {"connection_id":176829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":176829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:28:31] local.INFO: TCP Data received {"connection_id":176829,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:28:31] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:28:31] local.INFO: IMEI packet received {"connection_id":176829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":176829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:28:31] local.INFO: TCP Data received {"connection_id":177991,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:31] local.INFO: Processing buffer {"connection_id":177991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:31] local.INFO: IMEI packet received {"connection_id":177991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":177991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:28:32] local.INFO: TCP Data received {"connection_id":177991,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:32] local.INFO: Processing buffer {"connection_id":177991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:32] local.INFO: IMEI packet received {"connection_id":177991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":177991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:28:32] local.INFO: TCP Data received {"connection_id":176829,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9ad418012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9ad418012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:28:32] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9ad418012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:28:32] local.INFO: Packet analysis {"connection_id":176829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9a"} 
[2026-09-10 19:28:32] local.INFO: Extracted packet for processing {"connection_id":176829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9a"} 
[2026-09-10 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996429824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048575000,"timestamp_ms":1789048575000,"timestamp_seconds":1789048575,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9ad418"} 
[2026-09-10 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-09-10 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2342032864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2570711041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249699799621958680,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4229431351,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221692412,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3697082368,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,220,160,48,45,192,252,55,40,10,66,222,38,139,1,240,249,31,4,113,205,231,64,39,239,49,2,68,7,92,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:28:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963463612512600064,"timestamp_seconds":3963463612512600.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 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-09-10 19:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996429824001,"66":12558,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996429824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:28:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996429824001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":176829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:28:32] local.INFO: GPS data processed {"connection_id":176829,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:28:32] local.INFO: Acknowledgment sent {"connection_id":176829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:28:33] local.INFO: TCP Data received {"connection_id":177991,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:33] local.INFO: Processing buffer {"connection_id":177991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:33] local.INFO: IMEI packet received {"connection_id":177991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":177991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:28:38] local.INFO: TCP Data received {"connection_id":177991,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:38] local.INFO: Processing buffer {"connection_id":177991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:28:38] local.INFO: IMEI packet received {"connection_id":177991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":177991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:28:40] local.INFO: TCP Data received {"connection_id":177991,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9b3d90012cf06e00071369c0002600522d..."} 
[2026-09-10 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9b3d90012cf06e00071369c0002600522d..."} 
[2026-09-10 19:28:40] local.INFO: Processing buffer {"connection_id":177991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9b3d90012cf06e00071369c0002600522d..."} 
[2026-09-10 19:28:40] local.INFO: Packet analysis {"connection_id":177991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:28:40] local.INFO: Extracted packet for processing {"connection_id":177991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":753954304,"raw_latitude":118712768,"longitude_deg":75.3954304,"latitude_deg":11.8712768,"altitude":38,"angle":82,"satellites":45,"speed":29,"hex_longitude":"2cf06e00","hex_latitude":"071369c0","is_valid_coordinates":true} 
[2026-09-10 19:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996440576001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404572055128768512,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1127518357568194560,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789048602000,"timestamp_ms":1789048602000,"timestamp_seconds":1789048602,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9b3d90"} 
[2026-09-10 19:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:28:40] 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-09-10 19:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996440576001,"66":27300,"16":404572055128768512,"83":41472,"24":29,"44":-1127518357568194560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-10 19:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996440576001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404572055128768512,"km_value":404572055128768.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1127518357568194560,"description":"Unknown IO ID 44"} 
[2026-09-10 19:28:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996440576001,"power":27300,"odometer":null,"unknown_83":41472,"ignition":29,"unknown_44":-1127518357568194560}} 
[2026-09-10 19:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":177991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:28:40] local.INFO: GPS data processed {"connection_id":177991,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:28:40] local.INFO: Acknowledgment sent {"connection_id":177991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:28:43] local.INFO: TCP Data received {"connection_id":177991,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9b5cd0012cf0808007136e90002800432e..."} 
[2026-09-10 19:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9b5cd0012cf0808007136e90002800432e..."} 
[2026-09-10 19:28:43] local.INFO: Processing buffer {"connection_id":177991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9b5cd0012cf0808007136e90002800432e..."} 
[2026-09-10 19:28:43] local.INFO: Packet analysis {"connection_id":177991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:28:43] local.INFO: Extracted packet for processing {"connection_id":177991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:28:43] local.INFO: GPS Element Parsed {"raw_longitude":753959040,"raw_latitude":118714000,"longitude_deg":75.395904,"latitude_deg":11.8714,"altitude":40,"angle":67,"satellites":46,"speed":20,"hex_longitude":"2cf08080","hex_latitude":"07136e90","is_valid_coordinates":true} 
[2026-09-10 19:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996442112001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404572287057002496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1121959226778206208,"note":"Value kept but may cause issues"} 
[2026-09-10 19:28:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789048610000,"timestamp_ms":1789048610000,"timestamp_seconds":1789048610,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9b5cd0"} 
[2026-09-10 19:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:28:43] 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-09-10 19:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:28: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-09-10 19:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996442112001,"66":27245,"16":404572287057002496,"83":41472,"24":20,"44":-1121959226778206208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-10 19:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996442112001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404572287057002496,"km_value":404572287057002.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:28:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1121959226778206208,"description":"Unknown IO ID 44"} 
[2026-09-10 19:28:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996442112001,"power":27245,"odometer":null,"unknown_83":41472,"ignition":20,"unknown_44":-1121959226778206208}} 
[2026-09-10 19:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":177991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:28:43] local.INFO: GPS data processed {"connection_id":177991,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:28:43] local.INFO: Acknowledgment sent {"connection_id":177991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:29:04] local.INFO: TCP Data received {"connection_id":176829,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9b2620012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9b2620012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:29:04] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9b2620012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:29:04] local.INFO: Packet analysis {"connection_id":176829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:29:04] local.INFO: Extracted packet for processing {"connection_id":176829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996435200001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29: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-09-10 19:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789048596000,"timestamp_ms":1789048596000,"timestamp_seconds":1789048596,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9b2620"} 
[2026-09-10 19:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2342053864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249699799621958680,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2576087041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4229431351,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":57,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221692412,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3697082368,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,220,160,130,45,192,252,55,40,10,66,48,222,1,240,47,139,31,4,113,205,57,64,39,239,49,2,68,7,231,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:29:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963463612512600064,"timestamp_seconds":3963463612512600.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996435200001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996435200001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996435200001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":176829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:29:04] local.INFO: GPS data processed {"connection_id":176829,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:29:04] local.INFO: Acknowledgment sent {"connection_id":176829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:29:04] local.INFO: TCP Data received {"connection_id":179356,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:29:04] local.INFO: Processing buffer {"connection_id":179356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:29:04] local.INFO: IMEI packet received {"connection_id":179356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":179356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:29:26] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:29:26] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:29:26] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:29:32] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:29:32] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:29:32] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:29:33] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9b7828012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9b7828012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:29:33] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9b7828012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:29:33] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:29:33] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996440576001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789048617000,"timestamp_ms":1789048617000,"timestamp_seconds":1789048617,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9b7828"} 
[2026-09-10 19:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996440576001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996440576001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:29:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:29:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996440576001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:29:33] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:29:33] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:29:51] local.INFO: TCP Data received {"connection_id":176830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:29:51] local.INFO: Processing buffer {"connection_id":176830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:29:51] local.INFO: IMEI packet received {"connection_id":176830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":176830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:30:04] local.INFO: TCP Data received {"connection_id":176611,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9bca30012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9bca30012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:30:04] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9bca30012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:30:04] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:30:04] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9b"} 
[2026-09-10 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996445952001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:30: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-09-10 19:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789048638000,"timestamp_ms":1789048638000,"timestamp_seconds":1789048638,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9bca30"} 
[2026-09-10 19:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996445952001,"66":12526,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996445952001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996445952001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:30:04] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:30:04] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:30:26] local.INFO: TCP Data received {"connection_id":176832,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:30:26] local.INFO: Processing buffer {"connection_id":176832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:30:26] local.INFO: IMEI packet received {"connection_id":176832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":176832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:30:31] local.INFO: TCP Data received {"connection_id":176832,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:30:31] local.INFO: Processing buffer {"connection_id":176832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:30:31] local.INFO: IMEI packet received {"connection_id":176832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":176832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:30:32] local.INFO: TCP Data received {"connection_id":176832,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9c1c38012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9c1c38012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:30:32] local.INFO: Processing buffer {"connection_id":176832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9c1c38012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:30:32] local.INFO: Packet analysis {"connection_id":176832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9c"} 
[2026-09-10 19:30:32] local.INFO: Extracted packet for processing {"connection_id":176832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9c"} 
[2026-09-10 19:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996451328001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048659000,"timestamp_ms":1789048659000,"timestamp_seconds":1789048659,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9c1c38"} 
[2026-09-10 19:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:30: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-09-10 19:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-10 19:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996451328001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996451328001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:30:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996451328001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":176832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:30:32] local.INFO: GPS data processed {"connection_id":176832,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:30:32] local.INFO: Acknowledgment sent {"connection_id":176832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:31:03] local.INFO: TCP Data received {"connection_id":176832,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9c6e40012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9c6e40012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:31:03] local.INFO: Processing buffer {"connection_id":176832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9c6e40012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:31:03] local.INFO: Packet analysis {"connection_id":176832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9c"} 
[2026-09-10 19:31:03] local.INFO: Extracted packet for processing {"connection_id":176832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9c"} 
[2026-09-10 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":37,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996456704001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789048680000,"timestamp_ms":1789048680000,"timestamp_seconds":1789048680,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9c6e40"} 
[2026-09-10 19:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996456704001,"66":12493,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996456704001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:31:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996456704001,"power":12493,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":176832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:31:04] local.INFO: GPS data processed {"connection_id":176832,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:31:04] local.INFO: Acknowledgment sent {"connection_id":176832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:31:26] local.INFO: TCP Data received {"connection_id":179357,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:26] local.INFO: Processing buffer {"connection_id":179357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:26] local.INFO: IMEI packet received {"connection_id":179357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":179357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:31:27] local.INFO: TCP Data received {"connection_id":179357,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:27] local.INFO: Processing buffer {"connection_id":179357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:27] local.INFO: IMEI packet received {"connection_id":179357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":179357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:31:31] local.INFO: TCP Data received {"connection_id":179357,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:31] local.INFO: Processing buffer {"connection_id":179357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:31:31] local.INFO: IMEI packet received {"connection_id":179357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":179357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:31:32] local.INFO: TCP Data received {"connection_id":179357,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9cc048012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9cc048012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:31:32] local.INFO: Processing buffer {"connection_id":179357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9cc048012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:31:32] local.INFO: Packet analysis {"connection_id":179357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9c"} 
[2026-09-10 19:31:32] local.INFO: Extracted packet for processing {"connection_id":179357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9c"} 
[2026-09-10 19:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996462080001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048701000,"timestamp_ms":1789048701000,"timestamp_seconds":1789048701,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9cc048"} 
[2026-09-10 19:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:31: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-09-10 19: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-10 19:31:32] 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-09-10 19: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-09-10 19:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996462080001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996462080001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:31:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996462080001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":179357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:31:32] local.INFO: GPS data processed {"connection_id":179357,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:31:32] local.INFO: Acknowledgment sent {"connection_id":179357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:32:04] local.INFO: TCP Data received {"connection_id":179357,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9d1250012d1940c0071ffc180037010d29..."} 
[2026-09-10 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9d1250012d1940c0071ffc180037010d29..."} 
[2026-09-10 19:32:04] local.INFO: Processing buffer {"connection_id":179357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9d1250012d1940c0071ffc180037010d29..."} 
[2026-09-10 19:32:04] local.INFO: Packet analysis {"connection_id":179357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9d"} 
[2026-09-10 19:32:04] local.INFO: Extracted packet for processing {"connection_id":179357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9d"} 
[2026-09-10 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996467456001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:32: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-09-10 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789048722000,"timestamp_ms":1789048722000,"timestamp_seconds":1789048722,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9d1250"} 
[2026-09-10 19:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996467456001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996467456001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996467456001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":179357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:32:04] local.INFO: GPS data processed {"connection_id":179357,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:32:04] local.INFO: Acknowledgment sent {"connection_id":179357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:32:29] local.INFO: TCP Data received {"connection_id":176834,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:29] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:29] local.INFO: IMEI packet received {"connection_id":176834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":176834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:32:31] local.INFO: TCP Data received {"connection_id":176834,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:31] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:31] local.INFO: IMEI packet received {"connection_id":176834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":176834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:32:36] local.INFO: TCP Data received {"connection_id":176834,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:36] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:32:36] local.INFO: IMEI packet received {"connection_id":176834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":176834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:32:37] local.INFO: TCP Data received {"connection_id":176834,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9d6458012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9d6458012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:32:37] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9d6458012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:32:37] local.INFO: Packet analysis {"connection_id":176834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9d"} 
[2026-09-10 19:32:37] local.INFO: Extracted packet for processing {"connection_id":176834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9d"} 
[2026-09-10 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996472832001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:32: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-09-10 19:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789048743000,"timestamp_ms":1789048743000,"timestamp_seconds":1789048743,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9d6458"} 
[2026-09-10 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-09-10 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:32: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-09-10 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-09-10 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-09-10 19:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996472832001,"66":12515,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996472832001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:32:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996472832001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":176834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:32:37] local.INFO: GPS data processed {"connection_id":176834,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:32:37] local.INFO: Acknowledgment sent {"connection_id":176834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:33:09] local.INFO: TCP Data received {"connection_id":176834,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9db660012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9db660012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:33:09] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9db660012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:33:09] local.INFO: Packet analysis {"connection_id":176834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9d"} 
[2026-09-10 19:33:09] local.INFO: Extracted packet for processing {"connection_id":176834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9d"} 
[2026-09-10 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996478208001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:33: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-09-10 19:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789048764000,"timestamp_ms":1789048764000,"timestamp_seconds":1789048764,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9db660"} 
[2026-09-10 19:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:33: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-09-10 19: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-10 19:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996478208001,"66":12004,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996478208001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:33:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:33:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996478208001,"power":12004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":176834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:33:09] local.INFO: GPS data processed {"connection_id":176834,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:33:09] local.INFO: Acknowledgment sent {"connection_id":176834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:33:27] local.INFO: TCP Data received {"connection_id":176836,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:33:27] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:33:27] local.INFO: IMEI packet received {"connection_id":176836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":176836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:33:32] local.INFO: TCP Data received {"connection_id":176836,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:33:32] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:33:32] local.INFO: IMEI packet received {"connection_id":176836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":176836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:33:33] local.INFO: TCP Data received {"connection_id":176836,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9e0868012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9e0868012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:33:33] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9e0868012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:33:33] local.INFO: Packet analysis {"connection_id":176836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:33:33] local.INFO: Extracted packet for processing {"connection_id":176836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":37,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996483584001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789048785000,"timestamp_ms":1789048785000,"timestamp_seconds":1789048785,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9e0868"} 
[2026-09-10 19:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 19:33:33] 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-09-10 19:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996483584001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996483584001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:33:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:33:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996483584001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":176836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:33:33] local.INFO: GPS data processed {"connection_id":176836,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:33:33] local.INFO: Acknowledgment sent {"connection_id":176836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:34:05] local.INFO: TCP Data received {"connection_id":176836,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9e5a70012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9e5a70012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:34:05] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9e5a70012d1940c0071ffc180037010d25..."} 
[2026-09-10 19:34:05] local.INFO: Packet analysis {"connection_id":176836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:34:05] local.INFO: Extracted packet for processing {"connection_id":176836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":37,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996488960001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34: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-09-10 19:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789048806000,"timestamp_ms":1789048806000,"timestamp_seconds":1789048806,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9e5a70"} 
[2026-09-10 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-09-10 19:34: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-09-10 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996488960001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996488960001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:34:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996488960001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":176836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:34:05] local.INFO: GPS data processed {"connection_id":176836,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:34:05] local.INFO: Acknowledgment sent {"connection_id":176836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:34:20] local.INFO: TCP Data received {"connection_id":179361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:34:20] local.INFO: Processing buffer {"connection_id":179361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:34:20] local.INFO: IMEI packet received {"connection_id":179361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":179361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:34:23] local.INFO: TCP Data received {"connection_id":179361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:34:23] local.INFO: Processing buffer {"connection_id":179361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:34:23] local.INFO: IMEI packet received {"connection_id":179361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":179361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:34:24] local.INFO: TCP Data received {"connection_id":179361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba18308012cf33b000710dbc8002600a229..."} 
[2026-09-10 19:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba18308012cf33b000710dbc8002600a229..."} 
[2026-09-10 19:34:24] local.INFO: Processing buffer {"connection_id":179361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba18308012cf33b000710dbc8002600a229..."} 
[2026-09-10 19:34:24] local.INFO: Packet analysis {"connection_id":179361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:34:24] local.INFO: Extracted packet for processing {"connection_id":179361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:34:24] local.INFO: GPS Element Parsed {"raw_longitude":754137856,"raw_latitude":118545352,"longitude_deg":75.4137856,"latitude_deg":11.8545352,"altitude":38,"angle":162,"satellites":41,"speed":41,"hex_longitude":"2cf33b00","hex_latitude":"0710dbc8","is_valid_coordinates":true} 
[2026-09-10 19:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996545024001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404585618635489280,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-923378630749362176,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049013000,"timestamp_ms":1789049013000,"timestamp_seconds":1789049013,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba18308"} 
[2026-09-10 19:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:34: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-09-10 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 19:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996545024001,"66":27300,"217":206,"83":41472,"24":41,"16":404585618635489280,"44":-923378630749362176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-10 19:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996545024001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:34:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-10 19:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404585618635489280,"km_value":404585618635489.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:34:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-923378630749362176,"description":"Unknown IO ID 44"} 
[2026-09-10 19:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996545024001,"power":27300,"unknown_217":206,"unknown_83":41472,"ignition":41,"odometer":null,"unknown_44":-923378630749362176}} 
[2026-09-10 19:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":179361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:34:24] local.INFO: GPS data processed {"connection_id":179361,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:34:24] local.INFO: Acknowledgment sent {"connection_id":179361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:34:26] local.INFO: TCP Data received {"connection_id":179363,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:34:26] local.INFO: Processing buffer {"connection_id":179363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:34:26] local.INFO: IMEI packet received {"connection_id":179363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":179363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:34:31] local.INFO: TCP Data received {"connection_id":179363,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:34:31] local.INFO: Processing buffer {"connection_id":179363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:34:31] local.INFO: IMEI packet received {"connection_id":179363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":179363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:34:32] local.INFO: TCP Data received {"connection_id":179363,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9eac78012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9eac78012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:34:32] local.INFO: Processing buffer {"connection_id":179363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9eac78012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:34:32] local.INFO: Packet analysis {"connection_id":179363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:34:32] local.INFO: Extracted packet for processing {"connection_id":179363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996494336001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048827000,"timestamp_ms":1789048827000,"timestamp_seconds":1789048827,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9eac78"} 
[2026-09-10 19:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:34: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-09-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996494336001,"66":11906,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996494336001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:34:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996494336001,"power":11906,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":179363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:34:33] local.INFO: GPS data processed {"connection_id":179363,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:34:33] local.INFO: Acknowledgment sent {"connection_id":179363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:34:54] local.INFO: TCP Data received {"connection_id":179361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba19690012cf343400710c9800028009628..."} 
[2026-09-10 19:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba19690012cf343400710c9800028009628..."} 
[2026-09-10 19:34:54] local.INFO: Processing buffer {"connection_id":179361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba19690012cf343400710c9800028009628..."} 
[2026-09-10 19:34:54] local.INFO: Packet analysis {"connection_id":179361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:34:54] local.INFO: Extracted packet for processing {"connection_id":179361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:34:54] local.INFO: GPS Element Parsed {"raw_longitude":754139968,"raw_latitude":118540672,"longitude_deg":75.4139968,"latitude_deg":11.8540672,"altitude":40,"angle":150,"satellites":40,"speed":40,"hex_longitude":"2cf34340","hex_latitude":"0710c980","is_valid_coordinates":true} 
[2026-09-10 19:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996547328001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404585863448625152,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-920141668519524352,"note":"Value kept but may cause issues"} 
[2026-09-10 19:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789049018000,"timestamp_ms":1789049018000,"timestamp_seconds":1789049018,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba19690"} 
[2026-09-10 19:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:34:54] 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-09-10 19:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996547328001,"66":27343,"217":206,"83":41472,"24":40,"16":404585863448625152,"44":-920141668519524352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-10 19:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996547328001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:34:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-10 19:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404585863448625152,"km_value":404585863448625.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-920141668519524352,"description":"Unknown IO ID 44"} 
[2026-09-10 19:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996547328001,"power":27343,"unknown_217":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-920141668519524352}} 
[2026-09-10 19:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":179361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:34:54] local.INFO: GPS data processed {"connection_id":179361,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:34:54] local.INFO: Acknowledgment sent {"connection_id":179361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:35:04] local.INFO: TCP Data received {"connection_id":179363,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9efe80012d1940c0071ffc180037010d23..."} 
[2026-09-10 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9efe80012d1940c0071ffc180037010d23..."} 
[2026-09-10 19:35:04] local.INFO: Processing buffer {"connection_id":179363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9efe80012d1940c0071ffc180037010d23..."} 
[2026-09-10 19:35:04] local.INFO: Packet analysis {"connection_id":179363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:35:04] local.INFO: Extracted packet for processing {"connection_id":179363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9e"} 
[2026-09-10 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":35,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996499712001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35: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-09-10 19:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789048848000,"timestamp_ms":1789048848000,"timestamp_seconds":1789048848,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9efe80"} 
[2026-09-10 19:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-10 19:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996499712001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996499712001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996499712001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":179363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:35:04] local.INFO: GPS data processed {"connection_id":179363,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:35:04] local.INFO: Acknowledgment sent {"connection_id":179363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:35:18] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:35:18] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:35:18] local.INFO: IMEI packet received {"connection_id":176837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":176837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:35:23] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:35:23] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:35:23] local.INFO: IMEI packet received {"connection_id":176837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":176837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:35:24] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba1a630012cf34c400710bc800029008a28..."} 
[2026-09-10 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba1a630012cf34c400710bc800029008a28..."} 
[2026-09-10 19:35:24] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba1a630012cf34c400710bc800029008a28..."} 
[2026-09-10 19:35:24] local.INFO: Packet analysis {"connection_id":176837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:35:24] local.INFO: Extracted packet for processing {"connection_id":176837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:35:24] local.INFO: GPS Element Parsed {"raw_longitude":754142272,"raw_latitude":118537344,"longitude_deg":75.4142272,"latitude_deg":11.8537344,"altitude":41,"angle":138,"satellites":40,"speed":40,"hex_longitude":"2cf34c40","hex_latitude":"0710bc80","is_valid_coordinates":true} 
[2026-09-10 19:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996548608001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404586061017120768,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-917819499962859520,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049022000,"timestamp_ms":1789049022000,"timestamp_seconds":1789049022,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba1a630"} 
[2026-09-10 19:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:35: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-09-10 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 19:35:24] 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-09-10 19:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996548608001,"66":27310,"217":206,"83":41472,"24":40,"16":404586061017120768,"44":-917819499962859520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-10 19:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996548608001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:35:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-10 19:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404586061017120768,"km_value":404586061017120.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:35:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-917819499962859520,"description":"Unknown IO ID 44"} 
[2026-09-10 19:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996548608001,"power":27310,"unknown_217":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-917819499962859520}} 
[2026-09-10 19:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":176837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:35:24] local.INFO: GPS data processed {"connection_id":176837,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:35:24] local.INFO: Acknowledgment sent {"connection_id":176837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:35:26] local.INFO: TCP Data received {"connection_id":176838,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:35:26] local.INFO: Processing buffer {"connection_id":176838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:35:26] local.INFO: IMEI packet received {"connection_id":176838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":176838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:35:32] local.INFO: TCP Data received {"connection_id":176838,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:35:32] local.INFO: Processing buffer {"connection_id":176838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:35:32] local.INFO: IMEI packet received {"connection_id":176838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":176838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:35:33] local.INFO: TCP Data received {"connection_id":176838,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9f5088012d1940c0071ffc180037010d24..."} 
[2026-09-10 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9f5088012d1940c0071ffc180037010d24..."} 
[2026-09-10 19:35:33] local.INFO: Processing buffer {"connection_id":176838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9f5088012d1940c0071ffc180037010d24..."} 
[2026-09-10 19:35:33] local.INFO: Packet analysis {"connection_id":176838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9f"} 
[2026-09-10 19:35:33] local.INFO: Extracted packet for processing {"connection_id":176838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9f"} 
[2026-09-10 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":36,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996505088001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789048869000,"timestamp_ms":1789048869000,"timestamp_seconds":1789048869,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9f5088"} 
[2026-09-10 19:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996505088001,"66":12504,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996505088001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:35:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996505088001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":176838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:35:33] local.INFO: GPS data processed {"connection_id":176838,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:35:33] local.INFO: Acknowledgment sent {"connection_id":176838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:35:39] local.INFO: TCP Data received {"connection_id":179364,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:35:39] local.INFO: Processing buffer {"connection_id":179364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:35:39] local.INFO: IMEI packet received {"connection_id":179364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":179364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:35:55] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba1c958012cf366400710a130002900862a..."} 
[2026-09-10 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba1c958012cf366400710a130002900862a..."} 
[2026-09-10 19:35:55] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba1c958012cf366400710a130002900862a..."} 
[2026-09-10 19:35:55] local.INFO: Packet analysis {"connection_id":176837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:35:55] local.INFO: Extracted packet for processing {"connection_id":176837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba1"} 
[2026-09-10 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":754148928,"raw_latitude":118530352,"longitude_deg":75.4148928,"latitude_deg":11.8530352,"altitude":41,"angle":134,"satellites":42,"speed":42,"hex_longitude":"2cf36640","hex_latitude":"0710a130","is_valid_coordinates":true} 
[2026-09-10 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996549632001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404586524873588736,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-915286225173315584,"note":"Value kept but may cause issues"} 
[2026-09-10 19:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789049031000,"timestamp_ms":1789049031000,"timestamp_seconds":1789049031,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba1c958"} 
[2026-09-10 19:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 19:35:55] 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-09-10 19:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996549632001,"66":27332,"216":206,"83":41472,"24":42,"16":404586524873588736,"44":-915286225173315584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-10 19:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996549632001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:35:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-10 19:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404586524873588736,"km_value":404586524873588.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:35:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-915286225173315584,"description":"Unknown IO ID 44"} 
[2026-09-10 19:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996549632001,"power":27332,"unknown_216":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-915286225173315584}} 
[2026-09-10 19:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":176837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:35:55] local.INFO: GPS data processed {"connection_id":176837,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:35:55] local.INFO: Acknowledgment sent {"connection_id":176837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:36:04] local.INFO: TCP Data received {"connection_id":176838,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9fa290012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9fa290012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:36:04] local.INFO: Processing buffer {"connection_id":176838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9fa290012d1940c0071ffc180037010d26..."} 
[2026-09-10 19:36:04] local.INFO: Packet analysis {"connection_id":176838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9f"} 
[2026-09-10 19:36:04] local.INFO: Extracted packet for processing {"connection_id":176838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9f"} 
[2026-09-10 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996510464001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36: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-09-10 19:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789048890000,"timestamp_ms":1789048890000,"timestamp_seconds":1789048890,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9fa290"} 
[2026-09-10 19:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-10 19:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996510464001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996510464001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:36:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996510464001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":176838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:36:04] local.INFO: GPS data processed {"connection_id":176838,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:36:04] local.INFO: Acknowledgment sent {"connection_id":176838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:36:24] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:24] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:24] local.INFO: IMEI packet received {"connection_id":177992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":177992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:36:24] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:24] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:24] local.INFO: IMEI packet received {"connection_id":177992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":177992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:36:26] local.INFO: TCP Data received {"connection_id":179365,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:36:26] local.INFO: Processing buffer {"connection_id":179365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:36:26] local.INFO: IMEI packet received {"connection_id":179365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":179365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:36:28] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:28] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:36:28] local.INFO: IMEI packet received {"connection_id":177992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":177992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:36:29] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.106.6.19","data_length":1348,"data_hex":"000000000000030f8e0a000001a08ba334a0012cf41100070f4cc00025009c2b..."} 
[2026-09-10 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a08ba334a0012cf41100070f4cc00025009c2b..."} 
[2026-09-10 19:36:29] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a08ba334a0012cf41100070f4cc00025009c2b..."} 
[2026-09-10 19:36:29] local.INFO: Packet analysis {"connection_id":177992,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:36:29] local.INFO: Extracted packet for processing {"connection_id":177992,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":754192640,"raw_latitude":118443200,"longitude_deg":75.419264,"latitude_deg":11.84432,"altitude":37,"angle":156,"satellites":43,"speed":41,"hex_longitude":"2cf41100","hex_latitude":"070f4cc0","is_valid_coordinates":true} 
[2026-09-10 19:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996573440001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404591369596698624,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-864339254410483712,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789049124000,"timestamp_ms":1789049124000,"timestamp_seconds":1789049124,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba334a0"} 
[2026-09-10 19:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:36: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-09-10 19:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 19:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:36: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-09-10 19:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996573440001,"66":27332,"227":206,"83":41472,"24":41,"16":404591369596698624,"44":-864339254410483712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-10 19:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996573440001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:36:29] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 19:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404591369596698624,"km_value":404591369596698.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-864339254410483712,"description":"Unknown IO ID 44"} 
[2026-09-10 19:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996573440001,"power":27332,"unknown_227":206,"unknown_83":41472,"ignition":41,"odometer":null,"unknown_44":-864339254410483712}} 
[2026-09-10 19:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":177992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:36:29] local.INFO: GPS data processed {"connection_id":177992,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:36:29] local.INFO: Acknowledgment sent {"connection_id":177992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:36:29] local.INFO: Packet analysis {"connection_id":177992,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:36:29] local.INFO: Incomplete packet, waiting for more data {"connection_id":177992,"needed":795,"available":553} 
[2026-09-10 19:36:31] local.INFO: TCP Data received {"connection_id":179365,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:36:31] local.INFO: Processing buffer {"connection_id":179365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:36:31] local.INFO: IMEI packet received {"connection_id":179365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":179365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:36:32] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.106.6.19","data_length":242,"data_hex":"000000000001a08ba26980012cf3d58007101780002d009d2c002a0000000a00..."} 
[2026-09-10 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":242,"packet_hex":"000000000001a08ba26980012cf3d58007101780002d009d2c002a0000000a00..."} 
[2026-09-10 19:36:32] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba35bb0012cf42080070f29b80028009f2b..."} 
[2026-09-10 19:36:32] local.INFO: Packet analysis {"connection_id":177992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:36:32] local.INFO: Extracted packet for processing {"connection_id":177992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:36:32] local.INFO: GPS Element Parsed {"raw_longitude":754196608,"raw_latitude":118434232,"longitude_deg":75.4196608,"latitude_deg":11.8434232,"altitude":40,"angle":159,"satellites":43,"speed":37,"hex_longitude":"2cf42080","hex_latitude":"070f29b8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996575744001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404591842043101184,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859906023529594880,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789049134000,"timestamp_ms":1789049134000,"timestamp_seconds":1789049134,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba35bb0"} 
[2026-09-10 19:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":196,"data_length":795,"current_offset":136} 
[2026-09-10 19:36: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-09-10 19: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-09-10 19:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:36: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-09-10 19:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996575744001,"66":27300,"227":206,"83":41472,"24":37,"16":404591842043101184,"44":-859906023529594880},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-10 19:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996575744001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404591842043101184,"km_value":404591842043101.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859906023529594880,"description":"Unknown IO ID 44"} 
[2026-09-10 19:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996575744001,"power":27300,"unknown_227":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-859906023529594880}} 
[2026-09-10 19:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":177992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:36:32] local.INFO: GPS data processed {"connection_id":177992,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:36:32] local.INFO: Acknowledgment sent {"connection_id":177992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:36:32] local.INFO: TCP Data received {"connection_id":179365,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08b9ff498012d1940c0071ffc180037010d23..."} 
[2026-09-10 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08b9ff498012d1940c0071ffc180037010d23..."} 
[2026-09-10 19:36:32] local.INFO: Processing buffer {"connection_id":179365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08b9ff498012d1940c0071ffc180037010d23..."} 
[2026-09-10 19:36:32] local.INFO: Packet analysis {"connection_id":179365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08b9f"} 
[2026-09-10 19:36:32] local.INFO: Extracted packet for processing {"connection_id":179365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08b9f"} 
[2026-09-10 19:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":35,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996515840001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789048911000,"timestamp_ms":1789048911000,"timestamp_seconds":1789048911,"priority":1,"record_length":96,"hex_timestamp":"000001a08b9ff498"} 
[2026-09-10 19:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:36: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-09-10 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996515840001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996515840001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996515840001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":179365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:36:32] local.INFO: GPS data processed {"connection_id":179365,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:36:32] local.INFO: Acknowledgment sent {"connection_id":179365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:36:42] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba386a8012cf42d00070f06d0002c00a42c..."} 
[2026-09-10 19:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba386a8012cf42d00070f06d0002c00a42c..."} 
[2026-09-10 19:36:42] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba386a8012cf42d00070f06d0002c00a42c..."} 
[2026-09-10 19:36:42] local.INFO: Packet analysis {"connection_id":177992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:36:42] local.INFO: Extracted packet for processing {"connection_id":177992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:36:42] local.INFO: GPS Element Parsed {"raw_longitude":754199808,"raw_latitude":118425296,"longitude_deg":75.4199808,"latitude_deg":11.8425296,"altitude":44,"angle":164,"satellites":44,"speed":31,"hex_longitude":"2cf42d00","hex_latitude":"070f06d0","is_valid_coordinates":true} 
[2026-09-10 19:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996578304001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404592301604601856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-855543161392875520,"note":"Value kept but may cause issues"} 
[2026-09-10 19:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789049145000,"timestamp_ms":1789049145000,"timestamp_seconds":1789049145,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba386a8"} 
[2026-09-10 19:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:36: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-09-10 19:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:36: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-09-10 19:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:36: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-09-10 19:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996578304001,"66":27376,"227":206,"83":41472,"24":31,"16":404592301604601856,"44":-855543161392875520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-10 19:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996578304001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:36:42] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 19:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404592301604601856,"km_value":404592301604601.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-855543161392875520,"description":"Unknown IO ID 44"} 
[2026-09-10 19:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996578304001,"power":27376,"unknown_227":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-855543161392875520}} 
[2026-09-10 19:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":177992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:36:42] local.INFO: GPS data processed {"connection_id":177992,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:36:42] local.INFO: Acknowledgment sent {"connection_id":177992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:37:04] local.INFO: TCP Data received {"connection_id":179365,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba37af0012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba37af0012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:37:04] local.INFO: Processing buffer {"connection_id":179365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba37af0012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:37:04] local.INFO: Packet analysis {"connection_id":179365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:04] local.INFO: Extracted packet for processing {"connection_id":179365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996574976001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37: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-09-10 19:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789049142000,"timestamp_ms":1789049142000,"timestamp_seconds":1789049142,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba37af0"} 
[2026-09-10 19:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452356,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":220,"raw_value":6701356245527298049,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8385444464508987072,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513406062556545293,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":55,"raw_value":75757450665394176,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563993141805262,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2715863041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4229431351,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221692412,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3697082368,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,220,160,214,45,192,252,55,40,10,66,132,39,50,1,240,173,139,31,4,113,205,142,64,239,48,2,68,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:37:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963463612512600064,"timestamp_seconds":3963463612512600.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996574976001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996574976001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996574976001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":179365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:37:04] local.INFO: GPS data processed {"connection_id":179365,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:37:04] local.INFO: Acknowledgment sent {"connection_id":179365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:37:23] local.INFO: TCP Data received {"connection_id":179366,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:37:23] local.INFO: Processing buffer {"connection_id":179366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:37:23] local.INFO: IMEI packet received {"connection_id":179366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":179366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:37:26] local.INFO: TCP Data received {"connection_id":179367,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:37:26] local.INFO: Processing buffer {"connection_id":179367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:37:26] local.INFO: IMEI packet received {"connection_id":179367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":179367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:37:28] local.INFO: TCP Data received {"connection_id":179366,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 19:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179366,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 19:37:28] local.INFO: Processing buffer {"connection_id":179366,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 19:37:28] local.INFO: IMEI packet received {"connection_id":179366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":179366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:37:30] local.INFO: TCP Data received {"connection_id":179366,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba39a30012cf42f80070ef860002b00af2a..."} 
[2026-09-10 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba39a30012cf42f80070ef860002b00af2a..."} 
[2026-09-10 19:37:30] local.INFO: Processing buffer {"connection_id":179366,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08b..."} 
[2026-09-10 19:37:30] local.INFO: IMEI packet received {"connection_id":179366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":179366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:37:31] local.INFO: TCP Data received {"connection_id":179367,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:37:31] local.INFO: Processing buffer {"connection_id":179367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:37:31] local.INFO: IMEI packet received {"connection_id":179367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":179367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:37:33] local.INFO: TCP Data received {"connection_id":179367,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba3ccf8012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba3ccf8012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:37:33] local.INFO: Processing buffer {"connection_id":179367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba3ccf8012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:37:33] local.INFO: Packet analysis {"connection_id":179367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:33] local.INFO: Extracted packet for processing {"connection_id":179367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996580352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789049163000,"timestamp_ms":1789049163000,"timestamp_seconds":1789049163,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba3ccf8"} 
[2026-09-10 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-09-10 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996580352001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996580352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:37:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996580352001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":179367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:37:33] local.INFO: GPS data processed {"connection_id":179367,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:37:33] local.INFO: Acknowledgment sent {"connection_id":179367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:37:34] local.INFO: TCP Data received {"connection_id":179366,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba3b588012cf43140070ee2c8002b00a02d..."} 
[2026-09-10 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba3b588012cf43140070ee2c8002b00a02d..."} 
[2026-09-10 19:37:34] local.INFO: Processing buffer {"connection_id":179366,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08ba39a30012cf42f80070ef860002b00af2a..."} 
[2026-09-10 19:37:34] local.INFO: Packet analysis {"connection_id":179366,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:34] local.INFO: Extracted packet for processing {"connection_id":179366,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":754200448,"raw_latitude":118421600,"longitude_deg":75.4200448,"latitude_deg":11.84216,"altitude":43,"angle":175,"satellites":42,"speed":27,"hex_longitude":"2cf42f80","hex_latitude":"070ef860","is_valid_coordinates":true} 
[2026-09-10 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996581120001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404592486288195584,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-852024724186279936,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789049150000,"timestamp_ms":1789049150000,"timestamp_seconds":1789049150,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba39a30"} 
[2026-09-10 19:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19: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-09-10 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996581120001,"66":27300,"227":206,"83":41472,"24":27,"16":404592486288195584,"44":-852024724186279936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-10 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996581120001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404592486288195584,"km_value":404592486288195.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-852024724186279936,"description":"Unknown IO ID 44"} 
[2026-09-10 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996581120001,"power":27300,"unknown_227":206,"unknown_83":41472,"ignition":27,"odometer":null,"unknown_44":-852024724186279936}} 
[2026-09-10 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":179366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:37:34] local.INFO: GPS data processed {"connection_id":179366,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:37:34] local.INFO: Acknowledgment sent {"connection_id":179366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:37:34] local.INFO: Packet analysis {"connection_id":179366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:34] local.INFO: Extracted packet for processing {"connection_id":179366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":754200896,"raw_latitude":118416072,"longitude_deg":75.4200896,"latitude_deg":11.8416072,"altitude":43,"angle":160,"satellites":45,"speed":33,"hex_longitude":"2cf43140","hex_latitude":"070ee2c8","is_valid_coordinates":true} 
[2026-09-10 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996582400001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404592756871135232,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-851321036745449472,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789049157000,"timestamp_ms":1789049157000,"timestamp_seconds":1789049157,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba3b588"} 
[2026-09-10 19:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19: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-09-10 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996582400001,"66":27332,"227":206,"83":41472,"24":33,"16":404592756871135232,"44":-851321036745449472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-10 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996582400001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404592756871135232,"km_value":404592756871135.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-851321036745449472,"description":"Unknown IO ID 44"} 
[2026-09-10 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996582400001,"power":27332,"unknown_227":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-851321036745449472}} 
[2026-09-10 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":179366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:37:34] local.INFO: GPS data processed {"connection_id":179366,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:37:34] local.INFO: Acknowledgment sent {"connection_id":179366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:37:35] local.INFO: TCP Data received {"connection_id":179366,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba3bd58012cf43440070edca0002a00942c..."} 
[2026-09-10 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba3bd58012cf43440070edca0002a00942c..."} 
[2026-09-10 19:37:35] local.INFO: Processing buffer {"connection_id":179366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba3bd58012cf43440070edca0002a00942c..."} 
[2026-09-10 19:37:35] local.INFO: Packet analysis {"connection_id":179366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:35] local.INFO: Extracted packet for processing {"connection_id":179366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba3"} 
[2026-09-10 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":754201664,"raw_latitude":118414496,"longitude_deg":75.4201664,"latitude_deg":11.8414496,"altitude":42,"angle":148,"satellites":44,"speed":34,"hex_longitude":"2cf43440","hex_latitude":"070edca0","is_valid_coordinates":true} 
[2026-09-10 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996584192001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404592838475513856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850828455537620992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789049159000,"timestamp_ms":1789049159000,"timestamp_seconds":1789049159,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba3bd58"} 
[2026-09-10 19:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 19:37: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-09-10 19:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:37: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-09-10 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996584192001,"66":27343,"227":206,"83":41472,"24":34,"16":404592838475513856,"44":-850828455537620992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-10 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996584192001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-10 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404592838475513856,"km_value":404592838475513.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850828455537620992,"description":"Unknown IO ID 44"} 
[2026-09-10 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996584192001,"power":27343,"unknown_227":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-850828455537620992}} 
[2026-09-10 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":179366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:37:35] local.INFO: GPS data processed {"connection_id":179366,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:37:35] local.INFO: Acknowledgment sent {"connection_id":179366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:38:05] local.INFO: TCP Data received {"connection_id":179367,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba41f00012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba41f00012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:38:05] local.INFO: Processing buffer {"connection_id":179367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba41f00012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:38:05] local.INFO: Packet analysis {"connection_id":179367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba4"} 
[2026-09-10 19:38:05] local.INFO: Extracted packet for processing {"connection_id":179367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba4"} 
[2026-09-10 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996585728001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38: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-09-10 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789049184000,"timestamp_ms":1789049184000,"timestamp_seconds":1789049184,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba41f00"} 
[2026-09-10 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:38: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-09-10 19: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":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996585728001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996585728001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996585728001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":179367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:38:05] local.INFO: GPS data processed {"connection_id":179367,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:38:05] local.INFO: Acknowledgment sent {"connection_id":179367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:38:22] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:22] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:22] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:38:23] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:23] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:23] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:38:28] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:28] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:38:28] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:38:29] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba50190012cf51800070dee000010006a2b..."} 
[2026-09-10 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba50190012cf51800070dee000010006a2b..."} 
[2026-09-10 19:38:29] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba50190012cf51800070dee000010006a2b..."} 
[2026-09-10 19:38:29] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:38:29] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":754259968,"raw_latitude":118353408,"longitude_deg":75.4259968,"latitude_deg":11.8353408,"altitude":16,"angle":106,"satellites":43,"speed":43,"hex_longitude":"2cf51800","hex_latitude":"070dee00","is_valid_coordinates":true} 
[2026-09-10 19:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996604672001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404597090493136896,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-791718710444382208,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789049242000,"timestamp_ms":1789049242000,"timestamp_seconds":1789049242,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba50190"} 
[2026-09-10 19:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:38: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-09-10 19:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996604672001,"66":27234,"39":206,"83":41728,"24":43,"16":404597090493136896,"44":-791718710444382208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-10 19:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996604672001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:38:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 19:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404597090493136896,"km_value":404597090493136.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-791718710444382208,"description":"Unknown IO ID 44"} 
[2026-09-10 19:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996604672001,"power":27234,"unknown_39":206,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-791718710444382208}} 
[2026-09-10 19:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:38:29] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:38:29] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:38:30] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba50960012cf51fc0070dea28000f007b2b..."} 
[2026-09-10 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba50960012cf51fc0070dea28000f007b2b..."} 
[2026-09-10 19:38:30] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba50960012cf51fc0070dea28000f007b2b..."} 
[2026-09-10 19:38:30] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:38:30] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":754261952,"raw_latitude":118352424,"longitude_deg":75.4261952,"latitude_deg":11.8352424,"altitude":15,"angle":123,"satellites":43,"speed":42,"hex_longitude":"2cf51fc0","hex_latitude":"070dea28","is_valid_coordinates":true} 
[2026-09-10 19:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996605952001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404597193572352000,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-785878104677679104,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789049244000,"timestamp_ms":1789049244000,"timestamp_seconds":1789049244,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba50960"} 
[2026-09-10 19:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 19:38:30] 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-09-10 19:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996605952001,"66":27213,"39":206,"83":41728,"24":42,"16":404597193572352000,"44":-785878104677679104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-10 19:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996605952001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:38:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 19:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404597193572352000,"km_value":404597193572352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-785878104677679104,"description":"Unknown IO ID 44"} 
[2026-09-10 19:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996605952001,"power":27213,"unknown_39":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-785878104677679104}} 
[2026-09-10 19:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:38:30] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:38:30] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:38:31] local.INFO: TCP Data received {"connection_id":176615,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:38:31] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:38:31] local.INFO: IMEI packet received {"connection_id":176615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:38:36] local.INFO: TCP Data received {"connection_id":176615,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:38:36] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:38:36] local.INFO: IMEI packet received {"connection_id":176615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":176615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:38:37] local.INFO: TCP Data received {"connection_id":176615,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba47108012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba47108012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:38:37] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba47108012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:38:37] local.INFO: Packet analysis {"connection_id":176615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba4"} 
[2026-09-10 19:38:37] local.INFO: Extracted packet for processing {"connection_id":176615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba4"} 
[2026-09-10 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996591104001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38: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-09-10 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789049205000,"timestamp_ms":1789049205000,"timestamp_seconds":1789049205,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba47108"} 
[2026-09-10 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:38: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-09-10 19:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996591104001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996591104001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996591104001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":176615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:38:37] local.INFO: GPS data processed {"connection_id":176615,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:38:37] local.INFO: Acknowledgment sent {"connection_id":176615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:38:42] local.INFO: TCP Data received {"connection_id":176615,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba4c310012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba4c310012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:38:42] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba4c310012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:38:42] local.INFO: Packet analysis {"connection_id":176615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba4"} 
[2026-09-10 19:38:42] local.INFO: Extracted packet for processing {"connection_id":176615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba4"} 
[2026-09-10 19:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996596480001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:38: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-09-10 19:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789049226000,"timestamp_ms":1789049226000,"timestamp_seconds":1789049226,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba4c310"} 
[2026-09-10 19:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:38: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-09-10 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996596480001,"66":12341,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996596480001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996596480001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":176615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:38:42] local.INFO: GPS data processed {"connection_id":176615,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:38:42] local.INFO: Acknowledgment sent {"connection_id":176615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:39:03] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba50d48012cf522c0070de700000e00872c..."} 
[2026-09-10 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba50d48012cf522c0070de700000e00872c..."} 
[2026-09-10 19:39:03] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba50d48012cf522c0070de700000e00872c..."} 
[2026-09-10 19:39:03] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:03] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":754262720,"raw_latitude":118351616,"longitude_deg":75.426272,"latitude_deg":11.8351616,"altitude":14,"angle":135,"satellites":44,"speed":44,"hex_longitude":"2cf522c0","hex_latitude":"070de700","is_valid_coordinates":true} 
[2026-09-10 19:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996606464001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404597249406926848,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-783696673608423424,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789049245000,"timestamp_ms":1789049245000,"timestamp_seconds":1789049245,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba50d48"} 
[2026-09-10 19:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:39: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-09-10 19:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39: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-09-10 19:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996606464001,"66":27376,"39":206,"83":41728,"24":44,"16":404597249406926848,"44":-783696673608423424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-10 19:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996606464001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:39:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 19:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404597249406926848,"km_value":404597249406926.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-783696673608423424,"description":"Unknown IO ID 44"} 
[2026-09-10 19:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996606464001,"power":27376,"unknown_39":206,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-783696673608423424}} 
[2026-09-10 19:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:39:03] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:39:03] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:39:19] local.INFO: TCP Data received {"connection_id":179369,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:19] local.INFO: Processing buffer {"connection_id":179369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:19] local.INFO: IMEI packet received {"connection_id":179369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":179369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:39:19] local.INFO: TCP Data received {"connection_id":179369,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:19] local.INFO: Processing buffer {"connection_id":179369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:19] local.INFO: IMEI packet received {"connection_id":179369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":179369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:39:23] local.INFO: TCP Data received {"connection_id":179369,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:23] local.INFO: Processing buffer {"connection_id":179369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:39:23] local.INFO: IMEI packet received {"connection_id":179369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":179369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:39:24] local.INFO: TCP Data received {"connection_id":179369,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba51130012cf52500070de330000d00922c..."} 
[2026-09-10 19:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba51130012cf52500070de330000d00922c..."} 
[2026-09-10 19:39:24] local.INFO: Processing buffer {"connection_id":179369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba51130012cf52500070de330000d00922c..."} 
[2026-09-10 19:39:24] local.INFO: Packet analysis {"connection_id":179369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:24] local.INFO: Extracted packet for processing {"connection_id":179369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:24] local.INFO: GPS Element Parsed {"raw_longitude":754263296,"raw_latitude":118350640,"longitude_deg":75.4263296,"latitude_deg":11.835064,"altitude":13,"angle":146,"satellites":44,"speed":45,"hex_longitude":"2cf52500","hex_latitude":"070de330","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996606720001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404597305241501696,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-782852248678498304,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049246000,"timestamp_ms":1789049246000,"timestamp_seconds":1789049246,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba51130"} 
[2026-09-10 19:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:39:24] 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-09-10 19: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-09-10 19:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996606720001,"66":27376,"39":206,"83":41728,"24":45,"16":404597305241501696,"44":-782852248678498304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-10 19:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996606720001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:39:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 19:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404597305241501696,"km_value":404597305241501.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-782852248678498304,"description":"Unknown IO ID 44"} 
[2026-09-10 19:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996606720001,"power":27376,"unknown_39":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-782852248678498304}} 
[2026-09-10 19:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":179369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:39:24] local.INFO: GPS data processed {"connection_id":179369,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:39:24] local.INFO: Acknowledgment sent {"connection_id":179369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:39:26] local.INFO: TCP Data received {"connection_id":176839,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:39:26] local.INFO: Processing buffer {"connection_id":176839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:39:26] local.INFO: IMEI packet received {"connection_id":176839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":176839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:39:27] local.INFO: TCP Data received {"connection_id":179369,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba51ce8012cf52b00070dd6b8000b009e2b..."} 
[2026-09-10 19:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba51ce8012cf52b00070dd6b8000b009e2b..."} 
[2026-09-10 19:39:27] local.INFO: Processing buffer {"connection_id":179369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba51ce8012cf52b00070dd6b8000b009e2b..."} 
[2026-09-10 19:39:27] local.INFO: Packet analysis {"connection_id":179369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:27] local.INFO: Extracted packet for processing {"connection_id":179369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:27] local.INFO: GPS Element Parsed {"raw_longitude":754264832,"raw_latitude":118347448,"longitude_deg":75.4264832,"latitude_deg":11.8347448,"altitude":11,"angle":158,"satellites":43,"speed":48,"hex_longitude":"2cf52b00","hex_latitude":"070dd6b8","is_valid_coordinates":true} 
[2026-09-10 19:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996606976001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404597477040193536,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-782218929981149184,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789049249000,"timestamp_ms":1789049249000,"timestamp_seconds":1789049249,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba51ce8"} 
[2026-09-10 19:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:39: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-09-10 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":179369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":179369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":179369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996606976001,"66":26832,"39":206,"83":41728,"24":48,"16":404597477040193536,"44":-782218929981149184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-10 19:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996606976001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:39:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-10 19:39:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404597477040193536,"km_value":404597477040193.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:39:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-782218929981149184,"description":"Unknown IO ID 44"} 
[2026-09-10 19:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996606976001,"power":26832,"unknown_39":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-782218929981149184}} 
[2026-09-10 19:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":179369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:39:27] local.INFO: GPS data processed {"connection_id":179369,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:39:27] local.INFO: Acknowledgment sent {"connection_id":179369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:39:29] local.INFO: TCP Data received {"connection_id":176839,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:39:29] local.INFO: Processing buffer {"connection_id":176839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:39:29] local.INFO: IMEI packet received {"connection_id":176839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":176839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:39:31] local.INFO: TCP Data received {"connection_id":176839,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba51518012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba51518012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:39:31] local.INFO: Processing buffer {"connection_id":176839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba51518012d1940c0071ffc180037010d27..."} 
[2026-09-10 19:39:31] local.INFO: Packet analysis {"connection_id":176839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:31] local.INFO: Extracted packet for processing {"connection_id":176839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996601856001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789049247000,"timestamp_ms":1789049247000,"timestamp_seconds":1789049247,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba51518"} 
[2026-09-10 19:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:39: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-09-10 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-10 19:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996601856001,"66":12385,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996601856001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:39:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996601856001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":176839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:39:31] local.INFO: GPS data processed {"connection_id":176839,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:39:31] local.INFO: Acknowledgment sent {"connection_id":176839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:39:58] local.INFO: TCP Data received {"connection_id":179369,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba674a8012cf5ad40070c6020000500962c..."} 
[2026-09-10 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba674a8012cf5ad40070c6020000500962c..."} 
[2026-09-10 19:39:58] local.INFO: Processing buffer {"connection_id":179369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba674a8012cf5ad40070c6020000500962c..."} 
[2026-09-10 19:39:58] local.INFO: Packet analysis {"connection_id":179369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:39:58] local.INFO: Extracted packet for processing {"connection_id":179369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:39:58] local.INFO: GPS Element Parsed {"raw_longitude":754298176,"raw_latitude":118251552,"longitude_deg":75.4298176,"latitude_deg":11.8251552,"altitude":5,"angle":150,"satellites":44,"speed":35,"hex_longitude":"2cf5ad40","hex_latitude":"070c6020","is_valid_coordinates":true} 
[2026-09-10 19:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996627968001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404602454907289600,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-749075251496765440,"note":"Value kept but may cause issues"} 
[2026-09-10 19:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789049337000,"timestamp_ms":1789049337000,"timestamp_seconds":1789049337,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba674a8"} 
[2026-09-10 19:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-10 19:39:58] 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-09-10 19:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:39: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-09-10 19:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996627968001,"66":27365,"177":206,"83":41728,"24":35,"16":404602454907289600,"44":-749075251496765440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 19:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996627968001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:39:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 19:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404602454907289600,"km_value":404602454907289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:39:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-749075251496765440,"description":"Unknown IO ID 44"} 
[2026-09-10 19:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996627968001,"power":27365,"unknown_177":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-749075251496765440}} 
[2026-09-10 19:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":179369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:39:58] local.INFO: GPS data processed {"connection_id":179369,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:39:58] local.INFO: Acknowledgment sent {"connection_id":179369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:40:02] local.INFO: TCP Data received {"connection_id":176839,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba56720012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba56720012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:40:02] local.INFO: Processing buffer {"connection_id":176839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba56720012d1940c0071ffc180037010d28..."} 
[2026-09-10 19:40:02] local.INFO: Packet analysis {"connection_id":176839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:40:02] local.INFO: Extracted packet for processing {"connection_id":176839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996607232001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789049268000,"timestamp_ms":1789049268000,"timestamp_seconds":1789049268,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba56720"} 
[2026-09-10 19:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:40: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-09-10 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 19:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996607232001,"66":12461,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996607232001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:40:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996607232001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":176839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:40:02] local.INFO: GPS data processed {"connection_id":176839,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:40:02] local.INFO: Acknowledgment sent {"connection_id":176839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:40:19] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:19] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:19] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:40:19] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:19] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:19] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:40:24] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:24] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:40:24] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:40:24] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba69bb8012cf5c140070c3f80000500932a..."} 
[2026-09-10 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba69bb8012cf5c140070c3f80000500932a..."} 
[2026-09-10 19:40:24] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba69bb8012cf5c140070c3f80000500932a..."} 
[2026-09-10 19:40:24] local.INFO: Packet analysis {"connection_id":176840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:40:24] local.INFO: Extracted packet for processing {"connection_id":176840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:40:24] local.INFO: GPS Element Parsed {"raw_longitude":754303296,"raw_latitude":118243200,"longitude_deg":75.4303296,"latitude_deg":11.82432,"altitude":5,"angle":147,"satellites":42,"speed":41,"hex_longitude":"2cf5c140","hex_latitude":"070c3f80","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996630272001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404602927353692160,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-743867964429688832,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049347000,"timestamp_ms":1789049347000,"timestamp_seconds":1789049347,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba69bb8"} 
[2026-09-10 19:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 19:40:24] 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-09-10 19: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-09-10 19:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996630272001,"66":27234,"177":206,"83":41728,"24":41,"16":404602927353692160,"44":-743867964429688832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 19:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996630272001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:40:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 19:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404602927353692160,"km_value":404602927353692.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:40:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-743867964429688832,"description":"Unknown IO ID 44"} 
[2026-09-10 19:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996630272001,"power":27234,"unknown_177":206,"unknown_83":41728,"ignition":41,"odometer":null,"unknown_44":-743867964429688832}} 
[2026-09-10 19:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":176840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:40:24] local.INFO: GPS data processed {"connection_id":176840,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:40:24] local.INFO: Acknowledgment sent {"connection_id":176840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:40:26] local.INFO: TCP Data received {"connection_id":176616,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:40:26] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:40:26] local.INFO: IMEI packet received {"connection_id":176616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":176616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:40:31] local.INFO: TCP Data received {"connection_id":176616,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:40:31] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:40:31] local.INFO: IMEI packet received {"connection_id":176616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":176616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:40:33] local.INFO: TCP Data received {"connection_id":176616,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba5b928012d1940c0071ffc180037010d29..."} 
[2026-09-10 19:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba5b928012d1940c0071ffc180037010d29..."} 
[2026-09-10 19:40:33] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba5b928012d1940c0071ffc180037010d29..."} 
[2026-09-10 19:40:33] local.INFO: Packet analysis {"connection_id":176616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:40:33] local.INFO: Extracted packet for processing {"connection_id":176616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119536664,"longitude_deg":75.6629696,"latitude_deg":11.9536664,"altitude":55,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d1940c0","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 19:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996612608001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382590406393856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819665386291599360,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789049289000,"timestamp_ms":1789049289000,"timestamp_seconds":1789049289,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba5b928"} 
[2026-09-10 19:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19: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-09-10 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 19:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996612608001,"66":12428,"121":206,"28":31744,"24":0,"16":19382590406393856,"45":1819665386291599360},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996612608001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:40:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382590406393856,"km_value":19382590406393.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819665386291599360,"description":"Unknown IO ID 45"} 
[2026-09-10 19:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996612608001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1819665386291599360}} 
[2026-09-10 19:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":176616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:40:33] local.INFO: GPS data processed {"connection_id":176616,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:40:33] local.INFO: Acknowledgment sent {"connection_id":176616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:40:55] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba6bee0012cf5d600070c21d8000600922c..."} 
[2026-09-10 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba6bee0012cf5d600070c21d8000600922c..."} 
[2026-09-10 19:40:55] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba6bee0012cf5d600070c21d8000600922c..."} 
[2026-09-10 19:40:55] local.INFO: Packet analysis {"connection_id":176840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:40:55] local.INFO: Extracted packet for processing {"connection_id":176840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:40:55] local.INFO: GPS Element Parsed {"raw_longitude":754308608,"raw_latitude":118235608,"longitude_deg":75.4308608,"latitude_deg":11.8235608,"altitude":6,"angle":146,"satellites":44,"speed":43,"hex_longitude":"2cf5d600","hex_latitude":"070c21d8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996632832001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404603374030290944,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-738238464897613824,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789049356000,"timestamp_ms":1789049356000,"timestamp_seconds":1789049356,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba6bee0"} 
[2026-09-10 19:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 19:40:55] 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-09-10 19: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-09-10 19:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996632832001,"66":27376,"177":206,"83":41728,"24":43,"16":404603374030290944,"44":-738238464897613824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 19:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996632832001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:40:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 19:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404603374030290944,"km_value":404603374030290.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:40:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-738238464897613824,"description":"Unknown IO ID 44"} 
[2026-09-10 19:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996632832001,"power":27376,"unknown_177":206,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-738238464897613824}} 
[2026-09-10 19:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":176840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:40:55] local.INFO: GPS data processed {"connection_id":176840,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:40:55] local.INFO: Acknowledgment sent {"connection_id":176840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:40:58] local.INFO: TCP Data received {"connection_id":179370,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:40:58] local.INFO: Processing buffer {"connection_id":179370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:40:58] local.INFO: IMEI packet received {"connection_id":179370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":179370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:40:59] local.INFO: TCP Data received {"connection_id":179370,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba56338012c9ec84007a855d0000500d62c..."} 
[2026-09-10 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba56338012c9ec84007a855d0000500d62c..."} 
[2026-09-10 19:40:59] local.INFO: Processing buffer {"connection_id":179370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba56338012c9ec84007a855d0000500d62c..."} 
[2026-09-10 19:40:59] local.INFO: Packet analysis {"connection_id":179370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:40:59] local.INFO: Extracted packet for processing {"connection_id":179370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:40:59] local.INFO: GPS Element Parsed {"raw_longitude":748603456,"raw_latitude":128472528,"longitude_deg":74.8603456,"latitude_deg":12.8472528,"altitude":5,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2c9ec840","hex_latitude":"07a855d0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996606976001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6991486544878573568,"note":"Value kept but may cause issues"} 
[2026-09-10 19:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789049267000,"timestamp_ms":1789049267000,"timestamp_seconds":1789049267,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba56338"} 
[2026-09-10 19:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:40: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-09-10 19: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 19:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996606976001,"66":27713,"98":206,"18":24064,"24":0,"16":3893920429768704,"44":-6991486544878573568},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,18,24,16,44]} 
[2026-09-10 19:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996606976001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:40:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 19:40:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-10 19:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:40:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6991486544878573568,"description":"Unknown IO ID 44"} 
[2026-09-10 19:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996606976001,"power":27713,"unknown_98":206,"unknown_18":24064,"ignition":0,"odometer":null,"unknown_44":-6991486544878573568}} 
[2026-09-10 19:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":179370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:40:59] local.INFO: GPS data processed {"connection_id":179370,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:40:59] local.INFO: Acknowledgment sent {"connection_id":179370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:41:04] local.INFO: TCP Data received {"connection_id":176616,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba7c0b0012d194200071ffc180036002a26..."} 
[2026-09-10 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba7c0b0012d194200071ffc180036002a26..."} 
[2026-09-10 19:41:04] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba7c0b0012d194200071ffc180036002a26..."} 
[2026-09-10 19:41:04] local.INFO: Packet analysis {"connection_id":176616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:41:04] local.INFO: Extracted packet for processing {"connection_id":176616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756630016,"raw_latitude":119536664,"longitude_deg":75.6630016,"latitude_deg":11.9536664,"altitude":54,"angle":42,"satellites":38,"speed":6,"hex_longitude":"2d194200","hex_latitude":"071ffc18","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996649216001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19382706370510848,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819946861268213760,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41: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-09-10 19:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789049422000,"timestamp_ms":1789049422000,"timestamp_seconds":1789049422,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba7c0b0"} 
[2026-09-10 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-09-10 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-10 19:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996649216001,"66":12863,"121":206,"28":31744,"24":6,"16":19382706370510848,"45":1819946861268213760},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996649216001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19382706370510848,"km_value":19382706370510.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819946861268213760,"description":"Unknown IO ID 45"} 
[2026-09-10 19:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996649216001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1819946861268213760}} 
[2026-09-10 19:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":176616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:41:04] local.INFO: GPS data processed {"connection_id":176616,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:41:04] local.INFO: Acknowledgment sent {"connection_id":176616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:41:19] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:41:19] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:41:19] local.INFO: IMEI packet received {"connection_id":176617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":176617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:41:23] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:41:23] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:41:23] local.INFO: IMEI packet received {"connection_id":176617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":176617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:41:24] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba6de20012cf5e800070c0360000500962c..."} 
[2026-09-10 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba6de20012cf5e800070c0360000500962c..."} 
[2026-09-10 19:41:24] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba6de20012cf5e800070c0360000500962c..."} 
[2026-09-10 19:41:24] local.INFO: Packet analysis {"connection_id":176617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:41:24] local.INFO: Extracted packet for processing {"connection_id":176617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":754313216,"raw_latitude":118227808,"longitude_deg":75.4313216,"latitude_deg":11.8227808,"altitude":5,"angle":150,"satellites":44,"speed":45,"hex_longitude":"2cf5e800","hex_latitude":"070c0360","is_valid_coordinates":true} 
[2026-09-10 19:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996635136001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404603812116955136,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-732397859132811264,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049364000,"timestamp_ms":1789049364000,"timestamp_seconds":1789049364,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba6de20"} 
[2026-09-10 19:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:41:24] 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-09-10 19:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996635136001,"66":27745,"177":206,"83":41728,"24":45,"16":404603812116955136,"44":-732397859132811264},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 19:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996635136001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:41:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 19:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404603812116955136,"km_value":404603812116955.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:41:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-732397859132811264,"description":"Unknown IO ID 44"} 
[2026-09-10 19:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996635136001,"power":27745,"unknown_177":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-732397859132811264}} 
[2026-09-10 19:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":176617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:41:24] local.INFO: GPS data processed {"connection_id":176617,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:41:24] local.INFO: Acknowledgment sent {"connection_id":176617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:41:25] local.INFO: TCP Data received {"connection_id":176841,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:25] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:25] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:41:26] local.INFO: TCP Data received {"connection_id":176841,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:26] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:26] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:41:27] local.INFO: TCP Data received {"connection_id":176841,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:27] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:27] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:41:28] local.INFO: TCP Data received {"connection_id":176841,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:28] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:41:28] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:41:43] local.INFO: TCP Data received {"connection_id":177993,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:41:43] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:41:43] local.INFO: IMEI packet received {"connection_id":177993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":177993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:41:46] local.INFO: TCP Data received {"connection_id":177993,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:41:46] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:41:46] local.INFO: IMEI packet received {"connection_id":177993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":177993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:41:47] local.INFO: TCP Data received {"connection_id":177993,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba59600012c9eaf4007a81090000800b632..."} 
[2026-09-10 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba59600012c9eaf4007a81090000800b632..."} 
[2026-09-10 19:41:47] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba59600012c9eaf4007a81090000800b632..."} 
[2026-09-10 19:41:47] local.INFO: Packet analysis {"connection_id":177993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:41:47] local.INFO: Extracted packet for processing {"connection_id":177993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":748597056,"raw_latitude":128454800,"longitude_deg":74.8597056,"latitude_deg":12.84548,"altitude":8,"angle":182,"satellites":50,"speed":38,"hex_longitude":"2c9eaf40","hex_latitude":"07a81090","is_valid_coordinates":true} 
[2026-09-10 19:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996612352001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7005278818741661696,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789049280000,"timestamp_ms":1789049280000,"timestamp_seconds":1789049280,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba59600"} 
[2026-09-10 19:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 19:41:47] 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-09-10 19:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996612352001,"66":27550,"98":206,"18":24064,"24":38,"16":3893920429768704,"44":-7005278818741661696},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,18,24,16,44]} 
[2026-09-10 19:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996612352001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-10 19:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7005278818741661696,"description":"Unknown IO ID 44"} 
[2026-09-10 19:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996612352001,"power":27550,"unknown_98":206,"unknown_18":24064,"ignition":38,"odometer":null,"unknown_44":-7005278818741661696}} 
[2026-09-10 19:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":177993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:41:47] local.INFO: GPS data processed {"connection_id":177993,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:41:47] local.INFO: Acknowledgment sent {"connection_id":177993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:41:48] local.INFO: TCP Data received {"connection_id":177993,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba5e808012c9eb14007a7cc78000b00b030..."} 
[2026-09-10 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba5e808012c9eb14007a7cc78000b00b030..."} 
[2026-09-10 19:41:48] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba5e808012c9eb14007a7cc78000b00b030..."} 
[2026-09-10 19:41:48] local.INFO: Packet analysis {"connection_id":177993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:41:48] local.INFO: Extracted packet for processing {"connection_id":177993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba5"} 
[2026-09-10 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":748597568,"raw_latitude":128437368,"longitude_deg":74.8597568,"latitude_deg":12.8437368,"altitude":11,"angle":176,"satellites":48,"speed":0,"hex_longitude":"2c9eb140","hex_latitude":"07a7cc78","is_valid_coordinates":true} 
[2026-09-10 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996615680001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7012315693163966464,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789049301000,"timestamp_ms":1789049301000,"timestamp_seconds":1789049301,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba5e808"} 
[2026-09-10 19:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 19:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996615680001,"66":27571,"98":206,"18":24064,"24":0,"16":3893920429768704,"44":-7012315693163966464},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,18,24,16,44]} 
[2026-09-10 19:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996615680001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:41:48] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 19:41:48] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-10 19:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:41:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7012315693163966464,"description":"Unknown IO ID 44"} 
[2026-09-10 19:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996615680001,"power":27571,"unknown_98":206,"unknown_18":24064,"ignition":0,"odometer":null,"unknown_44":-7012315693163966464}} 
[2026-09-10 19:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":177993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:41:49] local.INFO: GPS data processed {"connection_id":177993,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:41:49] local.INFO: Acknowledgment sent {"connection_id":177993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:41:55] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba6fd60012cf5f900070be468000400972b..."} 
[2026-09-10 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba6fd60012cf5f900070be468000400972b..."} 
[2026-09-10 19:41:55] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba6fd60012cf5f900070be468000400972b..."} 
[2026-09-10 19:41:55] local.INFO: Packet analysis {"connection_id":176617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:41:55] local.INFO: Extracted packet for processing {"connection_id":176617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:41:55] local.INFO: GPS Element Parsed {"raw_longitude":754317568,"raw_latitude":118219880,"longitude_deg":75.4317568,"latitude_deg":11.821988,"altitude":4,"angle":151,"satellites":43,"speed":42,"hex_longitude":"2cf5f900","hex_latitude":"070be468","is_valid_coordinates":true} 
[2026-09-10 19:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996637184001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404604245908652032,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-727331309554016256,"note":"Value kept but may cause issues"} 
[2026-09-10 19:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789049372000,"timestamp_ms":1789049372000,"timestamp_seconds":1789049372,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba6fd60"} 
[2026-09-10 19:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 19:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996637184001,"66":27919,"177":206,"83":41728,"24":42,"16":404604245908652032,"44":-727331309554016256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-10 19:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996637184001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:41:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 19:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404604245908652032,"km_value":404604245908652.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-727331309554016256,"description":"Unknown IO ID 44"} 
[2026-09-10 19:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996637184001,"power":27919,"unknown_177":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-727331309554016256}} 
[2026-09-10 19:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":176617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:41:55] local.INFO: GPS data processed {"connection_id":176617,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:41:55] local.INFO: Acknowledgment sent {"connection_id":176617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:42:18] local.INFO: TCP Data received {"connection_id":179371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:42:18] local.INFO: Processing buffer {"connection_id":179371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:42:18] local.INFO: IMEI packet received {"connection_id":179371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":179371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:42:20] local.INFO: TCP Data received {"connection_id":177993,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba6d2680100000000000000000000000000..."} 
[2026-09-10 19:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba6d2680100000000000000000000000000..."} 
[2026-09-10 19:42:20] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba6d2680100000000000000000000000000..."} 
[2026-09-10 19:42:20] local.INFO: Packet analysis {"connection_id":177993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:42:20] local.INFO: Extracted packet for processing {"connection_id":177993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:42:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 19:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996621056001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7011752743215007744,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789049361000,"timestamp_ms":1789049361000,"timestamp_seconds":1789049361,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba6d268"} 
[2026-09-10 19:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 19:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":177993,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 19:42:20] local.INFO: GPS data processed {"connection_id":177993,"processed":0,"errors":0,"total":1} 
[2026-09-10 19:42:20] local.INFO: Acknowledgment sent {"connection_id":177993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:42:23] local.INFO: TCP Data received {"connection_id":179371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:42:23] local.INFO: Processing buffer {"connection_id":179371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:42:23] local.INFO: IMEI packet received {"connection_id":179371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":179371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:42:24] local.INFO: TCP Data received {"connection_id":179371,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba72088012cf60880070bc3080005009d2b..."} 
[2026-09-10 19:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba72088012cf60880070bc3080005009d2b..."} 
[2026-09-10 19:42:24] local.INFO: Processing buffer {"connection_id":179371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba72088012cf60880070bc3080005009d2b..."} 
[2026-09-10 19:42:24] local.INFO: Packet analysis {"connection_id":179371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:42:24] local.INFO: Extracted packet for processing {"connection_id":179371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:42:24] local.INFO: GPS Element Parsed {"raw_longitude":754321536,"raw_latitude":118211336,"longitude_deg":75.4321536,"latitude_deg":11.8211336,"altitude":5,"angle":157,"satellites":43,"speed":38,"hex_longitude":"2cf60880","hex_latitude":"070bc308","is_valid_coordinates":true} 
[2026-09-10 19:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996639232001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404604701175185408,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-722546234951964672,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049381000,"timestamp_ms":1789049381000,"timestamp_seconds":1789049381,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba72088"} 
[2026-09-10 19:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-10 19:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996639232001,"66":27876,"178":206,"83":41728,"24":38,"16":404604701175185408,"44":-722546234951964672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996639232001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:42:24] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404604701175185408,"km_value":404604701175185.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-722546234951964672,"description":"Unknown IO ID 44"} 
[2026-09-10 19:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996639232001,"power":27876,"unknown_178":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-722546234951964672}} 
[2026-09-10 19:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":179371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:42:24] local.INFO: GPS data processed {"connection_id":179371,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:42:24] local.INFO: Acknowledgment sent {"connection_id":179371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:42:38] local.INFO: TCP Data received {"connection_id":176618,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:42:38] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:42:38] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:42:43] local.INFO: TCP Data received {"connection_id":176618,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:42:43] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:42:43] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 19:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:42:45] local.INFO: TCP Data received {"connection_id":176618,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba668f0012c9ebb4007a72fc0000c00b031..."} 
[2026-09-10 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba668f0012c9ebb4007a72fc0000c00b031..."} 
[2026-09-10 19:42:45] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba668f0012c9ebb4007a72fc0000c00b031..."} 
[2026-09-10 19:42:45] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:42:45] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":748600128,"raw_latitude":128397248,"longitude_deg":74.8600128,"latitude_deg":12.8397248,"altitude":12,"angle":176,"satellites":49,"speed":51,"hex_longitude":"2c9ebb40","hex_latitude":"07a72fc0","is_valid_coordinates":true} 
[2026-09-10 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789049334000,"timestamp_ms":1789049334000,"timestamp_seconds":1789049334,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba668f0"} 
[2026-09-10 19:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 19:42:45] 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-09-10 19:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27430,"98":206,"18":24064,"24":51,"16":3893920429768704},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,18,24,16]} 
[2026-09-10 19:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 19:42:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 19:42:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-10 19:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:42:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27430,"unknown_98":206,"unknown_18":24064,"ignition":51,"odometer":null}} 
[2026-09-10 19:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:42:45] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:42:45] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:42:56] local.INFO: TCP Data received {"connection_id":179371,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba73028012cf60c40070bb548000600a92c..."} 
[2026-09-10 19:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba73028012cf60c40070bb548000600a92c..."} 
[2026-09-10 19:42:56] local.INFO: Processing buffer {"connection_id":179371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba73028012cf60c40070bb548000600a92c..."} 
[2026-09-10 19:42:56] local.INFO: Packet analysis {"connection_id":179371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:42:56] local.INFO: Extracted packet for processing {"connection_id":179371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":754322496,"raw_latitude":118207816,"longitude_deg":75.4322496,"latitude_deg":11.8207816,"altitude":6,"angle":169,"satellites":44,"speed":34,"hex_longitude":"2cf60c40","hex_latitude":"070bb548","is_valid_coordinates":true} 
[2026-09-10 19:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996641536001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404604877268844544,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-718183372815136768,"note":"Value kept but may cause issues"} 
[2026-09-10 19:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789049385000,"timestamp_ms":1789049385000,"timestamp_seconds":1789049385,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba73028"} 
[2026-09-10 19:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 19:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996641536001,"66":27843,"178":206,"83":41728,"24":34,"16":404604877268844544,"44":-718183372815136768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996641536001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:42:56] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404604877268844544,"km_value":404604877268844.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-718183372815136768,"description":"Unknown IO ID 44"} 
[2026-09-10 19:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996641536001,"power":27843,"unknown_178":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_44":-718183372815136768}} 
[2026-09-10 19:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":179371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:42:56] local.INFO: GPS data processed {"connection_id":179371,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:42:56] local.INFO: Acknowledgment sent {"connection_id":179371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:43:16] local.INFO: TCP Data received {"connection_id":176618,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba6baf8012c9ec0c007a6dc08000b00b032..."} 
[2026-09-10 19:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba6baf8012c9ec0c007a6dc08000b00b032..."} 
[2026-09-10 19:43:16] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba6baf8012c9ec0c007a6dc08000b00b032..."} 
[2026-09-10 19:43:16] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:43:16] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba6"} 
[2026-09-10 19:43:16] local.INFO: GPS Element Parsed {"raw_longitude":748601536,"raw_latitude":128375816,"longitude_deg":74.8601536,"latitude_deg":12.8375816,"altitude":11,"angle":176,"satellites":50,"speed":0,"hex_longitude":"2c9ec0c0","hex_latitude":"07a6dc08","is_valid_coordinates":true} 
[2026-09-10 19:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996629504001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7008937993458171904,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789049355000,"timestamp_ms":1789049355000,"timestamp_seconds":1789049355,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba6baf8"} 
[2026-09-10 19:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19: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-09-10 19:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 19:43:16] 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-09-10 19:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996629504001,"66":27571,"98":206,"18":24064,"24":0,"16":3893920429768704,"44":-7008937993458171904},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,18,24,16,44]} 
[2026-09-10 19:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996629504001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:43:16] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 19:43:16] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-10 19:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7008937993458171904,"description":"Unknown IO ID 44"} 
[2026-09-10 19:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996629504001,"power":27571,"unknown_98":206,"unknown_18":24064,"ignition":0,"odometer":null,"unknown_44":-7008937993458171904}} 
[2026-09-10 19:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:43:17] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:43:17] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:43:18] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:43:18] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:43:18] local.INFO: IMEI packet received {"connection_id":176619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":176619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:43:23] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:43:23] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:43:23] local.INFO: IMEI packet received {"connection_id":176619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":176619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:43:24] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:43:24] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:43:24] local.INFO: Packet analysis {"connection_id":176619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:43:24] local.INFO: Extracted packet for processing {"connection_id":176619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:43:24] local.INFO: GPS Element Parsed {"raw_longitude":754323136,"raw_latitude":118204672,"longitude_deg":75.4323136,"latitude_deg":11.8204672,"altitude":5,"angle":169,"satellites":44,"speed":16,"hex_longitude":"2cf60ec0","hex_latitude":"070ba900","is_valid_coordinates":true} 
[2026-09-10 19:43: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-09-10 19:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996642560001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717127841653372928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049390000,"timestamp_ms":1789049390000,"timestamp_seconds":1789049390,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba743b0"} 
[2026-09-10 19:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 19:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996642560001,"66":27767,"178":206,"83":41728,"24":16,"16":404605036182634496,"44":-717127841653372928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996642560001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:43:24] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:43:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717127841653372928,"description":"Unknown IO ID 44"} 
[2026-09-10 19:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996642560001,"power":27767,"unknown_178":206,"unknown_83":41728,"ignition":16,"odometer":null,"unknown_44":-717127841653372928}} 
[2026-09-10 19:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":176619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:43:24] local.INFO: GPS data processed {"connection_id":176619,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:43:24] local.INFO: Acknowledgment sent {"connection_id":176619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:43:38] local.INFO: TCP Data received {"connection_id":176621,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:43:38] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:43:38] local.INFO: IMEI packet received {"connection_id":176621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":176621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:43:42] local.INFO: TCP Data received {"connection_id":176621,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:43:42] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:43:42] local.INFO: IMEI packet received {"connection_id":176621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 19:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":176621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:43:43] local.INFO: TCP Data received {"connection_id":176621,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba99570012c9eac4007a47d78000500bf2f..."} 
[2026-09-10 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba99570012c9eac4007a47d78000500bf2f..."} 
[2026-09-10 19:43:43] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba99570012c9eac4007a47d78000500bf2f..."} 
[2026-09-10 19:43:43] local.INFO: Packet analysis {"connection_id":176621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba9"} 
[2026-09-10 19:43:43] local.INFO: Extracted packet for processing {"connection_id":176621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba9"} 
[2026-09-10 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":748596288,"raw_latitude":128220536,"longitude_deg":74.8596288,"latitude_deg":12.8220536,"altitude":5,"angle":191,"satellites":47,"speed":42,"hex_longitude":"2c9eac40","hex_latitude":"07a47d78","is_valid_coordinates":true} 
[2026-09-10 19:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,68,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789049542000,"timestamp_ms":1789049542000,"timestamp_seconds":1789049542,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba99570"} 
[2026-09-10 19:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 19:43:43] 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-09-10 19:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"68":206,"9":57344,"24":42,"16":3893920429768704},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,9,24,16]} 
[2026-09-10 19:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 19:43:43] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 19:43:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 19:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:43:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_68":206,"unknown_9":57344,"ignition":42,"odometer":null}} 
[2026-09-10 19:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":176621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:43:43] local.INFO: GPS data processed {"connection_id":176621,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:43:43] local.INFO: Acknowledgment sent {"connection_id":176621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:43:55] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:43:55] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:43:55] local.INFO: Packet analysis {"connection_id":176619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:43:55] local.INFO: Extracted packet for processing {"connection_id":176619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:43:55] local.INFO: GPS Element Parsed {"raw_longitude":754323136,"raw_latitude":118204672,"longitude_deg":75.4323136,"latitude_deg":11.8204672,"altitude":5,"angle":169,"satellites":44,"speed":16,"hex_longitude":"2cf60ec0","hex_latitude":"070ba900","is_valid_coordinates":true} 
[2026-09-10 19:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996642560001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717127841653372928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789049390000,"timestamp_ms":1789049390000,"timestamp_seconds":1789049390,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba743b0"} 
[2026-09-10 19:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 19:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996642560001,"66":27767,"178":206,"83":41728,"24":16,"16":404605036182634496,"44":-717127841653372928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996642560001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:43:55] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717127841653372928,"description":"Unknown IO ID 44"} 
[2026-09-10 19:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996642560001,"power":27767,"unknown_178":206,"unknown_83":41728,"ignition":16,"odometer":null,"unknown_44":-717127841653372928}} 
[2026-09-10 19:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":176619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:43:55] local.INFO: GPS data processed {"connection_id":176619,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:43:55] local.INFO: Acknowledgment sent {"connection_id":176619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:44:15] local.INFO: TCP Data received {"connection_id":176621,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba9e778012c9e9d4007a432f0000a00be31..."} 
[2026-09-10 19:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba9e778012c9e9d4007a432f0000a00be31..."} 
[2026-09-10 19:44:15] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba9e778012c9e9d4007a432f0000a00be31..."} 
[2026-09-10 19:44:15] local.INFO: Packet analysis {"connection_id":176621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba9"} 
[2026-09-10 19:44:15] local.INFO: Extracted packet for processing {"connection_id":176621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba9"} 
[2026-09-10 19:44:15] local.INFO: GPS Element Parsed {"raw_longitude":748592448,"raw_latitude":128201456,"longitude_deg":74.8592448,"latitude_deg":12.8201456,"altitude":10,"angle":190,"satellites":49,"speed":0,"hex_longitude":"2c9e9d40","hex_latitude":"07a432f0","is_valid_coordinates":true} 
[2026-09-10 19:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996682752001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7013160118154070016,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789049563000,"timestamp_ms":1789049563000,"timestamp_seconds":1789049563,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba9e778"} 
[2026-09-10 19:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:44: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-09-10 19:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 19:44: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-09-10 19:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996682752001,"66":27713,"68":206,"9":57344,"24":0,"16":3893920429768704,"44":-7013160118154070016},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,9,24,16,44]} 
[2026-09-10 19:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996682752001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:44:15] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-10 19:44:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 19:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7013160118154070016,"description":"Unknown IO ID 44"} 
[2026-09-10 19:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996682752001,"power":27713,"unknown_68":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7013160118154070016}} 
[2026-09-10 19:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":176621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:44:15] local.INFO: GPS data processed {"connection_id":176621,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:44:15] local.INFO: Acknowledgment sent {"connection_id":176621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:44:18] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:44:18] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:44:18] local.INFO: IMEI packet received {"connection_id":177994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":177994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:44:23] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:44:23] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:44:23] local.INFO: IMEI packet received {"connection_id":177994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":177994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:44:24] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:44:24] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:44:24] local.INFO: Packet analysis {"connection_id":177994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:44:24] local.INFO: Extracted packet for processing {"connection_id":177994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":754323136,"raw_latitude":118204672,"longitude_deg":75.4323136,"latitude_deg":11.8204672,"altitude":5,"angle":169,"satellites":44,"speed":16,"hex_longitude":"2cf60ec0","hex_latitude":"070ba900","is_valid_coordinates":true} 
[2026-09-10 19:44: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-09-10 19:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996642560001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717127841653372928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049390000,"timestamp_ms":1789049390000,"timestamp_seconds":1789049390,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba743b0"} 
[2026-09-10 19:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 19:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996642560001,"66":27767,"178":206,"83":41728,"24":16,"16":404605036182634496,"44":-717127841653372928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996642560001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:44:24] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717127841653372928,"description":"Unknown IO ID 44"} 
[2026-09-10 19:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996642560001,"power":27767,"unknown_178":206,"unknown_83":41728,"ignition":16,"odometer":null,"unknown_44":-717127841653372928}} 
[2026-09-10 19:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":177994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:44:24] local.INFO: GPS data processed {"connection_id":177994,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:44:24] local.INFO: Acknowledgment sent {"connection_id":177994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:44:38] local.INFO: TCP Data received {"connection_id":176844,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:44:38] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:44:38] local.INFO: IMEI packet received {"connection_id":176844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":176844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:44:44] local.INFO: TCP Data received {"connection_id":176844,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:44:44] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:44:44] local.INFO: IMEI packet received {"connection_id":176844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 19:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":176844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:44:46] local.INFO: TCP Data received {"connection_id":176844,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08baa3980012c9e920007a3edd8001000bc32..."} 
[2026-09-10 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baa3980012c9e920007a3edd8001000bc32..."} 
[2026-09-10 19:44:46] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baa3980012c9e920007a3edd8001000bc32..."} 
[2026-09-10 19:44:46] local.INFO: Packet analysis {"connection_id":176844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08baa"} 
[2026-09-10 19:44:46] local.INFO: Extracted packet for processing {"connection_id":176844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08baa"} 
[2026-09-10 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":748589568,"raw_latitude":128183768,"longitude_deg":74.8589568,"latitude_deg":12.8183768,"altitude":16,"angle":188,"satellites":50,"speed":0,"hex_longitude":"2c9e9200","hex_latitude":"07a3edd8","is_valid_coordinates":true} 
[2026-09-10 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996688128001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7017382242809614336,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789049584000,"timestamp_ms":1789049584000,"timestamp_seconds":1789049584,"priority":1,"record_length":96,"hex_timestamp":"000001a08baa3980"} 
[2026-09-10 19:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 19:44:46] 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-09-10 19:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996688128001,"66":27365,"67":206,"9":57344,"24":0,"16":3893920429768704,"44":-7017382242809614336},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,9,24,16,44]} 
[2026-09-10 19:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996688128001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:44:46] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 19:44:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 19:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7017382242809614336,"description":"Unknown IO ID 44"} 
[2026-09-10 19:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996688128001,"power":27365,"unknown_67":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7017382242809614336}} 
[2026-09-10 19:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":176844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:44:46] local.INFO: GPS data processed {"connection_id":176844,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:44:46] local.INFO: Acknowledgment sent {"connection_id":176844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:44:55] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:44:55] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08ba743b0012cf60ec0070ba900000500a92c..."} 
[2026-09-10 19:44:55] local.INFO: Packet analysis {"connection_id":177994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:44:55] local.INFO: Extracted packet for processing {"connection_id":177994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08ba7"} 
[2026-09-10 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":754323136,"raw_latitude":118204672,"longitude_deg":75.4323136,"latitude_deg":11.8204672,"altitude":5,"angle":169,"satellites":44,"speed":16,"hex_longitude":"2cf60ec0","hex_latitude":"070ba900","is_valid_coordinates":true} 
[2026-09-10 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996642560001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717127841653372928,"note":"Value kept but may cause issues"} 
[2026-09-10 19:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789049390000,"timestamp_ms":1789049390000,"timestamp_seconds":1789049390,"priority":1,"record_length":96,"hex_timestamp":"000001a08ba743b0"} 
[2026-09-10 19:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-10 19:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996642560001,"66":27767,"178":206,"83":41728,"24":16,"16":404605036182634496,"44":-717127841653372928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996642560001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:44:55] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717127841653372928,"description":"Unknown IO ID 44"} 
[2026-09-10 19:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996642560001,"power":27767,"unknown_178":206,"unknown_83":41728,"ignition":16,"odometer":null,"unknown_44":-717127841653372928}} 
[2026-09-10 19:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":177994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:44:55] local.INFO: GPS data processed {"connection_id":177994,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:44:55] local.INFO: Acknowledgment sent {"connection_id":177994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:45:23] local.INFO: TCP Data received {"connection_id":179372,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:45:23] local.INFO: Processing buffer {"connection_id":179372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:45:23] local.INFO: IMEI packet received {"connection_id":179372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":179372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:45:28] local.INFO: TCP Data received {"connection_id":179372,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:45:28] local.INFO: Processing buffer {"connection_id":179372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:45:28] local.INFO: IMEI packet received {"connection_id":179372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":179372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:45:29] local.INFO: TCP Data received {"connection_id":179372,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08baba0e0012cf61000070ba490000500aa2f..."} 
[2026-09-10 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baba0e0012cf61000070ba490000500aa2f..."} 
[2026-09-10 19:45:29] local.INFO: Processing buffer {"connection_id":179372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baba0e0012cf61000070ba490000500aa2f..."} 
[2026-09-10 19:45:29] local.INFO: Packet analysis {"connection_id":179372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bab"} 
[2026-09-10 19:45:29] local.INFO: Extracted packet for processing {"connection_id":179372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bab"} 
[2026-09-10 19:45:29] local.INFO: GPS Element Parsed {"raw_longitude":754323456,"raw_latitude":118203536,"longitude_deg":75.4323456,"latitude_deg":11.8203536,"altitude":5,"angle":170,"satellites":47,"speed":0,"hex_longitude":"2cf61000","hex_latitude":"070ba490","is_valid_coordinates":true} 
[2026-09-10 19:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996643840001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716424154212401152,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789049676000,"timestamp_ms":1789049676000,"timestamp_seconds":1789049676,"priority":1,"record_length":96,"hex_timestamp":"000001a08baba0e0"} 
[2026-09-10 19:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 19:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:45: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-09-10 19:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996643840001,"66":25702,"178":206,"83":41728,"24":0,"16":404605036182634496,"44":-716424154212401152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996643840001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:45:29] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716424154212401152,"description":"Unknown IO ID 44"} 
[2026-09-10 19:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996643840001,"power":25702,"unknown_178":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-716424154212401152}} 
[2026-09-10 19:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":179372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:45:29] local.INFO: GPS data processed {"connection_id":179372,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:45:29] local.INFO: Acknowledgment sent {"connection_id":179372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:45:31] local.INFO: TCP Data received {"connection_id":176844,"ip":"117.224.39.76","data_length":795,"data_hex":"000000000000030f8e0a000001a08baa8b88012c9e898007a3aac0001000b532..."} 
[2026-09-10 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baa8b88012c9e898007a3aac0001000b532..."} 
[2026-09-10 19:45:31] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baa8b88012c9e898007a3aac0001000b532..."} 
[2026-09-10 19:45:31] local.INFO: Packet analysis {"connection_id":176844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08baa"} 
[2026-09-10 19:45:31] local.INFO: Extracted packet for processing {"connection_id":176844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08baa"} 
[2026-09-10 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":748587392,"raw_latitude":128166592,"longitude_deg":74.8587392,"latitude_deg":12.8166592,"altitude":16,"angle":181,"satellites":50,"speed":0,"hex_longitude":"2c9e8980","hex_latitude":"07a3aac0","is_valid_coordinates":true} 
[2026-09-10 19:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996693504001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7020548836302137344,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789049605000,"timestamp_ms":1789049605000,"timestamp_seconds":1789049605,"priority":1,"record_length":96,"hex_timestamp":"000001a08baa8b88"} 
[2026-09-10 19:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 19:45: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-09-10 19:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 19:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.39.76","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 19:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 19:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996693504001,"66":27517,"67":206,"9":57344,"24":0,"16":3893920429768704,"44":-7020548836302137344},"client_ip":"117.224.39.76","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,9,24,16,44]} 
[2026-09-10 19:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 19:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 19:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996693504001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:45:31] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 19:45:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-10 19:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7020548836302137344,"description":"Unknown IO ID 44"} 
[2026-09-10 19:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996693504001,"power":27517,"unknown_67":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7020548836302137344}} 
[2026-09-10 19:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":176844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:45:31] local.INFO: GPS data processed {"connection_id":176844,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:45:31] local.INFO: Acknowledgment sent {"connection_id":176844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:45:34] local.INFO: TCP Data received {"connection_id":179372,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08baba0e0012cf61000070ba490000500aa2f..."} 
[2026-09-10 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baba0e0012cf61000070ba490000500aa2f..."} 
[2026-09-10 19:45:34] local.INFO: Processing buffer {"connection_id":179372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baba0e0012cf61000070ba490000500aa2f..."} 
[2026-09-10 19:45:34] local.INFO: Packet analysis {"connection_id":179372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bab"} 
[2026-09-10 19:45:34] local.INFO: Extracted packet for processing {"connection_id":179372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bab"} 
[2026-09-10 19:45:34] local.INFO: GPS Element Parsed {"raw_longitude":754323456,"raw_latitude":118203536,"longitude_deg":75.4323456,"latitude_deg":11.8203536,"altitude":5,"angle":170,"satellites":47,"speed":0,"hex_longitude":"2cf61000","hex_latitude":"070ba490","is_valid_coordinates":true} 
[2026-09-10 19:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996643840001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716424154212401152,"note":"Value kept but may cause issues"} 
[2026-09-10 19:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789049676000,"timestamp_ms":1789049676000,"timestamp_seconds":1789049676,"priority":1,"record_length":96,"hex_timestamp":"000001a08baba0e0"} 
[2026-09-10 19:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:45: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-09-10 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 19:45: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-09-10 19:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:45: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-09-10 19:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996643840001,"66":25702,"178":206,"83":41728,"24":0,"16":404605036182634496,"44":-716424154212401152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996643840001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:45:34] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:45:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716424154212401152,"description":"Unknown IO ID 44"} 
[2026-09-10 19:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996643840001,"power":25702,"unknown_178":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-716424154212401152}} 
[2026-09-10 19:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":179372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:45:34] local.INFO: GPS data processed {"connection_id":179372,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:45:34] local.INFO: Acknowledgment sent {"connection_id":179372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:46:19] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:46:19] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:46:19] local.INFO: IMEI packet received {"connection_id":176622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":176622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:46:21] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:46:21] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:46:21] local.INFO: IMEI packet received {"connection_id":176622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":176622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:46:22] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bac0288012cf60f80070ba470000500aa2e..."} 
[2026-09-10 19:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bac0288012cf60f80070ba470000500aa2e..."} 
[2026-09-10 19:46:22] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bac0288012cf60f80070ba470000500aa2e..."} 
[2026-09-10 19:46:22] local.INFO: Packet analysis {"connection_id":176622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:46:22] local.INFO: Extracted packet for processing {"connection_id":176622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":754323328,"raw_latitude":118203504,"longitude_deg":75.4323328,"latitude_deg":11.8203504,"altitude":5,"angle":170,"satellites":46,"speed":0,"hex_longitude":"2cf60f80","hex_latitude":"070ba470","is_valid_coordinates":true} 
[2026-09-10 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996717056001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716072310491803648,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789049701000,"timestamp_ms":1789049701000,"timestamp_seconds":1789049701,"priority":1,"record_length":96,"hex_timestamp":"000001a08bac0288"} 
[2026-09-10 19:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 19:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:46: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-09-10 19:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996717056001,"66":27571,"178":206,"83":41728,"24":0,"16":404605036182634496,"44":-716072310491803648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,44]} 
[2026-09-10 19:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996717056001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:46:22] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-10 19:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:46:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716072310491803648,"description":"Unknown IO ID 44"} 
[2026-09-10 19:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996717056001,"power":27571,"unknown_178":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-716072310491803648}} 
[2026-09-10 19:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":176622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:46:22] local.INFO: GPS data processed {"connection_id":176622,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:46:22] local.INFO: Acknowledgment sent {"connection_id":176622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:46:31] local.INFO: TCP Data received {"connection_id":176845,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:46:31] local.INFO: Processing buffer {"connection_id":176845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:46:31] local.INFO: IMEI packet received {"connection_id":176845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":176845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:46:32] local.INFO: TCP Data received {"connection_id":176845,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08babef00012d196680071fed700037005e29..."} 
[2026-09-10 19:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08babef00012d196680071fed700037005e29..."} 
[2026-09-10 19:46:32] local.INFO: Processing buffer {"connection_id":176845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08babef00012d196680071fed700037005e29..."} 
[2026-09-10 19:46:32] local.INFO: Packet analysis {"connection_id":176845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bab"} 
[2026-09-10 19:46:32] local.INFO: Extracted packet for processing {"connection_id":176845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bab"} 
[2026-09-10 19:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996716800001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789049696000,"timestamp_ms":1789049696000,"timestamp_seconds":1789049696,"priority":1,"record_length":96,"hex_timestamp":"000001a08babef00"} 
[2026-09-10 19:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 19:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996716800001,"66":12548,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996716800001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:46:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996716800001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":176845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:46:32] local.INFO: GPS data processed {"connection_id":176845,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:46:32] local.INFO: Acknowledgment sent {"connection_id":176845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:46:53] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bac5490012cf60f80070ba470000500aa2f..."} 
[2026-09-10 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bac5490012cf60f80070ba470000500aa2f..."} 
[2026-09-10 19:46:53] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bac5490012cf60f80070ba470000500aa2f..."} 
[2026-09-10 19:46:53] local.INFO: Packet analysis {"connection_id":176622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:46:53] local.INFO: Extracted packet for processing {"connection_id":176622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":754323328,"raw_latitude":118203504,"longitude_deg":75.4323328,"latitude_deg":11.8203504,"altitude":5,"angle":170,"satellites":47,"speed":0,"hex_longitude":"2cf60f80","hex_latitude":"070ba470","is_valid_coordinates":true} 
[2026-09-10 19:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996723456001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716213047980167168,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:46:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789049722000,"timestamp_ms":1789049722000,"timestamp_seconds":1789049722,"priority":1,"record_length":96,"hex_timestamp":"000001a08bac5490"} 
[2026-09-10 19:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:46: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-09-10 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 19:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996723456001,"66":27213,"44":-716213047980167168,"83":41728,"24":0,"16":404605036182634496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 19:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996723456001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:46:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716213047980167168,"description":"Unknown IO ID 44"} 
[2026-09-10 19:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:46:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996723456001,"power":27213,"unknown_44":-716213047980167168,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-09-10 19:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":176622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:46:53] local.INFO: GPS data processed {"connection_id":176622,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:46:53] local.INFO: Acknowledgment sent {"connection_id":176622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:47:04] local.INFO: TCP Data received {"connection_id":176845,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bac4108012d196680071fed700037005e2b..."} 
[2026-09-10 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bac4108012d196680071fed700037005e2b..."} 
[2026-09-10 19:47:04] local.INFO: Processing buffer {"connection_id":176845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bac4108012d196680071fed700037005e2b..."} 
[2026-09-10 19:47:04] local.INFO: Packet analysis {"connection_id":176845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:04] local.INFO: Extracted packet for processing {"connection_id":176845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996722176001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47: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-09-10 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789049717000,"timestamp_ms":1789049717000,"timestamp_seconds":1789049717,"priority":1,"record_length":96,"hex_timestamp":"000001a08bac4108"} 
[2026-09-10 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2343174864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2863063041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3706585088,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,220,160,156,45,128,237,55,42,10,66,74,248,1,240,58,139,31,4,113,205,84,102,112,43,239,49,2,68,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:47:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963271202272706560,"timestamp_seconds":3963271202272706.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996722176001,"66":12558,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996722176001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:47:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996722176001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":176845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:47:04] local.INFO: GPS data processed {"connection_id":176845,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:47:04] local.INFO: Acknowledgment sent {"connection_id":176845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:47:18] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:47:18] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:47:18] local.INFO: IMEI packet received {"connection_id":177996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":177996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:47:24] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:47:24] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:47:24] local.INFO: IMEI packet received {"connection_id":177996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":177996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:47:24] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08baca698012cf60f80070ba470000500aa30..."} 
[2026-09-10 19:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baca698012cf60f80070ba470000500aa30..."} 
[2026-09-10 19:47:24] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baca698012cf60f80070ba470000500aa30..."} 
[2026-09-10 19:47:24] local.INFO: Packet analysis {"connection_id":177996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:24] local.INFO: Extracted packet for processing {"connection_id":177996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:24] local.INFO: GPS Element Parsed {"raw_longitude":754323328,"raw_latitude":118203504,"longitude_deg":75.4323328,"latitude_deg":11.8203504,"altitude":5,"angle":170,"satellites":48,"speed":0,"hex_longitude":"2cf60f80","hex_latitude":"070ba470","is_valid_coordinates":true} 
[2026-09-10 19:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996728832001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-716213047980167168,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605036182634496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789049743000,"timestamp_ms":1789049743000,"timestamp_seconds":1789049743,"priority":1,"record_length":96,"hex_timestamp":"000001a08baca698"} 
[2026-09-10 19:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:47: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-09-10 19:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:47:24] 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-09-10 19:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996728832001,"66":27365,"44":-716213047980167168,"83":41728,"24":0,"16":404605036182634496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 19:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996728832001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:47:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-716213047980167168,"description":"Unknown IO ID 44"} 
[2026-09-10 19:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605036182634496,"km_value":404605036182634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:47:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996728832001,"power":27365,"unknown_44":-716213047980167168,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-09-10 19:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":177996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:47:24] local.INFO: GPS data processed {"connection_id":177996,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:47:24] local.INFO: Acknowledgment sent {"connection_id":177996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:47:31] local.INFO: TCP Data received {"connection_id":177997,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:47:31] local.INFO: Processing buffer {"connection_id":177997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:47:31] local.INFO: IMEI packet received {"connection_id":177997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":177997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:47:36] local.INFO: TCP Data received {"connection_id":177997,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:47:36] local.INFO: Processing buffer {"connection_id":177997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:47:36] local.INFO: IMEI packet received {"connection_id":177997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":177997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:47:37] local.INFO: TCP Data received {"connection_id":177997,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bac9310012d196680071fed700037005e2c..."} 
[2026-09-10 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bac9310012d196680071fed700037005e2c..."} 
[2026-09-10 19:47:37] local.INFO: Processing buffer {"connection_id":177997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bac9310012d196680071fed700037005e2c..."} 
[2026-09-10 19:47:37] local.INFO: Packet analysis {"connection_id":177997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:37] local.INFO: Extracted packet for processing {"connection_id":177997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996727552001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47: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-09-10 19:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789049738000,"timestamp_ms":1789049738000,"timestamp_seconds":1789049738,"priority":1,"record_length":96,"hex_timestamp":"000001a08bac9310"} 
[2026-09-10 19:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2343195864,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741306185903472,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2868439041,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3706585088,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,220,160,239,45,128,237,55,41,10,66,156,42,74,1,240,140,139,31,4,113,205,166,102,112,49,2,68,7,231,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-10 19:47:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963271210862641152,"timestamp_seconds":3963271210862641.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-10 19:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996727552001,"66":11852,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996727552001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:47:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996727552001,"power":11852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":177997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:47:37] local.INFO: GPS data processed {"connection_id":177997,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:47:37] local.INFO: Acknowledgment sent {"connection_id":177997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:47:42] local.INFO: TCP Data received {"connection_id":177997,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:47:42] local.INFO: Processing buffer {"connection_id":177997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:47:42] local.INFO: Packet analysis {"connection_id":177997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:42] local.INFO: Extracted packet for processing {"connection_id":177997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996732928001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47: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-09-10 19:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789049750000,"timestamp_ms":1789049750000,"timestamp_seconds":1789049750,"priority":1,"record_length":96,"hex_timestamp":"000001a08bacc1f0"} 
[2026-09-10 19:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-10 19:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996732928001,"66":12406,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996732928001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:47:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996732928001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":177997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:47:42] local.INFO: GPS data processed {"connection_id":177997,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:47:42] local.INFO: Acknowledgment sent {"connection_id":177997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:47:56] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08badf688012cf61980070b95800005004730..."} 
[2026-09-10 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08badf688012cf61980070b95800005004730..."} 
[2026-09-10 19:47:56] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08badf688012cf61980070b95800005004730..."} 
[2026-09-10 19:47:56] local.INFO: Packet analysis {"connection_id":177996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bad"} 
[2026-09-10 19:47:56] local.INFO: Extracted packet for processing {"connection_id":177996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bad"} 
[2026-09-10 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":754325888,"raw_latitude":118199680,"longitude_deg":75.4325888,"latitude_deg":11.819968,"altitude":5,"angle":71,"satellites":48,"speed":4,"hex_longitude":"2cf61980","hex_latitude":"070b9580","is_valid_coordinates":true} 
[2026-09-10 19:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996755968001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713539035702401024,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605293880672256,"note":"Value kept but may cause issues"} 
[2026-09-10 19:47:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789049829000,"timestamp_ms":1789049829000,"timestamp_seconds":1789049829,"priority":1,"record_length":96,"hex_timestamp":"000001a08badf688"} 
[2026-09-10 19:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:47:56] 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-09-10 19:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996755968001,"66":27321,"44":-713539035702401024,"83":41728,"24":4,"16":404605293880672256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 19:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996755968001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713539035702401024,"description":"Unknown IO ID 44"} 
[2026-09-10 19:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605293880672256,"km_value":404605293880672.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:47:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996755968001,"power":27321,"unknown_44":-713539035702401024,"unknown_83":41728,"ignition":4,"odometer":null}} 
[2026-09-10 19:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":177996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:47:56] local.INFO: GPS data processed {"connection_id":177996,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:47:56] local.INFO: Acknowledgment sent {"connection_id":177996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:48:18] local.INFO: TCP Data received {"connection_id":179373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:48:18] local.INFO: Processing buffer {"connection_id":179373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:48:18] local.INFO: IMEI packet received {"connection_id":179373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":179373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:48:23] local.INFO: TCP Data received {"connection_id":179373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:48:23] local.INFO: Processing buffer {"connection_id":179373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:48:23] local.INFO: IMEI packet received {"connection_id":179373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":179373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:48:27] local.INFO: TCP Data received {"connection_id":176623,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:48:27] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:48:27] local.INFO: IMEI packet received {"connection_id":176623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":176623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:48:31] local.INFO: TCP Data received {"connection_id":176623,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:48:31] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:48:31] local.INFO: IMEI packet received {"connection_id":176623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":176623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:48:31] local.INFO: TCP Data received {"connection_id":179373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08badfa70012cf61a00070b95a80005003a30..."} 
[2026-09-10 19:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08badfa70012cf61a00070b95a80005003a30..."} 
[2026-09-10 19:48:31] local.INFO: Processing buffer {"connection_id":179373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08badfa70012cf61a00070b95a80005003a30..."} 
[2026-09-10 19:48:31] local.INFO: Packet analysis {"connection_id":179373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bad"} 
[2026-09-10 19:48:31] local.INFO: Extracted packet for processing {"connection_id":179373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bad"} 
[2026-09-10 19:48:31] local.INFO: GPS Element Parsed {"raw_longitude":754326016,"raw_latitude":118199720,"longitude_deg":75.4326016,"latitude_deg":11.819972,"altitude":5,"angle":58,"satellites":48,"speed":3,"hex_longitude":"2cf61a00","hex_latitude":"070b95a8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996756224001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713398298214039552,"note":"Value kept but may cause issues"} 
[2026-09-10 19:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605298175639552,"note":"Value kept but may cause issues"} 
[2026-09-10 19:48:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789049830000,"timestamp_ms":1789049830000,"timestamp_seconds":1789049830,"priority":1,"record_length":96,"hex_timestamp":"000001a08badfa70"} 
[2026-09-10 19:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:48: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-09-10 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:48: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-09-10 19: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-09-10 19:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:48: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-09-10 19:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996756224001,"66":27321,"44":-713398298214039552,"83":41728,"24":3,"16":404605298175639552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 19:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996756224001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713398298214039552,"description":"Unknown IO ID 44"} 
[2026-09-10 19:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605298175639552,"km_value":404605298175639.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:48:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996756224001,"power":27321,"unknown_44":-713398298214039552,"unknown_83":41728,"ignition":3,"odometer":null}} 
[2026-09-10 19:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":179373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:48:31] local.INFO: GPS data processed {"connection_id":179373,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:48:31] local.INFO: Acknowledgment sent {"connection_id":179373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:48:32] local.INFO: TCP Data received {"connection_id":176623,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:48:32] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:48:32] local.INFO: Packet analysis {"connection_id":176623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:48:32] local.INFO: Extracted packet for processing {"connection_id":176623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789049750000,"timestamp_ms":1789049750000,"timestamp_seconds":1789049750,"priority":1,"record_length":96,"hex_timestamp":"000001a08bacc1f0"} 
[2026-09-10 19:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:48: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-09-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":12406,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:48:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":176623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:48:32] local.INFO: GPS data processed {"connection_id":176623,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:48:32] local.INFO: Acknowledgment sent {"connection_id":176623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:48:58] local.INFO: TCP Data received {"connection_id":176846,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:48:58] local.INFO: Processing buffer {"connection_id":176846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:48:58] local.INFO: IMEI packet received {"connection_id":176846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":176846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:49:03] local.INFO: TCP Data received {"connection_id":179373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bae0240012cf61b00070b95f80005004d2f..."} 
[2026-09-10 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bae0240012cf61b00070b95f80005004d2f..."} 
[2026-09-10 19:49:03] local.INFO: Processing buffer {"connection_id":179373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bae0240012cf61b00070b95f80005004d2f..."} 
[2026-09-10 19:49:03] local.INFO: Packet analysis {"connection_id":179373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bae"} 
[2026-09-10 19:49:03] local.INFO: Extracted packet for processing {"connection_id":179373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bae"} 
[2026-09-10 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":754326272,"raw_latitude":118199800,"longitude_deg":75.4326272,"latitude_deg":11.81998,"altitude":5,"angle":77,"satellites":47,"speed":5,"hex_longitude":"2cf61b00","hex_latitude":"070b95f8","is_valid_coordinates":true} 
[2026-09-10 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996756480001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713257560725673984,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404605311060541440,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789049832000,"timestamp_ms":1789049832000,"timestamp_seconds":1789049832,"priority":1,"record_length":96,"hex_timestamp":"000001a08bae0240"} 
[2026-09-10 19:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:49: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-09-10 19:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19: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-09-10 19:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996756480001,"66":27376,"44":-713257560725673984,"83":41728,"24":5,"16":404605311060541440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-10 19:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996756480001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713257560725673984,"description":"Unknown IO ID 44"} 
[2026-09-10 19:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404605311060541440,"km_value":404605311060541.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:49:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996756480001,"power":27376,"unknown_44":-713257560725673984,"unknown_83":41728,"ignition":5,"odometer":null}} 
[2026-09-10 19:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":179373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:49:03] local.INFO: GPS data processed {"connection_id":179373,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:49:03] local.INFO: Acknowledgment sent {"connection_id":179373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:49:04] local.INFO: TCP Data received {"connection_id":176623,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:49:04] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:49:04] local.INFO: Packet analysis {"connection_id":176623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:49:04] local.INFO: Extracted packet for processing {"connection_id":176623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49: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-09-10 19:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789049750000,"timestamp_ms":1789049750000,"timestamp_seconds":1789049750,"priority":1,"record_length":96,"hex_timestamp":"000001a08bacc1f0"} 
[2026-09-10 19:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:49: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-09-10 19:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":12406,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":176623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:49:04] local.INFO: GPS data processed {"connection_id":176623,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:49:04] local.INFO: Acknowledgment sent {"connection_id":176623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:49:22] local.INFO: TCP Data received {"connection_id":176846,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:49:22] local.INFO: Processing buffer {"connection_id":176846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:49:22] local.INFO: IMEI packet received {"connection_id":176846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 19:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":176846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:49:25] local.INFO: TCP Data received {"connection_id":176847,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:25] local.INFO: Processing buffer {"connection_id":176847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:25] local.INFO: IMEI packet received {"connection_id":176847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":176847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:49:26] local.INFO: TCP Data received {"connection_id":176848,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:49:26] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:49:26] local.INFO: IMEI packet received {"connection_id":176848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":176848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:49:28] local.INFO: TCP Data received {"connection_id":176847,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:28] local.INFO: Processing buffer {"connection_id":176847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:28] local.INFO: IMEI packet received {"connection_id":176847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":176847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:49:31] local.INFO: TCP Data received {"connection_id":176848,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:49:31] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:49:31] local.INFO: IMEI packet received {"connection_id":176848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":176848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:49:32] local.INFO: TCP Data received {"connection_id":176848,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:49:32] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:49:32] local.INFO: Packet analysis {"connection_id":176848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:49:32] local.INFO: Extracted packet for processing {"connection_id":176848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789049750000,"timestamp_ms":1789049750000,"timestamp_seconds":1789049750,"priority":1,"record_length":96,"hex_timestamp":"000001a08bacc1f0"} 
[2026-09-10 19:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:49: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-09-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":12406,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:49:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:49:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":176848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:49:32] local.INFO: GPS data processed {"connection_id":176848,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:49:32] local.INFO: Acknowledgment sent {"connection_id":176848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:49:34] local.INFO: TCP Data received {"connection_id":176847,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:34] local.INFO: Processing buffer {"connection_id":176847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:49:34] local.INFO: IMEI packet received {"connection_id":176847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":176847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:49:34] local.INFO: TCP Data received {"connection_id":176847,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08baf36d8012cf6a900070b0e08000300852e..."} 
[2026-09-10 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baf36d8012cf6a900070b0e08000300852e..."} 
[2026-09-10 19:49:34] local.INFO: Processing buffer {"connection_id":176847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baf36d8012cf6a900070b0e08000300852e..."} 
[2026-09-10 19:49:34] local.INFO: Packet analysis {"connection_id":176847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:49:34] local.INFO: Extracted packet for processing {"connection_id":176847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:49:34] local.INFO: GPS Element Parsed {"raw_longitude":754362624,"raw_latitude":118165000,"longitude_deg":75.4362624,"latitude_deg":11.8165,"altitude":3,"angle":133,"satellites":46,"speed":21,"hex_longitude":"2cf6a900","hex_latitude":"070b0e08","is_valid_coordinates":true} 
[2026-09-10 19:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996773632001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404607784961703936,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-680113882225233920,"note":"Value kept but may cause issues"} 
[2026-09-10 19:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789049911000,"timestamp_ms":1789049911000,"timestamp_seconds":1789049911,"priority":1,"record_length":96,"hex_timestamp":"000001a08baf36d8"} 
[2026-09-10 19:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 19:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:49: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-09-10 19:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996773632001,"66":27300,"13":206,"83":41728,"24":21,"16":404607784961703936,"44":-680113882225233920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-09-10 19:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996773632001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:49:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 19:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404607784961703936,"km_value":404607784961703.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-680113882225233920,"description":"Unknown IO ID 44"} 
[2026-09-10 19:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996773632001,"power":27300,"unknown_13":206,"unknown_83":41728,"ignition":21,"odometer":null,"unknown_44":-680113882225233920}} 
[2026-09-10 19:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":176847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:49:34] local.INFO: GPS data processed {"connection_id":176847,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:49:34] local.INFO: Acknowledgment sent {"connection_id":176847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:49:46] local.INFO: TCP Data received {"connection_id":176625,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:49:46] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:49:46] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:50:04] local.INFO: TCP Data received {"connection_id":176848,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:50:04] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:50:04] local.INFO: Packet analysis {"connection_id":176848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:50:04] local.INFO: Extracted packet for processing {"connection_id":176848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50: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-09-10 19:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789049750000,"timestamp_ms":1789049750000,"timestamp_seconds":1789049750,"priority":1,"record_length":96,"hex_timestamp":"000001a08bacc1f0"} 
[2026-09-10 19:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:50: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-09-10 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":12406,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":176848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:50:04] local.INFO: GPS data processed {"connection_id":176848,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:50:04] local.INFO: Acknowledgment sent {"connection_id":176848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:50:18] local.INFO: TCP Data received {"connection_id":179374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:50:18] local.INFO: Processing buffer {"connection_id":179374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:50:18] local.INFO: IMEI packet received {"connection_id":179374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":179374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:50:21] local.INFO: TCP Data received {"connection_id":179374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:50:21] local.INFO: Processing buffer {"connection_id":179374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:50:21] local.INFO: IMEI packet received {"connection_id":179374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":179374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:50:22] local.INFO: TCP Data received {"connection_id":179374,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08baf7558012cf6c2c0070af3c8000400802f..."} 
[2026-09-10 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baf7558012cf6c2c0070af3c8000400802f..."} 
[2026-09-10 19:50:22] local.INFO: Processing buffer {"connection_id":179374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baf7558012cf6c2c0070af3c8000400802f..."} 
[2026-09-10 19:50:22] local.INFO: Packet analysis {"connection_id":179374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:50:22] local.INFO: Extracted packet for processing {"connection_id":179374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":754369216,"raw_latitude":118158280,"longitude_deg":75.4369216,"latitude_deg":11.815828,"altitude":4,"angle":128,"satellites":47,"speed":19,"hex_longitude":"2cf6c2c0","hex_latitude":"070af3c8","is_valid_coordinates":true} 
[2026-09-10 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996777216001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404608235933270016,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-673006639064938496,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789049927000,"timestamp_ms":1789049927000,"timestamp_seconds":1789049927,"priority":1,"record_length":96,"hex_timestamp":"000001a08baf7558"} 
[2026-09-10 19:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:50:22] 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-09-10 19:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":179374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":179374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":179374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:50: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-09-10 19:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996777216001,"66":27180,"13":206,"83":41728,"24":19,"16":404608235933270016,"44":-673006639064938496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-09-10 19:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996777216001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:50:22] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-10 19:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404608235933270016,"km_value":404608235933270.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:50:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-673006639064938496,"description":"Unknown IO ID 44"} 
[2026-09-10 19:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996777216001,"power":27180,"unknown_13":206,"unknown_83":41728,"ignition":19,"odometer":null,"unknown_44":-673006639064938496}} 
[2026-09-10 19:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":179374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:50:22] local.INFO: GPS data processed {"connection_id":179374,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:50:22] local.INFO: Acknowledgment sent {"connection_id":179374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:50:26] local.INFO: TCP Data received {"connection_id":176626,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:50:26] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:50:26] local.INFO: IMEI packet received {"connection_id":176626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":176626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:50:31] local.INFO: TCP Data received {"connection_id":176626,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:50:31] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:50:31] local.INFO: IMEI packet received {"connection_id":176626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":176626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:50:32] local.INFO: TCP Data received {"connection_id":176626,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:50:32] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:50:32] local.INFO: Packet analysis {"connection_id":176626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:50:32] local.INFO: Extracted packet for processing {"connection_id":176626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789049750000,"timestamp_ms":1789049750000,"timestamp_seconds":1789049750,"priority":1,"record_length":96,"hex_timestamp":"000001a08bacc1f0"} 
[2026-09-10 19:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:50: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-09-10 19:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":12406,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:50:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":176626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:50:32] local.INFO: GPS data processed {"connection_id":176626,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:50:32] local.INFO: Acknowledgment sent {"connection_id":176626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:50:52] local.INFO: TCP Data received {"connection_id":179374,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08baf9498012cf6d100070ae7200004008c2e..."} 
[2026-09-10 19:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08baf9498012cf6d100070ae7200004008c2e..."} 
[2026-09-10 19:50:52] local.INFO: Processing buffer {"connection_id":179374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08baf9498012cf6d100070ae7200004008c2e..."} 
[2026-09-10 19:50:52] local.INFO: Packet analysis {"connection_id":179374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:50:52] local.INFO: Extracted packet for processing {"connection_id":179374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:50:52] local.INFO: GPS Element Parsed {"raw_longitude":754372864,"raw_latitude":118155040,"longitude_deg":75.4372864,"latitude_deg":11.815504,"altitude":4,"angle":140,"satellites":46,"speed":30,"hex_longitude":"2cf6d100","hex_latitude":"070ae720","is_valid_coordinates":true} 
[2026-09-10 19:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996781312001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404608467861504000,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-665758658416359424,"note":"Value kept but may cause issues"} 
[2026-09-10 19:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789049935000,"timestamp_ms":1789049935000,"timestamp_seconds":1789049935,"priority":1,"record_length":96,"hex_timestamp":"000001a08baf9498"} 
[2026-09-10 19:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:50: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-09-10 19: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 19:50:52] 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-09-10 19:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":179374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":179374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":179374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996781312001,"66":27332,"12":206,"83":41728,"24":30,"16":404608467861504000,"44":-665758658416359424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-10 19:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996781312001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:50:52] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 19:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404608467861504000,"km_value":404608467861504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-665758658416359424,"description":"Unknown IO ID 44"} 
[2026-09-10 19:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996781312001,"power":27332,"unknown_12":206,"unknown_83":41728,"ignition":30,"odometer":null,"unknown_44":-665758658416359424}} 
[2026-09-10 19:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":179374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:50:52] local.INFO: GPS data processed {"connection_id":179374,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:50:52] local.INFO: Acknowledgment sent {"connection_id":179374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:51:03] local.INFO: TCP Data received {"connection_id":176626,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:51:03] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bacc1f0012d196680071fed700037005e2c..."} 
[2026-09-10 19:51:03] local.INFO: Packet analysis {"connection_id":176626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:51:03] local.INFO: Extracted packet for processing {"connection_id":176626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bac"} 
[2026-09-10 19:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532912,"longitude_deg":75.663936,"latitude_deg":11.9532912,"altitude":55,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-10 19:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789049750000,"timestamp_ms":1789049750000,"timestamp_seconds":1789049750,"priority":1,"record_length":96,"hex_timestamp":"000001a08bacc1f0"} 
[2026-09-10 19:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:51: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-09-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":12406,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:51:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":176626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:51:04] local.INFO: GPS data processed {"connection_id":176626,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:51:04] local.INFO: Acknowledgment sent {"connection_id":176626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:51:18] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:51:18] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:51:18] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:51:20] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:51:20] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:51:20] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:51:21] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bafbba8012cf6e640070ac9c0000400912f..."} 
[2026-09-10 19:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bafbba8012cf6e640070ac9c0000400912f..."} 
[2026-09-10 19:51:21] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bafbba8012cf6e640070ac9c0000400912f..."} 
[2026-09-10 19:51:21] local.INFO: Packet analysis {"connection_id":176627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:51:21] local.INFO: Extracted packet for processing {"connection_id":176627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08baf"} 
[2026-09-10 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":754378304,"raw_latitude":118147520,"longitude_deg":75.4378304,"latitude_deg":11.814752,"altitude":4,"angle":145,"satellites":47,"speed":41,"hex_longitude":"2cf6e640","hex_latitude":"070ac9c0","is_valid_coordinates":true} 
[2026-09-10 19:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996783360001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404608914538102784,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-661747639999062016,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789049945000,"timestamp_ms":1789049945000,"timestamp_seconds":1789049945,"priority":1,"record_length":96,"hex_timestamp":"000001a08bafbba8"} 
[2026-09-10 19:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 19:51:21] 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-09-10 19:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996783360001,"66":27365,"12":206,"83":41728,"24":41,"16":404608914538102784,"44":-661747639999062016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-10 19:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996783360001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:51:21] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 19:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404608914538102784,"km_value":404608914538102.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-661747639999062016,"description":"Unknown IO ID 44"} 
[2026-09-10 19:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996783360001,"power":27365,"unknown_12":206,"unknown_83":41728,"ignition":41,"odometer":null,"unknown_44":-661747639999062016}} 
[2026-09-10 19:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":176627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:51:21] local.INFO: GPS data processed {"connection_id":176627,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:51:21] local.INFO: Acknowledgment sent {"connection_id":176627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:51:31] local.INFO: TCP Data received {"connection_id":179375,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:51:31] local.INFO: Processing buffer {"connection_id":179375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:51:31] local.INFO: IMEI packet received {"connection_id":179375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":179375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:51:32] local.INFO: TCP Data received {"connection_id":179375,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:51:32] local.INFO: Processing buffer {"connection_id":179375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:51:32] local.INFO: IMEI packet received {"connection_id":179375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":179375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:51:34] local.INFO: TCP Data received {"connection_id":179375,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:51:34] local.INFO: Processing buffer {"connection_id":179375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:51:34] local.INFO: Packet analysis {"connection_id":179375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:51:34] local.INFO: Extracted packet for processing {"connection_id":179375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:51: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-09-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:51:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:51:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":179375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:51:34] local.INFO: GPS data processed {"connection_id":179375,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:51:34] local.INFO: Acknowledgment sent {"connection_id":179375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:51:36] local.INFO: TCP Data received {"connection_id":179375,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:51:36] local.INFO: Processing buffer {"connection_id":179375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:51:36] local.INFO: Packet analysis {"connection_id":179375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:51:36] local.INFO: Extracted packet for processing {"connection_id":179375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51: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-09-10 19:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 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-09-10 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:51: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-09-10 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-09-10 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-09-10 19:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":179375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":179375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":179375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:51:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":179375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:51:36] local.INFO: GPS data processed {"connection_id":179375,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:51:36] local.INFO: Acknowledgment sent {"connection_id":179375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:51:51] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb15da0012cf80400070970c00009008b2b..."} 
[2026-09-10 19:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb15da0012cf80400070970c00009008b2b..."} 
[2026-09-10 19:51:51] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb15da0012cf80400070970c00009008b2b..."} 
[2026-09-10 19:51:51] local.INFO: Packet analysis {"connection_id":176627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:51:51] local.INFO: Extracted packet for processing {"connection_id":176627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:51:51] local.INFO: GPS Element Parsed {"raw_longitude":754451456,"raw_latitude":118059200,"longitude_deg":75.4451456,"latitude_deg":11.80592,"altitude":9,"angle":139,"satellites":43,"speed":38,"hex_longitude":"2cf80400","hex_latitude":"070970c0","is_valid_coordinates":true} 
[2026-09-10 19:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996810752001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404614433571078144,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-582090221612625920,"note":"Value kept but may cause issues"} 
[2026-09-10 19:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789050052000,"timestamp_ms":1789050052000,"timestamp_seconds":1789050052,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb15da0"} 
[2026-09-10 19:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:51: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-09-10 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 19:51:51] 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-09-10 19:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996810752001,"66":27300,"31":206,"83":41728,"24":38,"16":404614433571078144,"44":-582090221612625920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 19:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996810752001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:51:51] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 19:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404614433571078144,"km_value":404614433571078.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-582090221612625920,"description":"Unknown IO ID 44"} 
[2026-09-10 19:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996810752001,"power":27300,"unknown_31":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-582090221612625920}} 
[2026-09-10 19:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":176627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:51:52] local.INFO: GPS data processed {"connection_id":176627,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:51:52] local.INFO: Acknowledgment sent {"connection_id":176627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:52:08] local.INFO: TCP Data received {"connection_id":179375,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:52:08] local.INFO: Processing buffer {"connection_id":179375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:52:08] local.INFO: Packet analysis {"connection_id":179375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:08] local.INFO: Extracted packet for processing {"connection_id":179375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52: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-09-10 19:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:52: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-09-10 19:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:52:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":179375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:52:08] local.INFO: GPS data processed {"connection_id":179375,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:52:08] local.INFO: Acknowledgment sent {"connection_id":179375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:52:18] local.INFO: TCP Data received {"connection_id":177998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:18] local.INFO: Processing buffer {"connection_id":177998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:18] local.INFO: IMEI packet received {"connection_id":177998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":177998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:52:21] local.INFO: TCP Data received {"connection_id":177998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:21] local.INFO: Processing buffer {"connection_id":177998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:21] local.INFO: IMEI packet received {"connection_id":177998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":177998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:52:24] local.INFO: TCP Data received {"connection_id":177998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:24] local.INFO: Processing buffer {"connection_id":177998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:52:24] local.INFO: IMEI packet received {"connection_id":177998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":177998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:52:25] local.INFO: TCP Data received {"connection_id":177998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb184b0012cf81d00070952980006008c2f..."} 
[2026-09-10 19:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb184b0012cf81d00070952980006008c2f..."} 
[2026-09-10 19:52:25] local.INFO: Processing buffer {"connection_id":177998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb184b0012cf81d00070952980006008c2f..."} 
[2026-09-10 19:52:25] local.INFO: Packet analysis {"connection_id":177998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:25] local.INFO: Extracted packet for processing {"connection_id":177998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:25] local.INFO: GPS Element Parsed {"raw_longitude":754457856,"raw_latitude":118051480,"longitude_deg":75.4457856,"latitude_deg":11.805148,"altitude":6,"angle":140,"satellites":47,"speed":43,"hex_longitude":"2cf81d00","hex_latitude":"07095298","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813312001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404614918902382592,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-575334822173425664,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789050062000,"timestamp_ms":1789050062000,"timestamp_seconds":1789050062,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb184b0"} 
[2026-09-10 19:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:52: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-09-10 19: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-09-10 19:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813312001,"66":27376,"31":206,"83":41728,"24":43,"16":404614918902382592,"44":-575334822173425664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 19:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813312001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:52:25] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 19:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404614918902382592,"km_value":404614918902382.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-575334822173425664,"description":"Unknown IO ID 44"} 
[2026-09-10 19:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813312001,"power":27376,"unknown_31":206,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-575334822173425664}} 
[2026-09-10 19:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":177998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:52:25] local.INFO: GPS data processed {"connection_id":177998,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:52:25] local.INFO: Acknowledgment sent {"connection_id":177998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:52:26] local.INFO: TCP Data received {"connection_id":176849,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:52:26] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:52:26] local.INFO: IMEI packet received {"connection_id":176849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":176849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:52:29] local.INFO: TCP Data received {"connection_id":177998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb1a3f0012cf83340070937680005008d2e..."} 
[2026-09-10 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb1a3f0012cf83340070937680005008d2e..."} 
[2026-09-10 19:52:29] local.INFO: Processing buffer {"connection_id":177998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb1a3f0012cf83340070937680005008d2e..."} 
[2026-09-10 19:52:29] local.INFO: Packet analysis {"connection_id":177998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:29] local.INFO: Extracted packet for processing {"connection_id":177998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:29] local.INFO: GPS Element Parsed {"raw_longitude":754463552,"raw_latitude":118044520,"longitude_deg":75.4463552,"latitude_deg":11.804452,"altitude":5,"angle":141,"satellites":46,"speed":44,"hex_longitude":"2cf83340","hex_latitude":"07093768","is_valid_coordinates":true} 
[2026-09-10 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996815872001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404615352694079488,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-568297947757635584,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789050070000,"timestamp_ms":1789050070000,"timestamp_seconds":1789050070,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb1a3f0"} 
[2026-09-10 19:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:52: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-09-10 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:52: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-09-10 19:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996815872001,"66":27343,"31":206,"83":41728,"24":44,"16":404615352694079488,"44":-568297947757635584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 19:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996815872001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:52:29] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 19:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404615352694079488,"km_value":404615352694079.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-568297947757635584,"description":"Unknown IO ID 44"} 
[2026-09-10 19:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996815872001,"power":27343,"unknown_31":206,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-568297947757635584}} 
[2026-09-10 19:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":177998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:52:29] local.INFO: GPS data processed {"connection_id":177998,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:52:29] local.INFO: Acknowledgment sent {"connection_id":177998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:52:31] local.INFO: TCP Data received {"connection_id":176849,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:52:31] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:52:31] local.INFO: IMEI packet received {"connection_id":176849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":176849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:52:32] local.INFO: TCP Data received {"connection_id":176849,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:52:32] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:52:32] local.INFO: Packet analysis {"connection_id":176849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:32] local.INFO: Extracted packet for processing {"connection_id":176849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:52: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-09-10 19:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:52:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":176849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:52:33] local.INFO: GPS data processed {"connection_id":176849,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:52:33] local.INFO: Acknowledgment sent {"connection_id":176849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:53:00] local.INFO: TCP Data received {"connection_id":177998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb1bf48012cf8438007091f28000500992f..."} 
[2026-09-10 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb1bf48012cf8438007091f28000500992f..."} 
[2026-09-10 19:53:00] local.INFO: Processing buffer {"connection_id":177998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb1bf48012cf8438007091f28000500992f..."} 
[2026-09-10 19:53:00] local.INFO: Packet analysis {"connection_id":177998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:00] local.INFO: Extracted packet for processing {"connection_id":177998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":754467712,"raw_latitude":118038312,"longitude_deg":75.4467712,"latitude_deg":11.8038312,"altitude":5,"angle":153,"satellites":47,"speed":41,"hex_longitude":"2cf84380","hex_latitude":"07091f28","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996817920001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404615709176365056,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-562035129527605248,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789050077000,"timestamp_ms":1789050077000,"timestamp_seconds":1789050077,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb1bf48"} 
[2026-09-10 19:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 19:53: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-09-10 19: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-09-10 19:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:53: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-09-10 19:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996817920001,"66":27245,"31":206,"83":41728,"24":41,"16":404615709176365056,"44":-562035129527605248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 19:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996817920001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:53:00] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 19:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404615709176365056,"km_value":404615709176365.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-562035129527605248,"description":"Unknown IO ID 44"} 
[2026-09-10 19:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996817920001,"power":27245,"unknown_31":206,"unknown_83":41728,"ignition":41,"odometer":null,"unknown_44":-562035129527605248}} 
[2026-09-10 19:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":177998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:53:00] local.INFO: GPS data processed {"connection_id":177998,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:53:00] local.INFO: Acknowledgment sent {"connection_id":177998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:53:04] local.INFO: TCP Data received {"connection_id":176849,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:53:04] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:53:04] local.INFO: Packet analysis {"connection_id":176849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:04] local.INFO: Extracted packet for processing {"connection_id":176849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53: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-09-10 19:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:53: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-09-10 19:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":176849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:53:04] local.INFO: GPS data processed {"connection_id":176849,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:53:04] local.INFO: Acknowledgment sent {"connection_id":176849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:53:18] local.INFO: TCP Data received {"connection_id":179376,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:53:18] local.INFO: Processing buffer {"connection_id":179376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:53:18] local.INFO: IMEI packet received {"connection_id":179376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":179376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:53:23] local.INFO: TCP Data received {"connection_id":179376,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:53:23] local.INFO: Processing buffer {"connection_id":179376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:53:23] local.INFO: IMEI packet received {"connection_id":179376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":179376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:53:24] local.INFO: TCP Data received {"connection_id":179376,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb1d6b8012cf84bc0070908a8000500a62e..."} 
[2026-09-10 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb1d6b8012cf84bc0070908a8000500a62e..."} 
[2026-09-10 19:53:24] local.INFO: Processing buffer {"connection_id":179376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb1d6b8012cf84bc0070908a8000500a62e..."} 
[2026-09-10 19:53:24] local.INFO: Packet analysis {"connection_id":179376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:24] local.INFO: Extracted packet for processing {"connection_id":179376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:24] local.INFO: GPS Element Parsed {"raw_longitude":754469824,"raw_latitude":118032552,"longitude_deg":75.4469824,"latitude_deg":11.8032552,"altitude":5,"angle":166,"satellites":46,"speed":41,"hex_longitude":"2cf84bc0","hex_latitude":"070908a8","is_valid_coordinates":true} 
[2026-09-10 19:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996819712001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404616009824075776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-557461161157646336,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050083000,"timestamp_ms":1789050083000,"timestamp_seconds":1789050083,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb1d6b8"} 
[2026-09-10 19:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:53: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-09-10 19:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 19:53:24] 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-09-10 19:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996819712001,"66":27332,"31":206,"83":41728,"24":41,"16":404616009824075776,"44":-557461161157646336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 19:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996819712001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:53:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 19:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404616009824075776,"km_value":404616009824075.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:53:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-557461161157646336,"description":"Unknown IO ID 44"} 
[2026-09-10 19:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996819712001,"power":27332,"unknown_31":206,"unknown_83":41728,"ignition":41,"odometer":null,"unknown_44":-557461161157646336}} 
[2026-09-10 19:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":179376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:53:24] local.INFO: GPS data processed {"connection_id":179376,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:53:24] local.INFO: Acknowledgment sent {"connection_id":179376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:53:26] local.INFO: TCP Data received {"connection_id":176628,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:53:26] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:53:26] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:53:31] local.INFO: TCP Data received {"connection_id":176628,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:53:31] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:53:31] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:53:32] local.INFO: TCP Data received {"connection_id":176628,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:53:32] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:53:32] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:32] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:53: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-09-10 19:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:53:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:53:32] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:53:32] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:53:55] local.INFO: TCP Data received {"connection_id":179376,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb1f9e0012cf855400708e5800004009c2f..."} 
[2026-09-10 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb1f9e0012cf855400708e5800004009c2f..."} 
[2026-09-10 19:53:55] local.INFO: Processing buffer {"connection_id":179376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb1f9e0012cf855400708e5800004009c2f..."} 
[2026-09-10 19:53:55] local.INFO: Packet analysis {"connection_id":179376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:55] local.INFO: Extracted packet for processing {"connection_id":179376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:53:55] local.INFO: GPS Element Parsed {"raw_longitude":754472256,"raw_latitude":118023552,"longitude_deg":75.4472256,"latitude_deg":11.8023552,"altitude":4,"angle":156,"satellites":47,"speed":40,"hex_longitude":"2cf85540","hex_latitude":"0708e580","is_valid_coordinates":true} 
[2026-09-10 19:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996821248001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404616460795641856,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-555138992601257984,"note":"Value kept but may cause issues"} 
[2026-09-10 19:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789050092000,"timestamp_ms":1789050092000,"timestamp_seconds":1789050092,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb1f9e0"} 
[2026-09-10 19:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 19:53:55] 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-09-10 19:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996821248001,"66":27376,"31":206,"83":41728,"24":40,"16":404616460795641856,"44":-555138992601257984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-10 19:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996821248001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:53:55] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-10 19:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404616460795641856,"km_value":404616460795641.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-555138992601257984,"description":"Unknown IO ID 44"} 
[2026-09-10 19:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996821248001,"power":27376,"unknown_31":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-555138992601257984}} 
[2026-09-10 19:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":179376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:53:55] local.INFO: GPS data processed {"connection_id":179376,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:53:55] local.INFO: Acknowledgment sent {"connection_id":179376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:54:04] local.INFO: TCP Data received {"connection_id":176628,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:04] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:04] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:54:04] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54: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-09-10 19:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 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-09-10 19:54: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-09-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 19:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:54:04] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:54:04] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:54:18] local.INFO: TCP Data received {"connection_id":179377,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:54:18] local.INFO: Processing buffer {"connection_id":179377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:54:18] local.INFO: IMEI packet received {"connection_id":179377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":179377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:54:23] local.INFO: TCP Data received {"connection_id":179377,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:54:23] local.INFO: Processing buffer {"connection_id":179377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:54:23] local.INFO: IMEI packet received {"connection_id":179377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":179377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:54:24] local.INFO: TCP Data received {"connection_id":179377,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb38468012cf941c007079750000700912d..."} 
[2026-09-10 19:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb38468012cf941c007079750000700912d..."} 
[2026-09-10 19:54:24] local.INFO: Processing buffer {"connection_id":179377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb38468012cf941c007079750000700912d..."} 
[2026-09-10 19:54:24] local.INFO: Packet analysis {"connection_id":179377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb3"} 
[2026-09-10 19:54:24] local.INFO: Extracted packet for processing {"connection_id":179377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb3"} 
[2026-09-10 19:54:24] local.INFO: GPS Element Parsed {"raw_longitude":754532800,"raw_latitude":117938000,"longitude_deg":75.45328,"latitude_deg":11.7938,"altitude":7,"angle":145,"satellites":45,"speed":44,"hex_longitude":"2cf941c0","hex_latitude":"07079750","is_valid_coordinates":true} 
[2026-09-10 19:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996847104001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404621507382214656,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-492299704072755200,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050193000,"timestamp_ms":1789050193000,"timestamp_seconds":1789050193,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb38468"} 
[2026-09-10 19:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:54: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-09-10 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:54:24] 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-09-10 19:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996847104001,"66":27376,"85":206,"83":41728,"24":44,"16":404621507382214656,"44":-492299704072755200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-10 19:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996847104001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 19:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404621507382214656,"km_value":404621507382214.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-492299704072755200,"description":"Unknown IO ID 44"} 
[2026-09-10 19:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996847104001,"power":27376,"unknown_85":206,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-492299704072755200}} 
[2026-09-10 19:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":179377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:54:24] local.INFO: GPS data processed {"connection_id":179377,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:54:24] local.INFO: Acknowledgment sent {"connection_id":179377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:54:31] local.INFO: TCP Data received {"connection_id":176850,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:54:31] local.INFO: Processing buffer {"connection_id":176850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:54:31] local.INFO: IMEI packet received {"connection_id":176850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":176850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:54:36] local.INFO: TCP Data received {"connection_id":176850,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:54:36] local.INFO: Processing buffer {"connection_id":176850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:54:36] local.INFO: IMEI packet received {"connection_id":176850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":176850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:54:38] local.INFO: TCP Data received {"connection_id":176850,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:38] local.INFO: Processing buffer {"connection_id":176850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:38] local.INFO: Packet analysis {"connection_id":176850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:54:38] local.INFO: Extracted packet for processing {"connection_id":176850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54: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-09-10 19:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:54: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-09-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":176850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:54:38] local.INFO: GPS data processed {"connection_id":176850,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:54:38] local.INFO: Acknowledgment sent {"connection_id":176850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:54:42] local.INFO: TCP Data received {"connection_id":176850,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:42] local.INFO: Processing buffer {"connection_id":176850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:54:42] local.INFO: Packet analysis {"connection_id":176850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:54:42] local.INFO: Extracted packet for processing {"connection_id":176850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54: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-09-10 19:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:54: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-09-10 19:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":176850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:54:43] local.INFO: GPS data processed {"connection_id":176850,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:54:43] local.INFO: Acknowledgment sent {"connection_id":176850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:54:55] local.INFO: TCP Data received {"connection_id":179377,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb3a3a8012cf9550007077a48000600972c..."} 
[2026-09-10 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb3a3a8012cf9550007077a48000600972c..."} 
[2026-09-10 19:54:55] local.INFO: Processing buffer {"connection_id":179377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb3a3a8012cf9550007077a48000600972c..."} 
[2026-09-10 19:54:55] local.INFO: Packet analysis {"connection_id":179377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb3"} 
[2026-09-10 19:54:55] local.INFO: Extracted packet for processing {"connection_id":179377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb3"} 
[2026-09-10 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":754537728,"raw_latitude":117930568,"longitude_deg":75.4537728,"latitude_deg":11.7930568,"altitude":6,"angle":151,"satellites":44,"speed":43,"hex_longitude":"2cf95500","hex_latitude":"07077a48","is_valid_coordinates":true} 
[2026-09-10 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996849408001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404621941173911552,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-485896148354641920,"note":"Value kept but may cause issues"} 
[2026-09-10 19:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789050201000,"timestamp_ms":1789050201000,"timestamp_seconds":1789050201,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb3a3a8"} 
[2026-09-10 19:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996849408001,"66":27267,"85":206,"83":41728,"24":43,"16":404621941173911552,"44":-485896148354641920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-10 19:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996849408001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 19:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404621941173911552,"km_value":404621941173911.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-485896148354641920,"description":"Unknown IO ID 44"} 
[2026-09-10 19:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996849408001,"power":27267,"unknown_85":206,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-485896148354641920}} 
[2026-09-10 19:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":179377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:54:55] local.INFO: GPS data processed {"connection_id":179377,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:54:55] local.INFO: Acknowledgment sent {"connection_id":179377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:55:18] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:55:18] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:55:18] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:55:23] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:55:23] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:55:23] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:55:24] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb3c6d0012cf96400070756d8000500a02d..."} 
[2026-09-10 19:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb3c6d0012cf96400070756d8000500a02d..."} 
[2026-09-10 19:55:24] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb3c6d0012cf96400070756d8000500a02d..."} 
[2026-09-10 19:55:24] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb3"} 
[2026-09-10 19:55:24] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb3"} 
[2026-09-10 19:55:24] local.INFO: GPS Element Parsed {"raw_longitude":754541568,"raw_latitude":117921496,"longitude_deg":75.4541568,"latitude_deg":11.7921496,"altitude":5,"angle":160,"satellites":45,"speed":44,"hex_longitude":"2cf96400","hex_latitude":"070756d8","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996851456001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404622417915281408,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-480477755054864384,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050210000,"timestamp_ms":1789050210000,"timestamp_seconds":1789050210,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb3c6d0"} 
[2026-09-10 19:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:55: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-09-10 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 19:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996851456001,"66":27267,"85":206,"83":41728,"24":44,"16":404622417915281408,"44":-480477755054864384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-10 19:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996851456001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 19:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404622417915281408,"km_value":404622417915281.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-480477755054864384,"description":"Unknown IO ID 44"} 
[2026-09-10 19:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996851456001,"power":27267,"unknown_85":206,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-480477755054864384}} 
[2026-09-10 19:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:55:24] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:55:24] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:55:27] local.INFO: TCP Data received {"connection_id":178000,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:55:27] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:55:27] local.INFO: IMEI packet received {"connection_id":178000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":178000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:55:32] local.INFO: TCP Data received {"connection_id":178000,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:55:32] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:55:32] local.INFO: IMEI packet received {"connection_id":178000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":178000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:55:33] local.INFO: TCP Data received {"connection_id":178000,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:55:33] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:55:33] local.INFO: Packet analysis {"connection_id":178000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:55:33] local.INFO: Extracted packet for processing {"connection_id":178000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:55: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-09-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:55:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":178000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:55:33] local.INFO: GPS data processed {"connection_id":178000,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:55:33] local.INFO: Acknowledgment sent {"connection_id":178000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:55:59] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb50ef0012cfa7ec00706a7d0000e005f2f..."} 
[2026-09-10 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb50ef0012cfa7ec00706a7d0000e005f2f..."} 
[2026-09-10 19:55:59] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb50ef0012cfa7ec00706a7d0000e005f2f..."} 
[2026-09-10 19:55:59] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:55:59] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":754613952,"raw_latitude":117876688,"longitude_deg":75.4613952,"latitude_deg":11.7876688,"altitude":14,"angle":95,"satellites":47,"speed":39,"hex_longitude":"2cfa7ec0","hex_latitude":"0706a7d0","is_valid_coordinates":true} 
[2026-09-10 19:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996872960001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404626979170549760,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-407153523635294208,"note":"Value kept but may cause issues"} 
[2026-09-10 19:55:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789050294000,"timestamp_ms":1789050294000,"timestamp_seconds":1789050294,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb50ef0"} 
[2026-09-10 19:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:55: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-09-10 19:55: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-09-10 19:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:55: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-09-10 19:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996872960001,"66":27321,"83":41728,"24":39,"16":404626979170549760,"44":-407153523635294208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-10 19:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996872960001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404626979170549760,"km_value":404626979170549.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-407153523635294208,"description":"Unknown IO ID 44"} 
[2026-09-10 19:55:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996872960001,"power":27321,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-407153523635294208}} 
[2026-09-10 19:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:55:59] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:55:59] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:56:03] local.INFO: TCP Data received {"connection_id":179378,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:56:03] local.INFO: Processing buffer {"connection_id":179378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:56:03] local.INFO: IMEI packet received {"connection_id":179378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 19:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":179378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:56:05] local.INFO: TCP Data received {"connection_id":178000,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:56:05] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:56:05] local.INFO: Packet analysis {"connection_id":178000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:56:05] local.INFO: Extracted packet for processing {"connection_id":178000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56: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-09-10 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 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-09-10 19:56: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-09-10 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:56: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-09-10 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-09-10 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-09-10 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":178000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:56:05] local.INFO: GPS data processed {"connection_id":178000,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:56:05] local.INFO: Acknowledgment sent {"connection_id":178000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:56:18] local.INFO: TCP Data received {"connection_id":179379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:56:18] local.INFO: Processing buffer {"connection_id":179379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:56:18] local.INFO: IMEI packet received {"connection_id":179379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":179379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:56:23] local.INFO: TCP Data received {"connection_id":179379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:56:23] local.INFO: Processing buffer {"connection_id":179379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:56:23] local.INFO: IMEI packet received {"connection_id":179379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":179379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:56:24] local.INFO: TCP Data received {"connection_id":179379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb53600012cfaa5800706a4180010005f2d..."} 
[2026-09-10 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb53600012cfaa5800706a4180010005f2d..."} 
[2026-09-10 19:56:24] local.INFO: Processing buffer {"connection_id":179379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb53600012cfaa5800706a4180010005f2d..."} 
[2026-09-10 19:56:24] local.INFO: Packet analysis {"connection_id":179379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:56:24] local.INFO: Extracted packet for processing {"connection_id":179379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:56:24] local.INFO: GPS Element Parsed {"raw_longitude":754623872,"raw_latitude":117875736,"longitude_deg":75.4623872,"latitude_deg":11.7875736,"altitude":16,"angle":95,"satellites":45,"speed":39,"hex_longitude":"2cfaa580","hex_latitude":"0706a418","is_valid_coordinates":true} 
[2026-09-10 19:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996875264001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404627451616952320,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668580753059840,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050304000,"timestamp_ms":1789050304000,"timestamp_seconds":1789050304,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb53600"} 
[2026-09-10 19:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:56: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-09-10 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 19:56:24] 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-09-10 19:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996875264001,"66":27376,"83":41728,"24":39,"16":404627451616952320,"44":-396668580753059840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-10 19:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996875264001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404627451616952320,"km_value":404627451616952.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668580753059840,"description":"Unknown IO ID 44"} 
[2026-09-10 19:56:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996875264001,"power":27376,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-396668580753059840}} 
[2026-09-10 19:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":179379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:56:24] local.INFO: GPS data processed {"connection_id":179379,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:56:24] local.INFO: Acknowledgment sent {"connection_id":179379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:56:26] local.INFO: TCP Data received {"connection_id":176630,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:56:26] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:56:26] local.INFO: IMEI packet received {"connection_id":176630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":176630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:56:26] local.INFO: TCP Data received {"connection_id":179378,"ip":"117.224.39.76","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:56:26] local.INFO: Processing buffer {"connection_id":179378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 19:56:26] local.INFO: IMEI packet received {"connection_id":179378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 19:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":179378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:56:31] local.INFO: TCP Data received {"connection_id":176630,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:56:31] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:56:31] local.INFO: IMEI packet received {"connection_id":176630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":176630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:56:33] local.INFO: TCP Data received {"connection_id":176630,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:56:33] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb16570012d1965c0071feee00041005e2a..."} 
[2026-09-10 19:56:33] local.INFO: Packet analysis {"connection_id":176630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:56:33] local.INFO: Extracted packet for processing {"connection_id":176630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb1"} 
[2026-09-10 19:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996736000001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661466112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050054000,"timestamp_ms":1789050054000,"timestamp_seconds":1789050054,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb16570"} 
[2026-09-10 19:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996736000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830291066661466112},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996736000001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:56:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661466112,"description":"Unknown IO ID 45"} 
[2026-09-10 19:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996736000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661466112}} 
[2026-09-10 19:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":176630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:56:33] local.INFO: GPS data processed {"connection_id":176630,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:56:33] local.INFO: Acknowledgment sent {"connection_id":176630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:56:55] local.INFO: TCP Data received {"connection_id":179379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb55928012cfacac00706a050000f005f2c..."} 
[2026-09-10 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb55928012cfacac00706a050000f005f2c..."} 
[2026-09-10 19:56:55] local.INFO: Processing buffer {"connection_id":179379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb55928012cfacac00706a050000f005f2c..."} 
[2026-09-10 19:56:55] local.INFO: Packet analysis {"connection_id":179379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:56:55] local.INFO: Extracted packet for processing {"connection_id":179379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:56:55] local.INFO: GPS Element Parsed {"raw_longitude":754633408,"raw_latitude":117874768,"longitude_deg":75.4633408,"latitude_deg":11.7874768,"altitude":15,"angle":95,"satellites":44,"speed":43,"hex_longitude":"2cfacac0","hex_latitude":"0706a050","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996877824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404627906883485696,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-385761425405765632,"note":"Value kept but may cause issues"} 
[2026-09-10 19:56:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789050313000,"timestamp_ms":1789050313000,"timestamp_seconds":1789050313,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb55928"} 
[2026-09-10 19:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 19:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996877824001,"66":27300,"83":41728,"24":43,"16":404627906883485696,"44":-385761425405765632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-10 19:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996877824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-10 19:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404627906883485696,"km_value":404627906883485.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-385761425405765632,"description":"Unknown IO ID 44"} 
[2026-09-10 19:56:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996877824001,"power":27300,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-385761425405765632}} 
[2026-09-10 19:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":179379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:56:55] local.INFO: GPS data processed {"connection_id":179379,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:56:55] local.INFO: Acknowledgment sent {"connection_id":179379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:57:04] local.INFO: TCP Data received {"connection_id":176630,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:05] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:05] local.INFO: Packet analysis {"connection_id":176630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:05] local.INFO: Extracted packet for processing {"connection_id":176630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57: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-09-10 19:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 19:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19: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-09-10 19:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:57:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 19:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 19:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":176630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:57:05] local.INFO: GPS data processed {"connection_id":176630,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:57:05] local.INFO: Acknowledgment sent {"connection_id":176630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:57:22] local.INFO: TCP Data received {"connection_id":179380,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:22] local.INFO: Processing buffer {"connection_id":179380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:22] local.INFO: IMEI packet received {"connection_id":179380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":179380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:57:23] local.INFO: TCP Data received {"connection_id":179380,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:23] local.INFO: Processing buffer {"connection_id":179380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:23] local.INFO: IMEI packet received {"connection_id":179380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":179380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:57:28] local.INFO: TCP Data received {"connection_id":179380,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:28] local.INFO: Processing buffer {"connection_id":179380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:57:28] local.INFO: IMEI packet received {"connection_id":179380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":179380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:57:29] local.INFO: TCP Data received {"connection_id":179380,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb57c50012cfaf18007069c78000d00602e..."} 
[2026-09-10 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb57c50012cfaf18007069c78000d00602e..."} 
[2026-09-10 19:57:29] local.INFO: Processing buffer {"connection_id":179380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb57c50012cfaf18007069c78000d00602e..."} 
[2026-09-10 19:57:29] local.INFO: Packet analysis {"connection_id":179380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:29] local.INFO: Extracted packet for processing {"connection_id":179380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":754643328,"raw_latitude":117873784,"longitude_deg":75.4643328,"latitude_deg":11.7873784,"altitude":13,"angle":96,"satellites":46,"speed":44,"hex_longitude":"2cfaf180","hex_latitude":"07069c78","is_valid_coordinates":true} 
[2026-09-10 19:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996880128001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404628379329888256,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-375276482523541504,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,94,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789050322000,"timestamp_ms":1789050322000,"timestamp_seconds":1789050322,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb57c50"} 
[2026-09-10 19:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:57: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-09-10 19:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:57: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-09-10 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996880128001,"66":27169,"24":44,"94":10240,"16":404628379329888256,"44":-375276482523541504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,94,16,44]} 
[2026-09-10 19:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996880128001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:57:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 19:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404628379329888256,"km_value":404628379329888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-375276482523541504,"description":"Unknown IO ID 44"} 
[2026-09-10 19:57:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457996880128001,"power":27169,"ignition":44,"unknown_94":10240,"odometer":null,"unknown_44":-375276482523541504}} 
[2026-09-10 19:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":179380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:57:29] local.INFO: GPS data processed {"connection_id":179380,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:57:29] local.INFO: Acknowledgment sent {"connection_id":179380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:57:31] local.INFO: TCP Data received {"connection_id":178001,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:57:31] local.INFO: Processing buffer {"connection_id":178001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:57:31] local.INFO: IMEI packet received {"connection_id":178001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":178001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:57:36] local.INFO: TCP Data received {"connection_id":178001,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:57:36] local.INFO: Processing buffer {"connection_id":178001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:57:36] local.INFO: IMEI packet received {"connection_id":178001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":178001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:57:37] local.INFO: TCP Data received {"connection_id":178001,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:37] local.INFO: Processing buffer {"connection_id":178001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:37] local.INFO: Packet analysis {"connection_id":178001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:37] local.INFO: Extracted packet for processing {"connection_id":178001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57: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-09-10 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 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-09-10 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:57: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-09-10 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-09-10 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-09-10 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":178001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:57:37] local.INFO: GPS data processed {"connection_id":178001,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:57:37] local.INFO: Acknowledgment sent {"connection_id":178001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:57:42] local.INFO: TCP Data received {"connection_id":178001,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:42] local.INFO: Processing buffer {"connection_id":178001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:57:42] local.INFO: Packet analysis {"connection_id":178001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:42] local.INFO: Extracted packet for processing {"connection_id":178001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:57: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-09-10 19:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 19:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:57: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-09-10 19:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:57:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 19:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 19:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":178001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:57:42] local.INFO: GPS data processed {"connection_id":178001,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:57:42] local.INFO: Acknowledgment sent {"connection_id":178001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:58:00] local.INFO: TCP Data received {"connection_id":179380,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb6ff08012cfcad4007065368000c00772c..."} 
[2026-09-10 19:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb6ff08012cfcad4007065368000c00772c..."} 
[2026-09-10 19:58:00] local.INFO: Processing buffer {"connection_id":179380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb6ff08012cfcad4007065368000c00772c..."} 
[2026-09-10 19:58:00] local.INFO: Packet analysis {"connection_id":179380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb6"} 
[2026-09-10 19:58:00] local.INFO: Extracted packet for processing {"connection_id":179380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb6"} 
[2026-09-10 19:58:00] local.INFO: GPS Element Parsed {"raw_longitude":754756928,"raw_latitude":117855080,"longitude_deg":75.4756928,"latitude_deg":11.785508,"altitude":12,"angle":119,"satellites":44,"speed":45,"hex_longitude":"2cfcad40","hex_latitude":"07065368","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996905728001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404633885477961728,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-248331268031051776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789050421000,"timestamp_ms":1789050421000,"timestamp_seconds":1789050421,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb6ff08"} 
[2026-09-10 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-09-10 19:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:58: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-09-10 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-09-10 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-09-10 19:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58: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-09-10 19:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996905728001,"66":27267,"213":206,"94":10240,"24":45,"16":404633885477961728,"44":-248331268031051776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-10 19:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996905728001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:58:00] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 19:58:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 19:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404633885477961728,"km_value":404633885477961.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-248331268031051776,"description":"Unknown IO ID 44"} 
[2026-09-10 19:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996905728001,"power":27267,"unknown_213":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-248331268031051776}} 
[2026-09-10 19:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":179380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:58:00] local.INFO: GPS data processed {"connection_id":179380,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:58:00] local.INFO: Acknowledgment sent {"connection_id":179380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:58:18] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:58:18] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:58:18] local.INFO: IMEI packet received {"connection_id":176852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":176852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:58:21] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:58:21] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:58:21] local.INFO: IMEI packet received {"connection_id":176852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":176852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:58:22] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb71e48012cfcccc007063fd0000a007d2d..."} 
[2026-09-10 19:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb71e48012cfcccc007063fd0000a007d2d..."} 
[2026-09-10 19:58:22] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb71e48012cfcccc007063fd0000a007d2d..."} 
[2026-09-10 19:58:22] local.INFO: Packet analysis {"connection_id":176852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:58:22] local.INFO: Extracted packet for processing {"connection_id":176852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":754764992,"raw_latitude":117850064,"longitude_deg":75.4764992,"latitude_deg":11.7850064,"altitude":10,"angle":125,"satellites":45,"speed":47,"hex_longitude":"2cfcccc0","hex_latitude":"07063fd0","is_valid_coordinates":true} 
[2026-09-10 19:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996907776001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404634340744495104,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-239464806265690112,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789050429000,"timestamp_ms":1789050429000,"timestamp_seconds":1789050429,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb71e48"} 
[2026-09-10 19:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 19:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58: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-09-10 19:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996907776001,"66":27365,"213":206,"94":10240,"24":47,"16":404634340744495104,"44":-239464806265690112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-10 19:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996907776001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 19:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404634340744495104,"km_value":404634340744495.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-239464806265690112,"description":"Unknown IO ID 44"} 
[2026-09-10 19:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996907776001,"power":27365,"unknown_213":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_44":-239464806265690112}} 
[2026-09-10 19:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":176852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:58:22] local.INFO: GPS data processed {"connection_id":176852,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:58:22] local.INFO: Acknowledgment sent {"connection_id":176852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:58:24] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb73d88012cfcea00070628f0000900822e..."} 
[2026-09-10 19:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb73d88012cfcea00070628f0000900822e..."} 
[2026-09-10 19:58:24] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb73d88012cfcea00070628f0000900822e..."} 
[2026-09-10 19:58:24] local.INFO: Packet analysis {"connection_id":176852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:58:24] local.INFO: Extracted packet for processing {"connection_id":176852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:58:24] local.INFO: GPS Element Parsed {"raw_longitude":754772480,"raw_latitude":117844208,"longitude_deg":75.477248,"latitude_deg":11.7844208,"altitude":9,"angle":130,"satellites":46,"speed":45,"hex_longitude":"2cfcea00","hex_latitude":"070628f0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996909824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404634796011028480,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-230598344500588544,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050437000,"timestamp_ms":1789050437000,"timestamp_seconds":1789050437,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb73d88"} 
[2026-09-10 19:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 19:58:24] 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-09-10 19: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-09-10 19:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996909824001,"66":27310,"213":206,"94":10240,"24":45,"16":404634796011028480,"44":-230598344500588544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-10 19:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996909824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:58:24] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 19:58:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 19:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404634796011028480,"km_value":404634796011028.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-230598344500588544,"description":"Unknown IO ID 44"} 
[2026-09-10 19:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996909824001,"power":27310,"unknown_213":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-230598344500588544}} 
[2026-09-10 19:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":176852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:58:24] local.INFO: GPS data processed {"connection_id":176852,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:58:24] local.INFO: Acknowledgment sent {"connection_id":176852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:58:26] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:58:26] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:58:26] local.INFO: IMEI packet received {"connection_id":176853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":176853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:58:31] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:58:31] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:58:31] local.INFO: IMEI packet received {"connection_id":176853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":176853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:58:33] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:58:33] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:58:33] local.INFO: Packet analysis {"connection_id":176853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:58:33] local.INFO: Extracted packet for processing {"connection_id":176853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 19:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19: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-09-10 19:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:58:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 19:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 19:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":176853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:58:33] local.INFO: GPS data processed {"connection_id":176853,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:58:33] local.INFO: Acknowledgment sent {"connection_id":176853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:58:55] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb75cc8012cfd054007061178000a00832e..."} 
[2026-09-10 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb75cc8012cfd054007061178000a00832e..."} 
[2026-09-10 19:58:55] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb75cc8012cfd054007061178000a00832e..."} 
[2026-09-10 19:58:55] local.INFO: Packet analysis {"connection_id":176852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:58:55] local.INFO: Extracted packet for processing {"connection_id":176852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:58:55] local.INFO: GPS Element Parsed {"raw_longitude":754779456,"raw_latitude":117838200,"longitude_deg":75.4779456,"latitude_deg":11.78382,"altitude":10,"angle":131,"satellites":46,"speed":45,"hex_longitude":"2cfd0540","hex_latitude":"07061178","is_valid_coordinates":true} 
[2026-09-10 19: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-09-10 19:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996911872001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404635234097692672,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-222365201433300992,"note":"Value kept but may cause issues"} 
[2026-09-10 19:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789050445000,"timestamp_ms":1789050445000,"timestamp_seconds":1789050445,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb75cc8"} 
[2026-09-10 19:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 19:58:55] 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-09-10 19: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-09-10 19:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996911872001,"66":27300,"213":206,"94":10240,"24":45,"16":404635234097692672,"44":-222365201433300992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-10 19:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996911872001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:58:55] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 19:58:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 19:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404635234097692672,"km_value":404635234097692.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-222365201433300992,"description":"Unknown IO ID 44"} 
[2026-09-10 19:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996911872001,"power":27300,"unknown_213":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-222365201433300992}} 
[2026-09-10 19:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":176852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:58:55] local.INFO: GPS data processed {"connection_id":176852,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:58:55] local.INFO: Acknowledgment sent {"connection_id":176852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:59:05] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:59:05] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:59:05] local.INFO: Packet analysis {"connection_id":176853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:59:05] local.INFO: Extracted packet for processing {"connection_id":176853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59: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-09-10 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 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-09-10 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19: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-09-10 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-09-10 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-09-10 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 19:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 19:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":176853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:59:05] local.INFO: GPS data processed {"connection_id":176853,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:59:05] local.INFO: Acknowledgment sent {"connection_id":176853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:59:18] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:59:18] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:59:18] local.INFO: IMEI packet received {"connection_id":176632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 19:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":176632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:59:23] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:59:23] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 19:59:23] local.INFO: IMEI packet received {"connection_id":176632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 19:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":176632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:59:24] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb77c08012cfd1fc00705fa48000b00822e..."} 
[2026-09-10 19:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb77c08012cfd1fc00705fa48000b00822e..."} 
[2026-09-10 19:59:24] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb77c08012cfd1fc00705fa48000b00822e..."} 
[2026-09-10 19:59:24] local.INFO: Packet analysis {"connection_id":176632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:59:24] local.INFO: Extracted packet for processing {"connection_id":176632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:59:24] local.INFO: GPS Element Parsed {"raw_longitude":754786240,"raw_latitude":117832264,"longitude_deg":75.478624,"latitude_deg":11.7832264,"altitude":11,"angle":130,"satellites":46,"speed":44,"hex_longitude":"2cfd1fc0","hex_latitude":"0705fa48","is_valid_coordinates":true} 
[2026-09-10 19:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996913920001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404635667889389568,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-214695008319473664,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050453000,"timestamp_ms":1789050453000,"timestamp_seconds":1789050453,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb77c08"} 
[2026-09-10 19:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:59: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-09-10 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 19:59:24] 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-09-10 19:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996913920001,"66":27213,"213":206,"94":10240,"24":44,"16":404635667889389568,"44":-214695008319473664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-10 19:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996913920001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:59:24] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 19:59:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 19:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404635667889389568,"km_value":404635667889389.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-214695008319473664,"description":"Unknown IO ID 44"} 
[2026-09-10 19:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996913920001,"power":27213,"unknown_213":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-214695008319473664}} 
[2026-09-10 19:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":176632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:59:24] local.INFO: GPS data processed {"connection_id":176632,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:59:24] local.INFO: Acknowledgment sent {"connection_id":176632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:59:26] local.INFO: TCP Data received {"connection_id":176854,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:59:26] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:59:26] local.INFO: IMEI packet received {"connection_id":176854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 19:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":176854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 19:59:31] local.INFO: TCP Data received {"connection_id":176854,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:59:31] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 19:59:31] local.INFO: IMEI packet received {"connection_id":176854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 19:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":176854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 19:59:33] local.INFO: TCP Data received {"connection_id":176854,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:59:33] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 19:59:33] local.INFO: Packet analysis {"connection_id":176854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:59:33] local.INFO: Extracted packet for processing {"connection_id":176854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 19:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 19:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 19:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 19:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 19:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 19:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 19:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 19:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 19:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 19:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 19:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:59:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 19:59:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 19:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 19:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 19:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":176854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:59:33] local.INFO: GPS data processed {"connection_id":176854,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:59:33] local.INFO: Acknowledgment sent {"connection_id":176854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 19:59:56] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb79f30012cfd3d400705e108000c00832e..."} 
[2026-09-10 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb79f30012cfd3d400705e108000c00832e..."} 
[2026-09-10 19:59:56] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb79f30012cfd3d400705e108000c00832e..."} 
[2026-09-10 19:59:56] local.INFO: Packet analysis {"connection_id":176632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:59:56] local.INFO: Extracted packet for processing {"connection_id":176632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb7"} 
[2026-09-10 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":754793792,"raw_latitude":117825800,"longitude_deg":75.4793792,"latitude_deg":11.78258,"altitude":12,"angle":131,"satellites":46,"speed":43,"hex_longitude":"2cfd3d40","hex_latitude":"0705e108","is_valid_coordinates":true} 
[2026-09-10 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 19:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996915968001,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404636140335792128,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-207235921438160896,"note":"Value kept but may cause issues"} 
[2026-09-10 19:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 19:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789050462000,"timestamp_ms":1789050462000,"timestamp_seconds":1789050462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb79f30"} 
[2026-09-10 19:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 19:59:56] 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-09-10 19:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 19:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 19:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 19:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 19:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 19:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 19:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 19:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 19:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996915968001,"66":27245,"213":206,"94":10240,"24":43,"16":404636140335792128,"44":-207235921438160896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-10 19:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 19:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 19:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996915968001,"description":"Unknown IO ID 0"} 
[2026-09-10 19:59:56] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-10 19:59:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 19:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404636140335792128,"km_value":404636140335792.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 19:59:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-207235921438160896,"description":"Unknown IO ID 44"} 
[2026-09-10 19:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996915968001,"power":27245,"unknown_213":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-207235921438160896}} 
[2026-09-10 19:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":176632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 19:59:56] local.INFO: GPS data processed {"connection_id":176632,"processed":1,"errors":0,"total":1} 
[2026-09-10 19:59:56] local.INFO: Acknowledgment sent {"connection_id":176632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:00:06] local.INFO: TCP Data received {"connection_id":176854,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:00:06] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:00:06] local.INFO: Packet analysis {"connection_id":176854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 20:00:06] local.INFO: Extracted packet for processing {"connection_id":176854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":176854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:00:06] local.INFO: GPS data processed {"connection_id":176854,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:00:06] local.INFO: Acknowledgment sent {"connection_id":176854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:00:18] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:00:18] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:00:18] local.INFO: IMEI packet received {"connection_id":178002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":178002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:00:23] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:00:23] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:00:23] local.INFO: IMEI packet received {"connection_id":178002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":178002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:00:23] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb91630012cfe72800704d948000c007e30..."} 
[2026-09-10 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb91630012cfe72800704d948000c007e30..."} 
[2026-09-10 20:00:23] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb91630012cfe72800704d948000c007e30..."} 
[2026-09-10 20:00:23] local.INFO: Packet analysis {"connection_id":178002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:00:23] local.INFO: Extracted packet for processing {"connection_id":178002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:00:23] local.INFO: GPS Element Parsed {"raw_longitude":754872960,"raw_latitude":117758280,"longitude_deg":75.487296,"latitude_deg":11.775828,"altitude":12,"angle":126,"satellites":48,"speed":40,"hex_longitude":"2cfe7280","hex_latitude":"0704d948","is_valid_coordinates":true} 
[2026-09-10 20:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996940544001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404641126792822784,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-120330522396217344,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789050558000,"timestamp_ms":1789050558000,"timestamp_seconds":1789050558,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb91630"} 
[2026-09-10 20:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:00: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-09-10 20:00: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-09-10 20:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996940544001,"66":26658,"212":206,"94":10240,"24":40,"16":404641126792822784,"44":-120330522396217344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-10 20:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996940544001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:00:23] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 20:00:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404641126792822784,"km_value":404641126792822.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:00:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-120330522396217344,"description":"Unknown IO ID 44"} 
[2026-09-10 20:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996940544001,"power":26658,"unknown_212":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_44":-120330522396217344}} 
[2026-09-10 20:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":178002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:00:23] local.INFO: GPS data processed {"connection_id":178002,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:00:23] local.INFO: Acknowledgment sent {"connection_id":178002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:00:26] local.INFO: TCP Data received {"connection_id":179382,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:00:26] local.INFO: Processing buffer {"connection_id":179382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:00:26] local.INFO: IMEI packet received {"connection_id":179382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":179382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:00:31] local.INFO: TCP Data received {"connection_id":179382,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:00:31] local.INFO: Processing buffer {"connection_id":179382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:00:31] local.INFO: IMEI packet received {"connection_id":179382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":179382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:00:33] local.INFO: TCP Data received {"connection_id":179382,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:00:33] local.INFO: Processing buffer {"connection_id":179382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:00:33] local.INFO: Packet analysis {"connection_id":179382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 20:00:33] local.INFO: Extracted packet for processing {"connection_id":179382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 20:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 20:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:00:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":179382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:00:33] local.INFO: GPS data processed {"connection_id":179382,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:00:33] local.INFO: Acknowledgment sent {"connection_id":179382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:00:54] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb93958012cfe90c00704c310000a007e2e..."} 
[2026-09-10 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb93958012cfe90c00704c310000a007e2e..."} 
[2026-09-10 20:00:54] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb93958012cfe90c00704c310000a007e2e..."} 
[2026-09-10 20:00:54] local.INFO: Packet analysis {"connection_id":178002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:00:54] local.INFO: Extracted packet for processing {"connection_id":178002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":754880704,"raw_latitude":117752592,"longitude_deg":75.4880704,"latitude_deg":11.7752592,"altitude":10,"angle":126,"satellites":46,"speed":43,"hex_longitude":"2cfe90c0","hex_latitude":"0704c310","is_valid_coordinates":true} 
[2026-09-10 20:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996942848001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404641586354323456,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-111886273096366080,"note":"Value kept but may cause issues"} 
[2026-09-10 20:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789050567000,"timestamp_ms":1789050567000,"timestamp_seconds":1789050567,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb93958"} 
[2026-09-10 20:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 20:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996942848001,"66":27234,"212":206,"94":10240,"24":43,"16":404641586354323456,"44":-111886273096366080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-10 20:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996942848001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:00:54] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 20:00:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404641586354323456,"km_value":404641586354323.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-111886273096366080,"description":"Unknown IO ID 44"} 
[2026-09-10 20:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996942848001,"power":27234,"unknown_212":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-111886273096366080}} 
[2026-09-10 20:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":178002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:00:54] local.INFO: GPS data processed {"connection_id":178002,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:00:54] local.INFO: Acknowledgment sent {"connection_id":178002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:01:05] local.INFO: TCP Data received {"connection_id":179382,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:01:05] local.INFO: Processing buffer {"connection_id":179382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb5fd38012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:01:05] local.INFO: Packet analysis {"connection_id":179382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 20:01:05] local.INFO: Extracted packet for processing {"connection_id":179382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb5"} 
[2026-09-10 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996813824001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01: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-09-10 20:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050355000,"timestamp_ms":1789050355000,"timestamp_seconds":1789050355,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb5fd38"} 
[2026-09-10 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-09-10 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996813824001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996813824001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996813824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":179382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:01:05] local.INFO: GPS data processed {"connection_id":179382,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:01:05] local.INFO: Acknowledgment sent {"connection_id":179382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:01:18] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:18] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:18] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:01:21] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:21] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:21] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:01:23] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:23] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:01:23] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:01:24] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb95c80012cfeb0800704ab680009007e2f..."} 
[2026-09-10 20:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb95c80012cfeb0800704ab680009007e2f..."} 
[2026-09-10 20:01:24] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb95c80012cfeb0800704ab680009007e2f..."} 
[2026-09-10 20:01:24] local.INFO: Packet analysis {"connection_id":176855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:01:24] local.INFO: Extracted packet for processing {"connection_id":176855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:01:24] local.INFO: GPS Element Parsed {"raw_longitude":754888832,"raw_latitude":117746536,"longitude_deg":75.4888832,"latitude_deg":11.7746536,"altitude":9,"angle":126,"satellites":47,"speed":45,"hex_longitude":"2cfeb080","hex_latitude":"0704ab68","is_valid_coordinates":true} 
[2026-09-10 20:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996945152001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404642071685627904,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-103371655052324864,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050576000,"timestamp_ms":1789050576000,"timestamp_seconds":1789050576,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb95c80"} 
[2026-09-10 20:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:01: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-09-10 20:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:01:24] 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-09-10 20:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996945152001,"66":27365,"212":206,"94":10240,"24":45,"16":404642071685627904,"44":-103371655052324864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-10 20:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996945152001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:01:24] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-10 20:01:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404642071685627904,"km_value":404642071685627.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:01:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-103371655052324864,"description":"Unknown IO ID 44"} 
[2026-09-10 20:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996945152001,"power":27365,"unknown_212":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-103371655052324864}} 
[2026-09-10 20:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":176855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:01:24] local.INFO: GPS data processed {"connection_id":176855,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:01:24] local.INFO: Acknowledgment sent {"connection_id":176855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:01:28] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb97bc0012cfecc8007049550000a00812f..."} 
[2026-09-10 20:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb97bc0012cfecc8007049550000a00812f..."} 
[2026-09-10 20:01:28] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb97bc0012cfecc8007049550000a00812f..."} 
[2026-09-10 20:01:28] local.INFO: Packet analysis {"connection_id":176855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:01:28] local.INFO: Extracted packet for processing {"connection_id":176855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:01:28] local.INFO: GPS Element Parsed {"raw_longitude":754896000,"raw_latitude":117740880,"longitude_deg":75.4896,"latitude_deg":11.774088,"altitude":10,"angle":129,"satellites":47,"speed":43,"hex_longitude":"2cfecc80","hex_latitude":"07049550","is_valid_coordinates":true} 
[2026-09-10 20:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996947456001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404642509772292096,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-94434824543311872,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789050584000,"timestamp_ms":1789050584000,"timestamp_seconds":1789050584,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb97bc0"} 
[2026-09-10 20:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:01: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-09-10 20:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 20:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996947456001,"66":27343,"91":206,"94":10240,"24":43,"16":404642509772292096,"44":-94434824543311872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-10 20:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996947456001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:01:28] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 20:01:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404642509772292096,"km_value":404642509772292.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:01:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-94434824543311872,"description":"Unknown IO ID 44"} 
[2026-09-10 20:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996947456001,"power":27343,"unknown_91":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-94434824543311872}} 
[2026-09-10 20:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":176855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:01:28] local.INFO: GPS data processed {"connection_id":176855,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:01:28] local.INFO: Acknowledgment sent {"connection_id":176855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:01:31] local.INFO: TCP Data received {"connection_id":176633,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:01:31] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:01:31] local.INFO: IMEI packet received {"connection_id":176633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":176633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:01:34] local.INFO: TCP Data received {"connection_id":176633,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:01:34] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:01:34] local.INFO: IMEI packet received {"connection_id":176633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":176633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:01:35] local.INFO: TCP Data received {"connection_id":176633,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:01:35] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:01:35] local.INFO: Packet analysis {"connection_id":176633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:01:35] local.INFO: Extracted packet for processing {"connection_id":176633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":176633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:01:36] local.INFO: GPS data processed {"connection_id":176633,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:01:36] local.INFO: Acknowledgment sent {"connection_id":176633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:01:36] local.INFO: TCP Data received {"connection_id":176633,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:01:36] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:01:36] local.INFO: Packet analysis {"connection_id":176633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:01:36] local.INFO: Extracted packet for processing {"connection_id":176633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:01: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-09-10 20:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 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-09-10 20:01: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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":176633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:01:37] local.INFO: GPS data processed {"connection_id":176633,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:01:37] local.INFO: Acknowledgment sent {"connection_id":176633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:02:00] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb99ee8012cfee8c007047d68000b00822c..."} 
[2026-09-10 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb99ee8012cfee8c007047d68000b00822c..."} 
[2026-09-10 20:02:00] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb99ee8012cfee8c007047d68000b00822c..."} 
[2026-09-10 20:02:00] local.INFO: Packet analysis {"connection_id":176855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:02:00] local.INFO: Extracted packet for processing {"connection_id":176855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":754903232,"raw_latitude":117734760,"longitude_deg":75.4903232,"latitude_deg":11.773476,"altitude":11,"angle":130,"satellites":44,"speed":40,"hex_longitude":"2cfee8c0","hex_latitude":"07047d68","is_valid_coordinates":true} 
[2026-09-10 20:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996949504001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404642965038825472,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-86553525196861440,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789050593000,"timestamp_ms":1789050593000,"timestamp_seconds":1789050593,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb99ee8"} 
[2026-09-10 20:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:02: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-09-10 20:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:02: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-09-10 20:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996949504001,"66":27300,"91":206,"94":10240,"24":40,"16":404642965038825472,"44":-86553525196861440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-10 20:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996949504001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:02:00] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 20:02:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404642965038825472,"km_value":404642965038825.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-86553525196861440,"description":"Unknown IO ID 44"} 
[2026-09-10 20:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996949504001,"power":27300,"unknown_91":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_44":-86553525196861440}} 
[2026-09-10 20:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":176855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:02:00] local.INFO: GPS data processed {"connection_id":176855,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:02:00] local.INFO: Acknowledgment sent {"connection_id":176855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:02:08] local.INFO: TCP Data received {"connection_id":176633,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:02:08] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:02:08] local.INFO: Packet analysis {"connection_id":176633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:02:08] local.INFO: Extracted packet for processing {"connection_id":176633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02: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-09-10 20:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:02:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:02:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":176633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:02:08] local.INFO: GPS data processed {"connection_id":176633,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:02:08] local.INFO: Acknowledgment sent {"connection_id":176633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:02:18] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:02:18] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:02:18] local.INFO: IMEI packet received {"connection_id":178003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":178003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:02:23] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:02:23] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:02:23] local.INFO: IMEI packet received {"connection_id":178003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":178003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:02:24] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb9c210012cff0480070466f0000c007f2f..."} 
[2026-09-10 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb9c210012cff0480070466f0000c007f2f..."} 
[2026-09-10 20:02:24] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb9c210012cff0480070466f0000c007f2f..."} 
[2026-09-10 20:02:24] local.INFO: Packet analysis {"connection_id":178003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:02:24] local.INFO: Extracted packet for processing {"connection_id":178003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":754910336,"raw_latitude":117729008,"longitude_deg":75.4910336,"latitude_deg":11.7729008,"altitude":12,"angle":127,"satellites":47,"speed":39,"hex_longitude":"2cff0480","hex_latitude":"070466f0","is_valid_coordinates":true} 
[2026-09-10 20:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996951808001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404643398830522368,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-78601857106352128,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050602000,"timestamp_ms":1789050602000,"timestamp_seconds":1789050602,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb9c210"} 
[2026-09-10 20:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:02: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-09-10 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:02:24] 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-09-10 20:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996951808001,"66":27397,"91":206,"94":10240,"24":39,"16":404643398830522368,"44":-78601857106352128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-10 20:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996951808001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:02:24] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 20:02:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404643398830522368,"km_value":404643398830522.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:02:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-78601857106352128,"description":"Unknown IO ID 44"} 
[2026-09-10 20:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996951808001,"power":27397,"unknown_91":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-78601857106352128}} 
[2026-09-10 20:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":178003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:02:24] local.INFO: GPS data processed {"connection_id":178003,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:02:24] local.INFO: Acknowledgment sent {"connection_id":178003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:02:26] local.INFO: TCP Data received {"connection_id":178004,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:02:26] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:02:26] local.INFO: IMEI packet received {"connection_id":178004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":178004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:02:31] local.INFO: TCP Data received {"connection_id":178004,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:02:31] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:02:31] local.INFO: IMEI packet received {"connection_id":178004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":178004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:02:33] local.INFO: TCP Data received {"connection_id":178004,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:02:33] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:02:33] local.INFO: Packet analysis {"connection_id":178004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:02:33] local.INFO: Extracted packet for processing {"connection_id":178004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:02:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:02:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":178004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:02:33] local.INFO: GPS data processed {"connection_id":178004,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:02:33] local.INFO: Acknowledgment sent {"connection_id":178004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:02:55] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bb9e538012cff230007045450000d00752f..."} 
[2026-09-10 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bb9e538012cff230007045450000d00752f..."} 
[2026-09-10 20:02:55] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bb9e538012cff230007045450000d00752f..."} 
[2026-09-10 20:02:55] local.INFO: Packet analysis {"connection_id":178003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:02:55] local.INFO: Extracted packet for processing {"connection_id":178003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bb9"} 
[2026-09-10 20:02:55] local.INFO: GPS Element Parsed {"raw_longitude":754918144,"raw_latitude":117724240,"longitude_deg":75.4918144,"latitude_deg":11.772424,"altitude":13,"angle":117,"satellites":47,"speed":39,"hex_longitude":"2cff2300","hex_latitude":"07045450","is_valid_coordinates":true} 
[2026-09-10 20:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996954112001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404643836917186560,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70790926504103936,"note":"Value kept but may cause issues"} 
[2026-09-10 20:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789050611000,"timestamp_ms":1789050611000,"timestamp_seconds":1789050611,"priority":1,"record_length":96,"hex_timestamp":"000001a08bb9e538"} 
[2026-09-10 20:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 20:02:55] 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-09-10 20:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996954112001,"66":27213,"91":206,"94":10240,"24":39,"16":404643836917186560,"44":-70790926504103936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-10 20:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996954112001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:02:55] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 20:02:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404643836917186560,"km_value":404643836917186.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:02:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70790926504103936,"description":"Unknown IO ID 44"} 
[2026-09-10 20:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996954112001,"power":27213,"unknown_91":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-70790926504103936}} 
[2026-09-10 20:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":178003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:02:55] local.INFO: GPS data processed {"connection_id":178003,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:02:55] local.INFO: Acknowledgment sent {"connection_id":178003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:03:05] local.INFO: TCP Data received {"connection_id":178004,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:03:05] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:03:05] local.INFO: Packet analysis {"connection_id":178004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:05] local.INFO: Extracted packet for processing {"connection_id":178004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03: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-09-10 20:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 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-09-10 20:03: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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:03:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":178004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:03:05] local.INFO: GPS data processed {"connection_id":178004,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:03:05] local.INFO: Acknowledgment sent {"connection_id":178004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:03:18] local.INFO: TCP Data received {"connection_id":179383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:03:18] local.INFO: Processing buffer {"connection_id":179383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:03:18] local.INFO: IMEI packet received {"connection_id":179383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":179383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:03:23] local.INFO: TCP Data received {"connection_id":179383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:03:23] local.INFO: Processing buffer {"connection_id":179383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:03:23] local.INFO: IMEI packet received {"connection_id":179383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":179383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:03:24] local.INFO: TCP Data received {"connection_id":179383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba0c48012cff4740070445a0000e006c2e..."} 
[2026-09-10 20:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba0c48012cff4740070445a0000e006c2e..."} 
[2026-09-10 20:03:24] local.INFO: Processing buffer {"connection_id":179383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba0c48012cff4740070445a0000e006c2e..."} 
[2026-09-10 20:03:24] local.INFO: Packet analysis {"connection_id":179383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:24] local.INFO: Extracted packet for processing {"connection_id":179383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:24] local.INFO: GPS Element Parsed {"raw_longitude":754927424,"raw_latitude":117720480,"longitude_deg":75.4927424,"latitude_deg":11.772048,"altitude":14,"angle":108,"satellites":46,"speed":39,"hex_longitude":"2cff4740","hex_latitude":"070445a0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996956416001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404644313658556416,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-62205939715649536,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050621000,"timestamp_ms":1789050621000,"timestamp_seconds":1789050621,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba0c48"} 
[2026-09-10 20:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:03: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-09-10 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:03:24] 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-09-10 20: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-09-10 20:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996956416001,"66":27463,"91":206,"94":10240,"24":39,"16":404644313658556416,"44":-62205939715649536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-10 20:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996956416001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:03:24] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 20:03:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404644313658556416,"km_value":404644313658556.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:03:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-62205939715649536,"description":"Unknown IO ID 44"} 
[2026-09-10 20:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996956416001,"power":27463,"unknown_91":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-62205939715649536}} 
[2026-09-10 20:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":179383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:03:24] local.INFO: GPS data processed {"connection_id":179383,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:03:24] local.INFO: Acknowledgment sent {"connection_id":179383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:03:27] local.INFO: TCP Data received {"connection_id":179384,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:03:27] local.INFO: Processing buffer {"connection_id":179384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:03:27] local.INFO: IMEI packet received {"connection_id":179384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":179384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:03:31] local.INFO: TCP Data received {"connection_id":179384,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:03:31] local.INFO: Processing buffer {"connection_id":179384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:03:31] local.INFO: IMEI packet received {"connection_id":179384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":179384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:03:33] local.INFO: TCP Data received {"connection_id":179384,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:03:33] local.INFO: Processing buffer {"connection_id":179384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:03:33] local.INFO: Packet analysis {"connection_id":179384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:33] local.INFO: Extracted packet for processing {"connection_id":179384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:03:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:03:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":179384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:03:33] local.INFO: GPS data processed {"connection_id":179384,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:03:33] local.INFO: Acknowledgment sent {"connection_id":179384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:03:57] local.INFO: TCP Data received {"connection_id":179383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba5e50012cff648007043b88000f006c2e..."} 
[2026-09-10 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba5e50012cff648007043b88000f006c2e..."} 
[2026-09-10 20:03:57] local.INFO: Processing buffer {"connection_id":179383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba5e50012cff648007043b88000f006c2e..."} 
[2026-09-10 20:03:57] local.INFO: Packet analysis {"connection_id":179383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:57] local.INFO: Extracted packet for processing {"connection_id":179383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:03:57] local.INFO: GPS Element Parsed {"raw_longitude":754934912,"raw_latitude":117717896,"longitude_deg":75.4934912,"latitude_deg":11.7717896,"altitude":15,"angle":108,"satellites":46,"speed":0,"hex_longitude":"2cff6480","hex_latitude":"07043b88","is_valid_coordinates":true} 
[2026-09-10 20:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996958976001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404644691615678464,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-52002471810850816,"note":"Value kept but may cause issues"} 
[2026-09-10 20:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789050642000,"timestamp_ms":1789050642000,"timestamp_seconds":1789050642,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba5e50"} 
[2026-09-10 20:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 20:03:57] 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-09-10 20:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996958976001,"66":27365,"91":206,"94":10240,"24":0,"16":404644691615678464,"44":-52002471810850816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-10 20:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996958976001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:03:57] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 20:03:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404644691615678464,"km_value":404644691615678.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:03:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-52002471810850816,"description":"Unknown IO ID 44"} 
[2026-09-10 20:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996958976001,"power":27365,"unknown_91":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-52002471810850816}} 
[2026-09-10 20:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":179383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:03:57] local.INFO: GPS data processed {"connection_id":179383,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:03:57] local.INFO: Acknowledgment sent {"connection_id":179383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:04:04] local.INFO: TCP Data received {"connection_id":179384,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:04:04] local.INFO: Processing buffer {"connection_id":179384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:04:04] local.INFO: Packet analysis {"connection_id":179384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:04:04] local.INFO: Extracted packet for processing {"connection_id":179384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":179384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:04:05] local.INFO: GPS data processed {"connection_id":179384,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:04:05] local.INFO: Acknowledgment sent {"connection_id":179384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:04:26] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:04:26] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:04:26] local.INFO: IMEI packet received {"connection_id":176634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":176634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:04:31] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:04:31] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:04:31] local.INFO: IMEI packet received {"connection_id":176634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":176634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:04:33] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:04:33] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:04:33] local.INFO: Packet analysis {"connection_id":176634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:04:33] local.INFO: Extracted packet for processing {"connection_id":176634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:04:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":176634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:04:33] local.INFO: GPS data processed {"connection_id":176634,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:04:33] local.INFO: Acknowledgment sent {"connection_id":176634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:04:43] local.INFO: TCP Data received {"connection_id":178005,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:04:43] local.INFO: Processing buffer {"connection_id":178005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:04:43] local.INFO: IMEI packet received {"connection_id":178005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":178005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:04:54] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:54] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:54] local.INFO: IMEI packet received {"connection_id":176856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":176856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:04:55] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:55] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:55] local.INFO: IMEI packet received {"connection_id":176856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":176856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:04:58] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:58] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:04:58] local.INFO: IMEI packet received {"connection_id":176856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":176856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:04:59] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbcac28012d0032400703eee8000d006e2f..."} 
[2026-09-10 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbcac28012d0032400703eee8000d006e2f..."} 
[2026-09-10 20:04:59] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbcac28012d0032400703eee8000d006e2f..."} 
[2026-09-10 20:04:59] local.INFO: Packet analysis {"connection_id":176856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbc"} 
[2026-09-10 20:04:59] local.INFO: Extracted packet for processing {"connection_id":176856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbc"} 
[2026-09-10 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":754987584,"raw_latitude":117698280,"longitude_deg":75.4987584,"latitude_deg":11.769828,"altitude":13,"angle":110,"satellites":47,"speed":46,"hex_longitude":"2d003240","hex_latitude":"0703eee8","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997000960001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404647384560173056,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4292523526459392,"note":"Value kept but may cause issues"} 
[2026-09-10 20:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789050793000,"timestamp_ms":1789050793000,"timestamp_seconds":1789050793,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbcac28"} 
[2026-09-10 20:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:04: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-09-10 20: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-09-10 20:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:04: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-09-10 20:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997000960001,"66":27300,"89":206,"94":10240,"24":46,"16":404647384560173056,"45":4292523526459392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-10 20:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997000960001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:04:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-10 20:04:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-10 20:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404647384560173056,"km_value":404647384560173.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4292523526459392,"description":"Unknown IO ID 45"} 
[2026-09-10 20:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997000960001,"power":27300,"unknown_89":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":4292523526459392}} 
[2026-09-10 20:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":176856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:04:59] local.INFO: GPS data processed {"connection_id":176856,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:04:59] local.INFO: Acknowledgment sent {"connection_id":176856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:05:05] local.INFO: TCP Data received {"connection_id":176634,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:05:05] local.INFO: Processing buffer {"connection_id":176634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:05:05] local.INFO: Packet analysis {"connection_id":176634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:05:05] local.INFO: Extracted packet for processing {"connection_id":176634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05: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-09-10 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 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-09-10 20:05: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-09-10 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:05:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":176634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:05:05] local.INFO: GPS data processed {"connection_id":176634,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:05:05] local.INFO: Acknowledgment sent {"connection_id":176634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:05:26] local.INFO: TCP Data received {"connection_id":176635,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:05:26] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:05:26] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:05:31] local.INFO: TCP Data received {"connection_id":176635,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:05:31] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:05:31] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:05:33] local.INFO: TCP Data received {"connection_id":176635,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:05:33] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:05:33] local.INFO: Packet analysis {"connection_id":176635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:05:33] local.INFO: Extracted packet for processing {"connection_id":176635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:05:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":176635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:05:33] local.INFO: GPS data processed {"connection_id":176635,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:05:33] local.INFO: Acknowledgment sent {"connection_id":176635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:05:39] local.INFO: TCP Data received {"connection_id":178006,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:05:39] local.INFO: Processing buffer {"connection_id":178006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:05:39] local.INFO: IMEI packet received {"connection_id":178006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":178006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:05:40] local.INFO: TCP Data received {"connection_id":178006,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:05:40] local.INFO: Processing buffer {"connection_id":178006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:05:40] local.INFO: IMEI packet received {"connection_id":178006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":178006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:05:41] local.INFO: TCP Data received {"connection_id":178006,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbdf830012d01b40007035ea8000b007b2d..."} 
[2026-09-10 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbdf830012d01b40007035ea8000b007b2d..."} 
[2026-09-10 20:05:41] local.INFO: Processing buffer {"connection_id":178006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbdf830012d01b40007035ea8000b007b2d..."} 
[2026-09-10 20:05:41] local.INFO: Packet analysis {"connection_id":178006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbd"} 
[2026-09-10 20:05:41] local.INFO: Extracted packet for processing {"connection_id":178006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbd"} 
[2026-09-10 20:05:41] local.INFO: GPS Element Parsed {"raw_longitude":755086336,"raw_latitude":117661352,"longitude_deg":75.5086336,"latitude_deg":11.7661352,"altitude":11,"angle":123,"satellites":45,"speed":47,"hex_longitude":"2d01b400","hex_latitude":"07035ea8","is_valid_coordinates":true} 
[2026-09-10 20:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997022976001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404652409671909376,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":113997395690237952,"note":"Value kept but may cause issues"} 
[2026-09-10 20:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789050878000,"timestamp_ms":1789050878000,"timestamp_seconds":1789050878,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbdf830"} 
[2026-09-10 20:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:05: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-09-10 20:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 20:05: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-09-10 20:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:05: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-09-10 20:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997022976001,"66":27332,"79":206,"94":11008,"24":47,"16":404652409671909376,"45":113997395690237952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-10 20:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997022976001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:05:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 20:05:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404652409671909376,"km_value":404652409671909.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":113997395690237952,"description":"Unknown IO ID 45"} 
[2026-09-10 20:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997022976001,"power":27332,"unknown_79":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":113997395690237952}} 
[2026-09-10 20:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":178006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:05:41] local.INFO: GPS data processed {"connection_id":178006,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:05:41] local.INFO: Acknowledgment sent {"connection_id":178006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:06:09] local.INFO: TCP Data received {"connection_id":176635,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:06:09] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bba9500012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:06:09] local.INFO: Packet analysis {"connection_id":176635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:06:09] local.INFO: Extracted packet for processing {"connection_id":176635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bba"} 
[2026-09-10 20:06:09] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996890880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06: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-09-10 20:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789050656000,"timestamp_ms":1789050656000,"timestamp_seconds":1789050656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bba9500"} 
[2026-09-10 20:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:06: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-09-10 20:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996890880001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996890880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:06:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996890880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":176635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:06:10] local.INFO: GPS data processed {"connection_id":176635,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:06:10] local.INFO: Acknowledgment sent {"connection_id":176635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:06:18] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:18] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:18] local.INFO: IMEI packet received {"connection_id":178007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":178007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:06:19] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:19] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:19] local.INFO: IMEI packet received {"connection_id":178007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":178007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:06:23] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:23] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:06:23] local.INFO: IMEI packet received {"connection_id":178007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":178007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:06:24] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbe1770012d01d08007034860000d008427..."} 
[2026-09-10 20:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbe1770012d01d08007034860000d008427..."} 
[2026-09-10 20:06:24] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbe1770012d01d08007034860000d008427..."} 
[2026-09-10 20:06:24] local.INFO: Packet analysis {"connection_id":178007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbe"} 
[2026-09-10 20:06:24] local.INFO: Extracted packet for processing {"connection_id":178007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbe"} 
[2026-09-10 20:06:24] local.INFO: GPS Element Parsed {"raw_longitude":755093632,"raw_latitude":117655648,"longitude_deg":75.5093632,"latitude_deg":11.7655648,"altitude":13,"angle":132,"satellites":39,"speed":45,"hex_longitude":"2d01d080","hex_latitude":"07034860","is_valid_coordinates":true} 
[2026-09-10 20:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997024768001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404652852053540864,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":122723119967152128,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050886000,"timestamp_ms":1789050886000,"timestamp_seconds":1789050886,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbe1770"} 
[2026-09-10 20:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:06: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-09-10 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 20:06:24] 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-09-10 20:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997024768001,"66":27321,"79":206,"94":11008,"24":45,"16":404652852053540864,"45":122723119967152128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-10 20:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997024768001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:06:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 20:06:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404652852053540864,"km_value":404652852053540.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":122723119967152128,"description":"Unknown IO ID 45"} 
[2026-09-10 20:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997024768001,"power":27321,"unknown_79":206,"unknown_94":11008,"ignition":45,"odometer":null,"unknown_45":122723119967152128}} 
[2026-09-10 20:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":178007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:06:25] local.INFO: GPS data processed {"connection_id":178007,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:06:25] local.INFO: Acknowledgment sent {"connection_id":178007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:06:31] local.INFO: TCP Data received {"connection_id":176636,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:06:31] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:06:31] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:06:36] local.INFO: TCP Data received {"connection_id":176636,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:06:36] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:06:36] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:06:37] local.INFO: TCP Data received {"connection_id":176636,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:06:37] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:06:37] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:06:37] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06: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-09-10 20:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 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-09-10 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:06: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-09-10 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-09-10 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-09-10 20:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:06:38] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:06:38] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:06:40] local.INFO: TCP Data received {"connection_id":176636,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:06:40] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:06:40] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:06:40] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06: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-09-10 20:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:06:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:06:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:06:40] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:06:40] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:06:56] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf4050012d026a000701cc90000800a132..."} 
[2026-09-10 20:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf4050012d026a000701cc90000800a132..."} 
[2026-09-10 20:06:56] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf4050012d026a000701cc90000800a132..."} 
[2026-09-10 20:06:56] local.INFO: Packet analysis {"connection_id":178007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:06:56] local.INFO: Extracted packet for processing {"connection_id":178007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:06:56] local.INFO: GPS Element Parsed {"raw_longitude":755132928,"raw_latitude":117558416,"longitude_deg":75.5132928,"latitude_deg":11.7558416,"altitude":8,"angle":161,"satellites":50,"speed":56,"hex_longitude":"2d026a00","hex_latitude":"0701cc90","is_valid_coordinates":true} 
[2026-09-10 20:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044480001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404657967359590400,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":170573865984053248,"note":"Value kept but may cause issues"} 
[2026-09-10 20:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789050962000,"timestamp_ms":1789050962000,"timestamp_seconds":1789050962,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf4050"} 
[2026-09-10 20:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 20:06:56] 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-09-10 20:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044480001,"66":27267,"79":206,"94":11008,"24":56,"16":404657967359590400,"45":170573865984053248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-10 20:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044480001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:06:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 20:06:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404657967359590400,"km_value":404657967359590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":170573865984053248,"description":"Unknown IO ID 45"} 
[2026-09-10 20:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044480001,"power":27267,"unknown_79":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":170573865984053248}} 
[2026-09-10 20:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":178007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:06:56] local.INFO: GPS data processed {"connection_id":178007,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:06:56] local.INFO: Acknowledgment sent {"connection_id":178007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:07:12] local.INFO: TCP Data received {"connection_id":176636,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:07:12] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:07:12] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:12] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07: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-09-10 20:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:07:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:07:12] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:07:12] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:07:18] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:07:18] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:07:18] local.INFO: IMEI packet received {"connection_id":176637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":176637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:07:23] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:07:23] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:07:23] local.INFO: IMEI packet received {"connection_id":176637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":176637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:07:23] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf5ba8012d0276400701a7b8000700a132..."} 
[2026-09-10 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf5ba8012d0276400701a7b8000700a132..."} 
[2026-09-10 20:07:23] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf5ba8012d0276400701a7b8000700a132..."} 
[2026-09-10 20:07:23] local.INFO: Packet analysis {"connection_id":176637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:23] local.INFO: Extracted packet for processing {"connection_id":176637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755136064,"raw_latitude":117548984,"longitude_deg":75.5136064,"latitude_deg":11.7548984,"altitude":7,"angle":161,"satellites":50,"speed":56,"hex_longitude":"2d027640","hex_latitude":"0701a7b8","is_valid_coordinates":true} 
[2026-09-10 20:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997046272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404658448395927552,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":173951565702139904,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789050969000,"timestamp_ms":1789050969000,"timestamp_seconds":1789050969,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf5ba8"} 
[2026-09-10 20:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:07: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-09-10 20:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997046272001,"66":27365,"79":206,"94":11008,"24":56,"16":404658448395927552,"45":173951565702139904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-10 20:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997046272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:07:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 20:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404658448395927552,"km_value":404658448395927.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":173951565702139904,"description":"Unknown IO ID 45"} 
[2026-09-10 20:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997046272001,"power":27365,"unknown_79":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":173951565702139904}} 
[2026-09-10 20:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":176637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:07:23] local.INFO: GPS data processed {"connection_id":176637,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:07:23] local.INFO: Acknowledgment sent {"connection_id":176637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:07:26] local.INFO: TCP Data received {"connection_id":179386,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:07:26] local.INFO: Processing buffer {"connection_id":179386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:07:26] local.INFO: IMEI packet received {"connection_id":179386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":179386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:07:31] local.INFO: TCP Data received {"connection_id":179386,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:07:31] local.INFO: Processing buffer {"connection_id":179386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:07:31] local.INFO: IMEI packet received {"connection_id":179386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":179386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:07:32] local.INFO: TCP Data received {"connection_id":179386,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:07:32] local.INFO: Processing buffer {"connection_id":179386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:07:32] local.INFO: Packet analysis {"connection_id":179386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:32] local.INFO: Extracted packet for processing {"connection_id":179386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:07:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":179386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:07:33] local.INFO: GPS data processed {"connection_id":179386,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:07:33] local.INFO: Acknowledgment sent {"connection_id":179386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:07:55] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf7700012d028200070183f8000800a231..."} 
[2026-09-10 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf7700012d028200070183f8000800a231..."} 
[2026-09-10 20:07:55] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf7700012d028200070183f8000800a231..."} 
[2026-09-10 20:07:55] local.INFO: Packet analysis {"connection_id":176637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:55] local.INFO: Extracted packet for processing {"connection_id":176637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:07:55] local.INFO: GPS Element Parsed {"raw_longitude":755139072,"raw_latitude":117539832,"longitude_deg":75.5139072,"latitude_deg":11.7539832,"altitude":8,"angle":162,"satellites":49,"speed":52,"hex_longitude":"2d028200","hex_latitude":"070183f8","is_valid_coordinates":true} 
[2026-09-10 20:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997048064001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404658916547362816,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":177399634164430848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789050976000,"timestamp_ms":1789050976000,"timestamp_seconds":1789050976,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf7700"} 
[2026-09-10 20:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 20:07:55] 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-09-10 20:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997048064001,"66":27213,"79":206,"94":11008,"24":52,"16":404658916547362816,"45":177399634164430848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-10 20:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997048064001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:07:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 20:07:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404658916547362816,"km_value":404658916547362.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":177399634164430848,"description":"Unknown IO ID 45"} 
[2026-09-10 20:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997048064001,"power":27213,"unknown_79":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":177399634164430848}} 
[2026-09-10 20:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":176637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:07:55] local.INFO: GPS data processed {"connection_id":176637,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:07:55] local.INFO: Acknowledgment sent {"connection_id":176637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:08:04] local.INFO: TCP Data received {"connection_id":179386,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:08:04] local.INFO: Processing buffer {"connection_id":179386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:08:04] local.INFO: Packet analysis {"connection_id":179386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:04] local.INFO: Extracted packet for processing {"connection_id":179386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08: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-09-10 20:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":179386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:08:04] local.INFO: GPS data processed {"connection_id":179386,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:08:04] local.INFO: Acknowledgment sent {"connection_id":179386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:08:18] local.INFO: TCP Data received {"connection_id":178009,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:18] local.INFO: Processing buffer {"connection_id":178009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:18] local.INFO: IMEI packet received {"connection_id":178009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":178009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:08:22] local.INFO: TCP Data received {"connection_id":178009,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:22] local.INFO: Processing buffer {"connection_id":178009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:22] local.INFO: IMEI packet received {"connection_id":178009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":178009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:08:23] local.INFO: TCP Data received {"connection_id":178009,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:23] local.INFO: Processing buffer {"connection_id":178009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:08:23] local.INFO: IMEI packet received {"connection_id":178009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":178009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:08:24] local.INFO: TCP Data received {"connection_id":178009,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf9258012d028d40070161f00009009f31..."} 
[2026-09-10 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf9258012d028d40070161f00009009f31..."} 
[2026-09-10 20:08:24] local.INFO: Processing buffer {"connection_id":178009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf9258012d028d40070161f00009009f31..."} 
[2026-09-10 20:08:24] local.INFO: Packet analysis {"connection_id":178009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:24] local.INFO: Extracted packet for processing {"connection_id":178009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:24] local.INFO: GPS Element Parsed {"raw_longitude":755141952,"raw_latitude":117531120,"longitude_deg":75.5141952,"latitude_deg":11.753112,"altitude":9,"angle":159,"satellites":49,"speed":52,"hex_longitude":"2d028d40","hex_latitude":"070161f0","is_valid_coordinates":true} 
[2026-09-10 20:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997049856001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404659358928994304,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":180706965138438144,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789050983000,"timestamp_ms":1789050983000,"timestamp_seconds":1789050983,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf9258"} 
[2026-09-10 20:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:08: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-09-10 20:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:08:24] 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-09-10 20:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997049856001,"66":26767,"79":206,"94":11008,"24":52,"16":404659358928994304,"45":180706965138438144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-10 20:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997049856001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:08:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 20:08:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404659358928994304,"km_value":404659358928994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":180706965138438144,"description":"Unknown IO ID 45"} 
[2026-09-10 20:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997049856001,"power":26767,"unknown_79":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":180706965138438144}} 
[2026-09-10 20:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":178009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:08:24] local.INFO: GPS data processed {"connection_id":178009,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:08:24] local.INFO: Acknowledgment sent {"connection_id":178009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:08:26] local.INFO: TCP Data received {"connection_id":179387,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:08:26] local.INFO: Processing buffer {"connection_id":179387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:08:26] local.INFO: IMEI packet received {"connection_id":179387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":179387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:08:29] local.INFO: TCP Data received {"connection_id":178009,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbfadb0012d029a80070140000008009e32..."} 
[2026-09-10 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbfadb0012d029a80070140000008009e32..."} 
[2026-09-10 20:08:29] local.INFO: Processing buffer {"connection_id":178009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbfadb0012d029a80070140000008009e32..."} 
[2026-09-10 20:08:29] local.INFO: Packet analysis {"connection_id":178009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:29] local.INFO: Extracted packet for processing {"connection_id":178009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:29] local.INFO: GPS Element Parsed {"raw_longitude":755145344,"raw_latitude":117522432,"longitude_deg":75.5145344,"latitude_deg":11.7522432,"altitude":8,"angle":158,"satellites":50,"speed":53,"hex_longitude":"2d029a80","hex_latitude":"07014000","is_valid_coordinates":true} 
[2026-09-10 20:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997051648001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404659809900560384,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":183873558624202752,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789050990000,"timestamp_ms":1789050990000,"timestamp_seconds":1789050990,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbfadb0"} 
[2026-09-10 20:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:08: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-09-10 20: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-09-10 20:08:29] 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-09-10 20:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:08: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-09-10 20:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997051648001,"66":27332,"79":206,"94":11008,"24":53,"16":404659809900560384,"45":183873558624202752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-10 20:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997051648001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:08:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-10 20:08:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404659809900560384,"km_value":404659809900560.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":183873558624202752,"description":"Unknown IO ID 45"} 
[2026-09-10 20:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997051648001,"power":27332,"unknown_79":206,"unknown_94":11008,"ignition":53,"odometer":null,"unknown_45":183873558624202752}} 
[2026-09-10 20:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":178009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:08:29] local.INFO: GPS data processed {"connection_id":178009,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:08:29] local.INFO: Acknowledgment sent {"connection_id":178009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:08:31] local.INFO: TCP Data received {"connection_id":179387,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:08:31] local.INFO: Processing buffer {"connection_id":179387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:08:31] local.INFO: IMEI packet received {"connection_id":179387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":179387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:08:33] local.INFO: TCP Data received {"connection_id":179387,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:08:33] local.INFO: Processing buffer {"connection_id":179387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:08:33] local.INFO: Packet analysis {"connection_id":179387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:33] local.INFO: Extracted packet for processing {"connection_id":179387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:08:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:08:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":179387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:08:33] local.INFO: GPS data processed {"connection_id":179387,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:08:33] local.INFO: Acknowledgment sent {"connection_id":179387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:08:59] local.INFO: TCP Data received {"connection_id":178009,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc120c8012d03364006ff77a8000700932f..."} 
[2026-09-10 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc120c8012d03364006ff77a8000700932f..."} 
[2026-09-10 20:08:59] local.INFO: Processing buffer {"connection_id":178009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc120c8012d03364006ff77a8000700932f..."} 
[2026-09-10 20:08:59] local.INFO: Packet analysis {"connection_id":178009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:08:59] local.INFO: Extracted packet for processing {"connection_id":178009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":755185216,"raw_latitude":117405608,"longitude_deg":75.5185216,"latitude_deg":11.7405608,"altitude":7,"angle":147,"satellites":47,"speed":54,"hex_longitude":"2d033640","hex_latitude":"06ff77a8","is_valid_coordinates":true} 
[2026-09-10 20:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997075968001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404665797084971008,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":226165173844963328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789051085000,"timestamp_ms":1789051085000,"timestamp_seconds":1789051085,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc120c8"} 
[2026-09-10 20:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 20:08:59] 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-09-10 20:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:08: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-09-10 20:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997075968001,"66":27245,"111":206,"94":11008,"24":54,"16":404665797084971008,"45":226165173844963328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-10 20:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997075968001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:08:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:08:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404665797084971008,"km_value":404665797084971.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":226165173844963328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997075968001,"power":27245,"unknown_111":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":226165173844963328}} 
[2026-09-10 20:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":178009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:08:59] local.INFO: GPS data processed {"connection_id":178009,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:08:59] local.INFO: Acknowledgment sent {"connection_id":178009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:09:05] local.INFO: TCP Data received {"connection_id":179387,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:09:05] local.INFO: Processing buffer {"connection_id":179387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:09:05] local.INFO: Packet analysis {"connection_id":179387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:09:05] local.INFO: Extracted packet for processing {"connection_id":179387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09: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-09-10 20:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 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-09-10 20:09: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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:09:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":179387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:09:05] local.INFO: GPS data processed {"connection_id":179387,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:09:05] local.INFO: Acknowledgment sent {"connection_id":179387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:09:21] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:21] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:21] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:09:25] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:25] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:25] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:09:26] local.INFO: TCP Data received {"connection_id":176860,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:09:26] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:09:26] local.INFO: IMEI packet received {"connection_id":176860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":176860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:09:28] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:28] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:09:28] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:09:29] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc13c20012d034d0006ff59a00005008b2e..."} 
[2026-09-10 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc13c20012d034d0006ff59a00005008b2e..."} 
[2026-09-10 20:09:29] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc13c20012d034d0006ff59a00005008b2e..."} 
[2026-09-10 20:09:29] local.INFO: Packet analysis {"connection_id":176859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:09:29] local.INFO: Extracted packet for processing {"connection_id":176859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":755191040,"raw_latitude":117397920,"longitude_deg":75.519104,"latitude_deg":11.739792,"altitude":5,"angle":139,"satellites":46,"speed":54,"hex_longitude":"2d034d00","hex_latitude":"06ff59a0","is_valid_coordinates":true} 
[2026-09-10 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997077760001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404666256646471680,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":231442829656172544,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789051092000,"timestamp_ms":1789051092000,"timestamp_seconds":1789051092,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc13c20"} 
[2026-09-10 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:09: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-09-10 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:09:29] 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-09-10 20:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:09: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-09-10 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997077760001,"66":27365,"111":206,"94":11008,"24":54,"16":404666256646471680,"45":231442829656172544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-10 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997077760001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404666256646471680,"km_value":404666256646471.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":231442829656172544,"description":"Unknown IO ID 45"} 
[2026-09-10 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997077760001,"power":27365,"unknown_111":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":231442829656172544}} 
[2026-09-10 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":176859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:09:29] local.INFO: GPS data processed {"connection_id":176859,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:09:29] local.INFO: Acknowledgment sent {"connection_id":176859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:09:29] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc15778012d0366c006ff3f68000700832e..."} 
[2026-09-10 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc15778012d0366c006ff3f68000700832e..."} 
[2026-09-10 20:09:29] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc15778012d0366c006ff3f68000700832e..."} 
[2026-09-10 20:09:29] local.INFO: Packet analysis {"connection_id":176859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:09:29] local.INFO: Extracted packet for processing {"connection_id":176859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":755197632,"raw_latitude":117391208,"longitude_deg":75.5197632,"latitude_deg":11.7391208,"altitude":7,"angle":131,"satellites":46,"speed":51,"hex_longitude":"2d0366c0","hex_latitude":"06ff3f68","is_valid_coordinates":true} 
[2026-09-10 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997079552001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404666707618037760,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":237846385374371840,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789051099000,"timestamp_ms":1789051099000,"timestamp_seconds":1789051099,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc15778"} 
[2026-09-10 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:09: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-09-10 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 20:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:09: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-09-10 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997079552001,"66":27365,"111":206,"94":11008,"24":51,"16":404666707618037760,"45":237846385374371840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-10 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997079552001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404666707618037760,"km_value":404666707618037.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":237846385374371840,"description":"Unknown IO ID 45"} 
[2026-09-10 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997079552001,"power":27365,"unknown_111":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":237846385374371840}} 
[2026-09-10 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":176859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:09:29] local.INFO: GPS data processed {"connection_id":176859,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:09:29] local.INFO: Acknowledgment sent {"connection_id":176859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:09:31] local.INFO: TCP Data received {"connection_id":176860,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:09:31] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:09:31] local.INFO: IMEI packet received {"connection_id":176860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":176860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:09:33] local.INFO: TCP Data received {"connection_id":176860,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:09:33] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:09:33] local.INFO: Packet analysis {"connection_id":176860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:09:33] local.INFO: Extracted packet for processing {"connection_id":176860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:09:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":176860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:09:33] local.INFO: GPS data processed {"connection_id":176860,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:09:33] local.INFO: Acknowledgment sent {"connection_id":176860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:10:00] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc176b8012d03858006ff2718000a007c30..."} 
[2026-09-10 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc176b8012d03858006ff2718000a007c30..."} 
[2026-09-10 20:10:00] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc176b8012d03858006ff2718000a007c30..."} 
[2026-09-10 20:10:00] local.INFO: Packet analysis {"connection_id":176859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:00] local.INFO: Extracted packet for processing {"connection_id":176859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:00] local.INFO: GPS Element Parsed {"raw_longitude":755205504,"raw_latitude":117384984,"longitude_deg":75.5205504,"latitude_deg":11.7384984,"altitude":10,"angle":124,"satellites":48,"speed":47,"hex_longitude":"2d038580","hex_latitude":"06ff2718","is_valid_coordinates":true} 
[2026-09-10 20:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997081344001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404667192949342208,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":245094366022952960,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789051107000,"timestamp_ms":1789051107000,"timestamp_seconds":1789051107,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc176b8"} 
[2026-09-10 20:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:10: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-09-10 20:10: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-09-10 20:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10: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-09-10 20:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997081344001,"66":26876,"111":206,"94":11008,"24":47,"16":404667192949342208,"45":245094366022952960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-10 20:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997081344001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:10:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:10:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404667192949342208,"km_value":404667192949342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":245094366022952960,"description":"Unknown IO ID 45"} 
[2026-09-10 20:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997081344001,"power":26876,"unknown_111":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":245094366022952960}} 
[2026-09-10 20:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":176859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:10:00] local.INFO: GPS data processed {"connection_id":176859,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:10:00] local.INFO: Acknowledgment sent {"connection_id":176859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:10:05] local.INFO: TCP Data received {"connection_id":176860,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:05] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:05] local.INFO: Packet analysis {"connection_id":176860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:10:05] local.INFO: Extracted packet for processing {"connection_id":176860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10: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-09-10 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 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-09-10 20:10: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-09-10 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":176860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:10:05] local.INFO: GPS data processed {"connection_id":176860,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:10:05] local.INFO: Acknowledgment sent {"connection_id":176860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:10:13] local.INFO: TCP Data received {"connection_id":179388,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:10:13] local.INFO: Processing buffer {"connection_id":179388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:10:13] local.INFO: IMEI packet received {"connection_id":179388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":179388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:10:20] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:10:20] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:10:20] local.INFO: IMEI packet received {"connection_id":178010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":178010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:10:31] local.INFO: TCP Data received {"connection_id":176638,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:10:31] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:10:31] local.INFO: IMEI packet received {"connection_id":176638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":176638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:10:32] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 20:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 20:10:32] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 20:10:32] local.INFO: IMEI packet received {"connection_id":178010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":178010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:10:33] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc195f8012d03a68006ff13b0000b00752f..."} 
[2026-09-10 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc195f8012d03a68006ff13b0000b00752f..."} 
[2026-09-10 20:10:33] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08b..."} 
[2026-09-10 20:10:33] local.INFO: IMEI packet received {"connection_id":178010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":178010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:10:34] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc1b538012d03c90006ff04b8000c006e2d..."} 
[2026-09-10 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc1b538012d03c90006ff04b8000c006e2d..."} 
[2026-09-10 20:10:34] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08bc195f8012d03a68006ff13b0000b00752f..."} 
[2026-09-10 20:10:34] local.INFO: Packet analysis {"connection_id":178010,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:34] local.INFO: Extracted packet for processing {"connection_id":178010,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755213952,"raw_latitude":117380016,"longitude_deg":75.5213952,"latitude_deg":11.7380016,"altitude":11,"angle":117,"satellites":47,"speed":47,"hex_longitude":"2d03a680","hex_latitude":"06ff13b0","is_valid_coordinates":true} 
[2026-09-10 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997083392001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404667656805810176,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":253749721555212288,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789051115000,"timestamp_ms":1789051115000,"timestamp_seconds":1789051115,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc195f8"} 
[2026-09-10 20:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-10 20:10:34] 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-09-10 20:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10: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-09-10 20:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997083392001,"66":27365,"209":206,"94":11008,"24":47,"16":404667656805810176,"45":253749721555212288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997083392001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404667656805810176,"km_value":404667656805810.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":253749721555212288,"description":"Unknown IO ID 45"} 
[2026-09-10 20:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997083392001,"power":27365,"unknown_209":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":253749721555212288}} 
[2026-09-10 20:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":178010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:10:34] local.INFO: GPS data processed {"connection_id":178010,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:10:34] local.INFO: Acknowledgment sent {"connection_id":178010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:10:34] local.INFO: Packet analysis {"connection_id":178010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:34] local.INFO: Extracted packet for processing {"connection_id":178010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755222784,"raw_latitude":117376184,"longitude_deg":75.5222784,"latitude_deg":11.7376184,"altitude":12,"angle":110,"satellites":45,"speed":47,"hex_longitude":"2d03c900","hex_latitude":"06ff04b8","is_valid_coordinates":true} 
[2026-09-10 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997085440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404668116367310848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":263038395785392128,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789051123000,"timestamp_ms":1789051123000,"timestamp_seconds":1789051123,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc1b538"} 
[2026-09-10 20:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 20:10: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-09-10 20:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10: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-09-10 20:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997085440001,"66":27376,"209":206,"94":11008,"24":47,"16":404668116367310848,"45":263038395785392128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997085440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404668116367310848,"km_value":404668116367310.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":263038395785392128,"description":"Unknown IO ID 45"} 
[2026-09-10 20:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997085440001,"power":27376,"unknown_209":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":263038395785392128}} 
[2026-09-10 20:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":178010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:10:34] local.INFO: GPS data processed {"connection_id":178010,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:10:34] local.INFO: Acknowledgment sent {"connection_id":178010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:10:34] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc1d478012d03ee0006fefa08000d006730..."} 
[2026-09-10 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc1d478012d03ee0006fefa08000d006730..."} 
[2026-09-10 20:10:34] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc1d478012d03ee0006fefa08000d006730..."} 
[2026-09-10 20:10:34] local.INFO: Packet analysis {"connection_id":178010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:34] local.INFO: Extracted packet for processing {"connection_id":178010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc1"} 
[2026-09-10 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755232256,"raw_latitude":117373448,"longitude_deg":75.5232256,"latitude_deg":11.7373448,"altitude":13,"angle":103,"satellites":48,"speed":49,"hex_longitude":"2d03ee00","hex_latitude":"06fefa08","is_valid_coordinates":true} 
[2026-09-10 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997087488001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404668584518746112,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":272749282480928768,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789051131000,"timestamp_ms":1789051131000,"timestamp_seconds":1789051131,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc1d478"} 
[2026-09-10 20:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:10: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-09-10 20:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997087488001,"66":27321,"209":206,"94":11008,"24":49,"16":404668584518746112,"45":272749282480928768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-09-10 20:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997087488001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404668584518746112,"km_value":404668584518746.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":272749282480928768,"description":"Unknown IO ID 45"} 
[2026-09-10 20:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997087488001,"power":27321,"unknown_209":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":272749282480928768}} 
[2026-09-10 20:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":178010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:10:34] local.INFO: GPS data processed {"connection_id":178010,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:10:34] local.INFO: Acknowledgment sent {"connection_id":178010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:10:36] local.INFO: TCP Data received {"connection_id":176638,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:10:36] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:10:36] local.INFO: IMEI packet received {"connection_id":176638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":176638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:10:37] local.INFO: TCP Data received {"connection_id":176638,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:37] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:37] local.INFO: Packet analysis {"connection_id":176638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:10:37] local.INFO: Extracted packet for processing {"connection_id":176638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20: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-09-10 20:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:10: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-09-10 20: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-09-10 20:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":176638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:10:37] local.INFO: GPS data processed {"connection_id":176638,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:10:37] local.INFO: Acknowledgment sent {"connection_id":176638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:10:38] local.INFO: TCP Data received {"connection_id":176861,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:10:38] local.INFO: Processing buffer {"connection_id":176861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:10:38] local.INFO: IMEI packet received {"connection_id":176861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":176861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:10:42] local.INFO: TCP Data received {"connection_id":176638,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:42] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:10:42] local.INFO: Packet analysis {"connection_id":176638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:10:42] local.INFO: Extracted packet for processing {"connection_id":176638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:10: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-09-10 20:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:10: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-09-10 20:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:10:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":176638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:10:42] local.INFO: GPS data processed {"connection_id":176638,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:10:42] local.INFO: Acknowledgment sent {"connection_id":176638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:11:17] local.INFO: TCP Data received {"connection_id":179389,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:17] local.INFO: Processing buffer {"connection_id":179389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:17] local.INFO: IMEI packet received {"connection_id":179389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":179389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:11:18] local.INFO: TCP Data received {"connection_id":179389,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:18] local.INFO: Processing buffer {"connection_id":179389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:18] local.INFO: IMEI packet received {"connection_id":179389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":179389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:11:23] local.INFO: TCP Data received {"connection_id":179389,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:23] local.INFO: Processing buffer {"connection_id":179389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:11:23] local.INFO: IMEI packet received {"connection_id":179389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":179389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:11:24] local.INFO: TCP Data received {"connection_id":179389,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc32468012d05878006feaa300018007630..."} 
[2026-09-10 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc32468012d05878006feaa300018007630..."} 
[2026-09-10 20:11:24] local.INFO: Processing buffer {"connection_id":179389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc32468012d05878006feaa300018007630..."} 
[2026-09-10 20:11:24] local.INFO: Packet analysis {"connection_id":179389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:11:24] local.INFO: Extracted packet for processing {"connection_id":179389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":755337088,"raw_latitude":117353008,"longitude_deg":75.5337088,"latitude_deg":11.7353008,"altitude":24,"angle":118,"satellites":48,"speed":51,"hex_longitude":"2d058780","hex_latitude":"06feaa30","is_valid_coordinates":true} 
[2026-09-10 20:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997109504001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404673678349959168,"note":"Value kept but may cause issues"} 
[2026-09-10 20:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":388154022927419392,"note":"Value kept but may cause issues"} 
[2026-09-10 20:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789051217000,"timestamp_ms":1789051217000,"timestamp_seconds":1789051217,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc32468"} 
[2026-09-10 20:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:11: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-09-10 20: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-10 20:11:24] 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-09-10 20:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997109504001,"66":27343,"208":206,"94":11008,"24":51,"16":404673678349959168,"45":388154022927419392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-10 20:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997109504001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:11:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:11:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404673678349959168,"km_value":404673678349959.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":388154022927419392,"description":"Unknown IO ID 45"} 
[2026-09-10 20:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997109504001,"power":27343,"unknown_208":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":388154022927419392}} 
[2026-09-10 20:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":179389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:11:24] local.INFO: GPS data processed {"connection_id":179389,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:11:24] local.INFO: Acknowledgment sent {"connection_id":179389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:11:26] local.INFO: TCP Data received {"connection_id":176639,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:11:26] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:11:26] local.INFO: IMEI packet received {"connection_id":176639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":176639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:11:31] local.INFO: TCP Data received {"connection_id":176639,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:11:31] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:11:31] local.INFO: IMEI packet received {"connection_id":176639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":176639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:11:33] local.INFO: TCP Data received {"connection_id":176639,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:11:33] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bbf2cc8012d1965c0071feee00041005e2a..."} 
[2026-09-10 20:11:33] local.INFO: Packet analysis {"connection_id":176639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:11:33] local.INFO: Extracted packet for processing {"connection_id":176639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bbf"} 
[2026-09-10 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457996967936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789050957000,"timestamp_ms":1789050957000,"timestamp_seconds":1789050957,"priority":1,"record_length":96,"hex_timestamp":"000001a08bbf2cc8"} 
[2026-09-10 20:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457996967936001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457996967936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:11:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457996967936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":176639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:11:33] local.INFO: GPS data processed {"connection_id":176639,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:11:33] local.INFO: Acknowledgment sent {"connection_id":176639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:12:00] local.INFO: TCP Data received {"connection_id":179389,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc33fc0012d05a58006fe96f00019007f30..."} 
[2026-09-10 20:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc33fc0012d05a58006fe96f00019007f30..."} 
[2026-09-10 20:12:00] local.INFO: Processing buffer {"connection_id":179389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc33fc0012d05a58006fe96f00019007f30..."} 
[2026-09-10 20:12:00] local.INFO: Packet analysis {"connection_id":179389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:00] local.INFO: Extracted packet for processing {"connection_id":179389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:00] local.INFO: GPS Element Parsed {"raw_longitude":755344768,"raw_latitude":117348080,"longitude_deg":75.5344768,"latitude_deg":11.734808,"altitude":25,"angle":127,"satellites":48,"speed":51,"hex_longitude":"2d05a580","hex_latitude":"06fe96f0","is_valid_coordinates":true} 
[2026-09-10 20:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997111552001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404674116436623360,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":398427859576303616,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789051224000,"timestamp_ms":1789051224000,"timestamp_seconds":1789051224,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc33fc0"} 
[2026-09-10 20:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:12: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-09-10 20:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:12: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-09-10 20:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997111552001,"66":27310,"208":206,"94":11008,"24":51,"16":404674116436623360,"45":398427859576303616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-10 20:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997111552001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:12:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:12:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404674116436623360,"km_value":404674116436623.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":398427859576303616,"description":"Unknown IO ID 45"} 
[2026-09-10 20:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997111552001,"power":27310,"unknown_208":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":398427859576303616}} 
[2026-09-10 20:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":179389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:12:00] local.INFO: GPS data processed {"connection_id":179389,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:12:00] local.INFO: Acknowledgment sent {"connection_id":179389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:12:05] local.INFO: TCP Data received {"connection_id":176639,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:12:05] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:12:05] local.INFO: Packet analysis {"connection_id":176639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:05] local.INFO: Extracted packet for processing {"connection_id":176639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12: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-09-10 20:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 20:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:12: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-09-10 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:12:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":176639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:12:05] local.INFO: GPS data processed {"connection_id":176639,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:12:05] local.INFO: Acknowledgment sent {"connection_id":176639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:12:18] local.INFO: TCP Data received {"connection_id":179391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:18] local.INFO: Processing buffer {"connection_id":179391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:18] local.INFO: IMEI packet received {"connection_id":179391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":179391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:12:21] local.INFO: TCP Data received {"connection_id":179391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:21] local.INFO: Processing buffer {"connection_id":179391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:21] local.INFO: IMEI packet received {"connection_id":179391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":179391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:12:23] local.INFO: TCP Data received {"connection_id":179391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:23] local.INFO: Processing buffer {"connection_id":179391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:12:23] local.INFO: IMEI packet received {"connection_id":179391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":179391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:12:25] local.INFO: TCP Data received {"connection_id":179391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc35b18012d05c00006fe7f68001900882f..."} 
[2026-09-10 20:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc35b18012d05c00006fe7f68001900882f..."} 
[2026-09-10 20:12:25] local.INFO: Processing buffer {"connection_id":179391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc35b18012d05c00006fe7f68001900882f..."} 
[2026-09-10 20:12:25] local.INFO: Packet analysis {"connection_id":179391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:25] local.INFO: Extracted packet for processing {"connection_id":179391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:25] local.INFO: GPS Element Parsed {"raw_longitude":755351552,"raw_latitude":117342056,"longitude_deg":75.5351552,"latitude_deg":11.7342056,"altitude":25,"angle":136,"satellites":47,"speed":50,"hex_longitude":"2d05c000","hex_latitude":"06fe7f68","is_valid_coordinates":true} 
[2026-09-10 20:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997113344001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404674550228320256,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":406872108876361728,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789051231000,"timestamp_ms":1789051231000,"timestamp_seconds":1789051231,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc35b18"} 
[2026-09-10 20:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 20:12:25] 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-09-10 20:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997113344001,"66":27213,"208":206,"94":11008,"24":50,"16":404674550228320256,"45":406872108876361728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-10 20:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997113344001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:12:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:12:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404674550228320256,"km_value":404674550228320.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":406872108876361728,"description":"Unknown IO ID 45"} 
[2026-09-10 20:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997113344001,"power":27213,"unknown_208":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":406872108876361728}} 
[2026-09-10 20:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":179391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:12:25] local.INFO: GPS data processed {"connection_id":179391,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:12:25] local.INFO: Acknowledgment sent {"connection_id":179391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:12:26] local.INFO: TCP Data received {"connection_id":179392,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:12:26] local.INFO: Processing buffer {"connection_id":179392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:12:26] local.INFO: IMEI packet received {"connection_id":179392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":179392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:12:31] local.INFO: TCP Data received {"connection_id":179392,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:12:31] local.INFO: Processing buffer {"connection_id":179392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:12:31] local.INFO: IMEI packet received {"connection_id":179392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":179392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:12:33] local.INFO: TCP Data received {"connection_id":179392,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:12:33] local.INFO: Processing buffer {"connection_id":179392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:12:33] local.INFO: Packet analysis {"connection_id":179392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:33] local.INFO: Extracted packet for processing {"connection_id":179392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 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-09-10 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:12:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:12:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":179392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:12:33] local.INFO: GPS data processed {"connection_id":179392,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:12:33] local.INFO: Acknowledgment sent {"connection_id":179392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:12:56] local.INFO: TCP Data received {"connection_id":179391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc37a58012d05d8c006fe60800018008f30..."} 
[2026-09-10 20:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc37a58012d05d8c006fe60800018008f30..."} 
[2026-09-10 20:12:57] local.INFO: Processing buffer {"connection_id":179391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc37a58012d05d8c006fe60800018008f30..."} 
[2026-09-10 20:12:57] local.INFO: Packet analysis {"connection_id":179391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:57] local.INFO: Extracted packet for processing {"connection_id":179391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:12:57] local.INFO: GPS Element Parsed {"raw_longitude":755357888,"raw_latitude":117334144,"longitude_deg":75.5357888,"latitude_deg":11.7334144,"altitude":24,"angle":143,"satellites":48,"speed":50,"hex_longitude":"2d05d8c0","hex_latitude":"06fe6080","is_valid_coordinates":true} 
[2026-09-10 20:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997115136001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404675035559624704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414331195757651968,"note":"Value kept but may cause issues"} 
[2026-09-10 20:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789051239000,"timestamp_ms":1789051239000,"timestamp_seconds":1789051239,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc37a58"} 
[2026-09-10 20:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:12:57] 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-09-10 20:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997115136001,"66":27245,"208":206,"94":11008,"24":50,"16":404675035559624704,"45":414331195757651968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-10 20:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997115136001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:12:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:12:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404675035559624704,"km_value":404675035559624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":414331195757651968,"description":"Unknown IO ID 45"} 
[2026-09-10 20:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997115136001,"power":27245,"unknown_208":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":414331195757651968}} 
[2026-09-10 20:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":179391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:12:57] local.INFO: GPS data processed {"connection_id":179391,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:12:57] local.INFO: Acknowledgment sent {"connection_id":179391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:13:05] local.INFO: TCP Data received {"connection_id":179392,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:05] local.INFO: Processing buffer {"connection_id":179392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:05] local.INFO: Packet analysis {"connection_id":179392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:05] local.INFO: Extracted packet for processing {"connection_id":179392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13: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-09-10 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 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-09-10 20:13: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-09-10 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:13:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":179392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:13:05] local.INFO: GPS data processed {"connection_id":179392,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:13:05] local.INFO: Acknowledgment sent {"connection_id":179392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:13:31] local.INFO: TCP Data received {"connection_id":176640,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:13:31] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:13:31] local.INFO: IMEI packet received {"connection_id":176640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":176640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:13:32] local.INFO: TCP Data received {"connection_id":179393,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:13:32] local.INFO: Processing buffer {"connection_id":179393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:13:32] local.INFO: IMEI packet received {"connection_id":179393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":179393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:13:35] local.INFO: TCP Data received {"connection_id":179393,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:13:35] local.INFO: Processing buffer {"connection_id":179393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:13:35] local.INFO: IMEI packet received {"connection_id":179393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":179393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:13:36] local.INFO: TCP Data received {"connection_id":176640,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:13:36] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:13:36] local.INFO: IMEI packet received {"connection_id":176640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":176640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:13:38] local.INFO: TCP Data received {"connection_id":176640,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:38] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:38] local.INFO: Packet analysis {"connection_id":176640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:38] local.INFO: Extracted packet for processing {"connection_id":176640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13: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-09-10 20:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 20:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:13: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-09-10 20: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-09-10 20:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:13:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":176640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:13:38] local.INFO: GPS data processed {"connection_id":176640,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:13:38] local.INFO: Acknowledgment sent {"connection_id":176640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:13:41] local.INFO: TCP Data received {"connection_id":179393,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc39998012d05f08006fe40e80017008f30..."} 
[2026-09-10 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc39998012d05f08006fe40e80017008f30..."} 
[2026-09-10 20:13:41] local.INFO: Processing buffer {"connection_id":179393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc39998012d05f08006fe40e80017008f30..."} 
[2026-09-10 20:13:41] local.INFO: Packet analysis {"connection_id":179393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:41] local.INFO: Extracted packet for processing {"connection_id":179393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:41] local.INFO: GPS Element Parsed {"raw_longitude":755363968,"raw_latitude":117326056,"longitude_deg":75.5363968,"latitude_deg":11.7326056,"altitude":23,"angle":143,"satellites":48,"speed":49,"hex_longitude":"2d05f080","hex_latitude":"06fe40e8","is_valid_coordinates":true} 
[2026-09-10 20:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997117184001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404675525185896448,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":421297701429215232,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789051247000,"timestamp_ms":1789051247000,"timestamp_seconds":1789051247,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc39998"} 
[2026-09-10 20:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:13: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-09-10 20:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:13:41] 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-09-10 20:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":179393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":179393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":179393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:13: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-09-10 20:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997117184001,"66":27115,"208":206,"94":11008,"24":49,"16":404675525185896448,"45":421297701429215232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-10 20:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997117184001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:13:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:13:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404675525185896448,"km_value":404675525185896.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":421297701429215232,"description":"Unknown IO ID 45"} 
[2026-09-10 20:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997117184001,"power":27115,"unknown_208":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":421297701429215232}} 
[2026-09-10 20:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":179393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:13:41] local.INFO: GPS data processed {"connection_id":179393,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:13:41] local.INFO: Acknowledgment sent {"connection_id":179393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:13:43] local.INFO: TCP Data received {"connection_id":176640,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:43] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:13:43] local.INFO: Packet analysis {"connection_id":176640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:43] local.INFO: Extracted packet for processing {"connection_id":176640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20: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-09-10 20:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 20:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:13: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-09-10 20:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:13:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":176640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:13:43] local.INFO: GPS data processed {"connection_id":176640,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:13:43] local.INFO: Acknowledgment sent {"connection_id":176640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:13:45] local.INFO: TCP Data received {"connection_id":179393,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3b8d8012d06084006fe22500018008d30..."} 
[2026-09-10 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3b8d8012d06084006fe22500018008d30..."} 
[2026-09-10 20:13:46] local.INFO: Processing buffer {"connection_id":179393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3b8d8012d06084006fe22500018008d30..."} 
[2026-09-10 20:13:46] local.INFO: Packet analysis {"connection_id":179393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:46] local.INFO: Extracted packet for processing {"connection_id":179393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":755370048,"raw_latitude":117318224,"longitude_deg":75.5370048,"latitude_deg":11.7318224,"altitude":24,"angle":141,"satellites":48,"speed":48,"hex_longitude":"2d060840","hex_latitude":"06fe2250","is_valid_coordinates":true} 
[2026-09-10 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997119232001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404676001927266304,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":427982732124022784,"note":"Value kept but may cause issues"} 
[2026-09-10 20:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789051255000,"timestamp_ms":1789051255000,"timestamp_seconds":1789051255,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3b8d8"} 
[2026-09-10 20:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:13: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-09-10 20: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 20:13:46] 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-09-10 20:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":179393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":179393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":179393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997119232001,"66":27484,"208":206,"94":11008,"24":48,"16":404676001927266304,"45":427982732124022784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-10 20:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997119232001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404676001927266304,"km_value":404676001927266.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":427982732124022784,"description":"Unknown IO ID 45"} 
[2026-09-10 20:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997119232001,"power":27484,"unknown_208":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":427982732124022784}} 
[2026-09-10 20:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":179393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:13:46] local.INFO: GPS data processed {"connection_id":179393,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:13:46] local.INFO: Acknowledgment sent {"connection_id":179393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:14:26] local.INFO: TCP Data received {"connection_id":178011,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:14:26] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:14:26] local.INFO: IMEI packet received {"connection_id":178011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":178011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:14:31] local.INFO: TCP Data received {"connection_id":178011,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:14:31] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:14:31] local.INFO: IMEI packet received {"connection_id":178011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":178011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:14:33] local.INFO: TCP Data received {"connection_id":178011,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:14:33] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:14:33] local.INFO: Packet analysis {"connection_id":178011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:14:33] local.INFO: Extracted packet for processing {"connection_id":178011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 20:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:14:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":178011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:14:33] local.INFO: GPS data processed {"connection_id":178011,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:14:33] local.INFO: Acknowledgment sent {"connection_id":178011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:14:33] local.INFO: TCP Data received {"connection_id":179394,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:14:33] local.INFO: Processing buffer {"connection_id":179394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:14:33] local.INFO: IMEI packet received {"connection_id":179394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":179394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:14:37] local.INFO: TCP Data received {"connection_id":179394,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:14:37] local.INFO: Processing buffer {"connection_id":179394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:14:37] local.INFO: IMEI packet received {"connection_id":179394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":179394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:14:39] local.INFO: TCP Data received {"connection_id":179394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3d818012d061fc006fe05180018008d2f..."} 
[2026-09-10 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3d818012d061fc006fe05180018008d2f..."} 
[2026-09-10 20:14:39] local.INFO: Processing buffer {"connection_id":179394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3d818012d061fc006fe05180018008d2f..."} 
[2026-09-10 20:14:39] local.INFO: Packet analysis {"connection_id":179394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:14:39] local.INFO: Extracted packet for processing {"connection_id":179394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":755376064,"raw_latitude":117310744,"longitude_deg":75.5376064,"latitude_deg":11.7310744,"altitude":24,"angle":141,"satellites":47,"speed":46,"hex_longitude":"2d061fc0","hex_latitude":"06fe0518","is_valid_coordinates":true} 
[2026-09-10 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997121280001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404676461488766976,"note":"Value kept but may cause issues"} 
[2026-09-10 20:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":434667762818895872,"note":"Value kept but may cause issues"} 
[2026-09-10 20:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789051263000,"timestamp_ms":1789051263000,"timestamp_seconds":1789051263,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3d818"} 
[2026-09-10 20:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:14:39] 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-09-10 20:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":179394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":179394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":179394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997121280001,"66":27517,"208":206,"94":11008,"24":46,"16":404676461488766976,"45":434667762818895872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-10 20:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997121280001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:14:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:14:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404676461488766976,"km_value":404676461488767.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":434667762818895872,"description":"Unknown IO ID 45"} 
[2026-09-10 20:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997121280001,"power":27517,"unknown_208":206,"unknown_94":11008,"ignition":46,"odometer":null,"unknown_45":434667762818895872}} 
[2026-09-10 20:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":179394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:14:39] local.INFO: GPS data processed {"connection_id":179394,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:14:39] local.INFO: Acknowledgment sent {"connection_id":179394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:15:05] local.INFO: TCP Data received {"connection_id":178011,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:15:05] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:15:05] local.INFO: Packet analysis {"connection_id":178011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:15:05] local.INFO: Extracted packet for processing {"connection_id":178011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 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-09-10 20: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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:15:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":178011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:15:05] local.INFO: GPS data processed {"connection_id":178011,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:15:05] local.INFO: Acknowledgment sent {"connection_id":178011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:15:23] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:15:23] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:15:23] local.INFO: IMEI packet received {"connection_id":176642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":176642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:15:26] local.INFO: TCP Data received {"connection_id":179395,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:15:26] local.INFO: Processing buffer {"connection_id":179395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:15:26] local.INFO: IMEI packet received {"connection_id":179395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":179395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:15:29] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:15:29] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:15:29] local.INFO: IMEI packet received {"connection_id":176642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":176642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:15:30] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc683b0012d065f0006fdbdf00019008c31..."} 
[2026-09-10 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc683b0012d065f0006fdbdf00019008c31..."} 
[2026-09-10 20:15:30] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc683b0012d065f0006fdbdf00019008c31..."} 
[2026-09-10 20:15:30] local.INFO: Packet analysis {"connection_id":176642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc6"} 
[2026-09-10 20:15:30] local.INFO: Extracted packet for processing {"connection_id":176642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc6"} 
[2026-09-10 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":755392256,"raw_latitude":117292528,"longitude_deg":75.5392256,"latitude_deg":11.7292528,"altitude":25,"angle":140,"satellites":49,"speed":6,"hex_longitude":"2d065f00","hex_latitude":"06fdbdf0","is_valid_coordinates":true} 
[2026-09-10 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997162752001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404677664079609856,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":456904285973016576,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789051438000,"timestamp_ms":1789051438000,"timestamp_seconds":1789051438,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc683b0"} 
[2026-09-10 20:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997162752001,"66":27169,"137":206,"94":11008,"24":6,"16":404677664079609856,"45":456904285973016576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-10 20:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997162752001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:15:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 20:15:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404677664079609856,"km_value":404677664079609.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":456904285973016576,"description":"Unknown IO ID 45"} 
[2026-09-10 20:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997162752001,"power":27169,"unknown_137":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":456904285973016576}} 
[2026-09-10 20:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":176642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:15:30] local.INFO: GPS data processed {"connection_id":176642,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:15:30] local.INFO: Acknowledgment sent {"connection_id":176642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:15:31] local.INFO: TCP Data received {"connection_id":179395,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:15:31] local.INFO: Processing buffer {"connection_id":179395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:15:31] local.INFO: IMEI packet received {"connection_id":179395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":179395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:15:33] local.INFO: TCP Data received {"connection_id":179395,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:15:33] local.INFO: Processing buffer {"connection_id":179395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:15:33] local.INFO: Packet analysis {"connection_id":179395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:15:33] local.INFO: Extracted packet for processing {"connection_id":179395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 20:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:15:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":179395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:15:33] local.INFO: GPS data processed {"connection_id":179395,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:15:33] local.INFO: Acknowledgment sent {"connection_id":179395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:16:01] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc6d5b8012d0665c006fdb5c00017008830..."} 
[2026-09-10 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc6d5b8012d0665c006fdb5c00017008830..."} 
[2026-09-10 20:16:01] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc6d5b8012d0665c006fdb5c00017008830..."} 
[2026-09-10 20:16:01] local.INFO: Packet analysis {"connection_id":176642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc6"} 
[2026-09-10 20:16:01] local.INFO: Extracted packet for processing {"connection_id":176642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc6"} 
[2026-09-10 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":755393984,"raw_latitude":117290432,"longitude_deg":75.5393984,"latitude_deg":11.7290432,"altitude":23,"angle":136,"satellites":48,"speed":4,"hex_longitude":"2d0665c0","hex_latitude":"06fdb5c0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997168128001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404677797223596032,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":459085717041967104,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789051459000,"timestamp_ms":1789051459000,"timestamp_seconds":1789051459,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc6d5b8"} 
[2026-09-10 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-09-10 20:16: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-09-10 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":33,"data_length":795,"current_offset":136} 
[2026-09-10 20:16:01] 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-09-10 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-09-10 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-09-10 20:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:16: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-09-10 20:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997168128001,"66":27267,"137":206,"94":11008,"24":4,"16":404677797223596032,"45":459085717041967104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-10 20:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997168128001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:16:01] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-10 20:16:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404677797223596032,"km_value":404677797223596.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":459085717041967104,"description":"Unknown IO ID 45"} 
[2026-09-10 20:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997168128001,"power":27267,"unknown_137":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":459085717041967104}} 
[2026-09-10 20:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":176642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:16:01] local.INFO: GPS data processed {"connection_id":176642,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:16:01] local.INFO: Acknowledgment sent {"connection_id":176642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:16:04] local.INFO: TCP Data received {"connection_id":179395,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:16:04] local.INFO: Processing buffer {"connection_id":179395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:16:04] local.INFO: Packet analysis {"connection_id":179395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:16:04] local.INFO: Extracted packet for processing {"connection_id":179395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16: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-09-10 20:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 20:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:16:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":179395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:16:05] local.INFO: GPS data processed {"connection_id":179395,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:16:05] local.INFO: Acknowledgment sent {"connection_id":179395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:16:22] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:22] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:22] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:16:23] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:23] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:23] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:16:26] local.INFO: TCP Data received {"connection_id":176863,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:16:26] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:16:26] local.INFO: IMEI packet received {"connection_id":176863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":176863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:16:28] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:28] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:16:28] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:16:30] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc727c0012d066b8006fdaed00015008b2f..."} 
[2026-09-10 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc727c0012d066b8006fdaed00015008b2f..."} 
[2026-09-10 20:16:30] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc727c0012d066b8006fdaed00015008b2f..."} 
[2026-09-10 20:16:30] local.INFO: Packet analysis {"connection_id":176862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc7"} 
[2026-09-10 20:16:30] local.INFO: Extracted packet for processing {"connection_id":176862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc7"} 
[2026-09-10 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":755395456,"raw_latitude":117288656,"longitude_deg":75.5395456,"latitude_deg":11.7288656,"altitude":21,"angle":139,"satellites":47,"speed":4,"hex_longitude":"2d066b80","hex_latitude":"06fdaed0","is_valid_coordinates":true} 
[2026-09-10 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997173504001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404677908892745728,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":460985673134227456,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789051480000,"timestamp_ms":1789051480000,"timestamp_seconds":1789051480,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc727c0"} 
[2026-09-10 20:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997173504001,"66":27343,"95":206,"94":11008,"24":4,"16":404677908892745728,"45":460985673134227456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-10 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997173504001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:16:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-10 20:16:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404677908892745728,"km_value":404677908892745.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":460985673134227456,"description":"Unknown IO ID 45"} 
[2026-09-10 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997173504001,"power":27343,"unknown_95":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":460985673134227456}} 
[2026-09-10 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":176862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:16:30] local.INFO: GPS data processed {"connection_id":176862,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:16:30] local.INFO: Acknowledgment sent {"connection_id":176862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:16:31] local.INFO: TCP Data received {"connection_id":176863,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:16:31] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:16:31] local.INFO: IMEI packet received {"connection_id":176863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":176863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:16:33] local.INFO: TCP Data received {"connection_id":176863,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:16:33] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc3c490012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:16:33] local.INFO: Packet analysis {"connection_id":176863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:16:33] local.INFO: Extracted packet for processing {"connection_id":176863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc3"} 
[2026-09-10 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997044992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051258000,"timestamp_ms":1789051258000,"timestamp_seconds":1789051258,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc3c490"} 
[2026-09-10 20:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997044992001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997044992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:16:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:16:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997044992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":176863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:16:33] local.INFO: GPS data processed {"connection_id":176863,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:16:33] local.INFO: Acknowledgment sent {"connection_id":176863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:16:34] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc779c8012d06714006fda7c0001400922f..."} 
[2026-09-10 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc779c8012d06714006fda7c0001400922f..."} 
[2026-09-10 20:16:34] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc779c8012d06714006fda7c0001400922f..."} 
[2026-09-10 20:16:34] local.INFO: Packet analysis {"connection_id":176862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc7"} 
[2026-09-10 20:16:34] local.INFO: Extracted packet for processing {"connection_id":176862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc7"} 
[2026-09-10 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":755396928,"raw_latitude":117286848,"longitude_deg":75.5396928,"latitude_deg":11.7286848,"altitude":20,"angle":146,"satellites":47,"speed":3,"hex_longitude":"2d067140","hex_latitude":"06fda7c0","is_valid_coordinates":true} 
[2026-09-10 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997178880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678029151830016,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":462604154249859072,"note":"Value kept but may cause issues"} 
[2026-09-10 20:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789051501000,"timestamp_ms":1789051501000,"timestamp_seconds":1789051501,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc779c8"} 
[2026-09-10 20:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:16: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-09-10 20:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20: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-09-10 20:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997178880001,"66":27376,"232":206,"94":11008,"24":3,"16":404678029151830016,"45":462604154249859072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997178880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:16:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:16:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678029151830016,"km_value":404678029151830.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":462604154249859072,"description":"Unknown IO ID 45"} 
[2026-09-10 20:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997178880001,"power":27376,"unknown_232":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":462604154249859072}} 
[2026-09-10 20:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":176862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:16:34] local.INFO: GPS data processed {"connection_id":176862,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:16:34] local.INFO: Acknowledgment sent {"connection_id":176862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:17:04] local.INFO: TCP Data received {"connection_id":176863,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:17:04] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:17:04] local.INFO: Packet analysis {"connection_id":176863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:17:04] local.INFO: Extracted packet for processing {"connection_id":176863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17: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-09-10 20:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:17: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-09-10 20:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":176863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:17:04] local.INFO: GPS data processed {"connection_id":176863,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:17:04] local.INFO: Acknowledgment sent {"connection_id":176863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:17:18] local.INFO: TCP Data received {"connection_id":178012,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:17:18] local.INFO: Processing buffer {"connection_id":178012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:17:18] local.INFO: IMEI packet received {"connection_id":178012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":178012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:17:23] local.INFO: TCP Data received {"connection_id":178012,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:17:23] local.INFO: Processing buffer {"connection_id":178012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:17:23] local.INFO: IMEI packet received {"connection_id":178012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":178012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:17:24] local.INFO: TCP Data received {"connection_id":178012,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc7cbd0012d06814006fd94900014008a30..."} 
[2026-09-10 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc7cbd0012d06814006fd94900014008a30..."} 
[2026-09-10 20:17:24] local.INFO: Processing buffer {"connection_id":178012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc7cbd0012d06814006fd94900014008a30..."} 
[2026-09-10 20:17:24] local.INFO: Packet analysis {"connection_id":178012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc7"} 
[2026-09-10 20:17:24] local.INFO: Extracted packet for processing {"connection_id":178012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc7"} 
[2026-09-10 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":755401024,"raw_latitude":117281936,"longitude_deg":75.5401024,"latitude_deg":11.7281936,"altitude":20,"angle":138,"satellites":48,"speed":9,"hex_longitude":"2d068140","hex_latitude":"06fd9490","is_valid_coordinates":true} 
[2026-09-10 20:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997184256001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678334094508032,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":464222635365482496,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789051522000,"timestamp_ms":1789051522000,"timestamp_seconds":1789051522,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc7cbd0"} 
[2026-09-10 20:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:17: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-09-10 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:17:24] 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-09-10 20: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-09-10 20:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997184256001,"66":27115,"232":206,"94":11008,"24":9,"16":404678334094508032,"45":464222635365482496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997184256001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:17:24] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:17:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678334094508032,"km_value":404678334094508.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":464222635365482496,"description":"Unknown IO ID 45"} 
[2026-09-10 20:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997184256001,"power":27115,"unknown_232":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":464222635365482496}} 
[2026-09-10 20:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":178012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:17:24] local.INFO: GPS data processed {"connection_id":178012,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:17:24] local.INFO: Acknowledgment sent {"connection_id":178012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:17:26] local.INFO: TCP Data received {"connection_id":176643,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:17:26] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:17:26] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:17:31] local.INFO: TCP Data received {"connection_id":176643,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:17:31] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:17:31] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:17:32] local.INFO: TCP Data received {"connection_id":176643,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:17:32] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:17:32] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:17:32] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:17:32] 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-09-10 20:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:17:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:17:33] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:17:33] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:17:55] local.INFO: TCP Data received {"connection_id":178012,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc81dd8012d06850006fd9090001500872f..."} 
[2026-09-10 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc81dd8012d06850006fd9090001500872f..."} 
[2026-09-10 20:17:55] local.INFO: Processing buffer {"connection_id":178012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc81dd8012d06850006fd9090001500872f..."} 
[2026-09-10 20:17:55] local.INFO: Packet analysis {"connection_id":178012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:17:55] local.INFO: Extracted packet for processing {"connection_id":178012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":755401984,"raw_latitude":117280912,"longitude_deg":75.5401984,"latitude_deg":11.7280912,"altitude":21,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2d068500","hex_latitude":"06fd9090","is_valid_coordinates":true} 
[2026-09-10 20:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997189632001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678407108952064,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":468726234991595520,"note":"Value kept but may cause issues"} 
[2026-09-10 20:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789051543000,"timestamp_ms":1789051543000,"timestamp_seconds":1789051543,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc81dd8"} 
[2026-09-10 20:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:17: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 20:17:55] 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-09-10 20:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997189632001,"66":27213,"232":206,"94":11008,"24":0,"16":404678407108952064,"45":468726234991595520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997189632001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:17:55] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:17:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678407108952064,"km_value":404678407108952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":468726234991595520,"description":"Unknown IO ID 45"} 
[2026-09-10 20:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997189632001,"power":27213,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":468726234991595520}} 
[2026-09-10 20:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":178012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:17:55] local.INFO: GPS data processed {"connection_id":178012,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:17:55] local.INFO: Acknowledgment sent {"connection_id":178012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:18:04] local.INFO: TCP Data received {"connection_id":176643,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:18:04] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:18:04] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:04] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18: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-09-10 20:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:18: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-09-10 20:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:18:04] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:18:04] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:18:18] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:18:18] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:18:18] local.INFO: IMEI packet received {"connection_id":176864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":176864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:18:23] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:18:23] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:18:23] local.INFO: IMEI packet received {"connection_id":176864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":176864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:18:24] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc86fe0012d06850006fd9090001500872c..."} 
[2026-09-10 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc86fe0012d06850006fd9090001500872c..."} 
[2026-09-10 20:18:24] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc86fe0012d06850006fd9090001500872c..."} 
[2026-09-10 20:18:24] local.INFO: Packet analysis {"connection_id":176864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:24] local.INFO: Extracted packet for processing {"connection_id":176864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:24] local.INFO: GPS Element Parsed {"raw_longitude":755401984,"raw_latitude":117280912,"longitude_deg":75.5401984,"latitude_deg":11.7280912,"altitude":21,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2d068500","hex_latitude":"06fd9090","is_valid_coordinates":true} 
[2026-09-10 20:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997195008001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678407108952064,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":469781766153998336,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789051564000,"timestamp_ms":1789051564000,"timestamp_seconds":1789051564,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc86fe0"} 
[2026-09-10 20:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:18: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-09-10 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:18:24] 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-09-10 20: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-09-10 20:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997195008001,"66":27484,"232":206,"94":11008,"24":0,"16":404678407108952064,"45":469781766153998336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997195008001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:18:24] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:18:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678407108952064,"km_value":404678407108952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":469781766153998336,"description":"Unknown IO ID 45"} 
[2026-09-10 20:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997195008001,"power":27484,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":469781766153998336}} 
[2026-09-10 20:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":176864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:18:24] local.INFO: GPS data processed {"connection_id":176864,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:18:24] local.INFO: Acknowledgment sent {"connection_id":176864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:18:41] local.INFO: TCP Data received {"connection_id":179396,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:18:41] local.INFO: Processing buffer {"connection_id":179396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:18:41] local.INFO: IMEI packet received {"connection_id":179396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":179396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:18:47] local.INFO: TCP Data received {"connection_id":179396,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:18:47] local.INFO: Processing buffer {"connection_id":179396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:18:47] local.INFO: IMEI packet received {"connection_id":179396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":179396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:18:48] local.INFO: TCP Data received {"connection_id":179396,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:18:48] local.INFO: Processing buffer {"connection_id":179396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:18:48] local.INFO: Packet analysis {"connection_id":179396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:48] local.INFO: Extracted packet for processing {"connection_id":179396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:18:48] 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-09-10 20:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":179396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":179396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":179396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:18:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:18:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":179396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:18:48] local.INFO: GPS data processed {"connection_id":179396,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:18:48] local.INFO: Acknowledgment sent {"connection_id":179396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:18:55] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc88368012d06870006fd8e58001900922b..."} 
[2026-09-10 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc88368012d06870006fd8e58001900922b..."} 
[2026-09-10 20:18:55] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc88368012d06870006fd8e58001900922b..."} 
[2026-09-10 20:18:55] local.INFO: Packet analysis {"connection_id":176864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:55] local.INFO: Extracted packet for processing {"connection_id":176864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:18:55] local.INFO: GPS Element Parsed {"raw_longitude":755402496,"raw_latitude":117280344,"longitude_deg":75.5402496,"latitude_deg":11.7280344,"altitude":25,"angle":146,"satellites":43,"speed":6,"hex_longitude":"2d068700","hex_latitude":"06fd8e58","is_valid_coordinates":true} 
[2026-09-10 20:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997200384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678445763657728,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":469781766153998336,"note":"Value kept but may cause issues"} 
[2026-09-10 20:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789051569000,"timestamp_ms":1789051569000,"timestamp_seconds":1789051569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc88368"} 
[2026-09-10 20:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:18: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:18:55] 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-09-10 20:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997200384001,"66":27376,"232":206,"94":11008,"24":6,"16":404678445763657728,"45":469781766153998336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997200384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:18:55] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678445763657728,"km_value":404678445763657.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":469781766153998336,"description":"Unknown IO ID 45"} 
[2026-09-10 20:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997200384001,"power":27376,"unknown_232":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":469781766153998336}} 
[2026-09-10 20:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":176864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:18:55] local.INFO: GPS data processed {"connection_id":176864,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:18:55] local.INFO: Acknowledgment sent {"connection_id":176864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:19:13] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:13] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:13] local.INFO: IMEI packet received {"connection_id":176644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":176644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:19:18] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:18] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:18] local.INFO: IMEI packet received {"connection_id":176644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":176644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:19:20] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:19:20] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:19:20] local.INFO: IMEI packet received {"connection_id":176865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":176865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:19:20] local.INFO: TCP Data received {"connection_id":176644,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc89ec00100000000000000000000000000..."} 
[2026-09-10 20:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc89ec00100000000000000000000000000..."} 
[2026-09-10 20:19:20] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc89ec00100000000000000000000000000..."} 
[2026-09-10 20:19:20] local.INFO: Packet analysis {"connection_id":176644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:20] local.INFO: Extracted packet for processing {"connection_id":176644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997188608001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6859896993505794048,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789051576000,"timestamp_ms":1789051576000,"timestamp_seconds":1789051576,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc89ec0"} 
[2026-09-10 20:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 20:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":176644,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:19:20] local.INFO: GPS data processed {"connection_id":176644,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:19:20] local.INFO: Acknowledgment sent {"connection_id":176644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:19:23] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:19:23] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:19:23] local.INFO: IMEI packet received {"connection_id":176865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":176865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:19:26] local.INFO: TCP Data received {"connection_id":176645,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:19:26] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:19:26] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:19:27] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc8d570012d068b0006fd89980019008e2c..."} 
[2026-09-10 20:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc8d570012d068b0006fd89980019008e2c..."} 
[2026-09-10 20:19:27] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc8d570012d068b0006fd89980019008e2c..."} 
[2026-09-10 20:19:27] local.INFO: Packet analysis {"connection_id":176865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:27] local.INFO: Extracted packet for processing {"connection_id":176865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:27] local.INFO: GPS Element Parsed {"raw_longitude":755403520,"raw_latitude":117279128,"longitude_deg":75.540352,"latitude_deg":11.7279128,"altitude":25,"angle":142,"satellites":44,"speed":7,"hex_longitude":"2d068b00","hex_latitude":"06fd8998","is_valid_coordinates":true} 
[2026-09-10 20:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997201664001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678527368036352,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":470344716107274240,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789051590000,"timestamp_ms":1789051590000,"timestamp_seconds":1789051590,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc8d570"} 
[2026-09-10 20:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997201664001,"66":27365,"232":206,"94":11008,"24":7,"16":404678527368036352,"45":470344716107274240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997201664001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:19:27] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:19:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678527368036352,"km_value":404678527368036.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":470344716107274240,"description":"Unknown IO ID 45"} 
[2026-09-10 20:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997201664001,"power":27365,"unknown_232":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":470344716107274240}} 
[2026-09-10 20:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":176865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:19:27] local.INFO: GPS data processed {"connection_id":176865,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:19:27] local.INFO: Acknowledgment sent {"connection_id":176865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:19:31] local.INFO: TCP Data received {"connection_id":176645,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:19:31] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:19:31] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:19:37] local.INFO: TCP Data received {"connection_id":176645,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:19:37] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:19:37] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:37] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19: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-09-10 20:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:19:37] 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-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:19: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-09-10 20:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:19:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:19:37] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:19:37] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:19:38] local.INFO: TCP Data received {"connection_id":176645,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:19:38] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:19:38] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:38] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19: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-09-10 20:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:19: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-09-10 20:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:19:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:19:38] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:19:38] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:19:43] local.INFO: TCP Data received {"connection_id":176646,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:43] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:43] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:19:48] local.INFO: TCP Data received {"connection_id":176646,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:48] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:19:48] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:19:50] local.INFO: TCP Data received {"connection_id":176646,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc946b80100000000000000000000000000..."} 
[2026-09-10 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc946b80100000000000000000000000000..."} 
[2026-09-10 20:19:50] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc946b80100000000000000000000000000..."} 
[2026-09-10 20:19:50] local.INFO: Packet analysis {"connection_id":176646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:19:50] local.INFO: Extracted packet for processing {"connection_id":176646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789051619000,"timestamp_ms":1789051619000,"timestamp_seconds":1789051619,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc946b8"} 
[2026-09-10 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:19: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":176646,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:19:50] local.INFO: GPS data processed {"connection_id":176646,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:19:50] local.INFO: Acknowledgment sent {"connection_id":176646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:19:58] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc92778012d06948006fd7dc8001600902b..."} 
[2026-09-10 20:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc92778012d06948006fd7dc8001600902b..."} 
[2026-09-10 20:19:58] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc92778012d06948006fd7dc8001600902b..."} 
[2026-09-10 20:19:58] local.INFO: Packet analysis {"connection_id":176865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:19:58] local.INFO: Extracted packet for processing {"connection_id":176865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:19:58] local.INFO: GPS Element Parsed {"raw_longitude":755405952,"raw_latitude":117276104,"longitude_deg":75.5405952,"latitude_deg":11.7276104,"altitude":22,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d069480","hex_latitude":"06fd7dc8","is_valid_coordinates":true} 
[2026-09-10 20:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997207040001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678716346597376,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":471470616013805568,"note":"Value kept but may cause issues"} 
[2026-09-10 20:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789051611000,"timestamp_ms":1789051611000,"timestamp_seconds":1789051611,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc92778"} 
[2026-09-10 20:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 20:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:19: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-09-10 20:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997207040001,"66":27267,"232":206,"94":11008,"24":0,"16":404678716346597376,"45":471470616013805568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997207040001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:19:58] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:19:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678716346597376,"km_value":404678716346597.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":471470616013805568,"description":"Unknown IO ID 45"} 
[2026-09-10 20:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997207040001,"power":27267,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":471470616013805568}} 
[2026-09-10 20:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":176865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:19:58] local.INFO: GPS data processed {"connection_id":176865,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:19:58] local.INFO: Acknowledgment sent {"connection_id":176865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:20:10] local.INFO: TCP Data received {"connection_id":176645,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:20:10] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:20:10] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:20:10] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20: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-09-10 20:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:20: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-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:20:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:20:10] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:20:10] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:20:17] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:17] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:17] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:20:19] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:19] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:19] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:20:22] local.INFO: TCP Data received {"connection_id":176646,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc8dd40012ca18180079995680018007230..."} 
[2026-09-10 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc8dd40012ca18180079995680018007230..."} 
[2026-09-10 20:20:22] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc8dd40012ca18180079995680018007230..."} 
[2026-09-10 20:20:22] local.INFO: Packet analysis {"connection_id":176646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:20:22] local.INFO: Extracted packet for processing {"connection_id":176646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:20:22] local.INFO: GPS Element Parsed {"raw_longitude":748781952,"raw_latitude":127505768,"longitude_deg":74.8781952,"latitude_deg":12.7505768,"altitude":24,"angle":114,"satellites":48,"speed":60,"hex_longitude":"2ca18180","hex_latitude":"07999568","is_valid_coordinates":true} 
[2026-09-10 20:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789051592000,"timestamp_ms":1789051592000,"timestamp_seconds":1789051592,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc8dd40"} 
[2026-09-10 20:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:20: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 20:20:22] 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-09-10 20:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"199":206,"18":24064,"24":60,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,18,24,16]} 
[2026-09-10 20:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:20:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-10 20:20:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-10 20:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:20:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"trip_odometer":0.206,"unknown_18":24064,"ignition":60,"odometer":null}} 
[2026-09-10 20:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":176646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:20:22] local.INFO: GPS data processed {"connection_id":176646,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:20:22] local.INFO: Acknowledgment sent {"connection_id":176646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:20:23] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:23] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:20:23] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:20:24] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc97980012d069a4006fd76f80017008d2c..."} 
[2026-09-10 20:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc97980012d069a4006fd76f80017008d2c..."} 
[2026-09-10 20:20:24] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc97980012d069a4006fd76f80017008d2c..."} 
[2026-09-10 20:20:24] local.INFO: Packet analysis {"connection_id":176866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:20:24] local.INFO: Extracted packet for processing {"connection_id":176866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:20:24] local.INFO: GPS Element Parsed {"raw_longitude":755407424,"raw_latitude":117274360,"longitude_deg":75.5407424,"latitude_deg":11.727436,"altitude":23,"angle":141,"satellites":44,"speed":8,"hex_longitude":"2d069a40","hex_latitude":"06fd76f8","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997212416001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404678828015747072,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":474144628291782656,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789051632000,"timestamp_ms":1789051632000,"timestamp_seconds":1789051632,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc97980"} 
[2026-09-10 20:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:20: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-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997212416001,"66":27213,"232":206,"94":11008,"24":8,"16":404678828015747072,"45":474144628291782656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997212416001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:20:24] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:20:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404678828015747072,"km_value":404678828015747.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":474144628291782656,"description":"Unknown IO ID 45"} 
[2026-09-10 20:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997212416001,"power":27213,"unknown_232":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":474144628291782656}} 
[2026-09-10 20:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":176866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:20:24] local.INFO: GPS data processed {"connection_id":176866,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:20:24] local.INFO: Acknowledgment sent {"connection_id":176866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:20:26] local.INFO: TCP Data received {"connection_id":176867,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:20:26] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:20:26] local.INFO: IMEI packet received {"connection_id":176867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":176867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:20:31] local.INFO: TCP Data received {"connection_id":176867,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:20:31] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:20:31] local.INFO: IMEI packet received {"connection_id":176867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":176867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:20:33] local.INFO: TCP Data received {"connection_id":176867,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:20:33] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:20:33] local.INFO: Packet analysis {"connection_id":176867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:20:33] local.INFO: Extracted packet for processing {"connection_id":176867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:20:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:20:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":176867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:20:33] local.INFO: GPS data processed {"connection_id":176867,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:20:33] local.INFO: Acknowledgment sent {"connection_id":176867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:20:43] local.INFO: TCP Data received {"connection_id":178013,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:20:43] local.INFO: Processing buffer {"connection_id":178013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:20:43] local.INFO: IMEI packet received {"connection_id":178013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":178013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:20:51] local.INFO: TCP Data received {"connection_id":178013,"ip":"117.225.137.228","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 20:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178013,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 20:20:51] local.INFO: Processing buffer {"connection_id":178013,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 20:20:51] local.INFO: IMEI packet received {"connection_id":178013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":178013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:20:54] local.INFO: TCP Data received {"connection_id":178013,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc9df100100000000000000000000000000..."} 
[2026-09-10 20:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc9df100100000000000000000000000000..."} 
[2026-09-10 20:20:54] local.INFO: Processing buffer {"connection_id":178013,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a08b..."} 
[2026-09-10 20:20:54] local.INFO: IMEI packet received {"connection_id":178013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":178013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:20:56] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc9cb88012d06a54006fd69680019008a2e..."} 
[2026-09-10 20:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc9cb88012d06a54006fd69680019008a2e..."} 
[2026-09-10 20:20:56] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc9cb88012d06a54006fd69680019008a2e..."} 
[2026-09-10 20:20:56] local.INFO: Packet analysis {"connection_id":176866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:20:56] local.INFO: Extracted packet for processing {"connection_id":176866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:20:56] local.INFO: GPS Element Parsed {"raw_longitude":755410240,"raw_latitude":117270888,"longitude_deg":75.541024,"latitude_deg":11.7270888,"altitude":25,"angle":138,"satellites":46,"speed":9,"hex_longitude":"2d06a540","hex_latitude":"06fd6968","is_valid_coordinates":true} 
[2026-09-10 20:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997217792001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404679042764111872,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":475763109407422464,"note":"Value kept but may cause issues"} 
[2026-09-10 20:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789051653000,"timestamp_ms":1789051653000,"timestamp_seconds":1789051653,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc9cb88"} 
[2026-09-10 20:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:20:56] 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-09-10 20:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997217792001,"66":27267,"232":206,"94":11008,"24":9,"16":404679042764111872,"45":475763109407422464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997217792001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:20:56] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:20:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404679042764111872,"km_value":404679042764111.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":475763109407422464,"description":"Unknown IO ID 45"} 
[2026-09-10 20:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997217792001,"power":27267,"unknown_232":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":475763109407422464}} 
[2026-09-10 20:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":176866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:20:56] local.INFO: GPS data processed {"connection_id":176866,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:20:56] local.INFO: Acknowledgment sent {"connection_id":176866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:03] local.INFO: TCP Data received {"connection_id":178013,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc95a40012ca21c80079931d00010008731..."} 
[2026-09-10 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc95a40012ca21c80079931d00010008731..."} 
[2026-09-10 20:21:03] local.INFO: Processing buffer {"connection_id":178013,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08bc9df100100000000000000000000000000..."} 
[2026-09-10 20:21:03] local.INFO: Packet analysis {"connection_id":178013,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21:03] local.INFO: Extracted packet for processing {"connection_id":178013,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21: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-09-10 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997207552001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6809020391477647360,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789051658000,"timestamp_ms":1789051658000,"timestamp_seconds":1789051658,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc9df10"} 
[2026-09-10 20:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20: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-09-10 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 20:21: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-09-10 20:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":178013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":178013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":178013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":178013,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:21:03] local.INFO: GPS data processed {"connection_id":178013,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:21:03] local.INFO: Acknowledgment sent {"connection_id":178013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:03] local.INFO: Packet analysis {"connection_id":178013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21:03] local.INFO: Extracted packet for processing {"connection_id":178013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":748821632,"raw_latitude":127480272,"longitude_deg":74.8821632,"latitude_deg":12.7480272,"altitude":16,"angle":135,"satellites":49,"speed":57,"hex_longitude":"2ca21c80","hex_latitude":"079931d0","is_valid_coordinates":true} 
[2026-09-10 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789051624000,"timestamp_ms":1789051624000,"timestamp_seconds":1789051624,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc95a40"} 
[2026-09-10 20:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:21:03] 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-09-10 20:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":178013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":178013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":178013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"199":206,"18":24064,"24":57,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,18,24,16]} 
[2026-09-10 20:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:21:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-10 20:21:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-10 20:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:21:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"trip_odometer":0.206,"unknown_18":24064,"ignition":57,"odometer":null}} 
[2026-09-10 20:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":178013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:21:03] local.INFO: GPS data processed {"connection_id":178013,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:21:03] local.INFO: Acknowledgment sent {"connection_id":178013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:05] local.INFO: TCP Data received {"connection_id":176867,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:21:05] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:21:05] local.INFO: Packet analysis {"connection_id":176867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:21:05] local.INFO: Extracted packet for processing {"connection_id":176867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21: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-09-10 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20: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-09-10 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 20:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":176867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:21:05] local.INFO: GPS data processed {"connection_id":176867,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:21:05] local.INFO: Acknowledgment sent {"connection_id":176867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:05] local.INFO: TCP Data received {"connection_id":178013,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc9ac48012ca25c400798f010000c008833..."} 
[2026-09-10 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc9ac48012ca25c400798f010000c008833..."} 
[2026-09-10 20:21:05] local.INFO: Processing buffer {"connection_id":178013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc9ac48012ca25c400798f010000c008833..."} 
[2026-09-10 20:21:05] local.INFO: Packet analysis {"connection_id":178013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21:05] local.INFO: Extracted packet for processing {"connection_id":178013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":748837952,"raw_latitude":127463440,"longitude_deg":74.8837952,"latitude_deg":12.746344,"altitude":12,"angle":136,"satellites":51,"speed":0,"hex_longitude":"2ca25c40","hex_latitude":"0798f010","is_valid_coordinates":true} 
[2026-09-10 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997215744001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6765391770094022656,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789051645000,"timestamp_ms":1789051645000,"timestamp_seconds":1789051645,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc9ac48"} 
[2026-09-10 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:21:05] 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-09-10 20:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997215744001,"66":27626,"72":206,"27":54016,"24":0,"16":3893920429768704,"44":-6765391770094022656},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,27,24,16,44]} 
[2026-09-10 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997215744001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6765391770094022656,"description":"Unknown IO ID 44"} 
[2026-09-10 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997215744001,"power":27626,"unknown_72":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6765391770094022656}} 
[2026-09-10 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":178013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:21:05] local.INFO: GPS data processed {"connection_id":178013,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:21:05] local.INFO: Acknowledgment sent {"connection_id":178013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:18] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:18] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:18] local.INFO: IMEI packet received {"connection_id":178014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":178014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:21:21] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:21] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:21] local.INFO: IMEI packet received {"connection_id":178014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":178014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:21:23] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:23] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:21:23] local.INFO: IMEI packet received {"connection_id":178014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":178014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:21:24] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bca1d90012d06ad8006fd5e000014008b2e..."} 
[2026-09-10 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bca1d90012d06ad8006fd5e000014008b2e..."} 
[2026-09-10 20:21:24] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bca1d90012d06ad8006fd5e000014008b2e..."} 
[2026-09-10 20:21:24] local.INFO: Packet analysis {"connection_id":178014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bca"} 
[2026-09-10 20:21:24] local.INFO: Extracted packet for processing {"connection_id":178014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bca"} 
[2026-09-10 20:21:24] local.INFO: GPS Element Parsed {"raw_longitude":755412352,"raw_latitude":117267968,"longitude_deg":75.5412352,"latitude_deg":11.7267968,"altitude":20,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2d06ad80","hex_latitude":"06fd5e00","is_valid_coordinates":true} 
[2026-09-10 20:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997223168001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404679218857771008,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":478859334150350848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789051674000,"timestamp_ms":1789051674000,"timestamp_seconds":1789051674,"priority":1,"record_length":96,"hex_timestamp":"000001a08bca1d90"} 
[2026-09-10 20:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997223168001,"66":27376,"232":206,"94":11008,"24":0,"16":404679218857771008,"45":478859334150350848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997223168001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:21:24] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:21:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404679218857771008,"km_value":404679218857771.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":478859334150350848,"description":"Unknown IO ID 45"} 
[2026-09-10 20:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997223168001,"power":27376,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":478859334150350848}} 
[2026-09-10 20:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":178014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:21:24] local.INFO: GPS data processed {"connection_id":178014,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:21:24] local.INFO: Acknowledgment sent {"connection_id":178014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:26] local.INFO: TCP Data received {"connection_id":176647,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:21:26] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:21:26] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:21:31] local.INFO: TCP Data received {"connection_id":176647,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:21:31] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:21:31] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:21:32] local.INFO: TCP Data received {"connection_id":176647,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:21:32] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc85c58012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:21:32] local.INFO: Packet analysis {"connection_id":176647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:21:32] local.INFO: Extracted packet for processing {"connection_id":176647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc8"} 
[2026-09-10 20:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997122048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789051559000,"timestamp_ms":1789051559000,"timestamp_seconds":1789051559,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc85c58"} 
[2026-09-10 20:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:21:32] 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-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997122048001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997122048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:21:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997122048001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":176647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:21:33] local.INFO: GPS data processed {"connection_id":176647,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:21:33] local.INFO: Acknowledgment sent {"connection_id":176647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:38] local.INFO: TCP Data received {"connection_id":176868,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:21:38] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:21:38] local.INFO: IMEI packet received {"connection_id":176868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":176868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:21:43] local.INFO: TCP Data received {"connection_id":176868,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:21:43] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:21:43] local.INFO: IMEI packet received {"connection_id":176868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":176868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:21:43] local.INFO: TCP Data received {"connection_id":176868,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bc9d740012ca298c00798ade0000d009333..."} 
[2026-09-10 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bc9d740012ca298c00798ade0000d009333..."} 
[2026-09-10 20:21:43] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bc9d740012ca298c00798ade0000d009333..."} 
[2026-09-10 20:21:43] local.INFO: Packet analysis {"connection_id":176868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21:43] local.INFO: Extracted packet for processing {"connection_id":176868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bc9"} 
[2026-09-10 20:21:43] local.INFO: GPS Element Parsed {"raw_longitude":748853440,"raw_latitude":127446496,"longitude_deg":74.885344,"latitude_deg":12.7446496,"altitude":13,"angle":147,"satellites":51,"speed":55,"hex_longitude":"2ca298c0","hex_latitude":"0798ade0","is_valid_coordinates":true} 
[2026-09-10 20:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997221120001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6747447740333027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789051656000,"timestamp_ms":1789051656000,"timestamp_seconds":1789051656,"priority":1,"record_length":96,"hex_timestamp":"000001a08bc9d740"} 
[2026-09-10 20:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 20:21:43] 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-09-10 20:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997221120001,"66":27484,"72":206,"27":54016,"24":55,"16":3893920429768704,"44":-6747447740333027328},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,27,24,16,44]} 
[2026-09-10 20:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997221120001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:21:43] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-10 20:21:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6747447740333027328,"description":"Unknown IO ID 44"} 
[2026-09-10 20:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997221120001,"power":27484,"unknown_72":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-6747447740333027328}} 
[2026-09-10 20:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":176868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:21:44] local.INFO: GPS data processed {"connection_id":176868,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:21:44] local.INFO: Acknowledgment sent {"connection_id":176868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:21:56] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bca6f98012d06b08006fd59e80013008b31..."} 
[2026-09-10 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bca6f98012d06b08006fd59e80013008b31..."} 
[2026-09-10 20:21:56] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bca6f98012d06b08006fd59e80013008b31..."} 
[2026-09-10 20:21:56] local.INFO: Packet analysis {"connection_id":178014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bca"} 
[2026-09-10 20:21:56] local.INFO: Extracted packet for processing {"connection_id":178014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bca"} 
[2026-09-10 20:21:56] local.INFO: GPS Element Parsed {"raw_longitude":755413120,"raw_latitude":117266920,"longitude_deg":75.541312,"latitude_deg":11.726692,"altitude":19,"angle":139,"satellites":49,"speed":0,"hex_longitude":"2d06b080","hex_latitude":"06fd59e8","is_valid_coordinates":true} 
[2026-09-10 20:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997228544001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404679287577247744,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":481181502707466240,"note":"Value kept but may cause issues"} 
[2026-09-10 20:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789051695000,"timestamp_ms":1789051695000,"timestamp_seconds":1789051695,"priority":1,"record_length":96,"hex_timestamp":"000001a08bca6f98"} 
[2026-09-10 20:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:21:56] 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-09-10 20:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997228544001,"66":27376,"232":206,"94":11008,"24":0,"16":404679287577247744,"45":481181502707466240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997228544001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:21:56] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:21:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404679287577247744,"km_value":404679287577247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":481181502707466240,"description":"Unknown IO ID 45"} 
[2026-09-10 20:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997228544001,"power":27376,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":481181502707466240}} 
[2026-09-10 20:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":178014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:21:56] local.INFO: GPS data processed {"connection_id":178014,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:21:56] local.INFO: Acknowledgment sent {"connection_id":178014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:22:04] local.INFO: TCP Data received {"connection_id":176647,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:22:04] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:22:04] local.INFO: Packet analysis {"connection_id":176647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:22:04] local.INFO: Extracted packet for processing {"connection_id":176647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22: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-09-10 20:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:22:04] 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-09-10 20:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:22:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":176647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:22:04] local.INFO: GPS data processed {"connection_id":176647,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:22:04] local.INFO: Acknowledgment sent {"connection_id":176647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:22:15] local.INFO: TCP Data received {"connection_id":176868,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccc540012ca3d94007952de80006008d30..."} 
[2026-09-10 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccc540012ca3d94007952de80006008d30..."} 
[2026-09-10 20:22:15] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccc540012ca3d94007952de80006008d30..."} 
[2026-09-10 20:22:15] local.INFO: Packet analysis {"connection_id":176868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:22:15] local.INFO: Extracted packet for processing {"connection_id":176868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":748935488,"raw_latitude":127217128,"longitude_deg":74.8935488,"latitude_deg":12.7217128,"altitude":6,"angle":141,"satellites":48,"speed":60,"hex_longitude":"2ca3d940","hex_latitude":"07952de8","is_valid_coordinates":true} 
[2026-09-10 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997268992001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6659205335192958976,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789051848000,"timestamp_ms":1789051848000,"timestamp_seconds":1789051848,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccc540"} 
[2026-09-10 20:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:22: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-09-10 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:22:15] 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-09-10 20:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997268992001,"66":27484,"73":206,"27":54016,"24":60,"16":3893920429768704,"44":-6659205335192958976},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,27,24,16,44]} 
[2026-09-10 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997268992001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:22:15] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 20:22:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6659205335192958976,"description":"Unknown IO ID 44"} 
[2026-09-10 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997268992001,"power":27484,"unknown_73":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-6659205335192958976}} 
[2026-09-10 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":176868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:22:15] local.INFO: GPS data processed {"connection_id":176868,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:22:15] local.INFO: Acknowledgment sent {"connection_id":176868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:22:23] local.INFO: TCP Data received {"connection_id":176648,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:23] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:23] local.INFO: IMEI packet received {"connection_id":176648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":176648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:22:23] local.INFO: TCP Data received {"connection_id":176648,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:23] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:23] local.INFO: IMEI packet received {"connection_id":176648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":176648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:22:26] local.INFO: TCP Data received {"connection_id":176649,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:22:26] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:22:26] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:22:28] local.INFO: TCP Data received {"connection_id":176648,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:28] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:22:28] local.INFO: IMEI packet received {"connection_id":176648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":176648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:22:29] local.INFO: TCP Data received {"connection_id":176648,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcac1a0012d06b58006fd53680012008d31..."} 
[2026-09-10 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcac1a0012d06b58006fd53680012008d31..."} 
[2026-09-10 20:22:29] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcac1a0012d06b58006fd53680012008d31..."} 
[2026-09-10 20:22:29] local.INFO: Packet analysis {"connection_id":176648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bca"} 
[2026-09-10 20:22:29] local.INFO: Extracted packet for processing {"connection_id":176648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bca"} 
[2026-09-10 20:22:29] local.INFO: GPS Element Parsed {"raw_longitude":755414400,"raw_latitude":117265256,"longitude_deg":75.54144,"latitude_deg":11.7265256,"altitude":18,"angle":141,"satellites":49,"speed":8,"hex_longitude":"2d06b580","hex_latitude":"06fd5368","is_valid_coordinates":true} 
[2026-09-10 20:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997233920001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404679390656462848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":482025927637329920,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789051716000,"timestamp_ms":1789051716000,"timestamp_seconds":1789051716,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcac1a0"} 
[2026-09-10 20:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:22: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-09-10 20:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997233920001,"66":27484,"232":206,"94":11008,"24":8,"16":404679390656462848,"45":482025927637329920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997233920001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:22:29] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:22:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404679390656462848,"km_value":404679390656462.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":482025927637329920,"description":"Unknown IO ID 45"} 
[2026-09-10 20:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997233920001,"power":27484,"unknown_232":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":482025927637329920}} 
[2026-09-10 20:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":176648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:22:29] local.INFO: GPS data processed {"connection_id":176648,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:22:29] local.INFO: Acknowledgment sent {"connection_id":176648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:22:31] local.INFO: TCP Data received {"connection_id":176649,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:22:31] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:22:31] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:22:33] local.INFO: TCP Data received {"connection_id":176649,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:22:33] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:22:33] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:22:33] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:22:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:22:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:22:33] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:22:33] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:22:34] local.INFO: TCP Data received {"connection_id":176648,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcb13a8012d06c14006fd4530000f008b2f..."} 
[2026-09-10 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcb13a8012d06c14006fd4530000f008b2f..."} 
[2026-09-10 20:22:34] local.INFO: Processing buffer {"connection_id":176648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcb13a8012d06c14006fd4530000f008b2f..."} 
[2026-09-10 20:22:34] local.INFO: Packet analysis {"connection_id":176648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcb"} 
[2026-09-10 20:22:34] local.INFO: Extracted packet for processing {"connection_id":176648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcb"} 
[2026-09-10 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":755417408,"raw_latitude":117261616,"longitude_deg":75.5417408,"latitude_deg":11.7261616,"altitude":15,"angle":139,"satellites":47,"speed":4,"hex_longitude":"2d06c140","hex_latitude":"06fd4530","is_valid_coordinates":true} 
[2026-09-10 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997239296001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404679618289729536,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":483433302520457216,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789051737000,"timestamp_ms":1789051737000,"timestamp_seconds":1789051737,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcb13a8"} 
[2026-09-10 20:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:22:34] 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-09-10 20: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-09-10 20:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20: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-09-10 20:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997239296001,"66":27137,"232":206,"94":11008,"24":4,"16":404679618289729536,"45":483433302520457216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997239296001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:22:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:22:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404679618289729536,"km_value":404679618289729.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":483433302520457216,"description":"Unknown IO ID 45"} 
[2026-09-10 20:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997239296001,"power":27137,"unknown_232":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":483433302520457216}} 
[2026-09-10 20:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":176648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:22:34] local.INFO: GPS data processed {"connection_id":176648,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:22:34] local.INFO: Acknowledgment sent {"connection_id":176648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:22:38] local.INFO: TCP Data received {"connection_id":176869,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:22:38] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:22:38] local.INFO: IMEI packet received {"connection_id":176869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":176869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:22:43] local.INFO: TCP Data received {"connection_id":176869,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:22:43] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:22:43] local.INFO: IMEI packet received {"connection_id":176869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:22:44] local.INFO: TCP Data received {"connection_id":176869,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcd1748012ca412000794e2480006008f31..."} 
[2026-09-10 20:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcd1748012ca412000794e2480006008f31..."} 
[2026-09-10 20:22:44] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcd1748012ca412000794e2480006008f31..."} 
[2026-09-10 20:22:44] local.INFO: Packet analysis {"connection_id":176869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:22:44] local.INFO: Extracted packet for processing {"connection_id":176869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:22:44] local.INFO: GPS Element Parsed {"raw_longitude":748950016,"raw_latitude":127197768,"longitude_deg":74.8950016,"latitude_deg":12.7197768,"altitude":6,"angle":143,"satellites":49,"speed":0,"hex_longitude":"2ca41200","hex_latitude":"0794e248","is_valid_coordinates":true} 
[2026-09-10 20:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997273088001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6640205774269323264,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789051869000,"timestamp_ms":1789051869000,"timestamp_seconds":1789051869,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcd1748"} 
[2026-09-10 20:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:22:44] 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-09-10 20:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997273088001,"66":27571,"27":54016,"24":0,"16":3893920429768704,"44":-6640205774269323264},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-10 20:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997273088001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:22:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:22:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6640205774269323264,"description":"Unknown IO ID 44"} 
[2026-09-10 20:22:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457997273088001,"power":27571,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6640205774269323264}} 
[2026-09-10 20:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":176869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:22:44] local.INFO: GPS data processed {"connection_id":176869,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:22:44] local.INFO: Acknowledgment sent {"connection_id":176869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:22:49] local.INFO: TCP Data received {"connection_id":176869,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcd4240012ca454c00794a5700006006d30..."} 
[2026-09-10 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcd4240012ca454c00794a5700006006d30..."} 
[2026-09-10 20:22:49] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcd4240012ca454c00794a5700006006d30..."} 
[2026-09-10 20:22:49] local.INFO: Packet analysis {"connection_id":176869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:22:49] local.INFO: Extracted packet for processing {"connection_id":176869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":748967104,"raw_latitude":127182192,"longitude_deg":74.8967104,"latitude_deg":12.7182192,"altitude":6,"angle":109,"satellites":48,"speed":57,"hex_longitude":"2ca454c0","hex_latitude":"0794a570","is_valid_coordinates":true} 
[2026-09-10 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997278464001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6624232069345949696,"note":"Value kept but may cause issues"} 
[2026-09-10 20:22:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789051880000,"timestamp_ms":1789051880000,"timestamp_seconds":1789051880,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcd4240"} 
[2026-09-10 20:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:22: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-09-10 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:22:49] 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-09-10 20:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997278464001,"66":27745,"27":54016,"24":57,"16":3893920429768704,"44":-6624232069345949696},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-10 20:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997278464001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:22:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6624232069345949696,"description":"Unknown IO ID 44"} 
[2026-09-10 20:22:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457997278464001,"power":27745,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-6624232069345949696}} 
[2026-09-10 20:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":176869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:22:49] local.INFO: GPS data processed {"connection_id":176869,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:22:49] local.INFO: Acknowledgment sent {"connection_id":176869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:23:05] local.INFO: TCP Data received {"connection_id":176649,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:23:05] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:23:05] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:23:05] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23: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-09-10 20:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 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-09-10 20:23: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-09-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:23: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-09-10 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-09-10 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-09-10 20:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:23:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:23:05] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:23:05] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:23:18] local.INFO: TCP Data received {"connection_id":179397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:23:18] local.INFO: Processing buffer {"connection_id":179397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:23:18] local.INFO: IMEI packet received {"connection_id":179397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":179397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:23:20] local.INFO: TCP Data received {"connection_id":176869,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcd9448012ca4af80079498800009006231..."} 
[2026-09-10 20:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcd9448012ca4af80079498800009006231..."} 
[2026-09-10 20:23:20] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcd9448012ca4af80079498800009006231..."} 
[2026-09-10 20:23:20] local.INFO: Packet analysis {"connection_id":176869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:23:20] local.INFO: Extracted packet for processing {"connection_id":176869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":748990336,"raw_latitude":127178880,"longitude_deg":74.8990336,"latitude_deg":12.717888,"altitude":9,"angle":98,"satellites":49,"speed":0,"hex_longitude":"2ca4af80","hex_latitude":"07949880","is_valid_coordinates":true} 
[2026-09-10 20:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997281280001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6605443614654500864,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789051901000,"timestamp_ms":1789051901000,"timestamp_seconds":1789051901,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcd9448"} 
[2026-09-10 20:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 20:23: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-09-10 20:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997281280001,"66":27571,"145":206,"27":54016,"24":0,"16":3893920429768704,"44":-6605443614654500864},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,27,24,16,44]} 
[2026-09-10 20:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997281280001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:23:20] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 20:23:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6605443614654500864,"description":"Unknown IO ID 44"} 
[2026-09-10 20:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997281280001,"power":27571,"unknown_145":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6605443614654500864}} 
[2026-09-10 20:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":176869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:23:20] local.INFO: GPS data processed {"connection_id":176869,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:23:20] local.INFO: Acknowledgment sent {"connection_id":176869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:23:23] local.INFO: TCP Data received {"connection_id":179397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:23:23] local.INFO: Processing buffer {"connection_id":179397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:23:23] local.INFO: IMEI packet received {"connection_id":179397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":179397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:23:25] local.INFO: TCP Data received {"connection_id":179397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcb65b0012d06c34006fd42e8000e008b2d..."} 
[2026-09-10 20:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcb65b0012d06c34006fd42e8000e008b2d..."} 
[2026-09-10 20:23:25] local.INFO: Processing buffer {"connection_id":179397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcb65b0012d06c34006fd42e8000e008b2d..."} 
[2026-09-10 20:23:25] local.INFO: Packet analysis {"connection_id":179397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcb"} 
[2026-09-10 20:23:25] local.INFO: Extracted packet for processing {"connection_id":179397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcb"} 
[2026-09-10 20:23:25] local.INFO: GPS Element Parsed {"raw_longitude":755417920,"raw_latitude":117261032,"longitude_deg":75.541792,"latitude_deg":11.7261032,"altitude":14,"angle":139,"satellites":45,"speed":9,"hex_longitude":"2d06c340","hex_latitude":"06fd42e8","is_valid_coordinates":true} 
[2026-09-10 20:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997244672001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404679656944435200,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":486740633495875584,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789051758000,"timestamp_ms":1789051758000,"timestamp_seconds":1789051758,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcb65b0"} 
[2026-09-10 20:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 20:23:25] 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-09-10 20:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997244672001,"66":27245,"232":206,"94":11008,"24":9,"16":404679656944435200,"45":486740633495875584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997244672001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:23:25] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:23:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404679656944435200,"km_value":404679656944435.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":486740633495875584,"description":"Unknown IO ID 45"} 
[2026-09-10 20:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997244672001,"power":27245,"unknown_232":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":486740633495875584}} 
[2026-09-10 20:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":179397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:23:25] local.INFO: GPS data processed {"connection_id":179397,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:23:25] local.INFO: Acknowledgment sent {"connection_id":179397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:23:26] local.INFO: TCP Data received {"connection_id":176650,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:23:26] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:23:26] local.INFO: IMEI packet received {"connection_id":176650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":176650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:23:31] local.INFO: TCP Data received {"connection_id":176650,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:23:31] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:23:31] local.INFO: IMEI packet received {"connection_id":176650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":176650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:23:33] local.INFO: TCP Data received {"connection_id":176650,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:23:33] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:23:33] local.INFO: Packet analysis {"connection_id":176650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:23:33] local.INFO: Extracted packet for processing {"connection_id":176650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:23:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:23:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":176650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:23:33] local.INFO: GPS data processed {"connection_id":176650,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:23:33] local.INFO: Acknowledgment sent {"connection_id":176650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:23:38] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:38] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:38] local.INFO: IMEI packet received {"connection_id":176651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":176651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:23:39] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:39] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:39] local.INFO: IMEI packet received {"connection_id":176651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":176651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:23:43] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:43] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:23:43] local.INFO: IMEI packet received {"connection_id":176651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:23:45] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcdbf40012ca4f2c0079469b8000b009a31..."} 
[2026-09-10 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcdbf40012ca4f2c0079469b8000b009a31..."} 
[2026-09-10 20:23:45] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcdbf40012ca4f2c0079469b8000b009a31..."} 
[2026-09-10 20:23:45] local.INFO: Packet analysis {"connection_id":176651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:23:45] local.INFO: Extracted packet for processing {"connection_id":176651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcd"} 
[2026-09-10 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":749007552,"raw_latitude":127166904,"longitude_deg":74.9007552,"latitude_deg":12.7166904,"altitude":11,"angle":154,"satellites":49,"speed":53,"hex_longitude":"2ca4f2c0","hex_latitude":"079469b8","is_valid_coordinates":true} 
[2026-09-10 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997286656001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6579899760518856704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789051912000,"timestamp_ms":1789051912000,"timestamp_seconds":1789051912,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcdbf40"} 
[2026-09-10 20:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:23:45] 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-09-10 20:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997286656001,"66":27517,"145":206,"27":54016,"24":53,"16":3893920429768704,"44":-6579899760518856704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,27,24,16,44]} 
[2026-09-10 20:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997286656001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:23:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-10 20:23:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6579899760518856704,"description":"Unknown IO ID 44"} 
[2026-09-10 20:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997286656001,"power":27517,"unknown_145":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-6579899760518856704}} 
[2026-09-10 20:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":176651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:23:45] local.INFO: GPS data processed {"connection_id":176651,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:23:45] local.INFO: Acknowledgment sent {"connection_id":176651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:23:56] local.INFO: TCP Data received {"connection_id":179397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcbb7b8012d06d20006fd3120000d008e2f..."} 
[2026-09-10 20:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcbb7b8012d06d20006fd3120000d008e2f..."} 
[2026-09-10 20:23:56] local.INFO: Processing buffer {"connection_id":179397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcbb7b8012d06d20006fd3120000d008e2f..."} 
[2026-09-10 20:23:56] local.INFO: Packet analysis {"connection_id":179397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcb"} 
[2026-09-10 20:23:56] local.INFO: Extracted packet for processing {"connection_id":179397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcb"} 
[2026-09-10 20:23:56] local.INFO: GPS Element Parsed {"raw_longitude":755421696,"raw_latitude":117256480,"longitude_deg":75.5421696,"latitude_deg":11.725648,"altitude":13,"angle":142,"satellites":47,"speed":8,"hex_longitude":"2d06d200","hex_latitude":"06fd3120","is_valid_coordinates":true} 
[2026-09-10 20:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997250048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404679940412276736,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":487303583449147392,"note":"Value kept but may cause issues"} 
[2026-09-10 20:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789051779000,"timestamp_ms":1789051779000,"timestamp_seconds":1789051779,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcbb7b8"} 
[2026-09-10 20:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:23:56] 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-09-10 20:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997250048001,"66":27245,"232":206,"94":11008,"24":8,"16":404679940412276736,"45":487303583449147392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997250048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:23:56] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:23:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404679940412276736,"km_value":404679940412276.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":487303583449147392,"description":"Unknown IO ID 45"} 
[2026-09-10 20:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997250048001,"power":27245,"unknown_232":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":487303583449147392}} 
[2026-09-10 20:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":179397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:23:56] local.INFO: GPS data processed {"connection_id":179397,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:23:56] local.INFO: Acknowledgment sent {"connection_id":179397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:24:04] local.INFO: TCP Data received {"connection_id":176650,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:24:04] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:24:04] local.INFO: Packet analysis {"connection_id":176650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:24:04] local.INFO: Extracted packet for processing {"connection_id":176650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24: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-09-10 20:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:24:04] 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-09-10 20:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":176650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:24:04] local.INFO: GPS data processed {"connection_id":176650,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:24:04] local.INFO: Acknowledgment sent {"connection_id":176650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:24:17] local.INFO: TCP Data received {"connection_id":176651,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bce1148012ca514c007941980000a009e31..."} 
[2026-09-10 20:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bce1148012ca514c007941980000a009e31..."} 
[2026-09-10 20:24:17] local.INFO: Processing buffer {"connection_id":176651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bce1148012ca514c007941980000a009e31..."} 
[2026-09-10 20:24:17] local.INFO: Packet analysis {"connection_id":176651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:24:17] local.INFO: Extracted packet for processing {"connection_id":176651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:24:17] local.INFO: GPS Element Parsed {"raw_longitude":749016256,"raw_latitude":127146368,"longitude_deg":74.9016256,"latitude_deg":12.7146368,"altitude":10,"angle":158,"satellites":49,"speed":0,"hex_longitude":"2ca514c0","hex_latitude":"07941980","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997289472001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6560970568338130944,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789051933000,"timestamp_ms":1789051933000,"timestamp_seconds":1789051933,"priority":1,"record_length":96,"hex_timestamp":"000001a08bce1148"} 
[2026-09-10 20:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:24: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-09-10 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:24:17] 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-09-10 20:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997289472001,"66":27484,"216":206,"27":54016,"24":0,"16":3893920429768704,"44":-6560970568338130944},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,27,24,16,44]} 
[2026-09-10 20:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997289472001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:24:17] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-10 20:24:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:24:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6560970568338130944,"description":"Unknown IO ID 44"} 
[2026-09-10 20:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997289472001,"power":27484,"unknown_216":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6560970568338130944}} 
[2026-09-10 20:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":176651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:24:17] local.INFO: GPS data processed {"connection_id":176651,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:24:17] local.INFO: Acknowledgment sent {"connection_id":176651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:24:18] local.INFO: TCP Data received {"connection_id":179398,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:24:18] local.INFO: Processing buffer {"connection_id":179398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:24:18] local.INFO: IMEI packet received {"connection_id":179398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":179398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:24:23] local.INFO: TCP Data received {"connection_id":179398,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:24:23] local.INFO: Processing buffer {"connection_id":179398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:24:23] local.INFO: IMEI packet received {"connection_id":179398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":179398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:24:24] local.INFO: TCP Data received {"connection_id":179398,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcc09c0012d06dc4006fd2460000c008c31..."} 
[2026-09-10 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcc09c0012d06dc4006fd2460000c008c31..."} 
[2026-09-10 20:24:24] local.INFO: Processing buffer {"connection_id":179398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcc09c0012d06dc4006fd2460000c008c31..."} 
[2026-09-10 20:24:24] local.INFO: Packet analysis {"connection_id":179398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:24:24] local.INFO: Extracted packet for processing {"connection_id":179398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:24:24] local.INFO: GPS Element Parsed {"raw_longitude":755424320,"raw_latitude":117253216,"longitude_deg":75.542432,"latitude_deg":11.7253216,"altitude":12,"angle":140,"satellites":49,"speed":9,"hex_longitude":"2d06dc40","hex_latitude":"06fd2460","is_valid_coordinates":true} 
[2026-09-10 20:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997255424001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404680146570706944,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":491455339354464256,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789051800000,"timestamp_ms":1789051800000,"timestamp_seconds":1789051800,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcc09c0"} 
[2026-09-10 20:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:24:24] 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-09-10 20:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997255424001,"66":27267,"232":206,"94":11008,"24":9,"16":404680146570706944,"45":491455339354464256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997255424001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:24:24] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:24:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404680146570706944,"km_value":404680146570706.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":491455339354464256,"description":"Unknown IO ID 45"} 
[2026-09-10 20:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997255424001,"power":27267,"unknown_232":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":491455339354464256}} 
[2026-09-10 20:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":179398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:24:24] local.INFO: GPS data processed {"connection_id":179398,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:24:24] local.INFO: Acknowledgment sent {"connection_id":179398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:24:26] local.INFO: TCP Data received {"connection_id":176870,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:24:26] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:24:26] local.INFO: IMEI packet received {"connection_id":176870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":176870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:24:31] local.INFO: TCP Data received {"connection_id":176870,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:24:31] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:24:31] local.INFO: IMEI packet received {"connection_id":176870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":176870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:24:33] local.INFO: TCP Data received {"connection_id":176870,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:24:33] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:24:33] local.INFO: Packet analysis {"connection_id":176870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:24:33] local.INFO: Extracted packet for processing {"connection_id":176870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:24:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":176870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:24:33] local.INFO: GPS data processed {"connection_id":176870,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:24:33] local.INFO: Acknowledgment sent {"connection_id":176870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:24:38] local.INFO: TCP Data received {"connection_id":179399,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:24:38] local.INFO: Processing buffer {"connection_id":179399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:24:38] local.INFO: IMEI packet received {"connection_id":179399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":179399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:24:43] local.INFO: TCP Data received {"connection_id":179399,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:24:43] local.INFO: Processing buffer {"connection_id":179399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:24:43] local.INFO: IMEI packet received {"connection_id":179399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":179399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:24:44] local.INFO: TCP Data received {"connection_id":179399,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcef3d80100000000000000000000000000..."} 
[2026-09-10 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcef3d80100000000000000000000000000..."} 
[2026-09-10 20:24:44] local.INFO: Processing buffer {"connection_id":179399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcef3d80100000000000000000000000000..."} 
[2026-09-10 20:24:44] local.INFO: Packet analysis {"connection_id":179399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:24:44] local.INFO: Extracted packet for processing {"connection_id":179399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997294848001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6551400419135225856,"note":"Value kept but may cause issues"} 
[2026-09-10 20:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789051991000,"timestamp_ms":1789051991000,"timestamp_seconds":1789051991,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcef3d8"} 
[2026-09-10 20:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:24:44] 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-09-10 20:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":179399,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:24:44] local.INFO: GPS data processed {"connection_id":179399,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:24:44] local.INFO: Acknowledgment sent {"connection_id":179399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:05] local.INFO: TCP Data received {"connection_id":176870,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:05] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:05] local.INFO: Packet analysis {"connection_id":176870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:25:05] local.INFO: Extracted packet for processing {"connection_id":176870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20: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-09-10 20:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:25: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-09-10 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:25: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-09-10 20:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":176870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:05] local.INFO: GPS data processed {"connection_id":176870,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:05] local.INFO: Acknowledgment sent {"connection_id":176870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:09] local.INFO: TCP Data received {"connection_id":179398,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcf9018012d07374006fcb990000a008b30..."} 
[2026-09-10 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcf9018012d07374006fcb990000a008b30..."} 
[2026-09-10 20:25:09] local.INFO: Processing buffer {"connection_id":179398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcf9018012d07374006fcb990000a008b30..."} 
[2026-09-10 20:25:09] local.INFO: Packet analysis {"connection_id":179398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:25:09] local.INFO: Extracted packet for processing {"connection_id":179398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:25:09] local.INFO: GPS Element Parsed {"raw_longitude":755447616,"raw_latitude":117225872,"longitude_deg":75.5447616,"latitude_deg":11.7225872,"altitude":10,"angle":139,"satellites":48,"speed":26,"hex_longitude":"2d073740","hex_latitude":"06fcb990","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997314560001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404681898917363712,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":513762231252699136,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789052031000,"timestamp_ms":1789052031000,"timestamp_seconds":1789052031,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcf9018"} 
[2026-09-10 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-09-10 20:25: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-09-10 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":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:25: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-09-10 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-09-10 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-09-10 20:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997314560001,"66":27343,"232":206,"94":11008,"24":26,"16":404681898917363712,"45":513762231252699136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997314560001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:09] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:25:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404681898917363712,"km_value":404681898917363.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":513762231252699136,"description":"Unknown IO ID 45"} 
[2026-09-10 20:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997314560001,"power":27343,"unknown_232":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":513762231252699136}} 
[2026-09-10 20:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":179398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:09] local.INFO: GPS data processed {"connection_id":179398,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:09] local.INFO: Acknowledgment sent {"connection_id":179398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:15] local.INFO: TCP Data received {"connection_id":179399,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bce7ac0012ca544c007936a38000800a92f..."} 
[2026-09-10 20:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bce7ac0012ca544c007936a38000800a92f..."} 
[2026-09-10 20:25:15] local.INFO: Processing buffer {"connection_id":179399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bce7ac0012ca544c007936a38000800a92f..."} 
[2026-09-10 20:25:15] local.INFO: Packet analysis {"connection_id":179399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:25:15] local.INFO: Extracted packet for processing {"connection_id":179399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:25:15] local.INFO: GPS Element Parsed {"raw_longitude":749028544,"raw_latitude":127101496,"longitude_deg":74.9028544,"latitude_deg":12.7101496,"altitude":8,"angle":169,"satellites":47,"speed":57,"hex_longitude":"2ca544c0","hex_latitude":"07936a38","is_valid_coordinates":true} 
[2026-09-10 20:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,216,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789051960000,"timestamp_ms":1789051960000,"timestamp_seconds":1789051960,"priority":1,"record_length":96,"hex_timestamp":"000001a08bce7ac0"} 
[2026-09-10 20:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:25: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 20:25:15] 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-09-10 20:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"216":206,"27":54016,"24":57,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,27,24,16]} 
[2026-09-10 20:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:15] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-10 20:25:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_216":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-10 20:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":179399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:15] local.INFO: GPS data processed {"connection_id":179399,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:15] local.INFO: Acknowledgment sent {"connection_id":179399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:18] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:25:18] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:25:18] local.INFO: IMEI packet received {"connection_id":176652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":176652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:25:23] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:25:23] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:25:23] local.INFO: IMEI packet received {"connection_id":176652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":176652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:25:24] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcfbef8012d074fc006fc9c980009008b30..."} 
[2026-09-10 20:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcfbef8012d074fc006fc9c980009008b30..."} 
[2026-09-10 20:25:24] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcfbef8012d074fc006fc9c980009008b30..."} 
[2026-09-10 20:25:24] local.INFO: Packet analysis {"connection_id":176652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:25:24] local.INFO: Extracted packet for processing {"connection_id":176652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:25:24] local.INFO: GPS Element Parsed {"raw_longitude":755453888,"raw_latitude":117218456,"longitude_deg":75.5453888,"latitude_deg":11.7218456,"altitude":9,"angle":139,"satellites":48,"speed":35,"hex_longitude":"2d074fc0","hex_latitude":"06fc9c98","is_valid_coordinates":true} 
[2026-09-10 20:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997319936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404682367068798976,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":519954680738582528,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789052043000,"timestamp_ms":1789052043000,"timestamp_seconds":1789052043,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcfbef8"} 
[2026-09-10 20:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:25:24] 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-09-10 20:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997319936001,"66":27365,"232":206,"94":11008,"24":35,"16":404682367068798976,"45":519954680738582528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997319936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:24] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:25:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404682367068798976,"km_value":404682367068799.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":519954680738582528,"description":"Unknown IO ID 45"} 
[2026-09-10 20:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997319936001,"power":27365,"unknown_232":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":519954680738582528}} 
[2026-09-10 20:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":176652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:24] local.INFO: GPS data processed {"connection_id":176652,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:24] local.INFO: Acknowledgment sent {"connection_id":176652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:31] local.INFO: TCP Data received {"connection_id":178015,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:25:31] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:25:31] local.INFO: IMEI packet received {"connection_id":178015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":178015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:25:36] local.INFO: TCP Data received {"connection_id":178015,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:25:36] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:25:36] local.INFO: IMEI packet received {"connection_id":178015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":178015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:25:38] local.INFO: TCP Data received {"connection_id":179400,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:25:38] local.INFO: Processing buffer {"connection_id":179400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:25:38] local.INFO: IMEI packet received {"connection_id":179400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":179400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:25:39] local.INFO: TCP Data received {"connection_id":178015,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:39] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:39] local.INFO: Packet analysis {"connection_id":178015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:25:39] local.INFO: Extracted packet for processing {"connection_id":178015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25: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-09-10 20:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:25:39] 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-09-10 20:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":178015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:39] local.INFO: GPS data processed {"connection_id":178015,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:39] local.INFO: Acknowledgment sent {"connection_id":178015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:42] local.INFO: TCP Data received {"connection_id":178015,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:42] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:25:42] local.INFO: Packet analysis {"connection_id":178015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:25:42] local.INFO: Extracted packet for processing {"connection_id":178015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25: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-09-10 20:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:25:42] 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-09-10 20:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":178015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:42] local.INFO: GPS data processed {"connection_id":178015,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:42] local.INFO: Acknowledgment sent {"connection_id":178015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:43] local.INFO: TCP Data received {"connection_id":179400,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:25:43] local.INFO: Processing buffer {"connection_id":179400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:25:43] local.INFO: IMEI packet received {"connection_id":179400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":179400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:25:44] local.INFO: TCP Data received {"connection_id":179400,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bceccc8012ca55280079312d8000a00b130..."} 
[2026-09-10 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bceccc8012ca55280079312d8000a00b130..."} 
[2026-09-10 20:25:44] local.INFO: Processing buffer {"connection_id":179400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bceccc8012ca55280079312d8000a00b130..."} 
[2026-09-10 20:25:44] local.INFO: Packet analysis {"connection_id":179400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:25:44] local.INFO: Extracted packet for processing {"connection_id":179400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bce"} 
[2026-09-10 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":749032064,"raw_latitude":127079128,"longitude_deg":74.9032064,"latitude_deg":12.7079128,"altitude":10,"angle":177,"satellites":48,"speed":0,"hex_longitude":"2ca55280","hex_latitude":"079312d8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997301760001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6537889620264601600,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789051981000,"timestamp_ms":1789051981000,"timestamp_seconds":1789051981,"priority":1,"record_length":96,"hex_timestamp":"000001a08bceccc8"} 
[2026-09-10 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-09-10 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997301760001,"66":27550,"217":206,"27":54016,"24":0,"16":3893920429768704,"44":-6537889620264601600},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,27,24,16,44]} 
[2026-09-10 20:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997301760001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:44] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-10 20:25:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6537889620264601600,"description":"Unknown IO ID 44"} 
[2026-09-10 20:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997301760001,"power":27550,"unknown_217":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6537889620264601600}} 
[2026-09-10 20:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":179400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:44] local.INFO: GPS data processed {"connection_id":179400,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:44] local.INFO: Acknowledgment sent {"connection_id":179400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:25:55] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcfe608012d07678006fc80e8000a008c30..."} 
[2026-09-10 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcfe608012d07678006fc80e8000a008c30..."} 
[2026-09-10 20:25:55] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcfe608012d07678006fc80e8000a008c30..."} 
[2026-09-10 20:25:55] local.INFO: Packet analysis {"connection_id":176652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:25:55] local.INFO: Extracted packet for processing {"connection_id":176652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755459968,"raw_latitude":117211368,"longitude_deg":75.5459968,"latitude_deg":11.7211368,"altitude":10,"angle":140,"satellites":48,"speed":34,"hex_longitude":"2d076780","hex_latitude":"06fc80e8","is_valid_coordinates":true} 
[2026-09-10 20:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997323008001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404682813745397760,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":526850817666095104,"note":"Value kept but may cause issues"} 
[2026-09-10 20:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789052053000,"timestamp_ms":1789052053000,"timestamp_seconds":1789052053,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcfe608"} 
[2026-09-10 20:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 20:25:55] 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-09-10 20:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997323008001,"66":27321,"232":206,"94":11008,"24":34,"16":404682813745397760,"45":526850817666095104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997323008001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:25:55] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:25:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404682813745397760,"km_value":404682813745397.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":526850817666095104,"description":"Unknown IO ID 45"} 
[2026-09-10 20:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997323008001,"power":27321,"unknown_232":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":526850817666095104}} 
[2026-09-10 20:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":176652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:25:55] local.INFO: GPS data processed {"connection_id":176652,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:25:55] local.INFO: Acknowledgment sent {"connection_id":176652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:26:16] local.INFO: TCP Data received {"connection_id":179400,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcfaf580100000000000000000000000000..."} 
[2026-09-10 20:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcfaf580100000000000000000000000000..."} 
[2026-09-10 20:26:16] local.INFO: Processing buffer {"connection_id":179400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcfaf580100000000000000000000000000..."} 
[2026-09-10 20:26:16] local.INFO: Packet analysis {"connection_id":179400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:26:16] local.INFO: Extracted packet for processing {"connection_id":179400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:26:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997307136001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6534019339340556288,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789052039000,"timestamp_ms":1789052039000,"timestamp_seconds":1789052039,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcfaf58"} 
[2026-09-10 20:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:26: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-09-10 20:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 20:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":179400,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:26:16] local.INFO: GPS data processed {"connection_id":179400,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:26:16] local.INFO: Acknowledgment sent {"connection_id":179400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:26:18] local.INFO: TCP Data received {"connection_id":179401,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:18] local.INFO: Processing buffer {"connection_id":179401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:18] local.INFO: IMEI packet received {"connection_id":179401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":179401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:26:23] local.INFO: TCP Data received {"connection_id":179401,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:23] local.INFO: Processing buffer {"connection_id":179401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:23] local.INFO: IMEI packet received {"connection_id":179401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":179401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:26:26] local.INFO: TCP Data received {"connection_id":179401,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:26] local.INFO: Processing buffer {"connection_id":179401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:26:26] local.INFO: IMEI packet received {"connection_id":179401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":179401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:26:26] local.INFO: TCP Data received {"connection_id":178016,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:26:26] local.INFO: Processing buffer {"connection_id":178016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:26:26] local.INFO: IMEI packet received {"connection_id":178016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":178016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:26:27] local.INFO: TCP Data received {"connection_id":179401,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd01cb8012d077ec006fc6550000f008b31..."} 
[2026-09-10 20:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd01cb8012d077ec006fc6550000f008b31..."} 
[2026-09-10 20:26:27] local.INFO: Processing buffer {"connection_id":179401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd01cb8012d077ec006fc6550000f008b31..."} 
[2026-09-10 20:26:27] local.INFO: Packet analysis {"connection_id":179401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:26:27] local.INFO: Extracted packet for processing {"connection_id":179401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:26:27] local.INFO: GPS Element Parsed {"raw_longitude":755465920,"raw_latitude":117204304,"longitude_deg":75.546592,"latitude_deg":11.7204304,"altitude":15,"angle":139,"satellites":49,"speed":16,"hex_longitude":"2d077ec0","hex_latitude":"06fc6550","is_valid_coordinates":true} 
[2026-09-10 20:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997325568001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404683260421996544,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533535848361158656,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789052067000,"timestamp_ms":1789052067000,"timestamp_seconds":1789052067,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd01cb8"} 
[2026-09-10 20:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:26:27] 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-09-10 20:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":179401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":179401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":179401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997325568001,"66":27213,"232":206,"94":11008,"24":16,"16":404683260421996544,"45":533535848361158656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-10 20:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997325568001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:26:27] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-10 20:26:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404683260421996544,"km_value":404683260421996.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":533535848361158656,"description":"Unknown IO ID 45"} 
[2026-09-10 20:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997325568001,"power":27213,"unknown_232":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":533535848361158656}} 
[2026-09-10 20:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":179401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:26:27] local.INFO: GPS data processed {"connection_id":179401,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:26:27] local.INFO: Acknowledgment sent {"connection_id":179401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:26:29] local.INFO: TCP Data received {"connection_id":179401,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd06ec0012d07958006fc4af80014008c30..."} 
[2026-09-10 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd06ec0012d07958006fc4af80014008c30..."} 
[2026-09-10 20:26:29] local.INFO: Processing buffer {"connection_id":179401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd06ec0012d07958006fc4af80014008c30..."} 
[2026-09-10 20:26:29] local.INFO: Packet analysis {"connection_id":179401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:26:29] local.INFO: Extracted packet for processing {"connection_id":179401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:26:29] local.INFO: GPS Element Parsed {"raw_longitude":755471744,"raw_latitude":117197560,"longitude_deg":75.5471744,"latitude_deg":11.719756,"altitude":20,"angle":140,"satellites":48,"speed":22,"hex_longitude":"2d079580","hex_latitude":"06fc4af8","is_valid_coordinates":true} 
[2026-09-10 20:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997329152001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404683685623758848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":540080141567873024,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789052088000,"timestamp_ms":1789052088000,"timestamp_seconds":1789052088,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd06ec0"} 
[2026-09-10 20:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:26: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-09-10 20:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:26: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-09-10 20:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997329152001,"66":27321,"169":206,"94":11008,"24":22,"16":404683685623758848,"45":540080141567873024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-10 20:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997329152001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:26:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 20:26:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404683685623758848,"km_value":404683685623758.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":540080141567873024,"description":"Unknown IO ID 45"} 
[2026-09-10 20:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997329152001,"power":27321,"unknown_169":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":540080141567873024}} 
[2026-09-10 20:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":179401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:26:29] local.INFO: GPS data processed {"connection_id":179401,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:26:29] local.INFO: Acknowledgment sent {"connection_id":179401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:26:31] local.INFO: TCP Data received {"connection_id":178016,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:26:31] local.INFO: Processing buffer {"connection_id":178016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:26:31] local.INFO: IMEI packet received {"connection_id":178016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":178016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:26:33] local.INFO: TCP Data received {"connection_id":178016,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:26:33] local.INFO: Processing buffer {"connection_id":178016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bccf420012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:26:33] local.INFO: Packet analysis {"connection_id":178016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:26:33] local.INFO: Extracted packet for processing {"connection_id":178016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcc"} 
[2026-09-10 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997199104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789051860000,"timestamp_ms":1789051860000,"timestamp_seconds":1789051860,"priority":1,"record_length":96,"hex_timestamp":"000001a08bccf420"} 
[2026-09-10 20:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997199104001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997199104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:26:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997199104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":178016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:26:33] local.INFO: GPS data processed {"connection_id":178016,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:26:33] local.INFO: Acknowledgment sent {"connection_id":178016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:26:43] local.INFO: TCP Data received {"connection_id":176871,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:26:43] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:26:43] local.INFO: IMEI packet received {"connection_id":176871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:26:48] local.INFO: TCP Data received {"connection_id":176871,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:26:48] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:26:48] local.INFO: IMEI packet received {"connection_id":176871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":176871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:26:50] local.INFO: TCP Data received {"connection_id":176871,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcf3640012ca54a4007926880000f00ad25..."} 
[2026-09-10 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcf3640012ca54a4007926880000f00ad25..."} 
[2026-09-10 20:26:50] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcf3640012ca54a4007926880000f00ad25..."} 
[2026-09-10 20:26:50] local.INFO: Packet analysis {"connection_id":176871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:26:50] local.INFO: Extracted packet for processing {"connection_id":176871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:26:50] local.INFO: GPS Element Parsed {"raw_longitude":749029952,"raw_latitude":127035520,"longitude_deg":74.9029952,"latitude_deg":12.703552,"altitude":15,"angle":173,"satellites":37,"speed":51,"hex_longitude":"2ca54a40","hex_latitude":"07926880","is_valid_coordinates":true} 
[2026-09-10 20:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789052008000,"timestamp_ms":1789052008000,"timestamp_seconds":1789052008,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcf3640"} 
[2026-09-10 20:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:26:50] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:26: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:26:50] 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-09-10 20:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"208":206,"27":54016,"24":51,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16]} 
[2026-09-10 20:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:26:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:26:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:26:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_208":206,"unknown_27":54016,"ignition":51,"odometer":null}} 
[2026-09-10 20:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":176871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:26:50] local.INFO: GPS data processed {"connection_id":176871,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:26:50] local.INFO: Acknowledgment sent {"connection_id":176871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:26:54] local.INFO: TCP Data received {"connection_id":176871,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcf78a8012ca55ec007920fa8000d00a030..."} 
[2026-09-10 20:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcf78a8012ca55ec007920fa8000d00a030..."} 
[2026-09-10 20:26:54] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcf78a8012ca55ec007920fa8000d00a030..."} 
[2026-09-10 20:26:54] local.INFO: Packet analysis {"connection_id":176871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:26:54] local.INFO: Extracted packet for processing {"connection_id":176871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:26:54] local.INFO: GPS Element Parsed {"raw_longitude":749035200,"raw_latitude":127012776,"longitude_deg":74.90352,"latitude_deg":12.7012776,"altitude":13,"angle":160,"satellites":48,"speed":58,"hex_longitude":"2ca55ec0","hex_latitude":"07920fa8","is_valid_coordinates":true} 
[2026-09-10 20:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997314048001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6536341507909582848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789052025000,"timestamp_ms":1789052025000,"timestamp_seconds":1789052025,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcf78a8"} 
[2026-09-10 20:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:26: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-09-10 20: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 20:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997314048001,"66":27441,"208":206,"27":54016,"24":58,"16":3893920429768704,"44":-6536341507909582848},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997314048001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:26:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:26:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:26:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6536341507909582848,"description":"Unknown IO ID 44"} 
[2026-09-10 20:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997314048001,"power":27441,"unknown_208":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6536341507909582848}} 
[2026-09-10 20:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":176871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:26:54] local.INFO: GPS data processed {"connection_id":176871,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:26:54] local.INFO: Acknowledgment sent {"connection_id":176871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:27:00] local.INFO: TCP Data received {"connection_id":179401,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd0a570012d07adc006fc2e780014008b2d..."} 
[2026-09-10 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd0a570012d07adc006fc2e780014008b2d..."} 
[2026-09-10 20:27:00] local.INFO: Processing buffer {"connection_id":179401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd0a570012d07adc006fc2e780014008b2d..."} 
[2026-09-10 20:27:00] local.INFO: Packet analysis {"connection_id":179401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:27:00] local.INFO: Extracted packet for processing {"connection_id":179401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:27:00] local.INFO: GPS Element Parsed {"raw_longitude":755477952,"raw_latitude":117190264,"longitude_deg":75.5477952,"latitude_deg":11.7190264,"altitude":20,"angle":139,"satellites":45,"speed":30,"hex_longitude":"2d07adc0","hex_latitude":"06fc2e78","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997334528001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404684149480226816,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":546483697286313984,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789052102000,"timestamp_ms":1789052102000,"timestamp_seconds":1789052102,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd0a570"} 
[2026-09-10 20:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:27: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-09-10 20: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-09-10 20:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:27: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-09-10 20:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997334528001,"66":27343,"169":206,"94":11008,"24":30,"16":404684149480226816,"45":546483697286313984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-10 20:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997334528001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:27:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 20:27:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404684149480226816,"km_value":404684149480226.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":546483697286313984,"description":"Unknown IO ID 45"} 
[2026-09-10 20:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997334528001,"power":27343,"unknown_169":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":546483697286313984}} 
[2026-09-10 20:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":179401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:27:00] local.INFO: GPS data processed {"connection_id":179401,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:27:00] local.INFO: Acknowledgment sent {"connection_id":179401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:27:06] local.INFO: TCP Data received {"connection_id":178016,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:06] local.INFO: Processing buffer {"connection_id":178016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:06] local.INFO: Packet analysis {"connection_id":178016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:27:06] local.INFO: Extracted packet for processing {"connection_id":178016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:27: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-09-10 20:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":178016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:27:06] local.INFO: GPS data processed {"connection_id":178016,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:27:06] local.INFO: Acknowledgment sent {"connection_id":178016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:27:25] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:25] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:25] local.INFO: IMEI packet received {"connection_id":178017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":178017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:27:26] local.INFO: TCP Data received {"connection_id":176872,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:27:26] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:27:26] local.INFO: IMEI packet received {"connection_id":176872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":176872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:27:26] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:26] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:26] local.INFO: IMEI packet received {"connection_id":178017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":178017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:27:28] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:28] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:27:28] local.INFO: IMEI packet received {"connection_id":178017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":178017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:27:29] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd0f778012d07c24006fc17080010008a30..."} 
[2026-09-10 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd0f778012d07c24006fc17080010008a30..."} 
[2026-09-10 20:27:29] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd0f778012d07c24006fc17080010008a30..."} 
[2026-09-10 20:27:29] local.INFO: Packet analysis {"connection_id":178017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:27:29] local.INFO: Extracted packet for processing {"connection_id":178017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":755483200,"raw_latitude":117184264,"longitude_deg":75.54832,"latitude_deg":11.7184264,"altitude":16,"angle":138,"satellites":48,"speed":3,"hex_longitude":"2d07c240","hex_latitude":"06fc1708","is_valid_coordinates":true} 
[2026-09-10 20:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997338112001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404684531732316160,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":553309465469679616,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789052123000,"timestamp_ms":1789052123000,"timestamp_seconds":1789052123,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd0f778"} 
[2026-09-10 20:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:27: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-09-10 20:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:27: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-09-10 20:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:27: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-09-10 20:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997338112001,"66":27245,"169":206,"94":11008,"24":3,"16":404684531732316160,"45":553309465469679616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-10 20:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997338112001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:27:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 20:27:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404684531732316160,"km_value":404684531732316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":553309465469679616,"description":"Unknown IO ID 45"} 
[2026-09-10 20:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997338112001,"power":27245,"unknown_169":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":553309465469679616}} 
[2026-09-10 20:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":178017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:27:29] local.INFO: GPS data processed {"connection_id":178017,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:27:29] local.INFO: Acknowledgment sent {"connection_id":178017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:27:31] local.INFO: TCP Data received {"connection_id":176872,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:27:31] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:27:31] local.INFO: IMEI packet received {"connection_id":176872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":176872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:27:35] local.INFO: TCP Data received {"connection_id":176872,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:35] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:35] local.INFO: Packet analysis {"connection_id":176872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:27:35] local.INFO: Extracted packet for processing {"connection_id":176872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27: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-09-10 20:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:27:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":176872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:27:35] local.INFO: GPS data processed {"connection_id":176872,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:27:35] local.INFO: Acknowledgment sent {"connection_id":176872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:27:37] local.INFO: TCP Data received {"connection_id":176872,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:37] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:27:37] local.INFO: Packet analysis {"connection_id":176872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:27:37] local.INFO: Extracted packet for processing {"connection_id":176872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27: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-09-10 20:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":176872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:27:37] local.INFO: GPS data processed {"connection_id":176872,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:27:37] local.INFO: Acknowledgment sent {"connection_id":176872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:27:38] local.INFO: TCP Data received {"connection_id":179402,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:27:38] local.INFO: Processing buffer {"connection_id":179402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:27:38] local.INFO: IMEI packet received {"connection_id":179402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":179402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:27:41] local.INFO: TCP Data received {"connection_id":179402,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:27:41] local.INFO: Processing buffer {"connection_id":179402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:27:41] local.INFO: IMEI packet received {"connection_id":179402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":179402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:27:42] local.INFO: TCP Data received {"connection_id":179402,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bcfcab0012ca57c800791b880000a00a532..."} 
[2026-09-10 20:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bcfcab0012ca57c800791b880000a00a532..."} 
[2026-09-10 20:27:42] local.INFO: Processing buffer {"connection_id":179402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bcfcab0012ca57c800791b880000a00a532..."} 
[2026-09-10 20:27:42] local.INFO: Packet analysis {"connection_id":179402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:27:42] local.INFO: Extracted packet for processing {"connection_id":179402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bcf"} 
[2026-09-10 20:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749042816,"raw_latitude":126990464,"longitude_deg":74.9042816,"latitude_deg":12.6990464,"altitude":10,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2ca57c80","hex_latitude":"0791b880","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997318400001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6530571270892836864,"note":"Value kept but may cause issues"} 
[2026-09-10 20:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789052046000,"timestamp_ms":1789052046000,"timestamp_seconds":1789052046,"priority":1,"record_length":96,"hex_timestamp":"000001a08bcfcab0"} 
[2026-09-10 20:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-10 20:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997318400001,"66":27615,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6530571270892836864},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997318400001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:27:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:27:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6530571270892836864,"description":"Unknown IO ID 44"} 
[2026-09-10 20:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997318400001,"power":27615,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6530571270892836864}} 
[2026-09-10 20:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":179402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:27:42] local.INFO: GPS data processed {"connection_id":179402,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:27:42] local.INFO: Acknowledgment sent {"connection_id":179402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:28:08] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd14980012d07c80006fc1050000f008d2f..."} 
[2026-09-10 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd14980012d07c80006fc1050000f008d2f..."} 
[2026-09-10 20:28:08] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd14980012d07c80006fc1050000f008d2f..."} 
[2026-09-10 20:28:08] local.INFO: Packet analysis {"connection_id":178017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:28:08] local.INFO: Extracted packet for processing {"connection_id":178017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:28:08] local.INFO: GPS Element Parsed {"raw_longitude":755484672,"raw_latitude":117182544,"longitude_deg":75.5484672,"latitude_deg":11.7182544,"altitude":15,"angle":141,"satellites":47,"speed":5,"hex_longitude":"2d07c800","hex_latitude":"06fc1050","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997343488001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404684643401465856,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559079702490712064,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789052144000,"timestamp_ms":1789052144000,"timestamp_seconds":1789052144,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd14980"} 
[2026-09-10 20:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20: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-09-10 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:28:08] 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-09-10 20: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-09-10 20:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20: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-09-10 20:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997343488001,"66":27365,"169":206,"94":11008,"24":5,"16":404684643401465856,"45":559079702490712064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-10 20:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997343488001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404684643401465856,"km_value":404684643401465.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":559079702490712064,"description":"Unknown IO ID 45"} 
[2026-09-10 20:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997343488001,"power":27365,"unknown_169":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":559079702490712064}} 
[2026-09-10 20:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":178017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:28:08] local.INFO: GPS data processed {"connection_id":178017,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:28:08] local.INFO: Acknowledgment sent {"connection_id":178017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:28:08] local.INFO: TCP Data received {"connection_id":176872,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:28:08] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:28:08] local.INFO: Packet analysis {"connection_id":176872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:28:08] local.INFO: Extracted packet for processing {"connection_id":176872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28: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-09-10 20:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:28: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-09-10 20: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-09-10 20:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":176872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:28:09] local.INFO: GPS data processed {"connection_id":176872,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:28:09] local.INFO: Acknowledgment sent {"connection_id":176872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:28:13] local.INFO: TCP Data received {"connection_id":179402,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd0ad400100000000000000000000000000..."} 
[2026-09-10 20:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd0ad400100000000000000000000000000..."} 
[2026-09-10 20:28:13] local.INFO: Processing buffer {"connection_id":179402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd0ad400100000000000000000000000000..."} 
[2026-09-10 20:28:13] local.INFO: Packet analysis {"connection_id":179402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:28:13] local.INFO: Extracted packet for processing {"connection_id":179402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:28:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997323776001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6522197390341406720,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789052104000,"timestamp_ms":1789052104000,"timestamp_seconds":1789052104,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd0ad40"} 
[2026-09-10 20:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 20:28:13] 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-09-10 20:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":179402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":179402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":179402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":179402,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:28:13] local.INFO: GPS data processed {"connection_id":179402,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:28:13] local.INFO: Acknowledgment sent {"connection_id":179402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:28:24] local.INFO: TCP Data received {"connection_id":179403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:24] local.INFO: Processing buffer {"connection_id":179403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:24] local.INFO: IMEI packet received {"connection_id":179403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":179403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:28:26] local.INFO: TCP Data received {"connection_id":176873,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:28:26] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:28:26] local.INFO: IMEI packet received {"connection_id":176873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":176873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:28:27] local.INFO: TCP Data received {"connection_id":179403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:27] local.INFO: Processing buffer {"connection_id":179403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:27] local.INFO: IMEI packet received {"connection_id":179403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":179403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:28:28] local.INFO: TCP Data received {"connection_id":179403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:28] local.INFO: Processing buffer {"connection_id":179403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:28] local.INFO: IMEI packet received {"connection_id":179403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":179403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:28:30] local.INFO: TCP Data received {"connection_id":179403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:30] local.INFO: Processing buffer {"connection_id":179403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:28:30] local.INFO: IMEI packet received {"connection_id":179403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":179403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:28:31] local.INFO: TCP Data received {"connection_id":179403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd2b0e0012d0849c006fae260000c00ad2f..."} 
[2026-09-10 20:28:31] local.INFO: TCP Data received {"connection_id":176873,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd2b0e0012d0849c006fae260000c00ad2f..."} 
[2026-09-10 20:28:31] local.INFO: Processing buffer {"connection_id":179403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd2b0e0012d0849c006fae260000c00ad2f..."} 
[2026-09-10 20:28:31] local.INFO: Packet analysis {"connection_id":179403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd2"} 
[2026-09-10 20:28:31] local.INFO: Extracted packet for processing {"connection_id":179403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd2"} 
[2026-09-10 20:28:31] local.INFO: GPS Element Parsed {"raw_longitude":755517888,"raw_latitude":117105248,"longitude_deg":75.5517888,"latitude_deg":11.7105248,"altitude":12,"angle":173,"satellites":47,"speed":60,"hex_longitude":"2d0849c0","hex_latitude":"06fae260","is_valid_coordinates":true} 
[2026-09-10 20:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997370880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404688805224775680,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595671449445144576,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789052236000,"timestamp_ms":1789052236000,"timestamp_seconds":1789052236,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd2b0e0"} 
[2026-09-10 20:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:28: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-09-10 20:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:28:31] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:28:31] local.INFO: IMEI packet received {"connection_id":176873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":176873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997370880001,"66":27300,"171":206,"94":11008,"24":60,"16":404688805224775680,"45":595671449445144576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-10 20:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997370880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:28:31] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 20:28:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404688805224775680,"km_value":404688805224775.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":595671449445144576,"description":"Unknown IO ID 45"} 
[2026-09-10 20:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997370880001,"power":27300,"unknown_171":206,"unknown_94":11008,"ignition":60,"odometer":null,"unknown_45":595671449445144576}} 
[2026-09-10 20:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":179403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:28:31] local.INFO: GPS data processed {"connection_id":179403,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:28:31] local.INFO: Acknowledgment sent {"connection_id":179403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:28:33] local.INFO: TCP Data received {"connection_id":176873,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:28:33] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:28:33] local.INFO: Packet analysis {"connection_id":176873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:28:33] local.INFO: Extracted packet for processing {"connection_id":176873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 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-09-10 20:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:28:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":176873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:28:33] local.INFO: GPS data processed {"connection_id":176873,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:28:33] local.INFO: Acknowledgment sent {"connection_id":176873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:28:35] local.INFO: TCP Data received {"connection_id":179403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd2c850012d084c8006fabf00000b00b12f..."} 
[2026-09-10 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd2c850012d084c8006fabf00000b00b12f..."} 
[2026-09-10 20:28:35] local.INFO: Processing buffer {"connection_id":179403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd2c850012d084c8006fabf00000b00b12f..."} 
[2026-09-10 20:28:35] local.INFO: Packet analysis {"connection_id":179403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd2"} 
[2026-09-10 20:28:35] local.INFO: Extracted packet for processing {"connection_id":179403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd2"} 
[2026-09-10 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":755518592,"raw_latitude":117096192,"longitude_deg":75.5518592,"latitude_deg":11.7096192,"altitude":11,"angle":177,"satellites":47,"speed":59,"hex_longitude":"2d084c80","hex_latitude":"06fabf00","is_valid_coordinates":true} 
[2026-09-10 20:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997372416001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404689243311439872,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":597219561814777856,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789052242000,"timestamp_ms":1789052242000,"timestamp_seconds":1789052242,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd2c850"} 
[2026-09-10 20:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":179403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":179403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":179403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:28: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-09-10 20:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997372416001,"66":27245,"171":206,"94":11008,"24":59,"16":404689243311439872,"45":597219561814777856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-10 20:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997372416001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-10 20:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404689243311439872,"km_value":404689243311439.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":597219561814777856,"description":"Unknown IO ID 45"} 
[2026-09-10 20:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997372416001,"power":27245,"unknown_171":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":597219561814777856}} 
[2026-09-10 20:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":179403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:28:35] local.INFO: GPS data processed {"connection_id":179403,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:28:35] local.INFO: Acknowledgment sent {"connection_id":179403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:28:38] local.INFO: TCP Data received {"connection_id":178018,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:28:38] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:28:38] local.INFO: IMEI packet received {"connection_id":178018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":178018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:28:43] local.INFO: TCP Data received {"connection_id":178018,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:28:43] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:28:43] local.INFO: IMEI packet received {"connection_id":178018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":178018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:28:44] local.INFO: TCP Data received {"connection_id":178018,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd03fe0012ca58e0007913c60000700b232..."} 
[2026-09-10 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd03fe0012ca58e0007913c60000700b232..."} 
[2026-09-10 20:28:44] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd03fe0012ca58e0007913c60000700b232..."} 
[2026-09-10 20:28:44] local.INFO: Packet analysis {"connection_id":178018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:28:44] local.INFO: Extracted packet for processing {"connection_id":178018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:28:44] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:28:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789052076000,"timestamp_ms":1789052076000,"timestamp_seconds":1789052076,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd03fe0"} 
[2026-09-10 20:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"208":206,"27":54016,"24":0,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16]} 
[2026-09-10 20:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:28:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:28:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:28:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27615,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null}} 
[2026-09-10 20:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":178018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:28:45] local.INFO: GPS data processed {"connection_id":178018,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:28:45] local.INFO: Acknowledgment sent {"connection_id":178018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:29:05] local.INFO: TCP Data received {"connection_id":176873,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:05] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:05] local.INFO: Packet analysis {"connection_id":176873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:29:05] local.INFO: Extracted packet for processing {"connection_id":176873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29: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-09-10 20:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 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-09-10 20:29: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-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":176873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:29:05] local.INFO: GPS data processed {"connection_id":176873,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:29:05] local.INFO: Acknowledgment sent {"connection_id":176873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:29:16] local.INFO: TCP Data received {"connection_id":178018,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd091e8012ca58e0007913c60000700b232..."} 
[2026-09-10 20:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd091e8012ca58e0007913c60000700b232..."} 
[2026-09-10 20:29:16] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd091e8012ca58e0007913c60000700b232..."} 
[2026-09-10 20:29:16] local.INFO: Packet analysis {"connection_id":178018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:29:16] local.INFO: Extracted packet for processing {"connection_id":178018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:29:16] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997331456001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789052097000,"timestamp_ms":1789052097000,"timestamp_seconds":1789052097,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd091e8"} 
[2026-09-10 20:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 20:29:16] 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-09-10 20:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997331456001,"66":27604,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997331456001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:29:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:29:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997331456001,"power":27604,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":178018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:29:16] local.INFO: GPS data processed {"connection_id":178018,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:29:16] local.INFO: Acknowledgment sent {"connection_id":178018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:29:18] local.INFO: TCP Data received {"connection_id":179404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:29:18] local.INFO: Processing buffer {"connection_id":179404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:29:18] local.INFO: IMEI packet received {"connection_id":179404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":179404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:29:20] local.INFO: TCP Data received {"connection_id":179404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:29:20] local.INFO: Processing buffer {"connection_id":179404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:29:20] local.INFO: IMEI packet received {"connection_id":179404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":179404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:29:21] local.INFO: TCP Data received {"connection_id":179404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd3ce08012d07f4c006f94678000b00c630..."} 
[2026-09-10 20:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd3ce08012d07f4c006f94678000b00c630..."} 
[2026-09-10 20:29:21] local.INFO: Processing buffer {"connection_id":179404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd3ce08012d07f4c006f94678000b00c630..."} 
[2026-09-10 20:29:21] local.INFO: Packet analysis {"connection_id":179404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd3"} 
[2026-09-10 20:29:21] local.INFO: Extracted packet for processing {"connection_id":179404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd3"} 
[2026-09-10 20:29:21] local.INFO: GPS Element Parsed {"raw_longitude":755496128,"raw_latitude":116999800,"longitude_deg":75.5496128,"latitude_deg":11.69998,"altitude":11,"angle":198,"satellites":48,"speed":59,"hex_longitude":"2d07f4c0","hex_latitude":"06f94678","is_valid_coordinates":true} 
[2026-09-10 20:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997389312001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404694066559713280,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":577094100955465728,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789052309000,"timestamp_ms":1789052309000,"timestamp_seconds":1789052309,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd3ce08"} 
[2026-09-10 20:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:29: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-09-10 20:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 20:29:21] 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-09-10 20:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":179404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":179404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":179404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997389312001,"66":27245,"41":206,"80":6400,"24":59,"16":404694066559713280,"45":577094100955465728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-10 20:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997389312001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:29:21] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-10 20:29:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404694066559713280,"km_value":404694066559713.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":577094100955465728,"description":"Unknown IO ID 45"} 
[2026-09-10 20:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997389312001,"power":27245,"unknown_41":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":577094100955465728}} 
[2026-09-10 20:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":179404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:29:21] local.INFO: GPS data processed {"connection_id":179404,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:29:21] local.INFO: Acknowledgment sent {"connection_id":179404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:29:31] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:29:31] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:29:31] local.INFO: IMEI packet received {"connection_id":176653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":176653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:29:36] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:29:36] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:29:36] local.INFO: IMEI packet received {"connection_id":176653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":176653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:29:38] local.INFO: TCP Data received {"connection_id":176874,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:29:38] local.INFO: Processing buffer {"connection_id":176874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:29:38] local.INFO: IMEI packet received {"connection_id":176874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":176874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:29:38] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:38] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:38] local.INFO: Packet analysis {"connection_id":176653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:29:38] local.INFO: Extracted packet for processing {"connection_id":176653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20: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-09-10 20:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:29: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-09-10 20: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-09-10 20:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":176653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:29:38] local.INFO: GPS data processed {"connection_id":176653,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:29:38] local.INFO: Acknowledgment sent {"connection_id":176653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:29:42] local.INFO: TCP Data received {"connection_id":176653,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:42] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:29:42] local.INFO: Packet analysis {"connection_id":176653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:29:42] local.INFO: Extracted packet for processing {"connection_id":176653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29: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-09-10 20:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:29: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-09-10 20:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:29:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":176653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:29:42] local.INFO: GPS data processed {"connection_id":176653,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:29:42] local.INFO: Acknowledgment sent {"connection_id":176653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:29:43] local.INFO: TCP Data received {"connection_id":176874,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:29:43] local.INFO: Processing buffer {"connection_id":176874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:29:43] local.INFO: IMEI packet received {"connection_id":176874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:29:45] local.INFO: TCP Data received {"connection_id":176874,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd0e3f0012ca58e0007913c60000700b232..."} 
[2026-09-10 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd0e3f0012ca58e0007913c60000700b232..."} 
[2026-09-10 20:29:45] local.INFO: Processing buffer {"connection_id":176874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd0e3f0012ca58e0007913c60000700b232..."} 
[2026-09-10 20:29:45] local.INFO: Packet analysis {"connection_id":176874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:29:45] local.INFO: Extracted packet for processing {"connection_id":176874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd0"} 
[2026-09-10 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997336832001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789052118000,"timestamp_ms":1789052118000,"timestamp_seconds":1789052118,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd0e3f0"} 
[2026-09-10 20:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 20:29:45] 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-09-10 20:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997336832001,"66":27615,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997336832001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:29:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:29:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997336832001,"power":27615,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":176874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:29:45] local.INFO: GPS data processed {"connection_id":176874,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:29:45] local.INFO: Acknowledgment sent {"connection_id":176874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:29:52] local.INFO: TCP Data received {"connection_id":179404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd3e578012d07e94006f92590000d00c72f..."} 
[2026-09-10 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd3e578012d07e94006f92590000d00c72f..."} 
[2026-09-10 20:29:52] local.INFO: Processing buffer {"connection_id":179404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd3e578012d07e94006f92590000d00c72f..."} 
[2026-09-10 20:29:52] local.INFO: Packet analysis {"connection_id":179404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd3"} 
[2026-09-10 20:29:52] local.INFO: Extracted packet for processing {"connection_id":179404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd3"} 
[2026-09-10 20:29:52] local.INFO: GPS Element Parsed {"raw_longitude":755493184,"raw_latitude":116991376,"longitude_deg":75.5493184,"latitude_deg":11.6991376,"altitude":13,"angle":199,"satellites":47,"speed":58,"hex_longitude":"2d07e940","hex_latitude":"06f92590","is_valid_coordinates":true} 
[2026-09-10 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997391104001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404694500351410176,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573294188767377408,"note":"Value kept but may cause issues"} 
[2026-09-10 20:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789052315000,"timestamp_ms":1789052315000,"timestamp_seconds":1789052315,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd3e578"} 
[2026-09-10 20:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:29:52] 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-09-10 20:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":179404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":179404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":179404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997391104001,"66":27234,"41":206,"80":6400,"24":58,"16":404694500351410176,"45":573294188767377408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-10 20:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997391104001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:29:52] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-10 20:29:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404694500351410176,"km_value":404694500351410.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":573294188767377408,"description":"Unknown IO ID 45"} 
[2026-09-10 20:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997391104001,"power":27234,"unknown_41":206,"unknown_80":6400,"ignition":58,"odometer":null,"unknown_45":573294188767377408}} 
[2026-09-10 20:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":179404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:29:52] local.INFO: GPS data processed {"connection_id":179404,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:29:52] local.INFO: Acknowledgment sent {"connection_id":179404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:30:17] local.INFO: TCP Data received {"connection_id":176874,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd135f8012ca58e0007913c60000700b232..."} 
[2026-09-10 20:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd135f8012ca58e0007913c60000700b232..."} 
[2026-09-10 20:30:17] local.INFO: Processing buffer {"connection_id":176874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd135f8012ca58e0007913c60000700b232..."} 
[2026-09-10 20:30:17] local.INFO: Packet analysis {"connection_id":176874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:30:17] local.INFO: Extracted packet for processing {"connection_id":176874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:30:17] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997342208001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789052139000,"timestamp_ms":1789052139000,"timestamp_seconds":1789052139,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd135f8"} 
[2026-09-10 20:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:30: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-09-10 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 20:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997342208001,"66":27343,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997342208001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:30:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:30:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997342208001,"power":27343,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":176874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:30:17] local.INFO: GPS data processed {"connection_id":176874,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:30:17] local.INFO: Acknowledgment sent {"connection_id":176874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:30:22] local.INFO: TCP Data received {"connection_id":179405,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:22] local.INFO: Processing buffer {"connection_id":179405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:22] local.INFO: IMEI packet received {"connection_id":179405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":179405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:30:23] local.INFO: TCP Data received {"connection_id":179405,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:23] local.INFO: Processing buffer {"connection_id":179405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:23] local.INFO: IMEI packet received {"connection_id":179405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":179405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:30:26] local.INFO: TCP Data received {"connection_id":179406,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:30:26] local.INFO: Processing buffer {"connection_id":179406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:30:26] local.INFO: IMEI packet received {"connection_id":179406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":179406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:30:28] local.INFO: TCP Data received {"connection_id":179405,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:28] local.INFO: Processing buffer {"connection_id":179405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:30:28] local.INFO: IMEI packet received {"connection_id":179405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":179405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:30:29] local.INFO: TCP Data received {"connection_id":179405,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd400d0012d07dd0006f8ffb0000f00c42f..."} 
[2026-09-10 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd400d0012d07dd0006f8ffb0000f00c42f..."} 
[2026-09-10 20:30:29] local.INFO: Processing buffer {"connection_id":179405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd400d0012d07dd0006f8ffb0000f00c42f..."} 
[2026-09-10 20:30:29] local.INFO: Packet analysis {"connection_id":179405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd4"} 
[2026-09-10 20:30:29] local.INFO: Extracted packet for processing {"connection_id":179405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd4"} 
[2026-09-10 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":755490048,"raw_latitude":116981680,"longitude_deg":75.5490048,"latitude_deg":11.698168,"altitude":15,"angle":196,"satellites":47,"speed":56,"hex_longitude":"2d07dd00","hex_latitude":"06f8ffb0","is_valid_coordinates":true} 
[2026-09-10 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997392640001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404694989977681920,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":570057226533048320,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789052322000,"timestamp_ms":1789052322000,"timestamp_seconds":1789052322,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd400d0"} 
[2026-09-10 20:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:30: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-09-10 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:30: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-09-10 20:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:30: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-09-10 20:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997392640001,"66":27234,"41":206,"80":6400,"24":56,"16":404694989977681920,"45":570057226533048320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-10 20:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997392640001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:30:29] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-10 20:30:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404694989977681920,"km_value":404694989977681.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":570057226533048320,"description":"Unknown IO ID 45"} 
[2026-09-10 20:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997392640001,"power":27234,"unknown_41":206,"unknown_80":6400,"ignition":56,"odometer":null,"unknown_45":570057226533048320}} 
[2026-09-10 20:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":179405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:30:29] local.INFO: GPS data processed {"connection_id":179405,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:30:29] local.INFO: Acknowledgment sent {"connection_id":179405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:30:31] local.INFO: TCP Data received {"connection_id":179406,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:30:31] local.INFO: Processing buffer {"connection_id":179406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:30:31] local.INFO: IMEI packet received {"connection_id":179406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":179406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:30:33] local.INFO: TCP Data received {"connection_id":179406,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:30:33] local.INFO: Processing buffer {"connection_id":179406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:30:33] local.INFO: Packet analysis {"connection_id":179406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:30:33] local.INFO: Extracted packet for processing {"connection_id":179406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:30:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:30:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":179406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:30:33] local.INFO: GPS data processed {"connection_id":179406,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:30:33] local.INFO: Acknowledgment sent {"connection_id":179406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:30:38] local.INFO: TCP Data received {"connection_id":176875,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:30:38] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:30:38] local.INFO: IMEI packet received {"connection_id":176875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":176875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:30:43] local.INFO: TCP Data received {"connection_id":176875,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:30:43] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:30:43] local.INFO: IMEI packet received {"connection_id":176875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":176875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:30:44] local.INFO: TCP Data received {"connection_id":176875,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18800012ca58e0007913c60000700b232..."} 
[2026-09-10 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18800012ca58e0007913c60000700b232..."} 
[2026-09-10 20:30:44] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18800012ca58e0007913c60000700b232..."} 
[2026-09-10 20:30:44] local.INFO: Packet analysis {"connection_id":176875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:30:44] local.INFO: Extracted packet for processing {"connection_id":176875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997347584001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789052160000,"timestamp_ms":1789052160000,"timestamp_seconds":1789052160,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18800"} 
[2026-09-10 20:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:30:44] 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-09-10 20:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997347584001,"66":27484,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997347584001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:30:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997347584001,"power":27484,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":176875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:30:44] local.INFO: GPS data processed {"connection_id":176875,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:30:44] local.INFO: Acknowledgment sent {"connection_id":176875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:31:00] local.INFO: TCP Data received {"connection_id":179405,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd55890012d07538006f73110001300b62e..."} 
[2026-09-10 20:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd55890012d07538006f73110001300b62e..."} 
[2026-09-10 20:31:00] local.INFO: Processing buffer {"connection_id":179405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd55890012d07538006f73110001300b62e..."} 
[2026-09-10 20:31:00] local.INFO: Packet analysis {"connection_id":179405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:00] local.INFO: Extracted packet for processing {"connection_id":179405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755454848,"raw_latitude":116863248,"longitude_deg":75.5454848,"latitude_deg":11.6863248,"altitude":19,"angle":182,"satellites":46,"speed":51,"hex_longitude":"2d075380","hex_latitude":"06f73110","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997416960001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404700977162092544,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":527906348737826816,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789052410000,"timestamp_ms":1789052410000,"timestamp_seconds":1789052410,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd55890"} 
[2026-09-10 20:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:31: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-09-10 20: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-09-10 20:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:31: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-09-10 20:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997416960001,"66":27321,"42":206,"80":6400,"24":51,"16":404700977162092544,"45":527906348737826816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 20:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997416960001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:31:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 20:31:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404700977162092544,"km_value":404700977162092.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":527906348737826816,"description":"Unknown IO ID 45"} 
[2026-09-10 20:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997416960001,"power":27321,"unknown_42":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":527906348737826816}} 
[2026-09-10 20:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":179405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:31:00] local.INFO: GPS data processed {"connection_id":179405,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:31:00] local.INFO: Acknowledgment sent {"connection_id":179405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:31:04] local.INFO: TCP Data received {"connection_id":179406,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:31:04] local.INFO: Processing buffer {"connection_id":179406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:31:04] local.INFO: Packet analysis {"connection_id":179406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:31:04] local.INFO: Extracted packet for processing {"connection_id":179406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31: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-09-10 20:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:31: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-09-10 20:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":179406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:31:04] local.INFO: GPS data processed {"connection_id":179406,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:31:04] local.INFO: Acknowledgment sent {"connection_id":179406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:31:16] local.INFO: TCP Data received {"connection_id":176875,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd50e58012ca58e0007913c60000700b232..."} 
[2026-09-10 20:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd50e58012ca58e0007913c60000700b232..."} 
[2026-09-10 20:31:16] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd50e58012ca58e0007913c60000700b232..."} 
[2026-09-10 20:31:16] local.INFO: Packet analysis {"connection_id":176875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:16] local.INFO: Extracted packet for processing {"connection_id":176875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997406720001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789052391000,"timestamp_ms":1789052391000,"timestamp_seconds":1789052391,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd50e58"} 
[2026-09-10 20:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-10 20:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997406720001,"66":28071,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997406720001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:31:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:31:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997406720001,"power":28071,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":176875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:31:16] local.INFO: GPS data processed {"connection_id":176875,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:31:16] local.INFO: Acknowledgment sent {"connection_id":176875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:31:18] local.INFO: TCP Data received {"connection_id":179407,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:18] local.INFO: Processing buffer {"connection_id":179407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:18] local.INFO: IMEI packet received {"connection_id":179407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":179407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:31:19] local.INFO: TCP Data received {"connection_id":179407,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:19] local.INFO: Processing buffer {"connection_id":179407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:19] local.INFO: IMEI packet received {"connection_id":179407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":179407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:31:23] local.INFO: TCP Data received {"connection_id":179407,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:23] local.INFO: Processing buffer {"connection_id":179407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:31:23] local.INFO: IMEI packet received {"connection_id":179407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":179407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:31:25] local.INFO: TCP Data received {"connection_id":179407,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd57000012d07554006f71338001400a92f..."} 
[2026-09-10 20:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd57000012d07554006f71338001400a92f..."} 
[2026-09-10 20:31:25] local.INFO: Processing buffer {"connection_id":179407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd57000012d07554006f71338001400a92f..."} 
[2026-09-10 20:31:25] local.INFO: Packet analysis {"connection_id":179407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:25] local.INFO: Extracted packet for processing {"connection_id":179407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:25] local.INFO: GPS Element Parsed {"raw_longitude":755455296,"raw_latitude":116855608,"longitude_deg":75.5455296,"latitude_deg":11.6855608,"altitude":20,"angle":169,"satellites":47,"speed":50,"hex_longitude":"2d075540","hex_latitude":"06f71338","is_valid_coordinates":true} 
[2026-09-10 20:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997416960001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404701350824247296,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":527906348737826816,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789052416000,"timestamp_ms":1789052416000,"timestamp_seconds":1789052416,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd57000"} 
[2026-09-10 20:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:31:25] 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-09-10 20:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997416960001,"66":27267,"42":206,"80":6400,"24":50,"16":404701350824247296,"45":527906348737826816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 20:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997416960001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:31:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 20:31:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404701350824247296,"km_value":404701350824247.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":527906348737826816,"description":"Unknown IO ID 45"} 
[2026-09-10 20:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997416960001,"power":27267,"unknown_42":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":527906348737826816}} 
[2026-09-10 20:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":179407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:31:25] local.INFO: GPS data processed {"connection_id":179407,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:31:25] local.INFO: Acknowledgment sent {"connection_id":179407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:31:26] local.INFO: TCP Data received {"connection_id":176876,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:31:26] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:31:26] local.INFO: IMEI packet received {"connection_id":176876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":176876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:31:31] local.INFO: TCP Data received {"connection_id":176876,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:31:31] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:31:31] local.INFO: IMEI packet received {"connection_id":176876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":176876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:31:33] local.INFO: TCP Data received {"connection_id":176876,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:31:33] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd18be8012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:31:33] local.INFO: Packet analysis {"connection_id":176876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:31:33] local.INFO: Extracted packet for processing {"connection_id":176876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd1"} 
[2026-09-10 20:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997276160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052161000,"timestamp_ms":1789052161000,"timestamp_seconds":1789052161,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd18be8"} 
[2026-09-10 20:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 20:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997276160001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997276160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:31:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997276160001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":176876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:31:33] local.INFO: GPS data processed {"connection_id":176876,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:31:33] local.INFO: Acknowledgment sent {"connection_id":176876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:31:38] local.INFO: TCP Data received {"connection_id":178019,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:31:38] local.INFO: Processing buffer {"connection_id":178019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:31:38] local.INFO: IMEI packet received {"connection_id":178019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":178019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:31:43] local.INFO: TCP Data received {"connection_id":178019,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:31:43] local.INFO: Processing buffer {"connection_id":178019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:31:43] local.INFO: IMEI packet received {"connection_id":178019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":178019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:31:45] local.INFO: TCP Data received {"connection_id":178019,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd56060012ca58e0007913c60000700b232..."} 
[2026-09-10 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd56060012ca58e0007913c60000700b232..."} 
[2026-09-10 20:31:45] local.INFO: Processing buffer {"connection_id":178019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd56060012ca58e0007913c60000700b232..."} 
[2026-09-10 20:31:45] local.INFO: Packet analysis {"connection_id":178019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:45] local.INFO: Extracted packet for processing {"connection_id":178019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997412096001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789052412000,"timestamp_ms":1789052412000,"timestamp_seconds":1789052412,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd56060"} 
[2026-09-10 20:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-10 20:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997412096001,"66":27930,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997412096001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:31:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:31:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997412096001,"power":27930,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":178019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:31:45] local.INFO: GPS data processed {"connection_id":178019,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:31:45] local.INFO: Acknowledgment sent {"connection_id":178019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:31:56] local.INFO: TCP Data received {"connection_id":179407,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd58388012d075c4006f6fb800015009d30..."} 
[2026-09-10 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd58388012d075c4006f6fb800015009d30..."} 
[2026-09-10 20:31:56] local.INFO: Processing buffer {"connection_id":179407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd58388012d075c4006f6fb800015009d30..."} 
[2026-09-10 20:31:56] local.INFO: Packet analysis {"connection_id":179407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:56] local.INFO: Extracted packet for processing {"connection_id":179407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:31:56] local.INFO: GPS Element Parsed {"raw_longitude":755457088,"raw_latitude":116849536,"longitude_deg":75.5457088,"latitude_deg":11.6849536,"altitude":21,"angle":157,"satellites":48,"speed":50,"hex_longitude":"2d075c40","hex_latitude":"06f6fb80","is_valid_coordinates":true} 
[2026-09-10 20:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997418496001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404701655766925312,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":528398929945114624,"note":"Value kept but may cause issues"} 
[2026-09-10 20:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789052421000,"timestamp_ms":1789052421000,"timestamp_seconds":1789052421,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd58388"} 
[2026-09-10 20:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:31: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-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997418496001,"66":27332,"42":206,"80":6400,"24":50,"16":404701655766925312,"45":528398929945114624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 20:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997418496001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:31:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 20:31:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404701655766925312,"km_value":404701655766925.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":528398929945114624,"description":"Unknown IO ID 45"} 
[2026-09-10 20:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997418496001,"power":27332,"unknown_42":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":528398929945114624}} 
[2026-09-10 20:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":179407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:31:56] local.INFO: GPS data processed {"connection_id":179407,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:31:56] local.INFO: Acknowledgment sent {"connection_id":179407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:32:05] local.INFO: TCP Data received {"connection_id":176876,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:05] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:05] local.INFO: Packet analysis {"connection_id":176876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:05] local.INFO: Extracted packet for processing {"connection_id":176876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 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-09-10 20:32: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-09-10 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:32: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-09-10 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-09-10 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-09-10 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":176876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:32:05] local.INFO: GPS data processed {"connection_id":176876,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:32:05] local.INFO: Acknowledgment sent {"connection_id":176876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:32:17] local.INFO: TCP Data received {"connection_id":178019,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd5b268012ca58e0007913c60000700b232..."} 
[2026-09-10 20:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd5b268012ca58e0007913c60000700b232..."} 
[2026-09-10 20:32:17] local.INFO: Processing buffer {"connection_id":178019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd5b268012ca58e0007913c60000700b232..."} 
[2026-09-10 20:32:17] local.INFO: Packet analysis {"connection_id":178019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:32:17] local.INFO: Extracted packet for processing {"connection_id":178019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:32:17] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997417472001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789052433000,"timestamp_ms":1789052433000,"timestamp_seconds":1789052433,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd5b268"} 
[2026-09-10 20:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:32: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-09-10 20: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 20:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997417472001,"66":27876,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997417472001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:32:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:32:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997417472001,"power":27876,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":178019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:32:17] local.INFO: GPS data processed {"connection_id":178019,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:32:17] local.INFO: Acknowledgment sent {"connection_id":178019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:32:18] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:18] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:18] local.INFO: IMEI packet received {"connection_id":176654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":176654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:32:18] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:18] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:18] local.INFO: IMEI packet received {"connection_id":176654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":176654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:32:23] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:23] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:32:23] local.INFO: IMEI packet received {"connection_id":176654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":176654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:32:25] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd59af8012d076a4006f6e0d80015009130..."} 
[2026-09-10 20:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd59af8012d076a4006f6e0d80015009130..."} 
[2026-09-10 20:32:25] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd59af8012d076a4006f6e0d80015009130..."} 
[2026-09-10 20:32:25] local.INFO: Packet analysis {"connection_id":176654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:32:25] local.INFO: Extracted packet for processing {"connection_id":176654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd5"} 
[2026-09-10 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":755460672,"raw_latitude":116842712,"longitude_deg":75.5460672,"latitude_deg":11.6842712,"altitude":21,"angle":145,"satellites":48,"speed":51,"hex_longitude":"2d076a40","hex_latitude":"06f6e0d8","is_valid_coordinates":true} 
[2026-09-10 20:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997419776001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404702029429080064,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":530369254780534784,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789052427000,"timestamp_ms":1789052427000,"timestamp_seconds":1789052427,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd59af8"} 
[2026-09-10 20:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 20:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997419776001,"66":27300,"42":206,"80":6400,"24":51,"16":404702029429080064,"45":530369254780534784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-10 20:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997419776001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:32:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-10 20:32:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404702029429080064,"km_value":404702029429080.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":530369254780534784,"description":"Unknown IO ID 45"} 
[2026-09-10 20:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997419776001,"power":27300,"unknown_42":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":530369254780534784}} 
[2026-09-10 20:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":176654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:32:25] local.INFO: GPS data processed {"connection_id":176654,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:32:25] local.INFO: Acknowledgment sent {"connection_id":176654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:32:31] local.INFO: TCP Data received {"connection_id":178020,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:32:31] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:32:31] local.INFO: IMEI packet received {"connection_id":178020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":178020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:32:36] local.INFO: TCP Data received {"connection_id":178020,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:32:36] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:32:36] local.INFO: IMEI packet received {"connection_id":178020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":178020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:32:37] local.INFO: TCP Data received {"connection_id":178020,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:37] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:37] local.INFO: Packet analysis {"connection_id":178020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:37] local.INFO: Extracted packet for processing {"connection_id":178020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32: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-09-10 20:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:32:37] 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-09-10 20:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:32:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":178020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:32:37] local.INFO: GPS data processed {"connection_id":178020,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:32:37] local.INFO: Acknowledgment sent {"connection_id":178020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:32:38] local.INFO: TCP Data received {"connection_id":178021,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:32:38] local.INFO: Processing buffer {"connection_id":178021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:32:38] local.INFO: IMEI packet received {"connection_id":178021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":178021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:32:42] local.INFO: TCP Data received {"connection_id":178020,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:42] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:32:42] local.INFO: Packet analysis {"connection_id":178020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:42] local.INFO: Extracted packet for processing {"connection_id":178020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32: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-09-10 20:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:32:42] 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-09-10 20: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-09-10 20:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:32:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":178020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:32:42] local.INFO: GPS data processed {"connection_id":178020,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:32:42] local.INFO: Acknowledgment sent {"connection_id":178020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:32:43] local.INFO: TCP Data received {"connection_id":178021,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:32:43] local.INFO: Processing buffer {"connection_id":178021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:32:43] local.INFO: IMEI packet received {"connection_id":178021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":178021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:32:45] local.INFO: TCP Data received {"connection_id":178021,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd60470012ca58e0007913c60000700b232..."} 
[2026-09-10 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd60470012ca58e0007913c60000700b232..."} 
[2026-09-10 20:32:45] local.INFO: Processing buffer {"connection_id":178021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd60470012ca58e0007913c60000700b232..."} 
[2026-09-10 20:32:45] local.INFO: Packet analysis {"connection_id":178021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:45] local.INFO: Extracted packet for processing {"connection_id":178021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997422848001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789052454000,"timestamp_ms":1789052454000,"timestamp_seconds":1789052454,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd60470"} 
[2026-09-10 20:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-10 20:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997422848001,"66":27930,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997422848001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:32:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:32:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997422848001,"power":27930,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":178021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:32:45] local.INFO: GPS data processed {"connection_id":178021,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:32:45] local.INFO: Acknowledgment sent {"connection_id":178021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:32:56] local.INFO: TCP Data received {"connection_id":176654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd70a28012d089e0006f56850000900912f..."} 
[2026-09-10 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd70a28012d089e0006f56850000900912f..."} 
[2026-09-10 20:32:56] local.INFO: Processing buffer {"connection_id":176654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd70a28012d089e0006f56850000900912f..."} 
[2026-09-10 20:32:56] local.INFO: Packet analysis {"connection_id":176654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:32:56] local.INFO: Extracted packet for processing {"connection_id":176654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:32:56] local.INFO: GPS Element Parsed {"raw_longitude":755539456,"raw_latitude":116746320,"longitude_deg":75.5539456,"latitude_deg":11.674632,"altitude":9,"angle":145,"satellites":47,"speed":43,"hex_longitude":"2d089e00","hex_latitude":"06f56850","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997443584001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404708020908457984,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":615163591490066432,"note":"Value kept but may cause issues"} 
[2026-09-10 20:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789052521000,"timestamp_ms":1789052521000,"timestamp_seconds":1789052521,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd70a28"} 
[2026-09-10 20:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 20:32:56] 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-09-10 20: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-09-10 20:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997443584001,"66":27343,"12":206,"80":6400,"24":43,"16":404708020908457984,"45":615163591490066432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 20:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997443584001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:32:56] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 20:32:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404708020908457984,"km_value":404708020908458.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":615163591490066432,"description":"Unknown IO ID 45"} 
[2026-09-10 20:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997443584001,"power":27343,"unknown_12":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":615163591490066432}} 
[2026-09-10 20:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":176654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:32:56] local.INFO: GPS data processed {"connection_id":176654,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:32:56] local.INFO: Acknowledgment sent {"connection_id":176654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:33:17] local.INFO: TCP Data received {"connection_id":178021,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd65678012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd65678012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:17] local.INFO: Processing buffer {"connection_id":178021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd65678012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:17] local.INFO: Packet analysis {"connection_id":178021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:17] local.INFO: Extracted packet for processing {"connection_id":178021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:17] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997428224001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789052475000,"timestamp_ms":1789052475000,"timestamp_seconds":1789052475,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd65678"} 
[2026-09-10 20:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:33: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-09-10 20:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-10 20:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997428224001,"66":27887,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997428224001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:33:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:33:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:33:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997428224001,"power":27887,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":178021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:33:17] local.INFO: GPS data processed {"connection_id":178021,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:33:17] local.INFO: Acknowledgment sent {"connection_id":178021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:33:25] local.INFO: TCP Data received {"connection_id":179408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:33:25] local.INFO: Processing buffer {"connection_id":179408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:33:25] local.INFO: IMEI packet received {"connection_id":179408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":179408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:33:26] local.INFO: TCP Data received {"connection_id":179408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:33:26] local.INFO: Processing buffer {"connection_id":179408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:33:26] local.INFO: IMEI packet received {"connection_id":179408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":179408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:33:29] local.INFO: TCP Data received {"connection_id":178022,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:29] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:29] local.INFO: IMEI packet received {"connection_id":178022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":178022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:33:30] local.INFO: TCP Data received {"connection_id":179408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd73138012d08b14006f54bf8000a009c30..."} 
[2026-09-10 20:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd73138012d08b14006f54bf8000a009c30..."} 
[2026-09-10 20:33:30] local.INFO: Processing buffer {"connection_id":179408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd73138012d08b14006f54bf8000a009c30..."} 
[2026-09-10 20:33:30] local.INFO: Packet analysis {"connection_id":179408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:33:30] local.INFO: Extracted packet for processing {"connection_id":179408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":755544384,"raw_latitude":116739064,"longitude_deg":75.5544384,"latitude_deg":11.6739064,"altitude":10,"angle":156,"satellites":48,"speed":22,"hex_longitude":"2d08b140","hex_latitude":"06f54bf8","is_valid_coordinates":true} 
[2026-09-10 20:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997445376001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404708441815252992,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":620933828510765056,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789052531000,"timestamp_ms":1789052531000,"timestamp_seconds":1789052531,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd73138"} 
[2026-09-10 20:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:33: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-09-10 20:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997445376001,"66":27213,"12":206,"80":6400,"24":22,"16":404708441815252992,"45":620933828510765056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 20:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997445376001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:33:30] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 20:33:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404708441815252992,"km_value":404708441815253.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":620933828510765056,"description":"Unknown IO ID 45"} 
[2026-09-10 20:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997445376001,"power":27213,"unknown_12":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":620933828510765056}} 
[2026-09-10 20:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":179408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:33:30] local.INFO: GPS data processed {"connection_id":179408,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:33:30] local.INFO: Acknowledgment sent {"connection_id":179408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:33:31] local.INFO: TCP Data received {"connection_id":178022,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:31] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:31] local.INFO: IMEI packet received {"connection_id":178022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":178022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:33:34] local.INFO: TCP Data received {"connection_id":179408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd73cf0012d08b24006f547a8000a00aa30..."} 
[2026-09-10 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd73cf0012d08b24006f547a8000a00aa30..."} 
[2026-09-10 20:33:34] local.INFO: Processing buffer {"connection_id":179408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd73cf0012d08b24006f547a8000a00aa30..."} 
[2026-09-10 20:33:34] local.INFO: Packet analysis {"connection_id":179408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:33:34] local.INFO: Extracted packet for processing {"connection_id":179408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":755544640,"raw_latitude":116737960,"longitude_deg":75.554464,"latitude_deg":11.673796,"altitude":10,"angle":170,"satellites":48,"speed":12,"hex_longitude":"2d08b240","hex_latitude":"06f547a8","is_valid_coordinates":true} 
[2026-09-10 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997447936001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404708497649827840,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626352221810587648,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789052534000,"timestamp_ms":1789052534000,"timestamp_seconds":1789052534,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd73cf0"} 
[2026-09-10 20:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:33: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-09-10 20:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:33: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-09-10 20:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997447936001,"66":27267,"12":206,"80":6400,"24":12,"16":404708497649827840,"45":626352221810587648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 20:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997447936001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:33:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 20:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404708497649827840,"km_value":404708497649827.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":626352221810587648,"description":"Unknown IO ID 45"} 
[2026-09-10 20:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997447936001,"power":27267,"unknown_12":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":626352221810587648}} 
[2026-09-10 20:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":179408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:33:34] local.INFO: GPS data processed {"connection_id":179408,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:33:34] local.INFO: Acknowledgment sent {"connection_id":179408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:33:36] local.INFO: TCP Data received {"connection_id":178022,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:36] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:33:36] local.INFO: IMEI packet received {"connection_id":178022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":178022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:33:38] local.INFO: TCP Data received {"connection_id":178022,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:33:38] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:33:38] local.INFO: Packet analysis {"connection_id":178022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:38] local.INFO: Extracted packet for processing {"connection_id":178022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33: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-09-10 20:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:33: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-09-10 20: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-09-10 20:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:33:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":178022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:33:38] local.INFO: GPS data processed {"connection_id":178022,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:33:38] local.INFO: Acknowledgment sent {"connection_id":178022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:33:43] local.INFO: TCP Data received {"connection_id":176877,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:43] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:43] local.INFO: IMEI packet received {"connection_id":176877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":176877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:33:43] local.INFO: TCP Data received {"connection_id":176877,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:43] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:43] local.INFO: IMEI packet received {"connection_id":176877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":176877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:33:48] local.INFO: TCP Data received {"connection_id":176877,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:48] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:33:48] local.INFO: IMEI packet received {"connection_id":176877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":176877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:33:50] local.INFO: TCP Data received {"connection_id":176877,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd6a880012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd6a880012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:50] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd6a880012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:50] local.INFO: Packet analysis {"connection_id":176877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:50] local.INFO: Extracted packet for processing {"connection_id":176877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:50] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997433600001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789052496000,"timestamp_ms":1789052496000,"timestamp_seconds":1789052496,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd6a880"} 
[2026-09-10 20:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:33: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-09-10 20: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-10 20:33:50] 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-09-10 20:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997433600001,"66":27908,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997433600001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:33:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:33:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997433600001,"power":27908,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":176877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:33:50] local.INFO: GPS data processed {"connection_id":176877,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:33:50] local.INFO: Acknowledgment sent {"connection_id":176877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:33:56] local.INFO: TCP Data received {"connection_id":176877,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd6fa88012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd6fa88012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:56] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd6fa88012ca58e0007913c60000700b232..."} 
[2026-09-10 20:33:56] local.INFO: Packet analysis {"connection_id":176877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:56] local.INFO: Extracted packet for processing {"connection_id":176877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:33:56] local.INFO: GPS Element Parsed {"raw_longitude":749047296,"raw_latitude":126958688,"longitude_deg":74.9047296,"latitude_deg":12.6958688,"altitude":7,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2ca58e00","hex_latitude":"07913c60","is_valid_coordinates":true} 
[2026-09-10 20:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997438976001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789052517000,"timestamp_ms":1789052517000,"timestamp_seconds":1789052517,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd6fa88"} 
[2026-09-10 20:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-10 20:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997438976001,"66":27615,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6517271578257104896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997438976001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:33:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:33:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6517271578257104896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997438976001,"power":27615,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6517271578257104896}} 
[2026-09-10 20:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":176877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:33:56] local.INFO: GPS data processed {"connection_id":176877,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:33:56] local.INFO: Acknowledgment sent {"connection_id":176877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:34:10] local.INFO: TCP Data received {"connection_id":178022,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:34:10] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:34:10] local.INFO: Packet analysis {"connection_id":178022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:34:10] local.INFO: Extracted packet for processing {"connection_id":178022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34: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-09-10 20:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:34: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-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:34: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-09-10 20:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":178022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":178022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":178022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:34:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":178022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:34:10] local.INFO: GPS data processed {"connection_id":178022,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:34:10] local.INFO: Acknowledgment sent {"connection_id":178022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:34:18] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:34:18] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:34:18] local.INFO: IMEI packet received {"connection_id":176655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":176655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:34:23] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:34:23] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:34:23] local.INFO: IMEI packet received {"connection_id":176655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":176655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:34:24] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd75078012d08b3c006f54080000b009830..."} 
[2026-09-10 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd75078012d08b3c006f54080000b009830..."} 
[2026-09-10 20:34:24] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd75078012d08b3c006f54080000b009830..."} 
[2026-09-10 20:34:24] local.INFO: Packet analysis {"connection_id":176655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:34:24] local.INFO: Extracted packet for processing {"connection_id":176655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:34:24] local.INFO: GPS Element Parsed {"raw_longitude":755545024,"raw_latitude":116736128,"longitude_deg":75.5545024,"latitude_deg":11.6736128,"altitude":11,"angle":152,"satellites":48,"speed":18,"hex_longitude":"2d08b3c0","hex_latitude":"06f54080","is_valid_coordinates":true} 
[2026-09-10 20:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997448704001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404708592139108352,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626633696787015680,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789052539000,"timestamp_ms":1789052539000,"timestamp_seconds":1789052539,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd75078"} 
[2026-09-10 20:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:34: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-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997448704001,"66":27267,"12":206,"80":6400,"24":18,"16":404708592139108352,"45":626633696787015680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-10 20:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997448704001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:34:24] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-10 20:34:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404708592139108352,"km_value":404708592139108.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":626633696787015680,"description":"Unknown IO ID 45"} 
[2026-09-10 20:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997448704001,"power":27267,"unknown_12":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":626633696787015680}} 
[2026-09-10 20:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":176655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:34:24] local.INFO: GPS data processed {"connection_id":176655,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:34:24] local.INFO: Acknowledgment sent {"connection_id":176655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:34:26] local.INFO: TCP Data received {"connection_id":176878,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:34:26] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:34:26] local.INFO: IMEI packet received {"connection_id":176878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":176878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:34:31] local.INFO: TCP Data received {"connection_id":176878,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:34:31] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:34:31] local.INFO: IMEI packet received {"connection_id":176878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":176878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:34:33] local.INFO: TCP Data received {"connection_id":176878,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:34:33] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:34:33] local.INFO: Packet analysis {"connection_id":176878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:34:33] local.INFO: Extracted packet for processing {"connection_id":176878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:34:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":176878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:34:33] local.INFO: GPS data processed {"connection_id":176878,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:34:33] local.INFO: Acknowledgment sent {"connection_id":176878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:34:38] local.INFO: TCP Data received {"connection_id":176656,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:34:38] local.INFO: Processing buffer {"connection_id":176656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:34:38] local.INFO: IMEI packet received {"connection_id":176656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":176656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:34:41] local.INFO: TCP Data received {"connection_id":176656,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:34:41] local.INFO: Processing buffer {"connection_id":176656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:34:41] local.INFO: IMEI packet received {"connection_id":176656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:34:42] local.INFO: TCP Data received {"connection_id":176656,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd7dd180100000000000000000000000000..."} 
[2026-09-10 20:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd7dd180100000000000000000000000000..."} 
[2026-09-10 20:34:42] local.INFO: Processing buffer {"connection_id":176656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd7dd180100000000000000000000000000..."} 
[2026-09-10 20:34:42] local.INFO: Packet analysis {"connection_id":176656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:34:42] local.INFO: Extracted packet for processing {"connection_id":176656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:34:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997444352001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6517271578257104896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789052575000,"timestamp_ms":1789052575000,"timestamp_seconds":1789052575,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd7dd18"} 
[2026-09-10 20:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:34: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-09-10 20:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 20:34: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-09-10 20:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":176656,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:34:42] local.INFO: GPS data processed {"connection_id":176656,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:34:42] local.INFO: Acknowledgment sent {"connection_id":176656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:34:57] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd8c778012d095a8006f46618000b00a12f..."} 
[2026-09-10 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd8c778012d095a8006f46618000b00a12f..."} 
[2026-09-10 20:34:57] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd8c778012d095a8006f46618000b00a12f..."} 
[2026-09-10 20:34:57] local.INFO: Packet analysis {"connection_id":176655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:34:57] local.INFO: Extracted packet for processing {"connection_id":176655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:34:57] local.INFO: GPS Element Parsed {"raw_longitude":755587712,"raw_latitude":116680216,"longitude_deg":75.5587712,"latitude_deg":11.6680216,"altitude":11,"angle":161,"satellites":47,"speed":35,"hex_longitude":"2d095a80","hex_latitude":"06f46618","is_valid_coordinates":true} 
[2026-09-10 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997472000001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404712002343141376,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":670051211932028928,"note":"Value kept but may cause issues"} 
[2026-09-10 20:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789052635000,"timestamp_ms":1789052635000,"timestamp_seconds":1789052635,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd8c778"} 
[2026-09-10 20:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 20:34:57] 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-09-10 20:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997472000001,"66":27300,"81":206,"80":6400,"24":35,"16":404712002343141376,"45":670051211932028928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-10 20:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997472000001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:34:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 20:34:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404712002343141376,"km_value":404712002343141.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":670051211932028928,"description":"Unknown IO ID 45"} 
[2026-09-10 20:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997472000001,"power":27300,"unknown_81":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":670051211932028928}} 
[2026-09-10 20:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":176655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:34:57] local.INFO: GPS data processed {"connection_id":176655,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:34:57] local.INFO: Acknowledgment sent {"connection_id":176655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:35:05] local.INFO: TCP Data received {"connection_id":176878,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:35:05] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:35:05] local.INFO: Packet analysis {"connection_id":176878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:35:05] local.INFO: Extracted packet for processing {"connection_id":176878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 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-09-10 20:35: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-09-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:35: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-09-10 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-09-10 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-09-10 20:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":176878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:35:05] local.INFO: GPS data processed {"connection_id":176878,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:35:05] local.INFO: Acknowledgment sent {"connection_id":176878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:35:14] local.INFO: TCP Data received {"connection_id":176656,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd76018012ca5920007910138000700b02e..."} 
[2026-09-10 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd76018012ca5920007910138000700b02e..."} 
[2026-09-10 20:35:14] local.INFO: Processing buffer {"connection_id":176656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd76018012ca5920007910138000700b02e..."} 
[2026-09-10 20:35:14] local.INFO: Packet analysis {"connection_id":176656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:35:14] local.INFO: Extracted packet for processing {"connection_id":176656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":749048320,"raw_latitude":126943544,"longitude_deg":74.904832,"latitude_deg":12.6943544,"altitude":7,"angle":176,"satellites":46,"speed":32,"hex_longitude":"2ca59200","hex_latitude":"07910138","is_valid_coordinates":true} 
[2026-09-10 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789052543000,"timestamp_ms":1789052543000,"timestamp_seconds":1789052543,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd76018"} 
[2026-09-10 20:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:35: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 20:35:14] 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-09-10 20:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"208":206,"27":54016,"24":32,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16]} 
[2026-09-10 20:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:35:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:35:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:35:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_208":206,"unknown_27":54016,"ignition":32,"odometer":null}} 
[2026-09-10 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":176656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:35:14] local.INFO: GPS data processed {"connection_id":176656,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:35:14] local.INFO: Acknowledgment sent {"connection_id":176656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:35:19] local.INFO: TCP Data received {"connection_id":179409,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:35:19] local.INFO: Processing buffer {"connection_id":179409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:35:19] local.INFO: IMEI packet received {"connection_id":179409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":179409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:35:23] local.INFO: TCP Data received {"connection_id":179409,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:35:23] local.INFO: Processing buffer {"connection_id":179409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:35:23] local.INFO: IMEI packet received {"connection_id":179409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":179409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:35:25] local.INFO: TCP Data received {"connection_id":179409,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd8eaa0012d09658006f44270000b00a32f..."} 
[2026-09-10 20:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd8eaa0012d09658006f44270000b00a32f..."} 
[2026-09-10 20:35:25] local.INFO: Processing buffer {"connection_id":179409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd8eaa0012d09658006f44270000b00a32f..."} 
[2026-09-10 20:35:25] local.INFO: Packet analysis {"connection_id":179409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:35:25] local.INFO: Extracted packet for processing {"connection_id":179409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":755590528,"raw_latitude":116671088,"longitude_deg":75.5590528,"latitude_deg":11.6671088,"altitude":11,"angle":163,"satellites":47,"speed":45,"hex_longitude":"2d096580","hex_latitude":"06f44270","is_valid_coordinates":true} 
[2026-09-10 20:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997474560001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404712466199609344,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":673991861603801088,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789052644000,"timestamp_ms":1789052644000,"timestamp_seconds":1789052644,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd8eaa0"} 
[2026-09-10 20:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:35: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-09-10 20:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997474560001,"66":27234,"81":206,"80":6400,"24":45,"16":404712466199609344,"45":673991861603801088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-10 20:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997474560001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 20:35:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404712466199609344,"km_value":404712466199609.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":673991861603801088,"description":"Unknown IO ID 45"} 
[2026-09-10 20:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997474560001,"power":27234,"unknown_81":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":673991861603801088}} 
[2026-09-10 20:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":179409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:35:25] local.INFO: GPS data processed {"connection_id":179409,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:35:25] local.INFO: Acknowledgment sent {"connection_id":179409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:35:26] local.INFO: TCP Data received {"connection_id":176657,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:35:26] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:35:26] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:35:31] local.INFO: TCP Data received {"connection_id":176657,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:35:31] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:35:31] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:35:33] local.INFO: TCP Data received {"connection_id":176657,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:35:33] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:35:33] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:35:33] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:35:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:35:33] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:35:33] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:35:38] local.INFO: TCP Data received {"connection_id":179410,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:38] local.INFO: Processing buffer {"connection_id":179410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:38] local.INFO: IMEI packet received {"connection_id":179410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":179410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:35:40] local.INFO: TCP Data received {"connection_id":179410,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:40] local.INFO: Processing buffer {"connection_id":179410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:40] local.INFO: IMEI packet received {"connection_id":179410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":179410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:35:43] local.INFO: TCP Data received {"connection_id":179410,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:44] local.INFO: Processing buffer {"connection_id":179410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:35:44] local.INFO: IMEI packet received {"connection_id":179410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":179410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:35:45] local.INFO: TCP Data received {"connection_id":179410,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd7b220012ca595c00790b788000500b430..."} 
[2026-09-10 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd7b220012ca595c00790b788000500b430..."} 
[2026-09-10 20:35:45] local.INFO: Processing buffer {"connection_id":179410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd7b220012ca595c00790b788000500b430..."} 
[2026-09-10 20:35:45] local.INFO: Packet analysis {"connection_id":179410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:35:45] local.INFO: Extracted packet for processing {"connection_id":179410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd7"} 
[2026-09-10 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":749049280,"raw_latitude":126924680,"longitude_deg":74.904928,"latitude_deg":12.692468,"altitude":5,"angle":180,"satellites":48,"speed":0,"hex_longitude":"2ca595c0","hex_latitude":"0790b788","is_valid_coordinates":true} 
[2026-09-10 20:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997451008001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6516145678354139136,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789052564000,"timestamp_ms":1789052564000,"timestamp_seconds":1789052564,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd7b220"} 
[2026-09-10 20:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:35:45] 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-09-10 20:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":179410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":179410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":179410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997451008001,"66":27604,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6516145678354139136},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997451008001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:35:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:35:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6516145678354139136,"description":"Unknown IO ID 44"} 
[2026-09-10 20:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997451008001,"power":27604,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6516145678354139136}} 
[2026-09-10 20:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":179410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:35:45] local.INFO: GPS data processed {"connection_id":179410,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:35:45] local.INFO: Acknowledgment sent {"connection_id":179410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:35:49] local.INFO: TCP Data received {"connection_id":179410,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd894b00100000000000000000000000000..."} 
[2026-09-10 20:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd894b00100000000000000000000000000..."} 
[2026-09-10 20:35:49] local.INFO: Processing buffer {"connection_id":179410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd894b00100000000000000000000000000..."} 
[2026-09-10 20:35:49] local.INFO: Packet analysis {"connection_id":179410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:35:49] local.INFO: Extracted packet for processing {"connection_id":179410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:35:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997456384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6515090147196303360,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789052622000,"timestamp_ms":1789052622000,"timestamp_seconds":1789052622,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd894b0"} 
[2026-09-10 20:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:35: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-09-10 20:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 20:35:49] 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-09-10 20:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":179410,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:35:49] local.INFO: GPS data processed {"connection_id":179410,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:35:49] local.INFO: Acknowledgment sent {"connection_id":179410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:35:56] local.INFO: TCP Data received {"connection_id":179409,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd909e0012d09708006f41d98000c00a331..."} 
[2026-09-10 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd909e0012d09708006f41d98000c00a331..."} 
[2026-09-10 20:35:56] local.INFO: Processing buffer {"connection_id":179409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd909e0012d09708006f41d98000c00a331..."} 
[2026-09-10 20:35:56] local.INFO: Packet analysis {"connection_id":179409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:35:56] local.INFO: Extracted packet for processing {"connection_id":179409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":755593344,"raw_latitude":116661656,"longitude_deg":75.5593344,"latitude_deg":11.6661656,"altitude":12,"angle":163,"satellites":49,"speed":51,"hex_longitude":"2d097080","hex_latitude":"06f41d98","is_valid_coordinates":true} 
[2026-09-10 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997476864001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404712942940979200,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":677088086345281536,"note":"Value kept but may cause issues"} 
[2026-09-10 20:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789052652000,"timestamp_ms":1789052652000,"timestamp_seconds":1789052652,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd909e0"} 
[2026-09-10 20:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:35:56] 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-09-10 20:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997476864001,"66":27267,"81":206,"80":6400,"24":51,"16":404712942940979200,"45":677088086345281536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-10 20:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997476864001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 20:35:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404712942940979200,"km_value":404712942940979.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":677088086345281536,"description":"Unknown IO ID 45"} 
[2026-09-10 20:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997476864001,"power":27267,"unknown_81":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":677088086345281536}} 
[2026-09-10 20:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":179409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:35:56] local.INFO: GPS data processed {"connection_id":179409,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:35:56] local.INFO: Acknowledgment sent {"connection_id":179409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:36:05] local.INFO: TCP Data received {"connection_id":176657,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:05] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:05] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:36:05] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36: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-09-10 20:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 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-09-10 20:36: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-09-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:36: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-09-10 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-09-10 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-09-10 20:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:36:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:36:05] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:36:05] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:36:20] local.INFO: TCP Data received {"connection_id":179410,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd82b38012ca5858007901228000300c02f..."} 
[2026-09-10 20:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd82b38012ca5858007901228000300c02f..."} 
[2026-09-10 20:36:20] local.INFO: Processing buffer {"connection_id":179410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd82b38012ca5858007901228000300c02f..."} 
[2026-09-10 20:36:20] local.INFO: Packet analysis {"connection_id":179410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:36:20] local.INFO: Extracted packet for processing {"connection_id":179410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:36:20] local.INFO: GPS Element Parsed {"raw_longitude":749045120,"raw_latitude":126882344,"longitude_deg":74.904512,"latitude_deg":12.6882344,"altitude":3,"angle":192,"satellites":47,"speed":54,"hex_longitude":"2ca58580","hex_latitude":"07901228","is_valid_coordinates":true} 
[2026-09-10 20:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789052595000,"timestamp_ms":1789052595000,"timestamp_seconds":1789052595,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd82b38"} 
[2026-09-10 20:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:36: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 20:36:20] 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-09-10 20:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":179410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":179410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":179410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27376,"208":206,"27":54016,"24":54,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16]} 
[2026-09-10 20:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:36:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:36:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:36:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27376,"unknown_208":206,"unknown_27":54016,"ignition":54,"odometer":null}} 
[2026-09-10 20:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":179410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:36:20] local.INFO: GPS data processed {"connection_id":179410,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:36:20] local.INFO: Acknowledgment sent {"connection_id":179410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:36:21] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:21] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:21] local.INFO: IMEI packet received {"connection_id":176658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":176658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:36:23] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:23] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:23] local.INFO: IMEI packet received {"connection_id":176658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":176658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:36:28] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:28] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:36:28] local.INFO: IMEI packet received {"connection_id":176658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":176658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:36:30] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd92920012d097b8006f3fb88000c00a12f..."} 
[2026-09-10 20:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd92920012d097b8006f3fb88000c00a12f..."} 
[2026-09-10 20:36:30] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd92920012d097b8006f3fb88000c00a12f..."} 
[2026-09-10 20:36:30] local.INFO: Packet analysis {"connection_id":176658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:36:30] local.INFO: Extracted packet for processing {"connection_id":176658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:36:30] local.INFO: GPS Element Parsed {"raw_longitude":755596160,"raw_latitude":116652936,"longitude_deg":75.559616,"latitude_deg":11.6652936,"altitude":12,"angle":161,"satellites":47,"speed":35,"hex_longitude":"2d097b80","hex_latitude":"06f3fb88","is_valid_coordinates":true} 
[2026-09-10 20:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997478912001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404713385322610688,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":680184311086684160,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789052660000,"timestamp_ms":1789052660000,"timestamp_seconds":1789052660,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd92920"} 
[2026-09-10 20:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997478912001,"66":27321,"81":206,"80":6400,"24":35,"16":404713385322610688,"45":680184311086684160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-10 20:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997478912001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 20:36:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404713385322610688,"km_value":404713385322610.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":680184311086684160,"description":"Unknown IO ID 45"} 
[2026-09-10 20:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997478912001,"power":27321,"unknown_81":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":680184311086684160}} 
[2026-09-10 20:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":176658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:36:30] local.INFO: GPS data processed {"connection_id":176658,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:36:30] local.INFO: Acknowledgment sent {"connection_id":176658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:36:31] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:36:31] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:36:31] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:36:32] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd95800012d09860006f3d858000f00a330..."} 
[2026-09-10 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd95800012d09860006f3d858000f00a330..."} 
[2026-09-10 20:36:32] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd95800012d09860006f3d858000f00a330..."} 
[2026-09-10 20:36:32] local.INFO: Packet analysis {"connection_id":176658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:36:32] local.INFO: Extracted packet for processing {"connection_id":176658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":755598848,"raw_latitude":116643928,"longitude_deg":75.5598848,"latitude_deg":11.6643928,"altitude":15,"angle":163,"satellites":48,"speed":30,"hex_longitude":"2d098600","hex_latitude":"06f3d858","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997480960001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404713840589144064,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":683280535828269056,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789052672000,"timestamp_ms":1789052672000,"timestamp_seconds":1789052672,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd95800"} 
[2026-09-10 20:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:36: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-09-10 20: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-09-10 20:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:36: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-09-10 20:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997480960001,"66":27332,"81":206,"80":6400,"24":30,"16":404713840589144064,"45":683280535828269056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-10 20:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997480960001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-10 20:36:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404713840589144064,"km_value":404713840589144.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":683280535828269056,"description":"Unknown IO ID 45"} 
[2026-09-10 20:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997480960001,"power":27332,"unknown_81":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":683280535828269056}} 
[2026-09-10 20:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":176658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:36:32] local.INFO: GPS data processed {"connection_id":176658,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:36:32] local.INFO: Acknowledgment sent {"connection_id":176658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:36:36] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:36:36] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:36:36] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:36:38] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:38] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:38] local.INFO: Packet analysis {"connection_id":176659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:36:38] local.INFO: Extracted packet for processing {"connection_id":176659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36: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-09-10 20:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:36: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-09-10 20: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-09-10 20:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:36:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":176659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:36:38] local.INFO: GPS data processed {"connection_id":176659,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:36:38] local.INFO: Acknowledgment sent {"connection_id":176659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:36:38] local.INFO: TCP Data received {"connection_id":179411,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:36:38] local.INFO: Processing buffer {"connection_id":179411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:36:38] local.INFO: IMEI packet received {"connection_id":179411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":179411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:36:42] local.INFO: TCP Data received {"connection_id":176659,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:42] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd623b0012d1965c0071feee00041005e2c..."} 
[2026-09-10 20:36:42] local.INFO: Packet analysis {"connection_id":176659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:36:42] local.INFO: Extracted packet for processing {"connection_id":176659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd6"} 
[2026-09-10 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997353216001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36: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-09-10 20:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789052462000,"timestamp_ms":1789052462000,"timestamp_seconds":1789052462,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd623b0"} 
[2026-09-10 20:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:36:42] 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-09-10 20:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997353216001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997353216001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:36:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997353216001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":176659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:36:42] local.INFO: GPS data processed {"connection_id":176659,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:36:42] local.INFO: Acknowledgment sent {"connection_id":176659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:36:43] local.INFO: TCP Data received {"connection_id":179411,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:36:43] local.INFO: Processing buffer {"connection_id":179411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:36:43] local.INFO: IMEI packet received {"connection_id":179411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":179411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:36:44] local.INFO: TCP Data received {"connection_id":179411,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd87d40012ca57000078fbf08000300c22d..."} 
[2026-09-10 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd87d40012ca57000078fbf08000300c22d..."} 
[2026-09-10 20:36:44] local.INFO: Processing buffer {"connection_id":179411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd87d40012ca57000078fbf08000300c22d..."} 
[2026-09-10 20:36:44] local.INFO: Packet analysis {"connection_id":179411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:36:44] local.INFO: Extracted packet for processing {"connection_id":179411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":749039616,"raw_latitude":126861064,"longitude_deg":74.9039616,"latitude_deg":12.6861064,"altitude":3,"angle":194,"satellites":45,"speed":0,"hex_longitude":"2ca57000","hex_latitude":"078fbf08","is_valid_coordinates":true} 
[2026-09-10 20:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997464320001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6519664115578689536,"note":"Value kept but may cause issues"} 
[2026-09-10 20:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789052616000,"timestamp_ms":1789052616000,"timestamp_seconds":1789052616,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd87d40"} 
[2026-09-10 20:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:36: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-09-10 20:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997464320001,"66":27419,"208":206,"27":54016,"24":0,"16":3893920429768704,"44":-6519664115578689536},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-10 20:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997464320001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:36:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-10 20:36:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:36:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6519664115578689536,"description":"Unknown IO ID 44"} 
[2026-09-10 20:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997464320001,"power":27419,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6519664115578689536}} 
[2026-09-10 20:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":179411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:36:44] local.INFO: GPS data processed {"connection_id":179411,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:36:44] local.INFO: Acknowledgment sent {"connection_id":179411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:37:15] local.INFO: TCP Data received {"connection_id":179411,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd95fd00100000000000000000000000000..."} 
[2026-09-10 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd95fd00100000000000000000000000000..."} 
[2026-09-10 20:37:15] local.INFO: Processing buffer {"connection_id":179411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd95fd00100000000000000000000000000..."} 
[2026-09-10 20:37:15] local.INFO: Packet analysis {"connection_id":179411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:37:15] local.INFO: Extracted packet for processing {"connection_id":179411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:37: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-09-10 20:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997469696001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6525715827583416320,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789052674000,"timestamp_ms":1789052674000,"timestamp_seconds":1789052674,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd95fd0"} 
[2026-09-10 20:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:37: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-09-10 20: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":107,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-10 20:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":976,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":179411,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:37:15] local.INFO: GPS data processed {"connection_id":179411,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:37:15] local.INFO: Acknowledgment sent {"connection_id":179411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:37:18] local.INFO: TCP Data received {"connection_id":179412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:37:18] local.INFO: Processing buffer {"connection_id":179412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:37:18] local.INFO: IMEI packet received {"connection_id":179412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":179412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:37:21] local.INFO: TCP Data received {"connection_id":179412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:37:21] local.INFO: Processing buffer {"connection_id":179412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:37:21] local.INFO: IMEI packet received {"connection_id":179412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":179412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:37:22] local.INFO: TCP Data received {"connection_id":179412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdb1168012d09be0006f27240000900a630..."} 
[2026-09-10 20:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdb1168012d09be0006f27240000900a630..."} 
[2026-09-10 20:37:22] local.INFO: Processing buffer {"connection_id":179412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdb1168012d09be0006f27240000900a630..."} 
[2026-09-10 20:37:22] local.INFO: Packet analysis {"connection_id":179412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:37:22] local.INFO: Extracted packet for processing {"connection_id":179412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:37:22] local.INFO: GPS Element Parsed {"raw_longitude":755613184,"raw_latitude":116552256,"longitude_deg":75.5613184,"latitude_deg":11.6552256,"altitude":9,"angle":166,"satellites":48,"speed":52,"hex_longitude":"2d09be00","hex_latitude":"06f27240","is_valid_coordinates":true} 
[2026-09-10 20:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997510912001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404718354599772160,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699535715709880320,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789052785000,"timestamp_ms":1789052785000,"timestamp_seconds":1789052785,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdb1168"} 
[2026-09-10 20:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:37:22] 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-09-10 20:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":179412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":179412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":179412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:37: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-09-10 20:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997510912001,"66":27267,"113":206,"80":6400,"24":52,"16":404718354599772160,"45":699535715709880320},"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-09-10 20:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997510912001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:37:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:37:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404718354599772160,"km_value":404718354599772.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":699535715709880320,"description":"Unknown IO ID 45"} 
[2026-09-10 20:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997510912001,"power":27267,"unknown_113":206,"unknown_80":6400,"ignition":52,"odometer":null,"unknown_45":699535715709880320}} 
[2026-09-10 20:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":179412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:37:22] local.INFO: GPS data processed {"connection_id":179412,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:37:22] local.INFO: Acknowledgment sent {"connection_id":179412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:37:26] local.INFO: TCP Data received {"connection_id":176879,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:37:26] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:37:26] local.INFO: IMEI packet received {"connection_id":176879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":176879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:37:31] local.INFO: TCP Data received {"connection_id":176879,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:37:31] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:37:31] local.INFO: IMEI packet received {"connection_id":176879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":176879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:37:33] local.INFO: TCP Data received {"connection_id":176879,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:37:33] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:37:33] local.INFO: Packet analysis {"connection_id":176879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:37:33] local.INFO: Extracted packet for processing {"connection_id":176879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 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-09-10 20:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:37:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":176879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:37:33] local.INFO: GPS data processed {"connection_id":176879,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:37:33] local.INFO: Acknowledgment sent {"connection_id":176879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:37:38] local.INFO: TCP Data received {"connection_id":178023,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:37:38] local.INFO: Processing buffer {"connection_id":178023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:37:38] local.INFO: IMEI packet received {"connection_id":178023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":178023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:37:43] local.INFO: TCP Data received {"connection_id":178023,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:37:43] local.INFO: Processing buffer {"connection_id":178023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:37:43] local.INFO: IMEI packet received {"connection_id":178023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":178023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:37:44] local.INFO: TCP Data received {"connection_id":178023,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd8e6b8012ca55d00078f1490000c009e2f..."} 
[2026-09-10 20:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd8e6b8012ca55d00078f1490000c009e2f..."} 
[2026-09-10 20:37:44] local.INFO: Processing buffer {"connection_id":178023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd8e6b8012ca55d00078f1490000c009e2f..."} 
[2026-09-10 20:37:44] local.INFO: Packet analysis {"connection_id":178023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:37:44] local.INFO: Extracted packet for processing {"connection_id":178023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd8"} 
[2026-09-10 20:37:44] local.INFO: GPS Element Parsed {"raw_longitude":749034752,"raw_latitude":126817424,"longitude_deg":74.9034752,"latitude_deg":12.6817424,"altitude":12,"angle":158,"satellites":47,"speed":49,"hex_longitude":"2ca55d00","hex_latitude":"078f1490","is_valid_coordinates":true} 
[2026-09-10 20:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789052643000,"timestamp_ms":1789052643000,"timestamp_seconds":1789052643,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd8e6b8"} 
[2026-09-10 20:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-10 20:37:44] 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-09-10 20:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178023,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178023,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"207":206,"27":54016,"24":49,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,27,24,16]} 
[2026-09-10 20:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:37:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-10 20:37:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:37:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_207":206,"unknown_27":54016,"ignition":49,"odometer":null}} 
[2026-09-10 20:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":178023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:37:44] local.INFO: GPS data processed {"connection_id":178023,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:37:44] local.INFO: Acknowledgment sent {"connection_id":178023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:37:53] local.INFO: TCP Data received {"connection_id":179412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdb2cc0012d09c74006f24e28000a00a530..."} 
[2026-09-10 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdb2cc0012d09c74006f24e28000a00a530..."} 
[2026-09-10 20:37:53] local.INFO: Processing buffer {"connection_id":179412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdb2cc0012d09c74006f24e28000a00a530..."} 
[2026-09-10 20:37:53] local.INFO: Packet analysis {"connection_id":179412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:37:53] local.INFO: Extracted packet for processing {"connection_id":179412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:37:53] local.INFO: GPS Element Parsed {"raw_longitude":755615552,"raw_latitude":116543016,"longitude_deg":75.5615552,"latitude_deg":11.6543016,"altitude":10,"angle":165,"satellites":48,"speed":50,"hex_longitude":"2d09c740","hex_latitude":"06f24e28","is_valid_coordinates":true} 
[2026-09-10 20:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997512960001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404718818456240128,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701998621753753600,"note":"Value kept but may cause issues"} 
[2026-09-10 20:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789052792000,"timestamp_ms":1789052792000,"timestamp_seconds":1789052792,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdb2cc0"} 
[2026-09-10 20:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:37: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-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":179412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":179412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":179412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997512960001,"66":27234,"113":206,"80":6400,"24":50,"16":404718818456240128,"45":701998621753753600},"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-09-10 20:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997512960001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:37:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:37:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404718818456240128,"km_value":404718818456240.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":701998621753753600,"description":"Unknown IO ID 45"} 
[2026-09-10 20:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997512960001,"power":27234,"unknown_113":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":701998621753753600}} 
[2026-09-10 20:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":179412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:37:53] local.INFO: GPS data processed {"connection_id":179412,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:37:53] local.INFO: Acknowledgment sent {"connection_id":179412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:38:05] local.INFO: TCP Data received {"connection_id":176879,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:38:05] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:38:05] local.INFO: Packet analysis {"connection_id":176879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:38:05] local.INFO: Extracted packet for processing {"connection_id":176879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38: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-09-10 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 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-09-10 20:38: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-09-10 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:38: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-09-10 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-09-10 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-09-10 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":176879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:38:05] local.INFO: GPS data processed {"connection_id":176879,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:38:05] local.INFO: Acknowledgment sent {"connection_id":176879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:38:15] local.INFO: TCP Data received {"connection_id":178023,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bd92920012ca58b80078ed728001300872b..."} 
[2026-09-10 20:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bd92920012ca58b80078ed728001300872b..."} 
[2026-09-10 20:38:15] local.INFO: Processing buffer {"connection_id":178023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bd92920012ca58b80078ed728001300872b..."} 
[2026-09-10 20:38:15] local.INFO: Packet analysis {"connection_id":178023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:38:15] local.INFO: Extracted packet for processing {"connection_id":178023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bd9"} 
[2026-09-10 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":749046656,"raw_latitude":126801704,"longitude_deg":74.9046656,"latitude_deg":12.6801704,"altitude":19,"angle":135,"satellites":43,"speed":43,"hex_longitude":"2ca58b80","hex_latitude":"078ed728","is_valid_coordinates":true} 
[2026-09-10 20:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997476608001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6531063852152090624,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789052660000,"timestamp_ms":1789052660000,"timestamp_seconds":1789052660,"priority":1,"record_length":96,"hex_timestamp":"000001a08bd92920"} 
[2026-09-10 20:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 20:38:15] 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-09-10 20:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178023,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178023,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997476608001,"66":206,"27":54016,"24":43,"16":3893920429768704,"44":-6531063852152090624},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-10 20:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997476608001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:38:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6531063852152090624,"description":"Unknown IO ID 44"} 
[2026-09-10 20:38:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457997476608001,"power":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-6531063852152090624}} 
[2026-09-10 20:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":178023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:38:15] local.INFO: GPS data processed {"connection_id":178023,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:38:15] local.INFO: Acknowledgment sent {"connection_id":178023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:38:19] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:19] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:19] local.INFO: IMEI packet received {"connection_id":178024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":178024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:38:19] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:19] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:19] local.INFO: IMEI packet received {"connection_id":178024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":178024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:38:23] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:23] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:38:23] local.INFO: IMEI packet received {"connection_id":178024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":178024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:38:24] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdb57b8012d09d14006f22b78000900ab30..."} 
[2026-09-10 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdb57b8012d09d14006f22b78000900ab30..."} 
[2026-09-10 20:38:24] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdb57b8012d09d14006f22b78000900ab30..."} 
[2026-09-10 20:38:24] local.INFO: Packet analysis {"connection_id":178024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:38:24] local.INFO: Extracted packet for processing {"connection_id":178024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":755618112,"raw_latitude":116534136,"longitude_deg":75.5618112,"latitude_deg":11.6534136,"altitude":9,"angle":171,"satellites":48,"speed":17,"hex_longitude":"2d09d140","hex_latitude":"06f22b78","is_valid_coordinates":true} 
[2026-09-10 20:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997514752001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404719265132838912,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704602265285961728,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789052803000,"timestamp_ms":1789052803000,"timestamp_seconds":1789052803,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdb57b8"} 
[2026-09-10 20:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:38: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-09-10 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:38:24] 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-09-10 20:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997514752001,"66":27267,"113":206,"80":6400,"24":17,"16":404719265132838912,"45":704602265285961728},"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-09-10 20:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997514752001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:38:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:38:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404719265132838912,"km_value":404719265132838.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":704602265285961728,"description":"Unknown IO ID 45"} 
[2026-09-10 20:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997514752001,"power":27267,"unknown_113":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":704602265285961728}} 
[2026-09-10 20:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":178024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:38:24] local.INFO: GPS data processed {"connection_id":178024,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:38:24] local.INFO: Acknowledgment sent {"connection_id":178024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:38:26] local.INFO: TCP Data received {"connection_id":176660,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:38:26] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:38:26] local.INFO: IMEI packet received {"connection_id":176660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":176660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:38:29] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdb8e68012d09d60006f20888000600a730..."} 
[2026-09-10 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdb8e68012d09d60006f20888000600a730..."} 
[2026-09-10 20:38:29] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdb8e68012d09d60006f20888000600a730..."} 
[2026-09-10 20:38:29] local.INFO: Packet analysis {"connection_id":178024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:38:29] local.INFO: Extracted packet for processing {"connection_id":178024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":755619328,"raw_latitude":116525192,"longitude_deg":75.5619328,"latitude_deg":11.6525192,"altitude":6,"angle":167,"satellites":48,"speed":34,"hex_longitude":"2d09d600","hex_latitude":"06f20888","is_valid_coordinates":true} 
[2026-09-10 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997517568001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404719703219503104,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707417015050795008,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789052817000,"timestamp_ms":1789052817000,"timestamp_seconds":1789052817,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdb8e68"} 
[2026-09-10 20:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:38: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-09-10 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997517568001,"66":27332,"113":206,"80":6400,"24":34,"16":404719703219503104,"45":707417015050795008},"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-09-10 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997517568001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:38:29] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:38:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404719703219503104,"km_value":404719703219503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":707417015050795008,"description":"Unknown IO ID 45"} 
[2026-09-10 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997517568001,"power":27332,"unknown_113":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":707417015050795008}} 
[2026-09-10 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":178024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:38:29] local.INFO: GPS data processed {"connection_id":178024,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:38:29] local.INFO: Acknowledgment sent {"connection_id":178024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:38:31] local.INFO: TCP Data received {"connection_id":176660,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:38:31] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:38:31] local.INFO: IMEI packet received {"connection_id":176660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:38:33] local.INFO: TCP Data received {"connection_id":176660,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:38:33] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:38:33] local.INFO: Packet analysis {"connection_id":176660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:38:33] local.INFO: Extracted packet for processing {"connection_id":176660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 20:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:38:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:38:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":176660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:38:33] local.INFO: GPS data processed {"connection_id":176660,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:38:33] local.INFO: Acknowledgment sent {"connection_id":176660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:38:38] local.INFO: TCP Data received {"connection_id":178025,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:38:38] local.INFO: Processing buffer {"connection_id":178025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:38:38] local.INFO: IMEI packet received {"connection_id":178025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":178025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:38:43] local.INFO: TCP Data received {"connection_id":178025,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:38:43] local.INFO: Processing buffer {"connection_id":178025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:38:43] local.INFO: IMEI packet received {"connection_id":178025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":178025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:38:44] local.INFO: TCP Data received {"connection_id":178025,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdc1338012ca7b1c0078be7f8001800a12e..."} 
[2026-09-10 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdc1338012ca7b1c0078be7f8001800a12e..."} 
[2026-09-10 20:38:44] local.INFO: Processing buffer {"connection_id":178025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdc1338012ca7b1c0078be7f8001800a12e..."} 
[2026-09-10 20:38:44] local.INFO: Packet analysis {"connection_id":178025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:38:44] local.INFO: Extracted packet for processing {"connection_id":178025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":749187520,"raw_latitude":126609400,"longitude_deg":74.918752,"latitude_deg":12.66094,"altitude":24,"angle":161,"satellites":46,"speed":0,"hex_longitude":"2ca7b1c0","hex_latitude":"078be7f8","is_valid_coordinates":true} 
[2026-09-10 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997524480001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6373719340218368000,"note":"Value kept but may cause issues"} 
[2026-09-10 20:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789052851000,"timestamp_ms":1789052851000,"timestamp_seconds":1789052851,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdc1338"} 
[2026-09-10 20:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:38:44] 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-09-10 20:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997524480001,"66":27484,"54":206,"27":54016,"24":0,"16":3893920429768704,"44":-6373719340218368000},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,44]} 
[2026-09-10 20:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997524480001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:38:44] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 20:38:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:38:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6373719340218368000,"description":"Unknown IO ID 44"} 
[2026-09-10 20:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997524480001,"power":27484,"unknown_54":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6373719340218368000}} 
[2026-09-10 20:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":178025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:38:44] local.INFO: GPS data processed {"connection_id":178025,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:38:44] local.INFO: Acknowledgment sent {"connection_id":178025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:00] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdbb578012d09e0c006f1e3e0000900a030..."} 
[2026-09-10 20:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdbb578012d09e0c006f1e3e0000900a030..."} 
[2026-09-10 20:39:00] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdbb578012d09e0c006f1e3e0000900a030..."} 
[2026-09-10 20:39:00] local.INFO: Packet analysis {"connection_id":178024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:39:00] local.INFO: Extracted packet for processing {"connection_id":178024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:39:00] local.INFO: GPS Element Parsed {"raw_longitude":755622080,"raw_latitude":116515808,"longitude_deg":75.562208,"latitude_deg":11.6515808,"altitude":9,"angle":160,"satellites":48,"speed":41,"hex_longitude":"2d09e0c0","hex_latitude":"06f1e3e0","is_valid_coordinates":true} 
[2026-09-10 20:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997521152001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404720175665905664,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708754021187880960,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789052827000,"timestamp_ms":1789052827000,"timestamp_seconds":1789052827,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdbb578"} 
[2026-09-10 20:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":196,"data_length":795,"current_offset":136} 
[2026-09-10 20:39: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-09-10 20:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:39: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-09-10 20:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997521152001,"66":27289,"113":206,"80":6400,"24":41,"16":404720175665905664,"45":708754021187880960},"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-09-10 20:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997521152001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:39:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404720175665905664,"km_value":404720175665905.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":708754021187880960,"description":"Unknown IO ID 45"} 
[2026-09-10 20:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997521152001,"power":27289,"unknown_113":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":708754021187880960}} 
[2026-09-10 20:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":178024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:00] local.INFO: GPS data processed {"connection_id":178024,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:00] local.INFO: Acknowledgment sent {"connection_id":178024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:04] local.INFO: TCP Data received {"connection_id":176660,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:04] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:04] local.INFO: Packet analysis {"connection_id":176660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:39:04] local.INFO: Extracted packet for processing {"connection_id":176660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39: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-09-10 20:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 20:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39: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-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":176660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:04] local.INFO: GPS data processed {"connection_id":176660,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:04] local.INFO: Acknowledgment sent {"connection_id":176660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:15] local.INFO: TCP Data received {"connection_id":178025,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdc3e30012ca7bdc0078b8db0001600b22f..."} 
[2026-09-10 20:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdc3e30012ca7bdc0078b8db0001600b22f..."} 
[2026-09-10 20:39:15] local.INFO: Processing buffer {"connection_id":178025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdc3e30012ca7bdc0078b8db0001600b22f..."} 
[2026-09-10 20:39:15] local.INFO: Packet analysis {"connection_id":178025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:39:15] local.INFO: Extracted packet for processing {"connection_id":178025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":749190592,"raw_latitude":126586288,"longitude_deg":74.9190592,"latitude_deg":12.6586288,"altitude":22,"angle":178,"satellites":47,"speed":58,"hex_longitude":"2ca7bdc0","hex_latitude":"078b8db0","is_valid_coordinates":true} 
[2026-09-10 20:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997529856001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6363093659853260800,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789052862000,"timestamp_ms":1789052862000,"timestamp_seconds":1789052862,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdc3e30"} 
[2026-09-10 20:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39: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-09-10 20:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:39:15] 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-09-10 20:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997529856001,"66":27430,"54":206,"27":54016,"24":58,"16":3893920429768704,"44":-6363093659853260800},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,44]} 
[2026-09-10 20:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997529856001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:15] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 20:39:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6363093659853260800,"description":"Unknown IO ID 44"} 
[2026-09-10 20:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997529856001,"power":27430,"unknown_54":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6363093659853260800}} 
[2026-09-10 20:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":178025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:15] local.INFO: GPS data processed {"connection_id":178025,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:15] local.INFO: Acknowledgment sent {"connection_id":178025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:18] local.INFO: TCP Data received {"connection_id":176661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:39:18] local.INFO: Processing buffer {"connection_id":176661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:39:18] local.INFO: IMEI packet received {"connection_id":176661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":176661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:39:23] local.INFO: TCP Data received {"connection_id":176661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:39:23] local.INFO: Processing buffer {"connection_id":176661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:39:23] local.INFO: IMEI packet received {"connection_id":176661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":176661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:39:24] local.INFO: TCP Data received {"connection_id":176661,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdbdc88012d09ef4006f1c0e8000c009731..."} 
[2026-09-10 20:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdbdc88012d09ef4006f1c0e8000c009731..."} 
[2026-09-10 20:39:24] local.INFO: Processing buffer {"connection_id":176661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdbdc88012d09ef4006f1c0e8000c009731..."} 
[2026-09-10 20:39:24] local.INFO: Packet analysis {"connection_id":176661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:39:24] local.INFO: Extracted packet for processing {"connection_id":176661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:39:24] local.INFO: GPS Element Parsed {"raw_longitude":755625792,"raw_latitude":116506856,"longitude_deg":75.5625792,"latitude_deg":11.6506856,"altitude":12,"angle":151,"satellites":49,"speed":30,"hex_longitude":"2d09ef40","hex_latitude":"06f1c0e8","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997523712001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404720643817340928,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711779877185118208,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789052837000,"timestamp_ms":1789052837000,"timestamp_seconds":1789052837,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdbdc88"} 
[2026-09-10 20:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39: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-09-10 20: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 20:39:24] 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-09-10 20: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-09-10 20:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997523712001,"66":27137,"113":206,"80":6400,"24":30,"16":404720643817340928,"45":711779877185118208},"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-09-10 20:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997523712001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:39:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404720643817340928,"km_value":404720643817340.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":711779877185118208,"description":"Unknown IO ID 45"} 
[2026-09-10 20:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997523712001,"power":27137,"unknown_113":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":711779877185118208}} 
[2026-09-10 20:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":176661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:24] local.INFO: GPS data processed {"connection_id":176661,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:24] local.INFO: Acknowledgment sent {"connection_id":176661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:31] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:39:31] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:39:31] local.INFO: IMEI packet received {"connection_id":176662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":176662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:39:36] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:39:36] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:39:36] local.INFO: IMEI packet received {"connection_id":176662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":176662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:39:38] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:38] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:38] local.INFO: Packet analysis {"connection_id":176662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:39:38] local.INFO: Extracted packet for processing {"connection_id":176662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20: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-09-10 20:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 20:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:39: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-09-10 20:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:39:38] local.INFO: TCP Data received {"connection_id":179413,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:39:38] local.INFO: Processing buffer {"connection_id":179413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:39:38] local.INFO: IMEI packet received {"connection_id":179413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":179413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":176662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:38] local.INFO: GPS data processed {"connection_id":176662,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:38] local.INFO: Acknowledgment sent {"connection_id":176662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:40] local.INFO: TCP Data received {"connection_id":179413,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:39:40] local.INFO: Processing buffer {"connection_id":179413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:39:40] local.INFO: IMEI packet received {"connection_id":179413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":179413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:39:41] local.INFO: TCP Data received {"connection_id":179413,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdc7cb0012ca7c780078b33a0001400a231..."} 
[2026-09-10 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdc7cb0012ca7c780078b33a0001400a231..."} 
[2026-09-10 20:39:41] local.INFO: Processing buffer {"connection_id":179413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdc7cb0012ca7c780078b33a0001400a231..."} 
[2026-09-10 20:39:41] local.INFO: Packet analysis {"connection_id":179413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:39:41] local.INFO: Extracted packet for processing {"connection_id":179413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749193088,"raw_latitude":126563232,"longitude_deg":74.9193088,"latitude_deg":12.6563232,"altitude":20,"angle":162,"satellites":49,"speed":58,"hex_longitude":"2ca7c780","hex_latitude":"078b33a0","is_valid_coordinates":true} 
[2026-09-10 20:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997532672001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6359715960138649600,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789052878000,"timestamp_ms":1789052878000,"timestamp_seconds":1789052878,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdc7cb0"} 
[2026-09-10 20:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 20:39:41] 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-09-10 20:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":179413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":179413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":179413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997532672001,"66":27550,"54":206,"27":54016,"24":58,"16":3893920429768704,"44":-6359715960138649600},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,44]} 
[2026-09-10 20:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997532672001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:41] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-10 20:39:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6359715960138649600,"description":"Unknown IO ID 44"} 
[2026-09-10 20:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997532672001,"power":27550,"unknown_54":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6359715960138649600}} 
[2026-09-10 20:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":179413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:41] local.INFO: GPS data processed {"connection_id":179413,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:41] local.INFO: Acknowledgment sent {"connection_id":179413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:42] local.INFO: TCP Data received {"connection_id":176662,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:42] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:39:42] local.INFO: Packet analysis {"connection_id":176662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:39:42] local.INFO: Extracted packet for processing {"connection_id":176662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39: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-09-10 20:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 20:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":176662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:42] local.INFO: GPS data processed {"connection_id":176662,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:42] local.INFO: Acknowledgment sent {"connection_id":176662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:39:55] local.INFO: TCP Data received {"connection_id":176661,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdbf3f8012d09f80006f1b3a8000d008b30..."} 
[2026-09-10 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdbf3f8012d09f80006f1b3a8000d008b30..."} 
[2026-09-10 20:39:55] local.INFO: Processing buffer {"connection_id":176661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdbf3f8012d09f80006f1b3a8000d008b30..."} 
[2026-09-10 20:39:55] local.INFO: Packet analysis {"connection_id":176661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:39:55] local.INFO: Extracted packet for processing {"connection_id":176661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdb"} 
[2026-09-10 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":755628032,"raw_latitude":116503464,"longitude_deg":75.5628032,"latitude_deg":11.6503464,"altitude":13,"angle":139,"satellites":48,"speed":28,"hex_longitude":"2d09f800","hex_latitude":"06f1b3a8","is_valid_coordinates":true} 
[2026-09-10 20:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997526272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404720841385836544,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715861264345131008,"note":"Value kept but may cause issues"} 
[2026-09-10 20:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789052843000,"timestamp_ms":1789052843000,"timestamp_seconds":1789052843,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdbf3f8"} 
[2026-09-10 20:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 20:39:55] 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-09-10 20:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997526272001,"66":27343,"113":206,"80":6400,"24":28,"16":404720841385836544,"45":715861264345131008},"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-09-10 20:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997526272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:39:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:39:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404720841385836544,"km_value":404720841385836.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":715861264345131008,"description":"Unknown IO ID 45"} 
[2026-09-10 20:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997526272001,"power":27343,"unknown_113":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":715861264345131008}} 
[2026-09-10 20:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":176661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:39:55] local.INFO: GPS data processed {"connection_id":176661,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:39:55] local.INFO: Acknowledgment sent {"connection_id":176661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:40:13] local.INFO: TCP Data received {"connection_id":179413,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdcbb30012ca7fd00078ae858000f008931..."} 
[2026-09-10 20:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdcbb30012ca7fd00078ae858000f008931..."} 
[2026-09-10 20:40:13] local.INFO: Processing buffer {"connection_id":179413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdcbb30012ca7fd00078ae858000f008931..."} 
[2026-09-10 20:40:13] local.INFO: Packet analysis {"connection_id":179413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:40:13] local.INFO: Extracted packet for processing {"connection_id":179413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:40:13] local.INFO: GPS Element Parsed {"raw_longitude":749206784,"raw_latitude":126543960,"longitude_deg":74.9206784,"latitude_deg":12.654396,"altitude":15,"angle":137,"satellites":49,"speed":60,"hex_longitude":"2ca7fd00","hex_latitude":"078ae858","is_valid_coordinates":true} 
[2026-09-10 20:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997536768001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6356971579121623040,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789052894000,"timestamp_ms":1789052894000,"timestamp_seconds":1789052894,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdcbb30"} 
[2026-09-10 20:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:40: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-09-10 20:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 20:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":179413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":179413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":179413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997536768001,"66":27463,"55":206,"27":54016,"24":60,"16":3893920429768704,"44":-6356971579121623040},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-09-10 20:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997536768001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:40:13] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-10 20:40:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6356971579121623040,"description":"Unknown IO ID 44"} 
[2026-09-10 20:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997536768001,"power":27463,"unknown_55":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-6356971579121623040}} 
[2026-09-10 20:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":179413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:40:13] local.INFO: GPS data processed {"connection_id":179413,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:40:13] local.INFO: Acknowledgment sent {"connection_id":179413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:40:18] local.INFO: TCP Data received {"connection_id":179414,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:40:18] local.INFO: Processing buffer {"connection_id":179414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:40:18] local.INFO: IMEI packet received {"connection_id":179414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":179414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:40:23] local.INFO: TCP Data received {"connection_id":179414,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:40:23] local.INFO: Processing buffer {"connection_id":179414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:40:23] local.INFO: IMEI packet received {"connection_id":179414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":179414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:40:24] local.INFO: TCP Data received {"connection_id":179414,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdc0780012d0a018006f1aa88000f007e30..."} 
[2026-09-10 20:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdc0780012d0a018006f1aa88000f007e30..."} 
[2026-09-10 20:40:24] local.INFO: Processing buffer {"connection_id":179414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdc0780012d0a018006f1aa88000f007e30..."} 
[2026-09-10 20:40:24] local.INFO: Packet analysis {"connection_id":179414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:40:24] local.INFO: Extracted packet for processing {"connection_id":179414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:40:24] local.INFO: GPS Element Parsed {"raw_longitude":755630464,"raw_latitude":116501128,"longitude_deg":75.5630464,"latitude_deg":11.6501128,"altitude":15,"angle":126,"satellites":48,"speed":27,"hex_longitude":"2d0a0180","hex_latitude":"06f1aa88","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997527808001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404721004594593792,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":718324170390480896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789052848000,"timestamp_ms":1789052848000,"timestamp_seconds":1789052848,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdc0780"} 
[2026-09-10 20:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:40: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-09-10 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:40:24] 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-09-10 20: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-09-10 20:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997527808001,"66":27332,"113":206,"80":6400,"24":27,"16":404721004594593792,"45":718324170390480896},"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-09-10 20:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997527808001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:40:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-10 20:40:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404721004594593792,"km_value":404721004594593.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":718324170390480896,"description":"Unknown IO ID 45"} 
[2026-09-10 20:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997527808001,"power":27332,"unknown_113":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":718324170390480896}} 
[2026-09-10 20:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":179414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:40:24] local.INFO: GPS data processed {"connection_id":179414,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:40:24] local.INFO: Acknowledgment sent {"connection_id":179414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:40:26] local.INFO: TCP Data received {"connection_id":178026,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:40:26] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:40:26] local.INFO: IMEI packet received {"connection_id":178026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":178026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:40:31] local.INFO: TCP Data received {"connection_id":178026,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:40:31] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:40:31] local.INFO: IMEI packet received {"connection_id":178026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":178026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:40:33] local.INFO: TCP Data received {"connection_id":178026,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:40:33] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:40:33] local.INFO: Packet analysis {"connection_id":178026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:40:33] local.INFO: Extracted packet for processing {"connection_id":178026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 20:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:40:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":178026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:40:33] local.INFO: GPS data processed {"connection_id":178026,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:40:33] local.INFO: Acknowledgment sent {"connection_id":178026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:40:38] local.INFO: TCP Data received {"connection_id":176880,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:40:38] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:40:38] local.INFO: IMEI packet received {"connection_id":176880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":176880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:40:43] local.INFO: TCP Data received {"connection_id":176880,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:40:43] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:40:43] local.INFO: IMEI packet received {"connection_id":176880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":176880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:40:44] local.INFO: TCP Data received {"connection_id":176880,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdcf9b0012ca83b00078a9ec8000b009c30..."} 
[2026-09-10 20:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdcf9b0012ca83b00078a9ec8000b009c30..."} 
[2026-09-10 20:40:44] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdcf9b0012ca83b00078a9ec8000b009c30..."} 
[2026-09-10 20:40:44] local.INFO: Packet analysis {"connection_id":176880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:40:44] local.INFO: Extracted packet for processing {"connection_id":176880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdc"} 
[2026-09-10 20:40:44] local.INFO: GPS Element Parsed {"raw_longitude":749222656,"raw_latitude":126525128,"longitude_deg":74.9222656,"latitude_deg":12.6525128,"altitude":11,"angle":156,"satellites":48,"speed":59,"hex_longitude":"2ca83b00","hex_latitude":"078a9ec8","is_valid_coordinates":true} 
[2026-09-10 20:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997540864001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6341912667872536576,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789052910000,"timestamp_ms":1789052910000,"timestamp_seconds":1789052910,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdcf9b0"} 
[2026-09-10 20:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 20:40:44] 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-09-10 20:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997540864001,"66":27517,"55":206,"27":54016,"24":59,"16":3893920429768704,"44":-6341912667872536576},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-09-10 20:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997540864001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:40:44] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-10 20:40:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:40:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6341912667872536576,"description":"Unknown IO ID 44"} 
[2026-09-10 20:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997540864001,"power":27517,"unknown_55":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-6341912667872536576}} 
[2026-09-10 20:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":176880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:40:44] local.INFO: GPS data processed {"connection_id":176880,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:40:44] local.INFO: Acknowledgment sent {"connection_id":176880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:40:57] local.INFO: TCP Data received {"connection_id":179414,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bddcca0012d0ae60006f11860000e00812a..."} 
[2026-09-10 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bddcca0012d0ae60006f11860000e00812a..."} 
[2026-09-10 20:40:57] local.INFO: Processing buffer {"connection_id":179414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bddcca0012d0ae60006f11860000e00812a..."} 
[2026-09-10 20:40:57] local.INFO: Packet analysis {"connection_id":179414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:40:57] local.INFO: Extracted packet for processing {"connection_id":179414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:40:57] local.INFO: GPS Element Parsed {"raw_longitude":755688960,"raw_latitude":116463712,"longitude_deg":75.568896,"latitude_deg":11.6463712,"altitude":14,"angle":129,"satellites":42,"speed":18,"hex_longitude":"2d0ae600","hex_latitude":"06f11860","is_valid_coordinates":true} 
[2026-09-10 20:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997555712001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404724337489215488,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":777082071770044416,"note":"Value kept but may cause issues"} 
[2026-09-10 20:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789052964000,"timestamp_ms":1789052964000,"timestamp_seconds":1789052964,"priority":1,"record_length":96,"hex_timestamp":"000001a08bddcca0"} 
[2026-09-10 20:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 20:40:57] 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-09-10 20:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997555712001,"66":27300,"111":206,"80":6400,"24":18,"16":404724337489215488,"45":777082071770044416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 20:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997555712001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:40:57] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:40:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404724337489215488,"km_value":404724337489215.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":777082071770044416,"description":"Unknown IO ID 45"} 
[2026-09-10 20:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997555712001,"power":27300,"unknown_111":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":777082071770044416}} 
[2026-09-10 20:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":179414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:40:57] local.INFO: GPS data processed {"connection_id":179414,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:40:57] local.INFO: Acknowledgment sent {"connection_id":179414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:41:05] local.INFO: TCP Data received {"connection_id":178026,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:41:05] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:41:05] local.INFO: Packet analysis {"connection_id":178026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:41:05] local.INFO: Extracted packet for processing {"connection_id":178026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41: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-09-10 20:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 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-09-10 20:41: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-09-10 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:41:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":178026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:41:05] local.INFO: GPS data processed {"connection_id":178026,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:41:05] local.INFO: Acknowledgment sent {"connection_id":178026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:41:16] local.INFO: TCP Data received {"connection_id":176880,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdd3830012ca84cc0078a4530000700aa31..."} 
[2026-09-10 20:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdd3830012ca84cc0078a4530000700aa31..."} 
[2026-09-10 20:41:16] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdd3830012ca84cc0078a4530000700aa31..."} 
[2026-09-10 20:41:16] local.INFO: Packet analysis {"connection_id":176880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:41:16] local.INFO: Extracted packet for processing {"connection_id":176880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:41:16] local.INFO: GPS Element Parsed {"raw_longitude":749227200,"raw_latitude":126502192,"longitude_deg":74.92272,"latitude_deg":12.6502192,"altitude":7,"angle":170,"satellites":49,"speed":57,"hex_longitude":"2ca84cc0","hex_latitude":"078a4530","is_valid_coordinates":true} 
[2026-09-10 20:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997544960001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6324461219321296896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789052926000,"timestamp_ms":1789052926000,"timestamp_seconds":1789052926,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdd3830"} 
[2026-09-10 20:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:41: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-09-10 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:41:16] 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-09-10 20: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-09-10 20:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997544960001,"66":27593,"55":206,"27":54016,"24":57,"16":3893920429768704,"44":-6324461219321296896},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-09-10 20:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997544960001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:41:16] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-10 20:41:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:41:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6324461219321296896,"description":"Unknown IO ID 44"} 
[2026-09-10 20:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997544960001,"power":27593,"unknown_55":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-6324461219321296896}} 
[2026-09-10 20:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":176880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:41:16] local.INFO: GPS data processed {"connection_id":176880,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:41:16] local.INFO: Acknowledgment sent {"connection_id":176880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:41:23] local.INFO: TCP Data received {"connection_id":176663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:41:23] local.INFO: Processing buffer {"connection_id":176663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:41:23] local.INFO: IMEI packet received {"connection_id":176663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":176663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:41:27] local.INFO: TCP Data received {"connection_id":176664,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:41:27] local.INFO: Processing buffer {"connection_id":176664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:41:27] local.INFO: IMEI packet received {"connection_id":176664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":176664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:41:28] local.INFO: TCP Data received {"connection_id":176663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:41:28] local.INFO: Processing buffer {"connection_id":176663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:41:28] local.INFO: IMEI packet received {"connection_id":176663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":176663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:41:29] local.INFO: TCP Data received {"connection_id":176663,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bde1ea8012d0af10006f10f180012008430..."} 
[2026-09-10 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bde1ea8012d0af10006f10f180012008430..."} 
[2026-09-10 20:41:29] local.INFO: Processing buffer {"connection_id":176663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bde1ea8012d0af10006f10f180012008430..."} 
[2026-09-10 20:41:29] local.INFO: Packet analysis {"connection_id":176663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:41:29] local.INFO: Extracted packet for processing {"connection_id":176663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:41:29] local.INFO: GPS Element Parsed {"raw_longitude":755691776,"raw_latitude":116461336,"longitude_deg":75.5691776,"latitude_deg":11.6461336,"altitude":18,"angle":132,"satellites":48,"speed":10,"hex_longitude":"2d0af100","hex_latitude":"06f10f18","is_valid_coordinates":true} 
[2026-09-10 20:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997558784001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404724517877841920,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785315214837440512,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789052985000,"timestamp_ms":1789052985000,"timestamp_seconds":1789052985,"priority":1,"record_length":96,"hex_timestamp":"000001a08bde1ea8"} 
[2026-09-10 20:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:41: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-09-10 20:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20: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-09-10 20:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997558784001,"66":27397,"111":206,"80":6400,"24":10,"16":404724517877841920,"45":785315214837440512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 20:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997558784001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:41:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:41:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404724517877841920,"km_value":404724517877841.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":785315214837440512,"description":"Unknown IO ID 45"} 
[2026-09-10 20:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997558784001,"power":27397,"unknown_111":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":785315214837440512}} 
[2026-09-10 20:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":176663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:41:29] local.INFO: GPS data processed {"connection_id":176663,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:41:29] local.INFO: Acknowledgment sent {"connection_id":176663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:41:31] local.INFO: TCP Data received {"connection_id":176663,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bde70b0012d0b010006f0fff00012008a2f..."} 
[2026-09-10 20:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bde70b0012d0b010006f0fff00012008a2f..."} 
[2026-09-10 20:41:31] local.INFO: Processing buffer {"connection_id":176663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bde70b0012d0b010006f0fff00012008a2f..."} 
[2026-09-10 20:41:31] local.INFO: Packet analysis {"connection_id":176663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:41:31] local.INFO: Extracted packet for processing {"connection_id":176663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:41:31] local.INFO: GPS Element Parsed {"raw_longitude":755695872,"raw_latitude":116457456,"longitude_deg":75.5695872,"latitude_deg":11.6457456,"altitude":18,"angle":138,"satellites":47,"speed":8,"hex_longitude":"2d0b0100","hex_latitude":"06f0fff0","is_valid_coordinates":true} 
[2026-09-10 20:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997564160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404724792755748864,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788411439580649472,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789053006000,"timestamp_ms":1789053006000,"timestamp_seconds":1789053006,"priority":1,"record_length":96,"hex_timestamp":"000001a08bde70b0"} 
[2026-09-10 20:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 20:41:31] 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-09-10 20:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:41: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-09-10 20:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997564160001,"66":27310,"111":206,"80":6400,"24":8,"16":404724792755748864,"45":788411439580649472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 20:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997564160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:41:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:41:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404724792755748864,"km_value":404724792755748.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":788411439580649472,"description":"Unknown IO ID 45"} 
[2026-09-10 20:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997564160001,"power":27310,"unknown_111":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":788411439580649472}} 
[2026-09-10 20:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":176663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:41:31] local.INFO: GPS data processed {"connection_id":176663,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:41:31] local.INFO: Acknowledgment sent {"connection_id":176663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:41:31] local.INFO: TCP Data received {"connection_id":176664,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:41:31] local.INFO: Processing buffer {"connection_id":176664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:41:31] local.INFO: IMEI packet received {"connection_id":176664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":176664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:41:33] local.INFO: TCP Data received {"connection_id":176664,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:41:33] local.INFO: Processing buffer {"connection_id":176664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdabb78012d1965c0071feee00041005e2f..."} 
[2026-09-10 20:41:33] local.INFO: Packet analysis {"connection_id":176664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:41:33] local.INFO: Extracted packet for processing {"connection_id":176664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bda"} 
[2026-09-10 20:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997430272001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789052763000,"timestamp_ms":1789052763000,"timestamp_seconds":1789052763,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdabb78"} 
[2026-09-10 20:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997430272001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997430272001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:41:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997430272001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":176664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:41:33] local.INFO: GPS data processed {"connection_id":176664,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:41:33] local.INFO: Acknowledgment sent {"connection_id":176664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:41:38] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:41:38] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:41:38] local.INFO: IMEI packet received {"connection_id":176665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":176665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:41:42] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:41:42] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:41:42] local.INFO: IMEI packet received {"connection_id":176665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":176665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:41:43] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdd76b0012ca86f000789f2b00007008830..."} 
[2026-09-10 20:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdd76b0012ca86f000789f2b00007008830..."} 
[2026-09-10 20:41:43] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdd76b0012ca86f000789f2b00007008830..."} 
[2026-09-10 20:41:43] local.INFO: Packet analysis {"connection_id":176665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:41:43] local.INFO: Extracted packet for processing {"connection_id":176665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749235968,"raw_latitude":126481072,"longitude_deg":74.9235968,"latitude_deg":12.6481072,"altitude":7,"angle":136,"satellites":48,"speed":57,"hex_longitude":"2ca86f00","hex_latitude":"0789f2b0","is_valid_coordinates":true} 
[2026-09-10 20:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997549056001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6319465038490554368,"note":"Value kept but may cause issues"} 
[2026-09-10 20:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789052942000,"timestamp_ms":1789052942000,"timestamp_seconds":1789052942,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdd76b0"} 
[2026-09-10 20:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:41: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-09-10 20:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 20:41:43] 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-09-10 20:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997549056001,"66":27517,"148":206,"27":54016,"24":57,"16":3893920429768704,"44":-6319465038490554368},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,27,24,16,44]} 
[2026-09-10 20:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997549056001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:41:43] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-10 20:41:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6319465038490554368,"description":"Unknown IO ID 44"} 
[2026-09-10 20:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997549056001,"power":27517,"unknown_148":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-6319465038490554368}} 
[2026-09-10 20:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":176665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:41:43] local.INFO: GPS data processed {"connection_id":176665,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:41:43] local.INFO: Acknowledgment sent {"connection_id":176665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:04] local.INFO: TCP Data received {"connection_id":176664,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:42:04] local.INFO: Processing buffer {"connection_id":176664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:42:04] local.INFO: Packet analysis {"connection_id":176664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:42:04] local.INFO: Extracted packet for processing {"connection_id":176664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42: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-09-10 20:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":176664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:04] local.INFO: GPS data processed {"connection_id":176664,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:04] local.INFO: Acknowledgment sent {"connection_id":176664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:04] local.INFO: TCP Data received {"connection_id":176663,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdec2b8012d0b0f8006f0f1400012008f2e..."} 
[2026-09-10 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdec2b8012d0b0f8006f0f1400012008f2e..."} 
[2026-09-10 20:42:04] local.INFO: Processing buffer {"connection_id":176663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdec2b8012d0b0f8006f0f1400012008f2e..."} 
[2026-09-10 20:42:04] local.INFO: Packet analysis {"connection_id":176663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:04] local.INFO: Extracted packet for processing {"connection_id":176663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":755699584,"raw_latitude":116453696,"longitude_deg":75.5699584,"latitude_deg":11.6453696,"altitude":18,"angle":143,"satellites":46,"speed":10,"hex_longitude":"2d0b0f80","hex_latitude":"06f0f140","is_valid_coordinates":true} 
[2026-09-10 20:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997569536001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404725046158819328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792915039207026688,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789053027000,"timestamp_ms":1789053027000,"timestamp_seconds":1789053027,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdec2b8"} 
[2026-09-10 20:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20: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-09-10 20:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997569536001,"66":27245,"111":206,"80":6400,"24":10,"16":404725046158819328,"45":792915039207026688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 20:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997569536001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404725046158819328,"km_value":404725046158819.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":792915039207026688,"description":"Unknown IO ID 45"} 
[2026-09-10 20:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997569536001,"power":27245,"unknown_111":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":792915039207026688}} 
[2026-09-10 20:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":176663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:04] local.INFO: GPS data processed {"connection_id":176663,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:04] local.INFO: Acknowledgment sent {"connection_id":176663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:15] local.INFO: TCP Data received {"connection_id":176665,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bddb530012ca8a6000789aa980007009f30..."} 
[2026-09-10 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bddb530012ca8a6000789aa980007009f30..."} 
[2026-09-10 20:42:15] local.INFO: Processing buffer {"connection_id":176665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bddb530012ca8a6000789aa980007009f30..."} 
[2026-09-10 20:42:15] local.INFO: Packet analysis {"connection_id":176665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:42:15] local.INFO: Extracted packet for processing {"connection_id":176665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdd"} 
[2026-09-10 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749250048,"raw_latitude":126462616,"longitude_deg":74.9250048,"latitude_deg":12.6462616,"altitude":7,"angle":159,"satellites":48,"speed":58,"hex_longitude":"2ca8a600","hex_latitude":"0789aa98","is_valid_coordinates":true} 
[2026-09-10 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997553152001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6309824520543621120,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789052958000,"timestamp_ms":1789052958000,"timestamp_seconds":1789052958,"priority":1,"record_length":96,"hex_timestamp":"000001a08bddb530"} 
[2026-09-10 20:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42: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-09-10 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:15] 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-09-10 20:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997553152001,"66":27691,"148":206,"27":54016,"24":58,"16":3893920429768704,"44":-6309824520543621120},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,27,24,16,44]} 
[2026-09-10 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997553152001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:15] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-10 20:42:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6309824520543621120,"description":"Unknown IO ID 44"} 
[2026-09-10 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997553152001,"power":27691,"unknown_148":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6309824520543621120}} 
[2026-09-10 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":176665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:15] local.INFO: GPS data processed {"connection_id":176665,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:15] local.INFO: Acknowledgment sent {"connection_id":176665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:18] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:42:18] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:42:18] local.INFO: IMEI packet received {"connection_id":178027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":178027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:42:19] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:42:19] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:42:19] local.INFO: IMEI packet received {"connection_id":178027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":178027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:42:20] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdec6a0012d0b104006f0f0500012009a2f..."} 
[2026-09-10 20:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdec6a0012d0b104006f0f0500012009a2f..."} 
[2026-09-10 20:42:20] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdec6a0012d0b104006f0f0500012009a2f..."} 
[2026-09-10 20:42:20] local.INFO: Packet analysis {"connection_id":178027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:20] local.INFO: Extracted packet for processing {"connection_id":178027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":116453456,"longitude_deg":75.5699776,"latitude_deg":11.6453456,"altitude":18,"angle":154,"satellites":47,"speed":9,"hex_longitude":"2d0b1040","hex_latitude":"06f0f050","is_valid_coordinates":true} 
[2026-09-10 20:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997574912001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404725059043721216,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796996426368368640,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789053028000,"timestamp_ms":1789053028000,"timestamp_seconds":1789053028,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdec6a0"} 
[2026-09-10 20:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997574912001,"66":27245,"111":206,"80":6400,"24":9,"16":404725059043721216,"45":796996426368368640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 20:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997574912001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:42:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404725059043721216,"km_value":404725059043721.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":796996426368368640,"description":"Unknown IO ID 45"} 
[2026-09-10 20:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997574912001,"power":27245,"unknown_111":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":796996426368368640}} 
[2026-09-10 20:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":178027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:20] local.INFO: GPS data processed {"connection_id":178027,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:20] local.INFO: Acknowledgment sent {"connection_id":178027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:26] local.INFO: TCP Data received {"connection_id":176881,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:42:26] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:42:26] local.INFO: IMEI packet received {"connection_id":176881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":176881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:42:27] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdeca88012d0b108006f0ef60001100a62e..."} 
[2026-09-10 20:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdeca88012d0b108006f0ef60001100a62e..."} 
[2026-09-10 20:42:27] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdeca88012d0b108006f0ef60001100a62e..."} 
[2026-09-10 20:42:27] local.INFO: Packet analysis {"connection_id":178027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:27] local.INFO: Extracted packet for processing {"connection_id":178027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755699840,"raw_latitude":116453216,"longitude_deg":75.569984,"latitude_deg":11.6453216,"altitude":17,"angle":166,"satellites":46,"speed":8,"hex_longitude":"2d0b1080","hex_latitude":"06f0ef60","is_valid_coordinates":true} 
[2026-09-10 20:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997575168001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404725071928623104,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532600840192,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789053029000,"timestamp_ms":1789053029000,"timestamp_seconds":1789053029,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdeca88"} 
[2026-09-10 20:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:27] 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-09-10 20:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":178027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":178027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":178027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997575168001,"66":27300,"111":206,"80":6400,"24":8,"16":404725071928623104,"45":797207532600840192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-10 20:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997575168001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 20:42:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404725071928623104,"km_value":404725071928623.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532600840192,"description":"Unknown IO ID 45"} 
[2026-09-10 20:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997575168001,"power":27300,"unknown_111":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":797207532600840192}} 
[2026-09-10 20:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":178027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:27] local.INFO: GPS data processed {"connection_id":178027,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:27] local.INFO: Acknowledgment sent {"connection_id":178027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:31] local.INFO: TCP Data received {"connection_id":176881,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:42:31] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:42:31] local.INFO: IMEI packet received {"connection_id":176881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":176881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:42:33] local.INFO: TCP Data received {"connection_id":176881,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:42:33] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:42:33] local.INFO: Packet analysis {"connection_id":176881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:42:33] local.INFO: Extracted packet for processing {"connection_id":176881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":176881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:33] local.INFO: GPS data processed {"connection_id":176881,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:33] local.INFO: Acknowledgment sent {"connection_id":176881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:38] local.INFO: TCP Data received {"connection_id":178028,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:38] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:38] local.INFO: IMEI packet received {"connection_id":178028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":178028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:42:38] local.INFO: TCP Data received {"connection_id":178028,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:38] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:38] local.INFO: IMEI packet received {"connection_id":178028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":178028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:42:43] local.INFO: TCP Data received {"connection_id":178028,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:43] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:42:43] local.INFO: IMEI packet received {"connection_id":178028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":178028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:42:44] local.INFO: TCP Data received {"connection_id":178028,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bde0738012ca8c680078955c80007009f2f..."} 
[2026-09-10 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bde0738012ca8c680078955c80007009f2f..."} 
[2026-09-10 20:42:44] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bde0738012ca8c680078955c80007009f2f..."} 
[2026-09-10 20:42:44] local.INFO: Packet analysis {"connection_id":178028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:44] local.INFO: Extracted packet for processing {"connection_id":178028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":749258368,"raw_latitude":126440904,"longitude_deg":74.9258368,"latitude_deg":12.6440904,"altitude":7,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2ca8c680","hex_latitude":"078955c8","is_valid_coordinates":true} 
[2026-09-10 20:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997557248001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6294343396829259776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789052979000,"timestamp_ms":1789052979000,"timestamp_seconds":1789052979,"priority":1,"record_length":96,"hex_timestamp":"000001a08bde0738"} 
[2026-09-10 20:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:44] 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-09-10 20:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997557248001,"66":27571,"148":206,"27":54016,"24":0,"16":3893920429768704,"44":-6294343396829259776},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,27,24,16,44]} 
[2026-09-10 20:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997557248001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:44] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-10 20:42:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6294343396829259776,"description":"Unknown IO ID 44"} 
[2026-09-10 20:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997557248001,"power":27571,"unknown_148":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6294343396829259776}} 
[2026-09-10 20:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":178028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:44] local.INFO: GPS data processed {"connection_id":178028,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:44] local.INFO: Acknowledgment sent {"connection_id":178028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:42:58] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be031e8012d0b914006ef7328000c00a331..."} 
[2026-09-10 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be031e8012d0b914006ef7328000c00a331..."} 
[2026-09-10 20:42:58] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be031e8012d0b914006ef7328000c00a331..."} 
[2026-09-10 20:42:58] local.INFO: Packet analysis {"connection_id":178027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be0"} 
[2026-09-10 20:42:58] local.INFO: Extracted packet for processing {"connection_id":178027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be0"} 
[2026-09-10 20:42:58] local.INFO: GPS Element Parsed {"raw_longitude":755732800,"raw_latitude":116355880,"longitude_deg":75.57328,"latitude_deg":11.635588,"altitude":12,"angle":163,"satellites":49,"speed":56,"hex_longitude":"2d0b9140","hex_latitude":"06ef7328","is_valid_coordinates":true} 
[2026-09-10 20:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997597440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404730101335326720,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529783332864,"note":"Value kept but may cause issues"} 
[2026-09-10 20:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789053121000,"timestamp_ms":1789053121000,"timestamp_seconds":1789053121,"priority":1,"record_length":96,"hex_timestamp":"000001a08be031e8"} 
[2026-09-10 20:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:42:58] 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-09-10 20:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:42: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-09-10 20:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997597440001,"66":27245,"158":206,"80":6400,"24":56,"16":404730101335326720,"45":830984529783332864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-09-10 20:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997597440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:42:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 20:42:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404730101335326720,"km_value":404730101335326.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529783332864,"description":"Unknown IO ID 45"} 
[2026-09-10 20:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997597440001,"power":27245,"unknown_158":206,"unknown_80":6400,"ignition":56,"odometer":null,"unknown_45":830984529783332864}} 
[2026-09-10 20:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":178027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:42:58] local.INFO: GPS data processed {"connection_id":178027,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:42:58] local.INFO: Acknowledgment sent {"connection_id":178027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:43:04] local.INFO: TCP Data received {"connection_id":176881,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:04] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:04] local.INFO: Packet analysis {"connection_id":176881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:43:04] local.INFO: Extracted packet for processing {"connection_id":176881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43: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-09-10 20:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:43:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":176881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:43:05] local.INFO: GPS data processed {"connection_id":176881,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:43:05] local.INFO: Acknowledgment sent {"connection_id":176881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:43:16] local.INFO: TCP Data received {"connection_id":178028,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bde3230012ca8c6c007890040000800cd2d..."} 
[2026-09-10 20:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bde3230012ca8c6c007890040000800cd2d..."} 
[2026-09-10 20:43:16] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bde3230012ca8c6c007890040000800cd2d..."} 
[2026-09-10 20:43:16] local.INFO: Packet analysis {"connection_id":178028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:43:16] local.INFO: Extracted packet for processing {"connection_id":178028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:43:16] local.INFO: GPS Element Parsed {"raw_longitude":749258432,"raw_latitude":126419008,"longitude_deg":74.9258432,"latitude_deg":12.6419008,"altitude":8,"angle":205,"satellites":45,"speed":57,"hex_longitude":"2ca8c6c0","hex_latitude":"07890040","is_valid_coordinates":true} 
[2026-09-10 20:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997562624001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6285195460091721728,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789052990000,"timestamp_ms":1789052990000,"timestamp_seconds":1789052990,"priority":1,"record_length":96,"hex_timestamp":"000001a08bde3230"} 
[2026-09-10 20:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:43:16] 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-09-10 20:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997562624001,"66":27691,"147":206,"27":54016,"24":57,"16":3893920429768704,"44":-6285195460091721728},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,27,24,16,44]} 
[2026-09-10 20:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997562624001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:43:16] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-10 20:43:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6285195460091721728,"description":"Unknown IO ID 44"} 
[2026-09-10 20:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997562624001,"power":27691,"unknown_147":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-6285195460091721728}} 
[2026-09-10 20:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":178028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:43:16] local.INFO: GPS data processed {"connection_id":178028,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:43:16] local.INFO: Acknowledgment sent {"connection_id":178028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:43:31] local.INFO: TCP Data received {"connection_id":176882,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:43:31] local.INFO: Processing buffer {"connection_id":176882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:43:31] local.INFO: IMEI packet received {"connection_id":176882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":176882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:43:33] local.INFO: TCP Data received {"connection_id":179415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:43:33] local.INFO: Processing buffer {"connection_id":179415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:43:33] local.INFO: IMEI packet received {"connection_id":179415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":179415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:43:36] local.INFO: TCP Data received {"connection_id":176882,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:43:36] local.INFO: Processing buffer {"connection_id":176882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:43:36] local.INFO: IMEI packet received {"connection_id":176882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":176882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:43:38] local.INFO: TCP Data received {"connection_id":179415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:43:38] local.INFO: Processing buffer {"connection_id":179415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:43:38] local.INFO: IMEI packet received {"connection_id":179415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":179415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:43:39] local.INFO: TCP Data received {"connection_id":179415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be04d40012d0b9d8006ef4cf8000d00a231..."} 
[2026-09-10 20:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be04d40012d0b9d8006ef4cf8000d00a231..."} 
[2026-09-10 20:43:39] local.INFO: Processing buffer {"connection_id":179415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be04d40012d0b9d8006ef4cf8000d00a231..."} 
[2026-09-10 20:43:39] local.INFO: Packet analysis {"connection_id":179415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be0"} 
[2026-09-10 20:43:39] local.INFO: Extracted packet for processing {"connection_id":179415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be0"} 
[2026-09-10 20:43:39] local.INFO: GPS Element Parsed {"raw_longitude":755735936,"raw_latitude":116346104,"longitude_deg":75.5735936,"latitude_deg":11.6346104,"altitude":13,"angle":162,"satellites":49,"speed":59,"hex_longitude":"2d0b9d80","hex_latitude":"06ef4cf8","is_valid_coordinates":true} 
[2026-09-10 20:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997598976001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404730599551533056,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804571535360,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789053128000,"timestamp_ms":1789053128000,"timestamp_seconds":1789053128,"priority":1,"record_length":96,"hex_timestamp":"000001a08be04d40"} 
[2026-09-10 20:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:43:39] 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-09-10 20:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":179415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":179415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":179415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:43: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-09-10 20:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997598976001,"66":27213,"158":206,"80":6400,"24":59,"16":404730599551533056,"45":833517804571535360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-09-10 20:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997598976001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:43:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 20:43:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404730599551533056,"km_value":404730599551533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804571535360,"description":"Unknown IO ID 45"} 
[2026-09-10 20:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997598976001,"power":27213,"unknown_158":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":833517804571535360}} 
[2026-09-10 20:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":179415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:43:39] local.INFO: GPS data processed {"connection_id":179415,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:43:39] local.INFO: Acknowledgment sent {"connection_id":179415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:43:40] local.INFO: TCP Data received {"connection_id":179415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be064b0012d0ba90006ef2be0000d009e31..."} 
[2026-09-10 20:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be064b0012d0ba90006ef2be0000d009e31..."} 
[2026-09-10 20:43:40] local.INFO: Processing buffer {"connection_id":179415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be064b0012d0ba90006ef2be0000d009e31..."} 
[2026-09-10 20:43:40] local.INFO: Packet analysis {"connection_id":179415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be0"} 
[2026-09-10 20:43:40] local.INFO: Extracted packet for processing {"connection_id":179415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be0"} 
[2026-09-10 20:43:40] local.INFO: GPS Element Parsed {"raw_longitude":755738880,"raw_latitude":116337632,"longitude_deg":75.573888,"latitude_deg":11.6337632,"altitude":13,"angle":158,"satellites":49,"speed":59,"hex_longitude":"2d0ba900","hex_latitude":"06ef2be0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997600768001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404731033343229952,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836965873033738240,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789053134000,"timestamp_ms":1789053134000,"timestamp_seconds":1789053134,"priority":1,"record_length":96,"hex_timestamp":"000001a08be064b0"} 
[2026-09-10 20:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:43:40] 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-09-10 20: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-09-10 20:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":179415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":179415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":179415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997600768001,"66":26256,"158":206,"80":6400,"24":59,"16":404731033343229952,"45":836965873033738240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-09-10 20:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997600768001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:43:40] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-10 20:43:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404731033343229952,"km_value":404731033343229.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":836965873033738240,"description":"Unknown IO ID 45"} 
[2026-09-10 20:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997600768001,"power":26256,"unknown_158":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":836965873033738240}} 
[2026-09-10 20:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":179415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:43:40] local.INFO: GPS data processed {"connection_id":179415,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:43:40] local.INFO: Acknowledgment sent {"connection_id":179415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:43:41] local.INFO: TCP Data received {"connection_id":176882,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:41] local.INFO: Processing buffer {"connection_id":176882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:41] local.INFO: Packet analysis {"connection_id":176882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:43:41] local.INFO: Extracted packet for processing {"connection_id":176882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43: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-09-10 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 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-09-10 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:43:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":176882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:43:41] local.INFO: GPS data processed {"connection_id":176882,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:43:41] local.INFO: Acknowledgment sent {"connection_id":176882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:43:42] local.INFO: TCP Data received {"connection_id":176882,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:42] local.INFO: Processing buffer {"connection_id":176882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:43:42] local.INFO: Packet analysis {"connection_id":176882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:43:42] local.INFO: Extracted packet for processing {"connection_id":176882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43: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-09-10 20:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:43:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":176882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:43:42] local.INFO: GPS data processed {"connection_id":176882,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:43:42] local.INFO: Acknowledgment sent {"connection_id":176882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:43:43] local.INFO: TCP Data received {"connection_id":176666,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:43:43] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:43:43] local.INFO: IMEI packet received {"connection_id":176666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":176666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:43:47] local.INFO: TCP Data received {"connection_id":176666,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:43:47] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:43:47] local.INFO: IMEI packet received {"connection_id":176666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":176666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:43:48] local.INFO: TCP Data received {"connection_id":176666,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bde70b0012ca8a4400788ac18000900c12b..."} 
[2026-09-10 20:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bde70b0012ca8a4400788ac18000900c12b..."} 
[2026-09-10 20:43:48] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bde70b0012ca8a4400788ac18000900c12b..."} 
[2026-09-10 20:43:48] local.INFO: Packet analysis {"connection_id":176666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:43:48] local.INFO: Extracted packet for processing {"connection_id":176666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bde"} 
[2026-09-10 20:43:48] local.INFO: GPS Element Parsed {"raw_longitude":749249600,"raw_latitude":126397464,"longitude_deg":74.92496,"latitude_deg":12.6397464,"altitude":9,"angle":193,"satellites":43,"speed":57,"hex_longitude":"2ca8a440","hex_latitude":"0788ac18","is_valid_coordinates":true} 
[2026-09-10 20:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997565440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6285125091353149440,"note":"Value kept but may cause issues"} 
[2026-09-10 20:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789053006000,"timestamp_ms":1789053006000,"timestamp_seconds":1789053006,"priority":1,"record_length":96,"hex_timestamp":"000001a08bde70b0"} 
[2026-09-10 20:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 20:43:48] 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-09-10 20:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997565440001,"66":27604,"147":206,"27":54016,"24":57,"16":3893920429768704,"44":-6285125091353149440},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,27,24,16,44]} 
[2026-09-10 20:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997565440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:43:48] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-10 20:43:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6285125091353149440,"description":"Unknown IO ID 44"} 
[2026-09-10 20:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997565440001,"power":27604,"unknown_147":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-6285125091353149440}} 
[2026-09-10 20:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":176666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:43:48] local.INFO: GPS data processed {"connection_id":176666,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:43:48] local.INFO: Acknowledgment sent {"connection_id":176666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:44:18] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:44:18] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:44:18] local.INFO: IMEI packet received {"connection_id":178029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":178029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:44:20] local.INFO: TCP Data received {"connection_id":176666,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be13b88012ca9d54007851c30000a00892f..."} 
[2026-09-10 20:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be13b88012ca9d54007851c30000a00892f..."} 
[2026-09-10 20:44:20] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be13b88012ca9d54007851c30000a00892f..."} 
[2026-09-10 20:44:20] local.INFO: Packet analysis {"connection_id":176666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:44:20] local.INFO: Extracted packet for processing {"connection_id":176666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749327680,"raw_latitude":126164016,"longitude_deg":74.932768,"latitude_deg":12.6164016,"altitude":10,"angle":137,"satellites":47,"speed":0,"hex_longitude":"2ca9d540","hex_latitude":"07851c30","is_valid_coordinates":true} 
[2026-09-10 20:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997611008001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6226578296258248704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789053189000,"timestamp_ms":1789053189000,"timestamp_seconds":1789053189,"priority":1,"record_length":96,"hex_timestamp":"000001a08be13b88"} 
[2026-09-10 20:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:44:20] 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-09-10 20:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997611008001,"66":27691,"192":206,"27":54016,"24":0,"16":3893920429768704,"44":-6226578296258248704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,27,24,16,44]} 
[2026-09-10 20:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997611008001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:44:20] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 20:44:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6226578296258248704,"description":"Unknown IO ID 44"} 
[2026-09-10 20:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997611008001,"power":27691,"unknown_192":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6226578296258248704}} 
[2026-09-10 20:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":176666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:44:20] local.INFO: GPS data processed {"connection_id":176666,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:44:20] local.INFO: Acknowledgment sent {"connection_id":176666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:44:23] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:44:23] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:44:23] local.INFO: IMEI packet received {"connection_id":178029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":178029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:44:25] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be12fd0012d0c0a4006ee60f8001200812f..."} 
[2026-09-10 20:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be12fd0012d0c0a4006ee60f8001200812f..."} 
[2026-09-10 20:44:25] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be12fd0012d0c0a4006ee60f8001200812f..."} 
[2026-09-10 20:44:25] local.INFO: Packet analysis {"connection_id":178029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:44:25] local.INFO: Extracted packet for processing {"connection_id":178029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:44:25] local.INFO: GPS Element Parsed {"raw_longitude":755763776,"raw_latitude":116285688,"longitude_deg":75.5763776,"latitude_deg":11.6285688,"altitude":18,"angle":129,"satellites":47,"speed":15,"hex_longitude":"2d0c0a40","hex_latitude":"06ee60f8","is_valid_coordinates":true} 
[2026-09-10 20:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997614848001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404733863726678016,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866168901852133376,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789053186000,"timestamp_ms":1789053186000,"timestamp_seconds":1789053186,"priority":1,"record_length":96,"hex_timestamp":"000001a08be12fd0"} 
[2026-09-10 20:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997614848001,"66":27234,"157":206,"80":6400,"24":15,"16":404733863726678016,"45":866168901852133376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-10 20:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997614848001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:44:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 20:44:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404733863726678016,"km_value":404733863726678.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":866168901852133376,"description":"Unknown IO ID 45"} 
[2026-09-10 20:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997614848001,"power":27234,"unknown_157":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":866168901852133376}} 
[2026-09-10 20:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":178029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:44:25] local.INFO: GPS data processed {"connection_id":178029,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:44:25] local.INFO: Acknowledgment sent {"connection_id":178029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:44:26] local.INFO: TCP Data received {"connection_id":176883,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:44:26] local.INFO: Processing buffer {"connection_id":176883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:44:26] local.INFO: IMEI packet received {"connection_id":176883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":176883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:44:28] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be133b8012d0c0b4006ee5fc8001200902f..."} 
[2026-09-10 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be133b8012d0c0b4006ee5fc8001200902f..."} 
[2026-09-10 20:44:28] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be133b8012d0c0b4006ee5fc8001200902f..."} 
[2026-09-10 20:44:28] local.INFO: Packet analysis {"connection_id":178029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:44:28] local.INFO: Extracted packet for processing {"connection_id":178029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":755764032,"raw_latitude":116285384,"longitude_deg":75.5764032,"latitude_deg":11.6285384,"altitude":18,"angle":144,"satellites":47,"speed":16,"hex_longitude":"2d0c0b40","hex_latitude":"06ee5fc8","is_valid_coordinates":true} 
[2026-09-10 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997615616001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404733880906547200,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867576276735555584,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789053187000,"timestamp_ms":1789053187000,"timestamp_seconds":1789053187,"priority":1,"record_length":96,"hex_timestamp":"000001a08be133b8"} 
[2026-09-10 20:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997615616001,"66":27332,"157":206,"80":6400,"24":16,"16":404733880906547200,"45":867576276735555584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-10 20:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997615616001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:44:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 20:44:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404733880906547200,"km_value":404733880906547.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":867576276735555584,"description":"Unknown IO ID 45"} 
[2026-09-10 20:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997615616001,"power":27332,"unknown_157":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":867576276735555584}} 
[2026-09-10 20:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":178029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:44:28] local.INFO: GPS data processed {"connection_id":178029,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:44:28] local.INFO: Acknowledgment sent {"connection_id":178029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:44:31] local.INFO: TCP Data received {"connection_id":176883,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:44:31] local.INFO: Processing buffer {"connection_id":176883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:44:31] local.INFO: IMEI packet received {"connection_id":176883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":176883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:44:33] local.INFO: TCP Data received {"connection_id":176883,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:44:33] local.INFO: Processing buffer {"connection_id":176883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:44:33] local.INFO: Packet analysis {"connection_id":176883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:44:33] local.INFO: Extracted packet for processing {"connection_id":176883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:44:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":176883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:44:33] local.INFO: GPS data processed {"connection_id":176883,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:44:33] local.INFO: Acknowledgment sent {"connection_id":176883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:44:39] local.INFO: TCP Data received {"connection_id":176667,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:44:39] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:44:39] local.INFO: IMEI packet received {"connection_id":176667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":176667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:44:49] local.INFO: TCP Data received {"connection_id":176667,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:44:49] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:44:49] local.INFO: IMEI packet received {"connection_id":176667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":176667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:44:51] local.INFO: TCP Data received {"connection_id":176667,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be21e180100000000000000000000000000..."} 
[2026-09-10 20:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be21e180100000000000000000000000000..."} 
[2026-09-10 20:44:51] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be21e180100000000000000000000000000..."} 
[2026-09-10 20:44:51] local.INFO: Packet analysis {"connection_id":176667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:44:51] local.INFO: Extracted packet for processing {"connection_id":176667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:44:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997616384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6208986110218194944,"note":"Value kept but may cause issues"} 
[2026-09-10 20:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789053247000,"timestamp_ms":1789053247000,"timestamp_seconds":1789053247,"priority":1,"record_length":96,"hex_timestamp":"000001a08be21e18"} 
[2026-09-10 20:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:44: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-09-10 20:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 20:44:51] 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-09-10 20:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":176667,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:44:51] local.INFO: GPS data processed {"connection_id":176667,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:44:51] local.INFO: Acknowledgment sent {"connection_id":176667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:45:02] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be16a68012d0c1e0006ee41080010009530..."} 
[2026-09-10 20:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be16a68012d0c1e0006ee41080010009530..."} 
[2026-09-10 20:45:02] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be16a68012d0c1e0006ee41080010009530..."} 
[2026-09-10 20:45:02] local.INFO: Packet analysis {"connection_id":178029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:02] local.INFO: Extracted packet for processing {"connection_id":178029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:02] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":116277512,"longitude_deg":75.5768832,"latitude_deg":11.6277512,"altitude":16,"angle":149,"satellites":48,"speed":32,"hex_longitude":"2d0c1e00","hex_latitude":"06ee4108","is_valid_coordinates":true} 
[2026-09-10 20:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997615872001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404734323288178688,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867857751712188416,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789053201000,"timestamp_ms":1789053201000,"timestamp_seconds":1789053201,"priority":1,"record_length":96,"hex_timestamp":"000001a08be16a68"} 
[2026-09-10 20:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":196,"data_length":795,"current_offset":136} 
[2026-09-10 20:45: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-09-10 20:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":178029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20: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-09-10 20:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997615872001,"66":27343,"157":206,"80":6400,"24":32,"16":404734323288178688,"45":867857751712188416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-10 20:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997615872001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:45:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-10 20:45:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404734323288178688,"km_value":404734323288178.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":867857751712188416,"description":"Unknown IO ID 45"} 
[2026-09-10 20:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997615872001,"power":27343,"unknown_157":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":867857751712188416}} 
[2026-09-10 20:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":178029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:45:02] local.INFO: GPS data processed {"connection_id":178029,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:45:02] local.INFO: Acknowledgment sent {"connection_id":178029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:45:05] local.INFO: TCP Data received {"connection_id":176883,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:45:05] local.INFO: Processing buffer {"connection_id":176883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:45:05] local.INFO: Packet analysis {"connection_id":176883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:45:05] local.INFO: Extracted packet for processing {"connection_id":176883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45: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-09-10 20:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 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-09-10 20:45: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-09-10 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:45: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-09-10 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-09-10 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-09-10 20:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":176883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:45:05] local.INFO: GPS data processed {"connection_id":176883,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:45:05] local.INFO: Acknowledgment sent {"connection_id":176883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:45:17] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:17] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:17] local.INFO: IMEI packet received {"connection_id":176884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":176884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:45:18] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:18] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:18] local.INFO: IMEI packet received {"connection_id":176884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":176884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:45:23] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:23] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:45:23] local.INFO: IMEI packet received {"connection_id":176884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":176884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:45:24] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be1a500012d0c318006ee2138000f00942d..."} 
[2026-09-10 20:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be1a500012d0c318006ee2138000f00942d..."} 
[2026-09-10 20:45:24] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be1a500012d0c318006ee2138000f00942d..."} 
[2026-09-10 20:45:24] local.INFO: Packet analysis {"connection_id":176884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:24] local.INFO: Extracted packet for processing {"connection_id":176884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:24] local.INFO: GPS Element Parsed {"raw_longitude":755773824,"raw_latitude":116269368,"longitude_deg":75.5773824,"latitude_deg":11.6269368,"altitude":15,"angle":148,"satellites":45,"speed":27,"hex_longitude":"2d0c3180","hex_latitude":"06ee2138","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997619456001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404734787144646656,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407523497984,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789053216000,"timestamp_ms":1789053216000,"timestamp_seconds":1789053216,"priority":1,"record_length":96,"hex_timestamp":"000001a08be1a500"} 
[2026-09-10 20:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:45:24] 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-09-10 20: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-09-10 20:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997619456001,"66":27376,"156":206,"80":6400,"24":27,"16":404734787144646656,"45":873135407523497984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-09-10 20:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997619456001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:45:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 20:45:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404734787144646656,"km_value":404734787144646.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407523497984,"description":"Unknown IO ID 45"} 
[2026-09-10 20:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997619456001,"power":27376,"unknown_156":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":873135407523497984}} 
[2026-09-10 20:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":176884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:45:24] local.INFO: GPS data processed {"connection_id":176884,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:45:24] local.INFO: Acknowledgment sent {"connection_id":176884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:45:25] local.INFO: TCP Data received {"connection_id":176667,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be1a500012caa588007849c380008008c2f..."} 
[2026-09-10 20:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be1a500012caa588007849c380008008c2f..."} 
[2026-09-10 20:45:25] local.INFO: Processing buffer {"connection_id":176667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be1a500012caa588007849c380008008c2f..."} 
[2026-09-10 20:45:25] local.INFO: Packet analysis {"connection_id":176667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:25] local.INFO: Extracted packet for processing {"connection_id":176667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:25] local.INFO: GPS Element Parsed {"raw_longitude":749361280,"raw_latitude":126131256,"longitude_deg":74.936128,"latitude_deg":12.6131256,"altitude":8,"angle":140,"satellites":47,"speed":57,"hex_longitude":"2caa5880","hex_latitude":"07849c38","is_valid_coordinates":true} 
[2026-09-10 20:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,192,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789053216000,"timestamp_ms":1789053216000,"timestamp_seconds":1789053216,"priority":1,"record_length":96,"hex_timestamp":"000001a08be1a500"} 
[2026-09-10 20:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:45:25] local.INFO: 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-09-10 20:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"192":206,"27":54016,"24":57,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,27,24,16]} 
[2026-09-10 20:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:45:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 20:45:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:45:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_192":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-10 20:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":176667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:45:25] local.INFO: GPS data processed {"connection_id":176667,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:45:25] local.INFO: Acknowledgment sent {"connection_id":176667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:45:26] local.INFO: TCP Data received {"connection_id":178030,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:45:26] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:45:26] local.INFO: IMEI packet received {"connection_id":178030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":178030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:45:31] local.INFO: TCP Data received {"connection_id":178030,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:45:31] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:45:31] local.INFO: IMEI packet received {"connection_id":178030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":178030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:45:35] local.INFO: TCP Data received {"connection_id":178030,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:45:35] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:45:35] local.INFO: Packet analysis {"connection_id":178030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:45:35] local.INFO: Extracted packet for processing {"connection_id":178030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45: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-09-10 20:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":178030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:45:35] local.INFO: GPS data processed {"connection_id":178030,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:45:35] local.INFO: Acknowledgment sent {"connection_id":178030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:45:38] local.INFO: TCP Data received {"connection_id":176885,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:38] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:38] local.INFO: IMEI packet received {"connection_id":176885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":176885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:45:39] local.INFO: TCP Data received {"connection_id":176885,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:39] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:39] local.INFO: IMEI packet received {"connection_id":176885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":176885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:45:43] local.INFO: TCP Data received {"connection_id":176885,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:43] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:45:43] local.INFO: IMEI packet received {"connection_id":176885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:45:43] local.INFO: TCP Data received {"connection_id":176885,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be1e380012caa7a80078448f8000900a430..."} 
[2026-09-10 20:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be1e380012caa7a80078448f8000900a430..."} 
[2026-09-10 20:45:43] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be1e380012caa7a80078448f8000900a430..."} 
[2026-09-10 20:45:43] local.INFO: Packet analysis {"connection_id":176885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:43] local.INFO: Extracted packet for processing {"connection_id":176885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:43] local.INFO: GPS Element Parsed {"raw_longitude":749369984,"raw_latitude":126109944,"longitude_deg":74.9369984,"latitude_deg":12.6109944,"altitude":9,"angle":164,"satellites":48,"speed":57,"hex_longitude":"2caa7a80","hex_latitude":"078448f8","is_valid_coordinates":true} 
[2026-09-10 20:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997623296001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6172042519533307904,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789053232000,"timestamp_ms":1789053232000,"timestamp_seconds":1789053232,"priority":1,"record_length":96,"hex_timestamp":"000001a08be1e380"} 
[2026-09-10 20:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:45: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":97,"data_length":795,"current_offset":136} 
[2026-09-10 20:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997623296001,"66":27517,"192":206,"27":54016,"24":57,"16":3893920429768704,"44":-6172042519533307904},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,27,24,16,44]} 
[2026-09-10 20:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997623296001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:45:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 20:45:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6172042519533307904,"description":"Unknown IO ID 44"} 
[2026-09-10 20:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997623296001,"power":27517,"unknown_192":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-6172042519533307904}} 
[2026-09-10 20:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":176885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:45:44] local.INFO: GPS data processed {"connection_id":176885,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:45:44] local.INFO: Acknowledgment sent {"connection_id":176885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:45:55] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be1e380012d0c440006ee02c0000e00942d..."} 
[2026-09-10 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be1e380012d0c440006ee02c0000e00942d..."} 
[2026-09-10 20:45:55] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be1e380012d0c440006ee02c0000e00942d..."} 
[2026-09-10 20:45:55] local.INFO: Packet analysis {"connection_id":176884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:55] local.INFO: Extracted packet for processing {"connection_id":176884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be1"} 
[2026-09-10 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":755778560,"raw_latitude":116261568,"longitude_deg":75.577856,"latitude_deg":11.6261568,"altitude":14,"angle":148,"satellites":45,"speed":16,"hex_longitude":"2d0c4400","hex_latitude":"06ee02c0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997623296001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404735225231310848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878624169567270912,"note":"Value kept but may cause issues"} 
[2026-09-10 20:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789053232000,"timestamp_ms":1789053232000,"timestamp_seconds":1789053232,"priority":1,"record_length":96,"hex_timestamp":"000001a08be1e380"} 
[2026-09-10 20:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997623296001,"66":27267,"156":206,"80":6400,"24":16,"16":404735225231310848,"45":878624169567270912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-09-10 20:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997623296001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:45:55] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 20:45:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404735225231310848,"km_value":404735225231310.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":878624169567270912,"description":"Unknown IO ID 45"} 
[2026-09-10 20:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997623296001,"power":27267,"unknown_156":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":878624169567270912}} 
[2026-09-10 20:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":176884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:45:55] local.INFO: GPS data processed {"connection_id":176884,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:45:55] local.INFO: Acknowledgment sent {"connection_id":176884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:46:07] local.INFO: TCP Data received {"connection_id":178030,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:46:07] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:46:07] local.INFO: Packet analysis {"connection_id":178030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:46:07] local.INFO: Extracted packet for processing {"connection_id":178030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46: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-09-10 20:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:46: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-09-10 20:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:46:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":178030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:46:07] local.INFO: GPS data processed {"connection_id":178030,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:46:07] local.INFO: Acknowledgment sent {"connection_id":178030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:46:15] local.INFO: TCP Data received {"connection_id":176885,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be23588012caa92400783f068000700a630..."} 
[2026-09-10 20:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be23588012caa92400783f068000700a630..."} 
[2026-09-10 20:46:15] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be23588012caa92400783f068000700a630..."} 
[2026-09-10 20:46:15] local.INFO: Packet analysis {"connection_id":176885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:46:15] local.INFO: Extracted packet for processing {"connection_id":176885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:46:15] local.INFO: GPS Element Parsed {"raw_longitude":749376064,"raw_latitude":126087272,"longitude_deg":74.9376064,"latitude_deg":12.6087272,"altitude":7,"angle":166,"satellites":48,"speed":0,"hex_longitude":"2caa9240","hex_latitude":"0783f068","is_valid_coordinates":true} 
[2026-09-10 20:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997627392001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6162472370330601472,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789053253000,"timestamp_ms":1789053253000,"timestamp_seconds":1789053253,"priority":1,"record_length":96,"hex_timestamp":"000001a08be23588"} 
[2026-09-10 20:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:46: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-09-10 20:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:46:15] 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-09-10 20:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997627392001,"66":27517,"191":206,"27":54016,"24":0,"16":3893920429768704,"44":-6162472370330601472},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,27,24,16,44]} 
[2026-09-10 20:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997627392001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:46:15] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-10 20:46:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6162472370330601472,"description":"Unknown IO ID 44"} 
[2026-09-10 20:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997627392001,"power":27517,"unknown_191":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6162472370330601472}} 
[2026-09-10 20:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":176885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:46:15] local.INFO: GPS data processed {"connection_id":176885,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:46:15] local.INFO: Acknowledgment sent {"connection_id":176885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:46:18] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:46:18] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:46:18] local.INFO: IMEI packet received {"connection_id":176668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":176668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:46:23] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:46:23] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:46:23] local.INFO: IMEI packet received {"connection_id":176668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":176668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:46:24] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be225e8012d0c55c006ede3c0000c009b2f..."} 
[2026-09-10 20:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be225e8012d0c55c006ede3c0000c009b2f..."} 
[2026-09-10 20:46:24] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be225e8012d0c55c006ede3c0000c009b2f..."} 
[2026-09-10 20:46:24] local.INFO: Packet analysis {"connection_id":176668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:46:24] local.INFO: Extracted packet for processing {"connection_id":176668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":116253632,"longitude_deg":75.5783104,"latitude_deg":11.6253632,"altitude":12,"angle":155,"satellites":47,"speed":22,"hex_longitude":"2d0c55c0","hex_latitude":"06ede3c0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997627392001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404735667612942336,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883831456634421248,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789053249000,"timestamp_ms":1789053249000,"timestamp_seconds":1789053249,"priority":1,"record_length":96,"hex_timestamp":"000001a08be225e8"} 
[2026-09-10 20:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997627392001,"66":27245,"156":206,"80":6400,"24":22,"16":404735667612942336,"45":883831456634421248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-09-10 20:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997627392001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:46:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 20:46:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404735667612942336,"km_value":404735667612942.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":883831456634421248,"description":"Unknown IO ID 45"} 
[2026-09-10 20:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997627392001,"power":27245,"unknown_156":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":883831456634421248}} 
[2026-09-10 20:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":176668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:46:24] local.INFO: GPS data processed {"connection_id":176668,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:46:24] local.INFO: Acknowledgment sent {"connection_id":176668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:46:26] local.INFO: TCP Data received {"connection_id":176886,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:46:26] local.INFO: Processing buffer {"connection_id":176886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:46:26] local.INFO: IMEI packet received {"connection_id":176886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":176886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:46:31] local.INFO: TCP Data received {"connection_id":176886,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:46:31] local.INFO: Processing buffer {"connection_id":176886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:46:31] local.INFO: IMEI packet received {"connection_id":176886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":176886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:46:33] local.INFO: TCP Data received {"connection_id":176886,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:46:33] local.INFO: Processing buffer {"connection_id":176886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bdf5340012d1965c0071feee00041005e2b..."} 
[2026-09-10 20:46:33] local.INFO: Packet analysis {"connection_id":176886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:46:33] local.INFO: Extracted packet for processing {"connection_id":176886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bdf"} 
[2026-09-10 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997507328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053064000,"timestamp_ms":1789053064000,"timestamp_seconds":1789053064,"priority":1,"record_length":96,"hex_timestamp":"000001a08bdf5340"} 
[2026-09-10 20:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 20:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997507328001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997507328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:46:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997507328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":176886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:46:33] local.INFO: GPS data processed {"connection_id":176886,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:46:33] local.INFO: Acknowledgment sent {"connection_id":176886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:46:38] local.INFO: TCP Data received {"connection_id":178031,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:46:38] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:46:38] local.INFO: IMEI packet received {"connection_id":178031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":178031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:46:43] local.INFO: TCP Data received {"connection_id":178031,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:46:43] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:46:43] local.INFO: IMEI packet received {"connection_id":178031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":178031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:46:44] local.INFO: TCP Data received {"connection_id":178031,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be318180100000000000000000000000000..."} 
[2026-09-10 20:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be318180100000000000000000000000000..."} 
[2026-09-10 20:46:44] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be318180100000000000000000000000000..."} 
[2026-09-10 20:46:44] local.INFO: Packet analysis {"connection_id":178031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:46:44] local.INFO: Extracted packet for processing {"connection_id":178031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:46:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997632768001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6155787339639527424,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789053311000,"timestamp_ms":1789053311000,"timestamp_seconds":1789053311,"priority":1,"record_length":96,"hex_timestamp":"000001a08be31818"} 
[2026-09-10 20:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":178031,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:46:44] local.INFO: GPS data processed {"connection_id":178031,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:46:44] local.INFO: Acknowledgment sent {"connection_id":178031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:46:56] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be26468012d0c618006edc310000b00a431..."} 
[2026-09-10 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be26468012d0c618006edc310000b00a431..."} 
[2026-09-10 20:46:56] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be26468012d0c618006edc310000b00a431..."} 
[2026-09-10 20:46:56] local.INFO: Packet analysis {"connection_id":176668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:46:56] local.INFO: Extracted packet for processing {"connection_id":176668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":116245264,"longitude_deg":75.5786112,"latitude_deg":11.6245264,"altitude":11,"angle":164,"satellites":49,"speed":21,"hex_longitude":"2d0c6180","hex_latitude":"06edc310","is_valid_coordinates":true} 
[2026-09-10 20:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997631744001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404736101404639232,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637469003776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789053265000,"timestamp_ms":1789053265000,"timestamp_seconds":1789053265,"priority":1,"record_length":96,"hex_timestamp":"000001a08be26468"} 
[2026-09-10 20:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:46:56] 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-09-10 20:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997631744001,"66":27343,"156":206,"80":6400,"24":21,"16":404736101404639232,"45":888827637469003776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-09-10 20:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997631744001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:46:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-10 20:46:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404736101404639232,"km_value":404736101404639.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637469003776,"description":"Unknown IO ID 45"} 
[2026-09-10 20:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997631744001,"power":27343,"unknown_156":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":888827637469003776}} 
[2026-09-10 20:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":176668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:46:56] local.INFO: GPS data processed {"connection_id":176668,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:46:56] local.INFO: Acknowledgment sent {"connection_id":176668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:47:05] local.INFO: TCP Data received {"connection_id":176886,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:47:05] local.INFO: Processing buffer {"connection_id":176886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:47:05] local.INFO: Packet analysis {"connection_id":176886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:47:05] local.INFO: Extracted packet for processing {"connection_id":176886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 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-09-10 20:47: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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":176886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:47:05] local.INFO: GPS data processed {"connection_id":176886,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:47:05] local.INFO: Acknowledgment sent {"connection_id":176886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:47:15] local.INFO: TCP Data received {"connection_id":178031,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be29f00012caac14007833e68000600a331..."} 
[2026-09-10 20:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be29f00012caac14007833e68000600a331..."} 
[2026-09-10 20:47:15] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be29f00012caac14007833e68000600a331..."} 
[2026-09-10 20:47:15] local.INFO: Packet analysis {"connection_id":178031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:47:15] local.INFO: Extracted packet for processing {"connection_id":178031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":749388096,"raw_latitude":126041704,"longitude_deg":74.9388096,"latitude_deg":12.6041704,"altitude":6,"angle":163,"satellites":49,"speed":56,"hex_longitude":"2caac140","hex_latitude":"07833e68","is_valid_coordinates":true} 
[2026-09-10 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,191,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789053280000,"timestamp_ms":1789053280000,"timestamp_seconds":1789053280,"priority":1,"record_length":96,"hex_timestamp":"000001a08be29f00"} 
[2026-09-10 20:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:47: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 20:47:15] 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-09-10 20:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"191":206,"27":54016,"24":56,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,27,24,16]} 
[2026-09-10 20:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:47:15] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-10 20:47:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:47:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_191":206,"unknown_27":54016,"ignition":56,"odometer":null}} 
[2026-09-10 20:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":178031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:47:16] local.INFO: GPS data processed {"connection_id":178031,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:47:16] local.INFO: Acknowledgment sent {"connection_id":178031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:47:19] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:47:19] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:47:19] local.INFO: IMEI packet received {"connection_id":176669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":176669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:47:23] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:47:23] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:47:23] local.INFO: IMEI packet received {"connection_id":176669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":176669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:47:25] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be29b18012d0c68c006ed9ee8000900ae31..."} 
[2026-09-10 20:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be29b18012d0c68c006ed9ee8000900ae31..."} 
[2026-09-10 20:47:25] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be29b18012d0c68c006ed9ee8000900ae31..."} 
[2026-09-10 20:47:25] local.INFO: Packet analysis {"connection_id":176669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:47:25] local.INFO: Extracted packet for processing {"connection_id":176669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:47:25] local.INFO: GPS Element Parsed {"raw_longitude":755787968,"raw_latitude":116236008,"longitude_deg":75.5787968,"latitude_deg":11.6236008,"altitude":9,"angle":174,"satellites":49,"speed":30,"hex_longitude":"2d0c68c0","hex_latitude":"06ed9ee8","is_valid_coordinates":true} 
[2026-09-10 20:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997635840001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404736560966139904,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892134968443211776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789053279000,"timestamp_ms":1789053279000,"timestamp_seconds":1789053279,"priority":1,"record_length":96,"hex_timestamp":"000001a08be29b18"} 
[2026-09-10 20:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 20:47:25] 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-09-10 20:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997635840001,"66":27213,"240":206,"80":6400,"24":30,"16":404736560966139904,"45":892134968443211776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-10 20:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997635840001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:47:25] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-10 20:47:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404736560966139904,"km_value":404736560966139.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":892134968443211776,"description":"Unknown IO ID 45"} 
[2026-09-10 20:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997635840001,"power":27213,"unknown_240":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":892134968443211776}} 
[2026-09-10 20:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":176669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:47:25] local.INFO: GPS data processed {"connection_id":176669,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:47:25] local.INFO: Acknowledgment sent {"connection_id":176669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:47:31] local.INFO: TCP Data received {"connection_id":179416,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:47:31] local.INFO: Processing buffer {"connection_id":179416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:47:31] local.INFO: IMEI packet received {"connection_id":179416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":179416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:47:36] local.INFO: TCP Data received {"connection_id":179416,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:47:36] local.INFO: Processing buffer {"connection_id":179416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:47:36] local.INFO: IMEI packet received {"connection_id":179416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":179416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:47:38] local.INFO: TCP Data received {"connection_id":179416,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:47:38] local.INFO: Processing buffer {"connection_id":179416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:47:38] local.INFO: Packet analysis {"connection_id":179416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:47:38] local.INFO: Extracted packet for processing {"connection_id":179416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47: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-09-10 20:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:47: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-09-10 20:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":179416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:47:38] local.INFO: GPS data processed {"connection_id":179416,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:47:38] local.INFO: Acknowledgment sent {"connection_id":179416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:47:41] local.INFO: TCP Data received {"connection_id":179417,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:41] local.INFO: Processing buffer {"connection_id":179417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:41] local.INFO: IMEI packet received {"connection_id":179417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":179417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:47:43] local.INFO: TCP Data received {"connection_id":179417,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:43] local.INFO: Processing buffer {"connection_id":179417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:43] local.INFO: IMEI packet received {"connection_id":179417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":179417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:47:48] local.INFO: TCP Data received {"connection_id":179417,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:48] local.INFO: Processing buffer {"connection_id":179417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:47:48] local.INFO: IMEI packet received {"connection_id":179417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":179417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:47:49] local.INFO: TCP Data received {"connection_id":179417,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be2f108012caad6c00782ece8000a00a730..."} 
[2026-09-10 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be2f108012caad6c00782ece8000a00a730..."} 
[2026-09-10 20:47:49] local.INFO: Processing buffer {"connection_id":179417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be2f108012caad6c00782ece8000a00a730..."} 
[2026-09-10 20:47:49] local.INFO: Packet analysis {"connection_id":179417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:47:49] local.INFO: Extracted packet for processing {"connection_id":179417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be2"} 
[2026-09-10 20:47:49] local.INFO: GPS Element Parsed {"raw_longitude":749393600,"raw_latitude":126020840,"longitude_deg":74.93936,"latitude_deg":12.602084,"altitude":10,"angle":167,"satellites":48,"speed":0,"hex_longitude":"2caad6c0","hex_latitude":"0782ece8","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997639680001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6142558015745792000,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789053301000,"timestamp_ms":1789053301000,"timestamp_seconds":1789053301,"priority":1,"record_length":96,"hex_timestamp":"000001a08be2f108"} 
[2026-09-10 20:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20: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-09-10 20: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 20:47:49] 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-09-10 20:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997639680001,"66":27571,"19":206,"27":54016,"24":0,"16":3893920429768704,"44":-6142558015745792000},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,27,24,16,44]} 
[2026-09-10 20:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997639680001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:47:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 20:47:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6142558015745792000,"description":"Unknown IO ID 44"} 
[2026-09-10 20:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997639680001,"power":27571,"unknown_19":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6142558015745792000}} 
[2026-09-10 20:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":179417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:47:49] local.INFO: GPS data processed {"connection_id":179417,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:47:49] local.INFO: Acknowledgment sent {"connection_id":179417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:47:54] local.INFO: TCP Data received {"connection_id":179417,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be34310012caaea400782a8680009009d32..."} 
[2026-09-10 20:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be34310012caaea400782a8680009009d32..."} 
[2026-09-10 20:47:54] local.INFO: Processing buffer {"connection_id":179417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be34310012caaea400782a8680009009d32..."} 
[2026-09-10 20:47:54] local.INFO: Packet analysis {"connection_id":179417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:47:54] local.INFO: Extracted packet for processing {"connection_id":179417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:47:54] local.INFO: GPS Element Parsed {"raw_longitude":749398592,"raw_latitude":126003304,"longitude_deg":74.9398592,"latitude_deg":12.6003304,"altitude":9,"angle":157,"satellites":50,"speed":0,"hex_longitude":"2caaea40","hex_latitude":"0782a868","is_valid_coordinates":true} 
[2026-09-10 20:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997645056001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6136506303751854080,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789053322000,"timestamp_ms":1789053322000,"timestamp_seconds":1789053322,"priority":1,"record_length":96,"hex_timestamp":"000001a08be34310"} 
[2026-09-10 20:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:47:54] 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-09-10 20:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997645056001,"66":27017,"19":206,"27":54016,"24":0,"16":3893920429768704,"44":-6136506303751854080},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,27,24,16,44]} 
[2026-09-10 20:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997645056001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:47:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 20:47:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:47:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6136506303751854080,"description":"Unknown IO ID 44"} 
[2026-09-10 20:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997645056001,"power":27017,"unknown_19":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6136506303751854080}} 
[2026-09-10 20:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":179417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:47:54] local.INFO: GPS data processed {"connection_id":179417,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:47:54] local.INFO: Acknowledgment sent {"connection_id":179417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:47:57] local.INFO: TCP Data received {"connection_id":176669,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be45098012d0c498006ecd8c0000a00bb30..."} 
[2026-09-10 20:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be45098012d0c498006ecd8c0000a00bb30..."} 
[2026-09-10 20:47:57] local.INFO: Processing buffer {"connection_id":176669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be45098012d0c498006ecd8c0000a00bb30..."} 
[2026-09-10 20:47:57] local.INFO: Packet analysis {"connection_id":176669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:47:57] local.INFO: Extracted packet for processing {"connection_id":176669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:47:57] local.INFO: GPS Element Parsed {"raw_longitude":755779968,"raw_latitude":116185280,"longitude_deg":75.5779968,"latitude_deg":11.618528,"altitude":10,"angle":187,"satellites":48,"speed":23,"hex_longitude":"2d0c4980","hex_latitude":"06ecd8c0","is_valid_coordinates":true} 
[2026-09-10 20:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997664256001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404739099291811840,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886786943872624640,"note":"Value kept but may cause issues"} 
[2026-09-10 20:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789053391000,"timestamp_ms":1789053391000,"timestamp_seconds":1789053391,"priority":1,"record_length":96,"hex_timestamp":"000001a08be45098"} 
[2026-09-10 20:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997664256001,"66":27267,"240":206,"80":6400,"24":23,"16":404739099291811840,"45":886786943872624640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-10 20:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997664256001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:47:57] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-10 20:47:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404739099291811840,"km_value":404739099291811.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":886786943872624640,"description":"Unknown IO ID 45"} 
[2026-09-10 20:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997664256001,"power":27267,"unknown_240":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":886786943872624640}} 
[2026-09-10 20:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":176669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:47:57] local.INFO: GPS data processed {"connection_id":176669,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:47:57] local.INFO: Acknowledgment sent {"connection_id":176669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:48:10] local.INFO: TCP Data received {"connection_id":179416,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:48:10] local.INFO: Processing buffer {"connection_id":179416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:48:10] local.INFO: Packet analysis {"connection_id":179416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:48:10] local.INFO: Extracted packet for processing {"connection_id":179416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48: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-09-10 20:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:48: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-09-10 20: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-09-10 20: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-09-10 20: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-09-10 20:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":179416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":179416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":179416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:48:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":179416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:48:10] local.INFO: GPS data processed {"connection_id":179416,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:48:10] local.INFO: Acknowledgment sent {"connection_id":179416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:48:18] local.INFO: TCP Data received {"connection_id":179418,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:48:18] local.INFO: Processing buffer {"connection_id":179418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:48:18] local.INFO: IMEI packet received {"connection_id":179418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":179418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:48:23] local.INFO: TCP Data received {"connection_id":179418,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:48:23] local.INFO: Processing buffer {"connection_id":179418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:48:23] local.INFO: IMEI packet received {"connection_id":179418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":179418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:48:25] local.INFO: TCP Data received {"connection_id":179418,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be4a2a0012d0c470006ecc7d0000b00bc31..."} 
[2026-09-10 20:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be4a2a0012d0c470006ecc7d0000b00bc31..."} 
[2026-09-10 20:48:25] local.INFO: Processing buffer {"connection_id":179418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be4a2a0012d0c470006ecc7d0000b00bc31..."} 
[2026-09-10 20:48:25] local.INFO: Packet analysis {"connection_id":179418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:48:25] local.INFO: Extracted packet for processing {"connection_id":179418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:48:25] local.INFO: GPS Element Parsed {"raw_longitude":755779328,"raw_latitude":116180944,"longitude_deg":75.5779328,"latitude_deg":11.6180944,"altitude":11,"angle":188,"satellites":49,"speed":8,"hex_longitude":"2d0c4700","hex_latitude":"06ecc7d0","is_valid_coordinates":true} 
[2026-09-10 20:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997668096001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404739314040176640,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885379568986800128,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:25] 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-09-10 20:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789053412000,"timestamp_ms":1789053412000,"timestamp_seconds":1789053412,"priority":1,"record_length":96,"hex_timestamp":"000001a08be4a2a0"} 
[2026-09-10 20:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997668096001,"66":27321,"241":206,"80":6400,"24":8,"16":404739314040176640,"45":885379568986800128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997668096001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:48:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:48:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404739314040176640,"km_value":404739314040176.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":885379568986800128,"description":"Unknown IO ID 45"} 
[2026-09-10 20:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997668096001,"power":27321,"unknown_241":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":885379568986800128}} 
[2026-09-10 20:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":179418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:48:25] local.INFO: GPS data processed {"connection_id":179418,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:48:25] local.INFO: Acknowledgment sent {"connection_id":179418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:48:27] local.INFO: TCP Data received {"connection_id":176887,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:48:27] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:48:27] local.INFO: IMEI packet received {"connection_id":176887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":176887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:48:31] local.INFO: TCP Data received {"connection_id":176887,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:48:31] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:48:31] local.INFO: IMEI packet received {"connection_id":176887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":176887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:48:33] local.INFO: TCP Data received {"connection_id":176887,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:48:33] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:48:33] local.INFO: Packet analysis {"connection_id":176887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:48:33] local.INFO: Extracted packet for processing {"connection_id":176887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:48:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":176887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:48:33] local.INFO: GPS data processed {"connection_id":176887,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:48:33] local.INFO: Acknowledgment sent {"connection_id":176887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:48:38] local.INFO: TCP Data received {"connection_id":178032,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:48:38] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:48:38] local.INFO: IMEI packet received {"connection_id":178032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":178032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:48:43] local.INFO: TCP Data received {"connection_id":178032,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:48:43] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:48:43] local.INFO: IMEI packet received {"connection_id":178032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":178032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:48:44] local.INFO: TCP Data received {"connection_id":178032,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be425a00100000000000000000000000000..."} 
[2026-09-10 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be425a00100000000000000000000000000..."} 
[2026-09-10 20:48:44] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be425a00100000000000000000000000000..."} 
[2026-09-10 20:48:44] local.INFO: Packet analysis {"connection_id":178032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:48:44] local.INFO: Extracted packet for processing {"connection_id":178032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997650432001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6131017541710485504,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789053380000,"timestamp_ms":1789053380000,"timestamp_seconds":1789053380,"priority":1,"record_length":96,"hex_timestamp":"000001a08be425a0"} 
[2026-09-10 20:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-10 20:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":178032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:48:44] local.INFO: GPS data processed {"connection_id":178032,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:48:44] local.INFO: Acknowledgment sent {"connection_id":178032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:48:49] local.INFO: TCP Data received {"connection_id":178032,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3b840012cab2480078221e00009009c31..."} 
[2026-09-10 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3b840012cab2480078221e00009009c31..."} 
[2026-09-10 20:48:49] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3b840012cab2480078221e00009009c31..."} 
[2026-09-10 20:48:49] local.INFO: Packet analysis {"connection_id":178032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:48:49] local.INFO: Extracted packet for processing {"connection_id":178032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":749413504,"raw_latitude":125968864,"longitude_deg":74.9413504,"latitude_deg":12.5968864,"altitude":9,"angle":156,"satellites":49,"speed":47,"hex_longitude":"2cab2480","hex_latitude":"078221e0","is_valid_coordinates":true} 
[2026-09-10 20:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789053352000,"timestamp_ms":1789053352000,"timestamp_seconds":1789053352,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3b840"} 
[2026-09-10 20:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 20:48:49] 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-09-10 20:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"19":206,"27":54016,"24":47,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,27,24,16]} 
[2026-09-10 20:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:48:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 20:48:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:48:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27615,"unknown_19":206,"unknown_27":54016,"ignition":47,"odometer":null}} 
[2026-09-10 20:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":178032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:48:49] local.INFO: GPS data processed {"connection_id":178032,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:48:49] local.INFO: Acknowledgment sent {"connection_id":178032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:48:56] local.INFO: TCP Data received {"connection_id":179418,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be4f4a8012d0c448006ecb7a8000d00bf31..."} 
[2026-09-10 20:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be4f4a8012d0c448006ecb7a8000d00bf31..."} 
[2026-09-10 20:48:56] local.INFO: Processing buffer {"connection_id":179418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be4f4a8012d0c448006ecb7a8000d00bf31..."} 
[2026-09-10 20:48:56] local.INFO: Packet analysis {"connection_id":179418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:48:56] local.INFO: Extracted packet for processing {"connection_id":179418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:48:56] local.INFO: GPS Element Parsed {"raw_longitude":755778688,"raw_latitude":116176808,"longitude_deg":75.5778688,"latitude_deg":11.6176808,"altitude":13,"angle":191,"satellites":49,"speed":0,"hex_longitude":"2d0c4480","hex_latitude":"06ecb7a8","is_valid_coordinates":true} 
[2026-09-10 20:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997673472001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404739520198606848,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884675881543913472,"note":"Value kept but may cause issues"} 
[2026-09-10 20:48:56] 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-09-10 20:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789053433000,"timestamp_ms":1789053433000,"timestamp_seconds":1789053433,"priority":1,"record_length":96,"hex_timestamp":"000001a08be4f4a8"} 
[2026-09-10 20:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20: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-09-10 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:48:56] 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-09-10 20:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997673472001,"66":27397,"241":206,"80":6400,"24":0,"16":404739520198606848,"45":884675881543913472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997673472001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:48:56] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:48:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404739520198606848,"km_value":404739520198606.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":884675881543913472,"description":"Unknown IO ID 45"} 
[2026-09-10 20:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997673472001,"power":27397,"unknown_241":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":884675881543913472}} 
[2026-09-10 20:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":179418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:48:56] local.INFO: GPS data processed {"connection_id":179418,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:48:56] local.INFO: Acknowledgment sent {"connection_id":179418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:49:04] local.INFO: TCP Data received {"connection_id":176887,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:49:04] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:49:04] local.INFO: Packet analysis {"connection_id":176887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:49:04] local.INFO: Extracted packet for processing {"connection_id":176887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49: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-09-10 20:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:49: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-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":176887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:49:05] local.INFO: GPS data processed {"connection_id":176887,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:49:05] local.INFO: Acknowledgment sent {"connection_id":176887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:49:18] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:18] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:18] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:49:20] local.INFO: TCP Data received {"connection_id":178032,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be40a48012cab3a400781cef8000900a031..."} 
[2026-09-10 20:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be40a48012cab3a400781cef8000900a031..."} 
[2026-09-10 20:49:20] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be40a48012cab3a400781cef8000900a031..."} 
[2026-09-10 20:49:20] local.INFO: Packet analysis {"connection_id":178032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:49:20] local.INFO: Extracted packet for processing {"connection_id":178032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749419072,"raw_latitude":125947640,"longitude_deg":74.9419072,"latitude_deg":12.594764,"altitude":9,"angle":160,"satellites":49,"speed":0,"hex_longitude":"2cab3a40","hex_latitude":"0781cef8","is_valid_coordinates":true} 
[2026-09-10 20:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997658112001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6114621624325906432,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789053373000,"timestamp_ms":1789053373000,"timestamp_seconds":1789053373,"priority":1,"record_length":96,"hex_timestamp":"000001a08be40a48"} 
[2026-09-10 20:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 20:49:20] 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-09-10 20:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997658112001,"66":27517,"19":206,"27":54016,"24":0,"16":3893920429768704,"44":-6114621624325906432},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,27,24,16,44]} 
[2026-09-10 20:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997658112001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:49:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 20:49:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6114621624325906432,"description":"Unknown IO ID 44"} 
[2026-09-10 20:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997658112001,"power":27517,"unknown_19":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6114621624325906432}} 
[2026-09-10 20:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":178032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:49:20] local.INFO: GPS data processed {"connection_id":178032,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:49:20] local.INFO: Acknowledgment sent {"connection_id":178032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:49:22] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:22] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:22] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:49:23] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:23] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:49:23] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:49:25] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be53710012d0c440006ecb188000e00b330..."} 
[2026-09-10 20:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be53710012d0c440006ecb188000e00b330..."} 
[2026-09-10 20:49:25] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be53710012d0c440006ecb188000e00b330..."} 
[2026-09-10 20:49:25] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be5"} 
[2026-09-10 20:49:25] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be5"} 
[2026-09-10 20:49:25] local.INFO: GPS Element Parsed {"raw_longitude":755778560,"raw_latitude":116175240,"longitude_deg":75.577856,"latitude_deg":11.617524,"altitude":14,"angle":179,"satellites":48,"speed":5,"hex_longitude":"2d0c4400","hex_latitude":"06ecb188","is_valid_coordinates":true} 
[2026-09-10 20:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997678848001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404739597508018176,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883972194101078016,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:25] 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-09-10 20:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789053450000,"timestamp_ms":1789053450000,"timestamp_seconds":1789053450,"priority":1,"record_length":96,"hex_timestamp":"000001a08be53710"} 
[2026-09-10 20:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 20:49:25] 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-09-10 20:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997678848001,"66":27213,"241":206,"80":6400,"24":5,"16":404739597508018176,"45":883972194101078016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997678848001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:49:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:49:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404739597508018176,"km_value":404739597508018.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":883972194101078016,"description":"Unknown IO ID 45"} 
[2026-09-10 20:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997678848001,"power":27213,"unknown_241":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":883972194101078016}} 
[2026-09-10 20:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:49:25] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:49:25] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:49:26] local.INFO: TCP Data received {"connection_id":179419,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:49:26] local.INFO: Processing buffer {"connection_id":179419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:49:26] local.INFO: IMEI packet received {"connection_id":179419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":179419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:49:31] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be58918012d0c450006eca568000e00ac30..."} 
[2026-09-10 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be58918012d0c450006eca568000e00ac30..."} 
[2026-09-10 20:49:31] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be58918012d0c450006eca568000e00ac30..."} 
[2026-09-10 20:49:31] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be5"} 
[2026-09-10 20:49:31] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be5"} 
[2026-09-10 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":755778816,"raw_latitude":116172136,"longitude_deg":75.5778816,"latitude_deg":11.6172136,"altitude":14,"angle":172,"satellites":48,"speed":4,"hex_longitude":"2d0c4500","hex_latitude":"06eca568","is_valid_coordinates":true} 
[2026-09-10 20:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997683200001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404739747831873536,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883831456612321280,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:31] 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-09-10 20:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789053471000,"timestamp_ms":1789053471000,"timestamp_seconds":1789053471,"priority":1,"record_length":96,"hex_timestamp":"000001a08be58918"} 
[2026-09-10 20:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:49: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-09-10 20:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:49: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-09-10 20:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997683200001,"66":27463,"241":206,"80":6400,"24":4,"16":404739747831873536,"45":883831456612321280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997683200001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:49:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:49:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404739747831873536,"km_value":404739747831873.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":883831456612321280,"description":"Unknown IO ID 45"} 
[2026-09-10 20:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997683200001,"power":27463,"unknown_241":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":883831456612321280}} 
[2026-09-10 20:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:49:31] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:49:31] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:49:31] local.INFO: TCP Data received {"connection_id":179419,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:49:31] local.INFO: Processing buffer {"connection_id":179419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:49:31] local.INFO: IMEI packet received {"connection_id":179419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":179419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:49:33] local.INFO: TCP Data received {"connection_id":179419,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:49:33] local.INFO: Processing buffer {"connection_id":179419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:49:33] local.INFO: Packet analysis {"connection_id":179419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:49:33] local.INFO: Extracted packet for processing {"connection_id":179419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:49:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:49:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":179419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:49:33] local.INFO: GPS data processed {"connection_id":179419,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:49:33] local.INFO: Acknowledgment sent {"connection_id":179419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:49:38] local.INFO: TCP Data received {"connection_id":176671,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:38] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:38] local.INFO: IMEI packet received {"connection_id":176671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":176671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:49:38] local.INFO: TCP Data received {"connection_id":176671,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:38] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:38] local.INFO: IMEI packet received {"connection_id":176671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":176671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:49:43] local.INFO: TCP Data received {"connection_id":176671,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:43] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:49:43] local.INFO: IMEI packet received {"connection_id":176671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:49:44] local.INFO: TCP Data received {"connection_id":176671,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be43928012cab6b4007818d80001100872f..."} 
[2026-09-10 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be43928012cab6b4007818d80001100872f..."} 
[2026-09-10 20:49:44] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be43928012cab6b4007818d80001100872f..."} 
[2026-09-10 20:49:44] local.INFO: Packet analysis {"connection_id":176671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:49:44] local.INFO: Extracted packet for processing {"connection_id":176671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":749431616,"raw_latitude":125930880,"longitude_deg":74.9431616,"latitude_deg":12.593088,"altitude":17,"angle":135,"satellites":47,"speed":48,"hex_longitude":"2cab6b40","hex_latitude":"07818d80","is_valid_coordinates":true} 
[2026-09-10 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997663488001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6108499543587883008,"note":"Value kept but may cause issues"} 
[2026-09-10 20:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789053385000,"timestamp_ms":1789053385000,"timestamp_seconds":1789053385,"priority":1,"record_length":96,"hex_timestamp":"000001a08be43928"} 
[2026-09-10 20:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997663488001,"66":27484,"19":206,"27":54016,"24":48,"16":3893920429768704,"44":-6108499543587883008},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,27,24,16,44]} 
[2026-09-10 20:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997663488001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:49:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-10 20:49:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:49:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6108499543587883008,"description":"Unknown IO ID 44"} 
[2026-09-10 20:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997663488001,"power":27484,"unknown_19":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-6108499543587883008}} 
[2026-09-10 20:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":176671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:49:44] local.INFO: GPS data processed {"connection_id":176671,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:49:44] local.INFO: Acknowledgment sent {"connection_id":176671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:50:02] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be5db20012d0c45c006ec9a98000c00af31..."} 
[2026-09-10 20:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be5db20012d0c45c006ec9a98000c00af31..."} 
[2026-09-10 20:50:02] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be5db20012d0c45c006ec9a98000c00af31..."} 
[2026-09-10 20:50:02] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be5"} 
[2026-09-10 20:50:02] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be5"} 
[2026-09-10 20:50:02] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116169368,"longitude_deg":75.5779008,"latitude_deg":11.6169368,"altitude":12,"angle":175,"satellites":49,"speed":7,"hex_longitude":"2d0c45c0","hex_latitude":"06ec9a98","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997688576001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404739885270827008,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884112931588237312,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:02] 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-09-10 20:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789053492000,"timestamp_ms":1789053492000,"timestamp_seconds":1789053492,"priority":1,"record_length":96,"hex_timestamp":"000001a08be5db20"} 
[2026-09-10 20:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 20:50: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-09-10 20: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-09-10 20:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:50: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-09-10 20:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997688576001,"66":27376,"241":206,"80":6400,"24":7,"16":404739885270827008,"45":884112931588237312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997688576001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:50:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:50:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404739885270827008,"km_value":404739885270827.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":884112931588237312,"description":"Unknown IO ID 45"} 
[2026-09-10 20:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997688576001,"power":27376,"unknown_241":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":884112931588237312}} 
[2026-09-10 20:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:50:02] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:50:02] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:50:05] local.INFO: TCP Data received {"connection_id":179419,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:50:05] local.INFO: Processing buffer {"connection_id":179419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:50:05] local.INFO: Packet analysis {"connection_id":179419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:50:05] local.INFO: Extracted packet for processing {"connection_id":179419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50: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-09-10 20:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 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-09-10 20:50: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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20: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-09-10 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-09-10 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-09-10 20:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":179419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:50:05] local.INFO: GPS data processed {"connection_id":179419,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:50:05] local.INFO: Acknowledgment sent {"connection_id":179419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:50:16] local.INFO: TCP Data received {"connection_id":176671,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be47b90012cab8e0007814bf8001500a431..."} 
[2026-09-10 20:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be47b90012cab8e0007814bf8001500a431..."} 
[2026-09-10 20:50:16] local.INFO: Processing buffer {"connection_id":176671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be47b90012cab8e0007814bf8001500a431..."} 
[2026-09-10 20:50:16] local.INFO: Packet analysis {"connection_id":176671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:50:16] local.INFO: Extracted packet for processing {"connection_id":176671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:50:16] local.INFO: GPS Element Parsed {"raw_longitude":749440512,"raw_latitude":125914104,"longitude_deg":74.9440512,"latitude_deg":12.5914104,"altitude":21,"angle":164,"satellites":49,"speed":42,"hex_longitude":"2cab8e00","hex_latitude":"07814bf8","is_valid_coordinates":true} 
[2026-09-10 20:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997666560001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6094707269733351424,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789053402000,"timestamp_ms":1789053402000,"timestamp_seconds":1789053402,"priority":1,"record_length":96,"hex_timestamp":"000001a08be47b90"} 
[2026-09-10 20:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:50: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-09-10 20: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-09-10 20:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997666560001,"66":26908,"17":206,"27":54016,"24":42,"16":3893920429768704,"44":-6094707269733351424},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,27,24,16,44]} 
[2026-09-10 20:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997666560001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:50:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6094707269733351424,"description":"Unknown IO ID 44"} 
[2026-09-10 20:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997666560001,"power":26908,"axis_x":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-6094707269733351424}} 
[2026-09-10 20:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":176671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:50:16] local.INFO: GPS data processed {"connection_id":176671,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:50:16] local.INFO: Acknowledgment sent {"connection_id":176671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:50:24] local.INFO: TCP Data received {"connection_id":179420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:50:24] local.INFO: Processing buffer {"connection_id":179420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:50:24] local.INFO: IMEI packet received {"connection_id":179420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":179420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:50:26] local.INFO: TCP Data received {"connection_id":176672,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:50:26] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:50:26] local.INFO: IMEI packet received {"connection_id":176672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":176672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:50:28] local.INFO: TCP Data received {"connection_id":179420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:50:28] local.INFO: Processing buffer {"connection_id":179420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:50:28] local.INFO: IMEI packet received {"connection_id":179420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":179420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:50:29] local.INFO: TCP Data received {"connection_id":179420,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be62d28012d0c474006ec8f20000c00a82e..."} 
[2026-09-10 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be62d28012d0c474006ec8f20000c00a82e..."} 
[2026-09-10 20:50:29] local.INFO: Processing buffer {"connection_id":179420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be62d28012d0c474006ec8f20000c00a82e..."} 
[2026-09-10 20:50:29] local.INFO: Packet analysis {"connection_id":179420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:50:29] local.INFO: Extracted packet for processing {"connection_id":179420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755779392,"raw_latitude":116166432,"longitude_deg":75.5779392,"latitude_deg":11.6166432,"altitude":12,"angle":168,"satellites":46,"speed":4,"hex_longitude":"2d0c4740","hex_latitude":"06ec8f20","is_valid_coordinates":true} 
[2026-09-10 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997693952001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404740035594682368,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037820061696,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:29] 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-09-10 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789053513000,"timestamp_ms":1789053513000,"timestamp_seconds":1789053513,"priority":1,"record_length":96,"hex_timestamp":"000001a08be62d28"} 
[2026-09-10 20:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:50: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-09-10 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997693952001,"66":27365,"241":206,"80":6400,"24":4,"16":404740035594682368,"45":884324037820061696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997693952001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:50:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:50:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404740035594682368,"km_value":404740035594682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037820061696,"description":"Unknown IO ID 45"} 
[2026-09-10 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997693952001,"power":27365,"unknown_241":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":884324037820061696}} 
[2026-09-10 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":179420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:50:29] local.INFO: GPS data processed {"connection_id":179420,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:50:29] local.INFO: Acknowledgment sent {"connection_id":179420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:50:30] local.INFO: TCP Data received {"connection_id":179420,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be65438012d0c480006ec8890000d00b52f..."} 
[2026-09-10 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be65438012d0c480006ec8890000d00b52f..."} 
[2026-09-10 20:50:30] local.INFO: Processing buffer {"connection_id":179420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be65438012d0c480006ec8890000d00b52f..."} 
[2026-09-10 20:50:30] local.INFO: Packet analysis {"connection_id":179420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:50:30] local.INFO: Extracted packet for processing {"connection_id":179420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":755779584,"raw_latitude":116164752,"longitude_deg":75.5779584,"latitude_deg":11.6164752,"altitude":13,"angle":181,"satellites":47,"speed":6,"hex_longitude":"2d0c4800","hex_latitude":"06ec8890","is_valid_coordinates":true} 
[2026-09-10 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997699328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404740117199060992,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250284376064,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:30] 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-09-10 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789053523000,"timestamp_ms":1789053523000,"timestamp_seconds":1789053523,"priority":1,"record_length":96,"hex_timestamp":"000001a08be65438"} 
[2026-09-10 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 20:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997699328001,"66":27300,"241":206,"80":6400,"24":6,"16":404740117199060992,"45":884746250284376064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997699328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:50:30] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:50:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404740117199060992,"km_value":404740117199061.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250284376064,"description":"Unknown IO ID 45"} 
[2026-09-10 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997699328001,"power":27300,"unknown_241":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":884746250284376064}} 
[2026-09-10 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":179420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:50:30] local.INFO: GPS data processed {"connection_id":179420,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:50:30] local.INFO: Acknowledgment sent {"connection_id":179420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:50:31] local.INFO: TCP Data received {"connection_id":176672,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:50:31] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:50:31] local.INFO: IMEI packet received {"connection_id":176672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":176672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:50:33] local.INFO: TCP Data received {"connection_id":176672,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:50:33] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:50:33] local.INFO: Packet analysis {"connection_id":176672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:50:33] local.INFO: Extracted packet for processing {"connection_id":176672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:50:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":176672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:50:33] local.INFO: GPS data processed {"connection_id":176672,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:50:33] local.INFO: Acknowledgment sent {"connection_id":176672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:50:38] local.INFO: TCP Data received {"connection_id":176888,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:50:38] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:50:38] local.INFO: IMEI packet received {"connection_id":176888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":176888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:50:43] local.INFO: TCP Data received {"connection_id":176888,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:50:43] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:50:43] local.INFO: IMEI packet received {"connection_id":176888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":176888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:50:44] local.INFO: TCP Data received {"connection_id":176888,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be4cd98012caba14007810238001500a52f..."} 
[2026-09-10 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be4cd98012caba14007810238001500a52f..."} 
[2026-09-10 20:50:44] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be4cd98012caba14007810238001500a52f..."} 
[2026-09-10 20:50:44] local.INFO: Packet analysis {"connection_id":176888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:50:44] local.INFO: Extracted packet for processing {"connection_id":176888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be4"} 
[2026-09-10 20:50:44] local.INFO: GPS Element Parsed {"raw_longitude":749445440,"raw_latitude":125895224,"longitude_deg":74.944544,"latitude_deg":12.5895224,"altitude":21,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2caba140","hex_latitude":"07810238","is_valid_coordinates":true} 
[2026-09-10 20:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997670912001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6084926014296950784,"note":"Value kept but may cause issues"} 
[2026-09-10 20:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789053423000,"timestamp_ms":1789053423000,"timestamp_seconds":1789053423,"priority":1,"record_length":96,"hex_timestamp":"000001a08be4cd98"} 
[2026-09-10 20:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-10 20:50:44] 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-09-10 20:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997670912001,"66":27430,"17":206,"27":54016,"24":0,"16":3893920429768704,"44":-6084926014296950784},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,27,24,16,44]} 
[2026-09-10 20:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997670912001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:50:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:50:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6084926014296950784,"description":"Unknown IO ID 44"} 
[2026-09-10 20:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997670912001,"power":27430,"axis_x":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6084926014296950784}} 
[2026-09-10 20:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":176888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:50:44] local.INFO: GPS data processed {"connection_id":176888,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:50:44] local.INFO: Acknowledgment sent {"connection_id":176888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:02] local.INFO: TCP Data received {"connection_id":179420,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be6a640012d0c470006ec77c8000f00b531..."} 
[2026-09-10 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be6a640012d0c470006ec77c8000f00b531..."} 
[2026-09-10 20:51:02] local.INFO: Processing buffer {"connection_id":179420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be6a640012d0c470006ec77c8000f00b531..."} 
[2026-09-10 20:51:02] local.INFO: Packet analysis {"connection_id":179420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:51:02] local.INFO: Extracted packet for processing {"connection_id":179420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":755779328,"raw_latitude":116160456,"longitude_deg":75.5779328,"latitude_deg":11.6160456,"altitude":15,"angle":181,"satellites":49,"speed":11,"hex_longitude":"2d0c4700","hex_latitude":"06ec77c8","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997701888001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404740327652458496,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884957356516478976,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:02] 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-09-10 20:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789053544000,"timestamp_ms":1789053544000,"timestamp_seconds":1789053544,"priority":1,"record_length":96,"hex_timestamp":"000001a08be6a640"} 
[2026-09-10 20:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:51: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-09-10 20: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-09-10 20:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":179420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":179420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":179420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:51: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-09-10 20:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997701888001,"66":27321,"241":206,"80":6400,"24":11,"16":404740327652458496,"45":884957356516478976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997701888001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:51:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404740327652458496,"km_value":404740327652458.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":884957356516478976,"description":"Unknown IO ID 45"} 
[2026-09-10 20:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997701888001,"power":27321,"unknown_241":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":884957356516478976}} 
[2026-09-10 20:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":179420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:02] local.INFO: GPS data processed {"connection_id":179420,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:02] local.INFO: Acknowledgment sent {"connection_id":179420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:04] local.INFO: TCP Data received {"connection_id":176672,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:04] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:04] local.INFO: Packet analysis {"connection_id":176672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:51:04] local.INFO: Extracted packet for processing {"connection_id":176672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51: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-09-10 20:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51: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-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":176672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:04] local.INFO: GPS data processed {"connection_id":176672,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:04] local.INFO: Acknowledgment sent {"connection_id":176672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:15] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:15] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:15] local.INFO: IMEI packet received {"connection_id":176673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":176673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:51:15] local.INFO: TCP Data received {"connection_id":176888,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be76990012cad0c80077d8588000e009e30..."} 
[2026-09-10 20:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be76990012cad0c80077d8588000e009e30..."} 
[2026-09-10 20:51:15] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be76990012cad0c80077d8588000e009e30..."} 
[2026-09-10 20:51:15] local.INFO: Packet analysis {"connection_id":176888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:51:15] local.INFO: Extracted packet for processing {"connection_id":176888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:51:15] local.INFO: GPS Element Parsed {"raw_longitude":749538432,"raw_latitude":125666696,"longitude_deg":74.9538432,"latitude_deg":12.5666696,"altitude":14,"angle":158,"satellites":48,"speed":59,"hex_longitude":"2cad0c80","hex_latitude":"077d8588","is_valid_coordinates":true} 
[2026-09-10 20:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,228,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789053594000,"timestamp_ms":1789053594000,"timestamp_seconds":1789053594,"priority":1,"record_length":96,"hex_timestamp":"000001a08be76990"} 
[2026-09-10 20:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51:15] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 20:51:15] 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-09-10 20:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"228":206,"27":54016,"24":59,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16]} 
[2026-09-10 20:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:15] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 20:51:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_228":206,"unknown_27":54016,"ignition":59,"odometer":null}} 
[2026-09-10 20:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":176888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:15] local.INFO: GPS data processed {"connection_id":176888,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:15] local.INFO: Acknowledgment sent {"connection_id":176888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:18] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:18] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:18] local.INFO: IMEI packet received {"connection_id":176673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":176673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:51:20] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:20] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:51:20] local.INFO: IMEI packet received {"connection_id":176673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":176673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:51:21] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be6dcf0012d0c464006ec6428001200a831..."} 
[2026-09-10 20:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be6dcf0012d0c464006ec6428001200a831..."} 
[2026-09-10 20:51:21] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be6dcf0012d0c464006ec6428001200a831..."} 
[2026-09-10 20:51:21] local.INFO: Packet analysis {"connection_id":176673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:51:21] local.INFO: Extracted packet for processing {"connection_id":176673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be6"} 
[2026-09-10 20:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755779136,"raw_latitude":116155432,"longitude_deg":75.5779136,"latitude_deg":11.6155432,"altitude":18,"angle":168,"satellites":49,"speed":18,"hex_longitude":"2d0c4640","hex_latitude":"06ec6428","is_valid_coordinates":true} 
[2026-09-10 20:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997707264001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404740572465594368,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884675881538668544,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:21] 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-09-10 20:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789053558000,"timestamp_ms":1789053558000,"timestamp_seconds":1789053558,"priority":1,"record_length":96,"hex_timestamp":"000001a08be6dcf0"} 
[2026-09-10 20:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51: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-09-10 20:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997707264001,"66":27245,"241":206,"80":6400,"24":18,"16":404740572465594368,"45":884675881538668544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997707264001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:21] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:51:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404740572465594368,"km_value":404740572465594.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":884675881538668544,"description":"Unknown IO ID 45"} 
[2026-09-10 20:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997707264001,"power":27245,"unknown_241":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":884675881538668544}} 
[2026-09-10 20:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":176673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:21] local.INFO: GPS data processed {"connection_id":176673,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:21] local.INFO: Acknowledgment sent {"connection_id":176673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:31] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:51:31] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:51:31] local.INFO: IMEI packet received {"connection_id":176674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":176674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:51:36] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:51:36] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:51:36] local.INFO: IMEI packet received {"connection_id":176674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":176674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:51:38] local.INFO: TCP Data received {"connection_id":178033,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:51:38] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:51:38] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:51:38] local.INFO: IMEI packet received {"connection_id":178033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":178033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:38] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:38] local.INFO: Packet analysis {"connection_id":176674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:51:38] local.INFO: Extracted packet for processing {"connection_id":176674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51: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-09-10 20:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:51: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-09-10 20: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-09-10 20:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":176674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:38] local.INFO: GPS data processed {"connection_id":176674,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:38] local.INFO: Acknowledgment sent {"connection_id":176674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:42] local.INFO: TCP Data received {"connection_id":176674,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:42] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be3eb08012d1965c0071feee00041005e2d..."} 
[2026-09-10 20:51:42] local.INFO: Packet analysis {"connection_id":176674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:51:42] local.INFO: Extracted packet for processing {"connection_id":176674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be3"} 
[2026-09-10 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997584384001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51: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-09-10 20:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789053365000,"timestamp_ms":1789053365000,"timestamp_seconds":1789053365,"priority":1,"record_length":96,"hex_timestamp":"000001a08be3eb08"} 
[2026-09-10 20:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51:42] 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-09-10 20:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:51: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-09-10 20:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997584384001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997584384001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997584384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":176674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:42] local.INFO: GPS data processed {"connection_id":176674,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:42] local.INFO: Acknowledgment sent {"connection_id":176674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:43] local.INFO: TCP Data received {"connection_id":178033,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:51:43] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:51:43] local.INFO: IMEI packet received {"connection_id":178033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":178033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:51:44] local.INFO: TCP Data received {"connection_id":178033,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be7a810012cad1ec0077d2828000700af31..."} 
[2026-09-10 20:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be7a810012cad1ec0077d2828000700af31..."} 
[2026-09-10 20:51:44] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be7a810012cad1ec0077d2828000700af31..."} 
[2026-09-10 20:51:44] local.INFO: Packet analysis {"connection_id":178033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:51:44] local.INFO: Extracted packet for processing {"connection_id":178033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:51:44] local.INFO: GPS Element Parsed {"raw_longitude":749543104,"raw_latitude":125642792,"longitude_deg":74.9543104,"latitude_deg":12.5642792,"altitude":7,"angle":175,"satellites":49,"speed":62,"hex_longitude":"2cad1ec0","hex_latitude":"077d2828","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997720064001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5977261835768461312,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789053610000,"timestamp_ms":1789053610000,"timestamp_seconds":1789053610,"priority":1,"record_length":96,"hex_timestamp":"000001a08be7a810"} 
[2026-09-10 20:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 20:51:44] 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-09-10 20: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-09-10 20:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997720064001,"66":27517,"228":206,"27":54016,"24":62,"16":3893920429768704,"44":-5977261835768461312},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-10 20:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997720064001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:44] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 20:51:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5977261835768461312,"description":"Unknown IO ID 44"} 
[2026-09-10 20:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997720064001,"power":27517,"unknown_228":206,"unknown_27":54016,"ignition":62,"odometer":null,"unknown_44":-5977261835768461312}} 
[2026-09-10 20:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":178033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:45] local.INFO: GPS data processed {"connection_id":178033,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:45] local.INFO: Acknowledgment sent {"connection_id":178033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:51:52] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be70bd0012d0c4c8006ec4e480014009c30..."} 
[2026-09-10 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be70bd0012d0c4c8006ec4e480014009c30..."} 
[2026-09-10 20:51:52] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be70bd0012d0c4c8006ec4e480014009c30..."} 
[2026-09-10 20:51:52] local.INFO: Packet analysis {"connection_id":176673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:51:52] local.INFO: Extracted packet for processing {"connection_id":176673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":755780736,"raw_latitude":116149832,"longitude_deg":75.5780736,"latitude_deg":11.6149832,"altitude":20,"angle":156,"satellites":48,"speed":18,"hex_longitude":"2d0c4c80","hex_latitude":"06ec4e48","is_valid_coordinates":true} 
[2026-09-10 20:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997710848001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404740855933435904,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884464775304849408,"note":"Value kept but may cause issues"} 
[2026-09-10 20:51:52] 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-09-10 20:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789053570000,"timestamp_ms":1789053570000,"timestamp_seconds":1789053570,"priority":1,"record_length":96,"hex_timestamp":"000001a08be70bd0"} 
[2026-09-10 20:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 20:51:52] 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-09-10 20:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997710848001,"66":27321,"241":206,"80":6400,"24":18,"16":404740855933435904,"45":884464775304849408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997710848001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:51:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:51:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404740855933435904,"km_value":404740855933435.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":884464775304849408,"description":"Unknown IO ID 45"} 
[2026-09-10 20:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997710848001,"power":27321,"unknown_241":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":884464775304849408}} 
[2026-09-10 20:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":176673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:51:52] local.INFO: GPS data processed {"connection_id":176673,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:51:52] local.INFO: Acknowledgment sent {"connection_id":176673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:52:15] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:15] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:15] local.INFO: IMEI packet received {"connection_id":176889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":176889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:52:17] local.INFO: TCP Data received {"connection_id":178033,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be7e690012cad2f40077cccc80006009b30..."} 
[2026-09-10 20:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be7e690012cad2f40077cccc80006009b30..."} 
[2026-09-10 20:52:17] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be7e690012cad2f40077cccc80006009b30..."} 
[2026-09-10 20:52:17] local.INFO: Packet analysis {"connection_id":178033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:52:17] local.INFO: Extracted packet for processing {"connection_id":178033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:52:17] local.INFO: GPS Element Parsed {"raw_longitude":749547328,"raw_latitude":125619400,"longitude_deg":74.9547328,"latitude_deg":12.56194,"altitude":6,"angle":155,"satellites":48,"speed":57,"hex_longitude":"2cad2f40","hex_latitude":"077cccc8","is_valid_coordinates":true} 
[2026-09-10 20:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997724160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5972124917449611264,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789053626000,"timestamp_ms":1789053626000,"timestamp_seconds":1789053626,"priority":1,"record_length":96,"hex_timestamp":"000001a08be7e690"} 
[2026-09-10 20:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:52: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-09-10 20:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:52:17] 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-09-10 20:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997724160001,"66":27484,"228":206,"27":54016,"24":57,"16":3893920429768704,"44":-5972124917449611264},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-10 20:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997724160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:52:17] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 20:52:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5972124917449611264,"description":"Unknown IO ID 44"} 
[2026-09-10 20:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997724160001,"power":27484,"unknown_228":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-5972124917449611264}} 
[2026-09-10 20:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":178033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:52:17] local.INFO: GPS data processed {"connection_id":178033,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:52:17] local.INFO: Acknowledgment sent {"connection_id":178033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:52:18] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:18] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:18] local.INFO: IMEI packet received {"connection_id":176889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:52:23] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:23] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:52:23] local.INFO: IMEI packet received {"connection_id":176889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":176889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:52:24] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be75dd8012d0c5b4006ec2e28001400a030..."} 
[2026-09-10 20:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be75dd8012d0c5b4006ec2e28001400a030..."} 
[2026-09-10 20:52:24] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be75dd8012d0c5b4006ec2e28001400a030..."} 
[2026-09-10 20:52:24] local.INFO: Packet analysis {"connection_id":176889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:52:24] local.INFO: Extracted packet for processing {"connection_id":176889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be7"} 
[2026-09-10 20:52:24] local.INFO: GPS Element Parsed {"raw_longitude":755784512,"raw_latitude":116141608,"longitude_deg":75.5784512,"latitude_deg":11.6141608,"altitude":20,"angle":160,"satellites":48,"speed":12,"hex_longitude":"2d0c5b40","hex_latitude":"06ec2e28","is_valid_coordinates":true} 
[2026-09-10 20:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997713920001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404741298315067392,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886223993907857408,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:24] 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-09-10 20:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789053591000,"timestamp_ms":1789053591000,"timestamp_seconds":1789053591,"priority":1,"record_length":96,"hex_timestamp":"000001a08be75dd8"} 
[2026-09-10 20:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:52:24] 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-09-10 20:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997713920001,"66":27321,"241":206,"80":6400,"24":12,"16":404741298315067392,"45":886223993907857408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-10 20:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997713920001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:52:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-10 20:52:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404741298315067392,"km_value":404741298315067.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":886223993907857408,"description":"Unknown IO ID 45"} 
[2026-09-10 20:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997713920001,"power":27321,"unknown_241":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":886223993907857408}} 
[2026-09-10 20:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":176889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:52:24] local.INFO: GPS data processed {"connection_id":176889,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:52:24] local.INFO: Acknowledgment sent {"connection_id":176889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:52:26] local.INFO: TCP Data received {"connection_id":178034,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:52:26] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:52:26] local.INFO: IMEI packet received {"connection_id":178034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":178034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:52:31] local.INFO: TCP Data received {"connection_id":178034,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:52:31] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:52:31] local.INFO: IMEI packet received {"connection_id":178034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":178034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:52:33] local.INFO: TCP Data received {"connection_id":178034,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:52:33] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:52:33] local.INFO: Packet analysis {"connection_id":178034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:52:33] local.INFO: Extracted packet for processing {"connection_id":178034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 20:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:52:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":178034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:52:33] local.INFO: GPS data processed {"connection_id":178034,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:52:33] local.INFO: Acknowledgment sent {"connection_id":178034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:52:38] local.INFO: TCP Data received {"connection_id":176675,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:52:38] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:52:38] local.INFO: IMEI packet received {"connection_id":176675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":176675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:52:41] local.INFO: TCP Data received {"connection_id":176675,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:52:41] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:52:41] local.INFO: IMEI packet received {"connection_id":176675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:52:42] local.INFO: TCP Data received {"connection_id":176675,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be83898012cad6280077c80a8000700902e..."} 
[2026-09-10 20:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be83898012cad6280077c80a8000700902e..."} 
[2026-09-10 20:52:42] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be83898012cad6280077c80a8000700902e..."} 
[2026-09-10 20:52:42] local.INFO: Packet analysis {"connection_id":176675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:52:42] local.INFO: Extracted packet for processing {"connection_id":176675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749560448,"raw_latitude":125599912,"longitude_deg":74.9560448,"latitude_deg":12.5599912,"altitude":7,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2cad6280","hex_latitude":"077c80a8","is_valid_coordinates":true} 
[2026-09-10 20:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997728256001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5967480580339873792,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789053647000,"timestamp_ms":1789053647000,"timestamp_seconds":1789053647,"priority":1,"record_length":96,"hex_timestamp":"000001a08be83898"} 
[2026-09-10 20:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:52:42] 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-09-10 20:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997728256001,"66":27484,"228":206,"27":54016,"24":0,"16":3893920429768704,"44":-5967480580339873792},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-10 20:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997728256001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:52:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 20:52:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5967480580339873792,"description":"Unknown IO ID 44"} 
[2026-09-10 20:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997728256001,"power":27484,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5967480580339873792}} 
[2026-09-10 20:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":176675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:52:42] local.INFO: GPS data processed {"connection_id":176675,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:52:42] local.INFO: Acknowledgment sent {"connection_id":176675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:52:56] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be94238012d0d09c006eb32200012007c2d..."} 
[2026-09-10 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be94238012d0d09c006eb32200012007c2d..."} 
[2026-09-10 20:52:56] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be94238012d0d09c006eb32200012007c2d..."} 
[2026-09-10 20:52:56] local.INFO: Packet analysis {"connection_id":176889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:52:56] local.INFO: Extracted packet for processing {"connection_id":176889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":755829184,"raw_latitude":116077088,"longitude_deg":75.5829184,"latitude_deg":11.6077088,"altitude":18,"angle":124,"satellites":45,"speed":26,"hex_longitude":"2d0d09c0","hex_latitude":"06eb3220","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997750528001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404745352764194816,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938367233325084672,"note":"Value kept but may cause issues"} 
[2026-09-10 20:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789053715000,"timestamp_ms":1789053715000,"timestamp_seconds":1789053715,"priority":1,"record_length":96,"hex_timestamp":"000001a08be94238"} 
[2026-09-10 20:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:52: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-09-10 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 20:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997750528001,"66":27267,"84":206,"80":6400,"24":26,"16":404745352764194816,"45":938367233325084672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-10 20:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997750528001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:52:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 20:52:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404745352764194816,"km_value":404745352764194.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":938367233325084672,"description":"Unknown IO ID 45"} 
[2026-09-10 20:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997750528001,"power":27267,"unknown_84":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":938367233325084672}} 
[2026-09-10 20:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":176889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:52:56] local.INFO: GPS data processed {"connection_id":176889,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:52:56] local.INFO: Acknowledgment sent {"connection_id":176889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:53:05] local.INFO: TCP Data received {"connection_id":178034,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:53:05] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:53:05] local.INFO: Packet analysis {"connection_id":178034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:53:05] local.INFO: Extracted packet for processing {"connection_id":178034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53: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-09-10 20:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 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-09-10 20:53: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 20:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":178034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:53:05] local.INFO: GPS data processed {"connection_id":178034,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:53:05] local.INFO: Acknowledgment sent {"connection_id":178034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:53:14] local.INFO: TCP Data received {"connection_id":176675,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be91b280100000000000000000000000000..."} 
[2026-09-10 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be91b280100000000000000000000000000..."} 
[2026-09-10 20:53:14] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be91b280100000000000000000000000000..."} 
[2026-09-10 20:53:14] local.INFO: Packet analysis {"connection_id":176675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:53:14] local.INFO: Extracted packet for processing {"connection_id":176675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:53:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997733632001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5953054987788441600,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789053705000,"timestamp_ms":1789053705000,"timestamp_seconds":1789053705,"priority":1,"record_length":96,"hex_timestamp":"000001a08be91b28"} 
[2026-09-10 20:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:53: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-09-10 20:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:53:14] 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-09-10 20:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":176675,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:53:14] local.INFO: GPS data processed {"connection_id":176675,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:53:14] local.INFO: Acknowledgment sent {"connection_id":176675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:53:18] local.INFO: TCP Data received {"connection_id":179421,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:18] local.INFO: Processing buffer {"connection_id":179421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:18] local.INFO: IMEI packet received {"connection_id":179421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":179421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:53:18] local.INFO: TCP Data received {"connection_id":179421,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:18] local.INFO: Processing buffer {"connection_id":179421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:18] local.INFO: IMEI packet received {"connection_id":179421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":179421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:53:23] local.INFO: TCP Data received {"connection_id":179421,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:23] local.INFO: Processing buffer {"connection_id":179421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:53:23] local.INFO: IMEI packet received {"connection_id":179421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":179421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:53:24] local.INFO: TCP Data received {"connection_id":179421,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be97118012d0d2a4006eb20d0001200732d..."} 
[2026-09-10 20:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be97118012d0d2a4006eb20d0001200732d..."} 
[2026-09-10 20:53:24] local.INFO: Processing buffer {"connection_id":179421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be97118012d0d2a4006eb20d0001200732d..."} 
[2026-09-10 20:53:24] local.INFO: Packet analysis {"connection_id":179421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:53:24] local.INFO: Extracted packet for processing {"connection_id":179421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:53:24] local.INFO: GPS Element Parsed {"raw_longitude":755837504,"raw_latitude":116072656,"longitude_deg":75.5837504,"latitude_deg":11.6072656,"altitude":18,"angle":115,"satellites":45,"speed":30,"hex_longitude":"2d0d2a40","hex_latitude":"06eb20d0","is_valid_coordinates":true} 
[2026-09-10 20:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997751040001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404745799440793600,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":939493133231726592,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789053727000,"timestamp_ms":1789053727000,"timestamp_seconds":1789053727,"priority":1,"record_length":96,"hex_timestamp":"000001a08be97118"} 
[2026-09-10 20:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997751040001,"66":27180,"84":206,"80":6400,"24":30,"16":404745799440793600,"45":939493133231726592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-10 20:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997751040001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:53:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 20:53:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404745799440793600,"km_value":404745799440793.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":939493133231726592,"description":"Unknown IO ID 45"} 
[2026-09-10 20:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997751040001,"power":27180,"unknown_84":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":939493133231726592}} 
[2026-09-10 20:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":179421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:53:24] local.INFO: GPS data processed {"connection_id":179421,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:53:24] local.INFO: Acknowledgment sent {"connection_id":179421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:53:26] local.INFO: TCP Data received {"connection_id":178035,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:53:26] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:53:26] local.INFO: IMEI packet received {"connection_id":178035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":178035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:53:31] local.INFO: TCP Data received {"connection_id":178035,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:53:31] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:53:31] local.INFO: IMEI packet received {"connection_id":178035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":178035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:53:33] local.INFO: TCP Data received {"connection_id":178035,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:53:33] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:53:33] local.INFO: Packet analysis {"connection_id":178035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:53:33] local.INFO: Extracted packet for processing {"connection_id":178035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 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-09-10 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 20:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:53:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":178035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:53:33] local.INFO: GPS data processed {"connection_id":178035,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:53:33] local.INFO: Acknowledgment sent {"connection_id":178035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:53:38] local.INFO: TCP Data received {"connection_id":176890,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:53:38] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:53:38] local.INFO: IMEI packet received {"connection_id":176890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":176890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:53:43] local.INFO: TCP Data received {"connection_id":176890,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:53:43] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:53:43] local.INFO: IMEI packet received {"connection_id":176890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":176890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:53:43] local.INFO: TCP Data received {"connection_id":176890,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be8a210012cadbe80077be3480007009f31..."} 
[2026-09-10 20:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be8a210012cadbe80077be3480007009f31..."} 
[2026-09-10 20:53:43] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be8a210012cadbe80077be3480007009f31..."} 
[2026-09-10 20:53:43] local.INFO: Packet analysis {"connection_id":176890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:53:43] local.INFO: Extracted packet for processing {"connection_id":176890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749584000,"raw_latitude":125559624,"longitude_deg":74.9584,"latitude_deg":12.5559624,"altitude":7,"angle":159,"satellites":49,"speed":58,"hex_longitude":"2cadbe80","hex_latitude":"077be348","is_valid_coordinates":true} 
[2026-09-10 20:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,228,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789053674000,"timestamp_ms":1789053674000,"timestamp_seconds":1789053674,"priority":1,"record_length":96,"hex_timestamp":"000001a08be8a210"} 
[2026-09-10 20:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:53: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:53:43] 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-09-10 20:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"228":206,"27":54016,"24":58,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16]} 
[2026-09-10 20:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:53:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 20:53:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:53:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_228":206,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-09-10 20:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":176890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:53:44] local.INFO: GPS data processed {"connection_id":176890,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:53:44] local.INFO: Acknowledgment sent {"connection_id":176890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:53:55] local.INFO: TCP Data received {"connection_id":179421,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be980b8012d0d350006eb1cb8001300672d..."} 
[2026-09-10 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be980b8012d0d350006eb1cb8001300672d..."} 
[2026-09-10 20:53:55] local.INFO: Processing buffer {"connection_id":179421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be980b8012d0d350006eb1cb8001300672d..."} 
[2026-09-10 20:53:55] local.INFO: Packet analysis {"connection_id":179421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:53:55] local.INFO: Extracted packet for processing {"connection_id":179421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":755840256,"raw_latitude":116071608,"longitude_deg":75.5840256,"latitude_deg":11.6071608,"altitude":19,"angle":103,"satellites":45,"speed":28,"hex_longitude":"2d0d3500","hex_latitude":"06eb1cb8","is_valid_coordinates":true} 
[2026-09-10 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997754112001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404745941174714368,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948641069973688320,"note":"Value kept but may cause issues"} 
[2026-09-10 20:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789053731000,"timestamp_ms":1789053731000,"timestamp_seconds":1789053731,"priority":1,"record_length":96,"hex_timestamp":"000001a08be980b8"} 
[2026-09-10 20:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 20:53:55] 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-09-10 20:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997754112001,"66":27267,"84":206,"80":6400,"24":28,"16":404745941174714368,"45":948641069973688320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-10 20:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997754112001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:53:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 20:53:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404745941174714368,"km_value":404745941174714.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":948641069973688320,"description":"Unknown IO ID 45"} 
[2026-09-10 20:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997754112001,"power":27267,"unknown_84":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":948641069973688320}} 
[2026-09-10 20:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":179421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:53:55] local.INFO: GPS data processed {"connection_id":179421,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:53:55] local.INFO: Acknowledgment sent {"connection_id":179421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:05] local.INFO: TCP Data received {"connection_id":178035,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:05] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:05] local.INFO: Packet analysis {"connection_id":178035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:05] local.INFO: Extracted packet for processing {"connection_id":178035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54: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-09-10 20:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 20:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:54: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-09-10 20: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-09-10 20: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-09-10 20:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":178035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:54:05] local.INFO: GPS data processed {"connection_id":178035,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:54:05] local.INFO: Acknowledgment sent {"connection_id":178035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:15] local.INFO: TCP Data received {"connection_id":176890,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be8f418012caddec0077b8ee8000700a030..."} 
[2026-09-10 20:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be8f418012caddec0077b8ee8000700a030..."} 
[2026-09-10 20:54:15] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be8f418012caddec0077b8ee8000700a030..."} 
[2026-09-10 20:54:15] local.INFO: Packet analysis {"connection_id":176890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:15] local.INFO: Extracted packet for processing {"connection_id":176890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:15] local.INFO: GPS Element Parsed {"raw_longitude":749592256,"raw_latitude":125538024,"longitude_deg":74.9592256,"latitude_deg":12.5538024,"altitude":7,"angle":160,"satellites":48,"speed":0,"hex_longitude":"2caddec0","hex_latitude":"077b8ee8","is_valid_coordinates":true} 
[2026-09-10 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-09-10 20:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997740544001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5927159289941374976,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789053695000,"timestamp_ms":1789053695000,"timestamp_seconds":1789053695,"priority":1,"record_length":96,"hex_timestamp":"000001a08be8f418"} 
[2026-09-10 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-09-10 20:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:54:15] 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-09-10 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-09-10 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-09-10 20:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997740544001,"66":27713,"228":206,"27":54016,"24":0,"16":3893920429768704,"44":-5927159289941374976},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-10 20:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997740544001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:54:15] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 20:54:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:54:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5927159289941374976,"description":"Unknown IO ID 44"} 
[2026-09-10 20:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997740544001,"power":27713,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5927159289941374976}} 
[2026-09-10 20:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":176890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:54:15] local.INFO: GPS data processed {"connection_id":176890,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:54:15] local.INFO: Acknowledgment sent {"connection_id":176890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:18] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:54:18] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:54:18] local.INFO: IMEI packet received {"connection_id":176676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":176676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:54:23] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:54:23] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:54:23] local.INFO: IMEI packet received {"connection_id":176676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":176676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:54:24] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be9bb50012d0d580006eb12b80018006e2e..."} 
[2026-09-10 20:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be9bb50012d0d580006eb12b80018006e2e..."} 
[2026-09-10 20:54:24] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be9bb50012d0d580006eb12b80018006e2e..."} 
[2026-09-10 20:54:24] local.INFO: Packet analysis {"connection_id":176676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:24] local.INFO: Extracted packet for processing {"connection_id":176676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:24] local.INFO: GPS Element Parsed {"raw_longitude":755849216,"raw_latitude":116069048,"longitude_deg":75.5849216,"latitude_deg":11.6069048,"altitude":24,"angle":110,"satellites":46,"speed":24,"hex_longitude":"2d0d5800","hex_latitude":"06eb12b8","is_valid_coordinates":true} 
[2026-09-10 20:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997755136001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404746387851313152,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951666925973059584,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789053746000,"timestamp_ms":1789053746000,"timestamp_seconds":1789053746,"priority":1,"record_length":96,"hex_timestamp":"000001a08be9bb50"} 
[2026-09-10 20:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997755136001,"66":27115,"84":206,"80":6400,"24":24,"16":404746387851313152,"45":951666925973059584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-10 20:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997755136001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:54:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-10 20:54:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404746387851313152,"km_value":404746387851313.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":951666925973059584,"description":"Unknown IO ID 45"} 
[2026-09-10 20:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997755136001,"power":27115,"unknown_84":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":951666925973059584}} 
[2026-09-10 20:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":176676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:54:24] local.INFO: GPS data processed {"connection_id":176676,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:54:24] local.INFO: Acknowledgment sent {"connection_id":176676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:31] local.INFO: TCP Data received {"connection_id":176891,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:54:31] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:54:31] local.INFO: IMEI packet received {"connection_id":176891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":176891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:54:36] local.INFO: TCP Data received {"connection_id":176891,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:54:36] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:54:36] local.INFO: IMEI packet received {"connection_id":176891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":176891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:54:38] local.INFO: TCP Data received {"connection_id":176677,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:38] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:38] local.INFO: IMEI packet received {"connection_id":176677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":176677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:54:38] local.INFO: TCP Data received {"connection_id":176891,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:38] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:38] local.INFO: Packet analysis {"connection_id":176891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:38] local.INFO: Extracted packet for processing {"connection_id":176891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54: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-09-10 20:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 20:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:54: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-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:54: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-09-10 20:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":176891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:54:38] local.INFO: GPS data processed {"connection_id":176891,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:54:38] local.INFO: Acknowledgment sent {"connection_id":176891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:40] local.INFO: TCP Data received {"connection_id":176677,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:40] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:40] local.INFO: IMEI packet received {"connection_id":176677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":176677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:54:42] local.INFO: TCP Data received {"connection_id":176891,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:42] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:54:42] local.INFO: Packet analysis {"connection_id":176891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:42] local.INFO: Extracted packet for processing {"connection_id":176891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54: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-09-10 20:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 20:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:54: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-09-10 20:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":176891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:54:42] local.INFO: GPS data processed {"connection_id":176891,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:54:42] local.INFO: Acknowledgment sent {"connection_id":176891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:43] local.INFO: TCP Data received {"connection_id":176677,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:43] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:54:43] local.INFO: IMEI packet received {"connection_id":176677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":176677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:54:44] local.INFO: TCP Data received {"connection_id":176677,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be9d6a80100000000000000000000000000..."} 
[2026-09-10 20:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be9d6a80100000000000000000000000000..."} 
[2026-09-10 20:54:44] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be9d6a80100000000000000000000000000..."} 
[2026-09-10 20:54:44] local.INFO: Packet analysis {"connection_id":176677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:44] local.INFO: Extracted packet for processing {"connection_id":176677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997745920001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5918081721947985920,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789053753000,"timestamp_ms":1789053753000,"timestamp_seconds":1789053753,"priority":1,"record_length":96,"hex_timestamp":"000001a08be9d6a8"} 
[2026-09-10 20:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 20:54:44] 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-09-10 20:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":176677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:54:44] local.INFO: GPS data processed {"connection_id":176677,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:54:44] local.INFO: Acknowledgment sent {"connection_id":176677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:49] local.INFO: TCP Data received {"connection_id":176677,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be96178012cae0880077ae8d0001000a530..."} 
[2026-09-10 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be96178012cae0880077ae8d0001000a530..."} 
[2026-09-10 20:54:49] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be96178012cae0880077ae8d0001000a530..."} 
[2026-09-10 20:54:49] local.INFO: Packet analysis {"connection_id":176677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:49] local.INFO: Extracted packet for processing {"connection_id":176677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":749602944,"raw_latitude":125495504,"longitude_deg":74.9602944,"latitude_deg":12.5495504,"altitude":16,"angle":165,"satellites":48,"speed":46,"hex_longitude":"2cae0880","hex_latitude":"077ae8d0","is_valid_coordinates":true} 
[2026-09-10 20:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789053723000,"timestamp_ms":1789053723000,"timestamp_seconds":1789053723,"priority":1,"record_length":96,"hex_timestamp":"000001a08be96178"} 
[2026-09-10 20:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:54:49] 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-09-10 20:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27430,"227":206,"27":54016,"24":46,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16]} 
[2026-09-10 20:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:54:49] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 20:54:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:54:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27430,"unknown_227":206,"unknown_27":54016,"ignition":46,"odometer":null}} 
[2026-09-10 20:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":176677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:54:49] local.INFO: GPS data processed {"connection_id":176677,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:54:49] local.INFO: Acknowledgment sent {"connection_id":176677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:54:56] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08be9ee18012d0d7bc006eb0478001a006f2c..."} 
[2026-09-10 20:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be9ee18012d0d7bc006eb0478001a006f2c..."} 
[2026-09-10 20:54:56] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be9ee18012d0d7bc006eb0478001a006f2c..."} 
[2026-09-10 20:54:56] local.INFO: Packet analysis {"connection_id":176676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:56] local.INFO: Extracted packet for processing {"connection_id":176676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:54:56] local.INFO: GPS Element Parsed {"raw_longitude":755858368,"raw_latitude":116065400,"longitude_deg":75.5858368,"latitude_deg":11.60654,"altitude":26,"angle":111,"satellites":44,"speed":37,"hex_longitude":"2d0d7bc0","hex_latitude":"06eb0478","is_valid_coordinates":true} 
[2026-09-10 20:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997758976001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404746856002748416,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961518550157277184,"note":"Value kept but may cause issues"} 
[2026-09-10 20:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789053759000,"timestamp_ms":1789053759000,"timestamp_seconds":1789053759,"priority":1,"record_length":96,"hex_timestamp":"000001a08be9ee18"} 
[2026-09-10 20:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:54: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-09-10 20:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 20:54:56] 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-09-10 20:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997758976001,"66":27234,"82":206,"80":6400,"24":37,"16":404746856002748416,"45":961518550157277184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-10 20:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997758976001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:54:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 20:54:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404746856002748416,"km_value":404746856002748.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":961518550157277184,"description":"Unknown IO ID 45"} 
[2026-09-10 20:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997758976001,"power":27234,"unknown_82":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":961518550157277184}} 
[2026-09-10 20:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":176676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:54:56] local.INFO: GPS data processed {"connection_id":176676,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:54:56] local.INFO: Acknowledgment sent {"connection_id":176676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:55:18] local.INFO: TCP Data received {"connection_id":176892,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:55:18] local.INFO: Processing buffer {"connection_id":176892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:55:18] local.INFO: IMEI packet received {"connection_id":176892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":176892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:55:20] local.INFO: TCP Data received {"connection_id":176677,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08be9b380012cae1c00077a9d78001000a62e..."} 
[2026-09-10 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be9b380012cae1c00077a9d78001000a62e..."} 
[2026-09-10 20:55:20] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be9b380012cae1c00077a9d78001000a62e..."} 
[2026-09-10 20:55:20] local.INFO: Packet analysis {"connection_id":176677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:55:20] local.INFO: Extracted packet for processing {"connection_id":176677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be9"} 
[2026-09-10 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749607936,"raw_latitude":125476216,"longitude_deg":74.9607936,"latitude_deg":12.5476216,"altitude":16,"angle":166,"satellites":46,"speed":0,"hex_longitude":"2cae1c00","hex_latitude":"077a9d78","is_valid_coordinates":true} 
[2026-09-10 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997753088001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5906330141681201152,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789053744000,"timestamp_ms":1789053744000,"timestamp_seconds":1789053744,"priority":1,"record_length":96,"hex_timestamp":"000001a08be9b380"} 
[2026-09-10 20:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-10 20:55:20] 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-09-10 20:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997753088001,"66":27517,"227":206,"27":54016,"24":0,"16":3893920429768704,"44":-5906330141681201152},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-09-10 20:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997753088001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:55:20] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 20:55:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5906330141681201152,"description":"Unknown IO ID 44"} 
[2026-09-10 20:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997753088001,"power":27517,"unknown_227":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5906330141681201152}} 
[2026-09-10 20:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":176677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:55:20] local.INFO: GPS data processed {"connection_id":176677,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:55:20] local.INFO: Acknowledgment sent {"connection_id":176677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:55:23] local.INFO: TCP Data received {"connection_id":176892,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:55:23] local.INFO: Processing buffer {"connection_id":176892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:55:23] local.INFO: IMEI packet received {"connection_id":176892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":176892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:55:24] local.INFO: TCP Data received {"connection_id":176892,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bea1140012d0d9a4006eaf818001c007c2b..."} 
[2026-09-10 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bea1140012d0d9a4006eaf818001c007c2b..."} 
[2026-09-10 20:55:24] local.INFO: Processing buffer {"connection_id":176892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bea1140012d0d9a4006eaf818001c007c2b..."} 
[2026-09-10 20:55:24] local.INFO: Packet analysis {"connection_id":176892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:55:24] local.INFO: Extracted packet for processing {"connection_id":176892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":755866176,"raw_latitude":116062232,"longitude_deg":75.5866176,"latitude_deg":11.6062232,"altitude":28,"angle":124,"satellites":43,"speed":26,"hex_longitude":"2d0d9a40","hex_latitude":"06eaf818","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997762304001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404747259729674240,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":971581280573749248,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789053768000,"timestamp_ms":1789053768000,"timestamp_seconds":1789053768,"priority":1,"record_length":96,"hex_timestamp":"000001a08bea1140"} 
[2026-09-10 20:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:55:24] 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-09-10 20: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-09-10 20:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997762304001,"66":27234,"82":206,"80":6400,"24":26,"16":404747259729674240,"45":971581280573749248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-10 20:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997762304001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:55:24] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 20:55:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404747259729674240,"km_value":404747259729674.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":971581280573749248,"description":"Unknown IO ID 45"} 
[2026-09-10 20:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997762304001,"power":27234,"unknown_82":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":971581280573749248}} 
[2026-09-10 20:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":176892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:55:24] local.INFO: GPS data processed {"connection_id":176892,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:55:24] local.INFO: Acknowledgment sent {"connection_id":176892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:55:26] local.INFO: TCP Data received {"connection_id":176893,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:55:26] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:55:26] local.INFO: IMEI packet received {"connection_id":176893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":176893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:55:31] local.INFO: TCP Data received {"connection_id":176893,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:55:31] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:55:31] local.INFO: IMEI packet received {"connection_id":176893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":176893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:55:33] local.INFO: TCP Data received {"connection_id":176893,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:55:33] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:55:33] local.INFO: Packet analysis {"connection_id":176893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:55:33] local.INFO: Extracted packet for processing {"connection_id":176893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 20:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:55:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":176893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:55:33] local.INFO: GPS data processed {"connection_id":176893,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:55:33] local.INFO: Acknowledgment sent {"connection_id":176893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:55:38] local.INFO: TCP Data received {"connection_id":176894,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:38] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:38] local.INFO: IMEI packet received {"connection_id":176894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":176894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:55:39] local.INFO: TCP Data received {"connection_id":176894,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:39] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:39] local.INFO: IMEI packet received {"connection_id":176894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":176894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:55:43] local.INFO: TCP Data received {"connection_id":176894,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:43] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:55:43] local.INFO: IMEI packet received {"connection_id":176894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":176894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:55:44] local.INFO: TCP Data received {"connection_id":176894,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bea96100100000000000000000000000000..."} 
[2026-09-10 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bea96100100000000000000000000000000..."} 
[2026-09-10 20:55:44] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bea96100100000000000000000000000000..."} 
[2026-09-10 20:55:44] local.INFO: Packet analysis {"connection_id":176894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:55:44] local.INFO: Extracted packet for processing {"connection_id":176894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997758464001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5900841379640281088,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789053802000,"timestamp_ms":1789053802000,"timestamp_seconds":1789053802,"priority":1,"record_length":96,"hex_timestamp":"000001a08bea9610"} 
[2026-09-10 20:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":176894,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:55:44] local.INFO: GPS data processed {"connection_id":176894,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:55:44] local.INFO: Acknowledgment sent {"connection_id":176894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:55:56] local.INFO: TCP Data received {"connection_id":176892,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bea4020012d0db88006eae558001d00762d..."} 
[2026-09-10 20:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bea4020012d0db88006eae558001d00762d..."} 
[2026-09-10 20:55:56] local.INFO: Processing buffer {"connection_id":176892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bea4020012d0db88006eae558001d00762d..."} 
[2026-09-10 20:55:56] local.INFO: Packet analysis {"connection_id":176892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:55:56] local.INFO: Extracted packet for processing {"connection_id":176892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:55:56] local.INFO: GPS Element Parsed {"raw_longitude":755873920,"raw_latitude":116057432,"longitude_deg":75.587392,"latitude_deg":11.6057432,"altitude":29,"angle":118,"satellites":45,"speed":30,"hex_longitude":"2d0db880","hex_latitude":"06eae558","is_valid_coordinates":true} 
[2026-09-10 20:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997764608001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404747697816338432,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":980166267362613248,"note":"Value kept but may cause issues"} 
[2026-09-10 20:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789053780000,"timestamp_ms":1789053780000,"timestamp_seconds":1789053780,"priority":1,"record_length":96,"hex_timestamp":"000001a08bea4020"} 
[2026-09-10 20:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:55: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-09-10 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 20:55:56] 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-09-10 20:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997764608001,"66":27245,"2":206,"80":6400,"24":30,"16":404747697816338432,"45":980166267362613248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-10 20:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997764608001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:55:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404747697816338432,"km_value":404747697816338.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":980166267362613248,"description":"Unknown IO ID 45"} 
[2026-09-10 20:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997764608001,"power":27245,"power_alt":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":980166267362613248}} 
[2026-09-10 20:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":176892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:55:56] local.INFO: GPS data processed {"connection_id":176892,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:55:56] local.INFO: Acknowledgment sent {"connection_id":176892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:56:04] local.INFO: TCP Data received {"connection_id":176893,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:56:04] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:56:04] local.INFO: Packet analysis {"connection_id":176893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:56:04] local.INFO: Extracted packet for processing {"connection_id":176893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56: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-09-10 20:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 20:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":176893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:56:05] local.INFO: GPS data processed {"connection_id":176893,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:56:05] local.INFO: Acknowledgment sent {"connection_id":176893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:56:15] local.INFO: TCP Data received {"connection_id":176894,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bea24c8012cae55c00779eeb8000d009730..."} 
[2026-09-10 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bea24c8012cae55c00779eeb8000d009730..."} 
[2026-09-10 20:56:15] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bea24c8012cae55c00779eeb8000d009730..."} 
[2026-09-10 20:56:15] local.INFO: Packet analysis {"connection_id":176894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:56:15] local.INFO: Extracted packet for processing {"connection_id":176894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":749622720,"raw_latitude":125431480,"longitude_deg":74.962272,"latitude_deg":12.543148,"altitude":13,"angle":151,"satellites":48,"speed":57,"hex_longitude":"2cae55c0","hex_latitude":"0779eeb8","is_valid_coordinates":true} 
[2026-09-10 20:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789053773000,"timestamp_ms":1789053773000,"timestamp_seconds":1789053773,"priority":1,"record_length":96,"hex_timestamp":"000001a08bea24c8"} 
[2026-09-10 20:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:56: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:56:15] 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-09-10 20:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"227":206,"27":54016,"24":57,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16]} 
[2026-09-10 20:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:56:15] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-10 20:56:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:56:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_227":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-10 20:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":176894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:56:15] local.INFO: GPS data processed {"connection_id":176894,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:56:15] local.INFO: Acknowledgment sent {"connection_id":176894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:56:26] local.INFO: TCP Data received {"connection_id":178036,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:56:26] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:56:26] local.INFO: IMEI packet received {"connection_id":178036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":178036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:56:31] local.INFO: TCP Data received {"connection_id":178036,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:56:31] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:56:31] local.INFO: IMEI packet received {"connection_id":178036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":178036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:56:32] local.INFO: TCP Data received {"connection_id":179422,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:32] local.INFO: Processing buffer {"connection_id":179422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:32] local.INFO: IMEI packet received {"connection_id":179422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":179422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:56:33] local.INFO: TCP Data received {"connection_id":178036,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:56:33] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08be882d0012d1965c0071feee00041005e29..."} 
[2026-09-10 20:56:33] local.INFO: Packet analysis {"connection_id":178036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:56:33] local.INFO: Extracted packet for processing {"connection_id":178036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08be8"} 
[2026-09-10 20:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997661440001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053666000,"timestamp_ms":1789053666000,"timestamp_seconds":1789053666,"priority":1,"record_length":96,"hex_timestamp":"000001a08be882d0"} 
[2026-09-10 20:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 20:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997661440001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997661440001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:56:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997661440001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":178036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:56:33] local.INFO: GPS data processed {"connection_id":178036,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:56:33] local.INFO: Acknowledgment sent {"connection_id":178036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:56:33] local.INFO: TCP Data received {"connection_id":179422,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:33] local.INFO: Processing buffer {"connection_id":179422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:33] local.INFO: IMEI packet received {"connection_id":179422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":179422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:56:38] local.INFO: TCP Data received {"connection_id":179422,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:38] local.INFO: Processing buffer {"connection_id":179422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:56:38] local.INFO: IMEI packet received {"connection_id":179422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":179422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:56:39] local.INFO: TCP Data received {"connection_id":179422,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bec4f78012d0e700006ea4318001600952e..."} 
[2026-09-10 20:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bec4f78012d0e700006ea4318001600952e..."} 
[2026-09-10 20:56:39] local.INFO: Processing buffer {"connection_id":179422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bec4f78012d0e700006ea4318001600952e..."} 
[2026-09-10 20:56:39] local.INFO: Packet analysis {"connection_id":179422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bec"} 
[2026-09-10 20:56:39] local.INFO: Extracted packet for processing {"connection_id":179422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bec"} 
[2026-09-10 20:56:39] local.INFO: GPS Element Parsed {"raw_longitude":755920896,"raw_latitude":116015896,"longitude_deg":75.5920896,"latitude_deg":11.6015896,"altitude":22,"angle":149,"satellites":46,"speed":12,"hex_longitude":"2d0e7000","hex_latitude":"06ea4318","is_valid_coordinates":true} 
[2026-09-10 20:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997796864001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404750807372660736,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036179787717525504,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789053915000,"timestamp_ms":1789053915000,"timestamp_seconds":1789053915,"priority":1,"record_length":96,"hex_timestamp":"000001a08bec4f78"} 
[2026-09-10 20:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":179422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":179422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":179422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:56: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-09-10 20:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997796864001,"66":27300,"2":206,"80":6400,"24":12,"16":404750807372660736,"45":1036179787717525504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-10 20:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997796864001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:56:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404750807372660736,"km_value":404750807372660.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036179787717525504,"description":"Unknown IO ID 45"} 
[2026-09-10 20:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997796864001,"power":27300,"power_alt":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":1036179787717525504}} 
[2026-09-10 20:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":179422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:56:39] local.INFO: GPS data processed {"connection_id":179422,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:56:39] local.INFO: Acknowledgment sent {"connection_id":179422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:56:43] local.INFO: TCP Data received {"connection_id":176678,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:56:43] local.INFO: Processing buffer {"connection_id":176678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:56:43] local.INFO: IMEI packet received {"connection_id":176678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":176678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:56:48] local.INFO: TCP Data received {"connection_id":176678,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:56:48] local.INFO: Processing buffer {"connection_id":176678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:56:48] local.INFO: IMEI packet received {"connection_id":176678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":176678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:56:49] local.INFO: TCP Data received {"connection_id":176678,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bea76d0012cae814007799e900010009930..."} 
[2026-09-10 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bea76d0012cae814007799e900010009930..."} 
[2026-09-10 20:56:49] local.INFO: Processing buffer {"connection_id":176678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bea76d0012cae814007799e900010009930..."} 
[2026-09-10 20:56:49] local.INFO: Packet analysis {"connection_id":176678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:56:49] local.INFO: Extracted packet for processing {"connection_id":176678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bea"} 
[2026-09-10 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":749633856,"raw_latitude":125410960,"longitude_deg":74.9633856,"latitude_deg":12.541096,"altitude":16,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2cae8140","hex_latitude":"07799e90","is_valid_coordinates":true} 
[2026-09-10 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997765888001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5884586199746693120,"note":"Value kept but may cause issues"} 
[2026-09-10 20:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789053794000,"timestamp_ms":1789053794000,"timestamp_seconds":1789053794,"priority":1,"record_length":96,"hex_timestamp":"000001a08bea76d0"} 
[2026-09-10 20:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:56:49] 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-09-10 20:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997765888001,"66":27550,"182":206,"27":54016,"24":0,"16":3893920429768704,"44":-5884586199746693120},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,27,24,16,44]} 
[2026-09-10 20:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997765888001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:56:49] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-10 20:56:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5884586199746693120,"description":"Unknown IO ID 44"} 
[2026-09-10 20:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997765888001,"power":27550,"unknown_182":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5884586199746693120}} 
[2026-09-10 20:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":176678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:56:49] local.INFO: GPS data processed {"connection_id":176678,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:56:49] local.INFO: Acknowledgment sent {"connection_id":176678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:57:04] local.INFO: TCP Data received {"connection_id":178036,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:04] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:04] local.INFO: Packet analysis {"connection_id":178036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:04] local.INFO: Extracted packet for processing {"connection_id":178036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57: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-09-10 20:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 20:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:57: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-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:57:04] 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-09-10 20:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:57:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":178036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:57:05] local.INFO: GPS data processed {"connection_id":178036,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:57:05] local.INFO: Acknowledgment sent {"connection_id":178036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:57:18] local.INFO: TCP Data received {"connection_id":178037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:57:18] local.INFO: Processing buffer {"connection_id":178037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:57:18] local.INFO: IMEI packet received {"connection_id":178037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":178037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:57:20] local.INFO: TCP Data received {"connection_id":176678,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08beb59600100000000000000000000000000..."} 
[2026-09-10 20:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08beb59600100000000000000000000000000..."} 
[2026-09-10 20:57:20] local.INFO: Processing buffer {"connection_id":176678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08beb59600100000000000000000000000000..."} 
[2026-09-10 20:57:20] local.INFO: Packet analysis {"connection_id":176678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08beb"} 
[2026-09-10 20:57:20] local.INFO: Extracted packet for processing {"connection_id":176678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08beb"} 
[2026-09-10 20:57:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 20:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997771264001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5872342038265032704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789053852000,"timestamp_ms":1789053852000,"timestamp_seconds":1789053852,"priority":1,"record_length":96,"hex_timestamp":"000001a08beb5960"} 
[2026-09-10 20:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 20:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":176678,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 20:57:20] local.INFO: GPS data processed {"connection_id":176678,"processed":0,"errors":0,"total":1} 
[2026-09-10 20:57:20] local.INFO: Acknowledgment sent {"connection_id":176678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:57:23] local.INFO: TCP Data received {"connection_id":178037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:57:23] local.INFO: Processing buffer {"connection_id":178037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:57:23] local.INFO: IMEI packet received {"connection_id":178037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":178037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:57:24] local.INFO: TCP Data received {"connection_id":178037,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08beca180012d0e824006ea28d8001400952b..."} 
[2026-09-10 20:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08beca180012d0e824006ea28d8001400952b..."} 
[2026-09-10 20:57:24] local.INFO: Processing buffer {"connection_id":178037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08beca180012d0e824006ea28d8001400952b..."} 
[2026-09-10 20:57:24] local.INFO: Packet analysis {"connection_id":178037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bec"} 
[2026-09-10 20:57:24] local.INFO: Extracted packet for processing {"connection_id":178037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bec"} 
[2026-09-10 20:57:24] local.INFO: GPS Element Parsed {"raw_longitude":755925568,"raw_latitude":116009176,"longitude_deg":75.5925568,"latitude_deg":11.6009176,"altitude":20,"angle":149,"satellites":43,"speed":19,"hex_longitude":"2d0e8240","hex_latitude":"06ea28d8","is_valid_coordinates":true} 
[2026-09-10 20:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997802240001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404751202509651968,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040331543622653952,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789053936000,"timestamp_ms":1789053936000,"timestamp_seconds":1789053936,"priority":1,"record_length":96,"hex_timestamp":"000001a08beca180"} 
[2026-09-10 20:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 20:57:24] 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-09-10 20:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997802240001,"66":27332,"2":206,"80":6400,"24":19,"16":404751202509651968,"45":1040331543622653952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-10 20:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997802240001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:57:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404751202509651968,"km_value":404751202509651.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040331543622653952,"description":"Unknown IO ID 45"} 
[2026-09-10 20:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997802240001,"power":27332,"power_alt":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1040331543622653952}} 
[2026-09-10 20:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":178037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:57:24] local.INFO: GPS data processed {"connection_id":178037,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:57:24] local.INFO: Acknowledgment sent {"connection_id":178037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:57:31] local.INFO: TCP Data received {"connection_id":179423,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:57:31] local.INFO: Processing buffer {"connection_id":179423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:57:31] local.INFO: IMEI packet received {"connection_id":179423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":179423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:57:36] local.INFO: TCP Data received {"connection_id":179423,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:57:36] local.INFO: Processing buffer {"connection_id":179423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:57:36] local.INFO: IMEI packet received {"connection_id":179423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":179423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:57:38] local.INFO: TCP Data received {"connection_id":179423,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:38] local.INFO: Processing buffer {"connection_id":179423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:38] local.INFO: Packet analysis {"connection_id":179423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:38] local.INFO: Extracted packet for processing {"connection_id":179423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57: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-09-10 20:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 20:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:57: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-09-10 20:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:57: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-09-10 20:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:57:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:57:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:57:38] local.INFO: TCP Data received {"connection_id":176895,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:57:38] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:57:38] local.INFO: IMEI packet received {"connection_id":176895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":176895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":179423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:57:38] local.INFO: GPS data processed {"connection_id":179423,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:57:38] local.INFO: Acknowledgment sent {"connection_id":179423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:57:42] local.INFO: TCP Data received {"connection_id":179423,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:42] local.INFO: Processing buffer {"connection_id":179423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:57:42] local.INFO: Packet analysis {"connection_id":179423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:42] local.INFO: Extracted packet for processing {"connection_id":179423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57: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-09-10 20:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 20:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:57:42] 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-09-10 20:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:57:42] 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-09-10 20:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:57:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":179423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:57:42] local.INFO: GPS data processed {"connection_id":179423,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:57:42] local.INFO: Acknowledgment sent {"connection_id":179423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:57:43] local.INFO: TCP Data received {"connection_id":176895,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:57:43] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:57:43] local.INFO: IMEI packet received {"connection_id":176895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:57:52] local.INFO: TCP Data received {"connection_id":176895,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed5148012cb097000775f630000d007d2d..."} 
[2026-09-10 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed5148012cb097000775f630000d007d2d..."} 
[2026-09-10 20:57:52] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed5148012cb097000775f630000d007d2d..."} 
[2026-09-10 20:57:52] local.INFO: Packet analysis {"connection_id":176895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:52] local.INFO: Extracted packet for processing {"connection_id":176895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":749770496,"raw_latitude":125171248,"longitude_deg":74.9770496,"latitude_deg":12.5171248,"altitude":13,"angle":125,"satellites":45,"speed":57,"hex_longitude":"2cb09700","hex_latitude":"0775f630","is_valid_coordinates":true} 
[2026-09-10 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 20:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789053981000,"timestamp_ms":1789053981000,"timestamp_seconds":1789053981,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed5148"} 
[2026-09-10 20:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:57:52] local.INFO: 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-09-10 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:57:52] 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-09-10 20:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"250":206,"27":54016,"24":57,"16":3893920429768704},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,27,24,16]} 
[2026-09-10 20:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 20:57:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-10 20:57:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:57:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_250":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-10 20:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":176895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:57:52] local.INFO: GPS data processed {"connection_id":176895,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:57:52] local.INFO: Acknowledgment sent {"connection_id":176895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:57:55] local.INFO: TCP Data received {"connection_id":178037,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bece7d0012d0e95c006ea0b700012008f31..."} 
[2026-09-10 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bece7d0012d0e95c006ea0b700012008f31..."} 
[2026-09-10 20:57:55] local.INFO: Processing buffer {"connection_id":178037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bece7d0012d0e95c006ea0b700012008f31..."} 
[2026-09-10 20:57:55] local.INFO: Packet analysis {"connection_id":178037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bec"} 
[2026-09-10 20:57:55] local.INFO: Extracted packet for processing {"connection_id":178037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bec"} 
[2026-09-10 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755930560,"raw_latitude":116001648,"longitude_deg":75.593056,"latitude_deg":11.6001648,"altitude":18,"angle":143,"satellites":49,"speed":16,"hex_longitude":"2d0e95c0","hex_latitude":"06ea0b70","is_valid_coordinates":true} 
[2026-09-10 20:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997807616001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404751640596316160,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045468461945903104,"note":"Value kept but may cause issues"} 
[2026-09-10 20:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789053954000,"timestamp_ms":1789053954000,"timestamp_seconds":1789053954,"priority":1,"record_length":96,"hex_timestamp":"000001a08bece7d0"} 
[2026-09-10 20:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 20:57:55] 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-09-10 20:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997807616001,"66":27321,"2":206,"80":6400,"24":16,"16":404751640596316160,"45":1045468461945903104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-10 20:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997807616001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:57:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404751640596316160,"km_value":404751640596316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1045468461945903104,"description":"Unknown IO ID 45"} 
[2026-09-10 20:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997807616001,"power":27321,"power_alt":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":1045468461945903104}} 
[2026-09-10 20:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":178037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:57:55] local.INFO: GPS data processed {"connection_id":178037,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:57:55] local.INFO: Acknowledgment sent {"connection_id":178037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:58:18] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:18] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:18] local.INFO: IMEI packet received {"connection_id":176896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":176896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:58:19] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:19] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:19] local.INFO: IMEI packet received {"connection_id":176896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":176896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:58:23] local.INFO: TCP Data received {"connection_id":176895,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08beda350012cb0e2c00775c728001100762e..."} 
[2026-09-10 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08beda350012cb0e2c00775c728001100762e..."} 
[2026-09-10 20:58:23] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08beda350012cb0e2c00775c728001100762e..."} 
[2026-09-10 20:58:23] local.INFO: Packet analysis {"connection_id":176895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:23] local.INFO: Extracted packet for processing {"connection_id":176895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":749789888,"raw_latitude":125159208,"longitude_deg":74.9789888,"latitude_deg":12.5159208,"altitude":17,"angle":118,"satellites":46,"speed":0,"hex_longitude":"2cb0e2c0","hex_latitude":"0775c728","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997819136001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5722104769507086336,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789054002000,"timestamp_ms":1789054002000,"timestamp_seconds":1789054002,"priority":1,"record_length":96,"hex_timestamp":"000001a08beda350"} 
[2026-09-10 20:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 20:58:23] 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-09-10 20: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-09-10 20:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997819136001,"66":27593,"8":206,"27":54016,"24":0,"16":3893920429768704,"44":-5722104769507086336},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,27,24,16,44]} 
[2026-09-10 20:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997819136001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:58:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 20:58:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:58:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5722104769507086336,"description":"Unknown IO ID 44"} 
[2026-09-10 20:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997819136001,"power":27593,"unknown_8":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5722104769507086336}} 
[2026-09-10 20:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":176895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:58:24] local.INFO: GPS data processed {"connection_id":176895,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:58:24] local.INFO: Acknowledgment sent {"connection_id":176895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:58:24] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:24] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:58:24] local.INFO: IMEI packet received {"connection_id":176896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:58:26] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed35f0012d0ea98006e9ee500010009730..."} 
[2026-09-10 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed35f0012d0ea98006e9ee500010009730..."} 
[2026-09-10 20:58:26] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed35f0012d0ea98006e9ee500010009730..."} 
[2026-09-10 20:58:26] local.INFO: Packet analysis {"connection_id":176896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:26] local.INFO: Extracted packet for processing {"connection_id":176896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":755935616,"raw_latitude":115994192,"longitude_deg":75.5935616,"latitude_deg":11.5994192,"altitude":16,"angle":151,"satellites":48,"speed":14,"hex_longitude":"2d0ea980","hex_latitude":"06e9ee50","is_valid_coordinates":true} 
[2026-09-10 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997812224001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404752074388013056,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050957223989833728,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789053974000,"timestamp_ms":1789053974000,"timestamp_seconds":1789053974,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed35f0"} 
[2026-09-10 20:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 20:58:26] 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-09-10 20:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997812224001,"66":27376,"1":206,"80":6400,"24":14,"16":404752074388013056,"45":1050957223989833728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-10 20:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997812224001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:58:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404752074388013056,"km_value":404752074388013.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050957223989833728,"description":"Unknown IO ID 45"} 
[2026-09-10 20:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997812224001,"power":27376,"imei":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1050957223989833728}} 
[2026-09-10 20:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":176896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:58:26] local.INFO: GPS data processed {"connection_id":176896,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:58:26] local.INFO: Acknowledgment sent {"connection_id":176896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:58:26] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:58:26] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:58:26] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:58:31] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:58:31] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:58:31] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:58:33] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:58:33] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:58:33] local.INFO: Packet analysis {"connection_id":176679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:33] local.INFO: Extracted packet for processing {"connection_id":176679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20: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-09-10 20:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 20:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:58:33] 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-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20: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-09-10 20:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:58:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":176679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:58:33] local.INFO: GPS data processed {"connection_id":176679,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:58:33] local.INFO: Acknowledgment sent {"connection_id":176679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:58:43] local.INFO: TCP Data received {"connection_id":176897,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:58:43] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:58:43] local.INFO: IMEI packet received {"connection_id":176897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":176897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:58:48] local.INFO: TCP Data received {"connection_id":176897,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:58:48] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:58:48] local.INFO: IMEI packet received {"connection_id":176897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":176897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:58:49] local.INFO: TCP Data received {"connection_id":176897,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bedce48012cb131c007759b90001100832c..."} 
[2026-09-10 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bedce48012cb131c007759b90001100832c..."} 
[2026-09-10 20:58:49] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bedce48012cb131c007759b90001100832c..."} 
[2026-09-10 20:58:49] local.INFO: Packet analysis {"connection_id":176897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:49] local.INFO: Extracted packet for processing {"connection_id":176897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":749810112,"raw_latitude":125148048,"longitude_deg":74.9810112,"latitude_deg":12.5148048,"altitude":17,"angle":131,"satellites":44,"speed":58,"hex_longitude":"2cb131c0","hex_latitude":"07759b90","is_valid_coordinates":true} 
[2026-09-10 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997824512001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5700783040024336384,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789054013000,"timestamp_ms":1789054013000,"timestamp_seconds":1789054013,"priority":1,"record_length":96,"hex_timestamp":"000001a08bedce48"} 
[2026-09-10 20:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 20:58:49] 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-09-10 20:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997824512001,"66":27071,"8":206,"27":54016,"24":58,"16":3893920429768704,"44":-5700783040024336384},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,27,24,16,44]} 
[2026-09-10 20:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997824512001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:58:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 20:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5700783040024336384,"description":"Unknown IO ID 44"} 
[2026-09-10 20:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997824512001,"power":27071,"unknown_8":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-5700783040024336384}} 
[2026-09-10 20:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":176897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:58:49] local.INFO: GPS data processed {"connection_id":176897,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:58:49] local.INFO: Acknowledgment sent {"connection_id":176897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:58:54] local.INFO: TCP Data received {"connection_id":176897,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bee0cc8012cb16680077551b0001200922f..."} 
[2026-09-10 20:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bee0cc8012cb16680077551b0001200922f..."} 
[2026-09-10 20:58:54] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bee0cc8012cb16680077551b0001200922f..."} 
[2026-09-10 20:58:54] local.INFO: Packet analysis {"connection_id":176897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 20:58:54] local.INFO: Extracted packet for processing {"connection_id":176897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":749823616,"raw_latitude":125129136,"longitude_deg":74.9823616,"latitude_deg":12.5129136,"altitude":18,"angle":146,"satellites":47,"speed":56,"hex_longitude":"2cb16680","hex_latitude":"077551b0","is_valid_coordinates":true} 
[2026-09-10 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997827328001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5678546516867051520,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789054029000,"timestamp_ms":1789054029000,"timestamp_seconds":1789054029,"priority":1,"record_length":96,"hex_timestamp":"000001a08bee0cc8"} 
[2026-09-10 20:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 20:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997827328001,"66":27517,"8":206,"27":54016,"24":56,"16":3893920429768704,"44":-5678546516867051520},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,27,24,16,44]} 
[2026-09-10 20:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997827328001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:58:54] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-10 20:58:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5678546516867051520,"description":"Unknown IO ID 44"} 
[2026-09-10 20:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997827328001,"power":27517,"unknown_8":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-5678546516867051520}} 
[2026-09-10 20:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":176897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:58:54] local.INFO: GPS data processed {"connection_id":176897,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:58:54] local.INFO: Acknowledgment sent {"connection_id":176897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:58:58] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed87f8012d0ebcc006e9d3180010009324..."} 
[2026-09-10 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed87f8012d0ebcc006e9d3180010009324..."} 
[2026-09-10 20:58:58] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed87f8012d0ebcc006e9d3180010009324..."} 
[2026-09-10 20:58:58] local.INFO: Packet analysis {"connection_id":176896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:58] local.INFO: Extracted packet for processing {"connection_id":176896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":755940544,"raw_latitude":115987224,"longitude_deg":75.5940544,"latitude_deg":11.5987224,"altitude":16,"angle":147,"satellites":36,"speed":16,"hex_longitude":"2d0ebcc0","hex_latitude":"06e9d318","is_valid_coordinates":true} 
[2026-09-10 20:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997817344001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404752486704873472,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056516354777960448,"note":"Value kept but may cause issues"} 
[2026-09-10 20:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789053995000,"timestamp_ms":1789053995000,"timestamp_seconds":1789053995,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed87f8"} 
[2026-09-10 20:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 20:58:58] 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-09-10 20:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:58: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-09-10 20:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997817344001,"66":27484,"1":206,"80":6400,"24":16,"16":404752486704873472,"45":1056516354777960448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-10 20:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997817344001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:58:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404752486704873472,"km_value":404752486704873.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1056516354777960448,"description":"Unknown IO ID 45"} 
[2026-09-10 20:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997817344001,"power":27484,"imei":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":1056516354777960448}} 
[2026-09-10 20:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":176896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:58:58] local.INFO: GPS data processed {"connection_id":176896,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:58:58] local.INFO: Acknowledgment sent {"connection_id":176896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:59:05] local.INFO: TCP Data received {"connection_id":176679,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:59:05] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:59:05] local.INFO: Packet analysis {"connection_id":176679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:59:05] local.INFO: Extracted packet for processing {"connection_id":176679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59: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-09-10 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:59: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-09-10 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:59: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-09-10 20:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":176679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:59:05] local.INFO: GPS data processed {"connection_id":176679,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:59:05] local.INFO: Acknowledgment sent {"connection_id":176679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:59:18] local.INFO: TCP Data received {"connection_id":178038,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:18] local.INFO: Processing buffer {"connection_id":178038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:18] local.INFO: IMEI packet received {"connection_id":178038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 20:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":178038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:59:20] local.INFO: TCP Data received {"connection_id":178038,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:20] local.INFO: Processing buffer {"connection_id":178038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:20] local.INFO: IMEI packet received {"connection_id":178038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":178038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:59:21] local.INFO: TCP Data received {"connection_id":178038,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:21] local.INFO: Processing buffer {"connection_id":178038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 20:59:21] local.INFO: IMEI packet received {"connection_id":178038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 20:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":178038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:59:22] local.INFO: TCP Data received {"connection_id":178038,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bef4160012d0ebb0006e90488000700c72e..."} 
[2026-09-10 20:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bef4160012d0ebb0006e90488000700c72e..."} 
[2026-09-10 20:59:22] local.INFO: Processing buffer {"connection_id":178038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bef4160012d0ebb0006e90488000700c72e..."} 
[2026-09-10 20:59:22] local.INFO: Packet analysis {"connection_id":178038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 20:59:22] local.INFO: Extracted packet for processing {"connection_id":178038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":755940096,"raw_latitude":115934344,"longitude_deg":75.5940096,"latitude_deg":11.5934344,"altitude":7,"angle":199,"satellites":46,"speed":18,"hex_longitude":"2d0ebb00","hex_latitude":"06e90488","is_valid_coordinates":true} 
[2026-09-10 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997850880001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404755304203419648,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1062216223041343488,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789054108000,"timestamp_ms":1789054108000,"timestamp_seconds":1789054108,"priority":1,"record_length":96,"hex_timestamp":"000001a08bef4160"} 
[2026-09-10 20:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 20:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:59: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-09-10 20:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997850880001,"66":27213,"103":206,"80":6400,"24":18,"16":404755304203419648,"45":1062216223041343488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-10 20:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997850880001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:59:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 20:59:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404755304203419648,"km_value":404755304203419.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1062216223041343488,"description":"Unknown IO ID 45"} 
[2026-09-10 20:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997850880001,"power":27213,"unknown_103":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1062216223041343488}} 
[2026-09-10 20:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":178038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:59:22] local.INFO: GPS data processed {"connection_id":178038,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:59:22] local.INFO: Acknowledgment sent {"connection_id":178038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:59:23] local.INFO: TCP Data received {"connection_id":178038,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bef4930012d0eba8006e900e0000700b52f..."} 
[2026-09-10 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bef4930012d0eba8006e900e0000700b52f..."} 
[2026-09-10 20:59:23] local.INFO: Processing buffer {"connection_id":178038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bef4930012d0eba8006e900e0000700b52f..."} 
[2026-09-10 20:59:23] local.INFO: Packet analysis {"connection_id":178038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 20:59:23] local.INFO: Extracted packet for processing {"connection_id":178038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":755939968,"raw_latitude":115933408,"longitude_deg":75.5939968,"latitude_deg":11.5933408,"altitude":7,"angle":181,"satellites":47,"speed":18,"hex_longitude":"2d0eba80","hex_latitude":"06e900e0","is_valid_coordinates":true} 
[2026-09-10 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997851648001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404755351448059904,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061442166855075840,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789054110000,"timestamp_ms":1789054110000,"timestamp_seconds":1789054110,"priority":1,"record_length":96,"hex_timestamp":"000001a08bef4930"} 
[2026-09-10 20:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:59: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-09-10 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:59:23] 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-09-10 20:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997851648001,"66":27213,"103":206,"80":6400,"24":18,"16":404755351448059904,"45":1061442166855075840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-10 20:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997851648001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:59:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 20:59:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404755351448059904,"km_value":404755351448059.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061442166855075840,"description":"Unknown IO ID 45"} 
[2026-09-10 20:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997851648001,"power":27213,"unknown_103":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1061442166855075840}} 
[2026-09-10 20:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":178038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:59:24] local.INFO: GPS data processed {"connection_id":178038,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:59:24] local.INFO: Acknowledgment sent {"connection_id":178038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:59:26] local.INFO: TCP Data received {"connection_id":176898,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:59:26] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:59:26] local.INFO: IMEI packet received {"connection_id":176898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 20:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":176898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:59:31] local.INFO: TCP Data received {"connection_id":176898,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:59:31] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 20:59:31] local.INFO: IMEI packet received {"connection_id":176898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 20:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":176898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:59:33] local.INFO: TCP Data received {"connection_id":176898,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:59:33] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 20:59:33] local.INFO: Packet analysis {"connection_id":176898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:59:33] local.INFO: Extracted packet for processing {"connection_id":176898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 20:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 20:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 20:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:59:33] 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-09-10 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 20:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 20:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 20:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 20:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 20:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 20:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 20:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:59:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 20:59:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 20:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 20:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 20:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":176898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:59:33] local.INFO: GPS data processed {"connection_id":176898,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:59:33] local.INFO: Acknowledgment sent {"connection_id":176898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:59:38] local.INFO: TCP Data received {"connection_id":179424,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:59:38] local.INFO: Processing buffer {"connection_id":179424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:59:38] local.INFO: IMEI packet received {"connection_id":179424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 20:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":179424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 20:59:43] local.INFO: TCP Data received {"connection_id":179424,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:59:43] local.INFO: Processing buffer {"connection_id":179424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 20:59:43] local.INFO: IMEI packet received {"connection_id":179424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 20:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":179424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 20:59:44] local.INFO: TCP Data received {"connection_id":179424,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bee4b48012cb1a34007750da8001100862c..."} 
[2026-09-10 20:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bee4b48012cb1a34007750da8001100862c..."} 
[2026-09-10 20:59:44] local.INFO: Processing buffer {"connection_id":179424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bee4b48012cb1a34007750da8001100862c..."} 
[2026-09-10 20:59:44] local.INFO: Packet analysis {"connection_id":179424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 20:59:44] local.INFO: Extracted packet for processing {"connection_id":179424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 20:59:44] local.INFO: GPS Element Parsed {"raw_longitude":749839168,"raw_latitude":125111720,"longitude_deg":74.9839168,"latitude_deg":12.511172,"altitude":17,"angle":134,"satellites":44,"speed":59,"hex_longitude":"2cb1a340","hex_latitude":"07750da8","is_valid_coordinates":true} 
[2026-09-10 20:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997831424001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5663698711850405888,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054045000,"timestamp_ms":1789054045000,"timestamp_seconds":1789054045,"priority":1,"record_length":96,"hex_timestamp":"000001a08bee4b48"} 
[2026-09-10 20:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 20:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 20:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997831424001,"66":27626,"6":206,"27":54016,"24":59,"16":3893920429768704,"44":-5663698711850405888},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-09-10 20:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997831424001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:59:44] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-10 20:59:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5663698711850405888,"description":"Unknown IO ID 44"} 
[2026-09-10 20:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997831424001,"power":27626,"unknown_6":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-5663698711850405888}} 
[2026-09-10 20:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":179424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:59:44] local.INFO: GPS data processed {"connection_id":179424,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:59:44] local.INFO: Acknowledgment sent {"connection_id":179424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:59:49] local.INFO: TCP Data received {"connection_id":179424,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bee9d50012cb1e4c00774cf48001400822d..."} 
[2026-09-10 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bee9d50012cb1e4c00774cf48001400822d..."} 
[2026-09-10 20:59:49] local.INFO: Processing buffer {"connection_id":179424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bee9d50012cb1e4c00774cf48001400822d..."} 
[2026-09-10 20:59:49] local.INFO: Packet analysis {"connection_id":179424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 20:59:49] local.INFO: Extracted packet for processing {"connection_id":179424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":749855936,"raw_latitude":125095752,"longitude_deg":74.9855936,"latitude_deg":12.5095752,"altitude":20,"angle":130,"satellites":45,"speed":0,"hex_longitude":"2cb1e4c0","hex_latitude":"0774cf48","is_valid_coordinates":true} 
[2026-09-10 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997835520001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5646599107019692032,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789054066000,"timestamp_ms":1789054066000,"timestamp_seconds":1789054066,"priority":1,"record_length":96,"hex_timestamp":"000001a08bee9d50"} 
[2026-09-10 20:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 20:59:49] 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-09-10 20:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 20:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 20:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 20:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997835520001,"66":27626,"6":206,"27":54016,"24":0,"16":3893920429768704,"44":-5646599107019692032},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-09-10 20:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 20:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 20:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997835520001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:59:49] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-10 20:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 20:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5646599107019692032,"description":"Unknown IO ID 44"} 
[2026-09-10 20:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997835520001,"power":27626,"unknown_6":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5646599107019692032}} 
[2026-09-10 20:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":179424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:59:49] local.INFO: GPS data processed {"connection_id":179424,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:59:49] local.INFO: Acknowledgment sent {"connection_id":179424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 20:59:55] local.INFO: TCP Data received {"connection_id":178038,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bef5cb8012d0ebac006e8f9d0000600a52f..."} 
[2026-09-10 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bef5cb8012d0ebac006e8f9d0000600a52f..."} 
[2026-09-10 20:59:55] local.INFO: Processing buffer {"connection_id":178038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bef5cb8012d0ebac006e8f9d0000600a52f..."} 
[2026-09-10 20:59:55] local.INFO: Packet analysis {"connection_id":178038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 20:59:55] local.INFO: Extracted packet for processing {"connection_id":178038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755940032,"raw_latitude":115931600,"longitude_deg":75.5940032,"latitude_deg":11.59316,"altitude":6,"angle":165,"satellites":47,"speed":10,"hex_longitude":"2d0ebac0","hex_latitude":"06e8f9d0","is_valid_coordinates":true} 
[2026-09-10 20:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 20:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997852160001,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404755441642373120,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061301429366480896,"note":"Value kept but may cause issues"} 
[2026-09-10 20:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 20:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054115000,"timestamp_ms":1789054115000,"timestamp_seconds":1789054115,"priority":1,"record_length":96,"hex_timestamp":"000001a08bef5cb8"} 
[2026-09-10 20:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 20:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 20:59:55] 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-09-10 20:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 20:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 20:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 20:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 20:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 20:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 20:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 20:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 20:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997852160001,"66":27267,"103":206,"80":6400,"24":10,"16":404755441642373120,"45":1061301429366480896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-10 20:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 20:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 20:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997852160001,"description":"Unknown IO ID 0"} 
[2026-09-10 20:59:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-10 20:59:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 20:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404755441642373120,"km_value":404755441642373.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 20:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061301429366480896,"description":"Unknown IO ID 45"} 
[2026-09-10 20:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997852160001,"power":27267,"unknown_103":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":1061301429366480896}} 
[2026-09-10 20:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":178038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 20:59:55] local.INFO: GPS data processed {"connection_id":178038,"processed":1,"errors":0,"total":1} 
[2026-09-10 20:59:55] local.INFO: Acknowledgment sent {"connection_id":178038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:00:05] local.INFO: TCP Data received {"connection_id":176898,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:00:05] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:00:05] local.INFO: Packet analysis {"connection_id":176898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:00:05] local.INFO: Extracted packet for processing {"connection_id":176898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00: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-09-10 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 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-09-10 21:00: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-09-10 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":129,"data_length":795,"current_offset":136} 
[2026-09-10 21:00: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-09-10 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-09-10 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-09-10 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":176898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:00:05] local.INFO: GPS data processed {"connection_id":176898,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:00:05] local.INFO: Acknowledgment sent {"connection_id":176898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:00:18] local.INFO: TCP Data received {"connection_id":179425,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:00:18] local.INFO: Processing buffer {"connection_id":179425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:00:18] local.INFO: IMEI packet received {"connection_id":179425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":179425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:00:20] local.INFO: TCP Data received {"connection_id":179424,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08beecc30012cb22c400774a3f8001a00762e..."} 
[2026-09-10 21:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08beecc30012cb22c400774a3f8001a00762e..."} 
[2026-09-10 21:00:20] local.INFO: Processing buffer {"connection_id":179424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08beecc30012cb22c400774a3f8001a00762e..."} 
[2026-09-10 21:00:20] local.INFO: Packet analysis {"connection_id":179424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 21:00:20] local.INFO: Extracted packet for processing {"connection_id":179424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bee"} 
[2026-09-10 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749874240,"raw_latitude":125084664,"longitude_deg":74.987424,"latitude_deg":12.5084664,"altitude":26,"angle":118,"satellites":46,"speed":45,"hex_longitude":"2cb22c40","hex_latitude":"0774a3f8","is_valid_coordinates":true} 
[2026-09-10 21:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997840896001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5628162496049231872,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789054078000,"timestamp_ms":1789054078000,"timestamp_seconds":1789054078,"priority":1,"record_length":96,"hex_timestamp":"000001a08beecc30"} 
[2026-09-10 21:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 21:00:20] 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-09-10 21:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":179424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":179424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":179424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997840896001,"66":27517,"6":206,"27":54016,"24":45,"16":3893920429768704,"44":-5628162496049231872},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-09-10 21:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997840896001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:00:20] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-10 21:00:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5628162496049231872,"description":"Unknown IO ID 44"} 
[2026-09-10 21:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997840896001,"power":27517,"unknown_6":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5628162496049231872}} 
[2026-09-10 21:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":179424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:00:21] local.INFO: GPS data processed {"connection_id":179424,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:00:21] local.INFO: Acknowledgment sent {"connection_id":179424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:00:23] local.INFO: TCP Data received {"connection_id":179425,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:00:23] local.INFO: Processing buffer {"connection_id":179425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:00:23] local.INFO: IMEI packet received {"connection_id":179425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":179425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:00:24] local.INFO: TCP Data received {"connection_id":179425,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bef7810012d0ebc8006e8f210000600b22b..."} 
[2026-09-10 21:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bef7810012d0ebc8006e8f210000600b22b..."} 
[2026-09-10 21:00:24] local.INFO: Processing buffer {"connection_id":179425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bef7810012d0ebc8006e8f210000600b22b..."} 
[2026-09-10 21:00:24] local.INFO: Packet analysis {"connection_id":179425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:00:24] local.INFO: Extracted packet for processing {"connection_id":179425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:00:24] local.INFO: GPS Element Parsed {"raw_longitude":755940480,"raw_latitude":115929616,"longitude_deg":75.594048,"latitude_deg":11.5929616,"altitude":6,"angle":178,"satellites":43,"speed":13,"hex_longitude":"2d0ebc80","hex_latitude":"06e8f210","is_valid_coordinates":true} 
[2026-09-10 21:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997853440001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404755540426620928,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061371798110195712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054122000,"timestamp_ms":1789054122000,"timestamp_seconds":1789054122,"priority":1,"record_length":96,"hex_timestamp":"000001a08bef7810"} 
[2026-09-10 21:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997853440001,"66":27267,"176":206,"80":6400,"24":13,"16":404755540426620928,"45":1061371798110195712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 21:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997853440001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:00:24] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 21:00:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404755540426620928,"km_value":404755540426620.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061371798110195712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997853440001,"power":27267,"unknown_176":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":1061371798110195712}} 
[2026-09-10 21:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":179425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:00:24] local.INFO: GPS data processed {"connection_id":179425,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:00:24] local.INFO: Acknowledgment sent {"connection_id":179425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:00:26] local.INFO: TCP Data received {"connection_id":179426,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:00:26] local.INFO: Processing buffer {"connection_id":179426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:00:26] local.INFO: IMEI packet received {"connection_id":179426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":179426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:00:31] local.INFO: TCP Data received {"connection_id":179426,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:00:31] local.INFO: Processing buffer {"connection_id":179426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:00:31] local.INFO: IMEI packet received {"connection_id":179426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":179426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:00:32] local.INFO: TCP Data received {"connection_id":179426,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:00:33] local.INFO: Processing buffer {"connection_id":179426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:00:33] local.INFO: Packet analysis {"connection_id":179426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:00:33] local.INFO: Extracted packet for processing {"connection_id":179426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 21:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:00:33] 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-09-10 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 21:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:00:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":179426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:00:33] local.INFO: GPS data processed {"connection_id":179426,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:00:33] local.INFO: Acknowledgment sent {"connection_id":179426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:00:38] local.INFO: TCP Data received {"connection_id":179427,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:00:38] local.INFO: Processing buffer {"connection_id":179427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:00:38] local.INFO: IMEI packet received {"connection_id":179427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":179427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:00:43] local.INFO: TCP Data received {"connection_id":179427,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:00:43] local.INFO: Processing buffer {"connection_id":179427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:00:43] local.INFO: IMEI packet received {"connection_id":179427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":179427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:00:44] local.INFO: TCP Data received {"connection_id":179427,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bef1e38012cb275c007747de8001c00732e..."} 
[2026-09-10 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bef1e38012cb275c007747de8001c00732e..."} 
[2026-09-10 21:00:44] local.INFO: Processing buffer {"connection_id":179427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bef1e38012cb275c007747de8001c00732e..."} 
[2026-09-10 21:00:44] local.INFO: Packet analysis {"connection_id":179427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:00:44] local.INFO: Extracted packet for processing {"connection_id":179427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":749893056,"raw_latitude":125074920,"longitude_deg":74.9893056,"latitude_deg":12.507492,"altitude":28,"angle":115,"satellites":46,"speed":0,"hex_longitude":"2cb275c0","hex_latitude":"07747de8","is_valid_coordinates":true} 
[2026-09-10 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997843968001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5608037035217258496,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054099000,"timestamp_ms":1789054099000,"timestamp_seconds":1789054099,"priority":1,"record_length":96,"hex_timestamp":"000001a08bef1e38"} 
[2026-09-10 21:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 21:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997843968001,"66":27745,"102":206,"27":54016,"24":0,"16":3893920429768704,"44":-5608037035217258496},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,27,24,16,44]} 
[2026-09-10 21:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997843968001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-10 21:00:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:00:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5608037035217258496,"description":"Unknown IO ID 44"} 
[2026-09-10 21:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997843968001,"power":27745,"unknown_102":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5608037035217258496}} 
[2026-09-10 21:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":179427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:00:44] local.INFO: GPS data processed {"connection_id":179427,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:00:44] local.INFO: Acknowledgment sent {"connection_id":179427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:00:55] local.INFO: TCP Data received {"connection_id":179425,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf0aca8012d0e84c006e86dd0000800a22f..."} 
[2026-09-10 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf0aca8012d0e84c006e86dd0000800a22f..."} 
[2026-09-10 21:00:55] local.INFO: Processing buffer {"connection_id":179425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf0aca8012d0e84c006e86dd0000800a22f..."} 
[2026-09-10 21:00:55] local.INFO: Packet analysis {"connection_id":179425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:00:55] local.INFO: Extracted packet for processing {"connection_id":179425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":755926208,"raw_latitude":115895760,"longitude_deg":75.5926208,"latitude_deg":11.589576,"altitude":8,"angle":162,"satellites":47,"speed":11,"hex_longitude":"2d0e84c0","hex_latitude":"06e86dd0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997874688001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404757335722950656,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046101780614672384,"note":"Value kept but may cause issues"} 
[2026-09-10 21:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054201000,"timestamp_ms":1789054201000,"timestamp_seconds":1789054201,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf0aca8"} 
[2026-09-10 21:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:00:55] 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-09-10 21: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-09-10 21:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997874688001,"66":27213,"176":206,"80":6400,"24":11,"16":404757335722950656,"45":1046101780614672384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 21:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997874688001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:00:55] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 21:00:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404757335722950656,"km_value":404757335722950.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046101780614672384,"description":"Unknown IO ID 45"} 
[2026-09-10 21:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997874688001,"power":27213,"unknown_176":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":1046101780614672384}} 
[2026-09-10 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":179425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:00:55] local.INFO: GPS data processed {"connection_id":179425,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:00:55] local.INFO: Acknowledgment sent {"connection_id":179425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:01:05] local.INFO: TCP Data received {"connection_id":179426,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:05] local.INFO: Processing buffer {"connection_id":179426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:05] local.INFO: Packet analysis {"connection_id":179426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:01:05] local.INFO: Extracted packet for processing {"connection_id":179426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01: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-09-10 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 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-09-10 21:01: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-09-10 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":129,"data_length":795,"current_offset":136} 
[2026-09-10 21:01: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-09-10 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-09-10 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-09-10 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":179426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:01:05] local.INFO: GPS data processed {"connection_id":179426,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:01:05] local.INFO: Acknowledgment sent {"connection_id":179426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:01:16] local.INFO: TCP Data received {"connection_id":179427,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bef7040012cb2b90007745d10002100752f..."} 
[2026-09-10 21:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bef7040012cb2b90007745d10002100752f..."} 
[2026-09-10 21:01:16] local.INFO: Processing buffer {"connection_id":179427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bef7040012cb2b90007745d10002100752f..."} 
[2026-09-10 21:01:16] local.INFO: Packet analysis {"connection_id":179427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:01:16] local.INFO: Extracted packet for processing {"connection_id":179427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:01:16] local.INFO: GPS Element Parsed {"raw_longitude":749910272,"raw_latitude":125066512,"longitude_deg":74.9910272,"latitude_deg":12.5066512,"altitude":33,"angle":117,"satellites":47,"speed":0,"hex_longitude":"2cb2b900","hex_latitude":"07745d10","is_valid_coordinates":true} 
[2026-09-10 21:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997849344001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5587348624431519744,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789054120000,"timestamp_ms":1789054120000,"timestamp_seconds":1789054120,"priority":1,"record_length":96,"hex_timestamp":"000001a08bef7040"} 
[2026-09-10 21:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 21:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997849344001,"66":27517,"101":206,"27":54016,"24":0,"16":3893920429768704,"44":-5587348624431519744},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-09-10 21:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997849344001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:01:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-10 21:01:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:01:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5587348624431519744,"description":"Unknown IO ID 44"} 
[2026-09-10 21:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997849344001,"power":27517,"unknown_101":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5587348624431519744}} 
[2026-09-10 21:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":179427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:01:16] local.INFO: GPS data processed {"connection_id":179427,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:01:16] local.INFO: Acknowledgment sent {"connection_id":179427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:01:18] local.INFO: TCP Data received {"connection_id":179428,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:01:18] local.INFO: Processing buffer {"connection_id":179428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:01:18] local.INFO: IMEI packet received {"connection_id":179428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":179428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:01:24] local.INFO: TCP Data received {"connection_id":179428,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:01:24] local.INFO: Processing buffer {"connection_id":179428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:01:24] local.INFO: IMEI packet received {"connection_id":179428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":179428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:01:25] local.INFO: TCP Data received {"connection_id":179428,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf0b860012d0e860006e869e8000800b130..."} 
[2026-09-10 21:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf0b860012d0e860006e869e8000800b130..."} 
[2026-09-10 21:01:25] local.INFO: Processing buffer {"connection_id":179428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf0b860012d0e860006e869e8000800b130..."} 
[2026-09-10 21:01:25] local.INFO: Packet analysis {"connection_id":179428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:01:25] local.INFO: Extracted packet for processing {"connection_id":179428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:01:25] local.INFO: GPS Element Parsed {"raw_longitude":755926528,"raw_latitude":115894760,"longitude_deg":75.5926528,"latitude_deg":11.589476,"altitude":8,"angle":177,"satellites":48,"speed":15,"hex_longitude":"2d0e8600","hex_latitude":"06e869e8","is_valid_coordinates":true} 
[2026-09-10 21:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997875456001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404757387262558208,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046172149358645248,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789054204000,"timestamp_ms":1789054204000,"timestamp_seconds":1789054204,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf0b860"} 
[2026-09-10 21:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 21:01:25] 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-09-10 21:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997875456001,"66":27300,"176":206,"80":6400,"24":15,"16":404757387262558208,"45":1046172149358645248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 21:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997875456001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:01:25] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 21:01:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404757387262558208,"km_value":404757387262558.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046172149358645248,"description":"Unknown IO ID 45"} 
[2026-09-10 21:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997875456001,"power":27300,"unknown_176":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":1046172149358645248}} 
[2026-09-10 21:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":179428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:01:25] local.INFO: GPS data processed {"connection_id":179428,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:01:25] local.INFO: Acknowledgment sent {"connection_id":179428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:01:31] local.INFO: TCP Data received {"connection_id":176680,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:01:31] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:01:31] local.INFO: IMEI packet received {"connection_id":176680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":176680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:01:36] local.INFO: TCP Data received {"connection_id":176680,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:01:36] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:01:36] local.INFO: IMEI packet received {"connection_id":176680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":176680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:01:38] local.INFO: TCP Data received {"connection_id":176899,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:01:38] local.INFO: Processing buffer {"connection_id":176899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:01:38] local.INFO: IMEI packet received {"connection_id":176899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":176899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:01:38] local.INFO: TCP Data received {"connection_id":176680,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:38] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:38] local.INFO: Packet analysis {"connection_id":176680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:01:38] local.INFO: Extracted packet for processing {"connection_id":176680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01: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-09-10 21:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 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-09-10 21: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-09-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 21:01: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-09-10 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-09-10 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-09-10 21:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":176680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:01:38] local.INFO: GPS data processed {"connection_id":176680,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:01:38] local.INFO: Acknowledgment sent {"connection_id":176680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:01:42] local.INFO: TCP Data received {"connection_id":176680,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:42] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bed1a98012d1965c0071feee00041005e27..."} 
[2026-09-10 21:01:42] local.INFO: Packet analysis {"connection_id":176680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:01:42] local.INFO: Extracted packet for processing {"connection_id":176680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bed"} 
[2026-09-10 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997738496001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01: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-09-10 21:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789053967000,"timestamp_ms":1789053967000,"timestamp_seconds":1789053967,"priority":1,"record_length":96,"hex_timestamp":"000001a08bed1a98"} 
[2026-09-10 21:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:01:42] 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-09-10 21:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 21:01:42] 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-09-10 21:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997738496001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997738496001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:01:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997738496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":176680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:01:42] local.INFO: GPS data processed {"connection_id":176680,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:01:42] local.INFO: Acknowledgment sent {"connection_id":176680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:01:43] local.INFO: TCP Data received {"connection_id":176899,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:01:43] local.INFO: Processing buffer {"connection_id":176899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:01:43] local.INFO: IMEI packet received {"connection_id":176899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":176899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:01:44] local.INFO: TCP Data received {"connection_id":176899,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bef9b38012cb2f98007744c00002500582f..."} 
[2026-09-10 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bef9b38012cb2f98007744c00002500582f..."} 
[2026-09-10 21:01:44] local.INFO: Processing buffer {"connection_id":176899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bef9b38012cb2f98007744c00002500582f..."} 
[2026-09-10 21:01:44] local.INFO: Packet analysis {"connection_id":176899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:01:44] local.INFO: Extracted packet for processing {"connection_id":176899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":749926784,"raw_latitude":125062144,"longitude_deg":74.9926784,"latitude_deg":12.5062144,"altitude":37,"angle":88,"satellites":47,"speed":35,"hex_longitude":"2cb2f980","hex_latitude":"07744c00","is_valid_coordinates":true} 
[2026-09-10 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997854720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5568419432249880576,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054131000,"timestamp_ms":1789054131000,"timestamp_seconds":1789054131,"priority":1,"record_length":96,"hex_timestamp":"000001a08bef9b38"} 
[2026-09-10 21:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 21:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997854720001,"66":27745,"100":206,"27":54016,"24":35,"16":3893920429768704,"44":-5568419432249880576},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-09-10 21:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997854720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:01:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 21:01:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5568419432249880576,"description":"Unknown IO ID 44"} 
[2026-09-10 21:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997854720001,"power":27745,"unknown_100":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5568419432249880576}} 
[2026-09-10 21:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":176899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:01:44] local.INFO: GPS data processed {"connection_id":176899,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:01:44] local.INFO: Acknowledgment sent {"connection_id":176899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:01:57] local.INFO: TCP Data received {"connection_id":179428,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf0c418012d0e85c006e86548000900bd30..."} 
[2026-09-10 21:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf0c418012d0e85c006e86548000900bd30..."} 
[2026-09-10 21:01:57] local.INFO: Processing buffer {"connection_id":179428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf0c418012d0e85c006e86548000900bd30..."} 
[2026-09-10 21:01:57] local.INFO: Packet analysis {"connection_id":179428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:01:57] local.INFO: Extracted packet for processing {"connection_id":179428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:01:57] local.INFO: GPS Element Parsed {"raw_longitude":755926464,"raw_latitude":115893576,"longitude_deg":75.5926464,"latitude_deg":11.5893576,"altitude":9,"angle":189,"satellites":48,"speed":15,"hex_longitude":"2d0e85c0","hex_latitude":"06e86548","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997876224001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404757447392100352,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046523993079277568,"note":"Value kept but may cause issues"} 
[2026-09-10 21:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789054207000,"timestamp_ms":1789054207000,"timestamp_seconds":1789054207,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf0c418"} 
[2026-09-10 21:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:01:57] 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-09-10 21: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-09-10 21:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997876224001,"66":27213,"176":206,"80":6400,"24":15,"16":404757447392100352,"45":1046523993079277568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 21:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997876224001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:01:57] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 21:01:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404757447392100352,"km_value":404757447392100.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046523993079277568,"description":"Unknown IO ID 45"} 
[2026-09-10 21:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997876224001,"power":27213,"unknown_176":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":1046523993079277568}} 
[2026-09-10 21:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":179428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:01:57] local.INFO: GPS data processed {"connection_id":179428,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:01:57] local.INFO: Acknowledgment sent {"connection_id":179428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:02:15] local.INFO: TCP Data received {"connection_id":176899,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08befe958012cb33c8007746580002900322e..."} 
[2026-09-10 21:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08befe958012cb33c8007746580002900322e..."} 
[2026-09-10 21:02:15] local.INFO: Processing buffer {"connection_id":176899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08befe958012cb33c8007746580002900322e..."} 
[2026-09-10 21:02:15] local.INFO: Packet analysis {"connection_id":176899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:02:15] local.INFO: Extracted packet for processing {"connection_id":176899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bef"} 
[2026-09-10 21:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749943936,"raw_latitude":125068672,"longitude_deg":74.9943936,"latitude_deg":12.5068672,"altitude":41,"angle":50,"satellites":46,"speed":40,"hex_longitude":"2cb33c80","hex_latitude":"07746580","is_valid_coordinates":true} 
[2026-09-10 21:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997857536001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5550264296253161472,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789054151000,"timestamp_ms":1789054151000,"timestamp_seconds":1789054151,"priority":1,"record_length":96,"hex_timestamp":"000001a08befe958"} 
[2026-09-10 21:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:02: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-09-10 21:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 21:02: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-09-10 21:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997857536001,"66":27517,"100":206,"27":54016,"24":40,"16":3893920429768704,"44":-5550264296253161472},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-09-10 21:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997857536001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:02:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 21:02:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5550264296253161472,"description":"Unknown IO ID 44"} 
[2026-09-10 21:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997857536001,"power":27517,"unknown_100":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5550264296253161472}} 
[2026-09-10 21:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":176899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:02:15] local.INFO: GPS data processed {"connection_id":176899,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:02:15] local.INFO: Acknowledgment sent {"connection_id":176899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:02:18] local.INFO: TCP Data received {"connection_id":179429,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:02:18] local.INFO: Processing buffer {"connection_id":179429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:02:18] local.INFO: IMEI packet received {"connection_id":179429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":179429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:02:23] local.INFO: TCP Data received {"connection_id":179429,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:02:23] local.INFO: Processing buffer {"connection_id":179429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:02:23] local.INFO: IMEI packet received {"connection_id":179429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":179429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:02:24] local.INFO: TCP Data received {"connection_id":179429,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf11620012d0e7f8006e84268000700ba2f..."} 
[2026-09-10 21:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf11620012d0e7f8006e84268000700ba2f..."} 
[2026-09-10 21:02:24] local.INFO: Processing buffer {"connection_id":179429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf11620012d0e7f8006e84268000700ba2f..."} 
[2026-09-10 21:02:24] local.INFO: Packet analysis {"connection_id":179429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:02:24] local.INFO: Extracted packet for processing {"connection_id":179429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:02:24] local.INFO: GPS Element Parsed {"raw_longitude":755924864,"raw_latitude":115884648,"longitude_deg":75.5924864,"latitude_deg":11.5884648,"altitude":7,"angle":186,"satellites":47,"speed":17,"hex_longitude":"2d0e7f80","hex_latitude":"06e84268","is_valid_coordinates":true} 
[2026-09-10 21:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997876992001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404757885478764544,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046453624334796800,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054228000,"timestamp_ms":1789054228000,"timestamp_seconds":1789054228,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf11620"} 
[2026-09-10 21:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 21:02:24] 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-09-10 21:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997876992001,"66":27343,"176":206,"80":6400,"24":17,"16":404757885478764544,"45":1046453624334796800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 21:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997876992001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:02:24] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 21:02:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404757885478764544,"km_value":404757885478764.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046453624334796800,"description":"Unknown IO ID 45"} 
[2026-09-10 21:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997876992001,"power":27343,"unknown_176":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1046453624334796800}} 
[2026-09-10 21:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":179429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:02:24] local.INFO: GPS data processed {"connection_id":179429,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:02:24] local.INFO: Acknowledgment sent {"connection_id":179429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:02:26] local.INFO: TCP Data received {"connection_id":176681,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:02:26] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:02:26] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:02:31] local.INFO: TCP Data received {"connection_id":176681,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:02:31] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:02:31] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:02:33] local.INFO: TCP Data received {"connection_id":176681,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:02:33] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:02:33] local.INFO: Packet analysis {"connection_id":176681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:02:33] local.INFO: Extracted packet for processing {"connection_id":176681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 21:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:02:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:02:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":176681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:02:33] local.INFO: GPS data processed {"connection_id":176681,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:02:33] local.INFO: Acknowledgment sent {"connection_id":176681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:02:38] local.INFO: TCP Data received {"connection_id":176900,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:02:38] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:02:38] local.INFO: IMEI packet received {"connection_id":176900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":176900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:02:43] local.INFO: TCP Data received {"connection_id":176900,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:02:43] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:02:43] local.INFO: IMEI packet received {"connection_id":176900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":176900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:02:44] local.INFO: TCP Data received {"connection_id":176900,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf02fa8012cb366000774a4a0002800182f..."} 
[2026-09-10 21:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf02fa8012cb366000774a4a0002800182f..."} 
[2026-09-10 21:02:44] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf02fa8012cb366000774a4a0002800182f..."} 
[2026-09-10 21:02:44] local.INFO: Packet analysis {"connection_id":176900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:02:44] local.INFO: Extracted packet for processing {"connection_id":176900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:02:44] local.INFO: GPS Element Parsed {"raw_longitude":749954560,"raw_latitude":125084832,"longitude_deg":74.995456,"latitude_deg":12.5084832,"altitude":40,"angle":24,"satellites":47,"speed":48,"hex_longitude":"2cb36600","hex_latitude":"0774a4a0","is_valid_coordinates":true} 
[2026-09-10 21:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997862656001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5531405472811876352,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054169000,"timestamp_ms":1789054169000,"timestamp_seconds":1789054169,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf02fa8"} 
[2026-09-10 21:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 21:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997862656001,"66":27713,"100":206,"27":54016,"24":48,"16":3893920429768704,"44":-5531405472811876352},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-09-10 21:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997862656001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:02:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 21:02:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:02:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5531405472811876352,"description":"Unknown IO ID 44"} 
[2026-09-10 21:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997862656001,"power":27713,"unknown_100":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-5531405472811876352}} 
[2026-09-10 21:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":176900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:02:44] local.INFO: GPS data processed {"connection_id":176900,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:02:44] local.INFO: Acknowledgment sent {"connection_id":176900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:02:55] local.INFO: TCP Data received {"connection_id":179429,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf11620012d0e7f8006e84268000700ba2f..."} 
[2026-09-10 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf11620012d0e7f8006e84268000700ba2f..."} 
[2026-09-10 21:02:55] local.INFO: Processing buffer {"connection_id":179429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf11620012d0e7f8006e84268000700ba2f..."} 
[2026-09-10 21:02:55] local.INFO: Packet analysis {"connection_id":179429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:02:55] local.INFO: Extracted packet for processing {"connection_id":179429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:02:55] local.INFO: GPS Element Parsed {"raw_longitude":755924864,"raw_latitude":115884648,"longitude_deg":75.5924864,"latitude_deg":11.5884648,"altitude":7,"angle":186,"satellites":47,"speed":17,"hex_longitude":"2d0e7f80","hex_latitude":"06e84268","is_valid_coordinates":true} 
[2026-09-10 21:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997882368001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404757885478764544,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044694405728069632,"note":"Value kept but may cause issues"} 
[2026-09-10 21:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054228000,"timestamp_ms":1789054228000,"timestamp_seconds":1789054228,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf11620"} 
[2026-09-10 21:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 21:02:55] 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-09-10 21:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997882368001,"66":27343,"176":206,"80":6400,"24":17,"16":404757885478764544,"45":1044694405728069632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 21:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997882368001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:02:55] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 21:02:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404757885478764544,"km_value":404757885478764.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044694405728069632,"description":"Unknown IO ID 45"} 
[2026-09-10 21:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997882368001,"power":27343,"unknown_176":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1044694405728069632}} 
[2026-09-10 21:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":179429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:02:55] local.INFO: GPS data processed {"connection_id":179429,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:02:55] local.INFO: Acknowledgment sent {"connection_id":179429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:03:04] local.INFO: TCP Data received {"connection_id":176681,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:03:04] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:03:04] local.INFO: Packet analysis {"connection_id":176681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:04] local.INFO: Extracted packet for processing {"connection_id":176681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03: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-09-10 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 21:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:03: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-09-10 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":176681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:03:05] local.INFO: GPS data processed {"connection_id":176681,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:03:05] local.INFO: Acknowledgment sent {"connection_id":176681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:03:16] local.INFO: TCP Data received {"connection_id":176900,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf07210012cb39b000774ed08001f002930..."} 
[2026-09-10 21:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf07210012cb39b000774ed08001f002930..."} 
[2026-09-10 21:03:16] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf07210012cb39b000774ed08001f002930..."} 
[2026-09-10 21:03:16] local.INFO: Packet analysis {"connection_id":176900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:03:16] local.INFO: Extracted packet for processing {"connection_id":176900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:03:16] local.INFO: GPS Element Parsed {"raw_longitude":749968128,"raw_latitude":125103368,"longitude_deg":74.9968128,"latitude_deg":12.5103368,"altitude":31,"angle":41,"satellites":48,"speed":57,"hex_longitude":"2cb39b00","hex_latitude":"0774ed08","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997867264001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519724261274247168,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789054186000,"timestamp_ms":1789054186000,"timestamp_seconds":1789054186,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf07210"} 
[2026-09-10 21:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-10 21:03:16] 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-09-10 21: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-09-10 21:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997867264001,"66":27615,"100":206,"27":54016,"24":57,"16":3893920429768704,"44":-5519724261274247168},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-09-10 21:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997867264001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:03:16] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-10 21:03:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5519724261274247168,"description":"Unknown IO ID 44"} 
[2026-09-10 21:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997867264001,"power":27615,"unknown_100":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-5519724261274247168}} 
[2026-09-10 21:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":176900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:03:16] local.INFO: GPS data processed {"connection_id":176900,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:03:16] local.INFO: Acknowledgment sent {"connection_id":176900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:03:19] local.INFO: TCP Data received {"connection_id":179430,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:03:19] local.INFO: Processing buffer {"connection_id":179430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:03:19] local.INFO: IMEI packet received {"connection_id":179430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":179430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:03:23] local.INFO: TCP Data received {"connection_id":179430,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:03:23] local.INFO: Processing buffer {"connection_id":179430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:03:23] local.INFO: IMEI packet received {"connection_id":179430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":179430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:03:24] local.INFO: TCP Data received {"connection_id":179430,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf15888012d0e7ec006e81e90000500b130..."} 
[2026-09-10 21:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf15888012d0e7ec006e81e90000500b130..."} 
[2026-09-10 21:03:24] local.INFO: Processing buffer {"connection_id":179430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf15888012d0e7ec006e81e90000500b130..."} 
[2026-09-10 21:03:24] local.INFO: Packet analysis {"connection_id":179430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:24] local.INFO: Extracted packet for processing {"connection_id":179430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:24] local.INFO: GPS Element Parsed {"raw_longitude":755924672,"raw_latitude":115875472,"longitude_deg":75.5924672,"latitude_deg":11.5875472,"altitude":5,"angle":177,"satellites":48,"speed":25,"hex_longitude":"2d0e7ec0","hex_latitude":"06e81e90","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997882368001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404758332155363328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044694405728069632,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054245000,"timestamp_ms":1789054245000,"timestamp_seconds":1789054245,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf15888"} 
[2026-09-10 21:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 21:03:24] 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-09-10 21: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-09-10 21:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997882368001,"66":27376,"176":206,"80":6400,"24":25,"16":404758332155363328,"45":1044694405728069632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-10 21:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997882368001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:03:24] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-10 21:03:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404758332155363328,"km_value":404758332155363.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044694405728069632,"description":"Unknown IO ID 45"} 
[2026-09-10 21:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997882368001,"power":27376,"unknown_176":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":1044694405728069632}} 
[2026-09-10 21:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":179430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:03:24] local.INFO: GPS data processed {"connection_id":179430,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:03:24] local.INFO: Acknowledgment sent {"connection_id":179430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:03:26] local.INFO: TCP Data received {"connection_id":179431,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:03:26] local.INFO: Processing buffer {"connection_id":179431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:03:26] local.INFO: IMEI packet received {"connection_id":179431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":179431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:03:31] local.INFO: TCP Data received {"connection_id":179431,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:03:31] local.INFO: Processing buffer {"connection_id":179431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:03:31] local.INFO: IMEI packet received {"connection_id":179431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":179431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:03:33] local.INFO: TCP Data received {"connection_id":179431,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:03:33] local.INFO: Processing buffer {"connection_id":179431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:03:33] local.INFO: Packet analysis {"connection_id":179431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:33] local.INFO: Extracted packet for processing {"connection_id":179431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 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-09-10 21:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 21:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:03:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:03:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":179431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:03:33] local.INFO: GPS data processed {"connection_id":179431,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:03:33] local.INFO: Acknowledgment sent {"connection_id":179431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:03:46] local.INFO: TCP Data received {"connection_id":176901,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:03:46] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:03:46] local.INFO: IMEI packet received {"connection_id":176901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":176901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:03:48] local.INFO: TCP Data received {"connection_id":176901,"ip":"117.225.137.228","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 21:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 21:03:48] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-10 21:03:48] local.INFO: IMEI packet received {"connection_id":176901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":176901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:03:49] local.INFO: TCP Data received {"connection_id":176901,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf0c418012cb3d48007753468001f00232e..."} 
[2026-09-10 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf0c418012cb3d48007753468001f00232e..."} 
[2026-09-10 21:03:49] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a08b..."} 
[2026-09-10 21:03:49] local.INFO: IMEI packet received {"connection_id":176901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":176901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:03:57] local.INFO: TCP Data received {"connection_id":179430,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1aa90012d0e814006e805c0000400aa2c..."} 
[2026-09-10 21:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1aa90012d0e814006e805c0000400aa2c..."} 
[2026-09-10 21:03:57] local.INFO: Processing buffer {"connection_id":179430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1aa90012d0e814006e805c0000400aa2c..."} 
[2026-09-10 21:03:57] local.INFO: Packet analysis {"connection_id":179430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:57] local.INFO: Extracted packet for processing {"connection_id":179430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:03:57] local.INFO: GPS Element Parsed {"raw_longitude":755925312,"raw_latitude":115869120,"longitude_deg":75.5925312,"latitude_deg":11.586912,"altitude":4,"angle":170,"satellites":44,"speed":0,"hex_longitude":"2d0e8140","hex_latitude":"06e805c0","is_valid_coordinates":true} 
[2026-09-10 21:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997886720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404758645687975936,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044483299493187584,"note":"Value kept but may cause issues"} 
[2026-09-10 21:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789054266000,"timestamp_ms":1789054266000,"timestamp_seconds":1789054266,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1aa90"} 
[2026-09-10 21:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 21:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997886720001,"66":27321,"177":206,"80":6400,"24":0,"16":404758645687975936,"45":1044483299493187584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 21:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997886720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:03:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 21:03:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404758645687975936,"km_value":404758645687975.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044483299493187584,"description":"Unknown IO ID 45"} 
[2026-09-10 21:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997886720001,"power":27321,"unknown_177":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1044483299493187584}} 
[2026-09-10 21:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":179430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:03:57] local.INFO: GPS data processed {"connection_id":179430,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:03:57] local.INFO: Acknowledgment sent {"connection_id":179430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:03] local.INFO: TCP Data received {"connection_id":176901,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf0ef10012cb40c4007756d680025003c2f..."} 
[2026-09-10 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf0ef10012cb40c4007756d680025003c2f..."} 
[2026-09-10 21:04:03] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08bf0c418012cb3d48007753468001f00232e..."} 
[2026-09-10 21:04:03] local.INFO: Packet analysis {"connection_id":176901,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:04:03] local.INFO: Extracted packet for processing {"connection_id":176901,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":749982848,"raw_latitude":125121640,"longitude_deg":74.9982848,"latitude_deg":12.512164,"altitude":31,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb3d480","hex_latitude":"07753468","is_valid_coordinates":true} 
[2026-09-10 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997871616001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5504806087503837184,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789054207000,"timestamp_ms":1789054207000,"timestamp_seconds":1789054207,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf0c418"} 
[2026-09-10 21:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 21:04:03] 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-09-10 21:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997871616001,"66":27463,"5":206,"27":54016,"24":0,"16":3893920429768704,"44":-5504806087503837184},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997871616001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5504806087503837184,"description":"Unknown IO ID 44"} 
[2026-09-10 21:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997871616001,"power":27463,"unknown_5":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5504806087503837184}} 
[2026-09-10 21:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":176901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:03] local.INFO: GPS data processed {"connection_id":176901,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:03] local.INFO: Acknowledgment sent {"connection_id":176901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:03] local.INFO: Packet analysis {"connection_id":176901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:04:03] local.INFO: Extracted packet for processing {"connection_id":176901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf0"} 
[2026-09-10 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":749997120,"raw_latitude":125136232,"longitude_deg":74.999712,"latitude_deg":12.5136232,"altitude":37,"angle":60,"satellites":47,"speed":47,"hex_longitude":"2cb40c40","hex_latitude":"07756d68","is_valid_coordinates":true} 
[2026-09-10 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997876992001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5488621276338296832,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789054218000,"timestamp_ms":1789054218000,"timestamp_seconds":1789054218,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf0ef10"} 
[2026-09-10 21:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 21:04: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-09-10 21:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997876992001,"66":27517,"5":206,"27":54016,"24":47,"16":3893920429768704,"44":-5488621276338296832},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-09-10 21:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997876992001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5488621276338296832,"description":"Unknown IO ID 44"} 
[2026-09-10 21:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997876992001,"power":27517,"unknown_5":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-5488621276338296832}} 
[2026-09-10 21:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":176901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:03] local.INFO: GPS data processed {"connection_id":176901,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:03] local.INFO: Acknowledgment sent {"connection_id":176901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:05] local.INFO: TCP Data received {"connection_id":179431,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:05] local.INFO: Processing buffer {"connection_id":179431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:05] local.INFO: Packet analysis {"connection_id":179431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:05] local.INFO: Extracted packet for processing {"connection_id":179431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 21:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04: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-09-10 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":179431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:05] local.INFO: GPS data processed {"connection_id":179431,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:05] local.INFO: Acknowledgment sent {"connection_id":179431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:11] local.INFO: TCP Data received {"connection_id":176901,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf13178012cb45780077578880028006530..."} 
[2026-09-10 21:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf13178012cb45780077578880028006530..."} 
[2026-09-10 21:04:11] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf13178012cb45780077578880028006530..."} 
[2026-09-10 21:04:11] local.INFO: Packet analysis {"connection_id":176901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:11] local.INFO: Extracted packet for processing {"connection_id":176901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:11] local.INFO: GPS Element Parsed {"raw_longitude":750016384,"raw_latitude":125139080,"longitude_deg":75.0016384,"latitude_deg":12.513908,"altitude":40,"angle":101,"satellites":48,"speed":44,"hex_longitude":"2cb45780","hex_latitude":"07757888","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997879808001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5472929046382942208,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789054235000,"timestamp_ms":1789054235000,"timestamp_seconds":1789054235,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf13178"} 
[2026-09-10 21:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04: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-09-10 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 21:04:11] 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-09-10 21: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-09-10 21:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997879808001,"66":27745,"5":206,"27":54016,"24":44,"16":3893920429768704,"44":-5472929046382942208},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-09-10 21:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997879808001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:11] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 21:04:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5472929046382942208,"description":"Unknown IO ID 44"} 
[2026-09-10 21:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997879808001,"power":27745,"unknown_5":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5472929046382942208}} 
[2026-09-10 21:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":176901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:11] local.INFO: GPS data processed {"connection_id":176901,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:11] local.INFO: Acknowledgment sent {"connection_id":176901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:18] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:18] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:18] local.INFO: IMEI packet received {"connection_id":176682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":176682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:04:19] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:19] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:19] local.INFO: IMEI packet received {"connection_id":176682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":176682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:04:23] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:23] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:04:23] local.INFO: IMEI packet received {"connection_id":176682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":176682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:04:25] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf3c1b8012d0ee24006e74e78000900892f..."} 
[2026-09-10 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf3c1b8012d0ee24006e74e78000900892f..."} 
[2026-09-10 21:04:25] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf3c1b8012d0ee24006e74e78000900892f..."} 
[2026-09-10 21:04:25] local.INFO: Packet analysis {"connection_id":176682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf3"} 
[2026-09-10 21:04:25] local.INFO: Extracted packet for processing {"connection_id":176682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf3"} 
[2026-09-10 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":755950144,"raw_latitude":115822200,"longitude_deg":75.5950144,"latitude_deg":11.58222,"altitude":9,"angle":137,"satellites":47,"speed":43,"hex_longitude":"2d0ee240","hex_latitude":"06e74e78","is_valid_coordinates":true} 
[2026-09-10 21:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997924864001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404761265618026496,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1065805028967247872,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789054403000,"timestamp_ms":1789054403000,"timestamp_seconds":1789054403,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf3c1b8"} 
[2026-09-10 21:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-10 21:04:25] 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-09-10 21:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997924864001,"66":27267,"177":206,"80":6400,"24":43,"16":404761265618026496,"45":1065805028967247872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-10 21:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997924864001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-10 21:04:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404761265618026496,"km_value":404761265618026.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1065805028967247872,"description":"Unknown IO ID 45"} 
[2026-09-10 21:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997924864001,"power":27267,"unknown_177":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":1065805028967247872}} 
[2026-09-10 21:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":176682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:25] local.INFO: GPS data processed {"connection_id":176682,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:25] local.INFO: Acknowledgment sent {"connection_id":176682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:31] local.INFO: TCP Data received {"connection_id":179432,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:04:31] local.INFO: Processing buffer {"connection_id":179432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:04:31] local.INFO: IMEI packet received {"connection_id":179432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":179432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:04:36] local.INFO: TCP Data received {"connection_id":179432,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:04:36] local.INFO: Processing buffer {"connection_id":179432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:04:36] local.INFO: IMEI packet received {"connection_id":179432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":179432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:04:38] local.INFO: TCP Data received {"connection_id":179432,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:38] local.INFO: Processing buffer {"connection_id":179432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:38] local.INFO: Packet analysis {"connection_id":179432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:38] local.INFO: Extracted packet for processing {"connection_id":179432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04: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-09-10 21:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 21:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:04: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-09-10 21:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":179432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:38] local.INFO: GPS data processed {"connection_id":179432,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:38] local.INFO: Acknowledgment sent {"connection_id":179432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:38] local.INFO: TCP Data received {"connection_id":179433,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:04:38] local.INFO: Processing buffer {"connection_id":179433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:04:38] local.INFO: IMEI packet received {"connection_id":179433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":179433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:04:42] local.INFO: TCP Data received {"connection_id":179432,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:42] local.INFO: Processing buffer {"connection_id":179432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:04:42] local.INFO: Packet analysis {"connection_id":179432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:42] local.INFO: Extracted packet for processing {"connection_id":179432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04: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-09-10 21:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 21:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:04: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-09-10 21: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-09-10 21:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":179432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:42] local.INFO: GPS data processed {"connection_id":179432,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:42] local.INFO: Acknowledgment sent {"connection_id":179432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:43] local.INFO: TCP Data received {"connection_id":179433,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:04:43] local.INFO: Processing buffer {"connection_id":179433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:04:43] local.INFO: IMEI packet received {"connection_id":179433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":179433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:04:44] local.INFO: TCP Data received {"connection_id":179433,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf177c8012cb49cc007755378002c00762f..."} 
[2026-09-10 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf177c8012cb49cc007755378002c00762f..."} 
[2026-09-10 21:04:44] local.INFO: Processing buffer {"connection_id":179433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf177c8012cb49cc007755378002c00762f..."} 
[2026-09-10 21:04:44] local.INFO: Packet analysis {"connection_id":179433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:44] local.INFO: Extracted packet for processing {"connection_id":179433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:44] local.INFO: GPS Element Parsed {"raw_longitude":750034112,"raw_latitude":125129592,"longitude_deg":75.0034112,"latitude_deg":12.5129592,"altitude":44,"angle":118,"satellites":47,"speed":44,"hex_longitude":"2cb49cc0","hex_latitude":"07755378","is_valid_coordinates":true} 
[2026-09-10 21:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997884160001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5451748054384736256,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054253000,"timestamp_ms":1789054253000,"timestamp_seconds":1789054253,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf177c8"} 
[2026-09-10 21:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 21:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997884160001,"66":27115,"41":206,"27":54016,"24":44,"16":3893920429768704,"44":-5451748054384736256},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-09-10 21:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997884160001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:44] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-10 21:04:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5451748054384736256,"description":"Unknown IO ID 44"} 
[2026-09-10 21:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997884160001,"power":27115,"unknown_41":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5451748054384736256}} 
[2026-09-10 21:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":179433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:44] local.INFO: GPS data processed {"connection_id":179433,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:44] local.INFO: Acknowledgment sent {"connection_id":179433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:48] local.INFO: TCP Data received {"connection_id":179433,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1be18012cb4e640077557d80030003630..."} 
[2026-09-10 21:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1be18012cb4e640077557d80030003630..."} 
[2026-09-10 21:04:48] local.INFO: Processing buffer {"connection_id":179433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1be18012cb4e640077557d80030003630..."} 
[2026-09-10 21:04:48] local.INFO: Packet analysis {"connection_id":179433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:48] local.INFO: Extracted packet for processing {"connection_id":179433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:04:48] local.INFO: GPS Element Parsed {"raw_longitude":750052928,"raw_latitude":125130712,"longitude_deg":75.0052928,"latitude_deg":12.5130712,"altitude":48,"angle":54,"satellites":48,"speed":41,"hex_longitude":"2cb4e640","hex_latitude":"077557d8","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997888768001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5432255912249952256,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789054271000,"timestamp_ms":1789054271000,"timestamp_seconds":1789054271,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1be18"} 
[2026-09-10 21:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 21:04:48] 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-09-10 21: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-09-10 21:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":179433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":179433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":179433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997888768001,"66":27680,"41":206,"27":54016,"24":41,"16":3893920429768704,"44":-5432255912249952256},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-09-10 21:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997888768001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:48] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-10 21:04:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5432255912249952256,"description":"Unknown IO ID 44"} 
[2026-09-10 21:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997888768001,"power":27680,"unknown_41":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5432255912249952256}} 
[2026-09-10 21:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":179433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:48] local.INFO: GPS data processed {"connection_id":179433,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:48] local.INFO: Acknowledgment sent {"connection_id":179433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:04:57] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf3e4e0012d0efc8006e73450000b00832c..."} 
[2026-09-10 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf3e4e0012d0efc8006e73450000b00832c..."} 
[2026-09-10 21:04:57] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf3e4e0012d0efc8006e73450000b00832c..."} 
[2026-09-10 21:04:57] local.INFO: Packet analysis {"connection_id":176682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf3"} 
[2026-09-10 21:04:57] local.INFO: Extracted packet for processing {"connection_id":176682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf3"} 
[2026-09-10 21:04:57] local.INFO: GPS Element Parsed {"raw_longitude":755956864,"raw_latitude":115815504,"longitude_deg":75.5956864,"latitude_deg":11.5815504,"altitude":11,"angle":131,"satellites":44,"speed":38,"hex_longitude":"2d0efc80","hex_latitude":"06e73450","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997927168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404761720884559872,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1072490059662260224,"note":"Value kept but may cause issues"} 
[2026-09-10 21:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789054412000,"timestamp_ms":1789054412000,"timestamp_seconds":1789054412,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf3e4e0"} 
[2026-09-10 21:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997927168001,"66":27245,"246":206,"80":6400,"24":38,"16":404761720884559872,"45":1072490059662260224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-10 21:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997927168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:04:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404761720884559872,"km_value":404761720884559.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1072490059662260224,"description":"Unknown IO ID 45"} 
[2026-09-10 21:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997927168001,"power":27245,"main_input_voltage":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":1072490059662260224}} 
[2026-09-10 21:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":176682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:04:57] local.INFO: GPS data processed {"connection_id":176682,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:04:57] local.INFO: Acknowledgment sent {"connection_id":176682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:05:18] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:05:18] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:05:18] local.INFO: IMEI packet received {"connection_id":176683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":176683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:05:20] local.INFO: TCP Data received {"connection_id":179433,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf21020012cb51f00077581400033003830..."} 
[2026-09-10 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf21020012cb51f00077581400033003830..."} 
[2026-09-10 21:05:20] local.INFO: Processing buffer {"connection_id":179433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf21020012cb51f00077581400033003830..."} 
[2026-09-10 21:05:20] local.INFO: Packet analysis {"connection_id":179433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf2"} 
[2026-09-10 21:05:20] local.INFO: Extracted packet for processing {"connection_id":179433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf2"} 
[2026-09-10 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":750067456,"raw_latitude":125141312,"longitude_deg":75.0067456,"latitude_deg":12.5141312,"altitude":51,"angle":56,"satellites":48,"speed":0,"hex_longitude":"2cb51f00","hex_latitude":"07758140","is_valid_coordinates":true} 
[2026-09-10 21:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997893376001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5411567501461432320,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789054292000,"timestamp_ms":1789054292000,"timestamp_seconds":1789054292,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf21020"} 
[2026-09-10 21:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-10 21:05:20] 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-09-10 21:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":179433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":179433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":179433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997893376001,"66":27691,"41":206,"27":54016,"24":0,"16":3893920429768704,"44":-5411567501461432320},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-09-10 21:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997893376001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:05:20] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-10 21:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5411567501461432320,"description":"Unknown IO ID 44"} 
[2026-09-10 21:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997893376001,"power":27691,"unknown_41":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5411567501461432320}} 
[2026-09-10 21:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":179433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:05:20] local.INFO: GPS data processed {"connection_id":179433,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:05:20] local.INFO: Acknowledgment sent {"connection_id":179433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:05:23] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:05:23] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:05:23] local.INFO: IMEI packet received {"connection_id":176683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":176683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:05:24] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf40808012d0f16c006e71be0000a00882d..."} 
[2026-09-10 21:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf40808012d0f16c006e71be0000a00882d..."} 
[2026-09-10 21:05:24] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf40808012d0f16c006e71be0000a00882d..."} 
[2026-09-10 21:05:24] local.INFO: Packet analysis {"connection_id":176683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf4"} 
[2026-09-10 21:05:24] local.INFO: Extracted packet for processing {"connection_id":176683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf4"} 
[2026-09-10 21:05:24] local.INFO: GPS Element Parsed {"raw_longitude":755963584,"raw_latitude":115809248,"longitude_deg":75.5963584,"latitude_deg":11.5809248,"altitude":10,"angle":136,"satellites":45,"speed":41,"hex_longitude":"2d0f16c0","hex_latitude":"06e71be0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997929472001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404762163266191360,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1079878777799200768,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054421000,"timestamp_ms":1789054421000,"timestamp_seconds":1789054421,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf40808"} 
[2026-09-10 21:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 21:05:24] 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-09-10 21: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-09-10 21:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997929472001,"66":27234,"246":206,"80":6400,"24":41,"16":404762163266191360,"45":1079878777799200768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-10 21:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997929472001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:05:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404762163266191360,"km_value":404762163266191.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1079878777799200768,"description":"Unknown IO ID 45"} 
[2026-09-10 21:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997929472001,"power":27234,"main_input_voltage":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":1079878777799200768}} 
[2026-09-10 21:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":176683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:05:24] local.INFO: GPS data processed {"connection_id":176683,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:05:24] local.INFO: Acknowledgment sent {"connection_id":176683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:05:26] local.INFO: TCP Data received {"connection_id":179434,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:05:26] local.INFO: Processing buffer {"connection_id":179434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:05:26] local.INFO: IMEI packet received {"connection_id":179434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":179434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:05:31] local.INFO: TCP Data received {"connection_id":179434,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:05:31] local.INFO: Processing buffer {"connection_id":179434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:05:31] local.INFO: IMEI packet received {"connection_id":179434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":179434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:05:33] local.INFO: TCP Data received {"connection_id":179434,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:05:33] local.INFO: Processing buffer {"connection_id":179434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:05:33] local.INFO: Packet analysis {"connection_id":179434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:05:33] local.INFO: Extracted packet for processing {"connection_id":179434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 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-09-10 21:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 21:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:05:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":179434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:05:33] local.INFO: GPS data processed {"connection_id":179434,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:05:33] local.INFO: Acknowledgment sent {"connection_id":179434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:05:37] local.INFO: TCP Data received {"connection_id":178039,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:05:38] local.INFO: Processing buffer {"connection_id":178039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:05:38] local.INFO: IMEI packet received {"connection_id":178039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":178039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:05:43] local.INFO: TCP Data received {"connection_id":178039,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:05:43] local.INFO: Processing buffer {"connection_id":178039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:05:43] local.INFO: IMEI packet received {"connection_id":178039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":178039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:05:44] local.INFO: TCP Data received {"connection_id":178039,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf26228012cb559c00775acb00038003430..."} 
[2026-09-10 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf26228012cb559c00775acb00038003430..."} 
[2026-09-10 21:05:44] local.INFO: Processing buffer {"connection_id":178039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf26228012cb559c00775acb00038003430..."} 
[2026-09-10 21:05:44] local.INFO: Packet analysis {"connection_id":178039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf2"} 
[2026-09-10 21:05:44] local.INFO: Extracted packet for processing {"connection_id":178039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf2"} 
[2026-09-10 21:05:44] local.INFO: GPS Element Parsed {"raw_longitude":750082496,"raw_latitude":125152432,"longitude_deg":75.0082496,"latitude_deg":12.5152432,"altitude":56,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2cb559c0","hex_latitude":"0775acb0","is_valid_coordinates":true} 
[2026-09-10 21:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997898752001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5395593796530388992,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054313000,"timestamp_ms":1789054313000,"timestamp_seconds":1789054313,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf26228"} 
[2026-09-10 21:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 21:05:44] 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-09-10 21:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997898752001,"66":27517,"40":206,"27":54016,"24":0,"16":3893920429768704,"44":-5395593796530388992},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16,44]} 
[2026-09-10 21:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997898752001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:05:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-10 21:05:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:05:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5395593796530388992,"description":"Unknown IO ID 44"} 
[2026-09-10 21:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997898752001,"power":27517,"unknown_40":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5395593796530388992}} 
[2026-09-10 21:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":178039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:05:45] local.INFO: GPS data processed {"connection_id":178039,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:05:45] local.INFO: Acknowledgment sent {"connection_id":178039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:05:56] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf55410012d106bc006e63dc0000700842d..."} 
[2026-09-10 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf55410012d106bc006e63dc0000700842d..."} 
[2026-09-10 21:05:56] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf55410012d106bc006e63dc0000700842d..."} 
[2026-09-10 21:05:56] local.INFO: Packet analysis {"connection_id":176683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:05:56] local.INFO: Extracted packet for processing {"connection_id":176683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756050880,"raw_latitude":115752384,"longitude_deg":75.605088,"latitude_deg":11.5752384,"altitude":7,"angle":132,"satellites":45,"speed":51,"hex_longitude":"2d106bc0","hex_latitude":"06e63dc0","is_valid_coordinates":true} 
[2026-09-10 21:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997951744001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404767179787993088,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1175369163633598464,"note":"Value kept but may cause issues"} 
[2026-09-10 21:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789054506000,"timestamp_ms":1789054506000,"timestamp_seconds":1789054506,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf55410"} 
[2026-09-10 21:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:05: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-09-10 21:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:05:56] 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-09-10 21:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997951744001,"66":27267,"246":206,"80":6400,"24":51,"16":404767179787993088,"45":1175369163633598464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-10 21:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997951744001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:05:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404767179787993088,"km_value":404767179787993.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1175369163633598464,"description":"Unknown IO ID 45"} 
[2026-09-10 21:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997951744001,"power":27267,"main_input_voltage":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":1175369163633598464}} 
[2026-09-10 21:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":176683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:05:56] local.INFO: GPS data processed {"connection_id":176683,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:05:56] local.INFO: Acknowledgment sent {"connection_id":176683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:06:05] local.INFO: TCP Data received {"connection_id":179434,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:06:05] local.INFO: Processing buffer {"connection_id":179434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:06:05] local.INFO: Packet analysis {"connection_id":179434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:06:05] local.INFO: Extracted packet for processing {"connection_id":179434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 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-09-10 21:06: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:06:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":179434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:06:05] local.INFO: GPS data processed {"connection_id":179434,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:06:05] local.INFO: Acknowledgment sent {"connection_id":179434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:06:16] local.INFO: TCP Data received {"connection_id":178039,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf52148012cb8a68007753530003f006630..."} 
[2026-09-10 21:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf52148012cb8a68007753530003f006630..."} 
[2026-09-10 21:06:16] local.INFO: Processing buffer {"connection_id":178039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf52148012cb8a68007753530003f006630..."} 
[2026-09-10 21:06:16] local.INFO: Packet analysis {"connection_id":178039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:16] local.INFO: Extracted packet for processing {"connection_id":178039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:16] local.INFO: GPS Element Parsed {"raw_longitude":750298752,"raw_latitude":125121840,"longitude_deg":75.0298752,"latitude_deg":12.512184,"altitude":63,"angle":102,"satellites":48,"speed":49,"hex_longitude":"2cb8a680","hex_latitude":"07753530","is_valid_coordinates":true} 
[2026-09-10 21:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997947136001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5164784315631153152,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789054493000,"timestamp_ms":1789054493000,"timestamp_seconds":1789054493,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf52148"} 
[2026-09-10 21:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:06: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-09-10 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-10 21:06: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-09-10 21:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997947136001,"66":27571,"3":206,"27":54016,"24":49,"16":3893920429768704,"44":-5164784315631153152},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-09-10 21:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997947136001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:06:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 21:06:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5164784315631153152,"description":"Unknown IO ID 44"} 
[2026-09-10 21:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997947136001,"power":27571,"unknown_3":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5164784315631153152}} 
[2026-09-10 21:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":178039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:06:16] local.INFO: GPS data processed {"connection_id":178039,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:06:16] local.INFO: Acknowledgment sent {"connection_id":178039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:06:18] local.INFO: TCP Data received {"connection_id":179435,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:06:18] local.INFO: Processing buffer {"connection_id":179435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:06:18] local.INFO: IMEI packet received {"connection_id":179435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":179435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:06:23] local.INFO: TCP Data received {"connection_id":179435,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:06:23] local.INFO: Processing buffer {"connection_id":179435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:06:23] local.INFO: IMEI packet received {"connection_id":179435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":179435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:06:25] local.INFO: TCP Data received {"connection_id":179435,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf56f68012d10834006e62340000900902e..."} 
[2026-09-10 21:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf56f68012d10834006e62340000900902e..."} 
[2026-09-10 21:06:25] local.INFO: Processing buffer {"connection_id":179435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf56f68012d10834006e62340000900902e..."} 
[2026-09-10 21:06:25] local.INFO: Packet analysis {"connection_id":179435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:25] local.INFO: Extracted packet for processing {"connection_id":179435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":756056896,"raw_latitude":115745600,"longitude_deg":75.6056896,"latitude_deg":11.57456,"altitude":9,"angle":144,"satellites":46,"speed":51,"hex_longitude":"2d108340","hex_latitude":"06e62340","is_valid_coordinates":true} 
[2026-09-10 21:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997953536001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404767617874657280,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1183250462980030464,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789054513000,"timestamp_ms":1789054513000,"timestamp_seconds":1789054513,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf56f68"} 
[2026-09-10 21:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997953536001,"66":27126,"246":206,"80":6400,"24":51,"16":404767617874657280,"45":1183250462980030464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-10 21:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997953536001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:06:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404767617874657280,"km_value":404767617874657.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1183250462980030464,"description":"Unknown IO ID 45"} 
[2026-09-10 21:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997953536001,"power":27126,"main_input_voltage":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":1183250462980030464}} 
[2026-09-10 21:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":179435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:06:25] local.INFO: GPS data processed {"connection_id":179435,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:06:25] local.INFO: Acknowledgment sent {"connection_id":179435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:06:26] local.INFO: TCP Data received {"connection_id":179436,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:06:26] local.INFO: Processing buffer {"connection_id":179436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:06:26] local.INFO: IMEI packet received {"connection_id":179436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":179436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:06:31] local.INFO: TCP Data received {"connection_id":179436,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:06:31] local.INFO: Processing buffer {"connection_id":179436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:06:31] local.INFO: IMEI packet received {"connection_id":179436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":179436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:06:32] local.INFO: TCP Data received {"connection_id":179436,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:06:32] local.INFO: Processing buffer {"connection_id":179436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf1b260012d1965c0071feee00041005e27..."} 
[2026-09-10 21:06:32] local.INFO: Packet analysis {"connection_id":179436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:06:32] local.INFO: Extracted packet for processing {"connection_id":179436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf1"} 
[2026-09-10 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997815552001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789054268000,"timestamp_ms":1789054268000,"timestamp_seconds":1789054268,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf1b260"} 
[2026-09-10 21:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:06: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-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997815552001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997815552001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:06:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997815552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":179436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:06:32] local.INFO: GPS data processed {"connection_id":179436,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:06:32] local.INFO: Acknowledgment sent {"connection_id":179436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:06:38] local.INFO: TCP Data received {"connection_id":176902,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:06:38] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:06:38] local.INFO: IMEI packet received {"connection_id":176902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":176902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:06:43] local.INFO: TCP Data received {"connection_id":176902,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:06:43] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:06:43] local.INFO: IMEI packet received {"connection_id":176902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":176902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:06:44] local.INFO: TCP Data received {"connection_id":176902,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf57350012cb8f2c0077522200045006a2d..."} 
[2026-09-10 21:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf57350012cb8f2c0077522200045006a2d..."} 
[2026-09-10 21:06:44] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf57350012cb8f2c0077522200045006a2d..."} 
[2026-09-10 21:06:44] local.INFO: Packet analysis {"connection_id":176902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:44] local.INFO: Extracted packet for processing {"connection_id":176902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:44] local.INFO: GPS Element Parsed {"raw_longitude":750318272,"raw_latitude":125116960,"longitude_deg":75.0318272,"latitude_deg":12.511696,"altitude":69,"angle":106,"satellites":45,"speed":0,"hex_longitude":"2cb8f2c0","hex_latitude":"07752220","is_valid_coordinates":true} 
[2026-09-10 21:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997950208001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5141281155077296128,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054514000,"timestamp_ms":1789054514000,"timestamp_seconds":1789054514,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf57350"} 
[2026-09-10 21:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 21:06:44] 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-09-10 21:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997950208001,"66":27180,"3":206,"27":54016,"24":0,"16":3893920429768704,"44":-5141281155077296128},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-09-10 21:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997950208001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:06:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-10 21:06:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:06:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5141281155077296128,"description":"Unknown IO ID 44"} 
[2026-09-10 21:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997950208001,"power":27180,"unknown_3":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5141281155077296128}} 
[2026-09-10 21:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":176902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:06:44] local.INFO: GPS data processed {"connection_id":176902,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:06:44] local.INFO: Acknowledgment sent {"connection_id":176902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:06:56] local.INFO: TCP Data received {"connection_id":179435,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf56f68012d10834006e62340000900902e..."} 
[2026-09-10 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf56f68012d10834006e62340000900902e..."} 
[2026-09-10 21:06:56] local.INFO: Processing buffer {"connection_id":179435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf56f68012d10834006e62340000900902e..."} 
[2026-09-10 21:06:56] local.INFO: Packet analysis {"connection_id":179435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:56] local.INFO: Extracted packet for processing {"connection_id":179435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756056896,"raw_latitude":115745600,"longitude_deg":75.6056896,"latitude_deg":11.57456,"altitude":9,"angle":144,"satellites":46,"speed":51,"hex_longitude":"2d108340","hex_latitude":"06e62340","is_valid_coordinates":true} 
[2026-09-10 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997955328001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404767617874657280,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189865124930994176,"note":"Value kept but may cause issues"} 
[2026-09-10 21:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789054513000,"timestamp_ms":1789054513000,"timestamp_seconds":1789054513,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf56f68"} 
[2026-09-10 21:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:06: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-09-10 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 21:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997955328001,"66":27126,"246":206,"80":6400,"24":51,"16":404767617874657280,"45":1189865124930994176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-10 21:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997955328001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:06:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404767617874657280,"km_value":404767617874657.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189865124930994176,"description":"Unknown IO ID 45"} 
[2026-09-10 21:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997955328001,"power":27126,"main_input_voltage":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":1189865124930994176}} 
[2026-09-10 21:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":179435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:06:56] local.INFO: GPS data processed {"connection_id":179435,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:06:56] local.INFO: Acknowledgment sent {"connection_id":179435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:07:05] local.INFO: TCP Data received {"connection_id":179436,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:05] local.INFO: Processing buffer {"connection_id":179436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:05] local.INFO: Packet analysis {"connection_id":179436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:05] local.INFO: Extracted packet for processing {"connection_id":179436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 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-09-10 21:07: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":179436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:07:05] local.INFO: GPS data processed {"connection_id":179436,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:07:05] local.INFO: Acknowledgment sent {"connection_id":179436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:07:15] local.INFO: TCP Data received {"connection_id":176902,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5c558012cb934c007750c98004b006e30..."} 
[2026-09-10 21:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5c558012cb934c007750c98004b006e30..."} 
[2026-09-10 21:07:15] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5c558012cb934c007750c98004b006e30..."} 
[2026-09-10 21:07:15] local.INFO: Packet analysis {"connection_id":176902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:07:15] local.INFO: Extracted packet for processing {"connection_id":176902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:07:15] local.INFO: GPS Element Parsed {"raw_longitude":750335168,"raw_latitude":125111448,"longitude_deg":75.0335168,"latitude_deg":12.5111448,"altitude":75,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2cb934c0","hex_latitude":"07750c98","is_valid_coordinates":true} 
[2026-09-10 21:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997955584001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5119818688104357888,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 21:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789054535000,"timestamp_ms":1789054535000,"timestamp_seconds":1789054535,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5c558"} 
[2026-09-10 21:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:07: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-09-10 21:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 21:07:15] 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-09-10 21:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997955584001,"66":27289,"27":54016,"24":0,"16":3893920429768704,"44":-5119818688104357888},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-10 21:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997955584001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:07:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5119818688104357888,"description":"Unknown IO ID 44"} 
[2026-09-10 21:07:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457997955584001,"power":27289,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5119818688104357888}} 
[2026-09-10 21:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":176902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:07:16] local.INFO: GPS data processed {"connection_id":176902,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:07:16] local.INFO: Acknowledgment sent {"connection_id":176902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:07:23] local.INFO: TCP Data received {"connection_id":178040,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:07:23] local.INFO: Processing buffer {"connection_id":178040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:07:23] local.INFO: IMEI packet received {"connection_id":178040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":178040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:07:28] local.INFO: TCP Data received {"connection_id":178040,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:07:28] local.INFO: Processing buffer {"connection_id":178040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:07:28] local.INFO: IMEI packet received {"connection_id":178040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":178040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:07:29] local.INFO: TCP Data received {"connection_id":178040,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf58ac0012d1094c006e603c80009009a2e..."} 
[2026-09-10 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf58ac0012d1094c006e603c80009009a2e..."} 
[2026-09-10 21:07:29] local.INFO: Processing buffer {"connection_id":178040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf58ac0012d1094c006e603c80009009a2e..."} 
[2026-09-10 21:07:29] local.INFO: Packet analysis {"connection_id":178040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:07:29] local.INFO: Extracted packet for processing {"connection_id":178040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756061376,"raw_latitude":115737544,"longitude_deg":75.6061376,"latitude_deg":11.5737544,"altitude":9,"angle":154,"satellites":46,"speed":53,"hex_longitude":"2d1094c0","hex_latitude":"06e603c8","is_valid_coordinates":true} 
[2026-09-10 21:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997955328001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768064551256064,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189865124930994176,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789054520000,"timestamp_ms":1789054520000,"timestamp_seconds":1789054520,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf58ac0"} 
[2026-09-10 21:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 21:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:07:29] 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-09-10 21:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997955328001,"66":26310,"165":206,"80":6400,"24":53,"16":404768064551256064,"45":1189865124930994176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-10 21:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997955328001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:07:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 21:07:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768064551256064,"km_value":404768064551256.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189865124930994176,"description":"Unknown IO ID 45"} 
[2026-09-10 21:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997955328001,"power":26310,"unknown_165":206,"unknown_80":6400,"ignition":53,"odometer":null,"unknown_45":1189865124930994176}} 
[2026-09-10 21:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":178040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:07:29] local.INFO: GPS data processed {"connection_id":178040,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:07:29] local.INFO: Acknowledgment sent {"connection_id":178040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:07:31] local.INFO: TCP Data received {"connection_id":176684,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:07:31] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:07:31] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:07:34] local.INFO: TCP Data received {"connection_id":178040,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5a618012d10a38006e5e300000b009c2f..."} 
[2026-09-10 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5a618012d10a38006e5e300000b009c2f..."} 
[2026-09-10 21:07:34] local.INFO: Processing buffer {"connection_id":178040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5a618012d10a38006e5e300000b009c2f..."} 
[2026-09-10 21:07:34] local.INFO: Packet analysis {"connection_id":178040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:07:34] local.INFO: Extracted packet for processing {"connection_id":178040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756065152,"raw_latitude":115729152,"longitude_deg":75.6065152,"latitude_deg":11.5729152,"altitude":11,"angle":156,"satellites":47,"speed":49,"hex_longitude":"2d10a380","hex_latitude":"06e5e300","is_valid_coordinates":true} 
[2026-09-10 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997957120001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768506932887552,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1194790937021368320,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789054527000,"timestamp_ms":1789054527000,"timestamp_seconds":1789054527,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5a618"} 
[2026-09-10 21:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-10 21:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:07: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-09-10 21:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997957120001,"66":27767,"165":206,"80":6400,"24":49,"16":404768506932887552,"45":1194790937021368320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-10 21:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997957120001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:07:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 21:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768506932887552,"km_value":404768506932887.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1194790937021368320,"description":"Unknown IO ID 45"} 
[2026-09-10 21:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997957120001,"power":27767,"unknown_165":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":1194790937021368320}} 
[2026-09-10 21:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":178040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:07:34] local.INFO: GPS data processed {"connection_id":178040,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:07:34] local.INFO: Acknowledgment sent {"connection_id":178040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:07:36] local.INFO: TCP Data received {"connection_id":176684,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:07:36] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:07:36] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:07:37] local.INFO: TCP Data received {"connection_id":176684,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:37] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:37] local.INFO: Packet analysis {"connection_id":176684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:37] local.INFO: Extracted packet for processing {"connection_id":176684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07: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-09-10 21:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:07: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-09-10 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:07: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-09-10 21:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:07:37] local.INFO: TCP Data received {"connection_id":179437,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:07:37] local.INFO: Processing buffer {"connection_id":179437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:07:37] local.INFO: IMEI packet received {"connection_id":179437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":179437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":176684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:07:38] local.INFO: GPS data processed {"connection_id":176684,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:07:38] local.INFO: Acknowledgment sent {"connection_id":176684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:07:42] local.INFO: TCP Data received {"connection_id":176684,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:42] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:07:42] local.INFO: Packet analysis {"connection_id":176684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:42] local.INFO: Extracted packet for processing {"connection_id":176684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:07: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-09-10 21: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-09-10 21:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:07:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":176684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:07:42] local.INFO: GPS data processed {"connection_id":176684,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:07:42] local.INFO: Acknowledgment sent {"connection_id":176684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:07:43] local.INFO: TCP Data received {"connection_id":179437,"ip":"117.225.137.228","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:07:43] local.INFO: Processing buffer {"connection_id":179437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:07:43] local.INFO: IMEI packet received {"connection_id":179437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 21:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":179437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:07:44] local.INFO: TCP Data received {"connection_id":179437,"ip":"117.225.137.228","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf61760012cb973400774f918005000642e..."} 
[2026-09-10 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf61760012cb973400774f918005000642e..."} 
[2026-09-10 21:07:44] local.INFO: Processing buffer {"connection_id":179437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf61760012cb973400774f918005000642e..."} 
[2026-09-10 21:07:44] local.INFO: Packet analysis {"connection_id":179437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:44] local.INFO: Extracted packet for processing {"connection_id":179437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:07:44] local.INFO: GPS Element Parsed {"raw_longitude":750351168,"raw_latitude":125106456,"longitude_deg":75.0351168,"latitude_deg":12.5106456,"altitude":80,"angle":100,"satellites":46,"speed":0,"hex_longitude":"2cb97340","hex_latitude":"0774f918","is_valid_coordinates":true} 
[2026-09-10 21:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960960001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5101241339642865664,"note":"Value kept but may cause issues"} 
[2026-09-10 21:07:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 21:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789054556000,"timestamp_ms":1789054556000,"timestamp_seconds":1789054556,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf61760"} 
[2026-09-10 21:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 21:07:44] 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-09-10 21:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 21:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.228","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 21:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 21:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960960001,"66":27517,"27":54016,"24":0,"16":3893920429768704,"44":-5101241339642865664},"client_ip":"117.225.137.228","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-10 21:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 21:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 21:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960960001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:07:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-10 21:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5101241339642865664,"description":"Unknown IO ID 44"} 
[2026-09-10 21:07:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457997960960001,"power":27517,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5101241339642865664}} 
[2026-09-10 21:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":179437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:07:44] local.INFO: GPS data processed {"connection_id":179437,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:07:44] local.INFO: Acknowledgment sent {"connection_id":179437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:08:18] local.INFO: TCP Data received {"connection_id":178041,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:08:18] local.INFO: Processing buffer {"connection_id":178041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:08:18] local.INFO: IMEI packet received {"connection_id":178041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":178041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:08:23] local.INFO: TCP Data received {"connection_id":178041,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:08:23] local.INFO: Processing buffer {"connection_id":178041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:08:23] local.INFO: IMEI packet received {"connection_id":178041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":178041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:08:24] local.INFO: TCP Data received {"connection_id":178041,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:08:24] local.INFO: Processing buffer {"connection_id":178041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:08:24] local.INFO: Packet analysis {"connection_id":178041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:08:24] local.INFO: Extracted packet for processing {"connection_id":178041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756068736,"raw_latitude":115721216,"longitude_deg":75.6068736,"latitude_deg":11.5721216,"altitude":13,"angle":153,"satellites":45,"speed":48,"hex_longitude":"2d10b180","hex_latitude":"06e5c400","is_valid_coordinates":true} 
[2026-09-10 21:08: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-09-10 21:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997958912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1198942692925702144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054534000,"timestamp_ms":1789054534000,"timestamp_seconds":1789054534,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5c170"} 
[2026-09-10 21:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 21:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997958912001,"66":27800,"245":206,"80":6400,"24":48,"16":404768927839682560,"45":1198942692925702144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997958912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:08:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1198942692925702144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997958912001,"power":27800,"geofence_id":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1198942692925702144}} 
[2026-09-10 21:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":178041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:08:24] local.INFO: GPS data processed {"connection_id":178041,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:08:24] local.INFO: Acknowledgment sent {"connection_id":178041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:08:26] local.INFO: TCP Data received {"connection_id":178042,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:08:26] local.INFO: Processing buffer {"connection_id":178042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:08:26] local.INFO: IMEI packet received {"connection_id":178042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":178042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:08:31] local.INFO: TCP Data received {"connection_id":178042,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:08:31] local.INFO: Processing buffer {"connection_id":178042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:08:31] local.INFO: IMEI packet received {"connection_id":178042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":178042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:08:32] local.INFO: TCP Data received {"connection_id":178042,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:08:32] local.INFO: Processing buffer {"connection_id":178042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:08:32] local.INFO: Packet analysis {"connection_id":178042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:08:32] local.INFO: Extracted packet for processing {"connection_id":178042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:08:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":178042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:08:32] local.INFO: GPS data processed {"connection_id":178042,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:08:32] local.INFO: Acknowledgment sent {"connection_id":178042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:08:38] local.INFO: TCP Data received {"connection_id":178042,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:08:38] local.INFO: Processing buffer {"connection_id":178042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:08:38] local.INFO: Packet analysis {"connection_id":178042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:08:38] local.INFO: Extracted packet for processing {"connection_id":178042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21: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-09-10 21:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":178042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:08:38] local.INFO: GPS data processed {"connection_id":178042,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:08:38] local.INFO: Acknowledgment sent {"connection_id":178042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:08:56] local.INFO: TCP Data received {"connection_id":178041,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:08:56] local.INFO: Processing buffer {"connection_id":178041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:08:56] local.INFO: Packet analysis {"connection_id":178041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:08:56] local.INFO: Extracted packet for processing {"connection_id":178041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756068736,"raw_latitude":115721216,"longitude_deg":75.6068736,"latitude_deg":11.5721216,"altitude":13,"angle":153,"satellites":45,"speed":48,"hex_longitude":"2d10b180","hex_latitude":"06e5c400","is_valid_coordinates":true} 
[2026-09-10 21:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997958912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1198942692925702144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789054534000,"timestamp_ms":1789054534000,"timestamp_seconds":1789054534,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5c170"} 
[2026-09-10 21:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:08: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-09-10 21:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 21:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997958912001,"66":27800,"245":206,"80":6400,"24":48,"16":404768927839682560,"45":1198942692925702144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997958912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:08:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1198942692925702144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997958912001,"power":27800,"geofence_id":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1198942692925702144}} 
[2026-09-10 21:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":178041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:08:56] local.INFO: GPS data processed {"connection_id":178041,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:08:56] local.INFO: Acknowledgment sent {"connection_id":178041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:09:18] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:09:18] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:09:18] local.INFO: IMEI packet received {"connection_id":176903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":176903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:09:23] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:09:23] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:09:23] local.INFO: IMEI packet received {"connection_id":176903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":176903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:09:24] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:09:24] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:09:24] local.INFO: Packet analysis {"connection_id":176903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:09:24] local.INFO: Extracted packet for processing {"connection_id":176903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756068736,"raw_latitude":115721216,"longitude_deg":75.6068736,"latitude_deg":11.5721216,"altitude":13,"angle":153,"satellites":45,"speed":48,"hex_longitude":"2d10b180","hex_latitude":"06e5c400","is_valid_coordinates":true} 
[2026-09-10 21:09: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-09-10 21:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997958912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1198942692925702144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054534000,"timestamp_ms":1789054534000,"timestamp_seconds":1789054534,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5c170"} 
[2026-09-10 21:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 21:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997958912001,"66":27800,"245":206,"80":6400,"24":48,"16":404768927839682560,"45":1198942692925702144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997958912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:09:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1198942692925702144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997958912001,"power":27800,"geofence_id":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1198942692925702144}} 
[2026-09-10 21:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":176903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:09:24] local.INFO: GPS data processed {"connection_id":176903,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:09:24] local.INFO: Acknowledgment sent {"connection_id":176903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:09:26] local.INFO: TCP Data received {"connection_id":176904,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:09:26] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:09:26] local.INFO: IMEI packet received {"connection_id":176904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":176904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:09:31] local.INFO: TCP Data received {"connection_id":176904,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:09:31] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:09:31] local.INFO: IMEI packet received {"connection_id":176904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":176904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:09:33] local.INFO: TCP Data received {"connection_id":176904,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:09:33] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:09:33] local.INFO: Packet analysis {"connection_id":176904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:09:33] local.INFO: Extracted packet for processing {"connection_id":176904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:09:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":176904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:09:33] local.INFO: GPS data processed {"connection_id":176904,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:09:33] local.INFO: Acknowledgment sent {"connection_id":176904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:09:55] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:09:55] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:09:55] local.INFO: Packet analysis {"connection_id":176903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:09:55] local.INFO: Extracted packet for processing {"connection_id":176903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756068736,"raw_latitude":115721216,"longitude_deg":75.6068736,"latitude_deg":11.5721216,"altitude":13,"angle":153,"satellites":45,"speed":48,"hex_longitude":"2d10b180","hex_latitude":"06e5c400","is_valid_coordinates":true} 
[2026-09-10 21:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997958912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1198942692925702144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054534000,"timestamp_ms":1789054534000,"timestamp_seconds":1789054534,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5c170"} 
[2026-09-10 21:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 21:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997958912001,"66":27800,"245":206,"80":6400,"24":48,"16":404768927839682560,"45":1198942692925702144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997958912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:09:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1198942692925702144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997958912001,"power":27800,"geofence_id":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1198942692925702144}} 
[2026-09-10 21:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":176903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:09:55] local.INFO: GPS data processed {"connection_id":176903,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:09:55] local.INFO: Acknowledgment sent {"connection_id":176903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:10:05] local.INFO: TCP Data received {"connection_id":176904,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:10:05] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:10:05] local.INFO: Packet analysis {"connection_id":176904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:10:05] local.INFO: Extracted packet for processing {"connection_id":176904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10: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-09-10 21:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 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-09-10 21:10: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 21:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":176904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:10:05] local.INFO: GPS data processed {"connection_id":176904,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:10:05] local.INFO: Acknowledgment sent {"connection_id":176904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:10:18] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:10:18] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:10:18] local.INFO: IMEI packet received {"connection_id":178043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":178043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:10:23] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:10:23] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:10:23] local.INFO: IMEI packet received {"connection_id":178043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":178043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:10:24] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:10:24] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:10:24] local.INFO: Packet analysis {"connection_id":178043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:10:24] local.INFO: Extracted packet for processing {"connection_id":178043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756068736,"raw_latitude":115721216,"longitude_deg":75.6068736,"latitude_deg":11.5721216,"altitude":13,"angle":153,"satellites":45,"speed":48,"hex_longitude":"2d10b180","hex_latitude":"06e5c400","is_valid_coordinates":true} 
[2026-09-10 21:10: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-09-10 21:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997958912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1198942692925702144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054534000,"timestamp_ms":1789054534000,"timestamp_seconds":1789054534,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5c170"} 
[2026-09-10 21:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 21:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:10:24] 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-09-10 21:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997958912001,"66":27800,"245":206,"80":6400,"24":48,"16":404768927839682560,"45":1198942692925702144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997958912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:10:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1198942692925702144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997958912001,"power":27800,"geofence_id":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1198942692925702144}} 
[2026-09-10 21:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":178043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:10:24] local.INFO: GPS data processed {"connection_id":178043,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:10:24] local.INFO: Acknowledgment sent {"connection_id":178043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:10:26] local.INFO: TCP Data received {"connection_id":176685,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:10:26] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:10:26] local.INFO: IMEI packet received {"connection_id":176685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":176685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:10:31] local.INFO: TCP Data received {"connection_id":176685,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:10:31] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:10:31] local.INFO: IMEI packet received {"connection_id":176685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":176685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:10:33] local.INFO: TCP Data received {"connection_id":176685,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:10:33] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:10:33] local.INFO: Packet analysis {"connection_id":176685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:10:33] local.INFO: Extracted packet for processing {"connection_id":176685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:10:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:10:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":176685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:10:33] local.INFO: GPS data processed {"connection_id":176685,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:10:33] local.INFO: Acknowledgment sent {"connection_id":176685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:10:55] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:10:55] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf5c170012d10b18006e5c400000d00992d..."} 
[2026-09-10 21:10:55] local.INFO: Packet analysis {"connection_id":178043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:10:55] local.INFO: Extracted packet for processing {"connection_id":178043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf5"} 
[2026-09-10 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756068736,"raw_latitude":115721216,"longitude_deg":75.6068736,"latitude_deg":11.5721216,"altitude":13,"angle":153,"satellites":45,"speed":48,"hex_longitude":"2d10b180","hex_latitude":"06e5c400","is_valid_coordinates":true} 
[2026-09-10 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997958912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1198942692925702144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054534000,"timestamp_ms":1789054534000,"timestamp_seconds":1789054534,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf5c170"} 
[2026-09-10 21:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:10:55] 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-09-10 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997958912001,"66":27800,"245":206,"80":6400,"24":48,"16":404768927839682560,"45":1198942692925702144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997958912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:10:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1198942692925702144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997958912001,"power":27800,"geofence_id":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1198942692925702144}} 
[2026-09-10 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":178043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:10:55] local.INFO: GPS data processed {"connection_id":178043,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:10:55] local.INFO: Acknowledgment sent {"connection_id":178043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:11:05] local.INFO: TCP Data received {"connection_id":176685,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:05] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:05] local.INFO: Packet analysis {"connection_id":176685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:11:05] local.INFO: Extracted packet for processing {"connection_id":176685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11: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-09-10 21:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 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-09-10 21:11: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 21:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:11:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":176685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:11:05] local.INFO: GPS data processed {"connection_id":176685,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:11:05] local.INFO: Acknowledgment sent {"connection_id":176685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:11:18] local.INFO: TCP Data received {"connection_id":179438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:11:18] local.INFO: Processing buffer {"connection_id":179438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:11:18] local.INFO: IMEI packet received {"connection_id":179438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":179438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:11:23] local.INFO: TCP Data received {"connection_id":179438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:11:23] local.INFO: Processing buffer {"connection_id":179438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:11:23] local.INFO: IMEI packet received {"connection_id":179438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":179438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:11:24] local.INFO: TCP Data received {"connection_id":179438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:11:24] local.INFO: Processing buffer {"connection_id":179438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:11:24] local.INFO: Packet analysis {"connection_id":179438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:11:24] local.INFO: Extracted packet for processing {"connection_id":179438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:11:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":179438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:11:24] local.INFO: GPS data processed {"connection_id":179438,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:11:24] local.INFO: Acknowledgment sent {"connection_id":179438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:11:31] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:11:31] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:11:31] local.INFO: IMEI packet received {"connection_id":176686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":176686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:11:36] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:11:36] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:11:36] local.INFO: IMEI packet received {"connection_id":176686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":176686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:11:38] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:38] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:38] local.INFO: Packet analysis {"connection_id":176686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:11:38] local.INFO: Extracted packet for processing {"connection_id":176686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:11: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-09-10 21:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":176686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:11:38] local.INFO: GPS data processed {"connection_id":176686,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:11:38] local.INFO: Acknowledgment sent {"connection_id":176686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:11:42] local.INFO: TCP Data received {"connection_id":176686,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:42] local.INFO: Processing buffer {"connection_id":176686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bf64a28012d1965c0071feee00041005e29..."} 
[2026-09-10 21:11:42] local.INFO: Packet analysis {"connection_id":176686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:11:42] local.INFO: Extracted packet for processing {"connection_id":176686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bf6"} 
[2026-09-10 21:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997892608001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11: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-09-10 21:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789054569000,"timestamp_ms":1789054569000,"timestamp_seconds":1789054569,"priority":1,"record_length":96,"hex_timestamp":"000001a08bf64a28"} 
[2026-09-10 21:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:11: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-09-10 21:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997892608001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997892608001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:11:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997892608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":176686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:11:42] local.INFO: GPS data processed {"connection_id":176686,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:11:42] local.INFO: Acknowledgment sent {"connection_id":176686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:11:55] local.INFO: TCP Data received {"connection_id":179438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:11:55] local.INFO: Processing buffer {"connection_id":179438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:11:55] local.INFO: Packet analysis {"connection_id":179438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:11:55] local.INFO: Extracted packet for processing {"connection_id":179438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:11:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":179438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:11:55] local.INFO: GPS data processed {"connection_id":179438,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:11:55] local.INFO: Acknowledgment sent {"connection_id":179438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:12:23] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:12:23] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:12:23] local.INFO: IMEI packet received {"connection_id":176905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":176905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:12:26] local.INFO: TCP Data received {"connection_id":176907,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:12:26] local.INFO: Processing buffer {"connection_id":176907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:12:26] local.INFO: IMEI packet received {"connection_id":176907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":176907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:12:28] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:12:28] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:12:28] local.INFO: IMEI packet received {"connection_id":176905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":176905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:12:29] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:12:29] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:12:29] local.INFO: Packet analysis {"connection_id":176905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:12:29] local.INFO: Extracted packet for processing {"connection_id":176905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:12:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":176905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:12:29] local.INFO: GPS data processed {"connection_id":176905,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:12:29] local.INFO: Acknowledgment sent {"connection_id":176905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:12:31] local.INFO: TCP Data received {"connection_id":176907,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:12:31] local.INFO: Processing buffer {"connection_id":176907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:12:31] local.INFO: IMEI packet received {"connection_id":176907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":176907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:12:33] local.INFO: TCP Data received {"connection_id":176907,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:12:33] local.INFO: Processing buffer {"connection_id":176907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:12:33] local.INFO: Packet analysis {"connection_id":176907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:12:33] local.INFO: Extracted packet for processing {"connection_id":176907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:12:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:12:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":176907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:12:33] local.INFO: GPS data processed {"connection_id":176907,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:12:33] local.INFO: Acknowledgment sent {"connection_id":176907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:12:57] local.INFO: TCP Data received {"connection_id":179439,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:12:57] local.INFO: Processing buffer {"connection_id":179439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:12:57] local.INFO: IMEI packet received {"connection_id":179439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":179439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:13:00] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:00] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:00] local.INFO: Packet analysis {"connection_id":176905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:00] local.INFO: Extracted packet for processing {"connection_id":176905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:13: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-09-10 21:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:13:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":176905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:13:00] local.INFO: GPS data processed {"connection_id":176905,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:13:00] local.INFO: Acknowledgment sent {"connection_id":176905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:13:04] local.INFO: TCP Data received {"connection_id":176907,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:13:04] local.INFO: Processing buffer {"connection_id":176907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:13:04] local.INFO: Packet analysis {"connection_id":176907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:04] local.INFO: Extracted packet for processing {"connection_id":176907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13: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-09-10 21:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":176907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:13:05] local.INFO: GPS data processed {"connection_id":176907,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:13:05] local.INFO: Acknowledgment sent {"connection_id":176907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:13:18] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:13:18] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:13:18] local.INFO: IMEI packet received {"connection_id":178044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":178044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:13:23] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:13:23] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:13:23] local.INFO: IMEI packet received {"connection_id":178044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":178044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:13:24] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:24] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:24] local.INFO: Packet analysis {"connection_id":178044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:24] local.INFO: Extracted packet for processing {"connection_id":178044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:13:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":178044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:13:24] local.INFO: GPS data processed {"connection_id":178044,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:13:24] local.INFO: Acknowledgment sent {"connection_id":178044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:13:26] local.INFO: TCP Data received {"connection_id":179440,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:13:26] local.INFO: Processing buffer {"connection_id":179440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:13:26] local.INFO: IMEI packet received {"connection_id":179440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":179440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:13:31] local.INFO: TCP Data received {"connection_id":179440,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:13:31] local.INFO: Processing buffer {"connection_id":179440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:13:31] local.INFO: IMEI packet received {"connection_id":179440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":179440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:13:33] local.INFO: TCP Data received {"connection_id":179440,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:13:33] local.INFO: Processing buffer {"connection_id":179440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:13:33] local.INFO: Packet analysis {"connection_id":179440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:33] local.INFO: Extracted packet for processing {"connection_id":179440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:13:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":179440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:13:33] local.INFO: GPS data processed {"connection_id":179440,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:13:33] local.INFO: Acknowledgment sent {"connection_id":179440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:13:55] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:55] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:13:55] local.INFO: Packet analysis {"connection_id":178044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:55] local.INFO: Extracted packet for processing {"connection_id":178044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:13:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":178044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:13:55] local.INFO: GPS data processed {"connection_id":178044,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:13:55] local.INFO: Acknowledgment sent {"connection_id":178044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:14:04] local.INFO: TCP Data received {"connection_id":179440,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:04] local.INFO: Processing buffer {"connection_id":179440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:04] local.INFO: Packet analysis {"connection_id":179440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:04] local.INFO: Extracted packet for processing {"connection_id":179440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14: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-09-10 21:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:14:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":179440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:14:04] local.INFO: GPS data processed {"connection_id":179440,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:14:04] local.INFO: Acknowledgment sent {"connection_id":179440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:14:19] local.INFO: TCP Data received {"connection_id":176688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:14:19] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:14:19] local.INFO: IMEI packet received {"connection_id":176688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":176688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:14:23] local.INFO: TCP Data received {"connection_id":176688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:14:23] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:14:23] local.INFO: IMEI packet received {"connection_id":176688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":176688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:14:24] local.INFO: TCP Data received {"connection_id":176688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:14:24] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:14:24] local.INFO: Packet analysis {"connection_id":176688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:24] local.INFO: Extracted packet for processing {"connection_id":176688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:14:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":176688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:14:24] local.INFO: GPS data processed {"connection_id":176688,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:14:24] local.INFO: Acknowledgment sent {"connection_id":176688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:14:31] local.INFO: TCP Data received {"connection_id":176908,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:14:31] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:14:31] local.INFO: IMEI packet received {"connection_id":176908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":176908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:14:36] local.INFO: TCP Data received {"connection_id":176908,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:14:36] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:14:36] local.INFO: IMEI packet received {"connection_id":176908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":176908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:14:37] local.INFO: TCP Data received {"connection_id":176908,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:37] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:37] local.INFO: Packet analysis {"connection_id":176908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:37] local.INFO: Extracted packet for processing {"connection_id":176908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14: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-09-10 21:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:14: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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:14:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":176908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:14:37] local.INFO: GPS data processed {"connection_id":176908,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:14:37] local.INFO: Acknowledgment sent {"connection_id":176908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:14:42] local.INFO: TCP Data received {"connection_id":176908,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:42] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:14:42] local.INFO: Packet analysis {"connection_id":176908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:42] local.INFO: Extracted packet for processing {"connection_id":176908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14: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-09-10 21:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:14:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":176908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:14:42] local.INFO: GPS data processed {"connection_id":176908,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:14:42] local.INFO: Acknowledgment sent {"connection_id":176908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:14:55] local.INFO: TCP Data received {"connection_id":176688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:14:55] local.INFO: Processing buffer {"connection_id":176688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:14:55] local.INFO: Packet analysis {"connection_id":176688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:55] local.INFO: Extracted packet for processing {"connection_id":176688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:14:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":176688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:14:55] local.INFO: GPS data processed {"connection_id":176688,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:14:55] local.INFO: Acknowledgment sent {"connection_id":176688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:15:18] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:15:18] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:15:18] local.INFO: IMEI packet received {"connection_id":176909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":176909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:15:23] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:15:23] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:15:23] local.INFO: IMEI packet received {"connection_id":176909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":176909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:15:24] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:15:24] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:15:24] local.INFO: Packet analysis {"connection_id":176909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:24] local.INFO: Extracted packet for processing {"connection_id":176909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:15:24] 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-09-10 21:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:15:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":176909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:15:24] local.INFO: GPS data processed {"connection_id":176909,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:15:24] local.INFO: Acknowledgment sent {"connection_id":176909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:15:26] local.INFO: TCP Data received {"connection_id":178046,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:15:26] local.INFO: Processing buffer {"connection_id":178046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:15:26] local.INFO: IMEI packet received {"connection_id":178046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":178046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:15:31] local.INFO: TCP Data received {"connection_id":178046,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:15:31] local.INFO: Processing buffer {"connection_id":178046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:15:31] local.INFO: IMEI packet received {"connection_id":178046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":178046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:15:32] local.INFO: TCP Data received {"connection_id":178046,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:15:32] local.INFO: Processing buffer {"connection_id":178046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:15:32] local.INFO: Packet analysis {"connection_id":178046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:32] local.INFO: Extracted packet for processing {"connection_id":178046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:15:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":178046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:15:33] local.INFO: GPS data processed {"connection_id":178046,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:15:33] local.INFO: Acknowledgment sent {"connection_id":178046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:15:37] local.INFO: TCP Data received {"connection_id":178046,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:15:37] local.INFO: Processing buffer {"connection_id":178046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:15:37] local.INFO: Packet analysis {"connection_id":178046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:37] local.INFO: Extracted packet for processing {"connection_id":178046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15: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-09-10 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:15: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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:15:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":178046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:15:37] local.INFO: GPS data processed {"connection_id":178046,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:15:37] local.INFO: Acknowledgment sent {"connection_id":178046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:15:56] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:15:56] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfa5d20012d10ce4006e58168000f00982e..."} 
[2026-09-10 21:15:56] local.INFO: Packet analysis {"connection_id":176909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:56] local.INFO: Extracted packet for processing {"connection_id":176909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":46,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997960704001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202883342597619712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789054836000,"timestamp_ms":1789054836000,"timestamp_seconds":1789054836,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfa5d20"} 
[2026-09-10 21:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 21:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:15:56] 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-09-10 21:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997960704001,"66":25647,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1202883342597619712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997960704001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:15:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202883342597619712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997960704001,"power":25647,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1202883342597619712}} 
[2026-09-10 21:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":176909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:15:56] local.INFO: GPS data processed {"connection_id":176909,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:15:56] local.INFO: Acknowledgment sent {"connection_id":176909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:16:09] local.INFO: TCP Data received {"connection_id":178046,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:16:09] local.INFO: Processing buffer {"connection_id":178046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:16:09] local.INFO: Packet analysis {"connection_id":178046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:16:09] local.INFO: Extracted packet for processing {"connection_id":178046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:16: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-09-10 21: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-09-10 21: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-09-10 21:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:16:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":178046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:16:09] local.INFO: GPS data processed {"connection_id":178046,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:16:09] local.INFO: Acknowledgment sent {"connection_id":178046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:16:18] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:16:18] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:16:18] local.INFO: IMEI packet received {"connection_id":176910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":176910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:16:23] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:16:23] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:16:23] local.INFO: IMEI packet received {"connection_id":176910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":176910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:16:24] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:16:24] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:16:24] local.INFO: Packet analysis {"connection_id":176910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:16:24] local.INFO: Extracted packet for processing {"connection_id":176910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:16:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":176910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:16:24] local.INFO: GPS data processed {"connection_id":176910,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:16:24] local.INFO: Acknowledgment sent {"connection_id":176910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:16:26] local.INFO: TCP Data received {"connection_id":179442,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:16:26] local.INFO: Processing buffer {"connection_id":179442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:16:26] local.INFO: IMEI packet received {"connection_id":179442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":179442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:16:31] local.INFO: TCP Data received {"connection_id":179442,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:16:31] local.INFO: Processing buffer {"connection_id":179442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:16:31] local.INFO: IMEI packet received {"connection_id":179442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":179442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:16:33] local.INFO: TCP Data received {"connection_id":179442,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:16:33] local.INFO: Processing buffer {"connection_id":179442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfae1f0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:16:33] local.INFO: Packet analysis {"connection_id":179442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:16:33] local.INFO: Extracted packet for processing {"connection_id":179442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfa"} 
[2026-09-10 21:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457997969664001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789054870000,"timestamp_ms":1789054870000,"timestamp_seconds":1789054870,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfae1f0"} 
[2026-09-10 21:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457997969664001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457997969664001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:16:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:16:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457997969664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":179442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:16:33] local.INFO: GPS data processed {"connection_id":179442,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:16:33] local.INFO: Acknowledgment sent {"connection_id":179442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:16:55] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:16:55] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:16:55] local.INFO: Packet analysis {"connection_id":176910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:16:55] local.INFO: Extracted packet for processing {"connection_id":176910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:16:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":176910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:16:55] local.INFO: GPS data processed {"connection_id":176910,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:16:55] local.INFO: Acknowledgment sent {"connection_id":176910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:17:04] local.INFO: TCP Data received {"connection_id":179442,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:17:04] local.INFO: Processing buffer {"connection_id":179442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:17:04] local.INFO: Packet analysis {"connection_id":179442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:17:04] local.INFO: Extracted packet for processing {"connection_id":179442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17: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-09-10 21:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":179442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:17:04] local.INFO: GPS data processed {"connection_id":179442,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:17:04] local.INFO: Acknowledgment sent {"connection_id":179442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:17:18] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:17:18] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:17:18] local.INFO: IMEI packet received {"connection_id":176689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":176689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:17:23] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:17:23] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:17:23] local.INFO: IMEI packet received {"connection_id":176689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":176689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:17:25] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:17:25] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:17:25] local.INFO: Packet analysis {"connection_id":176689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:17:25] local.INFO: Extracted packet for processing {"connection_id":176689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:17:25] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:17: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-09-10 21:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:17:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":176689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:17:25] local.INFO: GPS data processed {"connection_id":176689,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:17:25] local.INFO: Acknowledgment sent {"connection_id":176689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:17:26] local.INFO: TCP Data received {"connection_id":179444,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:17:26] local.INFO: Processing buffer {"connection_id":179444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:17:26] local.INFO: IMEI packet received {"connection_id":179444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":179444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:17:31] local.INFO: TCP Data received {"connection_id":179444,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:17:31] local.INFO: Processing buffer {"connection_id":179444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:17:31] local.INFO: IMEI packet received {"connection_id":179444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":179444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:17:32] local.INFO: TCP Data received {"connection_id":179444,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:17:32] local.INFO: Processing buffer {"connection_id":179444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:17:32] local.INFO: Packet analysis {"connection_id":179444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:17:32] local.INFO: Extracted packet for processing {"connection_id":179444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:17:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":179444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:17:32] local.INFO: GPS data processed {"connection_id":179444,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:17:32] local.INFO: Acknowledgment sent {"connection_id":179444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:17:56] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:17:56] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:17:56] local.INFO: Packet analysis {"connection_id":176689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:17:56] local.INFO: Extracted packet for processing {"connection_id":176689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:17:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":176689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:17:56] local.INFO: GPS data processed {"connection_id":176689,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:17:56] local.INFO: Acknowledgment sent {"connection_id":176689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:18:04] local.INFO: TCP Data received {"connection_id":179444,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:18:04] local.INFO: Processing buffer {"connection_id":179444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:18:04] local.INFO: Packet analysis {"connection_id":179444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:18:04] local.INFO: Extracted packet for processing {"connection_id":179444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18: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-09-10 21:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":179444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:18:04] local.INFO: GPS data processed {"connection_id":179444,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:18:04] local.INFO: Acknowledgment sent {"connection_id":179444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:18:18] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:18:18] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:18:18] local.INFO: IMEI packet received {"connection_id":176912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":176912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:18:23] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:18:23] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:18:23] local.INFO: IMEI packet received {"connection_id":176912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":176912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:18:24] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:18:24] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:18:24] local.INFO: Packet analysis {"connection_id":176912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:18:24] local.INFO: Extracted packet for processing {"connection_id":176912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:18: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-09-10 21:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:18:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":176912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:18:24] local.INFO: GPS data processed {"connection_id":176912,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:18:24] local.INFO: Acknowledgment sent {"connection_id":176912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:18:31] local.INFO: TCP Data received {"connection_id":179445,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:18:31] local.INFO: Processing buffer {"connection_id":179445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:18:31] local.INFO: IMEI packet received {"connection_id":179445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":179445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:18:36] local.INFO: TCP Data received {"connection_id":179445,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:18:36] local.INFO: Processing buffer {"connection_id":179445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:18:36] local.INFO: IMEI packet received {"connection_id":179445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":179445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:18:37] local.INFO: TCP Data received {"connection_id":179445,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:18:37] local.INFO: Processing buffer {"connection_id":179445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:18:37] local.INFO: Packet analysis {"connection_id":179445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:18:37] local.INFO: Extracted packet for processing {"connection_id":179445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18: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-09-10 21:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:18: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-09-10 21:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":179445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:18:37] local.INFO: GPS data processed {"connection_id":179445,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:18:37] local.INFO: Acknowledgment sent {"connection_id":179445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:18:42] local.INFO: TCP Data received {"connection_id":178047,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:18:42] local.INFO: Processing buffer {"connection_id":178047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:18:42] local.INFO: IMEI packet received {"connection_id":178047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":178047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:18:55] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:18:55] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:18:55] local.INFO: Packet analysis {"connection_id":176912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:18:55] local.INFO: Extracted packet for processing {"connection_id":176912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:18:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":176912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:18:55] local.INFO: GPS data processed {"connection_id":176912,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:18:55] local.INFO: Acknowledgment sent {"connection_id":176912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:19:09] local.INFO: TCP Data received {"connection_id":179445,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:19:09] local.INFO: Processing buffer {"connection_id":179445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:19:09] local.INFO: Packet analysis {"connection_id":179445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:19:09] local.INFO: Extracted packet for processing {"connection_id":179445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21: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-09-10 21:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":179445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":179445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":179445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:19:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":179445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:19:09] local.INFO: GPS data processed {"connection_id":179445,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:19:09] local.INFO: Acknowledgment sent {"connection_id":179445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:19:19] local.INFO: TCP Data received {"connection_id":176690,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:19:19] local.INFO: Processing buffer {"connection_id":176690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:19:19] local.INFO: IMEI packet received {"connection_id":176690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":176690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:19:23] local.INFO: TCP Data received {"connection_id":176690,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:19:23] local.INFO: Processing buffer {"connection_id":176690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:19:23] local.INFO: IMEI packet received {"connection_id":176690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":176690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:19:24] local.INFO: TCP Data received {"connection_id":176690,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:19:24] local.INFO: Processing buffer {"connection_id":176690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:19:24] local.INFO: Packet analysis {"connection_id":176690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:19:24] local.INFO: Extracted packet for processing {"connection_id":176690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:19: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-09-10 21:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:19:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":176690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:19:24] local.INFO: GPS data processed {"connection_id":176690,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:19:24] local.INFO: Acknowledgment sent {"connection_id":176690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:19:26] local.INFO: TCP Data received {"connection_id":176691,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:19:26] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:19:26] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:19:31] local.INFO: TCP Data received {"connection_id":176691,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:19:31] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:19:31] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:19:32] local.INFO: TCP Data received {"connection_id":176691,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:19:32] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:19:32] local.INFO: Packet analysis {"connection_id":176691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:19:32] local.INFO: Extracted packet for processing {"connection_id":176691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:19:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:19:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":176691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:19:33] local.INFO: GPS data processed {"connection_id":176691,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:19:33] local.INFO: Acknowledgment sent {"connection_id":176691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:19:55] local.INFO: TCP Data received {"connection_id":176690,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:19:55] local.INFO: Processing buffer {"connection_id":176690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:19:55] local.INFO: Packet analysis {"connection_id":176690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:19:55] local.INFO: Extracted packet for processing {"connection_id":176690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:19:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":176690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:19:55] local.INFO: GPS data processed {"connection_id":176690,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:19:55] local.INFO: Acknowledgment sent {"connection_id":176690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:20:04] local.INFO: TCP Data received {"connection_id":176691,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:20:04] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:20:04] local.INFO: Packet analysis {"connection_id":176691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:20:04] local.INFO: Extracted packet for processing {"connection_id":176691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20: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-09-10 21:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:20:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":176691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:20:04] local.INFO: GPS data processed {"connection_id":176691,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:20:04] local.INFO: Acknowledgment sent {"connection_id":176691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:20:18] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:20:18] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:20:18] local.INFO: IMEI packet received {"connection_id":176913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":176913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:20:23] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:20:23] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:20:23] local.INFO: IMEI packet received {"connection_id":176913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":176913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:20:24] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:20:24] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:20:24] local.INFO: Packet analysis {"connection_id":176913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:20:24] local.INFO: Extracted packet for processing {"connection_id":176913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:20:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":176913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:20:24] local.INFO: GPS data processed {"connection_id":176913,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:20:24] local.INFO: Acknowledgment sent {"connection_id":176913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:20:26] local.INFO: TCP Data received {"connection_id":176914,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:20:26] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:20:26] local.INFO: IMEI packet received {"connection_id":176914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":176914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:20:31] local.INFO: TCP Data received {"connection_id":176914,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:20:31] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:20:31] local.INFO: IMEI packet received {"connection_id":176914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":176914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:20:33] local.INFO: TCP Data received {"connection_id":176914,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:20:33] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:20:33] local.INFO: Packet analysis {"connection_id":176914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:20:33] local.INFO: Extracted packet for processing {"connection_id":176914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 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-09-10 21:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 21:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:20:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:20:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":176914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:20:33] local.INFO: GPS data processed {"connection_id":176914,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:20:33] local.INFO: Acknowledgment sent {"connection_id":176914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:20:55] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:20:55] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bfef4e8012d10ce4006e58168000f00982d..."} 
[2026-09-10 21:20:55] local.INFO: Packet analysis {"connection_id":176913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:20:55] local.INFO: Extracted packet for processing {"connection_id":176913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bfe"} 
[2026-09-10 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":45,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998038016001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055137000,"timestamp_ms":1789055137000,"timestamp_seconds":1789055137,"priority":1,"record_length":96,"hex_timestamp":"000001a08bfef4e8"} 
[2026-09-10 21:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-10 21:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998038016001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998038016001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:20:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998038016001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":176913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:20:55] local.INFO: GPS data processed {"connection_id":176913,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:20:55] local.INFO: Acknowledgment sent {"connection_id":176913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:21:04] local.INFO: TCP Data received {"connection_id":176914,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:21:04] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:21:04] local.INFO: Packet analysis {"connection_id":176914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:21:04] local.INFO: Extracted packet for processing {"connection_id":176914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 21:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:21:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":176914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:21:05] local.INFO: GPS data processed {"connection_id":176914,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:21:05] local.INFO: Acknowledgment sent {"connection_id":176914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:21:18] local.INFO: TCP Data received {"connection_id":179446,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:21:18] local.INFO: Processing buffer {"connection_id":179446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:21:18] local.INFO: IMEI packet received {"connection_id":179446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":179446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:21:23] local.INFO: TCP Data received {"connection_id":179446,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:21:23] local.INFO: Processing buffer {"connection_id":179446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:21:23] local.INFO: IMEI packet received {"connection_id":179446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":179446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:21:24] local.INFO: TCP Data received {"connection_id":179446,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:21:24] local.INFO: Processing buffer {"connection_id":179446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:21:24] local.INFO: Packet analysis {"connection_id":179446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:21:24] local.INFO: Extracted packet for processing {"connection_id":179446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998115072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055438000,"timestamp_ms":1789055438000,"timestamp_seconds":1789055438,"priority":1,"record_length":96,"hex_timestamp":"000001a08c038cb0"} 
[2026-09-10 21:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998115072001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998115072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:21:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998115072001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":179446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:21:24] local.INFO: GPS data processed {"connection_id":179446,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:21:24] local.INFO: Acknowledgment sent {"connection_id":179446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:21:26] local.INFO: TCP Data received {"connection_id":178049,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:21:26] local.INFO: Processing buffer {"connection_id":178049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:21:26] local.INFO: IMEI packet received {"connection_id":178049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":178049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:21:31] local.INFO: TCP Data received {"connection_id":178049,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:21:31] local.INFO: Processing buffer {"connection_id":178049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:21:31] local.INFO: IMEI packet received {"connection_id":178049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":178049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:21:32] local.INFO: TCP Data received {"connection_id":178049,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:21:32] local.INFO: Processing buffer {"connection_id":178049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08bff79b8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:21:32] local.INFO: Packet analysis {"connection_id":178049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:21:32] local.INFO: Extracted packet for processing {"connection_id":178049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08bff"} 
[2026-09-10 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998046720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789055171000,"timestamp_ms":1789055171000,"timestamp_seconds":1789055171,"priority":1,"record_length":96,"hex_timestamp":"000001a08bff79b8"} 
[2026-09-10 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-09-10 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 21:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998046720001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998046720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:21:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998046720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":178049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:21:33] local.INFO: GPS data processed {"connection_id":178049,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:21:33] local.INFO: Acknowledgment sent {"connection_id":178049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:21:55] local.INFO: TCP Data received {"connection_id":179446,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:21:55] local.INFO: Processing buffer {"connection_id":179446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:21:55] local.INFO: Packet analysis {"connection_id":179446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:21:55] local.INFO: Extracted packet for processing {"connection_id":179446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998115072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055438000,"timestamp_ms":1789055438000,"timestamp_seconds":1789055438,"priority":1,"record_length":96,"hex_timestamp":"000001a08c038cb0"} 
[2026-09-10 21:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998115072001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998115072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:21:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998115072001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":179446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:21:55] local.INFO: GPS data processed {"connection_id":179446,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:21:55] local.INFO: Acknowledgment sent {"connection_id":179446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:22:04] local.INFO: TCP Data received {"connection_id":178049,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:04] local.INFO: Processing buffer {"connection_id":178049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:04] local.INFO: Packet analysis {"connection_id":178049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:22:04] local.INFO: Extracted packet for processing {"connection_id":178049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22: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-09-10 21:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":178049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:22:04] local.INFO: GPS data processed {"connection_id":178049,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:22:04] local.INFO: Acknowledgment sent {"connection_id":178049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:22:23] local.INFO: TCP Data received {"connection_id":178050,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:22:23] local.INFO: Processing buffer {"connection_id":178050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:22:23] local.INFO: IMEI packet received {"connection_id":178050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":178050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:22:28] local.INFO: TCP Data received {"connection_id":178050,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:22:28] local.INFO: Processing buffer {"connection_id":178050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:22:28] local.INFO: IMEI packet received {"connection_id":178050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":178050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:22:29] local.INFO: TCP Data received {"connection_id":178050,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:22:29] local.INFO: Processing buffer {"connection_id":178050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:22:29] local.INFO: Packet analysis {"connection_id":178050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:22:29] local.INFO: Extracted packet for processing {"connection_id":178050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998115072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789055438000,"timestamp_ms":1789055438000,"timestamp_seconds":1789055438,"priority":1,"record_length":96,"hex_timestamp":"000001a08c038cb0"} 
[2026-09-10 21:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998115072001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998115072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:22:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998115072001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":178050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:22:29] local.INFO: GPS data processed {"connection_id":178050,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:22:29] local.INFO: Acknowledgment sent {"connection_id":178050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:22:31] local.INFO: TCP Data received {"connection_id":176916,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:22:31] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:22:31] local.INFO: IMEI packet received {"connection_id":176916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":176916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:22:36] local.INFO: TCP Data received {"connection_id":176916,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:22:36] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:22:36] local.INFO: IMEI packet received {"connection_id":176916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":176916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:22:37] local.INFO: TCP Data received {"connection_id":176916,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:37] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:37] local.INFO: Packet analysis {"connection_id":176916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:22:37] local.INFO: Extracted packet for processing {"connection_id":176916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22: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-09-10 21:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:22: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-09-10 21: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-09-10 21:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:22:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":176916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:22:37] local.INFO: GPS data processed {"connection_id":176916,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:22:37] local.INFO: Acknowledgment sent {"connection_id":176916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:22:42] local.INFO: TCP Data received {"connection_id":176916,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:42] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:22:42] local.INFO: Packet analysis {"connection_id":176916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:22:42] local.INFO: Extracted packet for processing {"connection_id":176916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:22: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-09-10 21:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:22: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-09-10 21:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:22:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":176916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:22:42] local.INFO: GPS data processed {"connection_id":176916,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:22:42] local.INFO: Acknowledgment sent {"connection_id":176916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:23:01] local.INFO: TCP Data received {"connection_id":178050,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:01] local.INFO: Processing buffer {"connection_id":178050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:01] local.INFO: Packet analysis {"connection_id":178050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:23:01] local.INFO: Extracted packet for processing {"connection_id":178050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998115072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789055438000,"timestamp_ms":1789055438000,"timestamp_seconds":1789055438,"priority":1,"record_length":96,"hex_timestamp":"000001a08c038cb0"} 
[2026-09-10 21:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":178050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":178050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":178050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:23: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-09-10 21:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998115072001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998115072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:23:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998115072001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":178050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:23:01] local.INFO: GPS data processed {"connection_id":178050,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:23:01] local.INFO: Acknowledgment sent {"connection_id":178050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:23:18] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:23:18] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:23:18] local.INFO: IMEI packet received {"connection_id":176693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":176693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:23:23] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:23:23] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:23:23] local.INFO: IMEI packet received {"connection_id":176693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":176693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:23:24] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:24] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:24] local.INFO: Packet analysis {"connection_id":176693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:23:24] local.INFO: Extracted packet for processing {"connection_id":176693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998115072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055438000,"timestamp_ms":1789055438000,"timestamp_seconds":1789055438,"priority":1,"record_length":96,"hex_timestamp":"000001a08c038cb0"} 
[2026-09-10 21:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998115072001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998115072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:23:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998115072001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":176693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:23:24] local.INFO: GPS data processed {"connection_id":176693,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:23:24] local.INFO: Acknowledgment sent {"connection_id":176693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:23:26] local.INFO: TCP Data received {"connection_id":176694,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:23:26] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:23:26] local.INFO: IMEI packet received {"connection_id":176694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":176694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:23:31] local.INFO: TCP Data received {"connection_id":176694,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:23:31] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:23:31] local.INFO: IMEI packet received {"connection_id":176694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":176694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:23:33] local.INFO: TCP Data received {"connection_id":176694,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:23:33] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:23:33] local.INFO: Packet analysis {"connection_id":176694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:23:33] local.INFO: Extracted packet for processing {"connection_id":176694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:23:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:23:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":176694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:23:33] local.INFO: GPS data processed {"connection_id":176694,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:23:33] local.INFO: Acknowledgment sent {"connection_id":176694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:23:55] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:55] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:23:55] local.INFO: Packet analysis {"connection_id":176693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:23:55] local.INFO: Extracted packet for processing {"connection_id":176693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998115072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055438000,"timestamp_ms":1789055438000,"timestamp_seconds":1789055438,"priority":1,"record_length":96,"hex_timestamp":"000001a08c038cb0"} 
[2026-09-10 21:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998115072001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998115072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:23:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998115072001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":176693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:23:55] local.INFO: GPS data processed {"connection_id":176693,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:23:55] local.INFO: Acknowledgment sent {"connection_id":176693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:24:04] local.INFO: TCP Data received {"connection_id":176694,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:24:04] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:24:04] local.INFO: Packet analysis {"connection_id":176694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:24:04] local.INFO: Extracted packet for processing {"connection_id":176694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24: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-09-10 21:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:24:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":176694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:24:05] local.INFO: GPS data processed {"connection_id":176694,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:24:05] local.INFO: Acknowledgment sent {"connection_id":176694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:24:07] local.INFO: TCP Data received {"connection_id":176917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:24:07] local.INFO: Processing buffer {"connection_id":176917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:24:07] local.INFO: IMEI packet received {"connection_id":176917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":176917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:24:18] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:24:18] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:24:18] local.INFO: IMEI packet received {"connection_id":178051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":178051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:24:23] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:24:23] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:24:23] local.INFO: IMEI packet received {"connection_id":178051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":178051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:24:24] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:24:24] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c038cb0012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:24:24] local.INFO: Packet analysis {"connection_id":178051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:24:24] local.INFO: Extracted packet for processing {"connection_id":178051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c03"} 
[2026-09-10 21:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998115072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055438000,"timestamp_ms":1789055438000,"timestamp_seconds":1789055438,"priority":1,"record_length":96,"hex_timestamp":"000001a08c038cb0"} 
[2026-09-10 21:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998115072001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998115072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:24:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998115072001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":178051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:24:24] local.INFO: GPS data processed {"connection_id":178051,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:24:24] local.INFO: Acknowledgment sent {"connection_id":178051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:24:26] local.INFO: TCP Data received {"connection_id":179448,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:24:26] local.INFO: Processing buffer {"connection_id":179448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:24:26] local.INFO: IMEI packet received {"connection_id":179448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":179448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:24:31] local.INFO: TCP Data received {"connection_id":179448,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:24:31] local.INFO: Processing buffer {"connection_id":179448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:24:31] local.INFO: IMEI packet received {"connection_id":179448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":179448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:24:33] local.INFO: TCP Data received {"connection_id":179448,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:24:33] local.INFO: Processing buffer {"connection_id":179448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:24:33] local.INFO: Packet analysis {"connection_id":179448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:24:33] local.INFO: Extracted packet for processing {"connection_id":179448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:24:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":179448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:24:33] local.INFO: GPS data processed {"connection_id":179448,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:24:33] local.INFO: Acknowledgment sent {"connection_id":179448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:24:38] local.INFO: TCP Data received {"connection_id":179449,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:24:38] local.INFO: Processing buffer {"connection_id":179449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:24:38] local.INFO: IMEI packet received {"connection_id":179449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":179449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:24:55] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a08c06d488012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c06d488012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:24:55] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c06d488012d10ce4006e58168000f00982c..."} 
[2026-09-10 21:24:55] local.INFO: Packet analysis {"connection_id":178051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c06"} 
[2026-09-10 21:24:55] local.INFO: Extracted packet for processing {"connection_id":178051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c06"} 
[2026-09-10 21:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115704168,"longitude_deg":75.6076096,"latitude_deg":11.5704168,"altitude":15,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d10ce40","hex_latitude":"06e58168","is_valid_coordinates":true} 
[2026-09-10 21:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998192128001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055653000,"timestamp_ms":1789055653000,"timestamp_seconds":1789055653,"priority":1,"record_length":96,"hex_timestamp":"000001a08c06d488"} 
[2026-09-10 21:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998192128001,"66":25321,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998192128001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:24:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998192128001,"power":25321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":178051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:24:55] local.INFO: GPS data processed {"connection_id":178051,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:24:55] local.INFO: Acknowledgment sent {"connection_id":178051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:25:05] local.INFO: TCP Data received {"connection_id":179448,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:05] local.INFO: Processing buffer {"connection_id":179448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:05] local.INFO: Packet analysis {"connection_id":179448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:25:05] local.INFO: Extracted packet for processing {"connection_id":179448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 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-09-10 21:25: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-09-10 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":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:25: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-09-10 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-09-10 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-09-10 21:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":179448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:25:05] local.INFO: GPS data processed {"connection_id":179448,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:25:05] local.INFO: Acknowledgment sent {"connection_id":179448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:25:18] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:25:18] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:25:18] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:25:23] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:25:23] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:25:23] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:25:24] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c06e040012d10d20006e575e8000f00b22c..."} 
[2026-09-10 21:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c06e040012d10d20006e575e8000f00b22c..."} 
[2026-09-10 21:25:24] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c06e040012d10d20006e575e8000f00b22c..."} 
[2026-09-10 21:25:24] local.INFO: Packet analysis {"connection_id":176695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c06"} 
[2026-09-10 21:25:24] local.INFO: Extracted packet for processing {"connection_id":176695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c06"} 
[2026-09-10 21:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756077056,"raw_latitude":115701224,"longitude_deg":75.6077056,"latitude_deg":11.5701224,"altitude":15,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d10d200","hex_latitude":"06e575e8","is_valid_coordinates":true} 
[2026-09-10 21:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998247168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748173686784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055656000,"timestamp_ms":1789055656000,"timestamp_seconds":1789055656,"priority":1,"record_length":96,"hex_timestamp":"000001a08c06e040"} 
[2026-09-10 21:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-10 21:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998247168001,"66":25158,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1210975748173686784},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998247168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:25:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748173686784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998247168001,"power":25158,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1210975748173686784}} 
[2026-09-10 21:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":176695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:25:24] local.INFO: GPS data processed {"connection_id":176695,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:25:24] local.INFO: Acknowledgment sent {"connection_id":176695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:25:26] local.INFO: TCP Data received {"connection_id":176696,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:25:26] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:25:26] local.INFO: IMEI packet received {"connection_id":176696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":176696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:25:31] local.INFO: TCP Data received {"connection_id":176696,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:25:31] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:25:31] local.INFO: IMEI packet received {"connection_id":176696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":176696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:25:33] local.INFO: TCP Data received {"connection_id":176696,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:33] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:33] local.INFO: Packet analysis {"connection_id":176696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:25:33] local.INFO: Extracted packet for processing {"connection_id":176696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:25:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":176696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:25:33] local.INFO: GPS data processed {"connection_id":176696,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:25:33] local.INFO: Acknowledgment sent {"connection_id":176696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:25:37] local.INFO: TCP Data received {"connection_id":176696,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:37] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:25:37] local.INFO: Packet analysis {"connection_id":176696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:25:37] local.INFO: Extracted packet for processing {"connection_id":176696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25: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-09-10 21:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:25: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-09-10 21: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-09-10 21:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:25:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":176696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:25:37] local.INFO: GPS data processed {"connection_id":176696,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:25:37] local.INFO: Acknowledgment sent {"connection_id":176696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:25:56] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c073248012d10d20006e575e8000f00b22d..."} 
[2026-09-10 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c073248012d10d20006e575e8000f00b22d..."} 
[2026-09-10 21:25:56] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c073248012d10d20006e575e8000f00b22d..."} 
[2026-09-10 21:25:56] local.INFO: Packet analysis {"connection_id":176695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c07"} 
[2026-09-10 21:25:56] local.INFO: Extracted packet for processing {"connection_id":176695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c07"} 
[2026-09-10 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756077056,"raw_latitude":115701224,"longitude_deg":75.6077056,"latitude_deg":11.5701224,"altitude":15,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d10d200","hex_latitude":"06e575e8","is_valid_coordinates":true} 
[2026-09-10 21:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998247936001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1212031279335598080,"note":"Value kept but may cause issues"} 
[2026-09-10 21:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789055677000,"timestamp_ms":1789055677000,"timestamp_seconds":1789055677,"priority":1,"record_length":96,"hex_timestamp":"000001a08c073248"} 
[2026-09-10 21:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:25: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-09-10 21:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-10 21:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998247936001,"66":27213,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1212031279335598080},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998247936001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:25:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1212031279335598080,"description":"Unknown IO ID 45"} 
[2026-09-10 21:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998247936001,"power":27213,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1212031279335598080}} 
[2026-09-10 21:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":176695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:25:56] local.INFO: GPS data processed {"connection_id":176695,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:25:56] local.INFO: Acknowledgment sent {"connection_id":176695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:26:09] local.INFO: TCP Data received {"connection_id":176696,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:09] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:09] local.INFO: Packet analysis {"connection_id":176696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:26:09] local.INFO: Extracted packet for processing {"connection_id":176696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:26:09] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26: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-09-10 21:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:26: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-09-10 21:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:26:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":176696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:26:09] local.INFO: GPS data processed {"connection_id":176696,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:26:09] local.INFO: Acknowledgment sent {"connection_id":176696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:26:18] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:18] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:18] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:26:19] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:19] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:19] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:26:23] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:23] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:26:23] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:26:24] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c078450012d10d20006e575e8000f00b22f..."} 
[2026-09-10 21:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c078450012d10d20006e575e8000f00b22f..."} 
[2026-09-10 21:26:24] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c078450012d10d20006e575e8000f00b22f..."} 
[2026-09-10 21:26:24] local.INFO: Packet analysis {"connection_id":176697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c07"} 
[2026-09-10 21:26:24] local.INFO: Extracted packet for processing {"connection_id":176697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c07"} 
[2026-09-10 21:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756077056,"raw_latitude":115701224,"longitude_deg":75.6077056,"latitude_deg":11.5701224,"altitude":15,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d10d200","hex_latitude":"06e575e8","is_valid_coordinates":true} 
[2026-09-10 21:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998253312001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768927839682560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1212031279335598080,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055698000,"timestamp_ms":1789055698000,"timestamp_seconds":1789055698,"priority":1,"record_length":96,"hex_timestamp":"000001a08c078450"} 
[2026-09-10 21:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 21:26:24] 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-09-10 21:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998253312001,"66":27082,"245":206,"80":6400,"24":0,"16":404768927839682560,"45":1212031279335598080},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998253312001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:26:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768927839682560,"km_value":404768927839682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1212031279335598080,"description":"Unknown IO ID 45"} 
[2026-09-10 21:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998253312001,"power":27082,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1212031279335598080}} 
[2026-09-10 21:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":176697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:26:24] local.INFO: GPS data processed {"connection_id":176697,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:26:24] local.INFO: Acknowledgment sent {"connection_id":176697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:26:31] local.INFO: TCP Data received {"connection_id":178053,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:26:31] local.INFO: Processing buffer {"connection_id":178053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:26:31] local.INFO: IMEI packet received {"connection_id":178053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":178053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:26:36] local.INFO: TCP Data received {"connection_id":178053,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:26:36] local.INFO: Processing buffer {"connection_id":178053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:26:36] local.INFO: IMEI packet received {"connection_id":178053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":178053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:26:41] local.INFO: TCP Data received {"connection_id":178053,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:41] local.INFO: Processing buffer {"connection_id":178053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:41] local.INFO: Packet analysis {"connection_id":178053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:26:41] local.INFO: Extracted packet for processing {"connection_id":178053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26: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-09-10 21:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:26:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:26:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":178053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:26:41] local.INFO: GPS data processed {"connection_id":178053,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:26:41] local.INFO: Acknowledgment sent {"connection_id":178053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:26:42] local.INFO: TCP Data received {"connection_id":178053,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:42] local.INFO: Processing buffer {"connection_id":178053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c041180012d1965c0071feee00041005e28..."} 
[2026-09-10 21:26:42] local.INFO: Packet analysis {"connection_id":178053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:26:42] local.INFO: Extracted packet for processing {"connection_id":178053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c04"} 
[2026-09-10 21:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998123776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26: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-09-10 21:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789055472000,"timestamp_ms":1789055472000,"timestamp_seconds":1789055472,"priority":1,"record_length":96,"hex_timestamp":"000001a08c041180"} 
[2026-09-10 21:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:26: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-09-10 21:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998123776001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998123776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:26:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998123776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":178053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:26:42] local.INFO: GPS data processed {"connection_id":178053,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:26:42] local.INFO: Acknowledgment sent {"connection_id":178053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:26:55] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c07a778012d10d10006e57508000e00d42f..."} 
[2026-09-10 21:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c07a778012d10d10006e57508000e00d42f..."} 
[2026-09-10 21:26:55] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c07a778012d10d10006e57508000e00d42f..."} 
[2026-09-10 21:26:55] local.INFO: Packet analysis {"connection_id":176697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c07"} 
[2026-09-10 21:26:55] local.INFO: Extracted packet for processing {"connection_id":176697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c07"} 
[2026-09-10 21:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756076800,"raw_latitude":115701000,"longitude_deg":75.60768,"latitude_deg":11.5701,"altitude":14,"angle":212,"satellites":47,"speed":3,"hex_longitude":"2d10d100","hex_latitude":"06e57508","is_valid_coordinates":true} 
[2026-09-10 21:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998258688001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404768945019551744,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1212031279335598080,"note":"Value kept but may cause issues"} 
[2026-09-10 21:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789055707000,"timestamp_ms":1789055707000,"timestamp_seconds":1789055707,"priority":1,"record_length":96,"hex_timestamp":"000001a08c07a778"} 
[2026-09-10 21:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:26: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 21:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998258688001,"66":27332,"245":206,"80":6400,"24":3,"16":404768945019551744,"45":1212031279335598080},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-10 21:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998258688001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:26:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-10 21:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404768945019551744,"km_value":404768945019551.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1212031279335598080,"description":"Unknown IO ID 45"} 
[2026-09-10 21:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998258688001,"power":27332,"geofence_id":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1212031279335598080}} 
[2026-09-10 21:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":176697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:26:55] local.INFO: GPS data processed {"connection_id":176697,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:26:55] local.INFO: Acknowledgment sent {"connection_id":176697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:27:18] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:27:18] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:27:18] local.INFO: IMEI packet received {"connection_id":176919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":176919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:27:23] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:27:23] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:27:23] local.INFO: IMEI packet received {"connection_id":176919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":176919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:27:24] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08dff8012d11150006e49ab8000d009f2e..."} 
[2026-09-10 21:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08dff8012d11150006e49ab8000d009f2e..."} 
[2026-09-10 21:27:24] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08dff8012d11150006e49ab8000d009f2e..."} 
[2026-09-10 21:27:24] local.INFO: Packet analysis {"connection_id":176919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:27:24] local.INFO: Extracted packet for processing {"connection_id":176919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756094208,"raw_latitude":115645112,"longitude_deg":75.6094208,"latitude_deg":11.5645112,"altitude":13,"angle":159,"satellites":46,"speed":39,"hex_longitude":"2d111500","hex_latitude":"06e49ab8","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998278912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404771861302345728,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1227090190577451008,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789055787000,"timestamp_ms":1789055787000,"timestamp_seconds":1789055787,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08dff8"} 
[2026-09-10 21:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-10 21:27:24] 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-09-10 21: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-09-10 21:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998278912001,"66":27267,"112":206,"81":20480,"24":39,"16":404771861302345728,"45":1227090190577451008},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-10 21:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998278912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:27:24] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-10 21:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404771861302345728,"km_value":404771861302345.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1227090190577451008,"description":"Unknown IO ID 45"} 
[2026-09-10 21:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998278912001,"power":27267,"unknown_112":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1227090190577451008}} 
[2026-09-10 21:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":176919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:27:24] local.INFO: GPS data processed {"connection_id":176919,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:27:24] local.INFO: Acknowledgment sent {"connection_id":176919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:27:26] local.INFO: TCP Data received {"connection_id":176920,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:26] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:26] local.INFO: IMEI packet received {"connection_id":176920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":176920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:27:32] local.INFO: TCP Data received {"connection_id":176920,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:32] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:32] local.INFO: IMEI packet received {"connection_id":176920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":176920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:27:36] local.INFO: TCP Data received {"connection_id":176920,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:36] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:27:36] local.INFO: IMEI packet received {"connection_id":176920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":176920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:27:38] local.INFO: TCP Data received {"connection_id":176920,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:27:38] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:27:38] local.INFO: Packet analysis {"connection_id":176920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:27:38] local.INFO: Extracted packet for processing {"connection_id":176920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27: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-09-10 21:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:27: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-09-10 21:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:27:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":176920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:27:38] local.INFO: GPS data processed {"connection_id":176920,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:27:38] local.INFO: Acknowledgment sent {"connection_id":176920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:27:56] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c090320012d11214006e478f8000c00a02d..."} 
[2026-09-10 21:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c090320012d11214006e478f8000c00a02d..."} 
[2026-09-10 21:27:56] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c090320012d11214006e478f8000c00a02d..."} 
[2026-09-10 21:27:56] local.INFO: Packet analysis {"connection_id":176919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c09"} 
[2026-09-10 21:27:56] local.INFO: Extracted packet for processing {"connection_id":176919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c09"} 
[2026-09-10 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756097344,"raw_latitude":115636472,"longitude_deg":75.6097344,"latitude_deg":11.5636472,"altitude":12,"angle":160,"satellites":45,"speed":41,"hex_longitude":"2d112140","hex_latitude":"06e478f8","is_valid_coordinates":true} 
[2026-09-10 21:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998281472001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404772303683977216,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1230890102760847360,"note":"Value kept but may cause issues"} 
[2026-09-10 21:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789055796000,"timestamp_ms":1789055796000,"timestamp_seconds":1789055796,"priority":1,"record_length":96,"hex_timestamp":"000001a08c090320"} 
[2026-09-10 21:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998281472001,"66":27245,"111":206,"81":20480,"24":41,"16":404772303683977216,"45":1230890102760847360},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-10 21:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998281472001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:27:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 21:27:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404772303683977216,"km_value":404772303683977.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1230890102760847360,"description":"Unknown IO ID 45"} 
[2026-09-10 21:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998281472001,"power":27245,"unknown_111":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1230890102760847360}} 
[2026-09-10 21:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":176919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:27:56] local.INFO: GPS data processed {"connection_id":176919,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:27:56] local.INFO: Acknowledgment sent {"connection_id":176919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:28:10] local.INFO: TCP Data received {"connection_id":176920,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:28:10] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:28:10] local.INFO: Packet analysis {"connection_id":176920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:28:10] local.INFO: Extracted packet for processing {"connection_id":176920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28: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-09-10 21:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:28:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":176920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:28:10] local.INFO: GPS data processed {"connection_id":176920,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:28:10] local.INFO: Acknowledgment sent {"connection_id":176920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:28:20] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:20] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:20] local.INFO: IMEI packet received {"connection_id":176698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":176698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:28:25] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:25] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:25] local.INFO: IMEI packet received {"connection_id":176698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":176698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:28:26] local.INFO: TCP Data received {"connection_id":176921,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:28:26] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:28:26] local.INFO: IMEI packet received {"connection_id":176921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":176921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:28:28] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:28] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:28:28] local.INFO: IMEI packet received {"connection_id":176698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":176698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:28:31] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c092648012d112ec006e45508000900982e..."} 
[2026-09-10 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c092648012d112ec006e45508000900982e..."} 
[2026-09-10 21:28:31] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c092648012d112ec006e45508000900982e..."} 
[2026-09-10 21:28:31] local.INFO: Packet analysis {"connection_id":176698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c09"} 
[2026-09-10 21:28:31] local.INFO: Extracted packet for processing {"connection_id":176698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c09"} 
[2026-09-10 21:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756100800,"raw_latitude":115627272,"longitude_deg":75.61008,"latitude_deg":11.5627272,"altitude":9,"angle":152,"satellites":46,"speed":45,"hex_longitude":"2d112ec0","hex_latitude":"06e45508","is_valid_coordinates":true} 
[2026-09-10 21:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998283776001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404772780425347072,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234338171223341056,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789055805000,"timestamp_ms":1789055805000,"timestamp_seconds":1789055805,"priority":1,"record_length":96,"hex_timestamp":"000001a08c092648"} 
[2026-09-10 21:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 21:28: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-09-10 21:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998283776001,"66":27267,"111":206,"81":20480,"24":45,"16":404772780425347072,"45":1234338171223341056},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-10 21:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998283776001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:28:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 21:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404772780425347072,"km_value":404772780425347.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234338171223341056,"description":"Unknown IO ID 45"} 
[2026-09-10 21:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998283776001,"power":27267,"unknown_111":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1234338171223341056}} 
[2026-09-10 21:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":176698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:28:31] local.INFO: GPS data processed {"connection_id":176698,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:28:31] local.INFO: Acknowledgment sent {"connection_id":176698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:28:31] local.INFO: TCP Data received {"connection_id":176921,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:28:31] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:28:31] local.INFO: IMEI packet received {"connection_id":176921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":176921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:28:32] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c094970012d11428006e43430000700982d..."} 
[2026-09-10 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c094970012d11428006e43430000700982d..."} 
[2026-09-10 21:28:32] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c094970012d11428006e43430000700982d..."} 
[2026-09-10 21:28:32] local.INFO: Packet analysis {"connection_id":176698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c09"} 
[2026-09-10 21:28:32] local.INFO: Extracted packet for processing {"connection_id":176698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c09"} 
[2026-09-10 21:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756105856,"raw_latitude":115618864,"longitude_deg":75.6105856,"latitude_deg":11.5618864,"altitude":7,"angle":152,"satellites":45,"speed":41,"hex_longitude":"2d114280","hex_latitude":"06e43430","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998286080001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404773252871749632,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238138083406579712,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789055814000,"timestamp_ms":1789055814000,"timestamp_seconds":1789055814,"priority":1,"record_length":96,"hex_timestamp":"000001a08c094970"} 
[2026-09-10 21:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21: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-09-10 21: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-09-10 21:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998286080001,"66":27300,"111":206,"81":20480,"24":41,"16":404773252871749632,"45":1238138083406579712},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-10 21:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998286080001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:28:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-10 21:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404773252871749632,"km_value":404773252871749.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238138083406579712,"description":"Unknown IO ID 45"} 
[2026-09-10 21:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998286080001,"power":27300,"unknown_111":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1238138083406579712}} 
[2026-09-10 21:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":176698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:28:32] local.INFO: GPS data processed {"connection_id":176698,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:28:32] local.INFO: Acknowledgment sent {"connection_id":176698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:28:33] local.INFO: TCP Data received {"connection_id":176921,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:28:33] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:28:33] local.INFO: Packet analysis {"connection_id":176921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:28:33] local.INFO: Extracted packet for processing {"connection_id":176921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:28:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":176921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:28:33] local.INFO: GPS data processed {"connection_id":176921,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:28:33] local.INFO: Acknowledgment sent {"connection_id":176921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:29:05] local.INFO: TCP Data received {"connection_id":176921,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:29:05] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:29:05] local.INFO: Packet analysis {"connection_id":176921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:29:05] local.INFO: Extracted packet for processing {"connection_id":176921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29: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-09-10 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 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-09-10 21:29: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-09-10 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":118,"data_length":795,"current_offset":136} 
[2026-09-10 21: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-09-10 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-09-10 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-09-10 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":176921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:29:05] local.INFO: GPS data processed {"connection_id":176921,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:29:05] local.INFO: Acknowledgment sent {"connection_id":176921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:29:19] local.INFO: TCP Data received {"connection_id":179450,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:29:19] local.INFO: Processing buffer {"connection_id":179450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:29:19] local.INFO: IMEI packet received {"connection_id":179450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":179450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:29:21] local.INFO: TCP Data received {"connection_id":179450,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:29:21] local.INFO: Processing buffer {"connection_id":179450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:29:21] local.INFO: IMEI packet received {"connection_id":179450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":179450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:29:23] local.INFO: TCP Data received {"connection_id":179450,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0ad7e0012d118c0006e2bcb8000b00ad2e..."} 
[2026-09-10 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0ad7e0012d118c0006e2bcb8000b00ad2e..."} 
[2026-09-10 21:29:23] local.INFO: Processing buffer {"connection_id":179450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0ad7e0012d118c0006e2bcb8000b00ad2e..."} 
[2026-09-10 21:29:23] local.INFO: Packet analysis {"connection_id":179450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0a"} 
[2026-09-10 21:29:23] local.INFO: Extracted packet for processing {"connection_id":179450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0a"} 
[2026-09-10 21:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756124672,"raw_latitude":115522744,"longitude_deg":75.6124672,"latitude_deg":11.5522744,"altitude":11,"angle":173,"satellites":46,"speed":51,"hex_longitude":"2d118c00","hex_latitude":"06e2bcb8","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998312448001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404778024580415488,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261993087658520576,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789055916000,"timestamp_ms":1789055916000,"timestamp_seconds":1789055916,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0ad7e0"} 
[2026-09-10 21:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:29:23] 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-09-10 21: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-09-10 21:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998312448001,"66":27321,"108":206,"81":20480,"24":51,"16":404778024580415488,"45":1261993087658520576},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-10 21:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998312448001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:29:23] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-10 21:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404778024580415488,"km_value":404778024580415.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261993087658520576,"description":"Unknown IO ID 45"} 
[2026-09-10 21:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998312448001,"power":27321,"unknown_108":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1261993087658520576}} 
[2026-09-10 21:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":179450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:29:23] local.INFO: GPS data processed {"connection_id":179450,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:29:23] local.INFO: Acknowledgment sent {"connection_id":179450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:29:26] local.INFO: TCP Data received {"connection_id":176922,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:29:26] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:29:26] local.INFO: IMEI packet received {"connection_id":176922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":176922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:29:31] local.INFO: TCP Data received {"connection_id":176922,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:29:31] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:29:31] local.INFO: IMEI packet received {"connection_id":176922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":176922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:29:33] local.INFO: TCP Data received {"connection_id":176922,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:29:33] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:29:33] local.INFO: Packet analysis {"connection_id":176922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:29:33] local.INFO: Extracted packet for processing {"connection_id":176922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:29:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:29:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":176922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:29:33] local.INFO: GPS data processed {"connection_id":176922,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:29:33] local.INFO: Acknowledgment sent {"connection_id":176922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:29:54] local.INFO: TCP Data received {"connection_id":179450,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0ad7e0012d118c0006e2bcb8000b00ad2e..."} 
[2026-09-10 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0ad7e0012d118c0006e2bcb8000b00ad2e..."} 
[2026-09-10 21:29:54] local.INFO: Processing buffer {"connection_id":179450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0ad7e0012d118c0006e2bcb8000b00ad2e..."} 
[2026-09-10 21:29:54] local.INFO: Packet analysis {"connection_id":179450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0a"} 
[2026-09-10 21:29:54] local.INFO: Extracted packet for processing {"connection_id":179450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0a"} 
[2026-09-10 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756124672,"raw_latitude":115522744,"longitude_deg":75.6124672,"latitude_deg":11.5522744,"altitude":11,"angle":173,"satellites":46,"speed":51,"hex_longitude":"2d118c00","hex_latitude":"06e2bcb8","is_valid_coordinates":true} 
[2026-09-10 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998314496001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404778024580415488,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264385624958089216,"note":"Value kept but may cause issues"} 
[2026-09-10 21:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789055916000,"timestamp_ms":1789055916000,"timestamp_seconds":1789055916,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0ad7e0"} 
[2026-09-10 21:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:29:54] 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-09-10 21:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998314496001,"66":27321,"108":206,"81":20480,"24":51,"16":404778024580415488,"45":1264385624958089216},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-10 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998314496001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:29:54] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-10 21:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404778024580415488,"km_value":404778024580415.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264385624958089216,"description":"Unknown IO ID 45"} 
[2026-09-10 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998314496001,"power":27321,"unknown_108":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1264385624958089216}} 
[2026-09-10 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":179450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:29:54] local.INFO: GPS data processed {"connection_id":179450,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:29:54] local.INFO: Acknowledgment sent {"connection_id":179450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:30:04] local.INFO: TCP Data received {"connection_id":176922,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:04] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:04] local.INFO: Packet analysis {"connection_id":176922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:30:04] local.INFO: Extracted packet for processing {"connection_id":176922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30: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-09-10 21:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:30: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-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:30:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":176922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:30:05] local.INFO: GPS data processed {"connection_id":176922,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:30:05] local.INFO: Acknowledgment sent {"connection_id":176922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:30:05] local.INFO: TCP Data received {"connection_id":179451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:30:05] local.INFO: Processing buffer {"connection_id":179451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:30:05] local.INFO: IMEI packet received {"connection_id":179451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":179451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:30:23] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:23] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:23] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:30:24] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:24] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:24] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:30:28] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:28] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:30:28] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:30:29] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0af338012d118c8006e29908000900b82d..."} 
[2026-09-10 21:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0af338012d118c8006e29908000900b82d..."} 
[2026-09-10 21:30:29] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0af338012d118c8006e29908000900b82d..."} 
[2026-09-10 21:30:29] local.INFO: Packet analysis {"connection_id":176923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0a"} 
[2026-09-10 21:30:29] local.INFO: Extracted packet for processing {"connection_id":176923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0a"} 
[2026-09-10 21:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756124800,"raw_latitude":115513608,"longitude_deg":75.61248,"latitude_deg":11.5513608,"altitude":9,"angle":184,"satellites":45,"speed":52,"hex_longitude":"2d118c80","hex_latitude":"06e29908","is_valid_coordinates":true} 
[2026-09-10 21:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998314496001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404778466962046976,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264385624958089216,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789055923000,"timestamp_ms":1789055923000,"timestamp_seconds":1789055923,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0af338"} 
[2026-09-10 21:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998314496001,"66":27300,"108":206,"81":20480,"24":52,"16":404778466962046976,"45":1264385624958089216},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-10 21:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998314496001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:30:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-10 21:30:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404778466962046976,"km_value":404778466962047.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264385624958089216,"description":"Unknown IO ID 45"} 
[2026-09-10 21:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998314496001,"power":27300,"unknown_108":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1264385624958089216}} 
[2026-09-10 21:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":176923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:30:29] local.INFO: GPS data processed {"connection_id":176923,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:30:29] local.INFO: Acknowledgment sent {"connection_id":176923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:30:31] local.INFO: TCP Data received {"connection_id":176699,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:30:31] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:30:31] local.INFO: IMEI packet received {"connection_id":176699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":176699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:30:36] local.INFO: TCP Data received {"connection_id":176699,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:30:36] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:30:36] local.INFO: IMEI packet received {"connection_id":176699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":176699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:30:38] local.INFO: TCP Data received {"connection_id":176699,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:38] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:38] local.INFO: Packet analysis {"connection_id":176699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:30:38] local.INFO: Extracted packet for processing {"connection_id":176699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30: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-09-10 21:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:30: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-09-10 21:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:30:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":176699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:30:38] local.INFO: GPS data processed {"connection_id":176699,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:30:38] local.INFO: Acknowledgment sent {"connection_id":176699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:30:42] local.INFO: TCP Data received {"connection_id":176699,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:42] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:30:42] local.INFO: Packet analysis {"connection_id":176699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:30:42] local.INFO: Extracted packet for processing {"connection_id":176699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:30: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-09-10 21:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:30: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-09-10 21: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-09-10 21:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:30:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":176699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:30:42] local.INFO: GPS data processed {"connection_id":176699,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:30:42] local.INFO: Acknowledgment sent {"connection_id":176699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:31:01] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0c3770012d11c0c006e109f0000a00a52d..."} 
[2026-09-10 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0c3770012d11c0c006e109f0000a00a52d..."} 
[2026-09-10 21:31:01] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0c3770012d11c0c006e109f0000a00a52d..."} 
[2026-09-10 21:31:01] local.INFO: Packet analysis {"connection_id":176923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:31:01] local.INFO: Extracted packet for processing {"connection_id":176923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756138176,"raw_latitude":115411440,"longitude_deg":75.6138176,"latitude_deg":11.541144,"altitude":10,"angle":165,"satellites":45,"speed":54,"hex_longitude":"2d11c0c0","hex_latitude":"06e109f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998335744001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404783539318423552,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1275926098977056768,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789056006000,"timestamp_ms":1789056006000,"timestamp_seconds":1789056006,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0c3770"} 
[2026-09-10 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-09-10 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 21:31: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-09-10 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-09-10 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-09-10 21:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998335744001,"66":27245,"98":206,"81":20480,"24":54,"16":404783539318423552,"45":1275926098977056768},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-09-10 21:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998335744001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:31:01] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 21:31:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404783539318423552,"km_value":404783539318423.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1275926098977056768,"description":"Unknown IO ID 45"} 
[2026-09-10 21:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998335744001,"power":27245,"unknown_98":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1275926098977056768}} 
[2026-09-10 21:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":176923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:31:01] local.INFO: GPS data processed {"connection_id":176923,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:31:01] local.INFO: Acknowledgment sent {"connection_id":176923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:31:18] local.INFO: TCP Data received {"connection_id":178056,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:18] local.INFO: Processing buffer {"connection_id":178056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:18] local.INFO: IMEI packet received {"connection_id":178056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":178056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:31:22] local.INFO: TCP Data received {"connection_id":178056,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:22] local.INFO: Processing buffer {"connection_id":178056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:22] local.INFO: IMEI packet received {"connection_id":178056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":178056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:31:23] local.INFO: TCP Data received {"connection_id":178056,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:23] local.INFO: Processing buffer {"connection_id":178056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:31:23] local.INFO: IMEI packet received {"connection_id":178056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":178056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:31:24] local.INFO: TCP Data received {"connection_id":178056,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0c52c8012d11c78006e0e588000a00ae2d..."} 
[2026-09-10 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0c52c8012d11c78006e0e588000a00ae2d..."} 
[2026-09-10 21:31:24] local.INFO: Processing buffer {"connection_id":178056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0c52c8012d11c78006e0e588000a00ae2d..."} 
[2026-09-10 21:31:24] local.INFO: Packet analysis {"connection_id":178056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:31:24] local.INFO: Extracted packet for processing {"connection_id":178056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756139904,"raw_latitude":115402120,"longitude_deg":75.6139904,"latitude_deg":11.540212,"altitude":10,"angle":174,"satellites":45,"speed":53,"hex_longitude":"2d11c780","hex_latitude":"06e0e588","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998337536001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404783998879924224,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1279233429951082496,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789056013000,"timestamp_ms":1789056013000,"timestamp_seconds":1789056013,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0c52c8"} 
[2026-09-10 21:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 21:31:24] 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-09-10 21: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-09-10 21:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998337536001,"66":27300,"98":206,"81":20480,"24":53,"16":404783998879924224,"45":1279233429951082496},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-09-10 21:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998337536001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:31:24] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 21:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404783998879924224,"km_value":404783998879924.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1279233429951082496,"description":"Unknown IO ID 45"} 
[2026-09-10 21:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998337536001,"power":27300,"unknown_98":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1279233429951082496}} 
[2026-09-10 21:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":178056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:31:24] local.INFO: GPS data processed {"connection_id":178056,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:31:24] local.INFO: Acknowledgment sent {"connection_id":178056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:31:26] local.INFO: TCP Data received {"connection_id":178057,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:31:26] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:31:26] local.INFO: IMEI packet received {"connection_id":178057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":178057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:31:31] local.INFO: TCP Data received {"connection_id":178057,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:31:31] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:31:31] local.INFO: IMEI packet received {"connection_id":178057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":178057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:31:33] local.INFO: TCP Data received {"connection_id":178057,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:31:33] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c08a948012d1965c0071feee00041005e28..."} 
[2026-09-10 21:31:33] local.INFO: Packet analysis {"connection_id":178057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:31:33] local.INFO: Extracted packet for processing {"connection_id":178057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c08"} 
[2026-09-10 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998200832001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789055773000,"timestamp_ms":1789055773000,"timestamp_seconds":1789055773,"priority":1,"record_length":96,"hex_timestamp":"000001a08c08a948"} 
[2026-09-10 21:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998200832001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998200832001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:31:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998200832001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":178057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:31:33] local.INFO: GPS data processed {"connection_id":178057,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:31:33] local.INFO: Acknowledgment sent {"connection_id":178057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:31:55] local.INFO: TCP Data received {"connection_id":178056,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0c6e20012d11cb0006e0c178000a00ad2e..."} 
[2026-09-10 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0c6e20012d11cb0006e0c178000a00ad2e..."} 
[2026-09-10 21:31:55] local.INFO: Processing buffer {"connection_id":178056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0c6e20012d11cb0006e0c178000a00ad2e..."} 
[2026-09-10 21:31:55] local.INFO: Packet analysis {"connection_id":178056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:31:55] local.INFO: Extracted packet for processing {"connection_id":178056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756140800,"raw_latitude":115392888,"longitude_deg":75.61408,"latitude_deg":11.5392888,"altitude":10,"angle":173,"satellites":46,"speed":52,"hex_longitude":"2d11cb00","hex_latitude":"06e0c178","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998339328001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404784449851490304,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1281133386041493504,"note":"Value kept but may cause issues"} 
[2026-09-10 21:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789056020000,"timestamp_ms":1789056020000,"timestamp_seconds":1789056020,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0c6e20"} 
[2026-09-10 21:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:31:55] 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-09-10 21: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-09-10 21:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998339328001,"66":27300,"98":206,"81":20480,"24":52,"16":404784449851490304,"45":1281133386041493504},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-09-10 21:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998339328001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:31:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-10 21:31:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404784449851490304,"km_value":404784449851490.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1281133386041493504,"description":"Unknown IO ID 45"} 
[2026-09-10 21:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998339328001,"power":27300,"unknown_98":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1281133386041493504}} 
[2026-09-10 21:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":178056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:31:55] local.INFO: GPS data processed {"connection_id":178056,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:31:55] local.INFO: Acknowledgment sent {"connection_id":178056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:32:04] local.INFO: TCP Data received {"connection_id":178057,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:32:04] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:32:04] local.INFO: Packet analysis {"connection_id":178057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:32:04] local.INFO: Extracted packet for processing {"connection_id":178057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32: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-09-10 21:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:32:04] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":178057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:32:04] local.INFO: GPS data processed {"connection_id":178057,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:32:04] local.INFO: Acknowledgment sent {"connection_id":178057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:32:22] local.INFO: TCP Data received {"connection_id":176925,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:22] local.INFO: Processing buffer {"connection_id":176925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:22] local.INFO: IMEI packet received {"connection_id":176925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":176925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:32:23] local.INFO: TCP Data received {"connection_id":176925,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:23] local.INFO: Processing buffer {"connection_id":176925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:23] local.INFO: IMEI packet received {"connection_id":176925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":176925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:32:26] local.INFO: TCP Data received {"connection_id":176926,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:32:26] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:32:26] local.INFO: IMEI packet received {"connection_id":176926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":176926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:32:28] local.INFO: TCP Data received {"connection_id":176925,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:28] local.INFO: Processing buffer {"connection_id":176925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:32:28] local.INFO: IMEI packet received {"connection_id":176925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":176925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:32:29] local.INFO: TCP Data received {"connection_id":176925,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0c8978012d11cf0006e09e60000a00ac2e..."} 
[2026-09-10 21:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0c8978012d11cf0006e09e60000a00ac2e..."} 
[2026-09-10 21:32:29] local.INFO: Processing buffer {"connection_id":176925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0c8978012d11cf0006e09e60000a00ac2e..."} 
[2026-09-10 21:32:29] local.INFO: Packet analysis {"connection_id":176925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:32:29] local.INFO: Extracted packet for processing {"connection_id":176925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0c"} 
[2026-09-10 21:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756141824,"raw_latitude":115383904,"longitude_deg":75.6141824,"latitude_deg":11.5383904,"altitude":10,"angle":172,"satellites":46,"speed":50,"hex_longitude":"2d11cf00","hex_latitude":"06e09e60","is_valid_coordinates":true} 
[2026-09-10 21:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998341120001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404784887938154496,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1282118548457617408,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789056027000,"timestamp_ms":1789056027000,"timestamp_seconds":1789056027,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0c8978"} 
[2026-09-10 21:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998341120001,"66":27234,"97":206,"81":20480,"24":50,"16":404784887938154496,"45":1282118548457617408},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 21:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998341120001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:32:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 21:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404784887938154496,"km_value":404784887938154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1282118548457617408,"description":"Unknown IO ID 45"} 
[2026-09-10 21:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998341120001,"power":27234,"unknown_97":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1282118548457617408}} 
[2026-09-10 21:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":176925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:32:29] local.INFO: GPS data processed {"connection_id":176925,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:32:29] local.INFO: Acknowledgment sent {"connection_id":176925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:32:31] local.INFO: TCP Data received {"connection_id":176926,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:32:31] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:32:31] local.INFO: IMEI packet received {"connection_id":176926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":176926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:32:33] local.INFO: TCP Data received {"connection_id":176926,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:32:33] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:32:33] local.INFO: Packet analysis {"connection_id":176926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:32:33] local.INFO: Extracted packet for processing {"connection_id":176926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 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-09-10 21:32:33] 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-09-10 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 21:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:32:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:32:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":176926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:32:33] local.INFO: GPS data processed {"connection_id":176926,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:32:33] local.INFO: Acknowledgment sent {"connection_id":176926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:33:00] local.INFO: TCP Data received {"connection_id":176925,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0df4c0012d12344006dee3c0000d00a62f..."} 
[2026-09-10 21:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0df4c0012d12344006dee3c0000d00a62f..."} 
[2026-09-10 21:33:00] local.INFO: Processing buffer {"connection_id":176925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0df4c0012d12344006dee3c0000d00a62f..."} 
[2026-09-10 21:33:00] local.INFO: Packet analysis {"connection_id":176925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:00] local.INFO: Extracted packet for processing {"connection_id":176925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756167744,"raw_latitude":115270592,"longitude_deg":75.6167744,"latitude_deg":11.5270592,"altitude":13,"angle":166,"satellites":47,"speed":50,"hex_longitude":"2d123440","hex_latitude":"06dee3c0","is_valid_coordinates":true} 
[2026-09-10 21:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998364672001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404790527230214144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1309351252425562112,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789056120000,"timestamp_ms":1789056120000,"timestamp_seconds":1789056120,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0df4c0"} 
[2026-09-10 21:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":240,"data_length":795,"current_offset":136} 
[2026-09-10 21:33: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-09-10 21:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998364672001,"66":27300,"67":206,"81":20480,"24":50,"16":404790527230214144,"45":1309351252425562112},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 21:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998364672001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:33:00] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 21:33:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404790527230214144,"km_value":404790527230214.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1309351252425562112,"description":"Unknown IO ID 45"} 
[2026-09-10 21:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998364672001,"power":27300,"unknown_67":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1309351252425562112}} 
[2026-09-10 21:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":176925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:33:00] local.INFO: GPS data processed {"connection_id":176925,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:33:00] local.INFO: Acknowledgment sent {"connection_id":176925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:33:04] local.INFO: TCP Data received {"connection_id":176926,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:04] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:04] local.INFO: Packet analysis {"connection_id":176926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:04] local.INFO: Extracted packet for processing {"connection_id":176926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:33:04] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":176926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:33:05] local.INFO: GPS data processed {"connection_id":176926,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:33:05] local.INFO: Acknowledgment sent {"connection_id":176926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:33:16] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:16] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:16] local.INFO: IMEI packet received {"connection_id":178058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":178058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:33:18] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:18] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:18] local.INFO: IMEI packet received {"connection_id":178058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":178058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:33:22] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:22] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:33:22] local.INFO: IMEI packet received {"connection_id":178058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":178058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:33:23] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0e1018012d123e8006dec260000e00a02f..."} 
[2026-09-10 21:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0e1018012d123e8006dec260000e00a02f..."} 
[2026-09-10 21:33:23] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0e1018012d123e8006dec260000e00a02f..."} 
[2026-09-10 21:33:23] local.INFO: Packet analysis {"connection_id":178058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:33:23] local.INFO: Extracted packet for processing {"connection_id":178058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756170368,"raw_latitude":115262048,"longitude_deg":75.6170368,"latitude_deg":11.5262048,"altitude":14,"angle":160,"satellites":47,"speed":50,"hex_longitude":"2d123e80","hex_latitude":"06dec260","is_valid_coordinates":true} 
[2026-09-10 21:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998366720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404790956726943744,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1311743789725106176,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789056127000,"timestamp_ms":1789056127000,"timestamp_seconds":1789056127,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0e1018"} 
[2026-09-10 21:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:33: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-09-10 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:33:23] 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-09-10 21:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998366720001,"66":27234,"67":206,"81":20480,"24":50,"16":404790956726943744,"45":1311743789725106176},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 21:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998366720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:33:23] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 21:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404790956726943744,"km_value":404790956726943.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1311743789725106176,"description":"Unknown IO ID 45"} 
[2026-09-10 21:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998366720001,"power":27234,"unknown_67":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1311743789725106176}} 
[2026-09-10 21:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":178058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:33:23] local.INFO: GPS data processed {"connection_id":178058,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:33:23] local.INFO: Acknowledgment sent {"connection_id":178058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:33:31] local.INFO: TCP Data received {"connection_id":176701,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:33:31] local.INFO: Processing buffer {"connection_id":176701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:33:31] local.INFO: IMEI packet received {"connection_id":176701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":176701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:33:36] local.INFO: TCP Data received {"connection_id":176701,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:33:36] local.INFO: Processing buffer {"connection_id":176701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:33:36] local.INFO: IMEI packet received {"connection_id":176701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":176701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:33:38] local.INFO: TCP Data received {"connection_id":176701,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:38] local.INFO: Processing buffer {"connection_id":176701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:38] local.INFO: Packet analysis {"connection_id":176701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:38] local.INFO: Extracted packet for processing {"connection_id":176701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33: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-09-10 21:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:33:38] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:33: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-09-10 21: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-09-10 21:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:33:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":176701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:33:38] local.INFO: GPS data processed {"connection_id":176701,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:33:38] local.INFO: Acknowledgment sent {"connection_id":176701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:33:42] local.INFO: TCP Data received {"connection_id":176701,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:42] local.INFO: Processing buffer {"connection_id":176701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:33:42] local.INFO: Packet analysis {"connection_id":176701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:42] local.INFO: Extracted packet for processing {"connection_id":176701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:33:42] 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-09-10 21:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:33:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":176701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:33:42] local.INFO: GPS data processed {"connection_id":176701,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:33:42] local.INFO: Acknowledgment sent {"connection_id":176701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:33:54] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0e3728012d1248c006dea2d8000d00b02f..."} 
[2026-09-10 21:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0e3728012d1248c006dea2d8000d00b02f..."} 
[2026-09-10 21:33:54] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0e3728012d1248c006dea2d8000d00b02f..."} 
[2026-09-10 21:33:54] local.INFO: Packet analysis {"connection_id":178058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:33:54] local.INFO: Extracted packet for processing {"connection_id":178058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756172992,"raw_latitude":115253976,"longitude_deg":75.6172992,"latitude_deg":11.5253976,"altitude":13,"angle":176,"satellites":47,"speed":14,"hex_longitude":"2d1248c0","hex_latitude":"06dea2d8","is_valid_coordinates":true} 
[2026-09-10 21:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998368512001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404791369043804160,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314628908234203136,"note":"Value kept but may cause issues"} 
[2026-09-10 21:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789056137000,"timestamp_ms":1789056137000,"timestamp_seconds":1789056137,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0e3728"} 
[2026-09-10 21:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:33:54] 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-09-10 21:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998368512001,"66":27343,"67":206,"81":20480,"24":14,"16":404791369043804160,"45":1314628908234203136},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 21:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998368512001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:33:55] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 21:33:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404791369043804160,"km_value":404791369043804.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314628908234203136,"description":"Unknown IO ID 45"} 
[2026-09-10 21:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998368512001,"power":27343,"unknown_67":206,"unknown_81":20480,"ignition":14,"odometer":null,"unknown_45":1314628908234203136}} 
[2026-09-10 21:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":178058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:33:55] local.INFO: GPS data processed {"connection_id":178058,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:33:55] local.INFO: Acknowledgment sent {"connection_id":178058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:34:17] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:17] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:17] local.INFO: IMEI packet received {"connection_id":178059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":178059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:34:18] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:18] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:18] local.INFO: IMEI packet received {"connection_id":178059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":178059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:34:23] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:23] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:34:23] local.INFO: IMEI packet received {"connection_id":178059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":178059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:34:24] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0e5280012d12498006de9868000c00a52f..."} 
[2026-09-10 21:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0e5280012d12498006de9868000c00a52f..."} 
[2026-09-10 21:34:24] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0e5280012d12498006de9868000c00a52f..."} 
[2026-09-10 21:34:24] local.INFO: Packet analysis {"connection_id":178059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:34:24] local.INFO: Extracted packet for processing {"connection_id":178059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756173184,"raw_latitude":115251304,"longitude_deg":75.6173184,"latitude_deg":11.5251304,"altitude":12,"angle":165,"satellites":47,"speed":16,"hex_longitude":"2d124980","hex_latitude":"06de9868","is_valid_coordinates":true} 
[2026-09-10 21:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998371072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404791502187790336,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1317514026743420928,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789056144000,"timestamp_ms":1789056144000,"timestamp_seconds":1789056144,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0e5280"} 
[2026-09-10 21:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 21:34:24] 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-09-10 21:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998371072001,"66":27321,"67":206,"81":20480,"24":16,"16":404791502187790336,"45":1317514026743420928},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 21:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998371072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:34:24] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 21:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404791502187790336,"km_value":404791502187790.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1317514026743420928,"description":"Unknown IO ID 45"} 
[2026-09-10 21:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998371072001,"power":27321,"unknown_67":206,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":1317514026743420928}} 
[2026-09-10 21:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":178059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:34:24] local.INFO: GPS data processed {"connection_id":178059,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:34:24] local.INFO: Acknowledgment sent {"connection_id":178059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:34:26] local.INFO: TCP Data received {"connection_id":176927,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:34:26] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:34:26] local.INFO: IMEI packet received {"connection_id":176927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":176927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:34:31] local.INFO: TCP Data received {"connection_id":176927,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:34:31] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:34:31] local.INFO: IMEI packet received {"connection_id":176927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":176927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:34:32] local.INFO: TCP Data received {"connection_id":176927,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:34:32] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:34:32] local.INFO: Packet analysis {"connection_id":176927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:34:32] local.INFO: Extracted packet for processing {"connection_id":176927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:34:32] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:34:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":176927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:34:32] local.INFO: GPS data processed {"connection_id":176927,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:34:32] local.INFO: Acknowledgment sent {"connection_id":176927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:34:57] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0e8930012d12518006de7ef8000c00992f..."} 
[2026-09-10 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0e8930012d12518006de7ef8000c00992f..."} 
[2026-09-10 21:34:57] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0e8930012d12518006de7ef8000c00992f..."} 
[2026-09-10 21:34:57] local.INFO: Packet analysis {"connection_id":178059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:34:57] local.INFO: Extracted packet for processing {"connection_id":178059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0e"} 
[2026-09-10 21:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756175232,"raw_latitude":115244792,"longitude_deg":75.6175232,"latitude_deg":11.5244792,"altitude":12,"angle":153,"satellites":47,"speed":23,"hex_longitude":"2d125180","hex_latitude":"06de7ef8","is_valid_coordinates":true} 
[2026-09-10 21:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998372864001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404791832900272128,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1317725132975269888,"note":"Value kept but may cause issues"} 
[2026-09-10 21:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789056158000,"timestamp_ms":1789056158000,"timestamp_seconds":1789056158,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0e8930"} 
[2026-09-10 21:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:34:57] 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-09-10 21:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998372864001,"66":27267,"67":206,"81":20480,"24":23,"16":404791832900272128,"45":1317725132975269888},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 21:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998372864001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:34:57] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 21:34:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404791832900272128,"km_value":404791832900272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1317725132975269888,"description":"Unknown IO ID 45"} 
[2026-09-10 21:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998372864001,"power":27267,"unknown_67":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":1317725132975269888}} 
[2026-09-10 21:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":178059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:34:57] local.INFO: GPS data processed {"connection_id":178059,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:34:57] local.INFO: Acknowledgment sent {"connection_id":178059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:35:05] local.INFO: TCP Data received {"connection_id":176927,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:35:05] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:35:05] local.INFO: Packet analysis {"connection_id":176927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:35:05] local.INFO: Extracted packet for processing {"connection_id":176927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 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-09-10 21:35:05] 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-09-10 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":96,"data_length":795,"current_offset":136} 
[2026-09-10 21: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-09-10 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-09-10 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-09-10 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":176927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:35:05] local.INFO: GPS data processed {"connection_id":176927,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:35:05] local.INFO: Acknowledgment sent {"connection_id":176927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:35:18] local.INFO: TCP Data received {"connection_id":178060,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:18] local.INFO: Processing buffer {"connection_id":178060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:18] local.INFO: IMEI packet received {"connection_id":178060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":178060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:35:19] local.INFO: TCP Data received {"connection_id":178060,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:19] local.INFO: Processing buffer {"connection_id":178060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:19] local.INFO: IMEI packet received {"connection_id":178060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":178060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:35:23] local.INFO: TCP Data received {"connection_id":178060,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:23] local.INFO: Processing buffer {"connection_id":178060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:35:23] local.INFO: IMEI packet received {"connection_id":178060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":178060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:35:25] local.INFO: TCP Data received {"connection_id":178060,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0ff478012d12c1c006dd20700011009e2e..."} 
[2026-09-10 21:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0ff478012d12c1c006dd20700011009e2e..."} 
[2026-09-10 21:35:25] local.INFO: Processing buffer {"connection_id":178060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0ff478012d12c1c006dd20700011009e2e..."} 
[2026-09-10 21:35:25] local.INFO: Packet analysis {"connection_id":178060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0f"} 
[2026-09-10 21:35:25] local.INFO: Extracted packet for processing {"connection_id":178060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0f"} 
[2026-09-10 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":756203968,"raw_latitude":115155056,"longitude_deg":75.6203968,"latitude_deg":11.5155056,"altitude":17,"angle":158,"satellites":46,"speed":46,"hex_longitude":"2d12c1c0","hex_latitude":"06dd2070","is_valid_coordinates":true} 
[2026-09-10 21:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998398208001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404796462875017216,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1347139268019066880,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789056251000,"timestamp_ms":1789056251000,"timestamp_seconds":1789056251,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0ff478"} 
[2026-09-10 21:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 21:35:25] 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-09-10 21:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998398208001,"66":27343,"67":206,"81":20480,"24":46,"16":404796462875017216,"45":1347139268019066880},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-10 21:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998398208001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:35:25] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-10 21:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404796462875017216,"km_value":404796462875017.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1347139268019066880,"description":"Unknown IO ID 45"} 
[2026-09-10 21:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998398208001,"power":27343,"unknown_67":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1347139268019066880}} 
[2026-09-10 21:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":178060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:35:25] local.INFO: GPS data processed {"connection_id":178060,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:35:25] local.INFO: Acknowledgment sent {"connection_id":178060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:35:27] local.INFO: TCP Data received {"connection_id":178061,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:35:27] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:35:27] local.INFO: IMEI packet received {"connection_id":178061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":178061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:35:31] local.INFO: TCP Data received {"connection_id":178061,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:35:31] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:35:31] local.INFO: IMEI packet received {"connection_id":178061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":178061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:35:32] local.INFO: TCP Data received {"connection_id":178061,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:35:32] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:35:32] local.INFO: Packet analysis {"connection_id":178061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:35:32] local.INFO: Extracted packet for processing {"connection_id":178061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:35:32] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:35:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":178061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:35:33] local.INFO: GPS data processed {"connection_id":178061,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:35:33] local.INFO: Acknowledgment sent {"connection_id":178061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:35:38] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:35:38] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:35:38] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:35:56] local.INFO: TCP Data received {"connection_id":178060,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1013b8012d12cdc006dcff28001000a12f..."} 
[2026-09-10 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1013b8012d12cdc006dcff28001000a12f..."} 
[2026-09-10 21:35:56] local.INFO: Processing buffer {"connection_id":178060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1013b8012d12cdc006dcff28001000a12f..."} 
[2026-09-10 21:35:56] local.INFO: Packet analysis {"connection_id":178060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c10"} 
[2026-09-10 21:35:56] local.INFO: Extracted packet for processing {"connection_id":178060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c10"} 
[2026-09-10 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756207040,"raw_latitude":115146536,"longitude_deg":75.620704,"latitude_deg":11.5146536,"altitude":16,"angle":161,"satellites":47,"speed":45,"hex_longitude":"2d12cdc0","hex_latitude":"06dcff28","is_valid_coordinates":true} 
[2026-09-10 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998400256001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404796900961681408,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1351572498900086784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789056259000,"timestamp_ms":1789056259000,"timestamp_seconds":1789056259,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1013b8"} 
[2026-09-10 21:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:35: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-09-10 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 21:35:56] 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-09-10 21:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998400256001,"66":27180,"65":206,"81":20480,"24":45,"16":404796900961681408,"45":1351572498900086784},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-10 21:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998400256001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:35:56] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-10 21:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404796900961681408,"km_value":404796900961681.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1351572498900086784,"description":"Unknown IO ID 45"} 
[2026-09-10 21:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998400256001,"power":27180,"unknown_65":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1351572498900086784}} 
[2026-09-10 21:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":178060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:35:56] local.INFO: GPS data processed {"connection_id":178060,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:35:56] local.INFO: Acknowledgment sent {"connection_id":178060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:36:04] local.INFO: TCP Data received {"connection_id":178061,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:36:04] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:36:04] local.INFO: Packet analysis {"connection_id":178061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:36:04] local.INFO: Extracted packet for processing {"connection_id":178061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36: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-09-10 21:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:36:04] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:36:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":178061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:36:04] local.INFO: GPS data processed {"connection_id":178061,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:36:04] local.INFO: Acknowledgment sent {"connection_id":178061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:36:18] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:36:18] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:36:18] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:36:23] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:36:23] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:36:23] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:36:25] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1032f8012d12dcc006dcdbf8000f00972e..."} 
[2026-09-10 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1032f8012d12dcc006dcdbf8000f00972e..."} 
[2026-09-10 21:36:25] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1032f8012d12dcc006dcdbf8000f00972e..."} 
[2026-09-10 21:36:25] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c10"} 
[2026-09-10 21:36:25] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c10"} 
[2026-09-10 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":756210880,"raw_latitude":115137528,"longitude_deg":75.621088,"latitude_deg":11.5137528,"altitude":15,"angle":151,"satellites":46,"speed":51,"hex_longitude":"2d12dcc0","hex_latitude":"06dcdbf8","is_valid_coordinates":true} 
[2026-09-10 21:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998402304001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404797373408083968,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1354950198618433536,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 21:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789056267000,"timestamp_ms":1789056267000,"timestamp_seconds":1789056267,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1032f8"} 
[2026-09-10 21:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 21:36:25] 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-09-10 21:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998402304001,"66":206,"81":20480,"24":51,"16":404797373408083968,"45":1354950198618433536},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 21:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998402304001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404797373408083968,"km_value":404797373408083.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1354950198618433536,"description":"Unknown IO ID 45"} 
[2026-09-10 21:36:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998402304001,"power":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1354950198618433536}} 
[2026-09-10 21:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:36:25] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:36:25] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:36:26] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:36:26] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:36:26] local.INFO: IMEI packet received {"connection_id":176704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":176704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:36:31] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:36:31] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:36:31] local.INFO: IMEI packet received {"connection_id":176704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":176704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:36:33] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:36:33] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c0d4110012d1965c0071feee00041005e28..."} 
[2026-09-10 21:36:33] local.INFO: Packet analysis {"connection_id":176704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:36:33] local.INFO: Extracted packet for processing {"connection_id":176704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c0d"} 
[2026-09-10 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998277888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056074000,"timestamp_ms":1789056074000,"timestamp_seconds":1789056074,"priority":1,"record_length":96,"hex_timestamp":"000001a08c0d4110"} 
[2026-09-10 21:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:36:33] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998277888001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998277888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:36:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998277888001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":176704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:36:33] local.INFO: GPS data processed {"connection_id":176704,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:36:33] local.INFO: Acknowledgment sent {"connection_id":176704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:36:56] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c117730012d13860006db7cb8000a00932f..."} 
[2026-09-10 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c117730012d13860006db7cb8000a00932f..."} 
[2026-09-10 21:36:56] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c117730012d13860006db7cb8000a00932f..."} 
[2026-09-10 21:36:56] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:36:56] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756254208,"raw_latitude":115047608,"longitude_deg":75.6254208,"latitude_deg":11.5047608,"altitude":10,"angle":147,"satellites":47,"speed":28,"hex_longitude":"2d138600","hex_latitude":"06db7cb8","is_valid_coordinates":true} 
[2026-09-10 21:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998424320001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404802218131193856,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404349057006952448,"note":"Value kept but may cause issues"} 
[2026-09-10 21:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789056350000,"timestamp_ms":1789056350000,"timestamp_seconds":1789056350,"priority":1,"record_length":96,"hex_timestamp":"000001a08c117730"} 
[2026-09-10 21:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:36: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-09-10 21:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998424320001,"66":27234,"152":206,"81":20480,"24":28,"16":404802218131193856,"45":1404349057006952448},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 21:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998424320001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:36:56] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 21:36:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404802218131193856,"km_value":404802218131193.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404349057006952448,"description":"Unknown IO ID 45"} 
[2026-09-10 21:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998424320001,"power":27234,"unknown_152":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1404349057006952448}} 
[2026-09-10 21:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:36:56] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:36:56] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:37:04] local.INFO: TCP Data received {"connection_id":176704,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:04] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:04] local.INFO: Packet analysis {"connection_id":176704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:04] local.INFO: Extracted packet for processing {"connection_id":176704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37: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-09-10 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 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-09-10 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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-09-10 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-09-10 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-09-10 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-09-10 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":176704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:37:04] local.INFO: GPS data processed {"connection_id":176704,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:37:04] local.INFO: Acknowledgment sent {"connection_id":176704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:37:18] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:37:18] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:37:18] local.INFO: IMEI packet received {"connection_id":176929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":176929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:37:24] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:37:24] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:37:24] local.INFO: IMEI packet received {"connection_id":176929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":176929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:37:25] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c118ea0012d138c8006db72a8000a009f2f..."} 
[2026-09-10 21:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c118ea0012d138c8006db72a8000a009f2f..."} 
[2026-09-10 21:37:25] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c118ea0012d138c8006db72a8000a009f2f..."} 
[2026-09-10 21:37:25] local.INFO: Packet analysis {"connection_id":176929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:25] local.INFO: Extracted packet for processing {"connection_id":176929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:25] local.INFO: GPS Element Parsed {"raw_longitude":756255872,"raw_latitude":115045032,"longitude_deg":75.6255872,"latitude_deg":11.5045032,"altitude":10,"angle":159,"satellites":47,"speed":17,"hex_longitude":"2d138c80","hex_latitude":"06db72a8","is_valid_coordinates":true} 
[2026-09-10 21:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998425600001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404802364160081920,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1406811963052046336,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789056356000,"timestamp_ms":1789056356000,"timestamp_seconds":1789056356,"priority":1,"record_length":96,"hex_timestamp":"000001a08c118ea0"} 
[2026-09-10 21:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:37:25] 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-09-10 21:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998425600001,"66":27267,"152":206,"81":20480,"24":17,"16":404802364160081920,"45":1406811963052046336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 21:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998425600001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:37:25] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 21:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404802364160081920,"km_value":404802364160081.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1406811963052046336,"description":"Unknown IO ID 45"} 
[2026-09-10 21:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998425600001,"power":27267,"unknown_152":206,"unknown_81":20480,"ignition":17,"odometer":null,"unknown_45":1406811963052046336}} 
[2026-09-10 21:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":176929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:37:25] local.INFO: GPS data processed {"connection_id":176929,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:37:25] local.INFO: Acknowledgment sent {"connection_id":176929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:37:26] local.INFO: TCP Data received {"connection_id":179455,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:37:26] local.INFO: Processing buffer {"connection_id":179455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:37:26] local.INFO: IMEI packet received {"connection_id":179455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":179455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:37:31] local.INFO: TCP Data received {"connection_id":179455,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:37:31] local.INFO: Processing buffer {"connection_id":179455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:37:31] local.INFO: IMEI packet received {"connection_id":179455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":179455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:37:32] local.INFO: TCP Data received {"connection_id":179455,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:32] local.INFO: Processing buffer {"connection_id":179455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:32] local.INFO: Packet analysis {"connection_id":179455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:32] local.INFO: Extracted packet for processing {"connection_id":179455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:37:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":179455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:37:32] local.INFO: GPS data processed {"connection_id":179455,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:37:32] local.INFO: Acknowledgment sent {"connection_id":179455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:37:37] local.INFO: TCP Data received {"connection_id":179455,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:37] local.INFO: Processing buffer {"connection_id":179455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:37:37] local.INFO: Packet analysis {"connection_id":179455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:37] local.INFO: Extracted packet for processing {"connection_id":179455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37: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-09-10 21:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 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-09-10 21:37: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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:37: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-09-10 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-09-10 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-09-10 21:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":179455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:37:37] local.INFO: GPS data processed {"connection_id":179455,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:37:37] local.INFO: Acknowledgment sent {"connection_id":179455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:37:55] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11cd20012d139bc006db4ff8000a009d2e..."} 
[2026-09-10 21:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11cd20012d139bc006db4ff8000a009d2e..."} 
[2026-09-10 21:37:55] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11cd20012d139bc006db4ff8000a009d2e..."} 
[2026-09-10 21:37:55] local.INFO: Packet analysis {"connection_id":176929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:55] local.INFO: Extracted packet for processing {"connection_id":176929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756259776,"raw_latitude":115036152,"longitude_deg":75.6259776,"latitude_deg":11.5036152,"altitude":10,"angle":157,"satellites":46,"speed":33,"hex_longitude":"2d139bc0","hex_latitude":"06db4ff8","is_valid_coordinates":true} 
[2026-09-10 21:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998427136001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404802836606484480,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1408641550400006144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789056372000,"timestamp_ms":1789056372000,"timestamp_seconds":1789056372,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11cd20"} 
[2026-09-10 21:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998427136001,"66":27267,"152":206,"81":20480,"24":33,"16":404802836606484480,"45":1408641550400006144},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 21:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998427136001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:37:55] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 21:37:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404802836606484480,"km_value":404802836606484.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1408641550400006144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998427136001,"power":27267,"unknown_152":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1408641550400006144}} 
[2026-09-10 21:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":176929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:37:56] local.INFO: GPS data processed {"connection_id":176929,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:37:56] local.INFO: Acknowledgment sent {"connection_id":176929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:38:08] local.INFO: TCP Data received {"connection_id":179455,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:38:08] local.INFO: Processing buffer {"connection_id":179455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:38:08] local.INFO: Packet analysis {"connection_id":179455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:38:08] local.INFO: Extracted packet for processing {"connection_id":179455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38: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-09-10 21:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:38: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-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:38:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":179455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:38:08] local.INFO: GPS data processed {"connection_id":179455,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:38:08] local.INFO: Acknowledgment sent {"connection_id":179455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:38:18] local.INFO: TCP Data received {"connection_id":176930,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:18] local.INFO: Processing buffer {"connection_id":176930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:18] local.INFO: IMEI packet received {"connection_id":176930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":176930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:38:18] local.INFO: TCP Data received {"connection_id":176930,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:18] local.INFO: Processing buffer {"connection_id":176930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:18] local.INFO: IMEI packet received {"connection_id":176930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":176930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:38:23] local.INFO: TCP Data received {"connection_id":176930,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:23] local.INFO: Processing buffer {"connection_id":176930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:38:23] local.INFO: IMEI packet received {"connection_id":176930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":176930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:38:24] local.INFO: TCP Data received {"connection_id":176930,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11f818012d13a84006db2dd8000a00a52f..."} 
[2026-09-10 21:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11f818012d13a84006db2dd8000a00a52f..."} 
[2026-09-10 21:38:24] local.INFO: Processing buffer {"connection_id":176930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11f818012d13a84006db2dd8000a00a52f..."} 
[2026-09-10 21:38:24] local.INFO: Packet analysis {"connection_id":176930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:38:24] local.INFO: Extracted packet for processing {"connection_id":176930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756262976,"raw_latitude":115027416,"longitude_deg":75.6262976,"latitude_deg":11.5027416,"altitude":10,"angle":165,"satellites":47,"speed":31,"hex_longitude":"2d13a840","hex_latitude":"06db2dd8","is_valid_coordinates":true} 
[2026-09-10 21:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998431232001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404803287578050560,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1412934043792570368,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789056383000,"timestamp_ms":1789056383000,"timestamp_seconds":1789056383,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11f818"} 
[2026-09-10 21:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998431232001,"66":27267,"152":206,"81":20480,"24":31,"16":404803287578050560,"45":1412934043792570368},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 21:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998431232001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:38:24] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 21:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404803287578050560,"km_value":404803287578050.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1412934043792570368,"description":"Unknown IO ID 45"} 
[2026-09-10 21:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998431232001,"power":27267,"unknown_152":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1412934043792570368}} 
[2026-09-10 21:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":176930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:38:24] local.INFO: GPS data processed {"connection_id":176930,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:38:24] local.INFO: Acknowledgment sent {"connection_id":176930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:38:26] local.INFO: TCP Data received {"connection_id":178063,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:38:26] local.INFO: Processing buffer {"connection_id":178063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:38:26] local.INFO: IMEI packet received {"connection_id":178063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":178063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:38:34] local.INFO: TCP Data received {"connection_id":178063,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:38:34] local.INFO: Processing buffer {"connection_id":178063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:38:34] local.INFO: IMEI packet received {"connection_id":178063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":178063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:38:35] local.INFO: TCP Data received {"connection_id":178063,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:38:35] local.INFO: Processing buffer {"connection_id":178063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:38:35] local.INFO: Packet analysis {"connection_id":178063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:38:35] local.INFO: Extracted packet for processing {"connection_id":178063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38: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-09-10 21:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:38:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":178063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:38:35] local.INFO: GPS data processed {"connection_id":178063,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:38:35] local.INFO: Acknowledgment sent {"connection_id":178063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:38:56] local.INFO: TCP Data received {"connection_id":176930,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c122310012d13ae4006db0b38000800b02e..."} 
[2026-09-10 21:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c122310012d13ae4006db0b38000800b02e..."} 
[2026-09-10 21:38:56] local.INFO: Processing buffer {"connection_id":176930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c122310012d13ae4006db0b38000800b02e..."} 
[2026-09-10 21:38:56] local.INFO: Packet analysis {"connection_id":176930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c12"} 
[2026-09-10 21:38:56] local.INFO: Extracted packet for processing {"connection_id":176930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c12"} 
[2026-09-10 21:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756264512,"raw_latitude":115018552,"longitude_deg":75.6264512,"latitude_deg":11.5018552,"altitude":8,"angle":176,"satellites":46,"speed":33,"hex_longitude":"2d13ae40","hex_latitude":"06db0b38","is_valid_coordinates":true} 
[2026-09-10 21:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998434048001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404803721369747456,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1416452480999217152,"note":"Value kept but may cause issues"} 
[2026-09-10 21:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789056394000,"timestamp_ms":1789056394000,"timestamp_seconds":1789056394,"priority":1,"record_length":96,"hex_timestamp":"000001a08c122310"} 
[2026-09-10 21:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998434048001,"66":27234,"152":206,"81":20480,"24":33,"16":404803721369747456,"45":1416452480999217152},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-10 21:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998434048001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:38:56] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-10 21:38:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404803721369747456,"km_value":404803721369747.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1416452480999217152,"description":"Unknown IO ID 45"} 
[2026-09-10 21:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998434048001,"power":27234,"unknown_152":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1416452480999217152}} 
[2026-09-10 21:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":176930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:38:56] local.INFO: GPS data processed {"connection_id":176930,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:38:56] local.INFO: Acknowledgment sent {"connection_id":176930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:39:07] local.INFO: TCP Data received {"connection_id":178063,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:39:07] local.INFO: Processing buffer {"connection_id":178063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:39:07] local.INFO: Packet analysis {"connection_id":178063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:39:07] local.INFO: Extracted packet for processing {"connection_id":178063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39: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-09-10 21:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:39: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-09-10 21:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:39: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-09-10 21:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:39:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":178063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:39:07] local.INFO: GPS data processed {"connection_id":178063,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:39:07] local.INFO: Acknowledgment sent {"connection_id":178063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:39:21] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:21] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:21] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:39:23] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:23] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:23] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:39:26] local.INFO: TCP Data received {"connection_id":179457,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:39:26] local.INFO: Processing buffer {"connection_id":179457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:39:26] local.INFO: IMEI packet received {"connection_id":179457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":179457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:39:28] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:28] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:39:28] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:39:29] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c13c8f0012d13d84006d9b808000c00b629..."} 
[2026-09-10 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c13c8f0012d13d84006d9b808000c00b629..."} 
[2026-09-10 21:39:29] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c13c8f0012d13d84006d9b808000c00b629..."} 
[2026-09-10 21:39:29] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c13"} 
[2026-09-10 21:39:29] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c13"} 
[2026-09-10 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756275264,"raw_latitude":114931720,"longitude_deg":75.6275264,"latitude_deg":11.493172,"altitude":12,"angle":182,"satellites":41,"speed":38,"hex_longitude":"2d13d840","hex_latitude":"06d9b808","is_valid_coordinates":true} 
[2026-09-10 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998461952001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404807999157174272,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429752173626750976,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789056502000,"timestamp_ms":1789056502000,"timestamp_seconds":1789056502,"priority":1,"record_length":96,"hex_timestamp":"000001a08c13c8f0"} 
[2026-09-10 21:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 21:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998461952001,"66":27267,"88":206,"81":20480,"24":38,"16":404807999157174272,"45":1429752173626750976},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-10 21:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998461952001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:39:29] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-10 21:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404807999157174272,"km_value":404807999157174.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429752173626750976,"description":"Unknown IO ID 45"} 
[2026-09-10 21:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998461952001,"power":27267,"unknown_88":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1429752173626750976}} 
[2026-09-10 21:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:39:29] local.INFO: GPS data processed {"connection_id":176931,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:39:29] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:39:31] local.INFO: TCP Data received {"connection_id":179457,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:39:31] local.INFO: Processing buffer {"connection_id":179457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:39:31] local.INFO: IMEI packet received {"connection_id":179457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":179457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:39:32] local.INFO: TCP Data received {"connection_id":179457,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:39:32] local.INFO: Processing buffer {"connection_id":179457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:39:32] local.INFO: Packet analysis {"connection_id":179457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:39:32] local.INFO: Extracted packet for processing {"connection_id":179457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:39:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":179457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:39:33] local.INFO: GPS data processed {"connection_id":179457,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:39:33] local.INFO: Acknowledgment sent {"connection_id":179457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:40:01] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c13f000012d13d5c006d993c8000b00b72b..."} 
[2026-09-10 21:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c13f000012d13d5c006d993c8000b00b72b..."} 
[2026-09-10 21:40:01] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c13f000012d13d5c006d993c8000b00b72b..."} 
[2026-09-10 21:40:01] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c13"} 
[2026-09-10 21:40:01] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c13"} 
[2026-09-10 21:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756274624,"raw_latitude":114922440,"longitude_deg":75.6274624,"latitude_deg":11.492244,"altitude":11,"angle":183,"satellites":43,"speed":35,"hex_longitude":"2d13d5c0","hex_latitude":"06d993c8","is_valid_coordinates":true} 
[2026-09-10 21:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998464512001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404808450128740352,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429963279856830464,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789056512000,"timestamp_ms":1789056512000,"timestamp_seconds":1789056512,"priority":1,"record_length":96,"hex_timestamp":"000001a08c13f000"} 
[2026-09-10 21:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:40: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-09-10 21:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998464512001,"66":27104,"184":206,"81":20480,"24":35,"16":404808450128740352,"45":1429963279856830464},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-10 21:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998464512001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:40:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 21:40:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404808450128740352,"km_value":404808450128740.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429963279856830464,"description":"Unknown IO ID 45"} 
[2026-09-10 21:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998464512001,"power":27104,"unknown_184":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1429963279856830464}} 
[2026-09-10 21:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:40:01] local.INFO: GPS data processed {"connection_id":176931,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:40:01] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:40:04] local.INFO: TCP Data received {"connection_id":179457,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:04] local.INFO: Processing buffer {"connection_id":179457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:04] local.INFO: Packet analysis {"connection_id":179457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:40:04] local.INFO: Extracted packet for processing {"connection_id":179457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40: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-09-10 21:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:40:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":179457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:40:04] local.INFO: GPS data processed {"connection_id":179457,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:40:04] local.INFO: Acknowledgment sent {"connection_id":179457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:40:18] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:40:18] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:40:18] local.INFO: IMEI packet received {"connection_id":178065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":178065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:40:20] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:40:20] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:40:20] local.INFO: IMEI packet received {"connection_id":178065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":178065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:40:21] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c141af8012d13d4c006d96fe0000b00ae2b..."} 
[2026-09-10 21:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c141af8012d13d4c006d96fe0000b00ae2b..."} 
[2026-09-10 21:40:21] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c141af8012d13d4c006d96fe0000b00ae2b..."} 
[2026-09-10 21:40:21] local.INFO: Packet analysis {"connection_id":178065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:40:21] local.INFO: Extracted packet for processing {"connection_id":178065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756274368,"raw_latitude":114913248,"longitude_deg":75.6274368,"latitude_deg":11.4913248,"altitude":11,"angle":174,"satellites":43,"speed":30,"hex_longitude":"2d13d4c0","hex_latitude":"06d96fe0","is_valid_coordinates":true} 
[2026-09-10 21:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998467072001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404808896805339136,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429259592412678144,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789056523000,"timestamp_ms":1789056523000,"timestamp_seconds":1789056523,"priority":1,"record_length":96,"hex_timestamp":"000001a08c141af8"} 
[2026-09-10 21:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 21:40:21] 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-09-10 21:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998467072001,"66":27234,"184":206,"81":20480,"24":30,"16":404808896805339136,"45":1429259592412678144},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-10 21:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998467072001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:40:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 21:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404808896805339136,"km_value":404808896805339.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429259592412678144,"description":"Unknown IO ID 45"} 
[2026-09-10 21:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998467072001,"power":27234,"unknown_184":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1429259592412678144}} 
[2026-09-10 21:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":178065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:40:21] local.INFO: GPS data processed {"connection_id":178065,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:40:21] local.INFO: Acknowledgment sent {"connection_id":178065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:40:31] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:40:31] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:40:31] local.INFO: IMEI packet received {"connection_id":176705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":176705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:40:36] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:40:36] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:40:36] local.INFO: IMEI packet received {"connection_id":176705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":176705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:40:38] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:38] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:38] local.INFO: Packet analysis {"connection_id":176705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:40:38] local.INFO: Extracted packet for processing {"connection_id":176705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21: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-09-10 21:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":176705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:40:38] local.INFO: GPS data processed {"connection_id":176705,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:40:38] local.INFO: Acknowledgment sent {"connection_id":176705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:40:42] local.INFO: TCP Data received {"connection_id":176705,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:42] local.INFO: Processing buffer {"connection_id":176705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:40:42] local.INFO: Packet analysis {"connection_id":176705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:40:42] local.INFO: Extracted packet for processing {"connection_id":176705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40: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-09-10 21:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:40: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-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:40: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-09-10 21:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:40:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":176705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:40:42] local.INFO: GPS data processed {"connection_id":176705,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:40:42] local.INFO: Acknowledgment sent {"connection_id":176705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:40:55] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1449d8012d13d9c006d94d60000d00a42a..."} 
[2026-09-10 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1449d8012d13d9c006d94d60000d00a42a..."} 
[2026-09-10 21:40:55] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1449d8012d13d9c006d94d60000d00a42a..."} 
[2026-09-10 21:40:55] local.INFO: Packet analysis {"connection_id":178065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:40:55] local.INFO: Extracted packet for processing {"connection_id":178065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756275648,"raw_latitude":114904416,"longitude_deg":75.6275648,"latitude_deg":11.4904416,"altitude":13,"angle":164,"satellites":42,"speed":33,"hex_longitude":"2d13d9c0","hex_latitude":"06d94d60","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998469888001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404809330597036032,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428978117433614336,"note":"Value kept but may cause issues"} 
[2026-09-10 21:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789056535000,"timestamp_ms":1789056535000,"timestamp_seconds":1789056535,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1449d8"} 
[2026-09-10 21:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:40:55] 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-09-10 21: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-09-10 21:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998469888001,"66":27300,"184":206,"81":20480,"24":33,"16":404809330597036032,"45":1428978117433614336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-10 21:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998469888001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:40:55] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 21:40:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404809330597036032,"km_value":404809330597036.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428978117433614336,"description":"Unknown IO ID 45"} 
[2026-09-10 21:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998469888001,"power":27300,"unknown_184":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1428978117433614336}} 
[2026-09-10 21:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":178065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:40:55] local.INFO: GPS data processed {"connection_id":178065,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:40:55] local.INFO: Acknowledgment sent {"connection_id":178065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:41:08] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:41:08] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:41:08] local.INFO: IMEI packet received {"connection_id":176932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":176932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:41:18] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:41:18] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:41:18] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:41:20] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:41:20] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:41:20] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:41:21] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c146d00012d13e54006d93150000e00972c..."} 
[2026-09-10 21:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c146d00012d13e54006d93150000e00972c..."} 
[2026-09-10 21:41:21] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c146d00012d13e54006d93150000e00972c..."} 
[2026-09-10 21:41:21] local.INFO: Packet analysis {"connection_id":176706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:41:21] local.INFO: Extracted packet for processing {"connection_id":176706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756278592,"raw_latitude":114897232,"longitude_deg":75.6278592,"latitude_deg":11.4897232,"altitude":14,"angle":151,"satellites":44,"speed":30,"hex_longitude":"2d13e540","hex_latitude":"06d93150","is_valid_coordinates":true} 
[2026-09-10 21:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998472960001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404809708554158080,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1430385492314906624,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789056544000,"timestamp_ms":1789056544000,"timestamp_seconds":1789056544,"priority":1,"record_length":96,"hex_timestamp":"000001a08c146d00"} 
[2026-09-10 21:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:41: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-09-10 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:41:21] 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-09-10 21:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998472960001,"66":27310,"184":206,"81":20480,"24":30,"16":404809708554158080,"45":1430385492314906624},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-10 21:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998472960001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:41:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 21:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404809708554158080,"km_value":404809708554158.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1430385492314906624,"description":"Unknown IO ID 45"} 
[2026-09-10 21:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998472960001,"power":27310,"unknown_184":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1430385492314906624}} 
[2026-09-10 21:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":176706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:41:21] local.INFO: GPS data processed {"connection_id":176706,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:41:21] local.INFO: Acknowledgment sent {"connection_id":176706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:41:26] local.INFO: TCP Data received {"connection_id":179458,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:41:26] local.INFO: Processing buffer {"connection_id":179458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:41:26] local.INFO: IMEI packet received {"connection_id":179458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":179458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:41:31] local.INFO: TCP Data received {"connection_id":179458,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:41:31] local.INFO: Processing buffer {"connection_id":179458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:41:31] local.INFO: IMEI packet received {"connection_id":179458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":179458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:41:32] local.INFO: TCP Data received {"connection_id":179458,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:41:32] local.INFO: Processing buffer {"connection_id":179458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c11d8d8012d1965c0071feee00041005e27..."} 
[2026-09-10 21:41:32] local.INFO: Packet analysis {"connection_id":179458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:41:32] local.INFO: Extracted packet for processing {"connection_id":179458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c11"} 
[2026-09-10 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998354944001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789056375000,"timestamp_ms":1789056375000,"timestamp_seconds":1789056375,"priority":1,"record_length":96,"hex_timestamp":"000001a08c11d8d8"} 
[2026-09-10 21:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998354944001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998354944001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998354944001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":179458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:41:33] local.INFO: GPS data processed {"connection_id":179458,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:41:33] local.INFO: Acknowledgment sent {"connection_id":179458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:41:37] local.INFO: TCP Data received {"connection_id":179459,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:41:37] local.INFO: Processing buffer {"connection_id":179459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:41:37] local.INFO: IMEI packet received {"connection_id":179459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":179459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:41:55] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c14b350012d13f80006d911a0001000952e..."} 
[2026-09-10 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c14b350012d13f80006d911a0001000952e..."} 
[2026-09-10 21:41:55] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c14b350012d13f80006d911a0001000952e..."} 
[2026-09-10 21:41:55] local.INFO: Packet analysis {"connection_id":176706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:41:55] local.INFO: Extracted packet for processing {"connection_id":176706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c14"} 
[2026-09-10 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756283392,"raw_latitude":114889120,"longitude_deg":75.6283392,"latitude_deg":11.488912,"altitude":16,"angle":149,"satellites":46,"speed":29,"hex_longitude":"2d13f800","hex_latitude":"06d911a0","is_valid_coordinates":true} 
[2026-09-10 21:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998475264001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404810163820691456,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1433622454545240064,"note":"Value kept but may cause issues"} 
[2026-09-10 21:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789056562000,"timestamp_ms":1789056562000,"timestamp_seconds":1789056562,"priority":1,"record_length":96,"hex_timestamp":"000001a08c14b350"} 
[2026-09-10 21:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 21:41:55] 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-09-10 21:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998475264001,"66":27245,"184":206,"81":20480,"24":29,"16":404810163820691456,"45":1433622454545240064},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-10 21:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998475264001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:41:55] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 21:41:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404810163820691456,"km_value":404810163820691.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1433622454545240064,"description":"Unknown IO ID 45"} 
[2026-09-10 21:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998475264001,"power":27245,"unknown_184":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1433622454545240064}} 
[2026-09-10 21:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":176706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:41:55] local.INFO: GPS data processed {"connection_id":176706,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:41:55] local.INFO: Acknowledgment sent {"connection_id":176706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:42:04] local.INFO: TCP Data received {"connection_id":179458,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:42:04] local.INFO: Processing buffer {"connection_id":179458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:42:04] local.INFO: Packet analysis {"connection_id":179458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:04] local.INFO: Extracted packet for processing {"connection_id":179458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42: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-09-10 21:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:42: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-09-10 21:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:42:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":179458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:42:04] local.INFO: GPS data processed {"connection_id":179458,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:42:04] local.INFO: Acknowledgment sent {"connection_id":179458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:42:18] local.INFO: TCP Data received {"connection_id":176933,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:18] local.INFO: Processing buffer {"connection_id":176933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:18] local.INFO: IMEI packet received {"connection_id":176933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":176933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:42:20] local.INFO: TCP Data received {"connection_id":176933,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:20] local.INFO: Processing buffer {"connection_id":176933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:20] local.INFO: IMEI packet received {"connection_id":176933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":176933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:42:23] local.INFO: TCP Data received {"connection_id":176933,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:23] local.INFO: Processing buffer {"connection_id":176933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:42:23] local.INFO: IMEI packet received {"connection_id":176933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":176933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:42:24] local.INFO: TCP Data received {"connection_id":176933,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1668d0012d14bd0006d7e888001000882f..."} 
[2026-09-10 21:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1668d0012d14bd0006d7e888001000882f..."} 
[2026-09-10 21:42:24] local.INFO: Processing buffer {"connection_id":176933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1668d0012d14bd0006d7e888001000882f..."} 
[2026-09-10 21:42:24] local.INFO: Packet analysis {"connection_id":176933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:24] local.INFO: Extracted packet for processing {"connection_id":176933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756333824,"raw_latitude":114813064,"longitude_deg":75.6333824,"latitude_deg":11.4813064,"altitude":16,"angle":136,"satellites":47,"speed":27,"hex_longitude":"2d14bd00","hex_latitude":"06d7e888","is_valid_coordinates":true} 
[2026-09-10 21:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998505216001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404814613406810112,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1487102700100446208,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789056674000,"timestamp_ms":1789056674000,"timestamp_seconds":1789056674,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1668d0"} 
[2026-09-10 21:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:42: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 21:42:24] 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-09-10 21:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998505216001,"66":27321,"183":206,"81":20480,"24":27,"16":404814613406810112,"45":1487102700100446208},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-10 21:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998505216001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:42:24] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 21:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404814613406810112,"km_value":404814613406810.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1487102700100446208,"description":"Unknown IO ID 45"} 
[2026-09-10 21:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998505216001,"power":27321,"unknown_183":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":1487102700100446208}} 
[2026-09-10 21:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":176933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:42:24] local.INFO: GPS data processed {"connection_id":176933,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:42:24] local.INFO: Acknowledgment sent {"connection_id":176933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:42:26] local.INFO: TCP Data received {"connection_id":176707,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:42:26] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:42:26] local.INFO: IMEI packet received {"connection_id":176707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":176707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:42:28] local.INFO: TCP Data received {"connection_id":176933,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c169f80012d14d68006d7cea0001000862e..."} 
[2026-09-10 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c169f80012d14d68006d7cea0001000862e..."} 
[2026-09-10 21:42:28] local.INFO: Processing buffer {"connection_id":176933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c169f80012d14d68006d7cea0001000862e..."} 
[2026-09-10 21:42:28] local.INFO: Packet analysis {"connection_id":176933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:28] local.INFO: Extracted packet for processing {"connection_id":176933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756340352,"raw_latitude":114806432,"longitude_deg":75.6340352,"latitude_deg":11.4806432,"altitude":16,"angle":134,"satellites":46,"speed":29,"hex_longitude":"2d14d680","hex_latitude":"06d7cea0","is_valid_coordinates":true} 
[2026-09-10 21:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998508544001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404815055788441600,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1494350680749017088,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789056688000,"timestamp_ms":1789056688000,"timestamp_seconds":1789056688,"priority":1,"record_length":96,"hex_timestamp":"000001a08c169f80"} 
[2026-09-10 21:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998508544001,"66":27321,"183":206,"81":20480,"24":29,"16":404815055788441600,"45":1494350680749017088},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-10 21:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998508544001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:42:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 21:42:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404815055788441600,"km_value":404815055788441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1494350680749017088,"description":"Unknown IO ID 45"} 
[2026-09-10 21:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998508544001,"power":27321,"unknown_183":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1494350680749017088}} 
[2026-09-10 21:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":176933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:42:28] local.INFO: GPS data processed {"connection_id":176933,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:42:28] local.INFO: Acknowledgment sent {"connection_id":176933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:42:31] local.INFO: TCP Data received {"connection_id":176707,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:42:31] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:42:31] local.INFO: IMEI packet received {"connection_id":176707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":176707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:42:33] local.INFO: TCP Data received {"connection_id":176707,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:42:33] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:42:33] local.INFO: Packet analysis {"connection_id":176707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:33] local.INFO: Extracted packet for processing {"connection_id":176707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:42:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":176707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:42:33] local.INFO: GPS data processed {"connection_id":176707,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:42:33] local.INFO: Acknowledgment sent {"connection_id":176707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:43:00] local.INFO: TCP Data received {"connection_id":176933,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c16d630012d14efc006d7b4c0001000882f..."} 
[2026-09-10 21:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c16d630012d14efc006d7b4c0001000882f..."} 
[2026-09-10 21:43:00] local.INFO: Processing buffer {"connection_id":176933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c16d630012d14efc006d7b4c0001000882f..."} 
[2026-09-10 21:43:00] local.INFO: Packet analysis {"connection_id":176933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:00] local.INFO: Extracted packet for processing {"connection_id":176933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756346816,"raw_latitude":114799808,"longitude_deg":75.6346816,"latitude_deg":11.4799808,"altitude":16,"angle":136,"satellites":47,"speed":24,"hex_longitude":"2d14efc0","hex_latitude":"06d7b4c0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998512128001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404815502465040384,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1501528292653441024,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789056702000,"timestamp_ms":1789056702000,"timestamp_seconds":1789056702,"priority":1,"record_length":96,"hex_timestamp":"000001a08c16d630"} 
[2026-09-10 21:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:43: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-09-10 21:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998512128001,"66":27321,"46":206,"81":20480,"24":24,"16":404815502465040384,"45":1501528292653441024},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998512128001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:43:00] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:43:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404815502465040384,"km_value":404815502465040.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1501528292653441024,"description":"Unknown IO ID 45"} 
[2026-09-10 21:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998512128001,"power":27321,"unknown_46":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":1501528292653441024}} 
[2026-09-10 21:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":176933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:43:00] local.INFO: GPS data processed {"connection_id":176933,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:43:00] local.INFO: Acknowledgment sent {"connection_id":176933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:43:04] local.INFO: TCP Data received {"connection_id":176707,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:04] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:04] local.INFO: Packet analysis {"connection_id":176707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:04] local.INFO: Extracted packet for processing {"connection_id":176707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43: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-09-10 21:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:43: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-09-10 21:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:43:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":176707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:43:05] local.INFO: GPS data processed {"connection_id":176707,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:43:05] local.INFO: Acknowledgment sent {"connection_id":176707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:43:18] local.INFO: TCP Data received {"connection_id":178066,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:18] local.INFO: Processing buffer {"connection_id":178066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:18] local.INFO: IMEI packet received {"connection_id":178066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":178066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:43:19] local.INFO: TCP Data received {"connection_id":178066,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:19] local.INFO: Processing buffer {"connection_id":178066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:19] local.INFO: IMEI packet received {"connection_id":178066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":178066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:43:23] local.INFO: TCP Data received {"connection_id":178066,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:23] local.INFO: Processing buffer {"connection_id":178066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:43:23] local.INFO: IMEI packet received {"connection_id":178066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":178066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:43:24] local.INFO: TCP Data received {"connection_id":178066,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c172838012d14fe4006d7a590000f00892e..."} 
[2026-09-10 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c172838012d14fe4006d7a590000f00892e..."} 
[2026-09-10 21:43:24] local.INFO: Processing buffer {"connection_id":178066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c172838012d14fe4006d7a590000f00892e..."} 
[2026-09-10 21:43:24] local.INFO: Packet analysis {"connection_id":178066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:43:24] local.INFO: Extracted packet for processing {"connection_id":178066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756350528,"raw_latitude":114795920,"longitude_deg":75.6350528,"latitude_deg":11.479592,"altitude":15,"angle":137,"satellites":46,"speed":10,"hex_longitude":"2d14fe40","hex_latitude":"06d7a590","is_valid_coordinates":true} 
[2026-09-10 21:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998515712001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404815764458045440,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1508635535813689344,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789056723000,"timestamp_ms":1789056723000,"timestamp_seconds":1789056723,"priority":1,"record_length":96,"hex_timestamp":"000001a08c172838"} 
[2026-09-10 21:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:43:24] 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-09-10 21:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998515712001,"66":27267,"46":206,"81":20480,"24":10,"16":404815764458045440,"45":1508635535813689344},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998515712001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:43:24] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404815764458045440,"km_value":404815764458045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1508635535813689344,"description":"Unknown IO ID 45"} 
[2026-09-10 21:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998515712001,"power":27267,"unknown_46":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":1508635535813689344}} 
[2026-09-10 21:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":178066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:43:24] local.INFO: GPS data processed {"connection_id":178066,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:43:24] local.INFO: Acknowledgment sent {"connection_id":178066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:43:31] local.INFO: TCP Data received {"connection_id":179461,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:43:31] local.INFO: Processing buffer {"connection_id":179461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:43:31] local.INFO: IMEI packet received {"connection_id":179461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":179461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:43:36] local.INFO: TCP Data received {"connection_id":179461,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:43:36] local.INFO: Processing buffer {"connection_id":179461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:43:36] local.INFO: IMEI packet received {"connection_id":179461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":179461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:43:38] local.INFO: TCP Data received {"connection_id":179461,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:38] local.INFO: Processing buffer {"connection_id":179461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:38] local.INFO: Packet analysis {"connection_id":179461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:38] local.INFO: Extracted packet for processing {"connection_id":179461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43: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-09-10 21:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:43: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-09-10 21:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":179461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":179461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":179461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":179461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:43:38] local.INFO: GPS data processed {"connection_id":179461,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:43:38] local.INFO: Acknowledgment sent {"connection_id":179461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:43:42] local.INFO: TCP Data received {"connection_id":179461,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:42] local.INFO: Processing buffer {"connection_id":179461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:43:42] local.INFO: Packet analysis {"connection_id":179461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:42] local.INFO: Extracted packet for processing {"connection_id":179461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43: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-09-10 21:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:43: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-09-10 21:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:43:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":179461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:43:42] local.INFO: GPS data processed {"connection_id":179461,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:43:42] local.INFO: Acknowledgment sent {"connection_id":179461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:43:55] local.INFO: TCP Data received {"connection_id":178066,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c177a40012d15158006d78d48000e00882d..."} 
[2026-09-10 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c177a40012d15158006d78d48000e00882d..."} 
[2026-09-10 21:43:55] local.INFO: Processing buffer {"connection_id":178066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c177a40012d15158006d78d48000e00882d..."} 
[2026-09-10 21:43:55] local.INFO: Packet analysis {"connection_id":178066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:43:55] local.INFO: Extracted packet for processing {"connection_id":178066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756356480,"raw_latitude":114789704,"longitude_deg":75.635648,"latitude_deg":11.4789704,"altitude":14,"angle":136,"satellites":45,"speed":22,"hex_longitude":"2d151580","hex_latitude":"06d78d48","is_valid_coordinates":true} 
[2026-09-10 21:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998521088001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404816176774905856,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1512716922974998528,"note":"Value kept but may cause issues"} 
[2026-09-10 21:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789056744000,"timestamp_ms":1789056744000,"timestamp_seconds":1789056744,"priority":1,"record_length":96,"hex_timestamp":"000001a08c177a40"} 
[2026-09-10 21:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998521088001,"66":27343,"46":206,"81":20480,"24":22,"16":404816176774905856,"45":1512716922974998528},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998521088001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:43:55] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404816176774905856,"km_value":404816176774905.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1512716922974998528,"description":"Unknown IO ID 45"} 
[2026-09-10 21:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998521088001,"power":27343,"unknown_46":206,"unknown_81":20480,"ignition":22,"odometer":null,"unknown_45":1512716922974998528}} 
[2026-09-10 21:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":178066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:43:55] local.INFO: GPS data processed {"connection_id":178066,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:43:55] local.INFO: Acknowledgment sent {"connection_id":178066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:44:18] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:44:18] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:44:18] local.INFO: IMEI packet received {"connection_id":178067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":178067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:44:23] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:44:23] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:44:23] local.INFO: IMEI packet received {"connection_id":178067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":178067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:44:24] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c17b8c0012d152e4006d77300000e00892e..."} 
[2026-09-10 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c17b8c0012d152e4006d77300000e00892e..."} 
[2026-09-10 21:44:24] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c17b8c0012d152e4006d77300000e00892e..."} 
[2026-09-10 21:44:24] local.INFO: Packet analysis {"connection_id":178067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:44:24] local.INFO: Extracted packet for processing {"connection_id":178067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756362816,"raw_latitude":114782976,"longitude_deg":75.6362816,"latitude_deg":11.4782976,"altitude":14,"angle":137,"satellites":46,"speed":23,"hex_longitude":"2d152e40","hex_latitude":"06d77300","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998526464001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404816619156537344,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1519261216181929984,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789056760000,"timestamp_ms":1789056760000,"timestamp_seconds":1789056760,"priority":1,"record_length":96,"hex_timestamp":"000001a08c17b8c0"} 
[2026-09-10 21:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 21:44:24] 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-09-10 21: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-09-10 21:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998526464001,"66":27213,"46":206,"81":20480,"24":23,"16":404816619156537344,"45":1519261216181929984},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998526464001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:44:24] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404816619156537344,"km_value":404816619156537.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1519261216181929984,"description":"Unknown IO ID 45"} 
[2026-09-10 21:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998526464001,"power":27213,"unknown_46":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":1519261216181929984}} 
[2026-09-10 21:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":178067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:44:24] local.INFO: GPS data processed {"connection_id":178067,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:44:24] local.INFO: Acknowledgment sent {"connection_id":178067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:44:26] local.INFO: TCP Data received {"connection_id":178068,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:44:26] local.INFO: Processing buffer {"connection_id":178068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:44:26] local.INFO: IMEI packet received {"connection_id":178068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":178068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:44:31] local.INFO: TCP Data received {"connection_id":178068,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:44:31] local.INFO: Processing buffer {"connection_id":178068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:44:31] local.INFO: IMEI packet received {"connection_id":178068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":178068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:44:33] local.INFO: TCP Data received {"connection_id":178068,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:44:33] local.INFO: Processing buffer {"connection_id":178068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:44:33] local.INFO: Packet analysis {"connection_id":178068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:44:33] local.INFO: Extracted packet for processing {"connection_id":178068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:44:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":178068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:44:33] local.INFO: GPS data processed {"connection_id":178068,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:44:33] local.INFO: Acknowledgment sent {"connection_id":178068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:44:56] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c17f358012d15480006d757d8000e00882d..."} 
[2026-09-10 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c17f358012d15480006d757d8000e00882d..."} 
[2026-09-10 21:44:56] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c17f358012d15480006d757d8000e00882d..."} 
[2026-09-10 21:44:56] local.INFO: Packet analysis {"connection_id":178067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:44:56] local.INFO: Extracted packet for processing {"connection_id":178067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c17"} 
[2026-09-10 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756369408,"raw_latitude":114776024,"longitude_deg":75.6369408,"latitude_deg":11.4776024,"altitude":14,"angle":136,"satellites":45,"speed":28,"hex_longitude":"2d154800","hex_latitude":"06d757d8","is_valid_coordinates":true} 
[2026-09-10 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998530560001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404817078718038016,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1526227721853796352,"note":"Value kept but may cause issues"} 
[2026-09-10 21:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789056775000,"timestamp_ms":1789056775000,"timestamp_seconds":1789056775,"priority":1,"record_length":96,"hex_timestamp":"000001a08c17f358"} 
[2026-09-10 21:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 21:44:56] 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-09-10 21:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998530560001,"66":27343,"46":206,"81":20480,"24":28,"16":404817078718038016,"45":1526227721853796352},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998530560001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404817078718038016,"km_value":404817078718038.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1526227721853796352,"description":"Unknown IO ID 45"} 
[2026-09-10 21:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998530560001,"power":27343,"unknown_46":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1526227721853796352}} 
[2026-09-10 21:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":178067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:44:56] local.INFO: GPS data processed {"connection_id":178067,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:44:56] local.INFO: Acknowledgment sent {"connection_id":178067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:45:05] local.INFO: TCP Data received {"connection_id":178068,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:45:05] local.INFO: Processing buffer {"connection_id":178068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:45:05] local.INFO: Packet analysis {"connection_id":178068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:45:05] local.INFO: Extracted packet for processing {"connection_id":178068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45: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-09-10 21:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 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-09-10 21:45: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-09-10 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":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:45: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-09-10 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-09-10 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-09-10 21:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":178068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:45:05] local.INFO: GPS data processed {"connection_id":178068,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:45:05] local.INFO: Acknowledgment sent {"connection_id":178068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:45:18] local.INFO: TCP Data received {"connection_id":178069,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:45:18] local.INFO: Processing buffer {"connection_id":178069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:45:18] local.INFO: IMEI packet received {"connection_id":178069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":178069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:45:23] local.INFO: TCP Data received {"connection_id":178069,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:45:23] local.INFO: Processing buffer {"connection_id":178069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:45:23] local.INFO: IMEI packet received {"connection_id":178069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":178069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:45:24] local.INFO: TCP Data received {"connection_id":178069,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c192bd8012d15ac8006d6ec20000d00832a..."} 
[2026-09-10 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c192bd8012d15ac8006d6ec20000d00832a..."} 
[2026-09-10 21:45:24] local.INFO: Processing buffer {"connection_id":178069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c192bd8012d15ac8006d6ec20000d00832a..."} 
[2026-09-10 21:45:24] local.INFO: Packet analysis {"connection_id":178069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:45:24] local.INFO: Extracted packet for processing {"connection_id":178069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756395136,"raw_latitude":114748448,"longitude_deg":75.6395136,"latitude_deg":11.4748448,"altitude":13,"angle":131,"satellites":42,"speed":9,"hex_longitude":"2d15ac80","hex_latitude":"06d6ec20","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998554368001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404818968503648256,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561482462678087680,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789056855000,"timestamp_ms":1789056855000,"timestamp_seconds":1789056855,"priority":1,"record_length":96,"hex_timestamp":"000001a08c192bd8"} 
[2026-09-10 21:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:45:24] 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-09-10 21: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-09-10 21:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998554368001,"66":27234,"46":206,"81":20480,"24":9,"16":404818968503648256,"45":1561482462678087680},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998554368001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:45:24] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404818968503648256,"km_value":404818968503648.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561482462678087680,"description":"Unknown IO ID 45"} 
[2026-09-10 21:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998554368001,"power":27234,"unknown_46":206,"unknown_81":20480,"ignition":9,"odometer":null,"unknown_45":1561482462678087680}} 
[2026-09-10 21:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":178069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:45:24] local.INFO: GPS data processed {"connection_id":178069,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:45:24] local.INFO: Acknowledgment sent {"connection_id":178069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:45:26] local.INFO: TCP Data received {"connection_id":176708,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:45:26] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:45:26] local.INFO: IMEI packet received {"connection_id":176708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":176708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:45:31] local.INFO: TCP Data received {"connection_id":176708,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:45:31] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:45:31] local.INFO: IMEI packet received {"connection_id":176708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":176708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:45:33] local.INFO: TCP Data received {"connection_id":176708,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:45:33] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:45:33] local.INFO: Packet analysis {"connection_id":176708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:45:33] local.INFO: Extracted packet for processing {"connection_id":176708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:45:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:45:33] local.INFO: GPS data processed {"connection_id":176708,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:45:33] local.INFO: Acknowledgment sent {"connection_id":176708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:45:55] local.INFO: TCP Data received {"connection_id":178069,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c194348012d15b04006d6e6e0000e008f2c..."} 
[2026-09-10 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c194348012d15b04006d6e6e0000e008f2c..."} 
[2026-09-10 21:45:55] local.INFO: Processing buffer {"connection_id":178069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c194348012d15b04006d6e6e0000e008f2c..."} 
[2026-09-10 21:45:55] local.INFO: Packet analysis {"connection_id":178069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:45:55] local.INFO: Extracted packet for processing {"connection_id":178069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756396096,"raw_latitude":114747104,"longitude_deg":75.6396096,"latitude_deg":11.4747104,"altitude":14,"angle":143,"satellites":44,"speed":10,"hex_longitude":"2d15b040","hex_latitude":"06d6e6e0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998554880001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404819050108026880,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561763937654677504,"note":"Value kept but may cause issues"} 
[2026-09-10 21:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789056861000,"timestamp_ms":1789056861000,"timestamp_seconds":1789056861,"priority":1,"record_length":96,"hex_timestamp":"000001a08c194348"} 
[2026-09-10 21:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:45:55] 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-09-10 21: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-09-10 21:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998554880001,"66":27365,"46":206,"81":20480,"24":10,"16":404819050108026880,"45":1561763937654677504},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998554880001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:45:55] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:45:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404819050108026880,"km_value":404819050108026.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561763937654677504,"description":"Unknown IO ID 45"} 
[2026-09-10 21:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998554880001,"power":27365,"unknown_46":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":1561763937654677504}} 
[2026-09-10 21:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":178069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:45:55] local.INFO: GPS data processed {"connection_id":178069,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:45:55] local.INFO: Acknowledgment sent {"connection_id":178069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:46:04] local.INFO: TCP Data received {"connection_id":176708,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:46:04] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:46:04] local.INFO: Packet analysis {"connection_id":176708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:46:04] local.INFO: Extracted packet for processing {"connection_id":176708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46: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-09-10 21:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:46: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-09-10 21:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":176708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:46:04] local.INFO: GPS data processed {"connection_id":176708,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:46:04] local.INFO: Acknowledgment sent {"connection_id":176708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:46:23] local.INFO: TCP Data received {"connection_id":179463,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:46:23] local.INFO: Processing buffer {"connection_id":179463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:46:23] local.INFO: IMEI packet received {"connection_id":179463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":179463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:46:25] local.INFO: TCP Data received {"connection_id":179463,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:46:25] local.INFO: Processing buffer {"connection_id":179463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:46:25] local.INFO: IMEI packet received {"connection_id":179463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":179463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:46:26] local.INFO: TCP Data received {"connection_id":176935,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:46:26] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:46:26] local.INFO: IMEI packet received {"connection_id":176935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":176935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:46:26] local.INFO: TCP Data received {"connection_id":179463,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c194f00012d15b14006d6e458000f00a22d..."} 
[2026-09-10 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c194f00012d15b14006d6e458000f00a22d..."} 
[2026-09-10 21:46:26] local.INFO: Processing buffer {"connection_id":179463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c194f00012d15b14006d6e458000f00a22d..."} 
[2026-09-10 21:46:26] local.INFO: Packet analysis {"connection_id":179463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:46:26] local.INFO: Extracted packet for processing {"connection_id":179463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756396352,"raw_latitude":114746456,"longitude_deg":75.6396352,"latitude_deg":11.4746456,"altitude":15,"angle":162,"satellites":45,"speed":3,"hex_longitude":"2d15b140","hex_latitude":"06d6e458","is_valid_coordinates":true} 
[2026-09-10 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998556416001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404819084467765248,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562819468816998400,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789056864000,"timestamp_ms":1789056864000,"timestamp_seconds":1789056864,"priority":1,"record_length":96,"hex_timestamp":"000001a08c194f00"} 
[2026-09-10 21:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 21:46:26] 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-09-10 21:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":179463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":179463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":179463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998556416001,"66":27332,"46":206,"81":20480,"24":3,"16":404819084467765248,"45":1562819468816998400},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 21:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998556416001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:46:26] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 21:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404819084467765248,"km_value":404819084467765.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562819468816998400,"description":"Unknown IO ID 45"} 
[2026-09-10 21:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998556416001,"power":27332,"unknown_46":206,"unknown_81":20480,"ignition":3,"odometer":null,"unknown_45":1562819468816998400}} 
[2026-09-10 21:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":179463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:46:26] local.INFO: GPS data processed {"connection_id":179463,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:46:26] local.INFO: Acknowledgment sent {"connection_id":179463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:46:31] local.INFO: TCP Data received {"connection_id":176935,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:46:31] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:46:31] local.INFO: IMEI packet received {"connection_id":176935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":176935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:46:33] local.INFO: TCP Data received {"connection_id":176935,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:46:33] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1670a0012d1965c0071feee00041005e28..."} 
[2026-09-10 21:46:33] local.INFO: Packet analysis {"connection_id":176935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:46:33] local.INFO: Extracted packet for processing {"connection_id":176935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c16"} 
[2026-09-10 21:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998432000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056676000,"timestamp_ms":1789056676000,"timestamp_seconds":1789056676,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1670a0"} 
[2026-09-10 21:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 21:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998432000001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998432000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:46:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998432000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":176935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:46:33] local.INFO: GPS data processed {"connection_id":176935,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:46:33] local.INFO: Acknowledgment sent {"connection_id":176935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:46:57] local.INFO: TCP Data received {"connection_id":179463,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c19a108012d15b5c006d6d308001100a02d..."} 
[2026-09-10 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c19a108012d15b5c006d6d308001100a02d..."} 
[2026-09-10 21:46:57] local.INFO: Processing buffer {"connection_id":179463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c19a108012d15b5c006d6d308001100a02d..."} 
[2026-09-10 21:46:57] local.INFO: Packet analysis {"connection_id":179463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:46:57] local.INFO: Extracted packet for processing {"connection_id":179463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c19"} 
[2026-09-10 21:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756397504,"raw_latitude":114742024,"longitude_deg":75.6397504,"latitude_deg":11.4742024,"altitude":17,"angle":160,"satellites":45,"speed":11,"hex_longitude":"2d15b5c0","hex_latitude":"06d6d308","is_valid_coordinates":true} 
[2026-09-10 21:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998557184001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404819307806064640,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1563100943793543168,"note":"Value kept but may cause issues"} 
[2026-09-10 21:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789056885000,"timestamp_ms":1789056885000,"timestamp_seconds":1789056885,"priority":1,"record_length":96,"hex_timestamp":"000001a08c19a108"} 
[2026-09-10 21:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 21:46:57] 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-09-10 21:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998557184001,"66":27267,"44":206,"81":20480,"24":11,"16":404819307806064640,"45":1563100943793543168},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-10 21:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998557184001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:46:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-10 21:46:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404819307806064640,"km_value":404819307806064.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1563100943793543168,"description":"Unknown IO ID 45"} 
[2026-09-10 21:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998557184001,"power":27267,"unknown_44":206,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":1563100943793543168}} 
[2026-09-10 21:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":179463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:46:57] local.INFO: GPS data processed {"connection_id":179463,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:46:57] local.INFO: Acknowledgment sent {"connection_id":179463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:47:03] local.INFO: TCP Data received {"connection_id":176710,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:47:03] local.INFO: Processing buffer {"connection_id":176710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:47:03] local.INFO: IMEI packet received {"connection_id":176710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":176710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:47:05] local.INFO: TCP Data received {"connection_id":176935,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:05] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:05] local.INFO: Packet analysis {"connection_id":176935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:05] local.INFO: Extracted packet for processing {"connection_id":176935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 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-09-10 21:47: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:47:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":176935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:47:05] local.INFO: GPS data processed {"connection_id":176935,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:47:05] local.INFO: Acknowledgment sent {"connection_id":176935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:47:18] local.INFO: TCP Data received {"connection_id":179464,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:47:18] local.INFO: Processing buffer {"connection_id":179464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:47:18] local.INFO: IMEI packet received {"connection_id":179464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":179464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:47:20] local.INFO: TCP Data received {"connection_id":179464,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:47:20] local.INFO: Processing buffer {"connection_id":179464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:47:20] local.INFO: IMEI packet received {"connection_id":179464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":179464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:47:21] local.INFO: TCP Data received {"connection_id":179464,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b2f78012d16a3c006d66bc0000b00602c..."} 
[2026-09-10 21:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b2f78012d16a3c006d66bc0000b00602c..."} 
[2026-09-10 21:47:21] local.INFO: Processing buffer {"connection_id":179464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b2f78012d16a3c006d66bc0000b00602c..."} 
[2026-09-10 21:47:21] local.INFO: Packet analysis {"connection_id":179464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:21] local.INFO: Extracted packet for processing {"connection_id":179464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756458432,"raw_latitude":114715584,"longitude_deg":75.6458432,"latitude_deg":11.4715584,"altitude":11,"angle":96,"satellites":44,"speed":44,"hex_longitude":"2d16a3c0","hex_latitude":"06d66bc0","is_valid_coordinates":true} 
[2026-09-10 21:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998585856001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404822602045980672,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1620169995313954816,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789056987000,"timestamp_ms":1789056987000,"timestamp_seconds":1789056987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b2f78"} 
[2026-09-10 21:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":179464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":179464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":179464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998585856001,"66":27234,"160":206,"81":20480,"24":44,"16":404822602045980672,"45":1620169995313954816},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 21:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998585856001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:47:21] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 21:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404822602045980672,"km_value":404822602045980.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1620169995313954816,"description":"Unknown IO ID 45"} 
[2026-09-10 21:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998585856001,"power":27234,"unknown_160":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1620169995313954816}} 
[2026-09-10 21:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":179464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:47:21] local.INFO: GPS data processed {"connection_id":179464,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:47:21] local.INFO: Acknowledgment sent {"connection_id":179464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:47:31] local.INFO: TCP Data received {"connection_id":178070,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:47:31] local.INFO: Processing buffer {"connection_id":178070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:47:31] local.INFO: IMEI packet received {"connection_id":178070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":178070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:47:36] local.INFO: TCP Data received {"connection_id":178070,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:47:36] local.INFO: Processing buffer {"connection_id":178070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:47:36] local.INFO: IMEI packet received {"connection_id":178070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":178070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:47:38] local.INFO: TCP Data received {"connection_id":178070,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:38] local.INFO: Processing buffer {"connection_id":178070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:38] local.INFO: Packet analysis {"connection_id":178070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:38] local.INFO: Extracted packet for processing {"connection_id":178070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47: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-09-10 21:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:47: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-09-10 21:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":178070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:47:38] local.INFO: GPS data processed {"connection_id":178070,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:47:38] local.INFO: Acknowledgment sent {"connection_id":178070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:47:42] local.INFO: TCP Data received {"connection_id":178070,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:42] local.INFO: Processing buffer {"connection_id":178070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:47:42] local.INFO: Packet analysis {"connection_id":178070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:42] local.INFO: Extracted packet for processing {"connection_id":178070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47: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-09-10 21:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:47: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-09-10 21:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:47:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":178070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:47:42] local.INFO: GPS data processed {"connection_id":178070,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:47:42] local.INFO: Acknowledgment sent {"connection_id":178070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:47:52] local.INFO: TCP Data received {"connection_id":179464,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b4eb8012d16cac006d667180008005f2c..."} 
[2026-09-10 21:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b4eb8012d16cac006d667180008005f2c..."} 
[2026-09-10 21:47:52] local.INFO: Processing buffer {"connection_id":179464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b4eb8012d16cac006d667180008005f2c..."} 
[2026-09-10 21:47:52] local.INFO: Packet analysis {"connection_id":179464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:52] local.INFO: Extracted packet for processing {"connection_id":179464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756468416,"raw_latitude":114714392,"longitude_deg":75.6468416,"latitude_deg":11.4714392,"altitude":8,"angle":95,"satellites":44,"speed":53,"hex_longitude":"2d16cac0","hex_latitude":"06d66718","is_valid_coordinates":true} 
[2026-09-10 21:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998588672001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404823083082317824,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631358625637974016,"note":"Value kept but may cause issues"} 
[2026-09-10 21:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789056995000,"timestamp_ms":1789056995000,"timestamp_seconds":1789056995,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b4eb8"} 
[2026-09-10 21:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:47:52] 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-09-10 21:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":179464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":179464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":179464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998588672001,"66":27321,"160":206,"81":20480,"24":53,"16":404823083082317824,"45":1631358625637974016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 21:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998588672001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:47:52] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 21:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404823083082317824,"km_value":404823083082317.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631358625637974016,"description":"Unknown IO ID 45"} 
[2026-09-10 21:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998588672001,"power":27321,"unknown_160":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1631358625637974016}} 
[2026-09-10 21:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":179464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:47:52] local.INFO: GPS data processed {"connection_id":179464,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:47:52] local.INFO: Acknowledgment sent {"connection_id":179464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:48:26] local.INFO: TCP Data received {"connection_id":176936,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:48:26] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:48:26] local.INFO: IMEI packet received {"connection_id":176936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":176936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:48:28] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:28] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:28] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:48:29] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:29] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:29] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:48:31] local.INFO: TCP Data received {"connection_id":176936,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:48:31] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:48:31] local.INFO: IMEI packet received {"connection_id":176936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":176936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:48:33] local.INFO: TCP Data received {"connection_id":176936,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:48:33] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:48:33] local.INFO: Packet analysis {"connection_id":176936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:48:33] local.INFO: Extracted packet for processing {"connection_id":176936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:48:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":176936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:48:33] local.INFO: GPS data processed {"connection_id":176936,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:48:33] local.INFO: Acknowledgment sent {"connection_id":176936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:48:33] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:33] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:48:33] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:48:35] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b6a10012d16f24006d66400000800612d..."} 
[2026-09-10 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b6a10012d16f24006d66400000800612d..."} 
[2026-09-10 21:48:35] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b6a10012d16f24006d66400000800612d..."} 
[2026-09-10 21:48:35] local.INFO: Packet analysis {"connection_id":176937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:48:35] local.INFO: Extracted packet for processing {"connection_id":176937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756478528,"raw_latitude":114713600,"longitude_deg":75.6478528,"latitude_deg":11.47136,"altitude":8,"angle":97,"satellites":45,"speed":58,"hex_longitude":"2d16f240","hex_latitude":"06d66400","is_valid_coordinates":true} 
[2026-09-10 21:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998590720001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404823559823687680,"note":"Value kept but may cause issues"} 
[2026-09-10 21:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1642336149729384448,"note":"Value kept but may cause issues"} 
[2026-09-10 21:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789057002000,"timestamp_ms":1789057002000,"timestamp_seconds":1789057002,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b6a10"} 
[2026-09-10 21:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998590720001,"66":27234,"160":206,"81":20480,"24":58,"16":404823559823687680,"45":1642336149729384448},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-10 21:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998590720001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:48:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-10 21:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404823559823687680,"km_value":404823559823687.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1642336149729384448,"description":"Unknown IO ID 45"} 
[2026-09-10 21:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998590720001,"power":27234,"unknown_160":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1642336149729384448}} 
[2026-09-10 21:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":176937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:48:35] local.INFO: GPS data processed {"connection_id":176937,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:48:35] local.INFO: Acknowledgment sent {"connection_id":176937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:49:04] local.INFO: TCP Data received {"connection_id":176936,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:49:04] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:49:04] local.INFO: Packet analysis {"connection_id":176936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:49:04] local.INFO: Extracted packet for processing {"connection_id":176936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49: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-09-10 21:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:49:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":176936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:49:04] local.INFO: GPS data processed {"connection_id":176936,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:49:04] local.INFO: Acknowledgment sent {"connection_id":176936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:49:19] local.INFO: TCP Data received {"connection_id":179465,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:19] local.INFO: Processing buffer {"connection_id":179465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:19] local.INFO: IMEI packet received {"connection_id":179465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":179465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:49:19] local.INFO: TCP Data received {"connection_id":179465,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:19] local.INFO: Processing buffer {"connection_id":179465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:19] local.INFO: IMEI packet received {"connection_id":179465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":179465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:49:24] local.INFO: TCP Data received {"connection_id":179465,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:24] local.INFO: Processing buffer {"connection_id":179465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:49:24] local.INFO: IMEI packet received {"connection_id":179465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":179465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:49:26] local.INFO: TCP Data received {"connection_id":179465,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1ce4f8012d18bb0006d60b90000a007a2c..."} 
[2026-09-10 21:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1ce4f8012d18bb0006d60b90000a007a2c..."} 
[2026-09-10 21:49:26] local.INFO: Processing buffer {"connection_id":179465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1ce4f8012d18bb0006d60b90000a007a2c..."} 
[2026-09-10 21:49:26] local.INFO: Packet analysis {"connection_id":179465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1c"} 
[2026-09-10 21:49:26] local.INFO: Extracted packet for processing {"connection_id":179465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1c"} 
[2026-09-10 21:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756595456,"raw_latitude":114690960,"longitude_deg":75.6595456,"latitude_deg":11.469096,"altitude":10,"angle":122,"satellites":44,"speed":45,"hex_longitude":"2d18bb00","hex_latitude":"06d60b90","is_valid_coordinates":true} 
[2026-09-10 21:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998615296001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404829345144635392,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772729432685742080,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789057099000,"timestamp_ms":1789057099000,"timestamp_seconds":1789057099,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1ce4f8"} 
[2026-09-10 21:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 21:49:26] 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-09-10 21:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":179465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":179465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":179465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998615296001,"66":27300,"159":206,"81":20480,"24":45,"16":404829345144635392,"45":1772729432685742080},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-10 21:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998615296001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:49:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 21:49:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404829345144635392,"km_value":404829345144635.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772729432685742080,"description":"Unknown IO ID 45"} 
[2026-09-10 21:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998615296001,"power":27300,"unknown_159":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1772729432685742080}} 
[2026-09-10 21:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":179465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:49:26] local.INFO: GPS data processed {"connection_id":179465,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:49:26] local.INFO: Acknowledgment sent {"connection_id":179465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:49:26] local.INFO: TCP Data received {"connection_id":178072,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:49:26] local.INFO: Processing buffer {"connection_id":178072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:49:26] local.INFO: IMEI packet received {"connection_id":178072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":178072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:49:31] local.INFO: TCP Data received {"connection_id":178072,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:49:31] local.INFO: Processing buffer {"connection_id":178072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:49:31] local.INFO: IMEI packet received {"connection_id":178072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":178072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:49:33] local.INFO: TCP Data received {"connection_id":178072,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:49:33] local.INFO: Processing buffer {"connection_id":178072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:49:33] local.INFO: Packet analysis {"connection_id":178072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:49:33] local.INFO: Extracted packet for processing {"connection_id":178072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:49:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:49:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":178072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:49:33] local.INFO: GPS data processed {"connection_id":178072,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:49:33] local.INFO: Acknowledgment sent {"connection_id":178072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:49:57] local.INFO: TCP Data received {"connection_id":179465,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1ce4f8012d18bb0006d60b90000a007a2c..."} 
[2026-09-10 21:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1ce4f8012d18bb0006d60b90000a007a2c..."} 
[2026-09-10 21:49:57] local.INFO: Processing buffer {"connection_id":179465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1ce4f8012d18bb0006d60b90000a007a2c..."} 
[2026-09-10 21:49:57] local.INFO: Packet analysis {"connection_id":179465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1c"} 
[2026-09-10 21:49:57] local.INFO: Extracted packet for processing {"connection_id":179465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1c"} 
[2026-09-10 21:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756595456,"raw_latitude":114690960,"longitude_deg":75.6595456,"latitude_deg":11.469096,"altitude":10,"angle":122,"satellites":44,"speed":45,"hex_longitude":"2d18bb00","hex_latitude":"06d60b90","is_valid_coordinates":true} 
[2026-09-10 21:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998617344001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404829345144635392,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782018106916048896,"note":"Value kept but may cause issues"} 
[2026-09-10 21:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789057099000,"timestamp_ms":1789057099000,"timestamp_seconds":1789057099,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1ce4f8"} 
[2026-09-10 21:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:49:57] 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-09-10 21:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":179465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":179465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":179465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998617344001,"66":27300,"159":206,"81":20480,"24":45,"16":404829345144635392,"45":1782018106916048896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-10 21:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998617344001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:49:57] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 21:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404829345144635392,"km_value":404829345144635.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782018106916048896,"description":"Unknown IO ID 45"} 
[2026-09-10 21:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998617344001,"power":27300,"unknown_159":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1782018106916048896}} 
[2026-09-10 21:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":179465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:49:57] local.INFO: GPS data processed {"connection_id":179465,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:49:57] local.INFO: Acknowledgment sent {"connection_id":179465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:50:04] local.INFO: TCP Data received {"connection_id":178072,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:50:04] local.INFO: Processing buffer {"connection_id":178072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:50:04] local.INFO: Packet analysis {"connection_id":178072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:50:04] local.INFO: Extracted packet for processing {"connection_id":178072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50: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-09-10 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":178072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:50:05] local.INFO: GPS data processed {"connection_id":178072,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:50:05] local.INFO: Acknowledgment sent {"connection_id":178072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:50:18] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:18] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:18] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:50:20] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:20] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:20] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:50:23] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:23] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:50:23] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:50:24] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1cf498012d18ca8006d60320000b006c2c..."} 
[2026-09-10 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1cf498012d18ca8006d60320000b006c2c..."} 
[2026-09-10 21:50:24] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1cf498012d18ca8006d60320000b006c2c..."} 
[2026-09-10 21:50:24] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1c"} 
[2026-09-10 21:50:24] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1c"} 
[2026-09-10 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":114688800,"longitude_deg":75.6599424,"latitude_deg":11.46888,"altitude":11,"angle":108,"satellites":44,"speed":41,"hex_longitude":"2d18ca80","hex_latitude":"06d60320","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998617344001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404829559893000192,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782018106916048896,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789057103000,"timestamp_ms":1789057103000,"timestamp_seconds":1789057103,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1cf498"} 
[2026-09-10 21:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:50:24] 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-09-10 21: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-09-10 21:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998617344001,"66":27267,"159":206,"81":20480,"24":41,"16":404829559893000192,"45":1782018106916048896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-10 21:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998617344001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:50:24] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-10 21:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404829559893000192,"km_value":404829559893000.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782018106916048896,"description":"Unknown IO ID 45"} 
[2026-09-10 21:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998617344001,"power":27267,"unknown_159":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1782018106916048896}} 
[2026-09-10 21:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:50:24] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:50:24] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:50:26] local.INFO: TCP Data received {"connection_id":176713,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:50:26] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:50:26] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:50:31] local.INFO: TCP Data received {"connection_id":176713,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:50:31] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:50:31] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:50:33] local.INFO: TCP Data received {"connection_id":176713,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:50:33] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:50:33] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:50:33] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:50:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:50:33] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:50:33] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:50:55] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1e6f80012d1a3bc006d56008000b00762c..."} 
[2026-09-10 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1e6f80012d1a3bc006d56008000b00762c..."} 
[2026-09-10 21:50:55] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1e6f80012d1a3bc006d56008000b00762c..."} 
[2026-09-10 21:50:55] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1e"} 
[2026-09-10 21:50:55] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1e"} 
[2026-09-10 21:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756693952,"raw_latitude":114647048,"longitude_deg":75.6693952,"latitude_deg":11.4647048,"altitude":11,"angle":118,"satellites":44,"speed":40,"hex_longitude":"2d1a3bc0","hex_latitude":"06d56008","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998640896001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404834554939965440,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881308404940630016,"note":"Value kept but may cause issues"} 
[2026-09-10 21:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789057200000,"timestamp_ms":1789057200000,"timestamp_seconds":1789057200,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1e6f80"} 
[2026-09-10 21:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998640896001,"66":27115,"244":206,"81":20480,"24":40,"16":404834554939965440,"45":1881308404940630016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-10 21:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998640896001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:50:55] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-10 21:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404834554939965440,"km_value":404834554939965.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881308404940630016,"description":"Unknown IO ID 45"} 
[2026-09-10 21:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998640896001,"power":27115,"unknown_244":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1881308404940630016}} 
[2026-09-10 21:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:50:55] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:50:55] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:51:05] local.INFO: TCP Data received {"connection_id":176713,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:05] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:05] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:51:05] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51: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-09-10 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 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-09-10 21:51: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-09-10 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-09-10 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-09-10 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-09-10 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-09-10 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:51:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:51:05] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:51:05] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:51:28] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:28] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:28] local.INFO: IMEI packet received {"connection_id":178074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":178074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:51:28] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:28] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:28] local.INFO: IMEI packet received {"connection_id":178074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":178074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:51:31] local.INFO: TCP Data received {"connection_id":178075,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:51:31] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:51:31] local.INFO: IMEI packet received {"connection_id":178075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":178075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:51:33] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:33] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:51:33] local.INFO: IMEI packet received {"connection_id":178074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":178074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:51:34] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1e8ec0012d1a5c8006d54eb0000d00752b..."} 
[2026-09-10 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1e8ec0012d1a5c8006d54eb0000d00752b..."} 
[2026-09-10 21:51:34] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1e8ec0012d1a5c8006d54eb0000d00752b..."} 
[2026-09-10 21:51:34] local.INFO: Packet analysis {"connection_id":178074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1e"} 
[2026-09-10 21:51:34] local.INFO: Extracted packet for processing {"connection_id":178074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1e"} 
[2026-09-10 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756702336,"raw_latitude":114642608,"longitude_deg":75.6702336,"latitude_deg":11.4642608,"altitude":13,"angle":117,"satellites":43,"speed":50,"hex_longitude":"2d1a5c80","hex_latitude":"06d54eb0","is_valid_coordinates":true} 
[2026-09-10 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998643200001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404835005911531520,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890315604194232320,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789057208000,"timestamp_ms":1789057208000,"timestamp_seconds":1789057208,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1e8ec0"} 
[2026-09-10 21:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 21:51:34] 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-09-10 21:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998643200001,"66":27310,"244":206,"81":20480,"24":50,"16":404835005911531520,"45":1890315604194232320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-10 21:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998643200001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:51:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-10 21:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404835005911531520,"km_value":404835005911531.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890315604194232320,"description":"Unknown IO ID 45"} 
[2026-09-10 21:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998643200001,"power":27310,"unknown_244":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1890315604194232320}} 
[2026-09-10 21:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":178074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:51:34] local.INFO: GPS data processed {"connection_id":178074,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:51:34] local.INFO: Acknowledgment sent {"connection_id":178074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:51:36] local.INFO: TCP Data received {"connection_id":178075,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:51:36] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:51:36] local.INFO: IMEI packet received {"connection_id":178075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":178075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:51:39] local.INFO: TCP Data received {"connection_id":178075,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:39] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:39] local.INFO: Packet analysis {"connection_id":178075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:51:39] local.INFO: Extracted packet for processing {"connection_id":178075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21: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-09-10 21:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:51:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":178075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:51:39] local.INFO: GPS data processed {"connection_id":178075,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:51:39] local.INFO: Acknowledgment sent {"connection_id":178075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:51:41] local.INFO: TCP Data received {"connection_id":178075,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:41] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1b0868012d1965c0071feee00041005e2b..."} 
[2026-09-10 21:51:41] local.INFO: Packet analysis {"connection_id":178075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:51:41] local.INFO: Extracted packet for processing {"connection_id":178075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1b"} 
[2026-09-10 21:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998509056001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:51: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-09-10 21:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789056977000,"timestamp_ms":1789056977000,"timestamp_seconds":1789056977,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1b0868"} 
[2026-09-10 21:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998509056001,"66":2144,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998509056001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998509056001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":178075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:51:42] local.INFO: GPS data processed {"connection_id":178075,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:51:42] local.INFO: Acknowledgment sent {"connection_id":178075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:52:17] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:17] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:17] local.INFO: IMEI packet received {"connection_id":176938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":176938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:52:18] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:18] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:18] local.INFO: IMEI packet received {"connection_id":176938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:52:19] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:19] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:19] local.INFO: IMEI packet received {"connection_id":176938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":176938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:52:23] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:23] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:52:23] local.INFO: IMEI packet received {"connection_id":176938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":176938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:52:24] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1f9c48012d1b99c006d4b290000f006c2c..."} 
[2026-09-10 21:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1f9c48012d1b99c006d4b290000f006c2c..."} 
[2026-09-10 21:52:24] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1f9c48012d1b99c006d4b290000f006c2c..."} 
[2026-09-10 21:52:24] local.INFO: Packet analysis {"connection_id":176938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:52:24] local.INFO: Extracted packet for processing {"connection_id":176938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756783552,"raw_latitude":114602640,"longitude_deg":75.6783552,"latitude_deg":11.460264,"altitude":15,"angle":108,"satellites":44,"speed":48,"hex_longitude":"2d1b99c0","hex_latitude":"06d4b290","is_valid_coordinates":true} 
[2026-09-10 21:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998660864001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404839339533533184,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979120959335911424,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789057277000,"timestamp_ms":1789057277000,"timestamp_seconds":1789057277,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1f9c48"} 
[2026-09-10 21:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:52:24] 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-09-10 21:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998660864001,"66":27267,"14":206,"81":20480,"24":48,"16":404839339533533184,"45":1979120959335911424},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-09-10 21:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998660864001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:52:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-10 21:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404839339533533184,"km_value":404839339533533.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979120959335911424,"description":"Unknown IO ID 45"} 
[2026-09-10 21:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998660864001,"power":27267,"unknown_14":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1979120959335911424}} 
[2026-09-10 21:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":176938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:52:24] local.INFO: GPS data processed {"connection_id":176938,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:52:24] local.INFO: Acknowledgment sent {"connection_id":176938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:52:27] local.INFO: TCP Data received {"connection_id":176939,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:52:27] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:52:27] local.INFO: IMEI packet received {"connection_id":176939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":176939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:52:31] local.INFO: TCP Data received {"connection_id":176939,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:52:31] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:52:31] local.INFO: IMEI packet received {"connection_id":176939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":176939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:52:33] local.INFO: TCP Data received {"connection_id":176939,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:52:33] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:52:33] local.INFO: Packet analysis {"connection_id":176939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:52:33] local.INFO: Extracted packet for processing {"connection_id":176939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 21:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:52:33] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:52:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":176939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:52:33] local.INFO: GPS data processed {"connection_id":176939,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:52:33] local.INFO: Acknowledgment sent {"connection_id":176939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:52:43] local.INFO: TCP Data received {"connection_id":179468,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:52:43] local.INFO: Processing buffer {"connection_id":179468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:52:43] local.INFO: IMEI packet received {"connection_id":179468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":179468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:52:55] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fbb88012d1bbb0006d4a418000f00782d..."} 
[2026-09-10 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fbb88012d1bbb0006d4a418000f00782d..."} 
[2026-09-10 21:52:55] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fbb88012d1bbb0006d4a418000f00782d..."} 
[2026-09-10 21:52:55] local.INFO: Packet analysis {"connection_id":176938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:52:55] local.INFO: Extracted packet for processing {"connection_id":176938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756792064,"raw_latitude":114598936,"longitude_deg":75.6792064,"latitude_deg":11.4598936,"altitude":15,"angle":120,"satellites":45,"speed":42,"hex_longitude":"2d1bbb00","hex_latitude":"06d4a418","is_valid_coordinates":true} 
[2026-09-10 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998662912001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404839786210131968,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988831846031593472,"note":"Value kept but may cause issues"} 
[2026-09-10 21:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789057285000,"timestamp_ms":1789057285000,"timestamp_seconds":1789057285,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fbb88"} 
[2026-09-10 21:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998662912001,"66":27343,"14":206,"81":20480,"24":42,"16":404839786210131968,"45":1988831846031593472},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-09-10 21:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998662912001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:52:55] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-10 21:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404839786210131968,"km_value":404839786210131.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988831846031593472,"description":"Unknown IO ID 45"} 
[2026-09-10 21:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998662912001,"power":27343,"unknown_14":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1988831846031593472}} 
[2026-09-10 21:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":176938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:52:55] local.INFO: GPS data processed {"connection_id":176938,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:52:55] local.INFO: Acknowledgment sent {"connection_id":176938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:53:05] local.INFO: TCP Data received {"connection_id":176939,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:53:05] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:53:05] local.INFO: Packet analysis {"connection_id":176939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:53:05] local.INFO: Extracted packet for processing {"connection_id":176939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53: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-09-10 21:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 21:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:53:05] 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-09-10 21: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":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:53: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-09-10 21:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:53:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":176939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:53:05] local.INFO: GPS data processed {"connection_id":176939,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:53:05] local.INFO: Acknowledgment sent {"connection_id":176939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:53:18] local.INFO: TCP Data received {"connection_id":176714,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:18] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:18] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:53:19] local.INFO: TCP Data received {"connection_id":176714,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:19] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:19] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:53:23] local.INFO: TCP Data received {"connection_id":176714,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:23] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:53:23] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:53:24] local.INFO: TCP Data received {"connection_id":176714,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c20c528012d1c768006d40378000c007a2c..."} 
[2026-09-10 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c20c528012d1c768006d40378000c007a2c..."} 
[2026-09-10 21:53:24] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c20c528012d1c768006d40378000c007a2c..."} 
[2026-09-10 21:53:24] local.INFO: Packet analysis {"connection_id":176714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:53:24] local.INFO: Extracted packet for processing {"connection_id":176714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756840064,"raw_latitude":114557816,"longitude_deg":75.6840064,"latitude_deg":11.4557816,"altitude":12,"angle":122,"satellites":44,"speed":36,"hex_longitude":"2d1c7680","hex_latitude":"06d40378","is_valid_coordinates":true} 
[2026-09-10 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998679808001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404842895766454272,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2041678772898533376,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789057353000,"timestamp_ms":1789057353000,"timestamp_seconds":1789057353,"priority":1,"record_length":96,"hex_timestamp":"000001a08c20c528"} 
[2026-09-10 21:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:53:24] 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-09-10 21:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998679808001,"66":27213,"82":206,"81":20480,"24":36,"16":404842895766454272,"45":2041678772898533376},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 21:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998679808001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:53:24] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 21:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404842895766454272,"km_value":404842895766454.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2041678772898533376,"description":"Unknown IO ID 45"} 
[2026-09-10 21:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998679808001,"power":27213,"unknown_82":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2041678772898533376}} 
[2026-09-10 21:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":176714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:53:24] local.INFO: GPS data processed {"connection_id":176714,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:53:24] local.INFO: Acknowledgment sent {"connection_id":176714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:53:26] local.INFO: TCP Data received {"connection_id":179469,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:53:26] local.INFO: Processing buffer {"connection_id":179469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:53:26] local.INFO: IMEI packet received {"connection_id":179469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":179469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:53:31] local.INFO: TCP Data received {"connection_id":179469,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:53:31] local.INFO: Processing buffer {"connection_id":179469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:53:31] local.INFO: IMEI packet received {"connection_id":179469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":179469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:53:33] local.INFO: TCP Data received {"connection_id":179469,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:53:33] local.INFO: Processing buffer {"connection_id":179469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:53:33] local.INFO: Packet analysis {"connection_id":179469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:53:33] local.INFO: Extracted packet for processing {"connection_id":179469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 21:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:53:33] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:53:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":179469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:53:33] local.INFO: GPS data processed {"connection_id":179469,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:53:33] local.INFO: Acknowledgment sent {"connection_id":179469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:53:56] local.INFO: TCP Data received {"connection_id":176714,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c20d0e0012d1c7ec006d3fcd0000c00872c..."} 
[2026-09-10 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c20d0e0012d1c7ec006d3fcd0000c00872c..."} 
[2026-09-10 21:53:56] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c20d0e0012d1c7ec006d3fcd0000c00872c..."} 
[2026-09-10 21:53:56] local.INFO: Packet analysis {"connection_id":176714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:53:56] local.INFO: Extracted packet for processing {"connection_id":176714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756842176,"raw_latitude":114556112,"longitude_deg":75.6842176,"latitude_deg":11.4556112,"altitude":12,"angle":135,"satellites":44,"speed":34,"hex_longitude":"2d1c7ec0","hex_latitude":"06d3fcd0","is_valid_coordinates":true} 
[2026-09-10 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998682368001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404843024615473152,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2050967447128995840,"note":"Value kept but may cause issues"} 
[2026-09-10 21:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789057356000,"timestamp_ms":1789057356000,"timestamp_seconds":1789057356,"priority":1,"record_length":96,"hex_timestamp":"000001a08c20d0e0"} 
[2026-09-10 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 21:53:56] 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-09-10 21:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998682368001,"66":27267,"82":206,"81":20480,"24":34,"16":404843024615473152,"45":2050967447128995840},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998682368001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:53:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 21:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404843024615473152,"km_value":404843024615473.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2050967447128995840,"description":"Unknown IO ID 45"} 
[2026-09-10 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998682368001,"power":27267,"unknown_82":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":2050967447128995840}} 
[2026-09-10 21:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":176714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:53:56] local.INFO: GPS data processed {"connection_id":176714,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:53:56] local.INFO: Acknowledgment sent {"connection_id":176714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:54:05] local.INFO: TCP Data received {"connection_id":179469,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:54:05] local.INFO: Processing buffer {"connection_id":179469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:54:05] local.INFO: Packet analysis {"connection_id":179469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:54:05] local.INFO: Extracted packet for processing {"connection_id":179469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54: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-09-10 21:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 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-09-10 21:54:05] 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-09-10 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":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:54: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-09-10 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-09-10 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-09-10 21:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:54:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":179469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:54:05] local.INFO: GPS data processed {"connection_id":179469,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:54:05] local.INFO: Acknowledgment sent {"connection_id":179469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:54:18] local.INFO: TCP Data received {"connection_id":178077,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:54:18] local.INFO: Processing buffer {"connection_id":178077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:54:18] local.INFO: IMEI packet received {"connection_id":178077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":178077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:54:23] local.INFO: TCP Data received {"connection_id":178077,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:54:23] local.INFO: Processing buffer {"connection_id":178077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:54:23] local.INFO: IMEI packet received {"connection_id":178077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":178077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:54:24] local.INFO: TCP Data received {"connection_id":178077,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c20d8b0012d1c82c006d3f780000c00952c..."} 
[2026-09-10 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c20d8b0012d1c82c006d3f780000c00952c..."} 
[2026-09-10 21:54:24] local.INFO: Processing buffer {"connection_id":178077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c20d8b0012d1c82c006d3f780000c00952c..."} 
[2026-09-10 21:54:24] local.INFO: Packet analysis {"connection_id":178077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:54:24] local.INFO: Extracted packet for processing {"connection_id":178077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756843200,"raw_latitude":114554752,"longitude_deg":75.68432,"latitude_deg":11.4554752,"altitude":12,"angle":149,"satellites":44,"speed":33,"hex_longitude":"2d1c82c0","hex_latitude":"06d3f780","is_valid_coordinates":true} 
[2026-09-10 21:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998683136001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404843106219851776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2053289615686422528,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789057358000,"timestamp_ms":1789057358000,"timestamp_seconds":1789057358,"priority":1,"record_length":96,"hex_timestamp":"000001a08c20d8b0"} 
[2026-09-10 21:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 21:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998683136001,"66":27321,"82":206,"81":20480,"24":33,"16":404843106219851776,"45":2053289615686422528},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 21:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998683136001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:54:24] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 21:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404843106219851776,"km_value":404843106219851.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2053289615686422528,"description":"Unknown IO ID 45"} 
[2026-09-10 21:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998683136001,"power":27321,"unknown_82":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":2053289615686422528}} 
[2026-09-10 21:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":178077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:54:24] local.INFO: GPS data processed {"connection_id":178077,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:54:24] local.INFO: Acknowledgment sent {"connection_id":178077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:54:26] local.INFO: TCP Data received {"connection_id":176715,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:54:26] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:54:26] local.INFO: IMEI packet received {"connection_id":176715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":176715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:54:31] local.INFO: TCP Data received {"connection_id":176715,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:54:31] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:54:31] local.INFO: IMEI packet received {"connection_id":176715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":176715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:54:33] local.INFO: TCP Data received {"connection_id":176715,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:54:33] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:54:33] local.INFO: Packet analysis {"connection_id":176715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:54:33] local.INFO: Extracted packet for processing {"connection_id":176715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 21:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:54:33] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:54:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:54:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":176715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:54:33] local.INFO: GPS data processed {"connection_id":176715,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:54:33] local.INFO: Acknowledgment sent {"connection_id":176715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:54:55] local.INFO: TCP Data received {"connection_id":178077,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c20e080012d1c858006d3f108000c00a62b..."} 
[2026-09-10 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c20e080012d1c858006d3f108000c00a62b..."} 
[2026-09-10 21:54:55] local.INFO: Processing buffer {"connection_id":178077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c20e080012d1c858006d3f108000c00a62b..."} 
[2026-09-10 21:54:55] local.INFO: Packet analysis {"connection_id":178077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:54:55] local.INFO: Extracted packet for processing {"connection_id":178077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c20"} 
[2026-09-10 21:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756843904,"raw_latitude":114553096,"longitude_deg":75.6843904,"latitude_deg":11.4553096,"altitude":12,"angle":166,"satellites":43,"speed":35,"hex_longitude":"2d1c8580","hex_latitude":"06d3f108","is_valid_coordinates":true} 
[2026-09-10 21:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998683648001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404843192119197696,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2054415515592916992,"note":"Value kept but may cause issues"} 
[2026-09-10 21:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789057360000,"timestamp_ms":1789057360000,"timestamp_seconds":1789057360,"priority":1,"record_length":96,"hex_timestamp":"000001a08c20e080"} 
[2026-09-10 21:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:54:55] 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-09-10 21:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998683648001,"66":27234,"82":206,"81":20480,"24":35,"16":404843192119197696,"45":2054415515592916992},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 21:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998683648001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:54:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 21:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404843192119197696,"km_value":404843192119197.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2054415515592916992,"description":"Unknown IO ID 45"} 
[2026-09-10 21:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998683648001,"power":27234,"unknown_82":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":2054415515592916992}} 
[2026-09-10 21:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":178077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:54:55] local.INFO: GPS data processed {"connection_id":178077,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:54:55] local.INFO: Acknowledgment sent {"connection_id":178077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:55:05] local.INFO: TCP Data received {"connection_id":176715,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:05] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:05] local.INFO: Packet analysis {"connection_id":176715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:55:05] local.INFO: Extracted packet for processing {"connection_id":176715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55: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-09-10 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 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-09-10 21:55:05] 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-09-10 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":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:55: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-09-10 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-09-10 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-09-10 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:55:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":176715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:55:05] local.INFO: GPS data processed {"connection_id":176715,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:55:05] local.INFO: Acknowledgment sent {"connection_id":176715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:55:18] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:55:18] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:55:18] local.INFO: IMEI packet received {"connection_id":176940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":176940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:55:23] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:55:23] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:55:23] local.INFO: IMEI packet received {"connection_id":176940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":176940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:55:24] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c225b68012d1d32c006d2db08000f009f2c..."} 
[2026-09-10 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c225b68012d1d32c006d2db08000f009f2c..."} 
[2026-09-10 21:55:24] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c225b68012d1d32c006d2db08000f009f2c..."} 
[2026-09-10 21:55:24] local.INFO: Packet analysis {"connection_id":176940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:55:24] local.INFO: Extracted packet for processing {"connection_id":176940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756888256,"raw_latitude":114481928,"longitude_deg":75.6888256,"latitude_deg":11.4481928,"altitude":15,"angle":159,"satellites":44,"speed":28,"hex_longitude":"2d1d32c0","hex_latitude":"06d2db08","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998705408001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404847285223030784,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099873724315179008,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 21:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789057457000,"timestamp_ms":1789057457000,"timestamp_seconds":1789057457,"priority":1,"record_length":96,"hex_timestamp":"000001a08c225b68"} 
[2026-09-10 21:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 21:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998705408001,"66":27321,"81":20480,"24":28,"16":404847285223030784,"45":2099873724315179008},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 21:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998705408001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404847285223030784,"km_value":404847285223030.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099873724315179008,"description":"Unknown IO ID 45"} 
[2026-09-10 21:55:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998705408001,"power":27321,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":2099873724315179008}} 
[2026-09-10 21:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":176940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:55:24] local.INFO: GPS data processed {"connection_id":176940,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:55:24] local.INFO: Acknowledgment sent {"connection_id":176940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:55:31] local.INFO: TCP Data received {"connection_id":176941,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:55:31] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:55:31] local.INFO: IMEI packet received {"connection_id":176941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":176941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:55:36] local.INFO: TCP Data received {"connection_id":176941,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:55:36] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:55:36] local.INFO: IMEI packet received {"connection_id":176941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":176941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:55:38] local.INFO: TCP Data received {"connection_id":176941,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:38] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:38] local.INFO: Packet analysis {"connection_id":176941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:55:38] local.INFO: Extracted packet for processing {"connection_id":176941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55: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-09-10 21:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 21:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:55: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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:55: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-09-10 21:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:55:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":176941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:55:38] local.INFO: GPS data processed {"connection_id":176941,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:55:38] local.INFO: Acknowledgment sent {"connection_id":176941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:55:42] local.INFO: TCP Data received {"connection_id":176941,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:42] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:55:42] local.INFO: Packet analysis {"connection_id":176941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:55:42] local.INFO: Extracted packet for processing {"connection_id":176941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55: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-09-10 21:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 21:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:55:42] 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-09-10 21:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:55:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":176941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:55:42] local.INFO: GPS data processed {"connection_id":176941,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:55:42] local.INFO: Acknowledgment sent {"connection_id":176941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:55:55] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2299e8012d1d428006d2bb20001400932d..."} 
[2026-09-10 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2299e8012d1d428006d2bb20001400932d..."} 
[2026-09-10 21:55:55] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2299e8012d1d428006d2bb20001400932d..."} 
[2026-09-10 21:55:55] local.INFO: Packet analysis {"connection_id":176940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:55:55] local.INFO: Extracted packet for processing {"connection_id":176940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756892288,"raw_latitude":114473760,"longitude_deg":75.6892288,"latitude_deg":11.447376,"altitude":20,"angle":147,"satellites":45,"speed":16,"hex_longitude":"2d1d4280","hex_latitude":"06d2bb20","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998708992001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404847727604662272,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2103955111475349504,"note":"Value kept but may cause issues"} 
[2026-09-10 21:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789057473000,"timestamp_ms":1789057473000,"timestamp_seconds":1789057473,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2299e8"} 
[2026-09-10 21:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:55:55] 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-09-10 21: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-09-10 21:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998708992001,"66":27300,"5":206,"81":20480,"24":16,"16":404847727604662272,"45":2103955111475349504},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-09-10 21:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998708992001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:55:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 21:55:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404847727604662272,"km_value":404847727604662.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2103955111475349504,"description":"Unknown IO ID 45"} 
[2026-09-10 21:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998708992001,"power":27300,"unknown_5":206,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":2103955111475349504}} 
[2026-09-10 21:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":176940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:55:55] local.INFO: GPS data processed {"connection_id":176940,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:55:55] local.INFO: Acknowledgment sent {"connection_id":176940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:56:23] local.INFO: TCP Data received {"connection_id":179471,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:56:23] local.INFO: Processing buffer {"connection_id":179471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:56:23] local.INFO: IMEI packet received {"connection_id":179471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":179471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:56:26] local.INFO: TCP Data received {"connection_id":179472,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:56:26] local.INFO: Processing buffer {"connection_id":179472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:56:26] local.INFO: IMEI packet received {"connection_id":179472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":179472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:56:28] local.INFO: TCP Data received {"connection_id":179471,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:56:28] local.INFO: Processing buffer {"connection_id":179471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:56:28] local.INFO: IMEI packet received {"connection_id":179471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":179471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:56:29] local.INFO: TCP Data received {"connection_id":179471,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2299e8012d1d428006d2bb20001400932d..."} 
[2026-09-10 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2299e8012d1d428006d2bb20001400932d..."} 
[2026-09-10 21:56:29] local.INFO: Processing buffer {"connection_id":179471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2299e8012d1d428006d2bb20001400932d..."} 
[2026-09-10 21:56:29] local.INFO: Packet analysis {"connection_id":179471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:56:29] local.INFO: Extracted packet for processing {"connection_id":179471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756892288,"raw_latitude":114473760,"longitude_deg":75.6892288,"latitude_deg":11.447376,"altitude":20,"angle":147,"satellites":45,"speed":16,"hex_longitude":"2d1d4280","hex_latitude":"06d2bb20","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998713088001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404847727604662272,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2108388342356451328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789057473000,"timestamp_ms":1789057473000,"timestamp_seconds":1789057473,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2299e8"} 
[2026-09-10 21:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998713088001,"66":27300,"5":206,"81":20480,"24":16,"16":404847727604662272,"45":2108388342356451328},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-09-10 21:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998713088001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:56:29] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-10 21:56:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404847727604662272,"km_value":404847727604662.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2108388342356451328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998713088001,"power":27300,"unknown_5":206,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":2108388342356451328}} 
[2026-09-10 21:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":179471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:56:29] local.INFO: GPS data processed {"connection_id":179471,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:56:29] local.INFO: Acknowledgment sent {"connection_id":179471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:56:31] local.INFO: TCP Data received {"connection_id":179472,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:56:31] local.INFO: Processing buffer {"connection_id":179472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:56:31] local.INFO: IMEI packet received {"connection_id":179472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":179472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:56:33] local.INFO: TCP Data received {"connection_id":179472,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:56:33] local.INFO: Processing buffer {"connection_id":179472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c1fa030012d1965c0071feee00041005e2a..."} 
[2026-09-10 21:56:33] local.INFO: Packet analysis {"connection_id":179472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:56:33] local.INFO: Extracted packet for processing {"connection_id":179472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c1f"} 
[2026-09-10 21:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998586112001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789057278000,"timestamp_ms":1789057278000,"timestamp_seconds":1789057278,"priority":1,"record_length":96,"hex_timestamp":"000001a08c1fa030"} 
[2026-09-10 21:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:56:33] 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-09-10 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-10 21:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998586112001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998586112001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:56:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998586112001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":179472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:56:33] local.INFO: GPS data processed {"connection_id":179472,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:56:33] local.INFO: Acknowledgment sent {"connection_id":179472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:56:34] local.INFO: TCP Data received {"connection_id":179471,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c22d868012d1d540006d29d080013009c2b..."} 
[2026-09-10 21:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c22d868012d1d540006d29d080013009c2b..."} 
[2026-09-10 21:56:34] local.INFO: Processing buffer {"connection_id":179471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c22d868012d1d540006d29d080013009c2b..."} 
[2026-09-10 21:56:34] local.INFO: Packet analysis {"connection_id":179471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:56:34] local.INFO: Extracted packet for processing {"connection_id":179471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c22"} 
[2026-09-10 21:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756896768,"raw_latitude":114466056,"longitude_deg":75.6896768,"latitude_deg":11.4466056,"altitude":19,"angle":156,"satellites":43,"speed":32,"hex_longitude":"2d1d5400","hex_latitude":"06d29d08","is_valid_coordinates":true} 
[2026-09-10 21:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998713088001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404848157101391872,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2108388342356451328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789057489000,"timestamp_ms":1789057489000,"timestamp_seconds":1789057489,"priority":1,"record_length":96,"hex_timestamp":"000001a08c22d868"} 
[2026-09-10 21:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 21:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998713088001,"66":27234,"18":206,"81":20480,"24":32,"16":404848157101391872,"45":2108388342356451328},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-10 21:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998713088001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:56:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 21:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404848157101391872,"km_value":404848157101391.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2108388342356451328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998713088001,"power":27234,"unknown_18":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":2108388342356451328}} 
[2026-09-10 21:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":179471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:56:34] local.INFO: GPS data processed {"connection_id":179471,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:56:34] local.INFO: Acknowledgment sent {"connection_id":179471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:57:04] local.INFO: TCP Data received {"connection_id":179472,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:57:04] local.INFO: Processing buffer {"connection_id":179472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:57:04] local.INFO: Packet analysis {"connection_id":179472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:57:04] local.INFO: Extracted packet for processing {"connection_id":179472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57: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-09-10 21:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 21:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:57:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":179472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:57:05] local.INFO: GPS data processed {"connection_id":179472,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:57:05] local.INFO: Acknowledgment sent {"connection_id":179472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:57:18] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:57:18] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:57:18] local.INFO: IMEI packet received {"connection_id":178078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":178078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:57:23] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:57:23] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:57:23] local.INFO: IMEI packet received {"connection_id":178078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":178078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:57:24] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c230360012d1d63c006d27aa0000e00992c..."} 
[2026-09-10 21:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c230360012d1d63c006d27aa0000e00992c..."} 
[2026-09-10 21:57:24] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c230360012d1d63c006d27aa0000e00992c..."} 
[2026-09-10 21:57:24] local.INFO: Packet analysis {"connection_id":178078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:57:24] local.INFO: Extracted packet for processing {"connection_id":178078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756900800,"raw_latitude":114457248,"longitude_deg":75.69008,"latitude_deg":11.4457248,"altitude":14,"angle":153,"satellites":44,"speed":35,"hex_longitude":"2d1d63c0","hex_latitude":"06d27aa0","is_valid_coordinates":true} 
[2026-09-10 21:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998717184001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404848625252827136,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2113314154446915584,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789057500000,"timestamp_ms":1789057500000,"timestamp_seconds":1789057500,"priority":1,"record_length":96,"hex_timestamp":"000001a08c230360"} 
[2026-09-10 21:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:57:24] 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-09-10 21:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998717184001,"66":27321,"18":206,"81":20480,"24":35,"16":404848625252827136,"45":2113314154446915584},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-10 21:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998717184001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:57:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 21:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404848625252827136,"km_value":404848625252827.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2113314154446915584,"description":"Unknown IO ID 45"} 
[2026-09-10 21:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998717184001,"power":27321,"unknown_18":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":2113314154446915584}} 
[2026-09-10 21:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":178078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:57:24] local.INFO: GPS data processed {"connection_id":178078,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:57:24] local.INFO: Acknowledgment sent {"connection_id":178078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:57:26] local.INFO: TCP Data received {"connection_id":179474,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:57:26] local.INFO: Processing buffer {"connection_id":179474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:57:26] local.INFO: IMEI packet received {"connection_id":179474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":179474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:57:31] local.INFO: TCP Data received {"connection_id":179474,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:57:31] local.INFO: Processing buffer {"connection_id":179474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:57:31] local.INFO: IMEI packet received {"connection_id":179474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":179474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:57:32] local.INFO: TCP Data received {"connection_id":179474,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:57:32] local.INFO: Processing buffer {"connection_id":179474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:57:32] local.INFO: Packet analysis {"connection_id":179474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:57:32] local.INFO: Extracted packet for processing {"connection_id":179474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 21:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:57:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":179474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:57:33] local.INFO: GPS data processed {"connection_id":179474,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:57:33] local.INFO: Acknowledgment sent {"connection_id":179474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:57:55] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c232e58012d1d774006d259c0000d00922d..."} 
[2026-09-10 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c232e58012d1d774006d259c0000d00922d..."} 
[2026-09-10 21:57:55] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c232e58012d1d774006d259c0000d00922d..."} 
[2026-09-10 21:57:55] local.INFO: Packet analysis {"connection_id":178078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:57:55] local.INFO: Extracted packet for processing {"connection_id":178078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756905792,"raw_latitude":114448832,"longitude_deg":75.6905792,"latitude_deg":11.4448832,"altitude":13,"angle":146,"satellites":45,"speed":36,"hex_longitude":"2d1d7740","hex_latitude":"06d259c0","is_valid_coordinates":true} 
[2026-09-10 21:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998720000001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404849101994196992,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2117747385327853568,"note":"Value kept but may cause issues"} 
[2026-09-10 21:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789057511000,"timestamp_ms":1789057511000,"timestamp_seconds":1789057511,"priority":1,"record_length":96,"hex_timestamp":"000001a08c232e58"} 
[2026-09-10 21:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 21:57:55] 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-09-10 21:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998720000001,"66":27343,"18":206,"81":20480,"24":36,"16":404849101994196992,"45":2117747385327853568},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-10 21:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998720000001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:57:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 21:57:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404849101994196992,"km_value":404849101994197.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2117747385327853568,"description":"Unknown IO ID 45"} 
[2026-09-10 21:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998720000001,"power":27343,"unknown_18":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2117747385327853568}} 
[2026-09-10 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":178078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:57:55] local.INFO: GPS data processed {"connection_id":178078,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:57:55] local.INFO: Acknowledgment sent {"connection_id":178078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:58:04] local.INFO: TCP Data received {"connection_id":179474,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:58:04] local.INFO: Processing buffer {"connection_id":179474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:58:04] local.INFO: Packet analysis {"connection_id":179474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:58:04] local.INFO: Extracted packet for processing {"connection_id":179474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58: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-09-10 21:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 21:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21: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-09-10 21:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:58:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":179474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:58:05] local.INFO: GPS data processed {"connection_id":179474,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:58:05] local.INFO: Acknowledgment sent {"connection_id":179474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:58:13] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:58:13] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:58:13] local.INFO: IMEI packet received {"connection_id":176942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":176942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:58:18] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:58:18] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:58:18] local.INFO: IMEI packet received {"connection_id":176717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":176717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:58:23] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:58:23] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:58:23] local.INFO: IMEI packet received {"connection_id":176717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":176717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:58:25] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c235568012d1d8c8006d23ef0000e00862d..."} 
[2026-09-10 21:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c235568012d1d8c8006d23ef0000e00862d..."} 
[2026-09-10 21:58:25] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c235568012d1d8c8006d23ef0000e00862d..."} 
[2026-09-10 21:58:25] local.INFO: Packet analysis {"connection_id":176717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:58:25] local.INFO: Extracted packet for processing {"connection_id":176717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:58:25] local.INFO: GPS Element Parsed {"raw_longitude":756911232,"raw_latitude":114441968,"longitude_deg":75.6911232,"latitude_deg":11.4441968,"altitude":14,"angle":134,"satellites":45,"speed":32,"hex_longitude":"2d1d8c80","hex_latitude":"06d23ef0","is_valid_coordinates":true} 
[2026-09-10 21:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998722816001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404849522900992000,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2123236147371556864,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789057521000,"timestamp_ms":1789057521000,"timestamp_seconds":1789057521,"priority":1,"record_length":96,"hex_timestamp":"000001a08c235568"} 
[2026-09-10 21:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 21:58:25] 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-09-10 21:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998722816001,"66":27180,"18":206,"81":20480,"24":32,"16":404849522900992000,"45":2123236147371556864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-10 21:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998722816001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:58:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-10 21:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404849522900992000,"km_value":404849522900992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2123236147371556864,"description":"Unknown IO ID 45"} 
[2026-09-10 21:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998722816001,"power":27180,"unknown_18":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":2123236147371556864}} 
[2026-09-10 21:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":176717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:58:25] local.INFO: GPS data processed {"connection_id":176717,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:58:25] local.INFO: Acknowledgment sent {"connection_id":176717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:58:26] local.INFO: TCP Data received {"connection_id":176718,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:58:26] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:58:26] local.INFO: IMEI packet received {"connection_id":176718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":176718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:58:31] local.INFO: TCP Data received {"connection_id":176718,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:58:31] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:58:31] local.INFO: IMEI packet received {"connection_id":176718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":176718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:58:33] local.INFO: TCP Data received {"connection_id":176718,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:58:33] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:58:33] local.INFO: Packet analysis {"connection_id":176718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:58:33] local.INFO: Extracted packet for processing {"connection_id":176718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 21:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:58:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":176718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:58:33] local.INFO: GPS data processed {"connection_id":176718,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:58:33] local.INFO: Acknowledgment sent {"connection_id":176718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:58:37] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:58:37] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 21:58:37] local.INFO: IMEI packet received {"connection_id":176719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 21:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":176719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:58:56] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2397d0012d1da7c006d22720000f00822d..."} 
[2026-09-10 21:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2397d0012d1da7c006d22720000f00822d..."} 
[2026-09-10 21:58:56] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2397d0012d1da7c006d22720000f00822d..."} 
[2026-09-10 21:58:56] local.INFO: Packet analysis {"connection_id":176717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:58:56] local.INFO: Extracted packet for processing {"connection_id":176717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756918208,"raw_latitude":114435872,"longitude_deg":75.6918208,"latitude_deg":11.4435872,"altitude":15,"angle":130,"satellites":45,"speed":13,"hex_longitude":"2d1da7c0","hex_latitude":"06d22720","is_valid_coordinates":true} 
[2026-09-10 21: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-09-10 21:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998725376001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404849965282623488,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2129217490624901120,"note":"Value kept but may cause issues"} 
[2026-09-10 21:58:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 21:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789057538000,"timestamp_ms":1789057538000,"timestamp_seconds":1789057538,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2397d0"} 
[2026-09-10 21:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 21:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21: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-09-10 21:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998725376001,"66":27343,"16":404849965282623488,"81":20480,"24":13,"45":2129217490624901120},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-10 21:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998725376001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404849965282623488,"km_value":404849965282623.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:58:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2129217490624901120,"description":"Unknown IO ID 45"} 
[2026-09-10 21:58:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998725376001,"power":27343,"odometer":null,"unknown_81":20480,"ignition":13,"unknown_45":2129217490624901120}} 
[2026-09-10 21:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":176717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:58:56] local.INFO: GPS data processed {"connection_id":176717,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:58:56] local.INFO: Acknowledgment sent {"connection_id":176717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:59:04] local.INFO: TCP Data received {"connection_id":176718,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:04] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:04] local.INFO: Packet analysis {"connection_id":176718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:59:04] local.INFO: Extracted packet for processing {"connection_id":176718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59: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-09-10 21:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 21:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 21:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":176718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:59:05] local.INFO: GPS data processed {"connection_id":176718,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:59:05] local.INFO: Acknowledgment sent {"connection_id":176718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:59:18] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:59:18] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:59:18] local.INFO: IMEI packet received {"connection_id":176721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 21:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":176721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:59:23] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:59:23] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 21:59:23] local.INFO: IMEI packet received {"connection_id":176721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 21:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":176721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:59:24] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c23de20012d1dc34006d20f90000e00852d..."} 
[2026-09-10 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c23de20012d1dc34006d20f90000e00852d..."} 
[2026-09-10 21:59:24] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c23de20012d1dc34006d20f90000e00852d..."} 
[2026-09-10 21:59:24] local.INFO: Packet analysis {"connection_id":176721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:59:24] local.INFO: Extracted packet for processing {"connection_id":176721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c23"} 
[2026-09-10 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756925248,"raw_latitude":114429840,"longitude_deg":75.6925248,"latitude_deg":11.442984,"altitude":14,"angle":133,"satellites":45,"speed":20,"hex_longitude":"2d1dc340","hex_latitude":"06d20f90","is_valid_coordinates":true} 
[2026-09-10 21:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998729728001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404850411959222272,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2136887683738705920,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 21:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789057556000,"timestamp_ms":1789057556000,"timestamp_seconds":1789057556,"priority":1,"record_length":96,"hex_timestamp":"000001a08c23de20"} 
[2026-09-10 21:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 21:59:24] 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-09-10 21:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998729728001,"66":27365,"16":404850411959222272,"81":20480,"24":20,"45":2136887683738705920},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-10 21:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998729728001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404850411959222272,"km_value":404850411959222.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-10 21:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2136887683738705920,"description":"Unknown IO ID 45"} 
[2026-09-10 21:59:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998729728001,"power":27365,"odometer":null,"unknown_81":20480,"ignition":20,"unknown_45":2136887683738705920}} 
[2026-09-10 21:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":176721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:59:24] local.INFO: GPS data processed {"connection_id":176721,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:59:24] local.INFO: Acknowledgment sent {"connection_id":176721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:59:31] local.INFO: TCP Data received {"connection_id":178079,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:59:31] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:59:31] local.INFO: IMEI packet received {"connection_id":178079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 21:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":178079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 21:59:36] local.INFO: TCP Data received {"connection_id":178079,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:59:36] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 21:59:36] local.INFO: IMEI packet received {"connection_id":178079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 21:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":178079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 21:59:38] local.INFO: TCP Data received {"connection_id":178079,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:38] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:38] local.INFO: Packet analysis {"connection_id":178079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:59:38] local.INFO: Extracted packet for processing {"connection_id":178079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59: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-09-10 21:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 21:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:59: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-09-10 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:59: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-09-10 21:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:59:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":178079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:59:38] local.INFO: GPS data processed {"connection_id":178079,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:59:38] local.INFO: Acknowledgment sent {"connection_id":178079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:59:42] local.INFO: TCP Data received {"connection_id":178079,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:42] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 21:59:42] local.INFO: Packet analysis {"connection_id":178079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:59:42] local.INFO: Extracted packet for processing {"connection_id":178079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 21:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 21:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59: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-09-10 21:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 21:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:59: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-09-10 21:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 21:59: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-09-10 21:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 21:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 21:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 21:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 21:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 21:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 21:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:59:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 21:59:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 21:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 21:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 21:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":178079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:59:42] local.INFO: GPS data processed {"connection_id":178079,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:59:42] local.INFO: Acknowledgment sent {"connection_id":178079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 21:59:56] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c267630012d1ea58006d0c678001200932d..."} 
[2026-09-10 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c267630012d1ea58006d0c678001200932d..."} 
[2026-09-10 21:59:56] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c267630012d1ea58006d0c678001200932d..."} 
[2026-09-10 21:59:56] local.INFO: Packet analysis {"connection_id":176721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 21:59:56] local.INFO: Extracted packet for processing {"connection_id":176721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756983168,"raw_latitude":114345592,"longitude_deg":75.6983168,"latitude_deg":11.4345592,"altitude":18,"angle":147,"satellites":45,"speed":28,"hex_longitude":"2d1ea580","hex_latitude":"06d0c678","is_valid_coordinates":true} 
[2026-09-10 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998775040001,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404855381236383744,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2203034303244548096,"note":"Value kept but may cause issues"} 
[2026-09-10 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789057726000,"timestamp_ms":1789057726000,"timestamp_seconds":1789057726,"priority":1,"record_length":96,"hex_timestamp":"000001a08c267630"} 
[2026-09-10 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 21:59:56] 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-09-10 21:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 21:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998775040001,"66":27245,"153":206,"81":22528,"24":28,"16":404855381236383744,"45":2203034303244548096},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-10 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998775040001,"description":"Unknown IO ID 0"} 
[2026-09-10 21:59:56] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 21:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404855381236383744,"km_value":404855381236383.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2203034303244548096,"description":"Unknown IO ID 45"} 
[2026-09-10 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998775040001,"power":27245,"unknown_153":206,"unknown_81":22528,"ignition":28,"odometer":null,"unknown_45":2203034303244548096}} 
[2026-09-10 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":176721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 21:59:56] local.INFO: GPS data processed {"connection_id":176721,"processed":1,"errors":0,"total":1} 
[2026-09-10 21:59:56] local.INFO: Acknowledgment sent {"connection_id":176721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:00:18] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:00:18] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:00:18] local.INFO: IMEI packet received {"connection_id":178081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":178081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:00:22] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:00:22] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:00:22] local.INFO: IMEI packet received {"connection_id":178081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":178081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:00:23] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c26a510012d1eb8c006d0a858001300932d..."} 
[2026-09-10 22:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c26a510012d1eb8c006d0a858001300932d..."} 
[2026-09-10 22:00:23] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c26a510012d1eb8c006d0a858001300932d..."} 
[2026-09-10 22:00:23] local.INFO: Packet analysis {"connection_id":178081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 22:00:23] local.INFO: Extracted packet for processing {"connection_id":178081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 22:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756988096,"raw_latitude":114337880,"longitude_deg":75.6988096,"latitude_deg":11.433788,"altitude":19,"angle":147,"satellites":45,"speed":28,"hex_longitude":"2d1eb8c0","hex_latitude":"06d0a858","is_valid_coordinates":true} 
[2026-09-10 22:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998777856001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404855819323047936,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2208311959055923200,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789057738000,"timestamp_ms":1789057738000,"timestamp_seconds":1789057738,"priority":1,"record_length":96,"hex_timestamp":"000001a08c26a510"} 
[2026-09-10 22:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:00: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":109,"data_length":795,"current_offset":136} 
[2026-09-10 22:00:23] 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-09-10 22:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998777856001,"66":27234,"153":206,"81":22528,"24":28,"16":404855819323047936,"45":2208311959055923200},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-10 22:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998777856001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:00:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 22:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404855819323047936,"km_value":404855819323047.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2208311959055923200,"description":"Unknown IO ID 45"} 
[2026-09-10 22:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998777856001,"power":27234,"unknown_153":206,"unknown_81":22528,"ignition":28,"odometer":null,"unknown_45":2208311959055923200}} 
[2026-09-10 22:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":178081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:00:23] local.INFO: GPS data processed {"connection_id":178081,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:00:23] local.INFO: Acknowledgment sent {"connection_id":178081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:00:26] local.INFO: TCP Data received {"connection_id":176943,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:00:26] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:00:26] local.INFO: IMEI packet received {"connection_id":176943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":176943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:00:31] local.INFO: TCP Data received {"connection_id":176943,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:00:31] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:00:31] local.INFO: IMEI packet received {"connection_id":176943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":176943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:00:33] local.INFO: TCP Data received {"connection_id":176943,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:00:33] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:00:33] local.INFO: Packet analysis {"connection_id":176943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 22:00:33] local.INFO: Extracted packet for processing {"connection_id":176943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 22:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 22:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:00:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":176943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:00:33] local.INFO: GPS data processed {"connection_id":176943,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:00:33] local.INFO: Acknowledgment sent {"connection_id":176943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:00:55] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c26d3f0012d1ecc8006d08980001200932d..."} 
[2026-09-10 22:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c26d3f0012d1ecc8006d08980001200932d..."} 
[2026-09-10 22:00:55] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c26d3f0012d1ecc8006d08980001200932d..."} 
[2026-09-10 22:00:55] local.INFO: Packet analysis {"connection_id":178081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 22:00:55] local.INFO: Extracted packet for processing {"connection_id":178081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 22:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756993152,"raw_latitude":114329984,"longitude_deg":75.6993152,"latitude_deg":11.4329984,"altitude":18,"angle":147,"satellites":45,"speed":32,"hex_longitude":"2d1ecc80","hex_latitude":"06d08980","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998780928001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404856274589581312,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2213730352355629056,"note":"Value kept but may cause issues"} 
[2026-09-10 22:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789057750000,"timestamp_ms":1789057750000,"timestamp_seconds":1789057750,"priority":1,"record_length":96,"hex_timestamp":"000001a08c26d3f0"} 
[2026-09-10 22:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:00:55] 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-09-10 22: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-09-10 22:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998780928001,"66":27234,"153":206,"81":22528,"24":32,"16":404856274589581312,"45":2213730352355629056},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-10 22:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998780928001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:00:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 22:00:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404856274589581312,"km_value":404856274589581.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2213730352355629056,"description":"Unknown IO ID 45"} 
[2026-09-10 22:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998780928001,"power":27234,"unknown_153":206,"unknown_81":22528,"ignition":32,"odometer":null,"unknown_45":2213730352355629056}} 
[2026-09-10 22:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":178081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:00:55] local.INFO: GPS data processed {"connection_id":178081,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:00:55] local.INFO: Acknowledgment sent {"connection_id":178081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:01:04] local.INFO: TCP Data received {"connection_id":176943,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:01:04] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:01:04] local.INFO: Packet analysis {"connection_id":176943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 22:01:04] local.INFO: Extracted packet for processing {"connection_id":176943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 22:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01: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-09-10 22:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 22:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:01:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":176943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:01:04] local.INFO: GPS data processed {"connection_id":176943,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:01:04] local.INFO: Acknowledgment sent {"connection_id":176943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:01:18] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:01:18] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:01:18] local.INFO: IMEI packet received {"connection_id":178082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":178082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:01:23] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:01:23] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:01:23] local.INFO: IMEI packet received {"connection_id":178082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":178082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:01:25] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c26fee8012d1ee00006d06900000f00952d..."} 
[2026-09-10 22:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c26fee8012d1ee00006d06900000f00952d..."} 
[2026-09-10 22:01:25] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c26fee8012d1ee00006d06900000f00952d..."} 
[2026-09-10 22:01:25] local.INFO: Packet analysis {"connection_id":178082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 22:01:25] local.INFO: Extracted packet for processing {"connection_id":178082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c26"} 
[2026-09-10 22:01:25] local.INFO: GPS Element Parsed {"raw_longitude":756998144,"raw_latitude":114321664,"longitude_deg":75.6998144,"latitude_deg":11.4321664,"altitude":15,"angle":149,"satellites":45,"speed":36,"hex_longitude":"2d1ee000","hex_latitude":"06d06900","is_valid_coordinates":true} 
[2026-09-10 22:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998784000001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404856742741016576,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2219289483143643136,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789057761000,"timestamp_ms":1789057761000,"timestamp_seconds":1789057761,"priority":1,"record_length":96,"hex_timestamp":"000001a08c26fee8"} 
[2026-09-10 22:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:01:25] 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-09-10 22:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998784000001,"66":27126,"153":206,"81":22528,"24":36,"16":404856742741016576,"45":2219289483143643136},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-10 22:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998784000001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:01:25] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-10 22:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404856742741016576,"km_value":404856742741016.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2219289483143643136,"description":"Unknown IO ID 45"} 
[2026-09-10 22:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998784000001,"power":27126,"unknown_153":206,"unknown_81":22528,"ignition":36,"odometer":null,"unknown_45":2219289483143643136}} 
[2026-09-10 22:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":178082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:01:25] local.INFO: GPS data processed {"connection_id":178082,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:01:25] local.INFO: Acknowledgment sent {"connection_id":178082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:01:26] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:01:26] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:01:26] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:01:31] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:01:31] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:01:31] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:01:32] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:01:32] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2437f8012d1965c0071feee00041005e28..."} 
[2026-09-10 22:01:32] local.INFO: Packet analysis {"connection_id":176722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 22:01:32] local.INFO: Extracted packet for processing {"connection_id":176722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c24"} 
[2026-09-10 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998663168001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789057579000,"timestamp_ms":1789057579000,"timestamp_seconds":1789057579,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2437f8"} 
[2026-09-10 22:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998663168001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998663168001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:01:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998663168001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":176722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:01:33] local.INFO: GPS data processed {"connection_id":176722,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:01:33] local.INFO: Acknowledgment sent {"connection_id":176722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:01:56] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2729e0012d1ef40006d04c00000f00902d..."} 
[2026-09-10 22:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2729e0012d1ef40006d04c00000f00902d..."} 
[2026-09-10 22:01:56] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2729e0012d1ef40006d04c00000f00902d..."} 
[2026-09-10 22:01:56] local.INFO: Packet analysis {"connection_id":178082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:01:56] local.INFO: Extracted packet for processing {"connection_id":178082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:01:56] local.INFO: GPS Element Parsed {"raw_longitude":757003264,"raw_latitude":114314240,"longitude_deg":75.7003264,"latitude_deg":11.431424,"altitude":15,"angle":144,"satellites":45,"speed":30,"hex_longitude":"2d1ef400","hex_latitude":"06d04c00","is_valid_coordinates":true} 
[2026-09-10 22:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998786816001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404857176532713472,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2224778245187371008,"note":"Value kept but may cause issues"} 
[2026-09-10 22:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789057772000,"timestamp_ms":1789057772000,"timestamp_seconds":1789057772,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2729e0"} 
[2026-09-10 22:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 22:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998786816001,"66":27234,"151":206,"81":22528,"24":30,"16":404857176532713472,"45":2224778245187371008},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-09-10 22:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998786816001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:01:56] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 22:01:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404857176532713472,"km_value":404857176532713.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2224778245187371008,"description":"Unknown IO ID 45"} 
[2026-09-10 22:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998786816001,"power":27234,"unknown_151":206,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2224778245187371008}} 
[2026-09-10 22:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":178082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:01:56] local.INFO: GPS data processed {"connection_id":178082,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:01:56] local.INFO: Acknowledgment sent {"connection_id":178082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:02:04] local.INFO: TCP Data received {"connection_id":176722,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:04] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:04] local.INFO: Packet analysis {"connection_id":176722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:02:04] local.INFO: Extracted packet for processing {"connection_id":176722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02: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-09-10 22:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:02:04] 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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:02:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":176722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:02:04] local.INFO: GPS data processed {"connection_id":176722,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:02:04] local.INFO: Acknowledgment sent {"connection_id":176722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:02:23] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:02:23] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:02:23] local.INFO: IMEI packet received {"connection_id":176944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":176944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:02:28] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:02:28] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:02:28] local.INFO: IMEI packet received {"connection_id":176944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":176944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:02:30] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2758c0012d1f080006d02df8000e00932d..."} 
[2026-09-10 22:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2758c0012d1f080006d02df8000e00932d..."} 
[2026-09-10 22:02:30] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2758c0012d1f080006d02df8000e00932d..."} 
[2026-09-10 22:02:30] local.INFO: Packet analysis {"connection_id":176944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:02:30] local.INFO: Extracted packet for processing {"connection_id":176944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:02:30] local.INFO: GPS Element Parsed {"raw_longitude":757008384,"raw_latitude":114306552,"longitude_deg":75.7008384,"latitude_deg":11.4306552,"altitude":14,"angle":147,"satellites":45,"speed":31,"hex_longitude":"2d1f0800","hex_latitude":"06d02df8","is_valid_coordinates":true} 
[2026-09-10 22:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998789632001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404857618914344960,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2230407744719683584,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789057784000,"timestamp_ms":1789057784000,"timestamp_seconds":1789057784,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2758c0"} 
[2026-09-10 22:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:02:30] 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-09-10 22:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998789632001,"66":27267,"151":206,"81":22528,"24":31,"16":404857618914344960,"45":2230407744719683584},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-09-10 22:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998789632001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:02:30] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 22:02:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404857618914344960,"km_value":404857618914344.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2230407744719683584,"description":"Unknown IO ID 45"} 
[2026-09-10 22:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998789632001,"power":27267,"unknown_151":206,"unknown_81":22528,"ignition":31,"odometer":null,"unknown_45":2230407744719683584}} 
[2026-09-10 22:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":176944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:02:30] local.INFO: GPS data processed {"connection_id":176944,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:02:30] local.INFO: Acknowledgment sent {"connection_id":176944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:02:31] local.INFO: TCP Data received {"connection_id":176945,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:02:31] local.INFO: Processing buffer {"connection_id":176945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:02:31] local.INFO: IMEI packet received {"connection_id":176945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":176945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:02:32] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2787a0012d1f1ac006d01040000f00932d..."} 
[2026-09-10 22:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2787a0012d1f1ac006d01040000f00932d..."} 
[2026-09-10 22:02:32] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2787a0012d1f1ac006d01040000f00932d..."} 
[2026-09-10 22:02:32] local.INFO: Packet analysis {"connection_id":176944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:02:32] local.INFO: Extracted packet for processing {"connection_id":176944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:02:32] local.INFO: GPS Element Parsed {"raw_longitude":757013184,"raw_latitude":114298944,"longitude_deg":75.7013184,"latitude_deg":11.4298944,"altitude":15,"angle":147,"satellites":45,"speed":29,"hex_longitude":"2d1f1ac0","hex_latitude":"06d01040","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998792704001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404858052706041856,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2236037244251928576,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 22:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789057796000,"timestamp_ms":1789057796000,"timestamp_seconds":1789057796,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2787a0"} 
[2026-09-10 22:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 22:02: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-09-10 22: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-09-10 22:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998792704001,"66":27267,"81":22528,"24":29,"16":404858052706041856,"45":2236037244251928576},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 22:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998792704001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:02:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404858052706041856,"km_value":404858052706041.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2236037244251928576,"description":"Unknown IO ID 45"} 
[2026-09-10 22:02:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998792704001,"power":27267,"unknown_81":22528,"ignition":29,"odometer":null,"unknown_45":2236037244251928576}} 
[2026-09-10 22:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":176944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:02:32] local.INFO: GPS data processed {"connection_id":176944,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:02:32] local.INFO: Acknowledgment sent {"connection_id":176944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:02:36] local.INFO: TCP Data received {"connection_id":176945,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:02:36] local.INFO: Processing buffer {"connection_id":176945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:02:36] local.INFO: IMEI packet received {"connection_id":176945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":176945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:02:37] local.INFO: TCP Data received {"connection_id":176945,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:37] local.INFO: Processing buffer {"connection_id":176945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:37] local.INFO: Packet analysis {"connection_id":176945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:02:37] local.INFO: Extracted packet for processing {"connection_id":176945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02: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-09-10 22:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:02: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-09-10 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:02: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-09-10 22:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:02:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":176945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:02:38] local.INFO: GPS data processed {"connection_id":176945,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:02:38] local.INFO: Acknowledgment sent {"connection_id":176945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:02:42] local.INFO: TCP Data received {"connection_id":176945,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:42] local.INFO: Processing buffer {"connection_id":176945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:02:42] local.INFO: Packet analysis {"connection_id":176945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:02:42] local.INFO: Extracted packet for processing {"connection_id":176945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:02: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-09-10 22:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:02: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-09-10 22:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:02: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-09-10 22:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:02:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":176945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:02:42] local.INFO: GPS data processed {"connection_id":176945,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:02:42] local.INFO: Acknowledgment sent {"connection_id":176945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:03:03] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c27b680012d1f2f4006cff3800011008f2d..."} 
[2026-09-10 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c27b680012d1f2f4006cff3800011008f2d..."} 
[2026-09-10 22:03:03] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c27b680012d1f2f4006cff3800011008f2d..."} 
[2026-09-10 22:03:03] local.INFO: Packet analysis {"connection_id":176944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:03:03] local.INFO: Extracted packet for processing {"connection_id":176944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":757018432,"raw_latitude":114291584,"longitude_deg":75.7018432,"latitude_deg":11.4291584,"altitude":17,"angle":143,"satellites":45,"speed":31,"hex_longitude":"2d1f2f40","hex_latitude":"06cff380","is_valid_coordinates":true} 
[2026-09-10 22:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998795776001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404858490792706048,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2241314900063305728,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 22:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789057808000,"timestamp_ms":1789057808000,"timestamp_seconds":1789057808,"priority":1,"record_length":96,"hex_timestamp":"000001a08c27b680"} 
[2026-09-10 22:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 22:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998795776001,"66":27310,"81":22528,"24":31,"16":404858490792706048,"45":2241314900063305728},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 22:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998795776001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404858490792706048,"km_value":404858490792706.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2241314900063305728,"description":"Unknown IO ID 45"} 
[2026-09-10 22:03:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998795776001,"power":27310,"unknown_81":22528,"ignition":31,"odometer":null,"unknown_45":2241314900063305728}} 
[2026-09-10 22:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":176944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:03:03] local.INFO: GPS data processed {"connection_id":176944,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:03:03] local.INFO: Acknowledgment sent {"connection_id":176944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:03:17] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:17] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:17] local.INFO: IMEI packet received {"connection_id":176947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":176947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:03:18] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:18] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:18] local.INFO: IMEI packet received {"connection_id":176947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":176947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:03:23] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:23] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:03:23] local.INFO: IMEI packet received {"connection_id":176947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":176947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:03:25] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c27e178012d1f434006cfd6f80010008e2d..."} 
[2026-09-10 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c27e178012d1f434006cfd6f80010008e2d..."} 
[2026-09-10 22:03:25] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c27e178012d1f434006cfd6f80010008e2d..."} 
[2026-09-10 22:03:25] local.INFO: Packet analysis {"connection_id":176947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:03:25] local.INFO: Extracted packet for processing {"connection_id":176947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c27"} 
[2026-09-10 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":757023552,"raw_latitude":114284280,"longitude_deg":75.7023552,"latitude_deg":11.428428,"altitude":16,"angle":142,"satellites":45,"speed":30,"hex_longitude":"2d1f4340","hex_latitude":"06cfd6f8","is_valid_coordinates":true} 
[2026-09-10 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998798848001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404858920289435648,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2247085137083990016,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 22:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789057819000,"timestamp_ms":1789057819000,"timestamp_seconds":1789057819,"priority":1,"record_length":96,"hex_timestamp":"000001a08c27e178"} 
[2026-09-10 22:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 22:03:25] 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-09-10 22:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998798848001,"66":27234,"81":22528,"24":30,"16":404858920289435648,"45":2247085137083990016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 22:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998798848001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404858920289435648,"km_value":404858920289435.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2247085137083990016,"description":"Unknown IO ID 45"} 
[2026-09-10 22:03:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998798848001,"power":27234,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2247085137083990016}} 
[2026-09-10 22:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":176947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:03:25] local.INFO: GPS data processed {"connection_id":176947,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:03:25] local.INFO: Acknowledgment sent {"connection_id":176947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:03:26] local.INFO: TCP Data received {"connection_id":176723,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:03:26] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:03:26] local.INFO: IMEI packet received {"connection_id":176723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":176723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:03:31] local.INFO: TCP Data received {"connection_id":176723,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:03:31] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:03:31] local.INFO: IMEI packet received {"connection_id":176723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":176723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:03:32] local.INFO: TCP Data received {"connection_id":176723,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:03:32] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:03:32] local.INFO: Packet analysis {"connection_id":176723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:03:32] local.INFO: Extracted packet for processing {"connection_id":176723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:03:32] 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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:03:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":176723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:03:33] local.INFO: GPS data processed {"connection_id":176723,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:03:33] local.INFO: Acknowledgment sent {"connection_id":176723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:03:56] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c281440012d1f590006cfb9c0000e008c2d..."} 
[2026-09-10 22:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c281440012d1f590006cfb9c0000e008c2d..."} 
[2026-09-10 22:03:56] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c281440012d1f590006cfb9c0000e008c2d..."} 
[2026-09-10 22:03:56] local.INFO: Packet analysis {"connection_id":176947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:03:56] local.INFO: Extracted packet for processing {"connection_id":176947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":757029120,"raw_latitude":114276800,"longitude_deg":75.702912,"latitude_deg":11.42768,"altitude":14,"angle":140,"satellites":45,"speed":24,"hex_longitude":"2d1f5900","hex_latitude":"06cfb9c0","is_valid_coordinates":true} 
[2026-09-10 22:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998801664001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404859371261001728,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2252714636616333312,"note":"Value kept but may cause issues"} 
[2026-09-10 22:03:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 22:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789057832000,"timestamp_ms":1789057832000,"timestamp_seconds":1789057832,"priority":1,"record_length":96,"hex_timestamp":"000001a08c281440"} 
[2026-09-10 22:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:03:56] 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-09-10 22:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998801664001,"66":27343,"81":22528,"24":24,"16":404859371261001728,"45":2252714636616333312},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-10 22:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998801664001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404859371261001728,"km_value":404859371261001.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2252714636616333312,"description":"Unknown IO ID 45"} 
[2026-09-10 22:03:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457998801664001,"power":27343,"unknown_81":22528,"ignition":24,"odometer":null,"unknown_45":2252714636616333312}} 
[2026-09-10 22:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":176947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:03:56] local.INFO: GPS data processed {"connection_id":176947,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:03:56] local.INFO: Acknowledgment sent {"connection_id":176947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:03:58] local.INFO: TCP Data received {"connection_id":176724,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:03:58] local.INFO: Processing buffer {"connection_id":176724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:03:58] local.INFO: IMEI packet received {"connection_id":176724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":176724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:04:04] local.INFO: TCP Data received {"connection_id":176723,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:04:04] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:04:04] local.INFO: Packet analysis {"connection_id":176723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:04:04] local.INFO: Extracted packet for processing {"connection_id":176723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:04:04] 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-09-10 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:04:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":176723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:04:04] local.INFO: GPS data processed {"connection_id":176723,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:04:04] local.INFO: Acknowledgment sent {"connection_id":176723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:04:16] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:16] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:16] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:04:17] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:17] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:17] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:04:18] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:18] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:18] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:04:19] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:19] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:04:19] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:04:26] local.INFO: TCP Data received {"connection_id":179476,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:04:26] local.INFO: Processing buffer {"connection_id":179476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:04:26] local.INFO: IMEI packet received {"connection_id":179476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":179476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:04:31] local.INFO: TCP Data received {"connection_id":179476,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:04:31] local.INFO: Processing buffer {"connection_id":179476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:04:31] local.INFO: IMEI packet received {"connection_id":179476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":179476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:04:32] local.INFO: TCP Data received {"connection_id":179476,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:04:32] local.INFO: Processing buffer {"connection_id":179476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:04:32] local.INFO: Packet analysis {"connection_id":179476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:04:32] local.INFO: Extracted packet for processing {"connection_id":179476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:04:32] 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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:04:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":179476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:04:32] local.INFO: GPS data processed {"connection_id":179476,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:04:32] local.INFO: Acknowledgment sent {"connection_id":179476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:04:43] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:04:43] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:04:43] local.INFO: IMEI packet received {"connection_id":176949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":176949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:05:04] local.INFO: TCP Data received {"connection_id":179476,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:05:04] local.INFO: Processing buffer {"connection_id":179476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:05:04] local.INFO: Packet analysis {"connection_id":179476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:05:04] local.INFO: Extracted packet for processing {"connection_id":179476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:05: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-09-10 22:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:05:04] 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-09-10 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:05:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":179476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:05:04] local.INFO: GPS data processed {"connection_id":179476,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:05:04] local.INFO: Acknowledgment sent {"connection_id":179476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:05:26] local.INFO: TCP Data received {"connection_id":179477,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:05:26] local.INFO: Processing buffer {"connection_id":179477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:05:26] local.INFO: IMEI packet received {"connection_id":179477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":179477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:05:31] local.INFO: TCP Data received {"connection_id":179477,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:05:31] local.INFO: Processing buffer {"connection_id":179477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:05:31] local.INFO: IMEI packet received {"connection_id":179477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":179477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:05:32] local.INFO: TCP Data received {"connection_id":179477,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:05:32] local.INFO: Processing buffer {"connection_id":179477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:05:32] local.INFO: Packet analysis {"connection_id":179477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:05:32] local.INFO: Extracted packet for processing {"connection_id":179477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 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-09-10 22:05:32] 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-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 22:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:05:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":179477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:05:32] local.INFO: GPS data processed {"connection_id":179477,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:05:32] local.INFO: Acknowledgment sent {"connection_id":179477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:06:04] local.INFO: TCP Data received {"connection_id":179477,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:06:04] local.INFO: Processing buffer {"connection_id":179477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:06:04] local.INFO: Packet analysis {"connection_id":179477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:06:04] local.INFO: Extracted packet for processing {"connection_id":179477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:06: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-09-10 22:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:06:04] 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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:06:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":179477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:06:04] local.INFO: GPS data processed {"connection_id":179477,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:06:04] local.INFO: Acknowledgment sent {"connection_id":179477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:06:26] local.INFO: TCP Data received {"connection_id":179478,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:06:26] local.INFO: Processing buffer {"connection_id":179478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:06:26] local.INFO: IMEI packet received {"connection_id":179478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":179478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:06:31] local.INFO: TCP Data received {"connection_id":179478,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:06:31] local.INFO: Processing buffer {"connection_id":179478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:06:31] local.INFO: IMEI packet received {"connection_id":179478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":179478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:06:34] local.INFO: TCP Data received {"connection_id":179478,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:06:34] local.INFO: Processing buffer {"connection_id":179478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c28cfc0012d1965c0071feee00041005e29..."} 
[2026-09-10 22:06:34] local.INFO: Packet analysis {"connection_id":179478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:06:34] local.INFO: Extracted packet for processing {"connection_id":179478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c28"} 
[2026-09-10 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998740224001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789057880000,"timestamp_ms":1789057880000,"timestamp_seconds":1789057880,"priority":1,"record_length":96,"hex_timestamp":"000001a08c28cfc0"} 
[2026-09-10 22:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:06:34] 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-09-10 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998740224001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998740224001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:06:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:06:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998740224001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":179478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:06:34] local.INFO: GPS data processed {"connection_id":179478,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:06:34] local.INFO: Acknowledgment sent {"connection_id":179478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:07:05] local.INFO: TCP Data received {"connection_id":179478,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:07:05] local.INFO: Processing buffer {"connection_id":179478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:07:05] local.INFO: Packet analysis {"connection_id":179478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:07:05] local.INFO: Extracted packet for processing {"connection_id":179478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22: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-09-10 22:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:07: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-09-10 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:07: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-09-10 22:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":179478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:07:06] local.INFO: GPS data processed {"connection_id":179478,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:07:06] local.INFO: Acknowledgment sent {"connection_id":179478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:07:31] local.INFO: TCP Data received {"connection_id":178087,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:07:31] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:07:31] local.INFO: IMEI packet received {"connection_id":178087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":178087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:07:36] local.INFO: TCP Data received {"connection_id":178087,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:07:36] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:07:36] local.INFO: IMEI packet received {"connection_id":178087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":178087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:07:37] local.INFO: TCP Data received {"connection_id":178087,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:07:37] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:07:37] local.INFO: Packet analysis {"connection_id":178087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:07:37] local.INFO: Extracted packet for processing {"connection_id":178087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:07: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-09-10 22:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:07:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":178087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:07:38] local.INFO: GPS data processed {"connection_id":178087,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:07:38] local.INFO: Acknowledgment sent {"connection_id":178087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:08:09] local.INFO: TCP Data received {"connection_id":178087,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:08:09] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:08:09] local.INFO: Packet analysis {"connection_id":178087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:08:09] local.INFO: Extracted packet for processing {"connection_id":178087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:08:09] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22: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-09-10 22:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22: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-09-10 22:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:08:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":178087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:08:09] local.INFO: GPS data processed {"connection_id":178087,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:08:09] local.INFO: Acknowledgment sent {"connection_id":178087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:08:26] local.INFO: TCP Data received {"connection_id":179480,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:08:26] local.INFO: Processing buffer {"connection_id":179480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:08:26] local.INFO: IMEI packet received {"connection_id":179480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":179480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:08:31] local.INFO: TCP Data received {"connection_id":179480,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:08:31] local.INFO: Processing buffer {"connection_id":179480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:08:31] local.INFO: IMEI packet received {"connection_id":179480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":179480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:08:33] local.INFO: TCP Data received {"connection_id":179480,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:08:33] local.INFO: Processing buffer {"connection_id":179480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:08:33] local.INFO: Packet analysis {"connection_id":179480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:08:33] local.INFO: Extracted packet for processing {"connection_id":179480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:08:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:08:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":179480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:08:33] local.INFO: GPS data processed {"connection_id":179480,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:08:33] local.INFO: Acknowledgment sent {"connection_id":179480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:09:04] local.INFO: TCP Data received {"connection_id":179480,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:04] local.INFO: Processing buffer {"connection_id":179480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:04] local.INFO: Packet analysis {"connection_id":179480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:09:04] local.INFO: Extracted packet for processing {"connection_id":179480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09: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-09-10 22:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:09: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-09-10 22:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:09:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":179480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:09:04] local.INFO: GPS data processed {"connection_id":179480,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:09:04] local.INFO: Acknowledgment sent {"connection_id":179480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:09:23] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:09:23] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:09:23] local.INFO: IMEI packet received {"connection_id":176727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":176727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:09:25] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:09:25] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:09:25] local.INFO: IMEI packet received {"connection_id":176727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":176727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:09:25] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2f2ca8012d222ec006cbeb20000900902b..."} 
[2026-09-10 22:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2f2ca8012d222ec006cbeb20000900902b..."} 
[2026-09-10 22:09:25] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2f2ca8012d222ec006cbeb20000900902b..."} 
[2026-09-10 22:09:25] local.INFO: Packet analysis {"connection_id":176727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2f"} 
[2026-09-10 22:09:25] local.INFO: Extracted packet for processing {"connection_id":176727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2f"} 
[2026-09-10 22:09:25] local.INFO: GPS Element Parsed {"raw_longitude":757214912,"raw_latitude":114027296,"longitude_deg":75.7214912,"latitude_deg":11.4027296,"altitude":9,"angle":144,"satellites":43,"speed":59,"hex_longitude":"2d222ec0","hex_latitude":"06cbeb20","is_valid_coordinates":true} 
[2026-09-10 22:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998922496001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404875258345029632,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2457839525830379520,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789058297000,"timestamp_ms":1789058297000,"timestamp_seconds":1789058297,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2f2ca8"} 
[2026-09-10 22:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 22:09:25] 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-09-10 22:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998922496001,"66":27234,"179":206,"81":22528,"24":59,"16":404875258345029632,"45":2457839525830379520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 22:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998922496001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:09:25] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 22:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404875258345029632,"km_value":404875258345029.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2457839525830379520,"description":"Unknown IO ID 45"} 
[2026-09-10 22:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998922496001,"power":27234,"unknown_179":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2457839525830379520}} 
[2026-09-10 22:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":176727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:09:25] local.INFO: GPS data processed {"connection_id":176727,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:09:25] local.INFO: Acknowledgment sent {"connection_id":176727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:09:31] local.INFO: TCP Data received {"connection_id":176954,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:09:31] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:09:31] local.INFO: IMEI packet received {"connection_id":176954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":176954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:09:36] local.INFO: TCP Data received {"connection_id":176954,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:09:36] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:09:36] local.INFO: IMEI packet received {"connection_id":176954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":176954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:09:38] local.INFO: TCP Data received {"connection_id":176954,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:38] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:38] local.INFO: Packet analysis {"connection_id":176954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:09:38] local.INFO: Extracted packet for processing {"connection_id":176954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09: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-09-10 22:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:09: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-09-10 22:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:09:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":176954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:09:38] local.INFO: GPS data processed {"connection_id":176954,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:09:38] local.INFO: Acknowledgment sent {"connection_id":176954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:09:42] local.INFO: TCP Data received {"connection_id":176954,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:42] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:09:42] local.INFO: Packet analysis {"connection_id":176954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:09:42] local.INFO: Extracted packet for processing {"connection_id":176954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09: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-09-10 22:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:09: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-09-10 22:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:09:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":176954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:09:42] local.INFO: GPS data processed {"connection_id":176954,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:09:42] local.INFO: Acknowledgment sent {"connection_id":176954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:09:57] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2f4418012d22460006cbd100000900832b..."} 
[2026-09-10 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2f4418012d22460006cbd100000900832b..."} 
[2026-09-10 22:09:57] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2f4418012d22460006cbd100000900832b..."} 
[2026-09-10 22:09:57] local.INFO: Packet analysis {"connection_id":176727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2f"} 
[2026-09-10 22:09:57] local.INFO: Extracted packet for processing {"connection_id":176727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2f"} 
[2026-09-10 22:09:57] local.INFO: GPS Element Parsed {"raw_longitude":757220864,"raw_latitude":114020608,"longitude_deg":75.7220864,"latitude_deg":11.4020608,"altitude":9,"angle":131,"satellites":43,"speed":58,"hex_longitude":"2d224600","hex_latitude":"06cbd100","is_valid_coordinates":true} 
[2026-09-10 22:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998924032001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404875692136726528,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2463117181641760768,"note":"Value kept but may cause issues"} 
[2026-09-10 22:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789058303000,"timestamp_ms":1789058303000,"timestamp_seconds":1789058303,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2f4418"} 
[2026-09-10 22:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:09:57] 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-09-10 22:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998924032001,"66":27267,"179":206,"81":22528,"24":58,"16":404875692136726528,"45":2463117181641760768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 22:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998924032001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:09:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 22:09:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404875692136726528,"km_value":404875692136726.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2463117181641760768,"description":"Unknown IO ID 45"} 
[2026-09-10 22:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998924032001,"power":27267,"unknown_179":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2463117181641760768}} 
[2026-09-10 22:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":176727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:09:57] local.INFO: GPS data processed {"connection_id":176727,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:09:57] local.INFO: Acknowledgment sent {"connection_id":176727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:10:18] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:18] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:18] local.INFO: IMEI packet received {"connection_id":178089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":178089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:10:18] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:18] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:18] local.INFO: IMEI packet received {"connection_id":178089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":178089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:10:23] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:23] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:10:23] local.INFO: IMEI packet received {"connection_id":178089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":178089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:10:24] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3022c0012d22eb8006cac4780012009e2c..."} 
[2026-09-10 22:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3022c0012d22eb8006cac4780012009e2c..."} 
[2026-09-10 22:10:24] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3022c0012d22eb8006cac4780012009e2c..."} 
[2026-09-10 22:10:24] local.INFO: Packet analysis {"connection_id":178089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c30"} 
[2026-09-10 22:10:24] local.INFO: Extracted packet for processing {"connection_id":178089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c30"} 
[2026-09-10 22:10:24] local.INFO: GPS Element Parsed {"raw_longitude":757263232,"raw_latitude":113951864,"longitude_deg":75.7263232,"latitude_deg":11.3951864,"altitude":18,"angle":158,"satellites":44,"speed":52,"hex_longitude":"2d22eb80","hex_latitude":"06cac478","is_valid_coordinates":true} 
[2026-09-10 22:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998938368001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404879695046246400,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2513290096223399936,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789058360000,"timestamp_ms":1789058360000,"timestamp_seconds":1789058360,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3022c0"} 
[2026-09-10 22:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:10:24] 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-09-10 22:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998938368001,"66":26180,"47":206,"81":22528,"24":52,"16":404879695046246400,"45":2513290096223399936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-10 22:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998938368001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:10:24] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 22:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404879695046246400,"km_value":404879695046246.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2513290096223399936,"description":"Unknown IO ID 45"} 
[2026-09-10 22:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998938368001,"power":26180,"unknown_47":206,"unknown_81":22528,"ignition":52,"odometer":null,"unknown_45":2513290096223399936}} 
[2026-09-10 22:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":178089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:10:24] local.INFO: GPS data processed {"connection_id":178089,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:10:24] local.INFO: Acknowledgment sent {"connection_id":178089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:10:26] local.INFO: TCP Data received {"connection_id":179481,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:10:26] local.INFO: Processing buffer {"connection_id":179481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:10:26] local.INFO: IMEI packet received {"connection_id":179481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":179481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:10:31] local.INFO: TCP Data received {"connection_id":179481,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:10:31] local.INFO: Processing buffer {"connection_id":179481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:10:31] local.INFO: IMEI packet received {"connection_id":179481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":179481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:10:34] local.INFO: TCP Data received {"connection_id":179481,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:10:34] local.INFO: Processing buffer {"connection_id":179481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:10:34] local.INFO: Packet analysis {"connection_id":179481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:10:34] local.INFO: Extracted packet for processing {"connection_id":179481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":179481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":179481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":179481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:10:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:10:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":179481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:10:34] local.INFO: GPS data processed {"connection_id":179481,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:10:34] local.INFO: Acknowledgment sent {"connection_id":179481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:10:37] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:10:37] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:10:37] local.INFO: IMEI packet received {"connection_id":176729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":176729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:10:56] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c303e18012d22fc4006caa470001100922c..."} 
[2026-09-10 22:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c303e18012d22fc4006caa470001100922c..."} 
[2026-09-10 22:10:56] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c303e18012d22fc4006caa470001100922c..."} 
[2026-09-10 22:10:56] local.INFO: Packet analysis {"connection_id":178089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c30"} 
[2026-09-10 22:10:56] local.INFO: Extracted packet for processing {"connection_id":178089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c30"} 
[2026-09-10 22:10:56] local.INFO: GPS Element Parsed {"raw_longitude":757267520,"raw_latitude":113943664,"longitude_deg":75.726752,"latitude_deg":11.3943664,"altitude":17,"angle":146,"satellites":44,"speed":54,"hex_longitude":"2d22fc40","hex_latitude":"06caa470","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998940160001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404880141722845184,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2516245583476586496,"note":"Value kept but may cause issues"} 
[2026-09-10 22:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789058367000,"timestamp_ms":1789058367000,"timestamp_seconds":1789058367,"priority":1,"record_length":96,"hex_timestamp":"000001a08c303e18"} 
[2026-09-10 22:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-10 22:10:56] 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-09-10 22: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-09-10 22:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998940160001,"66":27300,"47":206,"81":22528,"24":54,"16":404880141722845184,"45":2516245583476586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-10 22:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998940160001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:10:56] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 22:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404880141722845184,"km_value":404880141722845.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2516245583476586496,"description":"Unknown IO ID 45"} 
[2026-09-10 22:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998940160001,"power":27300,"unknown_47":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2516245583476586496}} 
[2026-09-10 22:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":178089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:10:56] local.INFO: GPS data processed {"connection_id":178089,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:10:56] local.INFO: Acknowledgment sent {"connection_id":178089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:11:06] local.INFO: TCP Data received {"connection_id":179481,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:11:06] local.INFO: Processing buffer {"connection_id":179481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:11:06] local.INFO: Packet analysis {"connection_id":179481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:11:06] local.INFO: Extracted packet for processing {"connection_id":179481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22: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-09-10 22:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 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-09-10 22:11: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-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 22:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":179481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":179481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":179481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":179481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:11:06] local.INFO: GPS data processed {"connection_id":179481,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:11:06] local.INFO: Acknowledgment sent {"connection_id":179481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:11:18] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:18] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:18] local.INFO: IMEI packet received {"connection_id":178090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":178090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:11:19] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:19] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:19] local.INFO: IMEI packet received {"connection_id":178090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":178090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:11:23] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:23] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:11:23] local.INFO: IMEI packet received {"connection_id":178090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":178090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:11:25] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3114f0012d23fb0006ca0200000e008c2c..."} 
[2026-09-10 22:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3114f0012d23fb0006ca0200000e008c2c..."} 
[2026-09-10 22:11:25] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3114f0012d23fb0006ca0200000e008c2c..."} 
[2026-09-10 22:11:25] local.INFO: Packet analysis {"connection_id":178090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:11:25] local.INFO: Extracted packet for processing {"connection_id":178090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:11:25] local.INFO: GPS Element Parsed {"raw_longitude":757332736,"raw_latitude":113902080,"longitude_deg":75.7332736,"latitude_deg":11.390208,"altitude":14,"angle":140,"satellites":44,"speed":54,"hex_longitude":"2d23fb00","hex_latitude":"06ca0200","is_valid_coordinates":true} 
[2026-09-10 22:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998954752001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404884011488378880,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2587247646340300800,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789058422000,"timestamp_ms":1789058422000,"timestamp_seconds":1789058422,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3114f0"} 
[2026-09-10 22:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-10 22:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998954752001,"66":27234,"47":206,"81":22528,"24":54,"16":404884011488378880,"45":2587247646340300800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-10 22:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998954752001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:11:25] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 22:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404884011488378880,"km_value":404884011488378.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2587247646340300800,"description":"Unknown IO ID 45"} 
[2026-09-10 22:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998954752001,"power":27234,"unknown_47":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2587247646340300800}} 
[2026-09-10 22:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":178090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:11:25] local.INFO: GPS data processed {"connection_id":178090,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:11:25] local.INFO: Acknowledgment sent {"connection_id":178090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:11:26] local.INFO: TCP Data received {"connection_id":176955,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:11:26] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:11:26] local.INFO: IMEI packet received {"connection_id":176955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":176955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:11:31] local.INFO: TCP Data received {"connection_id":176955,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:11:31] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:11:31] local.INFO: IMEI packet received {"connection_id":176955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":176955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:11:32] local.INFO: TCP Data received {"connection_id":176955,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:11:32] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c2d6788012d1965c0071feee00041005e27..."} 
[2026-09-10 22:11:32] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:11:32] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c2d"} 
[2026-09-10 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998817280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789058181000,"timestamp_ms":1789058181000,"timestamp_seconds":1789058181,"priority":1,"record_length":96,"hex_timestamp":"000001a08c2d6788"} 
[2026-09-10 22:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998817280001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998817280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:11:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998817280001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:11:32] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:11:32] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:11:56] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c312878012d240a0006c9ebd8000e00982d..."} 
[2026-09-10 22:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c312878012d240a0006c9ebd8000e00982d..."} 
[2026-09-10 22:11:56] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c312878012d240a0006c9ebd8000e00982d..."} 
[2026-09-10 22:11:56] local.INFO: Packet analysis {"connection_id":178090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:11:56] local.INFO: Extracted packet for processing {"connection_id":178090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":757336576,"raw_latitude":113896408,"longitude_deg":75.7336576,"latitude_deg":11.3896408,"altitude":14,"angle":152,"satellites":45,"speed":54,"hex_longitude":"2d240a00","hex_latitude":"06c9ebd8","is_valid_coordinates":true} 
[2026-09-10 22:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998956032001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404884342200860672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2592666039640784896,"note":"Value kept but may cause issues"} 
[2026-09-10 22:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789058427000,"timestamp_ms":1789058427000,"timestamp_seconds":1789058427,"priority":1,"record_length":96,"hex_timestamp":"000001a08c312878"} 
[2026-09-10 22:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:11:56] 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-09-10 22:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998956032001,"66":27289,"47":206,"81":22528,"24":54,"16":404884342200860672,"45":2592666039640784896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-10 22:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998956032001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:11:56] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 22:11:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404884342200860672,"km_value":404884342200860.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2592666039640784896,"description":"Unknown IO ID 45"} 
[2026-09-10 22:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998956032001,"power":27289,"unknown_47":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2592666039640784896}} 
[2026-09-10 22:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":178090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:11:56] local.INFO: GPS data processed {"connection_id":178090,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:11:56] local.INFO: Acknowledgment sent {"connection_id":178090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:12:04] local.INFO: TCP Data received {"connection_id":176955,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:12:04] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:12:04] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:04] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12: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-09-10 22:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:12: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-09-10 22:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:12:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:12:04] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:12:04] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:12:19] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:19] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:19] local.INFO: IMEI packet received {"connection_id":178091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":178091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:12:21] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:21] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:21] local.INFO: IMEI packet received {"connection_id":178091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":178091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:12:22] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:22] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:22] local.INFO: IMEI packet received {"connection_id":178091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":178091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:12:23] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:23] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:12:23] local.INFO: IMEI packet received {"connection_id":178091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":178091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:12:23] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3143d0012d24188006c9c868000d00a02c..."} 
[2026-09-10 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3143d0012d24188006c9c868000d00a02c..."} 
[2026-09-10 22:12:23] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3143d0012d24188006c9c868000d00a02c..."} 
[2026-09-10 22:12:23] local.INFO: Packet analysis {"connection_id":178091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:23] local.INFO: Extracted packet for processing {"connection_id":178091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":757340288,"raw_latitude":113887336,"longitude_deg":75.7340288,"latitude_deg":11.3887336,"altitude":13,"angle":160,"satellites":44,"speed":55,"hex_longitude":"2d241880","hex_latitude":"06c9c868","is_valid_coordinates":true} 
[2026-09-10 22:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998957312001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404884814647263232,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2596888164289992704,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789058434000,"timestamp_ms":1789058434000,"timestamp_seconds":1789058434,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3143d0"} 
[2026-09-10 22:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:12: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-09-10 22: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 22:12:23] 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-09-10 22:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998957312001,"66":27234,"47":206,"81":22528,"24":55,"16":404884814647263232,"45":2596888164289992704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-10 22:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998957312001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:12:23] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-10 22:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404884814647263232,"km_value":404884814647263.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2596888164289992704,"description":"Unknown IO ID 45"} 
[2026-09-10 22:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998957312001,"power":27234,"unknown_47":206,"unknown_81":22528,"ignition":55,"odometer":null,"unknown_45":2596888164289992704}} 
[2026-09-10 22:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":178091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:12:23] local.INFO: GPS data processed {"connection_id":178091,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:12:23] local.INFO: Acknowledgment sent {"connection_id":178091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:12:26] local.INFO: TCP Data received {"connection_id":176730,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:12:26] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:12:26] local.INFO: IMEI packet received {"connection_id":176730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":176730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:12:28] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c315f28012d24254006c9a5d8000c009f2c..."} 
[2026-09-10 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c315f28012d24254006c9a5d8000c009f2c..."} 
[2026-09-10 22:12:28] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c315f28012d24254006c9a5d8000c009f2c..."} 
[2026-09-10 22:12:28] local.INFO: Packet analysis {"connection_id":178091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:28] local.INFO: Extracted packet for processing {"connection_id":178091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:28] local.INFO: GPS Element Parsed {"raw_longitude":757343552,"raw_latitude":113878488,"longitude_deg":75.7343552,"latitude_deg":11.3878488,"altitude":12,"angle":159,"satellites":44,"speed":53,"hex_longitude":"2d242540","hex_latitude":"06c9a5d8","is_valid_coordinates":true} 
[2026-09-10 22:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998959104001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404885269913796608,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2600969551449974784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789058441000,"timestamp_ms":1789058441000,"timestamp_seconds":1789058441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c315f28"} 
[2026-09-10 22:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998959104001,"66":27213,"46":206,"81":22528,"24":53,"16":404885269913796608,"45":2600969551449974784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 22:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998959104001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:12:28] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 22:12:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404885269913796608,"km_value":404885269913796.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2600969551449974784,"description":"Unknown IO ID 45"} 
[2026-09-10 22:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998959104001,"power":27213,"unknown_46":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2600969551449974784}} 
[2026-09-10 22:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":178091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:12:28] local.INFO: GPS data processed {"connection_id":178091,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:12:28] local.INFO: Acknowledgment sent {"connection_id":178091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:12:31] local.INFO: TCP Data received {"connection_id":176730,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:12:31] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:12:31] local.INFO: IMEI packet received {"connection_id":176730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":176730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:12:32] local.INFO: TCP Data received {"connection_id":176730,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:12:32] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:12:32] local.INFO: Packet analysis {"connection_id":176730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:32] local.INFO: Extracted packet for processing {"connection_id":176730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:12:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":176730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:12:32] local.INFO: GPS data processed {"connection_id":176730,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:12:32] local.INFO: Acknowledgment sent {"connection_id":176730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:12:59] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3297a8012d24c54006c84098000a00a12d..."} 
[2026-09-10 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3297a8012d24c54006c84098000a00a12d..."} 
[2026-09-10 22:12:59] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3297a8012d24c54006c84098000a00a12d..."} 
[2026-09-10 22:12:59] local.INFO: Packet analysis {"connection_id":178091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c32"} 
[2026-09-10 22:12:59] local.INFO: Extracted packet for processing {"connection_id":178091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c32"} 
[2026-09-10 22:12:59] local.INFO: GPS Element Parsed {"raw_longitude":757384512,"raw_latitude":113787032,"longitude_deg":75.7384512,"latitude_deg":11.3787032,"altitude":10,"angle":161,"satellites":45,"speed":62,"hex_longitude":"2d24c540","hex_latitude":"06c84098","is_valid_coordinates":true} 
[2026-09-10 22:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998979840001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404890187651350528,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2645935178956152832,"note":"Value kept but may cause issues"} 
[2026-09-10 22:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789058521000,"timestamp_ms":1789058521000,"timestamp_seconds":1789058521,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3297a8"} 
[2026-09-10 22:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:12:59] 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-09-10 22:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998979840001,"66":27180,"78":206,"81":22528,"24":62,"16":404890187651350528,"45":2645935178956152832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-10 22:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998979840001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:12:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-10 22:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404890187651350528,"km_value":404890187651350.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2645935178956152832,"description":"Unknown IO ID 45"} 
[2026-09-10 22:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998979840001,"power":27180,"unknown_78":206,"unknown_81":22528,"ignition":62,"odometer":null,"unknown_45":2645935178956152832}} 
[2026-09-10 22:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":178091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:12:59] local.INFO: GPS data processed {"connection_id":178091,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:12:59] local.INFO: Acknowledgment sent {"connection_id":178091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:13:04] local.INFO: TCP Data received {"connection_id":176730,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:04] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:04] local.INFO: Packet analysis {"connection_id":176730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:13:04] local.INFO: Extracted packet for processing {"connection_id":176730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13: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-09-10 22:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:13: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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:13:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":176730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:13:04] local.INFO: GPS data processed {"connection_id":176730,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:13:04] local.INFO: Acknowledgment sent {"connection_id":176730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:13:18] local.INFO: TCP Data received {"connection_id":179483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:13:18] local.INFO: Processing buffer {"connection_id":179483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:13:18] local.INFO: IMEI packet received {"connection_id":179483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":179483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:13:23] local.INFO: TCP Data received {"connection_id":179483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:13:23] local.INFO: Processing buffer {"connection_id":179483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:13:23] local.INFO: IMEI packet received {"connection_id":179483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":179483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:13:23] local.INFO: TCP Data received {"connection_id":179483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c32af18012d24d0c006c81e40000900a12a..."} 
[2026-09-10 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c32af18012d24d0c006c81e40000900a12a..."} 
[2026-09-10 22:13:23] local.INFO: Processing buffer {"connection_id":179483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c32af18012d24d0c006c81e40000900a12a..."} 
[2026-09-10 22:13:23] local.INFO: Packet analysis {"connection_id":179483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c32"} 
[2026-09-10 22:13:23] local.INFO: Extracted packet for processing {"connection_id":179483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c32"} 
[2026-09-10 22:13:23] local.INFO: GPS Element Parsed {"raw_longitude":757387456,"raw_latitude":113778240,"longitude_deg":75.7387456,"latitude_deg":11.377824,"altitude":9,"angle":161,"satellites":42,"speed":60,"hex_longitude":"2d24d0c0","hex_latitude":"06c81e40","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998981376001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404890634327949312,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2649594353651062784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789058527000,"timestamp_ms":1789058527000,"timestamp_seconds":1789058527,"priority":1,"record_length":96,"hex_timestamp":"000001a08c32af18"} 
[2026-09-10 22:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 22:13:23] 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-09-10 22:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998981376001,"66":27158,"78":206,"81":22528,"24":60,"16":404890634327949312,"45":2649594353651062784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-10 22:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998981376001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:13:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-10 22:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404890634327949312,"km_value":404890634327949.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2649594353651062784,"description":"Unknown IO ID 45"} 
[2026-09-10 22:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998981376001,"power":27158,"unknown_78":206,"unknown_81":22528,"ignition":60,"odometer":null,"unknown_45":2649594353651062784}} 
[2026-09-10 22:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":179483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:13:23] local.INFO: GPS data processed {"connection_id":179483,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:13:23] local.INFO: Acknowledgment sent {"connection_id":179483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:13:31] local.INFO: TCP Data received {"connection_id":178092,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:13:31] local.INFO: Processing buffer {"connection_id":178092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:13:31] local.INFO: IMEI packet received {"connection_id":178092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":178092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:13:36] local.INFO: TCP Data received {"connection_id":178092,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:13:36] local.INFO: Processing buffer {"connection_id":178092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:13:36] local.INFO: IMEI packet received {"connection_id":178092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":178092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:13:37] local.INFO: TCP Data received {"connection_id":178092,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:37] local.INFO: Processing buffer {"connection_id":178092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:37] local.INFO: Packet analysis {"connection_id":178092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:13:37] local.INFO: Extracted packet for processing {"connection_id":178092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13: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-09-10 22:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:13: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-09-10 22:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":178092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:13:38] local.INFO: GPS data processed {"connection_id":178092,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:13:38] local.INFO: Acknowledgment sent {"connection_id":178092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:13:42] local.INFO: TCP Data received {"connection_id":178092,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:42] local.INFO: Processing buffer {"connection_id":178092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:13:42] local.INFO: Packet analysis {"connection_id":178092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:13:42] local.INFO: Extracted packet for processing {"connection_id":178092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13: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-09-10 22:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:13: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-09-10 22:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:13:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":178092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:13:42] local.INFO: GPS data processed {"connection_id":178092,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:13:42] local.INFO: Acknowledgment sent {"connection_id":178092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:13:55] local.INFO: TCP Data received {"connection_id":179483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c32ca70012d24dd4006c7f8d8000a00a22d..."} 
[2026-09-10 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c32ca70012d24dd4006c7f8d8000a00a22d..."} 
[2026-09-10 22:13:55] local.INFO: Processing buffer {"connection_id":179483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c32ca70012d24dd4006c7f8d8000a00a22d..."} 
[2026-09-10 22:13:55] local.INFO: Packet analysis {"connection_id":179483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c32"} 
[2026-09-10 22:13:55] local.INFO: Extracted packet for processing {"connection_id":179483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c32"} 
[2026-09-10 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":757390656,"raw_latitude":113768664,"longitude_deg":75.7390656,"latitude_deg":11.3768664,"altitude":10,"angle":162,"satellites":45,"speed":53,"hex_longitude":"2d24dd40","hex_latitude":"06c7f8d8","is_valid_coordinates":true} 
[2026-09-10 22:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998982912001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404891123954221056,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2652831315880984576,"note":"Value kept but may cause issues"} 
[2026-09-10 22:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789058534000,"timestamp_ms":1789058534000,"timestamp_seconds":1789058534,"priority":1,"record_length":96,"hex_timestamp":"000001a08c32ca70"} 
[2026-09-10 22:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-10 22:13:55] 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-09-10 22:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998982912001,"66":27234,"78":206,"81":22528,"24":53,"16":404891123954221056,"45":2652831315880984576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-10 22:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998982912001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:13:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-10 22:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-10 22:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404891123954221056,"km_value":404891123954221.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2652831315880984576,"description":"Unknown IO ID 45"} 
[2026-09-10 22:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998982912001,"power":27234,"unknown_78":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2652831315880984576}} 
[2026-09-10 22:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":179483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:13:55] local.INFO: GPS data processed {"connection_id":179483,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:13:55] local.INFO: Acknowledgment sent {"connection_id":179483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:14:26] local.INFO: TCP Data received {"connection_id":178093,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:14:26] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:14:26] local.INFO: IMEI packet received {"connection_id":178093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":178093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:14:31] local.INFO: TCP Data received {"connection_id":178093,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:14:31] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:14:31] local.INFO: IMEI packet received {"connection_id":178093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":178093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:14:33] local.INFO: TCP Data received {"connection_id":178093,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:14:33] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:14:33] local.INFO: Packet analysis {"connection_id":178093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:14:33] local.INFO: Extracted packet for processing {"connection_id":178093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:14:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":178093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:14:33] local.INFO: GPS data processed {"connection_id":178093,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:14:33] local.INFO: Acknowledgment sent {"connection_id":178093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:14:38] local.INFO: TCP Data received {"connection_id":176957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:14:38] local.INFO: Processing buffer {"connection_id":176957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:14:38] local.INFO: IMEI packet received {"connection_id":176957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":176957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:14:39] local.INFO: TCP Data received {"connection_id":176957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:14:39] local.INFO: Processing buffer {"connection_id":176957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:14:39] local.INFO: IMEI packet received {"connection_id":176957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":176957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:14:39] local.INFO: TCP Data received {"connection_id":176957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c33ff08012d2568c006c67790000d00962d..."} 
[2026-09-10 22:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c33ff08012d2568c006c67790000d00962d..."} 
[2026-09-10 22:14:39] local.INFO: Processing buffer {"connection_id":176957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c33ff08012d2568c006c67790000d00962d..."} 
[2026-09-10 22:14:39] local.INFO: Packet analysis {"connection_id":176957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c33"} 
[2026-09-10 22:14:39] local.INFO: Extracted packet for processing {"connection_id":176957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c33"} 
[2026-09-10 22:14:39] local.INFO: GPS Element Parsed {"raw_longitude":757426368,"raw_latitude":113670032,"longitude_deg":75.7426368,"latitude_deg":11.3670032,"altitude":13,"angle":150,"satellites":45,"speed":56,"hex_longitude":"2d2568c0","hex_latitude":"06c67790","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999003136001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404896265030074368,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2690056381525563392,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789058613000,"timestamp_ms":1789058613000,"timestamp_seconds":1789058613,"priority":1,"record_length":96,"hex_timestamp":"000001a08c33ff08"} 
[2026-09-10 22:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:14:39] 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-09-10 22: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-09-10 22:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:14: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-09-10 22:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999003136001,"66":27267,"85":206,"81":20992,"24":56,"16":404896265030074368,"45":2690056381525563392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 22:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999003136001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 22:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404896265030074368,"km_value":404896265030074.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2690056381525563392,"description":"Unknown IO ID 45"} 
[2026-09-10 22:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999003136001,"power":27267,"unknown_85":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":2690056381525563392}} 
[2026-09-10 22:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":176957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:14:39] local.INFO: GPS data processed {"connection_id":176957,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:14:39] local.INFO: Acknowledgment sent {"connection_id":176957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:14:43] local.INFO: TCP Data received {"connection_id":176957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c341a60012d257ac006c656f0000e00972d..."} 
[2026-09-10 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c341a60012d257ac006c656f0000e00972d..."} 
[2026-09-10 22:14:43] local.INFO: Processing buffer {"connection_id":176957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c341a60012d257ac006c656f0000e00972d..."} 
[2026-09-10 22:14:43] local.INFO: Packet analysis {"connection_id":176957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c34"} 
[2026-09-10 22:14:43] local.INFO: Extracted packet for processing {"connection_id":176957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c34"} 
[2026-09-10 22:14:43] local.INFO: GPS Element Parsed {"raw_longitude":757430976,"raw_latitude":113661680,"longitude_deg":75.7430976,"latitude_deg":11.366168,"altitude":14,"angle":151,"satellites":45,"speed":52,"hex_longitude":"2d257ac0","hex_latitude":"06c656f0","is_valid_coordinates":true} 
[2026-09-10 22:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999004928001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404896724591575040,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2695615512313303040,"note":"Value kept but may cause issues"} 
[2026-09-10 22:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789058620000,"timestamp_ms":1789058620000,"timestamp_seconds":1789058620,"priority":1,"record_length":96,"hex_timestamp":"000001a08c341a60"} 
[2026-09-10 22:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 22:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999004928001,"66":27245,"85":206,"81":20992,"24":52,"16":404896724591575040,"45":2695615512313303040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 22:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999004928001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 22:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404896724591575040,"km_value":404896724591575.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2695615512313303040,"description":"Unknown IO ID 45"} 
[2026-09-10 22:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999004928001,"power":27245,"unknown_85":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2695615512313303040}} 
[2026-09-10 22:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":176957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:14:43] local.INFO: GPS data processed {"connection_id":176957,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:14:43] local.INFO: Acknowledgment sent {"connection_id":176957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:15:04] local.INFO: TCP Data received {"connection_id":178093,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:15:04] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:15:04] local.INFO: Packet analysis {"connection_id":178093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:15:04] local.INFO: Extracted packet for processing {"connection_id":178093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15: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-09-10 22:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:15: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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:15:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":178093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:15:05] local.INFO: GPS data processed {"connection_id":178093,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:15:05] local.INFO: Acknowledgment sent {"connection_id":178093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:15:17] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:17] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:17] local.INFO: IMEI packet received {"connection_id":176958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":176958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:15:18] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:18] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:18] local.INFO: IMEI packet received {"connection_id":176958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":176958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:15:23] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:23] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:15:23] local.INFO: IMEI packet received {"connection_id":176958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":176958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:15:24] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3435b8012d258c8006c635f8000e00972d..."} 
[2026-09-10 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3435b8012d258c8006c635f8000e00972d..."} 
[2026-09-10 22:15:24] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3435b8012d258c8006c635f8000e00972d..."} 
[2026-09-10 22:15:24] local.INFO: Packet analysis {"connection_id":176958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c34"} 
[2026-09-10 22:15:24] local.INFO: Extracted packet for processing {"connection_id":176958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c34"} 
[2026-09-10 22:15:24] local.INFO: GPS Element Parsed {"raw_longitude":757435520,"raw_latitude":113653240,"longitude_deg":75.743552,"latitude_deg":11.365324,"altitude":14,"angle":151,"satellites":45,"speed":57,"hex_longitude":"2d258c80","hex_latitude":"06c635f8","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999006720001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404897188448043008,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2700682061891956736,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789058627000,"timestamp_ms":1789058627000,"timestamp_seconds":1789058627,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3435b8"} 
[2026-09-10 22:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 22:15:24] 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-09-10 22: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-09-10 22:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999006720001,"66":27234,"85":206,"81":20992,"24":57,"16":404897188448043008,"45":2700682061891956736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 22:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999006720001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 22:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404897188448043008,"km_value":404897188448043.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2700682061891956736,"description":"Unknown IO ID 45"} 
[2026-09-10 22:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999006720001,"power":27234,"unknown_85":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2700682061891956736}} 
[2026-09-10 22:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":176958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:15:24] local.INFO: GPS data processed {"connection_id":176958,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:15:24] local.INFO: Acknowledgment sent {"connection_id":176958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:15:26] local.INFO: TCP Data received {"connection_id":179484,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:15:26] local.INFO: Processing buffer {"connection_id":179484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:15:26] local.INFO: IMEI packet received {"connection_id":179484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":179484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:15:31] local.INFO: TCP Data received {"connection_id":179484,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:15:31] local.INFO: Processing buffer {"connection_id":179484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:15:31] local.INFO: IMEI packet received {"connection_id":179484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":179484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:15:32] local.INFO: TCP Data received {"connection_id":179484,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:15:32] local.INFO: Processing buffer {"connection_id":179484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:15:32] local.INFO: Packet analysis {"connection_id":179484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:15:32] local.INFO: Extracted packet for processing {"connection_id":179484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:15:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":179484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:15:32] local.INFO: GPS data processed {"connection_id":179484,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:15:32] local.INFO: Acknowledgment sent {"connection_id":179484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:15:55] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c345110012d25a0c006c613c8000d00942d..."} 
[2026-09-10 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c345110012d25a0c006c613c8000d00942d..."} 
[2026-09-10 22:15:55] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c345110012d25a0c006c613c8000d00942d..."} 
[2026-09-10 22:15:55] local.INFO: Packet analysis {"connection_id":176958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c34"} 
[2026-09-10 22:15:55] local.INFO: Extracted packet for processing {"connection_id":176958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c34"} 
[2026-09-10 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":757440704,"raw_latitude":113644488,"longitude_deg":75.7440704,"latitude_deg":11.3644488,"altitude":13,"angle":148,"satellites":45,"speed":57,"hex_longitude":"2d25a0c0","hex_latitude":"06c613c8","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999008512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404897678074314752,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2705678242726410240,"note":"Value kept but may cause issues"} 
[2026-09-10 22:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789058634000,"timestamp_ms":1789058634000,"timestamp_seconds":1789058634,"priority":1,"record_length":96,"hex_timestamp":"000001a08c345110"} 
[2026-09-10 22:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-10 22:15:55] 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-09-10 22: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-09-10 22:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999008512001,"66":27267,"85":206,"81":20992,"24":57,"16":404897678074314752,"45":2705678242726410240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 22:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999008512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 22:15:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404897678074314752,"km_value":404897678074314.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2705678242726410240,"description":"Unknown IO ID 45"} 
[2026-09-10 22:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999008512001,"power":27267,"unknown_85":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2705678242726410240}} 
[2026-09-10 22:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":176958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:15:55] local.INFO: GPS data processed {"connection_id":176958,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:15:55] local.INFO: Acknowledgment sent {"connection_id":176958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:16:04] local.INFO: TCP Data received {"connection_id":179484,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:16:04] local.INFO: Processing buffer {"connection_id":179484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:16:04] local.INFO: Packet analysis {"connection_id":179484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:16:04] local.INFO: Extracted packet for processing {"connection_id":179484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16: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-09-10 22:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:16: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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:16:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":179484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:16:04] local.INFO: GPS data processed {"connection_id":179484,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:16:04] local.INFO: Acknowledgment sent {"connection_id":179484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:16:18] local.INFO: TCP Data received {"connection_id":178094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:16:18] local.INFO: Processing buffer {"connection_id":178094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:16:18] local.INFO: IMEI packet received {"connection_id":178094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":178094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:16:23] local.INFO: TCP Data received {"connection_id":178094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:16:23] local.INFO: Processing buffer {"connection_id":178094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:16:23] local.INFO: IMEI packet received {"connection_id":178094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":178094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:16:23] local.INFO: TCP Data received {"connection_id":178094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c359d18012d26818006c4fda8000d00882e..."} 
[2026-09-10 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c359d18012d26818006c4fda8000d00882e..."} 
[2026-09-10 22:16:23] local.INFO: Processing buffer {"connection_id":178094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c359d18012d26818006c4fda8000d00882e..."} 
[2026-09-10 22:16:23] local.INFO: Packet analysis {"connection_id":178094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c35"} 
[2026-09-10 22:16:23] local.INFO: Extracted packet for processing {"connection_id":178094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c35"} 
[2026-09-10 22:16:23] local.INFO: GPS Element Parsed {"raw_longitude":757498240,"raw_latitude":113573288,"longitude_deg":75.749824,"latitude_deg":11.3573288,"altitude":13,"angle":136,"satellites":46,"speed":31,"hex_longitude":"2d268180","hex_latitude":"06c4fda8","is_valid_coordinates":true} 
[2026-09-10 22:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999030784001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404902093300695040,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2771613756000974848,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789058719000,"timestamp_ms":1789058719000,"timestamp_seconds":1789058719,"priority":1,"record_length":96,"hex_timestamp":"000001a08c359d18"} 
[2026-09-10 22:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 22:16:23] 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-09-10 22:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999030784001,"66":27180,"231":206,"81":20992,"24":31,"16":404902093300695040,"45":2771613756000974848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-10 22:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999030784001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:16:23] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 22:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404902093300695040,"km_value":404902093300695.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2771613756000974848,"description":"Unknown IO ID 45"} 
[2026-09-10 22:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999030784001,"power":27180,"unknown_231":206,"unknown_81":20992,"ignition":31,"odometer":null,"unknown_45":2771613756000974848}} 
[2026-09-10 22:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":178094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:16:23] local.INFO: GPS data processed {"connection_id":178094,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:16:23] local.INFO: Acknowledgment sent {"connection_id":178094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:16:26] local.INFO: TCP Data received {"connection_id":178095,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:16:26] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:16:26] local.INFO: IMEI packet received {"connection_id":178095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":178095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:16:31] local.INFO: TCP Data received {"connection_id":178095,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:16:31] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:16:31] local.INFO: IMEI packet received {"connection_id":178095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":178095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:16:32] local.INFO: TCP Data received {"connection_id":178095,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:16:32] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c31ff50012d1965c0071feee00041005e28..."} 
[2026-09-10 22:16:32] local.INFO: Packet analysis {"connection_id":178095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:16:32] local.INFO: Extracted packet for processing {"connection_id":178095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c31"} 
[2026-09-10 22:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998894336001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789058482000,"timestamp_ms":1789058482000,"timestamp_seconds":1789058482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c31ff50"} 
[2026-09-10 22:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998894336001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998894336001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:16:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998894336001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":178095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:16:33] local.INFO: GPS data processed {"connection_id":178095,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:16:33] local.INFO: Acknowledgment sent {"connection_id":178095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:16:38] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:16:38] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:16:38] local.INFO: IMEI packet received {"connection_id":176959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":176959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:16:54] local.INFO: TCP Data received {"connection_id":178094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c35c810012d2699c006c4e270000c008c2d..."} 
[2026-09-10 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c35c810012d2699c006c4e270000c008c2d..."} 
[2026-09-10 22:16:54] local.INFO: Processing buffer {"connection_id":178094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c35c810012d2699c006c4e270000c008c2d..."} 
[2026-09-10 22:16:54] local.INFO: Packet analysis {"connection_id":178094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c35"} 
[2026-09-10 22:16:54] local.INFO: Extracted packet for processing {"connection_id":178094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c35"} 
[2026-09-10 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":757504448,"raw_latitude":113566320,"longitude_deg":75.7504448,"latitude_deg":11.356632,"altitude":12,"angle":140,"satellites":45,"speed":37,"hex_longitude":"2d2699c0","hex_latitude":"06c4e270","is_valid_coordinates":true} 
[2026-09-10 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999032064001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404902544272261120,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2774639612000053248,"note":"Value kept but may cause issues"} 
[2026-09-10 22:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789058730000,"timestamp_ms":1789058730000,"timestamp_seconds":1789058730,"priority":1,"record_length":96,"hex_timestamp":"000001a08c35c810"} 
[2026-09-10 22:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 22:16:54] 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-09-10 22:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999032064001,"66":27321,"231":206,"81":20992,"24":37,"16":404902544272261120,"45":2774639612000053248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-10 22:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999032064001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:16:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 22:16:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404902544272261120,"km_value":404902544272261.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2774639612000053248,"description":"Unknown IO ID 45"} 
[2026-09-10 22:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999032064001,"power":27321,"unknown_231":206,"unknown_81":20992,"ignition":37,"odometer":null,"unknown_45":2774639612000053248}} 
[2026-09-10 22:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":178094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:16:54] local.INFO: GPS data processed {"connection_id":178094,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:16:54] local.INFO: Acknowledgment sent {"connection_id":178094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:17:04] local.INFO: TCP Data received {"connection_id":178095,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:17:04] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:17:04] local.INFO: Packet analysis {"connection_id":178095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:17:04] local.INFO: Extracted packet for processing {"connection_id":178095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17: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-09-10 22:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:17: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-09-10 22:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":178095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:17:04] local.INFO: GPS data processed {"connection_id":178095,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:17:04] local.INFO: Acknowledgment sent {"connection_id":178095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:17:27] local.INFO: TCP Data received {"connection_id":179485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:27] local.INFO: Processing buffer {"connection_id":179485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:27] local.INFO: IMEI packet received {"connection_id":179485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":179485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:17:28] local.INFO: TCP Data received {"connection_id":179485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:28] local.INFO: Processing buffer {"connection_id":179485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:28] local.INFO: IMEI packet received {"connection_id":179485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":179485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:17:33] local.INFO: TCP Data received {"connection_id":179485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:33] local.INFO: Processing buffer {"connection_id":179485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:17:33] local.INFO: IMEI packet received {"connection_id":179485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":179485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:17:33] local.INFO: TCP Data received {"connection_id":179485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c35eb38012d26b2c006c4c450000c008b2d..."} 
[2026-09-10 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c35eb38012d26b2c006c4c450000c008b2d..."} 
[2026-09-10 22:17:33] local.INFO: Processing buffer {"connection_id":179485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c35eb38012d26b2c006c4c450000c008b2d..."} 
[2026-09-10 22:17:33] local.INFO: Packet analysis {"connection_id":179485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c35"} 
[2026-09-10 22:17:33] local.INFO: Extracted packet for processing {"connection_id":179485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c35"} 
[2026-09-10 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":757510848,"raw_latitude":113558608,"longitude_deg":75.7510848,"latitude_deg":11.3558608,"altitude":12,"angle":139,"satellites":45,"speed":48,"hex_longitude":"2d26b2c0","hex_latitude":"06c4c450","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999034880001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404903025308598272,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2781465380183502848,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789058739000,"timestamp_ms":1789058739000,"timestamp_seconds":1789058739,"priority":1,"record_length":96,"hex_timestamp":"000001a08c35eb38"} 
[2026-09-10 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-09-10 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:17: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-09-10 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-09-10 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-09-10 22:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22: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-09-10 22:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999034880001,"66":27267,"231":206,"81":20992,"24":48,"16":404903025308598272,"45":2781465380183502848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-10 22:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999034880001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:17:33] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-10 22:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404903025308598272,"km_value":404903025308598.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2781465380183502848,"description":"Unknown IO ID 45"} 
[2026-09-10 22:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999034880001,"power":27267,"unknown_231":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":2781465380183502848}} 
[2026-09-10 22:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":179485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:17:34] local.INFO: GPS data processed {"connection_id":179485,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:17:34] local.INFO: Acknowledgment sent {"connection_id":179485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:17:36] local.INFO: TCP Data received {"connection_id":179486,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:17:36] local.INFO: Processing buffer {"connection_id":179486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:17:36] local.INFO: IMEI packet received {"connection_id":179486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":179486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:17:41] local.INFO: TCP Data received {"connection_id":179486,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:17:41] local.INFO: Processing buffer {"connection_id":179486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:17:41] local.INFO: IMEI packet received {"connection_id":179486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":179486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:17:43] local.INFO: TCP Data received {"connection_id":179486,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:17:43] local.INFO: Processing buffer {"connection_id":179486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:17:43] local.INFO: Packet analysis {"connection_id":179486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:17:43] local.INFO: Extracted packet for processing {"connection_id":179486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:17: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-09-10 22:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:17: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-09-10 22:17: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-09-10 22:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:17:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":179486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:17:43] local.INFO: GPS data processed {"connection_id":179486,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:17:43] local.INFO: Acknowledgment sent {"connection_id":179486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:18:18] local.INFO: TCP Data received {"connection_id":178096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:18] local.INFO: Processing buffer {"connection_id":178096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:18] local.INFO: IMEI packet received {"connection_id":178096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":178096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:18:18] local.INFO: TCP Data received {"connection_id":178096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:18] local.INFO: Processing buffer {"connection_id":178096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:18] local.INFO: IMEI packet received {"connection_id":178096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":178096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:18:23] local.INFO: TCP Data received {"connection_id":178096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:23] local.INFO: Processing buffer {"connection_id":178096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:18:23] local.INFO: IMEI packet received {"connection_id":178096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":178096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:18:24] local.INFO: TCP Data received {"connection_id":178096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3742f8012d27904006c30a600011009b2e..."} 
[2026-09-10 22:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3742f8012d27904006c30a600011009b2e..."} 
[2026-09-10 22:18:24] local.INFO: Processing buffer {"connection_id":178096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3742f8012d27904006c30a600011009b2e..."} 
[2026-09-10 22:18:24] local.INFO: Packet analysis {"connection_id":178096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c37"} 
[2026-09-10 22:18:24] local.INFO: Extracted packet for processing {"connection_id":178096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c37"} 
[2026-09-10 22:18:24] local.INFO: GPS Element Parsed {"raw_longitude":757567552,"raw_latitude":113445472,"longitude_deg":75.7567552,"latitude_deg":11.3445472,"altitude":17,"angle":155,"satellites":46,"speed":58,"hex_longitude":"2d279040","hex_latitude":"06c30a60","is_valid_coordinates":true} 
[2026-09-10 22:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999058176001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404909149931962368,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2846837943495714816,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789058827000,"timestamp_ms":1789058827000,"timestamp_seconds":1789058827,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3742f8"} 
[2026-09-10 22:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 22:18:24] 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-09-10 22: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-09-10 22:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999058176001,"66":27310,"181":206,"81":20992,"24":58,"16":404909149931962368,"45":2846837943495714816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-10 22:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999058176001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:18:24] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-10 22:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404909149931962368,"km_value":404909149931962.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2846837943495714816,"description":"Unknown IO ID 45"} 
[2026-09-10 22:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999058176001,"power":27310,"unknown_181":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2846837943495714816}} 
[2026-09-10 22:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":178096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:18:24] local.INFO: GPS data processed {"connection_id":178096,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:18:24] local.INFO: Acknowledgment sent {"connection_id":178096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:18:31] local.INFO: TCP Data received {"connection_id":176961,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:18:31] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:18:31] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:18:36] local.INFO: TCP Data received {"connection_id":176961,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:18:36] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:18:36] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:18:37] local.INFO: TCP Data received {"connection_id":176961,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:18:37] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:18:37] local.INFO: Packet analysis {"connection_id":176961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:18:37] local.INFO: Extracted packet for processing {"connection_id":176961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18: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-09-10 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 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-09-10 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:18: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-09-10 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-09-10 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-09-10 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":176961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:18:37] local.INFO: GPS data processed {"connection_id":176961,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:18:37] local.INFO: Acknowledgment sent {"connection_id":176961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:18:42] local.INFO: TCP Data received {"connection_id":176961,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:18:42] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:18:42] local.INFO: Packet analysis {"connection_id":176961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:18:42] local.INFO: Extracted packet for processing {"connection_id":176961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18: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-09-10 22:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:18: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-09-10 22:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:18:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:18:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":176961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:18:42] local.INFO: GPS data processed {"connection_id":176961,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:18:42] local.INFO: Acknowledgment sent {"connection_id":176961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:18:55] local.INFO: TCP Data received {"connection_id":178096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c375a68012d279ec006c2eaa00010009b2d..."} 
[2026-09-10 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c375a68012d279ec006c2eaa00010009b2d..."} 
[2026-09-10 22:18:55] local.INFO: Processing buffer {"connection_id":178096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c375a68012d279ec006c2eaa00010009b2d..."} 
[2026-09-10 22:18:55] local.INFO: Packet analysis {"connection_id":178096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c37"} 
[2026-09-10 22:18:55] local.INFO: Extracted packet for processing {"connection_id":178096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c37"} 
[2026-09-10 22:18:55] local.INFO: GPS Element Parsed {"raw_longitude":757571264,"raw_latitude":113437344,"longitude_deg":75.7571264,"latitude_deg":11.3437344,"altitude":16,"angle":155,"satellites":45,"speed":59,"hex_longitude":"2d279ec0","hex_latitude":"06c2eaa0","is_valid_coordinates":true} 
[2026-09-10 22:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999059712001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404909579428691968,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2850848961911742464,"note":"Value kept but may cause issues"} 
[2026-09-10 22:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789058833000,"timestamp_ms":1789058833000,"timestamp_seconds":1789058833,"priority":1,"record_length":96,"hex_timestamp":"000001a08c375a68"} 
[2026-09-10 22:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 22:18:55] 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-09-10 22:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999059712001,"66":27223,"181":206,"81":20992,"24":59,"16":404909579428691968,"45":2850848961911742464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-10 22:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999059712001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:18:55] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-10 22:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404909579428691968,"km_value":404909579428691.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2850848961911742464,"description":"Unknown IO ID 45"} 
[2026-09-10 22:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999059712001,"power":27223,"unknown_181":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2850848961911742464}} 
[2026-09-10 22:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":178096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:18:55] local.INFO: GPS data processed {"connection_id":178096,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:18:55] local.INFO: Acknowledgment sent {"connection_id":178096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:19:20] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:20] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:20] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:19:23] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:23] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:23] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:19:26] local.INFO: TCP Data received {"connection_id":176736,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:19:26] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:19:26] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:19:27] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:27] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:19:27] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:19:28] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c389ab8012d2879c006c19b08001700892d..."} 
[2026-09-10 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c389ab8012d2879c006c19b08001700892d..."} 
[2026-09-10 22:19:28] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c389ab8012d2879c006c19b08001700892d..."} 
[2026-09-10 22:19:28] local.INFO: Packet analysis {"connection_id":176735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:19:28] local.INFO: Extracted packet for processing {"connection_id":176735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":757627328,"raw_latitude":113351432,"longitude_deg":75.7627328,"latitude_deg":11.3351432,"altitude":23,"angle":137,"satellites":45,"speed":50,"hex_longitude":"2d2879c0","hex_latitude":"06c19b08","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999080192001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404914591655526400,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2909114282068633600,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789058915000,"timestamp_ms":1789058915000,"timestamp_seconds":1789058915,"priority":1,"record_length":96,"hex_timestamp":"000001a08c389ab8"} 
[2026-09-10 22:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999080192001,"66":27245,"179":206,"81":20992,"24":50,"16":404914591655526400,"45":2909114282068633600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999080192001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404914591655526400,"km_value":404914591655526.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2909114282068633600,"description":"Unknown IO ID 45"} 
[2026-09-10 22:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999080192001,"power":27245,"unknown_179":206,"unknown_81":20992,"ignition":50,"odometer":null,"unknown_45":2909114282068633600}} 
[2026-09-10 22:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":176735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:19:28] local.INFO: GPS data processed {"connection_id":176735,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:19:28] local.INFO: Acknowledgment sent {"connection_id":176735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:19:28] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c38b610012d28928006c180c0001600882e..."} 
[2026-09-10 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c38b610012d28928006c180c0001600882e..."} 
[2026-09-10 22:19:28] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c38b610012d28928006c180c0001600882e..."} 
[2026-09-10 22:19:28] local.INFO: Packet analysis {"connection_id":176735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:19:28] local.INFO: Extracted packet for processing {"connection_id":176735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":757633664,"raw_latitude":113344704,"longitude_deg":75.7633664,"latitude_deg":11.3344704,"altitude":22,"angle":136,"satellites":46,"speed":51,"hex_longitude":"2d289280","hex_latitude":"06c180c0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999082240001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404915038332125184,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2916573368949606400,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789058922000,"timestamp_ms":1789058922000,"timestamp_seconds":1789058922,"priority":1,"record_length":96,"hex_timestamp":"000001a08c38b610"} 
[2026-09-10 22:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 22:19:28] 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-09-10 22: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-09-10 22:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999082240001,"66":27104,"179":206,"81":20992,"24":51,"16":404915038332125184,"45":2916573368949606400},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 22:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999082240001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404915038332125184,"km_value":404915038332125.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2916573368949606400,"description":"Unknown IO ID 45"} 
[2026-09-10 22:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999082240001,"power":27104,"unknown_179":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":2916573368949606400}} 
[2026-09-10 22:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":176735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:19:28] local.INFO: GPS data processed {"connection_id":176735,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:19:28] local.INFO: Acknowledgment sent {"connection_id":176735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:19:31] local.INFO: TCP Data received {"connection_id":176736,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:19:31] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:19:31] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:19:32] local.INFO: TCP Data received {"connection_id":176736,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:19:32] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:19:32] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:19:32] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:19:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:19:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:19:33] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:19:33] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:19:59] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c38d168012d28ac4006c166e8001400872d..."} 
[2026-09-10 22:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c38d168012d28ac4006c166e8001400872d..."} 
[2026-09-10 22:19:59] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c38d168012d28ac4006c166e8001400872d..."} 
[2026-09-10 22:19:59] local.INFO: Packet analysis {"connection_id":176735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:19:59] local.INFO: Extracted packet for processing {"connection_id":176735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:19:59] local.INFO: GPS Element Parsed {"raw_longitude":757640256,"raw_latitude":113338088,"longitude_deg":75.7640256,"latitude_deg":11.3338088,"altitude":20,"angle":135,"satellites":45,"speed":54,"hex_longitude":"2d28ac40","hex_latitude":"06c166e8","is_valid_coordinates":true} 
[2026-09-10 22:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999084032001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404915485008723968,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2923539874621472768,"note":"Value kept but may cause issues"} 
[2026-09-10 22:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789058929000,"timestamp_ms":1789058929000,"timestamp_seconds":1789058929,"priority":1,"record_length":96,"hex_timestamp":"000001a08c38d168"} 
[2026-09-10 22:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 22:19:59] 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-09-10 22:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999084032001,"66":27310,"179":206,"81":20992,"24":54,"16":404915485008723968,"45":2923539874621472768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 22:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999084032001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:19:59] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 22:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404915485008723968,"km_value":404915485008723.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2923539874621472768,"description":"Unknown IO ID 45"} 
[2026-09-10 22:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999084032001,"power":27310,"unknown_179":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2923539874621472768}} 
[2026-09-10 22:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":176735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:19:59] local.INFO: GPS data processed {"connection_id":176735,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:19:59] local.INFO: Acknowledgment sent {"connection_id":176735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:20:04] local.INFO: TCP Data received {"connection_id":176736,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:20:04] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:20:04] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:20:04] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20: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-09-10 22:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:20: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-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:20:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:20:04] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:20:04] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:20:18] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:20:18] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:20:18] local.INFO: IMEI packet received {"connection_id":178097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":178097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:20:19] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:20:19] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:20:19] local.INFO: IMEI packet received {"connection_id":178097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":178097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:20:20] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c38ecc0012d28c6c006c14b60001100882e..."} 
[2026-09-10 22:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c38ecc0012d28c6c006c14b60001100882e..."} 
[2026-09-10 22:20:20] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c38ecc0012d28c6c006c14b60001100882e..."} 
[2026-09-10 22:20:20] local.INFO: Packet analysis {"connection_id":178097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:20:20] local.INFO: Extracted packet for processing {"connection_id":178097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c38"} 
[2026-09-10 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":757647040,"raw_latitude":113331040,"longitude_deg":75.764704,"latitude_deg":11.333104,"altitude":17,"angle":136,"satellites":46,"speed":57,"hex_longitude":"2d28c6c0","hex_latitude":"06c14b60","is_valid_coordinates":true} 
[2026-09-10 22:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999085824001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404915953160159232,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2930787855270078464,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789058936000,"timestamp_ms":1789058936000,"timestamp_seconds":1789058936,"priority":1,"record_length":96,"hex_timestamp":"000001a08c38ecc0"} 
[2026-09-10 22:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 22:20:20] 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-09-10 22:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999085824001,"66":27376,"179":206,"81":20992,"24":57,"16":404915953160159232,"45":2930787855270078464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-10 22:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999085824001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:20:20] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-10 22:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404915953160159232,"km_value":404915953160159.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2930787855270078464,"description":"Unknown IO ID 45"} 
[2026-09-10 22:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999085824001,"power":27376,"unknown_179":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2930787855270078464}} 
[2026-09-10 22:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":178097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:20:20] local.INFO: GPS data processed {"connection_id":178097,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:20:20] local.INFO: Acknowledgment sent {"connection_id":178097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:20:27] local.INFO: TCP Data received {"connection_id":178098,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:20:27] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:20:27] local.INFO: IMEI packet received {"connection_id":178098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":178098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:20:31] local.INFO: TCP Data received {"connection_id":178098,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:20:31] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:20:31] local.INFO: IMEI packet received {"connection_id":178098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":178098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:20:32] local.INFO: TCP Data received {"connection_id":178098,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:20:32] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:20:32] local.INFO: Packet analysis {"connection_id":178098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:20:32] local.INFO: Extracted packet for processing {"connection_id":178098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:20:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":178098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:20:32] local.INFO: GPS data processed {"connection_id":178098,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:20:32] local.INFO: Acknowledgment sent {"connection_id":178098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:20:50] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c390818012d28e28006c12dd8001100892e..."} 
[2026-09-10 22:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c390818012d28e28006c12dd8001100892e..."} 
[2026-09-10 22:20:50] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c390818012d28e28006c12dd8001100892e..."} 
[2026-09-10 22:20:50] local.INFO: Packet analysis {"connection_id":178097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c39"} 
[2026-09-10 22:20:50] local.INFO: Extracted packet for processing {"connection_id":178097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c39"} 
[2026-09-10 22:20:50] local.INFO: GPS Element Parsed {"raw_longitude":757654144,"raw_latitude":113323480,"longitude_deg":75.7654144,"latitude_deg":11.332348,"altitude":17,"angle":137,"satellites":46,"speed":58,"hex_longitude":"2d28e280","hex_latitude":"06c12dd8","is_valid_coordinates":true} 
[2026-09-10 22:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999087616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404916451376365568,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2938246942151106560,"note":"Value kept but may cause issues"} 
[2026-09-10 22:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789058943000,"timestamp_ms":1789058943000,"timestamp_seconds":1789058943,"priority":1,"record_length":96,"hex_timestamp":"000001a08c390818"} 
[2026-09-10 22:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 22:20:50] 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-09-10 22:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999087616001,"66":27332,"33":206,"81":20992,"24":58,"16":404916451376365568,"45":2938246942151106560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-10 22:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999087616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:20:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-10 22:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404916451376365568,"km_value":404916451376365.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2938246942151106560,"description":"Unknown IO ID 45"} 
[2026-09-10 22:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999087616001,"power":27332,"unknown_33":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2938246942151106560}} 
[2026-09-10 22:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":178097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:20:50] local.INFO: GPS data processed {"connection_id":178097,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:20:50] local.INFO: Acknowledgment sent {"connection_id":178097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:21:03] local.INFO: TCP Data received {"connection_id":178098,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:21:03] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:21:03] local.INFO: Packet analysis {"connection_id":178098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:21:03] local.INFO: Extracted packet for processing {"connection_id":178098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":178098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":178098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":178098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:21:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":178098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:21:03] local.INFO: GPS data processed {"connection_id":178098,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:21:03] local.INFO: Acknowledgment sent {"connection_id":178098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:21:15] local.INFO: TCP Data received {"connection_id":179488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:15] local.INFO: Processing buffer {"connection_id":179488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:15] local.INFO: IMEI packet received {"connection_id":179488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":179488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:21:18] local.INFO: TCP Data received {"connection_id":179488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:18] local.INFO: Processing buffer {"connection_id":179488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:18] local.INFO: IMEI packet received {"connection_id":179488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":179488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:21:22] local.INFO: TCP Data received {"connection_id":179488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:22] local.INFO: Processing buffer {"connection_id":179488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:21:22] local.INFO: IMEI packet received {"connection_id":179488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":179488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:21:23] local.INFO: TCP Data received {"connection_id":179488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3a2540012d29f74006bff600000e008e2e..."} 
[2026-09-10 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3a2540012d29f74006bff600000e008e2e..."} 
[2026-09-10 22:21:23] local.INFO: Processing buffer {"connection_id":179488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3a2540012d29f74006bff600000e008e2e..."} 
[2026-09-10 22:21:23] local.INFO: Packet analysis {"connection_id":179488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3a"} 
[2026-09-10 22:21:23] local.INFO: Extracted packet for processing {"connection_id":179488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3a"} 
[2026-09-10 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":757724992,"raw_latitude":113243648,"longitude_deg":75.7724992,"latitude_deg":11.3243648,"altitude":14,"angle":142,"satellites":46,"speed":54,"hex_longitude":"2d29f740","hex_latitude":"06bff600","is_valid_coordinates":true} 
[2026-09-10 22:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999106304001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404921609632088064,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3017763623051567104,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789059016000,"timestamp_ms":1789059016000,"timestamp_seconds":1789059016,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3a2540"} 
[2026-09-10 22:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:21: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":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:21:23] 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-09-10 22:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999106304001,"66":27343,"73":206,"81":20992,"24":54,"16":404921609632088064,"45":3017763623051567104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-10 22:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999106304001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:21:23] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 22:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404921609632088064,"km_value":404921609632088.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3017763623051567104,"description":"Unknown IO ID 45"} 
[2026-09-10 22:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999106304001,"power":27343,"unknown_73":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3017763623051567104}} 
[2026-09-10 22:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":179488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:21:23] local.INFO: GPS data processed {"connection_id":179488,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:21:23] local.INFO: Acknowledgment sent {"connection_id":179488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:21:26] local.INFO: TCP Data received {"connection_id":178099,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:21:26] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:21:26] local.INFO: IMEI packet received {"connection_id":178099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":178099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:21:31] local.INFO: TCP Data received {"connection_id":178099,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:21:31] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:21:31] local.INFO: IMEI packet received {"connection_id":178099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":178099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:21:32] local.INFO: TCP Data received {"connection_id":178099,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:21:32] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c369718012d1965c0071feee00041005e26..."} 
[2026-09-10 22:21:32] local.INFO: Packet analysis {"connection_id":178099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:21:32] local.INFO: Extracted packet for processing {"connection_id":178099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c36"} 
[2026-09-10 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457998971392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789058783000,"timestamp_ms":1789058783000,"timestamp_seconds":1789058783,"priority":1,"record_length":96,"hex_timestamp":"000001a08c369718"} 
[2026-09-10 22:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457998971392001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457998971392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:21:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457998971392001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":178099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:21:33] local.INFO: GPS data processed {"connection_id":178099,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:21:33] local.INFO: Acknowledgment sent {"connection_id":178099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:21:54] local.INFO: TCP Data received {"connection_id":179488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3a4098012d2a0e0006bfd9480010008d2c..."} 
[2026-09-10 22:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3a4098012d2a0e0006bfd9480010008d2c..."} 
[2026-09-10 22:21:54] local.INFO: Processing buffer {"connection_id":179488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3a4098012d2a0e0006bfd9480010008d2c..."} 
[2026-09-10 22:21:54] local.INFO: Packet analysis {"connection_id":179488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3a"} 
[2026-09-10 22:21:54] local.INFO: Extracted packet for processing {"connection_id":179488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3a"} 
[2026-09-10 22:21:54] local.INFO: GPS Element Parsed {"raw_longitude":757730816,"raw_latitude":113236296,"longitude_deg":75.7730816,"latitude_deg":11.3236296,"altitude":16,"angle":141,"satellites":44,"speed":51,"hex_longitude":"2d2a0e00","hex_latitude":"06bfd948","is_valid_coordinates":true} 
[2026-09-10 22:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999108096001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404922060603654144,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3023956072537128960,"note":"Value kept but may cause issues"} 
[2026-09-10 22:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789059023000,"timestamp_ms":1789059023000,"timestamp_seconds":1789059023,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3a4098"} 
[2026-09-10 22:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:21: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-09-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:21:54] 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-09-10 22:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999108096001,"66":27245,"73":206,"81":20992,"24":51,"16":404922060603654144,"45":3023956072537128960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-10 22:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999108096001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:21:54] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 22:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404922060603654144,"km_value":404922060603654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3023956072537128960,"description":"Unknown IO ID 45"} 
[2026-09-10 22:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999108096001,"power":27245,"unknown_73":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3023956072537128960}} 
[2026-09-10 22:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":179488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:21:54] local.INFO: GPS data processed {"connection_id":179488,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:21:54] local.INFO: Acknowledgment sent {"connection_id":179488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:22:04] local.INFO: TCP Data received {"connection_id":178099,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:22:04] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:22:04] local.INFO: Packet analysis {"connection_id":178099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:22:04] local.INFO: Extracted packet for processing {"connection_id":178099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22: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-09-10 22:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:22: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-09-10 22:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:22:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":178099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:22:04] local.INFO: GPS data processed {"connection_id":178099,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:22:04] local.INFO: Acknowledgment sent {"connection_id":178099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:22:18] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:18] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:18] local.INFO: IMEI packet received {"connection_id":176962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":176962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:22:19] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:19] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:19] local.INFO: IMEI packet received {"connection_id":176962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":176962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:22:23] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:23] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:22:23] local.INFO: IMEI packet received {"connection_id":176962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":176962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:22:24] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3a5bf0012d2a244006bfbda00010008c2d..."} 
[2026-09-10 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3a5bf0012d2a244006bfbda00010008c2d..."} 
[2026-09-10 22:22:24] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3a5bf0012d2a244006bfbda00010008c2d..."} 
[2026-09-10 22:22:24] local.INFO: Packet analysis {"connection_id":176962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3a"} 
[2026-09-10 22:22:24] local.INFO: Extracted packet for processing {"connection_id":176962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3a"} 
[2026-09-10 22:22:24] local.INFO: GPS Element Parsed {"raw_longitude":757736512,"raw_latitude":113229216,"longitude_deg":75.7736512,"latitude_deg":11.3229216,"altitude":16,"angle":140,"satellites":45,"speed":51,"hex_longitude":"2d2a2440","hex_latitude":"06bfbda0","is_valid_coordinates":true} 
[2026-09-10 22:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999109888001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404922498690318336,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3030359628255414272,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789059030000,"timestamp_ms":1789059030000,"timestamp_seconds":1789059030,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3a5bf0"} 
[2026-09-10 22:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 22:22:24] 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-09-10 22:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999109888001,"66":27267,"73":206,"81":20992,"24":51,"16":404922498690318336,"45":3030359628255414272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-10 22:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999109888001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:22:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-10 22:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404922498690318336,"km_value":404922498690318.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3030359628255414272,"description":"Unknown IO ID 45"} 
[2026-09-10 22:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999109888001,"power":27267,"unknown_73":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3030359628255414272}} 
[2026-09-10 22:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":176962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:22:24] local.INFO: GPS data processed {"connection_id":176962,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:22:24] local.INFO: Acknowledgment sent {"connection_id":176962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:22:26] local.INFO: TCP Data received {"connection_id":179490,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:22:26] local.INFO: Processing buffer {"connection_id":179490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:22:26] local.INFO: IMEI packet received {"connection_id":179490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":179490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:22:31] local.INFO: TCP Data received {"connection_id":179490,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:22:31] local.INFO: Processing buffer {"connection_id":179490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:22:31] local.INFO: IMEI packet received {"connection_id":179490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":179490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:22:33] local.INFO: TCP Data received {"connection_id":179490,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:22:33] local.INFO: Processing buffer {"connection_id":179490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:22:33] local.INFO: Packet analysis {"connection_id":179490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:22:33] local.INFO: Extracted packet for processing {"connection_id":179490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:22:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:22:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":179490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:22:33] local.INFO: GPS data processed {"connection_id":179490,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:22:33] local.INFO: Acknowledgment sent {"connection_id":179490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:22:38] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:22:38] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:22:38] local.INFO: IMEI packet received {"connection_id":176738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":176738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:22:57] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3bbf68012d2b510006be4210000a008e2d..."} 
[2026-09-10 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3bbf68012d2b510006be4210000a008e2d..."} 
[2026-09-10 22:22:57] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3bbf68012d2b510006be4210000a008e2d..."} 
[2026-09-10 22:22:57] local.INFO: Packet analysis {"connection_id":176962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:22:57] local.INFO: Extracted packet for processing {"connection_id":176962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:22:57] local.INFO: GPS Element Parsed {"raw_longitude":757813504,"raw_latitude":113132048,"longitude_deg":75.7813504,"latitude_deg":11.3132048,"altitude":10,"angle":142,"satellites":45,"speed":54,"hex_longitude":"2d2b5100","hex_latitude":"06be4210","is_valid_coordinates":true} 
[2026-09-10 22:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999133184001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404928464399892480,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3114731752499683328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789059121000,"timestamp_ms":1789059121000,"timestamp_seconds":1789059121,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3bbf68"} 
[2026-09-10 22:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999133184001,"66":27376,"125":206,"81":20992,"24":54,"16":404928464399892480,"45":3114731752499683328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-09-10 22:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999133184001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:22:57] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-10 22:22:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404928464399892480,"km_value":404928464399892.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3114731752499683328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999133184001,"power":27376,"unknown_125":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3114731752499683328}} 
[2026-09-10 22:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":176962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:22:57] local.INFO: GPS data processed {"connection_id":176962,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:22:57] local.INFO: Acknowledgment sent {"connection_id":176962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:23:04] local.INFO: TCP Data received {"connection_id":179490,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:04] local.INFO: Processing buffer {"connection_id":179490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:04] local.INFO: Packet analysis {"connection_id":179490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:04] local.INFO: Extracted packet for processing {"connection_id":179490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23: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-09-10 22:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:23: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-09-10 22:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:23:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":179490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:23:05] local.INFO: GPS data processed {"connection_id":179490,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:23:05] local.INFO: Acknowledgment sent {"connection_id":179490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:23:18] local.INFO: TCP Data received {"connection_id":179491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:23:18] local.INFO: Processing buffer {"connection_id":179491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:23:18] local.INFO: IMEI packet received {"connection_id":179491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":179491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:23:23] local.INFO: TCP Data received {"connection_id":179491,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179491,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 22:23:23] local.INFO: Processing buffer {"connection_id":179491,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-10 22:23:23] local.INFO: IMEI packet received {"connection_id":179491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":179491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:23:24] local.INFO: TCP Data received {"connection_id":179491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3bdac0012d2b698006be2428000a008c2a..."} 
[2026-09-10 22:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3bdac0012d2b698006be2428000a008c2a..."} 
[2026-09-10 22:23:24] local.INFO: Processing buffer {"connection_id":179491,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a08c..."} 
[2026-09-10 22:23:24] local.INFO: IMEI packet received {"connection_id":179491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":179491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:23:31] local.INFO: TCP Data received {"connection_id":179491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3bf618012d2b828006be05c0000a008d2c..."} 
[2026-09-10 22:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3bf618012d2b828006be05c0000a008d2c..."} 
[2026-09-10 22:23:31] local.INFO: Processing buffer {"connection_id":179491,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08c3bdac0012d2b698006be2428000a008c2a..."} 
[2026-09-10 22:23:31] local.INFO: Packet analysis {"connection_id":179491,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:31] local.INFO: Extracted packet for processing {"connection_id":179491,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:31] local.INFO: GPS Element Parsed {"raw_longitude":757819776,"raw_latitude":113124392,"longitude_deg":75.7819776,"latitude_deg":11.3124392,"altitude":10,"angle":140,"satellites":42,"speed":56,"hex_longitude":"2d2b6980","hex_latitude":"06be2428","is_valid_coordinates":true} 
[2026-09-10 22:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999134976001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404928941141262336,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3121276045706268672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789059128000,"timestamp_ms":1789059128000,"timestamp_seconds":1789059128,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3bdac0"} 
[2026-09-10 22:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 22:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999134976001,"66":27463,"125":206,"81":20992,"24":56,"16":404928941141262336,"45":3121276045706268672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999134976001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404928941141262336,"km_value":404928941141262.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3121276045706268672,"description":"Unknown IO ID 45"} 
[2026-09-10 22:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999134976001,"power":27463,"unknown_125":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":3121276045706268672}} 
[2026-09-10 22:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":179491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:23:31] local.INFO: GPS data processed {"connection_id":179491,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:23:31] local.INFO: Acknowledgment sent {"connection_id":179491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:23:31] local.INFO: Packet analysis {"connection_id":179491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:31] local.INFO: Extracted packet for processing {"connection_id":179491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:31] local.INFO: GPS Element Parsed {"raw_longitude":757826176,"raw_latitude":113116608,"longitude_deg":75.7826176,"latitude_deg":11.3116608,"altitude":10,"angle":141,"satellites":44,"speed":56,"hex_longitude":"2d2b8280","hex_latitude":"06be05c0","is_valid_coordinates":true} 
[2026-09-10 22:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999136768001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404929426472566784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3128172182633719808,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789059135000,"timestamp_ms":1789059135000,"timestamp_seconds":1789059135,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3bf618"} 
[2026-09-10 22:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:23: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-09-10 22:23: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-09-10 22:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999136768001,"66":27332,"125":206,"81":20992,"24":56,"16":404929426472566784,"45":3128172182633719808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999136768001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404929426472566784,"km_value":404929426472566.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3128172182633719808,"description":"Unknown IO ID 45"} 
[2026-09-10 22:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999136768001,"power":27332,"unknown_125":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":3128172182633719808}} 
[2026-09-10 22:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":179491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:23:31] local.INFO: GPS data processed {"connection_id":179491,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:23:31] local.INFO: Acknowledgment sent {"connection_id":179491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:23:31] local.INFO: TCP Data received {"connection_id":179492,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:23:31] local.INFO: Processing buffer {"connection_id":179492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:23:31] local.INFO: IMEI packet received {"connection_id":179492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":179492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:23:31] local.INFO: TCP Data received {"connection_id":179491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3c1170012d2b9b8006bde8e0000b00872b..."} 
[2026-09-10 22:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3c1170012d2b9b8006bde8e0000b00872b..."} 
[2026-09-10 22:23:31] local.INFO: Processing buffer {"connection_id":179491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3c1170012d2b9b8006bde8e0000b00872b..."} 
[2026-09-10 22:23:31] local.INFO: Packet analysis {"connection_id":179491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:23:31] local.INFO: Extracted packet for processing {"connection_id":179491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:23:31] local.INFO: GPS Element Parsed {"raw_longitude":757832576,"raw_latitude":113109216,"longitude_deg":75.7832576,"latitude_deg":11.3109216,"altitude":11,"angle":135,"satellites":43,"speed":52,"hex_longitude":"2d2b9b80","hex_latitude":"06bde8e0","is_valid_coordinates":true} 
[2026-09-10 22:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999138560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404929894624002048,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3135209057049493504,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789059142000,"timestamp_ms":1789059142000,"timestamp_seconds":1789059142,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3c1170"} 
[2026-09-10 22:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:23: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-09-10 22:23: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-09-10 22:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":179491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999138560001,"66":27300,"124":206,"81":20992,"24":52,"16":404929894624002048,"45":3135209057049493504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-10 22:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999138560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404929894624002048,"km_value":404929894624002.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3135209057049493504,"description":"Unknown IO ID 45"} 
[2026-09-10 22:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999138560001,"power":27300,"unknown_124":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":3135209057049493504}} 
[2026-09-10 22:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":179491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:23:31] local.INFO: GPS data processed {"connection_id":179491,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:23:31] local.INFO: Acknowledgment sent {"connection_id":179491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:23:36] local.INFO: TCP Data received {"connection_id":179492,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:23:36] local.INFO: Processing buffer {"connection_id":179492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:23:36] local.INFO: IMEI packet received {"connection_id":179492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":179492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:23:37] local.INFO: TCP Data received {"connection_id":179492,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:37] local.INFO: Processing buffer {"connection_id":179492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:37] local.INFO: Packet analysis {"connection_id":179492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:37] local.INFO: Extracted packet for processing {"connection_id":179492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23: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-09-10 22:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":179492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:23:37] local.INFO: GPS data processed {"connection_id":179492,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:23:37] local.INFO: Acknowledgment sent {"connection_id":179492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:23:42] local.INFO: TCP Data received {"connection_id":179492,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:42] local.INFO: Processing buffer {"connection_id":179492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:23:42] local.INFO: Packet analysis {"connection_id":179492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:42] local.INFO: Extracted packet for processing {"connection_id":179492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:23: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-09-10 22:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:23: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-09-10 22: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-09-10 22:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":179492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":179492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":179492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:23:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":179492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:23:42] local.INFO: GPS data processed {"connection_id":179492,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:23:42] local.INFO: Acknowledgment sent {"connection_id":179492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:24:17] local.INFO: TCP Data received {"connection_id":179491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3c2cc8012d2bb5c006bdd108000e00842c..."} 
[2026-09-10 22:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3c2cc8012d2bb5c006bdd108000e00842c..."} 
[2026-09-10 22:24:17] local.INFO: Processing buffer {"connection_id":179491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3c2cc8012d2bb5c006bdd108000e00842c..."} 
[2026-09-10 22:24:17] local.INFO: Packet analysis {"connection_id":179491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:24:17] local.INFO: Extracted packet for processing {"connection_id":179491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":757839296,"raw_latitude":113103112,"longitude_deg":75.7839296,"latitude_deg":11.3103112,"altitude":14,"angle":132,"satellites":44,"speed":51,"hex_longitude":"2d2bb5c0","hex_latitude":"06bdd108","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999140352001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404930332710666240,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3142245931465367552,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789059149000,"timestamp_ms":1789059149000,"timestamp_seconds":1789059149,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3c2cc8"} 
[2026-09-10 22:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:24:17] 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-09-10 22:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":179491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":179491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999140352001,"66":27343,"124":206,"81":20992,"24":51,"16":404930332710666240,"45":3142245931465367552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-10 22:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999140352001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404930332710666240,"km_value":404930332710666.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3142245931465367552,"description":"Unknown IO ID 45"} 
[2026-09-10 22:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999140352001,"power":27343,"unknown_124":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3142245931465367552}} 
[2026-09-10 22:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":179491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:24:17] local.INFO: GPS data processed {"connection_id":179491,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:24:17] local.INFO: Acknowledgment sent {"connection_id":179491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:24:23] local.INFO: TCP Data received {"connection_id":176963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:24:23] local.INFO: Processing buffer {"connection_id":176963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:24:23] local.INFO: IMEI packet received {"connection_id":176963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":176963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:24:26] local.INFO: TCP Data received {"connection_id":178101,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:24:26] local.INFO: Processing buffer {"connection_id":178101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:24:26] local.INFO: IMEI packet received {"connection_id":178101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":178101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:24:30] local.INFO: TCP Data received {"connection_id":176963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:24:30] local.INFO: Processing buffer {"connection_id":176963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:24:30] local.INFO: IMEI packet received {"connection_id":176963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":176963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:24:31] local.INFO: TCP Data received {"connection_id":176963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3c4820012d2bcf0006bdb740000f008d2b..."} 
[2026-09-10 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3c4820012d2bcf0006bdb740000f008d2b..."} 
[2026-09-10 22:24:31] local.INFO: Processing buffer {"connection_id":176963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3c4820012d2bcf0006bdb740000f008d2b..."} 
[2026-09-10 22:24:31] local.INFO: Packet analysis {"connection_id":176963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:24:31] local.INFO: Extracted packet for processing {"connection_id":176963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:24:31] local.INFO: GPS Element Parsed {"raw_longitude":757845760,"raw_latitude":113096512,"longitude_deg":75.784576,"latitude_deg":11.3096512,"altitude":15,"angle":141,"satellites":43,"speed":54,"hex_longitude":"2d2bcf00","hex_latitude":"06bdb740","is_valid_coordinates":true} 
[2026-09-10 22:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999142144001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404930775092297728,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3149634649602459648,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789059156000,"timestamp_ms":1789059156000,"timestamp_seconds":1789059156,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3c4820"} 
[2026-09-10 22:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:24: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-09-10 22:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999142144001,"66":27332,"124":206,"81":20992,"24":54,"16":404930775092297728,"45":3149634649602459648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-10 22:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999142144001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:24:31] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-10 22:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404930775092297728,"km_value":404930775092297.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3149634649602459648,"description":"Unknown IO ID 45"} 
[2026-09-10 22:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999142144001,"power":27332,"unknown_124":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3149634649602459648}} 
[2026-09-10 22:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":176963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:24:31] local.INFO: GPS data processed {"connection_id":176963,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:24:31] local.INFO: Acknowledgment sent {"connection_id":176963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:24:31] local.INFO: TCP Data received {"connection_id":178101,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:24:31] local.INFO: Processing buffer {"connection_id":178101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:24:31] local.INFO: IMEI packet received {"connection_id":178101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":178101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:24:32] local.INFO: TCP Data received {"connection_id":176963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3c6378012d2be64006bd9808000e00902d..."} 
[2026-09-10 22:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3c6378012d2be64006bd9808000e00902d..."} 
[2026-09-10 22:24:32] local.INFO: Processing buffer {"connection_id":176963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3c6378012d2be64006bd9808000e00902d..."} 
[2026-09-10 22:24:32] local.INFO: Packet analysis {"connection_id":176963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:24:32] local.INFO: Extracted packet for processing {"connection_id":176963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3c"} 
[2026-09-10 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":757851712,"raw_latitude":113088520,"longitude_deg":75.7851712,"latitude_deg":11.308852,"altitude":14,"angle":144,"satellites":45,"speed":55,"hex_longitude":"2d2be640","hex_latitude":"06bd9808","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999143936001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404931256128634880,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3156741892762714112,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059163000,"timestamp_ms":1789059163000,"timestamp_seconds":1789059163,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3c6378"} 
[2026-09-10 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-09-10 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:24: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-09-10 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-09-10 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-09-10 22:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999143936001,"66":27300,"124":206,"81":20992,"24":55,"16":404931256128634880,"45":3156741892762714112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-10 22:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999143936001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:24:32] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-10 22:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404931256128634880,"km_value":404931256128634.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3156741892762714112,"description":"Unknown IO ID 45"} 
[2026-09-10 22:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999143936001,"power":27300,"unknown_124":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3156741892762714112}} 
[2026-09-10 22:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":176963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:24:32] local.INFO: GPS data processed {"connection_id":176963,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:24:32] local.INFO: Acknowledgment sent {"connection_id":176963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:24:33] local.INFO: TCP Data received {"connection_id":178101,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:24:33] local.INFO: Processing buffer {"connection_id":178101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:24:33] local.INFO: Packet analysis {"connection_id":178101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:24:33] local.INFO: Extracted packet for processing {"connection_id":178101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:24:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":178101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:24:33] local.INFO: GPS data processed {"connection_id":178101,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:24:33] local.INFO: Acknowledgment sent {"connection_id":178101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:24:37] local.INFO: TCP Data received {"connection_id":178101,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:24:37] local.INFO: Processing buffer {"connection_id":178101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:24:37] local.INFO: Packet analysis {"connection_id":178101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:24:37] local.INFO: Extracted packet for processing {"connection_id":178101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22: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-09-10 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":178101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:24:37] local.INFO: GPS data processed {"connection_id":178101,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:24:37] local.INFO: Acknowledgment sent {"connection_id":178101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:25:09] local.INFO: TCP Data received {"connection_id":178101,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:25:09] local.INFO: Processing buffer {"connection_id":178101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:25:09] local.INFO: Packet analysis {"connection_id":178101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:25:09] local.INFO: Extracted packet for processing {"connection_id":178101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22: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-09-10 22:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:25: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-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:25: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-09-10 22: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-09-10 22:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:25:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":178101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:25:09] local.INFO: GPS data processed {"connection_id":178101,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:25:09] local.INFO: Acknowledgment sent {"connection_id":178101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:25:13] local.INFO: TCP Data received {"connection_id":176963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3daf80012d2d194006bc56e00011008d28..."} 
[2026-09-10 22:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3daf80012d2d194006bc56e00011008d28..."} 
[2026-09-10 22:25:13] local.INFO: Processing buffer {"connection_id":176963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3daf80012d2d194006bc56e00011008d28..."} 
[2026-09-10 22:25:13] local.INFO: Packet analysis {"connection_id":176963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3d"} 
[2026-09-10 22:25:13] local.INFO: Extracted packet for processing {"connection_id":176963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3d"} 
[2026-09-10 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":757930304,"raw_latitude":113006304,"longitude_deg":75.7930304,"latitude_deg":11.3006304,"altitude":17,"angle":141,"satellites":40,"speed":56,"hex_longitude":"2d2d1940","hex_latitude":"06bc56e0","is_valid_coordinates":true} 
[2026-09-10 22:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999165696001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404936736506904576,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3242662129382434816,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789059248000,"timestamp_ms":1789059248000,"timestamp_seconds":1789059248,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3daf80"} 
[2026-09-10 22:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 22:25: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-09-10 22:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:25: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-09-10 22:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999165696001,"66":27343,"50":206,"81":20992,"24":56,"16":404936736506904576,"45":3242662129382434816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-10 22:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999165696001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:25:13] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-10 22:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404936736506904576,"km_value":404936736506904.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3242662129382434816,"description":"Unknown IO ID 45"} 
[2026-09-10 22:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999165696001,"power":27343,"unknown_50":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":3242662129382434816}} 
[2026-09-10 22:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":176963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:25:13] local.INFO: GPS data processed {"connection_id":176963,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:25:13] local.INFO: Acknowledgment sent {"connection_id":176963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:25:18] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:25:18] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:25:18] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:25:21] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:25:21] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:25:21] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:25:23] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3dcad8012d2d31c006bc38780011008f29..."} 
[2026-09-10 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3dcad8012d2d31c006bc38780011008f29..."} 
[2026-09-10 22:25:23] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3dcad8012d2d31c006bc38780011008f29..."} 
[2026-09-10 22:25:23] local.INFO: Packet analysis {"connection_id":176740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3d"} 
[2026-09-10 22:25:23] local.INFO: Extracted packet for processing {"connection_id":176740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3d"} 
[2026-09-10 22:25:23] local.INFO: GPS Element Parsed {"raw_longitude":757936576,"raw_latitude":112998520,"longitude_deg":75.7936576,"latitude_deg":11.299852,"altitude":17,"angle":143,"satellites":41,"speed":56,"hex_longitude":"2d2d31c0","hex_latitude":"06bc3878","is_valid_coordinates":true} 
[2026-09-10 22:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999167488001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404937217543241728,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3249699003798315008,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789059255000,"timestamp_ms":1789059255000,"timestamp_seconds":1789059255,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3dcad8"} 
[2026-09-10 22:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:25: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-09-10 22:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999167488001,"66":27310,"50":206,"81":20992,"24":56,"16":404937217543241728,"45":3249699003798315008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-10 22:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999167488001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:25:23] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-10 22:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-10 22:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404937217543241728,"km_value":404937217543241.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3249699003798315008,"description":"Unknown IO ID 45"} 
[2026-09-10 22:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999167488001,"power":27310,"unknown_50":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":3249699003798315008}} 
[2026-09-10 22:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":176740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:25:23] local.INFO: GPS data processed {"connection_id":176740,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:25:23] local.INFO: Acknowledgment sent {"connection_id":176740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:25:26] local.INFO: TCP Data received {"connection_id":176741,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:25:26] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:25:26] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:25:31] local.INFO: TCP Data received {"connection_id":176741,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:25:31] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:25:31] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:25:31] local.INFO: TCP Data received {"connection_id":176741,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:25:31] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:25:31] local.INFO: Packet analysis {"connection_id":176741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:25:31] local.INFO: Extracted packet for processing {"connection_id":176741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 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-09-10 22:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 22:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:25:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":176741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:25:32] local.INFO: GPS data processed {"connection_id":176741,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:25:32] local.INFO: Acknowledgment sent {"connection_id":176741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:25:54] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3de630012d2d49c006bc19200011008d2c..."} 
[2026-09-10 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3de630012d2d49c006bc19200011008d2c..."} 
[2026-09-10 22:25:54] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3de630012d2d49c006bc19200011008d2c..."} 
[2026-09-10 22:25:54] local.INFO: Packet analysis {"connection_id":176740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3d"} 
[2026-09-10 22:25:54] local.INFO: Extracted packet for processing {"connection_id":176740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3d"} 
[2026-09-10 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":757942720,"raw_latitude":112990496,"longitude_deg":75.794272,"latitude_deg":11.2990496,"altitude":17,"angle":141,"satellites":44,"speed":57,"hex_longitude":"2d2d49c0","hex_latitude":"06bc1920","is_valid_coordinates":true} 
[2026-09-10 22:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999169280001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404937702874546176,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3256595140725733376,"note":"Value kept but may cause issues"} 
[2026-09-10 22:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789059262000,"timestamp_ms":1789059262000,"timestamp_seconds":1789059262,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3de630"} 
[2026-09-10 22:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 22:25:54] 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-09-10 22:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999169280001,"66":27343,"78":206,"81":21760,"24":57,"16":404937702874546176,"45":3256595140725733376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-10 22:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999169280001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:25:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-10 22:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-10 22:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404937702874546176,"km_value":404937702874546.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3256595140725733376,"description":"Unknown IO ID 45"} 
[2026-09-10 22:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999169280001,"power":27343,"unknown_78":206,"unknown_81":21760,"ignition":57,"odometer":null,"unknown_45":3256595140725733376}} 
[2026-09-10 22:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":176740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:25:54] local.INFO: GPS data processed {"connection_id":176740,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:25:54] local.INFO: Acknowledgment sent {"connection_id":176740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:26:03] local.INFO: TCP Data received {"connection_id":176741,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:26:03] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:26:03] local.INFO: Packet analysis {"connection_id":176741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:26:03] local.INFO: Extracted packet for processing {"connection_id":176741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:26:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":176741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:26:03] local.INFO: GPS data processed {"connection_id":176741,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:26:03] local.INFO: Acknowledgment sent {"connection_id":176741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:26:18] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:26:18] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:26:18] local.INFO: IMEI packet received {"connection_id":176743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":176743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:26:26] local.INFO: TCP Data received {"connection_id":179493,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:26:26] local.INFO: Processing buffer {"connection_id":179493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:26:26] local.INFO: IMEI packet received {"connection_id":179493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":179493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:26:29] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:26:29] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:26:29] local.INFO: IMEI packet received {"connection_id":176743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":176743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:26:30] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3e0188012d2d63c006bbfb480010008a2d..."} 
[2026-09-10 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3e0188012d2d63c006bbfb480010008a2d..."} 
[2026-09-10 22:26:30] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3e0188012d2d63c006bbfb480010008a2d..."} 
[2026-09-10 22:26:30] local.INFO: Packet analysis {"connection_id":176743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3e"} 
[2026-09-10 22:26:30] local.INFO: Extracted packet for processing {"connection_id":176743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3e"} 
[2026-09-10 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":757949376,"raw_latitude":112982856,"longitude_deg":75.7949376,"latitude_deg":11.2982856,"altitude":16,"angle":138,"satellites":45,"speed":56,"hex_longitude":"2d2d63c0","hex_latitude":"06bbfb48","is_valid_coordinates":true} 
[2026-09-10 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999171072001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404938188205850624,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3263350540164734976,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789059269000,"timestamp_ms":1789059269000,"timestamp_seconds":1789059269,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3e0188"} 
[2026-09-10 22:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:26: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-09-10 22:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999171072001,"66":27332,"78":206,"81":21760,"24":56,"16":404938188205850624,"45":3263350540164734976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-10 22:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999171072001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:26:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-10 22:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-10 22:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404938188205850624,"km_value":404938188205850.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3263350540164734976,"description":"Unknown IO ID 45"} 
[2026-09-10 22:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999171072001,"power":27332,"unknown_78":206,"unknown_81":21760,"ignition":56,"odometer":null,"unknown_45":3263350540164734976}} 
[2026-09-10 22:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":176743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:26:30] local.INFO: GPS data processed {"connection_id":176743,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:26:30] local.INFO: Acknowledgment sent {"connection_id":176743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:26:31] local.INFO: TCP Data received {"connection_id":179493,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:26:31] local.INFO: Processing buffer {"connection_id":179493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:26:31] local.INFO: IMEI packet received {"connection_id":179493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":179493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:26:32] local.INFO: TCP Data received {"connection_id":179493,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:26:32] local.INFO: Processing buffer {"connection_id":179493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:26:32] local.INFO: Packet analysis {"connection_id":179493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:26:32] local.INFO: Extracted packet for processing {"connection_id":179493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 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-09-10 22:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 22:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:26:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":179493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:26:32] local.INFO: GPS data processed {"connection_id":179493,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:26:32] local.INFO: Acknowledgment sent {"connection_id":179493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:27:02] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3f8828012d2e598006ba3038001a009e24..."} 
[2026-09-10 22:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3f8828012d2e598006ba3038001a009e24..."} 
[2026-09-10 22:27:02] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3f8828012d2e598006ba3038001a009e24..."} 
[2026-09-10 22:27:02] local.INFO: Packet analysis {"connection_id":176743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:02] local.INFO: Extracted packet for processing {"connection_id":176743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758012288,"raw_latitude":112865336,"longitude_deg":75.8012288,"latitude_deg":11.2865336,"altitude":26,"angle":158,"satellites":36,"speed":50,"hex_longitude":"2d2e5980","hex_latitude":"06ba3038","is_valid_coordinates":true} 
[2026-09-10 22:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999196416001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404944665016532992,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3335267396684591104,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789059369000,"timestamp_ms":1789059369000,"timestamp_seconds":1789059369,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3f8828"} 
[2026-09-10 22:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 22:27: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-09-10 22:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27: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-09-10 22:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999196416001,"66":27484,"230":206,"81":23552,"24":50,"16":404944665016532992,"45":3335267396684591104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-10 22:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999196416001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:27:02] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 22:27:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404944665016532992,"km_value":404944665016533.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3335267396684591104,"description":"Unknown IO ID 45"} 
[2026-09-10 22:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999196416001,"power":27484,"unknown_230":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3335267396684591104}} 
[2026-09-10 22:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":176743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:27:02] local.INFO: GPS data processed {"connection_id":176743,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:27:02] local.INFO: Acknowledgment sent {"connection_id":176743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:27:03] local.INFO: TCP Data received {"connection_id":179493,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:27:03] local.INFO: Processing buffer {"connection_id":179493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3b2ee0012d1965c0071feee00041005e28..."} 
[2026-09-10 22:27:03] local.INFO: Packet analysis {"connection_id":179493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:27:03] local.INFO: Extracted packet for processing {"connection_id":179493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3b"} 
[2026-09-10 22:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999048448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789059084000,"timestamp_ms":1789059084000,"timestamp_seconds":1789059084,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3b2ee0"} 
[2026-09-10 22:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":179493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":179493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":179493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999048448001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999048448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:27:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999048448001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":179493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:27:03] local.INFO: GPS data processed {"connection_id":179493,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:27:03] local.INFO: Acknowledgment sent {"connection_id":179493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:27:18] local.INFO: TCP Data received {"connection_id":176964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:18] local.INFO: Processing buffer {"connection_id":176964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:18] local.INFO: IMEI packet received {"connection_id":176964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":176964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:27:21] local.INFO: TCP Data received {"connection_id":176964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:21] local.INFO: Processing buffer {"connection_id":176964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:21] local.INFO: IMEI packet received {"connection_id":176964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":176964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:27:23] local.INFO: TCP Data received {"connection_id":176964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:23] local.INFO: Processing buffer {"connection_id":176964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:27:23] local.INFO: IMEI packet received {"connection_id":176964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":176964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:27:24] local.INFO: TCP Data received {"connection_id":176964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fa380012d2e65c006ba0fa8001c00a12a..."} 
[2026-09-10 22:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fa380012d2e65c006ba0fa8001c00a12a..."} 
[2026-09-10 22:27:24] local.INFO: Processing buffer {"connection_id":176964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fa380012d2e65c006ba0fa8001c00a12a..."} 
[2026-09-10 22:27:24] local.INFO: Packet analysis {"connection_id":176964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:24] local.INFO: Extracted packet for processing {"connection_id":176964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758015424,"raw_latitude":112857000,"longitude_deg":75.8015424,"latitude_deg":11.2857,"altitude":28,"angle":161,"satellites":42,"speed":50,"hex_longitude":"2d2e65c0","hex_latitude":"06ba0fa8","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999198464001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404945094513262592,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3339841365053814784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789059376000,"timestamp_ms":1789059376000,"timestamp_seconds":1789059376,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fa380"} 
[2026-09-10 22:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 22:27:24] 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-09-10 22: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-09-10 22:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999198464001,"66":27484,"230":206,"81":23552,"24":50,"16":404945094513262592,"45":3339841365053814784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-10 22:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999198464001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:27:24] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 22:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404945094513262592,"km_value":404945094513262.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3339841365053814784,"description":"Unknown IO ID 45"} 
[2026-09-10 22:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999198464001,"power":27484,"unknown_230":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3339841365053814784}} 
[2026-09-10 22:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":176964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:27:24] local.INFO: GPS data processed {"connection_id":176964,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:27:24] local.INFO: Acknowledgment sent {"connection_id":176964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:27:27] local.INFO: TCP Data received {"connection_id":176964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fbed8012d2e72c006b9eec0001d009c28..."} 
[2026-09-10 22:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fbed8012d2e72c006b9eec0001d009c28..."} 
[2026-09-10 22:27:27] local.INFO: Processing buffer {"connection_id":176964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fbed8012d2e72c006b9eec0001d009c28..."} 
[2026-09-10 22:27:27] local.INFO: Packet analysis {"connection_id":176964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:27] local.INFO: Extracted packet for processing {"connection_id":176964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":758018752,"raw_latitude":112848576,"longitude_deg":75.8018752,"latitude_deg":11.2848576,"altitude":29,"angle":156,"satellites":40,"speed":52,"hex_longitude":"2d2e72c0","hex_latitude":"06b9eec0","is_valid_coordinates":true} 
[2026-09-10 22:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999200256001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404945532599926784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3343289433516386304,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789059383000,"timestamp_ms":1789059383000,"timestamp_seconds":1789059383,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fbed8"} 
[2026-09-10 22:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 22:27:27] 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-09-10 22:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999200256001,"66":27332,"230":206,"81":23552,"24":52,"16":404945532599926784,"45":3343289433516386304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-10 22:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999200256001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:27:27] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 22:27:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404945532599926784,"km_value":404945532599926.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3343289433516386304,"description":"Unknown IO ID 45"} 
[2026-09-10 22:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999200256001,"power":27332,"unknown_230":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3343289433516386304}} 
[2026-09-10 22:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":176964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:27:27] local.INFO: GPS data processed {"connection_id":176964,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:27:27] local.INFO: Acknowledgment sent {"connection_id":176964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:27:31] local.INFO: TCP Data received {"connection_id":179494,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:27:31] local.INFO: Processing buffer {"connection_id":179494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:27:31] local.INFO: IMEI packet received {"connection_id":179494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":179494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:27:36] local.INFO: TCP Data received {"connection_id":179494,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:27:36] local.INFO: Processing buffer {"connection_id":179494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:27:36] local.INFO: IMEI packet received {"connection_id":179494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":179494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:27:37] local.INFO: TCP Data received {"connection_id":179494,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:27:37] local.INFO: Processing buffer {"connection_id":179494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:27:37] local.INFO: Packet analysis {"connection_id":179494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:37] local.INFO: Extracted packet for processing {"connection_id":179494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27: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-09-10 22:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 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-09-10 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:27:37] 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-09-10 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-09-10 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-09-10 22:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:27:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":179494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:27:37] local.INFO: GPS data processed {"connection_id":179494,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:27:37] local.INFO: Acknowledgment sent {"connection_id":179494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:27:58] local.INFO: TCP Data received {"connection_id":176964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fda30012d2e834006b9cd00001c009728..."} 
[2026-09-10 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fda30012d2e834006b9cd00001c009728..."} 
[2026-09-10 22:27:58] local.INFO: Processing buffer {"connection_id":176964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fda30012d2e834006b9cd00001c009728..."} 
[2026-09-10 22:27:58] local.INFO: Packet analysis {"connection_id":176964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:58] local.INFO: Extracted packet for processing {"connection_id":176964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758022976,"raw_latitude":112839936,"longitude_deg":75.8022976,"latitude_deg":11.2839936,"altitude":28,"angle":151,"satellites":40,"speed":57,"hex_longitude":"2d2e8340","hex_latitude":"06b9cd00","is_valid_coordinates":true} 
[2026-09-10 22:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202048001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404946000751362048,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3346948608211468288,"note":"Value kept but may cause issues"} 
[2026-09-10 22:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789059390000,"timestamp_ms":1789059390000,"timestamp_seconds":1789059390,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fda30"} 
[2026-09-10 22:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202048001,"66":27343,"230":206,"81":23552,"24":57,"16":404946000751362048,"45":3346948608211468288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-10 22:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202048001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:27:58] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 22:27:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404946000751362048,"km_value":404946000751362.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3346948608211468288,"description":"Unknown IO ID 45"} 
[2026-09-10 22:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202048001,"power":27343,"unknown_230":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3346948608211468288}} 
[2026-09-10 22:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":176964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:27:58] local.INFO: GPS data processed {"connection_id":176964,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:27:58] local.INFO: Acknowledgment sent {"connection_id":176964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:28:08] local.INFO: TCP Data received {"connection_id":179495,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:28:08] local.INFO: Processing buffer {"connection_id":179495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:28:08] local.INFO: IMEI packet received {"connection_id":179495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":179495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:28:08] local.INFO: TCP Data received {"connection_id":179494,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:28:08] local.INFO: Processing buffer {"connection_id":179494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:28:08] local.INFO: Packet analysis {"connection_id":179494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:28:08] local.INFO: Extracted packet for processing {"connection_id":179494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:28:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28: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-09-10 22:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:28: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-09-10 22: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-09-10 22:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:28:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":179494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:28:08] local.INFO: GPS data processed {"connection_id":179494,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:28:08] local.INFO: Acknowledgment sent {"connection_id":179494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:28:18] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:18] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:18] local.INFO: IMEI packet received {"connection_id":176745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":176745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:28:19] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:19] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:19] local.INFO: IMEI packet received {"connection_id":176745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":176745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:28:23] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:23] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:28:23] local.INFO: IMEI packet received {"connection_id":176745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":176745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:28:24] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3ff588012d2e974006b9aa48001800972a..."} 
[2026-09-10 22:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3ff588012d2e974006b9aa48001800972a..."} 
[2026-09-10 22:28:24] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3ff588012d2e974006b9aa48001800972a..."} 
[2026-09-10 22:28:24] local.INFO: Packet analysis {"connection_id":176745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:28:24] local.INFO: Extracted packet for processing {"connection_id":176745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758028096,"raw_latitude":112831048,"longitude_deg":75.8028096,"latitude_deg":11.2831048,"altitude":24,"angle":151,"satellites":42,"speed":58,"hex_longitude":"2d2e9740","hex_latitude":"06b9aa48","is_valid_coordinates":true} 
[2026-09-10 22:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999203840001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404946494672601088,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3351592945324982272,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789059397000,"timestamp_ms":1789059397000,"timestamp_seconds":1789059397,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3ff588"} 
[2026-09-10 22:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:28:24] 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-09-10 22:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999203840001,"66":27300,"230":206,"81":23552,"24":58,"16":404946494672601088,"45":3351592945324982272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-10 22:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999203840001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:28:24] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-10 22:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404946494672601088,"km_value":404946494672601.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3351592945324982272,"description":"Unknown IO ID 45"} 
[2026-09-10 22:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999203840001,"power":27300,"unknown_230":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3351592945324982272}} 
[2026-09-10 22:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":176745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:28:24] local.INFO: GPS data processed {"connection_id":176745,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:28:24] local.INFO: Acknowledgment sent {"connection_id":176745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:28:26] local.INFO: TCP Data received {"connection_id":178102,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:28:26] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:28:26] local.INFO: IMEI packet received {"connection_id":178102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":178102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:28:31] local.INFO: TCP Data received {"connection_id":178102,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:28:31] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:28:31] local.INFO: IMEI packet received {"connection_id":178102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":178102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:28:32] local.INFO: TCP Data received {"connection_id":178102,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:28:32] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:28:32] local.INFO: Packet analysis {"connection_id":178102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:28:32] local.INFO: Extracted packet for processing {"connection_id":178102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:28:32] 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-09-10 22: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-09-10 22:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:28:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":178102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:28:33] local.INFO: GPS data processed {"connection_id":178102,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:28:33] local.INFO: Acknowledgment sent {"connection_id":178102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:28:38] local.INFO: TCP Data received {"connection_id":179496,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:28:38] local.INFO: Processing buffer {"connection_id":179496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:28:38] local.INFO: IMEI packet received {"connection_id":179496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":179496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:28:55] local.INFO: TCP Data received {"connection_id":176745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c414190012d2f7cc006b807080009009b2a..."} 
[2026-09-10 22:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c414190012d2f7cc006b807080009009b2a..."} 
[2026-09-10 22:28:56] local.INFO: Processing buffer {"connection_id":176745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c414190012d2f7cc006b807080009009b2a..."} 
[2026-09-10 22:28:56] local.INFO: Packet analysis {"connection_id":176745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c41"} 
[2026-09-10 22:28:56] local.INFO: Extracted packet for processing {"connection_id":176745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c41"} 
[2026-09-10 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758086848,"raw_latitude":112723720,"longitude_deg":75.8086848,"latitude_deg":11.272372,"altitude":9,"angle":155,"satellites":42,"speed":55,"hex_longitude":"2d2f7cc0","hex_latitude":"06b80708","is_valid_coordinates":true} 
[2026-09-10 22:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999225600001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404952404547600384,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3417317352359452672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789059482000,"timestamp_ms":1789059482000,"timestamp_seconds":1789059482,"priority":1,"record_length":96,"hex_timestamp":"000001a08c414190"} 
[2026-09-10 22:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:28:56] 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-09-10 22:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999225600001,"66":27321,"52":206,"81":23552,"24":55,"16":404952404547600384,"45":3417317352359452672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-10 22:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999225600001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:28:56] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-10 22:28:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404952404547600384,"km_value":404952404547600.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3417317352359452672,"description":"Unknown IO ID 45"} 
[2026-09-10 22:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999225600001,"power":27321,"unknown_52":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3417317352359452672}} 
[2026-09-10 22:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":176745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:28:56] local.INFO: GPS data processed {"connection_id":176745,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:28:56] local.INFO: Acknowledgment sent {"connection_id":176745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:29:04] local.INFO: TCP Data received {"connection_id":178102,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:29:04] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:29:04] local.INFO: Packet analysis {"connection_id":178102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:29:04] local.INFO: Extracted packet for processing {"connection_id":178102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29: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-09-10 22:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:29:04] 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-09-10 22:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:29:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":178102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:29:04] local.INFO: GPS data processed {"connection_id":178102,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:29:04] local.INFO: Acknowledgment sent {"connection_id":178102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:29:18] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:18] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:18] local.INFO: IMEI packet received {"connection_id":176965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":176965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:29:22] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:22] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:22] local.INFO: IMEI packet received {"connection_id":176965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":176965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:29:23] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:23] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:29:23] local.INFO: IMEI packet received {"connection_id":176965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":176965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:29:23] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c415ce8012d2f8d4006b7e4780009009b2e..."} 
[2026-09-10 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c415ce8012d2f8d4006b7e4780009009b2e..."} 
[2026-09-10 22:29:23] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c415ce8012d2f8d4006b7e4780009009b2e..."} 
[2026-09-10 22:29:23] local.INFO: Packet analysis {"connection_id":176965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c41"} 
[2026-09-10 22:29:23] local.INFO: Extracted packet for processing {"connection_id":176965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c41"} 
[2026-09-10 22:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758091072,"raw_latitude":112714872,"longitude_deg":75.8091072,"latitude_deg":11.2714872,"altitude":9,"angle":155,"satellites":46,"speed":55,"hex_longitude":"2d2f8d40","hex_latitude":"06b7e478","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999227392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404952876994002944,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3421820951984539648,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789059489000,"timestamp_ms":1789059489000,"timestamp_seconds":1789059489,"priority":1,"record_length":96,"hex_timestamp":"000001a08c415ce8"} 
[2026-09-10 22:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:29:23] 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-09-10 22: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-09-10 22:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999227392001,"66":27343,"52":206,"81":23552,"24":55,"16":404952876994002944,"45":3421820951984539648},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-09-10 22:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999227392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:29:23] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-10 22:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404952876994002944,"km_value":404952876994002.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3421820951984539648,"description":"Unknown IO ID 45"} 
[2026-09-10 22:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999227392001,"power":27343,"unknown_52":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3421820951984539648}} 
[2026-09-10 22:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":176965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:29:23] local.INFO: GPS data processed {"connection_id":176965,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:29:23] local.INFO: Acknowledgment sent {"connection_id":176965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:29:26] local.INFO: TCP Data received {"connection_id":178103,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:29:26] local.INFO: Processing buffer {"connection_id":178103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:29:26] local.INFO: IMEI packet received {"connection_id":178103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":178103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:29:31] local.INFO: TCP Data received {"connection_id":178103,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:29:31] local.INFO: Processing buffer {"connection_id":178103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:29:31] local.INFO: IMEI packet received {"connection_id":178103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":178103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:29:32] local.INFO: TCP Data received {"connection_id":178103,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:29:32] local.INFO: Processing buffer {"connection_id":178103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:29:32] local.INFO: Packet analysis {"connection_id":178103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:29:32] local.INFO: Extracted packet for processing {"connection_id":178103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:29:32] 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-09-10 22: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-09-10 22:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:29:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":178103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:29:32] local.INFO: GPS data processed {"connection_id":178103,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:29:32] local.INFO: Acknowledgment sent {"connection_id":178103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:29:54] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c417840012d2f9bc006b7c1580009009f2e..."} 
[2026-09-10 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c417840012d2f9bc006b7c1580009009f2e..."} 
[2026-09-10 22:29:54] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c417840012d2f9bc006b7c1580009009f2e..."} 
[2026-09-10 22:29:54] local.INFO: Packet analysis {"connection_id":176965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c41"} 
[2026-09-10 22:29:54] local.INFO: Extracted packet for processing {"connection_id":176965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c41"} 
[2026-09-10 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758094784,"raw_latitude":112705880,"longitude_deg":75.8094784,"latitude_deg":11.270588,"altitude":9,"angle":159,"satellites":46,"speed":55,"hex_longitude":"2d2f9bc0","hex_latitude":"06b7c158","is_valid_coordinates":true} 
[2026-09-10 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999229184001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404953349440405504,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3426465289098000384,"note":"Value kept but may cause issues"} 
[2026-09-10 22:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789059496000,"timestamp_ms":1789059496000,"timestamp_seconds":1789059496,"priority":1,"record_length":96,"hex_timestamp":"000001a08c417840"} 
[2026-09-10 22:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:29:54] 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-09-10 22:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999229184001,"66":27321,"128":206,"81":23552,"24":55,"16":404953349440405504,"45":3426465289098000384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-09-10 22:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999229184001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:29:54] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-10 22:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404953349440405504,"km_value":404953349440405.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3426465289098000384,"description":"Unknown IO ID 45"} 
[2026-09-10 22:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999229184001,"power":27321,"unknown_128":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3426465289098000384}} 
[2026-09-10 22:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":176965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:29:54] local.INFO: GPS data processed {"connection_id":176965,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:29:54] local.INFO: Acknowledgment sent {"connection_id":176965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:30:04] local.INFO: TCP Data received {"connection_id":178103,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:04] local.INFO: Processing buffer {"connection_id":178103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:04] local.INFO: Packet analysis {"connection_id":178103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:30:04] local.INFO: Extracted packet for processing {"connection_id":178103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30: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-09-10 22:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:30:04] 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-09-10 22:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:30:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":178103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:30:04] local.INFO: GPS data processed {"connection_id":178103,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:30:04] local.INFO: Acknowledgment sent {"connection_id":178103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:30:19] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:19] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:19] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:30:24] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:24] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:24] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:30:27] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:27] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:30:27] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:30:30] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c427628012d30540006b6b178000d00652c..."} 
[2026-09-10 22:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c427628012d30540006b6b178000d00652c..."} 
[2026-09-10 22:30:31] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c427628012d30540006b6b178000d00652c..."} 
[2026-09-10 22:30:31] local.INFO: Packet analysis {"connection_id":176746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c42"} 
[2026-09-10 22:30:31] local.INFO: Extracted packet for processing {"connection_id":176746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c42"} 
[2026-09-10 22:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758141952,"raw_latitude":112636280,"longitude_deg":75.8141952,"latitude_deg":11.263628,"altitude":13,"angle":101,"satellites":44,"speed":61,"hex_longitude":"2d305400","hex_latitude":"06b6b178","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999246080001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404957734602014720,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3472134604049723392,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1789059561000,"timestamp_ms":1789059561000,"timestamp_seconds":1789059561,"priority":1,"record_length":96,"hex_timestamp":"000001a08c427628"} 
[2026-09-10 22:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:30: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-09-10 22: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-09-10 22:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999246080001,"66":27082,"201":206,"81":23552,"24":61,"16":404957734602014720,"45":3472134604049723392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-10 22:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999246080001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:30:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 22:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404957734602014720,"km_value":404957734602014.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3472134604049723392,"description":"Unknown IO ID 45"} 
[2026-09-10 22:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999246080001,"power":27082,"unknown_201":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3472134604049723392}} 
[2026-09-10 22:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":176746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:30:31] local.INFO: GPS data processed {"connection_id":176746,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:30:31] local.INFO: Acknowledgment sent {"connection_id":176746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:30:31] local.INFO: TCP Data received {"connection_id":178104,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:30:31] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:30:31] local.INFO: IMEI packet received {"connection_id":178104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":178104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:30:36] local.INFO: TCP Data received {"connection_id":178104,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:30:36] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:30:36] local.INFO: IMEI packet received {"connection_id":178104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":178104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:30:37] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c428d98012d30778006b6ab20000d00642b..."} 
[2026-09-10 22:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c428d98012d30778006b6ab20000d00642b..."} 
[2026-09-10 22:30:37] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c428d98012d30778006b6ab20000d00642b..."} 
[2026-09-10 22:30:37] local.INFO: Packet analysis {"connection_id":176746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c42"} 
[2026-09-10 22:30:37] local.INFO: Extracted packet for processing {"connection_id":176746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c42"} 
[2026-09-10 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758151040,"raw_latitude":112634656,"longitude_deg":75.815104,"latitude_deg":11.2634656,"altitude":13,"angle":100,"satellites":43,"speed":57,"hex_longitude":"2d307780","hex_latitude":"06b6ab20","is_valid_coordinates":true} 
[2026-09-10 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999247616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404958172688678912,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3482408440699123712,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789059567000,"timestamp_ms":1789059567000,"timestamp_seconds":1789059567,"priority":1,"record_length":96,"hex_timestamp":"000001a08c428d98"} 
[2026-09-10 22:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 22:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:30: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-09-10 22:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999247616001,"66":26876,"201":206,"81":23552,"24":57,"16":404958172688678912,"45":3482408440699123712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-10 22:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999247616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404958172688678912,"km_value":404958172688678.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3482408440699123712,"description":"Unknown IO ID 45"} 
[2026-09-10 22:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999247616001,"power":26876,"unknown_201":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3482408440699123712}} 
[2026-09-10 22:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":176746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:30:37] local.INFO: GPS data processed {"connection_id":176746,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:30:37] local.INFO: Acknowledgment sent {"connection_id":176746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:30:37] local.INFO: TCP Data received {"connection_id":178104,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:37] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:37] local.INFO: Packet analysis {"connection_id":178104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:30:37] local.INFO: Extracted packet for processing {"connection_id":178104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30: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-09-10 22:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:30:37] 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-09-10 22:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":178104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:30:37] local.INFO: GPS data processed {"connection_id":178104,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:30:37] local.INFO: Acknowledgment sent {"connection_id":178104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:30:42] local.INFO: TCP Data received {"connection_id":178104,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:42] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:30:42] local.INFO: Packet analysis {"connection_id":178104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:30:42] local.INFO: Extracted packet for processing {"connection_id":178104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:30: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-09-10 22:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:30:42] 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-09-10 22: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-09-10 22:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:30:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":178104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:30:42] local.INFO: GPS data processed {"connection_id":178104,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:30:42] local.INFO: Acknowledgment sent {"connection_id":178104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:31:16] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:16] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:16] local.INFO: IMEI packet received {"connection_id":176967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":176967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:31:18] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:18] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:18] local.INFO: IMEI packet received {"connection_id":176967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":176967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:31:25] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:25] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:31:25] local.INFO: IMEI packet received {"connection_id":176967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":176967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:31:26] local.INFO: TCP Data received {"connection_id":179497,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:31:26] local.INFO: Processing buffer {"connection_id":179497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:31:26] local.INFO: IMEI packet received {"connection_id":179497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":179497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:31:27] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c437028012d31668006b61450001900952a..."} 
[2026-09-10 22:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c437028012d31668006b61450001900952a..."} 
[2026-09-10 22:31:27] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c437028012d31668006b61450001900952a..."} 
[2026-09-10 22:31:27] local.INFO: Packet analysis {"connection_id":176967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:31:27] local.INFO: Extracted packet for processing {"connection_id":176967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":758212224,"raw_latitude":112596048,"longitude_deg":75.8212224,"latitude_deg":11.2596048,"altitude":25,"angle":149,"satellites":42,"speed":54,"hex_longitude":"2d316680","hex_latitude":"06b61450","is_valid_coordinates":true} 
[2026-09-10 22:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999262208001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404961832000815104,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3554395665984614400,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789059625000,"timestamp_ms":1789059625000,"timestamp_seconds":1789059625,"priority":1,"record_length":96,"hex_timestamp":"000001a08c437028"} 
[2026-09-10 22:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 22:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999262208001,"66":27376,"170":206,"81":23552,"24":54,"16":404961832000815104,"45":3554395665984614400},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-10 22:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999262208001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:31:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-10 22:31:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404961832000815104,"km_value":404961832000815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3554395665984614400,"description":"Unknown IO ID 45"} 
[2026-09-10 22:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999262208001,"power":27376,"unknown_170":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3554395665984614400}} 
[2026-09-10 22:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":176967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:31:27] local.INFO: GPS data processed {"connection_id":176967,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:31:27] local.INFO: Acknowledgment sent {"connection_id":176967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:31:28] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c438b80012d317ac006b5f2d8001700952c..."} 
[2026-09-10 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c438b80012d317ac006b5f2d8001700952c..."} 
[2026-09-10 22:31:28] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c438b80012d317ac006b5f2d8001700952c..."} 
[2026-09-10 22:31:28] local.INFO: Packet analysis {"connection_id":176967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:31:28] local.INFO: Extracted packet for processing {"connection_id":176967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":758217408,"raw_latitude":112587480,"longitude_deg":75.8217408,"latitude_deg":11.258748,"altitude":23,"angle":149,"satellites":44,"speed":58,"hex_longitude":"2d317ac0","hex_latitude":"06b5f2d8","is_valid_coordinates":true} 
[2026-09-10 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999264000001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404962317332119552,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3559673321795899392,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789059632000,"timestamp_ms":1789059632000,"timestamp_seconds":1789059632,"priority":1,"record_length":96,"hex_timestamp":"000001a08c438b80"} 
[2026-09-10 22:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 22:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999264000001,"66":27300,"170":206,"81":23552,"24":58,"16":404962317332119552,"45":3559673321795899392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-10 22:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999264000001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:31:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-10 22:31:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404962317332119552,"km_value":404962317332119.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3559673321795899392,"description":"Unknown IO ID 45"} 
[2026-09-10 22:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999264000001,"power":27300,"unknown_170":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3559673321795899392}} 
[2026-09-10 22:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":176967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:31:28] local.INFO: GPS data processed {"connection_id":176967,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:31:28] local.INFO: Acknowledgment sent {"connection_id":176967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:31:31] local.INFO: TCP Data received {"connection_id":179497,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:31:31] local.INFO: Processing buffer {"connection_id":179497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:31:31] local.INFO: IMEI packet received {"connection_id":179497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":179497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:31:32] local.INFO: TCP Data received {"connection_id":179497,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:31:32] local.INFO: Processing buffer {"connection_id":179497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:31:32] local.INFO: Packet analysis {"connection_id":179497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:31:32] local.INFO: Extracted packet for processing {"connection_id":179497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:31:32] 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-09-10 22: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-09-10 22:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:31:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":179497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:31:32] local.INFO: GPS data processed {"connection_id":179497,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:31:32] local.INFO: Acknowledgment sent {"connection_id":179497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:32:00] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c43a2f0012d318d4006b5d480001500942b..."} 
[2026-09-10 22:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c43a2f0012d318d4006b5d480001500942b..."} 
[2026-09-10 22:32:00] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c43a2f0012d318d4006b5d480001500942b..."} 
[2026-09-10 22:32:00] local.INFO: Packet analysis {"connection_id":176967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:32:00] local.INFO: Extracted packet for processing {"connection_id":176967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758222144,"raw_latitude":112579712,"longitude_deg":75.8222144,"latitude_deg":11.2579712,"altitude":21,"angle":148,"satellites":43,"speed":61,"hex_longitude":"2d318d40","hex_latitude":"06b5d480","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999265792001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404962755418783744,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3565373190072096768,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789059638000,"timestamp_ms":1789059638000,"timestamp_seconds":1789059638,"priority":1,"record_length":96,"hex_timestamp":"000001a08c43a2f0"} 
[2026-09-10 22:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:32: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-09-10 22: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-09-10 22:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999265792001,"66":27365,"170":206,"81":23552,"24":61,"16":404962755418783744,"45":3565373190072096768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-10 22:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999265792001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:32:00] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-10 22:32:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404962755418783744,"km_value":404962755418783.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3565373190072096768,"description":"Unknown IO ID 45"} 
[2026-09-10 22:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999265792001,"power":27365,"unknown_170":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3565373190072096768}} 
[2026-09-10 22:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":176967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:32:00] local.INFO: GPS data processed {"connection_id":176967,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:32:00] local.INFO: Acknowledgment sent {"connection_id":176967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:32:04] local.INFO: TCP Data received {"connection_id":179497,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:32:04] local.INFO: Processing buffer {"connection_id":179497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c3fc6a8012d1965c0071feee00041005e29..."} 
[2026-09-10 22:32:04] local.INFO: Packet analysis {"connection_id":179497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:32:04] local.INFO: Extracted packet for processing {"connection_id":179497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c3f"} 
[2026-09-10 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999125504001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32: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-09-10 22:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059385000,"timestamp_ms":1789059385000,"timestamp_seconds":1789059385,"priority":1,"record_length":96,"hex_timestamp":"000001a08c3fc6a8"} 
[2026-09-10 22:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:32:04] 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-09-10 22: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-09-10 22:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999125504001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999125504001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999125504001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":179497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:32:04] local.INFO: GPS data processed {"connection_id":179497,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:32:04] local.INFO: Acknowledgment sent {"connection_id":179497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:32:18] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:32:18] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:32:18] local.INFO: IMEI packet received {"connection_id":176968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":176968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:32:23] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:32:23] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:32:23] local.INFO: IMEI packet received {"connection_id":176968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":176968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:32:26] local.INFO: TCP Data received {"connection_id":178105,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:32:26] local.INFO: Processing buffer {"connection_id":178105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:32:26] local.INFO: IMEI packet received {"connection_id":178105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":178105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:32:27] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c43ba60012d319fc006b5b5e8001200942c..."} 
[2026-09-10 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c43ba60012d319fc006b5b5e8001200942c..."} 
[2026-09-10 22:32:27] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c43ba60012d319fc006b5b5e8001200942c..."} 
[2026-09-10 22:32:27] local.INFO: Packet analysis {"connection_id":176968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:32:27] local.INFO: Extracted packet for processing {"connection_id":176968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758226880,"raw_latitude":112571880,"longitude_deg":75.822688,"latitude_deg":11.257188,"altitude":18,"angle":148,"satellites":44,"speed":58,"hex_longitude":"2d319fc0","hex_latitude":"06b5b5e8","is_valid_coordinates":true} 
[2026-09-10 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999267328001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404963197800415232,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3570580477139255296,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789059644000,"timestamp_ms":1789059644000,"timestamp_seconds":1789059644,"priority":1,"record_length":96,"hex_timestamp":"000001a08c43ba60"} 
[2026-09-10 22:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 22:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999267328001,"66":27321,"170":206,"81":23552,"24":58,"16":404963197800415232,"45":3570580477139255296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-10 22:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999267328001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:32:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-10 22:32:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404963197800415232,"km_value":404963197800415.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3570580477139255296,"description":"Unknown IO ID 45"} 
[2026-09-10 22:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999267328001,"power":27321,"unknown_170":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3570580477139255296}} 
[2026-09-10 22:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":176968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:32:27] local.INFO: GPS data processed {"connection_id":176968,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:32:27] local.INFO: Acknowledgment sent {"connection_id":176968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:32:28] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c43d5b8012d31b64006b59488000f00902d..."} 
[2026-09-10 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c43d5b8012d31b64006b59488000f00902d..."} 
[2026-09-10 22:32:28] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c43d5b8012d31b64006b59488000f00902d..."} 
[2026-09-10 22:32:28] local.INFO: Packet analysis {"connection_id":176968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:32:28] local.INFO: Extracted packet for processing {"connection_id":176968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c43"} 
[2026-09-10 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":758232640,"raw_latitude":112563336,"longitude_deg":75.823264,"latitude_deg":11.2563336,"altitude":15,"angle":144,"satellites":45,"speed":57,"hex_longitude":"2d31b640","hex_latitude":"06b59488","is_valid_coordinates":true} 
[2026-09-10 22:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999268864001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404963691721654272,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3575787764206397440,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789059651000,"timestamp_ms":1789059651000,"timestamp_seconds":1789059651,"priority":1,"record_length":96,"hex_timestamp":"000001a08c43d5b8"} 
[2026-09-10 22:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999268864001,"66":27300,"170":206,"81":23552,"24":57,"16":404963691721654272,"45":3575787764206397440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-10 22:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999268864001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:32:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-10 22:32:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404963691721654272,"km_value":404963691721654.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3575787764206397440,"description":"Unknown IO ID 45"} 
[2026-09-10 22:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999268864001,"power":27300,"unknown_170":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3575787764206397440}} 
[2026-09-10 22:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":176968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:32:28] local.INFO: GPS data processed {"connection_id":176968,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:32:28] local.INFO: Acknowledgment sent {"connection_id":176968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:32:31] local.INFO: TCP Data received {"connection_id":178105,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:32:31] local.INFO: Processing buffer {"connection_id":178105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:32:31] local.INFO: IMEI packet received {"connection_id":178105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":178105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:32:32] local.INFO: TCP Data received {"connection_id":178105,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:32:32] local.INFO: Processing buffer {"connection_id":178105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:32:32] local.INFO: Packet analysis {"connection_id":178105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:32:32] local.INFO: Extracted packet for processing {"connection_id":178105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 22:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":178105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":178105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":178105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:32:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":178105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:32:32] local.INFO: GPS data processed {"connection_id":178105,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:32:32] local.INFO: Acknowledgment sent {"connection_id":178105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:32:59] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c44fe98012d332b0006b4aac0001300732e..."} 
[2026-09-10 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c44fe98012d332b0006b4aac0001300732e..."} 
[2026-09-10 22:32:59] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c44fe98012d332b0006b4aac0001300732e..."} 
[2026-09-10 22:32:59] local.INFO: Packet analysis {"connection_id":176968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:32:59] local.INFO: Extracted packet for processing {"connection_id":176968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758328064,"raw_latitude":112503488,"longitude_deg":75.8328064,"latitude_deg":11.2503488,"altitude":19,"angle":115,"satellites":46,"speed":59,"hex_longitude":"2d332b00","hex_latitude":"06b4aac0","is_valid_coordinates":true} 
[2026-09-10 22:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999288576001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404969150625087488,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3678103918224199680,"note":"Value kept but may cause issues"} 
[2026-09-10 22:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789059727000,"timestamp_ms":1789059727000,"timestamp_seconds":1789059727,"priority":1,"record_length":96,"hex_timestamp":"000001a08c44fe98"} 
[2026-09-10 22:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999288576001,"66":27310,"228":206,"81":23552,"24":59,"16":404969150625087488,"45":3678103918224199680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-09-10 22:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999288576001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:32:59] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 22:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404969150625087488,"km_value":404969150625087.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3678103918224199680,"description":"Unknown IO ID 45"} 
[2026-09-10 22:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999288576001,"power":27310,"unknown_228":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3678103918224199680}} 
[2026-09-10 22:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":176968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:32:59] local.INFO: GPS data processed {"connection_id":176968,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:32:59] local.INFO: Acknowledgment sent {"connection_id":176968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:33:04] local.INFO: TCP Data received {"connection_id":178105,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:33:04] local.INFO: Processing buffer {"connection_id":178105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:33:04] local.INFO: Packet analysis {"connection_id":178105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:33:04] local.INFO: Extracted packet for processing {"connection_id":178105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22: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-09-10 22:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 22:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:33: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-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:33: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-09-10 22:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:33:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":178105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:33:04] local.INFO: GPS data processed {"connection_id":178105,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:33:04] local.INFO: Acknowledgment sent {"connection_id":178105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:33:18] local.INFO: TCP Data received {"connection_id":179498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:18] local.INFO: Processing buffer {"connection_id":179498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:18] local.INFO: IMEI packet received {"connection_id":179498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":179498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:33:20] local.INFO: TCP Data received {"connection_id":179498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:20] local.INFO: Processing buffer {"connection_id":179498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:20] local.INFO: IMEI packet received {"connection_id":179498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":179498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:33:26] local.INFO: TCP Data received {"connection_id":179499,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:33:26] local.INFO: Processing buffer {"connection_id":179499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:33:26] local.INFO: IMEI packet received {"connection_id":179499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":179499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:33:27] local.INFO: TCP Data received {"connection_id":179498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:27] local.INFO: Processing buffer {"connection_id":179498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:33:27] local.INFO: IMEI packet received {"connection_id":179498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":179498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:33:30] local.INFO: TCP Data received {"connection_id":179498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c451608012d334b4006b49bb00013007330..."} 
[2026-09-10 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c451608012d334b4006b49bb00013007330..."} 
[2026-09-10 22:33:30] local.INFO: Processing buffer {"connection_id":179498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c451608012d334b4006b49bb00013007330..."} 
[2026-09-10 22:33:30] local.INFO: Packet analysis {"connection_id":179498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c45"} 
[2026-09-10 22:33:30] local.INFO: Extracted packet for processing {"connection_id":179498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c45"} 
[2026-09-10 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758336320,"raw_latitude":112499632,"longitude_deg":75.833632,"latitude_deg":11.2499632,"altitude":19,"angle":115,"satellites":48,"speed":59,"hex_longitude":"2d334b40","hex_latitude":"06b49bb0","is_valid_coordinates":true} 
[2026-09-10 22:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999290112001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404969584416784384,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3687040748733775872,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789059733000,"timestamp_ms":1789059733000,"timestamp_seconds":1789059733,"priority":1,"record_length":96,"hex_timestamp":"000001a08c451608"} 
[2026-09-10 22:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 22:33:30] 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-09-10 22:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":179498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":179498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":179498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999290112001,"66":27365,"228":206,"81":23552,"24":59,"16":404969584416784384,"45":3687040748733775872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-09-10 22:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999290112001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:33:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 22:33:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404969584416784384,"km_value":404969584416784.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3687040748733775872,"description":"Unknown IO ID 45"} 
[2026-09-10 22:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999290112001,"power":27365,"unknown_228":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3687040748733775872}} 
[2026-09-10 22:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":179498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:33:30] local.INFO: GPS data processed {"connection_id":179498,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:33:30] local.INFO: Acknowledgment sent {"connection_id":179498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:33:31] local.INFO: TCP Data received {"connection_id":179499,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:33:31] local.INFO: Processing buffer {"connection_id":179499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:33:31] local.INFO: IMEI packet received {"connection_id":179499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":179499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:33:32] local.INFO: TCP Data received {"connection_id":179499,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:33:32] local.INFO: Processing buffer {"connection_id":179499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:33:32] local.INFO: Packet analysis {"connection_id":179499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:33:32] local.INFO: Extracted packet for processing {"connection_id":179499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 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-09-10 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 22:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:33:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":179499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:33:32] local.INFO: GPS data processed {"connection_id":179499,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:33:32] local.INFO: Acknowledgment sent {"connection_id":179499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:34:01] local.INFO: TCP Data received {"connection_id":179498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c452d78012d336a0006b48a600014007b30..."} 
[2026-09-10 22:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c452d78012d336a0006b48a600014007b30..."} 
[2026-09-10 22:34:01] local.INFO: Processing buffer {"connection_id":179498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c452d78012d336a0006b48a600014007b30..."} 
[2026-09-10 22:34:01] local.INFO: Packet analysis {"connection_id":179498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c45"} 
[2026-09-10 22:34:01] local.INFO: Extracted packet for processing {"connection_id":179498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c45"} 
[2026-09-10 22:34:01] local.INFO: GPS Element Parsed {"raw_longitude":758344192,"raw_latitude":112495200,"longitude_deg":75.8344192,"latitude_deg":11.24952,"altitude":20,"angle":123,"satellites":48,"speed":59,"hex_longitude":"2d336a00","hex_latitude":"06b48a60","is_valid_coordinates":true} 
[2026-09-10 22:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999291648001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404970013913513984,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3696118316731707392,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789059739000,"timestamp_ms":1789059739000,"timestamp_seconds":1789059739,"priority":1,"record_length":96,"hex_timestamp":"000001a08c452d78"} 
[2026-09-10 22:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 22:34: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-09-10 22:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":179498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":179498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":179498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999291648001,"66":27300,"228":206,"81":23552,"24":59,"16":404970013913513984,"45":3696118316731707392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-09-10 22:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999291648001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:34:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-10 22:34:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404970013913513984,"km_value":404970013913514.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3696118316731707392,"description":"Unknown IO ID 45"} 
[2026-09-10 22:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999291648001,"power":27300,"unknown_228":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3696118316731707392}} 
[2026-09-10 22:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":179498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:34:01] local.INFO: GPS data processed {"connection_id":179498,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:34:01] local.INFO: Acknowledgment sent {"connection_id":179498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:34:04] local.INFO: TCP Data received {"connection_id":179499,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:34:04] local.INFO: Processing buffer {"connection_id":179499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:34:04] local.INFO: Packet analysis {"connection_id":179499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:34:04] local.INFO: Extracted packet for processing {"connection_id":179499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34: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-09-10 22:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 22:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:34: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-09-10 22:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:34: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-09-10 22:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:34:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":179499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:34:04] local.INFO: GPS data processed {"connection_id":179499,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:34:04] local.INFO: Acknowledgment sent {"connection_id":179499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:34:18] local.INFO: TCP Data received {"connection_id":179500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:34:18] local.INFO: Processing buffer {"connection_id":179500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:34:18] local.INFO: IMEI packet received {"connection_id":179500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":179500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:34:23] local.INFO: TCP Data received {"connection_id":179500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:34:23] local.INFO: Processing buffer {"connection_id":179500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:34:23] local.INFO: IMEI packet received {"connection_id":179500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":179500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:34:24] local.INFO: TCP Data received {"connection_id":179500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4617d8012d33cd0006b353900014009429..."} 
[2026-09-10 22:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4617d8012d33cd0006b353900014009429..."} 
[2026-09-10 22:34:24] local.INFO: Processing buffer {"connection_id":179500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4617d8012d33cd0006b353900014009429..."} 
[2026-09-10 22:34:24] local.INFO: Packet analysis {"connection_id":179500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:34:24] local.INFO: Extracted packet for processing {"connection_id":179500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758369536,"raw_latitude":112415632,"longitude_deg":75.8369536,"latitude_deg":11.2415632,"altitude":20,"angle":148,"satellites":41,"speed":54,"hex_longitude":"2d33cd00","hex_latitude":"06b35390","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999307008001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404974253046235136,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728769414010609664,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789059799000,"timestamp_ms":1789059799000,"timestamp_seconds":1789059799,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4617d8"} 
[2026-09-10 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-09-10 22:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:34:24] 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-09-10 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-09-10 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-09-10 22:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999307008001,"66":27213,"82":206,"81":23552,"24":54,"16":404974253046235136,"45":3728769414010609664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 22:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999307008001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:34:24] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 22:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404974253046235136,"km_value":404974253046235.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728769414010609664,"description":"Unknown IO ID 45"} 
[2026-09-10 22:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999307008001,"power":27213,"unknown_82":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3728769414010609664}} 
[2026-09-10 22:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":179500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:34:24] local.INFO: GPS data processed {"connection_id":179500,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:34:24] local.INFO: Acknowledgment sent {"connection_id":179500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:34:26] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:34:26] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:34:26] local.INFO: IMEI packet received {"connection_id":176750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":176750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:34:31] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:34:31] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:34:31] local.INFO: IMEI packet received {"connection_id":176750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":176750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:34:32] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:34:32] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:34:32] local.INFO: Packet analysis {"connection_id":176750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:34:32] local.INFO: Extracted packet for processing {"connection_id":176750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 22:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:34:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":176750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:34:33] local.INFO: GPS data processed {"connection_id":176750,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:34:33] local.INFO: Acknowledgment sent {"connection_id":176750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:34:37] local.INFO: TCP Data received {"connection_id":178106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:34:37] local.INFO: Processing buffer {"connection_id":178106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:34:37] local.INFO: IMEI packet received {"connection_id":178106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":178106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:34:55] local.INFO: TCP Data received {"connection_id":179500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c463718012d33e40006b33478001300892a..."} 
[2026-09-10 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c463718012d33e40006b33478001300892a..."} 
[2026-09-10 22:34:55] local.INFO: Processing buffer {"connection_id":179500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c463718012d33e40006b33478001300892a..."} 
[2026-09-10 22:34:55] local.INFO: Packet analysis {"connection_id":179500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:34:55] local.INFO: Extracted packet for processing {"connection_id":179500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758375424,"raw_latitude":112407672,"longitude_deg":75.8375424,"latitude_deg":11.2407672,"altitude":19,"angle":137,"satellites":42,"speed":44,"hex_longitude":"2d33e400","hex_latitude":"06b33478","is_valid_coordinates":true} 
[2026-09-10 22:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999308544001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404974729787604992,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3732639694938411008,"note":"Value kept but may cause issues"} 
[2026-09-10 22:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789059807000,"timestamp_ms":1789059807000,"timestamp_seconds":1789059807,"priority":1,"record_length":96,"hex_timestamp":"000001a08c463718"} 
[2026-09-10 22:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:34:55] 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-09-10 22:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999308544001,"66":27104,"82":206,"81":23552,"24":44,"16":404974729787604992,"45":3732639694938411008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 22:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999308544001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:34:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 22:34:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404974729787604992,"km_value":404974729787605.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3732639694938411008,"description":"Unknown IO ID 45"} 
[2026-09-10 22:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999308544001,"power":27104,"unknown_82":206,"unknown_81":23552,"ignition":44,"odometer":null,"unknown_45":3732639694938411008}} 
[2026-09-10 22:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":179500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:34:55] local.INFO: GPS data processed {"connection_id":179500,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:34:55] local.INFO: Acknowledgment sent {"connection_id":179500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:35:04] local.INFO: TCP Data received {"connection_id":176750,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:04] local.INFO: Processing buffer {"connection_id":176750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:04] local.INFO: Packet analysis {"connection_id":176750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:35:04] local.INFO: Extracted packet for processing {"connection_id":176750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35: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-09-10 22:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 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-09-10 22:35: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-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:35: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-09-10 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-09-10 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-09-10 22:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:35:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":176750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:35:04] local.INFO: GPS data processed {"connection_id":176750,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:35:04] local.INFO: Acknowledgment sent {"connection_id":176750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:35:18] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:35:18] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:35:18] local.INFO: IMEI packet received {"connection_id":178107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":178107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:35:23] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:35:23] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:35:23] local.INFO: IMEI packet received {"connection_id":178107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":178107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:35:24] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c463718012d33e40006b33478001300892a..."} 
[2026-09-10 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c463718012d33e40006b33478001300892a..."} 
[2026-09-10 22:35:24] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c463718012d33e40006b33478001300892a..."} 
[2026-09-10 22:35:24] local.INFO: Packet analysis {"connection_id":178107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:35:24] local.INFO: Extracted packet for processing {"connection_id":178107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758375424,"raw_latitude":112407672,"longitude_deg":75.8375424,"latitude_deg":11.2407672,"altitude":19,"angle":137,"satellites":42,"speed":44,"hex_longitude":"2d33e400","hex_latitude":"06b33478","is_valid_coordinates":true} 
[2026-09-10 22:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999310592001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404974729787604992,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3739113619400718336,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789059807000,"timestamp_ms":1789059807000,"timestamp_seconds":1789059807,"priority":1,"record_length":96,"hex_timestamp":"000001a08c463718"} 
[2026-09-10 22:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 22:35:24] 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-09-10 22:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999310592001,"66":27104,"82":206,"81":23552,"24":44,"16":404974729787604992,"45":3739113619400718336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 22:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999310592001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:35:24] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 22:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404974729787604992,"km_value":404974729787605.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3739113619400718336,"description":"Unknown IO ID 45"} 
[2026-09-10 22:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999310592001,"power":27104,"unknown_82":206,"unknown_81":23552,"ignition":44,"odometer":null,"unknown_45":3739113619400718336}} 
[2026-09-10 22:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":178107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:35:24] local.INFO: GPS data processed {"connection_id":178107,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:35:24] local.INFO: Acknowledgment sent {"connection_id":178107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:35:31] local.INFO: TCP Data received {"connection_id":176751,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:35:31] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:35:31] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:35:36] local.INFO: TCP Data received {"connection_id":176751,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:35:36] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:35:36] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:35:37] local.INFO: TCP Data received {"connection_id":176751,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:37] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:37] local.INFO: Packet analysis {"connection_id":176751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:35:37] local.INFO: Extracted packet for processing {"connection_id":176751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35: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-09-10 22:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 22:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:35: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-09-10 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":176751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:35:37] local.INFO: GPS data processed {"connection_id":176751,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:35:37] local.INFO: Acknowledgment sent {"connection_id":176751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:35:42] local.INFO: TCP Data received {"connection_id":176751,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:42] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:35:42] local.INFO: Packet analysis {"connection_id":176751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:35:42] local.INFO: Extracted packet for processing {"connection_id":176751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35: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-09-10 22:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 22:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:35: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-09-10 22: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-09-10 22:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:35:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":176751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:35:42] local.INFO: GPS data processed {"connection_id":176751,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:35:42] local.INFO: Acknowledgment sent {"connection_id":176751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:35:54] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c465a40012d33fa8006b321980013007d2c..."} 
[2026-09-10 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c465a40012d33fa8006b321980013007d2c..."} 
[2026-09-10 22:35:54] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c465a40012d33fa8006b321980013007d2c..."} 
[2026-09-10 22:35:54] local.INFO: Packet analysis {"connection_id":178107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:35:54] local.INFO: Extracted packet for processing {"connection_id":178107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758381184,"raw_latitude":112402840,"longitude_deg":75.8381184,"latitude_deg":11.240284,"altitude":19,"angle":125,"satellites":44,"speed":26,"hex_longitude":"2d33fa80","hex_latitude":"06b32198","is_valid_coordinates":true} 
[2026-09-10 22:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999310592001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975090564857856,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3739113619400718336,"note":"Value kept but may cause issues"} 
[2026-09-10 22:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789059816000,"timestamp_ms":1789059816000,"timestamp_seconds":1789059816,"priority":1,"record_length":96,"hex_timestamp":"000001a08c465a40"} 
[2026-09-10 22:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-10 22:35:54] 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-09-10 22:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999310592001,"66":27484,"82":206,"81":23552,"24":26,"16":404975090564857856,"45":3739113619400718336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 22:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999310592001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:35:54] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 22:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975090564857856,"km_value":404975090564857.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3739113619400718336,"description":"Unknown IO ID 45"} 
[2026-09-10 22:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999310592001,"power":27484,"unknown_82":206,"unknown_81":23552,"ignition":26,"odometer":null,"unknown_45":3739113619400718336}} 
[2026-09-10 22:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":178107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:35:54] local.INFO: GPS data processed {"connection_id":178107,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:35:54] local.INFO: Acknowledgment sent {"connection_id":178107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:36:18] local.INFO: TCP Data received {"connection_id":179501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:18] local.INFO: Processing buffer {"connection_id":179501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:18] local.INFO: IMEI packet received {"connection_id":179501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":179501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:36:18] local.INFO: TCP Data received {"connection_id":179501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:18] local.INFO: Processing buffer {"connection_id":179501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:18] local.INFO: IMEI packet received {"connection_id":179501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":179501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:36:24] local.INFO: TCP Data received {"connection_id":179501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:24] local.INFO: Processing buffer {"connection_id":179501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:36:24] local.INFO: IMEI packet received {"connection_id":179501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":179501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:36:24] local.INFO: TCP Data received {"connection_id":179501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c468538012d340b4006b316e80012008d2b..."} 
[2026-09-10 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c468538012d340b4006b316e80012008d2b..."} 
[2026-09-10 22:36:24] local.INFO: Processing buffer {"connection_id":179501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c468538012d340b4006b316e80012008d2b..."} 
[2026-09-10 22:36:24] local.INFO: Packet analysis {"connection_id":179501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:36:24] local.INFO: Extracted packet for processing {"connection_id":179501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758385472,"raw_latitude":112400104,"longitude_deg":75.8385472,"latitude_deg":11.2400104,"altitude":18,"angle":141,"satellites":43,"speed":7,"hex_longitude":"2d340b40","hex_latitude":"06b316e8","is_valid_coordinates":true} 
[2026-09-10 22:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999312896001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975335377993728,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3745446806375471104,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789059827000,"timestamp_ms":1789059827000,"timestamp_seconds":1789059827,"priority":1,"record_length":96,"hex_timestamp":"000001a08c468538"} 
[2026-09-10 22:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 22:36:24] 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-09-10 22:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999312896001,"66":27082,"82":206,"81":23552,"24":7,"16":404975335377993728,"45":3745446806375471104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-10 22:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999312896001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:36:24] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-10 22:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975335377993728,"km_value":404975335377993.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3745446806375471104,"description":"Unknown IO ID 45"} 
[2026-09-10 22:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999312896001,"power":27082,"unknown_82":206,"unknown_81":23552,"ignition":7,"odometer":null,"unknown_45":3745446806375471104}} 
[2026-09-10 22:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":179501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:36:24] local.INFO: GPS data processed {"connection_id":179501,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:36:24] local.INFO: Acknowledgment sent {"connection_id":179501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:36:26] local.INFO: TCP Data received {"connection_id":176971,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:36:26] local.INFO: Processing buffer {"connection_id":176971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:36:26] local.INFO: IMEI packet received {"connection_id":176971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":176971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:36:31] local.INFO: TCP Data received {"connection_id":176971,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:36:31] local.INFO: Processing buffer {"connection_id":176971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:36:31] local.INFO: IMEI packet received {"connection_id":176971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":176971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:36:32] local.INFO: TCP Data received {"connection_id":176971,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:36:32] local.INFO: Processing buffer {"connection_id":176971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:36:32] local.INFO: Packet analysis {"connection_id":176971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:36:32] local.INFO: Extracted packet for processing {"connection_id":176971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 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-09-10 22:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 22:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:36:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":176971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:36:33] local.INFO: GPS data processed {"connection_id":176971,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:36:33] local.INFO: Acknowledgment sent {"connection_id":176971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:36:55] local.INFO: TCP Data received {"connection_id":179501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c46d740012d34118006b311800012008d2e..."} 
[2026-09-10 22:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c46d740012d34118006b311800012008d2e..."} 
[2026-09-10 22:36:55] local.INFO: Processing buffer {"connection_id":179501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c46d740012d34118006b311800012008d2e..."} 
[2026-09-10 22:36:55] local.INFO: Packet analysis {"connection_id":179501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:36:55] local.INFO: Extracted packet for processing {"connection_id":179501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758387072,"raw_latitude":112398720,"longitude_deg":75.8387072,"latitude_deg":11.239872,"altitude":18,"angle":141,"satellites":46,"speed":0,"hex_longitude":"2d341180","hex_latitude":"06b31180","is_valid_coordinates":true} 
[2026-09-10 22:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999315712001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975438457208832,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3750161512234674176,"note":"Value kept but may cause issues"} 
[2026-09-10 22:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789059848000,"timestamp_ms":1789059848000,"timestamp_seconds":1789059848,"priority":1,"record_length":96,"hex_timestamp":"000001a08c46d740"} 
[2026-09-10 22:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-10 22:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999315712001,"66":27180,"224":206,"81":23552,"24":0,"16":404975438457208832,"45":3750161512234674176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999315712001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:36:55] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:36:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975438457208832,"km_value":404975438457208.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3750161512234674176,"description":"Unknown IO ID 45"} 
[2026-09-10 22:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999315712001,"power":27180,"unknown_224":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3750161512234674176}} 
[2026-09-10 22:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":179501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:36:55] local.INFO: GPS data processed {"connection_id":179501,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:36:55] local.INFO: Acknowledgment sent {"connection_id":179501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:37:04] local.INFO: TCP Data received {"connection_id":176971,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:37:04] local.INFO: Processing buffer {"connection_id":176971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c445e70012d1965c0071feee00041005e26..."} 
[2026-09-10 22:37:04] local.INFO: Packet analysis {"connection_id":176971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:37:04] local.INFO: Extracted packet for processing {"connection_id":176971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c44"} 
[2026-09-10 22:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999202560001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37: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-09-10 22:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059686000,"timestamp_ms":1789059686000,"timestamp_seconds":1789059686,"priority":1,"record_length":96,"hex_timestamp":"000001a08c445e70"} 
[2026-09-10 22:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:37: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-09-10 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-10 22:37: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-09-10 22:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999202560001,"66":2166,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999202560001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:37:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999202560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":176971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:37:04] local.INFO: GPS data processed {"connection_id":176971,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:37:04] local.INFO: Acknowledgment sent {"connection_id":176971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:37:18] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:37:18] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:37:18] local.INFO: IMEI packet received {"connection_id":178109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":178109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:37:23] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:37:23] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:37:23] local.INFO: IMEI packet received {"connection_id":178109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":178109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:37:24] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c46f680012d34134006b310580012007e2f..."} 
[2026-09-10 22:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c46f680012d34134006b310580012007e2f..."} 
[2026-09-10 22:37:24] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c46f680012d34134006b310580012007e2f..."} 
[2026-09-10 22:37:24] local.INFO: Packet analysis {"connection_id":178109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:37:24] local.INFO: Extracted packet for processing {"connection_id":178109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c46"} 
[2026-09-10 22:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758387520,"raw_latitude":112398424,"longitude_deg":75.838752,"latitude_deg":11.2398424,"altitude":18,"angle":126,"satellites":47,"speed":6,"hex_longitude":"2d341340","hex_latitude":"06b31058","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999321088001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975468521979904,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3751920730838761472,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789059856000,"timestamp_ms":1789059856000,"timestamp_seconds":1789059856,"priority":1,"record_length":96,"hex_timestamp":"000001a08c46f680"} 
[2026-09-10 22:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-10 22:37:24] 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-09-10 22: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-09-10 22:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999321088001,"66":27332,"224":206,"81":23552,"24":6,"16":404975468521979904,"45":3751920730838761472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999321088001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:37:24] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975468521979904,"km_value":404975468521979.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3751920730838761472,"description":"Unknown IO ID 45"} 
[2026-09-10 22:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999321088001,"power":27332,"unknown_224":206,"unknown_81":23552,"ignition":6,"odometer":null,"unknown_45":3751920730838761472}} 
[2026-09-10 22:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":178109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:37:24] local.INFO: GPS data processed {"connection_id":178109,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:37:24] local.INFO: Acknowledgment sent {"connection_id":178109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:37:26] local.INFO: TCP Data received {"connection_id":176752,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:37:26] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:37:26] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:37:31] local.INFO: TCP Data received {"connection_id":176752,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:37:31] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:37:31] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:37:32] local.INFO: TCP Data received {"connection_id":176752,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:37:32] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:37:32] local.INFO: Packet analysis {"connection_id":176752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:37:32] local.INFO: Extracted packet for processing {"connection_id":176752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 22:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:37:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":176752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:37:32] local.INFO: GPS data processed {"connection_id":176752,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:37:32] local.INFO: Acknowledgment sent {"connection_id":176752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:37:54] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c474888012d34150006b30f200012007f2e..."} 
[2026-09-10 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c474888012d34150006b30f200012007f2e..."} 
[2026-09-10 22:37:54] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c474888012d34150006b30f200012007f2e..."} 
[2026-09-10 22:37:54] local.INFO: Packet analysis {"connection_id":178109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c47"} 
[2026-09-10 22:37:54] local.INFO: Extracted packet for processing {"connection_id":178109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c47"} 
[2026-09-10 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758387968,"raw_latitude":112398112,"longitude_deg":75.8387968,"latitude_deg":11.2398112,"altitude":18,"angle":127,"satellites":46,"speed":0,"hex_longitude":"2d341500","hex_latitude":"06b30f20","is_valid_coordinates":true} 
[2026-09-10 22:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999323136001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975494291783680,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752413312047929344,"note":"Value kept but may cause issues"} 
[2026-09-10 22:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789059877000,"timestamp_ms":1789059877000,"timestamp_seconds":1789059877,"priority":1,"record_length":96,"hex_timestamp":"000001a08c474888"} 
[2026-09-10 22:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999323136001,"66":27169,"224":206,"81":23552,"24":0,"16":404975494291783680,"45":3752413312047929344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999323136001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:37:54] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975494291783680,"km_value":404975494291783.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752413312047929344,"description":"Unknown IO ID 45"} 
[2026-09-10 22:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999323136001,"power":27169,"unknown_224":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3752413312047929344}} 
[2026-09-10 22:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":178109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:37:54] local.INFO: GPS data processed {"connection_id":178109,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:37:54] local.INFO: Acknowledgment sent {"connection_id":178109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:38:04] local.INFO: TCP Data received {"connection_id":176752,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:04] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:04] local.INFO: Packet analysis {"connection_id":176752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:38:04] local.INFO: Extracted packet for processing {"connection_id":176752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38: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-09-10 22:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 22:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:38:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":176752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:38:04] local.INFO: GPS data processed {"connection_id":176752,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:38:04] local.INFO: Acknowledgment sent {"connection_id":176752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:38:18] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:38:18] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:38:18] local.INFO: IMEI packet received {"connection_id":176973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":176973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:38:20] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:38:20] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:38:20] local.INFO: IMEI packet received {"connection_id":176973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":176973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:38:20] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c479a90012d34150006b30f200012007f2d..."} 
[2026-09-10 22:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c479a90012d34150006b30f200012007f2d..."} 
[2026-09-10 22:38:20] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c479a90012d34150006b30f200012007f2d..."} 
[2026-09-10 22:38:20] local.INFO: Packet analysis {"connection_id":176973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c47"} 
[2026-09-10 22:38:20] local.INFO: Extracted packet for processing {"connection_id":176973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c47"} 
[2026-09-10 22:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758387968,"raw_latitude":112398112,"longitude_deg":75.8387968,"latitude_deg":11.2398112,"altitude":18,"angle":127,"satellites":45,"speed":0,"hex_longitude":"2d341500","hex_latitude":"06b30f20","is_valid_coordinates":true} 
[2026-09-10 22:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999328512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975494291783680,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752905893257093120,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789059898000,"timestamp_ms":1789059898000,"timestamp_seconds":1789059898,"priority":1,"record_length":96,"hex_timestamp":"000001a08c479a90"} 
[2026-09-10 22:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 22:38:20] 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-09-10 22:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999328512001,"66":27300,"224":206,"81":23552,"24":0,"16":404975494291783680,"45":3752905893257093120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999328512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:38:20] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975494291783680,"km_value":404975494291783.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752905893257093120,"description":"Unknown IO ID 45"} 
[2026-09-10 22:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999328512001,"power":27300,"unknown_224":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3752905893257093120}} 
[2026-09-10 22:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":176973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:38:20] local.INFO: GPS data processed {"connection_id":176973,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:38:20] local.INFO: Acknowledgment sent {"connection_id":176973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:38:31] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:38:31] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:38:31] local.INFO: IMEI packet received {"connection_id":176753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:38:36] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:38:36] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:38:36] local.INFO: IMEI packet received {"connection_id":176753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":176753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:38:38] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:38] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:38] local.INFO: Packet analysis {"connection_id":176753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:38:38] local.INFO: Extracted packet for processing {"connection_id":176753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38: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-09-10 22:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 22:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:38: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-09-10 22:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:38: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-09-10 22:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":176753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:38:38] local.INFO: GPS data processed {"connection_id":176753,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:38:38] local.INFO: Acknowledgment sent {"connection_id":176753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:38:42] local.INFO: TCP Data received {"connection_id":176753,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:42] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:38:42] local.INFO: Packet analysis {"connection_id":176753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:38:42] local.INFO: Extracted packet for processing {"connection_id":176753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38: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-09-10 22:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 22:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:38: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-09-10 22: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-09-10 22:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":176753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:38:42] local.INFO: GPS data processed {"connection_id":176753,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:38:42] local.INFO: Acknowledgment sent {"connection_id":176753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:38:51] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c47ec98012d341c4006b30ad8001100762e..."} 
[2026-09-10 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c47ec98012d341c4006b30ad8001100762e..."} 
[2026-09-10 22:38:51] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c47ec98012d341c4006b30ad8001100762e..."} 
[2026-09-10 22:38:51] local.INFO: Packet analysis {"connection_id":176973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c47"} 
[2026-09-10 22:38:51] local.INFO: Extracted packet for processing {"connection_id":176973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c47"} 
[2026-09-10 22:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758389824,"raw_latitude":112397016,"longitude_deg":75.8389824,"latitude_deg":11.2397016,"altitude":17,"angle":118,"satellites":46,"speed":0,"hex_longitude":"2d341c40","hex_latitude":"06b30ad8","is_valid_coordinates":true} 
[2026-09-10 22:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999333888001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975597370998784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752905893257093120,"note":"Value kept but may cause issues"} 
[2026-09-10 22:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789059919000,"timestamp_ms":1789059919000,"timestamp_seconds":1789059919,"priority":1,"record_length":96,"hex_timestamp":"000001a08c47ec98"} 
[2026-09-10 22:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:38:51] 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-09-10 22:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999333888001,"66":26636,"224":206,"81":23552,"24":0,"16":404975597370998784,"45":3752905893257093120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999333888001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:38:51] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975597370998784,"km_value":404975597370998.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752905893257093120,"description":"Unknown IO ID 45"} 
[2026-09-10 22:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999333888001,"power":26636,"unknown_224":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3752905893257093120}} 
[2026-09-10 22:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":176973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:38:51] local.INFO: GPS data processed {"connection_id":176973,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:38:51] local.INFO: Acknowledgment sent {"connection_id":176973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:39:18] local.INFO: TCP Data received {"connection_id":176974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:39:18] local.INFO: Processing buffer {"connection_id":176974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:39:18] local.INFO: IMEI packet received {"connection_id":176974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":176974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:39:21] local.INFO: TCP Data received {"connection_id":176974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:39:21] local.INFO: Processing buffer {"connection_id":176974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:39:21] local.INFO: IMEI packet received {"connection_id":176974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":176974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:39:21] local.INFO: TCP Data received {"connection_id":176974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c483ea0012d341c4006b30ad8001100762d..."} 
[2026-09-10 22:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c483ea0012d341c4006b30ad8001100762d..."} 
[2026-09-10 22:39:21] local.INFO: Processing buffer {"connection_id":176974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c483ea0012d341c4006b30ad8001100762d..."} 
[2026-09-10 22:39:21] local.INFO: Packet analysis {"connection_id":176974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:39:21] local.INFO: Extracted packet for processing {"connection_id":176974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758389824,"raw_latitude":112397016,"longitude_deg":75.8389824,"latitude_deg":11.2397016,"altitude":17,"angle":118,"satellites":45,"speed":0,"hex_longitude":"2d341c40","hex_latitude":"06b30ad8","is_valid_coordinates":true} 
[2026-09-10 22:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999339264001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975597370998784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754946586837964800,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789059940000,"timestamp_ms":1789059940000,"timestamp_seconds":1789059940,"priority":1,"record_length":96,"hex_timestamp":"000001a08c483ea0"} 
[2026-09-10 22:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-10 22:39:21] 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-09-10 22:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999339264001,"66":26658,"224":206,"81":23552,"24":0,"16":404975597370998784,"45":3754946586837964800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999339264001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:39:21] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975597370998784,"km_value":404975597370998.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3754946586837964800,"description":"Unknown IO ID 45"} 
[2026-09-10 22:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999339264001,"power":26658,"unknown_224":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3754946586837964800}} 
[2026-09-10 22:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":176974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:39:21] local.INFO: GPS data processed {"connection_id":176974,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:39:21] local.INFO: Acknowledgment sent {"connection_id":176974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:39:26] local.INFO: TCP Data received {"connection_id":179503,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:39:26] local.INFO: Processing buffer {"connection_id":179503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:39:26] local.INFO: IMEI packet received {"connection_id":179503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":179503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:39:31] local.INFO: TCP Data received {"connection_id":179503,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:39:31] local.INFO: Processing buffer {"connection_id":179503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:39:31] local.INFO: IMEI packet received {"connection_id":179503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":179503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:39:32] local.INFO: TCP Data received {"connection_id":179503,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:39:32] local.INFO: Processing buffer {"connection_id":179503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:39:32] local.INFO: Packet analysis {"connection_id":179503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:39:32] local.INFO: Extracted packet for processing {"connection_id":179503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 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-09-10 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 22:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:39:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":179503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:39:32] local.INFO: GPS data processed {"connection_id":179503,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:39:32] local.INFO: Acknowledgment sent {"connection_id":179503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:39:52] local.INFO: TCP Data received {"connection_id":176974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4890a8012d341c4006b30ad8001100762c..."} 
[2026-09-10 22:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4890a8012d341c4006b30ad8001100762c..."} 
[2026-09-10 22:39:52] local.INFO: Processing buffer {"connection_id":176974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4890a8012d341c4006b30ad8001100762c..."} 
[2026-09-10 22:39:52] local.INFO: Packet analysis {"connection_id":176974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:39:52] local.INFO: Extracted packet for processing {"connection_id":176974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758389824,"raw_latitude":112397016,"longitude_deg":75.8389824,"latitude_deg":11.2397016,"altitude":17,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d341c40","hex_latitude":"06b30ad8","is_valid_coordinates":true} 
[2026-09-10 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999344640001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404975597370998784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754946586837964800,"note":"Value kept but may cause issues"} 
[2026-09-10 22:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789059961000,"timestamp_ms":1789059961000,"timestamp_seconds":1789059961,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4890a8"} 
[2026-09-10 22:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-10 22:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999344640001,"66":27180,"224":206,"81":23552,"24":0,"16":404975597370998784,"45":3754946586837964800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999344640001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:39:52] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404975597370998784,"km_value":404975597370998.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3754946586837964800,"description":"Unknown IO ID 45"} 
[2026-09-10 22:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999344640001,"power":27180,"unknown_224":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3754946586837964800}} 
[2026-09-10 22:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":176974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:39:52] local.INFO: GPS data processed {"connection_id":176974,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:39:52] local.INFO: Acknowledgment sent {"connection_id":176974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:40:04] local.INFO: TCP Data received {"connection_id":179503,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:40:04] local.INFO: Processing buffer {"connection_id":179503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:40:04] local.INFO: Packet analysis {"connection_id":179503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:40:04] local.INFO: Extracted packet for processing {"connection_id":179503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40: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-09-10 22:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 22:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:40:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":179503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:40:04] local.INFO: GPS data processed {"connection_id":179503,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:40:04] local.INFO: Acknowledgment sent {"connection_id":179503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:40:13] local.INFO: TCP Data received {"connection_id":178110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:40:13] local.INFO: Processing buffer {"connection_id":178110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:40:13] local.INFO: IMEI packet received {"connection_id":178110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":178110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:40:18] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:18] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:18] local.INFO: IMEI packet received {"connection_id":178111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":178111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:40:19] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:19] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:19] local.INFO: IMEI packet received {"connection_id":178111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":178111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:40:23] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:23] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:40:23] local.INFO: IMEI packet received {"connection_id":178111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":178111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:40:25] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4b6b20012d3499c006b2b7f0000d007e2f..."} 
[2026-09-10 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4b6b20012d3499c006b2b7f0000d007e2f..."} 
[2026-09-10 22:40:25] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4b6b20012d3499c006b2b7f0000d007e2f..."} 
[2026-09-10 22:40:25] local.INFO: Packet analysis {"connection_id":178111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4b"} 
[2026-09-10 22:40:25] local.INFO: Extracted packet for processing {"connection_id":178111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4b"} 
[2026-09-10 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758421952,"raw_latitude":112375792,"longitude_deg":75.8421952,"latitude_deg":11.2375792,"altitude":13,"angle":126,"satellites":47,"speed":51,"hex_longitude":"2d3499c0","hex_latitude":"06b2b7f0","is_valid_coordinates":true} 
[2026-09-10 22:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999396096001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404977444206936064,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3781968184598056960,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789060148000,"timestamp_ms":1789060148000,"timestamp_seconds":1789060148,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4b6b20"} 
[2026-09-10 22:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:40:25] 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-09-10 22:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999396096001,"66":27245,"224":206,"81":23552,"24":51,"16":404977444206936064,"45":3781968184598056960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999396096001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:40:25] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404977444206936064,"km_value":404977444206936.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3781968184598056960,"description":"Unknown IO ID 45"} 
[2026-09-10 22:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999396096001,"power":27245,"unknown_224":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3781968184598056960}} 
[2026-09-10 22:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":178111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:40:25] local.INFO: GPS data processed {"connection_id":178111,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:40:25] local.INFO: Acknowledgment sent {"connection_id":178111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:40:26] local.INFO: TCP Data received {"connection_id":179504,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:40:26] local.INFO: Processing buffer {"connection_id":179504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:40:26] local.INFO: IMEI packet received {"connection_id":179504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":179504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:40:31] local.INFO: TCP Data received {"connection_id":179504,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:40:31] local.INFO: Processing buffer {"connection_id":179504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:40:31] local.INFO: IMEI packet received {"connection_id":179504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":179504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:40:32] local.INFO: TCP Data received {"connection_id":179504,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:40:32] local.INFO: Processing buffer {"connection_id":179504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:40:32] local.INFO: Packet analysis {"connection_id":179504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:40:32] local.INFO: Extracted packet for processing {"connection_id":179504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 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-09-10 22:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 22:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:40:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:40:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":179504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:40:32] local.INFO: GPS data processed {"connection_id":179504,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:40:32] local.INFO: Acknowledgment sent {"connection_id":179504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:40:43] local.INFO: TCP Data received {"connection_id":179505,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:40:43] local.INFO: Processing buffer {"connection_id":179505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:40:43] local.INFO: IMEI packet received {"connection_id":179505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":179505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:40:59] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4b8a60012d34b80006b2a0b0000d008130..."} 
[2026-09-10 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4b8a60012d34b80006b2a0b0000d008130..."} 
[2026-09-10 22:40:59] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4b8a60012d34b80006b2a0b0000d008130..."} 
[2026-09-10 22:40:59] local.INFO: Packet analysis {"connection_id":178111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4b"} 
[2026-09-10 22:40:59] local.INFO: Extracted packet for processing {"connection_id":178111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4b"} 
[2026-09-10 22:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758429696,"raw_latitude":112369840,"longitude_deg":75.8429696,"latitude_deg":11.236984,"altitude":13,"angle":129,"satellites":48,"speed":45,"hex_longitude":"2d34b800","hex_latitude":"06b2a0b0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999397888001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404977912358371328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3790271696409718784,"note":"Value kept but may cause issues"} 
[2026-09-10 22:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789060156000,"timestamp_ms":1789060156000,"timestamp_seconds":1789060156,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4b8a60"} 
[2026-09-10 22:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-10 22:40: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-09-10 22: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-09-10 22:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999397888001,"66":27180,"224":206,"81":23552,"24":45,"16":404977912358371328,"45":3790271696409718784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-10 22:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999397888001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:40:59] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-10 22:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404977912358371328,"km_value":404977912358371.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3790271696409718784,"description":"Unknown IO ID 45"} 
[2026-09-10 22:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999397888001,"power":27180,"unknown_224":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3790271696409718784}} 
[2026-09-10 22:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":178111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:40:59] local.INFO: GPS data processed {"connection_id":178111,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:40:59] local.INFO: Acknowledgment sent {"connection_id":178111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:41:04] local.INFO: TCP Data received {"connection_id":179504,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:41:04] local.INFO: Processing buffer {"connection_id":179504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:41:04] local.INFO: Packet analysis {"connection_id":179504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:41:04] local.INFO: Extracted packet for processing {"connection_id":179504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41: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-09-10 22:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 22:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":179504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":179504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":179504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:41:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":179504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:41:05] local.INFO: GPS data processed {"connection_id":179504,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:41:05] local.INFO: Acknowledgment sent {"connection_id":179504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:41:17] local.INFO: TCP Data received {"connection_id":176754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:17] local.INFO: Processing buffer {"connection_id":176754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:17] local.INFO: IMEI packet received {"connection_id":176754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":176754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:41:19] local.INFO: TCP Data received {"connection_id":176754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:19] local.INFO: Processing buffer {"connection_id":176754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:19] local.INFO: IMEI packet received {"connection_id":176754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":176754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:41:23] local.INFO: TCP Data received {"connection_id":176754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:23] local.INFO: Processing buffer {"connection_id":176754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:41:23] local.INFO: IMEI packet received {"connection_id":176754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":176754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:41:24] local.INFO: TCP Data received {"connection_id":176754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4ca3a0012d35e64006b1dd780013008031..."} 
[2026-09-10 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4ca3a0012d35e64006b1dd780013008031..."} 
[2026-09-10 22:41:24] local.INFO: Processing buffer {"connection_id":176754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4ca3a0012d35e64006b1dd780013008031..."} 
[2026-09-10 22:41:24] local.INFO: Packet analysis {"connection_id":176754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:41:24] local.INFO: Extracted packet for processing {"connection_id":176754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758507072,"raw_latitude":112319864,"longitude_deg":75.8507072,"latitude_deg":11.2319864,"altitude":19,"angle":128,"satellites":49,"speed":55,"hex_longitude":"2d35e640","hex_latitude":"06b1dd78","is_valid_coordinates":true} 
[2026-09-10 22:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999416576001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404982323289784320,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3874784558154211328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789060228000,"timestamp_ms":1789060228000,"timestamp_seconds":1789060228,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4ca3a0"} 
[2026-09-10 22:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-10 22:41:24] 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-09-10 22:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999416576001,"66":27397,"221":206,"81":23552,"24":55,"16":404982323289784320,"45":3874784558154211328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-09-10 22:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999416576001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:41:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-10 22:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404982323289784320,"km_value":404982323289784.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3874784558154211328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999416576001,"power":27397,"unknown_221":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3874784558154211328}} 
[2026-09-10 22:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":176754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:41:24] local.INFO: GPS data processed {"connection_id":176754,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:41:24] local.INFO: Acknowledgment sent {"connection_id":176754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:41:26] local.INFO: TCP Data received {"connection_id":179507,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:41:26] local.INFO: Processing buffer {"connection_id":179507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:41:26] local.INFO: IMEI packet received {"connection_id":179507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":179507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:41:31] local.INFO: TCP Data received {"connection_id":179507,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:41:31] local.INFO: Processing buffer {"connection_id":179507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:41:31] local.INFO: IMEI packet received {"connection_id":179507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":179507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:41:32] local.INFO: TCP Data received {"connection_id":179507,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:41:32] local.INFO: Processing buffer {"connection_id":179507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:41:32] local.INFO: Packet analysis {"connection_id":179507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:41:32] local.INFO: Extracted packet for processing {"connection_id":179507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 22:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-10 22:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:41:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":179507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:41:32] local.INFO: GPS data processed {"connection_id":179507,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:41:32] local.INFO: Acknowledgment sent {"connection_id":179507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:41:42] local.INFO: TCP Data received {"connection_id":176754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4cbb10012d35fd8006b1c7900015008b31..."} 
[2026-09-10 22:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4cbb10012d35fd8006b1c7900015008b31..."} 
[2026-09-10 22:41:42] local.INFO: Processing buffer {"connection_id":176754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4cbb10012d35fd8006b1c7900015008b31..."} 
[2026-09-10 22:41:42] local.INFO: Packet analysis {"connection_id":176754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:41:42] local.INFO: Extracted packet for processing {"connection_id":176754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758513024,"raw_latitude":112314256,"longitude_deg":75.8513024,"latitude_deg":11.2314256,"altitude":21,"angle":139,"satellites":49,"speed":54,"hex_longitude":"2d35fd80","hex_latitude":"06b1c790","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999418368001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404982718426775552,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3883862126151694336,"note":"Value kept but may cause issues"} 
[2026-09-10 22:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789060234000,"timestamp_ms":1789060234000,"timestamp_seconds":1789060234,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4cbb10"} 
[2026-09-10 22:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 22:41:42] 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-09-10 22: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-09-10 22:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999418368001,"66":27397,"222":206,"81":23552,"24":54,"16":404982718426775552,"45":3883862126151694336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-10 22:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999418368001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:41:42] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-10 22:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404982718426775552,"km_value":404982718426775.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3883862126151694336,"description":"Unknown IO ID 45"} 
[2026-09-10 22:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999418368001,"power":27397,"unknown_222":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3883862126151694336}} 
[2026-09-10 22:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":176754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:41:42] local.INFO: GPS data processed {"connection_id":176754,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:41:42] local.INFO: Acknowledgment sent {"connection_id":176754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:42:05] local.INFO: TCP Data received {"connection_id":179507,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:42:05] local.INFO: Processing buffer {"connection_id":179507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c48f638012d1965c0071feee00041005e26..."} 
[2026-09-10 22:42:05] local.INFO: Packet analysis {"connection_id":179507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:42:05] local.INFO: Extracted packet for processing {"connection_id":179507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c48"} 
[2026-09-10 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999279616001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42: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-09-10 22:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789059987000,"timestamp_ms":1789059987000,"timestamp_seconds":1789059987,"priority":1,"record_length":96,"hex_timestamp":"000001a08c48f638"} 
[2026-09-10 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-09-10 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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-09-10 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-09-10 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-09-10 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-09-10 22:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":179507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":179507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":179507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999279616001,"66":2177,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999279616001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999279616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":179507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:42:05] local.INFO: GPS data processed {"connection_id":179507,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:42:05] local.INFO: Acknowledgment sent {"connection_id":179507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:42:18] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:18] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:18] local.INFO: IMEI packet received {"connection_id":176976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":176976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:42:20] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:20] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:20] local.INFO: IMEI packet received {"connection_id":176976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":176976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:42:23] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:23] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:42:23] local.INFO: IMEI packet received {"connection_id":176976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":176976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:42:23] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4cce98012d360cc006b1b188001600972f..."} 
[2026-09-10 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4cce98012d360cc006b1b188001600972f..."} 
[2026-09-10 22:42:23] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4cce98012d360cc006b1b188001600972f..."} 
[2026-09-10 22:42:23] local.INFO: Packet analysis {"connection_id":176976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:42:23] local.INFO: Extracted packet for processing {"connection_id":176976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758516928,"raw_latitude":112308616,"longitude_deg":75.8516928,"latitude_deg":11.2308616,"altitude":22,"angle":151,"satellites":47,"speed":54,"hex_longitude":"2d360cc0","hex_latitude":"06b1b188","is_valid_coordinates":true} 
[2026-09-10 22:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999419904001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404983049139257344,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3890406419358781440,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789060239000,"timestamp_ms":1789060239000,"timestamp_seconds":1789060239,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4cce98"} 
[2026-09-10 22:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-10 22:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999419904001,"66":27321,"222":206,"81":23552,"24":54,"16":404983049139257344,"45":3890406419358781440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-10 22:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999419904001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:42:23] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-10 22:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404983049139257344,"km_value":404983049139257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3890406419358781440,"description":"Unknown IO ID 45"} 
[2026-09-10 22:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999419904001,"power":27321,"unknown_222":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3890406419358781440}} 
[2026-09-10 22:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":176976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:42:23] local.INFO: GPS data processed {"connection_id":176976,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:42:23] local.INFO: Acknowledgment sent {"connection_id":176976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:42:26] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4ce9f0012d361c0006b18de00015009f2f..."} 
[2026-09-10 22:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4ce9f0012d361c0006b18de00015009f2f..."} 
[2026-09-10 22:42:26] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4ce9f0012d361c0006b18de00015009f2f..."} 
[2026-09-10 22:42:26] local.INFO: Packet analysis {"connection_id":176976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:42:26] local.INFO: Extracted packet for processing {"connection_id":176976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4c"} 
[2026-09-10 22:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758520832,"raw_latitude":112299488,"longitude_deg":75.8520832,"latitude_deg":11.2299488,"altitude":21,"angle":159,"satellites":47,"speed":60,"hex_longitude":"2d361c00","hex_latitude":"06b18de0","is_valid_coordinates":true} 
[2026-09-10 22:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999421184001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404983530175594496,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3894698912752175104,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789060246000,"timestamp_ms":1789060246000,"timestamp_seconds":1789060246,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4ce9f0"} 
[2026-09-10 22:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:42:26] 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-09-10 22:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999421184001,"66":27376,"222":206,"81":23552,"24":60,"16":404983530175594496,"45":3894698912752175104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-10 22:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999421184001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:42:26] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-10 22:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404983530175594496,"km_value":404983530175594.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3894698912752175104,"description":"Unknown IO ID 45"} 
[2026-09-10 22:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999421184001,"power":27376,"unknown_222":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3894698912752175104}} 
[2026-09-10 22:42:26] local.INFO: TCP Data received {"connection_id":179508,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:42:26] local.INFO: Processing buffer {"connection_id":179508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:42:26] local.INFO: IMEI packet received {"connection_id":179508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":179508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":176976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:42:26] local.INFO: GPS data processed {"connection_id":176976,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:42:26] local.INFO: Acknowledgment sent {"connection_id":176976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:42:31] local.INFO: TCP Data received {"connection_id":179508,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:42:31] local.INFO: Processing buffer {"connection_id":179508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:42:31] local.INFO: IMEI packet received {"connection_id":179508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":179508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:42:32] local.INFO: TCP Data received {"connection_id":179508,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:42:32] local.INFO: Processing buffer {"connection_id":179508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:42:32] local.INFO: Packet analysis {"connection_id":179508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:42:32] local.INFO: Extracted packet for processing {"connection_id":179508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:42:32] 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-09-10 22:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":179508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":179508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":179508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:42:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":179508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:42:33] local.INFO: GPS data processed {"connection_id":179508,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:42:33] local.INFO: Acknowledgment sent {"connection_id":179508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:42:37] local.INFO: TCP Data received {"connection_id":179508,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:42:37] local.INFO: Processing buffer {"connection_id":179508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:42:37] local.INFO: Packet analysis {"connection_id":179508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:42:37] local.INFO: Extracted packet for processing {"connection_id":179508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:42: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-09-10 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:42:37] 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-09-10 22:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":179508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":179508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":179508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:42:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":179508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:42:37] local.INFO: GPS data processed {"connection_id":179508,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:42:37] local.INFO: Acknowledgment sent {"connection_id":179508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:43:04] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4e12d0012d36d10006afeb500010009b2c..."} 
[2026-09-10 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4e12d0012d36d10006afeb500010009b2c..."} 
[2026-09-10 22:43:04] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4e12d0012d36d10006afeb500010009b2c..."} 
[2026-09-10 22:43:04] local.INFO: Packet analysis {"connection_id":176976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4e"} 
[2026-09-10 22:43:04] local.INFO: Extracted packet for processing {"connection_id":176976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4e"} 
[2026-09-10 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758567168,"raw_latitude":112192336,"longitude_deg":75.8567168,"latitude_deg":11.2192336,"altitude":16,"angle":155,"satellites":44,"speed":59,"hex_longitude":"2d36d100","hex_latitude":"06afeb50","is_valid_coordinates":true} 
[2026-09-10 22:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999440640001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404989173762621440,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945294039788539904,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789060322000,"timestamp_ms":1789060322000,"timestamp_seconds":1789060322,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4e12d0"} 
[2026-09-10 22:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-10 22:43:04] 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-09-10 22:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:43: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-09-10 22:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999440640001,"66":27517,"85":206,"81":23552,"24":59,"16":404989173762621440,"45":3945294039788539904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 22:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999440640001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404989173762621440,"km_value":404989173762621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945294039788539904,"description":"Unknown IO ID 45"} 
[2026-09-10 22:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999440640001,"power":27517,"unknown_85":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3945294039788539904}} 
[2026-09-10 22:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":176976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:43:04] local.INFO: GPS data processed {"connection_id":176976,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:43:04] local.INFO: Acknowledgment sent {"connection_id":176976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:43:08] local.INFO: TCP Data received {"connection_id":179508,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:43:08] local.INFO: Processing buffer {"connection_id":179508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:43:08] local.INFO: Packet analysis {"connection_id":179508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:43:08] local.INFO: Extracted packet for processing {"connection_id":179508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43: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-09-10 22:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:43: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-09-10 22:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":179508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":179508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":179508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:43:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":179508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:43:09] local.INFO: GPS data processed {"connection_id":179508,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:43:09] local.INFO: Acknowledgment sent {"connection_id":179508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:43:17] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:17] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:17] local.INFO: IMEI packet received {"connection_id":178113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":178113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:43:18] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:18] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:18] local.INFO: IMEI packet received {"connection_id":178113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":178113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:43:23] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:23] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:43:23] local.INFO: IMEI packet received {"connection_id":178113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":178113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:43:24] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4e2a40012d36e00006afcbb80011009b2f..."} 
[2026-09-10 22:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4e2a40012d36e00006afcbb80011009b2f..."} 
[2026-09-10 22:43:24] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4e2a40012d36e00006afcbb80011009b2f..."} 
[2026-09-10 22:43:24] local.INFO: Packet analysis {"connection_id":178113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4e"} 
[2026-09-10 22:43:24] local.INFO: Extracted packet for processing {"connection_id":178113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4e"} 
[2026-09-10 22:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758571008,"raw_latitude":112184248,"longitude_deg":75.8571008,"latitude_deg":11.2184248,"altitude":17,"angle":155,"satellites":47,"speed":59,"hex_longitude":"2d36e000","hex_latitude":"06afcbb8","is_valid_coordinates":true} 
[2026-09-10 22:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999442432001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404989607554318336,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3949938376901873664,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789060328000,"timestamp_ms":1789060328000,"timestamp_seconds":1789060328,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4e2a40"} 
[2026-09-10 22:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 22:43:24] 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-09-10 22:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999442432001,"66":26560,"85":206,"81":23552,"24":59,"16":404989607554318336,"45":3949938376901873664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 22:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999442432001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:43:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 22:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404989607554318336,"km_value":404989607554318.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3949938376901873664,"description":"Unknown IO ID 45"} 
[2026-09-10 22:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999442432001,"power":26560,"unknown_85":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3949938376901873664}} 
[2026-09-10 22:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":178113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:43:24] local.INFO: GPS data processed {"connection_id":178113,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:43:24] local.INFO: Acknowledgment sent {"connection_id":178113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:43:26] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:43:26] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:43:26] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:43:31] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:43:31] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:43:31] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:43:32] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:43:32] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:43:32] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:43:32] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:43:32] 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-09-10 22: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-09-10 22:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:43:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:43:32] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:43:32] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:43:56] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4e41b0012d36ee0006afabb00011009d2e..."} 
[2026-09-10 22:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4e41b0012d36ee0006afabb00011009d2e..."} 
[2026-09-10 22:43:56] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4e41b0012d36ee0006afabb00011009d2e..."} 
[2026-09-10 22:43:56] local.INFO: Packet analysis {"connection_id":178113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4e"} 
[2026-09-10 22:43:56] local.INFO: Extracted packet for processing {"connection_id":178113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4e"} 
[2026-09-10 22:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758574592,"raw_latitude":112176048,"longitude_deg":75.8574592,"latitude_deg":11.2176048,"altitude":17,"angle":157,"satellites":46,"speed":58,"hex_longitude":"2d36ee00","hex_latitude":"06afabb0","is_valid_coordinates":true} 
[2026-09-10 22:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999443968001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404990037051047936,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3954160501550462976,"note":"Value kept but may cause issues"} 
[2026-09-10 22:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789060334000,"timestamp_ms":1789060334000,"timestamp_seconds":1789060334,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4e41b0"} 
[2026-09-10 22:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:43: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-09-10 22:43:56] 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-09-10 22:43:56] 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-09-10 22:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999443968001,"66":27376,"85":206,"81":23552,"24":58,"16":404990037051047936,"45":3954160501550462976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-10 22:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999443968001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-10 22:43:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-10 22:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404990037051047936,"km_value":404990037051047.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3954160501550462976,"description":"Unknown IO ID 45"} 
[2026-09-10 22:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999443968001,"power":27376,"unknown_85":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3954160501550462976}} 
[2026-09-10 22:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":178113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:43:56] local.INFO: GPS data processed {"connection_id":178113,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:43:56] local.INFO: Acknowledgment sent {"connection_id":178113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:44:04] local.INFO: TCP Data received {"connection_id":176755,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:44:04] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:44:04] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:44:04] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44: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-09-10 22:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:44:04] 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-09-10 22: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-09-10 22:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:44:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:44:04] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:44:04] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:44:23] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:23] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:23] local.INFO: IMEI packet received {"connection_id":176977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":176977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:44:24] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:24] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:24] local.INFO: IMEI packet received {"connection_id":176977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":176977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:44:26] local.INFO: TCP Data received {"connection_id":176978,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:44:26] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:44:26] local.INFO: IMEI packet received {"connection_id":176978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":176978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:44:28] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:28] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:44:28] local.INFO: IMEI packet received {"connection_id":176977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":176977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:44:29] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4f62c0012d37b64006ae47f8000e00942f..."} 
[2026-09-10 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4f62c0012d37b64006ae47f8000e00942f..."} 
[2026-09-10 22:44:29] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4f62c0012d37b64006ae47f8000e00942f..."} 
[2026-09-10 22:44:29] local.INFO: Packet analysis {"connection_id":176977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4f"} 
[2026-09-10 22:44:29] local.INFO: Extracted packet for processing {"connection_id":176977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4f"} 
[2026-09-10 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":758625856,"raw_latitude":112084984,"longitude_deg":75.8625856,"latitude_deg":11.2084984,"altitude":14,"angle":148,"satellites":47,"speed":53,"hex_longitude":"2d37b640","hex_latitude":"06ae47f8","is_valid_coordinates":true} 
[2026-09-10 22:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999462656001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404995092227555328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4009048121985622016,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789060408000,"timestamp_ms":1789060408000,"timestamp_seconds":1789060408,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4f62c0"} 
[2026-09-10 22:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999462656001,"66":27223,"6":206,"81":49664,"24":53,"16":404995092227555328,"45":4009048121985622016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-10 22:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999462656001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:44:29] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-10 22:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-10 22:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404995092227555328,"km_value":404995092227555.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4009048121985622016,"description":"Unknown IO ID 45"} 
[2026-09-10 22:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999462656001,"power":27223,"unknown_6":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4009048121985622016}} 
[2026-09-10 22:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":176977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:44:29] local.INFO: GPS data processed {"connection_id":176977,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:44:29] local.INFO: Acknowledgment sent {"connection_id":176977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:44:31] local.INFO: TCP Data received {"connection_id":176978,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:44:31] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:44:31] local.INFO: IMEI packet received {"connection_id":176978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":176978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:44:32] local.INFO: TCP Data received {"connection_id":176978,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:44:32] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:44:32] local.INFO: Packet analysis {"connection_id":176978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:44:32] local.INFO: Extracted packet for processing {"connection_id":176978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 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-09-10 22:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:44:32] 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-09-10 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-09-10 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-09-10 22:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:44:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":176978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:44:33] local.INFO: GPS data processed {"connection_id":176978,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:44:33] local.INFO: Acknowledgment sent {"connection_id":176978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:44:59] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4f7e18012d37c9c006ae2900000f00942e..."} 
[2026-09-10 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4f7e18012d37c9c006ae2900000f00942e..."} 
[2026-09-10 22:44:59] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4f7e18012d37c9c006ae2900000f00942e..."} 
[2026-09-10 22:44:59] local.INFO: Packet analysis {"connection_id":176977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4f"} 
[2026-09-10 22:44:59] local.INFO: Extracted packet for processing {"connection_id":176977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4f"} 
[2026-09-10 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758630848,"raw_latitude":112077056,"longitude_deg":75.8630848,"latitude_deg":11.2077056,"altitude":15,"angle":148,"satellites":46,"speed":49,"hex_longitude":"2d37c9c0","hex_latitude":"06ae2900","is_valid_coordinates":true} 
[2026-09-10 22:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999464448001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404995543199121408,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4014466515285309440,"note":"Value kept but may cause issues"} 
[2026-09-10 22:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789060415000,"timestamp_ms":1789060415000,"timestamp_seconds":1789060415,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4f7e18"} 
[2026-09-10 22:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-10 22:44:59] 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-09-10 22:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999464448001,"66":27332,"6":206,"81":49664,"24":49,"16":404995543199121408,"45":4014466515285309440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-10 22:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999464448001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:44:59] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-10 22:44:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-10 22:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404995543199121408,"km_value":404995543199121.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4014466515285309440,"description":"Unknown IO ID 45"} 
[2026-09-10 22:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999464448001,"power":27332,"unknown_6":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4014466515285309440}} 
[2026-09-10 22:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":176977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:44:59] local.INFO: GPS data processed {"connection_id":176977,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:44:59] local.INFO: Acknowledgment sent {"connection_id":176977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:45:04] local.INFO: TCP Data received {"connection_id":176978,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:45:04] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:45:04] local.INFO: Packet analysis {"connection_id":176978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:45:04] local.INFO: Extracted packet for processing {"connection_id":176978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45: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-09-10 22:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:45:04] 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-09-10 22:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":176978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:45:04] local.INFO: GPS data processed {"connection_id":176978,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:45:04] local.INFO: Acknowledgment sent {"connection_id":176978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:45:18] local.INFO: TCP Data received {"connection_id":179510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:18] local.INFO: Processing buffer {"connection_id":179510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:18] local.INFO: IMEI packet received {"connection_id":179510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":179510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:45:22] local.INFO: TCP Data received {"connection_id":179510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:22] local.INFO: Processing buffer {"connection_id":179510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:22] local.INFO: IMEI packet received {"connection_id":179510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":179510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:45:23] local.INFO: TCP Data received {"connection_id":179510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:23] local.INFO: Processing buffer {"connection_id":179510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:45:23] local.INFO: IMEI packet received {"connection_id":179510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":179510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:45:23] local.INFO: TCP Data received {"connection_id":179510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4f9970012d37d80006ae0fb0000f00a02f..."} 
[2026-09-10 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4f9970012d37d80006ae0fb0000f00a02f..."} 
[2026-09-10 22:45:23] local.INFO: Processing buffer {"connection_id":179510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4f9970012d37d80006ae0fb0000f00a02f..."} 
[2026-09-10 22:45:23] local.INFO: Packet analysis {"connection_id":179510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4f"} 
[2026-09-10 22:45:23] local.INFO: Extracted packet for processing {"connection_id":179510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4f"} 
[2026-09-10 22:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758634496,"raw_latitude":112070576,"longitude_deg":75.8634496,"latitude_deg":11.2070576,"altitude":15,"angle":160,"satellites":47,"speed":37,"hex_longitude":"2d37d800","hex_latitude":"06ae0fb0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999466240001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":404995903976374272,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4019955277329137664,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789060422000,"timestamp_ms":1789060422000,"timestamp_seconds":1789060422,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4f9970"} 
[2026-09-10 22:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:45:23] 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-09-10 22: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-09-10 22:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999466240001,"66":27321,"6":206,"81":49664,"24":37,"16":404995903976374272,"45":4019955277329137664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-10 22:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999466240001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:45:23] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-10 22:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-10 22:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":404995903976374272,"km_value":404995903976374.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4019955277329137664,"description":"Unknown IO ID 45"} 
[2026-09-10 22:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999466240001,"power":27321,"unknown_6":206,"unknown_81":49664,"ignition":37,"odometer":null,"unknown_45":4019955277329137664}} 
[2026-09-10 22:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":179510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:45:23] local.INFO: GPS data processed {"connection_id":179510,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:45:23] local.INFO: Acknowledgment sent {"connection_id":179510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:45:26] local.INFO: TCP Data received {"connection_id":176979,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:45:26] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:45:26] local.INFO: IMEI packet received {"connection_id":176979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":176979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:45:31] local.INFO: TCP Data received {"connection_id":176979,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:45:31] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:45:31] local.INFO: IMEI packet received {"connection_id":176979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":176979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:45:33] local.INFO: TCP Data received {"connection_id":176979,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:45:33] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:45:33] local.INFO: Packet analysis {"connection_id":176979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:45:33] local.INFO: Extracted packet for processing {"connection_id":176979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:45:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":176979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:45:33] local.INFO: GPS data processed {"connection_id":176979,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:45:33] local.INFO: Acknowledgment sent {"connection_id":176979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:45:54] local.INFO: TCP Data received {"connection_id":179510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c50c250012d3879c006acb3e0000e00a530..."} 
[2026-09-10 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c50c250012d3879c006acb3e0000e00a530..."} 
[2026-09-10 22:45:54] local.INFO: Processing buffer {"connection_id":179510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c50c250012d3879c006acb3e0000e00a530..."} 
[2026-09-10 22:45:54] local.INFO: Packet analysis {"connection_id":179510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c50"} 
[2026-09-10 22:45:54] local.INFO: Extracted packet for processing {"connection_id":179510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c50"} 
[2026-09-10 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758675904,"raw_latitude":111981536,"longitude_deg":75.8675904,"latitude_deg":11.1981536,"altitude":14,"angle":165,"satellites":48,"speed":55,"hex_longitude":"2d3879c0","hex_latitude":"06acb3e0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999485696001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405000697159876608,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4066750492185180160,"note":"Value kept but may cause issues"} 
[2026-09-10 22:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789060498000,"timestamp_ms":1789060498000,"timestamp_seconds":1789060498,"priority":1,"record_length":96,"hex_timestamp":"000001a08c50c250"} 
[2026-09-10 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:45:54] 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-09-10 22: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-09-10 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999485696001,"66":27343,"164":206,"81":23296,"24":55,"16":405000697159876608,"45":4066750492185180160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-09-10 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999485696001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:45:54] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 22:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405000697159876608,"km_value":405000697159876.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4066750492185180160,"description":"Unknown IO ID 45"} 
[2026-09-10 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999485696001,"power":27343,"unknown_164":206,"unknown_81":23296,"ignition":55,"odometer":null,"unknown_45":4066750492185180160}} 
[2026-09-10 22:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":179510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:45:54] local.INFO: GPS data processed {"connection_id":179510,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:45:54] local.INFO: Acknowledgment sent {"connection_id":179510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:46:05] local.INFO: TCP Data received {"connection_id":176979,"ip":"117.224.200.161","data_length":795,"data_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:46:05] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c4d8e00012d1965c0071feee00041005e27..."} 
[2026-09-10 22:46:05] local.INFO: Packet analysis {"connection_id":176979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:46:05] local.INFO: Extracted packet for processing {"connection_id":176979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c4d"} 
[2026-09-10 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533280,"longitude_deg":75.6639168,"latitude_deg":11.953328,"altitude":65,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feee0","is_valid_coordinates":true} 
[2026-09-10 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999356672001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19383213176651776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429027328,"note":"Value kept but may cause issues"} 
[2026-09-10 22:46: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-09-10 22:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789060288000,"timestamp_ms":1789060288000,"timestamp_seconds":1789060288,"priority":1,"record_length":96,"hex_timestamp":"000001a08c4d8e00"} 
[2026-09-10 22:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 22: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":129,"data_length":795,"current_offset":136} 
[2026-09-10 22:46: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-09-10 22:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-10 22:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.200.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-10 22:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-10 22:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999356672001,"66":2155,"121":206,"28":31744,"24":0,"16":19383213176651776,"45":1830079960429027328},"client_ip":"117.224.200.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-10 22:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-10 22:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999356672001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-10 22:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19383213176651776,"km_value":19383213176651.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429027328,"description":"Unknown IO ID 45"} 
[2026-09-10 22:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999356672001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830079960429027328}} 
[2026-09-10 22:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":176979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:46:05] local.INFO: GPS data processed {"connection_id":176979,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:46:05] local.INFO: Acknowledgment sent {"connection_id":176979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:46:12] local.INFO: TCP Data received {"connection_id":176756,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:46:12] local.INFO: Processing buffer {"connection_id":176756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:46:12] local.INFO: IMEI packet received {"connection_id":176756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":176756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:46:28] local.INFO: TCP Data received {"connection_id":176758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:46:28] local.INFO: Processing buffer {"connection_id":176758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:46:28] local.INFO: IMEI packet received {"connection_id":176758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":176758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:46:31] local.INFO: TCP Data received {"connection_id":176757,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:46:31] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:46:31] local.INFO: IMEI packet received {"connection_id":176757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-10 22:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":176757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:46:32] local.INFO: TCP Data received {"connection_id":176758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:46:32] local.INFO: Processing buffer {"connection_id":176758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:46:32] local.INFO: IMEI packet received {"connection_id":176758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":176758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:46:33] local.INFO: TCP Data received {"connection_id":176758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c50dda8012d3883c006ac8ee0000b00a42e..."} 
[2026-09-10 22:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c50dda8012d3883c006ac8ee0000b00a42e..."} 
[2026-09-10 22:46:33] local.INFO: Processing buffer {"connection_id":176758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c50dda8012d3883c006ac8ee0000b00a42e..."} 
[2026-09-10 22:46:33] local.INFO: Packet analysis {"connection_id":176758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c50"} 
[2026-09-10 22:46:33] local.INFO: Extracted packet for processing {"connection_id":176758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c50"} 
[2026-09-10 22:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758678464,"raw_latitude":111972064,"longitude_deg":75.8678464,"latitude_deg":11.1972064,"altitude":11,"angle":164,"satellites":46,"speed":56,"hex_longitude":"2d3883c0","hex_latitude":"06ac8ee0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999487488001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405001173901246464,"note":"Value kept but may cause issues"} 
[2026-09-10 22:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4069494873205760000,"note":"Value kept but may cause issues"} 
[2026-09-10 22:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789060505000,"timestamp_ms":1789060505000,"timestamp_seconds":1789060505,"priority":1,"record_length":96,"hex_timestamp":"000001a08c50dda8"} 
[2026-09-10 22:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:46: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-09-10 22: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-09-10 22:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22: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-09-10 22:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999487488001,"66":27343,"164":206,"81":23296,"24":56,"16":405001173901246464,"45":4069494873205760000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-09-10 22:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999487488001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:46:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-10 22:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405001173901246464,"km_value":405001173901246.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4069494873205760000,"description":"Unknown IO ID 45"} 
[2026-09-10 22:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999487488001,"power":27343,"unknown_164":206,"unknown_81":23296,"ignition":56,"odometer":null,"unknown_45":4069494873205760000}} 
[2026-09-10 22:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":176758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:46:33] local.INFO: GPS data processed {"connection_id":176758,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:46:33] local.INFO: Acknowledgment sent {"connection_id":176758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:46:36] local.INFO: TCP Data received {"connection_id":176757,"ip":"117.224.200.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:46:36] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-10 22:46:36] local.INFO: IMEI packet received {"connection_id":176757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-10 22:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":176757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:46:38] local.INFO: TCP Data received {"connection_id":176980,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:46:38] local.INFO: Processing buffer {"connection_id":176980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:46:38] local.INFO: IMEI packet received {"connection_id":176980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":176980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:47:18] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:18] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:18] local.INFO: IMEI packet received {"connection_id":178115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":178115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:47:18] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:18] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:18] local.INFO: IMEI packet received {"connection_id":178115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":178115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:47:23] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:23] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:47:23] local.INFO: IMEI packet received {"connection_id":178115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":178115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:47:23] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5202a0012d38edc006aafeb8000900a42f..."} 
[2026-09-10 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5202a0012d38edc006aafeb8000900a42f..."} 
[2026-09-10 22:47:23] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5202a0012d38edc006aafeb8000900a42f..."} 
[2026-09-10 22:47:23] local.INFO: Packet analysis {"connection_id":178115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c52"} 
[2026-09-10 22:47:23] local.INFO: Extracted packet for processing {"connection_id":178115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c52"} 
[2026-09-10 22:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758705600,"raw_latitude":111869624,"longitude_deg":75.87056,"latitude_deg":11.1869624,"altitude":9,"angle":164,"satellites":47,"speed":59,"hex_longitude":"2d38edc0","hex_latitude":"06aafeb8","is_valid_coordinates":true} 
[2026-09-10 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999506688001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405006306387165184,"note":"Value kept but may cause issues"} 
[2026-09-10 22:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4099120114478450688,"note":"Value kept but may cause issues"} 
[2026-09-10 22:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789060580000,"timestamp_ms":1789060580000,"timestamp_seconds":1789060580,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5202a0"} 
[2026-09-10 22:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 22:47:23] 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-09-10 22:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999506688001,"66":27310,"163":206,"81":23296,"24":59,"16":405006306387165184,"45":4099120114478450688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-10 22:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999506688001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:47:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 22:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405006306387165184,"km_value":405006306387165.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4099120114478450688,"description":"Unknown IO ID 45"} 
[2026-09-10 22:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999506688001,"power":27310,"unknown_163":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4099120114478450688}} 
[2026-09-10 22:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":178115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:47:23] local.INFO: GPS data processed {"connection_id":178115,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:47:23] local.INFO: Acknowledgment sent {"connection_id":178115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:47:55] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c521a10012d38f70006aadcd8000900a52e..."} 
[2026-09-10 22:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c521a10012d38f70006aadcd8000900a52e..."} 
[2026-09-10 22:47:55] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c521a10012d38f70006aadcd8000900a52e..."} 
[2026-09-10 22:47:55] local.INFO: Packet analysis {"connection_id":178115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c52"} 
[2026-09-10 22:47:55] local.INFO: Extracted packet for processing {"connection_id":178115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c52"} 
[2026-09-10 22:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758707968,"raw_latitude":111860952,"longitude_deg":75.8707968,"latitude_deg":11.1860952,"altitude":9,"angle":165,"satellites":46,"speed":59,"hex_longitude":"2d38f700","hex_latitude":"06aadcd8","is_valid_coordinates":true} 
[2026-09-10 22:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999508480001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405006740178862080,"note":"Value kept but may cause issues"} 
[2026-09-10 22:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4102145970475546624,"note":"Value kept but may cause issues"} 
[2026-09-10 22:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789060586000,"timestamp_ms":1789060586000,"timestamp_seconds":1789060586,"priority":1,"record_length":96,"hex_timestamp":"000001a08c521a10"} 
[2026-09-10 22:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-10 22:47:55] 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-09-10 22:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999508480001,"66":27365,"163":206,"81":23296,"24":59,"16":405006740178862080,"45":4102145970475546624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-10 22:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999508480001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:47:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-10 22:47:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405006740178862080,"km_value":405006740178862.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4102145970475546624,"description":"Unknown IO ID 45"} 
[2026-09-10 22:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999508480001,"power":27365,"unknown_163":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4102145970475546624}} 
[2026-09-10 22:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":178115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:47:55] local.INFO: GPS data processed {"connection_id":178115,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:47:55] local.INFO: Acknowledgment sent {"connection_id":178115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:48:38] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:48:38] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:48:38] local.INFO: IMEI packet received {"connection_id":176761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":176761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:48:53] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:48:53] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:48:53] local.INFO: IMEI packet received {"connection_id":176761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":176761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:48:54] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c523568012d39010006aab620000800a52e..."} 
[2026-09-10 22:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c523568012d39010006aab620000800a52e..."} 
[2026-09-10 22:48:54] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c523568012d39010006aab620000800a52e..."} 
[2026-09-10 22:48:54] local.INFO: Packet analysis {"connection_id":176761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c52"} 
[2026-09-10 22:48:54] local.INFO: Extracted packet for processing {"connection_id":176761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c52"} 
[2026-09-10 22:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758710528,"raw_latitude":111851040,"longitude_deg":75.8710528,"latitude_deg":11.185104,"altitude":8,"angle":165,"satellites":46,"speed":59,"hex_longitude":"2d390100","hex_latitude":"06aab620","is_valid_coordinates":true} 
[2026-09-10 22:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999510016001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405007234100101120,"note":"Value kept but may cause issues"} 
[2026-09-10 22:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4104749614007900160,"note":"Value kept but may cause issues"} 
[2026-09-10 22:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789060593000,"timestamp_ms":1789060593000,"timestamp_seconds":1789060593,"priority":1,"record_length":96,"hex_timestamp":"000001a08c523568"} 
[2026-09-10 22:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 22:48:54] 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-09-10 22:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999510016001,"66":27213,"44":206,"81":23296,"24":59,"16":405007234100101120,"45":4104749614007900160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-10 22:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999510016001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-10 22:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405007234100101120,"km_value":405007234100101.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4104749614007900160,"description":"Unknown IO ID 45"} 
[2026-09-10 22:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999510016001,"power":27213,"unknown_44":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4104749614007900160}} 
[2026-09-10 22:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":176761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:48:54] local.INFO: GPS data processed {"connection_id":176761,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:48:54] local.INFO: Acknowledgment sent {"connection_id":176761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:48:55] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c53b438012d395d0006a94fb8000d012b2b..."} 
[2026-09-10 22:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c53b438012d395d0006a94fb8000d012b2b..."} 
[2026-09-10 22:48:55] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c53b438012d395d0006a94fb8000d012b2b..."} 
[2026-09-10 22:48:55] local.INFO: Packet analysis {"connection_id":176761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c53"} 
[2026-09-10 22:48:55] local.INFO: Extracted packet for processing {"connection_id":176761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c53"} 
[2026-09-10 22:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758734080,"raw_latitude":111759288,"longitude_deg":75.873408,"latitude_deg":11.1759288,"altitude":13,"angle":299,"satellites":43,"speed":12,"hex_longitude":"2d395d00","hex_latitude":"06a94fb8","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999536640001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4133882274071355392,"note":"Value kept but may cause issues"} 
[2026-09-10 22:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405011967154061312,"note":"Value kept but may cause issues"} 
[2026-09-10 22:48:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 22:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789060691000,"timestamp_ms":1789060691000,"timestamp_seconds":1789060691,"priority":1,"record_length":96,"hex_timestamp":"000001a08c53b438"} 
[2026-09-10 22:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 22:48:55] 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-09-10 22: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-09-10 22:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999536640001,"66":27213,"45":4133882274071355392,"81":23296,"24":12,"16":405011967154061312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-10 22:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999536640001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4133882274071355392,"description":"Unknown IO ID 45"} 
[2026-09-10 22:48:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405011967154061312,"km_value":405011967154061.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:48:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457999536640001,"power":27213,"unknown_45":4133882274071355392,"unknown_81":23296,"ignition":12,"odometer":null}} 
[2026-09-10 22:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":176761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:48:55] local.INFO: GPS data processed {"connection_id":176761,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:48:55] local.INFO: Acknowledgment sent {"connection_id":176761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:49:18] local.INFO: TCP Data received {"connection_id":179511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:49:18] local.INFO: Processing buffer {"connection_id":179511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:49:18] local.INFO: IMEI packet received {"connection_id":179511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":179511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:49:23] local.INFO: TCP Data received {"connection_id":179511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:49:23] local.INFO: Processing buffer {"connection_id":179511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:49:23] local.INFO: IMEI packet received {"connection_id":179511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":179511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:49:25] local.INFO: TCP Data received {"connection_id":179511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c53b820012d395bc006a950a8000d01392a..."} 
[2026-09-10 22:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c53b820012d395bc006a950a8000d01392a..."} 
[2026-09-10 22:49:25] local.INFO: Processing buffer {"connection_id":179511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c53b820012d395bc006a950a8000d01392a..."} 
[2026-09-10 22:49:25] local.INFO: Packet analysis {"connection_id":179511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c53"} 
[2026-09-10 22:49:25] local.INFO: Extracted packet for processing {"connection_id":179511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c53"} 
[2026-09-10 22:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758733760,"raw_latitude":111759528,"longitude_deg":75.873376,"latitude_deg":11.1759528,"altitude":13,"angle":313,"satellites":42,"speed":12,"hex_longitude":"2d395bc0","hex_latitude":"06a950a8","is_valid_coordinates":true} 
[2026-09-10 22:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999536896001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4133460061606361088,"note":"Value kept but may cause issues"} 
[2026-09-10 22:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405011984333930496,"note":"Value kept but may cause issues"} 
[2026-09-10 22:49:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 22:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789060692000,"timestamp_ms":1789060692000,"timestamp_seconds":1789060692,"priority":1,"record_length":96,"hex_timestamp":"000001a08c53b820"} 
[2026-09-10 22:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:49:25] 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-09-10 22:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":179511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":179511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":179511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999536896001,"66":27213,"45":4133460061606361088,"81":23296,"24":12,"16":405011984333930496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-10 22:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999536896001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4133460061606361088,"description":"Unknown IO ID 45"} 
[2026-09-10 22:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405011984333930496,"km_value":405011984333930.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:49:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457999536896001,"power":27213,"unknown_45":4133460061606361088,"unknown_81":23296,"ignition":12,"odometer":null}} 
[2026-09-10 22:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":179511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:49:25] local.INFO: GPS data processed {"connection_id":179511,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:49:25] local.INFO: Acknowledgment sent {"connection_id":179511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:49:56] local.INFO: TCP Data received {"connection_id":179511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c53c7c0012d3957c006a95388000b012428..."} 
[2026-09-10 22:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c53c7c0012d3957c006a95388000b012428..."} 
[2026-09-10 22:49:56] local.INFO: Processing buffer {"connection_id":179511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c53c7c0012d3957c006a95388000b012428..."} 
[2026-09-10 22:49:56] local.INFO: Packet analysis {"connection_id":179511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c53"} 
[2026-09-10 22:49:56] local.INFO: Extracted packet for processing {"connection_id":179511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c53"} 
[2026-09-10 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758732736,"raw_latitude":111760264,"longitude_deg":75.8732736,"latitude_deg":11.1760264,"altitude":11,"angle":292,"satellites":40,"speed":7,"hex_longitude":"2d3957c0","hex_latitude":"06a95388","is_valid_coordinates":true} 
[2026-09-10 22:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999537152001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4133108217885534208,"note":"Value kept but may cause issues"} 
[2026-09-10 22:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405012044463472640,"note":"Value kept but may cause issues"} 
[2026-09-10 22:49:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 22:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789060696000,"timestamp_ms":1789060696000,"timestamp_seconds":1789060696,"priority":1,"record_length":96,"hex_timestamp":"000001a08c53c7c0"} 
[2026-09-10 22:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-10 22:49:56] 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-09-10 22:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999537152001,"66":27365,"45":4133108217885534208,"81":23296,"24":7,"16":405012044463472640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-10 22:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999537152001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4133108217885534208,"description":"Unknown IO ID 45"} 
[2026-09-10 22:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405012044463472640,"km_value":405012044463472.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:49:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457999537152001,"power":27365,"unknown_45":4133108217885534208,"unknown_81":23296,"ignition":7,"odometer":null}} 
[2026-09-10 22:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":179511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:49:56] local.INFO: GPS data processed {"connection_id":179511,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:49:56] local.INFO: Acknowledgment sent {"connection_id":179511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:50:18] local.INFO: TCP Data received {"connection_id":176981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:50:18] local.INFO: Processing buffer {"connection_id":176981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:50:18] local.INFO: IMEI packet received {"connection_id":176981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":176981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:50:23] local.INFO: TCP Data received {"connection_id":176981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:50:23] local.INFO: Processing buffer {"connection_id":176981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:50:23] local.INFO: IMEI packet received {"connection_id":176981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":176981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:50:26] local.INFO: TCP Data received {"connection_id":176981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5411f8012d3934c006a95f300005011c2c..."} 
[2026-09-10 22:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5411f8012d3934c006a95f300005011c2c..."} 
[2026-09-10 22:50:26] local.INFO: Processing buffer {"connection_id":176981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5411f8012d3934c006a95f300005011c2c..."} 
[2026-09-10 22:50:26] local.INFO: Packet analysis {"connection_id":176981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c54"} 
[2026-09-10 22:50:26] local.INFO: Extracted packet for processing {"connection_id":176981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c54"} 
[2026-09-10 22:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758723776,"raw_latitude":111763248,"longitude_deg":75.8723776,"latitude_deg":11.1763248,"altitude":5,"angle":284,"satellites":44,"speed":28,"hex_longitude":"2d3934c0","hex_latitude":"06a95f30","is_valid_coordinates":true} 
[2026-09-10 22:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999538176001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405012499730006016,"note":"Value kept but may cause issues"} 
[2026-09-10 22:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131982317978880000,"note":"Value kept but may cause issues"} 
[2026-09-10 22:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789060715000,"timestamp_ms":1789060715000,"timestamp_seconds":1789060715,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5411f8"} 
[2026-09-10 22:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 22:50:26] 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-09-10 22:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999538176001,"66":27332,"91":206,"81":23296,"24":28,"16":405012499730006016,"45":4131982317978880000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-10 22:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999538176001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:50:26] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 22:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405012499730006016,"km_value":405012499730006.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131982317978880000,"description":"Unknown IO ID 45"} 
[2026-09-10 22:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999538176001,"power":27332,"unknown_91":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":4131982317978880000}} 
[2026-09-10 22:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":176981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:50:26] local.INFO: GPS data processed {"connection_id":176981,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:50:26] local.INFO: Acknowledgment sent {"connection_id":176981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:50:56] local.INFO: TCP Data received {"connection_id":176981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5444c0012d390f8006a96780000801162a..."} 
[2026-09-10 22:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5444c0012d390f8006a96780000801162a..."} 
[2026-09-10 22:50:56] local.INFO: Processing buffer {"connection_id":176981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5444c0012d390f8006a96780000801162a..."} 
[2026-09-10 22:50:56] local.INFO: Packet analysis {"connection_id":176981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c54"} 
[2026-09-10 22:50:56] local.INFO: Extracted packet for processing {"connection_id":176981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c54"} 
[2026-09-10 22:50:56] local.INFO: GPS Element Parsed {"raw_longitude":758714240,"raw_latitude":111765376,"longitude_deg":75.871424,"latitude_deg":11.1765376,"altitude":8,"angle":278,"satellites":42,"speed":30,"hex_longitude":"2d390f80","hex_latitude":"06a96780","is_valid_coordinates":true} 
[2026-09-10 22:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999543040001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405012963586473984,"note":"Value kept but may cause issues"} 
[2026-09-10 22:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122130693794770944,"note":"Value kept but may cause issues"} 
[2026-09-10 22:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789060728000,"timestamp_ms":1789060728000,"timestamp_seconds":1789060728,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5444c0"} 
[2026-09-10 22:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:50:56] 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-09-10 22:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999543040001,"66":27321,"91":206,"81":23296,"24":30,"16":405012963586473984,"45":4122130693794770944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-10 22:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999543040001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:50:56] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-10 22:50:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405012963586473984,"km_value":405012963586474.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122130693794770944,"description":"Unknown IO ID 45"} 
[2026-09-10 22:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999543040001,"power":27321,"unknown_91":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4122130693794770944}} 
[2026-09-10 22:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":176981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:50:56] local.INFO: GPS data processed {"connection_id":176981,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:50:56] local.INFO: Acknowledgment sent {"connection_id":176981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:51:18] local.INFO: TCP Data received {"connection_id":176762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:18] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:18] local.INFO: IMEI packet received {"connection_id":176762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":176762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:51:18] local.INFO: TCP Data received {"connection_id":176762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:18] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:18] local.INFO: IMEI packet received {"connection_id":176762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":176762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:51:23] local.INFO: TCP Data received {"connection_id":176762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:23] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:51:23] local.INFO: IMEI packet received {"connection_id":176762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":176762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:51:24] local.INFO: TCP Data received {"connection_id":176762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c546fb8012d38ebc006a96d000008011a2d..."} 
[2026-09-10 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c546fb8012d38ebc006a96d000008011a2d..."} 
[2026-09-10 22:51:24] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c546fb8012d38ebc006a96d000008011a2d..."} 
[2026-09-10 22:51:24] local.INFO: Packet analysis {"connection_id":176762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c54"} 
[2026-09-10 22:51:24] local.INFO: Extracted packet for processing {"connection_id":176762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c54"} 
[2026-09-10 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758705088,"raw_latitude":111766784,"longitude_deg":75.8705088,"latitude_deg":11.1766784,"altitude":8,"angle":282,"satellites":45,"speed":33,"hex_longitude":"2d38ebc0","hex_latitude":"06a96d00","is_valid_coordinates":true} 
[2026-09-10 22:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999546368001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405013405968105472,"note":"Value kept but may cause issues"} 
[2026-09-10 22:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111645750912843776,"note":"Value kept but may cause issues"} 
[2026-09-10 22:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789060739000,"timestamp_ms":1789060739000,"timestamp_seconds":1789060739,"priority":1,"record_length":96,"hex_timestamp":"000001a08c546fb8"} 
[2026-09-10 22:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:51:24] 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-09-10 22:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999546368001,"66":27300,"46":206,"81":23296,"24":33,"16":405013405968105472,"45":4111645750912843776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-10 22:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999546368001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:51:24] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-10 22:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405013405968105472,"km_value":405013405968105.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111645750912843776,"description":"Unknown IO ID 45"} 
[2026-09-10 22:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999546368001,"power":27300,"unknown_46":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":4111645750912843776}} 
[2026-09-10 22:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":176762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:51:24] local.INFO: GPS data processed {"connection_id":176762,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:51:24] local.INFO: Acknowledgment sent {"connection_id":176762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:51:57] local.INFO: TCP Data received {"connection_id":176762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c563ca8012d3758c006a98a480006011528..."} 
[2026-09-10 22:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c563ca8012d3758c006a98a480006011528..."} 
[2026-09-10 22:51:57] local.INFO: Processing buffer {"connection_id":176762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c563ca8012d3758c006a98a480006011528..."} 
[2026-09-10 22:51:57] local.INFO: Packet analysis {"connection_id":176762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:51:57] local.INFO: Extracted packet for processing {"connection_id":176762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:51:57] local.INFO: GPS Element Parsed {"raw_longitude":758601920,"raw_latitude":111774280,"longitude_deg":75.860192,"latitude_deg":11.177428,"altitude":6,"angle":277,"satellites":40,"speed":46,"hex_longitude":"2d3758c0","hex_latitude":"06a98a48","is_valid_coordinates":true} 
[2026-09-10 22:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999579392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405018379540234240,"note":"Value kept but may cause issues"} 
[2026-09-10 22:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3988148604883322880,"note":"Value kept but may cause issues"} 
[2026-09-10 22:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789060857000,"timestamp_ms":1789060857000,"timestamp_seconds":1789060857,"priority":1,"record_length":96,"hex_timestamp":"000001a08c563ca8"} 
[2026-09-10 22:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 22:51:57] 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-09-10 22:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999579392001,"66":27169,"77":206,"81":23296,"24":46,"16":405018379540234240,"45":3988148604883322880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-10 22:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999579392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:51:57] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-10 22:51:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405018379540234240,"km_value":405018379540234.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3988148604883322880,"description":"Unknown IO ID 45"} 
[2026-09-10 22:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999579392001,"power":27169,"unknown_77":206,"unknown_81":23296,"ignition":46,"odometer":null,"unknown_45":3988148604883322880}} 
[2026-09-10 22:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":176762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:51:57] local.INFO: GPS data processed {"connection_id":176762,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:51:57] local.INFO: Acknowledgment sent {"connection_id":176762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:52:03] local.INFO: TCP Data received {"connection_id":179514,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:52:03] local.INFO: Processing buffer {"connection_id":179514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:52:03] local.INFO: IMEI packet received {"connection_id":179514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":179514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:52:18] local.INFO: TCP Data received {"connection_id":179515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:52:18] local.INFO: Processing buffer {"connection_id":179515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:52:18] local.INFO: IMEI packet received {"connection_id":179515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":179515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:52:23] local.INFO: TCP Data received {"connection_id":179515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:52:23] local.INFO: Processing buffer {"connection_id":179515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:52:23] local.INFO: IMEI packet received {"connection_id":179515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":179515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:52:24] local.INFO: TCP Data received {"connection_id":179515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c565be8012d37340006a990500004011828..."} 
[2026-09-10 22:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c565be8012d37340006a990500004011828..."} 
[2026-09-10 22:52:24] local.INFO: Processing buffer {"connection_id":179515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c565be8012d37340006a990500004011828..."} 
[2026-09-10 22:52:24] local.INFO: Packet analysis {"connection_id":179515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:52:24] local.INFO: Extracted packet for processing {"connection_id":179515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758592512,"raw_latitude":111775824,"longitude_deg":75.8592512,"latitude_deg":11.1775824,"altitude":4,"angle":280,"satellites":40,"speed":45,"hex_longitude":"2d373400","hex_latitude":"06a99050","is_valid_coordinates":true} 
[2026-09-10 22:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999579392001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405018830511800320,"note":"Value kept but may cause issues"} 
[2026-09-10 22:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3988148604883322880,"note":"Value kept but may cause issues"} 
[2026-09-10 22:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789060865000,"timestamp_ms":1789060865000,"timestamp_seconds":1789060865,"priority":1,"record_length":96,"hex_timestamp":"000001a08c565be8"} 
[2026-09-10 22:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-10 22:52:24] 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-09-10 22:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999579392001,"66":27321,"77":206,"81":23296,"24":45,"16":405018830511800320,"45":3988148604883322880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-10 22:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999579392001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:52:24] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-10 22:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405018830511800320,"km_value":405018830511800.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3988148604883322880,"description":"Unknown IO ID 45"} 
[2026-09-10 22:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999579392001,"power":27321,"unknown_77":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":3988148604883322880}} 
[2026-09-10 22:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":179515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:52:24] local.INFO: GPS data processed {"connection_id":179515,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:52:24] local.INFO: Acknowledgment sent {"connection_id":179515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:52:42] local.INFO: TCP Data received {"connection_id":176763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:52:42] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:52:42] local.INFO: IMEI packet received {"connection_id":176763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":176763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:52:55] local.INFO: TCP Data received {"connection_id":179515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c567f10012d370d4006a99778000401172b..."} 
[2026-09-10 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c567f10012d370d4006a99778000401172b..."} 
[2026-09-10 22:52:55] local.INFO: Processing buffer {"connection_id":179515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c567f10012d370d4006a99778000401172b..."} 
[2026-09-10 22:52:55] local.INFO: Packet analysis {"connection_id":179515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:52:55] local.INFO: Extracted packet for processing {"connection_id":179515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758582592,"raw_latitude":111777656,"longitude_deg":75.8582592,"latitude_deg":11.1777656,"altitude":4,"angle":279,"satellites":43,"speed":41,"hex_longitude":"2d370d40","hex_latitude":"06a99778","is_valid_coordinates":true} 
[2026-09-10 22:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999581440001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405019311548137472,"note":"Value kept but may cause issues"} 
[2026-09-10 22:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3977804399489601536,"note":"Value kept but may cause issues"} 
[2026-09-10 22:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789060874000,"timestamp_ms":1789060874000,"timestamp_seconds":1789060874,"priority":1,"record_length":96,"hex_timestamp":"000001a08c567f10"} 
[2026-09-10 22:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:52:55] 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-09-10 22:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999581440001,"66":27343,"76":206,"81":23296,"24":41,"16":405019311548137472,"45":3977804399489601536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-10 22:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999581440001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:52:55] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-10 22:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405019311548137472,"km_value":405019311548137.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3977804399489601536,"description":"Unknown IO ID 45"} 
[2026-09-10 22:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999581440001,"power":27343,"unknown_76":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3977804399489601536}} 
[2026-09-10 22:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":179515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:52:55] local.INFO: GPS data processed {"connection_id":179515,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:52:55] local.INFO: Acknowledgment sent {"connection_id":179515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:53:18] local.INFO: TCP Data received {"connection_id":179516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:18] local.INFO: Processing buffer {"connection_id":179516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:18] local.INFO: IMEI packet received {"connection_id":179516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":179516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:53:21] local.INFO: TCP Data received {"connection_id":179516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:21] local.INFO: Processing buffer {"connection_id":179516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:21] local.INFO: IMEI packet received {"connection_id":179516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":179516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:53:23] local.INFO: TCP Data received {"connection_id":179516,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:23] local.INFO: Processing buffer {"connection_id":179516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:53:23] local.INFO: IMEI packet received {"connection_id":179516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":179516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:53:24] local.INFO: TCP Data received {"connection_id":179516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c56a238012d36e90006a99e980005011c2b..."} 
[2026-09-10 22:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c56a238012d36e90006a99e980005011c2b..."} 
[2026-09-10 22:53:24] local.INFO: Processing buffer {"connection_id":179516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c56a238012d36e90006a99e980005011c2b..."} 
[2026-09-10 22:53:24] local.INFO: Packet analysis {"connection_id":179516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:53:24] local.INFO: Extracted packet for processing {"connection_id":179516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758573312,"raw_latitude":111779480,"longitude_deg":75.8573312,"latitude_deg":11.177948,"altitude":5,"angle":284,"satellites":43,"speed":41,"hex_longitude":"2d36e900","hex_latitude":"06a99e98","is_valid_coordinates":true} 
[2026-09-10 22:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999583744001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405019762519703552,"note":"Value kept but may cause issues"} 
[2026-09-10 22:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3966897244142532608,"note":"Value kept but may cause issues"} 
[2026-09-10 22:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789060883000,"timestamp_ms":1789060883000,"timestamp_seconds":1789060883,"priority":1,"record_length":96,"hex_timestamp":"000001a08c56a238"} 
[2026-09-10 22:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-10 22:53:24] 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-09-10 22:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999583744001,"66":27300,"76":206,"81":23296,"24":41,"16":405019762519703552,"45":3966897244142532608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-10 22:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999583744001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:53:24] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-10 22:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405019762519703552,"km_value":405019762519703.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3966897244142532608,"description":"Unknown IO ID 45"} 
[2026-09-10 22:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999583744001,"power":27300,"unknown_76":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3966897244142532608}} 
[2026-09-10 22:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":179516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:53:24] local.INFO: GPS data processed {"connection_id":179516,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:53:24] local.INFO: Acknowledgment sent {"connection_id":179516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:53:28] local.INFO: TCP Data received {"connection_id":179516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c56b9a8012d36d1c006a9a650000701272a..."} 
[2026-09-10 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c56b9a8012d36d1c006a9a650000701272a..."} 
[2026-09-10 22:53:28] local.INFO: Processing buffer {"connection_id":179516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c56b9a8012d36d1c006a9a650000701272a..."} 
[2026-09-10 22:53:28] local.INFO: Packet analysis {"connection_id":179516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:53:28] local.INFO: Extracted packet for processing {"connection_id":179516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":758567360,"raw_latitude":111781456,"longitude_deg":75.856736,"latitude_deg":11.1781456,"altitude":7,"angle":295,"satellites":42,"speed":41,"hex_longitude":"2d36d1c0","hex_latitude":"06a9a650","is_valid_coordinates":true} 
[2026-09-10 22:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999586048001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405020063167414272,"note":"Value kept but may cause issues"} 
[2026-09-10 22:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3956693776237238272,"note":"Value kept but may cause issues"} 
[2026-09-10 22:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789060889000,"timestamp_ms":1789060889000,"timestamp_seconds":1789060889,"priority":1,"record_length":96,"hex_timestamp":"000001a08c56b9a8"} 
[2026-09-10 22:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999586048001,"66":27300,"96":206,"81":23296,"24":41,"16":405020063167414272,"45":3956693776237238272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-10 22:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999586048001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:53:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 22:53:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405020063167414272,"km_value":405020063167414.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3956693776237238272,"description":"Unknown IO ID 45"} 
[2026-09-10 22:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999586048001,"power":27300,"unknown_96":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3956693776237238272}} 
[2026-09-10 22:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":179516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:53:28] local.INFO: GPS data processed {"connection_id":179516,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:53:28] local.INFO: Acknowledgment sent {"connection_id":179516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:54:00] local.INFO: TCP Data received {"connection_id":179516,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c56d500012d36b88006a9b558000801362c..."} 
[2026-09-10 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c56d500012d36b88006a9b558000801362c..."} 
[2026-09-10 22:54:00] local.INFO: Processing buffer {"connection_id":179516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c56d500012d36b88006a9b558000801362c..."} 
[2026-09-10 22:54:00] local.INFO: Packet analysis {"connection_id":179516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:54:00] local.INFO: Extracted packet for processing {"connection_id":179516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c56"} 
[2026-09-10 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758560896,"raw_latitude":111785304,"longitude_deg":75.8560896,"latitude_deg":11.1785304,"altitude":8,"angle":310,"satellites":44,"speed":40,"hex_longitude":"2d36b880","hex_latitude":"06a9b558","is_valid_coordinates":true} 
[2026-09-10 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-09-10 22:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999587584001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405020423944667136,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3950149483029221376,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789060896000,"timestamp_ms":1789060896000,"timestamp_seconds":1789060896,"priority":1,"record_length":96,"hex_timestamp":"000001a08c56d500"} 
[2026-09-10 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-09-10 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 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":164,"data_length":795,"current_offset":136} 
[2026-09-10 22:54: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-09-10 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-09-10 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-09-10 22:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":179516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":179516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":179516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999587584001,"66":27332,"96":206,"81":23296,"24":40,"16":405020423944667136,"45":3950149483029221376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-10 22:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999587584001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:54:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-10 22:54:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405020423944667136,"km_value":405020423944667.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3950149483029221376,"description":"Unknown IO ID 45"} 
[2026-09-10 22:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999587584001,"power":27332,"unknown_96":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3950149483029221376}} 
[2026-09-10 22:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":179516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:54:00] local.INFO: GPS data processed {"connection_id":179516,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:54:00] local.INFO: Acknowledgment sent {"connection_id":179516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:54:18] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:18] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:18] local.INFO: IMEI packet received {"connection_id":178117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":178117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:54:19] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:19] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:19] local.INFO: IMEI packet received {"connection_id":178117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":178117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:54:23] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:23] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:54:23] local.INFO: IMEI packet received {"connection_id":178117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":178117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:54:24] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c587310012d35334006aa5798000801252b..."} 
[2026-09-10 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c587310012d35334006aa5798000801252b..."} 
[2026-09-10 22:54:24] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c587310012d35334006aa5798000801252b..."} 
[2026-09-10 22:54:24] local.INFO: Packet analysis {"connection_id":178117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c58"} 
[2026-09-10 22:54:24] local.INFO: Extracted packet for processing {"connection_id":178117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c58"} 
[2026-09-10 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758461248,"raw_latitude":111826840,"longitude_deg":75.8461248,"latitude_deg":11.182684,"altitude":8,"angle":293,"satellites":43,"speed":34,"hex_longitude":"2d353340","hex_latitude":"06aa5798","is_valid_coordinates":true} 
[2026-09-10 22:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999613952001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405025603675226112,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3843188991889862656,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061002000,"timestamp_ms":1789061002000,"timestamp_seconds":1789061002,"priority":1,"record_length":96,"hex_timestamp":"000001a08c587310"} 
[2026-09-10 22:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:54:24] 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-09-10 22:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999613952001,"66":27321,"97":206,"81":23296,"24":34,"16":405025603675226112,"45":3843188991889862656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999613952001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405025603675226112,"km_value":405025603675226.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3843188991889862656,"description":"Unknown IO ID 45"} 
[2026-09-10 22:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999613952001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3843188991889862656}} 
[2026-09-10 22:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":178117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:54:24] local.INFO: GPS data processed {"connection_id":178117,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:54:24] local.INFO: Acknowledgment sent {"connection_id":178117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:54:55] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c58ada8012d35114006aa6560000701122c..."} 
[2026-09-10 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c58ada8012d35114006aa6560000701122c..."} 
[2026-09-10 22:54:55] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c58ada8012d35114006aa6560000701122c..."} 
[2026-09-10 22:54:55] local.INFO: Packet analysis {"connection_id":178117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c58"} 
[2026-09-10 22:54:55] local.INFO: Extracted packet for processing {"connection_id":178117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c58"} 
[2026-09-10 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758452544,"raw_latitude":111830368,"longitude_deg":75.8452544,"latitude_deg":11.1830368,"altitude":7,"angle":274,"satellites":44,"speed":15,"hex_longitude":"2d351140","hex_latitude":"06aa6560","is_valid_coordinates":true} 
[2026-09-10 22:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999616512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405026054646792192,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3833478105194272768,"note":"Value kept but may cause issues"} 
[2026-09-10 22:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061017000,"timestamp_ms":1789061017000,"timestamp_seconds":1789061017,"priority":1,"record_length":96,"hex_timestamp":"000001a08c58ada8"} 
[2026-09-10 22:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-10 22:54:55] 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-09-10 22:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999616512001,"66":27267,"97":206,"81":23296,"24":15,"16":405026054646792192,"45":3833478105194272768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999616512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405026054646792192,"km_value":405026054646792.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3833478105194272768,"description":"Unknown IO ID 45"} 
[2026-09-10 22:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999616512001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3833478105194272768}} 
[2026-09-10 22:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":178117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:54:55] local.INFO: GPS data processed {"connection_id":178117,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:54:55] local.INFO: Acknowledgment sent {"connection_id":178117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:55:18] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:55:18] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:55:18] local.INFO: IMEI packet received {"connection_id":176984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":176984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:55:23] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:55:23] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:55:23] local.INFO: IMEI packet received {"connection_id":176984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":176984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:55:24] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c58ada8012d35114006aa6560000701122c..."} 
[2026-09-10 22:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c58ada8012d35114006aa6560000701122c..."} 
[2026-09-10 22:55:24] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c58ada8012d35114006aa6560000701122c..."} 
[2026-09-10 22:55:24] local.INFO: Packet analysis {"connection_id":176984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c58"} 
[2026-09-10 22:55:24] local.INFO: Extracted packet for processing {"connection_id":176984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c58"} 
[2026-09-10 22:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758452544,"raw_latitude":111830368,"longitude_deg":75.8452544,"latitude_deg":11.1830368,"altitude":7,"angle":274,"satellites":44,"speed":15,"hex_longitude":"2d351140","hex_latitude":"06aa6560","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999620352001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405026054646792192,"note":"Value kept but may cause issues"} 
[2026-09-10 22:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823907955987013632,"note":"Value kept but may cause issues"} 
[2026-09-10 22:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061017000,"timestamp_ms":1789061017000,"timestamp_seconds":1789061017,"priority":1,"record_length":96,"hex_timestamp":"000001a08c58ada8"} 
[2026-09-10 22:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-10 22:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999620352001,"66":27267,"97":206,"81":23296,"24":15,"16":405026054646792192,"45":3823907955987013632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999620352001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405026054646792192,"km_value":405026054646792.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823907955987013632,"description":"Unknown IO ID 45"} 
[2026-09-10 22:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999620352001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3823907955987013632}} 
[2026-09-10 22:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":176984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:55:24] local.INFO: GPS data processed {"connection_id":176984,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:55:24] local.INFO: Acknowledgment sent {"connection_id":176984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:55:55] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c59fd98012d34c6c006aa45b0000800c22b..."} 
[2026-09-10 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c59fd98012d34c6c006aa45b0000800c22b..."} 
[2026-09-10 22:55:55] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c59fd98012d34c6c006aa45b0000800c22b..."} 
[2026-09-10 22:55:55] local.INFO: Packet analysis {"connection_id":176984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c59"} 
[2026-09-10 22:55:55] local.INFO: Extracted packet for processing {"connection_id":176984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c59"} 
[2026-09-10 22:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111822256,"longitude_deg":75.8433472,"latitude_deg":11.1822256,"altitude":8,"angle":194,"satellites":43,"speed":6,"hex_longitude":"2d34c6c0","hex_latitude":"06aa45b0","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999641600001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027188518158336,"note":"Value kept but may cause issues"} 
[2026-09-10 22:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220109824,"note":"Value kept but may cause issues"} 
[2026-09-10 22:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061103000,"timestamp_ms":1789061103000,"timestamp_seconds":1789061103,"priority":1,"record_length":96,"hex_timestamp":"000001a08c59fd98"} 
[2026-09-10 22:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-10 22:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999641600001,"66":27332,"97":206,"81":23296,"24":6,"16":405027188518158336,"45":3802938070220109824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999641600001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:55:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:55:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027188518158336,"km_value":405027188518158.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220109824,"description":"Unknown IO ID 45"} 
[2026-09-10 22:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999641600001,"power":27332,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802938070220109824}} 
[2026-09-10 22:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":176984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:55:55] local.INFO: GPS data processed {"connection_id":176984,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:55:55] local.INFO: Acknowledgment sent {"connection_id":176984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:56:18] local.INFO: TCP Data received {"connection_id":179518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:18] local.INFO: Processing buffer {"connection_id":179518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:18] local.INFO: IMEI packet received {"connection_id":179518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":179518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:56:23] local.INFO: TCP Data received {"connection_id":179518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:23] local.INFO: Processing buffer {"connection_id":179518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:23] local.INFO: IMEI packet received {"connection_id":179518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":179518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:56:28] local.INFO: TCP Data received {"connection_id":179518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:28] local.INFO: Processing buffer {"connection_id":179518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:56:28] local.INFO: IMEI packet received {"connection_id":179518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":179518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:56:29] local.INFO: TCP Data received {"connection_id":179518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a0180012d34c68006aa4510000800d02b..."} 
[2026-09-10 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a0180012d34c68006aa4510000800d02b..."} 
[2026-09-10 22:56:29] local.INFO: Processing buffer {"connection_id":179518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a0180012d34c68006aa4510000800d02b..."} 
[2026-09-10 22:56:29] local.INFO: Packet analysis {"connection_id":179518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:56:29] local.INFO: Extracted packet for processing {"connection_id":179518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111822096,"longitude_deg":75.8433408,"latitude_deg":11.1822096,"altitude":8,"angle":208,"satellites":43,"speed":7,"hex_longitude":"2d34c680","hex_latitude":"06aa4510","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999642368001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027197108092928,"note":"Value kept but may cause issues"} 
[2026-09-10 22:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219993088,"note":"Value kept but may cause issues"} 
[2026-09-10 22:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789061104000,"timestamp_ms":1789061104000,"timestamp_seconds":1789061104,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a0180"} 
[2026-09-10 22:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 22: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-09-10 22:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":179518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":179518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":179518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999642368001,"66":27332,"97":206,"81":23296,"24":7,"16":405027197108092928,"45":3802938070219993088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999642368001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:56:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:56:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027197108092928,"km_value":405027197108092.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219993088,"description":"Unknown IO ID 45"} 
[2026-09-10 22:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999642368001,"power":27332,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802938070219993088}} 
[2026-09-10 22:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":179518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:56:29] local.INFO: GPS data processed {"connection_id":179518,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:56:29] local.INFO: Acknowledgment sent {"connection_id":179518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:56:33] local.INFO: TCP Data received {"connection_id":179518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a0950012d34c58006aa4418000800e62b..."} 
[2026-09-10 22:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a0950012d34c58006aa4418000800e62b..."} 
[2026-09-10 22:56:33] local.INFO: Processing buffer {"connection_id":179518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a0950012d34c58006aa4418000800e62b..."} 
[2026-09-10 22:56:33] local.INFO: Packet analysis {"connection_id":179518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:56:33] local.INFO: Extracted packet for processing {"connection_id":179518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:56:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821848,"longitude_deg":75.8433152,"latitude_deg":11.1821848,"altitude":8,"angle":230,"satellites":43,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4418","is_valid_coordinates":true} 
[2026-09-10 22: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-09-10 22:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999642624001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027214287962112,"note":"Value kept but may cause issues"} 
[2026-09-10 22:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475774464,"note":"Value kept but may cause issues"} 
[2026-09-10 22:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789061106000,"timestamp_ms":1789061106000,"timestamp_seconds":1789061106,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a0950"} 
[2026-09-10 22:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":196,"data_length":795,"current_offset":136} 
[2026-09-10 22:56: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-09-10 22: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-09-10 22:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22: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-09-10 22:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999642624001,"66":27484,"97":206,"81":23296,"24":6,"16":405027214287962112,"45":3802867701475774464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999642624001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027214287962112,"km_value":405027214287962.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475774464,"description":"Unknown IO ID 45"} 
[2026-09-10 22:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999642624001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802867701475774464}} 
[2026-09-10 22:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":179518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:56:33] local.INFO: GPS data processed {"connection_id":179518,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:56:33] local.INFO: Acknowledgment sent {"connection_id":179518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:57:18] local.INFO: TCP Data received {"connection_id":176986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:57:18] local.INFO: Processing buffer {"connection_id":176986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:57:18] local.INFO: IMEI packet received {"connection_id":176986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":176986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:57:23] local.INFO: TCP Data received {"connection_id":176986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:57:23] local.INFO: Processing buffer {"connection_id":176986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:57:23] local.INFO: IMEI packet received {"connection_id":176986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":176986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:57:24] local.INFO: TCP Data received {"connection_id":176986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a5b58012d34c38006aa43e0000800e529..."} 
[2026-09-10 22:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a5b58012d34c38006aa43e0000800e529..."} 
[2026-09-10 22:57:24] local.INFO: Processing buffer {"connection_id":176986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a5b58012d34c38006aa43e0000800e529..."} 
[2026-09-10 22:57:24] local.INFO: Packet analysis {"connection_id":176986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:57:24] local.INFO: Extracted packet for processing {"connection_id":176986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821792,"longitude_deg":75.843264,"latitude_deg":11.1821792,"altitude":8,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa43e0","is_valid_coordinates":true} 
[2026-09-10 22:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999643136001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027291597373440,"note":"Value kept but may cause issues"} 
[2026-09-10 22:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499000320,"note":"Value kept but may cause issues"} 
[2026-09-10 22:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061127000,"timestamp_ms":1789061127000,"timestamp_seconds":1789061127,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a5b58"} 
[2026-09-10 22:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 22:57:24] 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-09-10 22:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999643136001,"66":27571,"97":206,"81":23296,"24":0,"16":405027291597373440,"45":3802586226499000320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999643136001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027291597373440,"km_value":405027291597373.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499000320,"description":"Unknown IO ID 45"} 
[2026-09-10 22:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999643136001,"power":27571,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499000320}} 
[2026-09-10 22:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":176986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:57:24] local.INFO: GPS data processed {"connection_id":176986,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:57:24] local.INFO: Acknowledgment sent {"connection_id":176986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:57:55] local.INFO: TCP Data received {"connection_id":176986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:57:55] local.INFO: Processing buffer {"connection_id":176986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:57:55] local.INFO: Packet analysis {"connection_id":176986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:57:55] local.INFO: Extracted packet for processing {"connection_id":176986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822112,"longitude_deg":75.8433088,"latitude_deg":11.1822112,"altitude":8,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4520","is_valid_coordinates":true} 
[2026-09-10 22:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999648512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 22:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545564672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061139000,"timestamp_ms":1789061139000,"timestamp_seconds":1789061139,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a8a38"} 
[2026-09-10 22:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 22:57:55] 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-09-10 22:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999648512001,"66":27821,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802023276545564672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999648512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:57:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:57:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545564672,"description":"Unknown IO ID 45"} 
[2026-09-10 22:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999648512001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545564672}} 
[2026-09-10 22:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":176986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:57:55] local.INFO: GPS data processed {"connection_id":176986,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:57:55] local.INFO: Acknowledgment sent {"connection_id":176986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:58:18] local.INFO: TCP Data received {"connection_id":179519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:58:18] local.INFO: Processing buffer {"connection_id":179519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:58:18] local.INFO: IMEI packet received {"connection_id":179519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":179519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:58:20] local.INFO: TCP Data received {"connection_id":176764,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:58:20] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:58:20] local.INFO: IMEI packet received {"connection_id":176764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":176764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:58:23] local.INFO: TCP Data received {"connection_id":179519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:58:23] local.INFO: Processing buffer {"connection_id":179519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:58:23] local.INFO: IMEI packet received {"connection_id":179519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":179519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:58:24] local.INFO: TCP Data received {"connection_id":179519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:58:24] local.INFO: Processing buffer {"connection_id":179519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:58:24] local.INFO: Packet analysis {"connection_id":179519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:58:24] local.INFO: Extracted packet for processing {"connection_id":179519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822112,"longitude_deg":75.8433088,"latitude_deg":11.1822112,"altitude":8,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4520","is_valid_coordinates":true} 
[2026-09-10 22:58: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-09-10 22:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999648512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 22:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545564672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061139000,"timestamp_ms":1789061139000,"timestamp_seconds":1789061139,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a8a38"} 
[2026-09-10 22:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 22:58:24] 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-09-10 22: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-09-10 22:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999648512001,"66":27821,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802023276545564672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999648512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545564672,"description":"Unknown IO ID 45"} 
[2026-09-10 22:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999648512001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545564672}} 
[2026-09-10 22:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":179519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:58:24] local.INFO: GPS data processed {"connection_id":179519,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:58:24] local.INFO: Acknowledgment sent {"connection_id":179519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:58:37] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:58:37] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 22:58:37] local.INFO: IMEI packet received {"connection_id":176987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 22:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":176987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:58:56] local.INFO: TCP Data received {"connection_id":179519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:58:56] local.INFO: Processing buffer {"connection_id":179519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:58:56] local.INFO: Packet analysis {"connection_id":179519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:58:56] local.INFO: Extracted packet for processing {"connection_id":179519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822112,"longitude_deg":75.8433088,"latitude_deg":11.1822112,"altitude":8,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4520","is_valid_coordinates":true} 
[2026-09-10 22:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999648512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 22:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545564672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789061139000,"timestamp_ms":1789061139000,"timestamp_seconds":1789061139,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a8a38"} 
[2026-09-10 22:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 22:58:56] 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-09-10 22: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-09-10 22:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999648512001,"66":27821,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802023276545564672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999648512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:58:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:58:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545564672,"description":"Unknown IO ID 45"} 
[2026-09-10 22:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999648512001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545564672}} 
[2026-09-10 22:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":179519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:58:56] local.INFO: GPS data processed {"connection_id":179519,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:58:56] local.INFO: Acknowledgment sent {"connection_id":179519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:59:18] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:59:18] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:59:18] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 22:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 22:59:23] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:59:23] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 22:59:23] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 22:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 22:59:24] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:59:24] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:59:24] local.INFO: Packet analysis {"connection_id":176765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:59:24] local.INFO: Extracted packet for processing {"connection_id":176765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822112,"longitude_deg":75.8433088,"latitude_deg":11.1822112,"altitude":8,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4520","is_valid_coordinates":true} 
[2026-09-10 22:59: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-09-10 22:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999648512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 22:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545564672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061139000,"timestamp_ms":1789061139000,"timestamp_seconds":1789061139,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a8a38"} 
[2026-09-10 22:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 22:59:24] 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-09-10 22:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999648512001,"66":27821,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802023276545564672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999648512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545564672,"description":"Unknown IO ID 45"} 
[2026-09-10 22:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999648512001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545564672}} 
[2026-09-10 22:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":176765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:59:24] local.INFO: GPS data processed {"connection_id":176765,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:59:24] local.INFO: Acknowledgment sent {"connection_id":176765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 22:59:55] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:59:55] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 22:59:55] local.INFO: Packet analysis {"connection_id":176765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:59:55] local.INFO: Extracted packet for processing {"connection_id":176765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822112,"longitude_deg":75.8433088,"latitude_deg":11.1822112,"altitude":8,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4520","is_valid_coordinates":true} 
[2026-09-10 22:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 22:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999648512001,"note":"Value kept but may cause issues"} 
[2026-09-10 22:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 22:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545564672,"note":"Value kept but may cause issues"} 
[2026-09-10 22:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 22:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061139000,"timestamp_ms":1789061139000,"timestamp_seconds":1789061139,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a8a38"} 
[2026-09-10 22:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 22:59: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 22:59:55] 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-09-10 22:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 22:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 22:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 22:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 22:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 22:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 22:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 22:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 22:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999648512001,"66":27821,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802023276545564672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 22:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 22:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 22:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999648512001,"description":"Unknown IO ID 0"} 
[2026-09-10 22:59:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 22:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 22:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 22:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545564672,"description":"Unknown IO ID 45"} 
[2026-09-10 22:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999648512001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545564672}} 
[2026-09-10 22:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":176765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 22:59:55] local.INFO: GPS data processed {"connection_id":176765,"processed":1,"errors":0,"total":1} 
[2026-09-10 22:59:55] local.INFO: Acknowledgment sent {"connection_id":176765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:00:18] local.INFO: TCP Data received {"connection_id":176988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:00:18] local.INFO: Processing buffer {"connection_id":176988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:00:18] local.INFO: IMEI packet received {"connection_id":176988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":176988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:00:23] local.INFO: TCP Data received {"connection_id":176988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:00:23] local.INFO: Processing buffer {"connection_id":176988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:00:23] local.INFO: IMEI packet received {"connection_id":176988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":176988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:00:24] local.INFO: TCP Data received {"connection_id":176988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 23:00:24] local.INFO: Processing buffer {"connection_id":176988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 23:00:24] local.INFO: Packet analysis {"connection_id":176988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 23:00:24] local.INFO: Extracted packet for processing {"connection_id":176988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 23:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822112,"longitude_deg":75.8433088,"latitude_deg":11.1822112,"altitude":8,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4520","is_valid_coordinates":true} 
[2026-09-10 23:00: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-09-10 23:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999648512001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545564672,"note":"Value kept but may cause issues"} 
[2026-09-10 23:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061139000,"timestamp_ms":1789061139000,"timestamp_seconds":1789061139,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a8a38"} 
[2026-09-10 23:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 23:00:24] 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-09-10 23:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999648512001,"66":27821,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802023276545564672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999648512001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545564672,"description":"Unknown IO ID 45"} 
[2026-09-10 23:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999648512001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545564672}} 
[2026-09-10 23:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":176988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:00:24] local.INFO: GPS data processed {"connection_id":176988,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:00:24] local.INFO: Acknowledgment sent {"connection_id":176988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:00:55] local.INFO: TCP Data received {"connection_id":176988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 23:00:55] local.INFO: Processing buffer {"connection_id":176988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5a8a38012d34c54006aa4520000800e52b..."} 
[2026-09-10 23:00:55] local.INFO: Packet analysis {"connection_id":176988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 23:00:55] local.INFO: Extracted packet for processing {"connection_id":176988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5a"} 
[2026-09-10 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822112,"longitude_deg":75.8433088,"latitude_deg":11.1822112,"altitude":8,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4520","is_valid_coordinates":true} 
[2026-09-10 23:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999648512001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545564672,"note":"Value kept but may cause issues"} 
[2026-09-10 23:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061139000,"timestamp_ms":1789061139000,"timestamp_seconds":1789061139,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5a8a38"} 
[2026-09-10 23:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 23:00:55] 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-09-10 23: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-09-10 23:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999648512001,"66":27821,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802023276545564672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999648512001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:00:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:00:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545564672,"description":"Unknown IO ID 45"} 
[2026-09-10 23:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999648512001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545564672}} 
[2026-09-10 23:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":176988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:00:55] local.INFO: GPS data processed {"connection_id":176988,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:00:55] local.INFO: Acknowledgment sent {"connection_id":176988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:01:18] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:18] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:18] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:01:19] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:19] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:19] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:01:23] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:23] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:01:23] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:01:24] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:01:24] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:01:24] local.INFO: Packet analysis {"connection_id":176766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:01:24] local.INFO: Extracted packet for processing {"connection_id":176766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":176766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:01:24] local.INFO: GPS data processed {"connection_id":176766,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:01:24] local.INFO: Acknowledgment sent {"connection_id":176766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:01:55] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:01:55] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:01:55] local.INFO: Packet analysis {"connection_id":176766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:01:55] local.INFO: Extracted packet for processing {"connection_id":176766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":176766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:01:55] local.INFO: GPS data processed {"connection_id":176766,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:01:55] local.INFO: Acknowledgment sent {"connection_id":176766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:02:23] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:02:23] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:02:23] local.INFO: IMEI packet received {"connection_id":176990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":176990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:02:28] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:02:28] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:02:28] local.INFO: IMEI packet received {"connection_id":176990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":176990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:02:29] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:02:29] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:02:29] local.INFO: Packet analysis {"connection_id":176990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:02:29] local.INFO: Extracted packet for processing {"connection_id":176990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:02:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:02:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":176990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:02:29] local.INFO: GPS data processed {"connection_id":176990,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:02:29] local.INFO: Acknowledgment sent {"connection_id":176990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:03:00] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:00] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:00] local.INFO: Packet analysis {"connection_id":176990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:03:00] local.INFO: Extracted packet for processing {"connection_id":176990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:03:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:03:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":176990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:03:00] local.INFO: GPS data processed {"connection_id":176990,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:03:00] local.INFO: Acknowledgment sent {"connection_id":176990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:03:18] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:03:18] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:03:18] local.INFO: IMEI packet received {"connection_id":178119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":178119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:03:23] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:03:23] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:03:23] local.INFO: IMEI packet received {"connection_id":178119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":178119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:03:24] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:24] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:24] local.INFO: Packet analysis {"connection_id":178119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:03:24] local.INFO: Extracted packet for processing {"connection_id":178119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":178119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:03:24] local.INFO: GPS data processed {"connection_id":178119,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:03:24] local.INFO: Acknowledgment sent {"connection_id":178119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:03:55] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:55] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:03:55] local.INFO: Packet analysis {"connection_id":178119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:03:55] local.INFO: Extracted packet for processing {"connection_id":178119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:03:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:03:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":178119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:03:55] local.INFO: GPS data processed {"connection_id":178119,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:03:55] local.INFO: Acknowledgment sent {"connection_id":178119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:04:07] local.INFO: TCP Data received {"connection_id":176767,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:04:07] local.INFO: Processing buffer {"connection_id":176767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:04:07] local.INFO: IMEI packet received {"connection_id":176767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":176767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:04:18] local.INFO: TCP Data received {"connection_id":179522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:04:18] local.INFO: Processing buffer {"connection_id":179522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:04:18] local.INFO: IMEI packet received {"connection_id":179522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":179522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:04:23] local.INFO: TCP Data received {"connection_id":179522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:04:23] local.INFO: Processing buffer {"connection_id":179522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:04:23] local.INFO: IMEI packet received {"connection_id":179522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":179522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:04:24] local.INFO: TCP Data received {"connection_id":179522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:04:24] local.INFO: Processing buffer {"connection_id":179522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:04:24] local.INFO: Packet analysis {"connection_id":179522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:04:24] local.INFO: Extracted packet for processing {"connection_id":179522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":179522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:04:24] local.INFO: GPS data processed {"connection_id":179522,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:04:24] local.INFO: Acknowledgment sent {"connection_id":179522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:04:37] local.INFO: TCP Data received {"connection_id":178120,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:04:37] local.INFO: Processing buffer {"connection_id":178120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:04:37] local.INFO: IMEI packet received {"connection_id":178120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":178120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:04:56] local.INFO: TCP Data received {"connection_id":179522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:04:56] local.INFO: Processing buffer {"connection_id":179522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:04:56] local.INFO: Packet analysis {"connection_id":179522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:04:56] local.INFO: Extracted packet for processing {"connection_id":179522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:04:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:04:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":179522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:04:56] local.INFO: GPS data processed {"connection_id":179522,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:04:56] local.INFO: Acknowledgment sent {"connection_id":179522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:05:18] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:05:18] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:05:18] local.INFO: IMEI packet received {"connection_id":176991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":176991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:05:23] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:05:23] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:05:23] local.INFO: IMEI packet received {"connection_id":176991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":176991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:05:23] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:05:23] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:05:23] local.INFO: Packet analysis {"connection_id":176991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:05:23] local.INFO: Extracted packet for processing {"connection_id":176991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:05: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-09-10 23:05: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-09-10 23:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":176991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:05:23] local.INFO: GPS data processed {"connection_id":176991,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:05:23] local.INFO: Acknowledgment sent {"connection_id":176991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:05:54] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:05:54] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c5f25e8012d34c54006aa45f0001b00e527..."} 
[2026-09-10 23:05:54] local.INFO: Packet analysis {"connection_id":176991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:05:54] local.INFO: Extracted packet for processing {"connection_id":176991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c5f"} 
[2026-09-10 23:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999651584001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754890240,"note":"Value kept but may cause issues"} 
[2026-09-10 23:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789061441000,"timestamp_ms":1789061441000,"timestamp_seconds":1789061441,"priority":1,"record_length":96,"hex_timestamp":"000001a08c5f25e8"} 
[2026-09-10 23:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-10 23:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999651584001,"66":26452,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754890240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999651584001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754890240,"description":"Unknown IO ID 45"} 
[2026-09-10 23:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999651584001,"power":26452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754890240}} 
[2026-09-10 23:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":176991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:05:54] local.INFO: GPS data processed {"connection_id":176991,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:05:54] local.INFO: Acknowledgment sent {"connection_id":176991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:06:20] local.INFO: TCP Data received {"connection_id":176992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:20] local.INFO: Processing buffer {"connection_id":176992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:20] local.INFO: IMEI packet received {"connection_id":176992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":176992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:06:23] local.INFO: TCP Data received {"connection_id":176992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:23] local.INFO: Processing buffer {"connection_id":176992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:23] local.INFO: IMEI packet received {"connection_id":176992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":176992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:06:28] local.INFO: TCP Data received {"connection_id":176992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:28] local.INFO: Processing buffer {"connection_id":176992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:06:28] local.INFO: IMEI packet received {"connection_id":176992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":176992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:06:28] local.INFO: TCP Data received {"connection_id":176992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:06:28] local.INFO: Processing buffer {"connection_id":176992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:06:28] local.INFO: Packet analysis {"connection_id":176992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:06:28] local.INFO: Extracted packet for processing {"connection_id":176992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:06:28] 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-09-10 23:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:06:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:06:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":176992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:06:28] local.INFO: GPS data processed {"connection_id":176992,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:06:28] local.INFO: Acknowledgment sent {"connection_id":176992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:06:33] local.INFO: TCP Data received {"connection_id":176992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:06:33] local.INFO: Processing buffer {"connection_id":176992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:06:33] local.INFO: Packet analysis {"connection_id":176992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:06:33] local.INFO: Extracted packet for processing {"connection_id":176992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:06:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:06: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-09-10 23: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:06:33] 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-09-10 23: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-09-10 23:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23: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-09-10 23:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":176992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:06:33] local.INFO: GPS data processed {"connection_id":176992,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:06:33] local.INFO: Acknowledgment sent {"connection_id":176992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:07:18] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:07:18] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:07:18] local.INFO: IMEI packet received {"connection_id":178121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":178121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:07:23] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:07:23] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:07:23] local.INFO: IMEI packet received {"connection_id":178121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":178121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:07:24] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:07:24] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:07:24] local.INFO: Packet analysis {"connection_id":178121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:07:24] local.INFO: Extracted packet for processing {"connection_id":178121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:07:24] 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-09-10 23:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":178121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:07:24] local.INFO: GPS data processed {"connection_id":178121,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:07:24] local.INFO: Acknowledgment sent {"connection_id":178121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:07:55] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:07:55] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:07:55] local.INFO: Packet analysis {"connection_id":178121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:07:55] local.INFO: Extracted packet for processing {"connection_id":178121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:07: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:07:55] 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-09-10 23:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:07:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:07:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":178121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:07:55] local.INFO: GPS data processed {"connection_id":178121,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:07:55] local.INFO: Acknowledgment sent {"connection_id":178121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:08:18] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:08:18] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:08:18] local.INFO: IMEI packet received {"connection_id":176994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":176994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:08:23] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:08:23] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:08:23] local.INFO: IMEI packet received {"connection_id":176994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":176994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:08:23] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:08:23] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:08:23] local.INFO: Packet analysis {"connection_id":176994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:08:23] local.INFO: Extracted packet for processing {"connection_id":176994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:08:23] 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-09-10 23:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":176994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:08:23] local.INFO: GPS data processed {"connection_id":176994,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:08:23] local.INFO: Acknowledgment sent {"connection_id":176994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:08:54] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:08:54] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:08:54] local.INFO: Packet analysis {"connection_id":176994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:08:54] local.INFO: Extracted packet for processing {"connection_id":176994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:08: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:08:54] 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-09-10 23:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:08:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":176994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:08:54] local.INFO: GPS data processed {"connection_id":176994,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:08:54] local.INFO: Acknowledgment sent {"connection_id":176994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:09:18] local.INFO: TCP Data received {"connection_id":179523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:09:18] local.INFO: Processing buffer {"connection_id":179523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:09:18] local.INFO: IMEI packet received {"connection_id":179523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":179523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:09:23] local.INFO: TCP Data received {"connection_id":179523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:09:23] local.INFO: Processing buffer {"connection_id":179523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:09:23] local.INFO: IMEI packet received {"connection_id":179523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":179523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:09:23] local.INFO: TCP Data received {"connection_id":179523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:09:24] local.INFO: Processing buffer {"connection_id":179523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:09:24] local.INFO: Packet analysis {"connection_id":179523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:09:24] local.INFO: Extracted packet for processing {"connection_id":179523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:09:24] 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-09-10 23:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":179523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:09:24] local.INFO: GPS data processed {"connection_id":179523,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:09:24] local.INFO: Acknowledgment sent {"connection_id":179523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:09:43] local.INFO: TCP Data received {"connection_id":179524,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:09:43] local.INFO: Processing buffer {"connection_id":179524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:09:43] local.INFO: IMEI packet received {"connection_id":179524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":179524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:09:55] local.INFO: TCP Data received {"connection_id":179523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:09:55] local.INFO: Processing buffer {"connection_id":179523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:09:55] local.INFO: Packet analysis {"connection_id":179523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:09:55] local.INFO: Extracted packet for processing {"connection_id":179523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:09:55] 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-09-10 23:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:09:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":179523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:09:55] local.INFO: GPS data processed {"connection_id":179523,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:09:55] local.INFO: Acknowledgment sent {"connection_id":179523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:10:18] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:10:18] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:10:18] local.INFO: IMEI packet received {"connection_id":178124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":178124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:10:23] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:10:23] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:10:23] local.INFO: IMEI packet received {"connection_id":178124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":178124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:10:23] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:10:23] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:10:23] local.INFO: Packet analysis {"connection_id":178124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:10:23] local.INFO: Extracted packet for processing {"connection_id":178124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:10:23] 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-09-10 23:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":178124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:10:23] local.INFO: GPS data processed {"connection_id":178124,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:10:23] local.INFO: Acknowledgment sent {"connection_id":178124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:10:37] local.INFO: TCP Data received {"connection_id":178125,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:10:37] local.INFO: Processing buffer {"connection_id":178125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:10:37] local.INFO: IMEI packet received {"connection_id":178125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":178125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:10:54] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:10:54] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c63bdb0012d34c54006aa45f0001b00e525..."} 
[2026-09-10 23:10:54] local.INFO: Packet analysis {"connection_id":178124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:10:54] local.INFO: Extracted packet for processing {"connection_id":178124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c63"} 
[2026-09-10 23:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":27,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999728896001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789061742000,"timestamp_ms":1789061742000,"timestamp_seconds":1789061742,"priority":1,"record_length":96,"hex_timestamp":"000001a08c63bdb0"} 
[2026-09-10 23:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-10 23:10:54] 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-09-10 23:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999728896001,"66":26136,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999728896001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999728896001,"power":26136,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":178124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:10:54] local.INFO: GPS data processed {"connection_id":178124,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:10:54] local.INFO: Acknowledgment sent {"connection_id":178124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:11:18] local.INFO: TCP Data received {"connection_id":179525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:18] local.INFO: Processing buffer {"connection_id":179525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:18] local.INFO: IMEI packet received {"connection_id":179525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":179525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:11:21] local.INFO: TCP Data received {"connection_id":179525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:21] local.INFO: Processing buffer {"connection_id":179525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:21] local.INFO: IMEI packet received {"connection_id":179525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":179525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:11:23] local.INFO: TCP Data received {"connection_id":179525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:23] local.INFO: Processing buffer {"connection_id":179525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:11:23] local.INFO: IMEI packet received {"connection_id":179525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":179525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:11:24] local.INFO: TCP Data received {"connection_id":179525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:11:24] local.INFO: Processing buffer {"connection_id":179525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:11:24] local.INFO: Packet analysis {"connection_id":179525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:11:24] local.INFO: Extracted packet for processing {"connection_id":179525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:11:24] 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-09-10 23:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":179525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:11:24] local.INFO: GPS data processed {"connection_id":179525,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:11:24] local.INFO: Acknowledgment sent {"connection_id":179525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:11:55] local.INFO: TCP Data received {"connection_id":179525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:11:55] local.INFO: Processing buffer {"connection_id":179525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:11:55] local.INFO: Packet analysis {"connection_id":179525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:11:55] local.INFO: Extracted packet for processing {"connection_id":179525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:11:55] 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-09-10 23:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:11:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":179525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:11:55] local.INFO: GPS data processed {"connection_id":179525,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:11:55] local.INFO: Acknowledgment sent {"connection_id":179525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:12:23] local.INFO: TCP Data received {"connection_id":176770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:12:23] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:12:23] local.INFO: IMEI packet received {"connection_id":176770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":176770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:12:28] local.INFO: TCP Data received {"connection_id":176770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:12:28] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:12:28] local.INFO: IMEI packet received {"connection_id":176770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":176770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:12:29] local.INFO: TCP Data received {"connection_id":176770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:12:29] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:12:29] local.INFO: Packet analysis {"connection_id":176770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:12:29] local.INFO: Extracted packet for processing {"connection_id":176770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:12:29] 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-09-10 23:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:12:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:12:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":176770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:12:29] local.INFO: GPS data processed {"connection_id":176770,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:12:29] local.INFO: Acknowledgment sent {"connection_id":176770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:12:33] local.INFO: TCP Data received {"connection_id":176770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:12:33] local.INFO: Processing buffer {"connection_id":176770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:12:33] local.INFO: Packet analysis {"connection_id":176770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:12:33] local.INFO: Extracted packet for processing {"connection_id":176770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:12:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:12: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-09-10 23: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:12: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-09-10 23: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-09-10 23:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23: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-09-10 23:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":176770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:12:33] local.INFO: GPS data processed {"connection_id":176770,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:12:33] local.INFO: Acknowledgment sent {"connection_id":176770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:13:18] local.INFO: TCP Data received {"connection_id":179526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:13:18] local.INFO: Processing buffer {"connection_id":179526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:13:18] local.INFO: IMEI packet received {"connection_id":179526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":179526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:13:23] local.INFO: TCP Data received {"connection_id":179526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:13:23] local.INFO: Processing buffer {"connection_id":179526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:13:23] local.INFO: IMEI packet received {"connection_id":179526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":179526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:13:23] local.INFO: TCP Data received {"connection_id":179526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:13:23] local.INFO: Processing buffer {"connection_id":179526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:13:23] local.INFO: Packet analysis {"connection_id":179526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:13:23] local.INFO: Extracted packet for processing {"connection_id":179526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:13:23] 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-09-10 23:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":179526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:13:23] local.INFO: GPS data processed {"connection_id":179526,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:13:23] local.INFO: Acknowledgment sent {"connection_id":179526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:13:55] local.INFO: TCP Data received {"connection_id":179526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:13:55] local.INFO: Processing buffer {"connection_id":179526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:13:55] local.INFO: Packet analysis {"connection_id":179526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:13:55] local.INFO: Extracted packet for processing {"connection_id":179526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:13:55] 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-09-10 23:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":179526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:13:55] local.INFO: GPS data processed {"connection_id":179526,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:13:55] local.INFO: Acknowledgment sent {"connection_id":179526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:14:18] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:14:18] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:14:18] local.INFO: IMEI packet received {"connection_id":178127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":178127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:14:23] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:14:23] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:14:23] local.INFO: IMEI packet received {"connection_id":178127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":178127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:14:24] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:14:24] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:14:24] local.INFO: Packet analysis {"connection_id":178127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:14:24] local.INFO: Extracted packet for processing {"connection_id":178127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:14:24] 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-09-10 23:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":178127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:14:24] local.INFO: GPS data processed {"connection_id":178127,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:14:24] local.INFO: Acknowledgment sent {"connection_id":178127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:14:55] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:14:55] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:14:55] local.INFO: Packet analysis {"connection_id":178127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:14:55] local.INFO: Extracted packet for processing {"connection_id":178127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:14:55] 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-09-10 23:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:14:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":178127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:14:55] local.INFO: GPS data processed {"connection_id":178127,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:14:55] local.INFO: Acknowledgment sent {"connection_id":178127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:15:18] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:15:18] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:15:18] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:15:23] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:15:23] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:15:23] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:15:24] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:15:24] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:15:24] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:15:24] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:15:24] 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-09-10 23: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-09-10 23:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:15:24] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:15:24] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:15:43] local.INFO: TCP Data received {"connection_id":176774,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:15:43] local.INFO: Processing buffer {"connection_id":176774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:15:43] local.INFO: IMEI packet received {"connection_id":176774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":176774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:15:56] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:15:56] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c685578012d34c54006aa45f0001100e524..."} 
[2026-09-10 23:15:56] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:15:56] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c68"} 
[2026-09-10 23:15:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":17,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999805952001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789062043000,"timestamp_ms":1789062043000,"timestamp_seconds":1789062043,"priority":1,"record_length":96,"hex_timestamp":"000001a08c685578"} 
[2026-09-10 23:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-10 23:15:56] 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-09-10 23:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999805952001,"66":25995,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999805952001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:15:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:15:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999805952001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:15:56] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:15:56] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:16:18] local.INFO: TCP Data received {"connection_id":178128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:18] local.INFO: Processing buffer {"connection_id":178128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:18] local.INFO: IMEI packet received {"connection_id":178128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":178128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:16:22] local.INFO: TCP Data received {"connection_id":178128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:22] local.INFO: Processing buffer {"connection_id":178128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:22] local.INFO: IMEI packet received {"connection_id":178128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":178128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:16:23] local.INFO: TCP Data received {"connection_id":178128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:23] local.INFO: Processing buffer {"connection_id":178128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:16:23] local.INFO: IMEI packet received {"connection_id":178128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":178128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:16:23] local.INFO: TCP Data received {"connection_id":178128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:16:23] local.INFO: Processing buffer {"connection_id":178128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:16:23] local.INFO: Packet analysis {"connection_id":178128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:16:23] local.INFO: Extracted packet for processing {"connection_id":178128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:16:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":178128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:16:23] local.INFO: GPS data processed {"connection_id":178128,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:16:23] local.INFO: Acknowledgment sent {"connection_id":178128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:16:29] local.INFO: TCP Data received {"connection_id":178128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:16:29] local.INFO: Processing buffer {"connection_id":178128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:16:29] local.INFO: Packet analysis {"connection_id":178128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:16:29] local.INFO: Extracted packet for processing {"connection_id":178128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:16:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:16:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":178128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:16:29] local.INFO: GPS data processed {"connection_id":178128,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:16:29] local.INFO: Acknowledgment sent {"connection_id":178128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:17:00] local.INFO: TCP Data received {"connection_id":178128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:00] local.INFO: Processing buffer {"connection_id":178128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:00] local.INFO: Packet analysis {"connection_id":178128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:17:00] local.INFO: Extracted packet for processing {"connection_id":178128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:17:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":178128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:17:00] local.INFO: GPS data processed {"connection_id":178128,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:17:00] local.INFO: Acknowledgment sent {"connection_id":178128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:17:18] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:17:18] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:17:18] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:17:23] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:17:23] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:17:23] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:17:24] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:24] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:24] local.INFO: Packet analysis {"connection_id":176776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:17:24] local.INFO: Extracted packet for processing {"connection_id":176776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":176776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:17:24] local.INFO: GPS data processed {"connection_id":176776,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:17:24] local.INFO: Acknowledgment sent {"connection_id":176776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:17:54] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:54] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:17:54] local.INFO: Packet analysis {"connection_id":176776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:17:54] local.INFO: Extracted packet for processing {"connection_id":176776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:17:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":176776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:17:55] local.INFO: GPS data processed {"connection_id":176776,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:17:55] local.INFO: Acknowledgment sent {"connection_id":176776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:18:18] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:18:18] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:18:18] local.INFO: IMEI packet received {"connection_id":178130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":178130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:18:23] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:18:23] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:18:23] local.INFO: IMEI packet received {"connection_id":178130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":178130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:18:24] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:18:24] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:18:24] local.INFO: Packet analysis {"connection_id":178130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:18:24] local.INFO: Extracted packet for processing {"connection_id":178130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:18:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":178130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:18:24] local.INFO: GPS data processed {"connection_id":178130,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:18:24] local.INFO: Acknowledgment sent {"connection_id":178130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:18:55] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:18:55] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:18:55] local.INFO: Packet analysis {"connection_id":178130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:18:55] local.INFO: Extracted packet for processing {"connection_id":178130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:18:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":178130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:18:55] local.INFO: GPS data processed {"connection_id":178130,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:18:55] local.INFO: Acknowledgment sent {"connection_id":178130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:19:18] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:19:18] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:19:18] local.INFO: IMEI packet received {"connection_id":178131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":178131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:19:25] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:19:25] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:19:25] local.INFO: IMEI packet received {"connection_id":178131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":178131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:19:26] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:19:26] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:19:26] local.INFO: Packet analysis {"connection_id":178131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:19:26] local.INFO: Extracted packet for processing {"connection_id":178131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:19:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:19:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":178131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:19:26] local.INFO: GPS data processed {"connection_id":178131,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:19:26] local.INFO: Acknowledgment sent {"connection_id":178131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:19:57] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:19:57] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:19:57] local.INFO: Packet analysis {"connection_id":178131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:19:57] local.INFO: Extracted packet for processing {"connection_id":178131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:19:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:19:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":178131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:19:57] local.INFO: GPS data processed {"connection_id":178131,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:19:57] local.INFO: Acknowledgment sent {"connection_id":178131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:20:18] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:20:18] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:20:18] local.INFO: IMEI packet received {"connection_id":176996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":176996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:20:23] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:20:23] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:20:23] local.INFO: IMEI packet received {"connection_id":176996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":176996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:20:24] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:20:24] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:20:24] local.INFO: Packet analysis {"connection_id":176996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:20:24] local.INFO: Extracted packet for processing {"connection_id":176996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:20:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":176996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:20:24] local.INFO: GPS data processed {"connection_id":176996,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:20:24] local.INFO: Acknowledgment sent {"connection_id":176996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:20:55] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:20:55] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6ced40012d34c54006aa45f0001400e524..."} 
[2026-09-10 23:20:55] local.INFO: Packet analysis {"connection_id":176996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:20:55] local.INFO: Extracted packet for processing {"connection_id":176996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6c"} 
[2026-09-10 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":20,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999883008001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:20:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-10 23:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-10 23:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062344000,"timestamp_ms":1789062344000,"timestamp_seconds":1789062344,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6ced40"} 
[2026-09-10 23:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999883008001,"66":25995,"200":0,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-10 23:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999883008001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:20:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999883008001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":176996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:20:55] local.INFO: GPS data processed {"connection_id":176996,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:20:55] local.INFO: Acknowledgment sent {"connection_id":176996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:21:18] local.INFO: TCP Data received {"connection_id":179527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:21:18] local.INFO: Processing buffer {"connection_id":179527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:21:18] local.INFO: IMEI packet received {"connection_id":179527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":179527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:21:18] local.INFO: TCP Data received {"connection_id":178132,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:18] local.INFO: Processing buffer {"connection_id":178132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:18] local.INFO: IMEI packet received {"connection_id":178132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":178132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:21:20] local.INFO: TCP Data received {"connection_id":178132,"ip":"117.224.168.70","data_length":93,"data_hex":"00000000000000518e01000001a08c62b028012ce093400726d4e8000600622f..."} 
[2026-09-10 23:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178132,"packet_length":93,"packet_hex":"00000000000000518e01000001a08c62b028012ce093400726d4e8000600622f..."} 
[2026-09-10 23:21:20] local.INFO: Processing buffer {"connection_id":178132,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a08c62b028012ce093400726d4e8000600622f..."} 
[2026-09-10 23:21:20] local.INFO: Packet analysis {"connection_id":178132,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a08c62"} 
[2026-09-10 23:21:20] local.INFO: Extracted packet for processing {"connection_id":178132,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a08c62"} 
[2026-09-10 23:21:20] local.INFO: GPS Element Parsed {"raw_longitude":752915264,"raw_latitude":119985384,"longitude_deg":75.2915264,"latitude_deg":11.9985384,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce09340","hex_latitude":"0726d4e8","is_valid_coordinates":true} 
[2026-09-10 23:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-10 23:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:21:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:21:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-10 23:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178132,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-10 23:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178132,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-10 23:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178132,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-10 23:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-10 23:21:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-10 23:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":178132,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-10 23:21:20] local.ERROR: GPS data processing failed {"connection_id":178132,"error":"No valid data to process"} 
[2026-09-10 23:21:20] local.INFO: Acknowledgment sent {"connection_id":178132,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-10 23:21:23] local.INFO: TCP Data received {"connection_id":179527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:21:23] local.INFO: Processing buffer {"connection_id":179527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:21:23] local.INFO: IMEI packet received {"connection_id":179527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":179527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:21:23] local.INFO: TCP Data received {"connection_id":179527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:21:23] local.INFO: Processing buffer {"connection_id":179527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:21:23] local.INFO: Packet analysis {"connection_id":179527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:21:23] local.INFO: Extracted packet for processing {"connection_id":179527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":179527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:21:24] local.INFO: GPS data processed {"connection_id":179527,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:21:24] local.INFO: Acknowledgment sent {"connection_id":179527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:21:37] local.INFO: TCP Data received {"connection_id":178133,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:37] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:37] local.INFO: IMEI packet received {"connection_id":178133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":178133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:21:43] local.INFO: TCP Data received {"connection_id":178133,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:43] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:21:43] local.INFO: IMEI packet received {"connection_id":178133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":178133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:21:44] local.INFO: TCP Data received {"connection_id":178133,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c674bd8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c674bd8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:21:44] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c674bd8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:21:44] local.INFO: Packet analysis {"connection_id":178133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c67"} 
[2026-09-10 23:21:44] local.INFO: Extracted packet for processing {"connection_id":178133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c67"} 
[2026-09-10 23:21:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999788288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264395788176791552,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789061975000,"timestamp_ms":1789061975000,"timestamp_seconds":1789061975,"priority":1,"record_length":96,"hex_timestamp":"000001a08c674bd8"} 
[2026-09-10 23:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-10 23:21:44] 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-09-10 23:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999788288001,"66":25473,"151":206,"83":43008,"24":0,"16":3893920429768704,"44":-2264395788176791552},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 23:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999788288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:21:44] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 23:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264395788176791552,"description":"Unknown IO ID 44"} 
[2026-09-10 23:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999788288001,"power":25473,"unknown_151":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-2264395788176791552}} 
[2026-09-10 23:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":178133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:21:44] local.INFO: GPS data processed {"connection_id":178133,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:21:44] local.INFO: Acknowledgment sent {"connection_id":178133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:21:54] local.INFO: TCP Data received {"connection_id":179527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:21:54] local.INFO: Processing buffer {"connection_id":179527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:21:54] local.INFO: Packet analysis {"connection_id":179527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:21:54] local.INFO: Extracted packet for processing {"connection_id":179527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":179527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":179527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":179527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:21:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":179527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:21:54] local.INFO: GPS data processed {"connection_id":179527,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:21:54] local.INFO: Acknowledgment sent {"connection_id":179527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:22:16] local.INFO: TCP Data received {"connection_id":178133,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:22:16] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:22:16] local.INFO: Packet analysis {"connection_id":178133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:22:16] local.INFO: Extracted packet for processing {"connection_id":178133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:22:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999865600001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789062276000,"timestamp_ms":1789062276000,"timestamp_seconds":1789062276,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6be3a0"} 
[2026-09-10 23:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 23:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999865600001,"66":25278,"151":206,"83":43008,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 23:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999865600001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:22:16] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 23:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:22:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999865600001,"power":25278,"unknown_151":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":178133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:22:16] local.INFO: GPS data processed {"connection_id":178133,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:22:16] local.INFO: Acknowledgment sent {"connection_id":178133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:22:23] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:22:23] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:22:23] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:22:28] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:22:28] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:22:28] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:22:28] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:22:28] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:22:28] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:22:28] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:22:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:22:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:22:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:22:28] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:22:28] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:22:33] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:22:33] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:22:33] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:22:33] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:22:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23: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-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:22: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-09-10 23:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:22:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:22:33] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:22:33] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:22:33] local.INFO: TCP Data received {"connection_id":179528,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:22:33] local.INFO: Processing buffer {"connection_id":179528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:22:33] local.INFO: IMEI packet received {"connection_id":179528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":179528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:22:37] local.INFO: TCP Data received {"connection_id":179528,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:22:37] local.INFO: Processing buffer {"connection_id":179528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:22:37] local.INFO: IMEI packet received {"connection_id":179528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":179528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:22:39] local.INFO: TCP Data received {"connection_id":179528,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:22:39] local.INFO: Processing buffer {"connection_id":179528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:22:39] local.INFO: Packet analysis {"connection_id":179528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:22:39] local.INFO: Extracted packet for processing {"connection_id":179528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:22:39] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999865600001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789062276000,"timestamp_ms":1789062276000,"timestamp_seconds":1789062276,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6be3a0"} 
[2026-09-10 23:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 23:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":179528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":179528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":179528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999865600001,"66":25278,"151":206,"83":43008,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 23:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999865600001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:22:39] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 23:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999865600001,"power":25278,"unknown_151":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":179528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:22:39] local.INFO: GPS data processed {"connection_id":179528,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:22:39] local.INFO: Acknowledgment sent {"connection_id":179528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:23:10] local.INFO: TCP Data received {"connection_id":179528,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:23:10] local.INFO: Processing buffer {"connection_id":179528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:23:10] local.INFO: Packet analysis {"connection_id":179528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:23:10] local.INFO: Extracted packet for processing {"connection_id":179528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:23:10] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999865600001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789062276000,"timestamp_ms":1789062276000,"timestamp_seconds":1789062276,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6be3a0"} 
[2026-09-10 23:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 23:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":179528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":179528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":179528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999865600001,"66":25278,"151":206,"83":43008,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 23:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999865600001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:23:10] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 23:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999865600001,"power":25278,"unknown_151":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":179528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:23:11] local.INFO: GPS data processed {"connection_id":179528,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:23:11] local.INFO: Acknowledgment sent {"connection_id":179528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:23:18] local.INFO: TCP Data received {"connection_id":178134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:23:18] local.INFO: Processing buffer {"connection_id":178134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:23:18] local.INFO: IMEI packet received {"connection_id":178134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":178134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:23:23] local.INFO: TCP Data received {"connection_id":178134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:23:23] local.INFO: Processing buffer {"connection_id":178134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:23:23] local.INFO: IMEI packet received {"connection_id":178134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":178134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:23:24] local.INFO: TCP Data received {"connection_id":178134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:23:24] local.INFO: Processing buffer {"connection_id":178134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:23:24] local.INFO: Packet analysis {"connection_id":178134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:23:24] local.INFO: Extracted packet for processing {"connection_id":178134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":178134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:23:24] local.INFO: GPS data processed {"connection_id":178134,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:23:24] local.INFO: Acknowledgment sent {"connection_id":178134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:23:28] local.INFO: TCP Data received {"connection_id":178134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:23:28] local.INFO: Processing buffer {"connection_id":178134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:23:28] local.INFO: Packet analysis {"connection_id":178134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:23:28] local.INFO: Extracted packet for processing {"connection_id":178134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:23:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:23:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:23:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":178134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:23:28] local.INFO: GPS data processed {"connection_id":178134,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:23:28] local.INFO: Acknowledgment sent {"connection_id":178134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:23:37] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:23:37] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:23:37] local.INFO: IMEI packet received {"connection_id":176778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":176778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:23:43] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:23:43] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:23:43] local.INFO: IMEI packet received {"connection_id":176778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:23:44] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:23:44] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c6be3a0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:23:44] local.INFO: Packet analysis {"connection_id":176778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:23:44] local.INFO: Extracted packet for processing {"connection_id":176778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c6b"} 
[2026-09-10 23:23:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999865600001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789062276000,"timestamp_ms":1789062276000,"timestamp_seconds":1789062276,"priority":1,"record_length":96,"hex_timestamp":"000001a08c6be3a0"} 
[2026-09-10 23:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-10 23:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999865600001,"66":25278,"151":206,"83":43008,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-10 23:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999865600001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:23:44] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-10 23:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:23:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999865600001,"power":25278,"unknown_151":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":176778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:23:44] local.INFO: GPS data processed {"connection_id":176778,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:23:44] local.INFO: Acknowledgment sent {"connection_id":176778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:24:00] local.INFO: TCP Data received {"connection_id":178134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:00] local.INFO: Processing buffer {"connection_id":178134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:00] local.INFO: Packet analysis {"connection_id":178134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:24:00] local.INFO: Extracted packet for processing {"connection_id":178134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":178134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:24:00] local.INFO: GPS data processed {"connection_id":178134,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:24:00] local.INFO: Acknowledgment sent {"connection_id":178134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:24:15] local.INFO: TCP Data received {"connection_id":176778,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:24:15] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:24:15] local.INFO: Packet analysis {"connection_id":176778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:24:15] local.INFO: Extracted packet for processing {"connection_id":176778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:24:15] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:24:15] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":176778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:24:16] local.INFO: GPS data processed {"connection_id":176778,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:24:16] local.INFO: Acknowledgment sent {"connection_id":176778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:24:18] local.INFO: TCP Data received {"connection_id":179529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:24:18] local.INFO: Processing buffer {"connection_id":179529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:24:18] local.INFO: IMEI packet received {"connection_id":179529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":179529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:24:23] local.INFO: TCP Data received {"connection_id":179529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:24:23] local.INFO: Processing buffer {"connection_id":179529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:24:23] local.INFO: IMEI packet received {"connection_id":179529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":179529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:24:24] local.INFO: TCP Data received {"connection_id":179529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:24] local.INFO: Processing buffer {"connection_id":179529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:24] local.INFO: Packet analysis {"connection_id":179529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:24:24] local.INFO: Extracted packet for processing {"connection_id":179529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":179529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:24:24] local.INFO: GPS data processed {"connection_id":179529,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:24:24] local.INFO: Acknowledgment sent {"connection_id":179529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:24:37] local.INFO: TCP Data received {"connection_id":179530,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:24:37] local.INFO: Processing buffer {"connection_id":179530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:24:37] local.INFO: IMEI packet received {"connection_id":179530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":179530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:24:43] local.INFO: TCP Data received {"connection_id":179530,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:24:43] local.INFO: Processing buffer {"connection_id":179530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:24:43] local.INFO: IMEI packet received {"connection_id":179530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":179530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:24:44] local.INFO: TCP Data received {"connection_id":179530,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:24:44] local.INFO: Processing buffer {"connection_id":179530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:24:44] local.INFO: Packet analysis {"connection_id":179530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:24:44] local.INFO: Extracted packet for processing {"connection_id":179530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:24:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:24:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:24:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":179530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:24:44] local.INFO: GPS data processed {"connection_id":179530,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:24:44] local.INFO: Acknowledgment sent {"connection_id":179530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:24:55] local.INFO: TCP Data received {"connection_id":179529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:55] local.INFO: Processing buffer {"connection_id":179529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:24:55] local.INFO: Packet analysis {"connection_id":179529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:24:55] local.INFO: Extracted packet for processing {"connection_id":179529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:24:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:24:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":179529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:24:55] local.INFO: GPS data processed {"connection_id":179529,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:24:55] local.INFO: Acknowledgment sent {"connection_id":179529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:25:15] local.INFO: TCP Data received {"connection_id":179530,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:25:15] local.INFO: Processing buffer {"connection_id":179530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:25:15] local.INFO: Packet analysis {"connection_id":179530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:25:15] local.INFO: Extracted packet for processing {"connection_id":179530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:25:15] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:25:15] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":179530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:25:16] local.INFO: GPS data processed {"connection_id":179530,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:25:16] local.INFO: Acknowledgment sent {"connection_id":179530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:25:18] local.INFO: TCP Data received {"connection_id":179531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:25:18] local.INFO: Processing buffer {"connection_id":179531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:25:18] local.INFO: IMEI packet received {"connection_id":179531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":179531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:25:23] local.INFO: TCP Data received {"connection_id":179531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:25:23] local.INFO: Processing buffer {"connection_id":179531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:25:23] local.INFO: IMEI packet received {"connection_id":179531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":179531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:25:24] local.INFO: TCP Data received {"connection_id":179531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:25:24] local.INFO: Processing buffer {"connection_id":179531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:25:24] local.INFO: Packet analysis {"connection_id":179531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:25:24] local.INFO: Extracted packet for processing {"connection_id":179531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":179531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:25:24] local.INFO: GPS data processed {"connection_id":179531,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:25:24] local.INFO: Acknowledgment sent {"connection_id":179531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:25:37] local.INFO: TCP Data received {"connection_id":179532,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:25:37] local.INFO: Processing buffer {"connection_id":179532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:25:37] local.INFO: IMEI packet received {"connection_id":179532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":179532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:25:42] local.INFO: TCP Data received {"connection_id":179532,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:25:42] local.INFO: Processing buffer {"connection_id":179532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:25:42] local.INFO: IMEI packet received {"connection_id":179532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":179532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:25:44] local.INFO: TCP Data received {"connection_id":179532,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:25:44] local.INFO: Processing buffer {"connection_id":179532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:25:44] local.INFO: Packet analysis {"connection_id":179532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:25:44] local.INFO: Extracted packet for processing {"connection_id":179532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:25:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:25:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:25:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":179532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:25:44] local.INFO: GPS data processed {"connection_id":179532,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:25:44] local.INFO: Acknowledgment sent {"connection_id":179532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:25:56] local.INFO: TCP Data received {"connection_id":179531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:25:56] local.INFO: Processing buffer {"connection_id":179531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c718508012d34c54006aa45f0001a00e520..."} 
[2026-09-10 23:25:56] local.INFO: Packet analysis {"connection_id":179531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:25:56] local.INFO: Extracted packet for processing {"connection_id":179531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c71"} 
[2026-09-10 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999960064001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789062645000,"timestamp_ms":1789062645000,"timestamp_seconds":1789062645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c718508"} 
[2026-09-10 23:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-10 23:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999960064001,"66":25908,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999960064001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:25:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:25:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999960064001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":179531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:25:56] local.INFO: GPS data processed {"connection_id":179531,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:25:56] local.INFO: Acknowledgment sent {"connection_id":179531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:26:16] local.INFO: TCP Data received {"connection_id":179532,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:26:16] local.INFO: Processing buffer {"connection_id":179532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:26:16] local.INFO: Packet analysis {"connection_id":179532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:26:16] local.INFO: Extracted packet for processing {"connection_id":179532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:26:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:26:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":179532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:26:16] local.INFO: GPS data processed {"connection_id":179532,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:26:16] local.INFO: Acknowledgment sent {"connection_id":179532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:26:23] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:26:23] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:26:23] local.INFO: IMEI packet received {"connection_id":178135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":178135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:26:24] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:26:24] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:26:24] local.INFO: IMEI packet received {"connection_id":178135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":178135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:26:25] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:25] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:25] local.INFO: Packet analysis {"connection_id":178135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:26:25] local.INFO: Extracted packet for processing {"connection_id":178135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":178135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:26:25] local.INFO: GPS data processed {"connection_id":178135,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:26:25] local.INFO: Acknowledgment sent {"connection_id":178135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:26:28] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:28] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:28] local.INFO: Packet analysis {"connection_id":178135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:26:28] local.INFO: Extracted packet for processing {"connection_id":178135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:26:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:26:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:26:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":178135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:26:28] local.INFO: GPS data processed {"connection_id":178135,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:26:28] local.INFO: Acknowledgment sent {"connection_id":178135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:26:38] local.INFO: TCP Data received {"connection_id":176997,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:26:38] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:26:38] local.INFO: IMEI packet received {"connection_id":176997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":176997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:26:43] local.INFO: TCP Data received {"connection_id":176997,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:26:43] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:26:43] local.INFO: IMEI packet received {"connection_id":176997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:26:44] local.INFO: TCP Data received {"connection_id":176997,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:26:44] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:26:44] local.INFO: Packet analysis {"connection_id":176997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:26:44] local.INFO: Extracted packet for processing {"connection_id":176997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:26:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:26:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":176997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:26:44] local.INFO: GPS data processed {"connection_id":176997,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:26:44] local.INFO: Acknowledgment sent {"connection_id":176997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:26:59] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:59] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:26:59] local.INFO: Packet analysis {"connection_id":178135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:26:59] local.INFO: Extracted packet for processing {"connection_id":178135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:26:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":178135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:26:59] local.INFO: GPS data processed {"connection_id":178135,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:26:59] local.INFO: Acknowledgment sent {"connection_id":178135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:27:16] local.INFO: TCP Data received {"connection_id":176997,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:27:16] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:27:16] local.INFO: Packet analysis {"connection_id":176997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:27:16] local.INFO: Extracted packet for processing {"connection_id":176997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:27:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:27:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:27:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":176997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:27:16] local.INFO: GPS data processed {"connection_id":176997,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:27:16] local.INFO: Acknowledgment sent {"connection_id":176997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:27:18] local.INFO: TCP Data received {"connection_id":178136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:27:18] local.INFO: Processing buffer {"connection_id":178136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:27:18] local.INFO: IMEI packet received {"connection_id":178136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":178136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:27:23] local.INFO: TCP Data received {"connection_id":178136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:27:23] local.INFO: Processing buffer {"connection_id":178136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:27:23] local.INFO: IMEI packet received {"connection_id":178136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":178136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:27:23] local.INFO: TCP Data received {"connection_id":178136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:27:23] local.INFO: Processing buffer {"connection_id":178136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:27:23] local.INFO: Packet analysis {"connection_id":178136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:27:23] local.INFO: Extracted packet for processing {"connection_id":178136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 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-09-10 23:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 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-09-10 23:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 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-09-10 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-09-10 23:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:27:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":178136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:27:23] local.INFO: GPS data processed {"connection_id":178136,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:27:23] local.INFO: Acknowledgment sent {"connection_id":178136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:27:37] local.INFO: TCP Data received {"connection_id":179533,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:27:37] local.INFO: Processing buffer {"connection_id":179533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:27:37] local.INFO: IMEI packet received {"connection_id":179533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":179533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:27:43] local.INFO: TCP Data received {"connection_id":179533,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:27:43] local.INFO: Processing buffer {"connection_id":179533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:27:43] local.INFO: IMEI packet received {"connection_id":179533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":179533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:27:44] local.INFO: TCP Data received {"connection_id":179533,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:27:44] local.INFO: Processing buffer {"connection_id":179533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:27:44] local.INFO: Packet analysis {"connection_id":179533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:27:44] local.INFO: Extracted packet for processing {"connection_id":179533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:27:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:27:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:27:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":179533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:27:44] local.INFO: GPS data processed {"connection_id":179533,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:27:44] local.INFO: Acknowledgment sent {"connection_id":179533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:27:55] local.INFO: TCP Data received {"connection_id":178136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:27:55] local.INFO: Processing buffer {"connection_id":178136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:27:55] local.INFO: Packet analysis {"connection_id":178136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:27:55] local.INFO: Extracted packet for processing {"connection_id":178136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:27:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:27:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":178136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:27:55] local.INFO: GPS data processed {"connection_id":178136,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:27:55] local.INFO: Acknowledgment sent {"connection_id":178136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:28:16] local.INFO: TCP Data received {"connection_id":179533,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:28:16] local.INFO: Processing buffer {"connection_id":179533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:28:16] local.INFO: Packet analysis {"connection_id":179533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:28:16] local.INFO: Extracted packet for processing {"connection_id":179533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:28:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:28:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:28:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":179533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:28:16] local.INFO: GPS data processed {"connection_id":179533,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:28:16] local.INFO: Acknowledgment sent {"connection_id":179533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:28:18] local.INFO: TCP Data received {"connection_id":179534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:28:18] local.INFO: Processing buffer {"connection_id":179534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:28:18] local.INFO: IMEI packet received {"connection_id":179534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":179534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:28:23] local.INFO: TCP Data received {"connection_id":179534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:28:23] local.INFO: Processing buffer {"connection_id":179534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:28:23] local.INFO: IMEI packet received {"connection_id":179534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":179534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:28:24] local.INFO: TCP Data received {"connection_id":179534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:28:24] local.INFO: Processing buffer {"connection_id":179534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:28:24] local.INFO: Packet analysis {"connection_id":179534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:28:24] local.INFO: Extracted packet for processing {"connection_id":179534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":179534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:28:24] local.INFO: GPS data processed {"connection_id":179534,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:28:24] local.INFO: Acknowledgment sent {"connection_id":179534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:28:37] local.INFO: TCP Data received {"connection_id":176998,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:28:37] local.INFO: Processing buffer {"connection_id":176998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:28:37] local.INFO: IMEI packet received {"connection_id":176998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":176998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:28:43] local.INFO: TCP Data received {"connection_id":176998,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:28:43] local.INFO: Processing buffer {"connection_id":176998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:28:43] local.INFO: IMEI packet received {"connection_id":176998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":176998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:28:44] local.INFO: TCP Data received {"connection_id":176998,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:28:44] local.INFO: Processing buffer {"connection_id":176998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c741d18012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:28:44] local.INFO: Packet analysis {"connection_id":176998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:28:44] local.INFO: Extracted packet for processing {"connection_id":176998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c74"} 
[2026-09-10 23:28:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457999942656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789062815000,"timestamp_ms":1789062815000,"timestamp_seconds":1789062815,"priority":1,"record_length":96,"hex_timestamp":"000001a08c741d18"} 
[2026-09-10 23:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457999942656001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457999942656001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:28:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:28:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457999942656001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":176998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:28:44] local.INFO: GPS data processed {"connection_id":176998,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:28:44] local.INFO: Acknowledgment sent {"connection_id":176998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:28:55] local.INFO: TCP Data received {"connection_id":179534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:28:55] local.INFO: Processing buffer {"connection_id":179534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:28:55] local.INFO: Packet analysis {"connection_id":179534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:28:55] local.INFO: Extracted packet for processing {"connection_id":179534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:28:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:28:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":179534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:28:55] local.INFO: GPS data processed {"connection_id":179534,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:28:55] local.INFO: Acknowledgment sent {"connection_id":179534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:29:15] local.INFO: TCP Data received {"connection_id":176998,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:29:15] local.INFO: Processing buffer {"connection_id":176998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:29:15] local.INFO: Packet analysis {"connection_id":176998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:29:15] local.INFO: Extracted packet for processing {"connection_id":176998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:29:15] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":176998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:29:16] local.INFO: GPS data processed {"connection_id":176998,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:29:16] local.INFO: Acknowledgment sent {"connection_id":176998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:29:18] local.INFO: TCP Data received {"connection_id":179535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:29:18] local.INFO: Processing buffer {"connection_id":179535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:29:18] local.INFO: IMEI packet received {"connection_id":179535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":179535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:29:23] local.INFO: TCP Data received {"connection_id":179535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:29:23] local.INFO: Processing buffer {"connection_id":179535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:29:23] local.INFO: IMEI packet received {"connection_id":179535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":179535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:29:24] local.INFO: TCP Data received {"connection_id":179535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:29:24] local.INFO: Processing buffer {"connection_id":179535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:29:24] local.INFO: Packet analysis {"connection_id":179535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:29:24] local.INFO: Extracted packet for processing {"connection_id":179535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":179535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:29:24] local.INFO: GPS data processed {"connection_id":179535,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:29:24] local.INFO: Acknowledgment sent {"connection_id":179535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:29:43] local.INFO: TCP Data received {"connection_id":176779,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:29:43] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:29:43] local.INFO: IMEI packet received {"connection_id":176779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:29:48] local.INFO: TCP Data received {"connection_id":176779,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:29:48] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:29:48] local.INFO: IMEI packet received {"connection_id":176779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":176779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:29:49] local.INFO: TCP Data received {"connection_id":176779,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:29:49] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:29:49] local.INFO: Packet analysis {"connection_id":176779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:29:49] local.INFO: Extracted packet for processing {"connection_id":176779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:29:49] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:29:49] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":176779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:29:49] local.INFO: GPS data processed {"connection_id":176779,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:29:49] local.INFO: Acknowledgment sent {"connection_id":176779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:29:55] local.INFO: TCP Data received {"connection_id":179535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:29:55] local.INFO: Processing buffer {"connection_id":179535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:29:55] local.INFO: Packet analysis {"connection_id":179535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:29:55] local.INFO: Extracted packet for processing {"connection_id":179535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:29:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:29:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":179535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:29:55] local.INFO: GPS data processed {"connection_id":179535,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:29:55] local.INFO: Acknowledgment sent {"connection_id":179535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:30:18] local.INFO: TCP Data received {"connection_id":179536,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:30:18] local.INFO: Processing buffer {"connection_id":179536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:30:18] local.INFO: IMEI packet received {"connection_id":179536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":179536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:30:22] local.INFO: TCP Data received {"connection_id":176779,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:30:22] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:30:22] local.INFO: Packet analysis {"connection_id":176779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:30:22] local.INFO: Extracted packet for processing {"connection_id":176779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:30:22] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:30:22] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":176779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:30:22] local.INFO: GPS data processed {"connection_id":176779,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:30:22] local.INFO: Acknowledgment sent {"connection_id":176779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:30:23] local.INFO: TCP Data received {"connection_id":179536,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:30:23] local.INFO: Processing buffer {"connection_id":179536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:30:23] local.INFO: IMEI packet received {"connection_id":179536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":179536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:30:24] local.INFO: TCP Data received {"connection_id":179536,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:30:24] local.INFO: Processing buffer {"connection_id":179536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:30:24] local.INFO: Packet analysis {"connection_id":179536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:30:24] local.INFO: Extracted packet for processing {"connection_id":179536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":179536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:30:24] local.INFO: GPS data processed {"connection_id":179536,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:30:24] local.INFO: Acknowledgment sent {"connection_id":179536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:30:38] local.INFO: TCP Data received {"connection_id":179537,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:30:38] local.INFO: Processing buffer {"connection_id":179537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:30:38] local.INFO: IMEI packet received {"connection_id":179537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":179537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:30:43] local.INFO: TCP Data received {"connection_id":179537,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:30:43] local.INFO: Processing buffer {"connection_id":179537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:30:43] local.INFO: IMEI packet received {"connection_id":179537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":179537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:30:44] local.INFO: TCP Data received {"connection_id":179537,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:30:44] local.INFO: Processing buffer {"connection_id":179537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:30:44] local.INFO: Packet analysis {"connection_id":179537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:30:44] local.INFO: Extracted packet for processing {"connection_id":179537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:30:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:30:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:30:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":179537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:30:44] local.INFO: GPS data processed {"connection_id":179537,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:30:44] local.INFO: Acknowledgment sent {"connection_id":179537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:30:55] local.INFO: TCP Data received {"connection_id":179536,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:30:55] local.INFO: Processing buffer {"connection_id":179536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c761cd0012d34c54006aa45f0001a00e525..."} 
[2026-09-10 23:30:55] local.INFO: Packet analysis {"connection_id":179536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:30:55] local.INFO: Extracted packet for processing {"connection_id":179536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c76"} 
[2026-09-10 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":26,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000037120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789062946000,"timestamp_ms":1789062946000,"timestamp_seconds":1789062946,"priority":1,"record_length":96,"hex_timestamp":"000001a08c761cd0"} 
[2026-09-10 23:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-10 23:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000037120001,"66":25875,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000037120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:30:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:30:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000037120001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":179536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:30:55] local.INFO: GPS data processed {"connection_id":179536,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:30:55] local.INFO: Acknowledgment sent {"connection_id":179536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:31:16] local.INFO: TCP Data received {"connection_id":179537,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:31:16] local.INFO: Processing buffer {"connection_id":179537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:31:16] local.INFO: Packet analysis {"connection_id":179537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:31:16] local.INFO: Extracted packet for processing {"connection_id":179537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:31:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:31:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":179537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:31:16] local.INFO: GPS data processed {"connection_id":179537,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:31:16] local.INFO: Acknowledgment sent {"connection_id":179537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:31:23] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:31:23] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:31:23] local.INFO: IMEI packet received {"connection_id":176999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":176999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:31:25] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:31:25] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:31:25] local.INFO: IMEI packet received {"connection_id":176999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":176999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:31:25] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:25] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:25] local.INFO: Packet analysis {"connection_id":176999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:31:25] local.INFO: Extracted packet for processing {"connection_id":176999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:31:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":176999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:31:25] local.INFO: GPS data processed {"connection_id":176999,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:31:25] local.INFO: Acknowledgment sent {"connection_id":176999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:31:28] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:28] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:28] local.INFO: Packet analysis {"connection_id":176999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:31:28] local.INFO: Extracted packet for processing {"connection_id":176999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:31:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:31:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:31:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":176999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:31:28] local.INFO: GPS data processed {"connection_id":176999,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:31:28] local.INFO: Acknowledgment sent {"connection_id":176999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:31:37] local.INFO: TCP Data received {"connection_id":176780,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:31:37] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:31:37] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:31:43] local.INFO: TCP Data received {"connection_id":176780,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:31:43] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:31:43] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:31:44] local.INFO: TCP Data received {"connection_id":176780,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:31:44] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:31:44] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:31:44] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:31:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:31:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:31:44] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:31:44] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:31:59] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:59] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:31:59] local.INFO: Packet analysis {"connection_id":176999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:31:59] local.INFO: Extracted packet for processing {"connection_id":176999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:31:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:31:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":176999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:31:59] local.INFO: GPS data processed {"connection_id":176999,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:31:59] local.INFO: Acknowledgment sent {"connection_id":176999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:32:16] local.INFO: TCP Data received {"connection_id":176780,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:32:16] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:32:16] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:32:16] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:32:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:32:16] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:32:16] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:32:18] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:32:18] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:32:18] local.INFO: IMEI packet received {"connection_id":178137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":178137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:32:23] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:32:23] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:32:23] local.INFO: IMEI packet received {"connection_id":178137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":178137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:32:24] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:32:24] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:32:24] local.INFO: Packet analysis {"connection_id":178137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:32:24] local.INFO: Extracted packet for processing {"connection_id":178137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":178137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:32:24] local.INFO: GPS data processed {"connection_id":178137,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:32:24] local.INFO: Acknowledgment sent {"connection_id":178137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:32:37] local.INFO: TCP Data received {"connection_id":179538,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:32:37] local.INFO: Processing buffer {"connection_id":179538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:32:37] local.INFO: IMEI packet received {"connection_id":179538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":179538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:32:43] local.INFO: TCP Data received {"connection_id":179538,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:32:43] local.INFO: Processing buffer {"connection_id":179538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:32:43] local.INFO: IMEI packet received {"connection_id":179538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":179538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:32:45] local.INFO: TCP Data received {"connection_id":179538,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:32:45] local.INFO: Processing buffer {"connection_id":179538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:32:45] local.INFO: Packet analysis {"connection_id":179538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:32:45] local.INFO: Extracted packet for processing {"connection_id":179538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":179538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":179538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":179538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:32:45] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":179538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:32:45] local.INFO: GPS data processed {"connection_id":179538,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:32:45] local.INFO: Acknowledgment sent {"connection_id":179538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:32:56] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:32:56] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:32:56] local.INFO: Packet analysis {"connection_id":178137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:32:56] local.INFO: Extracted packet for processing {"connection_id":178137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:32:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:32:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":178137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:32:56] local.INFO: GPS data processed {"connection_id":178137,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:32:56] local.INFO: Acknowledgment sent {"connection_id":178137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:33:16] local.INFO: TCP Data received {"connection_id":179538,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:33:16] local.INFO: Processing buffer {"connection_id":179538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:33:16] local.INFO: Packet analysis {"connection_id":179538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:33:16] local.INFO: Extracted packet for processing {"connection_id":179538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:33:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:33:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:33:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":179538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:33:16] local.INFO: GPS data processed {"connection_id":179538,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:33:16] local.INFO: Acknowledgment sent {"connection_id":179538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:33:18] local.INFO: TCP Data received {"connection_id":178138,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:33:18] local.INFO: Processing buffer {"connection_id":178138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:33:18] local.INFO: IMEI packet received {"connection_id":178138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":178138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:33:23] local.INFO: TCP Data received {"connection_id":178138,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:33:23] local.INFO: Processing buffer {"connection_id":178138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:33:23] local.INFO: IMEI packet received {"connection_id":178138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":178138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:33:24] local.INFO: TCP Data received {"connection_id":178138,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:33:24] local.INFO: Processing buffer {"connection_id":178138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:33:24] local.INFO: Packet analysis {"connection_id":178138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:33:24] local.INFO: Extracted packet for processing {"connection_id":178138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":178138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:33:24] local.INFO: GPS data processed {"connection_id":178138,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:33:24] local.INFO: Acknowledgment sent {"connection_id":178138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:33:37] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:33:37] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:33:37] local.INFO: IMEI packet received {"connection_id":176781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":176781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:33:43] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:33:43] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:33:43] local.INFO: IMEI packet received {"connection_id":176781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":176781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:33:44] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:33:44] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:33:44] local.INFO: Packet analysis {"connection_id":176781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:33:44] local.INFO: Extracted packet for processing {"connection_id":176781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:33:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:33:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":176781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:33:45] local.INFO: GPS data processed {"connection_id":176781,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:33:45] local.INFO: Acknowledgment sent {"connection_id":176781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:33:55] local.INFO: TCP Data received {"connection_id":178138,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:33:55] local.INFO: Processing buffer {"connection_id":178138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:33:55] local.INFO: Packet analysis {"connection_id":178138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:33:55] local.INFO: Extracted packet for processing {"connection_id":178138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:33:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:33:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":178138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:33:55] local.INFO: GPS data processed {"connection_id":178138,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:33:55] local.INFO: Acknowledgment sent {"connection_id":178138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:34:16] local.INFO: TCP Data received {"connection_id":176781,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:34:16] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c78b4e0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:34:16] local.INFO: Packet analysis {"connection_id":176781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:34:16] local.INFO: Extracted packet for processing {"connection_id":176781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c78"} 
[2026-09-10 23:34:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000080640001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789063116000,"timestamp_ms":1789063116000,"timestamp_seconds":1789063116,"priority":1,"record_length":96,"hex_timestamp":"000001a08c78b4e0"} 
[2026-09-10 23:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000080640001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000080640001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:34:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000080640001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":176781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:34:16] local.INFO: GPS data processed {"connection_id":176781,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:34:16] local.INFO: Acknowledgment sent {"connection_id":176781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:34:18] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:34:18] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:34:18] local.INFO: IMEI packet received {"connection_id":177000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":177000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:34:23] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:34:23] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:34:23] local.INFO: IMEI packet received {"connection_id":177000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":177000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:34:24] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:34:24] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:34:24] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:34:24] local.INFO: Extracted packet for processing {"connection_id":177000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":177000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:34:24] local.INFO: GPS data processed {"connection_id":177000,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:34:24] local.INFO: Acknowledgment sent {"connection_id":177000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:34:38] local.INFO: TCP Data received {"connection_id":178139,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:34:38] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:34:38] local.INFO: IMEI packet received {"connection_id":178139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":178139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:34:43] local.INFO: TCP Data received {"connection_id":178139,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:34:43] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:34:43] local.INFO: IMEI packet received {"connection_id":178139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":178139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:34:45] local.INFO: TCP Data received {"connection_id":178139,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:34:45] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:34:45] local.INFO: Packet analysis {"connection_id":178139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:34:45] local.INFO: Extracted packet for processing {"connection_id":178139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:34:45] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:34:45] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":178139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:34:45] local.INFO: GPS data processed {"connection_id":178139,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:34:45] local.INFO: Acknowledgment sent {"connection_id":178139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:34:56] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:34:56] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:34:56] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:34:56] local.INFO: Extracted packet for processing {"connection_id":177000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":177000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:34:56] local.INFO: GPS data processed {"connection_id":177000,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:34:56] local.INFO: Acknowledgment sent {"connection_id":177000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:35:16] local.INFO: TCP Data received {"connection_id":178139,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:35:16] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:35:16] local.INFO: Packet analysis {"connection_id":178139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:35:16] local.INFO: Extracted packet for processing {"connection_id":178139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:35:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:35:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":178139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:35:16] local.INFO: GPS data processed {"connection_id":178139,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:35:16] local.INFO: Acknowledgment sent {"connection_id":178139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:35:18] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:35:18] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:35:18] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:35:23] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:35:23] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:35:23] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:35:24] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:35:24] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:35:24] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:35:24] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:35:24] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:35:24] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:35:37] local.INFO: TCP Data received {"connection_id":176783,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:35:37] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:35:37] local.INFO: IMEI packet received {"connection_id":176783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":176783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:35:42] local.INFO: TCP Data received {"connection_id":176783,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:35:42] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:35:42] local.INFO: IMEI packet received {"connection_id":176783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":176783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:35:43] local.INFO: TCP Data received {"connection_id":176783,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:35:43] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:35:43] local.INFO: Packet analysis {"connection_id":176783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:35:43] local.INFO: Extracted packet for processing {"connection_id":176783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:35:43] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:35:43] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":176783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:35:44] local.INFO: GPS data processed {"connection_id":176783,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:35:44] local.INFO: Acknowledgment sent {"connection_id":176783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:35:55] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:35:55] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7ab498012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:35:55] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:35:55] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7a"} 
[2026-09-10 23:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000114176001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789063247000,"timestamp_ms":1789063247000,"timestamp_seconds":1789063247,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7ab498"} 
[2026-09-10 23:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-10 23:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000114176001,"66":25843,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000114176001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:35:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:35:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000114176001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:35:55] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:35:55] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:36:15] local.INFO: TCP Data received {"connection_id":176783,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:36:15] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:36:15] local.INFO: Packet analysis {"connection_id":176783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:36:15] local.INFO: Extracted packet for processing {"connection_id":176783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:36:15] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":176783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:36:15] local.INFO: GPS data processed {"connection_id":176783,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:36:15] local.INFO: Acknowledgment sent {"connection_id":176783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:36:23] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:36:23] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:36:23] local.INFO: IMEI packet received {"connection_id":178140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":178140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:36:26] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:36:26] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:36:26] local.INFO: IMEI packet received {"connection_id":178140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":178140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:36:27] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:27] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:27] local.INFO: Packet analysis {"connection_id":178140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:36:27] local.INFO: Extracted packet for processing {"connection_id":178140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":178140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:36:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:36:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":178140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:36:27] local.INFO: GPS data processed {"connection_id":178140,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:36:27] local.INFO: Acknowledgment sent {"connection_id":178140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:36:28] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:28] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:28] local.INFO: Packet analysis {"connection_id":178140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:36:28] local.INFO: Extracted packet for processing {"connection_id":178140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":178140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:36:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:36:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":178140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:36:28] local.INFO: GPS data processed {"connection_id":178140,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:36:28] local.INFO: Acknowledgment sent {"connection_id":178140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:36:37] local.INFO: TCP Data received {"connection_id":179539,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:36:37] local.INFO: Processing buffer {"connection_id":179539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:36:37] local.INFO: IMEI packet received {"connection_id":179539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":179539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:36:43] local.INFO: TCP Data received {"connection_id":179539,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:36:43] local.INFO: Processing buffer {"connection_id":179539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:36:43] local.INFO: IMEI packet received {"connection_id":179539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":179539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:36:44] local.INFO: TCP Data received {"connection_id":179539,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:36:44] local.INFO: Processing buffer {"connection_id":179539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:36:44] local.INFO: Packet analysis {"connection_id":179539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:36:44] local.INFO: Extracted packet for processing {"connection_id":179539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:36:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:36:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:36:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":179539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:36:44] local.INFO: GPS data processed {"connection_id":179539,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:36:44] local.INFO: Acknowledgment sent {"connection_id":179539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:36:59] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:59] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:36:59] local.INFO: Packet analysis {"connection_id":178140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:36:59] local.INFO: Extracted packet for processing {"connection_id":178140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":178140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:36:59] local.INFO: GPS data processed {"connection_id":178140,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:36:59] local.INFO: Acknowledgment sent {"connection_id":178140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:37:15] local.INFO: TCP Data received {"connection_id":179539,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:37:15] local.INFO: Processing buffer {"connection_id":179539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:37:15] local.INFO: Packet analysis {"connection_id":179539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:37:15] local.INFO: Extracted packet for processing {"connection_id":179539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:37:15] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:37:15] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:37:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":179539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:37:16] local.INFO: GPS data processed {"connection_id":179539,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:37:16] local.INFO: Acknowledgment sent {"connection_id":179539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:37:18] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:37:18] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:37:18] local.INFO: IMEI packet received {"connection_id":176784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":176784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:37:23] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:37:23] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:37:23] local.INFO: IMEI packet received {"connection_id":176784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":176784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:37:24] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:37:24] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:37:24] local.INFO: Packet analysis {"connection_id":176784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:37:24] local.INFO: Extracted packet for processing {"connection_id":176784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":176784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:37:24] local.INFO: GPS data processed {"connection_id":176784,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:37:24] local.INFO: Acknowledgment sent {"connection_id":176784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:37:37] local.INFO: TCP Data received {"connection_id":176785,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:37:37] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:37:37] local.INFO: IMEI packet received {"connection_id":176785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":176785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:37:43] local.INFO: TCP Data received {"connection_id":176785,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:37:43] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:37:43] local.INFO: IMEI packet received {"connection_id":176785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":176785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:37:44] local.INFO: TCP Data received {"connection_id":176785,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:37:44] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:37:44] local.INFO: Packet analysis {"connection_id":176785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:37:44] local.INFO: Extracted packet for processing {"connection_id":176785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:37:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:37:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:37:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":176785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:37:44] local.INFO: GPS data processed {"connection_id":176785,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:37:44] local.INFO: Acknowledgment sent {"connection_id":176785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:37:55] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:37:55] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:37:55] local.INFO: Packet analysis {"connection_id":176784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:37:55] local.INFO: Extracted packet for processing {"connection_id":176784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:37:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:37:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":176784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:37:55] local.INFO: GPS data processed {"connection_id":176784,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:37:55] local.INFO: Acknowledgment sent {"connection_id":176784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:38:16] local.INFO: TCP Data received {"connection_id":176785,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:16] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:16] local.INFO: Packet analysis {"connection_id":176785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:38:16] local.INFO: Extracted packet for processing {"connection_id":176785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:38:16] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:38:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:38:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":176785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:38:16] local.INFO: GPS data processed {"connection_id":176785,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:38:16] local.INFO: Acknowledgment sent {"connection_id":176785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:38:18] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:38:18] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:38:18] local.INFO: IMEI packet received {"connection_id":176786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":176786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:38:23] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:38:23] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:38:23] local.INFO: IMEI packet received {"connection_id":176786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":176786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:38:25] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:38:25] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:38:25] local.INFO: Packet analysis {"connection_id":176786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:38:25] local.INFO: Extracted packet for processing {"connection_id":176786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":176786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:38:25] local.INFO: GPS data processed {"connection_id":176786,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:38:25] local.INFO: Acknowledgment sent {"connection_id":176786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:38:43] local.INFO: TCP Data received {"connection_id":179540,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:38:43] local.INFO: Processing buffer {"connection_id":179540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:38:43] local.INFO: IMEI packet received {"connection_id":179540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":179540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:38:48] local.INFO: TCP Data received {"connection_id":179540,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:38:48] local.INFO: Processing buffer {"connection_id":179540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:38:48] local.INFO: IMEI packet received {"connection_id":179540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":179540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:38:49] local.INFO: TCP Data received {"connection_id":179540,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:49] local.INFO: Processing buffer {"connection_id":179540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:49] local.INFO: Packet analysis {"connection_id":179540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:38:49] local.INFO: Extracted packet for processing {"connection_id":179540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:38:49] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":179540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":179540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":179540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:38:49] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":179540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:38:49] local.INFO: GPS data processed {"connection_id":179540,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:38:49] local.INFO: Acknowledgment sent {"connection_id":179540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:38:53] local.INFO: TCP Data received {"connection_id":179540,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:53] local.INFO: Processing buffer {"connection_id":179540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7d4ca8012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:38:53] local.INFO: Packet analysis {"connection_id":179540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:38:53] local.INFO: Extracted packet for processing {"connection_id":179540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7d"} 
[2026-09-10 23:38:53] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000157696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789063417000,"timestamp_ms":1789063417000,"timestamp_seconds":1789063417,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7d4ca8"} 
[2026-09-10 23:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":179540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":179540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":179540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000157696001,"66":25267,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000157696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:38:53] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:38:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000157696001,"power":25267,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":179540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:38:53] local.INFO: GPS data processed {"connection_id":179540,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:38:53] local.INFO: Acknowledgment sent {"connection_id":179540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:38:56] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:38:56] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:38:56] local.INFO: Packet analysis {"connection_id":176786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:38:56] local.INFO: Extracted packet for processing {"connection_id":176786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:38:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:38:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":176786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:38:56] local.INFO: GPS data processed {"connection_id":176786,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:38:56] local.INFO: Acknowledgment sent {"connection_id":176786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:39:18] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:39:18] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:39:18] local.INFO: IMEI packet received {"connection_id":178141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":178141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:39:23] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:39:23] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:39:23] local.INFO: IMEI packet received {"connection_id":178141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":178141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:39:24] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:39:24] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:39:24] local.INFO: Packet analysis {"connection_id":178141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:39:24] local.INFO: Extracted packet for processing {"connection_id":178141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":178141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:39:24] local.INFO: GPS data processed {"connection_id":178141,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:39:24] local.INFO: Acknowledgment sent {"connection_id":178141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:39:37] local.INFO: TCP Data received {"connection_id":179541,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:37] local.INFO: Processing buffer {"connection_id":179541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:37] local.INFO: IMEI packet received {"connection_id":179541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":179541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:39:38] local.INFO: TCP Data received {"connection_id":179541,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:38] local.INFO: Processing buffer {"connection_id":179541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:38] local.INFO: IMEI packet received {"connection_id":179541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":179541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:39:43] local.INFO: TCP Data received {"connection_id":179541,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:43] local.INFO: Processing buffer {"connection_id":179541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:39:43] local.INFO: IMEI packet received {"connection_id":179541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":179541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:39:44] local.INFO: TCP Data received {"connection_id":179541,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c81d4d0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c81d4d0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:39:44] local.INFO: Processing buffer {"connection_id":179541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c81d4d0012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:39:44] local.INFO: Packet analysis {"connection_id":179541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c81"} 
[2026-09-10 23:39:44] local.INFO: Extracted packet for processing {"connection_id":179541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c81"} 
[2026-09-10 23:39:44] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000234752001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063714000,"timestamp_ms":1789063714000,"timestamp_seconds":1789063714,"priority":1,"record_length":96,"hex_timestamp":"000001a08c81d4d0"} 
[2026-09-10 23:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 23:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000234752001,"66":25278,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000234752001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:39:44] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000234752001,"power":25278,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":179541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:39:44] local.INFO: GPS data processed {"connection_id":179541,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:39:44] local.INFO: Acknowledgment sent {"connection_id":179541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:39:56] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:39:56] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:39:56] local.INFO: Packet analysis {"connection_id":178141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:39:56] local.INFO: Extracted packet for processing {"connection_id":178141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:39:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":178141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:39:56] local.INFO: GPS data processed {"connection_id":178141,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:39:56] local.INFO: Acknowledgment sent {"connection_id":178141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:40:15] local.INFO: TCP Data received {"connection_id":179541,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c81e470012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c81e470012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:40:15] local.INFO: Processing buffer {"connection_id":179541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c81e470012ce092c00726d4d0000600622f..."} 
[2026-09-10 23:40:15] local.INFO: Packet analysis {"connection_id":179541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c81"} 
[2026-09-10 23:40:15] local.INFO: Extracted packet for processing {"connection_id":179541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c81"} 
[2026-09-10 23:40:15] local.INFO: GPS Element Parsed {"raw_longitude":752915136,"raw_latitude":119985360,"longitude_deg":75.2915136,"latitude_deg":11.998536,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce092c0","hex_latitude":"0726d4d0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000310784001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789063718000,"timestamp_ms":1789063718000,"timestamp_seconds":1789063718,"priority":1,"record_length":96,"hex_timestamp":"000001a08c81e470"} 
[2026-09-10 23:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-10 23:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000310784001,"66":25191,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000310784001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:40:15] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000310784001,"power":25191,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":179541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:40:15] local.INFO: GPS data processed {"connection_id":179541,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:40:15] local.INFO: Acknowledgment sent {"connection_id":179541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:40:23] local.INFO: TCP Data received {"connection_id":178142,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:40:23] local.INFO: Processing buffer {"connection_id":178142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:40:23] local.INFO: IMEI packet received {"connection_id":178142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":178142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:40:28] local.INFO: TCP Data received {"connection_id":178142,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:40:28] local.INFO: Processing buffer {"connection_id":178142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:40:28] local.INFO: IMEI packet received {"connection_id":178142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":178142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:40:29] local.INFO: TCP Data received {"connection_id":178142,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:40:29] local.INFO: Processing buffer {"connection_id":178142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:40:29] local.INFO: Packet analysis {"connection_id":178142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:40:29] local.INFO: Extracted packet for processing {"connection_id":178142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:40:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:40:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:40:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":178142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:40:29] local.INFO: GPS data processed {"connection_id":178142,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:40:29] local.INFO: Acknowledgment sent {"connection_id":178142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:40:33] local.INFO: TCP Data received {"connection_id":178142,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:40:33] local.INFO: Processing buffer {"connection_id":178142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:40:33] local.INFO: Packet analysis {"connection_id":178142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:40:33] local.INFO: Extracted packet for processing {"connection_id":178142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:40: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-09-10 23: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":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:40: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-09-10 23:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":178142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:40:33] local.INFO: GPS data processed {"connection_id":178142,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:40:33] local.INFO: Acknowledgment sent {"connection_id":178142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:40:41] local.INFO: TCP Data received {"connection_id":179542,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:41] local.INFO: Processing buffer {"connection_id":179542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:41] local.INFO: IMEI packet received {"connection_id":179542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":179542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:40:42] local.INFO: TCP Data received {"connection_id":179542,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:42] local.INFO: Processing buffer {"connection_id":179542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:42] local.INFO: IMEI packet received {"connection_id":179542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":179542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:40:42] local.INFO: TCP Data received {"connection_id":179542,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:42] local.INFO: Processing buffer {"connection_id":179542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:42] local.INFO: IMEI packet received {"connection_id":179542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":179542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:40:47] local.INFO: TCP Data received {"connection_id":179542,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:47] local.INFO: Processing buffer {"connection_id":179542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:40:47] local.INFO: IMEI packet received {"connection_id":179542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":179542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:40:48] local.INFO: TCP Data received {"connection_id":179542,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c823a60012ce093400726d4e8000600622f..."} 
[2026-09-10 23:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c823a60012ce093400726d4e8000600622f..."} 
[2026-09-10 23:40:48] local.INFO: Processing buffer {"connection_id":179542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c823a60012ce093400726d4e8000600622f..."} 
[2026-09-10 23:40:48] local.INFO: Packet analysis {"connection_id":179542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c82"} 
[2026-09-10 23:40:48] local.INFO: Extracted packet for processing {"connection_id":179542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c82"} 
[2026-09-10 23:40:48] local.INFO: GPS Element Parsed {"raw_longitude":752915264,"raw_latitude":119985384,"longitude_deg":75.2915264,"latitude_deg":11.9985384,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce09340","hex_latitude":"0726d4e8","is_valid_coordinates":true} 
[2026-09-10 23:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000311808001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264536525665153024,"note":"Value kept but may cause issues"} 
[2026-09-10 23:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789063740000,"timestamp_ms":1789063740000,"timestamp_seconds":1789063740,"priority":1,"record_length":96,"hex_timestamp":"000001a08c823a60"} 
[2026-09-10 23:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-10 23:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":179542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":179542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":179542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000311808001,"66":27071,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264536525665153024},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000311808001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:40:48] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:40:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264536525665153024,"description":"Unknown IO ID 44"} 
[2026-09-10 23:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000311808001,"power":27071,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264536525665153024}} 
[2026-09-10 23:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":179542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:40:48] local.INFO: GPS data processed {"connection_id":179542,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:40:48] local.INFO: Acknowledgment sent {"connection_id":179542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:41:18] local.INFO: TCP Data received {"connection_id":176787,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:41:18] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:41:18] local.INFO: IMEI packet received {"connection_id":176787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":176787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:41:20] local.INFO: TCP Data received {"connection_id":179542,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c828c68012ce093400726d4e8000600622f..."} 
[2026-09-10 23:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c828c68012ce093400726d4e8000600622f..."} 
[2026-09-10 23:41:20] local.INFO: Processing buffer {"connection_id":179542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c828c68012ce093400726d4e8000600622f..."} 
[2026-09-10 23:41:20] local.INFO: Packet analysis {"connection_id":179542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c82"} 
[2026-09-10 23:41:20] local.INFO: Extracted packet for processing {"connection_id":179542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c82"} 
[2026-09-10 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":752915264,"raw_latitude":119985384,"longitude_deg":75.2915264,"latitude_deg":11.9985384,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce09340","hex_latitude":"0726d4e8","is_valid_coordinates":true} 
[2026-09-10 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000317440001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264395788176791552,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789063761000,"timestamp_ms":1789063761000,"timestamp_seconds":1789063761,"priority":1,"record_length":96,"hex_timestamp":"000001a08c828c68"} 
[2026-09-10 23:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-10 23:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":179542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":179542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":179542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000317440001,"66":27789,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264395788176791552},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000317440001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:41:20] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264395788176791552,"description":"Unknown IO ID 44"} 
[2026-09-10 23:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000317440001,"power":27789,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264395788176791552}} 
[2026-09-10 23:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":179542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:41:20] local.INFO: GPS data processed {"connection_id":179542,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:41:20] local.INFO: Acknowledgment sent {"connection_id":179542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:41:23] local.INFO: TCP Data received {"connection_id":176787,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:41:23] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:41:23] local.INFO: IMEI packet received {"connection_id":176787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":176787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:41:24] local.INFO: TCP Data received {"connection_id":176787,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:41:24] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c7f4c60012d34c54006aa45f0001700e523..."} 
[2026-09-10 23:41:24] local.INFO: Packet analysis {"connection_id":176787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:41:24] local.INFO: Extracted packet for processing {"connection_id":176787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c7f"} 
[2026-09-10 23:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000191232001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063548000,"timestamp_ms":1789063548000,"timestamp_seconds":1789063548,"priority":1,"record_length":96,"hex_timestamp":"000001a08c7f4c60"} 
[2026-09-10 23:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-10 23:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000191232001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000191232001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000191232001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":176787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:41:24] local.INFO: GPS data processed {"connection_id":176787,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:41:24] local.INFO: Acknowledgment sent {"connection_id":176787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:41:37] local.INFO: TCP Data received {"connection_id":178143,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:41:37] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:41:37] local.INFO: IMEI packet received {"connection_id":178143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":178143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:41:43] local.INFO: TCP Data received {"connection_id":178143,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:41:43] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:41:43] local.INFO: IMEI packet received {"connection_id":178143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":178143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:41:45] local.INFO: TCP Data received {"connection_id":178143,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c82de70012ce093400726d4e8000600622f..."} 
[2026-09-10 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c82de70012ce093400726d4e8000600622f..."} 
[2026-09-10 23:41:45] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c82de70012ce093400726d4e8000600622f..."} 
[2026-09-10 23:41:45] local.INFO: Packet analysis {"connection_id":178143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c82"} 
[2026-09-10 23:41:45] local.INFO: Extracted packet for processing {"connection_id":178143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c82"} 
[2026-09-10 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":752915264,"raw_latitude":119985384,"longitude_deg":75.2915264,"latitude_deg":11.9985384,"altitude":6,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2ce09340","hex_latitude":"0726d4e8","is_valid_coordinates":true} 
[2026-09-10 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000322816001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264395788176791552,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789063782000,"timestamp_ms":1789063782000,"timestamp_seconds":1789063782,"priority":1,"record_length":96,"hex_timestamp":"000001a08c82de70"} 
[2026-09-10 23:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 23:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000322816001,"66":27615,"150":206,"2":54272,"24":0,"16":3893920429768704,"44":-2264395788176791552},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000322816001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:41:45] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264395788176791552,"description":"Unknown IO ID 44"} 
[2026-09-10 23:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000322816001,"power":27615,"unknown_150":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2264395788176791552}} 
[2026-09-10 23:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":178143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:41:45] local.INFO: GPS data processed {"connection_id":178143,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:41:45] local.INFO: Acknowledgment sent {"connection_id":178143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:41:55] local.INFO: TCP Data received {"connection_id":176787,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:41:55] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:41:55] local.INFO: Packet analysis {"connection_id":176787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:41:55] local.INFO: Extracted packet for processing {"connection_id":176787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:41:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:41:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":176787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:41:55] local.INFO: GPS data processed {"connection_id":176787,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:41:55] local.INFO: Acknowledgment sent {"connection_id":176787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:42:17] local.INFO: TCP Data received {"connection_id":178143,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c833078012ce0c3c00726b7f80009007a2a..."} 
[2026-09-10 23:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c833078012ce0c3c00726b7f80009007a2a..."} 
[2026-09-10 23:42:17] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c833078012ce0c3c00726b7f80009007a2a..."} 
[2026-09-10 23:42:17] local.INFO: Packet analysis {"connection_id":178143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:17] local.INFO: Extracted packet for processing {"connection_id":178143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:17] local.INFO: GPS Element Parsed {"raw_longitude":752927680,"raw_latitude":119977976,"longitude_deg":75.292768,"latitude_deg":11.9977976,"altitude":9,"angle":122,"satellites":42,"speed":25,"hex_longitude":"2ce0c3c0","hex_latitude":"0726b7f8","is_valid_coordinates":true} 
[2026-09-10 23:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000328192001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264395788176791552,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789063803000,"timestamp_ms":1789063803000,"timestamp_seconds":1789063803,"priority":1,"record_length":96,"hex_timestamp":"000001a08c833078"} 
[2026-09-10 23:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:42: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-09-10 23:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 23:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000328192001,"66":27604,"150":206,"2":54272,"24":25,"16":3893920429768704,"44":-2264395788176791552},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000328192001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:42:17] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264395788176791552,"description":"Unknown IO ID 44"} 
[2026-09-10 23:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000328192001,"power":27604,"unknown_150":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-2264395788176791552}} 
[2026-09-10 23:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":178143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:42:17] local.INFO: GPS data processed {"connection_id":178143,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:42:17] local.INFO: Acknowledgment sent {"connection_id":178143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:42:18] local.INFO: TCP Data received {"connection_id":179543,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:42:18] local.INFO: Processing buffer {"connection_id":179543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:42:18] local.INFO: IMEI packet received {"connection_id":179543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":179543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:42:23] local.INFO: TCP Data received {"connection_id":179543,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:42:23] local.INFO: Processing buffer {"connection_id":179543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:42:23] local.INFO: IMEI packet received {"connection_id":179543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":179543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:42:24] local.INFO: TCP Data received {"connection_id":179543,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:42:24] local.INFO: Processing buffer {"connection_id":179543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:42:24] local.INFO: Packet analysis {"connection_id":179543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:24] local.INFO: Extracted packet for processing {"connection_id":179543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:42: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-09-10 23:42: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-09-10 23:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":179543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:42:24] local.INFO: GPS data processed {"connection_id":179543,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:42:24] local.INFO: Acknowledgment sent {"connection_id":179543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:42:37] local.INFO: TCP Data received {"connection_id":178144,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:42:37] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:42:37] local.INFO: IMEI packet received {"connection_id":178144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":178144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:42:42] local.INFO: TCP Data received {"connection_id":178144,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:42:42] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:42:42] local.INFO: IMEI packet received {"connection_id":178144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":178144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:42:50] local.INFO: TCP Data received {"connection_id":178144,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c833078012ce0c3c00726b7f80009007a2a..."} 
[2026-09-10 23:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c833078012ce0c3c00726b7f80009007a2a..."} 
[2026-09-10 23:42:50] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c833078012ce0c3c00726b7f80009007a2a..."} 
[2026-09-10 23:42:50] local.INFO: Packet analysis {"connection_id":178144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:50] local.INFO: Extracted packet for processing {"connection_id":178144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":752927680,"raw_latitude":119977976,"longitude_deg":75.292768,"latitude_deg":11.9977976,"altitude":9,"angle":122,"satellites":42,"speed":25,"hex_longitude":"2ce0c3c0","hex_latitude":"0726b7f8","is_valid_coordinates":true} 
[2026-09-10 23:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000333568001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2250744251808221184,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789063803000,"timestamp_ms":1789063803000,"timestamp_seconds":1789063803,"priority":1,"record_length":96,"hex_timestamp":"000001a08c833078"} 
[2026-09-10 23:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 23:42:50] 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-09-10 23:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000333568001,"66":27604,"150":206,"2":54272,"24":25,"16":3893920429768704,"44":-2250744251808221184},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000333568001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:42:50] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2250744251808221184,"description":"Unknown IO ID 44"} 
[2026-09-10 23:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000333568001,"power":27604,"unknown_150":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-2250744251808221184}} 
[2026-09-10 23:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":178144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:42:50] local.INFO: GPS data processed {"connection_id":178144,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:42:50] local.INFO: Acknowledgment sent {"connection_id":178144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:42:56] local.INFO: TCP Data received {"connection_id":179543,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:42:56] local.INFO: Processing buffer {"connection_id":179543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:42:56] local.INFO: Packet analysis {"connection_id":179543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:56] local.INFO: Extracted packet for processing {"connection_id":179543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:42:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:42:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":179543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:42:56] local.INFO: GPS data processed {"connection_id":179543,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:42:56] local.INFO: Acknowledgment sent {"connection_id":179543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:43:18] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:43:18] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:43:18] local.INFO: IMEI packet received {"connection_id":177001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":177001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:43:22] local.INFO: TCP Data received {"connection_id":178144,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c838280012ce0fd00072694480008007929..."} 
[2026-09-10 23:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c838280012ce0fd00072694480008007929..."} 
[2026-09-10 23:43:22] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c838280012ce0fd00072694480008007929..."} 
[2026-09-10 23:43:22] local.INFO: Packet analysis {"connection_id":178144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:22] local.INFO: Extracted packet for processing {"connection_id":178144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:22] local.INFO: GPS Element Parsed {"raw_longitude":752942336,"raw_latitude":119968840,"longitude_deg":75.2942336,"latitude_deg":11.996884,"altitude":8,"angle":121,"satellites":41,"speed":35,"hex_longitude":"2ce0fd00","hex_latitude":"07269448","is_valid_coordinates":true} 
[2026-09-10 23:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000333568001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2250744251808221184,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789063824000,"timestamp_ms":1789063824000,"timestamp_seconds":1789063824,"priority":1,"record_length":96,"hex_timestamp":"000001a08c838280"} 
[2026-09-10 23:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 23:43:22] 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-09-10 23:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000333568001,"66":27691,"150":206,"2":54272,"24":35,"16":3893920429768704,"44":-2250744251808221184},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-09-10 23:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000333568001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:43:22] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-10 23:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:43:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2250744251808221184,"description":"Unknown IO ID 44"} 
[2026-09-10 23:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000333568001,"power":27691,"unknown_150":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-2250744251808221184}} 
[2026-09-10 23:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":178144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:43:23] local.INFO: GPS data processed {"connection_id":178144,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:43:23] local.INFO: Acknowledgment sent {"connection_id":178144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:43:23] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:43:23] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:43:23] local.INFO: IMEI packet received {"connection_id":177001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":177001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:43:24] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:43:24] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:43:24] local.INFO: Packet analysis {"connection_id":177001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:24] local.INFO: Extracted packet for processing {"connection_id":177001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:43: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-09-10 23:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":177001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:43:24] local.INFO: GPS data processed {"connection_id":177001,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:43:24] local.INFO: Acknowledgment sent {"connection_id":177001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:43:43] local.INFO: TCP Data received {"connection_id":179544,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:43:43] local.INFO: Processing buffer {"connection_id":179544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:43:43] local.INFO: IMEI packet received {"connection_id":179544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":179544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:43:48] local.INFO: TCP Data received {"connection_id":179544,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:43:48] local.INFO: Processing buffer {"connection_id":179544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:43:48] local.INFO: IMEI packet received {"connection_id":179544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":179544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:43:50] local.INFO: TCP Data received {"connection_id":179544,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83ccb8012ce13c80072679380008006a25..."} 
[2026-09-10 23:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83ccb8012ce13c80072679380008006a25..."} 
[2026-09-10 23:43:50] local.INFO: Processing buffer {"connection_id":179544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83ccb8012ce13c80072679380008006a25..."} 
[2026-09-10 23:43:50] local.INFO: Packet analysis {"connection_id":179544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:50] local.INFO: Extracted packet for processing {"connection_id":179544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:50] local.INFO: GPS Element Parsed {"raw_longitude":752958592,"raw_latitude":119961912,"longitude_deg":75.2958592,"latitude_deg":11.9961912,"altitude":8,"angle":106,"satellites":37,"speed":34,"hex_longitude":"2ce13c80","hex_latitude":"07267938","is_valid_coordinates":true} 
[2026-09-10 23:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000338944001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2234629809393874944,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789063843000,"timestamp_ms":1789063843000,"timestamp_seconds":1789063843,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83ccb8"} 
[2026-09-10 23:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:43: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-09-10 23:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 23:43:50] 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-09-10 23:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":179544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":179544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":179544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000338944001,"66":27745,"151":206,"2":54272,"24":34,"16":3893920429768704,"44":-2234629809393874944},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-09-10 23:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000338944001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:43:50] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2234629809393874944,"description":"Unknown IO ID 44"} 
[2026-09-10 23:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000338944001,"power":27745,"unknown_151":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-2234629809393874944}} 
[2026-09-10 23:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":179544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:43:50] local.INFO: GPS data processed {"connection_id":179544,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:43:50] local.INFO: Acknowledgment sent {"connection_id":179544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:43:51] local.INFO: TCP Data received {"connection_id":179544,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c841ec0012ce18200072667f80009006528..."} 
[2026-09-10 23:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c841ec0012ce18200072667f80009006528..."} 
[2026-09-10 23:43:51] local.INFO: Processing buffer {"connection_id":179544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c841ec0012ce18200072667f80009006528..."} 
[2026-09-10 23:43:51] local.INFO: Packet analysis {"connection_id":179544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c84"} 
[2026-09-10 23:43:51] local.INFO: Extracted packet for processing {"connection_id":179544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c84"} 
[2026-09-10 23:43:51] local.INFO: GPS Element Parsed {"raw_longitude":752976384,"raw_latitude":119957496,"longitude_deg":75.2976384,"latitude_deg":11.9957496,"altitude":9,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2ce18200","hex_latitude":"072667f8","is_valid_coordinates":true} 
[2026-09-10 23:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000343808001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2216756148374521856,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789063864000,"timestamp_ms":1789063864000,"timestamp_seconds":1789063864,"priority":1,"record_length":96,"hex_timestamp":"000001a08c841ec0"} 
[2026-09-10 23:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:43: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-09-10 23: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 23:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":179544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":179544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":179544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000343808001,"66":27691,"151":206,"2":54272,"24":0,"16":3893920429768704,"44":-2216756148374521856},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-09-10 23:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000343808001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:43:51] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2216756148374521856,"description":"Unknown IO ID 44"} 
[2026-09-10 23:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000343808001,"power":27691,"unknown_151":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2216756148374521856}} 
[2026-09-10 23:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":179544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:43:51] local.INFO: GPS data processed {"connection_id":179544,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:43:51] local.INFO: Acknowledgment sent {"connection_id":179544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:43:55] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:43:55] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:43:55] local.INFO: Packet analysis {"connection_id":177001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:55] local.INFO: Extracted packet for processing {"connection_id":177001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:43:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":177001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:43:55] local.INFO: GPS data processed {"connection_id":177001,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:43:55] local.INFO: Acknowledgment sent {"connection_id":177001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:44:23] local.INFO: TCP Data received {"connection_id":179544,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8470c8012ce1c54007264ec00008006829..."} 
[2026-09-10 23:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8470c8012ce1c54007264ec00008006829..."} 
[2026-09-10 23:44:23] local.INFO: Processing buffer {"connection_id":179544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8470c8012ce1c54007264ec00008006829..."} 
[2026-09-10 23:44:23] local.INFO: Packet analysis {"connection_id":179544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c84"} 
[2026-09-10 23:44:23] local.INFO: Extracted packet for processing {"connection_id":179544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c84"} 
[2026-09-10 23:44:23] local.INFO: GPS Element Parsed {"raw_longitude":752993600,"raw_latitude":119951040,"longitude_deg":75.29936,"latitude_deg":11.995104,"altitude":8,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2ce1c540","hex_latitude":"07264ec0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000349184001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2197193637494261760,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789063885000,"timestamp_ms":1789063885000,"timestamp_seconds":1789063885,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8470c8"} 
[2026-09-10 23:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:44: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-09-10 23: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 23:44:23] 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-09-10 23: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-09-10 23:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:44:23] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000349184001,"66":27789,"151":206,"2":54272,"24":0,"16":3893920429768704,"44":-2197193637494261760},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-09-10 23:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:44:23] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:44:23] local.INFO: IMEI packet received {"connection_id":176788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":176788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000349184001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:44:23] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-10 23:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:44:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2197193637494261760,"description":"Unknown IO ID 44"} 
[2026-09-10 23:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000349184001,"power":27789,"unknown_151":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2197193637494261760}} 
[2026-09-10 23:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":179544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:44:23] local.INFO: GPS data processed {"connection_id":179544,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:44:23] local.INFO: Acknowledgment sent {"connection_id":179544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:44:28] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:44:28] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:44:28] local.INFO: IMEI packet received {"connection_id":176788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":176788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:44:29] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:44:29] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:44:29] local.INFO: Packet analysis {"connection_id":176788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:44:29] local.INFO: Extracted packet for processing {"connection_id":176788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:44:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:44:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":176788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:44:29] local.INFO: GPS data processed {"connection_id":176788,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:44:29] local.INFO: Acknowledgment sent {"connection_id":176788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:44:33] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:44:33] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:44:33] local.INFO: Packet analysis {"connection_id":176788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:44:33] local.INFO: Extracted packet for processing {"connection_id":176788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:44:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:44: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-09-10 23:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:44: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-09-10 23:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:44:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":176788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:44:33] local.INFO: GPS data processed {"connection_id":176788,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:44:33] local.INFO: Acknowledgment sent {"connection_id":176788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:44:38] local.INFO: TCP Data received {"connection_id":178145,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:44:38] local.INFO: Processing buffer {"connection_id":178145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:44:38] local.INFO: IMEI packet received {"connection_id":178145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":178145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:44:41] local.INFO: TCP Data received {"connection_id":178145,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:44:41] local.INFO: Processing buffer {"connection_id":178145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:44:41] local.INFO: IMEI packet received {"connection_id":178145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":178145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:44:42] local.INFO: TCP Data received {"connection_id":178145,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8557400100000000000000000000000000..."} 
[2026-09-10 23:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8557400100000000000000000000000000..."} 
[2026-09-10 23:44:42] local.INFO: Processing buffer {"connection_id":178145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8557400100000000000000000000000000..."} 
[2026-09-10 23:44:42] local.INFO: Packet analysis {"connection_id":178145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:44:42] local.INFO: Extracted packet for processing {"connection_id":178145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:44:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000354560001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2178264445312122880,"note":"Value kept but may cause issues"} 
[2026-09-10 23:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789063944000,"timestamp_ms":1789063944000,"timestamp_seconds":1789063944,"priority":1,"record_length":96,"hex_timestamp":"000001a08c855740"} 
[2026-09-10 23:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:44: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-09-10 23: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 23:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":178145,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:44:42] local.INFO: GPS data processed {"connection_id":178145,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:44:42] local.INFO: Acknowledgment sent {"connection_id":178145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:45:14] local.INFO: TCP Data received {"connection_id":178145,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c84e9e0012ce25580072623e00008006928..."} 
[2026-09-10 23:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c84e9e0012ce25580072623e00008006928..."} 
[2026-09-10 23:45:14] local.INFO: Processing buffer {"connection_id":178145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c84e9e0012ce25580072623e00008006928..."} 
[2026-09-10 23:45:14] local.INFO: Packet analysis {"connection_id":178145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c84"} 
[2026-09-10 23:45:14] local.INFO: Extracted packet for processing {"connection_id":178145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c84"} 
[2026-09-10 23:45:14] local.INFO: GPS Element Parsed {"raw_longitude":753030528,"raw_latitude":119940064,"longitude_deg":75.3030528,"latitude_deg":11.9940064,"altitude":8,"angle":105,"satellites":40,"speed":44,"hex_longitude":"2ce25580","hex_latitude":"072623e0","is_valid_coordinates":true} 
[2026-09-10 23:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,184,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789063916000,"timestamp_ms":1789063916000,"timestamp_seconds":1789063916,"priority":1,"record_length":96,"hex_timestamp":"000001a08c84e9e0"} 
[2026-09-10 23:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:45: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 23:45:14] 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-09-10 23:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"184":206,"2":54272,"24":44,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,2,24,16]} 
[2026-09-10 23:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:45:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-10 23:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:45:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_184":206,"power_alt":54272,"ignition":44,"odometer":null}} 
[2026-09-10 23:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":178145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:45:14] local.INFO: GPS data processed {"connection_id":178145,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:45:14] local.INFO: Acknowledgment sent {"connection_id":178145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:45:18] local.INFO: TCP Data received {"connection_id":177002,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:45:18] local.INFO: Processing buffer {"connection_id":177002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:45:18] local.INFO: IMEI packet received {"connection_id":177002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":177002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:45:23] local.INFO: TCP Data received {"connection_id":177002,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:45:23] local.INFO: Processing buffer {"connection_id":177002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:45:23] local.INFO: IMEI packet received {"connection_id":177002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":177002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:45:24] local.INFO: TCP Data received {"connection_id":177002,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:45:24] local.INFO: Processing buffer {"connection_id":177002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:45:24] local.INFO: Packet analysis {"connection_id":177002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:45:24] local.INFO: Extracted packet for processing {"connection_id":177002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:45: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-09-10 23: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-09-10 23:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":177002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:45:24] local.INFO: GPS data processed {"connection_id":177002,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:45:24] local.INFO: Acknowledgment sent {"connection_id":177002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:45:37] local.INFO: TCP Data received {"connection_id":179545,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:45:37] local.INFO: Processing buffer {"connection_id":179545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:45:37] local.INFO: IMEI packet received {"connection_id":179545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":179545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:45:42] local.INFO: TCP Data received {"connection_id":179545,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:45:42] local.INFO: Processing buffer {"connection_id":179545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:45:42] local.INFO: IMEI packet received {"connection_id":179545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":179545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:45:44] local.INFO: TCP Data received {"connection_id":179545,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c853be8012ce2a34007260af00008006d29..."} 
[2026-09-10 23:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c853be8012ce2a34007260af00008006d29..."} 
[2026-09-10 23:45:44] local.INFO: Processing buffer {"connection_id":179545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c853be8012ce2a34007260af00008006d29..."} 
[2026-09-10 23:45:44] local.INFO: Packet analysis {"connection_id":179545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:45:44] local.INFO: Extracted packet for processing {"connection_id":179545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":753050432,"raw_latitude":119933680,"longitude_deg":75.3050432,"latitude_deg":11.993368,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2ce2a340","hex_latitude":"07260af0","is_valid_coordinates":true} 
[2026-09-10 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000362496001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2137661679924420608,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063937000,"timestamp_ms":1789063937000,"timestamp_seconds":1789063937,"priority":1,"record_length":96,"hex_timestamp":"000001a08c853be8"} 
[2026-09-10 23:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 23:45:44] 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-09-10 23:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000362496001,"66":27789,"185":206,"2":54272,"24":0,"16":3893920429768704,"44":-2137661679924420608},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,2,24,16,44]} 
[2026-09-10 23:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000362496001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:45:44] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-10 23:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:45:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2137661679924420608,"description":"Unknown IO ID 44"} 
[2026-09-10 23:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000362496001,"power":27789,"unknown_185":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2137661679924420608}} 
[2026-09-10 23:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":179545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:45:44] local.INFO: GPS data processed {"connection_id":179545,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:45:44] local.INFO: Acknowledgment sent {"connection_id":179545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:45:55] local.INFO: TCP Data received {"connection_id":177002,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:45:55] local.INFO: Processing buffer {"connection_id":177002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:45:55] local.INFO: Packet analysis {"connection_id":177002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:45:55] local.INFO: Extracted packet for processing {"connection_id":177002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:45:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:45:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":177002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:45:55] local.INFO: GPS data processed {"connection_id":177002,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:45:55] local.INFO: Acknowledgment sent {"connection_id":177002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:46:15] local.INFO: TCP Data received {"connection_id":179545,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c857680012ce2e7800725e7b0000a008629..."} 
[2026-09-10 23:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c857680012ce2e7800725e7b0000a008629..."} 
[2026-09-10 23:46:15] local.INFO: Processing buffer {"connection_id":179545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c857680012ce2e7800725e7b0000a008629..."} 
[2026-09-10 23:46:15] local.INFO: Packet analysis {"connection_id":179545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:46:15] local.INFO: Extracted packet for processing {"connection_id":179545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:46:15] local.INFO: GPS Element Parsed {"raw_longitude":753067904,"raw_latitude":119924656,"longitude_deg":75.3067904,"latitude_deg":11.9924656,"altitude":10,"angle":134,"satellites":41,"speed":41,"hex_longitude":"2ce2e780","hex_latitude":"0725e7b0","is_valid_coordinates":true} 
[2026-09-10 23:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000367872001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2115777000486801408,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789063952000,"timestamp_ms":1789063952000,"timestamp_seconds":1789063952,"priority":1,"record_length":96,"hex_timestamp":"000001a08c857680"} 
[2026-09-10 23:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 23:46: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-09-10 23:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000367872001,"66":27789,"185":206,"2":54272,"24":41,"16":3893920429768704,"44":-2115777000486801408},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,2,24,16,44]} 
[2026-09-10 23:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000367872001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:46:15] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-10 23:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2115777000486801408,"description":"Unknown IO ID 44"} 
[2026-09-10 23:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000367872001,"power":27789,"unknown_185":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-2115777000486801408}} 
[2026-09-10 23:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":179545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:46:16] local.INFO: GPS data processed {"connection_id":179545,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:46:16] local.INFO: Acknowledgment sent {"connection_id":179545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:46:18] local.INFO: TCP Data received {"connection_id":179546,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:46:18] local.INFO: Processing buffer {"connection_id":179546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:46:18] local.INFO: IMEI packet received {"connection_id":179546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":179546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:46:23] local.INFO: TCP Data received {"connection_id":179546,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:46:23] local.INFO: Processing buffer {"connection_id":179546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:46:23] local.INFO: IMEI packet received {"connection_id":179546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":179546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:46:24] local.INFO: TCP Data received {"connection_id":179546,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:46:24] local.INFO: Processing buffer {"connection_id":179546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c83e428012d34c54006aa45f0001700e527..."} 
[2026-09-10 23:46:24] local.INFO: Packet analysis {"connection_id":179546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:46:24] local.INFO: Extracted packet for processing {"connection_id":179546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c83"} 
[2026-09-10 23:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000268288001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789063849000,"timestamp_ms":1789063849000,"timestamp_seconds":1789063849,"priority":1,"record_length":96,"hex_timestamp":"000001a08c83e428"} 
[2026-09-10 23:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:46: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-09-10 23:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000268288001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000268288001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000268288001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":179546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:46:24] local.INFO: GPS data processed {"connection_id":179546,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:46:24] local.INFO: Acknowledgment sent {"connection_id":179546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:46:37] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:46:37] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:46:37] local.INFO: IMEI packet received {"connection_id":176789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":176789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:46:43] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:46:43] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:46:43] local.INFO: IMEI packet received {"connection_id":176789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":176789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:46:44] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c85bcd0012ce312000725aa60000b00922c..."} 
[2026-09-10 23:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c85bcd0012ce312000725aa60000b00922c..."} 
[2026-09-10 23:46:44] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c85bcd0012ce312000725aa60000b00922c..."} 
[2026-09-10 23:46:44] local.INFO: Packet analysis {"connection_id":176789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:46:44] local.INFO: Extracted packet for processing {"connection_id":176789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c85"} 
[2026-09-10 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":753078784,"raw_latitude":119908960,"longitude_deg":75.3078784,"latitude_deg":11.990896,"altitude":11,"angle":146,"satellites":44,"speed":42,"hex_longitude":"2ce31200","hex_latitude":"0725aa60","is_valid_coordinates":true} 
[2026-09-10 23:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000371712001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2096566333328609280,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789063970000,"timestamp_ms":1789063970000,"timestamp_seconds":1789063970,"priority":1,"record_length":96,"hex_timestamp":"000001a08c85bcd0"} 
[2026-09-10 23:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-10 23:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000371712001,"66":27691,"183":206,"2":54272,"24":42,"16":3893920429768704,"44":-2096566333328609280},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,2,24,16,44]} 
[2026-09-10 23:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000371712001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:46:44] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 23:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2096566333328609280,"description":"Unknown IO ID 44"} 
[2026-09-10 23:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000371712001,"power":27691,"unknown_183":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-2096566333328609280}} 
[2026-09-10 23:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":176789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:46:44] local.INFO: GPS data processed {"connection_id":176789,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:46:44] local.INFO: Acknowledgment sent {"connection_id":176789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:46:55] local.INFO: TCP Data received {"connection_id":179546,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:46:55] local.INFO: Processing buffer {"connection_id":179546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:46:55] local.INFO: Packet analysis {"connection_id":179546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:46:55] local.INFO: Extracted packet for processing {"connection_id":179546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":179546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":179546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":179546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:46:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:46:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":179546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:46:55] local.INFO: GPS data processed {"connection_id":179546,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:46:55] local.INFO: Acknowledgment sent {"connection_id":179546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:47:16] local.INFO: TCP Data received {"connection_id":176789,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c860ed8012ce33a80072568a8000d008d28..."} 
[2026-09-10 23:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c860ed8012ce33a80072568a8000d008d28..."} 
[2026-09-10 23:47:16] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c860ed8012ce33a80072568a8000d008d28..."} 
[2026-09-10 23:47:16] local.INFO: Packet analysis {"connection_id":176789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c86"} 
[2026-09-10 23:47:16] local.INFO: Extracted packet for processing {"connection_id":176789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c86"} 
[2026-09-10 23:47:16] local.INFO: GPS Element Parsed {"raw_longitude":753089152,"raw_latitude":119892136,"longitude_deg":75.3089152,"latitude_deg":11.9892136,"altitude":13,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2ce33a80","hex_latitude":"072568a8","is_valid_coordinates":true} 
[2026-09-10 23:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000376320001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2084603646822424576,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789063991000,"timestamp_ms":1789063991000,"timestamp_seconds":1789063991,"priority":1,"record_length":96,"hex_timestamp":"000001a08c860ed8"} 
[2026-09-10 23:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 23:47:16] 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-09-10 23:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000376320001,"66":27767,"183":206,"2":54272,"24":0,"16":3893920429768704,"44":-2084603646822424576},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,2,24,16,44]} 
[2026-09-10 23:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000376320001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:47:16] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 23:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:47:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2084603646822424576,"description":"Unknown IO ID 44"} 
[2026-09-10 23:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000376320001,"power":27767,"unknown_183":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2084603646822424576}} 
[2026-09-10 23:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":176789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:47:16] local.INFO: GPS data processed {"connection_id":176789,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:47:16] local.INFO: Acknowledgment sent {"connection_id":176789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:47:18] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:47:18] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:47:18] local.INFO: IMEI packet received {"connection_id":178146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":178146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:47:23] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:47:23] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:47:23] local.INFO: IMEI packet received {"connection_id":178146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":178146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:47:24] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:47:24] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:47:24] local.INFO: Packet analysis {"connection_id":178146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:47:24] local.INFO: Extracted packet for processing {"connection_id":178146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:47: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-09-10 23:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":178146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:47:24] local.INFO: GPS data processed {"connection_id":178146,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:47:24] local.INFO: Acknowledgment sent {"connection_id":178146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:47:37] local.INFO: TCP Data received {"connection_id":179547,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:47:37] local.INFO: Processing buffer {"connection_id":179547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:47:37] local.INFO: IMEI packet received {"connection_id":179547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":179547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:47:42] local.INFO: TCP Data received {"connection_id":179547,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:47:42] local.INFO: Processing buffer {"connection_id":179547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:47:42] local.INFO: IMEI packet received {"connection_id":179547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":179547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:47:43] local.INFO: TCP Data received {"connection_id":179547,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8660e0012ce36fc007253030000e008b26..."} 
[2026-09-10 23:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8660e0012ce36fc007253030000e008b26..."} 
[2026-09-10 23:47:43] local.INFO: Processing buffer {"connection_id":179547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8660e0012ce36fc007253030000e008b26..."} 
[2026-09-10 23:47:43] local.INFO: Packet analysis {"connection_id":179547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c86"} 
[2026-09-10 23:47:43] local.INFO: Extracted packet for processing {"connection_id":179547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c86"} 
[2026-09-10 23:47:43] local.INFO: GPS Element Parsed {"raw_longitude":753102784,"raw_latitude":119877680,"longitude_deg":75.3102784,"latitude_deg":11.987768,"altitude":14,"angle":139,"satellites":38,"speed":0,"hex_longitude":"2ce36fc0","hex_latitude":"07253030","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000381696001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2073203910269949952,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789064012000,"timestamp_ms":1789064012000,"timestamp_seconds":1789064012,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8660e0"} 
[2026-09-10 23:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-10 23:47: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-09-10 23: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-09-10 23:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":179547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":179547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":179547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000381696001,"66":27745,"183":206,"2":54272,"24":0,"16":3893920429768704,"44":-2073203910269949952},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,2,24,16,44]} 
[2026-09-10 23:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000381696001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:47:43] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-10 23:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2073203910269949952,"description":"Unknown IO ID 44"} 
[2026-09-10 23:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000381696001,"power":27745,"unknown_183":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-2073203910269949952}} 
[2026-09-10 23:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":179547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:47:43] local.INFO: GPS data processed {"connection_id":179547,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:47:43] local.INFO: Acknowledgment sent {"connection_id":179547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:47:56] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:47:56] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:47:56] local.INFO: Packet analysis {"connection_id":178146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:47:56] local.INFO: Extracted packet for processing {"connection_id":178146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:47:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:47:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:47:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":178146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:47:56] local.INFO: GPS data processed {"connection_id":178146,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:47:56] local.INFO: Acknowledgment sent {"connection_id":178146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:48:14] local.INFO: TCP Data received {"connection_id":179547,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c89a0e8012ce5b88007227408000b008d29..."} 
[2026-09-10 23:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c89a0e8012ce5b88007227408000b008d29..."} 
[2026-09-10 23:48:14] local.INFO: Processing buffer {"connection_id":179547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c89a0e8012ce5b88007227408000b008d29..."} 
[2026-09-10 23:48:14] local.INFO: Packet analysis {"connection_id":179547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c89"} 
[2026-09-10 23:48:14] local.INFO: Extracted packet for processing {"connection_id":179547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c89"} 
[2026-09-10 23:48:14] local.INFO: GPS Element Parsed {"raw_longitude":753252480,"raw_latitude":119698440,"longitude_deg":75.325248,"latitude_deg":11.969844,"altitude":11,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2ce5b880","hex_latitude":"07227408","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000436224001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1908611417684180992,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789064225000,"timestamp_ms":1789064225000,"timestamp_seconds":1789064225,"priority":1,"record_length":96,"hex_timestamp":"000001a08c89a0e8"} 
[2026-09-10 23:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 23:48:14] 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-09-10 23: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-09-10 23:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":179547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":179547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":179547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000436224001,"66":27626,"21":206,"2":54272,"24":0,"16":3893920429768704,"44":-1908611417684180992},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-09-10 23:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000436224001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:48:14] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-10 23:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:48:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1908611417684180992,"description":"Unknown IO ID 44"} 
[2026-09-10 23:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000436224001,"power":27626,"unknown_21":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1908611417684180992}} 
[2026-09-10 23:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":179547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:48:15] local.INFO: GPS data processed {"connection_id":179547,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:48:15] local.INFO: Acknowledgment sent {"connection_id":179547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:48:23] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:48:23] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:48:23] local.INFO: IMEI packet received {"connection_id":176790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":176790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:48:28] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:48:28] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:48:28] local.INFO: IMEI packet received {"connection_id":176790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":176790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:48:29] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:48:29] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:48:29] local.INFO: Packet analysis {"connection_id":176790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:48:29] local.INFO: Extracted packet for processing {"connection_id":176790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:48:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:48:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:48:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":176790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:48:29] local.INFO: GPS data processed {"connection_id":176790,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:48:29] local.INFO: Acknowledgment sent {"connection_id":176790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:48:43] local.INFO: TCP Data received {"connection_id":176791,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:48:43] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:48:43] local.INFO: IMEI packet received {"connection_id":176791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":176791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:48:48] local.INFO: TCP Data received {"connection_id":176791,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:48:48] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:48:48] local.INFO: IMEI packet received {"connection_id":176791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":176791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:48:49] local.INFO: TCP Data received {"connection_id":176791,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8a87600100000000000000000000000000..."} 
[2026-09-10 23:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8a87600100000000000000000000000000..."} 
[2026-09-10 23:48:49] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8a87600100000000000000000000000000..."} 
[2026-09-10 23:48:49] local.INFO: Packet analysis {"connection_id":176791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:48:49] local.INFO: Extracted packet for processing {"connection_id":176791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:48:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000441600001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1893622875178137600,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789064284000,"timestamp_ms":1789064284000,"timestamp_seconds":1789064284,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8a8760"} 
[2026-09-10 23:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 23:48:49] 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-09-10 23:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":176791,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:48:49] local.INFO: GPS data processed {"connection_id":176791,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:48:49] local.INFO: Acknowledgment sent {"connection_id":176791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:48:54] local.INFO: TCP Data received {"connection_id":176791,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8a1618012ce61bc00721f658000b00952a..."} 
[2026-09-10 23:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8a1618012ce61bc00721f658000b00952a..."} 
[2026-09-10 23:48:54] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8a1618012ce61bc00721f658000b00952a..."} 
[2026-09-10 23:48:54] local.INFO: Packet analysis {"connection_id":176791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:48:54] local.INFO: Extracted packet for processing {"connection_id":176791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:48:54] local.INFO: GPS Element Parsed {"raw_longitude":753277888,"raw_latitude":119666264,"longitude_deg":75.3277888,"latitude_deg":11.9666264,"altitude":11,"angle":149,"satellites":42,"speed":48,"hex_longitude":"2ce61bc0","hex_latitude":"0721f658","is_valid_coordinates":true} 
[2026-09-10 23:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:48:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,133,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789064255000,"timestamp_ms":1789064255000,"timestamp_seconds":1789064255,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8a1618"} 
[2026-09-10 23:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:48: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 23:48:54] 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-09-10 23:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"133":206,"2":54272,"24":48,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,2,24,16]} 
[2026-09-10 23:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:48:54] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-10 23:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:48:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_133":206,"power_alt":54272,"ignition":48,"odometer":null}} 
[2026-09-10 23:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":176791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:48:54] local.INFO: GPS data processed {"connection_id":176791,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:48:54] local.INFO: Acknowledgment sent {"connection_id":176791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:49:00] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:00] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:00] local.INFO: Packet analysis {"connection_id":176790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:49:00] local.INFO: Extracted packet for processing {"connection_id":176790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:49:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:49:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":176790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:49:00] local.INFO: GPS data processed {"connection_id":176790,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:49:00] local.INFO: Acknowledgment sent {"connection_id":176790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:49:18] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:49:18] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:49:18] local.INFO: IMEI packet received {"connection_id":178147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":178147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:49:23] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:49:23] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:49:23] local.INFO: IMEI packet received {"connection_id":178147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":178147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:49:24] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:24] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:24] local.INFO: Packet analysis {"connection_id":178147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:49:24] local.INFO: Extracted packet for processing {"connection_id":178147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:49: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-09-10 23:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":178147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:49:24] local.INFO: GPS data processed {"connection_id":178147,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:49:24] local.INFO: Acknowledgment sent {"connection_id":178147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:49:38] local.INFO: TCP Data received {"connection_id":176792,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:49:38] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:49:38] local.INFO: IMEI packet received {"connection_id":176792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":176792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:49:42] local.INFO: TCP Data received {"connection_id":176792,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:49:42] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:49:42] local.INFO: IMEI packet received {"connection_id":176792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":176792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:49:44] local.INFO: TCP Data received {"connection_id":176792,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8a6820012ce649c00721b568000b008e29..."} 
[2026-09-10 23:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8a6820012ce649c00721b568000b008e29..."} 
[2026-09-10 23:49:44] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8a6820012ce649c00721b568000b008e29..."} 
[2026-09-10 23:49:44] local.INFO: Packet analysis {"connection_id":176792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:49:44] local.INFO: Extracted packet for processing {"connection_id":176792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:49:44] local.INFO: GPS Element Parsed {"raw_longitude":753289664,"raw_latitude":119649640,"longitude_deg":75.3289664,"latitude_deg":11.964964,"altitude":11,"angle":142,"satellites":41,"speed":0,"hex_longitude":"2ce649c0","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-10 23:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000449280001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1865686483747842048,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789064276000,"timestamp_ms":1789064276000,"timestamp_seconds":1789064276,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8a6820"} 
[2026-09-10 23:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-10 23:49:44] 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-09-10 23:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000449280001,"66":27800,"132":206,"2":54272,"24":0,"16":3893920429768704,"44":-1865686483747842048},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,2,24,16,44]} 
[2026-09-10 23:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000449280001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:49:44] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-10 23:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:49:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1865686483747842048,"description":"Unknown IO ID 44"} 
[2026-09-10 23:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000449280001,"power":27800,"unknown_132":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1865686483747842048}} 
[2026-09-10 23:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":176792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:49:44] local.INFO: GPS data processed {"connection_id":176792,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:49:44] local.INFO: Acknowledgment sent {"connection_id":176792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:49:55] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:55] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:49:55] local.INFO: Packet analysis {"connection_id":178147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:49:55] local.INFO: Extracted packet for processing {"connection_id":178147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:49:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":178147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:49:55] local.INFO: GPS data processed {"connection_id":178147,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:49:55] local.INFO: Acknowledgment sent {"connection_id":178147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:50:16] local.INFO: TCP Data received {"connection_id":176792,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8b4e980100000000000000000000000000..."} 
[2026-09-10 23:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8b4e980100000000000000000000000000..."} 
[2026-09-10 23:50:16] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8b4e980100000000000000000000000000..."} 
[2026-09-10 23:50:16] local.INFO: Packet analysis {"connection_id":176792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:50:16] local.INFO: Extracted packet for processing {"connection_id":176792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:50:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000454656001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1852738634823407616,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789064335000,"timestamp_ms":1789064335000,"timestamp_seconds":1789064335,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8b4e98"} 
[2026-09-10 23:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-10 23:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":176792,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:50:16] local.INFO: GPS data processed {"connection_id":176792,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:50:16] local.INFO: Acknowledgment sent {"connection_id":176792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:50:18] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:50:18] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:50:18] local.INFO: IMEI packet received {"connection_id":176793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":176793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:50:23] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:50:23] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:50:23] local.INFO: IMEI packet received {"connection_id":176793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":176793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:50:24] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:50:24] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:50:24] local.INFO: Packet analysis {"connection_id":176793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:50:24] local.INFO: Extracted packet for processing {"connection_id":176793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:50: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-09-10 23: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-09-10 23:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":176793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:50:24] local.INFO: GPS data processed {"connection_id":176793,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:50:24] local.INFO: Acknowledgment sent {"connection_id":176793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:50:37] local.INFO: TCP Data received {"connection_id":179548,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:50:37] local.INFO: Processing buffer {"connection_id":179548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:50:37] local.INFO: IMEI packet received {"connection_id":179548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":179548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:50:42] local.INFO: TCP Data received {"connection_id":179548,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:50:42] local.INFO: Processing buffer {"connection_id":179548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:50:42] local.INFO: IMEI packet received {"connection_id":179548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":179548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:50:44] local.INFO: TCP Data received {"connection_id":179548,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8add50012ce6a48007213250000c009129..."} 
[2026-09-10 23:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8add50012ce6a48007213250000c009129..."} 
[2026-09-10 23:50:44] local.INFO: Processing buffer {"connection_id":179548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8add50012ce6a48007213250000c009129..."} 
[2026-09-10 23:50:44] local.INFO: Packet analysis {"connection_id":179548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:50:44] local.INFO: Extracted packet for processing {"connection_id":179548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8a"} 
[2026-09-10 23:50:44] local.INFO: GPS Element Parsed {"raw_longitude":753312896,"raw_latitude":119616080,"longitude_deg":75.3312896,"latitude_deg":11.961608,"altitude":12,"angle":145,"satellites":41,"speed":46,"hex_longitude":"2ce6a480","hex_latitude":"07213250","is_valid_coordinates":true} 
[2026-09-10 23:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,192,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789064306000,"timestamp_ms":1789064306000,"timestamp_seconds":1789064306,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8add50"} 
[2026-09-10 23:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-09-10 23:50:44] 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-09-10 23:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"192":206,"2":54272,"24":46,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16]} 
[2026-09-10 23:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:50:44] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 23:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:50:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27615,"unknown_192":206,"power_alt":54272,"ignition":46,"odometer":null}} 
[2026-09-10 23:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":179548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:50:44] local.INFO: GPS data processed {"connection_id":179548,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:50:44] local.INFO: Acknowledgment sent {"connection_id":179548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:50:55] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:50:55] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:50:55] local.INFO: Packet analysis {"connection_id":176793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:50:55] local.INFO: Extracted packet for processing {"connection_id":176793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:50:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":176793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:50:55] local.INFO: GPS data processed {"connection_id":176793,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:50:55] local.INFO: Acknowledgment sent {"connection_id":176793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:51:16] local.INFO: TCP Data received {"connection_id":179548,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8b2f58012ce6d6400720f478000c009029..."} 
[2026-09-10 23:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8b2f58012ce6d6400720f478000c009029..."} 
[2026-09-10 23:51:16] local.INFO: Processing buffer {"connection_id":179548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8b2f58012ce6d6400720f478000c009029..."} 
[2026-09-10 23:51:16] local.INFO: Packet analysis {"connection_id":179548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:51:16] local.INFO: Extracted packet for processing {"connection_id":179548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:51:16] local.INFO: GPS Element Parsed {"raw_longitude":753325632,"raw_latitude":119600248,"longitude_deg":75.3325632,"latitude_deg":11.9600248,"altitude":12,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2ce6d640","hex_latitude":"0720f478","is_valid_coordinates":true} 
[2026-09-10 23:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000462336001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1827194780695506944,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789064327000,"timestamp_ms":1789064327000,"timestamp_seconds":1789064327,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8b2f58"} 
[2026-09-10 23:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:51: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-09-10 23:51: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":223,"data_length":795,"current_offset":136} 
[2026-09-10 23:51:16] 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-09-10 23:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000462336001,"66":27517,"192":206,"2":54272,"24":0,"16":3893920429768704,"44":-1827194780695506944},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,44]} 
[2026-09-10 23:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000462336001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:51:16] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 23:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1827194780695506944,"description":"Unknown IO ID 44"} 
[2026-09-10 23:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000462336001,"power":27517,"unknown_192":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1827194780695506944}} 
[2026-09-10 23:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":179548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:51:16] local.INFO: GPS data processed {"connection_id":179548,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:51:16] local.INFO: Acknowledgment sent {"connection_id":179548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:51:18] local.INFO: TCP Data received {"connection_id":178148,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:51:18] local.INFO: Processing buffer {"connection_id":178148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:51:18] local.INFO: IMEI packet received {"connection_id":178148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":178148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:51:23] local.INFO: TCP Data received {"connection_id":178148,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:51:23] local.INFO: Processing buffer {"connection_id":178148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:51:23] local.INFO: IMEI packet received {"connection_id":178148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":178148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:51:24] local.INFO: TCP Data received {"connection_id":178148,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:51:24] local.INFO: Processing buffer {"connection_id":178148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c887bf0012d34c54006aa45f0001700e522..."} 
[2026-09-10 23:51:24] local.INFO: Packet analysis {"connection_id":178148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:51:24] local.INFO: Extracted packet for processing {"connection_id":178148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c88"} 
[2026-09-10 23:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":23,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000345344001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789064150000,"timestamp_ms":1789064150000,"timestamp_seconds":1789064150,"priority":1,"record_length":96,"hex_timestamp":"000001a08c887bf0"} 
[2026-09-10 23:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23: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-09-10 23:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000345344001,"66":25712,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000345344001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000345344001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":178148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:51:24] local.INFO: GPS data processed {"connection_id":178148,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:51:24] local.INFO: Acknowledgment sent {"connection_id":178148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:51:37] local.INFO: TCP Data received {"connection_id":176794,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:51:37] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:51:37] local.INFO: IMEI packet received {"connection_id":176794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":176794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:51:43] local.INFO: TCP Data received {"connection_id":176794,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:51:43] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:51:43] local.INFO: IMEI packet received {"connection_id":176794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":176794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:51:46] local.INFO: TCP Data received {"connection_id":176794,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8c15d00100000000000000000000000000..."} 
[2026-09-10 23:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8c15d00100000000000000000000000000..."} 
[2026-09-10 23:51:46] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8c15d00100000000000000000000000000..."} 
[2026-09-10 23:51:46] local.INFO: Packet analysis {"connection_id":176794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:51:46] local.INFO: Extracted packet for processing {"connection_id":176794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:51:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000467712001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1813191400608204800,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789064386000,"timestamp_ms":1789064386000,"timestamp_seconds":1789064386,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8c15d0"} 
[2026-09-10 23:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:51: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-09-10 23:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 23:51:46] 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-09-10 23:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":176794,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:51:46] local.INFO: GPS data processed {"connection_id":176794,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:51:46] local.INFO: Acknowledgment sent {"connection_id":176794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:51:55] local.INFO: TCP Data received {"connection_id":178148,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:51:55] local.INFO: Processing buffer {"connection_id":178148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:51:55] local.INFO: Packet analysis {"connection_id":178148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:51:55] local.INFO: Extracted packet for processing {"connection_id":178148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:51:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:51:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":178148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:51:55] local.INFO: GPS data processed {"connection_id":178148,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:51:55] local.INFO: Acknowledgment sent {"connection_id":178148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:52:18] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:52:18] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:52:18] local.INFO: IMEI packet received {"connection_id":177003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":177003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:52:19] local.INFO: TCP Data received {"connection_id":176794,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8ba488012ce7350007206df0000c00942a..."} 
[2026-09-10 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8ba488012ce7350007206df0000c00942a..."} 
[2026-09-10 23:52:19] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8ba488012ce7350007206df0000c00942a..."} 
[2026-09-10 23:52:19] local.INFO: Packet analysis {"connection_id":176794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:52:19] local.INFO: Extracted packet for processing {"connection_id":176794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:52:19] local.INFO: GPS Element Parsed {"raw_longitude":753349888,"raw_latitude":119565808,"longitude_deg":75.3349888,"latitude_deg":11.9565808,"altitude":12,"angle":148,"satellites":42,"speed":49,"hex_longitude":"2ce73500","hex_latitude":"07206df0","is_valid_coordinates":true} 
[2026-09-10 23:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,192,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789064357000,"timestamp_ms":1789064357000,"timestamp_seconds":1789064357,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8ba488"} 
[2026-09-10 23:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:52:19] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-10 23:52:19] 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-09-10 23:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"192":206,"2":54272,"24":49,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16]} 
[2026-09-10 23:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:52:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 23:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:52:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_192":206,"power_alt":54272,"ignition":49,"odometer":null}} 
[2026-09-10 23:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":176794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:52:19] local.INFO: GPS data processed {"connection_id":176794,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:52:19] local.INFO: Acknowledgment sent {"connection_id":176794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:52:23] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:52:23] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:52:23] local.INFO: IMEI packet received {"connection_id":177003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":177003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:52:24] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:52:24] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:52:24] local.INFO: Packet analysis {"connection_id":177003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:52:24] local.INFO: Extracted packet for processing {"connection_id":177003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:52:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":177003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:52:24] local.INFO: GPS data processed {"connection_id":177003,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:52:24] local.INFO: Acknowledgment sent {"connection_id":177003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:52:38] local.INFO: TCP Data received {"connection_id":178149,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:52:38] local.INFO: Processing buffer {"connection_id":178149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:52:38] local.INFO: IMEI packet received {"connection_id":178149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":178149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:52:43] local.INFO: TCP Data received {"connection_id":178149,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:52:43] local.INFO: Processing buffer {"connection_id":178149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:52:43] local.INFO: IMEI packet received {"connection_id":178149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":178149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:52:45] local.INFO: TCP Data received {"connection_id":178149,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8be6f0012ce7540007202250000b00a22b..."} 
[2026-09-10 23:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8be6f0012ce7540007202250000b00a22b..."} 
[2026-09-10 23:52:45] local.INFO: Processing buffer {"connection_id":178149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8be6f0012ce7540007202250000b00a22b..."} 
[2026-09-10 23:52:45] local.INFO: Packet analysis {"connection_id":178149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:52:45] local.INFO: Extracted packet for processing {"connection_id":178149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8b"} 
[2026-09-10 23:52:45] local.INFO: GPS Element Parsed {"raw_longitude":753357824,"raw_latitude":119546448,"longitude_deg":75.3357824,"latitude_deg":11.9546448,"altitude":11,"angle":162,"satellites":43,"speed":48,"hex_longitude":"2ce75400","hex_latitude":"07202250","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000475392001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1786521646573686784,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789064374000,"timestamp_ms":1789064374000,"timestamp_seconds":1789064374,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8be6f0"} 
[2026-09-10 23:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-10 23:52: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-09-10 23:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000475392001,"66":27571,"192":206,"2":54272,"24":48,"16":3893920429768704,"44":-1786521646573686784},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,44]} 
[2026-09-10 23:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000475392001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:52:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-10 23:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1786521646573686784,"description":"Unknown IO ID 44"} 
[2026-09-10 23:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000475392001,"power":27571,"unknown_192":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1786521646573686784}} 
[2026-09-10 23:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":178149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:52:45] local.INFO: GPS data processed {"connection_id":178149,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:52:45] local.INFO: Acknowledgment sent {"connection_id":178149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:52:55] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:52:55] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:52:55] local.INFO: Packet analysis {"connection_id":177003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:52:55] local.INFO: Extracted packet for processing {"connection_id":177003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:52:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":177003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:52:55] local.INFO: GPS data processed {"connection_id":177003,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:52:55] local.INFO: Acknowledgment sent {"connection_id":177003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:53:18] local.INFO: TCP Data received {"connection_id":178149,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8c2958012ce77a40071fdbf8000b00902b..."} 
[2026-09-10 23:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8c2958012ce77a40071fdbf8000b00902b..."} 
[2026-09-10 23:53:18] local.INFO: Processing buffer {"connection_id":178149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8c2958012ce77a40071fdbf8000b00902b..."} 
[2026-09-10 23:53:18] local.INFO: Packet analysis {"connection_id":178149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:53:18] local.INFO: Extracted packet for processing {"connection_id":178149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:53:18] local.INFO: GPS Element Parsed {"raw_longitude":753367616,"raw_latitude":119528440,"longitude_deg":75.3367616,"latitude_deg":11.952844,"altitude":11,"angle":144,"satellites":43,"speed":47,"hex_longitude":"2ce77a40","hex_latitude":"071fdbf8","is_valid_coordinates":true} 
[2026-09-10 23:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000479744001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1777795922300612608,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789064391000,"timestamp_ms":1789064391000,"timestamp_seconds":1789064391,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8c2958"} 
[2026-09-10 23:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 23:53:18] 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-09-10 23:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000479744001,"66":27593,"190":206,"2":54272,"24":47,"16":3893920429768704,"44":-1777795922300612608},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,2,24,16,44]} 
[2026-09-10 23:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000479744001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:53:18] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-10 23:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:53:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1777795922300612608,"description":"Unknown IO ID 44"} 
[2026-09-10 23:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000479744001,"power":27593,"unknown_190":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1777795922300612608}} 
[2026-09-10 23:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":178149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:53:18] local.INFO: GPS data processed {"connection_id":178149,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:53:18] local.INFO: Acknowledgment sent {"connection_id":178149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:53:23] local.INFO: TCP Data received {"connection_id":179549,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:53:23] local.INFO: Processing buffer {"connection_id":179549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:53:23] local.INFO: IMEI packet received {"connection_id":179549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":179549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:53:28] local.INFO: TCP Data received {"connection_id":179549,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:53:28] local.INFO: Processing buffer {"connection_id":179549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:53:28] local.INFO: IMEI packet received {"connection_id":179549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":179549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:53:28] local.INFO: TCP Data received {"connection_id":179549,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:53:28] local.INFO: Processing buffer {"connection_id":179549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:53:28] local.INFO: Packet analysis {"connection_id":179549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:53:28] local.INFO: Extracted packet for processing {"connection_id":179549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:53:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:53:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":179549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:53:28] local.INFO: GPS data processed {"connection_id":179549,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:53:28] local.INFO: Acknowledgment sent {"connection_id":179549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:53:33] local.INFO: TCP Data received {"connection_id":179549,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:53:33] local.INFO: Processing buffer {"connection_id":179549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:53:33] local.INFO: Packet analysis {"connection_id":179549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:53:33] local.INFO: Extracted packet for processing {"connection_id":179549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:53:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:53: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-09-10 23: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":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":179549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":179549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":179549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:53:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:53:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":179549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:53:33] local.INFO: GPS data processed {"connection_id":179549,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:53:33] local.INFO: Acknowledgment sent {"connection_id":179549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:53:38] local.INFO: TCP Data received {"connection_id":179550,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:53:38] local.INFO: Processing buffer {"connection_id":179550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:53:38] local.INFO: IMEI packet received {"connection_id":179550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":179550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:53:43] local.INFO: TCP Data received {"connection_id":179550,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:53:43] local.INFO: Processing buffer {"connection_id":179550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:53:43] local.INFO: IMEI packet received {"connection_id":179550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":179550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:53:44] local.INFO: TCP Data received {"connection_id":179550,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8c7b60012ce7a6c0071f99b8000c00882c..."} 
[2026-09-10 23:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8c7b60012ce7a6c0071f99b8000c00882c..."} 
[2026-09-10 23:53:44] local.INFO: Processing buffer {"connection_id":179550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8c7b60012ce7a6c0071f99b8000c00882c..."} 
[2026-09-10 23:53:44] local.INFO: Packet analysis {"connection_id":179550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:53:44] local.INFO: Extracted packet for processing {"connection_id":179550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:53:44] local.INFO: GPS Element Parsed {"raw_longitude":753379008,"raw_latitude":119511480,"longitude_deg":75.3379008,"latitude_deg":11.951148,"altitude":12,"angle":136,"satellites":44,"speed":0,"hex_longitude":"2ce7a6c0","hex_latitude":"071f99b8","is_valid_coordinates":true} 
[2026-09-10 23:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000484096001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1767029504446040064,"note":"Value kept but may cause issues"} 
[2026-09-10 23:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789064412000,"timestamp_ms":1789064412000,"timestamp_seconds":1789064412,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8c7b60"} 
[2026-09-10 23:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 23:53:44] 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-09-10 23:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000484096001,"66":27571,"191":206,"2":54272,"24":0,"16":3893920429768704,"44":-1767029504446040064},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,44]} 
[2026-09-10 23:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000484096001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:53:44] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-10 23:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:53:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1767029504446040064,"description":"Unknown IO ID 44"} 
[2026-09-10 23:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000484096001,"power":27571,"unknown_191":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1767029504446040064}} 
[2026-09-10 23:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":179550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:53:44] local.INFO: GPS data processed {"connection_id":179550,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:53:44] local.INFO: Acknowledgment sent {"connection_id":179550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:54:15] local.INFO: TCP Data received {"connection_id":179550,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8ccd68012ce7e580071f6998000b00812c..."} 
[2026-09-10 23:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8ccd68012ce7e580071f6998000b00812c..."} 
[2026-09-10 23:54:15] local.INFO: Processing buffer {"connection_id":179550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8ccd68012ce7e580071f6998000b00812c..."} 
[2026-09-10 23:54:15] local.INFO: Packet analysis {"connection_id":179550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:54:15] local.INFO: Extracted packet for processing {"connection_id":179550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8c"} 
[2026-09-10 23:54:15] local.INFO: GPS Element Parsed {"raw_longitude":753395072,"raw_latitude":119499160,"longitude_deg":75.3395072,"latitude_deg":11.949916,"altitude":11,"angle":129,"satellites":44,"speed":0,"hex_longitude":"2ce7e580","hex_latitude":"071f6998","is_valid_coordinates":true} 
[2026-09-10 23:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000489472001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1754503867986757632,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789064433000,"timestamp_ms":1789064433000,"timestamp_seconds":1789064433,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8ccd68"} 
[2026-09-10 23:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:54: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-09-10 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-10 23:54:15] 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-09-10 23:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":179550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":179550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":179550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000489472001,"66":27626,"191":206,"2":54272,"24":0,"16":3893920429768704,"44":-1754503867986757632},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,44]} 
[2026-09-10 23:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000489472001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:54:15] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-10 23:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:54:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1754503867986757632,"description":"Unknown IO ID 44"} 
[2026-09-10 23:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000489472001,"power":27626,"unknown_191":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1754503867986757632}} 
[2026-09-10 23:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":179550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:54:16] local.INFO: GPS data processed {"connection_id":179550,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:54:16] local.INFO: Acknowledgment sent {"connection_id":179550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:54:18] local.INFO: TCP Data received {"connection_id":176795,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:54:18] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:54:18] local.INFO: IMEI packet received {"connection_id":176795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":176795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:54:23] local.INFO: TCP Data received {"connection_id":176795,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:54:23] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:54:23] local.INFO: IMEI packet received {"connection_id":176795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":176795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:54:24] local.INFO: TCP Data received {"connection_id":176795,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:54:24] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:54:24] local.INFO: Packet analysis {"connection_id":176795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:54:24] local.INFO: Extracted packet for processing {"connection_id":176795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":176795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:54:24] local.INFO: GPS data processed {"connection_id":176795,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:54:24] local.INFO: Acknowledgment sent {"connection_id":176795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:54:42] local.INFO: TCP Data received {"connection_id":177004,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:54:42] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:54:42] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:54:44] local.INFO: TCP Data received {"connection_id":177004,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:54:44] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:54:44] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:54:45] local.INFO: TCP Data received {"connection_id":177004,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8f8c88012ce99c80071d3d10000800862b..."} 
[2026-09-10 23:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8f8c88012ce99c80071d3d10000800862b..."} 
[2026-09-10 23:54:45] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8f8c88012ce99c80071d3d10000800862b..."} 
[2026-09-10 23:54:45] local.INFO: Packet analysis {"connection_id":177004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8f"} 
[2026-09-10 23:54:45] local.INFO: Extracted packet for processing {"connection_id":177004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8f"} 
[2026-09-10 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":753507456,"raw_latitude":119356688,"longitude_deg":75.3507456,"latitude_deg":11.9356688,"altitude":8,"angle":134,"satellites":43,"speed":19,"hex_longitude":"2ce99c80","hex_latitude":"071d3d10","is_valid_coordinates":true} 
[2026-09-10 23:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000536576001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1624955009992056832,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789064613000,"timestamp_ms":1789064613000,"timestamp_seconds":1789064613,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8f8c88"} 
[2026-09-10 23:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-10 23:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000536576001,"66":27550,"165":206,"2":54272,"24":19,"16":3893920429768704,"44":-1624955009992056832},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-09-10 23:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000536576001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:54:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 23:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:54:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1624955009992056832,"description":"Unknown IO ID 44"} 
[2026-09-10 23:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000536576001,"power":27550,"unknown_165":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-1624955009992056832}} 
[2026-09-10 23:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":177004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:54:45] local.INFO: GPS data processed {"connection_id":177004,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:54:45] local.INFO: Acknowledgment sent {"connection_id":177004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:54:55] local.INFO: TCP Data received {"connection_id":176795,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:54:55] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:54:55] local.INFO: Packet analysis {"connection_id":176795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:54:55] local.INFO: Extracted packet for processing {"connection_id":176795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":176795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:54:55] local.INFO: GPS data processed {"connection_id":176795,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:54:55] local.INFO: Acknowledgment sent {"connection_id":176795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:55:17] local.INFO: TCP Data received {"connection_id":177004,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8fde90012ce99c80071d3d10000800862b..."} 
[2026-09-10 23:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8fde90012ce99c80071d3d10000800862b..."} 
[2026-09-10 23:55:17] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8fde90012ce99c80071d3d10000800862b..."} 
[2026-09-10 23:55:17] local.INFO: Packet analysis {"connection_id":177004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8f"} 
[2026-09-10 23:55:17] local.INFO: Extracted packet for processing {"connection_id":177004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8f"} 
[2026-09-10 23:55:17] local.INFO: GPS Element Parsed {"raw_longitude":753507456,"raw_latitude":119356688,"longitude_deg":75.3507456,"latitude_deg":11.9356688,"altitude":8,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2ce99c80","hex_latitude":"071d3d10","is_valid_coordinates":true} 
[2026-09-10 23:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000540928001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613273798461812736,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789064634000,"timestamp_ms":1789064634000,"timestamp_seconds":1789064634,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8fde90"} 
[2026-09-10 23:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:55: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-09-10 23:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-10 23:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000540928001,"66":27691,"165":206,"2":54272,"24":0,"16":3893920429768704,"44":-1613273798461812736},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-09-10 23:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000540928001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:55:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 23:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:55:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613273798461812736,"description":"Unknown IO ID 44"} 
[2026-09-10 23:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000540928001,"power":27691,"unknown_165":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1613273798461812736}} 
[2026-09-10 23:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":177004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:55:17] local.INFO: GPS data processed {"connection_id":177004,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:55:17] local.INFO: Acknowledgment sent {"connection_id":177004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:55:18] local.INFO: TCP Data received {"connection_id":179551,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:55:18] local.INFO: Processing buffer {"connection_id":179551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:55:18] local.INFO: IMEI packet received {"connection_id":179551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":179551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:55:23] local.INFO: TCP Data received {"connection_id":179551,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:55:23] local.INFO: Processing buffer {"connection_id":179551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:55:23] local.INFO: IMEI packet received {"connection_id":179551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":179551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:55:24] local.INFO: TCP Data received {"connection_id":179551,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:55:24] local.INFO: Processing buffer {"connection_id":179551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:55:24] local.INFO: Packet analysis {"connection_id":179551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:55:24] local.INFO: Extracted packet for processing {"connection_id":179551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":179551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":179551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":179551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":179551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:55:24] local.INFO: GPS data processed {"connection_id":179551,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:55:24] local.INFO: Acknowledgment sent {"connection_id":179551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:55:38] local.INFO: TCP Data received {"connection_id":178150,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:55:38] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:55:38] local.INFO: IMEI packet received {"connection_id":178150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":178150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:55:42] local.INFO: TCP Data received {"connection_id":178150,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:55:42] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:55:42] local.INFO: IMEI packet received {"connection_id":178150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":178150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:55:44] local.INFO: TCP Data received {"connection_id":178150,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c900988012ce9d1c0071d3ea80006003d2b..."} 
[2026-09-10 23:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c900988012ce9d1c0071d3ea80006003d2b..."} 
[2026-09-10 23:55:44] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c900988012ce9d1c0071d3ea80006003d2b..."} 
[2026-09-10 23:55:44] local.INFO: Packet analysis {"connection_id":178150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c90"} 
[2026-09-10 23:55:44] local.INFO: Extracted packet for processing {"connection_id":178150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c90"} 
[2026-09-10 23:55:44] local.INFO: GPS Element Parsed {"raw_longitude":753521088,"raw_latitude":119357096,"longitude_deg":75.3521088,"latitude_deg":11.9357096,"altitude":6,"angle":61,"satellites":43,"speed":29,"hex_longitude":"2ce9d1c0","hex_latitude":"071d3ea8","is_valid_coordinates":true} 
[2026-09-10 23:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000546304001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613273798461812736,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789064645000,"timestamp_ms":1789064645000,"timestamp_seconds":1789064645,"priority":1,"record_length":96,"hex_timestamp":"000001a08c900988"} 
[2026-09-10 23:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-10 23:55:44] 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-09-10 23:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000546304001,"66":27517,"165":206,"2":54272,"24":29,"16":3893920429768704,"44":-1613273798461812736},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-09-10 23:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000546304001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:55:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 23:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:55:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613273798461812736,"description":"Unknown IO ID 44"} 
[2026-09-10 23:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000546304001,"power":27517,"unknown_165":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1613273798461812736}} 
[2026-09-10 23:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":178150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:55:44] local.INFO: GPS data processed {"connection_id":178150,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:55:44] local.INFO: Acknowledgment sent {"connection_id":178150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:55:56] local.INFO: TCP Data received {"connection_id":179551,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:55:56] local.INFO: Processing buffer {"connection_id":179551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:55:56] local.INFO: Packet analysis {"connection_id":179551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:55:56] local.INFO: Extracted packet for processing {"connection_id":179551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:55:56] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":179551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":179551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":179551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:55:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:55:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":179551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:55:56] local.INFO: GPS data processed {"connection_id":179551,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:55:56] local.INFO: Acknowledgment sent {"connection_id":179551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:56:16] local.INFO: TCP Data received {"connection_id":178150,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c9057a8012cea0600071d3af0000700b12d..."} 
[2026-09-10 23:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c9057a8012cea0600071d3af0000700b12d..."} 
[2026-09-10 23:56:16] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c9057a8012cea0600071d3af0000700b12d..."} 
[2026-09-10 23:56:16] local.INFO: Packet analysis {"connection_id":178150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c90"} 
[2026-09-10 23:56:16] local.INFO: Extracted packet for processing {"connection_id":178150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c90"} 
[2026-09-10 23:56:16] local.INFO: GPS Element Parsed {"raw_longitude":753534464,"raw_latitude":119356144,"longitude_deg":75.3534464,"latitude_deg":11.9356144,"altitude":7,"angle":177,"satellites":45,"speed":18,"hex_longitude":"2cea0600","hex_latitude":"071d3af0","is_valid_coordinates":true} 
[2026-09-10 23:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000549120001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1598285255951865856,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789064665000,"timestamp_ms":1789064665000,"timestamp_seconds":1789064665,"priority":1,"record_length":96,"hex_timestamp":"000001a08c9057a8"} 
[2026-09-10 23:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:56: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-09-10 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 23:56:16] 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-09-10 23: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-09-10 23:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000549120001,"66":27593,"165":206,"2":54272,"24":18,"16":3893920429768704,"44":-1598285255951865856},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-09-10 23:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000549120001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:56:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 23:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1598285255951865856,"description":"Unknown IO ID 44"} 
[2026-09-10 23:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000549120001,"power":27593,"unknown_165":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1598285255951865856}} 
[2026-09-10 23:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":178150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:56:16] local.INFO: GPS data processed {"connection_id":178150,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:56:16] local.INFO: Acknowledgment sent {"connection_id":178150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:56:23] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:56:23] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:56:23] local.INFO: IMEI packet received {"connection_id":177005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":177005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:56:28] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:56:28] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:56:28] local.INFO: IMEI packet received {"connection_id":177005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":177005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:56:29] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:56:29] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c8d13b8012d34c54006aa45f0001900e526..."} 
[2026-09-10 23:56:29] local.INFO: Packet analysis {"connection_id":177005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:56:29] local.INFO: Extracted packet for processing {"connection_id":177005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c8d"} 
[2026-09-10 23:56:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":25,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000422400001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789064451000,"timestamp_ms":1789064451000,"timestamp_seconds":1789064451,"priority":1,"record_length":96,"hex_timestamp":"000001a08c8d13b8"} 
[2026-09-10 23:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-10 23:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23: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-09-10 23:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000422400001,"66":25756,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000422400001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:56:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:56:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000422400001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":177005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:56:29] local.INFO: GPS data processed {"connection_id":177005,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:56:29] local.INFO: Acknowledgment sent {"connection_id":177005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:56:30] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:56:30] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:56:30] local.INFO: Packet analysis {"connection_id":177005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:56:30] local.INFO: Extracted packet for processing {"connection_id":177005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000499456001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1789064752000,"timestamp_ms":1789064752000,"timestamp_seconds":1789064752,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91ab80"} 
[2026-09-10 23:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000499456001,"66":25702,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000499456001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:56:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:56:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000499456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":177005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:56:30] local.INFO: GPS data processed {"connection_id":177005,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:56:30] local.INFO: Acknowledgment sent {"connection_id":177005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:56:38] local.INFO: TCP Data received {"connection_id":179552,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:56:38] local.INFO: Processing buffer {"connection_id":179552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:56:38] local.INFO: IMEI packet received {"connection_id":179552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":179552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:56:42] local.INFO: TCP Data received {"connection_id":179552,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:56:42] local.INFO: Processing buffer {"connection_id":179552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:56:42] local.INFO: IMEI packet received {"connection_id":179552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":179552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:56:44] local.INFO: TCP Data received {"connection_id":179552,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c913e200100000000000000000000000000..."} 
[2026-09-10 23:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c913e200100000000000000000000000000..."} 
[2026-09-10 23:56:44] local.INFO: Processing buffer {"connection_id":179552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c913e200100000000000000000000000000..."} 
[2026-09-10 23:56:44] local.INFO: Packet analysis {"connection_id":179552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:56:44] local.INFO: Extracted packet for processing {"connection_id":179552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:56:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000554240001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583578188418977792,"note":"Value kept but may cause issues"} 
[2026-09-10 23:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789064724000,"timestamp_ms":1789064724000,"timestamp_seconds":1789064724,"priority":1,"record_length":96,"hex_timestamp":"000001a08c913e20"} 
[2026-09-10 23:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 23:56:44] 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-09-10 23:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":179552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":179552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":179552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":179552,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:56:44] local.INFO: GPS data processed {"connection_id":179552,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:56:44] local.INFO: Acknowledgment sent {"connection_id":179552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:57:01] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:01] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:01] local.INFO: Packet analysis {"connection_id":177005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:01] local.INFO: Extracted packet for processing {"connection_id":177005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000499456001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1789064752000,"timestamp_ms":1789064752000,"timestamp_seconds":1789064752,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91ab80"} 
[2026-09-10 23:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23: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-09-10 23:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000499456001,"66":25702,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000499456001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:57:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000499456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":177005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:57:01] local.INFO: GPS data processed {"connection_id":177005,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:57:01] local.INFO: Acknowledgment sent {"connection_id":177005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:57:16] local.INFO: TCP Data received {"connection_id":179552,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c90c8f0012cea0240071d0808000d00b62b..."} 
[2026-09-10 23:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c90c8f0012cea0240071d0808000d00b62b..."} 
[2026-09-10 23:57:16] local.INFO: Processing buffer {"connection_id":179552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c90c8f0012cea0240071d0808000d00b62b..."} 
[2026-09-10 23:57:16] local.INFO: Packet analysis {"connection_id":179552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c90"} 
[2026-09-10 23:57:16] local.INFO: Extracted packet for processing {"connection_id":179552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c90"} 
[2026-09-10 23:57:16] local.INFO: GPS Element Parsed {"raw_longitude":753533504,"raw_latitude":119343112,"longitude_deg":75.3533504,"latitude_deg":11.9343112,"altitude":13,"angle":182,"satellites":43,"speed":17,"hex_longitude":"2cea0240","hex_latitude":"071d0808","is_valid_coordinates":true} 
[2026-09-10 23:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789064694000,"timestamp_ms":1789064694000,"timestamp_seconds":1789064694,"priority":1,"record_length":96,"hex_timestamp":"000001a08c90c8f0"} 
[2026-09-10 23:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-10 23:57:16] 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-09-10 23:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":179552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":179552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":179552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"165":206,"2":54272,"24":17,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16]} 
[2026-09-10 23:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:57:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 23:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:57:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_165":206,"power_alt":54272,"ignition":17,"odometer":null}} 
[2026-09-10 23:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":179552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:57:16] local.INFO: GPS data processed {"connection_id":179552,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:57:16] local.INFO: Acknowledgment sent {"connection_id":179552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:57:21] local.INFO: TCP Data received {"connection_id":179553,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:57:21] local.INFO: Processing buffer {"connection_id":179553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:57:21] local.INFO: IMEI packet received {"connection_id":179553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":179553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:57:23] local.INFO: TCP Data received {"connection_id":179553,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:57:23] local.INFO: Processing buffer {"connection_id":179553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:57:23] local.INFO: IMEI packet received {"connection_id":179553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":179553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:57:23] local.INFO: TCP Data received {"connection_id":179553,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:23] local.INFO: Processing buffer {"connection_id":179553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:23] local.INFO: Packet analysis {"connection_id":179553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:23] local.INFO: Extracted packet for processing {"connection_id":179553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000499456001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789064752000,"timestamp_ms":1789064752000,"timestamp_seconds":1789064752,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91ab80"} 
[2026-09-10 23:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":179553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":179553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":179553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000499456001,"66":25702,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000499456001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000499456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":179553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:57:23] local.INFO: GPS data processed {"connection_id":179553,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:57:23] local.INFO: Acknowledgment sent {"connection_id":179553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:57:28] local.INFO: TCP Data received {"connection_id":179553,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:28] local.INFO: Processing buffer {"connection_id":179553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:28] local.INFO: Packet analysis {"connection_id":179553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:28] local.INFO: Extracted packet for processing {"connection_id":179553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000499456001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789064752000,"timestamp_ms":1789064752000,"timestamp_seconds":1789064752,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91ab80"} 
[2026-09-10 23:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":179553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":179553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":179553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000499456001,"66":25702,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000499456001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:57:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:57:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000499456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":179553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:57:28] local.INFO: GPS data processed {"connection_id":179553,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:57:28] local.INFO: Acknowledgment sent {"connection_id":179553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:57:53] local.INFO: TCP Data received {"connection_id":179554,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:57:53] local.INFO: Processing buffer {"connection_id":179554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:57:53] local.INFO: IMEI packet received {"connection_id":179554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":179554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:57:55] local.INFO: TCP Data received {"connection_id":179554,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:57:55] local.INFO: Processing buffer {"connection_id":179554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:57:55] local.INFO: IMEI packet received {"connection_id":179554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":179554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:57:58] local.INFO: TCP Data received {"connection_id":179554,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91af680100000000000000000000000000..."} 
[2026-09-10 23:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91af680100000000000000000000000000..."} 
[2026-09-10 23:57:58] local.INFO: Processing buffer {"connection_id":179554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91af680100000000000000000000000000..."} 
[2026-09-10 23:57:58] local.INFO: Packet analysis {"connection_id":179554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:58] local.INFO: Extracted packet for processing {"connection_id":179554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000561664001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584633719584978944,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789064753000,"timestamp_ms":1789064753000,"timestamp_seconds":1789064753,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91af68"} 
[2026-09-10 23:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-10 23:57:58] 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-09-10 23:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":179554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":179554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":179554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":179554,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:57:58] local.INFO: GPS data processed {"connection_id":179554,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:57:58] local.INFO: Acknowledgment sent {"connection_id":179554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:57:59] local.INFO: TCP Data received {"connection_id":179553,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:59] local.INFO: Processing buffer {"connection_id":179553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:57:59] local.INFO: Packet analysis {"connection_id":179553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:59] local.INFO: Extracted packet for processing {"connection_id":179553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000499456001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789064752000,"timestamp_ms":1789064752000,"timestamp_seconds":1789064752,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91ab80"} 
[2026-09-10 23:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000499456001,"66":25702,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000499456001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000499456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":179553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:57:59] local.INFO: GPS data processed {"connection_id":179553,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:57:59] local.INFO: Acknowledgment sent {"connection_id":179553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:57:59] local.INFO: TCP Data received {"connection_id":179554,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c913268012ce9fec0071cd5a0000f00b92b..."} 
[2026-09-10 23:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":179554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c913268012ce9fec0071cd5a0000f00b92b..."} 
[2026-09-10 23:57:59] local.INFO: Processing buffer {"connection_id":179554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c913268012ce9fec0071cd5a0000f00b92b..."} 
[2026-09-10 23:57:59] local.INFO: Packet analysis {"connection_id":179554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:59] local.INFO: Extracted packet for processing {"connection_id":179554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:57:59] local.INFO: GPS Element Parsed {"raw_longitude":753532608,"raw_latitude":119330208,"longitude_deg":75.3532608,"latitude_deg":11.9330208,"altitude":15,"angle":185,"satellites":43,"speed":17,"hex_longitude":"2ce9fec0","hex_latitude":"071cd5a0","is_valid_coordinates":true} 
[2026-09-10 23:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:57:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789064721000,"timestamp_ms":1789064721000,"timestamp_seconds":1789064721,"priority":1,"record_length":96,"hex_timestamp":"000001a08c913268"} 
[2026-09-10 23:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:57: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:57: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-10 23:57:59] 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-09-10 23:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":179554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":179554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":179554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"165":206,"2":54272,"24":17,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16]} 
[2026-09-10 23:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:57:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-10 23:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:57:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_165":206,"power_alt":54272,"ignition":17,"odometer":null}} 
[2026-09-10 23:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":179554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:57:59] local.INFO: GPS data processed {"connection_id":179554,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:57:59] local.INFO: Acknowledgment sent {"connection_id":179554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:58:23] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:58:23] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:58:23] local.INFO: IMEI packet received {"connection_id":176796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":176796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:58:24] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:58:24] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:58:24] local.INFO: IMEI packet received {"connection_id":176796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":176796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:58:25] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:58:25] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:58:25] local.INFO: Packet analysis {"connection_id":176796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:58:25] local.INFO: Extracted packet for processing {"connection_id":176796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000499456001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789064752000,"timestamp_ms":1789064752000,"timestamp_seconds":1789064752,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91ab80"} 
[2026-09-10 23:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000499456001,"66":25702,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000499456001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:58:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000499456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":176796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:58:25] local.INFO: GPS data processed {"connection_id":176796,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:58:25] local.INFO: Acknowledgment sent {"connection_id":176796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:58:28] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:58:28] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91ab80012d34c54006aa45f0000d00e526..."} 
[2026-09-10 23:58:28] local.INFO: Packet analysis {"connection_id":176796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:58:28] local.INFO: Extracted packet for processing {"connection_id":176796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000499456001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789064752000,"timestamp_ms":1789064752000,"timestamp_seconds":1789064752,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91ab80"} 
[2026-09-10 23:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000499456001,"66":25702,"97":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-10 23:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000499456001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:58:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-10 23:58:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000499456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":176796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:58:28] local.INFO: GPS data processed {"connection_id":176796,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:58:28] local.INFO: Acknowledgment sent {"connection_id":176796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:58:37] local.INFO: TCP Data received {"connection_id":177006,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:37] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:37] local.INFO: IMEI packet received {"connection_id":177006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":177006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:58:38] local.INFO: TCP Data received {"connection_id":177006,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:38] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:38] local.INFO: IMEI packet received {"connection_id":177006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":177006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:58:43] local.INFO: TCP Data received {"connection_id":177006,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:43] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:58:43] local.INFO: IMEI packet received {"connection_id":177006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":177006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:58:44] local.INFO: TCP Data received {"connection_id":177006,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c9218e00100000000000000000000000000..."} 
[2026-09-10 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c9218e00100000000000000000000000000..."} 
[2026-09-10 23:58:44] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c9218e00100000000000000000000000000..."} 
[2026-09-10 23:58:44] local.INFO: Packet analysis {"connection_id":177006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c92"} 
[2026-09-10 23:58:44] local.INFO: Extracted packet for processing {"connection_id":177006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c92"} 
[2026-09-10 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000568576001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585618882006769664,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789064780000,"timestamp_ms":1789064780000,"timestamp_seconds":1789064780,"priority":1,"record_length":96,"hex_timestamp":"000001a08c9218e0"} 
[2026-09-10 23:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-10 23:58:44] 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-09-10 23:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":177006,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:58:44] local.INFO: GPS data processed {"connection_id":177006,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:58:44] local.INFO: Acknowledgment sent {"connection_id":177006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:58:48] local.INFO: TCP Data received {"connection_id":177006,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c919410012ce9fac0071c9b18000f00b72f..."} 
[2026-09-10 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c919410012ce9fac0071c9b18000f00b72f..."} 
[2026-09-10 23:58:48] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c919410012ce9fac0071c9b18000f00b72f..."} 
[2026-09-10 23:58:48] local.INFO: Packet analysis {"connection_id":177006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:58:48] local.INFO: Extracted packet for processing {"connection_id":177006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:58:48] local.INFO: GPS Element Parsed {"raw_longitude":753531584,"raw_latitude":119315224,"longitude_deg":75.3531584,"latitude_deg":11.9315224,"altitude":15,"angle":183,"satellites":47,"speed":27,"hex_longitude":"2ce9fac0","hex_latitude":"071c9b18","is_valid_coordinates":true} 
[2026-09-10 23:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789064746000,"timestamp_ms":1789064746000,"timestamp_seconds":1789064746,"priority":1,"record_length":96,"hex_timestamp":"000001a08c919410"} 
[2026-09-10 23:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:58:48] local.INFO: 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-09-10 23:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-10 23:58:48] 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-09-10 23:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26930,"162":206,"2":54272,"24":27,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16]} 
[2026-09-10 23:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:58:48] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-10 23:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:58:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26930,"unknown_162":206,"power_alt":54272,"ignition":27,"odometer":null}} 
[2026-09-10 23:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":177006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:58:49] local.INFO: GPS data processed {"connection_id":177006,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:58:49] local.INFO: Acknowledgment sent {"connection_id":177006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:58:59] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c93de00012d34c54006aa45f0000d00e528..."} 
[2026-09-10 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c93de00012d34c54006aa45f0000d00e528..."} 
[2026-09-10 23:58:59] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c93de00012d34c54006aa45f0000d00e528..."} 
[2026-09-10 23:58:59] local.INFO: Packet analysis {"connection_id":176796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c93"} 
[2026-09-10 23:58:59] local.INFO: Extracted packet for processing {"connection_id":176796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c93"} 
[2026-09-10 23:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822320,"longitude_deg":75.8433088,"latitude_deg":11.182232,"altitude":13,"angle":229,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa45f0","is_valid_coordinates":true} 
[2026-09-10 23:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000576512001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789064896000,"timestamp_ms":1789064896000,"timestamp_seconds":1789064896,"priority":1,"record_length":96,"hex_timestamp":"000001a08c93de00"} 
[2026-09-10 23:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-10 23:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-10 23:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-10 23:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000576512001,"66":25756,"32":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-10 23:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000576512001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:58:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-10 23:58:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000576512001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":176796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":797000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:58:59] local.INFO: GPS data processed {"connection_id":176796,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:58:59] local.INFO: Acknowledgment sent {"connection_id":176796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:59:20] local.INFO: TCP Data received {"connection_id":177006,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c927a880100000000000000000000000000..."} 
[2026-09-10 23:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c927a880100000000000000000000000000..."} 
[2026-09-10 23:59:20] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c927a880100000000000000000000000000..."} 
[2026-09-10 23:59:20] local.INFO: Packet analysis {"connection_id":177006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c92"} 
[2026-09-10 23:59:20] local.INFO: Extracted packet for processing {"connection_id":177006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c92"} 
[2026-09-10 23:59:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-10 23:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000574976001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586744781917448192,"note":"Value kept but may cause issues"} 
[2026-09-10 23:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789064805000,"timestamp_ms":1789064805000,"timestamp_seconds":1789064805,"priority":1,"record_length":96,"hex_timestamp":"000001a08c927a88"} 
[2026-09-10 23:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:59: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-09-10 23:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-10 23:59:20] 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-09-10 23:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":177006,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-10 23:59:20] local.INFO: GPS data processed {"connection_id":177006,"processed":0,"errors":0,"total":1} 
[2026-09-10 23:59:20] local.INFO: Acknowledgment sent {"connection_id":177006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:59:28] local.INFO: TCP Data received {"connection_id":176797,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:59:28] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:59:28] local.INFO: IMEI packet received {"connection_id":176797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-10 23:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":176797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:59:33] local.INFO: TCP Data received {"connection_id":176797,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:59:33] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-10 23:59:33] local.INFO: IMEI packet received {"connection_id":176797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-10 23:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":176797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:59:34] local.INFO: TCP Data received {"connection_id":176797,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08c943fa8012d34c80006aa46b8000d00e525..."} 
[2026-09-10 23:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c943fa8012d34c80006aa46b8000d00e525..."} 
[2026-09-10 23:59:34] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c943fa8012d34c80006aa46b8000d00e525..."} 
[2026-09-10 23:59:34] local.INFO: Packet analysis {"connection_id":176797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c94"} 
[2026-09-10 23:59:34] local.INFO: Extracted packet for processing {"connection_id":176797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c94"} 
[2026-09-10 23:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111822520,"longitude_deg":75.8433792,"latitude_deg":11.182252,"altitude":13,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa46b8","is_valid_coordinates":true} 
[2026-09-10 23: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-09-10 23:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458000613376001,"note":"Value kept but may cause issues"} 
[2026-09-10 23:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405027317367177216,"note":"Value kept but may cause issues"} 
[2026-09-10 23:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754943488,"note":"Value kept but may cause issues"} 
[2026-09-10 23:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-10 23:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789064921000,"timestamp_ms":1789064921000,"timestamp_seconds":1789064921,"priority":1,"record_length":96,"hex_timestamp":"000001a08c943fa8"} 
[2026-09-10 23:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-10 23:59: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-09-10 23: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-09-10 23:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-10 23:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-10 23:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-10 23:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458000613376001,"66":27300,"32":206,"81":23296,"24":0,"16":405027317367177216,"45":3802515857754943488},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-10 23:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-10 23:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-10 23:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458000613376001,"description":"Unknown IO ID 0"} 
[2026-09-10 23:59:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-10 23:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-10 23:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405027317367177216,"km_value":405027317367177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754943488,"description":"Unknown IO ID 45"} 
[2026-09-10 23:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458000613376001,"power":27300,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754943488}} 
[2026-09-10 23:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":176797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":797001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:59:34] local.INFO: GPS data processed {"connection_id":176797,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:59:34] local.INFO: Acknowledgment sent {"connection_id":176797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-10 23:59:38] local.INFO: TCP Data received {"connection_id":178151,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:59:38] local.INFO: Processing buffer {"connection_id":178151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:59:38] local.INFO: IMEI packet received {"connection_id":178151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-10 23:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":178151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-10 23:59:42] local.INFO: TCP Data received {"connection_id":178151,"ip":"117.224.168.70","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:59:42] local.INFO: Processing buffer {"connection_id":178151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-10 23:59:42] local.INFO: IMEI packet received {"connection_id":178151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-10 23:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":178151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-10 23:59:44] local.INFO: TCP Data received {"connection_id":178151,"ip":"117.224.168.70","data_length":795,"data_hex":"000000000000030f8e0a000001a08c91f1d0012ce9f680071c5d60000c00ba2c..."} 
[2026-09-10 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08c91f1d0012ce9f680071c5d60000c00ba2c..."} 
[2026-09-10 23:59:44] local.INFO: Processing buffer {"connection_id":178151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08c91f1d0012ce9f680071c5d60000c00ba2c..."} 
[2026-09-10 23:59:44] local.INFO: Packet analysis {"connection_id":178151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:59:44] local.INFO: Extracted packet for processing {"connection_id":178151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08c91"} 
[2026-09-10 23:59:44] local.INFO: GPS Element Parsed {"raw_longitude":753530496,"raw_latitude":119299424,"longitude_deg":75.3530496,"latitude_deg":11.9299424,"altitude":12,"angle":186,"satellites":44,"speed":30,"hex_longitude":"2ce9f680","hex_latitude":"071c5d60","is_valid_coordinates":true} 
[2026-09-10 23:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-10 23:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-10 23:59:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-10 23:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789064770000,"timestamp_ms":1789064770000,"timestamp_seconds":1789064770,"priority":1,"record_length":96,"hex_timestamp":"000001a08c91f1d0"} 
[2026-09-10 23:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-10 23:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-10 23:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-10 23:59:44] 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-09-10 23:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-10 23:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-10 23:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-10 23:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-10 23:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-10 23:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.168.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-10 23:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-10 23:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-10 23:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"162":206,"2":54272,"24":30,"16":3893920429768704},"client_ip":"117.224.168.70","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16]} 
[2026-09-10 23:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-10 23:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-10 23:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-10 23:59:44] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-10 23:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-10 23:59:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_162":206,"power_alt":54272,"ignition":30,"odometer":null}} 
[2026-09-10 23:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":178151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":797002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-10 23:59:44] local.INFO: GPS data processed {"connection_id":178151,"processed":1,"errors":0,"total":1} 
[2026-09-10 23:59:44] local.INFO: Acknowledgment sent {"connection_id":178151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
